autotool.patch 4.7 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557104558104559104560104561104562104563104564104565104566104567104568104569104570104571104572104573104574104575104576104577104578104579104580104581104582104583104584104585104586104587104588104589104590104591104592104593104594104595104596104597104598104599104600104601104602104603104604104605104606104607104608104609104610104611104612104613104614104615104616104617104618104619104620104621104622104623104624104625104626104627104628104629104630104631104632104633104634104635104636104637104638104639104640104641104642104643104644104645104646104647104648104649104650104651104652104653104654104655104656104657104658104659104660104661104662104663104664104665104666104667104668104669104670104671104672104673104674104675104676104677104678104679104680104681104682104683104684104685104686104687104688104689104690104691104692104693104694104695104696104697104698104699104700104701104702104703104704104705104706104707104708104709104710104711104712104713104714104715104716104717104718104719104720104721104722104723104724104725104726104727104728104729104730104731104732104733104734104735104736104737104738104739104740104741104742104743104744104745104746104747104748104749104750104751104752104753104754104755104756104757104758104759104760104761104762104763104764104765104766104767104768104769104770104771104772104773104774104775104776104777104778104779104780104781104782104783104784104785104786104787104788104789104790104791104792104793104794104795104796104797104798104799104800104801104802104803104804104805104806104807104808104809104810104811104812104813104814104815104816104817104818104819104820104821104822104823104824104825104826104827104828104829104830104831104832104833104834104835104836104837104838104839104840104841104842104843104844104845104846104847104848104849104850104851104852104853104854104855104856104857104858104859104860104861104862104863104864104865104866104867104868104869104870104871104872104873104874104875104876104877104878104879104880104881104882104883104884104885104886104887104888104889104890104891104892104893104894104895104896104897104898104899104900104901104902104903104904104905104906104907104908104909104910104911104912104913104914104915104916104917104918104919104920104921104922104923104924104925104926104927104928104929104930104931104932104933104934104935104936104937104938104939104940104941104942104943104944104945104946104947104948104949104950104951104952104953104954104955104956104957104958104959104960104961104962104963104964104965104966104967104968104969104970104971104972104973104974104975104976104977104978104979104980104981104982104983104984104985104986104987104988104989104990104991104992104993104994104995104996104997104998104999105000105001105002105003105004105005105006105007105008105009105010105011105012105013105014105015105016105017105018105019105020105021105022105023105024105025105026105027105028105029105030105031105032105033105034105035105036105037105038105039105040105041105042105043105044105045105046105047105048105049105050105051105052105053105054105055105056105057105058105059105060105061105062105063105064105065105066105067105068105069105070105071105072105073105074105075105076105077105078105079105080105081105082105083105084105085105086105087105088105089105090105091105092105093105094105095105096105097105098105099105100105101105102105103105104105105105106105107105108105109105110105111105112105113105114105115105116105117105118105119105120105121105122105123105124105125105126105127105128105129105130105131105132105133105134105135105136105137105138105139105140105141105142105143105144105145105146105147105148105149105150105151105152105153105154105155105156105157105158105159105160105161105162105163105164105165105166105167105168105169105170105171105172105173105174105175105176105177105178105179105180105181105182105183105184105185105186105187105188105189105190105191105192105193105194105195105196105197105198105199105200105201105202105203105204105205105206105207105208105209105210105211105212105213105214105215105216105217105218105219105220105221105222105223105224105225105226105227105228105229105230105231105232105233105234105235105236105237105238105239105240105241105242105243105244105245105246105247105248105249105250105251105252105253105254105255105256105257105258105259105260105261105262105263105264105265105266105267105268105269105270105271105272105273105274105275105276105277105278105279105280105281105282105283105284105285105286105287105288105289105290105291105292105293105294105295105296105297105298105299105300105301105302105303105304105305105306105307105308105309105310105311105312105313105314105315105316105317105318105319105320105321105322105323105324105325105326105327105328105329105330105331105332105333105334105335105336105337105338105339105340105341105342105343105344105345105346105347105348105349105350105351105352105353105354105355105356105357105358105359105360105361105362105363105364105365105366105367105368105369105370105371105372105373105374105375105376105377105378105379105380105381105382105383105384105385105386105387105388105389105390105391105392105393105394105395105396105397105398105399105400105401105402105403105404105405105406105407105408105409105410105411105412105413105414105415105416105417105418105419105420105421105422105423105424105425105426105427105428105429105430105431105432105433105434105435105436105437105438105439105440105441105442105443105444105445105446105447105448105449105450105451105452105453105454105455105456105457105458105459105460105461105462105463105464105465105466105467105468105469105470105471105472105473105474105475105476105477105478105479105480105481105482105483105484105485105486105487105488105489105490105491105492105493105494105495105496105497105498105499105500105501105502105503105504105505105506105507105508105509105510105511105512105513105514105515105516105517105518105519105520105521105522105523105524105525105526105527105528105529105530105531105532105533105534105535105536105537105538105539105540105541105542105543105544105545105546105547105548105549105550105551105552105553105554105555105556105557105558105559105560105561105562105563105564105565105566105567105568105569105570105571105572105573105574105575105576105577105578105579105580105581105582105583105584105585105586105587105588105589105590105591105592105593105594105595105596105597105598105599105600105601105602105603105604105605105606105607105608105609105610105611105612105613105614105615105616105617105618105619105620105621105622105623105624105625105626105627105628105629105630105631105632105633105634105635105636105637105638105639105640105641105642105643105644105645105646105647105648105649105650105651105652105653105654105655105656105657105658105659105660105661105662105663105664105665105666105667105668105669105670105671105672105673105674105675105676105677105678105679105680105681105682105683105684105685105686105687105688105689105690105691105692105693105694105695105696105697105698105699105700105701105702105703105704105705105706105707105708105709105710105711105712105713105714105715105716105717105718105719105720105721105722105723105724105725105726105727105728105729105730105731105732105733105734105735105736105737105738105739105740105741105742105743105744105745105746105747105748105749105750105751105752105753105754105755105756105757105758105759105760105761105762105763105764105765105766105767105768105769105770105771105772105773105774105775105776105777105778105779105780105781105782105783105784105785105786105787105788105789105790105791105792105793105794105795105796105797105798105799105800105801105802105803105804105805105806105807105808105809105810105811105812105813105814105815105816105817105818105819105820105821105822105823105824105825105826105827105828105829105830105831105832105833105834105835105836105837105838105839105840105841105842105843105844105845105846105847105848105849105850105851105852105853105854105855105856105857105858105859105860105861105862105863105864105865105866105867105868105869105870105871105872105873105874105875105876105877105878105879105880105881105882105883105884105885105886105887105888105889105890105891105892105893105894105895105896105897105898105899105900105901105902105903105904105905105906105907105908105909105910105911105912105913105914105915105916105917105918105919105920105921105922105923105924105925105926105927105928105929105930105931105932105933105934105935105936105937105938105939105940105941105942105943105944105945105946105947105948105949105950105951105952105953105954105955105956105957105958105959105960105961105962105963105964105965105966105967105968105969105970105971105972105973105974105975105976105977105978105979105980105981105982105983105984105985105986105987105988105989105990105991105992105993105994105995105996105997105998105999106000106001106002106003106004106005106006106007106008106009106010106011106012106013106014106015106016106017106018106019106020106021106022106023106024106025106026106027106028106029106030106031106032106033106034106035106036106037106038106039106040106041106042106043106044106045106046106047106048106049106050106051106052106053106054106055106056106057106058106059106060106061106062106063106064106065106066106067106068106069106070106071106072106073106074106075106076106077106078106079106080106081106082106083106084106085106086106087106088106089106090106091106092106093106094106095106096106097106098106099106100106101106102106103106104106105106106106107106108106109106110106111106112106113106114106115106116106117106118106119106120106121106122106123106124106125106126106127106128106129106130106131106132106133106134106135106136106137106138106139106140106141106142106143106144106145106146106147106148106149106150106151106152106153106154106155106156106157106158106159106160106161106162106163106164106165106166106167106168106169106170106171106172106173106174106175106176106177106178106179106180106181106182106183106184106185106186106187106188106189106190106191106192106193106194106195106196106197106198106199106200106201106202106203106204106205106206106207106208106209106210106211106212106213106214106215106216106217106218106219106220106221106222106223106224106225106226106227106228106229106230106231106232106233106234106235106236106237106238106239106240106241106242106243106244106245106246106247106248106249106250106251106252106253106254106255106256106257106258106259106260106261106262106263106264106265106266106267106268106269106270106271106272106273106274106275106276106277106278106279106280106281106282106283106284106285106286106287106288106289106290106291106292106293106294106295106296106297106298106299106300106301106302106303106304106305106306106307106308106309106310106311106312106313106314106315106316106317106318106319106320106321106322106323106324106325106326106327106328106329106330106331106332106333106334106335106336106337106338106339106340106341106342106343106344106345106346106347106348106349106350106351106352106353106354106355106356106357106358106359106360106361106362106363106364106365106366106367106368106369106370106371106372106373106374106375106376106377106378106379106380106381106382106383106384106385106386106387106388106389106390106391106392106393106394106395106396106397106398106399106400106401106402106403106404106405106406106407106408106409106410106411106412106413106414106415106416106417106418106419106420106421106422106423106424106425106426106427106428106429106430106431106432106433106434106435106436106437106438106439106440106441106442106443106444106445106446106447106448106449106450106451106452106453106454106455106456106457106458106459106460106461106462106463106464106465106466106467106468106469106470106471106472106473106474106475106476106477106478106479106480106481106482106483106484106485106486106487106488106489106490106491106492106493106494106495106496106497106498106499106500106501106502106503106504106505106506106507106508106509106510106511106512106513106514106515106516106517106518106519106520106521106522106523106524106525106526106527106528106529106530106531106532106533106534106535106536106537106538106539106540106541106542106543106544106545106546106547106548106549106550106551106552106553106554106555106556106557106558106559106560106561106562106563106564106565106566106567106568106569106570106571106572106573106574106575106576106577106578106579106580106581106582106583106584106585106586106587106588106589106590106591106592106593106594106595106596106597106598106599106600106601106602106603106604106605106606106607106608106609106610106611106612106613106614106615106616106617106618106619106620106621106622106623106624106625106626106627106628106629106630106631106632106633106634106635106636106637106638106639106640106641106642106643106644106645106646106647106648106649106650106651106652106653106654106655106656106657106658106659106660106661106662106663106664106665106666106667106668106669106670106671106672106673106674106675106676106677106678106679106680106681106682106683106684106685106686106687106688106689106690106691106692106693106694106695106696106697106698106699106700106701106702106703106704106705106706106707106708106709106710106711106712106713106714106715106716106717106718106719106720106721106722106723106724106725106726106727106728106729106730106731106732106733106734106735106736106737106738106739106740106741106742106743106744106745106746106747106748106749106750106751106752106753106754106755106756106757106758106759106760106761106762106763106764106765106766106767106768106769106770106771106772106773106774106775106776106777106778106779106780106781106782106783106784106785106786106787106788106789106790106791106792106793106794106795106796106797106798106799106800106801106802106803106804106805106806106807106808106809106810106811106812106813106814106815106816106817106818106819106820106821106822106823106824106825106826106827106828106829106830106831106832106833106834106835106836106837106838106839106840106841106842106843106844106845106846106847106848106849106850106851106852106853106854106855106856106857106858106859106860106861106862106863106864106865106866106867106868106869106870106871106872106873106874106875106876106877106878106879106880106881106882106883106884106885106886106887106888106889106890106891106892106893106894106895106896106897106898106899106900106901106902106903106904106905106906106907106908106909106910106911106912106913106914106915106916106917106918106919106920106921106922106923106924106925106926106927106928106929106930106931106932106933106934106935106936106937106938106939106940106941106942106943106944106945106946106947106948106949106950106951106952106953106954106955106956106957106958106959106960106961106962106963106964106965106966106967106968106969106970106971106972106973106974106975106976106977106978106979106980106981106982106983106984106985106986106987106988106989106990106991106992106993106994106995106996106997106998106999107000107001107002107003107004107005107006107007107008107009107010107011107012107013107014107015107016107017107018107019107020107021107022107023107024107025107026107027107028107029107030107031107032107033107034107035107036107037107038107039107040107041107042107043107044107045107046107047107048107049107050107051107052107053107054107055107056107057107058107059107060107061107062107063107064107065107066107067107068107069107070107071107072107073107074107075107076107077107078107079107080107081107082107083107084107085107086107087107088107089107090107091107092107093107094107095107096107097107098107099107100107101107102107103107104107105107106107107107108107109107110107111107112107113107114107115107116107117107118107119107120107121107122107123107124107125107126107127107128107129107130107131107132107133107134107135107136107137107138107139107140107141107142107143107144107145107146107147107148107149107150107151107152107153107154107155107156107157107158107159107160107161107162107163107164107165107166107167107168107169107170107171107172107173107174107175107176107177107178107179107180107181107182107183107184107185107186107187107188107189107190107191107192107193107194107195107196107197107198107199107200107201107202107203107204107205107206107207107208107209107210107211107212107213107214107215107216107217107218107219107220107221107222107223107224107225107226107227107228107229107230107231107232107233107234107235107236107237107238107239107240107241107242107243107244107245107246107247107248107249107250107251107252107253107254107255107256107257107258107259107260107261107262107263107264107265107266107267107268107269107270107271107272107273107274107275107276107277107278107279107280107281107282107283107284107285107286107287107288107289107290107291107292107293107294107295107296107297107298107299107300107301107302107303107304107305107306107307107308107309107310107311107312107313107314107315107316107317107318107319107320107321107322107323107324107325107326107327107328107329107330107331107332107333107334107335107336107337107338107339107340107341107342107343107344107345107346107347107348107349107350107351107352107353107354107355107356107357107358107359107360107361107362107363107364107365107366107367107368107369107370107371107372107373107374107375107376107377107378107379107380107381107382107383107384107385107386107387107388107389107390107391107392107393107394107395107396107397107398107399107400107401107402107403107404107405107406107407107408107409107410107411107412107413107414107415107416107417107418107419107420107421107422107423107424107425107426107427107428107429107430107431107432107433107434107435107436107437107438107439107440107441107442107443107444107445107446107447107448107449107450107451107452107453107454107455107456107457107458107459107460107461107462107463107464107465107466107467107468107469107470107471107472107473107474107475107476107477107478107479107480107481107482107483107484107485107486107487107488107489107490107491107492107493107494107495107496107497107498107499107500107501107502107503107504107505107506107507107508107509107510107511107512107513107514107515107516107517107518107519107520107521107522107523107524107525107526107527107528107529107530107531107532107533107534107535107536107537107538107539107540107541107542107543107544107545107546107547107548107549107550107551107552107553107554107555107556107557107558107559107560107561107562107563107564107565107566107567107568107569107570107571107572107573107574107575107576107577107578107579107580107581107582107583107584107585107586107587107588107589107590107591107592107593107594107595107596107597107598107599107600107601107602107603107604107605107606107607107608107609107610107611107612107613107614107615107616107617107618107619107620107621107622107623107624107625107626107627107628107629107630107631107632107633107634107635107636107637107638107639107640107641107642107643107644107645107646107647107648107649107650107651107652107653107654107655107656107657107658107659107660107661107662107663107664107665107666107667107668107669107670107671107672107673107674107675107676107677107678107679107680107681107682107683107684107685107686107687107688107689107690107691107692107693107694107695107696107697107698107699107700107701107702107703107704107705107706107707107708107709107710107711107712107713107714107715107716107717107718107719107720107721107722107723107724107725107726107727107728107729107730107731107732107733107734107735107736107737107738107739107740107741107742107743107744107745107746107747107748107749107750107751107752107753107754107755107756107757107758107759107760107761107762107763107764107765107766107767107768107769107770107771107772107773107774107775107776107777107778107779107780107781107782107783107784107785107786107787107788107789107790107791107792107793107794107795107796107797107798107799107800107801107802107803107804107805107806107807107808107809107810107811107812107813107814107815107816107817107818107819107820107821107822107823107824107825107826107827107828107829107830107831107832107833107834107835107836107837107838107839107840107841107842107843107844107845107846107847107848107849107850107851107852107853107854107855107856107857107858107859107860107861107862107863107864107865107866107867107868107869107870107871107872107873107874107875107876107877107878107879107880107881107882107883107884107885107886107887107888107889107890107891107892107893107894107895107896107897107898107899107900107901107902107903107904107905107906107907107908107909107910107911107912107913107914107915107916107917107918107919107920107921107922107923107924107925107926107927107928107929107930107931107932107933107934107935107936107937107938107939107940107941107942107943107944107945107946107947107948107949107950107951107952107953107954107955107956107957107958107959107960107961107962107963107964107965107966107967107968107969107970107971107972107973107974107975107976107977107978107979107980107981107982107983107984107985107986107987107988107989107990107991107992107993107994107995107996107997107998107999108000108001108002108003108004108005108006108007108008108009108010108011108012108013108014108015108016108017108018108019108020108021108022108023108024108025108026108027108028108029108030108031108032108033108034108035108036108037108038108039108040108041108042108043108044108045108046108047108048108049108050108051108052108053108054108055108056108057108058108059108060108061108062108063108064108065108066108067108068108069108070108071108072108073108074108075108076108077108078108079108080108081108082108083108084108085108086108087108088108089108090108091108092108093108094108095108096108097108098108099108100108101108102108103108104108105108106108107108108108109108110108111108112108113108114108115108116108117108118108119108120108121108122108123108124108125108126108127108128108129108130108131108132108133108134108135108136108137108138108139108140108141108142108143108144108145108146108147108148108149108150108151108152108153108154108155108156108157108158108159108160108161108162108163108164108165108166108167108168108169108170108171108172108173108174108175108176108177108178108179108180108181108182108183108184108185108186108187108188108189108190108191108192108193108194108195108196108197108198108199108200108201108202108203108204108205108206108207108208108209108210108211108212108213108214108215108216108217108218108219108220108221108222108223108224108225108226108227108228108229108230108231108232108233108234108235108236108237108238108239108240108241108242108243108244108245108246108247108248108249108250108251108252108253108254108255108256108257108258108259108260108261108262108263108264108265108266108267108268108269108270108271108272108273108274108275108276108277108278108279108280108281108282108283108284108285108286108287108288108289108290108291108292108293108294108295108296108297108298108299108300108301108302108303108304108305108306108307108308108309108310108311108312108313108314108315108316108317108318108319108320108321108322108323108324108325108326108327108328108329108330108331108332108333108334108335108336108337108338108339108340108341108342108343108344108345108346108347108348108349108350108351108352108353108354108355108356108357108358108359108360108361108362108363108364108365108366108367108368108369108370108371108372108373108374108375108376108377108378108379108380108381108382108383108384108385108386108387108388108389108390108391108392108393108394108395108396108397108398108399108400108401108402108403108404108405108406108407108408108409108410108411108412108413108414108415108416108417108418108419108420108421108422108423108424108425108426108427108428108429108430108431108432108433108434108435108436108437108438108439108440108441108442108443108444108445108446108447108448108449108450108451108452108453108454108455108456108457108458108459108460108461108462108463108464108465108466108467108468108469108470108471108472108473108474108475108476108477108478108479108480108481108482108483108484108485108486108487108488108489108490108491108492108493108494108495108496108497108498108499108500108501108502108503108504108505108506108507108508108509108510108511108512108513108514108515108516108517108518108519108520108521108522108523108524108525108526108527108528108529108530108531108532108533108534108535108536108537108538108539108540108541108542108543108544108545108546108547108548108549108550108551108552108553108554108555108556108557108558108559108560108561108562108563108564108565108566108567108568108569108570108571108572108573108574108575108576108577108578108579108580108581108582108583108584108585108586108587108588108589108590108591108592108593108594108595108596108597108598108599108600108601108602108603108604108605108606108607108608108609108610108611108612108613108614108615108616108617108618108619108620108621108622108623108624108625108626108627108628108629108630108631108632108633108634108635108636108637108638108639108640108641108642108643108644108645108646108647108648108649108650108651108652108653108654108655108656108657108658108659108660108661108662108663108664108665108666108667108668108669108670108671108672108673108674108675108676108677108678108679108680108681108682108683108684108685108686108687108688108689108690108691108692108693108694108695108696108697108698108699108700108701108702108703108704108705108706108707108708108709108710108711108712108713108714108715108716108717108718108719108720108721108722108723108724108725108726108727108728108729108730108731108732108733108734108735108736108737108738108739108740108741108742108743108744108745108746108747108748108749108750108751108752108753108754108755108756108757108758108759108760108761108762108763108764108765108766108767108768108769108770108771108772108773108774108775108776108777108778108779108780108781108782108783108784108785108786108787108788108789108790108791108792108793108794108795108796108797108798108799108800108801108802108803108804108805108806108807108808108809108810108811108812108813108814108815108816108817108818108819108820108821108822108823108824108825108826108827108828108829108830108831108832108833108834108835108836108837108838108839108840108841108842108843108844108845108846108847108848108849108850108851108852108853108854108855108856108857108858108859108860108861108862108863108864108865108866108867108868108869108870108871108872108873108874108875108876108877108878108879108880108881108882108883108884108885108886108887108888108889108890108891108892108893108894108895108896108897108898108899108900108901108902108903108904108905108906108907108908108909108910108911108912108913108914108915108916108917108918108919108920108921108922108923108924108925108926108927108928108929108930108931108932108933108934108935108936108937108938108939108940108941108942108943108944108945108946108947108948108949108950108951108952108953108954108955108956108957108958108959108960108961108962108963108964108965108966108967108968108969108970108971108972108973108974108975108976108977108978108979108980108981108982108983108984108985108986108987108988108989108990108991108992108993108994108995108996108997108998108999109000109001109002109003109004109005109006109007109008109009109010109011109012109013109014109015109016109017109018109019109020109021109022109023109024109025109026109027109028109029109030109031109032109033109034109035109036109037109038109039109040109041109042109043109044109045109046109047109048109049109050109051109052109053109054109055109056109057109058109059109060109061109062109063109064109065109066109067109068109069109070109071109072109073109074109075109076109077109078109079109080109081109082109083109084109085109086109087109088109089109090109091109092109093109094109095109096109097109098109099109100109101109102109103109104109105109106109107109108109109109110109111109112109113109114109115109116109117109118109119109120109121109122109123109124109125109126109127109128109129109130109131109132109133109134109135109136109137109138109139109140109141109142109143109144109145109146109147109148109149109150109151109152109153109154109155109156109157109158109159109160109161109162109163109164109165109166109167109168109169109170109171109172109173109174109175109176109177109178109179109180109181109182109183109184109185109186109187109188109189109190109191109192109193109194109195109196109197109198109199109200109201109202109203109204109205109206109207109208109209109210109211109212109213109214109215109216109217109218109219109220109221109222109223109224109225109226109227109228109229109230109231109232109233109234109235109236109237109238109239109240109241109242109243109244109245109246109247109248109249109250109251109252109253109254109255109256109257109258109259109260109261109262109263109264109265109266109267109268109269109270109271109272109273109274109275109276109277109278109279109280109281109282109283109284109285109286109287109288109289109290109291109292109293109294109295109296109297109298109299109300109301109302109303109304109305109306109307109308109309109310109311109312109313109314109315109316109317109318109319109320109321109322109323109324109325109326109327109328109329109330109331109332109333109334109335109336109337109338109339109340109341109342109343109344109345109346109347109348109349109350109351109352109353109354109355109356109357109358109359109360109361109362109363109364109365109366109367109368109369109370109371109372109373109374109375109376109377109378109379109380109381109382109383109384109385109386109387109388109389109390109391109392109393109394109395109396109397109398109399109400109401109402109403109404109405109406109407109408109409109410109411109412109413109414109415109416109417109418109419109420109421109422109423109424109425109426109427109428109429109430109431109432109433109434109435109436109437109438109439109440109441109442109443109444109445109446109447109448109449109450109451109452109453109454109455109456109457109458109459109460109461109462109463109464109465109466109467109468109469109470109471109472109473109474109475109476109477109478109479109480109481109482109483109484109485109486109487109488109489109490109491109492109493109494109495109496109497109498109499109500109501109502109503109504109505109506109507109508109509109510109511109512109513109514109515109516109517109518109519109520109521109522109523109524109525109526109527109528109529109530109531109532109533109534109535109536109537109538109539109540109541109542109543109544109545109546109547109548109549109550109551109552109553109554109555109556109557109558109559109560109561109562109563109564109565109566109567109568109569109570109571109572109573109574109575109576109577109578109579109580109581109582109583109584109585109586109587109588109589109590109591109592109593109594109595109596109597109598109599109600109601109602109603109604109605109606109607109608109609109610109611109612109613109614109615109616109617109618109619109620109621109622109623109624109625109626109627109628109629109630109631109632109633109634109635109636109637109638109639109640109641109642109643109644109645109646109647109648109649109650109651109652109653109654109655109656109657109658109659109660109661109662109663109664109665109666109667109668109669109670109671109672109673109674109675109676109677109678109679109680109681109682109683109684109685109686109687109688109689109690109691109692109693109694109695109696109697109698109699109700109701109702109703109704109705109706109707109708109709109710109711109712109713109714109715109716109717109718109719109720109721109722109723109724109725109726109727109728109729109730109731109732109733109734109735109736109737109738109739109740109741109742109743109744109745109746109747109748109749109750109751109752109753109754109755109756109757109758109759109760109761109762109763109764109765109766109767109768109769109770109771109772109773109774109775109776109777109778109779109780109781109782109783109784109785109786109787109788109789109790109791109792109793109794109795109796109797109798109799109800109801109802109803109804109805109806109807109808109809109810109811109812109813109814109815109816109817109818109819109820109821109822109823109824109825109826109827109828109829109830109831109832109833109834109835109836109837109838109839109840109841109842109843109844109845109846109847109848109849109850109851109852109853109854109855109856109857109858109859109860109861109862109863109864109865109866109867109868109869109870109871109872109873109874109875109876109877109878109879109880109881109882109883109884109885109886109887109888109889109890109891109892109893109894109895109896109897109898109899109900109901109902109903109904109905109906109907109908109909109910109911109912109913109914109915109916109917109918109919109920109921109922109923109924109925109926109927109928109929109930109931109932109933109934109935109936109937109938109939109940109941109942109943109944109945109946109947109948109949109950109951109952109953109954109955109956109957109958109959109960109961109962109963109964109965109966109967109968109969109970109971109972109973109974109975109976109977109978109979109980109981109982109983109984109985109986109987109988109989109990109991109992109993109994109995109996109997109998109999110000110001110002110003110004110005110006110007110008110009110010110011110012110013110014110015110016110017110018110019110020110021110022110023110024110025110026110027110028110029110030110031110032110033110034110035110036110037110038110039110040110041110042110043110044110045110046110047110048110049110050110051110052110053110054110055110056110057110058110059110060110061110062110063110064110065110066110067110068110069110070110071110072110073110074110075110076110077110078110079110080110081110082110083110084110085110086110087110088110089110090110091110092110093110094110095110096110097110098110099110100110101110102110103110104110105110106110107110108110109110110110111110112110113110114110115110116110117110118110119110120110121110122110123110124110125110126110127110128110129110130110131110132110133110134110135110136110137110138110139110140110141110142110143110144110145110146110147110148110149110150110151110152110153110154110155110156110157110158110159110160110161110162110163110164110165110166110167110168110169110170110171110172110173110174110175110176110177110178110179110180110181110182110183110184110185110186110187110188110189110190110191110192110193110194110195110196110197110198110199110200110201110202110203110204110205110206110207110208110209110210110211110212110213110214110215110216110217110218110219110220110221110222110223110224110225110226110227110228110229110230110231110232110233110234110235110236110237110238110239110240110241110242110243110244110245110246110247110248110249110250110251110252110253110254110255110256110257110258110259110260110261110262110263110264110265110266110267110268110269110270110271110272110273110274110275110276110277110278110279110280110281110282110283110284110285110286110287110288110289110290110291110292110293110294110295110296110297110298110299110300110301110302110303110304110305110306110307110308110309110310110311110312110313110314110315110316110317110318110319110320110321110322110323110324110325110326110327110328110329110330110331110332110333110334110335110336110337110338110339110340110341110342110343110344110345110346110347110348110349110350110351110352110353110354110355110356110357110358110359110360110361110362110363110364110365110366110367110368110369110370110371110372110373110374110375110376110377110378110379110380110381110382110383110384110385110386110387110388110389110390110391110392110393110394110395110396110397110398110399110400110401110402110403110404110405110406110407110408110409110410110411110412110413110414110415110416110417110418110419110420110421110422110423110424110425110426110427110428110429110430110431110432110433110434110435110436110437110438110439110440110441110442110443110444110445110446110447110448110449110450110451110452110453110454110455110456110457110458110459110460110461110462110463110464110465110466110467110468110469110470110471110472110473110474110475110476110477110478110479110480110481110482110483110484110485110486110487110488110489110490110491110492110493110494110495110496110497110498110499110500110501110502110503110504110505110506110507110508110509110510110511110512110513110514110515110516110517110518110519110520110521110522110523110524110525110526110527110528110529110530110531110532110533110534110535110536110537110538110539110540110541110542110543110544110545110546110547110548110549110550110551110552110553110554110555110556110557110558110559110560110561110562110563110564110565110566110567110568110569110570110571110572110573110574110575110576110577110578110579110580110581110582110583110584110585110586110587110588110589110590110591110592110593110594110595110596110597110598110599110600110601110602110603110604110605110606110607110608110609110610110611110612110613110614110615110616110617110618110619110620110621110622110623110624110625110626110627110628110629110630110631110632110633110634110635110636110637110638110639110640110641110642110643110644110645110646110647110648110649110650110651110652110653110654110655110656110657110658110659110660110661110662110663110664110665110666110667110668110669110670110671110672110673110674110675110676110677110678110679110680110681110682110683110684110685110686110687110688110689110690110691110692110693110694110695110696110697110698110699110700110701110702110703110704110705110706110707110708110709110710110711110712110713110714110715110716110717110718110719110720110721110722110723110724110725110726110727110728110729110730110731110732110733110734110735110736110737110738110739110740110741110742110743110744110745110746110747110748110749110750110751110752110753110754110755110756110757110758110759110760110761110762110763110764110765110766110767110768110769110770110771110772110773110774110775110776110777110778110779110780110781110782110783110784110785110786110787110788110789110790110791110792110793110794110795110796110797110798110799110800110801110802110803110804110805110806110807110808110809110810110811110812110813110814110815110816110817110818110819110820110821110822110823110824110825110826110827110828110829110830110831110832110833110834110835110836110837110838110839110840110841110842110843110844110845110846110847110848110849110850110851110852110853110854110855110856110857110858110859110860110861110862110863110864110865110866110867110868110869110870110871110872110873110874110875110876110877110878110879110880110881110882110883110884110885110886110887110888110889110890110891110892110893110894110895110896110897110898110899110900110901110902110903110904110905110906110907110908110909110910110911110912110913110914110915110916110917110918110919110920110921110922110923110924110925110926110927110928110929110930110931110932110933110934110935110936110937110938110939110940110941110942110943110944110945110946110947110948110949110950110951110952110953110954110955110956110957110958110959110960110961110962110963110964110965110966110967110968110969110970110971110972110973110974110975110976110977110978110979110980110981110982110983110984110985110986110987110988110989110990110991110992110993110994110995110996110997110998110999111000111001111002111003111004111005111006111007111008111009111010111011111012111013111014111015111016111017111018111019111020111021111022111023111024111025111026111027111028111029111030111031111032111033111034111035111036111037111038111039111040111041111042111043111044111045111046111047111048111049111050111051111052111053111054111055111056111057111058111059111060111061111062111063111064111065111066111067111068111069111070111071111072111073111074111075111076111077111078111079111080111081111082111083111084111085111086111087111088111089111090111091111092111093111094111095111096111097111098111099111100111101111102111103111104111105111106111107111108111109111110111111111112111113111114111115111116111117111118111119111120111121111122111123111124111125111126111127111128111129111130111131111132111133111134111135111136111137111138111139111140111141111142111143111144111145111146111147111148111149111150111151111152111153111154111155111156111157111158111159111160111161111162111163111164111165111166111167111168111169111170111171111172111173111174111175111176111177111178111179111180111181111182111183111184111185111186111187111188111189111190111191111192111193111194111195111196111197111198111199111200111201111202111203111204111205111206111207111208111209111210111211111212111213111214111215111216111217111218111219111220111221111222111223111224111225111226111227111228111229111230111231111232111233111234111235111236111237111238111239111240111241111242111243111244111245111246111247111248111249111250111251111252111253111254111255111256111257111258111259111260111261111262111263111264111265111266111267111268111269111270111271111272111273111274111275111276111277111278111279111280111281111282111283111284111285111286111287111288111289111290111291111292111293111294111295111296111297111298111299111300111301111302111303111304111305111306111307111308111309111310111311111312111313111314111315111316111317111318111319111320111321111322111323111324111325111326111327111328111329111330111331111332111333111334111335111336111337111338111339111340111341111342111343111344111345111346111347111348111349111350111351111352111353111354111355111356111357111358111359111360111361111362111363111364111365111366111367111368111369111370111371111372111373111374111375111376111377111378111379111380111381111382111383111384111385111386111387111388111389111390111391111392111393111394111395111396111397111398111399111400111401111402111403111404111405111406111407111408111409111410111411111412111413111414111415111416111417111418111419111420111421111422111423111424111425111426111427111428111429111430111431111432111433111434111435111436111437111438111439111440111441111442111443111444111445111446111447111448111449111450111451111452111453111454111455111456111457111458111459111460111461111462111463111464111465111466111467111468111469111470111471111472111473111474111475111476111477111478111479111480111481111482111483111484111485111486111487111488111489111490111491111492111493111494111495111496111497111498111499111500111501111502111503111504111505111506111507111508111509111510111511111512111513111514111515111516111517111518111519111520111521111522111523111524111525111526111527111528111529111530111531111532111533111534111535111536111537111538111539111540111541111542111543111544111545111546111547111548111549111550111551111552111553111554111555111556111557111558111559111560111561111562111563111564111565111566111567111568111569111570111571111572111573111574111575111576111577111578111579111580111581111582111583111584111585111586111587111588111589111590111591111592111593111594111595111596111597111598111599111600111601111602111603111604111605111606111607111608111609111610111611111612111613111614111615111616111617111618111619111620111621111622111623111624111625111626111627111628111629111630111631111632111633111634111635111636111637111638111639111640111641111642111643111644111645111646111647111648111649111650111651111652111653111654111655111656111657111658111659111660111661111662111663111664111665111666111667111668111669111670111671111672111673111674111675111676111677111678111679111680111681111682111683111684111685111686111687111688111689111690111691111692111693111694111695111696111697111698111699111700111701111702111703111704111705111706111707111708111709111710111711111712111713111714111715111716111717111718111719111720111721111722111723111724111725111726111727111728111729111730111731111732111733111734111735111736111737111738111739111740111741111742111743111744111745111746111747111748111749111750111751111752111753111754111755111756111757111758111759111760111761111762111763111764111765111766111767111768111769111770111771111772111773111774111775111776111777111778111779111780111781111782111783111784111785111786111787111788111789111790111791111792111793111794111795111796111797111798111799111800111801111802111803111804111805111806111807111808111809111810111811111812111813111814111815111816111817111818111819111820111821111822111823111824111825111826111827111828111829111830111831111832111833111834111835111836111837111838111839111840111841111842111843111844111845111846111847111848111849111850111851111852111853111854111855111856111857111858111859111860111861111862111863111864111865111866111867111868111869111870111871111872111873111874111875111876111877111878111879111880111881111882111883111884111885111886111887111888111889111890111891111892111893111894111895111896111897111898111899111900111901111902111903111904111905111906111907111908111909111910111911111912111913111914111915111916111917111918111919111920111921111922111923111924111925111926111927111928111929111930111931111932111933111934111935111936111937111938111939111940111941111942111943111944111945111946111947111948111949111950111951111952111953111954111955111956111957111958111959111960111961111962111963111964111965111966111967111968111969111970111971111972111973111974111975111976111977111978111979111980111981111982111983111984111985111986111987111988111989111990111991111992111993111994111995111996111997111998111999112000112001112002112003112004112005112006112007112008112009112010112011112012112013112014112015112016112017112018112019112020112021112022112023112024112025112026112027112028112029112030112031112032112033112034112035112036112037112038112039112040112041112042112043112044112045112046112047112048112049112050112051112052112053112054112055112056112057112058112059112060112061112062112063112064112065112066112067112068112069112070112071112072112073112074112075112076112077112078112079112080112081112082112083112084112085112086112087112088112089112090112091112092112093112094112095112096112097112098112099112100112101112102112103112104112105112106112107112108112109112110112111112112112113112114112115112116112117112118112119112120112121112122112123112124112125112126112127112128112129112130112131112132112133112134112135112136112137112138112139112140112141112142112143112144112145112146112147112148112149112150112151112152112153112154112155112156112157112158112159112160112161112162112163112164112165112166112167112168112169112170112171112172112173112174112175112176112177112178112179112180112181112182112183112184112185112186112187112188112189112190112191112192112193112194112195112196112197112198112199112200112201112202112203112204112205112206112207112208112209112210112211112212112213112214112215112216112217112218112219112220112221112222112223112224112225112226112227112228112229112230112231112232112233112234112235112236112237112238112239112240112241112242112243112244112245112246112247112248112249112250112251112252112253112254112255112256112257112258112259112260112261112262112263112264112265112266112267112268112269112270112271112272112273112274112275112276112277112278112279112280112281112282112283112284112285112286112287112288112289112290112291112292112293112294112295112296112297112298112299112300112301112302112303112304112305112306112307112308112309112310112311112312112313112314112315112316112317112318112319112320112321112322112323112324112325112326112327112328112329112330112331112332112333112334112335112336112337112338112339112340112341112342112343112344112345112346112347112348112349112350112351112352112353112354112355112356112357112358112359112360112361112362112363112364112365112366112367112368112369112370112371112372112373112374112375112376112377112378112379112380112381112382112383112384112385112386112387112388112389112390112391112392112393112394112395112396112397112398112399112400112401112402112403112404112405112406112407112408112409112410112411112412112413112414112415112416112417112418112419112420112421112422112423112424112425112426112427112428112429112430112431112432112433112434112435112436112437112438112439112440112441112442112443112444112445112446112447112448112449112450112451112452112453112454112455112456112457112458112459112460112461112462112463112464112465112466112467112468112469112470112471112472112473112474112475112476112477112478112479112480112481112482112483112484112485112486112487112488112489112490112491112492112493112494112495112496112497112498112499112500112501112502112503112504112505112506112507112508112509112510112511112512112513112514112515112516112517112518112519112520112521112522112523112524112525112526112527112528112529112530112531112532112533112534112535112536112537112538112539112540112541112542112543112544112545112546112547112548112549112550112551112552112553112554112555112556112557112558112559112560112561112562112563112564112565112566112567112568112569112570112571112572112573112574112575112576112577112578112579112580112581112582112583112584112585112586112587112588112589112590112591112592112593112594112595112596112597112598112599112600112601112602112603112604112605112606112607112608112609112610112611112612112613112614112615112616112617112618112619112620112621112622112623112624112625112626112627112628112629112630112631112632112633112634112635112636112637112638112639112640112641112642112643112644112645112646112647112648112649112650112651112652112653112654112655112656112657112658112659112660112661112662112663112664112665112666112667112668112669112670112671112672112673112674112675112676112677112678112679112680112681112682112683112684112685112686112687112688112689112690112691112692112693112694112695112696112697112698112699112700112701112702112703112704112705112706112707112708112709112710112711112712112713112714112715112716112717112718112719112720112721112722112723112724112725112726112727112728112729112730112731112732112733112734112735112736112737112738112739112740112741112742112743112744112745112746112747112748112749112750112751112752112753112754112755112756112757112758112759112760112761112762112763112764112765112766112767112768112769112770112771112772112773112774112775112776112777112778112779112780112781112782112783112784112785112786112787112788112789112790112791112792112793112794112795112796112797112798112799112800112801112802112803112804112805112806112807112808112809112810112811112812112813112814112815112816112817112818112819112820112821112822112823112824112825112826112827112828112829112830112831112832112833112834112835112836112837112838112839112840112841112842112843112844112845112846112847112848112849112850112851112852112853112854112855112856112857112858112859112860112861112862112863112864112865112866112867112868112869112870112871112872112873112874112875112876112877112878112879112880112881112882112883112884112885112886112887112888112889112890112891112892112893112894112895112896112897112898112899112900112901112902112903112904112905112906112907112908112909112910112911112912112913112914112915112916112917112918112919112920112921112922112923112924112925112926112927112928112929112930112931112932112933112934112935112936112937112938112939112940112941112942112943112944112945112946112947112948112949112950112951112952112953112954112955112956112957112958112959112960112961112962112963112964112965112966112967112968112969112970112971112972112973112974112975112976112977112978112979112980112981112982112983112984112985112986112987112988112989112990112991112992112993112994112995112996112997112998112999113000113001113002113003113004113005113006113007113008113009113010113011113012113013113014113015113016113017113018113019113020113021113022113023113024113025113026113027113028113029113030113031113032113033113034113035113036113037113038113039113040113041113042113043113044113045113046113047113048113049113050113051113052113053113054113055113056113057113058113059113060113061113062113063113064113065113066113067113068113069113070113071113072113073113074113075113076113077113078113079113080113081113082113083113084113085113086113087113088113089113090113091113092113093113094113095113096113097113098113099113100113101113102113103113104113105113106113107113108113109113110113111113112113113113114113115113116113117113118113119113120113121113122113123113124113125113126113127113128113129113130113131113132113133113134113135113136113137113138113139113140113141113142113143113144113145113146113147113148113149113150113151113152113153113154113155113156113157113158113159113160113161113162113163113164113165113166113167113168113169113170113171113172113173113174113175113176113177113178113179113180113181113182113183113184113185113186113187113188113189113190113191113192113193113194113195113196113197113198113199113200113201113202113203113204113205113206113207113208113209113210113211113212113213113214113215113216113217113218113219113220113221113222113223113224113225113226113227113228113229113230113231113232113233113234113235113236113237113238113239113240113241113242113243113244113245113246113247113248113249113250113251113252113253113254113255113256113257113258113259113260113261113262113263113264113265113266113267113268113269113270113271113272113273113274113275113276113277113278113279113280113281113282113283113284113285113286113287113288113289113290113291113292113293113294113295113296113297113298113299113300113301113302113303113304113305113306113307113308113309113310113311113312113313113314113315113316113317113318113319113320113321113322113323113324113325113326113327113328113329113330113331113332113333113334113335113336113337113338113339113340113341113342113343113344113345113346113347113348113349113350113351113352113353113354113355113356113357113358113359113360113361113362113363113364113365113366113367113368113369113370113371113372113373113374113375113376113377113378113379113380113381113382113383113384113385113386113387113388113389113390113391113392113393113394113395113396113397113398113399113400113401113402113403113404113405113406113407113408113409113410113411113412113413113414113415113416113417113418113419113420113421113422113423113424113425113426113427113428113429113430113431113432113433113434113435113436113437113438113439113440113441113442113443113444113445113446113447113448113449113450113451113452113453113454113455113456113457113458113459113460113461113462113463113464113465113466113467113468113469113470113471113472113473113474113475113476113477113478113479113480113481113482113483113484113485113486113487113488113489113490113491113492113493113494113495113496113497113498113499113500113501113502113503113504113505113506113507113508113509113510113511113512113513113514113515113516113517113518113519113520113521113522113523113524113525113526113527113528113529113530113531113532113533113534113535113536113537113538113539113540113541113542113543113544113545113546113547113548113549113550113551113552113553113554113555113556113557113558113559113560113561113562113563113564113565113566113567113568113569113570113571113572113573113574113575113576113577113578113579113580113581113582113583113584113585113586113587113588113589113590113591113592113593113594113595113596113597113598113599113600113601113602113603113604113605113606113607113608113609113610113611113612113613113614113615113616113617113618113619113620113621113622113623113624113625113626113627113628113629113630113631113632113633113634113635113636113637113638113639113640113641113642113643113644113645113646113647113648113649113650113651113652113653113654113655113656113657113658113659113660113661113662113663113664113665113666113667113668113669113670113671113672113673113674113675113676113677113678113679113680113681113682113683113684113685113686113687113688113689113690113691113692113693113694113695113696113697113698113699113700113701113702113703113704113705113706113707113708113709113710113711113712113713113714113715113716113717113718113719113720113721113722113723113724113725113726113727113728113729113730113731113732113733113734113735113736113737113738113739113740113741113742113743113744113745113746113747113748113749113750113751113752113753113754113755113756113757113758113759113760113761113762113763113764113765113766113767113768113769113770113771113772113773113774113775113776113777113778113779113780113781113782113783113784113785113786113787113788113789113790113791113792113793113794113795113796113797113798113799113800113801113802113803113804113805113806113807113808113809113810113811113812113813113814113815113816113817113818113819113820113821113822113823113824113825113826113827113828113829113830113831113832113833113834113835113836113837113838113839113840113841113842113843113844113845113846113847113848113849113850113851113852113853113854113855113856113857113858113859113860113861113862113863113864113865113866113867113868113869113870113871113872113873113874113875113876113877113878113879113880113881113882113883113884113885113886113887113888113889113890113891113892113893113894113895113896113897113898113899113900113901113902113903113904113905113906113907113908113909113910113911113912113913113914113915113916113917113918113919113920113921113922113923113924113925113926113927113928113929113930113931113932113933113934113935113936113937113938113939113940113941113942113943113944113945113946113947113948113949113950113951113952113953113954113955113956113957113958113959113960113961113962113963113964113965113966113967113968113969113970113971113972113973113974113975113976113977113978113979113980113981113982113983113984113985113986113987113988113989113990113991113992113993113994113995113996113997113998113999114000114001114002114003114004114005114006114007114008114009114010114011114012114013114014114015114016114017114018114019114020114021114022114023114024114025114026114027114028114029114030114031114032114033114034114035114036114037114038114039114040114041114042114043114044114045114046114047114048114049114050114051114052114053114054114055114056114057114058114059114060114061114062114063114064114065114066114067114068114069114070114071114072114073114074114075114076114077114078114079114080114081114082114083114084114085114086114087114088114089114090114091114092114093114094114095114096114097114098114099114100114101114102114103114104114105114106114107114108114109114110114111114112114113114114114115114116114117114118114119114120114121114122114123114124114125114126114127114128114129114130114131114132114133114134114135114136114137114138114139114140114141114142114143114144114145114146114147114148114149114150114151114152114153114154114155114156114157114158114159114160114161114162114163114164114165114166114167114168114169114170114171114172114173114174114175114176114177114178114179114180114181114182114183114184114185114186114187114188114189114190114191114192114193114194114195114196114197114198114199114200114201114202114203114204114205114206114207114208114209114210114211114212114213114214114215114216114217114218114219114220114221114222114223114224114225114226114227114228114229114230114231114232114233114234114235114236114237114238114239114240114241114242114243114244114245114246114247114248114249114250114251114252114253114254114255114256114257114258114259114260114261114262114263114264114265114266114267114268114269114270114271114272114273114274114275114276114277114278114279114280114281114282114283114284114285114286114287114288114289114290114291114292114293114294114295114296114297114298114299114300114301114302114303114304114305114306114307114308114309114310114311114312114313114314114315114316114317114318114319114320114321114322114323114324114325114326114327114328114329114330114331114332114333114334114335114336114337114338114339114340114341114342114343114344114345114346114347114348114349114350114351114352114353114354114355114356114357114358114359114360114361114362114363114364114365114366114367114368114369114370114371114372114373114374114375114376114377114378114379114380114381114382114383114384114385114386114387114388114389114390114391114392114393114394114395114396114397114398114399114400114401114402114403114404114405114406114407114408114409114410114411114412114413114414114415114416114417114418114419114420114421114422114423114424114425114426114427114428114429114430114431114432114433114434114435114436114437114438114439114440114441114442114443114444114445114446114447114448114449114450114451114452114453114454114455114456114457114458114459114460114461114462114463114464114465114466114467114468114469114470114471114472114473114474114475114476114477114478114479114480114481114482114483114484114485114486114487114488114489114490114491114492114493114494114495114496114497114498114499114500114501114502114503114504114505114506114507114508114509114510114511114512114513114514114515114516114517114518114519114520114521114522114523114524114525114526114527114528114529114530114531114532114533114534114535114536114537114538114539114540114541114542114543114544114545114546114547114548114549114550114551114552114553114554114555114556114557114558114559114560114561114562114563114564114565114566114567114568114569114570114571114572114573114574114575114576114577114578114579114580114581114582114583114584114585114586114587114588114589114590114591114592114593114594114595114596114597114598114599114600114601114602114603114604114605114606114607114608114609114610114611114612114613114614114615114616114617114618114619114620114621114622114623114624114625114626114627114628114629114630114631114632114633114634114635114636114637114638114639114640114641114642114643114644114645114646114647114648114649114650114651114652114653114654114655114656114657114658114659114660114661114662114663114664114665114666114667114668114669114670114671114672114673114674114675114676114677114678114679114680114681114682114683114684114685114686114687114688114689114690114691114692114693114694114695114696114697114698114699114700114701114702114703114704114705114706114707114708114709114710114711114712114713114714114715114716114717114718114719114720114721114722114723114724114725114726114727114728114729114730114731114732114733114734114735114736114737114738114739114740114741114742114743114744114745114746114747114748114749114750114751114752114753114754114755114756114757114758114759114760114761114762114763114764114765114766114767114768114769114770114771114772114773114774114775114776114777114778114779114780114781114782114783114784114785114786114787114788114789114790114791114792114793114794114795114796114797114798114799114800114801114802114803114804114805114806114807114808114809114810114811114812114813114814114815114816114817114818114819114820114821114822114823114824114825114826114827114828114829114830114831114832114833114834114835114836114837114838114839114840114841114842114843114844114845114846114847114848114849114850114851114852114853114854114855114856114857114858114859114860114861114862114863114864114865114866114867114868114869114870114871114872114873114874114875114876114877114878114879114880114881114882114883114884114885114886114887114888114889114890114891114892114893114894114895114896114897114898114899114900114901114902114903114904114905114906114907114908114909114910114911114912114913114914114915114916114917114918114919114920114921114922114923114924114925114926114927114928114929114930114931114932114933114934114935114936114937114938114939114940114941114942114943114944114945114946114947114948114949114950114951114952114953114954114955114956114957114958114959114960114961114962114963114964114965114966114967114968114969114970114971114972114973114974114975114976114977114978114979114980114981114982114983114984114985114986114987114988114989114990114991114992114993114994114995114996114997114998114999115000115001115002115003115004115005115006115007115008115009115010115011115012115013115014115015115016115017115018115019115020115021115022115023115024115025115026115027115028115029115030115031115032115033115034115035115036115037115038115039115040115041115042115043115044115045115046115047115048115049115050115051115052115053115054115055115056115057115058115059115060115061115062115063115064115065115066115067115068115069115070115071115072115073115074115075115076115077115078115079115080115081115082115083115084115085115086115087115088115089115090115091115092115093115094115095115096115097115098115099115100115101115102115103115104115105115106115107115108115109115110115111115112115113115114115115115116115117115118115119115120115121115122115123115124115125115126115127115128115129115130115131115132115133115134115135115136115137115138115139115140115141115142115143115144115145115146115147115148115149115150115151115152115153115154115155115156115157115158115159115160115161115162115163115164115165115166115167115168115169115170115171115172115173115174115175115176115177115178115179115180115181115182115183115184115185115186115187115188115189115190115191115192115193115194115195115196115197115198115199115200115201115202115203115204115205115206115207115208115209115210115211115212115213115214115215115216115217115218115219115220115221115222115223115224115225115226115227115228115229115230115231115232115233115234115235115236115237115238115239115240115241115242115243115244115245115246115247115248115249115250115251115252115253115254115255115256115257115258115259115260115261115262115263115264115265115266115267115268115269115270115271115272115273115274115275115276115277115278115279115280115281115282115283115284115285115286115287115288115289115290115291115292115293115294115295115296115297115298115299115300115301115302115303115304115305115306115307115308115309115310115311115312115313115314115315115316115317115318115319115320115321115322115323115324115325115326115327115328115329115330115331115332115333115334115335115336115337115338115339115340115341115342115343115344115345115346115347115348115349115350115351115352115353115354115355115356115357115358115359115360115361115362115363115364115365115366115367115368115369115370115371115372115373115374115375115376115377115378115379115380115381115382115383115384115385115386115387115388115389115390115391115392115393115394115395115396115397115398115399115400115401115402115403115404115405115406115407115408115409115410115411115412115413115414115415115416115417115418115419115420115421115422115423115424115425115426115427115428115429115430115431115432115433115434115435115436115437115438115439115440115441115442115443115444115445115446115447115448115449115450115451115452115453115454115455115456115457115458115459115460115461115462115463115464115465115466115467115468115469115470115471115472115473115474115475115476115477115478115479115480115481115482115483115484115485115486115487115488115489115490115491115492115493115494115495115496115497115498115499115500115501115502115503115504115505115506115507115508115509115510115511115512115513115514115515115516115517115518115519115520115521115522115523115524115525115526115527115528115529115530115531115532115533115534115535115536115537115538115539115540115541115542115543115544115545115546115547115548115549115550115551115552115553115554115555115556115557115558115559115560115561115562115563115564115565115566115567115568115569115570115571115572115573115574115575115576115577115578115579115580115581115582115583115584115585115586115587115588115589115590115591115592115593115594115595115596115597115598115599115600115601115602115603115604115605115606115607115608115609115610115611115612115613115614115615115616115617115618115619115620115621115622115623115624115625115626115627115628115629115630115631115632115633115634115635115636115637115638115639115640115641115642115643115644115645115646115647115648115649115650115651115652115653115654115655115656115657115658115659115660115661115662115663115664115665115666115667115668115669115670115671115672115673115674115675115676115677115678115679115680115681115682115683115684115685115686115687115688115689115690115691115692115693115694115695115696115697115698115699115700115701115702115703115704115705115706115707115708115709115710115711115712115713115714115715115716115717115718115719115720115721115722115723115724115725115726115727115728115729115730115731115732115733115734115735115736115737115738115739115740115741115742115743115744115745115746115747115748115749115750115751115752115753115754115755115756115757115758115759115760115761115762115763115764115765115766115767115768115769115770115771115772115773115774115775115776115777115778115779115780115781115782115783115784115785115786115787115788115789115790115791115792115793115794115795115796115797115798115799115800115801115802115803115804115805115806115807115808115809115810115811115812115813115814115815115816115817115818115819115820115821115822115823115824115825115826115827115828115829115830115831115832115833115834115835115836115837115838115839115840115841115842115843115844115845115846115847115848115849115850115851115852115853115854115855115856115857115858115859115860115861115862115863115864115865115866115867115868115869115870115871115872115873115874115875115876115877115878115879115880115881115882115883115884115885115886115887115888115889115890115891115892115893115894115895115896115897115898115899115900115901115902115903115904115905115906115907115908115909115910115911115912115913115914115915115916115917115918115919115920115921115922115923115924115925115926115927115928115929115930115931115932115933115934115935115936115937115938115939115940115941115942115943115944115945115946115947115948115949115950115951115952115953115954115955115956115957115958115959115960115961115962115963115964115965115966115967115968115969115970115971115972115973115974115975115976115977115978115979115980115981115982115983115984115985115986115987115988115989115990115991115992115993115994115995115996115997115998115999116000116001116002116003116004116005116006116007116008116009116010116011116012116013116014116015116016116017116018116019116020116021116022116023116024116025116026116027116028116029116030116031116032116033116034116035116036116037116038116039116040116041116042116043116044116045116046116047116048116049116050116051116052116053116054116055116056116057116058116059116060116061116062116063116064116065116066116067116068116069116070116071116072116073116074116075116076116077116078116079116080116081116082116083116084116085116086116087116088116089116090116091116092116093116094116095116096116097116098116099116100116101116102116103116104116105116106116107116108116109116110116111116112116113116114116115116116116117116118116119116120116121116122116123116124116125116126116127116128116129116130116131116132116133116134116135116136116137116138116139116140116141116142116143116144116145116146116147116148116149116150116151116152116153116154116155116156116157116158116159116160116161116162116163116164116165116166116167116168116169116170116171116172116173116174116175116176116177116178116179116180116181116182116183116184116185116186116187116188116189116190116191116192116193116194116195116196116197116198116199116200116201116202116203116204116205116206116207116208116209116210116211116212116213116214116215116216116217116218116219116220116221116222116223116224116225116226116227116228116229116230116231116232116233116234116235116236116237116238116239116240116241116242116243116244116245116246116247116248116249116250116251116252116253116254116255116256116257116258116259116260116261116262116263116264116265116266116267116268116269116270116271116272116273116274116275116276116277116278116279116280116281116282116283116284116285116286116287116288116289116290116291116292116293116294116295116296116297116298116299116300116301116302116303116304116305116306116307116308116309116310116311116312116313116314116315116316116317116318116319116320116321116322116323116324116325116326116327116328116329116330116331116332116333116334116335116336116337116338116339116340116341116342116343116344116345116346116347116348116349116350116351116352116353116354116355116356116357116358116359116360116361116362116363116364116365116366116367116368116369116370116371116372116373116374116375116376116377116378116379116380116381116382116383116384116385116386116387116388116389116390116391116392116393116394116395116396116397116398116399116400116401116402116403116404116405116406116407116408116409116410116411116412116413116414116415116416116417116418116419116420116421116422116423116424116425116426116427116428116429116430116431116432116433116434116435116436116437116438116439116440116441116442116443116444116445116446116447116448116449116450116451116452116453116454116455116456116457116458116459116460116461116462116463116464116465116466116467116468116469116470116471116472116473116474116475116476116477116478116479116480116481116482116483116484116485116486116487116488116489116490116491116492116493116494116495116496116497116498116499116500116501116502116503116504116505116506116507116508116509116510116511116512116513116514116515116516116517116518116519116520116521116522116523116524116525116526116527116528116529116530116531116532116533116534116535116536116537116538116539116540116541116542116543116544116545116546116547116548116549116550116551116552116553116554116555116556116557116558116559116560116561116562116563116564116565116566116567116568116569116570116571116572116573116574116575116576116577116578116579116580116581116582116583116584116585116586116587116588116589116590116591116592116593116594116595116596116597116598116599116600116601116602116603116604116605116606116607116608116609116610116611116612116613116614116615116616116617116618116619116620116621116622116623116624116625116626116627116628116629116630116631116632116633116634116635116636116637116638116639116640116641116642116643116644116645116646116647116648116649116650116651116652116653116654116655116656116657116658116659116660116661116662116663116664116665116666116667116668116669116670116671116672116673116674116675116676116677116678116679116680116681116682116683116684116685116686116687116688116689116690116691116692116693116694116695116696116697116698116699116700116701116702116703116704116705116706116707116708116709116710116711116712116713116714116715116716116717116718116719116720116721116722116723116724116725116726116727116728116729116730116731116732116733116734116735116736116737116738116739116740116741116742116743116744116745116746116747116748116749116750116751116752116753116754116755116756116757116758116759116760116761116762116763116764116765116766116767116768116769116770116771116772116773116774116775116776116777116778116779116780116781116782116783116784116785116786116787116788116789116790116791116792116793116794116795116796116797116798116799116800116801116802116803116804116805116806116807116808116809116810116811116812116813116814116815116816116817116818116819116820116821116822116823116824116825116826116827116828116829116830116831116832116833116834116835116836116837116838116839116840116841116842116843116844116845116846116847116848116849116850116851116852116853116854116855116856116857116858116859116860116861116862116863116864116865116866116867116868116869116870116871116872116873116874116875116876116877116878116879116880116881116882116883116884116885116886116887116888116889116890116891116892116893116894116895116896116897116898116899116900116901116902116903116904116905116906116907116908116909116910116911116912116913116914116915116916116917116918116919116920116921116922116923116924116925116926116927116928116929116930116931116932116933116934116935116936116937116938116939116940116941116942116943116944116945116946116947116948116949116950116951116952116953116954116955116956116957116958116959116960116961116962116963116964116965116966116967116968116969116970116971116972116973116974116975116976116977116978116979116980116981116982116983116984116985116986116987116988116989116990116991116992116993116994116995116996116997116998116999117000117001117002117003117004117005117006117007117008117009117010117011117012117013117014117015117016117017117018117019117020117021117022117023117024117025117026117027117028117029117030117031117032117033117034117035117036117037117038117039117040117041117042117043117044117045117046117047117048117049117050117051117052117053117054117055117056117057117058117059117060117061117062117063117064117065117066117067117068117069117070117071117072117073117074117075117076117077117078117079117080117081117082117083117084117085117086117087117088117089117090117091117092117093117094117095117096117097117098117099117100117101117102117103117104117105117106117107117108117109117110117111117112117113117114117115117116117117117118117119117120117121117122117123117124117125117126117127117128117129117130117131117132117133117134117135117136117137117138117139117140117141117142117143117144117145117146117147117148117149117150117151117152117153117154117155117156117157117158117159117160117161117162117163117164117165117166117167117168117169117170117171117172117173117174117175117176117177117178117179117180117181117182117183117184117185117186117187117188117189117190117191117192117193117194117195117196117197117198117199117200117201117202117203117204117205117206117207117208117209117210117211117212117213117214117215117216117217117218117219117220117221117222117223117224117225117226117227117228117229117230117231117232117233117234117235117236117237117238117239117240117241117242117243117244117245117246117247117248117249117250117251117252117253117254117255117256117257117258117259117260117261117262117263117264117265117266117267117268117269117270117271117272117273117274117275117276117277117278117279117280117281117282117283117284117285117286117287117288117289117290117291117292117293117294117295117296117297117298117299117300117301117302117303117304117305117306117307117308117309117310117311117312117313117314117315117316117317117318117319117320117321117322117323117324117325117326117327117328117329117330117331117332117333117334117335117336117337117338117339117340117341117342117343117344117345117346117347117348117349117350117351117352117353117354117355117356117357117358117359117360117361117362117363117364117365117366117367117368117369117370117371117372117373117374117375117376117377117378117379117380117381117382117383117384117385117386117387117388117389117390117391117392117393117394117395117396117397117398117399117400117401117402117403117404117405117406117407117408117409117410117411117412117413117414117415117416117417117418117419117420117421117422117423117424117425117426117427117428117429117430117431117432117433117434117435117436117437117438117439117440117441117442117443117444117445117446117447117448117449117450117451117452117453117454117455117456117457117458117459117460117461117462117463117464117465117466117467117468117469117470117471117472117473117474117475117476117477117478117479117480117481117482117483117484117485117486117487117488117489117490117491117492117493117494117495117496117497117498117499117500117501117502117503117504117505117506117507117508117509117510117511117512117513117514117515117516117517117518117519117520117521117522117523117524117525117526117527117528117529117530117531117532117533117534117535117536117537117538117539117540117541117542117543117544117545117546117547117548117549117550117551117552117553117554117555117556117557117558117559117560117561117562117563117564117565117566117567117568117569117570117571117572117573117574117575117576117577117578117579117580117581117582117583117584117585117586117587117588117589117590117591117592117593117594117595117596117597117598117599117600117601117602117603117604117605117606117607117608117609117610117611117612117613117614117615117616117617117618117619117620117621117622117623117624117625117626117627117628117629117630117631117632117633117634117635117636117637117638117639117640117641117642117643117644117645117646117647117648117649117650117651117652117653117654117655117656117657117658117659117660117661117662117663117664117665117666117667117668117669117670117671117672117673117674117675117676117677117678117679117680117681117682117683117684117685117686117687117688117689117690117691117692117693117694117695117696117697117698117699117700117701117702117703117704117705117706117707117708117709117710117711117712117713117714117715117716117717117718117719117720117721117722117723117724117725117726117727117728117729117730117731117732117733117734117735117736117737117738117739117740117741117742117743117744117745117746117747117748117749117750117751117752117753117754117755117756117757117758117759117760117761117762117763117764117765117766117767117768117769117770117771117772117773117774117775117776117777117778117779117780117781117782117783117784117785117786117787117788117789117790117791117792117793117794117795117796117797117798117799117800117801117802117803117804117805117806117807117808117809117810117811117812117813117814117815117816117817117818117819117820117821117822117823117824117825117826117827117828117829117830117831117832117833117834117835117836117837117838117839117840117841117842117843117844117845117846117847117848117849117850117851117852117853117854117855117856117857117858117859117860117861117862117863117864117865117866117867117868117869117870117871117872117873117874117875117876117877117878117879117880117881117882117883117884117885117886117887117888117889117890117891117892117893117894117895117896117897117898117899117900117901117902117903117904117905117906117907117908117909117910117911117912117913117914117915117916117917117918117919117920117921117922117923117924117925117926117927117928117929117930117931117932117933117934117935117936117937117938117939117940117941117942117943117944117945117946117947117948117949117950117951117952117953117954117955117956117957117958117959117960117961117962117963117964117965117966117967117968117969117970117971117972117973117974117975117976117977117978117979117980117981117982117983117984117985117986117987117988117989117990117991117992117993117994117995117996117997117998117999118000118001118002118003118004118005118006118007118008118009118010118011118012118013118014118015118016118017118018118019118020118021118022118023118024118025118026118027118028118029118030118031118032118033118034118035118036118037118038118039118040118041118042118043118044118045118046118047118048118049118050118051118052118053118054118055118056118057118058118059118060118061118062118063118064118065118066118067118068118069118070118071118072118073118074118075118076118077118078118079118080118081118082118083118084118085118086118087118088118089118090118091118092118093118094118095118096118097118098118099118100118101118102118103118104118105118106118107118108118109118110118111118112118113118114118115118116118117118118118119118120118121118122118123118124118125118126118127118128118129118130118131118132118133118134118135118136118137118138118139118140118141118142118143118144118145118146118147118148118149118150118151118152118153118154118155118156118157118158118159118160118161118162118163118164118165118166118167118168118169118170118171118172118173118174118175118176118177118178118179118180118181118182118183118184118185118186118187118188118189118190118191118192118193118194118195118196118197118198118199118200118201118202118203118204118205118206118207118208118209118210118211118212118213118214118215118216118217118218118219118220118221118222118223118224118225118226118227118228118229118230118231118232118233118234118235118236118237118238118239118240118241118242118243118244118245118246118247118248118249118250118251118252118253118254118255118256118257118258118259118260118261118262118263118264118265118266118267118268118269118270118271118272118273118274118275118276118277118278118279118280118281118282118283118284118285118286118287118288118289118290118291118292118293118294118295118296118297118298118299118300118301118302118303118304118305118306118307118308118309118310118311118312118313118314118315118316118317118318118319118320118321118322118323118324118325118326118327118328118329118330118331118332118333118334118335118336118337118338118339118340118341118342118343118344118345118346118347118348118349118350118351118352118353118354118355118356118357118358118359118360118361118362118363118364118365118366118367118368118369118370118371118372118373118374118375118376118377118378118379118380118381118382118383118384118385118386118387118388118389118390118391118392118393118394118395118396118397118398118399118400118401118402118403118404118405118406118407118408118409118410118411118412118413118414118415118416118417118418118419118420118421118422118423118424118425118426118427118428118429118430118431118432118433118434118435118436118437118438118439118440118441118442118443118444118445118446118447118448118449118450118451118452118453118454118455118456118457118458118459118460118461118462118463118464118465118466118467118468118469118470118471118472118473118474118475118476118477118478118479118480118481118482118483118484118485118486118487118488118489118490118491118492118493118494118495118496118497118498118499118500118501118502118503118504118505118506118507118508118509118510118511118512118513118514118515118516118517118518118519118520118521118522118523118524118525118526118527118528118529118530118531118532118533118534118535118536118537118538118539118540118541118542118543118544118545118546118547118548118549118550118551118552118553118554118555118556118557118558118559118560118561118562118563118564118565118566118567118568118569118570118571118572118573118574118575118576118577118578118579118580118581118582118583118584118585118586118587118588118589118590118591118592118593118594118595118596118597118598118599118600118601118602118603118604118605118606118607118608118609118610118611118612118613118614118615118616118617118618118619118620118621118622118623118624118625118626118627118628118629118630118631118632118633118634118635118636118637118638118639118640118641118642118643118644118645118646118647118648118649118650118651118652118653118654118655118656118657118658118659118660118661118662118663118664118665118666118667118668118669118670118671118672118673118674118675118676118677118678118679118680118681118682118683118684118685118686118687118688118689118690118691118692118693118694118695118696118697118698118699118700118701118702118703118704118705118706118707118708118709118710118711118712118713118714118715118716118717118718118719118720118721118722118723118724118725118726118727118728118729118730118731118732118733118734118735118736118737118738118739118740118741118742118743118744118745118746118747118748118749118750118751118752118753118754118755118756118757118758118759118760118761118762118763118764118765118766118767118768118769118770118771118772118773118774118775118776118777118778118779118780118781118782118783118784118785118786118787118788118789118790118791118792118793118794118795118796118797118798118799118800118801118802118803118804118805118806118807118808118809118810118811118812118813118814118815118816118817118818118819118820118821118822118823118824118825118826118827118828118829118830118831118832118833118834118835118836118837118838118839118840118841118842118843118844118845118846118847118848118849118850118851118852118853118854118855118856118857118858118859118860118861118862118863118864118865118866118867118868118869118870118871118872118873118874118875118876118877118878118879118880118881118882118883118884118885118886118887118888118889118890118891118892118893118894118895118896118897118898118899118900118901118902118903118904118905118906118907118908118909118910118911118912118913118914118915118916118917118918118919118920118921118922118923118924118925118926118927118928118929118930118931118932118933118934118935118936118937118938118939118940118941118942118943118944118945118946118947118948118949118950118951118952118953118954118955118956118957118958118959118960118961118962118963118964118965118966118967118968118969118970118971118972118973118974118975118976118977118978118979118980118981118982118983118984118985118986118987118988118989118990118991118992118993118994118995118996118997118998118999119000119001119002119003119004119005119006119007119008119009119010119011119012119013119014119015119016119017119018119019119020119021119022119023119024119025119026119027119028119029119030119031119032119033119034119035119036119037119038119039119040119041119042119043119044119045119046119047119048119049119050119051119052119053119054119055119056119057119058119059119060119061119062119063119064119065119066119067119068119069119070119071119072119073119074119075119076119077119078119079119080119081119082119083119084119085119086119087119088119089119090119091119092119093119094119095119096119097119098119099119100119101119102119103119104119105119106119107119108119109119110119111119112119113119114119115119116119117119118119119119120119121119122119123119124119125119126119127119128119129119130119131119132119133119134119135119136119137119138119139119140119141119142119143119144119145119146119147119148119149119150119151119152119153119154119155119156119157119158119159119160119161119162119163119164119165119166119167119168119169119170119171119172119173119174119175119176119177119178119179119180119181119182119183119184119185119186119187119188119189119190119191119192119193119194119195119196119197119198119199119200119201119202119203119204119205119206119207119208119209119210119211119212119213119214119215119216119217119218119219119220119221119222119223119224119225119226119227119228119229119230119231119232119233119234119235119236119237119238119239119240119241119242119243119244119245119246119247119248119249119250119251119252119253119254119255119256119257119258119259119260119261119262119263119264119265119266119267119268119269119270119271119272119273119274119275119276119277119278119279119280119281119282119283119284119285119286119287119288119289119290119291119292119293119294119295119296119297119298119299119300119301119302119303119304119305119306119307119308119309119310119311119312119313119314119315119316119317119318119319119320119321119322119323119324119325119326119327119328119329119330119331119332119333119334119335119336119337119338119339119340119341119342119343119344119345119346119347119348119349119350119351119352119353119354119355119356119357119358119359119360119361119362119363119364119365119366119367119368119369119370119371119372119373119374119375119376119377119378119379119380119381119382119383119384119385119386119387119388119389119390119391119392119393119394119395119396119397119398119399119400119401119402119403119404119405119406119407119408119409119410119411119412119413119414119415119416119417119418119419119420119421119422119423119424119425119426119427119428119429119430119431119432119433119434119435119436119437119438119439119440119441119442119443119444119445119446119447119448119449119450119451119452119453119454119455119456119457119458119459119460119461119462119463119464119465119466119467119468119469119470119471119472119473119474119475119476119477119478119479119480119481119482119483119484119485119486119487119488119489119490119491119492119493119494119495119496119497119498119499119500119501119502119503119504119505119506119507119508119509119510119511119512119513119514119515119516119517119518119519119520119521119522119523119524119525119526119527119528119529119530119531119532119533119534119535119536119537119538119539119540119541119542119543119544119545119546119547119548119549119550119551119552119553119554119555119556119557119558119559119560119561119562119563119564119565119566119567119568119569119570119571119572119573119574119575119576119577119578119579119580119581119582119583119584119585119586119587119588119589119590119591119592119593119594119595119596119597119598119599119600119601119602119603119604119605119606119607119608119609119610119611119612119613119614119615119616119617119618119619119620119621119622119623119624119625119626119627119628119629119630119631119632119633119634119635119636119637119638119639119640119641119642119643119644119645119646119647119648119649119650119651119652119653119654119655119656119657119658119659119660119661119662119663119664119665119666119667119668119669119670119671119672119673119674119675119676119677119678119679119680119681119682119683119684119685119686119687119688119689119690119691119692119693119694119695119696119697119698119699119700119701119702119703119704119705119706119707119708119709119710119711119712119713119714119715119716119717119718119719119720119721119722119723119724119725119726119727119728119729119730119731119732119733119734119735119736119737119738119739119740119741119742119743119744119745119746119747119748119749119750119751119752119753119754119755119756119757119758119759119760119761119762119763119764119765119766119767119768119769119770119771119772119773119774119775119776119777119778119779119780119781119782119783119784119785119786119787119788119789119790119791119792119793119794119795119796119797119798119799119800119801119802119803119804119805119806119807119808119809119810119811119812119813119814119815119816119817119818119819119820119821119822119823119824119825119826119827119828119829119830119831119832119833119834119835119836119837119838119839119840119841119842119843119844119845119846119847119848119849119850119851119852119853119854119855119856119857119858119859119860119861119862119863119864119865119866119867119868119869119870119871119872119873119874119875119876119877119878119879119880119881119882119883119884119885119886119887119888119889119890119891119892119893119894119895119896119897119898119899119900119901119902119903119904119905119906119907119908119909119910119911119912119913119914119915119916119917119918119919119920119921119922119923119924119925119926119927119928119929119930119931119932119933119934119935119936119937119938119939119940119941119942119943119944119945119946119947119948119949119950119951119952119953119954119955119956119957119958119959119960119961119962119963119964119965119966119967119968119969119970119971119972119973119974119975119976119977119978119979119980119981119982119983119984119985119986119987119988119989119990119991119992119993119994119995119996119997119998119999120000120001120002120003120004120005120006120007120008120009120010120011120012120013120014120015120016120017120018120019120020120021120022120023120024120025120026120027120028120029120030120031120032120033120034120035120036120037120038120039120040120041120042120043120044120045120046120047120048120049120050120051120052120053120054120055120056120057120058120059120060120061120062120063120064120065120066120067120068120069120070120071120072120073120074120075120076120077120078120079120080120081120082120083120084120085120086120087120088120089120090120091120092120093120094120095120096120097120098120099120100120101120102120103120104120105120106120107120108120109120110120111120112120113120114120115120116120117120118120119120120120121120122120123120124120125120126120127120128120129120130120131120132120133120134120135120136120137120138120139120140120141120142120143120144120145120146120147120148120149120150120151120152120153120154120155120156120157120158120159120160120161120162120163120164120165120166120167120168120169120170120171120172120173120174120175120176120177120178120179120180120181120182120183120184120185120186120187120188120189120190120191120192120193120194120195120196120197120198120199120200120201120202120203120204120205120206120207120208120209120210120211120212120213120214120215120216120217120218120219120220120221120222120223120224120225120226120227120228120229120230120231120232120233120234120235120236120237120238120239120240120241120242120243120244120245120246120247120248120249120250120251120252120253120254120255120256120257120258120259120260120261120262120263120264120265120266120267120268120269120270120271120272120273120274120275120276120277120278120279120280120281120282120283120284120285120286120287120288120289120290120291120292120293120294120295120296120297120298120299120300120301120302120303120304120305120306120307120308120309120310120311120312120313120314120315120316120317120318120319120320120321120322120323120324120325120326120327120328120329120330120331120332120333120334120335120336120337120338120339120340120341120342120343120344120345120346120347120348120349120350120351120352120353120354120355120356120357120358120359120360120361120362120363120364120365120366120367120368120369120370120371120372120373120374120375120376120377120378120379120380120381120382120383120384120385120386120387120388120389120390120391120392120393120394120395120396120397120398120399120400120401120402120403120404120405120406120407120408120409120410120411120412120413120414120415120416120417120418120419120420120421120422120423120424120425120426120427120428120429120430120431120432120433120434120435120436120437120438120439120440120441120442120443120444120445120446120447120448120449120450120451120452120453120454120455120456120457120458120459120460120461120462120463120464120465120466120467120468120469120470120471120472120473120474120475120476120477120478120479120480120481120482120483120484120485120486120487120488120489120490120491120492120493120494120495120496120497120498120499120500120501120502120503120504120505120506120507120508120509120510120511120512120513120514120515120516120517120518120519120520120521120522120523120524120525120526120527120528120529120530120531120532120533120534120535120536120537120538120539120540120541120542120543120544120545120546120547120548120549120550120551120552120553120554120555120556120557120558120559120560120561120562120563120564120565120566120567120568120569120570120571120572120573120574120575120576120577120578120579120580120581120582120583120584120585120586120587120588120589120590120591120592120593120594120595120596120597120598120599120600120601120602120603120604120605120606120607120608120609120610120611120612120613120614120615120616120617120618120619120620120621120622120623120624120625120626120627120628120629120630120631120632120633120634120635120636120637120638120639120640120641120642120643120644120645120646120647120648120649120650120651120652120653120654120655120656120657120658120659120660120661120662120663120664120665120666120667120668120669120670120671120672120673120674120675120676120677120678120679120680120681120682120683120684120685120686120687120688120689120690120691120692120693120694120695120696120697120698120699120700120701120702120703120704120705120706120707120708120709120710120711120712120713120714120715120716120717120718120719120720120721120722120723120724120725120726120727120728120729120730120731120732120733120734120735120736120737120738120739120740120741120742120743120744120745120746120747120748120749120750120751120752120753120754120755120756120757120758120759120760120761120762120763120764120765120766120767120768120769120770120771120772120773120774120775120776120777120778120779120780120781120782120783120784120785120786120787120788120789120790120791120792120793120794120795120796120797120798120799120800120801120802120803120804120805120806120807120808120809120810120811120812120813120814120815120816120817120818120819120820120821120822120823120824120825120826120827120828120829120830120831120832120833120834120835120836120837120838120839120840120841120842120843120844120845120846120847120848120849120850120851120852120853120854120855120856120857120858120859120860120861120862120863120864120865120866120867120868120869120870120871120872120873120874120875120876120877120878120879120880120881120882120883120884120885120886120887120888120889120890120891120892120893120894120895120896120897120898120899120900120901120902120903120904120905120906120907120908120909120910120911120912120913120914120915120916120917120918120919120920120921120922120923120924120925120926120927120928120929120930120931120932120933120934120935120936120937120938120939120940120941120942120943120944120945120946120947120948120949120950120951120952120953120954120955120956120957120958120959120960120961120962120963120964120965120966120967120968120969120970120971120972120973120974120975120976120977120978120979120980120981120982120983120984120985120986120987120988120989120990120991120992120993120994120995120996120997120998120999121000121001121002121003121004121005121006121007121008121009121010121011121012121013121014121015121016121017121018121019121020121021121022121023121024121025121026121027121028121029121030121031121032121033121034121035121036121037121038121039121040121041121042121043121044121045121046121047121048121049121050121051121052121053121054121055121056121057121058121059121060121061121062121063121064121065121066121067121068121069121070121071121072121073121074121075121076121077121078121079121080121081121082121083121084121085121086121087121088121089121090121091121092121093121094121095121096121097121098121099121100121101121102121103121104121105121106121107121108121109121110121111121112121113121114121115121116121117121118121119121120121121121122121123121124121125121126121127121128121129121130121131121132121133121134121135121136121137121138121139121140121141121142121143121144121145121146121147121148121149121150121151121152121153121154121155121156121157121158121159121160121161121162121163121164121165121166121167121168121169121170121171121172121173121174121175121176121177121178121179121180121181121182121183121184121185121186121187121188121189121190121191121192121193121194121195121196121197121198121199121200121201121202121203121204121205121206121207121208121209121210121211121212121213121214121215121216121217121218121219121220121221121222121223121224121225121226121227121228121229121230121231121232121233121234121235121236121237121238121239121240121241121242121243121244121245121246121247121248121249121250121251121252121253121254121255121256121257121258121259121260121261121262121263121264121265121266121267121268121269121270121271121272121273121274121275121276121277121278121279121280121281121282121283121284121285121286121287121288121289121290121291121292121293121294121295121296121297121298121299121300121301121302121303121304121305121306121307121308121309121310121311121312121313121314121315121316121317121318121319121320121321121322121323121324121325121326121327121328121329121330121331121332121333121334121335121336121337121338121339121340121341121342121343121344121345121346121347121348121349121350121351121352121353121354121355121356121357121358121359121360121361121362121363121364121365121366121367121368121369121370121371121372121373121374121375121376121377121378121379121380121381121382121383121384121385121386121387121388121389121390121391121392121393121394121395121396121397121398121399121400121401121402121403121404121405121406121407121408121409121410121411121412121413121414121415121416121417121418121419121420121421121422121423121424121425121426121427121428121429121430121431121432121433121434121435121436121437121438121439121440121441121442121443121444121445121446121447121448121449121450121451121452121453121454121455121456121457121458121459121460121461121462121463121464121465121466121467121468121469121470121471121472121473121474121475121476121477121478121479121480121481121482121483121484121485121486121487121488121489121490121491121492121493121494121495121496121497121498121499121500121501121502121503121504121505121506121507121508121509121510121511121512121513121514121515121516121517121518121519121520121521121522121523121524121525121526121527121528121529121530121531121532121533121534121535121536121537121538121539121540121541121542121543121544121545121546121547121548121549121550121551121552121553121554121555121556121557121558121559121560121561121562121563121564121565121566121567121568121569121570121571121572121573121574121575121576121577121578121579121580121581121582121583121584121585121586121587121588121589121590121591121592121593121594121595121596121597121598121599121600121601121602121603121604121605121606121607121608121609121610121611121612121613121614121615121616121617121618121619121620121621121622121623121624121625121626121627121628121629121630121631121632121633121634121635121636121637121638121639121640121641121642121643121644121645121646121647121648121649121650121651121652121653121654121655121656121657121658121659121660121661121662121663121664121665121666121667121668121669121670121671121672121673121674121675121676121677121678121679121680121681121682121683121684121685121686121687121688121689121690121691121692121693121694121695121696121697121698121699121700121701121702121703121704121705121706121707121708121709121710121711121712121713121714121715121716121717121718121719121720121721121722121723121724121725121726121727121728121729121730121731121732121733121734121735121736121737121738121739121740121741121742121743121744121745121746121747121748121749121750121751121752121753121754121755121756121757121758121759121760121761121762121763121764121765121766121767121768121769121770121771121772121773121774121775121776121777121778121779121780121781121782121783121784121785121786121787121788121789121790121791121792121793121794121795121796121797121798121799121800121801121802121803121804121805121806121807121808121809121810121811121812121813121814121815121816121817121818121819121820121821121822121823121824121825121826121827121828121829121830121831121832121833121834121835121836121837121838121839121840121841121842121843121844121845121846121847121848121849121850121851121852121853121854121855121856121857121858121859121860121861121862121863121864121865121866121867121868121869121870121871121872121873121874121875121876121877121878121879121880121881121882121883121884121885121886121887121888121889121890121891121892121893121894121895121896121897121898121899121900121901121902121903121904121905121906121907121908121909121910121911121912121913121914121915121916121917121918121919121920121921121922121923121924121925121926121927121928121929121930121931121932121933121934121935121936121937121938121939121940121941121942121943121944121945121946121947121948121949121950121951121952121953121954121955121956121957121958121959121960121961121962121963121964121965121966121967121968121969121970121971121972121973121974121975121976121977121978121979121980121981121982121983121984121985121986121987121988121989121990121991121992121993121994121995121996121997121998121999122000122001122002122003122004122005122006122007122008122009122010122011122012122013122014122015122016122017122018122019122020122021122022122023122024122025122026122027122028122029122030122031122032122033122034122035122036122037122038122039122040122041122042122043122044122045122046122047122048122049122050122051122052122053122054122055122056122057122058122059122060122061122062122063122064122065122066122067122068122069122070122071122072122073122074122075122076122077122078122079122080122081122082122083122084122085122086122087122088122089122090122091122092122093122094122095122096122097122098122099122100122101122102122103122104122105122106122107122108122109122110122111122112122113122114122115122116122117122118122119122120122121122122122123122124122125122126122127122128122129122130122131122132122133122134122135122136122137122138122139122140122141122142122143122144122145122146122147122148122149122150122151122152122153122154122155122156122157122158122159122160122161122162122163122164122165122166122167122168122169122170122171122172122173122174122175122176122177122178122179122180122181122182122183122184122185122186122187122188122189122190122191122192122193122194122195122196122197122198122199122200122201122202122203122204122205122206122207122208122209122210122211122212122213122214122215122216122217122218122219122220122221122222122223122224122225122226122227122228122229122230122231122232122233122234122235122236122237122238122239122240122241122242122243122244122245122246122247122248122249122250122251122252122253122254122255122256122257122258122259122260122261122262122263122264122265122266122267122268122269122270122271122272122273122274122275122276122277122278122279122280122281122282122283122284122285122286122287122288122289122290122291122292122293122294122295122296122297122298122299122300122301122302122303122304122305122306122307122308122309122310122311122312122313122314122315122316122317122318122319122320122321122322122323122324122325122326122327122328122329122330122331122332122333122334122335122336122337122338122339122340122341122342122343122344122345122346122347122348122349122350122351122352122353122354122355122356122357122358122359122360122361122362122363122364122365122366122367122368122369122370122371122372122373122374122375122376122377122378122379122380122381122382122383122384122385122386122387122388122389122390122391122392122393122394122395122396122397122398122399122400122401122402122403122404122405122406122407122408122409122410122411122412122413122414122415122416122417122418122419122420122421122422122423122424122425122426122427122428122429122430122431122432122433122434122435122436122437122438122439122440122441122442122443122444122445122446122447122448122449122450122451122452122453122454122455122456122457122458122459122460122461122462122463122464122465122466122467122468122469122470122471122472122473122474122475122476122477122478122479122480122481122482122483122484122485122486122487122488122489122490122491122492122493122494122495122496122497122498122499122500122501122502122503122504122505122506122507122508122509122510122511122512122513122514122515122516122517122518122519122520122521122522122523122524122525122526122527122528122529122530122531122532122533122534122535122536122537122538122539122540122541122542122543122544122545122546122547122548122549122550122551122552122553122554122555122556122557122558122559122560122561122562122563122564122565122566122567122568122569122570122571122572122573122574122575122576122577122578122579122580122581122582122583122584122585122586122587122588122589122590122591122592122593122594122595122596122597122598122599122600122601122602122603122604122605122606122607122608122609122610122611122612122613122614122615122616122617122618122619122620122621122622122623122624122625122626122627122628122629122630122631122632122633122634122635122636122637122638122639122640122641122642122643122644122645122646122647122648122649122650122651122652122653122654122655122656122657122658122659122660122661122662122663122664122665122666122667122668122669122670122671122672122673122674122675122676122677122678122679122680122681122682122683122684122685122686122687122688122689122690122691122692122693122694122695122696122697122698122699122700122701122702122703122704122705122706122707122708122709122710122711122712122713122714122715122716122717122718122719122720122721122722122723122724122725122726122727122728122729122730122731122732122733122734122735122736122737122738122739122740122741122742122743122744122745122746122747122748122749122750122751122752122753122754122755122756122757122758122759122760122761122762122763122764122765122766122767122768122769122770122771122772122773122774122775122776122777122778122779122780122781122782122783122784122785122786122787122788122789122790122791122792122793122794122795122796122797122798122799122800122801122802122803122804122805122806122807122808122809122810122811122812122813122814122815122816122817122818122819122820122821122822122823122824122825122826122827122828122829122830122831122832122833122834122835122836122837122838122839122840122841122842122843122844122845122846122847122848122849122850122851122852122853122854122855122856122857122858122859122860122861122862122863122864122865122866122867122868122869122870122871122872122873122874122875122876122877122878122879122880122881122882122883122884122885122886122887122888122889122890122891122892122893122894122895122896122897122898122899122900122901122902122903122904122905122906122907122908122909122910122911122912122913122914122915122916122917122918122919122920122921122922122923122924122925122926122927122928122929122930122931122932122933122934122935122936122937122938122939122940122941122942122943122944122945122946122947122948122949122950122951122952122953122954122955122956122957122958122959122960122961122962122963122964122965122966122967122968122969122970122971122972122973122974122975122976122977122978122979122980122981122982122983122984122985122986122987122988122989122990122991122992122993122994122995122996122997122998122999123000123001123002123003123004123005123006123007123008123009123010123011123012123013123014123015123016123017123018123019123020123021123022123023123024123025123026123027123028123029123030123031123032123033123034123035123036123037123038123039123040123041123042123043123044123045123046123047123048123049123050123051123052123053123054123055123056123057123058123059123060123061123062123063123064123065123066123067123068123069123070123071123072123073123074123075123076123077123078123079123080123081123082123083123084123085123086123087123088123089123090123091123092123093123094123095123096123097123098123099123100123101123102123103123104123105123106123107123108123109123110123111123112123113123114123115123116123117123118123119123120123121123122123123123124123125123126123127123128123129123130123131123132123133123134123135123136123137123138123139123140123141123142123143123144123145123146123147123148123149123150123151123152123153123154123155123156123157123158123159123160123161123162123163123164123165123166123167123168123169123170123171123172123173123174123175123176123177123178123179123180123181123182123183123184123185123186123187123188123189123190123191123192123193123194123195123196123197123198123199123200123201123202123203123204123205123206123207123208123209123210123211123212123213123214123215123216123217123218123219123220123221123222123223123224123225123226123227123228123229123230123231123232123233123234123235123236123237123238123239123240123241123242123243123244123245123246123247123248123249123250123251123252123253123254123255123256123257123258123259123260123261123262123263123264123265123266123267123268123269123270123271123272123273123274123275123276123277123278123279123280123281123282123283123284123285123286123287123288123289123290123291123292123293123294123295123296123297123298123299123300123301123302123303123304123305123306123307123308123309123310123311123312123313123314123315123316123317123318123319123320123321123322123323123324123325123326123327123328123329123330123331123332123333123334123335123336123337123338123339123340123341123342123343123344123345123346123347123348123349123350123351123352123353123354123355123356123357123358123359123360123361123362123363123364123365123366123367123368123369123370123371123372123373123374123375123376123377123378123379123380123381123382123383123384123385123386123387123388123389123390123391123392123393123394123395123396123397123398123399123400123401123402123403123404123405123406123407123408123409123410123411123412123413123414123415123416123417123418123419123420123421123422123423123424123425123426123427123428123429123430123431123432123433123434123435123436123437123438123439123440123441123442123443123444123445123446123447123448123449123450123451123452123453123454123455123456123457123458123459123460123461123462123463123464123465123466123467123468123469123470123471123472123473123474123475123476123477123478123479123480123481123482123483123484123485123486123487123488123489123490123491123492123493123494123495123496123497123498123499123500123501123502123503123504123505123506123507123508123509123510123511123512123513123514123515123516123517123518123519123520123521123522123523123524123525123526123527123528123529123530123531123532123533123534123535123536123537123538123539123540123541123542123543123544123545123546123547123548123549123550123551123552123553123554123555123556123557123558123559123560123561123562123563123564123565123566123567123568123569123570123571123572123573123574123575123576123577123578123579123580123581123582123583123584123585123586123587123588123589123590123591123592123593123594123595123596123597123598123599123600123601123602123603123604123605123606123607123608123609123610123611123612123613123614123615123616123617123618123619123620123621123622123623123624123625123626123627123628123629123630123631123632123633123634123635123636123637123638123639123640123641123642123643123644123645123646123647123648123649123650123651123652123653123654123655123656123657123658123659123660123661123662123663123664123665123666123667123668123669123670123671123672123673123674123675123676123677123678123679123680123681123682123683123684123685123686123687123688123689123690123691123692123693123694123695123696123697123698123699123700123701123702123703123704123705123706123707123708123709123710123711123712123713123714123715123716123717123718123719123720123721123722123723123724123725123726123727123728123729123730123731123732123733123734123735123736123737123738123739123740123741123742123743123744123745123746123747123748123749123750123751123752123753123754123755123756123757123758123759123760123761123762123763123764123765123766123767123768123769123770123771123772123773123774123775123776123777123778123779123780123781123782123783123784123785123786123787123788123789123790123791123792123793123794123795123796123797123798123799123800123801123802123803123804123805123806123807123808123809123810123811123812123813123814123815123816123817123818123819123820123821123822123823123824123825123826123827123828123829123830123831123832123833123834123835123836123837123838123839123840123841123842123843123844123845123846123847123848123849123850123851123852123853123854123855123856123857123858123859123860123861123862123863123864123865123866123867123868123869123870123871123872123873123874123875123876123877123878123879123880123881123882123883123884123885123886123887123888123889123890123891123892123893123894123895123896123897123898123899123900123901123902123903123904123905123906123907123908123909123910123911123912123913123914123915123916123917123918123919123920123921123922123923123924123925123926123927123928123929123930123931123932123933123934123935123936123937123938123939123940123941123942123943123944123945123946123947123948123949123950123951123952123953123954123955123956123957123958123959123960123961123962123963123964123965123966123967123968123969123970123971123972123973123974123975123976123977123978123979123980123981123982123983123984123985123986123987123988123989123990123991123992123993123994123995123996123997123998123999124000124001124002124003124004124005124006124007124008124009124010124011124012124013124014124015124016124017124018124019124020124021124022124023124024124025124026124027124028124029124030124031124032124033124034124035124036124037124038124039124040124041124042124043124044124045124046124047124048124049124050124051124052124053124054124055124056124057124058124059124060124061124062124063124064124065124066124067124068124069124070124071124072124073124074124075124076124077124078124079124080124081124082124083124084124085124086124087124088124089124090124091124092124093124094124095124096124097124098124099124100124101124102124103124104124105124106124107124108124109124110124111124112124113124114124115124116124117124118124119124120124121124122124123124124124125124126124127124128124129124130124131124132124133124134124135124136124137124138124139124140124141124142124143124144124145124146124147124148124149124150124151124152124153124154124155124156124157124158124159124160124161124162124163124164124165124166124167124168124169124170124171124172124173124174124175124176124177124178124179124180124181124182124183124184124185124186124187124188124189124190124191124192124193124194124195124196124197124198124199124200124201124202124203124204124205124206124207124208124209124210124211124212124213124214124215124216124217124218124219124220124221124222124223124224124225124226124227124228124229124230124231124232124233124234124235124236124237124238124239124240124241124242124243124244124245124246124247124248124249124250124251124252124253124254124255124256124257124258124259124260124261124262124263124264124265124266124267124268124269124270124271124272124273124274124275124276124277124278124279124280124281124282124283124284124285124286124287124288124289124290124291124292124293124294124295124296124297124298124299124300124301124302124303124304124305124306124307124308124309124310124311124312124313124314124315124316124317124318124319124320124321124322124323124324124325124326124327124328124329124330124331124332124333124334124335124336124337124338124339124340124341124342124343124344124345124346124347124348124349124350124351124352124353124354124355124356124357124358124359124360124361124362124363124364124365124366124367124368124369124370124371124372124373124374124375124376124377124378124379124380124381124382124383124384124385124386124387124388124389124390124391124392124393124394124395124396124397124398124399124400124401124402124403124404124405124406124407124408124409124410124411124412124413124414124415124416124417124418124419124420124421124422124423124424124425124426124427124428124429124430124431124432124433124434124435124436124437124438124439124440124441124442124443124444124445124446124447124448124449124450124451124452124453124454124455124456124457124458124459124460124461124462124463124464124465124466124467124468124469124470124471124472124473124474124475124476124477124478124479124480124481124482124483124484124485124486124487124488124489124490124491124492124493124494124495124496124497124498124499124500124501124502124503124504124505124506124507124508124509124510124511124512124513124514124515124516124517124518124519124520124521124522124523124524124525124526124527124528124529124530124531124532124533124534124535124536124537124538124539124540124541124542124543124544124545124546124547124548124549124550124551124552124553124554124555124556124557124558124559124560124561124562124563124564124565124566124567124568124569124570124571124572124573124574124575124576124577124578124579124580124581124582124583124584124585124586124587124588124589124590124591124592124593124594124595124596124597124598124599124600124601124602124603124604124605124606124607124608124609124610124611124612124613124614124615124616124617124618124619124620124621124622124623124624124625124626124627124628124629124630124631124632124633124634124635124636124637124638124639124640124641124642124643124644124645124646124647124648124649124650124651124652124653124654124655124656124657124658124659124660124661124662124663124664124665124666124667124668124669124670124671124672124673124674124675124676124677124678124679124680124681124682124683124684124685124686124687124688124689124690124691124692124693124694124695124696124697124698124699124700124701124702124703124704124705124706124707124708124709124710124711124712124713124714124715124716124717124718124719124720124721124722124723124724124725124726124727124728124729124730124731124732124733124734124735124736124737124738124739124740124741124742124743124744124745124746124747124748124749124750124751124752124753124754124755124756124757124758124759124760124761124762124763124764124765124766124767124768124769124770124771124772124773124774124775124776124777124778124779124780124781124782124783124784124785124786124787124788124789124790124791124792124793124794124795124796124797124798124799124800124801124802124803124804124805124806124807124808124809124810124811124812124813124814124815124816124817124818124819124820124821124822124823124824124825124826124827124828124829124830124831124832124833124834124835124836124837124838124839124840124841124842124843124844124845124846124847124848124849124850124851124852124853124854124855124856124857124858124859124860124861124862124863124864124865124866124867124868124869124870124871124872124873124874124875124876124877124878124879124880124881124882124883124884124885124886124887124888124889124890124891124892124893124894124895124896124897124898124899124900124901124902124903124904124905124906124907124908124909124910124911124912124913124914124915124916124917124918124919124920124921124922124923124924124925124926124927124928124929124930124931124932124933124934124935124936124937124938124939124940124941124942124943124944124945124946124947124948124949124950124951124952124953124954124955124956124957124958124959124960124961124962124963124964124965124966124967124968124969124970124971124972124973124974124975124976124977124978124979124980124981124982124983124984124985124986124987124988124989124990124991124992124993124994124995124996124997124998124999125000125001125002125003125004125005125006125007125008125009125010125011125012125013125014125015125016125017125018125019125020125021125022125023125024125025125026125027125028125029125030125031125032125033125034125035125036125037125038125039125040125041125042125043125044125045125046125047125048125049125050125051125052125053125054125055125056125057125058125059125060125061125062125063125064125065125066125067125068125069125070125071125072125073125074125075125076125077125078125079125080125081125082125083125084125085125086125087125088125089125090125091125092125093125094125095125096125097125098125099125100125101125102125103125104125105125106125107125108125109125110125111125112125113125114125115125116125117125118125119125120125121125122125123125124125125125126125127125128125129125130125131125132125133125134125135125136125137125138125139125140125141125142125143125144125145125146125147125148125149125150125151125152125153125154125155125156125157125158125159125160125161125162125163125164125165125166125167125168125169125170125171125172125173125174125175125176125177125178125179125180125181125182125183125184125185125186125187125188125189125190125191125192125193125194125195125196125197125198125199125200125201125202125203125204125205125206125207125208125209125210125211125212125213125214125215125216125217125218125219125220125221125222125223125224125225125226125227125228125229125230125231125232125233125234125235125236125237125238125239125240125241125242125243125244125245125246125247125248125249125250125251125252125253125254125255125256125257125258125259125260125261125262125263125264125265125266125267125268125269125270125271125272125273125274125275125276125277125278125279125280125281125282125283125284125285125286125287125288125289125290125291125292125293125294125295125296125297125298125299125300125301125302125303125304125305125306125307125308125309125310125311125312125313125314125315125316125317125318125319125320125321125322125323125324125325125326125327125328125329125330125331125332125333125334125335125336125337125338125339125340125341125342125343125344125345125346125347125348125349125350125351125352125353125354125355125356125357125358125359125360125361125362125363125364125365125366125367125368125369125370125371125372125373125374125375125376125377125378125379125380125381125382125383125384125385125386125387125388125389125390125391125392125393125394125395125396125397125398125399125400125401125402125403125404125405125406125407125408125409125410125411125412125413125414125415125416125417125418125419125420125421125422125423125424125425125426125427125428125429125430125431125432125433125434125435125436125437125438125439125440125441125442125443125444125445125446125447125448125449125450125451125452125453125454125455125456125457125458125459125460125461125462125463125464125465125466125467125468125469125470125471125472125473125474125475125476125477125478125479125480125481125482125483125484125485125486125487125488125489125490125491125492125493125494125495125496125497125498125499125500125501125502125503125504125505125506125507125508125509125510125511125512125513125514125515125516125517125518125519125520125521125522125523125524125525125526125527125528125529125530125531125532125533125534125535125536125537125538125539125540125541125542125543125544125545125546125547125548125549125550125551125552125553125554125555125556125557125558125559125560125561125562125563125564125565125566125567125568125569125570125571125572125573125574125575125576125577125578125579125580125581125582125583125584125585125586125587125588125589125590125591125592125593125594125595125596125597125598125599125600125601125602125603125604125605125606125607125608125609125610125611125612125613125614125615125616125617125618125619125620125621125622125623125624125625125626125627125628125629125630125631125632125633125634125635125636125637125638125639125640125641125642125643125644125645125646125647125648125649125650125651125652125653125654125655125656125657125658125659125660125661125662125663125664125665125666125667125668125669125670125671125672125673125674125675125676125677125678125679125680125681125682125683125684125685125686125687125688125689125690125691125692125693125694125695125696125697125698125699125700125701125702125703125704125705125706125707125708125709125710125711125712125713125714125715125716125717125718125719125720125721125722125723125724125725125726125727125728125729125730125731125732125733125734125735125736125737125738125739125740125741125742125743125744125745125746125747125748125749125750125751125752125753125754125755125756125757125758125759125760125761125762125763125764125765125766125767125768125769125770125771125772125773125774125775125776125777125778125779125780125781125782125783125784125785125786125787125788125789125790125791125792125793125794125795125796125797125798125799125800125801125802125803125804125805125806125807125808125809125810125811125812125813125814125815125816125817125818125819125820125821125822125823125824125825125826125827125828125829125830125831125832125833125834125835125836125837125838125839125840125841125842125843125844125845125846125847125848125849125850125851125852125853125854125855125856125857125858125859125860125861125862125863125864125865125866125867125868125869125870125871125872125873125874125875125876125877125878125879125880125881125882125883125884125885125886125887125888125889125890125891125892125893125894125895125896125897125898125899125900125901125902125903125904125905125906125907125908125909125910125911125912125913125914125915125916125917125918125919125920125921125922125923125924125925125926125927125928125929125930125931125932125933125934125935125936125937125938125939125940125941125942125943125944125945125946125947125948125949125950125951125952125953125954125955125956125957125958125959125960125961125962125963125964125965125966125967125968125969125970125971125972125973125974125975125976125977125978125979125980125981125982125983125984125985125986125987125988125989125990125991125992125993125994125995125996125997125998125999126000126001126002126003126004126005126006126007126008126009126010126011126012126013126014126015126016126017126018126019126020126021126022126023126024126025126026126027126028126029126030126031126032126033126034126035126036126037126038126039126040126041126042126043126044126045126046126047126048126049126050126051126052126053126054126055126056126057126058126059126060126061126062126063126064126065126066126067126068126069126070126071126072126073126074126075126076126077126078126079126080126081126082126083126084126085126086126087126088126089126090126091126092126093126094126095126096126097126098126099126100126101126102126103126104126105126106126107126108126109126110126111126112126113126114126115126116126117126118126119126120126121126122126123126124126125126126126127126128126129126130126131126132126133126134126135126136126137126138126139126140126141126142126143126144126145126146126147126148126149126150126151126152126153126154126155126156126157126158126159126160126161126162126163126164126165126166126167126168126169126170126171126172126173126174126175126176126177126178126179126180126181126182126183126184126185126186126187126188126189126190126191126192126193126194126195126196126197126198126199126200126201126202126203126204126205126206126207126208126209126210126211126212126213126214126215126216126217126218126219126220126221126222126223126224126225126226126227126228126229126230126231126232126233126234126235126236126237126238126239126240126241126242126243126244126245126246126247126248126249126250126251126252126253126254126255126256126257126258126259126260126261126262126263126264126265126266126267126268126269126270126271126272126273126274126275126276126277126278126279126280126281126282126283126284126285126286126287126288126289126290126291126292126293126294126295126296126297126298126299126300126301126302126303126304126305126306126307126308126309126310126311126312126313126314126315126316126317126318126319126320126321126322126323126324126325126326126327126328126329126330126331126332126333126334126335126336126337126338126339126340126341126342126343126344126345126346126347126348126349126350126351126352126353126354126355126356126357126358126359126360126361126362126363126364126365126366126367126368126369126370126371126372126373126374126375126376126377126378126379126380126381126382126383126384126385126386126387126388126389126390126391126392126393126394126395126396126397126398126399126400126401126402126403126404126405126406126407126408126409126410126411126412126413126414126415126416126417126418126419126420126421126422126423126424126425126426126427126428126429126430126431126432126433126434126435126436126437126438126439126440126441126442126443126444126445126446126447126448126449126450126451126452126453126454126455126456126457126458126459126460126461126462126463126464126465126466126467126468126469126470126471126472126473126474126475126476126477126478126479126480126481126482126483126484126485126486126487126488126489126490126491126492126493126494126495126496126497126498126499126500126501126502126503126504126505126506126507126508126509126510126511126512126513126514126515126516126517126518126519126520126521126522126523126524126525126526126527126528126529126530126531126532126533126534126535126536126537126538126539126540126541126542126543126544126545126546126547126548126549126550126551126552126553126554126555126556126557126558126559126560126561126562126563126564126565126566126567126568126569126570126571126572126573126574126575126576126577126578126579126580126581126582126583126584126585126586126587126588126589126590126591126592126593126594126595126596126597126598126599126600126601126602126603126604126605126606126607126608126609126610126611126612126613126614126615126616126617126618126619126620126621126622126623126624126625126626126627126628126629126630126631126632126633126634126635126636126637126638126639126640126641126642126643126644126645126646126647126648126649126650126651126652126653126654126655126656126657126658126659126660126661126662126663126664126665126666126667126668126669126670126671126672126673126674126675126676126677126678126679126680126681126682126683126684126685126686126687126688126689126690126691126692126693126694126695126696126697126698126699126700126701126702126703126704126705126706126707126708126709126710126711126712126713126714126715126716126717126718126719126720126721126722126723126724126725126726126727126728126729126730126731126732126733126734126735126736126737126738126739126740126741126742126743126744126745126746126747126748126749126750126751126752126753126754126755126756126757126758126759126760126761126762126763126764126765126766126767126768126769126770126771126772126773126774126775126776126777126778126779126780126781126782126783126784126785126786126787126788126789126790126791126792126793126794126795126796126797126798126799126800126801126802126803126804126805126806126807126808126809126810126811126812126813126814126815126816126817126818126819126820126821126822126823126824126825126826126827126828126829126830126831126832126833126834126835126836126837126838126839126840126841126842126843126844126845126846126847126848126849126850126851126852126853126854126855126856126857126858126859126860126861126862126863126864126865126866126867126868126869126870126871126872126873126874126875126876126877126878126879126880126881126882126883126884126885126886126887126888126889126890126891126892126893126894126895126896126897126898126899126900126901126902126903126904126905126906126907126908126909126910126911126912126913126914126915126916126917126918126919126920126921126922126923126924126925126926126927126928126929126930126931126932126933126934126935126936126937126938126939126940126941126942126943126944126945126946126947126948126949126950126951126952126953126954126955126956126957126958126959126960126961126962126963126964126965126966126967126968126969126970126971126972126973126974126975126976126977126978126979126980126981126982126983126984126985126986126987126988126989126990126991126992126993126994126995126996126997126998126999127000127001127002127003127004127005127006127007127008127009127010127011127012127013127014127015127016127017127018127019127020127021127022127023127024127025127026127027127028127029127030127031127032127033127034127035127036127037127038127039127040127041127042127043127044127045127046127047127048127049127050127051127052127053127054127055127056127057127058127059127060127061127062127063127064127065127066127067127068127069127070127071127072127073127074127075127076127077127078127079127080127081127082127083127084127085127086127087127088127089127090127091127092127093127094127095127096127097127098127099127100127101127102127103127104127105127106127107127108127109127110127111127112127113127114127115127116127117127118127119127120127121127122127123127124127125127126127127127128127129127130127131127132127133127134127135127136127137127138127139127140127141127142127143127144127145127146127147127148127149127150127151127152127153127154127155127156127157127158127159127160127161127162127163127164127165127166127167127168127169127170127171127172127173127174127175127176127177127178127179127180127181127182127183127184127185127186127187127188127189127190127191127192127193127194127195127196127197127198127199127200127201127202127203127204127205127206127207127208127209127210127211127212127213127214127215127216127217127218127219127220127221127222127223127224127225127226127227127228127229127230127231127232127233127234127235127236127237127238127239127240127241127242127243127244127245127246127247127248127249127250127251127252127253127254127255127256127257127258127259127260127261127262127263127264127265127266127267127268127269127270127271127272127273127274127275127276127277127278127279127280127281127282127283127284127285127286127287127288127289127290127291127292127293127294127295127296127297127298127299127300127301127302127303127304127305127306127307127308127309127310127311127312127313127314127315127316127317127318127319127320127321127322127323127324127325127326127327127328127329127330127331127332127333127334127335127336127337127338127339127340127341127342127343127344127345127346127347127348127349127350127351127352127353127354127355127356127357127358127359127360127361127362127363127364127365127366127367127368127369127370127371127372127373127374127375127376127377127378127379127380127381127382127383127384127385127386127387127388127389127390127391127392127393127394127395127396127397127398127399127400127401127402127403127404127405127406127407127408127409127410127411127412127413127414127415127416127417127418127419127420127421127422127423127424127425127426127427127428127429127430127431127432127433127434127435127436127437127438127439127440127441127442127443127444127445127446127447127448127449127450127451127452127453127454127455127456127457127458127459127460127461127462127463127464127465127466127467127468127469127470127471127472127473127474127475127476127477127478127479127480127481127482127483127484127485127486127487127488127489127490127491127492127493127494127495127496127497127498127499127500127501127502127503127504127505127506127507127508127509127510127511127512127513127514127515127516127517127518127519127520127521127522127523127524127525127526127527127528127529127530127531127532127533127534127535127536127537127538127539127540127541127542127543127544127545127546127547127548127549127550127551127552127553127554127555127556127557127558127559127560127561127562127563127564127565127566127567127568127569127570127571127572127573127574127575127576127577127578127579127580127581127582127583127584127585127586127587127588127589127590127591127592127593127594127595127596127597127598127599127600127601127602127603127604127605127606127607127608127609127610127611127612127613127614127615127616127617127618127619127620127621127622127623127624127625127626127627127628127629127630127631127632127633127634127635127636127637127638127639127640127641127642127643127644127645127646127647127648127649127650127651127652127653127654127655127656127657127658127659127660127661127662127663127664127665127666127667127668127669127670127671127672127673127674127675127676127677127678127679127680127681127682127683127684127685127686127687127688127689127690127691127692127693127694127695127696127697127698127699127700127701127702127703127704127705127706127707127708127709127710127711127712127713127714127715127716127717127718127719127720127721127722127723127724127725127726127727127728127729127730127731127732127733127734127735127736127737127738127739127740127741127742127743127744127745127746127747127748127749127750127751127752127753127754127755127756127757127758127759127760127761127762127763127764127765127766127767127768127769127770127771127772127773127774127775127776127777127778127779127780127781127782127783127784127785127786127787127788127789127790127791127792127793127794127795127796127797127798127799127800127801127802127803127804127805127806127807127808127809127810127811127812127813127814127815127816127817127818127819127820127821127822127823127824127825127826127827127828127829127830127831127832127833127834127835127836127837127838127839127840127841127842127843127844127845127846127847127848127849127850127851127852127853127854127855127856127857127858127859127860127861127862127863127864127865127866127867127868127869127870127871127872127873127874127875127876127877127878127879127880127881127882127883127884127885127886127887127888127889127890127891127892127893127894127895127896127897127898127899127900127901127902127903127904127905127906127907127908127909127910127911127912127913127914127915127916127917127918127919127920127921127922127923127924127925127926127927127928127929127930127931127932127933127934127935127936127937127938127939127940127941127942127943127944127945127946127947127948127949127950127951127952127953127954127955127956127957127958127959127960127961127962127963127964127965127966127967127968127969127970127971127972127973127974127975127976127977127978127979127980127981127982127983127984127985127986127987127988127989127990127991127992127993127994127995127996127997127998127999128000128001128002128003128004128005128006128007128008128009128010128011128012128013128014128015128016128017128018128019128020128021128022128023128024128025128026128027128028128029128030128031128032128033128034128035128036128037128038128039128040128041128042128043128044128045128046128047128048128049128050128051128052128053128054128055128056128057128058128059128060128061128062128063128064128065128066128067128068128069128070128071128072128073128074128075128076128077128078128079128080128081128082128083128084128085128086128087128088128089128090128091128092128093128094128095128096128097128098128099128100128101128102128103128104128105128106128107128108128109128110128111128112128113128114128115128116128117128118128119128120128121128122128123128124128125128126128127128128128129128130128131128132128133128134128135128136128137128138128139128140128141128142128143128144128145128146128147128148128149128150128151128152128153128154128155128156128157128158128159128160128161128162128163128164128165128166128167128168128169128170128171128172128173128174128175128176128177128178128179128180128181128182128183128184128185128186128187128188128189128190128191128192128193128194128195128196128197128198128199128200128201128202128203128204128205128206128207128208128209128210128211128212128213128214128215128216128217128218128219128220128221128222128223128224128225128226128227128228128229128230128231128232128233128234128235128236128237128238128239128240128241128242128243128244128245128246128247128248128249128250128251128252128253128254128255128256128257128258128259128260128261128262128263128264128265128266128267128268128269128270128271128272128273128274128275128276128277128278128279128280128281128282128283128284128285128286128287128288128289128290128291128292128293128294128295128296128297128298128299128300128301128302128303128304128305128306128307128308128309128310128311128312128313128314128315128316128317128318128319128320128321128322128323128324128325128326128327128328128329128330128331128332128333128334128335128336128337128338128339128340128341128342128343128344128345128346128347128348128349128350128351128352128353128354128355128356128357128358128359128360128361128362128363128364128365128366128367128368128369128370128371128372128373128374128375128376128377128378128379128380128381128382128383128384128385128386128387128388128389128390128391128392128393128394128395128396128397128398128399128400128401128402128403128404128405128406128407128408128409128410128411128412128413128414128415128416128417128418128419128420128421128422128423128424128425128426128427128428128429128430128431128432128433128434128435128436128437128438128439128440128441128442128443128444128445128446128447128448128449128450128451128452128453128454128455128456128457128458128459128460128461128462128463128464128465128466128467128468128469128470128471128472128473128474128475128476128477128478128479128480128481128482128483128484128485128486128487128488128489128490128491128492128493128494128495128496128497128498128499128500128501128502128503128504128505128506128507128508128509128510128511128512128513128514128515128516128517128518128519128520128521128522128523128524128525128526128527128528128529128530128531128532128533128534128535128536128537128538128539128540128541128542128543128544128545128546128547128548128549128550128551128552128553128554128555128556128557128558128559128560128561128562128563128564128565128566128567128568128569128570128571128572128573128574128575128576128577128578128579128580128581128582128583128584128585128586128587128588128589128590128591128592128593128594128595128596128597128598128599128600128601128602128603128604128605128606128607128608128609128610128611128612128613128614128615128616128617128618128619128620128621128622128623128624128625128626128627128628128629128630128631128632128633128634128635128636128637128638128639128640128641128642128643128644128645128646128647128648128649128650128651128652128653128654128655128656128657128658128659128660128661128662128663128664128665128666128667128668128669128670128671128672128673128674128675128676128677128678128679128680128681128682128683128684128685128686128687128688128689128690128691128692128693128694128695128696128697128698128699128700128701128702128703128704128705128706128707128708128709128710128711128712128713128714128715128716128717128718128719128720128721128722128723128724128725128726128727128728128729128730128731128732128733128734128735128736128737128738128739128740128741128742128743128744128745128746128747128748128749128750128751128752128753128754128755128756128757128758128759128760128761128762128763128764128765128766128767128768128769128770128771128772128773128774128775128776128777128778128779128780128781128782128783128784128785128786128787128788128789128790128791128792128793128794128795128796128797128798128799128800128801128802128803128804128805128806128807128808128809128810128811128812128813128814128815128816128817128818128819128820128821128822128823128824128825128826128827128828128829128830128831128832128833128834128835128836128837128838128839128840128841128842128843128844128845128846128847128848128849128850128851128852128853128854128855128856128857128858128859128860128861128862128863128864128865128866128867128868128869128870128871128872128873128874128875128876128877128878128879128880128881128882128883128884128885128886128887128888128889128890128891128892128893128894128895128896128897128898128899128900128901128902128903128904128905128906128907128908128909128910128911128912128913128914128915128916128917128918128919128920128921128922128923128924128925128926128927128928128929128930128931128932128933128934128935128936128937128938128939128940128941128942128943128944128945128946128947128948128949128950128951128952128953128954128955128956128957128958128959128960128961128962128963128964128965128966128967128968128969128970128971128972128973128974128975128976128977128978128979128980128981128982128983128984128985128986128987128988128989128990128991128992128993128994128995128996128997128998128999129000129001129002129003129004129005129006129007129008129009129010129011129012129013129014129015129016129017129018129019129020129021129022129023129024129025129026129027129028129029129030129031129032129033129034129035129036129037129038129039129040129041129042129043129044129045129046129047129048129049129050129051129052129053129054129055129056129057129058129059129060129061129062129063129064129065129066129067129068129069129070129071129072129073129074129075129076129077129078129079129080129081129082129083129084129085129086129087129088129089129090129091129092129093129094129095129096129097129098129099129100129101129102129103129104129105129106129107129108129109129110129111129112129113129114129115129116129117129118129119129120129121129122129123129124129125129126129127129128129129129130129131129132129133129134129135129136129137129138129139129140129141129142129143129144129145129146129147129148129149129150129151129152129153129154129155129156129157129158129159129160129161129162129163129164129165129166129167129168129169129170129171129172129173129174129175129176129177129178129179129180129181129182129183129184129185129186129187129188129189129190129191129192129193129194129195129196129197129198129199129200129201129202129203129204129205129206129207129208129209129210129211129212129213129214129215129216129217129218129219129220129221129222129223129224129225129226129227129228129229129230129231129232129233129234129235129236129237129238129239129240129241129242129243129244129245129246129247129248129249129250129251129252129253129254129255129256129257129258129259129260129261129262129263129264129265129266129267129268129269129270129271129272129273129274129275129276129277129278129279129280129281129282129283129284129285129286129287129288129289129290129291129292129293129294129295129296129297129298129299129300129301129302129303129304129305129306129307129308129309129310129311129312129313129314129315129316129317129318129319129320129321129322129323129324129325129326129327129328129329129330129331129332129333129334129335129336129337129338129339129340129341129342129343129344129345129346129347129348129349129350129351129352129353129354129355129356129357129358129359129360129361129362129363129364129365129366129367129368129369129370129371129372129373129374129375129376129377129378129379129380129381129382129383129384129385129386129387129388129389129390129391129392129393129394129395129396129397129398129399129400129401129402129403129404129405129406129407129408129409129410129411129412129413129414129415129416129417129418129419129420129421129422129423129424129425129426129427129428129429129430129431129432129433129434129435129436129437129438129439129440129441129442129443129444129445129446129447129448129449129450129451129452129453129454129455129456129457129458129459129460129461129462129463129464129465129466129467129468129469129470129471129472129473129474129475129476129477129478129479129480129481129482129483129484129485129486129487129488129489129490129491129492129493129494129495129496129497129498129499129500129501129502129503129504129505129506129507129508129509129510129511129512129513129514129515129516129517129518129519129520129521129522129523129524129525129526129527129528129529129530129531129532129533129534129535129536129537129538129539129540129541129542129543129544129545129546129547129548129549129550129551129552129553129554129555129556129557129558129559129560129561129562129563129564129565129566129567129568129569129570129571129572129573129574129575129576129577129578129579129580129581129582129583129584129585129586129587129588129589129590129591129592129593129594129595129596129597129598129599129600129601129602129603129604129605129606129607129608129609129610129611129612129613129614129615129616129617129618129619129620129621129622129623129624129625129626129627129628129629129630129631129632129633129634129635129636129637129638129639129640129641129642129643129644129645129646129647129648129649129650129651129652129653129654129655129656129657129658129659129660129661129662129663129664129665129666129667129668129669129670129671129672129673129674129675129676129677129678129679129680129681129682129683129684129685129686129687129688129689129690129691129692129693129694129695129696129697129698129699129700129701129702129703129704129705129706129707129708129709129710129711129712129713129714129715129716129717129718129719129720129721129722129723129724129725129726129727129728129729129730129731129732129733129734129735129736129737129738129739129740129741129742129743129744129745129746129747129748129749129750129751129752129753129754129755129756129757129758129759129760129761129762129763129764129765129766129767129768129769129770129771129772129773129774129775129776129777129778129779129780129781129782129783129784129785129786129787129788129789129790129791129792129793129794129795129796129797129798129799129800129801129802129803129804129805129806129807129808129809129810129811129812129813129814129815129816129817129818129819129820129821129822129823129824129825129826129827129828129829129830129831129832129833129834129835129836129837129838129839129840129841129842129843129844129845129846129847129848129849129850129851129852129853129854129855129856129857129858129859129860129861129862129863129864129865129866129867129868129869129870129871129872129873129874129875129876129877129878129879129880129881129882129883129884129885129886129887129888129889129890129891129892129893129894129895129896129897129898129899129900129901129902129903129904129905129906129907129908129909129910129911129912129913129914129915129916129917129918129919129920129921129922129923129924129925129926129927129928129929129930129931129932129933129934129935129936129937129938129939129940129941129942129943129944129945129946129947129948129949129950129951129952129953129954129955129956129957129958129959129960129961129962129963129964129965129966129967129968129969129970129971129972129973129974129975129976129977129978129979129980129981129982129983129984129985129986129987129988129989129990129991129992129993129994129995129996129997129998129999130000130001130002130003130004130005130006130007130008130009130010130011130012130013130014130015130016130017130018130019130020130021130022130023130024130025130026130027130028130029130030130031130032130033130034130035130036130037130038130039130040130041130042130043130044130045130046130047130048130049130050130051130052130053130054130055130056130057130058130059130060130061130062130063130064130065130066130067130068130069130070130071130072130073130074130075130076130077130078130079130080130081130082130083130084130085130086130087130088130089130090130091130092130093130094130095130096130097130098130099130100130101130102130103130104130105130106130107130108130109130110130111130112130113130114130115130116130117130118130119130120130121130122130123130124130125130126130127130128130129130130130131130132130133130134130135130136130137130138130139130140130141130142130143130144130145130146130147130148130149130150130151130152130153130154130155130156130157130158130159130160130161130162130163130164130165130166130167130168130169130170130171130172130173130174130175130176130177130178130179130180130181130182130183130184130185130186130187130188130189130190130191130192130193130194130195130196130197130198130199130200130201130202130203130204130205130206130207130208130209130210130211130212130213130214130215130216130217130218130219130220130221130222130223130224130225130226130227130228130229130230130231130232130233130234130235130236130237130238130239130240130241130242130243130244130245130246130247130248130249130250130251130252130253130254130255130256130257130258130259130260130261130262130263130264130265130266130267130268130269130270130271130272130273130274130275130276130277130278130279130280130281130282130283130284130285130286130287130288130289130290130291130292130293130294130295130296130297130298130299130300130301130302130303130304130305130306130307130308130309130310130311130312130313130314130315130316130317130318130319130320130321130322130323130324130325130326130327130328130329130330130331130332130333130334130335130336130337130338130339130340130341130342130343130344130345130346130347130348130349130350130351130352130353130354130355130356130357130358130359130360130361130362130363130364130365130366130367130368130369130370130371130372130373130374130375130376130377130378130379130380130381130382130383130384130385130386130387130388130389130390130391130392130393130394130395130396130397130398130399130400130401130402130403130404130405130406130407130408130409130410130411130412130413130414130415130416130417130418130419130420130421130422130423130424130425130426130427130428130429130430130431130432130433130434130435130436130437130438130439130440130441130442130443130444130445130446130447130448130449130450130451130452130453130454130455130456130457130458130459130460130461130462130463130464130465130466130467130468130469130470130471130472130473130474130475130476130477130478130479130480130481130482130483130484130485130486130487130488130489130490130491130492130493130494130495130496130497130498130499130500130501130502130503130504130505130506130507130508130509130510130511130512130513130514130515130516130517130518130519130520130521130522130523130524130525130526130527130528130529130530130531130532130533130534130535130536130537130538130539130540130541130542130543130544130545130546130547130548130549130550130551130552130553130554130555130556130557130558130559130560130561130562130563130564130565130566130567130568130569130570130571130572130573130574130575130576130577130578130579130580130581130582130583130584130585130586130587130588130589130590130591130592130593130594130595130596130597130598130599130600130601130602130603130604130605130606130607130608130609130610130611130612130613130614130615130616130617130618130619130620130621130622130623130624130625130626130627130628130629130630130631130632130633130634130635130636130637130638130639130640130641130642130643130644130645130646130647130648130649130650130651130652130653130654130655130656130657130658130659130660130661130662130663130664130665130666130667130668130669130670130671130672130673130674130675130676130677130678130679130680130681130682130683130684130685130686130687130688130689130690130691130692130693130694130695130696130697130698130699130700130701130702130703130704130705130706130707130708130709130710130711130712130713130714130715130716130717130718130719130720130721130722130723130724130725130726130727130728130729130730130731130732130733130734130735130736130737130738130739130740130741130742130743130744130745130746130747130748130749130750130751130752130753130754130755130756130757130758130759130760130761130762130763130764130765130766130767130768130769130770130771130772130773130774130775130776130777130778130779130780130781130782130783130784130785130786130787130788130789130790130791130792130793130794130795130796130797130798130799130800130801130802130803130804130805130806130807130808130809130810130811130812130813130814130815130816130817130818130819130820130821130822130823130824130825130826130827130828130829130830130831130832130833130834130835130836130837130838130839130840130841130842130843130844130845130846130847130848130849130850130851130852130853130854130855130856130857130858130859130860130861130862130863130864130865130866130867130868130869130870130871130872130873130874130875130876130877130878130879130880130881130882130883130884130885130886130887130888130889130890130891130892130893130894130895130896130897130898130899130900130901130902130903130904130905130906130907130908130909130910130911130912130913130914130915130916130917130918130919130920130921130922130923130924130925130926130927130928130929130930130931130932130933130934130935130936130937130938130939130940130941130942130943130944130945130946130947130948130949130950130951130952130953130954130955130956130957130958130959130960130961130962130963130964130965130966130967130968130969130970130971130972130973130974130975130976130977130978130979130980130981130982130983130984130985130986130987130988130989130990130991130992130993130994130995130996130997130998130999131000131001131002131003131004131005131006131007131008131009131010131011131012131013131014131015131016131017131018131019131020131021131022131023131024131025131026131027131028131029131030131031131032131033131034131035131036131037131038131039131040131041131042131043131044131045131046131047131048131049131050131051131052131053131054131055131056131057131058131059131060131061131062131063131064131065131066131067131068131069131070131071131072131073131074131075131076131077131078131079131080131081131082131083131084131085131086131087131088131089131090131091131092131093131094131095131096131097131098131099131100131101131102131103131104131105131106131107131108131109131110131111131112131113131114131115131116131117131118131119131120131121131122131123131124131125131126131127131128131129131130131131131132131133131134131135131136131137131138131139131140131141131142131143131144131145131146131147131148131149131150131151131152131153131154131155131156131157131158131159131160131161131162131163131164131165131166131167131168131169131170131171131172131173131174131175131176131177131178131179131180131181131182131183131184131185131186131187131188131189131190131191131192131193131194131195131196131197131198131199131200131201131202131203131204131205131206131207131208131209131210131211131212131213131214131215131216131217131218131219131220131221131222131223131224131225131226131227131228131229131230131231131232131233131234131235131236131237131238131239131240131241131242131243131244131245131246131247131248131249131250131251131252131253131254131255131256131257131258131259131260131261131262131263131264131265131266131267131268131269131270131271131272131273131274131275131276131277131278131279131280131281131282131283131284131285131286131287131288131289131290131291131292131293131294131295131296131297131298131299131300131301131302131303131304131305131306131307131308131309131310131311131312131313131314131315131316131317131318131319131320131321131322131323131324131325131326131327131328131329131330131331131332131333131334131335131336131337131338131339131340131341131342131343131344131345131346131347131348131349131350131351131352131353131354131355131356131357131358131359131360131361131362131363131364131365131366131367131368131369131370131371131372131373131374131375131376131377131378131379131380131381131382131383131384131385131386131387131388131389131390131391131392131393131394131395131396131397131398131399131400131401131402131403131404131405131406131407131408131409131410131411131412131413131414131415131416131417131418131419131420131421131422131423131424131425131426131427131428131429131430131431131432131433131434131435131436131437131438131439131440131441131442131443131444131445131446131447131448131449131450131451131452131453131454131455131456131457131458131459131460131461131462131463131464131465131466131467131468131469131470131471131472131473131474131475131476131477131478131479131480131481131482131483131484131485131486131487131488131489131490131491131492131493131494131495131496131497131498131499131500131501131502131503131504131505131506131507131508131509131510131511131512131513131514131515131516131517131518131519131520131521131522131523131524131525131526131527131528131529131530131531131532131533131534131535131536131537131538131539131540131541131542131543131544131545131546131547131548131549131550131551131552131553131554131555131556131557131558131559131560131561131562131563131564131565131566131567131568131569131570131571131572131573131574131575131576131577131578131579131580131581131582131583131584131585131586131587131588131589131590131591131592131593131594131595131596131597131598131599131600131601131602131603131604131605131606131607131608131609131610131611131612131613131614131615131616131617131618131619131620131621131622131623131624131625131626131627131628131629131630131631131632131633131634131635131636131637131638131639131640131641131642131643131644131645131646131647131648131649131650131651131652131653131654131655131656131657131658131659131660131661131662131663131664131665131666131667131668131669131670131671131672131673131674131675131676131677131678131679131680131681131682131683131684131685131686131687131688131689131690131691131692131693131694131695131696131697131698131699131700131701131702131703131704131705131706131707131708131709131710131711131712131713131714131715131716131717131718131719131720131721131722131723131724131725131726131727131728131729131730131731131732131733131734131735131736131737131738131739131740131741131742131743131744131745131746131747131748131749131750131751131752131753131754131755131756131757131758131759131760131761131762131763131764131765131766131767131768131769131770131771131772131773131774131775131776131777131778131779131780131781131782131783131784131785131786131787131788131789131790131791131792131793131794131795131796131797131798131799131800131801131802131803131804131805131806131807131808131809131810131811131812131813131814131815131816131817131818131819131820131821131822131823131824131825131826131827131828131829131830131831131832131833131834131835131836131837131838131839131840131841131842131843131844131845131846131847131848131849131850131851131852131853131854131855131856131857131858131859131860131861131862131863131864131865131866131867131868131869131870131871131872131873131874131875131876131877131878131879131880131881131882131883131884131885131886131887131888131889131890131891131892131893131894131895131896131897131898131899131900131901131902131903131904131905131906131907131908131909131910131911131912131913131914131915131916131917131918131919131920131921131922131923131924131925131926131927131928131929131930131931131932131933131934131935131936131937131938131939131940131941131942131943131944131945131946131947131948131949131950131951131952131953131954131955131956131957131958131959131960131961131962131963131964131965131966131967131968131969131970131971131972131973131974131975131976131977131978131979131980131981131982131983131984131985131986131987131988131989131990131991131992131993131994131995131996131997131998131999132000132001132002132003132004132005132006132007132008132009132010132011132012132013132014132015132016132017132018132019132020132021132022132023132024132025132026132027132028132029132030132031132032132033132034132035132036132037132038132039132040132041132042132043132044132045132046132047132048132049132050132051132052132053132054132055132056132057132058132059132060132061132062132063132064132065132066132067132068132069132070132071132072132073132074132075132076132077132078132079132080132081132082132083132084132085132086132087132088132089132090132091132092132093132094132095132096132097132098132099132100132101132102132103132104132105132106132107132108132109132110132111132112132113132114132115132116132117132118132119132120132121132122132123132124132125132126132127132128132129132130132131132132132133132134132135132136132137132138132139132140132141132142132143132144132145132146132147132148132149132150132151132152132153132154132155132156132157132158132159132160132161132162132163132164132165132166132167132168132169132170132171132172132173132174132175132176132177132178132179132180132181132182132183132184132185132186132187132188132189132190132191132192132193132194132195132196132197132198132199132200132201132202132203132204132205132206132207132208132209132210132211132212132213132214132215132216132217132218132219132220132221132222132223132224132225132226132227132228132229132230132231132232132233132234132235132236132237132238132239132240132241132242132243132244132245132246132247132248132249132250132251132252132253132254132255132256132257132258132259132260132261132262132263132264132265132266132267132268132269132270132271132272132273132274132275132276132277132278132279132280132281132282132283132284132285132286132287132288132289132290132291132292132293132294132295132296132297132298132299132300132301132302132303132304132305132306132307132308132309132310132311132312132313132314132315132316132317132318132319132320132321132322132323132324132325132326132327132328132329132330132331132332132333132334132335132336132337132338132339132340132341132342132343132344132345132346132347132348132349132350132351132352132353132354132355132356132357132358132359132360132361132362132363132364132365132366132367132368132369132370132371132372132373132374132375132376132377132378132379132380132381132382132383132384132385132386132387132388132389132390132391132392132393132394132395132396132397132398132399132400132401132402132403132404132405132406132407132408132409132410132411132412132413132414132415132416132417132418132419132420132421132422132423132424132425132426132427132428132429132430132431132432132433132434132435132436132437132438132439132440132441132442132443132444132445132446132447132448132449132450132451132452132453132454132455132456132457132458132459132460132461132462132463132464132465132466132467132468132469132470132471132472132473132474132475132476132477132478132479132480132481132482132483132484132485132486132487132488132489132490132491132492132493132494132495132496132497132498132499132500132501132502132503132504132505132506132507132508132509132510132511132512132513132514132515132516132517132518132519132520132521132522132523132524132525132526132527132528132529132530132531132532132533132534132535132536132537132538132539132540132541132542132543132544132545132546132547132548132549132550132551132552132553132554132555132556132557132558132559132560132561132562132563132564132565132566132567132568132569132570132571132572132573132574132575132576132577132578132579132580132581132582132583132584132585132586132587132588132589132590132591132592132593132594132595132596132597132598132599132600132601132602132603132604132605132606132607132608132609132610132611132612132613132614132615132616132617132618132619132620132621132622132623132624132625132626132627132628132629132630132631132632132633132634132635132636132637132638132639132640132641132642132643132644132645132646132647132648132649132650132651132652132653132654132655132656132657132658132659132660132661132662132663132664132665132666132667132668132669132670132671132672132673132674132675132676132677132678132679132680132681132682132683132684132685132686132687132688132689132690132691132692132693132694132695132696132697132698132699132700132701132702132703132704132705132706132707132708132709132710132711132712132713132714132715132716132717132718132719132720132721132722132723132724132725132726132727132728132729132730132731132732132733132734132735132736132737132738132739132740132741132742132743132744132745132746132747132748132749132750132751132752132753132754132755132756132757132758132759132760132761132762132763132764132765132766132767132768132769132770132771132772132773132774132775132776132777132778132779132780132781132782132783132784132785132786132787132788132789132790132791132792132793132794132795132796132797132798132799132800132801132802132803132804132805132806132807132808132809132810132811132812132813132814132815132816132817132818132819132820132821132822132823132824132825132826132827132828132829132830132831132832132833132834132835132836132837132838132839132840132841132842132843132844132845132846132847132848132849132850132851132852132853132854132855132856132857132858132859132860132861132862132863132864132865132866132867132868132869132870132871132872132873132874132875132876132877132878132879132880132881132882132883132884132885132886132887132888132889132890132891132892132893132894132895132896132897132898132899132900132901132902132903132904132905132906132907132908132909132910132911132912132913132914132915132916132917132918132919132920132921132922132923132924132925132926132927132928132929132930132931132932132933132934132935132936132937132938132939132940132941132942132943132944132945132946132947132948132949132950132951132952132953132954132955132956132957132958132959132960132961132962132963132964132965132966132967132968132969132970132971132972132973132974132975132976132977132978132979132980132981132982132983132984132985132986132987132988132989132990132991132992132993132994132995132996132997132998132999133000133001133002133003133004133005133006133007133008133009133010133011133012133013133014133015133016133017133018133019133020133021133022133023133024133025133026133027133028133029133030133031133032133033133034133035133036133037133038133039133040133041133042133043133044133045133046133047133048133049133050133051133052133053133054133055133056133057133058133059133060133061133062133063133064133065133066133067133068133069133070133071133072133073133074133075133076133077133078133079133080133081133082133083133084133085133086133087133088133089133090133091133092133093133094133095133096133097133098133099133100133101133102133103133104133105133106133107133108133109133110133111133112133113133114133115133116133117133118133119133120133121133122133123133124133125133126133127133128133129133130133131133132133133133134133135133136133137133138133139133140133141133142133143133144133145133146133147133148133149133150133151133152133153133154133155133156133157133158133159133160133161133162133163133164133165133166133167133168133169133170133171133172133173133174133175133176133177133178133179133180133181133182133183133184133185133186133187133188133189133190133191133192133193133194133195133196133197133198133199133200133201133202133203133204133205133206133207133208133209133210133211133212133213133214133215133216133217133218133219133220133221133222133223133224133225133226133227133228133229133230133231133232133233133234133235133236133237133238133239133240133241133242133243133244133245133246133247133248133249133250133251133252133253133254133255133256133257133258133259133260133261133262133263133264133265133266133267133268133269133270133271133272133273133274133275133276133277133278133279133280133281133282133283133284133285133286133287133288133289133290133291133292133293133294133295133296133297133298133299133300133301133302133303133304133305133306133307133308133309133310133311133312133313133314133315133316133317133318133319133320133321133322133323133324133325133326133327133328133329133330133331133332133333133334133335133336133337133338133339133340133341133342133343133344133345133346133347133348133349133350133351133352133353133354133355133356133357133358133359133360133361133362133363133364133365133366133367133368133369133370133371133372133373133374133375133376133377133378133379133380133381133382133383133384133385133386133387133388133389133390133391133392133393133394133395133396133397133398133399133400133401133402133403133404133405133406133407133408133409133410133411133412133413133414133415133416133417133418133419133420133421133422133423133424133425133426133427133428133429133430133431133432133433133434133435133436133437133438133439133440133441133442133443133444133445133446133447133448133449133450133451133452133453133454133455133456133457133458133459133460133461133462133463133464133465133466133467133468133469133470133471133472133473133474133475133476133477133478133479133480133481133482133483133484133485133486133487133488133489133490133491133492133493133494133495133496133497133498133499133500133501133502133503133504133505133506133507133508133509133510133511133512133513133514133515133516133517133518133519133520133521133522133523133524133525133526133527133528133529133530133531133532133533133534133535133536133537133538133539133540133541133542133543133544133545133546133547133548133549133550133551133552133553133554133555133556133557133558133559133560133561133562133563133564133565133566133567133568133569133570133571133572133573133574133575133576133577133578133579133580133581133582133583133584133585133586133587133588133589133590133591133592133593133594133595133596133597133598133599133600133601133602133603133604133605133606133607133608133609133610133611133612133613133614133615133616133617133618133619133620133621133622133623133624133625133626133627133628133629133630133631133632133633133634133635133636133637133638133639133640133641133642133643133644133645133646133647133648133649133650133651133652133653133654133655133656133657133658133659133660133661133662133663133664133665133666133667133668133669133670133671133672133673133674133675133676133677133678133679133680133681133682133683133684133685133686133687133688133689133690133691133692133693133694133695133696133697133698133699133700133701133702133703133704133705133706133707133708133709133710133711133712133713133714133715133716133717133718133719133720133721133722133723133724133725133726133727133728133729133730133731133732133733133734133735133736133737133738133739133740133741133742133743133744133745133746133747133748133749133750133751133752133753133754133755133756133757133758133759133760133761133762133763133764133765133766133767133768133769133770133771133772133773133774133775133776133777133778133779133780133781133782133783133784133785133786133787133788133789133790133791133792133793133794133795133796133797133798133799133800133801133802133803133804133805133806133807133808133809133810133811133812133813133814133815133816133817133818133819133820133821133822133823133824133825133826133827133828133829133830133831133832133833133834133835133836133837133838133839133840133841133842133843133844133845133846133847133848133849133850133851133852133853133854133855133856133857133858133859133860133861133862133863133864133865133866133867133868133869133870133871133872133873133874133875133876133877133878133879133880133881133882133883133884133885133886133887133888133889133890133891133892133893133894133895133896133897133898133899133900133901133902133903133904133905133906133907133908133909133910133911133912133913133914133915133916133917133918133919133920133921133922133923133924133925133926133927133928133929133930133931133932133933133934133935133936133937133938133939133940133941133942133943133944133945133946133947133948133949133950133951133952133953133954133955133956133957133958133959133960133961133962133963133964133965133966133967133968133969133970133971133972133973133974133975133976133977133978133979133980133981133982133983133984133985133986133987133988133989133990133991133992133993133994133995133996133997133998133999134000134001134002134003134004134005134006134007134008134009134010134011134012134013134014134015134016134017134018134019134020134021134022134023134024134025134026134027134028134029134030134031134032134033134034134035134036134037134038134039134040134041134042134043134044134045134046134047134048134049134050134051134052134053134054134055134056134057134058134059134060134061134062134063134064134065134066134067134068134069134070134071134072134073134074134075134076134077134078134079134080134081134082134083134084134085134086134087134088134089134090134091134092134093134094134095134096134097134098134099134100134101134102134103134104134105134106134107134108134109134110134111134112134113134114134115134116134117134118134119134120134121134122134123134124134125134126134127134128134129134130134131134132134133134134134135134136134137134138134139134140134141134142134143134144134145134146134147134148134149134150134151134152134153134154134155134156134157134158134159134160134161134162134163134164134165134166134167134168134169134170134171134172134173134174134175134176134177134178134179134180134181134182134183134184134185134186134187134188134189134190134191134192134193134194134195134196134197134198134199134200134201134202134203134204134205134206134207134208134209134210134211134212134213134214134215134216134217134218134219134220134221134222134223134224134225134226134227134228134229134230134231134232134233134234134235134236134237134238134239134240134241134242134243134244134245134246134247134248134249134250134251134252134253134254134255134256134257134258134259134260134261134262134263134264134265134266134267134268134269134270134271134272134273134274134275134276134277134278134279134280134281134282134283134284134285134286134287134288134289134290134291134292134293134294134295134296134297134298134299134300134301134302134303134304134305134306134307134308134309134310134311134312134313134314134315134316134317134318134319134320134321134322134323134324134325134326134327134328134329134330134331134332134333134334134335134336134337134338134339134340134341134342134343134344134345134346134347134348134349134350134351134352134353134354134355134356134357134358134359134360134361134362134363134364134365134366134367134368134369134370134371134372134373134374134375134376134377134378134379134380134381134382134383134384134385134386134387134388134389134390134391134392134393134394134395134396134397134398134399134400134401134402134403134404134405134406134407134408134409134410134411134412134413134414134415134416134417134418134419134420134421134422134423134424134425134426134427134428134429134430134431134432134433134434134435134436134437134438134439134440134441134442134443134444134445134446134447134448134449134450134451134452134453134454134455134456134457134458134459134460134461134462134463134464134465134466134467134468134469134470134471134472134473134474134475134476134477134478134479134480134481134482134483134484134485134486134487134488134489134490134491134492134493134494134495134496134497134498134499134500134501134502134503134504134505134506134507134508134509134510134511134512134513134514134515134516134517134518134519134520134521134522134523134524134525134526134527134528134529134530134531134532134533134534134535134536134537134538134539134540134541134542134543134544134545134546134547134548134549134550134551134552134553134554134555134556134557134558134559134560134561134562134563134564134565134566134567134568134569134570134571134572134573134574134575134576134577134578134579134580134581134582134583134584134585134586134587134588134589134590134591134592134593134594134595134596134597134598134599134600134601134602134603134604134605134606134607134608134609134610134611134612134613134614134615134616134617134618134619134620134621134622134623134624134625134626134627134628134629134630134631134632134633134634134635134636134637134638134639134640134641134642134643134644134645134646134647134648134649134650134651134652134653134654134655134656134657134658134659134660134661134662134663134664134665134666134667134668134669134670134671134672134673134674134675134676134677134678134679134680134681134682134683134684134685134686134687134688134689134690134691134692134693134694134695134696134697134698134699134700134701134702134703134704134705134706134707134708134709134710134711134712134713134714134715134716134717134718134719134720134721134722134723134724134725134726134727134728134729134730134731134732134733134734134735134736134737134738134739134740134741134742134743134744134745134746134747134748134749134750134751134752134753134754134755134756134757134758134759134760134761134762134763134764134765134766134767134768134769134770134771134772134773134774134775134776134777134778134779134780134781134782134783134784134785134786134787134788134789134790134791134792134793134794134795134796134797134798134799134800134801134802134803134804134805134806134807134808134809134810134811134812134813134814134815134816134817134818134819134820134821134822134823134824134825134826134827134828134829134830134831134832134833134834134835134836134837134838134839134840134841134842134843134844134845134846134847134848134849134850134851134852134853134854134855134856134857134858134859134860134861134862134863134864134865134866134867134868134869134870134871134872134873134874134875134876134877134878134879134880134881134882134883134884134885134886134887134888134889134890134891134892134893134894134895134896134897134898134899134900134901134902134903134904134905134906134907134908134909134910134911134912134913134914134915134916134917134918134919134920134921134922134923134924134925134926134927134928134929134930134931134932134933134934134935134936134937134938134939134940134941134942134943134944134945134946134947134948134949134950134951134952134953134954134955134956134957134958134959134960134961134962134963134964134965134966134967134968134969134970134971134972134973134974134975134976134977134978134979134980134981134982134983134984134985134986134987134988134989134990134991134992134993134994134995134996134997134998134999135000135001135002135003135004135005135006135007135008135009135010135011135012135013135014135015135016135017135018135019135020135021135022135023135024135025135026135027135028135029135030135031135032135033135034135035135036135037135038135039135040135041135042135043135044135045135046135047135048135049135050135051135052135053135054135055135056135057135058135059135060135061135062135063135064135065135066135067135068135069135070135071135072135073135074135075135076135077135078135079135080135081135082135083135084135085135086135087135088135089135090135091135092135093135094135095135096135097135098135099135100135101135102135103135104135105135106135107135108135109135110135111135112135113135114135115135116135117135118135119135120135121135122135123135124135125135126135127135128135129135130135131135132135133135134135135135136135137135138135139135140135141135142135143135144135145135146135147135148135149135150135151135152135153135154135155135156135157135158135159135160135161135162135163135164135165135166135167135168135169135170135171135172135173135174135175135176135177135178135179135180135181135182135183135184135185135186135187135188135189135190135191135192135193135194135195135196135197135198135199135200135201135202135203135204135205135206135207135208135209135210135211135212135213135214135215135216135217135218135219135220135221135222135223135224135225135226135227135228135229135230135231135232135233135234135235135236135237135238135239135240135241135242135243135244135245135246135247135248135249135250135251135252135253135254135255135256135257135258135259135260135261135262135263135264135265135266135267135268135269135270135271135272135273135274135275135276135277135278135279135280135281135282135283135284135285135286135287135288135289135290135291135292135293135294135295135296135297135298135299135300135301135302135303135304135305135306135307135308135309135310135311135312135313135314135315135316135317135318135319135320135321135322135323135324135325135326135327135328135329135330135331135332135333135334135335135336135337135338135339135340135341135342135343135344135345135346135347135348135349135350135351135352135353135354135355135356135357135358135359135360135361135362135363135364135365135366135367135368135369135370135371135372135373135374135375135376135377135378135379135380135381135382135383135384135385135386135387135388135389135390135391135392135393135394135395135396135397135398135399135400135401135402135403135404135405135406135407135408135409135410135411135412135413135414135415135416135417135418135419135420135421135422135423135424135425135426135427135428135429135430135431135432135433135434135435135436135437135438135439135440135441135442135443135444135445135446135447135448135449135450135451135452135453135454135455135456135457135458135459135460135461135462135463135464135465135466135467135468135469135470135471135472135473135474135475135476135477135478135479135480135481135482135483135484135485135486135487135488135489135490135491135492135493135494135495135496135497135498135499135500135501135502135503135504135505135506135507135508135509135510135511135512135513135514135515135516135517135518135519135520135521135522135523135524135525135526135527135528135529135530135531135532135533135534135535135536135537135538135539135540135541135542135543135544135545135546135547135548135549135550135551135552135553135554135555135556135557135558135559135560135561135562135563135564135565135566135567135568135569135570135571135572135573135574135575135576135577135578135579135580135581135582135583135584135585135586135587135588135589135590135591135592135593135594135595135596135597135598135599135600135601135602135603135604135605135606135607135608135609135610135611135612135613135614135615135616135617135618135619135620135621135622135623135624135625135626135627135628135629135630135631135632135633135634135635135636135637135638135639135640135641135642135643135644135645135646135647135648135649135650135651135652135653135654135655135656135657135658135659135660135661135662135663135664135665135666135667135668135669135670135671135672135673135674135675135676135677135678135679135680135681135682135683135684135685135686135687135688135689135690135691135692135693135694135695135696135697135698135699135700135701135702135703135704135705135706135707135708135709135710135711135712135713135714135715135716135717135718135719135720135721135722135723135724135725135726135727135728135729135730135731135732135733135734135735135736135737135738135739135740135741135742135743135744135745135746135747135748135749135750135751135752135753135754135755135756135757135758135759135760135761135762135763135764135765135766135767135768135769135770135771135772135773135774135775135776135777135778135779135780135781135782135783135784135785135786135787135788135789135790135791135792135793135794135795135796135797135798135799135800135801135802135803135804135805135806135807135808135809135810135811135812135813135814135815135816135817135818135819135820135821135822135823135824135825135826135827135828135829135830135831135832135833135834135835135836135837135838135839135840135841135842135843135844135845135846135847135848135849135850135851135852135853135854135855135856135857135858135859135860135861135862135863135864135865135866135867135868135869135870135871135872135873135874135875135876135877135878135879135880135881135882135883135884135885135886135887135888135889135890135891135892135893135894135895135896135897135898135899135900135901135902135903135904135905135906135907135908135909135910135911135912135913135914135915135916135917135918135919135920135921135922135923135924135925135926135927135928135929135930135931135932135933135934135935135936135937135938135939135940135941135942135943135944135945135946135947135948135949135950135951135952135953135954135955135956135957135958135959135960135961135962135963135964135965135966135967135968135969135970135971135972135973135974135975135976135977135978135979135980135981135982135983135984135985135986135987135988135989135990135991135992135993135994135995135996135997135998135999136000136001136002136003136004136005136006136007136008136009136010136011136012136013136014136015136016136017136018136019136020136021136022136023136024136025136026136027136028136029136030136031136032136033136034136035136036136037136038136039136040136041136042136043136044136045136046136047136048136049136050136051136052136053136054136055136056136057136058136059136060136061136062136063136064136065136066136067136068136069136070136071136072136073136074136075136076136077136078136079136080136081136082136083136084136085136086136087136088136089136090136091136092136093136094136095136096136097136098136099136100136101136102136103136104136105136106136107136108136109136110136111136112136113136114136115136116136117136118136119136120136121136122136123136124136125136126136127136128136129136130136131136132136133136134136135136136136137136138136139136140136141136142136143136144136145136146136147136148136149136150136151136152136153136154136155136156136157136158136159136160136161136162136163136164136165136166136167136168136169136170136171136172136173136174136175136176136177136178136179136180136181136182136183136184136185136186136187136188136189136190136191136192136193136194136195136196136197136198136199136200136201136202136203136204136205136206136207136208136209136210136211136212136213136214136215136216136217136218136219136220136221136222136223136224136225136226136227136228136229136230136231136232136233136234136235136236136237136238136239136240136241136242136243136244136245136246136247136248136249136250136251136252136253136254136255136256136257136258136259136260136261136262136263136264136265136266136267136268136269136270136271136272136273136274136275136276136277136278136279136280136281136282136283136284136285136286136287136288136289136290136291136292136293136294136295136296136297136298136299136300136301136302136303136304136305136306136307136308136309136310136311136312136313136314136315136316136317136318136319136320136321136322136323136324136325136326136327136328136329136330136331136332136333136334136335136336136337136338136339136340136341136342136343136344136345136346136347136348136349136350136351136352136353136354136355136356136357136358136359136360136361136362136363136364136365136366136367136368136369136370136371136372136373136374136375136376136377136378136379136380136381136382136383136384136385136386136387136388136389136390136391136392136393136394136395136396136397136398136399136400136401136402136403136404136405136406136407136408136409136410136411136412136413136414136415136416136417136418136419136420136421136422136423136424136425136426136427136428136429136430136431136432136433136434136435136436136437136438136439136440136441136442136443136444136445136446136447136448136449136450136451136452136453136454136455136456136457136458136459136460136461136462136463136464136465136466136467136468136469136470136471136472136473136474136475136476136477136478136479136480136481136482136483136484136485136486136487136488136489136490136491136492136493136494136495136496136497136498136499136500136501136502136503136504136505136506136507136508136509136510136511136512136513136514136515136516136517136518136519136520136521136522136523136524136525136526136527136528136529136530136531136532136533136534136535136536136537136538136539136540136541136542136543136544136545136546136547136548136549136550136551136552136553136554136555136556136557136558136559136560136561136562136563136564136565136566136567136568136569136570136571136572136573136574136575136576136577136578136579136580136581136582136583136584136585136586136587136588136589136590136591136592136593136594136595136596136597136598136599136600136601136602136603136604136605136606136607136608136609136610136611136612136613136614136615136616136617136618136619136620136621136622136623136624136625136626136627136628136629136630136631136632136633136634136635136636136637136638136639136640136641136642136643136644136645136646136647136648136649136650136651136652136653136654136655136656136657136658136659136660136661136662136663136664136665136666136667136668136669136670136671136672136673136674136675136676136677136678136679136680136681136682136683136684136685136686136687136688136689136690136691136692136693136694136695136696136697136698136699136700136701136702136703136704136705136706136707136708136709136710136711136712136713136714136715136716136717136718136719136720136721136722136723136724136725136726136727136728136729136730136731136732136733136734136735136736136737136738136739136740136741136742136743136744136745136746136747136748136749136750136751136752136753136754136755136756136757136758136759136760136761136762136763136764136765136766136767136768136769136770136771136772136773136774136775136776136777136778136779136780136781136782136783136784136785136786136787136788136789136790136791136792136793136794136795136796136797136798136799136800136801136802136803136804136805136806136807136808136809136810136811136812136813136814136815136816136817136818136819136820136821136822136823136824136825136826136827136828136829136830136831136832136833136834136835136836136837136838136839136840136841136842136843136844136845136846136847136848136849136850136851136852136853136854136855136856136857136858136859136860136861136862136863136864136865136866136867136868136869136870136871136872136873136874136875136876136877136878136879136880136881136882136883136884136885136886136887136888136889136890136891136892136893136894136895136896136897136898136899136900136901136902136903136904136905136906136907136908136909136910136911136912136913136914136915136916136917136918136919136920136921136922136923136924136925136926136927136928136929136930136931136932136933136934136935136936136937136938136939136940136941136942136943136944136945136946136947136948136949136950136951136952136953136954136955136956136957136958136959136960136961136962136963136964136965136966136967136968136969136970136971136972136973136974136975136976136977136978136979136980136981136982136983136984136985136986136987136988136989136990136991136992136993136994136995136996136997136998136999137000137001137002137003137004137005137006137007137008137009137010137011137012137013137014137015137016137017137018137019137020137021137022137023137024137025137026137027137028137029137030137031137032137033137034137035137036137037137038137039137040137041137042137043137044137045137046137047137048137049137050137051137052137053137054137055137056137057137058137059137060137061137062137063137064137065137066137067137068137069137070137071137072137073137074137075137076137077137078137079137080137081137082137083137084137085137086137087137088137089137090137091137092137093137094137095137096137097137098137099137100137101137102137103137104137105137106137107137108137109137110137111137112137113137114137115137116137117137118137119137120137121137122137123137124137125137126137127137128137129137130137131137132137133137134137135137136137137137138137139137140137141137142137143137144137145137146137147137148137149137150137151137152137153137154137155137156137157137158137159137160137161137162137163137164137165137166137167137168137169137170137171137172137173137174137175137176137177137178137179137180137181137182137183137184137185137186137187137188137189137190137191137192137193137194137195137196137197137198137199137200137201137202137203137204137205137206137207137208137209137210137211137212137213137214137215137216137217137218137219137220137221137222137223137224137225137226137227137228137229137230137231137232137233137234137235137236137237137238137239137240137241137242137243137244137245137246137247137248137249137250137251137252137253137254137255137256137257137258137259137260137261137262137263137264137265137266137267137268137269137270137271137272137273137274137275137276137277137278137279137280137281137282137283137284137285137286137287137288137289137290137291137292137293137294137295137296137297137298137299137300137301137302137303137304137305137306137307137308137309137310137311137312137313137314137315137316137317137318137319137320137321137322137323137324137325137326137327137328137329137330137331137332137333137334137335137336137337137338137339137340137341137342137343137344137345137346137347137348137349137350137351137352137353137354137355137356137357137358137359137360137361137362137363137364137365137366137367137368137369137370137371137372137373137374137375137376137377137378137379137380137381137382137383137384137385137386137387137388137389137390137391137392137393137394137395137396137397137398137399137400137401137402137403137404137405137406137407137408137409137410137411137412137413137414137415137416137417137418137419137420137421137422137423137424137425137426137427137428137429137430137431137432137433137434137435137436137437137438137439137440137441137442137443137444137445137446137447137448137449137450137451137452137453137454137455137456137457137458137459137460137461137462137463137464137465137466137467137468137469137470137471137472137473137474137475137476137477137478137479137480137481137482137483137484137485137486137487137488137489137490137491137492137493137494137495137496137497137498137499137500137501137502137503137504137505137506137507137508137509137510137511137512137513137514137515137516137517137518137519137520137521137522137523137524137525137526137527137528137529137530137531137532137533137534137535137536137537137538137539137540137541137542137543137544137545137546137547137548137549137550137551137552137553137554137555137556137557137558137559137560137561137562137563137564137565137566137567137568137569137570137571137572137573137574137575137576137577137578137579137580137581137582137583137584137585137586137587137588137589137590137591137592137593137594137595137596137597137598137599137600137601137602137603137604137605137606137607137608137609137610137611137612137613137614137615137616137617137618137619137620137621137622137623137624137625137626137627137628137629137630137631137632137633137634137635137636137637137638137639137640137641137642137643137644137645137646137647137648137649137650137651137652137653137654137655137656137657137658137659137660137661137662137663137664137665137666137667137668137669137670137671137672137673137674137675137676137677137678137679137680137681137682137683137684137685137686137687137688137689137690137691137692137693137694137695137696137697137698137699137700137701137702137703137704137705137706137707137708137709137710137711137712137713137714137715137716137717137718137719137720137721137722137723137724137725137726137727137728137729137730137731137732137733137734137735137736137737137738137739137740137741137742137743137744137745137746137747137748137749137750137751137752137753137754137755137756137757137758137759137760137761137762137763137764137765137766137767137768137769137770137771137772137773137774137775137776137777137778137779137780137781137782137783137784137785137786137787137788137789137790137791137792137793137794137795137796137797137798137799137800137801137802137803137804137805137806137807137808137809137810137811137812137813137814137815137816137817137818137819137820137821137822137823137824137825137826137827137828137829137830137831137832137833137834137835137836137837137838137839137840137841137842137843137844137845137846137847137848137849137850137851137852137853137854137855137856137857137858137859137860137861137862137863137864137865137866137867137868137869137870137871137872137873137874137875137876137877137878137879137880137881137882137883137884137885137886137887137888137889137890137891137892137893137894137895137896137897137898137899137900137901137902137903137904137905137906137907137908137909137910137911137912137913137914137915137916137917137918137919137920137921137922137923137924137925137926137927137928137929137930137931137932137933137934137935137936137937137938137939137940137941137942137943137944137945137946137947137948137949137950137951137952137953137954137955137956137957137958137959137960137961137962137963137964137965137966137967137968137969137970137971137972137973137974137975137976137977137978137979137980137981137982137983137984137985137986137987137988137989137990137991137992137993137994137995137996137997137998137999138000138001138002138003138004138005138006138007138008138009138010138011138012138013138014138015138016138017138018138019138020138021138022138023138024138025138026138027138028138029138030138031138032138033138034138035138036138037138038138039138040138041138042138043138044138045138046138047138048138049138050138051138052138053138054138055138056138057138058138059138060138061138062138063138064138065138066138067138068138069138070138071138072138073138074138075138076138077138078138079138080138081138082138083138084138085138086138087138088138089138090138091138092138093138094138095138096138097138098138099138100138101138102138103138104138105138106138107138108138109138110138111138112138113138114138115138116138117138118138119138120138121138122138123138124138125138126138127138128138129138130138131138132138133138134138135138136138137138138138139138140138141138142138143138144138145138146138147138148138149138150138151138152138153138154138155138156138157138158138159138160138161138162138163138164138165138166138167138168138169138170138171138172138173138174138175138176138177138178138179138180138181138182138183138184138185138186138187138188138189138190138191138192138193138194138195138196138197138198138199138200138201138202138203138204138205138206138207138208138209138210138211138212138213138214138215138216138217138218138219138220138221138222138223138224138225138226138227138228138229138230138231138232138233138234138235138236138237138238138239138240138241138242138243138244138245138246138247138248138249138250138251138252138253138254138255138256138257138258138259138260138261138262138263138264138265138266138267138268138269138270138271138272138273138274138275138276138277138278138279138280138281138282138283138284138285138286138287138288138289138290138291138292138293138294138295138296138297138298138299138300138301138302138303138304138305138306138307138308138309138310138311138312138313138314138315138316138317138318138319138320138321138322138323138324138325138326138327138328138329138330138331138332138333138334138335138336138337138338138339138340138341138342138343138344138345138346138347138348138349138350138351138352138353138354138355138356138357138358138359138360138361138362138363138364138365138366138367138368138369138370138371138372138373138374138375138376138377138378138379138380138381138382138383138384138385138386138387138388138389138390138391138392138393138394138395138396138397138398138399138400138401138402138403138404138405138406138407138408138409138410138411138412138413138414138415138416138417138418138419138420138421138422138423138424138425138426138427138428138429138430138431138432138433138434138435138436138437138438138439138440138441138442138443138444138445138446138447138448138449138450138451138452138453138454138455138456138457138458138459138460138461138462138463138464138465138466138467138468138469138470138471138472138473138474138475138476138477138478138479138480138481138482138483138484138485138486138487138488138489138490138491138492138493138494138495138496138497138498138499138500138501138502138503138504138505138506138507138508138509138510138511138512138513138514138515138516138517138518138519138520138521138522138523138524138525138526138527138528138529138530138531138532138533138534138535138536138537138538138539138540138541138542138543138544138545138546138547138548138549138550138551138552138553138554138555138556138557138558138559138560138561138562138563138564138565138566138567138568138569138570138571138572138573138574138575138576138577138578138579138580138581138582138583138584138585138586138587138588138589138590138591138592138593138594138595138596138597138598138599138600138601138602138603138604138605138606138607138608138609138610138611138612138613138614138615138616138617138618138619138620138621138622138623138624138625138626138627138628138629138630138631138632138633138634138635138636138637138638138639138640138641138642138643138644138645138646138647138648138649138650138651138652138653138654138655138656138657138658138659138660138661138662138663138664138665138666138667138668138669138670138671138672138673138674138675138676138677138678138679138680138681138682138683138684138685138686138687138688138689138690138691138692138693138694138695138696138697138698138699138700138701138702138703138704138705138706138707138708138709138710138711138712138713138714138715138716138717138718138719138720138721138722138723138724138725138726138727138728138729138730138731138732138733138734138735138736138737138738138739138740138741138742138743138744138745138746138747138748138749138750138751138752138753138754138755138756138757138758138759138760138761138762138763138764138765138766138767138768138769138770138771138772138773138774138775138776138777138778138779138780138781138782138783138784138785138786138787138788138789138790138791138792138793138794138795138796138797138798138799138800138801138802138803138804138805138806138807138808138809138810138811138812138813138814138815138816138817138818138819138820138821138822138823138824138825138826138827138828138829138830138831138832138833138834138835138836138837138838138839138840138841138842138843138844138845138846138847138848138849138850138851138852138853138854138855138856138857138858138859138860138861138862138863138864138865138866138867138868138869138870138871138872138873138874138875138876138877138878138879138880138881138882138883138884138885138886138887138888138889138890138891138892138893138894138895138896138897138898138899138900138901138902138903138904138905138906138907138908138909138910138911138912138913138914138915138916138917138918138919138920138921138922138923138924138925138926138927138928138929138930138931138932138933138934138935138936138937138938138939138940138941138942138943138944138945138946138947138948138949138950138951138952138953138954138955138956138957138958138959138960138961138962138963138964138965138966138967138968138969138970138971138972138973138974138975138976138977138978138979138980138981138982138983138984138985138986138987138988138989138990138991138992138993138994138995138996138997138998138999139000139001139002139003139004139005139006139007139008139009139010139011139012139013139014139015139016139017139018139019139020139021139022139023139024139025139026139027139028139029139030139031139032139033139034139035139036139037139038139039139040139041139042139043139044139045139046139047139048139049139050139051139052139053139054139055139056139057139058139059139060139061139062139063139064139065139066139067139068139069139070139071139072139073139074139075139076139077139078139079139080139081139082139083139084139085139086139087139088139089139090139091139092139093139094139095139096139097139098139099139100139101139102139103139104139105139106139107139108139109139110139111139112139113139114139115139116139117139118139119139120139121139122139123139124139125139126139127139128139129139130139131139132139133139134139135139136139137139138139139139140139141139142139143139144139145139146139147139148139149139150139151139152139153139154139155139156139157139158139159139160139161139162139163139164139165139166139167139168139169139170139171139172139173139174139175139176139177139178139179139180139181139182139183139184139185139186139187139188139189139190139191139192139193139194139195139196139197139198139199139200139201139202139203139204139205139206139207139208139209139210139211139212139213139214139215139216139217139218139219139220139221139222139223139224139225139226139227139228139229139230139231139232139233139234139235139236139237139238139239139240139241139242139243139244139245139246139247139248139249139250139251139252139253139254139255139256139257139258139259139260139261139262139263139264139265139266139267139268139269139270139271139272139273139274139275139276139277139278139279139280139281139282139283139284139285139286139287139288139289139290139291139292139293139294139295139296139297139298139299139300139301139302139303139304139305139306139307139308139309139310139311139312139313139314139315139316139317139318139319139320139321139322139323139324139325139326139327139328139329139330139331139332139333139334139335139336139337139338139339139340139341139342139343139344139345139346139347139348139349139350139351139352139353139354139355139356139357139358139359139360139361139362139363139364139365139366139367139368139369139370139371139372139373139374139375139376139377139378139379139380139381139382139383139384139385139386139387139388139389139390139391139392139393139394139395139396139397139398139399139400139401139402139403139404139405139406139407139408139409139410139411139412139413139414139415139416139417139418139419139420139421139422139423139424139425139426139427139428139429139430139431139432139433139434139435139436139437139438139439139440139441139442139443139444139445139446139447139448139449139450139451139452139453139454139455139456139457139458139459139460139461139462139463139464139465139466139467139468139469139470139471139472139473139474139475139476139477139478139479139480139481139482139483139484139485139486139487139488139489139490139491139492139493139494139495139496139497139498139499139500139501139502139503139504139505139506139507139508139509139510139511139512139513139514139515139516139517139518139519139520139521139522139523139524139525139526139527139528139529139530139531139532139533139534139535139536139537139538139539139540139541139542139543139544139545139546139547139548139549139550139551139552139553139554139555139556139557139558139559139560139561139562139563139564139565139566139567139568139569139570139571139572139573139574139575139576139577139578139579139580139581139582139583139584139585139586139587139588139589139590139591139592139593139594139595139596139597139598139599139600139601139602139603139604139605139606139607139608139609139610139611139612139613139614139615139616139617139618139619139620139621139622139623139624139625139626139627139628139629139630139631139632139633139634139635139636139637139638139639139640139641139642139643139644139645139646139647139648139649139650139651139652139653139654139655139656139657139658139659139660139661139662139663139664139665139666139667139668139669139670139671139672139673139674139675139676139677139678139679139680139681139682139683139684139685139686139687139688139689139690139691139692139693139694139695139696139697139698139699139700139701139702139703139704139705139706139707139708139709139710139711139712139713139714139715139716139717139718139719139720139721139722139723139724139725139726139727139728139729139730139731139732139733139734139735139736139737139738139739139740139741139742139743139744139745139746139747139748139749139750139751139752139753139754139755139756139757139758139759139760139761139762139763139764139765139766139767139768139769139770139771139772139773139774139775139776139777139778139779139780139781139782139783139784139785139786139787139788139789139790139791139792139793139794139795139796139797139798139799139800139801139802139803139804139805139806139807139808139809139810139811139812139813139814139815139816139817139818139819139820139821139822139823139824139825139826139827139828139829139830139831139832139833139834139835139836139837139838139839139840139841139842139843139844139845139846139847139848139849139850139851139852139853139854139855139856139857139858139859139860139861139862139863139864139865139866139867139868139869139870139871139872139873139874139875139876139877139878139879139880139881139882139883139884139885139886139887139888139889139890139891139892139893139894139895139896139897139898139899139900139901139902139903139904139905139906139907139908139909139910139911139912139913139914139915139916139917139918139919139920139921139922139923139924139925139926139927139928139929139930139931139932139933139934139935139936139937139938139939139940139941139942139943139944139945139946139947139948139949139950139951139952139953139954139955139956139957139958139959139960139961139962139963139964139965139966139967139968139969139970139971139972139973139974139975139976139977139978139979139980139981139982139983139984139985139986139987139988139989139990139991139992139993139994139995139996139997139998139999140000140001140002140003140004140005140006140007140008140009140010140011140012140013140014140015140016140017140018140019140020140021140022140023140024140025140026140027140028140029140030140031140032140033140034140035140036140037140038140039140040140041140042140043140044140045140046140047140048140049140050140051140052140053140054140055140056140057140058140059140060140061140062140063140064140065140066140067140068140069140070140071140072140073140074140075140076140077140078140079140080140081140082140083140084140085140086140087140088140089140090140091140092140093140094140095140096140097140098140099140100140101140102140103140104140105140106140107140108140109140110140111140112140113140114140115140116140117140118140119140120140121140122140123140124140125140126140127140128140129140130140131140132140133140134140135140136140137140138140139140140140141140142140143140144140145140146140147140148140149140150140151140152140153140154140155140156140157140158140159140160140161140162140163140164140165140166140167140168140169140170140171140172140173140174140175140176140177140178140179140180140181140182140183140184140185140186140187140188140189140190140191140192140193140194140195140196140197140198140199140200140201140202140203140204140205140206140207140208140209140210140211140212140213140214140215140216140217140218140219140220140221140222140223140224140225140226140227140228140229140230140231140232140233140234140235140236140237140238140239140240140241140242140243140244140245140246140247140248140249140250140251140252140253140254140255140256140257140258140259140260140261140262140263140264140265140266140267140268140269140270140271140272140273140274140275140276140277140278140279140280140281140282140283140284140285140286140287140288140289140290140291140292140293140294140295140296140297140298140299140300140301140302140303140304140305140306140307140308140309140310140311140312140313140314140315140316140317140318140319140320140321140322140323140324140325140326140327140328140329140330140331140332140333140334140335140336140337140338140339140340140341140342140343140344140345140346140347140348140349140350140351140352140353140354140355140356140357140358140359140360140361140362140363140364140365140366140367140368140369140370140371140372140373140374140375140376140377140378140379140380140381140382140383140384140385140386140387140388140389140390140391140392140393140394140395140396140397140398140399140400140401140402140403140404140405140406140407140408140409140410140411140412140413140414140415140416140417140418140419140420140421140422140423140424140425140426140427140428140429140430140431140432140433140434140435140436140437140438140439140440140441140442140443140444140445140446140447140448140449140450140451140452140453140454140455140456140457140458140459140460140461140462140463140464140465140466140467140468140469140470140471140472140473140474140475140476140477140478140479140480140481140482140483140484140485140486140487140488140489140490140491140492140493140494140495140496140497140498140499140500140501140502140503140504140505140506140507140508140509140510140511140512140513140514140515140516140517140518140519140520140521140522140523140524140525140526140527140528140529140530140531140532140533140534140535140536140537140538140539140540140541140542140543140544140545140546140547140548140549140550140551140552140553140554140555140556140557140558140559140560140561140562140563140564140565140566140567140568140569140570140571140572140573140574140575140576140577140578140579140580140581140582140583140584140585140586140587140588140589140590140591140592140593140594140595140596140597140598140599140600140601140602140603140604140605140606140607140608140609140610140611140612140613140614140615140616140617140618140619140620140621140622140623140624140625140626140627140628140629140630140631140632140633140634140635140636140637140638140639140640140641140642140643140644140645140646140647140648140649140650140651140652140653140654140655140656140657140658140659140660140661140662140663140664140665140666140667140668140669140670140671140672140673140674140675140676140677140678140679140680140681140682140683140684140685140686140687140688140689140690140691140692140693140694140695140696140697140698140699140700140701140702140703140704140705140706140707140708140709140710140711140712140713140714140715140716140717140718140719140720140721140722140723140724140725140726140727140728140729140730140731140732140733140734140735140736140737140738140739140740140741140742140743140744140745140746140747140748140749140750140751140752140753140754140755140756140757140758140759140760140761140762140763140764140765140766140767140768140769140770140771140772140773140774140775140776140777140778140779140780140781140782140783140784140785140786140787140788140789140790140791140792140793140794140795140796140797140798140799140800140801140802140803140804140805140806140807140808140809140810140811140812140813140814140815140816140817140818140819140820140821140822140823140824140825140826140827140828140829140830140831140832140833140834140835140836140837140838140839140840140841140842140843140844140845140846140847140848140849140850140851140852140853140854140855140856140857140858140859140860140861140862140863140864140865140866140867140868140869140870140871140872140873140874140875140876140877140878140879140880140881140882140883140884140885140886140887140888140889140890140891140892140893140894140895140896140897140898140899140900140901140902140903140904140905140906140907140908140909140910140911140912140913140914140915140916140917140918140919140920140921140922140923140924140925140926140927140928140929140930140931140932140933140934140935140936140937140938140939140940140941140942140943140944140945140946140947140948140949140950140951140952140953140954140955140956140957140958140959140960140961140962140963140964140965140966140967140968140969140970140971140972140973140974140975140976140977140978140979140980140981140982140983140984140985140986140987140988140989140990140991140992140993140994140995140996140997140998140999141000141001141002141003141004141005141006141007141008141009141010141011141012141013141014141015141016141017141018141019141020141021141022141023141024141025141026141027141028141029141030141031141032141033141034141035141036141037141038141039141040141041141042141043141044141045141046141047141048141049141050141051141052141053141054141055141056141057141058141059141060141061141062141063141064141065141066141067141068141069141070141071141072141073141074141075141076141077141078141079141080141081141082141083141084141085141086141087141088141089141090141091141092141093141094141095141096141097141098141099141100141101141102141103141104141105141106141107141108141109141110141111141112141113141114141115141116141117141118141119141120141121141122141123141124141125141126141127141128141129141130141131141132141133141134141135141136141137141138141139141140141141141142141143141144141145141146141147141148141149141150141151141152141153141154141155141156141157141158141159141160141161141162141163141164141165141166141167141168141169141170141171141172141173141174141175141176141177141178141179141180141181141182141183141184141185141186141187141188141189141190141191141192141193141194141195141196141197141198141199141200141201141202141203141204141205141206141207141208141209141210141211141212141213141214141215141216141217141218141219141220141221141222141223141224141225141226141227141228141229141230141231141232141233141234141235141236141237141238141239141240141241141242141243141244141245141246141247141248141249141250141251141252141253141254141255141256141257141258141259141260141261141262141263141264141265141266141267141268141269141270141271141272141273141274141275141276141277141278141279141280141281141282141283141284141285141286141287141288141289141290141291141292141293141294141295141296141297141298141299141300141301141302141303141304141305141306141307141308141309141310141311141312141313141314141315141316141317141318141319141320141321141322141323141324141325141326141327141328141329141330141331141332141333141334141335141336141337141338141339141340141341141342141343141344141345141346141347141348141349141350141351141352141353141354141355141356141357141358141359141360141361141362141363141364141365141366141367141368141369141370141371141372141373141374141375141376141377141378141379141380141381141382141383141384141385141386141387141388141389141390141391141392141393141394141395141396141397141398141399141400141401141402141403141404141405141406141407141408141409141410141411141412141413141414141415141416141417141418141419141420141421141422141423141424141425141426141427141428141429141430141431141432141433141434141435141436141437141438141439141440141441141442141443141444141445141446141447141448141449141450141451141452141453141454141455141456141457141458141459141460141461141462141463141464141465141466141467141468141469141470141471141472141473141474141475141476141477141478141479141480141481141482141483141484141485141486141487141488141489141490141491141492141493141494141495141496141497141498141499141500141501141502141503141504141505141506141507141508141509141510141511141512141513141514141515141516141517141518141519141520141521141522141523141524141525141526141527141528141529141530141531141532141533141534141535141536141537141538141539141540141541141542141543141544141545141546141547141548141549141550141551141552141553141554141555141556141557141558141559141560141561141562141563141564141565141566141567141568141569141570141571141572141573141574141575141576141577141578141579141580141581141582141583141584141585141586141587141588141589141590141591141592141593141594141595141596141597141598141599141600141601141602141603141604141605141606141607141608141609141610141611141612141613141614141615141616141617141618141619141620141621141622141623141624141625141626141627141628141629141630141631141632141633141634141635141636141637141638141639141640141641141642141643141644141645141646141647141648141649141650141651141652141653141654141655141656141657141658141659141660141661141662141663141664141665141666141667141668141669141670141671141672141673141674141675141676141677141678141679141680141681141682141683141684141685141686141687141688141689141690141691141692141693141694141695141696141697141698141699141700141701141702141703141704141705141706141707141708141709141710141711141712141713141714141715141716141717141718141719141720141721141722141723141724141725141726141727141728141729141730141731141732141733141734141735141736141737141738141739141740141741141742141743141744141745141746141747141748141749141750141751141752141753141754141755141756141757141758141759141760141761141762141763141764141765141766141767141768141769141770141771141772141773141774141775141776141777141778141779141780141781141782141783141784141785141786141787141788141789141790141791141792141793141794141795141796141797141798141799141800141801141802141803141804141805141806141807141808141809141810141811141812141813141814141815141816141817141818141819141820141821141822141823141824141825141826141827141828141829141830141831141832141833141834141835141836141837141838141839141840141841141842141843141844141845141846141847141848141849141850141851141852141853141854141855141856141857141858141859141860141861141862141863141864141865141866141867141868141869141870141871141872141873141874141875141876141877141878141879141880141881141882141883141884141885141886141887141888141889141890141891141892141893141894141895141896141897141898141899141900141901141902141903141904141905141906141907141908141909141910141911141912141913141914141915141916141917141918141919141920141921141922141923141924141925141926141927141928141929141930141931141932141933141934141935141936141937141938141939141940141941141942141943141944141945141946141947141948141949141950141951141952141953141954141955141956141957141958141959141960141961141962141963141964141965141966141967141968141969141970141971141972141973141974141975141976141977141978141979141980141981141982141983141984141985141986141987141988141989141990141991141992141993141994141995141996141997141998141999142000142001142002142003142004142005142006142007142008142009142010142011142012142013142014142015142016142017142018142019142020142021142022142023142024142025142026142027142028142029142030142031142032142033142034142035142036142037142038142039142040142041142042142043142044142045142046142047142048142049142050142051142052142053142054142055142056142057142058142059142060142061142062142063142064142065142066142067142068142069142070142071142072142073142074142075142076142077142078142079142080142081142082142083142084142085142086142087142088142089142090142091142092142093142094142095142096142097142098142099142100142101142102142103142104142105142106142107142108142109142110142111142112142113142114142115142116142117142118142119142120142121142122142123142124142125142126142127142128142129142130142131142132142133142134142135142136142137142138142139142140142141142142142143142144142145142146142147142148142149142150142151142152142153142154142155142156142157142158142159142160142161142162142163142164142165142166142167142168142169142170142171142172142173142174142175142176142177142178142179142180142181142182142183142184142185142186142187142188142189142190142191142192142193142194142195142196142197142198142199142200142201142202142203142204142205142206142207142208142209142210142211142212142213142214142215142216142217142218142219142220142221142222142223142224142225142226142227142228142229142230142231142232142233142234142235142236142237142238142239142240142241142242142243142244142245142246142247142248142249142250142251142252142253142254142255142256142257142258142259142260142261142262142263142264142265142266142267142268142269142270142271142272142273142274142275142276142277142278142279142280142281142282142283142284142285142286142287142288142289142290142291142292142293142294142295142296142297142298142299142300142301142302142303142304142305142306142307142308142309142310142311142312142313142314142315142316142317142318142319142320142321142322142323142324142325142326142327142328142329142330142331142332142333142334142335142336142337142338142339142340142341142342142343142344142345142346142347142348142349142350142351142352142353142354142355142356142357142358142359142360142361142362142363142364142365142366142367142368142369142370142371142372142373142374142375142376142377142378142379142380142381142382142383142384142385142386142387142388142389142390142391142392142393142394142395142396142397142398142399142400142401142402142403142404142405142406142407142408142409142410142411142412142413142414142415142416142417142418142419142420142421142422142423142424142425142426142427142428142429142430142431142432142433142434142435142436142437142438142439142440142441142442142443142444142445142446142447142448142449142450142451142452142453142454142455142456142457142458142459142460142461142462142463142464142465142466142467142468142469142470142471142472142473142474142475142476142477142478142479142480142481142482142483142484142485142486142487142488142489142490142491142492142493142494142495142496142497142498142499142500142501142502142503142504142505142506142507142508142509142510142511142512142513142514142515142516142517142518142519142520142521142522142523142524142525142526142527142528142529142530142531142532142533142534142535142536142537142538142539142540142541142542142543142544142545142546142547142548142549142550142551142552142553142554142555142556142557142558142559142560142561142562142563142564142565142566142567142568142569142570142571142572142573142574142575142576142577142578142579142580142581142582142583142584142585142586142587142588142589142590142591142592142593142594142595142596142597142598142599142600142601142602142603142604142605142606142607142608142609142610142611142612142613142614142615142616142617142618142619142620142621142622142623142624142625142626142627142628142629142630142631142632142633142634142635142636142637142638142639142640142641142642142643142644142645142646142647142648142649142650142651142652142653142654142655142656142657142658142659142660142661142662142663142664142665142666142667142668142669142670142671142672142673142674142675142676142677142678142679142680142681142682142683142684142685142686142687142688142689142690142691142692142693142694142695142696142697142698142699142700142701142702142703142704142705142706142707142708142709142710142711142712142713142714142715142716142717142718142719142720142721142722142723142724142725142726142727142728142729142730142731142732142733142734142735142736142737142738142739142740142741142742142743142744142745142746142747142748142749142750142751142752142753142754142755142756142757142758142759142760142761142762142763142764142765142766142767142768142769142770142771142772142773142774142775142776142777142778142779142780142781142782142783142784142785142786142787142788142789142790142791142792142793142794142795142796142797142798142799142800142801142802142803142804142805142806142807142808142809142810142811142812142813142814142815142816142817142818142819142820142821142822142823142824142825142826142827142828142829142830142831142832142833142834142835142836142837142838142839142840142841142842142843142844142845142846142847142848142849142850142851142852142853142854142855142856142857142858142859142860142861142862142863142864142865142866142867142868142869142870142871142872142873142874142875142876142877142878142879142880142881142882142883142884142885142886142887142888142889142890142891142892142893142894142895142896142897142898142899142900142901142902142903142904142905142906142907142908142909142910142911142912142913142914142915142916142917142918142919142920142921142922142923142924142925142926142927142928142929142930142931142932142933142934142935142936142937142938142939142940142941142942142943142944142945142946142947142948142949142950142951142952142953142954142955142956142957142958142959142960142961142962142963142964142965142966142967142968142969142970142971142972142973142974142975142976142977142978142979142980142981142982142983142984142985142986142987142988142989142990142991142992142993142994142995142996142997142998142999143000143001143002143003143004143005143006143007143008143009143010143011143012143013143014143015143016143017143018143019143020143021143022143023143024143025143026143027143028143029143030143031143032143033143034143035143036143037143038143039143040143041143042143043143044143045143046143047143048143049143050143051143052143053143054143055143056143057143058143059143060143061143062143063143064143065143066143067143068143069143070143071143072143073143074143075143076143077143078143079143080143081143082143083143084143085143086143087143088143089143090143091143092143093143094143095143096143097143098143099143100143101143102143103143104143105143106143107143108143109143110143111143112143113143114143115143116143117143118143119143120143121143122143123143124143125143126143127143128143129143130143131143132143133143134143135143136143137143138143139143140143141143142143143143144143145143146143147143148143149143150143151143152143153143154143155143156143157143158143159143160143161143162143163143164143165143166143167143168143169143170143171143172143173143174143175143176143177143178143179143180143181143182143183143184143185143186143187143188143189143190143191143192143193143194143195143196143197143198143199143200143201143202143203143204143205143206143207143208143209143210143211143212143213143214143215143216143217143218143219143220143221143222143223143224143225143226143227143228143229143230143231143232143233143234143235143236143237143238143239143240143241143242143243143244143245143246143247143248143249143250143251143252143253143254143255143256143257143258143259143260143261143262143263143264143265143266143267143268143269143270143271143272143273143274143275143276143277143278143279143280143281143282143283143284143285143286143287143288143289143290143291143292143293143294143295143296143297143298143299143300143301143302143303143304143305143306143307143308143309143310143311143312143313143314143315143316143317143318143319143320143321143322143323143324143325143326143327143328143329143330143331143332143333143334143335143336143337143338143339143340143341143342143343143344143345143346143347143348143349143350143351143352143353143354143355143356143357143358143359143360143361143362143363143364143365143366143367143368143369143370143371143372143373143374143375143376143377143378143379143380143381143382143383143384143385143386143387143388143389143390143391143392143393143394143395143396143397143398143399143400143401143402143403143404143405143406143407143408143409143410143411143412143413143414143415143416143417143418143419143420143421143422143423143424143425143426143427143428143429143430143431143432143433143434143435143436143437143438143439143440143441143442143443143444143445143446143447143448143449143450143451143452143453143454143455143456143457143458143459143460143461143462143463143464143465143466143467143468143469143470143471143472143473143474143475143476143477143478143479143480143481143482143483143484143485143486143487143488143489143490143491143492143493143494143495143496143497143498143499143500143501143502143503143504143505143506143507143508143509143510143511143512143513143514143515143516143517143518143519143520143521143522143523143524143525143526143527143528143529143530143531143532143533143534143535143536143537143538143539143540143541143542143543143544143545143546143547143548143549143550143551143552143553143554143555143556143557143558143559143560143561143562143563143564143565143566143567143568143569143570143571143572143573143574143575143576143577143578143579143580143581143582143583143584143585143586143587143588143589143590143591143592143593143594143595143596143597143598143599143600143601143602143603143604143605143606143607143608143609143610143611143612143613143614143615143616143617143618143619143620143621143622143623143624143625143626143627143628143629143630143631143632143633143634143635143636143637143638143639143640143641143642143643143644143645143646143647143648143649143650143651143652143653143654143655143656143657143658143659143660143661143662143663143664143665143666143667143668143669143670143671143672143673143674143675143676143677143678143679143680143681143682143683143684143685143686143687143688143689143690143691143692143693143694143695143696143697143698143699143700143701143702143703143704143705143706143707143708143709143710143711143712143713143714143715143716143717143718143719143720143721143722143723143724143725143726143727143728143729143730143731143732143733143734143735143736143737143738143739143740143741143742143743143744143745143746143747143748143749143750143751143752143753143754143755143756143757143758143759143760143761143762143763143764143765143766143767143768143769143770143771143772143773143774143775143776143777143778143779143780143781143782143783143784143785143786143787143788143789143790143791143792143793143794143795143796143797143798143799143800143801143802143803143804143805143806143807143808143809143810143811143812143813143814143815143816143817143818143819143820143821143822143823143824143825143826143827143828143829143830143831143832143833143834143835143836143837143838143839143840143841143842143843143844143845143846143847143848143849143850143851143852143853143854143855143856143857143858143859143860143861143862143863143864143865143866143867143868143869143870143871143872143873143874143875143876143877143878143879143880143881143882143883143884143885143886143887143888143889143890143891143892143893143894143895143896143897143898143899143900143901143902143903143904143905143906143907143908143909143910143911143912143913143914143915143916143917143918143919143920143921143922143923143924143925143926143927143928143929143930143931143932143933143934143935143936143937143938143939143940143941143942143943143944143945143946143947143948143949143950143951143952143953143954143955143956143957143958143959143960143961143962143963143964143965143966143967143968143969143970143971143972143973143974143975143976143977143978143979143980143981143982143983143984143985143986143987143988143989143990143991143992143993143994143995143996143997143998143999144000144001144002144003144004144005144006144007144008144009144010144011144012144013144014144015144016144017144018144019144020144021144022144023144024144025144026144027144028144029144030144031144032144033144034144035144036144037144038144039144040144041144042144043144044144045144046144047144048144049144050144051144052144053144054144055144056144057144058144059144060144061144062144063144064144065144066144067144068144069144070144071144072144073144074144075144076144077144078144079144080144081144082144083144084144085144086144087144088144089144090144091144092144093144094144095144096144097144098144099144100144101144102144103144104144105144106144107144108144109144110144111144112144113144114144115144116144117144118144119144120144121144122144123144124144125144126144127144128144129144130144131144132144133144134144135144136144137144138144139144140144141144142144143144144144145144146144147144148144149144150144151144152144153144154144155144156144157144158144159144160144161144162144163144164144165144166144167144168144169144170144171144172144173144174144175144176144177144178144179144180144181144182144183144184144185144186144187144188144189144190144191144192144193144194144195144196144197144198144199144200144201144202144203144204144205144206144207144208144209144210144211144212144213144214144215144216144217144218144219144220144221144222144223144224144225144226144227144228144229144230144231144232144233144234144235144236144237144238144239144240144241144242144243144244144245144246144247144248144249144250144251144252144253144254144255144256144257144258144259144260144261144262144263144264144265144266144267144268144269144270144271144272144273144274144275144276144277144278144279144280144281144282144283144284144285144286144287144288144289144290144291144292144293144294144295144296144297144298144299144300144301144302144303144304144305144306144307144308144309144310144311144312144313144314144315144316144317144318144319144320144321144322144323144324144325144326144327144328144329144330144331144332144333144334144335144336144337144338144339144340144341144342144343144344144345144346144347144348144349144350144351144352144353144354144355144356144357144358144359144360144361144362144363144364144365144366144367144368144369144370144371144372144373144374144375144376144377144378144379144380144381144382144383144384144385144386144387144388144389144390144391144392144393144394144395144396144397144398144399144400144401144402144403144404144405144406144407144408144409144410144411144412144413144414144415144416144417144418144419144420144421144422144423144424144425144426144427144428144429144430144431144432144433144434144435144436144437144438144439144440144441144442144443144444144445144446144447144448144449144450144451144452144453144454144455144456144457144458144459144460144461144462144463144464144465144466144467144468144469144470144471144472144473144474144475144476144477144478144479144480144481144482144483144484144485144486144487144488144489144490144491144492144493144494144495144496144497144498144499144500144501144502144503144504144505144506144507144508144509144510144511144512144513144514144515144516144517144518144519144520144521144522144523144524144525144526144527144528144529144530144531144532144533144534144535144536144537144538144539144540144541144542144543144544144545144546144547144548144549144550144551144552144553144554144555144556144557144558144559144560144561144562144563144564144565144566144567144568144569144570144571144572144573144574144575144576144577144578144579144580144581144582144583144584144585144586144587144588144589144590144591144592144593144594144595144596144597144598144599144600144601144602144603144604144605144606144607144608144609144610144611144612144613144614144615144616144617144618144619144620144621144622144623144624144625144626144627144628144629144630144631144632144633144634144635144636144637144638144639144640144641144642144643144644144645144646144647144648144649144650144651144652144653144654144655144656144657144658144659144660144661144662144663144664144665144666144667144668144669144670144671144672144673144674144675144676144677144678144679144680144681144682144683144684144685144686144687144688144689144690144691144692144693144694144695144696144697144698144699144700144701144702144703144704144705144706144707144708144709144710144711144712144713144714144715144716144717144718144719144720144721144722144723144724144725144726144727144728144729144730144731144732144733144734144735144736144737144738144739144740144741144742144743144744144745144746144747144748144749144750144751144752144753144754144755144756144757144758144759144760144761144762144763144764144765144766144767144768144769144770144771144772144773144774144775144776144777144778144779144780144781144782144783144784144785144786144787144788144789144790144791144792144793144794144795144796144797144798144799144800144801144802144803144804144805144806144807144808144809144810144811144812144813144814144815144816144817144818144819144820144821144822144823144824144825144826144827144828144829144830144831144832144833144834144835144836144837144838144839144840144841144842144843144844144845144846144847144848144849144850144851144852144853144854144855144856144857144858144859144860144861144862144863144864144865144866144867144868144869144870144871144872144873144874144875144876144877144878144879144880144881144882144883144884144885144886144887144888144889144890144891144892144893144894144895144896144897144898144899144900144901144902144903144904144905144906144907144908144909144910144911144912144913144914144915144916144917144918144919144920144921144922144923144924144925144926144927144928144929144930144931144932144933144934144935144936144937144938144939144940144941144942144943144944144945144946144947144948144949144950144951144952144953144954144955144956144957144958144959144960144961144962144963144964144965144966144967144968144969144970144971144972144973144974144975144976144977144978144979144980144981144982144983144984144985144986144987144988144989144990144991144992144993144994144995144996144997144998144999145000145001145002145003145004145005145006145007145008145009145010145011145012145013145014145015145016145017145018145019145020145021145022145023145024145025145026145027145028145029145030145031145032145033145034145035145036145037145038145039145040145041145042145043145044145045145046145047145048145049145050145051145052145053145054145055145056145057145058145059145060145061145062145063145064145065145066145067145068145069145070145071145072145073145074145075145076145077145078145079145080145081145082145083145084145085145086145087145088145089145090145091145092145093145094145095145096145097145098145099145100145101145102145103145104145105145106145107145108145109145110145111145112145113145114145115145116145117145118145119145120145121145122145123145124145125145126145127145128145129145130145131145132145133145134145135145136145137145138145139145140145141145142145143145144145145145146145147145148145149145150145151145152145153145154145155145156145157145158145159145160145161145162145163145164145165145166145167145168145169145170145171145172145173145174145175145176145177145178145179145180145181145182145183145184145185145186145187145188145189145190145191145192145193145194145195145196145197145198145199145200145201145202145203145204145205145206145207145208145209145210145211145212145213145214145215145216145217145218145219145220145221145222145223145224145225145226145227145228145229145230145231145232145233145234145235145236145237145238145239145240145241145242145243145244145245145246145247145248145249145250145251145252145253145254145255145256145257145258145259145260145261145262145263145264145265145266145267145268145269145270145271145272145273145274145275145276145277145278145279145280145281145282145283145284145285145286145287145288145289145290145291145292145293145294145295145296145297145298145299145300145301145302145303145304145305145306145307145308145309145310145311145312145313145314145315145316145317145318145319145320145321145322145323145324145325145326145327145328145329145330145331145332145333145334145335145336145337145338145339145340145341145342145343145344145345145346145347145348145349145350145351145352145353145354145355145356145357145358145359145360145361145362145363145364145365145366145367145368145369145370145371145372145373145374145375145376145377145378145379145380145381145382145383145384145385145386145387145388145389145390145391145392145393145394145395145396145397145398145399145400145401145402145403145404145405145406145407145408145409145410145411145412145413145414145415145416145417145418145419145420145421145422145423145424145425145426145427145428145429145430145431145432145433145434145435145436145437145438145439145440145441145442145443145444145445145446145447145448145449145450145451145452145453145454145455145456145457145458145459145460145461145462145463145464145465145466145467145468145469145470145471145472145473145474145475145476145477145478145479145480145481145482145483145484145485145486145487145488145489145490145491145492145493145494145495145496145497145498145499145500145501145502145503145504145505145506145507145508145509145510145511145512145513145514145515145516145517145518145519145520145521145522145523145524145525145526145527145528145529145530145531145532145533145534145535145536145537145538145539145540145541145542145543145544145545145546145547145548145549145550145551145552145553145554145555145556145557145558145559145560145561145562145563145564145565145566145567145568145569145570145571145572145573145574145575145576145577145578145579145580145581145582145583145584145585145586145587145588145589145590145591145592145593145594145595145596145597145598145599145600145601145602145603145604145605145606145607145608145609145610145611145612145613145614145615145616145617145618145619145620145621145622145623145624145625145626145627145628145629145630145631145632145633145634145635145636145637145638145639145640145641145642145643145644145645145646145647145648145649145650145651145652145653145654145655145656145657145658145659145660145661145662145663145664145665145666145667145668145669145670145671145672145673145674145675145676145677145678145679145680145681145682145683145684145685145686145687145688145689145690145691145692145693145694145695145696145697145698145699145700145701145702145703145704145705145706145707145708145709145710145711145712145713145714145715145716145717145718145719145720145721145722145723145724145725145726145727145728145729145730145731145732145733145734145735145736145737145738145739145740145741145742145743145744145745145746145747145748145749145750145751145752145753145754145755145756145757145758145759145760145761145762145763145764145765145766145767145768145769145770145771145772145773145774145775145776145777145778145779145780145781145782145783145784145785145786145787145788145789145790145791145792145793145794145795145796145797145798145799145800145801145802145803145804145805145806145807145808145809145810145811145812145813145814145815145816145817145818145819145820145821145822145823145824145825145826145827145828145829145830145831145832145833145834145835145836145837145838145839145840145841145842145843145844145845145846145847145848145849145850145851145852145853145854145855145856145857145858145859145860145861145862145863145864145865145866145867145868145869145870145871145872145873145874145875145876145877145878145879145880145881145882145883145884145885145886145887145888145889145890145891145892145893145894145895145896145897145898145899145900145901145902145903145904145905145906145907145908145909145910145911145912145913145914145915145916145917145918145919145920145921145922145923145924145925145926145927145928145929145930145931145932145933145934145935145936145937145938145939145940145941145942145943145944145945145946145947145948145949145950145951145952145953145954145955145956145957145958145959145960145961145962145963145964145965145966145967145968145969145970145971145972145973145974145975145976145977145978145979145980145981145982145983145984145985145986145987145988145989145990145991145992145993145994145995145996145997145998145999146000146001146002146003146004146005146006146007146008146009146010146011146012146013146014146015146016146017146018146019146020146021146022146023146024146025146026146027146028146029146030146031146032146033146034146035146036146037146038146039146040146041146042146043146044146045146046146047146048146049146050146051146052146053146054146055146056146057146058146059146060146061146062146063146064146065146066146067146068146069146070146071146072146073146074146075146076146077146078146079146080146081146082146083146084146085146086146087146088146089146090146091146092146093146094146095146096146097146098146099146100146101146102146103146104146105146106146107146108146109146110146111146112146113146114146115146116146117146118146119146120146121146122146123146124146125146126146127146128146129146130146131146132146133146134146135146136146137146138146139146140146141146142146143146144146145146146146147146148146149146150146151146152146153146154146155146156146157146158146159146160146161146162146163146164146165146166146167146168146169146170146171146172146173146174146175146176146177146178146179146180146181146182146183146184146185146186146187146188146189146190146191146192146193146194146195146196146197146198146199146200146201146202146203146204146205146206146207146208146209146210146211146212146213146214146215146216146217146218146219146220146221146222146223146224146225146226146227146228146229146230146231146232146233146234146235146236146237146238146239146240146241146242146243146244146245146246146247146248146249146250146251146252146253146254146255146256146257146258146259146260146261146262146263146264146265146266146267146268146269146270146271146272146273146274146275146276146277146278146279146280146281146282146283146284146285146286146287146288146289146290146291146292146293146294146295146296146297146298146299146300146301146302146303146304146305146306146307146308146309146310146311146312146313146314146315146316146317146318146319146320146321146322146323146324146325146326146327146328146329146330146331146332146333146334146335146336146337146338146339146340146341146342146343146344146345146346146347146348146349146350146351146352146353146354146355146356146357146358146359146360146361146362146363146364146365146366146367146368146369146370146371146372146373146374146375146376146377146378146379146380146381146382146383146384146385146386146387146388146389146390146391146392146393146394146395146396146397146398146399146400146401146402146403146404146405146406146407146408146409146410146411146412146413146414146415146416146417146418146419146420146421146422146423146424146425146426146427146428146429146430146431146432146433146434146435146436146437146438146439146440146441146442146443146444146445146446146447146448146449146450146451146452146453146454146455146456146457146458146459146460146461146462146463146464146465146466146467146468146469146470146471146472146473146474146475146476146477146478146479146480146481146482146483146484146485146486146487146488146489146490146491146492146493146494146495146496146497146498146499146500146501146502146503146504146505146506146507146508146509146510146511146512146513146514146515146516146517146518146519146520146521146522146523146524146525146526146527146528146529146530146531146532146533146534146535146536146537146538146539146540146541146542146543146544146545146546146547146548146549146550146551146552146553146554146555146556146557146558146559146560146561146562146563146564146565146566146567146568146569146570146571146572146573146574146575146576146577146578146579146580146581146582146583146584146585146586146587146588146589146590146591146592146593146594146595146596146597146598146599146600146601146602146603146604146605146606146607146608146609146610146611146612146613146614146615146616146617146618146619146620146621146622146623146624146625146626146627146628146629146630146631146632146633146634146635146636146637146638146639146640146641146642146643146644146645146646146647146648146649146650146651146652146653146654146655146656146657146658146659146660146661146662146663146664146665146666146667146668146669146670146671146672146673146674146675146676146677146678146679146680146681146682146683146684146685146686146687146688146689146690146691146692146693146694146695146696146697146698146699146700146701146702146703146704146705146706146707146708146709146710146711146712146713146714146715146716146717146718146719146720146721146722146723146724146725146726146727146728146729146730146731146732146733146734146735146736146737146738146739146740146741146742146743146744146745146746146747146748146749146750146751146752146753146754146755146756146757146758146759146760146761146762146763146764146765146766146767146768146769146770146771146772146773146774146775146776146777146778146779146780146781146782146783146784146785146786146787146788146789146790146791146792146793146794146795146796146797146798146799146800146801146802146803146804146805146806146807146808146809146810146811146812146813146814146815146816146817146818146819146820146821146822146823146824146825146826146827146828146829146830146831146832146833146834146835146836146837146838146839146840146841146842146843146844146845146846146847146848146849146850146851146852146853146854146855146856146857146858146859146860146861146862146863146864146865146866146867146868146869146870146871146872146873146874146875146876146877146878146879146880146881146882146883146884146885146886146887146888146889146890146891146892146893146894146895146896146897146898146899146900146901146902146903146904146905146906146907146908146909146910146911146912146913146914146915146916146917146918146919146920146921146922146923146924146925146926146927146928146929146930146931146932146933146934146935146936146937146938146939146940146941146942146943146944146945146946146947146948146949146950146951146952146953146954146955146956146957146958146959146960146961146962146963146964146965146966146967146968146969146970146971146972146973146974146975146976146977146978146979146980146981146982146983146984146985146986146987146988146989146990146991146992146993146994146995146996146997146998146999147000147001147002147003147004147005147006147007147008147009147010147011147012147013147014147015147016147017147018147019147020147021147022147023147024147025147026147027147028147029147030147031147032147033147034147035147036147037147038147039147040147041147042147043147044147045147046147047147048147049147050147051147052147053147054147055147056147057147058147059147060147061147062147063147064147065147066147067147068147069147070147071147072147073147074147075147076147077147078147079147080147081147082147083147084147085147086147087147088147089147090147091147092147093147094147095147096147097147098147099147100147101147102147103147104147105147106147107147108147109147110147111147112147113147114147115147116147117147118147119147120147121147122147123147124147125147126147127147128147129147130147131147132147133147134147135147136147137147138147139147140147141147142147143147144147145147146147147147148147149147150147151147152147153147154147155147156147157147158147159147160147161147162147163147164147165147166147167147168147169147170147171147172147173147174147175147176147177147178147179147180147181147182147183147184147185147186147187147188147189147190147191147192147193147194147195147196147197147198147199147200147201147202147203147204147205147206147207147208147209147210147211147212147213147214147215147216147217147218147219147220147221147222147223147224147225147226147227147228147229147230147231147232147233147234147235147236147237147238147239147240147241147242147243147244147245147246147247147248147249147250147251147252147253147254147255147256147257147258147259147260147261147262147263147264147265147266147267147268147269147270147271147272147273147274147275147276147277147278147279147280147281147282147283147284147285147286147287147288147289147290147291147292147293147294147295147296147297147298147299147300147301147302147303147304147305147306147307147308147309147310147311147312147313147314147315147316147317147318147319147320147321147322147323147324147325147326147327147328147329147330147331147332147333147334147335147336147337147338147339147340147341147342147343147344147345147346147347147348147349147350147351147352147353147354147355147356147357147358147359147360147361147362147363147364147365147366147367147368147369147370147371147372147373147374147375147376147377147378147379147380147381147382147383147384147385147386147387147388147389147390147391147392147393147394147395147396147397147398147399147400147401147402147403147404147405147406147407147408147409147410147411147412147413147414147415147416147417147418147419147420147421147422147423147424147425147426147427147428147429147430147431147432147433147434147435147436147437147438147439147440147441147442147443147444147445147446147447147448147449147450147451147452147453147454147455147456147457147458147459147460147461147462147463147464147465147466147467147468147469147470147471147472147473147474147475147476147477147478147479147480147481147482147483147484147485147486147487147488147489147490147491147492147493147494147495147496147497147498147499147500147501147502147503147504147505147506147507147508147509147510147511147512147513147514147515147516147517147518147519147520147521147522147523147524147525147526147527147528147529147530147531147532147533147534147535147536147537147538147539147540147541147542147543147544147545147546147547147548147549147550147551147552147553147554147555147556147557147558147559147560147561147562147563147564147565147566147567147568147569147570147571147572147573147574147575147576147577147578147579147580147581147582147583147584147585147586147587147588147589147590147591147592147593147594147595147596147597147598147599147600147601147602147603147604147605147606147607147608147609147610147611147612147613147614147615147616147617147618147619147620147621147622147623147624147625147626147627147628147629147630147631147632147633147634147635147636147637147638147639147640147641147642147643147644147645147646147647147648147649147650147651147652147653147654147655147656147657147658147659147660147661147662147663147664147665147666147667147668147669147670147671147672147673147674147675147676147677147678147679147680147681147682147683147684147685147686147687147688147689147690147691147692147693147694147695147696147697147698147699147700147701147702147703147704147705147706147707147708147709147710147711147712147713147714147715147716147717147718147719147720147721147722147723147724147725147726147727147728147729147730147731147732147733147734147735147736147737147738147739147740147741147742147743147744147745147746147747147748147749147750147751147752147753147754147755147756147757147758147759147760147761147762147763147764147765147766147767147768147769147770147771147772147773147774147775147776147777147778147779147780147781147782147783147784147785147786147787147788147789147790147791147792147793147794147795147796147797147798147799147800147801147802147803147804147805147806147807147808147809147810147811147812147813147814147815147816147817147818147819147820147821147822147823147824147825147826147827147828147829147830147831147832147833147834147835147836147837147838147839147840147841147842147843147844147845147846147847147848147849147850147851147852147853147854147855147856147857147858147859147860147861147862147863147864147865147866147867147868147869147870147871147872147873147874147875147876147877147878147879147880147881147882147883147884147885147886147887147888147889147890147891147892147893147894147895147896147897147898147899147900147901147902147903147904147905147906147907147908147909147910147911147912147913147914147915147916147917147918147919147920147921147922147923147924147925147926147927147928147929147930147931147932147933147934147935147936147937147938147939147940147941147942147943147944147945147946147947147948147949147950147951147952147953147954147955147956147957147958147959147960147961147962147963147964147965147966147967147968147969147970147971147972147973147974147975147976147977147978147979147980147981147982147983147984147985147986147987147988147989147990147991147992147993147994147995147996147997147998147999148000148001148002148003148004148005148006148007148008148009148010148011148012148013148014148015148016148017148018148019148020148021148022148023148024148025148026148027148028148029148030148031148032148033148034148035148036148037148038148039148040148041148042148043148044148045148046148047148048148049148050148051148052148053148054148055148056148057148058148059148060148061148062148063148064148065148066148067148068148069148070148071148072148073148074148075148076148077148078148079148080148081148082148083148084148085148086148087148088148089148090148091148092148093148094148095148096148097148098148099148100148101148102148103148104148105148106148107148108148109148110148111148112148113148114148115148116148117148118148119148120148121148122148123148124148125148126148127148128148129148130148131148132148133148134148135148136148137148138148139148140148141148142148143148144148145148146148147148148148149148150148151148152148153148154148155148156148157148158148159148160148161148162148163148164148165148166148167148168148169148170148171148172148173148174148175148176148177148178148179148180148181148182148183148184148185148186148187148188148189148190148191148192148193148194148195148196148197148198148199148200148201148202148203148204148205148206148207148208148209148210148211148212148213148214148215148216148217148218148219148220148221148222148223148224148225148226148227148228148229148230148231148232148233148234148235148236148237148238148239148240148241148242148243148244148245148246148247148248148249148250148251148252148253148254148255148256148257148258148259148260148261148262148263148264148265148266148267148268148269148270148271148272148273148274148275148276148277148278148279148280148281148282148283148284148285148286148287148288148289148290148291148292148293148294148295148296148297148298148299148300148301148302148303148304148305148306148307148308148309148310148311148312148313148314148315148316148317148318148319148320148321148322148323148324148325148326148327148328148329148330148331148332148333148334148335148336148337148338148339148340148341148342148343148344148345148346148347148348148349148350148351148352148353148354148355148356148357148358148359148360148361148362148363148364148365148366148367148368148369148370148371148372148373148374148375148376148377148378148379148380148381148382148383148384148385148386148387148388148389148390148391148392148393148394148395148396148397148398148399148400148401148402148403148404148405148406148407148408148409148410148411148412148413148414148415148416148417148418148419148420148421148422148423148424148425148426148427148428148429148430148431148432148433148434148435148436148437148438148439148440148441148442148443148444148445148446148447148448148449148450148451148452148453148454148455148456148457148458148459148460148461148462148463148464148465148466148467148468148469148470148471148472148473148474148475148476148477148478148479148480148481148482148483148484148485148486148487148488148489148490148491148492148493148494148495148496148497148498148499148500148501148502148503148504148505148506148507148508148509148510148511148512148513148514148515148516148517148518148519148520148521148522148523148524148525148526148527148528148529148530148531148532148533148534148535148536148537148538148539148540148541148542148543148544148545148546148547148548148549148550148551148552148553148554148555148556148557148558148559148560148561148562148563148564148565148566148567148568148569148570148571148572148573148574148575148576148577148578148579148580148581148582148583148584148585148586148587148588148589148590148591148592148593148594148595148596148597148598148599148600148601148602148603148604148605148606148607148608148609148610148611148612148613148614148615148616148617148618148619148620148621148622148623148624148625148626148627148628148629148630148631148632148633148634148635148636148637148638148639148640148641148642148643148644148645148646148647148648148649148650148651148652148653148654148655148656148657148658148659148660148661148662148663148664148665148666148667148668148669148670148671148672148673148674148675148676148677148678148679148680148681148682148683148684148685148686148687148688148689148690148691148692148693148694148695148696148697148698148699148700148701148702148703148704148705148706148707148708148709148710148711148712148713148714148715148716148717148718148719148720148721148722148723148724148725148726148727148728148729148730148731148732148733148734148735148736148737148738148739148740148741148742148743148744148745148746148747148748148749148750148751148752148753148754148755148756148757148758148759148760148761148762148763148764148765148766148767148768148769148770148771148772148773148774148775148776148777148778148779148780148781148782148783148784148785148786148787148788148789148790148791148792148793148794148795148796148797148798148799148800148801148802148803148804148805148806148807148808148809148810148811148812148813148814148815148816148817148818148819148820148821148822148823148824148825148826148827148828148829148830148831148832148833148834148835148836148837148838148839148840148841148842148843148844148845148846148847148848148849148850148851148852148853148854148855148856148857148858148859148860148861148862148863148864148865148866148867148868148869148870148871148872148873148874148875148876148877148878148879148880148881148882148883148884148885148886148887148888148889148890148891148892148893148894148895148896148897148898148899148900148901148902148903148904148905148906148907148908148909148910148911148912148913148914148915148916148917148918148919148920148921148922148923148924148925148926148927148928148929148930148931148932148933148934148935148936148937148938148939148940148941148942148943148944148945148946148947148948148949148950148951148952148953148954148955148956148957148958148959148960148961148962148963148964148965148966148967148968148969148970148971148972148973148974148975148976148977148978148979148980148981148982148983148984148985148986148987148988148989148990148991148992148993148994148995148996148997148998148999149000149001149002149003149004149005149006149007149008149009149010149011149012149013149014149015149016149017149018149019149020149021149022149023149024149025149026149027149028149029149030149031149032149033149034149035149036149037149038149039149040149041149042149043149044149045149046149047149048149049149050149051149052149053149054149055149056149057149058149059149060149061149062149063149064149065149066149067149068149069149070149071149072149073149074149075149076149077149078149079149080149081149082149083149084149085149086149087149088149089149090149091149092149093149094149095149096149097149098149099149100149101149102149103149104149105149106149107149108149109149110149111149112149113149114149115149116149117149118149119149120149121149122149123149124149125149126149127149128149129149130149131149132149133149134149135149136149137149138149139149140149141149142149143149144149145149146149147149148149149149150149151149152149153149154149155149156149157149158149159149160149161149162149163149164149165149166149167149168149169149170149171149172149173149174149175149176149177149178149179149180149181149182149183149184149185149186149187149188149189149190149191149192149193149194149195149196149197149198149199149200149201149202149203149204149205149206149207149208149209149210149211149212149213149214149215149216149217149218149219149220149221149222149223149224149225149226149227149228149229149230149231149232149233149234149235149236149237149238149239149240149241149242149243149244149245149246149247149248149249149250149251149252149253149254149255149256149257149258149259149260149261149262149263149264149265149266149267149268149269149270149271149272149273149274149275149276149277149278149279149280149281149282149283149284149285149286149287149288149289149290149291149292149293149294149295149296149297149298149299149300149301149302149303149304149305149306149307149308149309149310149311149312149313149314149315149316149317149318149319149320149321149322149323149324149325149326149327149328149329149330149331149332149333149334149335149336149337149338149339149340149341149342149343149344149345149346149347149348149349149350149351149352149353149354149355149356149357149358149359149360149361149362149363149364149365149366149367149368149369149370149371149372149373149374149375149376149377149378149379149380149381149382149383149384149385149386149387149388149389149390149391149392149393149394149395149396149397149398149399149400149401149402149403149404149405149406149407149408149409149410149411149412149413149414149415149416149417149418149419149420149421149422149423149424149425149426149427149428149429149430149431149432149433149434149435149436149437149438149439149440149441149442149443149444149445149446149447149448149449149450149451149452149453149454149455149456149457149458149459149460149461149462149463149464149465149466149467149468149469149470149471149472149473149474149475149476149477149478149479149480149481149482149483149484149485149486149487149488149489149490149491149492149493149494149495149496149497149498149499149500149501149502149503149504149505149506149507149508149509149510149511149512149513149514149515149516149517149518149519149520149521149522149523149524149525149526149527149528149529149530149531149532149533149534149535149536149537149538149539149540149541149542149543149544149545149546149547149548149549149550149551149552149553149554149555149556149557149558149559149560149561149562149563149564149565149566149567149568149569149570149571149572149573149574149575149576149577149578149579149580149581149582149583149584149585149586149587149588149589149590149591149592149593149594149595149596149597149598149599149600149601149602149603149604149605149606149607149608149609149610149611149612149613149614149615149616149617149618149619149620149621149622149623149624149625149626149627149628149629149630149631149632149633149634149635149636149637149638149639149640149641149642149643149644149645149646149647149648149649149650149651149652149653149654149655149656149657149658149659149660149661149662149663149664149665149666149667149668149669149670149671149672149673149674149675149676149677149678149679149680149681149682149683149684149685149686149687149688149689149690149691149692149693149694149695149696149697149698149699149700149701149702149703149704149705149706149707149708149709149710149711149712149713149714149715149716149717149718149719149720149721149722149723149724149725149726149727149728149729149730149731149732149733149734149735149736149737149738149739149740149741149742149743149744149745149746149747149748149749149750149751149752149753149754149755149756149757149758149759149760149761149762149763149764149765149766149767149768149769149770149771149772149773149774149775149776149777149778149779149780149781149782149783149784149785149786149787149788149789149790149791149792149793149794149795149796149797149798149799149800149801149802149803149804149805149806149807149808149809149810149811149812149813149814149815149816149817149818149819149820149821149822149823149824149825149826149827149828149829149830149831149832149833149834149835149836149837149838149839149840149841149842149843149844149845149846149847149848149849149850149851149852149853149854149855149856149857149858149859149860149861149862149863149864149865149866149867149868149869149870149871149872149873149874149875149876149877149878149879149880149881149882149883149884149885149886149887149888149889149890149891149892149893149894149895149896149897149898149899149900149901149902149903149904149905149906149907149908149909149910149911149912149913149914149915149916149917149918149919149920149921149922149923149924149925149926149927149928149929149930149931149932149933149934149935149936149937149938149939149940149941149942149943149944149945149946149947149948149949149950149951149952149953149954149955149956149957149958149959149960149961149962149963149964149965149966149967149968149969149970149971149972149973149974149975149976149977149978149979149980149981149982149983149984149985149986149987149988149989149990149991149992149993149994149995149996149997149998149999150000150001150002150003150004150005150006150007150008150009150010150011150012150013150014150015150016150017150018150019150020150021150022150023150024150025150026150027150028150029150030150031150032150033150034150035150036150037150038150039150040150041150042150043150044150045150046150047150048150049150050150051150052150053150054150055150056150057150058150059150060150061150062150063150064150065150066150067150068150069150070150071150072150073150074150075150076150077150078150079150080150081150082150083150084150085150086150087150088150089150090150091150092150093150094150095150096150097150098150099150100150101150102150103150104150105150106150107150108150109150110150111150112150113150114150115150116150117150118150119150120150121150122150123150124150125150126150127150128150129150130150131150132150133150134150135150136150137150138150139150140150141150142150143150144150145150146150147150148150149150150150151150152150153150154150155150156150157150158150159150160150161150162150163150164150165150166150167150168150169150170150171150172150173150174150175150176150177150178150179150180150181150182150183150184150185150186150187150188150189150190150191150192150193150194150195150196150197150198150199150200150201150202150203150204150205150206150207150208150209150210150211150212150213150214150215150216150217150218150219150220150221150222150223150224150225150226150227150228150229150230150231150232150233150234150235150236150237150238150239150240150241150242150243150244150245150246150247150248150249150250150251150252150253150254150255150256150257150258150259150260150261150262150263150264150265150266150267150268150269150270150271150272150273150274150275150276150277150278150279150280150281150282150283150284150285150286150287150288150289150290150291150292150293150294150295150296150297150298150299150300150301150302150303150304150305150306150307150308150309150310150311150312150313150314150315150316150317150318150319150320150321150322150323150324150325150326150327150328150329150330150331150332150333150334150335150336150337150338150339150340150341150342150343150344150345150346150347150348150349150350150351150352150353150354150355150356150357150358150359150360150361150362150363150364150365150366150367150368150369150370150371150372150373150374150375150376150377150378150379150380150381150382150383150384150385150386150387150388150389150390150391150392150393150394150395150396150397150398150399150400150401150402150403150404150405150406150407150408150409150410150411150412150413150414150415150416150417150418150419150420150421150422150423150424150425150426150427150428150429150430150431150432150433150434150435150436150437150438150439150440150441150442150443150444150445150446150447150448150449150450150451150452150453150454150455150456150457150458150459150460150461150462150463150464150465150466150467150468150469150470150471150472150473150474150475150476150477150478150479150480150481150482150483150484150485150486150487150488150489150490150491150492150493150494150495150496150497150498150499150500150501150502150503150504150505150506150507150508150509150510150511150512150513150514150515150516150517150518150519150520150521150522150523150524150525150526150527150528150529150530150531150532150533150534150535150536150537150538150539150540150541150542150543150544150545150546150547150548150549150550150551150552150553150554150555150556150557150558150559150560150561150562150563150564150565150566150567150568150569150570150571150572150573150574150575150576150577150578150579150580150581150582150583150584150585150586150587150588150589150590150591150592150593150594150595150596150597150598150599150600150601150602150603150604150605150606150607150608150609150610150611150612150613150614150615150616150617150618150619150620150621150622150623150624150625150626150627150628150629150630150631150632150633150634150635150636150637150638150639150640150641150642150643150644150645150646150647150648150649150650150651150652150653150654150655150656150657150658150659150660150661150662150663150664150665150666150667150668150669150670150671150672150673150674150675150676150677150678150679150680150681150682150683150684150685150686150687150688150689150690150691150692150693150694150695150696150697150698150699150700150701150702150703150704150705150706150707150708150709150710150711150712150713150714150715150716150717150718150719150720150721150722150723150724150725150726150727150728150729150730150731150732150733150734150735150736150737150738150739150740150741150742150743150744150745150746150747150748150749150750150751150752150753150754150755150756150757150758150759150760150761150762150763150764150765150766150767150768150769150770150771150772150773150774150775150776150777150778150779150780150781150782150783150784150785150786150787150788150789150790150791150792150793150794150795150796150797150798150799150800150801150802150803150804150805150806150807150808150809150810150811150812150813150814150815150816150817150818150819150820150821150822150823150824150825150826150827150828150829150830150831150832150833150834150835150836150837150838150839150840150841150842150843150844150845150846150847150848150849150850150851150852150853150854150855150856150857150858150859150860150861150862150863150864150865150866150867150868150869150870150871150872150873150874150875150876150877150878150879150880150881150882150883150884150885150886150887150888150889150890150891150892150893150894150895150896150897150898150899150900150901150902150903150904150905150906150907150908150909150910150911150912150913150914150915150916150917150918150919150920150921150922150923150924150925150926150927150928150929150930150931150932150933150934150935150936150937150938150939150940150941150942150943150944150945150946150947150948150949150950150951150952150953150954150955150956150957150958150959150960150961150962150963150964150965150966150967150968150969150970150971150972150973150974150975150976150977150978150979150980150981150982150983150984150985150986150987150988150989150990150991150992150993150994150995150996150997150998150999151000151001151002151003151004151005151006151007151008151009151010151011151012151013151014151015151016151017151018151019151020151021151022151023151024151025151026151027151028151029151030151031151032151033151034151035151036151037151038151039151040151041151042151043151044151045151046151047151048151049151050151051151052151053151054151055151056151057151058151059151060151061151062151063151064151065151066151067151068151069151070151071151072151073151074151075151076151077151078151079151080151081151082151083151084151085151086151087151088151089151090151091151092151093151094151095151096151097151098151099151100151101151102151103151104151105151106151107151108151109151110151111151112151113151114151115151116151117151118151119151120151121151122151123151124151125151126151127151128151129151130151131151132151133151134151135151136151137151138151139151140151141151142151143151144151145151146151147151148151149151150151151151152151153151154151155151156151157151158151159151160151161151162151163151164151165151166151167151168151169151170151171151172151173151174151175151176151177151178151179151180151181151182151183151184151185151186151187151188151189151190151191151192151193151194151195151196151197151198151199151200151201151202151203151204151205151206151207151208151209151210151211151212151213151214151215151216151217151218151219151220151221151222151223151224151225151226151227151228151229151230151231151232151233151234151235151236151237151238151239151240151241151242151243151244151245151246151247151248151249151250151251151252151253151254151255151256151257151258151259151260151261151262151263151264151265151266151267151268151269151270151271151272151273151274151275151276151277151278151279151280151281151282151283151284151285151286151287151288151289151290151291151292151293151294151295151296151297151298151299151300151301151302151303151304151305151306151307151308151309151310151311151312151313151314151315151316151317151318151319151320151321151322151323151324151325151326151327151328151329151330151331151332151333151334151335151336151337151338151339151340151341151342151343151344151345151346151347151348151349151350151351151352151353151354151355151356151357151358151359151360151361151362151363151364151365151366151367151368151369151370151371151372151373151374151375151376151377151378151379151380151381151382151383151384151385151386151387151388151389151390151391151392151393151394151395151396151397151398151399151400151401151402151403151404151405151406151407151408151409151410151411151412151413151414151415151416151417151418151419151420151421151422151423151424151425151426151427151428151429151430151431151432151433151434151435151436151437151438151439151440151441151442151443151444151445151446151447151448151449151450151451151452151453151454151455151456151457151458151459151460151461151462151463151464151465151466151467151468151469151470151471151472151473151474151475151476151477151478151479151480151481151482151483151484151485151486151487151488151489151490151491151492151493151494151495151496151497151498151499151500151501151502151503151504151505151506151507151508151509151510151511151512151513151514151515151516151517151518151519151520151521151522151523151524151525151526151527151528151529151530151531151532151533151534151535151536151537151538151539151540151541151542151543151544151545151546151547151548151549151550151551151552151553151554151555151556151557151558151559151560151561151562151563151564151565151566151567151568151569151570151571151572151573151574151575151576151577151578151579151580151581151582151583151584151585151586151587151588151589151590151591151592151593151594151595151596151597151598151599151600151601151602151603151604151605151606151607151608151609151610151611151612151613151614151615151616151617151618151619151620151621151622151623151624151625151626151627151628151629151630151631151632151633151634151635151636151637151638151639151640151641151642151643151644151645151646151647151648151649151650151651151652151653151654151655151656151657151658151659151660151661151662151663151664151665151666151667151668151669151670151671151672151673151674151675151676151677151678151679151680151681151682151683151684151685151686151687151688151689151690151691151692151693151694151695151696151697151698151699151700151701151702151703151704151705151706151707151708151709151710151711151712151713151714151715151716151717151718151719151720151721151722151723151724151725151726151727151728151729151730151731151732151733151734151735151736151737151738151739151740151741151742151743151744151745151746151747151748151749151750151751151752151753151754151755151756151757151758151759151760151761151762151763151764151765151766151767151768151769151770151771151772151773151774151775151776151777151778151779151780151781151782151783151784151785151786151787151788151789151790151791151792151793151794151795151796151797151798151799151800151801151802151803151804151805151806151807151808151809151810151811151812151813151814151815151816151817151818151819151820151821151822151823151824151825151826151827151828151829151830151831151832151833151834151835151836151837151838151839151840151841151842151843151844151845151846151847151848151849151850151851151852151853151854151855151856151857151858151859151860151861151862151863151864151865151866151867151868151869151870151871151872151873151874151875151876151877151878151879151880151881151882151883151884151885151886151887151888151889151890151891151892151893151894151895151896151897151898151899151900151901151902151903151904151905151906151907151908151909151910151911151912151913151914151915151916151917151918151919151920151921151922151923151924151925151926151927151928151929151930151931151932151933151934151935151936151937151938151939151940151941151942151943151944151945151946151947151948151949151950151951151952151953151954151955151956151957151958151959151960151961151962151963151964151965151966151967151968151969151970151971151972151973151974151975151976151977151978151979151980151981151982151983151984151985151986151987151988151989151990151991151992151993151994151995151996151997151998151999152000152001152002152003152004152005152006152007152008152009152010152011152012152013152014152015152016152017152018152019152020152021152022152023152024152025152026152027152028152029152030152031152032152033152034152035152036152037152038152039152040152041152042152043152044152045152046152047152048152049152050152051152052152053152054152055152056152057152058152059152060152061152062152063152064152065152066152067152068152069152070152071152072152073152074152075152076152077152078152079152080152081152082152083152084152085152086152087152088152089152090152091152092152093152094152095152096152097152098152099152100152101152102152103152104152105152106152107152108152109152110152111152112152113152114152115152116152117152118152119152120152121152122152123152124152125152126152127152128152129152130152131152132152133152134152135152136152137152138152139152140152141152142152143152144152145152146152147152148152149152150152151152152152153152154152155152156152157152158152159152160152161152162152163152164152165152166152167152168152169152170152171152172152173152174152175152176152177152178152179152180152181152182152183152184152185152186152187152188152189152190152191152192152193152194152195152196152197152198152199152200152201152202152203152204152205152206152207152208152209152210152211152212152213152214152215152216152217152218152219152220152221152222152223152224152225152226152227152228152229152230152231152232152233152234152235152236152237152238152239152240152241152242152243152244152245152246152247152248152249152250152251152252152253152254152255152256152257152258152259152260152261152262152263152264152265152266152267152268152269152270152271152272152273152274152275152276152277152278152279152280152281152282152283152284152285152286152287152288152289152290152291152292152293152294152295152296152297152298152299152300152301152302152303152304152305152306152307152308152309152310152311152312152313152314152315152316152317152318152319152320152321152322152323152324152325152326152327152328152329152330152331152332152333152334152335152336152337152338152339152340152341152342152343152344152345152346152347152348152349152350152351152352152353152354152355152356152357152358152359152360152361152362152363152364152365152366152367152368152369152370152371152372152373152374152375152376152377152378152379152380152381152382152383152384152385152386152387152388152389152390152391152392152393152394152395152396152397152398152399152400152401152402152403152404152405152406152407152408152409152410152411152412152413152414152415152416152417152418152419152420152421152422152423152424152425152426152427152428152429152430152431152432152433152434152435152436152437152438152439152440152441152442152443152444152445152446152447152448152449152450152451152452152453152454152455152456152457152458152459152460152461152462152463152464152465152466152467152468152469152470152471152472152473152474152475152476152477152478152479152480152481152482152483152484152485152486152487152488152489152490152491152492152493152494152495152496152497152498152499152500152501152502152503152504152505152506152507152508152509152510152511152512152513152514152515152516152517152518152519152520152521152522152523152524152525152526152527152528152529152530152531152532152533152534152535152536152537152538152539152540152541152542152543152544152545152546152547152548152549152550152551152552152553152554152555152556152557152558152559152560152561152562152563152564152565152566152567152568152569152570152571152572152573152574152575152576152577152578152579152580152581152582152583152584152585152586152587152588152589152590152591152592152593152594152595152596152597152598152599152600152601152602152603152604152605152606152607152608152609152610152611152612152613152614152615152616152617152618152619152620152621152622152623152624152625152626152627152628152629152630152631152632152633152634152635152636152637152638152639152640152641152642152643152644152645152646152647152648152649152650152651152652152653152654152655152656152657152658152659152660152661152662152663152664152665152666152667152668152669152670152671152672152673152674152675152676152677152678152679152680152681152682152683152684152685152686152687152688152689152690152691152692152693152694152695152696152697152698152699152700152701152702152703152704152705152706152707152708152709152710152711152712152713152714152715152716152717152718152719152720152721152722152723152724152725152726152727152728152729152730152731152732152733152734152735152736152737152738152739152740152741152742152743152744152745152746152747152748152749152750152751152752152753152754152755152756152757152758152759152760152761152762152763152764152765152766152767152768152769152770152771152772152773152774152775152776152777152778152779152780152781152782152783152784152785152786152787152788152789152790152791152792152793152794152795152796152797152798152799152800152801152802152803152804152805152806152807152808152809152810152811152812152813152814152815152816152817152818152819152820152821152822152823152824152825152826152827152828152829152830152831152832152833152834152835152836152837152838152839152840152841152842152843152844152845152846152847152848152849152850152851152852152853152854152855152856152857152858152859152860152861152862152863152864152865152866152867152868152869152870152871152872152873152874152875152876152877152878152879152880152881152882152883152884152885152886152887152888152889152890152891152892152893152894152895152896152897152898152899152900152901152902152903152904152905152906152907152908152909152910152911152912152913152914152915152916152917152918152919152920152921152922152923152924152925152926152927152928152929152930152931152932152933152934152935152936152937152938152939152940152941152942152943152944152945152946152947152948152949152950152951152952152953152954152955152956152957152958152959152960152961152962152963152964152965152966152967152968152969152970152971152972152973152974152975152976152977152978152979152980152981152982152983152984152985152986152987152988152989152990152991152992152993152994152995152996152997152998152999153000153001153002153003153004153005153006153007153008153009153010153011153012153013153014153015153016153017153018153019153020153021153022153023153024153025153026153027153028153029153030153031153032153033153034153035153036153037153038153039153040153041153042153043153044153045153046153047153048153049153050153051153052153053153054153055153056153057153058153059153060153061153062153063153064153065153066153067153068153069153070153071153072153073153074153075153076153077153078153079153080153081153082153083153084153085153086153087153088153089153090153091153092153093153094153095153096153097153098153099153100153101153102153103153104153105153106153107153108153109153110153111153112153113153114153115153116153117153118153119153120153121153122153123153124153125153126153127153128153129153130153131153132153133153134153135153136153137153138153139153140153141153142153143153144153145153146153147153148153149153150153151153152153153153154153155153156153157153158153159153160153161153162153163153164153165153166153167153168153169153170153171153172153173153174153175153176153177153178153179153180153181153182153183153184153185153186153187153188153189153190153191153192153193153194153195153196153197153198153199153200153201153202153203153204153205153206153207153208153209153210153211153212153213153214153215153216153217153218153219153220153221153222153223153224153225153226153227153228153229153230153231153232153233153234153235153236153237153238153239153240153241153242153243153244153245153246153247153248153249153250153251153252153253153254153255153256153257153258153259153260153261153262153263153264153265153266153267153268153269153270153271153272153273153274153275153276153277153278153279153280153281153282153283153284153285153286153287153288153289153290153291153292153293153294153295153296153297153298153299153300153301153302153303153304153305153306153307153308153309153310153311153312153313153314153315153316153317153318153319153320153321153322153323153324153325153326153327153328153329153330153331153332153333153334153335153336153337153338153339153340153341153342153343153344153345153346153347153348153349153350153351153352153353153354153355153356153357153358153359153360153361153362153363153364153365153366153367153368153369153370153371153372153373153374153375153376153377153378153379153380153381153382153383153384153385153386153387153388153389153390153391153392153393153394153395153396153397153398153399153400153401153402153403153404153405153406153407153408153409153410153411153412153413153414153415153416153417153418153419153420153421153422153423153424153425153426153427153428153429153430153431153432153433153434153435153436153437153438153439153440153441153442153443153444153445153446153447153448153449153450153451153452153453153454153455153456153457153458153459153460153461153462153463153464153465153466153467153468153469153470153471153472153473153474153475153476153477153478153479153480153481153482153483153484153485153486153487153488153489153490153491153492153493153494153495153496153497153498153499153500153501153502153503153504153505153506153507153508153509153510153511153512153513153514153515153516153517153518153519153520153521153522153523153524153525153526153527153528153529153530153531153532153533153534153535153536153537153538153539153540153541153542153543153544153545153546153547153548153549153550153551153552153553153554153555153556153557153558153559153560153561153562153563153564153565153566153567153568153569153570153571153572153573153574153575153576153577153578153579153580153581153582153583153584153585153586153587153588153589153590153591153592153593153594153595153596153597153598153599153600153601153602153603153604153605153606153607153608153609153610153611153612153613153614153615153616153617153618153619153620153621153622153623153624153625153626153627153628153629153630153631153632153633153634153635153636153637153638153639153640153641153642153643153644153645153646153647153648153649153650153651153652153653
  1. diff -Nur squid-3.0.STABLE20.orig/aclocal.m4 squid-3.0.STABLE20/aclocal.m4
  2. --- squid-3.0.STABLE20.orig/aclocal.m4 2009-10-29 11:05:32.000000000 +0100
  3. +++ squid-3.0.STABLE20/aclocal.m4 2010-02-19 00:39:09.264856233 +0100
  4. @@ -1,7 +1,7 @@
  5. -# generated automatically by aclocal 1.10.1 -*- 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,108 +13,194 @@
  14. m4_ifndef([AC_AUTOCONF_VERSION],
  15. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  16. -m4_if(AC_AUTOCONF_VERSION, [2.62],,
  17. -[m4_warning([this file was generated for autoconf 2.62.
  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. # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
  24. +#
  25. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  26. +# 2006, 2007, 2008 Free Software Foundation, Inc.
  27. +# Written by Gordon Matzigkeit, 1996
  28. +#
  29. +# This file is free software; the Free Software Foundation gives
  30. +# unlimited permission to copy and/or distribute it, with or without
  31. +# modifications, as long as this notice is preserved.
  32. +
  33. +m4_define([_LT_COPYING], [dnl
  34. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  35. +# 2006, 2007, 2008 Free Software Foundation, Inc.
  36. +# Written by Gordon Matzigkeit, 1996
  37. +#
  38. +# This file is part of GNU Libtool.
  39. +#
  40. +# GNU Libtool is free software; you can redistribute it and/or
  41. +# modify it under the terms of the GNU General Public License as
  42. +# published by the Free Software Foundation; either version 2 of
  43. +# the License, or (at your option) any later version.
  44. +#
  45. +# As a special exception to the GNU General Public License,
  46. +# if you distribute this file as part of a program or library that
  47. +# is built using GNU Libtool, you may include this file under the
  48. +# same distribution terms that you use for the rest of that program.
  49. +#
  50. +# GNU Libtool is distributed in the hope that it will be useful,
  51. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  52. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  53. +# GNU General Public License for more details.
  54. +#
  55. +# You should have received a copy of the GNU General Public License
  56. +# along with GNU Libtool; see the file COPYING. If not, a copy
  57. +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  58. +# obtained by writing to the Free Software Foundation, Inc.,
  59. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  60. +])
  61. -# serial 52 AC_PROG_LIBTOOL
  62. +# serial 56 LT_INIT
  63. -# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
  64. -# -----------------------------------------------------------
  65. -# If this macro is not defined by Autoconf, define it here.
  66. -m4_ifdef([AC_PROVIDE_IFELSE],
  67. - [],
  68. - [m4_define([AC_PROVIDE_IFELSE],
  69. - [m4_ifdef([AC_PROVIDE_$1],
  70. - [$2], [$3])])])
  71. +# LT_PREREQ(VERSION)
  72. +# ------------------
  73. +# Complain and exit if this libtool version is less that VERSION.
  74. +m4_defun([LT_PREREQ],
  75. +[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
  76. + [m4_default([$3],
  77. + [m4_fatal([Libtool version $1 or higher is required],
  78. + 63)])],
  79. + [$2])])
  80. -# AC_PROG_LIBTOOL
  81. -# ---------------
  82. -AC_DEFUN([AC_PROG_LIBTOOL],
  83. -[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
  84. -dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
  85. -dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
  86. - AC_PROVIDE_IFELSE([AC_PROG_CXX],
  87. - [AC_LIBTOOL_CXX],
  88. - [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
  89. - ])])
  90. -dnl And a similar setup for Fortran 77 support
  91. - AC_PROVIDE_IFELSE([AC_PROG_F77],
  92. - [AC_LIBTOOL_F77],
  93. - [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
  94. -])])
  95. -
  96. -dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
  97. -dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
  98. -dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
  99. - AC_PROVIDE_IFELSE([AC_PROG_GCJ],
  100. - [AC_LIBTOOL_GCJ],
  101. - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
  102. - [AC_LIBTOOL_GCJ],
  103. - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
  104. - [AC_LIBTOOL_GCJ],
  105. - [ifdef([AC_PROG_GCJ],
  106. - [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
  107. - ifdef([A][M_PROG_GCJ],
  108. - [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
  109. - ifdef([LT_AC_PROG_GCJ],
  110. - [define([LT_AC_PROG_GCJ],
  111. - defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
  112. -])])# AC_PROG_LIBTOOL
  113. +# _LT_CHECK_BUILDDIR
  114. +# ------------------
  115. +# Complain if the absolute build directory name contains unusual characters
  116. +m4_defun([_LT_CHECK_BUILDDIR],
  117. +[case `pwd` in
  118. + *\ * | *\ *)
  119. + AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
  120. +esac
  121. +])
  122. -# _AC_PROG_LIBTOOL
  123. -# ----------------
  124. -AC_DEFUN([_AC_PROG_LIBTOOL],
  125. -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
  126. -AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
  127. -AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
  128. -AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
  129. +# LT_INIT([OPTIONS])
  130. +# ------------------
  131. +AC_DEFUN([LT_INIT],
  132. +[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
  133. +AC_BEFORE([$0], [LT_LANG])dnl
  134. +AC_BEFORE([$0], [LT_OUTPUT])dnl
  135. +AC_BEFORE([$0], [LTDL_INIT])dnl
  136. +m4_require([_LT_CHECK_BUILDDIR])dnl
  137. +
  138. +dnl Autoconf doesn't catch unexpanded LT_ macros by default:
  139. +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
  140. +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
  141. +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
  142. +dnl unless we require an AC_DEFUNed macro:
  143. +AC_REQUIRE([LTOPTIONS_VERSION])dnl
  144. +AC_REQUIRE([LTSUGAR_VERSION])dnl
  145. +AC_REQUIRE([LTVERSION_VERSION])dnl
  146. +AC_REQUIRE([LTOBSOLETE_VERSION])dnl
  147. +m4_require([_LT_PROG_LTMAIN])dnl
  148. +
  149. +dnl Parse OPTIONS
  150. +_LT_SET_OPTIONS([$0], [$1])
  151. # This can be used to rebuild libtool when needed
  152. -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
  153. +LIBTOOL_DEPS="$ltmain"
  154. # Always use our own libtool.
  155. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  156. AC_SUBST(LIBTOOL)dnl
  157. -# Prevent multiple expansion
  158. -define([AC_PROG_LIBTOOL], [])
  159. -])# _AC_PROG_LIBTOOL
  160. +_LT_SETUP
  161. +# Only expand once:
  162. +m4_define([LT_INIT])
  163. +])# LT_INIT
  164. +
  165. +# Old names:
  166. +AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
  167. +AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
  168. +dnl aclocal-1.4 backwards compatibility:
  169. +dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
  170. +dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
  171. -# AC_LIBTOOL_SETUP
  172. -# ----------------
  173. -AC_DEFUN([AC_LIBTOOL_SETUP],
  174. -[AC_PREREQ(2.50)dnl
  175. -AC_REQUIRE([AC_ENABLE_SHARED])dnl
  176. -AC_REQUIRE([AC_ENABLE_STATIC])dnl
  177. -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
  178. -AC_REQUIRE([AC_CANONICAL_HOST])dnl
  179. +
  180. +# _LT_CC_BASENAME(CC)
  181. +# -------------------
  182. +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  183. +m4_defun([_LT_CC_BASENAME],
  184. +[for cc_temp in $1""; do
  185. + case $cc_temp in
  186. + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
  187. + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
  188. + \-*) ;;
  189. + *) break;;
  190. + esac
  191. +done
  192. +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  193. +])
  194. +
  195. +
  196. +# _LT_FILEUTILS_DEFAULTS
  197. +# ----------------------
  198. +# It is okay to use these file commands and assume they have been set
  199. +# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
  200. +m4_defun([_LT_FILEUTILS_DEFAULTS],
  201. +[: ${CP="cp -f"}
  202. +: ${MV="mv -f"}
  203. +: ${RM="rm -f"}
  204. +])# _LT_FILEUTILS_DEFAULTS
  205. +
  206. +
  207. +# _LT_SETUP
  208. +# ---------
  209. +m4_defun([_LT_SETUP],
  210. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  211. AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  212. +_LT_DECL([], [host_alias], [0], [The host system])dnl
  213. +_LT_DECL([], [host], [0])dnl
  214. +_LT_DECL([], [host_os], [0])dnl
  215. +dnl
  216. +_LT_DECL([], [build_alias], [0], [The build system])dnl
  217. +_LT_DECL([], [build], [0])dnl
  218. +_LT_DECL([], [build_os], [0])dnl
  219. +dnl
  220. AC_REQUIRE([AC_PROG_CC])dnl
  221. -AC_REQUIRE([AC_PROG_LD])dnl
  222. -AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
  223. -AC_REQUIRE([AC_PROG_NM])dnl
  224. -
  225. +AC_REQUIRE([LT_PATH_LD])dnl
  226. +AC_REQUIRE([LT_PATH_NM])dnl
  227. +dnl
  228. AC_REQUIRE([AC_PROG_LN_S])dnl
  229. -AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
  230. -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
  231. -AC_REQUIRE([AC_OBJEXT])dnl
  232. -AC_REQUIRE([AC_EXEEXT])dnl
  233. +test -z "$LN_S" && LN_S="ln -s"
  234. +_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
  235. dnl
  236. -AC_LIBTOOL_SYS_MAX_CMD_LEN
  237. -AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  238. -AC_LIBTOOL_OBJDIR
  239. +AC_REQUIRE([LT_CMD_MAX_LEN])dnl
  240. +_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
  241. +_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
  242. +dnl
  243. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  244. +m4_require([_LT_CHECK_SHELL_FEATURES])dnl
  245. +m4_require([_LT_CMD_RELOAD])dnl
  246. +m4_require([_LT_CHECK_MAGIC_METHOD])dnl
  247. +m4_require([_LT_CMD_OLD_ARCHIVE])dnl
  248. +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  249. +
  250. +_LT_CONFIG_LIBTOOL_INIT([
  251. +# See if we are running on zsh, and set the options which allow our
  252. +# commands through without removal of \ escapes INIT.
  253. +if test -n "\${ZSH_VERSION+set}" ; then
  254. + setopt NO_GLOB_SUBST
  255. +fi
  256. +])
  257. +if test -n "${ZSH_VERSION+set}" ; then
  258. + setopt NO_GLOB_SUBST
  259. +fi
  260. -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
  261. -_LT_AC_PROG_ECHO_BACKSLASH
  262. +_LT_CHECK_OBJDIR
  263. +
  264. +m4_require([_LT_TAG_COMPILER])dnl
  265. +_LT_PROG_ECHO_BACKSLASH
  266. case $host_os in
  267. aix3*)
  268. @@ -130,116 +216,653 @@
  269. # Sed substitution that helps us do robust quoting. It backslashifies
  270. # metacharacters that are still active within double-quoted strings.
  271. -Xsed='sed -e 1s/^X//'
  272. -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
  273. +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
  274. # Same as above, but do not quote variable references.
  275. -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
  276. +double_quote_subst='s/\([["`\\]]\)/\\\1/g'
  277. # Sed substitution to delay expansion of an escaped shell variable in a
  278. # double_quote_subst'ed string.
  279. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  280. +# Sed substitution to delay expansion of an escaped single quote.
  281. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  282. +
  283. # Sed substitution to avoid accidental globbing in evaled expressions
  284. no_glob_subst='s/\*/\\\*/g'
  285. -# Constants:
  286. -rm="rm -f"
  287. -
  288. # Global variables:
  289. -default_ofile=libtool
  290. +ofile=libtool
  291. can_build_shared=yes
  292. # All known linkers require a `.a' archive for static linking (except MSVC,
  293. # which needs '.lib').
  294. libext=a
  295. -ltmain="$ac_aux_dir/ltmain.sh"
  296. -ofile="$default_ofile"
  297. -with_gnu_ld="$lt_cv_prog_gnu_ld"
  298. -AC_CHECK_TOOL(AR, ar, false)
  299. -AC_CHECK_TOOL(RANLIB, ranlib, :)
  300. -AC_CHECK_TOOL(STRIP, strip, :)
  301. +with_gnu_ld="$lt_cv_prog_gnu_ld"
  302. old_CC="$CC"
  303. old_CFLAGS="$CFLAGS"
  304. # Set sane defaults for various variables
  305. -test -z "$AR" && AR=ar
  306. -test -z "$AR_FLAGS" && AR_FLAGS=cru
  307. -test -z "$AS" && AS=as
  308. test -z "$CC" && CC=cc
  309. test -z "$LTCC" && LTCC=$CC
  310. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  311. -test -z "$DLLTOOL" && DLLTOOL=dlltool
  312. test -z "$LD" && LD=ld
  313. -test -z "$LN_S" && LN_S="ln -s"
  314. -test -z "$MAGIC_CMD" && MAGIC_CMD=file
  315. -test -z "$NM" && NM=nm
  316. -test -z "$SED" && SED=sed
  317. -test -z "$OBJDUMP" && OBJDUMP=objdump
  318. -test -z "$RANLIB" && RANLIB=:
  319. -test -z "$STRIP" && STRIP=:
  320. test -z "$ac_objext" && ac_objext=o
  321. -# Determine commands to create old-style static archives.
  322. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  323. -old_postinstall_cmds='chmod 644 $oldlib'
  324. -old_postuninstall_cmds=
  325. -
  326. -if test -n "$RANLIB"; then
  327. - case $host_os in
  328. - openbsd*)
  329. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  330. - ;;
  331. - *)
  332. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  333. - ;;
  334. - esac
  335. - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  336. -fi
  337. -
  338. _LT_CC_BASENAME([$compiler])
  339. # Only perform the check for file, if the check method requires it
  340. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  341. case $deplibs_check_method in
  342. file_magic*)
  343. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  344. - AC_PATH_MAGIC
  345. + _LT_PATH_MAGIC
  346. fi
  347. ;;
  348. esac
  349. -_LT_REQUIRED_DARWIN_CHECKS
  350. +# Use C for the default configuration in the libtool script
  351. +LT_SUPPORTED_TAG([CC])
  352. +_LT_LANG_C_CONFIG
  353. +_LT_LANG_DEFAULT_CONFIG
  354. +_LT_CONFIG_COMMANDS
  355. +])# _LT_SETUP
  356. +
  357. -AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
  358. -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
  359. -enable_win32_dll=yes, enable_win32_dll=no)
  360. -
  361. -AC_ARG_ENABLE([libtool-lock],
  362. - [AC_HELP_STRING([--disable-libtool-lock],
  363. - [avoid locking (might break parallel builds)])])
  364. -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  365. +# _LT_PROG_LTMAIN
  366. +# ---------------
  367. +# Note that this code is called both from `configure', and `config.status'
  368. +# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
  369. +# `config.status' has no value for ac_aux_dir unless we are using Automake,
  370. +# so we pass a copy along to make sure it has a sensible value anyway.
  371. +m4_defun([_LT_PROG_LTMAIN],
  372. +[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
  373. +_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
  374. +ltmain="$ac_aux_dir/ltmain.sh"
  375. +])# _LT_PROG_LTMAIN
  376. -AC_ARG_WITH([pic],
  377. - [AC_HELP_STRING([--with-pic],
  378. - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
  379. - [pic_mode="$withval"],
  380. - [pic_mode=default])
  381. -test -z "$pic_mode" && pic_mode=default
  382. -# Use C for the default configuration in the libtool script
  383. -tagname=
  384. -AC_LIBTOOL_LANG_C_CONFIG
  385. -_LT_AC_TAGCONFIG
  386. -])# AC_LIBTOOL_SETUP
  387. +
  388. +# So that we can recreate a full libtool script including additional
  389. +# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
  390. +# in macros and then make a single call at the end using the `libtool'
  391. +# label.
  392. +
  393. +
  394. +# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
  395. +# ----------------------------------------
  396. +# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
  397. +m4_define([_LT_CONFIG_LIBTOOL_INIT],
  398. +[m4_ifval([$1],
  399. + [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
  400. + [$1
  401. +])])])
  402. +
  403. +# Initialize.
  404. +m4_define([_LT_OUTPUT_LIBTOOL_INIT])
  405. +
  406. +
  407. +# _LT_CONFIG_LIBTOOL([COMMANDS])
  408. +# ------------------------------
  409. +# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
  410. +m4_define([_LT_CONFIG_LIBTOOL],
  411. +[m4_ifval([$1],
  412. + [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
  413. + [$1
  414. +])])])
  415. +
  416. +# Initialize.
  417. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
  418. +
  419. +
  420. +# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
  421. +# -----------------------------------------------------
  422. +m4_defun([_LT_CONFIG_SAVE_COMMANDS],
  423. +[_LT_CONFIG_LIBTOOL([$1])
  424. +_LT_CONFIG_LIBTOOL_INIT([$2])
  425. +])
  426. +
  427. +
  428. +# _LT_FORMAT_COMMENT([COMMENT])
  429. +# -----------------------------
  430. +# Add leading comment marks to the start of each line, and a trailing
  431. +# full-stop to the whole comment if one is not present already.
  432. +m4_define([_LT_FORMAT_COMMENT],
  433. +[m4_ifval([$1], [
  434. +m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
  435. + [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
  436. +)])
  437. +
  438. +
  439. +
  440. +
  441. +
  442. +# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
  443. +# -------------------------------------------------------------------
  444. +# CONFIGNAME is the name given to the value in the libtool script.
  445. +# VARNAME is the (base) name used in the configure script.
  446. +# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
  447. +# VARNAME. Any other value will be used directly.
  448. +m4_define([_LT_DECL],
  449. +[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
  450. + [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
  451. + [m4_ifval([$1], [$1], [$2])])
  452. + lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
  453. + m4_ifval([$4],
  454. + [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
  455. + lt_dict_add_subkey([lt_decl_dict], [$2],
  456. + [tagged?], [m4_ifval([$5], [yes], [no])])])
  457. +])
  458. +
  459. +
  460. +# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
  461. +# --------------------------------------------------------
  462. +m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
  463. +
  464. +
  465. +# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
  466. +# ------------------------------------------------
  467. +m4_define([lt_decl_tag_varnames],
  468. +[_lt_decl_filter([tagged?], [yes], $@)])
  469. +
  470. +
  471. +# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
  472. +# ---------------------------------------------------------
  473. +m4_define([_lt_decl_filter],
  474. +[m4_case([$#],
  475. + [0], [m4_fatal([$0: too few arguments: $#])],
  476. + [1], [m4_fatal([$0: too few arguments: $#: $1])],
  477. + [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
  478. + [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
  479. + [lt_dict_filter([lt_decl_dict], $@)])[]dnl
  480. +])
  481. +
  482. +
  483. +# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
  484. +# --------------------------------------------------
  485. +m4_define([lt_decl_quote_varnames],
  486. +[_lt_decl_filter([value], [1], $@)])
  487. +
  488. +
  489. +# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
  490. +# ---------------------------------------------------
  491. +m4_define([lt_decl_dquote_varnames],
  492. +[_lt_decl_filter([value], [2], $@)])
  493. +
  494. +
  495. +# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
  496. +# ---------------------------------------------------
  497. +m4_define([lt_decl_varnames_tagged],
  498. +[m4_assert([$# <= 2])dnl
  499. +_$0(m4_quote(m4_default([$1], [[, ]])),
  500. + m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
  501. + m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
  502. +m4_define([_lt_decl_varnames_tagged],
  503. +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
  504. +
  505. +
  506. +# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
  507. +# ------------------------------------------------
  508. +m4_define([lt_decl_all_varnames],
  509. +[_$0(m4_quote(m4_default([$1], [[, ]])),
  510. + m4_if([$2], [],
  511. + m4_quote(lt_decl_varnames),
  512. + m4_quote(m4_shift($@))))[]dnl
  513. +])
  514. +m4_define([_lt_decl_all_varnames],
  515. +[lt_join($@, lt_decl_varnames_tagged([$1],
  516. + lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
  517. +])
  518. +
  519. +
  520. +# _LT_CONFIG_STATUS_DECLARE([VARNAME])
  521. +# ------------------------------------
  522. +# Quote a variable value, and forward it to `config.status' so that its
  523. +# declaration there will have the same value as in `configure'. VARNAME
  524. +# must have a single quote delimited value for this to work.
  525. +m4_define([_LT_CONFIG_STATUS_DECLARE],
  526. +[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
  527. +
  528. +
  529. +# _LT_CONFIG_STATUS_DECLARATIONS
  530. +# ------------------------------
  531. +# We delimit libtool config variables with single quotes, so when
  532. +# we write them to config.status, we have to be sure to quote all
  533. +# embedded single quotes properly. In configure, this macro expands
  534. +# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
  535. +#
  536. +# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
  537. +m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
  538. +[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
  539. + [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
  540. +
  541. +
  542. +# _LT_LIBTOOL_TAGS
  543. +# ----------------
  544. +# Output comment and list of tags supported by the script
  545. +m4_defun([_LT_LIBTOOL_TAGS],
  546. +[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
  547. +available_tags="_LT_TAGS"dnl
  548. +])
  549. +
  550. +
  551. +# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
  552. +# -----------------------------------
  553. +# Extract the dictionary values for VARNAME (optionally with TAG) and
  554. +# expand to a commented shell variable setting:
  555. +#
  556. +# # Some comment about what VAR is for.
  557. +# visible_name=$lt_internal_name
  558. +m4_define([_LT_LIBTOOL_DECLARE],
  559. +[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
  560. + [description])))[]dnl
  561. +m4_pushdef([_libtool_name],
  562. + m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
  563. +m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
  564. + [0], [_libtool_name=[$]$1],
  565. + [1], [_libtool_name=$lt_[]$1],
  566. + [2], [_libtool_name=$lt_[]$1],
  567. + [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
  568. +m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
  569. +])
  570. +
  571. +
  572. +# _LT_LIBTOOL_CONFIG_VARS
  573. +# -----------------------
  574. +# Produce commented declarations of non-tagged libtool config variables
  575. +# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
  576. +# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
  577. +# section) are produced by _LT_LIBTOOL_TAG_VARS.
  578. +m4_defun([_LT_LIBTOOL_CONFIG_VARS],
  579. +[m4_foreach([_lt_var],
  580. + m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
  581. + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
  582. +
  583. +
  584. +# _LT_LIBTOOL_TAG_VARS(TAG)
  585. +# -------------------------
  586. +m4_define([_LT_LIBTOOL_TAG_VARS],
  587. +[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
  588. + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
  589. +
  590. +
  591. +# _LT_TAGVAR(VARNAME, [TAGNAME])
  592. +# ------------------------------
  593. +m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
  594. -# _LT_AC_SYS_COMPILER
  595. +# _LT_CONFIG_COMMANDS
  596. # -------------------
  597. -AC_DEFUN([_LT_AC_SYS_COMPILER],
  598. +# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
  599. +# variables for single and double quote escaping we saved from calls
  600. +# to _LT_DECL, we can put quote escaped variables declarations
  601. +# into `config.status', and then the shell code to quote escape them in
  602. +# for loops in `config.status'. Finally, any additional code accumulated
  603. +# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
  604. +m4_defun([_LT_CONFIG_COMMANDS],
  605. +[AC_PROVIDE_IFELSE([LT_OUTPUT],
  606. + dnl If the libtool generation code has been placed in $CONFIG_LT,
  607. + dnl instead of duplicating it all over again into config.status,
  608. + dnl then we will have config.status run $CONFIG_LT later, so it
  609. + dnl needs to know what name is stored there:
  610. + [AC_CONFIG_COMMANDS([libtool],
  611. + [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
  612. + dnl If the libtool generation code is destined for config.status,
  613. + dnl expand the accumulated commands and init code now:
  614. + [AC_CONFIG_COMMANDS([libtool],
  615. + [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
  616. +])#_LT_CONFIG_COMMANDS
  617. +
  618. +
  619. +# Initialize.
  620. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
  621. +[
  622. +
  623. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  624. +# if CDPATH is set.
  625. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  626. +
  627. +sed_quote_subst='$sed_quote_subst'
  628. +double_quote_subst='$double_quote_subst'
  629. +delay_variable_subst='$delay_variable_subst'
  630. +_LT_CONFIG_STATUS_DECLARATIONS
  631. +LTCC='$LTCC'
  632. +LTCFLAGS='$LTCFLAGS'
  633. +compiler='$compiler_DEFAULT'
  634. +
  635. +# Quote evaled strings.
  636. +for var in lt_decl_all_varnames([[ \
  637. +]], lt_decl_quote_varnames); do
  638. + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  639. + *[[\\\\\\\`\\"\\\$]]*)
  640. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  641. + ;;
  642. + *)
  643. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  644. + ;;
  645. + esac
  646. +done
  647. +
  648. +# Double-quote double-evaled strings.
  649. +for var in lt_decl_all_varnames([[ \
  650. +]], lt_decl_dquote_varnames); do
  651. + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  652. + *[[\\\\\\\`\\"\\\$]]*)
  653. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  654. + ;;
  655. + *)
  656. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  657. + ;;
  658. + esac
  659. +done
  660. +
  661. +# Fix-up fallback echo if it was mangled by the above quoting rules.
  662. +case \$lt_ECHO in
  663. +*'\\\[$]0 --fallback-echo"')dnl "
  664. + lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
  665. + ;;
  666. +esac
  667. +
  668. +_LT_OUTPUT_LIBTOOL_INIT
  669. +])
  670. +
  671. +
  672. +# LT_OUTPUT
  673. +# ---------
  674. +# This macro allows early generation of the libtool script (before
  675. +# AC_OUTPUT is called), incase it is used in configure for compilation
  676. +# tests.
  677. +AC_DEFUN([LT_OUTPUT],
  678. +[: ${CONFIG_LT=./config.lt}
  679. +AC_MSG_NOTICE([creating $CONFIG_LT])
  680. +cat >"$CONFIG_LT" <<_LTEOF
  681. +#! $SHELL
  682. +# Generated by $as_me.
  683. +# Run this file to recreate a libtool stub with the current configuration.
  684. +
  685. +lt_cl_silent=false
  686. +SHELL=\${CONFIG_SHELL-$SHELL}
  687. +_LTEOF
  688. +
  689. +cat >>"$CONFIG_LT" <<\_LTEOF
  690. +AS_SHELL_SANITIZE
  691. +_AS_PREPARE
  692. +
  693. +exec AS_MESSAGE_FD>&1
  694. +exec AS_MESSAGE_LOG_FD>>config.log
  695. +{
  696. + echo
  697. + AS_BOX([Running $as_me.])
  698. +} >&AS_MESSAGE_LOG_FD
  699. +
  700. +lt_cl_help="\
  701. +\`$as_me' creates a local libtool stub from the current configuration,
  702. +for use in further configure time tests before the real libtool is
  703. +generated.
  704. +
  705. +Usage: $[0] [[OPTIONS]]
  706. +
  707. + -h, --help print this help, then exit
  708. + -V, --version print version number, then exit
  709. + -q, --quiet do not print progress messages
  710. + -d, --debug don't remove temporary files
  711. +
  712. +Report bugs to <bug-libtool@gnu.org>."
  713. +
  714. +lt_cl_version="\
  715. +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
  716. +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  717. +configured by $[0], generated by m4_PACKAGE_STRING.
  718. +
  719. +Copyright (C) 2008 Free Software Foundation, Inc.
  720. +This config.lt script is free software; the Free Software Foundation
  721. +gives unlimited permision to copy, distribute and modify it."
  722. +
  723. +while test $[#] != 0
  724. +do
  725. + case $[1] in
  726. + --version | --v* | -V )
  727. + echo "$lt_cl_version"; exit 0 ;;
  728. + --help | --h* | -h )
  729. + echo "$lt_cl_help"; exit 0 ;;
  730. + --debug | --d* | -d )
  731. + debug=: ;;
  732. + --quiet | --q* | --silent | --s* | -q )
  733. + lt_cl_silent=: ;;
  734. +
  735. + -*) AC_MSG_ERROR([unrecognized option: $[1]
  736. +Try \`$[0] --help' for more information.]) ;;
  737. +
  738. + *) AC_MSG_ERROR([unrecognized argument: $[1]
  739. +Try \`$[0] --help' for more information.]) ;;
  740. + esac
  741. + shift
  742. +done
  743. +
  744. +if $lt_cl_silent; then
  745. + exec AS_MESSAGE_FD>/dev/null
  746. +fi
  747. +_LTEOF
  748. +
  749. +cat >>"$CONFIG_LT" <<_LTEOF
  750. +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
  751. +_LTEOF
  752. +
  753. +cat >>"$CONFIG_LT" <<\_LTEOF
  754. +AC_MSG_NOTICE([creating $ofile])
  755. +_LT_OUTPUT_LIBTOOL_COMMANDS
  756. +AS_EXIT(0)
  757. +_LTEOF
  758. +chmod +x "$CONFIG_LT"
  759. +
  760. +# configure is writing to config.log, but config.lt does its own redirection,
  761. +# appending to config.log, which fails on DOS, as config.log is still kept
  762. +# open by configure. Here we exec the FD to /dev/null, effectively closing
  763. +# config.log, so it can be properly (re)opened and appended to by config.lt.
  764. +if test "$no_create" != yes; then
  765. + lt_cl_success=:
  766. + test "$silent" = yes &&
  767. + lt_config_lt_args="$lt_config_lt_args --quiet"
  768. + exec AS_MESSAGE_LOG_FD>/dev/null
  769. + $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  770. + exec AS_MESSAGE_LOG_FD>>config.log
  771. + $lt_cl_success || AS_EXIT(1)
  772. +fi
  773. +])# LT_OUTPUT
  774. +
  775. +
  776. +# _LT_CONFIG(TAG)
  777. +# ---------------
  778. +# If TAG is the built-in tag, create an initial libtool script with a
  779. +# default configuration from the untagged config vars. Otherwise add code
  780. +# to config.status for appending the configuration named by TAG from the
  781. +# matching tagged config vars.
  782. +m4_defun([_LT_CONFIG],
  783. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  784. +_LT_CONFIG_SAVE_COMMANDS([
  785. + m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
  786. + m4_if(_LT_TAG, [C], [
  787. + # See if we are running on zsh, and set the options which allow our
  788. + # commands through without removal of \ escapes.
  789. + if test -n "${ZSH_VERSION+set}" ; then
  790. + setopt NO_GLOB_SUBST
  791. + fi
  792. +
  793. + cfgfile="${ofile}T"
  794. + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  795. + $RM "$cfgfile"
  796. +
  797. + cat <<_LT_EOF >> "$cfgfile"
  798. +#! $SHELL
  799. +
  800. +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  801. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  802. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  803. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  804. +#
  805. +_LT_COPYING
  806. +_LT_LIBTOOL_TAGS
  807. +
  808. +# ### BEGIN LIBTOOL CONFIG
  809. +_LT_LIBTOOL_CONFIG_VARS
  810. +_LT_LIBTOOL_TAG_VARS
  811. +# ### END LIBTOOL CONFIG
  812. +
  813. +_LT_EOF
  814. +
  815. + case $host_os in
  816. + aix3*)
  817. + cat <<\_LT_EOF >> "$cfgfile"
  818. +# AIX sometimes has problems with the GCC collect2 program. For some
  819. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  820. +# vanish in a puff of smoke.
  821. +if test "X${COLLECT_NAMES+set}" != Xset; then
  822. + COLLECT_NAMES=
  823. + export COLLECT_NAMES
  824. +fi
  825. +_LT_EOF
  826. + ;;
  827. + esac
  828. +
  829. + _LT_PROG_LTMAIN
  830. +
  831. + # We use sed instead of cat because bash on DJGPP gets confused if
  832. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  833. + # text mode, it properly converts lines to CR/LF. This bash problem
  834. + # is reportedly fixed, but why not run on old versions too?
  835. + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  836. + || (rm -f "$cfgfile"; exit 1)
  837. +
  838. + _LT_PROG_XSI_SHELLFNS
  839. +
  840. + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  841. + || (rm -f "$cfgfile"; exit 1)
  842. +
  843. + mv -f "$cfgfile" "$ofile" ||
  844. + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  845. + chmod +x "$ofile"
  846. +],
  847. +[cat <<_LT_EOF >> "$ofile"
  848. +
  849. +dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
  850. +dnl in a comment (ie after a #).
  851. +# ### BEGIN LIBTOOL TAG CONFIG: $1
  852. +_LT_LIBTOOL_TAG_VARS(_LT_TAG)
  853. +# ### END LIBTOOL TAG CONFIG: $1
  854. +_LT_EOF
  855. +])dnl /m4_if
  856. +],
  857. +[m4_if([$1], [], [
  858. + PACKAGE='$PACKAGE'
  859. + VERSION='$VERSION'
  860. + TIMESTAMP='$TIMESTAMP'
  861. + RM='$RM'
  862. + ofile='$ofile'], [])
  863. +])dnl /_LT_CONFIG_SAVE_COMMANDS
  864. +])# _LT_CONFIG
  865. +
  866. +
  867. +# LT_SUPPORTED_TAG(TAG)
  868. +# ---------------------
  869. +# Trace this macro to discover what tags are supported by the libtool
  870. +# --tag option, using:
  871. +# autoconf --trace 'LT_SUPPORTED_TAG:$1'
  872. +AC_DEFUN([LT_SUPPORTED_TAG], [])
  873. +
  874. +
  875. +# C support is built-in for now
  876. +m4_define([_LT_LANG_C_enabled], [])
  877. +m4_define([_LT_TAGS], [])
  878. +
  879. +
  880. +# LT_LANG(LANG)
  881. +# -------------
  882. +# Enable libtool support for the given language if not already enabled.
  883. +AC_DEFUN([LT_LANG],
  884. +[AC_BEFORE([$0], [LT_OUTPUT])dnl
  885. +m4_case([$1],
  886. + [C], [_LT_LANG(C)],
  887. + [C++], [_LT_LANG(CXX)],
  888. + [Java], [_LT_LANG(GCJ)],
  889. + [Fortran 77], [_LT_LANG(F77)],
  890. + [Fortran], [_LT_LANG(FC)],
  891. + [Windows Resource], [_LT_LANG(RC)],
  892. + [m4_ifdef([_LT_LANG_]$1[_CONFIG],
  893. + [_LT_LANG($1)],
  894. + [m4_fatal([$0: unsupported language: "$1"])])])dnl
  895. +])# LT_LANG
  896. +
  897. +
  898. +# _LT_LANG(LANGNAME)
  899. +# ------------------
  900. +m4_defun([_LT_LANG],
  901. +[m4_ifdef([_LT_LANG_]$1[_enabled], [],
  902. + [LT_SUPPORTED_TAG([$1])dnl
  903. + m4_append([_LT_TAGS], [$1 ])dnl
  904. + m4_define([_LT_LANG_]$1[_enabled], [])dnl
  905. + _LT_LANG_$1_CONFIG($1)])dnl
  906. +])# _LT_LANG
  907. +
  908. +
  909. +# _LT_LANG_DEFAULT_CONFIG
  910. +# -----------------------
  911. +m4_defun([_LT_LANG_DEFAULT_CONFIG],
  912. +[AC_PROVIDE_IFELSE([AC_PROG_CXX],
  913. + [LT_LANG(CXX)],
  914. + [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
  915. +
  916. +AC_PROVIDE_IFELSE([AC_PROG_F77],
  917. + [LT_LANG(F77)],
  918. + [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
  919. +
  920. +AC_PROVIDE_IFELSE([AC_PROG_FC],
  921. + [LT_LANG(FC)],
  922. + [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
  923. +
  924. +dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
  925. +dnl pulling things in needlessly.
  926. +AC_PROVIDE_IFELSE([AC_PROG_GCJ],
  927. + [LT_LANG(GCJ)],
  928. + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
  929. + [LT_LANG(GCJ)],
  930. + [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
  931. + [LT_LANG(GCJ)],
  932. + [m4_ifdef([AC_PROG_GCJ],
  933. + [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
  934. + m4_ifdef([A][M_PROG_GCJ],
  935. + [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
  936. + m4_ifdef([LT_PROG_GCJ],
  937. + [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
  938. +
  939. +AC_PROVIDE_IFELSE([LT_PROG_RC],
  940. + [LT_LANG(RC)],
  941. + [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
  942. +])# _LT_LANG_DEFAULT_CONFIG
  943. +
  944. +# Obsolete macros:
  945. +AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
  946. +AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  947. +AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  948. +AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  949. +dnl aclocal-1.4 backwards compatibility:
  950. +dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
  951. +dnl AC_DEFUN([AC_LIBTOOL_F77], [])
  952. +dnl AC_DEFUN([AC_LIBTOOL_FC], [])
  953. +dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
  954. +
  955. +
  956. +# _LT_TAG_COMPILER
  957. +# ----------------
  958. +m4_defun([_LT_TAG_COMPILER],
  959. [AC_REQUIRE([AC_PROG_CC])dnl
  960. +_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
  961. +_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
  962. +_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
  963. +_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
  964. +
  965. # If no C compiler was specified, use CC.
  966. LTCC=${LTCC-"$CC"}
  967. @@ -248,36 +871,20 @@
  968. # Allow CC to be a program name with arguments.
  969. compiler=$CC
  970. -])# _LT_AC_SYS_COMPILER
  971. -
  972. -
  973. -# _LT_CC_BASENAME(CC)
  974. -# -------------------
  975. -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  976. -AC_DEFUN([_LT_CC_BASENAME],
  977. -[for cc_temp in $1""; do
  978. - case $cc_temp in
  979. - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
  980. - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
  981. - \-*) ;;
  982. - *) break;;
  983. - esac
  984. -done
  985. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  986. -])
  987. +])# _LT_TAG_COMPILER
  988. # _LT_COMPILER_BOILERPLATE
  989. # ------------------------
  990. # Check for compiler boilerplate output or warnings with
  991. # the simple compiler test code.
  992. -AC_DEFUN([_LT_COMPILER_BOILERPLATE],
  993. -[AC_REQUIRE([LT_AC_PROG_SED])dnl
  994. +m4_defun([_LT_COMPILER_BOILERPLATE],
  995. +[m4_require([_LT_DECL_SED])dnl
  996. ac_outfile=conftest.$ac_objext
  997. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  998. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  999. _lt_compiler_boilerplate=`cat conftest.err`
  1000. -$rm conftest*
  1001. +$RM conftest*
  1002. ])# _LT_COMPILER_BOILERPLATE
  1003. @@ -285,39 +892,57 @@
  1004. # ----------------------
  1005. # Check for linker boilerplate output or warnings with
  1006. # the simple link test code.
  1007. -AC_DEFUN([_LT_LINKER_BOILERPLATE],
  1008. -[AC_REQUIRE([LT_AC_PROG_SED])dnl
  1009. +m4_defun([_LT_LINKER_BOILERPLATE],
  1010. +[m4_require([_LT_DECL_SED])dnl
  1011. ac_outfile=conftest.$ac_objext
  1012. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  1013. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  1014. _lt_linker_boilerplate=`cat conftest.err`
  1015. -$rm -r conftest*
  1016. +$RM -r conftest*
  1017. ])# _LT_LINKER_BOILERPLATE
  1018. # _LT_REQUIRED_DARWIN_CHECKS
  1019. -# --------------------------
  1020. -# Check for some things on darwin
  1021. -AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
  1022. +# -------------------------
  1023. +m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
  1024. case $host_os in
  1025. rhapsody* | darwin*)
  1026. AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
  1027. AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
  1028. + AC_CHECK_TOOL([LIPO], [lipo], [:])
  1029. + AC_CHECK_TOOL([OTOOL], [otool], [:])
  1030. + AC_CHECK_TOOL([OTOOL64], [otool64], [:])
  1031. + _LT_DECL([], [DSYMUTIL], [1],
  1032. + [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
  1033. + _LT_DECL([], [NMEDIT], [1],
  1034. + [Tool to change global to local symbols on Mac OS X])
  1035. + _LT_DECL([], [LIPO], [1],
  1036. + [Tool to manipulate fat objects and archives on Mac OS X])
  1037. + _LT_DECL([], [OTOOL], [1],
  1038. + [ldd/readelf like tool for Mach-O binaries on Mac OS X])
  1039. + _LT_DECL([], [OTOOL64], [1],
  1040. + [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
  1041. AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
  1042. [lt_cv_apple_cc_single_mod=no
  1043. if test -z "${LT_MULTI_MODULE}"; then
  1044. - # By default we will add the -single_module flag. You can override
  1045. - # by either setting the environment variable LT_MULTI_MODULE
  1046. - # non-empty at configure time, or by adding -multi_module to the
  1047. - # link flags.
  1048. - echo "int foo(void){return 1;}" > conftest.c
  1049. - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  1050. - -dynamiclib ${wl}-single_module conftest.c
  1051. - if test -f libconftest.dylib; then
  1052. - lt_cv_apple_cc_single_mod=yes
  1053. - rm -rf libconftest.dylib*
  1054. - fi
  1055. - rm conftest.c
  1056. + # By default we will add the -single_module flag. You can override
  1057. + # by either setting the environment variable LT_MULTI_MODULE
  1058. + # non-empty at configure time, or by adding -multi_module to the
  1059. + # link flags.
  1060. + rm -rf libconftest.dylib*
  1061. + echo "int foo(void){return 1;}" > conftest.c
  1062. + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  1063. +-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
  1064. + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  1065. + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  1066. + _lt_result=$?
  1067. + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  1068. + lt_cv_apple_cc_single_mod=yes
  1069. + else
  1070. + cat conftest.err >&AS_MESSAGE_LOG_FD
  1071. + fi
  1072. + rm -rf libconftest.dylib*
  1073. + rm -f conftest.*
  1074. fi])
  1075. AC_CACHE_CHECK([for -exported_symbols_list linker flag],
  1076. [lt_cv_ld_exported_symbols_list],
  1077. @@ -326,26 +951,26 @@
  1078. echo "_main" > conftest.sym
  1079. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  1080. AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  1081. - [lt_cv_ld_exported_symbols_list=yes],
  1082. - [lt_cv_ld_exported_symbols_list=no])
  1083. - LDFLAGS="$save_LDFLAGS"
  1084. + [lt_cv_ld_exported_symbols_list=yes],
  1085. + [lt_cv_ld_exported_symbols_list=no])
  1086. + LDFLAGS="$save_LDFLAGS"
  1087. ])
  1088. case $host_os in
  1089. - rhapsody* | darwin1.[[0123]])
  1090. + rhapsody* | darwin1.[[012]])
  1091. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  1092. darwin1.*)
  1093. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  1094. - darwin*)
  1095. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  1096. + darwin*) # darwin 5.x on
  1097. # if running on 10.5 or later, the deployment target defaults
  1098. # to the OS version, if on x86, and 10.4, the deployment
  1099. # target defaults to 10.4. Don't you love it?
  1100. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  1101. - 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
  1102. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  1103. - 10.[[012]]*)
  1104. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  1105. - 10.*)
  1106. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  1107. + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
  1108. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  1109. + 10.[[012]]*)
  1110. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  1111. + 10.*)
  1112. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  1113. esac
  1114. ;;
  1115. esac
  1116. @@ -355,10 +980,10 @@
  1117. if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  1118. _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  1119. else
  1120. - _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
  1121. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  1122. fi
  1123. if test "$DSYMUTIL" != ":"; then
  1124. - _lt_dsymutil="~$DSYMUTIL \$lib || :"
  1125. + _lt_dsymutil='~$DSYMUTIL $lib || :'
  1126. else
  1127. _lt_dsymutil=
  1128. fi
  1129. @@ -366,16 +991,51 @@
  1130. esac
  1131. ])
  1132. -# _LT_AC_SYS_LIBPATH_AIX
  1133. -# ----------------------
  1134. -# Links a minimal program and checks the executable
  1135. -# for the system default hardcoded library path. In most cases,
  1136. -# this is /usr/lib:/lib, but when the MPI compilers are used
  1137. +
  1138. +# _LT_DARWIN_LINKER_FEATURES
  1139. +# --------------------------
  1140. +# Checks for linker and compiler features on darwin
  1141. +m4_defun([_LT_DARWIN_LINKER_FEATURES],
  1142. +[
  1143. + m4_require([_LT_REQUIRED_DARWIN_CHECKS])
  1144. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  1145. + _LT_TAGVAR(hardcode_direct, $1)=no
  1146. + _LT_TAGVAR(hardcode_automatic, $1)=yes
  1147. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  1148. + _LT_TAGVAR(whole_archive_flag_spec, $1)=''
  1149. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  1150. + _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
  1151. + case $cc_basename in
  1152. + ifort*) _lt_dar_can_shared=yes ;;
  1153. + *) _lt_dar_can_shared=$GCC ;;
  1154. + esac
  1155. + if test "$_lt_dar_can_shared" = "yes"; then
  1156. + output_verbose_link_cmd=echo
  1157. + _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  1158. + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  1159. + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  1160. + _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  1161. + m4_if([$1], [CXX],
  1162. +[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  1163. + _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
  1164. + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
  1165. + fi
  1166. +],[])
  1167. + else
  1168. + _LT_TAGVAR(ld_shlibs, $1)=no
  1169. + fi
  1170. +])
  1171. +
  1172. +# _LT_SYS_MODULE_PATH_AIX
  1173. +# -----------------------
  1174. +# Links a minimal program and checks the executable
  1175. +# for the system default hardcoded library path. In most cases,
  1176. +# this is /usr/lib:/lib, but when the MPI compilers are used
  1177. # the location of the communication and MPI libs are included too.
  1178. # If we don't find anything, use the default library path according
  1179. # to the aix ld manual.
  1180. -AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
  1181. -[AC_REQUIRE([LT_AC_PROG_SED])dnl
  1182. +m4_defun([_LT_SYS_MODULE_PATH_AIX],
  1183. +[m4_require([_LT_DECL_SED])dnl
  1184. AC_LINK_IFELSE(AC_LANG_PROGRAM,[
  1185. lt_aix_libpath_sed='
  1186. /Import File Strings/,/^$/ {
  1187. @@ -390,45 +1050,45 @@
  1188. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  1189. fi],[])
  1190. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  1191. -])# _LT_AC_SYS_LIBPATH_AIX
  1192. +])# _LT_SYS_MODULE_PATH_AIX
  1193. -# _LT_AC_SHELL_INIT(ARG)
  1194. -# ----------------------
  1195. -AC_DEFUN([_LT_AC_SHELL_INIT],
  1196. +# _LT_SHELL_INIT(ARG)
  1197. +# -------------------
  1198. +m4_define([_LT_SHELL_INIT],
  1199. [ifdef([AC_DIVERSION_NOTICE],
  1200. [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
  1201. [AC_DIVERT_PUSH(NOTICE)])
  1202. $1
  1203. AC_DIVERT_POP
  1204. -])# _LT_AC_SHELL_INIT
  1205. +])# _LT_SHELL_INIT
  1206. -# _LT_AC_PROG_ECHO_BACKSLASH
  1207. -# --------------------------
  1208. +# _LT_PROG_ECHO_BACKSLASH
  1209. +# -----------------------
  1210. # Add some code to the start of the generated configure script which
  1211. # will find an echo command which doesn't interpret backslashes.
  1212. -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
  1213. -[_LT_AC_SHELL_INIT([
  1214. +m4_defun([_LT_PROG_ECHO_BACKSLASH],
  1215. +[_LT_SHELL_INIT([
  1216. # Check that we are running under the correct shell.
  1217. SHELL=${CONFIG_SHELL-/bin/sh}
  1218. -case X$ECHO in
  1219. +case X$lt_ECHO in
  1220. X*--fallback-echo)
  1221. # Remove one level of quotation (which was required for Make).
  1222. - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
  1223. + ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
  1224. ;;
  1225. esac
  1226. -echo=${ECHO-echo}
  1227. +ECHO=${lt_ECHO-echo}
  1228. if test "X[$]1" = X--no-reexec; then
  1229. # Discard the --no-reexec flag, and continue.
  1230. shift
  1231. elif test "X[$]1" = X--fallback-echo; then
  1232. # Avoid inline document here, it may be left over
  1233. :
  1234. -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  1235. - # Yippee, $echo works!
  1236. +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  1237. + # Yippee, $ECHO works!
  1238. :
  1239. else
  1240. # Restart under the correct shell.
  1241. @@ -438,9 +1098,9 @@
  1242. if test "X[$]1" = X--fallback-echo; then
  1243. # used as fallback echo
  1244. shift
  1245. - cat <<EOF
  1246. + cat <<_LT_EOF
  1247. [$]*
  1248. -EOF
  1249. +_LT_EOF
  1250. exit 0
  1251. fi
  1252. @@ -448,124 +1108,127 @@
  1253. # if CDPATH is set.
  1254. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  1255. -if test -z "$ECHO"; then
  1256. -if test "X${echo_test_string+set}" != Xset; then
  1257. -# find a string as large as possible, as long as the shell can cope with it
  1258. - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
  1259. - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  1260. - if (echo_test_string=`eval $cmd`) 2>/dev/null &&
  1261. - echo_test_string=`eval $cmd` &&
  1262. - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  1263. - then
  1264. - break
  1265. - fi
  1266. - done
  1267. -fi
  1268. +if test -z "$lt_ECHO"; then
  1269. + if test "X${echo_test_string+set}" != Xset; then
  1270. + # find a string as large as possible, as long as the shell can cope with it
  1271. + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
  1272. + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  1273. + if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  1274. + { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  1275. + then
  1276. + break
  1277. + fi
  1278. + done
  1279. + fi
  1280. -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  1281. - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  1282. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1283. - :
  1284. -else
  1285. - # The Solaris, AIX, and Digital Unix default echo programs unquote
  1286. - # backslashes. This makes it impossible to quote backslashes using
  1287. - # echo "$something" | sed 's/\\/\\\\/g'
  1288. - #
  1289. - # So, first we look for a working echo in the user's PATH.
  1290. + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  1291. + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  1292. + test "X$echo_testing_string" = "X$echo_test_string"; then
  1293. + :
  1294. + else
  1295. + # The Solaris, AIX, and Digital Unix default echo programs unquote
  1296. + # backslashes. This makes it impossible to quote backslashes using
  1297. + # echo "$something" | sed 's/\\/\\\\/g'
  1298. + #
  1299. + # So, first we look for a working echo in the user's PATH.
  1300. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1301. - for dir in $PATH /usr/ucb; do
  1302. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1303. + for dir in $PATH /usr/ucb; do
  1304. + IFS="$lt_save_ifs"
  1305. + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  1306. + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  1307. + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  1308. + test "X$echo_testing_string" = "X$echo_test_string"; then
  1309. + ECHO="$dir/echo"
  1310. + break
  1311. + fi
  1312. + done
  1313. IFS="$lt_save_ifs"
  1314. - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  1315. - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  1316. - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  1317. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1318. - echo="$dir/echo"
  1319. - break
  1320. - fi
  1321. - done
  1322. - IFS="$lt_save_ifs"
  1323. - if test "X$echo" = Xecho; then
  1324. - # We didn't find a better echo, so look for alternatives.
  1325. - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  1326. - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  1327. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1328. - # This shell has a builtin print -r that does the trick.
  1329. - echo='print -r'
  1330. - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  1331. - test "X$CONFIG_SHELL" != X/bin/ksh; then
  1332. - # If we have ksh, try running configure again with it.
  1333. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  1334. - export ORIGINAL_CONFIG_SHELL
  1335. - CONFIG_SHELL=/bin/ksh
  1336. - export CONFIG_SHELL
  1337. - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
  1338. - else
  1339. - # Try using printf.
  1340. - echo='printf %s\n'
  1341. - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  1342. - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  1343. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1344. - # Cool, printf works
  1345. - :
  1346. - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  1347. - test "X$echo_testing_string" = 'X\t' &&
  1348. - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  1349. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1350. - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  1351. - export CONFIG_SHELL
  1352. - SHELL="$CONFIG_SHELL"
  1353. - export SHELL
  1354. - echo="$CONFIG_SHELL [$]0 --fallback-echo"
  1355. - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  1356. - test "X$echo_testing_string" = 'X\t' &&
  1357. - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  1358. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1359. - echo="$CONFIG_SHELL [$]0 --fallback-echo"
  1360. + if test "X$ECHO" = Xecho; then
  1361. + # We didn't find a better echo, so look for alternatives.
  1362. + if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  1363. + echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  1364. + test "X$echo_testing_string" = "X$echo_test_string"; then
  1365. + # This shell has a builtin print -r that does the trick.
  1366. + ECHO='print -r'
  1367. + elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  1368. + test "X$CONFIG_SHELL" != X/bin/ksh; then
  1369. + # If we have ksh, try running configure again with it.
  1370. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  1371. + export ORIGINAL_CONFIG_SHELL
  1372. + CONFIG_SHELL=/bin/ksh
  1373. + export CONFIG_SHELL
  1374. + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
  1375. else
  1376. - # maybe with a smaller string...
  1377. - prev=:
  1378. + # Try using printf.
  1379. + ECHO='printf %s\n'
  1380. + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  1381. + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  1382. + test "X$echo_testing_string" = "X$echo_test_string"; then
  1383. + # Cool, printf works
  1384. + :
  1385. + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  1386. + test "X$echo_testing_string" = 'X\t' &&
  1387. + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  1388. + test "X$echo_testing_string" = "X$echo_test_string"; then
  1389. + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  1390. + export CONFIG_SHELL
  1391. + SHELL="$CONFIG_SHELL"
  1392. + export SHELL
  1393. + ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  1394. + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  1395. + test "X$echo_testing_string" = 'X\t' &&
  1396. + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  1397. + test "X$echo_testing_string" = "X$echo_test_string"; then
  1398. + ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  1399. + else
  1400. + # maybe with a smaller string...
  1401. + prev=:
  1402. - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
  1403. - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  1404. - then
  1405. - break
  1406. - fi
  1407. - prev="$cmd"
  1408. - done
  1409. + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
  1410. + if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  1411. + then
  1412. + break
  1413. + fi
  1414. + prev="$cmd"
  1415. + done
  1416. - if test "$prev" != 'sed 50q "[$]0"'; then
  1417. - echo_test_string=`eval $prev`
  1418. - export echo_test_string
  1419. - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
  1420. - else
  1421. - # Oops. We lost completely, so just stick with echo.
  1422. - echo=echo
  1423. - fi
  1424. + if test "$prev" != 'sed 50q "[$]0"'; then
  1425. + echo_test_string=`eval $prev`
  1426. + export echo_test_string
  1427. + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
  1428. + else
  1429. + # Oops. We lost completely, so just stick with echo.
  1430. + ECHO=echo
  1431. + fi
  1432. + fi
  1433. fi
  1434. fi
  1435. fi
  1436. fi
  1437. -fi
  1438. # Copy echo and quote the copy suitably for passing to libtool from
  1439. # the Makefile, instead of quoting the original, which is used later.
  1440. -ECHO=$echo
  1441. -if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
  1442. - ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
  1443. +lt_ECHO=$ECHO
  1444. +if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
  1445. + lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
  1446. fi
  1447. -AC_SUBST(ECHO)
  1448. -])])# _LT_AC_PROG_ECHO_BACKSLASH
  1449. +AC_SUBST(lt_ECHO)
  1450. +])
  1451. +_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
  1452. +_LT_DECL([], [ECHO], [1],
  1453. + [An echo program that does not interpret backslashes])
  1454. +])# _LT_PROG_ECHO_BACKSLASH
  1455. -# _LT_AC_LOCK
  1456. -# -----------
  1457. -AC_DEFUN([_LT_AC_LOCK],
  1458. +# _LT_ENABLE_LOCK
  1459. +# ---------------
  1460. +m4_defun([_LT_ENABLE_LOCK],
  1461. [AC_ARG_ENABLE([libtool-lock],
  1462. - [AC_HELP_STRING([--disable-libtool-lock],
  1463. - [avoid locking (might break parallel builds)])])
  1464. + [AS_HELP_STRING([--disable-libtool-lock],
  1465. + [avoid locking (might break parallel builds)])])
  1466. test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  1467. # Some flags need to be propagated to the compiler or linker for good
  1468. @@ -576,12 +1239,12 @@
  1469. echo 'int i;' > conftest.$ac_ext
  1470. if AC_TRY_EVAL(ac_compile); then
  1471. case `/usr/bin/file conftest.$ac_objext` in
  1472. - *ELF-32*)
  1473. - HPUX_IA64_MODE="32"
  1474. - ;;
  1475. - *ELF-64*)
  1476. - HPUX_IA64_MODE="64"
  1477. - ;;
  1478. + *ELF-32*)
  1479. + HPUX_IA64_MODE="32"
  1480. + ;;
  1481. + *ELF-64*)
  1482. + HPUX_IA64_MODE="64"
  1483. + ;;
  1484. esac
  1485. fi
  1486. rm -rf conftest*
  1487. @@ -590,79 +1253,79 @@
  1488. # Find out which ABI we are using.
  1489. echo '[#]line __oline__ "configure"' > conftest.$ac_ext
  1490. if AC_TRY_EVAL(ac_compile); then
  1491. - if test "$lt_cv_prog_gnu_ld" = yes; then
  1492. - case `/usr/bin/file conftest.$ac_objext` in
  1493. - *32-bit*)
  1494. - LD="${LD-ld} -melf32bsmip"
  1495. - ;;
  1496. - *N32*)
  1497. - LD="${LD-ld} -melf32bmipn32"
  1498. - ;;
  1499. - *64-bit*)
  1500. - LD="${LD-ld} -melf64bmip"
  1501. - ;;
  1502. - esac
  1503. - else
  1504. - case `/usr/bin/file conftest.$ac_objext` in
  1505. - *32-bit*)
  1506. - LD="${LD-ld} -32"
  1507. - ;;
  1508. - *N32*)
  1509. - LD="${LD-ld} -n32"
  1510. - ;;
  1511. - *64-bit*)
  1512. - LD="${LD-ld} -64"
  1513. - ;;
  1514. - esac
  1515. - fi
  1516. + if test "$lt_cv_prog_gnu_ld" = yes; then
  1517. + case `/usr/bin/file conftest.$ac_objext` in
  1518. + *32-bit*)
  1519. + LD="${LD-ld} -melf32bsmip"
  1520. + ;;
  1521. + *N32*)
  1522. + LD="${LD-ld} -melf32bmipn32"
  1523. + ;;
  1524. + *64-bit*)
  1525. + LD="${LD-ld} -melf64bmip"
  1526. + ;;
  1527. + esac
  1528. + else
  1529. + case `/usr/bin/file conftest.$ac_objext` in
  1530. + *32-bit*)
  1531. + LD="${LD-ld} -32"
  1532. + ;;
  1533. + *N32*)
  1534. + LD="${LD-ld} -n32"
  1535. + ;;
  1536. + *64-bit*)
  1537. + LD="${LD-ld} -64"
  1538. + ;;
  1539. + esac
  1540. + fi
  1541. fi
  1542. rm -rf conftest*
  1543. ;;
  1544. x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  1545. -s390*-*linux*|sparc*-*linux*)
  1546. +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  1547. # Find out which ABI we are using.
  1548. echo 'int i;' > conftest.$ac_ext
  1549. if AC_TRY_EVAL(ac_compile); then
  1550. case `/usr/bin/file conftest.o` in
  1551. - *32-bit*)
  1552. - case $host in
  1553. - x86_64-*kfreebsd*-gnu)
  1554. - LD="${LD-ld} -m elf_i386_fbsd"
  1555. - ;;
  1556. - x86_64-*linux*)
  1557. - LD="${LD-ld} -m elf_i386"
  1558. - ;;
  1559. - ppc64-*linux*|powerpc64-*linux*)
  1560. - LD="${LD-ld} -m elf32ppclinux"
  1561. - ;;
  1562. - s390x-*linux*)
  1563. - LD="${LD-ld} -m elf_s390"
  1564. - ;;
  1565. - sparc64-*linux*)
  1566. - LD="${LD-ld} -m elf32_sparc"
  1567. - ;;
  1568. - esac
  1569. - ;;
  1570. - *64-bit*)
  1571. - case $host in
  1572. - x86_64-*kfreebsd*-gnu)
  1573. - LD="${LD-ld} -m elf_x86_64_fbsd"
  1574. - ;;
  1575. - x86_64-*linux*)
  1576. - LD="${LD-ld} -m elf_x86_64"
  1577. - ;;
  1578. - ppc*-*linux*|powerpc*-*linux*)
  1579. - LD="${LD-ld} -m elf64ppc"
  1580. - ;;
  1581. - s390*-*linux*)
  1582. - LD="${LD-ld} -m elf64_s390"
  1583. - ;;
  1584. - sparc*-*linux*)
  1585. - LD="${LD-ld} -m elf64_sparc"
  1586. - ;;
  1587. - esac
  1588. - ;;
  1589. + *32-bit*)
  1590. + case $host in
  1591. + x86_64-*kfreebsd*-gnu)
  1592. + LD="${LD-ld} -m elf_i386_fbsd"
  1593. + ;;
  1594. + x86_64-*linux*)
  1595. + LD="${LD-ld} -m elf_i386"
  1596. + ;;
  1597. + ppc64-*linux*|powerpc64-*linux*)
  1598. + LD="${LD-ld} -m elf32ppclinux"
  1599. + ;;
  1600. + s390x-*linux*)
  1601. + LD="${LD-ld} -m elf_s390"
  1602. + ;;
  1603. + sparc64-*linux*)
  1604. + LD="${LD-ld} -m elf32_sparc"
  1605. + ;;
  1606. + esac
  1607. + ;;
  1608. + *64-bit*)
  1609. + case $host in
  1610. + x86_64-*kfreebsd*-gnu)
  1611. + LD="${LD-ld} -m elf_x86_64_fbsd"
  1612. + ;;
  1613. + x86_64-*linux*)
  1614. + LD="${LD-ld} -m elf_x86_64"
  1615. + ;;
  1616. + ppc*-*linux*|powerpc*-*linux*)
  1617. + LD="${LD-ld} -m elf64ppc"
  1618. + ;;
  1619. + s390*-*linux*|s390*-*tpf*)
  1620. + LD="${LD-ld} -m elf64_s390"
  1621. + ;;
  1622. + sparc*-*linux*)
  1623. + LD="${LD-ld} -m elf64_sparc"
  1624. + ;;
  1625. + esac
  1626. + ;;
  1627. esac
  1628. fi
  1629. rm -rf conftest*
  1630. @@ -674,7 +1337,7 @@
  1631. CFLAGS="$CFLAGS -belf"
  1632. AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
  1633. [AC_LANG_PUSH(C)
  1634. - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
  1635. + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
  1636. AC_LANG_POP])
  1637. if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  1638. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  1639. @@ -690,7 +1353,7 @@
  1640. case $lt_cv_prog_gnu_ld in
  1641. yes*) LD="${LD-ld} -m elf64_sparc" ;;
  1642. *)
  1643. - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  1644. + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  1645. LD="${LD-ld} -64"
  1646. fi
  1647. ;;
  1648. @@ -700,30 +1363,63 @@
  1649. fi
  1650. rm -rf conftest*
  1651. ;;
  1652. -
  1653. -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
  1654. -[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
  1655. - AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  1656. - AC_CHECK_TOOL(AS, as, false)
  1657. - AC_CHECK_TOOL(OBJDUMP, objdump, false)
  1658. - ;;
  1659. - ])
  1660. esac
  1661. need_locks="$enable_libtool_lock"
  1662. +])# _LT_ENABLE_LOCK
  1663. +
  1664. +
  1665. +# _LT_CMD_OLD_ARCHIVE
  1666. +# -------------------
  1667. +m4_defun([_LT_CMD_OLD_ARCHIVE],
  1668. +[AC_CHECK_TOOL(AR, ar, false)
  1669. +test -z "$AR" && AR=ar
  1670. +test -z "$AR_FLAGS" && AR_FLAGS=cru
  1671. +_LT_DECL([], [AR], [1], [The archiver])
  1672. +_LT_DECL([], [AR_FLAGS], [1])
  1673. +
  1674. +AC_CHECK_TOOL(STRIP, strip, :)
  1675. +test -z "$STRIP" && STRIP=:
  1676. +_LT_DECL([], [STRIP], [1], [A symbol stripping program])
  1677. +
  1678. +AC_CHECK_TOOL(RANLIB, ranlib, :)
  1679. +test -z "$RANLIB" && RANLIB=:
  1680. +_LT_DECL([], [RANLIB], [1],
  1681. + [Commands used to install an old-style archive])
  1682. +
  1683. +# Determine commands to create old-style static archives.
  1684. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  1685. +old_postinstall_cmds='chmod 644 $oldlib'
  1686. +old_postuninstall_cmds=
  1687. -])# _LT_AC_LOCK
  1688. +if test -n "$RANLIB"; then
  1689. + case $host_os in
  1690. + openbsd*)
  1691. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  1692. + ;;
  1693. + *)
  1694. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  1695. + ;;
  1696. + esac
  1697. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  1698. +fi
  1699. +_LT_DECL([], [old_postinstall_cmds], [2])
  1700. +_LT_DECL([], [old_postuninstall_cmds], [2])
  1701. +_LT_TAGDECL([], [old_archive_cmds], [2],
  1702. + [Commands used to build an old-style archive])
  1703. +])# _LT_CMD_OLD_ARCHIVE
  1704. -# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  1705. +# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  1706. # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
  1707. # ----------------------------------------------------------------
  1708. # Check whether the given compiler option works
  1709. -AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
  1710. -[AC_REQUIRE([LT_AC_PROG_SED])
  1711. +AC_DEFUN([_LT_COMPILER_OPTION],
  1712. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  1713. +m4_require([_LT_DECL_SED])dnl
  1714. AC_CACHE_CHECK([$1], [$2],
  1715. [$2=no
  1716. - ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  1717. + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  1718. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  1719. lt_compiler_flag="$3"
  1720. # Insert the option either (1) after the last *FLAGS variable, or
  1721. @@ -743,29 +1439,35 @@
  1722. if (exit $ac_status) && test -s "$ac_outfile"; then
  1723. # The compiler can only warn and ignore the option if not recognized
  1724. # So say no if there are warnings other than the usual output.
  1725. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  1726. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  1727. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1728. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  1729. $2=yes
  1730. fi
  1731. fi
  1732. - $rm conftest*
  1733. + $RM conftest*
  1734. ])
  1735. if test x"[$]$2" = xyes; then
  1736. - ifelse([$5], , :, [$5])
  1737. + m4_if([$5], , :, [$5])
  1738. else
  1739. - ifelse([$6], , :, [$6])
  1740. + m4_if([$6], , :, [$6])
  1741. fi
  1742. -])# AC_LIBTOOL_COMPILER_OPTION
  1743. -
  1744. +])# _LT_COMPILER_OPTION
  1745. -# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  1746. -# [ACTION-SUCCESS], [ACTION-FAILURE])
  1747. -# ------------------------------------------------------------
  1748. -# Check whether the given compiler option works
  1749. -AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
  1750. -[AC_REQUIRE([LT_AC_PROG_SED])dnl
  1751. +# Old name:
  1752. +AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
  1753. +dnl aclocal-1.4 backwards compatibility:
  1754. +dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
  1755. +
  1756. +
  1757. +# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  1758. +# [ACTION-SUCCESS], [ACTION-FAILURE])
  1759. +# ----------------------------------------------------
  1760. +# Check whether the given linker option works
  1761. +AC_DEFUN([_LT_LINKER_OPTION],
  1762. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  1763. +m4_require([_LT_DECL_SED])dnl
  1764. AC_CACHE_CHECK([$1], [$2],
  1765. [$2=no
  1766. save_LDFLAGS="$LDFLAGS"
  1767. @@ -777,7 +1479,7 @@
  1768. if test -s conftest.err; then
  1769. # Append any errors to the config.log.
  1770. cat conftest.err 1>&AS_MESSAGE_LOG_FD
  1771. - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  1772. + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  1773. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1774. if diff conftest.exp conftest.er2 >/dev/null; then
  1775. $2=yes
  1776. @@ -786,22 +1488,28 @@
  1777. $2=yes
  1778. fi
  1779. fi
  1780. - $rm -r conftest*
  1781. + $RM -r conftest*
  1782. LDFLAGS="$save_LDFLAGS"
  1783. ])
  1784. if test x"[$]$2" = xyes; then
  1785. - ifelse([$4], , :, [$4])
  1786. + m4_if([$4], , :, [$4])
  1787. else
  1788. - ifelse([$5], , :, [$5])
  1789. + m4_if([$5], , :, [$5])
  1790. fi
  1791. -])# AC_LIBTOOL_LINKER_OPTION
  1792. +])# _LT_LINKER_OPTION
  1793. +# Old name:
  1794. +AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
  1795. +dnl aclocal-1.4 backwards compatibility:
  1796. +dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
  1797. -# AC_LIBTOOL_SYS_MAX_CMD_LEN
  1798. -# --------------------------
  1799. -AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
  1800. -[# find the maximum length of command line arguments
  1801. +
  1802. +# LT_CMD_MAX_LEN
  1803. +#---------------
  1804. +AC_DEFUN([LT_CMD_MAX_LEN],
  1805. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  1806. +# find the maximum length of command line arguments
  1807. AC_MSG_CHECKING([the maximum length of command line arguments])
  1808. AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
  1809. i=0
  1810. @@ -823,7 +1531,7 @@
  1811. lt_cv_sys_max_cmd_len=-1;
  1812. ;;
  1813. - cygwin* | mingw*)
  1814. + cygwin* | mingw* | cegcc*)
  1815. # On Win9x/ME, this test blows up -- it succeeds, but takes
  1816. # about 5 minutes as the teststring grows exponentially.
  1817. # Worse, since 9x/ME are not pre-emptively multitasking,
  1818. @@ -878,7 +1586,7 @@
  1819. sysv5* | sco5v6* | sysv4.2uw2*)
  1820. kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  1821. if test -n "$kargmax"; then
  1822. - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
  1823. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
  1824. else
  1825. lt_cv_sys_max_cmd_len=32768
  1826. fi
  1827. @@ -889,20 +1597,28 @@
  1828. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  1829. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  1830. else
  1831. + # Make teststring a little bigger before we do anything with it.
  1832. + # a 1K string should be a reasonable start.
  1833. + for i in 1 2 3 4 5 6 7 8 ; do
  1834. + teststring=$teststring$teststring
  1835. + done
  1836. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  1837. - while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
  1838. - = "XX$teststring") >/dev/null 2>&1 &&
  1839. - new_result=`expr "X$teststring" : ".*" 2>&1` &&
  1840. - lt_cv_sys_max_cmd_len=$new_result &&
  1841. + # If test is not a shell built-in, we'll probably end up computing a
  1842. + # maximum length that is only half of the actual maximum length, but
  1843. + # we can't tell.
  1844. + while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  1845. + = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  1846. test $i != 17 # 1/2 MB should be enough
  1847. do
  1848. i=`expr $i + 1`
  1849. teststring=$teststring$teststring
  1850. done
  1851. + # Only check the string length outside the loop.
  1852. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  1853. teststring=
  1854. - # Add a significant safety factor because C++ compilers can tack on massive
  1855. - # amounts of additional arguments before passing them to the linker.
  1856. - # It appears as though 1/2 is a usable value.
  1857. + # Add a significant safety factor because C++ compilers can tack on
  1858. + # massive amounts of additional arguments before passing them to the
  1859. + # linker. It appears as though 1/2 is a usable value.
  1860. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  1861. fi
  1862. ;;
  1863. @@ -913,27 +1629,35 @@
  1864. else
  1865. AC_MSG_RESULT(none)
  1866. fi
  1867. -])# AC_LIBTOOL_SYS_MAX_CMD_LEN
  1868. +max_cmd_len=$lt_cv_sys_max_cmd_len
  1869. +_LT_DECL([], [max_cmd_len], [0],
  1870. + [What is the maximum length of a command?])
  1871. +])# LT_CMD_MAX_LEN
  1872. +# Old name:
  1873. +AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
  1874. +dnl aclocal-1.4 backwards compatibility:
  1875. +dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
  1876. -# _LT_AC_CHECK_DLFCN
  1877. -# ------------------
  1878. -AC_DEFUN([_LT_AC_CHECK_DLFCN],
  1879. -[AC_CHECK_HEADERS(dlfcn.h)dnl
  1880. -])# _LT_AC_CHECK_DLFCN
  1881. +
  1882. +# _LT_HEADER_DLFCN
  1883. +# ----------------
  1884. +m4_defun([_LT_HEADER_DLFCN],
  1885. +[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
  1886. +])# _LT_HEADER_DLFCN
  1887. -# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
  1888. -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
  1889. -# ---------------------------------------------------------------------
  1890. -AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
  1891. -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
  1892. +# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
  1893. +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
  1894. +# ----------------------------------------------------------------
  1895. +m4_defun([_LT_TRY_DLOPEN_SELF],
  1896. +[m4_require([_LT_HEADER_DLFCN])dnl
  1897. if test "$cross_compiling" = yes; then :
  1898. [$4]
  1899. else
  1900. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  1901. lt_status=$lt_dlunknown
  1902. - cat > conftest.$ac_ext <<EOF
  1903. + cat > conftest.$ac_ext <<_LT_EOF
  1904. [#line __oline__ "configure"
  1905. #include "confdefs.h"
  1906. @@ -975,10 +1699,6 @@
  1907. # endif
  1908. #endif
  1909. -#ifdef __cplusplus
  1910. -extern "C" void exit (int);
  1911. -#endif
  1912. -
  1913. void fnord() { int i=42;}
  1914. int main ()
  1915. {
  1916. @@ -994,9 +1714,9 @@
  1917. else
  1918. puts (dlerror ());
  1919. - exit (status);
  1920. + return status;
  1921. }]
  1922. -EOF
  1923. +_LT_EOF
  1924. if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
  1925. (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
  1926. lt_status=$?
  1927. @@ -1011,13 +1731,13 @@
  1928. fi
  1929. fi
  1930. rm -fr conftest*
  1931. -])# _LT_AC_TRY_DLOPEN_SELF
  1932. +])# _LT_TRY_DLOPEN_SELF
  1933. -# AC_LIBTOOL_DLOPEN_SELF
  1934. -# ----------------------
  1935. -AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
  1936. -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
  1937. +# LT_SYS_DLOPEN_SELF
  1938. +# ------------------
  1939. +AC_DEFUN([LT_SYS_DLOPEN_SELF],
  1940. +[m4_require([_LT_HEADER_DLFCN])dnl
  1941. if test "x$enable_dlopen" != xyes; then
  1942. enable_dlopen=unknown
  1943. enable_dlopen_self=unknown
  1944. @@ -1033,15 +1753,15 @@
  1945. lt_cv_dlopen_self=yes
  1946. ;;
  1947. - mingw* | pw32*)
  1948. + mingw* | pw32* | cegcc*)
  1949. lt_cv_dlopen="LoadLibrary"
  1950. lt_cv_dlopen_libs=
  1951. - ;;
  1952. + ;;
  1953. cygwin*)
  1954. lt_cv_dlopen="dlopen"
  1955. lt_cv_dlopen_libs=
  1956. - ;;
  1957. + ;;
  1958. darwin*)
  1959. # if libdl is installed we need to link against it
  1960. @@ -1051,7 +1771,7 @@
  1961. lt_cv_dlopen_libs=
  1962. lt_cv_dlopen_self=yes
  1963. ])
  1964. - ;;
  1965. + ;;
  1966. *)
  1967. AC_CHECK_FUNC([shl_load],
  1968. @@ -1093,7 +1813,7 @@
  1969. AC_CACHE_CHECK([whether a program can dlopen itself],
  1970. lt_cv_dlopen_self, [dnl
  1971. - _LT_AC_TRY_DLOPEN_SELF(
  1972. + _LT_TRY_DLOPEN_SELF(
  1973. lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
  1974. lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  1975. ])
  1976. @@ -1101,8 +1821,8 @@
  1977. if test "x$lt_cv_dlopen_self" = xyes; then
  1978. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  1979. AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  1980. - lt_cv_dlopen_self_static, [dnl
  1981. - _LT_AC_TRY_DLOPEN_SELF(
  1982. + lt_cv_dlopen_self_static, [dnl
  1983. + _LT_TRY_DLOPEN_SELF(
  1984. lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
  1985. lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
  1986. ])
  1987. @@ -1124,19 +1844,32 @@
  1988. *) enable_dlopen_self_static=unknown ;;
  1989. esac
  1990. fi
  1991. -])# AC_LIBTOOL_DLOPEN_SELF
  1992. +_LT_DECL([dlopen_support], [enable_dlopen], [0],
  1993. + [Whether dlopen is supported])
  1994. +_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
  1995. + [Whether dlopen of programs is supported])
  1996. +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
  1997. + [Whether dlopen of statically linked programs is supported])
  1998. +])# LT_SYS_DLOPEN_SELF
  1999. +
  2000. +# Old name:
  2001. +AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
  2002. +dnl aclocal-1.4 backwards compatibility:
  2003. +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
  2004. -# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
  2005. -# ---------------------------------
  2006. -# Check to see if options -c and -o are simultaneously supported by compiler
  2007. -AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
  2008. -[AC_REQUIRE([LT_AC_PROG_SED])dnl
  2009. -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
  2010. +# _LT_COMPILER_C_O([TAGNAME])
  2011. +# ---------------------------
  2012. +# Check to see if options -c and -o are simultaneously supported by compiler.
  2013. +# This macro does not hard code the compiler like AC_PROG_CC_C_O.
  2014. +m4_defun([_LT_COMPILER_C_O],
  2015. +[m4_require([_LT_DECL_SED])dnl
  2016. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  2017. +m4_require([_LT_TAG_COMPILER])dnl
  2018. AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
  2019. - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
  2020. - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
  2021. - $rm -r conftest 2>/dev/null
  2022. + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
  2023. + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
  2024. + $RM -r conftest 2>/dev/null
  2025. mkdir conftest
  2026. cd conftest
  2027. mkdir out
  2028. @@ -1160,37 +1893,41 @@
  2029. then
  2030. # The compiler can only warn and ignore the option if not recognized
  2031. # So say no if there are warnings
  2032. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  2033. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  2034. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  2035. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  2036. - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  2037. + _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  2038. fi
  2039. fi
  2040. chmod u+w . 2>&AS_MESSAGE_LOG_FD
  2041. - $rm conftest*
  2042. + $RM conftest*
  2043. # SGI C++ compiler will create directory out/ii_files/ for
  2044. # template instantiation
  2045. - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  2046. - $rm out/* && rmdir out
  2047. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  2048. + $RM out/* && rmdir out
  2049. cd ..
  2050. - rmdir conftest
  2051. - $rm conftest*
  2052. + $RM -r conftest
  2053. + $RM conftest*
  2054. ])
  2055. -])# AC_LIBTOOL_PROG_CC_C_O
  2056. +_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
  2057. + [Does compiler simultaneously support -c and -o options?])
  2058. +])# _LT_COMPILER_C_O
  2059. -# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
  2060. -# -----------------------------------------
  2061. +# _LT_COMPILER_FILE_LOCKS([TAGNAME])
  2062. +# ----------------------------------
  2063. # Check to see if we can do hard links to lock some files if needed
  2064. -AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
  2065. -[AC_REQUIRE([_LT_AC_LOCK])dnl
  2066. +m4_defun([_LT_COMPILER_FILE_LOCKS],
  2067. +[m4_require([_LT_ENABLE_LOCK])dnl
  2068. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  2069. +_LT_COMPILER_C_O([$1])
  2070. hard_links="nottested"
  2071. -if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
  2072. +if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
  2073. # do not overwrite the value of need_locks provided by the user
  2074. AC_MSG_CHECKING([if we can lock with hard links])
  2075. hard_links=yes
  2076. - $rm conftest*
  2077. + $RM conftest*
  2078. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  2079. touch conftest.a
  2080. ln conftest.a conftest.b 2>&5 || hard_links=no
  2081. @@ -1203,12 +1940,13 @@
  2082. else
  2083. need_locks=no
  2084. fi
  2085. -])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
  2086. +_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
  2087. +])# _LT_COMPILER_FILE_LOCKS
  2088. -# AC_LIBTOOL_OBJDIR
  2089. -# -----------------
  2090. -AC_DEFUN([AC_LIBTOOL_OBJDIR],
  2091. +# _LT_CHECK_OBJDIR
  2092. +# ----------------
  2093. +m4_defun([_LT_CHECK_OBJDIR],
  2094. [AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
  2095. [rm -f .libs 2>/dev/null
  2096. mkdir .libs 2>/dev/null
  2097. @@ -1220,40 +1958,46 @@
  2098. fi
  2099. rmdir .libs 2>/dev/null])
  2100. objdir=$lt_cv_objdir
  2101. -])# AC_LIBTOOL_OBJDIR
  2102. +_LT_DECL([], [objdir], [0],
  2103. + [The name of the directory that contains temporary libtool files])dnl
  2104. +m4_pattern_allow([LT_OBJDIR])dnl
  2105. +AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
  2106. + [Define to the sub-directory in which libtool stores uninstalled libraries.])
  2107. +])# _LT_CHECK_OBJDIR
  2108. -# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
  2109. -# ----------------------------------------------
  2110. +# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
  2111. +# --------------------------------------
  2112. # Check hardcoding attributes.
  2113. -AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
  2114. +m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
  2115. [AC_MSG_CHECKING([how to hardcode library paths into programs])
  2116. -_LT_AC_TAGVAR(hardcode_action, $1)=
  2117. -if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
  2118. - test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
  2119. - test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
  2120. +_LT_TAGVAR(hardcode_action, $1)=
  2121. +if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
  2122. + test -n "$_LT_TAGVAR(runpath_var, $1)" ||
  2123. + test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
  2124. - # We can hardcode non-existant directories.
  2125. - if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
  2126. + # We can hardcode non-existent directories.
  2127. + if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
  2128. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  2129. # have to relink, otherwise we might link with an installed library
  2130. # when we should be linking with a yet-to-be-installed one
  2131. - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
  2132. - test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
  2133. + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
  2134. + test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
  2135. # Linking always hardcodes the temporary library directory.
  2136. - _LT_AC_TAGVAR(hardcode_action, $1)=relink
  2137. + _LT_TAGVAR(hardcode_action, $1)=relink
  2138. else
  2139. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  2140. - _LT_AC_TAGVAR(hardcode_action, $1)=immediate
  2141. + _LT_TAGVAR(hardcode_action, $1)=immediate
  2142. fi
  2143. else
  2144. # We cannot hardcode anything, or else we can only hardcode existing
  2145. # directories.
  2146. - _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
  2147. + _LT_TAGVAR(hardcode_action, $1)=unsupported
  2148. fi
  2149. -AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
  2150. +AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
  2151. -if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
  2152. +if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
  2153. + test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
  2154. # Fast installation is not supported
  2155. enable_fast_install=no
  2156. elif test "$shlibpath_overrides_runpath" = yes ||
  2157. @@ -1261,73 +2005,70 @@
  2158. # Fast installation is not necessary
  2159. enable_fast_install=needless
  2160. fi
  2161. -])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
  2162. +_LT_TAGDECL([], [hardcode_action], [0],
  2163. + [How to hardcode a shared library path into an executable])
  2164. +])# _LT_LINKER_HARDCODE_LIBPATH
  2165. -# AC_LIBTOOL_SYS_LIB_STRIP
  2166. -# ------------------------
  2167. -AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
  2168. -[striplib=
  2169. +# _LT_CMD_STRIPLIB
  2170. +# ----------------
  2171. +m4_defun([_LT_CMD_STRIPLIB],
  2172. +[m4_require([_LT_DECL_EGREP])
  2173. +striplib=
  2174. old_striplib=
  2175. AC_MSG_CHECKING([whether stripping libraries is possible])
  2176. -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
  2177. +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  2178. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  2179. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  2180. AC_MSG_RESULT([yes])
  2181. else
  2182. # FIXME - insert some real tests, host_os isn't really good enough
  2183. case $host_os in
  2184. - darwin*)
  2185. - if test -n "$STRIP" ; then
  2186. - striplib="$STRIP -x"
  2187. - old_striplib="$STRIP -S"
  2188. - AC_MSG_RESULT([yes])
  2189. - else
  2190. - AC_MSG_RESULT([no])
  2191. -fi
  2192. - ;;
  2193. - *)
  2194. - AC_MSG_RESULT([no])
  2195. + darwin*)
  2196. + if test -n "$STRIP" ; then
  2197. + striplib="$STRIP -x"
  2198. + old_striplib="$STRIP -S"
  2199. + AC_MSG_RESULT([yes])
  2200. + else
  2201. + AC_MSG_RESULT([no])
  2202. + fi
  2203. + ;;
  2204. + *)
  2205. + AC_MSG_RESULT([no])
  2206. ;;
  2207. esac
  2208. fi
  2209. -])# AC_LIBTOOL_SYS_LIB_STRIP
  2210. +_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
  2211. +_LT_DECL([], [striplib], [1])
  2212. +])# _LT_CMD_STRIPLIB
  2213. -# AC_LIBTOOL_SYS_DYNAMIC_LINKER
  2214. +# _LT_SYS_DYNAMIC_LINKER([TAG])
  2215. # -----------------------------
  2216. # PORTME Fill in your ld.so characteristics
  2217. -AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
  2218. -[AC_REQUIRE([LT_AC_PROG_SED])dnl
  2219. +m4_defun([_LT_SYS_DYNAMIC_LINKER],
  2220. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2221. +m4_require([_LT_DECL_EGREP])dnl
  2222. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  2223. +m4_require([_LT_DECL_OBJDUMP])dnl
  2224. +m4_require([_LT_DECL_SED])dnl
  2225. AC_MSG_CHECKING([dynamic linker characteristics])
  2226. -library_names_spec=
  2227. -libname_spec='lib$name'
  2228. -soname_spec=
  2229. -shrext_cmds=".so"
  2230. -postinstall_cmds=
  2231. -postuninstall_cmds=
  2232. -finish_cmds=
  2233. -finish_eval=
  2234. -shlibpath_var=
  2235. -shlibpath_overrides_runpath=unknown
  2236. -version_type=none
  2237. -dynamic_linker="$host_os ld.so"
  2238. -sys_lib_dlsearch_path_spec="/lib /usr/lib"
  2239. -m4_if($1,[],[
  2240. +m4_if([$1],
  2241. + [], [
  2242. if test "$GCC" = yes; then
  2243. case $host_os in
  2244. darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  2245. *) lt_awk_arg="/^libraries:/" ;;
  2246. esac
  2247. lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  2248. - if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
  2249. + if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  2250. # if the path contains ";" then we assume it to be the separator
  2251. # otherwise default to the standard path separator (i.e. ":") - it is
  2252. # assumed that no part of a normal pathname contains ";" but that should
  2253. # okay in the real world where ";" in dirpaths is itself problematic.
  2254. - lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  2255. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  2256. else
  2257. - lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  2258. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  2259. fi
  2260. # Ok, now we have the path, separated by spaces, we can step through it
  2261. # and add multilib dir if necessary.
  2262. @@ -1341,7 +2082,7 @@
  2263. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  2264. fi
  2265. done
  2266. - lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
  2267. + lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  2268. BEGIN {RS=" "; FS="/|\n";} {
  2269. lt_foo="";
  2270. lt_count=0;
  2271. @@ -1361,10 +2102,23 @@
  2272. if (lt_foo != "") { lt_freq[[lt_foo]]++; }
  2273. if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
  2274. }'`
  2275. - sys_lib_search_path_spec=`echo $lt_search_path_spec`
  2276. + sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  2277. else
  2278. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  2279. fi])
  2280. +library_names_spec=
  2281. +libname_spec='lib$name'
  2282. +soname_spec=
  2283. +shrext_cmds=".so"
  2284. +postinstall_cmds=
  2285. +postuninstall_cmds=
  2286. +finish_cmds=
  2287. +finish_eval=
  2288. +shlibpath_var=
  2289. +shlibpath_overrides_runpath=unknown
  2290. +version_type=none
  2291. +dynamic_linker="$host_os ld.so"
  2292. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  2293. need_lib_prefix=unknown
  2294. hardcode_into_libs=no
  2295. @@ -1401,7 +2155,7 @@
  2296. aix4 | aix4.[[01]] | aix4.[[01]].*)
  2297. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  2298. echo ' yes '
  2299. - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  2300. + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  2301. :
  2302. else
  2303. can_build_shared=no
  2304. @@ -1427,9 +2181,18 @@
  2305. ;;
  2306. amigaos*)
  2307. - library_names_spec='$libname.ixlibrary $libname.a'
  2308. - # Create ${libname}_ixlibrary.a entries in /sys/libs.
  2309. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  2310. + case $host_cpu in
  2311. + powerpc)
  2312. + # Since July 2007 AmigaOS4 officially supports .so libraries.
  2313. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  2314. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2315. + ;;
  2316. + m68k)
  2317. + library_names_spec='$libname.ixlibrary $libname.a'
  2318. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  2319. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  2320. + ;;
  2321. + esac
  2322. ;;
  2323. beos*)
  2324. @@ -1452,25 +2215,28 @@
  2325. # libtool to hard-code these into programs
  2326. ;;
  2327. -cygwin* | mingw* | pw32*)
  2328. +cygwin* | mingw* | pw32* | cegcc*)
  2329. version_type=windows
  2330. shrext_cmds=".dll"
  2331. need_version=no
  2332. need_lib_prefix=no
  2333. case $GCC,$host_os in
  2334. - yes,cygwin* | yes,mingw* | yes,pw32*)
  2335. + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  2336. library_names_spec='$libname.dll.a'
  2337. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  2338. postinstall_cmds='base_file=`basename \${file}`~
  2339. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  2340. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  2341. dldir=$destdir/`dirname \$dlpath`~
  2342. test -d \$dldir || mkdir -p \$dldir~
  2343. $install_prog $dir/$dlname \$dldir/$dlname~
  2344. - chmod a+x \$dldir/$dlname'
  2345. + chmod a+x \$dldir/$dlname~
  2346. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  2347. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  2348. + fi'
  2349. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  2350. dlpath=$dir/\$dldll~
  2351. - $rm \$dlpath'
  2352. + $RM \$dlpath'
  2353. shlibpath_overrides_runpath=yes
  2354. case $host_os in
  2355. @@ -1479,20 +2245,20 @@
  2356. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  2357. sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  2358. ;;
  2359. - mingw*)
  2360. + mingw* | cegcc*)
  2361. # MinGW DLLs use traditional 'lib' prefix
  2362. soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  2363. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  2364. - if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
  2365. + sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  2366. + if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
  2367. # It is most probably a Windows format PATH printed by
  2368. # mingw gcc, but we are running on Cygwin. Gcc prints its search
  2369. # path with ; separators, and with drive letters. We can handle the
  2370. # drive letters (cygwin fileutils understands them), so leave them,
  2371. # especially as we might pass files found there to a mingw objdump,
  2372. # which wouldn't understand a cygwinified path. Ahh.
  2373. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  2374. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  2375. else
  2376. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  2377. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  2378. fi
  2379. ;;
  2380. pw32*)
  2381. @@ -1516,13 +2282,13 @@
  2382. version_type=darwin
  2383. need_lib_prefix=no
  2384. need_version=no
  2385. - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  2386. + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  2387. soname_spec='${libname}${release}${major}$shared_ext'
  2388. shlibpath_overrides_runpath=yes
  2389. shlibpath_var=DYLD_LIBRARY_PATH
  2390. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  2391. - m4_if([$1], [],[
  2392. - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
  2393. +m4_if([$1], [],[
  2394. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
  2395. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  2396. ;;
  2397. @@ -1615,18 +2381,18 @@
  2398. fi
  2399. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  2400. ;;
  2401. - hppa*64*)
  2402. - shrext_cmds='.sl'
  2403. - hardcode_into_libs=yes
  2404. - dynamic_linker="$host_os dld.sl"
  2405. - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  2406. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  2407. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2408. - soname_spec='${libname}${release}${shared_ext}$major'
  2409. - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  2410. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  2411. - ;;
  2412. - *)
  2413. + hppa*64*)
  2414. + shrext_cmds='.sl'
  2415. + hardcode_into_libs=yes
  2416. + dynamic_linker="$host_os dld.sl"
  2417. + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  2418. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  2419. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2420. + soname_spec='${libname}${release}${shared_ext}$major'
  2421. + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  2422. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  2423. + ;;
  2424. + *)
  2425. shrext_cmds='.sl'
  2426. dynamic_linker="$host_os dld.sl"
  2427. shlibpath_var=SHLIB_PATH
  2428. @@ -1694,7 +2460,7 @@
  2429. ;;
  2430. # This must be Linux ELF.
  2431. -linux* | k*bsd*-gnu)
  2432. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  2433. version_type=linux
  2434. need_lib_prefix=no
  2435. need_version=no
  2436. @@ -1703,6 +2469,17 @@
  2437. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  2438. shlibpath_var=LD_LIBRARY_PATH
  2439. shlibpath_overrides_runpath=no
  2440. + # Some binutils ld are patched to set DT_RUNPATH
  2441. + save_LDFLAGS=$LDFLAGS
  2442. + save_libdir=$libdir
  2443. + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
  2444. + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
  2445. + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  2446. + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
  2447. + [shlibpath_overrides_runpath=yes])])
  2448. + LDFLAGS=$save_LDFLAGS
  2449. + libdir=$save_libdir
  2450. +
  2451. # This implies no fast_install, which is unacceptable.
  2452. # Some rework will be needed to allow for fast_install
  2453. # before this can be enabled.
  2454. @@ -1710,7 +2487,7 @@
  2455. # Append ld.so.conf contents to the search path
  2456. if test -f /etc/ld.so.conf; then
  2457. - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  2458. + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  2459. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  2460. fi
  2461. @@ -1723,11 +2500,23 @@
  2462. dynamic_linker='GNU/Linux ld.so'
  2463. ;;
  2464. +netbsdelf*-gnu)
  2465. + version_type=linux
  2466. + need_lib_prefix=no
  2467. + need_version=no
  2468. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  2469. + soname_spec='${libname}${release}${shared_ext}$major'
  2470. + shlibpath_var=LD_LIBRARY_PATH
  2471. + shlibpath_overrides_runpath=no
  2472. + hardcode_into_libs=yes
  2473. + dynamic_linker='NetBSD ld.elf_so'
  2474. + ;;
  2475. +
  2476. netbsd*)
  2477. version_type=sunos
  2478. need_lib_prefix=no
  2479. need_version=no
  2480. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  2481. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  2482. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  2483. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  2484. dynamic_linker='NetBSD (a.out) ld.so'
  2485. @@ -1748,14 +2537,16 @@
  2486. shlibpath_overrides_runpath=yes
  2487. ;;
  2488. -nto-qnx*)
  2489. - version_type=linux
  2490. +*nto* | *qnx*)
  2491. + version_type=qnx
  2492. need_lib_prefix=no
  2493. need_version=no
  2494. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2495. soname_spec='${libname}${release}${shared_ext}$major'
  2496. shlibpath_var=LD_LIBRARY_PATH
  2497. - shlibpath_overrides_runpath=yes
  2498. + shlibpath_overrides_runpath=no
  2499. + hardcode_into_libs=yes
  2500. + dynamic_linker='ldqnx.so'
  2501. ;;
  2502. openbsd*)
  2503. @@ -1764,13 +2555,13 @@
  2504. need_lib_prefix=no
  2505. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  2506. case $host_os in
  2507. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  2508. - *) need_version=no ;;
  2509. + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  2510. + *) need_version=no ;;
  2511. esac
  2512. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  2513. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  2514. shlibpath_var=LD_LIBRARY_PATH
  2515. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  2516. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  2517. case $host_os in
  2518. openbsd2.[[89]] | openbsd2.[[89]].*)
  2519. shlibpath_overrides_runpath=no
  2520. @@ -1842,7 +2633,6 @@
  2521. sni)
  2522. shlibpath_overrides_runpath=no
  2523. need_lib_prefix=no
  2524. - export_dynamic_flag_spec='${wl}-Blargedynsym'
  2525. runpath_var=LD_RUN_PATH
  2526. ;;
  2527. siemens)
  2528. @@ -1873,13 +2663,12 @@
  2529. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  2530. soname_spec='${libname}${release}${shared_ext}$major'
  2531. shlibpath_var=LD_LIBRARY_PATH
  2532. + shlibpath_overrides_runpath=yes
  2533. hardcode_into_libs=yes
  2534. if test "$with_gnu_ld" = yes; then
  2535. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  2536. - shlibpath_overrides_runpath=no
  2537. else
  2538. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  2539. - shlibpath_overrides_runpath=yes
  2540. case $host_os in
  2541. sco3.2v5*)
  2542. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  2543. @@ -1889,6 +2678,17 @@
  2544. sys_lib_dlsearch_path_spec='/usr/lib'
  2545. ;;
  2546. +tpf*)
  2547. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  2548. + version_type=linux
  2549. + need_lib_prefix=no
  2550. + need_version=no
  2551. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2552. + shlibpath_var=LD_LIBRARY_PATH
  2553. + shlibpath_overrides_runpath=no
  2554. + hardcode_into_libs=yes
  2555. + ;;
  2556. +
  2557. uts4*)
  2558. version_type=linux
  2559. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2560. @@ -1903,288 +2703,58 @@
  2561. AC_MSG_RESULT([$dynamic_linker])
  2562. test "$dynamic_linker" = no && can_build_shared=no
  2563. -AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
  2564. -[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
  2565. -sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  2566. -AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
  2567. -[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
  2568. -sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  2569. -
  2570. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  2571. if test "$GCC" = yes; then
  2572. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  2573. fi
  2574. -])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
  2575. -
  2576. -# _LT_AC_TAGCONFIG
  2577. -# ----------------
  2578. -AC_DEFUN([_LT_AC_TAGCONFIG],
  2579. -[AC_REQUIRE([LT_AC_PROG_SED])dnl
  2580. -AC_ARG_WITH([tags],
  2581. - [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
  2582. - [include additional configurations @<:@automatic@:>@])],
  2583. - [tagnames="$withval"])
  2584. -
  2585. -if test -f "$ltmain" && test -n "$tagnames"; then
  2586. - if test ! -f "${ofile}"; then
  2587. - AC_MSG_WARN([output file `$ofile' does not exist])
  2588. - fi
  2589. -
  2590. - if test -z "$LTCC"; then
  2591. - eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
  2592. - if test -z "$LTCC"; then
  2593. - AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
  2594. - else
  2595. - AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
  2596. - fi
  2597. - fi
  2598. - if test -z "$LTCFLAGS"; then
  2599. - eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
  2600. - fi
  2601. -
  2602. - # Extract list of available tagged configurations in $ofile.
  2603. - # Note that this assumes the entire list is on one line.
  2604. - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
  2605. -
  2606. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  2607. - for tagname in $tagnames; do
  2608. - IFS="$lt_save_ifs"
  2609. - # Check whether tagname contains only valid characters
  2610. - case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
  2611. - "") ;;
  2612. - *) AC_MSG_ERROR([invalid tag name: $tagname])
  2613. - ;;
  2614. - esac
  2615. -
  2616. - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
  2617. - then
  2618. - AC_MSG_ERROR([tag name \"$tagname\" already exists])
  2619. - fi
  2620. -
  2621. - # Update the list of available tags.
  2622. - if test -n "$tagname"; then
  2623. - echo appending configuration tag \"$tagname\" to $ofile
  2624. -
  2625. - case $tagname in
  2626. - CXX)
  2627. - if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  2628. - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  2629. - (test "X$CXX" != "Xg++"))) ; then
  2630. - AC_LIBTOOL_LANG_CXX_CONFIG
  2631. - else
  2632. - tagname=""
  2633. - fi
  2634. - ;;
  2635. -
  2636. - F77)
  2637. - if test -n "$F77" && test "X$F77" != "Xno"; then
  2638. - AC_LIBTOOL_LANG_F77_CONFIG
  2639. - else
  2640. - tagname=""
  2641. - fi
  2642. - ;;
  2643. -
  2644. - GCJ)
  2645. - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
  2646. - AC_LIBTOOL_LANG_GCJ_CONFIG
  2647. - else
  2648. - tagname=""
  2649. - fi
  2650. - ;;
  2651. -
  2652. - RC)
  2653. - AC_LIBTOOL_LANG_RC_CONFIG
  2654. - ;;
  2655. -
  2656. - *)
  2657. - AC_MSG_ERROR([Unsupported tag name: $tagname])
  2658. - ;;
  2659. - esac
  2660. -
  2661. - # Append the new tag name to the list of available tags.
  2662. - if test -n "$tagname" ; then
  2663. - available_tags="$available_tags $tagname"
  2664. - fi
  2665. - fi
  2666. - done
  2667. - IFS="$lt_save_ifs"
  2668. -
  2669. - # Now substitute the updated list of available tags.
  2670. - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
  2671. - mv "${ofile}T" "$ofile"
  2672. - chmod +x "$ofile"
  2673. - else
  2674. - rm -f "${ofile}T"
  2675. - AC_MSG_ERROR([unable to update list of available tagged configurations.])
  2676. - fi
  2677. +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  2678. + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  2679. +fi
  2680. +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  2681. + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  2682. fi
  2683. -])# _LT_AC_TAGCONFIG
  2684. -
  2685. -
  2686. -# AC_LIBTOOL_DLOPEN
  2687. -# -----------------
  2688. -# enable checks for dlopen support
  2689. -AC_DEFUN([AC_LIBTOOL_DLOPEN],
  2690. - [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
  2691. -])# AC_LIBTOOL_DLOPEN
  2692. -
  2693. -
  2694. -# AC_LIBTOOL_WIN32_DLL
  2695. -# --------------------
  2696. -# declare package support for building win32 DLLs
  2697. -AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
  2698. -[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
  2699. -])# AC_LIBTOOL_WIN32_DLL
  2700. -
  2701. -
  2702. -# AC_ENABLE_SHARED([DEFAULT])
  2703. -# ---------------------------
  2704. -# implement the --enable-shared flag
  2705. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  2706. -AC_DEFUN([AC_ENABLE_SHARED],
  2707. -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
  2708. -AC_ARG_ENABLE([shared],
  2709. - [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
  2710. - [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
  2711. - [p=${PACKAGE-default}
  2712. - case $enableval in
  2713. - yes) enable_shared=yes ;;
  2714. - no) enable_shared=no ;;
  2715. - *)
  2716. - enable_shared=no
  2717. - # Look at the argument we got. We use all the common list separators.
  2718. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  2719. - for pkg in $enableval; do
  2720. - IFS="$lt_save_ifs"
  2721. - if test "X$pkg" = "X$p"; then
  2722. - enable_shared=yes
  2723. - fi
  2724. - done
  2725. - IFS="$lt_save_ifs"
  2726. - ;;
  2727. - esac],
  2728. - [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
  2729. -])# AC_ENABLE_SHARED
  2730. -
  2731. -
  2732. -# AC_DISABLE_SHARED
  2733. -# -----------------
  2734. -# set the default shared flag to --disable-shared
  2735. -AC_DEFUN([AC_DISABLE_SHARED],
  2736. -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  2737. -AC_ENABLE_SHARED(no)
  2738. -])# AC_DISABLE_SHARED
  2739. -
  2740. -
  2741. -# AC_ENABLE_STATIC([DEFAULT])
  2742. -# ---------------------------
  2743. -# implement the --enable-static flag
  2744. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  2745. -AC_DEFUN([AC_ENABLE_STATIC],
  2746. -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
  2747. -AC_ARG_ENABLE([static],
  2748. - [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
  2749. - [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
  2750. - [p=${PACKAGE-default}
  2751. - case $enableval in
  2752. - yes) enable_static=yes ;;
  2753. - no) enable_static=no ;;
  2754. - *)
  2755. - enable_static=no
  2756. - # Look at the argument we got. We use all the common list separators.
  2757. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  2758. - for pkg in $enableval; do
  2759. - IFS="$lt_save_ifs"
  2760. - if test "X$pkg" = "X$p"; then
  2761. - enable_static=yes
  2762. - fi
  2763. - done
  2764. - IFS="$lt_save_ifs"
  2765. - ;;
  2766. - esac],
  2767. - [enable_static=]AC_ENABLE_STATIC_DEFAULT)
  2768. -])# AC_ENABLE_STATIC
  2769. -
  2770. -
  2771. -# AC_DISABLE_STATIC
  2772. -# -----------------
  2773. -# set the default static flag to --disable-static
  2774. -AC_DEFUN([AC_DISABLE_STATIC],
  2775. -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  2776. -AC_ENABLE_STATIC(no)
  2777. -])# AC_DISABLE_STATIC
  2778. -
  2779. -
  2780. -# AC_ENABLE_FAST_INSTALL([DEFAULT])
  2781. -# ---------------------------------
  2782. -# implement the --enable-fast-install flag
  2783. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  2784. -AC_DEFUN([AC_ENABLE_FAST_INSTALL],
  2785. -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
  2786. -AC_ARG_ENABLE([fast-install],
  2787. - [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
  2788. - [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
  2789. - [p=${PACKAGE-default}
  2790. - case $enableval in
  2791. - yes) enable_fast_install=yes ;;
  2792. - no) enable_fast_install=no ;;
  2793. - *)
  2794. - enable_fast_install=no
  2795. - # Look at the argument we got. We use all the common list separators.
  2796. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  2797. - for pkg in $enableval; do
  2798. - IFS="$lt_save_ifs"
  2799. - if test "X$pkg" = "X$p"; then
  2800. - enable_fast_install=yes
  2801. - fi
  2802. - done
  2803. - IFS="$lt_save_ifs"
  2804. - ;;
  2805. - esac],
  2806. - [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
  2807. -])# AC_ENABLE_FAST_INSTALL
  2808. -
  2809. -# AC_DISABLE_FAST_INSTALL
  2810. -# -----------------------
  2811. -# set the default to --disable-fast-install
  2812. -AC_DEFUN([AC_DISABLE_FAST_INSTALL],
  2813. -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  2814. -AC_ENABLE_FAST_INSTALL(no)
  2815. -])# AC_DISABLE_FAST_INSTALL
  2816. +_LT_DECL([], [variables_saved_for_relink], [1],
  2817. + [Variables whose values should be saved in libtool wrapper scripts and
  2818. + restored at link time])
  2819. +_LT_DECL([], [need_lib_prefix], [0],
  2820. + [Do we need the "lib" prefix for modules?])
  2821. +_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
  2822. +_LT_DECL([], [version_type], [0], [Library versioning type])
  2823. +_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable])
  2824. +_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
  2825. +_LT_DECL([], [shlibpath_overrides_runpath], [0],
  2826. + [Is shlibpath searched before the hard-coded library search path?])
  2827. +_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
  2828. +_LT_DECL([], [library_names_spec], [1],
  2829. + [[List of archive names. First name is the real one, the rest are links.
  2830. + The last name is the one that the linker finds with -lNAME]])
  2831. +_LT_DECL([], [soname_spec], [1],
  2832. + [[The coded name of the library, if different from the real name]])
  2833. +_LT_DECL([], [postinstall_cmds], [2],
  2834. + [Command to use after installation of a shared archive])
  2835. +_LT_DECL([], [postuninstall_cmds], [2],
  2836. + [Command to use after uninstallation of a shared archive])
  2837. +_LT_DECL([], [finish_cmds], [2],
  2838. + [Commands used to finish a libtool library installation in a directory])
  2839. +_LT_DECL([], [finish_eval], [1],
  2840. + [[As "finish_cmds", except a single script fragment to be evaled but
  2841. + not shown]])
  2842. +_LT_DECL([], [hardcode_into_libs], [0],
  2843. + [Whether we should hardcode library paths into libraries])
  2844. +_LT_DECL([], [sys_lib_search_path_spec], [2],
  2845. + [Compile-time system search path for libraries])
  2846. +_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
  2847. + [Run-time system search path for libraries])
  2848. +])# _LT_SYS_DYNAMIC_LINKER
  2849. -# AC_LIBTOOL_PICMODE([MODE])
  2850. +# _LT_PATH_TOOL_PREFIX(TOOL)
  2851. # --------------------------
  2852. -# implement the --with-pic flag
  2853. -# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
  2854. -AC_DEFUN([AC_LIBTOOL_PICMODE],
  2855. -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  2856. -pic_mode=ifelse($#,1,$1,default)
  2857. -])# AC_LIBTOOL_PICMODE
  2858. -
  2859. -
  2860. -# AC_PROG_EGREP
  2861. -# -------------
  2862. -# This is predefined starting with Autoconf 2.54, so this conditional
  2863. -# definition can be removed once we require Autoconf 2.54 or later.
  2864. -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
  2865. -[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
  2866. - [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  2867. - then ac_cv_prog_egrep='grep -E'
  2868. - else ac_cv_prog_egrep='egrep'
  2869. - fi])
  2870. - EGREP=$ac_cv_prog_egrep
  2871. - AC_SUBST([EGREP])
  2872. -])])
  2873. -
  2874. -
  2875. -# AC_PATH_TOOL_PREFIX
  2876. -# -------------------
  2877. # find a file program which can recognize shared library
  2878. -AC_DEFUN([AC_PATH_TOOL_PREFIX],
  2879. -[AC_REQUIRE([AC_PROG_EGREP])dnl
  2880. +AC_DEFUN([_LT_PATH_TOOL_PREFIX],
  2881. +[m4_require([_LT_DECL_EGREP])dnl
  2882. AC_MSG_CHECKING([for $1])
  2883. AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  2884. [case $MAGIC_CMD in
  2885. @@ -2197,7 +2767,7 @@
  2886. dnl $ac_dummy forces splitting on constant user-supplied paths.
  2887. dnl POSIX.2 word splitting is done only on the output of word expansions,
  2888. dnl not every word. This closes a longstanding sh security hole.
  2889. - ac_dummy="ifelse([$2], , $PATH, [$2])"
  2890. + ac_dummy="m4_if([$2], , $PATH, [$2])"
  2891. for ac_dir in $ac_dummy; do
  2892. IFS="$lt_save_ifs"
  2893. test -z "$ac_dir" && ac_dir=.
  2894. @@ -2212,7 +2782,7 @@
  2895. $EGREP "$file_magic_regex" > /dev/null; then
  2896. :
  2897. else
  2898. - cat <<EOF 1>&2
  2899. + cat <<_LT_EOF 1>&2
  2900. *** Warning: the command libtool uses to detect shared libraries,
  2901. *** $file_magic_cmd, produces output that libtool cannot recognize.
  2902. @@ -2223,7 +2793,7 @@
  2903. *** may want to report the problem to your system manager and/or to
  2904. *** bug-libtool@gnu.org
  2905. -EOF
  2906. +_LT_EOF
  2907. fi ;;
  2908. esac
  2909. fi
  2910. @@ -2240,37 +2810,47 @@
  2911. else
  2912. AC_MSG_RESULT(no)
  2913. fi
  2914. -])# AC_PATH_TOOL_PREFIX
  2915. +_LT_DECL([], [MAGIC_CMD], [0],
  2916. + [Used to examine libraries when file_magic_cmd begins with "file"])dnl
  2917. +])# _LT_PATH_TOOL_PREFIX
  2918. +# Old name:
  2919. +AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
  2920. +dnl aclocal-1.4 backwards compatibility:
  2921. +dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
  2922. -# AC_PATH_MAGIC
  2923. -# -------------
  2924. +
  2925. +# _LT_PATH_MAGIC
  2926. +# --------------
  2927. # find a file program which can recognize a shared library
  2928. -AC_DEFUN([AC_PATH_MAGIC],
  2929. -[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
  2930. +m4_defun([_LT_PATH_MAGIC],
  2931. +[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
  2932. if test -z "$lt_cv_path_MAGIC_CMD"; then
  2933. if test -n "$ac_tool_prefix"; then
  2934. - AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
  2935. + _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
  2936. else
  2937. MAGIC_CMD=:
  2938. fi
  2939. fi
  2940. -])# AC_PATH_MAGIC
  2941. +])# _LT_PATH_MAGIC
  2942. -# AC_PROG_LD
  2943. +# LT_PATH_LD
  2944. # ----------
  2945. # find the pathname to the GNU or non-GNU linker
  2946. -AC_DEFUN([AC_PROG_LD],
  2947. -[AC_ARG_WITH([gnu-ld],
  2948. - [AC_HELP_STRING([--with-gnu-ld],
  2949. - [assume the C compiler uses GNU ld @<:@default=no@:>@])],
  2950. - [test "$withval" = no || with_gnu_ld=yes],
  2951. - [with_gnu_ld=no])
  2952. -AC_REQUIRE([LT_AC_PROG_SED])dnl
  2953. -AC_REQUIRE([AC_PROG_CC])dnl
  2954. +AC_DEFUN([LT_PATH_LD],
  2955. +[AC_REQUIRE([AC_PROG_CC])dnl
  2956. AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2957. AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  2958. +m4_require([_LT_DECL_SED])dnl
  2959. +m4_require([_LT_DECL_EGREP])dnl
  2960. +
  2961. +AC_ARG_WITH([gnu-ld],
  2962. + [AS_HELP_STRING([--with-gnu-ld],
  2963. + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
  2964. + [test "$withval" = no || with_gnu_ld=yes],
  2965. + [with_gnu_ld=no])dnl
  2966. +
  2967. ac_prog=ld
  2968. if test "$GCC" = yes; then
  2969. # Check if gcc -print-prog-name=ld gives a path.
  2970. @@ -2287,9 +2867,9 @@
  2971. [[\\/]]* | ?:[[\\/]]*)
  2972. re_direlt='/[[^/]][[^/]]*/\.\./'
  2973. # Canonicalize the pathname of ld
  2974. - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
  2975. - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  2976. - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
  2977. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  2978. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  2979. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  2980. done
  2981. test -z "$LD" && LD="$ac_prog"
  2982. ;;
  2983. @@ -2339,15 +2919,24 @@
  2984. AC_MSG_RESULT(no)
  2985. fi
  2986. test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  2987. -AC_PROG_LD_GNU
  2988. -])# AC_PROG_LD
  2989. +_LT_PATH_LD_GNU
  2990. +AC_SUBST([LD])
  2991. +_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
  2992. +])# LT_PATH_LD
  2993. -# AC_PROG_LD_GNU
  2994. -# --------------
  2995. -AC_DEFUN([AC_PROG_LD_GNU],
  2996. -[AC_REQUIRE([AC_PROG_EGREP])dnl
  2997. -AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
  2998. +# Old names:
  2999. +AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
  3000. +AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
  3001. +dnl aclocal-1.4 backwards compatibility:
  3002. +dnl AC_DEFUN([AM_PROG_LD], [])
  3003. +dnl AC_DEFUN([AC_PROG_LD], [])
  3004. +
  3005. +
  3006. +# _LT_PATH_LD_GNU
  3007. +#- --------------
  3008. +m4_defun([_LT_PATH_LD_GNU],
  3009. +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
  3010. [# I'd rather use --version here, but apparently some GNU lds only accept -v.
  3011. case `$LD -v 2>&1 </dev/null` in
  3012. *GNU* | *'with BFD'*)
  3013. @@ -2358,14 +2947,14 @@
  3014. ;;
  3015. esac])
  3016. with_gnu_ld=$lt_cv_prog_gnu_ld
  3017. -])# AC_PROG_LD_GNU
  3018. +])# _LT_PATH_LD_GNU
  3019. -# AC_PROG_LD_RELOAD_FLAG
  3020. -# ----------------------
  3021. +# _LT_CMD_RELOAD
  3022. +# --------------
  3023. # find reload flag for linker
  3024. # -- PORTME Some linkers may need a different reload flag.
  3025. -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
  3026. +m4_defun([_LT_CMD_RELOAD],
  3027. [AC_CACHE_CHECK([for $LD option to reload object files],
  3028. lt_cv_ld_reload_flag,
  3029. [lt_cv_ld_reload_flag='-r'])
  3030. @@ -2384,15 +2973,19 @@
  3031. fi
  3032. ;;
  3033. esac
  3034. -])# AC_PROG_LD_RELOAD_FLAG
  3035. +_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
  3036. +_LT_DECL([], [reload_cmds], [2])dnl
  3037. +])# _LT_CMD_RELOAD
  3038. -# AC_DEPLIBS_CHECK_METHOD
  3039. -# -----------------------
  3040. +# _LT_CHECK_MAGIC_METHOD
  3041. +# ----------------------
  3042. # how to check for library dependencies
  3043. # -- PORTME fill in with the dynamic library characteristics
  3044. -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
  3045. -[AC_CACHE_CHECK([how to recognize dependent libraries],
  3046. +m4_defun([_LT_CHECK_MAGIC_METHOD],
  3047. +[m4_require([_LT_DECL_EGREP])
  3048. +m4_require([_LT_DECL_OBJDUMP])
  3049. +AC_CACHE_CHECK([how to recognize dependent libraries],
  3050. lt_cv_deplibs_check_method,
  3051. [lt_cv_file_magic_cmd='$MAGIC_CMD'
  3052. lt_cv_file_magic_test_file=
  3053. @@ -2442,12 +3035,18 @@
  3054. fi
  3055. ;;
  3056. +cegcc)
  3057. + # use the weaker test based on 'objdump'. See mingw*.
  3058. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  3059. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  3060. + ;;
  3061. +
  3062. darwin* | rhapsody*)
  3063. lt_cv_deplibs_check_method=pass_all
  3064. ;;
  3065. freebsd* | dragonfly*)
  3066. - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  3067. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  3068. case $host_cpu in
  3069. i*86 )
  3070. # Not sure whether the presence of OpenBSD here was a mistake.
  3071. @@ -2500,12 +3099,12 @@
  3072. ;;
  3073. # This must be Linux ELF.
  3074. -linux* | k*bsd*-gnu)
  3075. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  3076. lt_cv_deplibs_check_method=pass_all
  3077. ;;
  3078. -netbsd*)
  3079. - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  3080. +netbsd* | netbsdelf*-gnu)
  3081. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  3082. lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  3083. else
  3084. lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
  3085. @@ -2518,12 +3117,12 @@
  3086. lt_cv_file_magic_test_file=/usr/lib/libnls.so
  3087. ;;
  3088. -nto-qnx*)
  3089. - lt_cv_deplibs_check_method=unknown
  3090. +*nto* | *qnx*)
  3091. + lt_cv_deplibs_check_method=pass_all
  3092. ;;
  3093. openbsd*)
  3094. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  3095. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  3096. lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
  3097. else
  3098. lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  3099. @@ -2542,6 +3141,10 @@
  3100. lt_cv_deplibs_check_method=pass_all
  3101. ;;
  3102. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  3103. + lt_cv_deplibs_check_method=pass_all
  3104. + ;;
  3105. +
  3106. sysv4 | sysv4.3*)
  3107. case $host_vendor in
  3108. motorola)
  3109. @@ -2569,7 +3172,7 @@
  3110. esac
  3111. ;;
  3112. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  3113. +tpf*)
  3114. lt_cv_deplibs_check_method=pass_all
  3115. ;;
  3116. esac
  3117. @@ -2577,14 +3180,20 @@
  3118. file_magic_cmd=$lt_cv_file_magic_cmd
  3119. deplibs_check_method=$lt_cv_deplibs_check_method
  3120. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  3121. -])# AC_DEPLIBS_CHECK_METHOD
  3122. +_LT_DECL([], [deplibs_check_method], [1],
  3123. + [Method to check whether dependent libraries are shared objects])
  3124. +_LT_DECL([], [file_magic_cmd], [1],
  3125. + [Command to use when deplibs_check_method == "file_magic"])
  3126. +])# _LT_CHECK_MAGIC_METHOD
  3127. -# AC_PROG_NM
  3128. +
  3129. +# LT_PATH_NM
  3130. # ----------
  3131. -# find the pathname to a BSD-compatible name lister
  3132. -AC_DEFUN([AC_PROG_NM],
  3133. -[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
  3134. +# find the pathname to a BSD- or MS-compatible name lister
  3135. +AC_DEFUN([LT_PATH_NM],
  3136. +[AC_REQUIRE([AC_PROG_CC])dnl
  3137. +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
  3138. [if test -n "$NM"; then
  3139. # Let the user override the test.
  3140. lt_cv_path_NM="$NM"
  3141. @@ -2626,16 +3235,51 @@
  3142. done
  3143. IFS="$lt_save_ifs"
  3144. done
  3145. - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
  3146. + : ${lt_cv_path_NM=no}
  3147. fi])
  3148. -NM="$lt_cv_path_NM"
  3149. -])# AC_PROG_NM
  3150. +if test "$lt_cv_path_NM" != "no"; then
  3151. + NM="$lt_cv_path_NM"
  3152. +else
  3153. + # Didn't find any BSD compatible name lister, look for dumpbin.
  3154. + AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
  3155. + AC_SUBST([DUMPBIN])
  3156. + if test "$DUMPBIN" != ":"; then
  3157. + NM="$DUMPBIN"
  3158. + fi
  3159. +fi
  3160. +test -z "$NM" && NM=nm
  3161. +AC_SUBST([NM])
  3162. +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
  3163. +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
  3164. + [lt_cv_nm_interface="BSD nm"
  3165. + echo "int some_variable = 0;" > conftest.$ac_ext
  3166. + (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  3167. + (eval "$ac_compile" 2>conftest.err)
  3168. + cat conftest.err >&AS_MESSAGE_LOG_FD
  3169. + (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  3170. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  3171. + cat conftest.err >&AS_MESSAGE_LOG_FD
  3172. + (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
  3173. + cat conftest.out >&AS_MESSAGE_LOG_FD
  3174. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  3175. + lt_cv_nm_interface="MS dumpbin"
  3176. + fi
  3177. + rm -f conftest*])
  3178. +])# LT_PATH_NM
  3179. +
  3180. +# Old names:
  3181. +AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
  3182. +AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
  3183. +dnl aclocal-1.4 backwards compatibility:
  3184. +dnl AC_DEFUN([AM_PROG_NM], [])
  3185. +dnl AC_DEFUN([AC_PROG_NM], [])
  3186. -# AC_CHECK_LIBM
  3187. -# -------------
  3188. +
  3189. +# LT_LIB_M
  3190. +# --------
  3191. # check for math library
  3192. -AC_DEFUN([AC_CHECK_LIBM],
  3193. +AC_DEFUN([LT_LIB_M],
  3194. [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  3195. LIBM=
  3196. case $host in
  3197. @@ -2650,3957 +3294,3777 @@
  3198. AC_CHECK_LIB(m, cos, LIBM="-lm")
  3199. ;;
  3200. esac
  3201. -])# AC_CHECK_LIBM
  3202. +AC_SUBST([LIBM])
  3203. +])# LT_LIB_M
  3204. +# Old name:
  3205. +AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
  3206. +dnl aclocal-1.4 backwards compatibility:
  3207. +dnl AC_DEFUN([AC_CHECK_LIBM], [])
  3208. -# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
  3209. -# -----------------------------------
  3210. -# sets LIBLTDL to the link flags for the libltdl convenience library and
  3211. -# LTDLINCL to the include flags for the libltdl header and adds
  3212. -# --enable-ltdl-convenience to the configure arguments. Note that
  3213. -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
  3214. -# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
  3215. -# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
  3216. -# (note the single quotes!). If your package is not flat and you're not
  3217. -# using automake, define top_builddir and top_srcdir appropriately in
  3218. -# the Makefiles.
  3219. -AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
  3220. -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  3221. - case $enable_ltdl_convenience in
  3222. - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
  3223. - "") enable_ltdl_convenience=yes
  3224. - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
  3225. - esac
  3226. - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
  3227. - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  3228. - # For backwards non-gettext consistent compatibility...
  3229. - INCLTDL="$LTDLINCL"
  3230. -])# AC_LIBLTDL_CONVENIENCE
  3231. +# _LT_COMPILER_NO_RTTI([TAGNAME])
  3232. +# -------------------------------
  3233. +m4_defun([_LT_COMPILER_NO_RTTI],
  3234. +[m4_require([_LT_TAG_COMPILER])dnl
  3235. -# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
  3236. -# -----------------------------------
  3237. -# sets LIBLTDL to the link flags for the libltdl installable library and
  3238. -# LTDLINCL to the include flags for the libltdl header and adds
  3239. -# --enable-ltdl-install to the configure arguments. Note that
  3240. -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
  3241. -# and an installed libltdl is not found, it is assumed to be `libltdl'.
  3242. -# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
  3243. -# '${top_srcdir}/' (note the single quotes!). If your package is not
  3244. -# flat and you're not using automake, define top_builddir and top_srcdir
  3245. -# appropriately in the Makefiles.
  3246. -# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
  3247. -AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
  3248. -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  3249. - AC_CHECK_LIB(ltdl, lt_dlinit,
  3250. - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
  3251. - [if test x"$enable_ltdl_install" = xno; then
  3252. - AC_MSG_WARN([libltdl not installed, but installation disabled])
  3253. - else
  3254. - enable_ltdl_install=yes
  3255. - fi
  3256. - ])
  3257. - if test x"$enable_ltdl_install" = x"yes"; then
  3258. - ac_configure_args="$ac_configure_args --enable-ltdl-install"
  3259. - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
  3260. - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  3261. - else
  3262. - ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
  3263. - LIBLTDL="-lltdl"
  3264. - LTDLINCL=
  3265. - fi
  3266. - # For backwards non-gettext consistent compatibility...
  3267. - INCLTDL="$LTDLINCL"
  3268. -])# AC_LIBLTDL_INSTALLABLE
  3269. +_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  3270. +if test "$GCC" = yes; then
  3271. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  3272. -# AC_LIBTOOL_CXX
  3273. -# --------------
  3274. -# enable support for C++ libraries
  3275. -AC_DEFUN([AC_LIBTOOL_CXX],
  3276. -[AC_REQUIRE([_LT_AC_LANG_CXX])
  3277. -])# AC_LIBTOOL_CXX
  3278. + _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
  3279. + lt_cv_prog_compiler_rtti_exceptions,
  3280. + [-fno-rtti -fno-exceptions], [],
  3281. + [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
  3282. +fi
  3283. +_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
  3284. + [Compiler flag to turn off builtin functions])
  3285. +])# _LT_COMPILER_NO_RTTI
  3286. -# _LT_AC_LANG_CXX
  3287. -# ---------------
  3288. -AC_DEFUN([_LT_AC_LANG_CXX],
  3289. -[AC_REQUIRE([AC_PROG_CXX])
  3290. -AC_REQUIRE([_LT_AC_PROG_CXXCPP])
  3291. -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
  3292. -])# _LT_AC_LANG_CXX
  3293. +# _LT_CMD_GLOBAL_SYMBOLS
  3294. +# ----------------------
  3295. +m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
  3296. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  3297. +AC_REQUIRE([AC_PROG_CC])dnl
  3298. +AC_REQUIRE([LT_PATH_NM])dnl
  3299. +AC_REQUIRE([LT_PATH_LD])dnl
  3300. +m4_require([_LT_DECL_SED])dnl
  3301. +m4_require([_LT_DECL_EGREP])dnl
  3302. +m4_require([_LT_TAG_COMPILER])dnl
  3303. -# _LT_AC_PROG_CXXCPP
  3304. -# ------------------
  3305. -AC_DEFUN([_LT_AC_PROG_CXXCPP],
  3306. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  3307. +AC_MSG_CHECKING([command to parse $NM output from $compiler object])
  3308. +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
  3309. [
  3310. -AC_REQUIRE([AC_PROG_CXX])
  3311. -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  3312. - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  3313. - (test "X$CXX" != "Xg++"))) ; then
  3314. - AC_PROG_CXXCPP
  3315. -fi
  3316. -])# _LT_AC_PROG_CXXCPP
  3317. +# These are sane defaults that work on at least a few old systems.
  3318. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  3319. -# AC_LIBTOOL_F77
  3320. -# --------------
  3321. -# enable support for Fortran 77 libraries
  3322. -AC_DEFUN([AC_LIBTOOL_F77],
  3323. -[AC_REQUIRE([_LT_AC_LANG_F77])
  3324. -])# AC_LIBTOOL_F77
  3325. +# Character class describing NM global symbol codes.
  3326. +symcode='[[BCDEGRST]]'
  3327. +# Regexp to match symbols that can be accessed directly from C.
  3328. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
  3329. -# _LT_AC_LANG_F77
  3330. -# ---------------
  3331. -AC_DEFUN([_LT_AC_LANG_F77],
  3332. -[AC_REQUIRE([AC_PROG_F77])
  3333. -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
  3334. -])# _LT_AC_LANG_F77
  3335. +# Define system-specific variables.
  3336. +case $host_os in
  3337. +aix*)
  3338. + symcode='[[BCDT]]'
  3339. + ;;
  3340. +cygwin* | mingw* | pw32* | cegcc*)
  3341. + symcode='[[ABCDGISTW]]'
  3342. + ;;
  3343. +hpux*)
  3344. + if test "$host_cpu" = ia64; then
  3345. + symcode='[[ABCDEGRST]]'
  3346. + fi
  3347. + ;;
  3348. +irix* | nonstopux*)
  3349. + symcode='[[BCDEGRST]]'
  3350. + ;;
  3351. +osf*)
  3352. + symcode='[[BCDEGQRST]]'
  3353. + ;;
  3354. +solaris*)
  3355. + symcode='[[BDRT]]'
  3356. + ;;
  3357. +sco3.2v5*)
  3358. + symcode='[[DT]]'
  3359. + ;;
  3360. +sysv4.2uw2*)
  3361. + symcode='[[DT]]'
  3362. + ;;
  3363. +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  3364. + symcode='[[ABDT]]'
  3365. + ;;
  3366. +sysv4)
  3367. + symcode='[[DFNSTU]]'
  3368. + ;;
  3369. +esac
  3370. +# If we're using GNU nm, then use its standard symbol codes.
  3371. +case `$NM -V 2>&1` in
  3372. +*GNU* | *'with BFD'*)
  3373. + symcode='[[ABCDGIRSTW]]' ;;
  3374. +esac
  3375. -# AC_LIBTOOL_GCJ
  3376. -# --------------
  3377. -# enable support for GCJ libraries
  3378. -AC_DEFUN([AC_LIBTOOL_GCJ],
  3379. -[AC_REQUIRE([_LT_AC_LANG_GCJ])
  3380. -])# AC_LIBTOOL_GCJ
  3381. +# Transform an extracted symbol line into a proper C declaration.
  3382. +# Some systems (esp. on ia64) link data and code symbols differently,
  3383. +# so use this general approach.
  3384. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  3385. +# Transform an extracted symbol line into symbol name and symbol address
  3386. +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
  3387. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
  3388. -# _LT_AC_LANG_GCJ
  3389. -# ---------------
  3390. -AC_DEFUN([_LT_AC_LANG_GCJ],
  3391. -[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
  3392. - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
  3393. - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
  3394. - [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
  3395. - [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
  3396. - [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
  3397. -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
  3398. -])# _LT_AC_LANG_GCJ
  3399. +# Handle CRLF in mingw tool chain
  3400. +opt_cr=
  3401. +case $build_os in
  3402. +mingw*)
  3403. + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  3404. + ;;
  3405. +esac
  3406. +# Try without a prefix underscore, then with it.
  3407. +for ac_symprfx in "" "_"; do
  3408. -# AC_LIBTOOL_RC
  3409. -# -------------
  3410. -# enable support for Windows resource files
  3411. -AC_DEFUN([AC_LIBTOOL_RC],
  3412. -[AC_REQUIRE([LT_AC_PROG_RC])
  3413. -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
  3414. -])# AC_LIBTOOL_RC
  3415. -
  3416. -
  3417. -# AC_LIBTOOL_LANG_C_CONFIG
  3418. -# ------------------------
  3419. -# Ensure that the configuration vars for the C compiler are
  3420. -# suitably defined. Those variables are subsequently used by
  3421. -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  3422. -AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
  3423. -AC_DEFUN([_LT_AC_LANG_C_CONFIG],
  3424. -[lt_save_CC="$CC"
  3425. -AC_LANG_PUSH(C)
  3426. -
  3427. -# Source file extension for C test sources.
  3428. -ac_ext=c
  3429. -
  3430. -# Object file extension for compiled C test sources.
  3431. -objext=o
  3432. -_LT_AC_TAGVAR(objext, $1)=$objext
  3433. -
  3434. -# Code to be used in simple compile tests
  3435. -lt_simple_compile_test_code="int some_variable = 0;"
  3436. -
  3437. -# Code to be used in simple link tests
  3438. -lt_simple_link_test_code='int main(){return(0);}'
  3439. -
  3440. -_LT_AC_SYS_COMPILER
  3441. -
  3442. -# save warnings/boilerplate of simple test code
  3443. -_LT_COMPILER_BOILERPLATE
  3444. -_LT_LINKER_BOILERPLATE
  3445. -
  3446. -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
  3447. -AC_LIBTOOL_PROG_COMPILER_PIC($1)
  3448. -AC_LIBTOOL_PROG_CC_C_O($1)
  3449. -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  3450. -AC_LIBTOOL_PROG_LD_SHLIBS($1)
  3451. -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  3452. -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  3453. -AC_LIBTOOL_SYS_LIB_STRIP
  3454. -AC_LIBTOOL_DLOPEN_SELF
  3455. -
  3456. -# Report which library types will actually be built
  3457. -AC_MSG_CHECKING([if libtool supports shared libraries])
  3458. -AC_MSG_RESULT([$can_build_shared])
  3459. -
  3460. -AC_MSG_CHECKING([whether to build shared libraries])
  3461. -test "$can_build_shared" = "no" && enable_shared=no
  3462. -
  3463. -# On AIX, shared libraries and static libraries use the same namespace, and
  3464. -# are all built from PIC.
  3465. -case $host_os in
  3466. -aix3*)
  3467. - test "$enable_shared" = yes && enable_static=no
  3468. - if test -n "$RANLIB"; then
  3469. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  3470. - postinstall_cmds='$RANLIB $lib'
  3471. - fi
  3472. - ;;
  3473. + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  3474. + symxfrm="\\1 $ac_symprfx\\2 \\2"
  3475. -aix[[4-9]]*)
  3476. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  3477. - test "$enable_shared" = yes && enable_static=no
  3478. + # Write the raw and C identifiers.
  3479. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  3480. + # Fake it for dumpbin and say T for any non-static function
  3481. + # and D for any global variable.
  3482. + # Also find C++ and __fastcall symbols from MSVC++,
  3483. + # which start with @ or ?.
  3484. + lt_cv_sys_global_symbol_pipe="$AWK ['"\
  3485. +" {last_section=section; section=\$ 3};"\
  3486. +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  3487. +" \$ 0!~/External *\|/{next};"\
  3488. +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  3489. +" {if(hide[section]) next};"\
  3490. +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  3491. +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  3492. +" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  3493. +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  3494. +" ' prfx=^$ac_symprfx]"
  3495. + else
  3496. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  3497. fi
  3498. - ;;
  3499. -esac
  3500. -AC_MSG_RESULT([$enable_shared])
  3501. -
  3502. -AC_MSG_CHECKING([whether to build static libraries])
  3503. -# Make sure either enable_shared or enable_static is yes.
  3504. -test "$enable_shared" = yes || enable_static=yes
  3505. -AC_MSG_RESULT([$enable_static])
  3506. -
  3507. -AC_LIBTOOL_CONFIG($1)
  3508. -
  3509. -AC_LANG_POP
  3510. -CC="$lt_save_CC"
  3511. -])# AC_LIBTOOL_LANG_C_CONFIG
  3512. -
  3513. -
  3514. -# AC_LIBTOOL_LANG_CXX_CONFIG
  3515. -# --------------------------
  3516. -# Ensure that the configuration vars for the C compiler are
  3517. -# suitably defined. Those variables are subsequently used by
  3518. -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  3519. -AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
  3520. -AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
  3521. -[AC_LANG_PUSH(C++)
  3522. -AC_REQUIRE([AC_PROG_CXX])
  3523. -AC_REQUIRE([_LT_AC_PROG_CXXCPP])
  3524. -
  3525. -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3526. -_LT_AC_TAGVAR(allow_undefined_flag, $1)=
  3527. -_LT_AC_TAGVAR(always_export_symbols, $1)=no
  3528. -_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
  3529. -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  3530. -_LT_AC_TAGVAR(hardcode_direct, $1)=no
  3531. -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  3532. -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  3533. -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  3534. -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
  3535. -_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  3536. -_LT_AC_TAGVAR(hardcode_automatic, $1)=no
  3537. -_LT_AC_TAGVAR(module_cmds, $1)=
  3538. -_LT_AC_TAGVAR(module_expsym_cmds, $1)=
  3539. -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
  3540. -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  3541. -_LT_AC_TAGVAR(no_undefined_flag, $1)=
  3542. -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  3543. -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  3544. -
  3545. -# Dependencies to place before and after the object being linked:
  3546. -_LT_AC_TAGVAR(predep_objects, $1)=
  3547. -_LT_AC_TAGVAR(postdep_objects, $1)=
  3548. -_LT_AC_TAGVAR(predeps, $1)=
  3549. -_LT_AC_TAGVAR(postdeps, $1)=
  3550. -_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
  3551. -_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
  3552. -
  3553. -# Source file extension for C++ test sources.
  3554. -ac_ext=cpp
  3555. -
  3556. -# Object file extension for compiled C++ test sources.
  3557. -objext=o
  3558. -_LT_AC_TAGVAR(objext, $1)=$objext
  3559. -
  3560. -# Code to be used in simple compile tests
  3561. -lt_simple_compile_test_code="int some_variable = 0;"
  3562. -# Code to be used in simple link tests
  3563. -lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
  3564. -
  3565. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  3566. -_LT_AC_SYS_COMPILER
  3567. -
  3568. -# save warnings/boilerplate of simple test code
  3569. -_LT_COMPILER_BOILERPLATE
  3570. -_LT_LINKER_BOILERPLATE
  3571. + # Check to see that the pipe works correctly.
  3572. + pipe_works=no
  3573. -# Allow CC to be a program name with arguments.
  3574. -lt_save_CC=$CC
  3575. -lt_save_LD=$LD
  3576. -lt_save_GCC=$GCC
  3577. -GCC=$GXX
  3578. -lt_save_with_gnu_ld=$with_gnu_ld
  3579. -lt_save_path_LD=$lt_cv_path_LD
  3580. -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  3581. - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  3582. -else
  3583. - $as_unset lt_cv_prog_gnu_ld
  3584. -fi
  3585. -if test -n "${lt_cv_path_LDCXX+set}"; then
  3586. - lt_cv_path_LD=$lt_cv_path_LDCXX
  3587. -else
  3588. - $as_unset lt_cv_path_LD
  3589. -fi
  3590. -test -z "${LDCXX+set}" || LD=$LDCXX
  3591. -CC=${CXX-"c++"}
  3592. -compiler=$CC
  3593. -_LT_AC_TAGVAR(compiler, $1)=$CC
  3594. -_LT_CC_BASENAME([$compiler])
  3595. + rm -f conftest*
  3596. + cat > conftest.$ac_ext <<_LT_EOF
  3597. +#ifdef __cplusplus
  3598. +extern "C" {
  3599. +#endif
  3600. +char nm_test_var;
  3601. +void nm_test_func(void);
  3602. +void nm_test_func(void){}
  3603. +#ifdef __cplusplus
  3604. +}
  3605. +#endif
  3606. +int main(){nm_test_var='a';nm_test_func();return(0);}
  3607. +_LT_EOF
  3608. -# We don't want -fno-exception wen compiling C++ code, so set the
  3609. -# no_builtin_flag separately
  3610. -if test "$GXX" = yes; then
  3611. - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  3612. -else
  3613. - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  3614. -fi
  3615. + if AC_TRY_EVAL(ac_compile); then
  3616. + # Now try to grab the symbols.
  3617. + nlist=conftest.nm
  3618. + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
  3619. + # Try sorting and uniquifying the output.
  3620. + if sort "$nlist" | uniq > "$nlist"T; then
  3621. + mv -f "$nlist"T "$nlist"
  3622. + else
  3623. + rm -f "$nlist"T
  3624. + fi
  3625. -if test "$GXX" = yes; then
  3626. - # Set up default GNU C++ configuration
  3627. + # Make sure that we snagged all the symbols we need.
  3628. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  3629. + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  3630. + cat <<_LT_EOF > conftest.$ac_ext
  3631. +#ifdef __cplusplus
  3632. +extern "C" {
  3633. +#endif
  3634. - AC_PROG_LD
  3635. +_LT_EOF
  3636. + # Now generate the symbol file.
  3637. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  3638. - # Check if GNU C++ uses GNU ld as the underlying linker, since the
  3639. - # archiving commands below assume that GNU ld is being used.
  3640. - if test "$with_gnu_ld" = yes; then
  3641. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  3642. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  3643. + cat <<_LT_EOF >> conftest.$ac_ext
  3644. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  3645. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  3646. +/* The mapping between symbol names and symbols. */
  3647. +const struct {
  3648. + const char *name;
  3649. + void *address;
  3650. +}
  3651. +lt__PROGRAM__LTX_preloaded_symbols[[]] =
  3652. +{
  3653. + { "@PROGRAM@", (void *) 0 },
  3654. +_LT_EOF
  3655. + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  3656. + cat <<\_LT_EOF >> conftest.$ac_ext
  3657. + {0, (void *) 0}
  3658. +};
  3659. - # If archive_cmds runs LD, not CC, wlarc should be empty
  3660. - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  3661. - # investigate it a little bit more. (MM)
  3662. - wlarc='${wl}'
  3663. +/* This works around a problem in FreeBSD linker */
  3664. +#ifdef FREEBSD_WORKAROUND
  3665. +static const void *lt_preloaded_setup() {
  3666. + return lt__PROGRAM__LTX_preloaded_symbols;
  3667. +}
  3668. +#endif
  3669. - # ancient GNU ld didn't support --whole-archive et. al.
  3670. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
  3671. - grep 'no-whole-archive' > /dev/null; then
  3672. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  3673. +#ifdef __cplusplus
  3674. +}
  3675. +#endif
  3676. +_LT_EOF
  3677. + # Now try linking the two files.
  3678. + mv conftest.$ac_objext conftstm.$ac_objext
  3679. + lt_save_LIBS="$LIBS"
  3680. + lt_save_CFLAGS="$CFLAGS"
  3681. + LIBS="conftstm.$ac_objext"
  3682. + CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
  3683. + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
  3684. + pipe_works=yes
  3685. + fi
  3686. + LIBS="$lt_save_LIBS"
  3687. + CFLAGS="$lt_save_CFLAGS"
  3688. + else
  3689. + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
  3690. + fi
  3691. + else
  3692. + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
  3693. + fi
  3694. else
  3695. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  3696. + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  3697. fi
  3698. else
  3699. - with_gnu_ld=no
  3700. - wlarc=
  3701. -
  3702. - # A generic and very simple default shared library creation
  3703. - # command for GNU C++ for the case where it uses the native
  3704. - # linker, instead of GNU ld. If possible, this setting should
  3705. - # overridden to take advantage of the native linker features on
  3706. - # the platform it is being used on.
  3707. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  3708. + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
  3709. + cat conftest.$ac_ext >&5
  3710. fi
  3711. + rm -rf conftest* conftst*
  3712. - # Commands to make compiler produce verbose output that lists
  3713. - # what "hidden" libraries, object files and flags are used when
  3714. - # linking a shared library.
  3715. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  3716. -
  3717. + # Do not use the global_symbol_pipe unless it works.
  3718. + if test "$pipe_works" = yes; then
  3719. + break
  3720. + else
  3721. + lt_cv_sys_global_symbol_pipe=
  3722. + fi
  3723. +done
  3724. +])
  3725. +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  3726. + lt_cv_sys_global_symbol_to_cdecl=
  3727. +fi
  3728. +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  3729. + AC_MSG_RESULT(failed)
  3730. else
  3731. - GXX=no
  3732. - with_gnu_ld=no
  3733. - wlarc=
  3734. + AC_MSG_RESULT(ok)
  3735. fi
  3736. -# PORTME: fill in a description of your system's C++ link characteristics
  3737. -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  3738. -_LT_AC_TAGVAR(ld_shlibs, $1)=yes
  3739. -case $host_os in
  3740. - aix3*)
  3741. - # FIXME: insert proper C++ library support
  3742. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3743. - ;;
  3744. - aix[[4-9]]*)
  3745. - if test "$host_cpu" = ia64; then
  3746. - # On IA64, the linker does run time linking by default, so we don't
  3747. - # have to do anything special.
  3748. - aix_use_runtimelinking=no
  3749. - exp_sym_flag='-Bexport'
  3750. - no_entry_flag=""
  3751. - else
  3752. - aix_use_runtimelinking=no
  3753. +_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
  3754. + [Take the output of nm and produce a listing of raw symbols and C names])
  3755. +_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
  3756. + [Transform the output of nm in a proper C declaration])
  3757. +_LT_DECL([global_symbol_to_c_name_address],
  3758. + [lt_cv_sys_global_symbol_to_c_name_address], [1],
  3759. + [Transform the output of nm in a C name address pair])
  3760. +_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
  3761. + [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
  3762. + [Transform the output of nm in a C name address pair when lib prefix is needed])
  3763. +]) # _LT_CMD_GLOBAL_SYMBOLS
  3764. - # Test if we are trying to use run time linking or normal
  3765. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  3766. - # need to do runtime linking.
  3767. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  3768. - for ld_flag in $LDFLAGS; do
  3769. - case $ld_flag in
  3770. - *-brtl*)
  3771. - aix_use_runtimelinking=yes
  3772. - break
  3773. - ;;
  3774. - esac
  3775. - done
  3776. - ;;
  3777. - esac
  3778. - exp_sym_flag='-bexport'
  3779. - no_entry_flag='-bnoentry'
  3780. - fi
  3781. +# _LT_COMPILER_PIC([TAGNAME])
  3782. +# ---------------------------
  3783. +m4_defun([_LT_COMPILER_PIC],
  3784. +[m4_require([_LT_TAG_COMPILER])dnl
  3785. +_LT_TAGVAR(lt_prog_compiler_wl, $1)=
  3786. +_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3787. +_LT_TAGVAR(lt_prog_compiler_static, $1)=
  3788. - # When large executables or shared objects are built, AIX ld can
  3789. - # have problems creating the table of contents. If linking a library
  3790. - # or program results in "error TOC overflow" add -mminimal-toc to
  3791. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  3792. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  3793. -
  3794. - _LT_AC_TAGVAR(archive_cmds, $1)=''
  3795. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3796. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
  3797. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  3798. +AC_MSG_CHECKING([for $compiler option to produce PIC])
  3799. +m4_if([$1], [CXX], [
  3800. + # C++ specific cases for pic, static, wl, etc.
  3801. + if test "$GXX" = yes; then
  3802. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3803. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3804. - if test "$GXX" = yes; then
  3805. - case $host_os in aix4.[[012]]|aix4.[[012]].*)
  3806. - # We only want to do this on AIX 4.2 and lower, the check
  3807. - # below for broken collect2 doesn't work under 4.3+
  3808. - collect2name=`${CC} -print-prog-name=collect2`
  3809. - if test -f "$collect2name" && \
  3810. - strings "$collect2name" | grep resolve_lib_name >/dev/null
  3811. - then
  3812. - # We have reworked collect2
  3813. - :
  3814. - else
  3815. - # We have old collect2
  3816. - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
  3817. - # It fails to find uninstalled libraries when the uninstalled
  3818. - # path is not listed in the libpath. Setting hardcode_minus_L
  3819. - # to unsupported forces relinking
  3820. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  3821. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  3822. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  3823. - fi
  3824. - ;;
  3825. - esac
  3826. - shared_flag='-shared'
  3827. - if test "$aix_use_runtimelinking" = yes; then
  3828. - shared_flag="$shared_flag "'${wl}-G'
  3829. - fi
  3830. - else
  3831. - # not using gcc
  3832. + case $host_os in
  3833. + aix*)
  3834. + # All AIX code is PIC.
  3835. if test "$host_cpu" = ia64; then
  3836. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  3837. - # chokes on -Wl,-G. The following line is correct:
  3838. - shared_flag='-G'
  3839. - else
  3840. - if test "$aix_use_runtimelinking" = yes; then
  3841. - shared_flag='${wl}-G'
  3842. - else
  3843. - shared_flag='${wl}-bM:SRE'
  3844. - fi
  3845. + # AIX 5 now supports IA64 processor
  3846. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3847. fi
  3848. - fi
  3849. + ;;
  3850. - # It seems that -bexpall does not export symbols beginning with
  3851. - # underscore (_), so it is better to generate a list of symbols to export.
  3852. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
  3853. - if test "$aix_use_runtimelinking" = yes; then
  3854. - # Warning - without using the other runtime loading flags (-brtl),
  3855. - # -berok will link without error, but may produce a broken library.
  3856. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
  3857. - # Determine the default libpath from the value encoded in an empty executable.
  3858. - _LT_AC_SYS_LIBPATH_AIX
  3859. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  3860. + amigaos*)
  3861. + case $host_cpu in
  3862. + powerpc)
  3863. + # see comment about AmigaOS4 .so support
  3864. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3865. + ;;
  3866. + m68k)
  3867. + # FIXME: we need at least 68020 code to build shared libraries, but
  3868. + # adding the `-m68020' flag to GCC prevents building anything better,
  3869. + # like `-m68040'.
  3870. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  3871. + ;;
  3872. + esac
  3873. + ;;
  3874. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  3875. - else
  3876. - if test "$host_cpu" = ia64; then
  3877. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  3878. - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  3879. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  3880. - else
  3881. - # Determine the default libpath from the value encoded in an empty executable.
  3882. - _LT_AC_SYS_LIBPATH_AIX
  3883. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  3884. - # Warning - without using the other run time loading flags,
  3885. - # -berok will link without error, but may produce a broken library.
  3886. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  3887. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  3888. - # Exported symbols can be pulled into shared objects from archives
  3889. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  3890. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
  3891. - # This is similar to how AIX traditionally builds its shared libraries.
  3892. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  3893. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  3894. + # PIC is the default for these OSes.
  3895. + ;;
  3896. + mingw* | cygwin* | os2* | pw32* | cegcc*)
  3897. + # This hack is so that the source file can tell whether it is being
  3898. + # built for inclusion in a dll (and should export symbols for example).
  3899. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  3900. + # (--disable-auto-import) libraries
  3901. + m4_if([$1], [GCJ], [],
  3902. + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  3903. + ;;
  3904. + darwin* | rhapsody*)
  3905. + # PIC is the default on this platform
  3906. + # Common symbols not allowed in MH_DYLIB files
  3907. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  3908. + ;;
  3909. + *djgpp*)
  3910. + # DJGPP does not support shared libraries at all
  3911. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3912. + ;;
  3913. + interix[[3-9]]*)
  3914. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  3915. + # Instead, we relocate shared libraries at runtime.
  3916. + ;;
  3917. + sysv4*MP*)
  3918. + if test -d /usr/nec; then
  3919. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  3920. fi
  3921. - fi
  3922. - ;;
  3923. -
  3924. - beos*)
  3925. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  3926. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  3927. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  3928. - # support --undefined. This deserves some investigation. FIXME
  3929. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  3930. - else
  3931. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3932. - fi
  3933. - ;;
  3934. -
  3935. - chorus*)
  3936. - case $cc_basename in
  3937. + ;;
  3938. + hpux*)
  3939. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  3940. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  3941. + # sets the default TLS model and affects inlining.
  3942. + case $host_cpu in
  3943. + hppa*64*)
  3944. + ;;
  3945. *)
  3946. - # FIXME: insert proper C++ library support
  3947. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3948. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3949. ;;
  3950. - esac
  3951. - ;;
  3952. -
  3953. - cygwin* | mingw* | pw32*)
  3954. - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  3955. - # as there is no search path for DLLs.
  3956. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  3957. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  3958. - _LT_AC_TAGVAR(always_export_symbols, $1)=no
  3959. - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  3960. -
  3961. - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  3962. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  3963. - # If the export-symbols file already is a .def file (1st line
  3964. - # is EXPORTS), use it as is; otherwise, prepend...
  3965. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  3966. - cp $export_symbols $output_objdir/$soname.def;
  3967. - else
  3968. - echo EXPORTS > $output_objdir/$soname.def;
  3969. - cat $export_symbols >> $output_objdir/$soname.def;
  3970. - fi~
  3971. - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  3972. - else
  3973. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3974. - fi
  3975. - ;;
  3976. - darwin* | rhapsody*)
  3977. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3978. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  3979. - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
  3980. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  3981. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
  3982. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  3983. - _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
  3984. - if test "$GXX" = yes ; then
  3985. - output_verbose_link_cmd='echo'
  3986. - _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  3987. - _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  3988. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  3989. - _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  3990. - if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  3991. - _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
  3992. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
  3993. - fi
  3994. - else
  3995. - case $cc_basename in
  3996. - xlc*)
  3997. - output_verbose_link_cmd='echo'
  3998. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
  3999. - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  4000. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  4001. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  4002. - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  4003. - ;;
  4004. - *)
  4005. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4006. - ;;
  4007. esac
  4008. - fi
  4009. - ;;
  4010. -
  4011. - dgux*)
  4012. - case $cc_basename in
  4013. - ec++*)
  4014. - # FIXME: insert proper C++ library support
  4015. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4016. - ;;
  4017. - ghcx*)
  4018. - # Green Hills C++ Compiler
  4019. - # FIXME: insert proper C++ library support
  4020. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4021. - ;;
  4022. - *)
  4023. - # FIXME: insert proper C++ library support
  4024. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4025. - ;;
  4026. - esac
  4027. - ;;
  4028. - freebsd[[12]]*)
  4029. - # C++ shared libraries reported to be fairly broken before switch to ELF
  4030. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4031. - ;;
  4032. - freebsd-elf*)
  4033. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  4034. - ;;
  4035. - freebsd* | dragonfly*)
  4036. - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  4037. - # conventions
  4038. - _LT_AC_TAGVAR(ld_shlibs, $1)=yes
  4039. - ;;
  4040. - gnu*)
  4041. - ;;
  4042. - hpux9*)
  4043. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  4044. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4045. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4046. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  4047. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  4048. - # but as the default
  4049. - # location of the library.
  4050. -
  4051. - case $cc_basename in
  4052. - CC*)
  4053. - # FIXME: insert proper C++ library support
  4054. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4055. - ;;
  4056. - aCC*)
  4057. - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  4058. - # Commands to make compiler produce verbose output that lists
  4059. - # what "hidden" libraries, object files and flags are used when
  4060. - # linking a shared library.
  4061. - #
  4062. - # There doesn't appear to be a way to prevent this compiler from
  4063. - # explicitly linking system object files so we need to strip them
  4064. - # from the output so that they don't get included in the library
  4065. - # dependencies.
  4066. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  4067. - ;;
  4068. - *)
  4069. - if test "$GXX" = yes; then
  4070. - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  4071. - else
  4072. - # FIXME: insert proper C++ library support
  4073. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4074. - fi
  4075. ;;
  4076. - esac
  4077. - ;;
  4078. - hpux10*|hpux11*)
  4079. - if test $with_gnu_ld = no; then
  4080. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  4081. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4082. -
  4083. - case $host_cpu in
  4084. - hppa*64*|ia64*) ;;
  4085. - *)
  4086. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4087. - ;;
  4088. - esac
  4089. - fi
  4090. - case $host_cpu in
  4091. - hppa*64*|ia64*)
  4092. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  4093. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  4094. + *qnx* | *nto*)
  4095. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  4096. + # it will coredump.
  4097. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  4098. ;;
  4099. *)
  4100. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  4101. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  4102. - # but as the default
  4103. - # location of the library.
  4104. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  4105. ;;
  4106. esac
  4107. -
  4108. - case $cc_basename in
  4109. - CC*)
  4110. - # FIXME: insert proper C++ library support
  4111. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4112. + else
  4113. + case $host_os in
  4114. + aix[[4-9]]*)
  4115. + # All AIX code is PIC.
  4116. + if test "$host_cpu" = ia64; then
  4117. + # AIX 5 now supports IA64 processor
  4118. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4119. + else
  4120. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  4121. + fi
  4122. ;;
  4123. - aCC*)
  4124. - case $host_cpu in
  4125. - hppa*64*)
  4126. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  4127. - ;;
  4128. - ia64*)
  4129. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  4130. - ;;
  4131. - *)
  4132. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  4133. + chorus*)
  4134. + case $cc_basename in
  4135. + cxch68*)
  4136. + # Green Hills C++ Compiler
  4137. + # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
  4138. ;;
  4139. esac
  4140. - # Commands to make compiler produce verbose output that lists
  4141. - # what "hidden" libraries, object files and flags are used when
  4142. - # linking a shared library.
  4143. - #
  4144. - # There doesn't appear to be a way to prevent this compiler from
  4145. - # explicitly linking system object files so we need to strip them
  4146. - # from the output so that they don't get included in the library
  4147. - # dependencies.
  4148. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  4149. ;;
  4150. - *)
  4151. - if test "$GXX" = yes; then
  4152. - if test $with_gnu_ld = no; then
  4153. + dgux*)
  4154. + case $cc_basename in
  4155. + ec++*)
  4156. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4157. + ;;
  4158. + ghcx*)
  4159. + # Green Hills C++ Compiler
  4160. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  4161. + ;;
  4162. + *)
  4163. + ;;
  4164. + esac
  4165. + ;;
  4166. + freebsd* | dragonfly*)
  4167. + # FreeBSD uses GNU C++
  4168. + ;;
  4169. + hpux9* | hpux10* | hpux11*)
  4170. + case $cc_basename in
  4171. + CC*)
  4172. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4173. + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  4174. + if test "$host_cpu" != ia64; then
  4175. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  4176. + fi
  4177. + ;;
  4178. + aCC*)
  4179. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4180. + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  4181. case $host_cpu in
  4182. - hppa*64*)
  4183. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  4184. - ;;
  4185. - ia64*)
  4186. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  4187. + hppa*64*|ia64*)
  4188. + # +Z the default
  4189. ;;
  4190. *)
  4191. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  4192. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  4193. ;;
  4194. esac
  4195. - fi
  4196. - else
  4197. - # FIXME: insert proper C++ library support
  4198. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4199. - fi
  4200. - ;;
  4201. - esac
  4202. - ;;
  4203. - interix[[3-9]]*)
  4204. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  4205. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  4206. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4207. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4208. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  4209. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  4210. - # default) and relocated if they conflict, which is a slow very memory
  4211. - # consuming and fragmenting process. To avoid this, we pick a random,
  4212. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  4213. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  4214. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  4215. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  4216. - ;;
  4217. - irix5* | irix6*)
  4218. - case $cc_basename in
  4219. - CC*)
  4220. - # SGI C++
  4221. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  4222. -
  4223. - # Archives containing C++ object files must be created using
  4224. - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  4225. - # necessary to make sure instantiated templates are included
  4226. - # in the archive.
  4227. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
  4228. + ;;
  4229. + *)
  4230. + ;;
  4231. + esac
  4232. ;;
  4233. - *)
  4234. - if test "$GXX" = yes; then
  4235. - if test "$with_gnu_ld" = no; then
  4236. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  4237. - else
  4238. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
  4239. - fi
  4240. - fi
  4241. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  4242. + interix*)
  4243. + # This is c89, which is MS Visual C++ (no shared libs)
  4244. + # Anyone wants to do a port?
  4245. ;;
  4246. - esac
  4247. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4248. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4249. - ;;
  4250. - linux* | k*bsd*-gnu)
  4251. - case $cc_basename in
  4252. - KCC*)
  4253. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  4254. -
  4255. - # KCC will only create a shared library if the output file
  4256. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  4257. - # to its proper name (with version) after linking.
  4258. - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  4259. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
  4260. - # Commands to make compiler produce verbose output that lists
  4261. - # what "hidden" libraries, object files and flags are used when
  4262. - # linking a shared library.
  4263. - #
  4264. - # There doesn't appear to be a way to prevent this compiler from
  4265. - # explicitly linking system object files so we need to strip them
  4266. - # from the output so that they don't get included in the library
  4267. - # dependencies.
  4268. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  4269. -
  4270. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
  4271. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  4272. -
  4273. - # Archives containing C++ object files must be created using
  4274. - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  4275. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  4276. - ;;
  4277. - icpc*)
  4278. - # Intel C++
  4279. - with_gnu_ld=yes
  4280. - # version 8.0 and above of icpc choke on multiply defined symbols
  4281. - # if we add $predep_objects and $postdep_objects, however 7.1 and
  4282. - # earlier do not add the objects themselves.
  4283. - case `$CC -V 2>&1` in
  4284. - *"Version 7."*)
  4285. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4286. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  4287. - ;;
  4288. - *) # Version 8.0 or newer
  4289. - tmp_idyn=
  4290. - case $host_cpu in
  4291. - ia64*) tmp_idyn=' -i_dynamic';;
  4292. - esac
  4293. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4294. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  4295. - ;;
  4296. + irix5* | irix6* | nonstopux*)
  4297. + case $cc_basename in
  4298. + CC*)
  4299. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4300. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4301. + # CC pic flag -KPIC is the default.
  4302. + ;;
  4303. + *)
  4304. + ;;
  4305. esac
  4306. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  4307. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4308. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  4309. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  4310. - ;;
  4311. - pgCC* | pgcpp*)
  4312. - # Portland Group C++ compiler
  4313. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  4314. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  4315. -
  4316. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  4317. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  4318. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  4319. - ;;
  4320. - cxx*)
  4321. - # Compaq C++
  4322. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4323. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
  4324. -
  4325. - runpath_var=LD_RUN_PATH
  4326. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  4327. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4328. -
  4329. - # Commands to make compiler produce verbose output that lists
  4330. - # what "hidden" libraries, object files and flags are used when
  4331. - # linking a shared library.
  4332. - #
  4333. - # There doesn't appear to be a way to prevent this compiler from
  4334. - # explicitly linking system object files so we need to strip them
  4335. - # from the output so that they don't get included in the library
  4336. - # dependencies.
  4337. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  4338. ;;
  4339. - *)
  4340. - case `$CC -V 2>&1 | sed 5q` in
  4341. - *Sun\ C*)
  4342. - # Sun C++ 5.9
  4343. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  4344. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  4345. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
  4346. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4347. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  4348. -
  4349. - # Not sure whether something based on
  4350. - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  4351. - # would be better.
  4352. - output_verbose_link_cmd='echo'
  4353. -
  4354. - # Archives containing C++ object files must be created using
  4355. - # "CC -xar", where "CC" is the Sun C++ compiler. This is
  4356. - # necessary to make sure instantiated templates are included
  4357. - # in the archive.
  4358. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  4359. - ;;
  4360. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  4361. + case $cc_basename in
  4362. + KCC*)
  4363. + # KAI C++ Compiler
  4364. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  4365. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  4366. + ;;
  4367. + ecpc* )
  4368. + # old Intel C++ for x86_64 which still supported -KPIC.
  4369. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4370. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4371. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  4372. + ;;
  4373. + icpc* )
  4374. + # Intel C++, used to be incompatible with GCC.
  4375. + # ICC 10 doesn't accept -KPIC any more.
  4376. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4377. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  4378. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  4379. + ;;
  4380. + pgCC* | pgcpp*)
  4381. + # Portland Group C++ compiler
  4382. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4383. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  4384. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4385. + ;;
  4386. + cxx*)
  4387. + # Compaq C++
  4388. + # Make sure the PIC flag is empty. It appears that all Alpha
  4389. + # Linux and Compaq Tru64 Unix objects are PIC.
  4390. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  4391. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4392. + ;;
  4393. + xlc* | xlC*)
  4394. + # IBM XL 8.0 on PPC
  4395. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4396. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  4397. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  4398. + ;;
  4399. + *)
  4400. + case `$CC -V 2>&1 | sed 5q` in
  4401. + *Sun\ C*)
  4402. + # Sun C++ 5.9
  4403. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4404. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4405. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  4406. + ;;
  4407. + esac
  4408. + ;;
  4409. esac
  4410. ;;
  4411. - esac
  4412. - ;;
  4413. - lynxos*)
  4414. - # FIXME: insert proper C++ library support
  4415. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4416. - ;;
  4417. - m88k*)
  4418. - # FIXME: insert proper C++ library support
  4419. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4420. - ;;
  4421. - mvs*)
  4422. - case $cc_basename in
  4423. - cxx*)
  4424. - # FIXME: insert proper C++ library support
  4425. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4426. - ;;
  4427. - *)
  4428. - # FIXME: insert proper C++ library support
  4429. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4430. - ;;
  4431. - esac
  4432. - ;;
  4433. - netbsd*)
  4434. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  4435. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  4436. - wlarc=
  4437. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4438. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  4439. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  4440. - fi
  4441. - # Workaround some broken pre-1.5 toolchains
  4442. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  4443. - ;;
  4444. - openbsd2*)
  4445. - # C++ shared libraries are fairly broken
  4446. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4447. - ;;
  4448. - openbsd*)
  4449. - if test -f /usr/libexec/ld.so; then
  4450. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  4451. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  4452. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  4453. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4454. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  4455. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
  4456. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4457. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  4458. - fi
  4459. - output_verbose_link_cmd='echo'
  4460. - else
  4461. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4462. - fi
  4463. - ;;
  4464. - osf3*)
  4465. - case $cc_basename in
  4466. - KCC*)
  4467. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  4468. -
  4469. - # KCC will only create a shared library if the output file
  4470. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  4471. - # to its proper name (with version) after linking.
  4472. - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  4473. -
  4474. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4475. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4476. -
  4477. - # Archives containing C++ object files must be created using
  4478. - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  4479. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  4480. -
  4481. - ;;
  4482. - RCC*)
  4483. - # Rational C++ 2.4.1
  4484. - # FIXME: insert proper C++ library support
  4485. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4486. - ;;
  4487. - cxx*)
  4488. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  4489. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  4490. -
  4491. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4492. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4493. -
  4494. - # Commands to make compiler produce verbose output that lists
  4495. - # what "hidden" libraries, object files and flags are used when
  4496. - # linking a shared library.
  4497. - #
  4498. - # There doesn't appear to be a way to prevent this compiler from
  4499. - # explicitly linking system object files so we need to strip them
  4500. - # from the output so that they don't get included in the library
  4501. - # dependencies.
  4502. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  4503. + lynxos*)
  4504. ;;
  4505. - *)
  4506. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  4507. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  4508. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  4509. -
  4510. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4511. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4512. -
  4513. - # Commands to make compiler produce verbose output that lists
  4514. - # what "hidden" libraries, object files and flags are used when
  4515. - # linking a shared library.
  4516. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  4517. -
  4518. - else
  4519. - # FIXME: insert proper C++ library support
  4520. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4521. - fi
  4522. + m88k*)
  4523. ;;
  4524. - esac
  4525. - ;;
  4526. - osf4* | osf5*)
  4527. - case $cc_basename in
  4528. - KCC*)
  4529. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  4530. -
  4531. - # KCC will only create a shared library if the output file
  4532. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  4533. - # to its proper name (with version) after linking.
  4534. - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  4535. -
  4536. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4537. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4538. -
  4539. - # Archives containing C++ object files must be created using
  4540. - # the KAI C++ compiler.
  4541. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
  4542. - ;;
  4543. - RCC*)
  4544. - # Rational C++ 2.4.1
  4545. - # FIXME: insert proper C++ library support
  4546. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4547. - ;;
  4548. - cxx*)
  4549. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  4550. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  4551. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  4552. - echo "-hidden">> $lib.exp~
  4553. - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
  4554. - $rm $lib.exp'
  4555. -
  4556. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  4557. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4558. -
  4559. - # Commands to make compiler produce verbose output that lists
  4560. - # what "hidden" libraries, object files and flags are used when
  4561. - # linking a shared library.
  4562. - #
  4563. - # There doesn't appear to be a way to prevent this compiler from
  4564. - # explicitly linking system object files so we need to strip them
  4565. - # from the output so that they don't get included in the library
  4566. - # dependencies.
  4567. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  4568. + mvs*)
  4569. + case $cc_basename in
  4570. + cxx*)
  4571. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
  4572. + ;;
  4573. + *)
  4574. + ;;
  4575. + esac
  4576. ;;
  4577. - *)
  4578. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  4579. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  4580. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  4581. -
  4582. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4583. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4584. -
  4585. - # Commands to make compiler produce verbose output that lists
  4586. - # what "hidden" libraries, object files and flags are used when
  4587. - # linking a shared library.
  4588. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  4589. -
  4590. - else
  4591. - # FIXME: insert proper C++ library support
  4592. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4593. - fi
  4594. + netbsd* | netbsdelf*-gnu)
  4595. ;;
  4596. - esac
  4597. - ;;
  4598. - psos*)
  4599. - # FIXME: insert proper C++ library support
  4600. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4601. - ;;
  4602. - sunos4*)
  4603. - case $cc_basename in
  4604. - CC*)
  4605. - # Sun C++ 4.x
  4606. - # FIXME: insert proper C++ library support
  4607. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4608. - ;;
  4609. - lcc*)
  4610. - # Lucid
  4611. - # FIXME: insert proper C++ library support
  4612. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4613. + *qnx* | *nto*)
  4614. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  4615. + # it will coredump.
  4616. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  4617. + ;;
  4618. + osf3* | osf4* | osf5*)
  4619. + case $cc_basename in
  4620. + KCC*)
  4621. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  4622. + ;;
  4623. + RCC*)
  4624. + # Rational C++ 2.4.1
  4625. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  4626. + ;;
  4627. + cxx*)
  4628. + # Digital/Compaq C++
  4629. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4630. + # Make sure the PIC flag is empty. It appears that all Alpha
  4631. + # Linux and Compaq Tru64 Unix objects are PIC.
  4632. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  4633. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4634. + ;;
  4635. + *)
  4636. + ;;
  4637. + esac
  4638. ;;
  4639. - *)
  4640. - # FIXME: insert proper C++ library support
  4641. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4642. + psos*)
  4643. ;;
  4644. - esac
  4645. - ;;
  4646. - solaris*)
  4647. - case $cc_basename in
  4648. - CC*)
  4649. - # Sun C++ 4.2, 5.x and Centerline C++
  4650. - _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
  4651. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  4652. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  4653. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  4654. - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  4655. -
  4656. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4657. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  4658. - case $host_os in
  4659. - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  4660. + solaris*)
  4661. + case $cc_basename in
  4662. + CC*)
  4663. + # Sun C++ 4.2, 5.x and Centerline C++
  4664. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4665. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4666. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  4667. + ;;
  4668. + gcx*)
  4669. + # Green Hills C++ Compiler
  4670. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  4671. + ;;
  4672. *)
  4673. - # The compiler driver will combine and reorder linker options,
  4674. - # but understands `-z linker_flag'.
  4675. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  4676. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  4677. ;;
  4678. esac
  4679. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  4680. -
  4681. - output_verbose_link_cmd='echo'
  4682. -
  4683. - # Archives containing C++ object files must be created using
  4684. - # "CC -xar", where "CC" is the Sun C++ compiler. This is
  4685. - # necessary to make sure instantiated templates are included
  4686. - # in the archive.
  4687. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  4688. - ;;
  4689. - gcx*)
  4690. - # Green Hills C++ Compiler
  4691. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  4692. -
  4693. - # The C++ compiler must be used to create the archive.
  4694. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  4695. ;;
  4696. - *)
  4697. - # GNU C++ compiler with Solaris linker
  4698. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  4699. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
  4700. - if $CC --version | grep -v '^2\.7' > /dev/null; then
  4701. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  4702. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  4703. - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  4704. -
  4705. - # Commands to make compiler produce verbose output that lists
  4706. - # what "hidden" libraries, object files and flags are used when
  4707. - # linking a shared library.
  4708. - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
  4709. - else
  4710. - # g++ 2.7 appears to require `-G' NOT `-shared' on this
  4711. - # platform.
  4712. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  4713. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  4714. - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  4715. -
  4716. - # Commands to make compiler produce verbose output that lists
  4717. - # what "hidden" libraries, object files and flags are used when
  4718. - # linking a shared library.
  4719. - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
  4720. - fi
  4721. -
  4722. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
  4723. - case $host_os in
  4724. - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  4725. + sunos4*)
  4726. + case $cc_basename in
  4727. + CC*)
  4728. + # Sun C++ 4.x
  4729. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  4730. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4731. + ;;
  4732. + lcc*)
  4733. + # Lucid
  4734. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  4735. + ;;
  4736. *)
  4737. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  4738. ;;
  4739. - esac
  4740. - fi
  4741. - ;;
  4742. - esac
  4743. - ;;
  4744. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  4745. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  4746. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  4747. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  4748. - runpath_var='LD_RUN_PATH'
  4749. -
  4750. - case $cc_basename in
  4751. - CC*)
  4752. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  4753. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  4754. - ;;
  4755. - *)
  4756. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  4757. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  4758. + esac
  4759. ;;
  4760. - esac
  4761. - ;;
  4762. - sysv5* | sco3.2v5* | sco5v6*)
  4763. - # Note: We can NOT use -z defs as we might desire, because we do not
  4764. - # link with -lc, and that would cause any symbols used from libc to
  4765. - # always be unresolved, which means just about no library would
  4766. - # ever link correctly. If we're not using GNU ld we use -z text
  4767. - # though, which does catch some bad symbols but isn't as heavy-handed
  4768. - # as -z defs.
  4769. - # For security reasons, it is highly recommended that you always
  4770. - # use absolute paths for naming shared libraries, and exclude the
  4771. - # DT_RUNPATH tag from executables and libraries. But doing so
  4772. - # requires that you compile everything twice, which is a pain.
  4773. - # So that behaviour is only enabled if SCOABSPATH is set to a
  4774. - # non-empty value in the environment. Most likely only useful for
  4775. - # creating official distributions of packages.
  4776. - # This is a hack until libtool officially supports absolute path
  4777. - # names for shared libraries.
  4778. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  4779. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  4780. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  4781. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  4782. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  4783. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
  4784. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  4785. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  4786. - runpath_var='LD_RUN_PATH'
  4787. -
  4788. - case $cc_basename in
  4789. - CC*)
  4790. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  4791. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  4792. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  4793. + case $cc_basename in
  4794. + CC*)
  4795. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4796. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4797. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4798. + ;;
  4799. + esac
  4800. ;;
  4801. - *)
  4802. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  4803. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  4804. + tandem*)
  4805. + case $cc_basename in
  4806. + NCC*)
  4807. + # NonStop-UX NCC 3.20
  4808. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4809. + ;;
  4810. + *)
  4811. + ;;
  4812. + esac
  4813. ;;
  4814. - esac
  4815. - ;;
  4816. - tandem*)
  4817. - case $cc_basename in
  4818. - NCC*)
  4819. - # NonStop-UX NCC 3.20
  4820. - # FIXME: insert proper C++ library support
  4821. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4822. + vxworks*)
  4823. ;;
  4824. *)
  4825. - # FIXME: insert proper C++ library support
  4826. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4827. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  4828. ;;
  4829. esac
  4830. - ;;
  4831. - vxworks*)
  4832. - # FIXME: insert proper C++ library support
  4833. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4834. - ;;
  4835. - *)
  4836. - # FIXME: insert proper C++ library support
  4837. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4838. - ;;
  4839. -esac
  4840. -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
  4841. -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  4842. -
  4843. -_LT_AC_TAGVAR(GCC, $1)="$GXX"
  4844. -_LT_AC_TAGVAR(LD, $1)="$LD"
  4845. -
  4846. -AC_LIBTOOL_POSTDEP_PREDEP($1)
  4847. -AC_LIBTOOL_PROG_COMPILER_PIC($1)
  4848. -AC_LIBTOOL_PROG_CC_C_O($1)
  4849. -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  4850. -AC_LIBTOOL_PROG_LD_SHLIBS($1)
  4851. -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  4852. -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  4853. -
  4854. -AC_LIBTOOL_CONFIG($1)
  4855. -
  4856. -AC_LANG_POP
  4857. -CC=$lt_save_CC
  4858. -LDCXX=$LD
  4859. -LD=$lt_save_LD
  4860. -GCC=$lt_save_GCC
  4861. -with_gnu_ldcxx=$with_gnu_ld
  4862. -with_gnu_ld=$lt_save_with_gnu_ld
  4863. -lt_cv_path_LDCXX=$lt_cv_path_LD
  4864. -lt_cv_path_LD=$lt_save_path_LD
  4865. -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  4866. -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  4867. -])# AC_LIBTOOL_LANG_CXX_CONFIG
  4868. -
  4869. -# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
  4870. -# ------------------------------------
  4871. -# Figure out "hidden" library dependencies from verbose
  4872. -# compiler output when linking a shared library.
  4873. -# Parse the compiler output and extract the necessary
  4874. -# objects, libraries and library flags.
  4875. -AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
  4876. -[AC_REQUIRE([LT_AC_PROG_SED])dnl
  4877. -dnl we can't use the lt_simple_compile_test_code here,
  4878. -dnl because it contains code intended for an executable,
  4879. -dnl not a library. It's possible we should let each
  4880. -dnl tag define a new lt_????_link_test_code variable,
  4881. -dnl but it's only used here...
  4882. -ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
  4883. -int a;
  4884. -void foo (void) { a = 0; }
  4885. -EOF
  4886. -],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
  4887. -class Foo
  4888. -{
  4889. -public:
  4890. - Foo (void) { a = 0; }
  4891. -private:
  4892. - int a;
  4893. -};
  4894. -EOF
  4895. -],[$1],[F77],[cat > conftest.$ac_ext <<EOF
  4896. - subroutine foo
  4897. - implicit none
  4898. - integer*4 a
  4899. - a=0
  4900. - return
  4901. - end
  4902. -EOF
  4903. -],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
  4904. -public class foo {
  4905. - private int a;
  4906. - public void bar (void) {
  4907. - a = 0;
  4908. - }
  4909. -};
  4910. -EOF
  4911. -])
  4912. -dnl Parse the compiler output and extract the necessary
  4913. -dnl objects, libraries and library flags.
  4914. -if AC_TRY_EVAL(ac_compile); then
  4915. - # Parse the compiler output and extract the necessary
  4916. - # objects, libraries and library flags.
  4917. -
  4918. - # Sentinel used to keep track of whether or not we are before
  4919. - # the conftest object file.
  4920. - pre_test_object_deps_done=no
  4921. -
  4922. - # The `*' in the case matches for architectures that use `case' in
  4923. - # $output_verbose_cmd can trigger glob expansion during the loop
  4924. - # eval without this substitution.
  4925. - output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
  4926. -
  4927. - for p in `eval $output_verbose_link_cmd`; do
  4928. - case $p in
  4929. -
  4930. - -L* | -R* | -l*)
  4931. - # Some compilers place space between "-{L,R}" and the path.
  4932. - # Remove the space.
  4933. - if test $p = "-L" \
  4934. - || test $p = "-R"; then
  4935. - prev=$p
  4936. - continue
  4937. - else
  4938. - prev=
  4939. - fi
  4940. -
  4941. - if test "$pre_test_object_deps_done" = no; then
  4942. - case $p in
  4943. - -L* | -R*)
  4944. - # Internal compiler library paths should come after those
  4945. - # provided the user. The postdeps already come after the
  4946. - # user supplied libs so there is no need to process them.
  4947. - if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
  4948. - _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
  4949. - else
  4950. - _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
  4951. - fi
  4952. - ;;
  4953. - # The "-l" case would never come before the object being
  4954. - # linked, so don't bother handling this case.
  4955. - esac
  4956. - else
  4957. - if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
  4958. - _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
  4959. - else
  4960. - _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
  4961. - fi
  4962. - fi
  4963. - ;;
  4964. -
  4965. - *.$objext)
  4966. - # This assumes that the test object file only shows up
  4967. - # once in the compiler output.
  4968. - if test "$p" = "conftest.$objext"; then
  4969. - pre_test_object_deps_done=yes
  4970. - continue
  4971. - fi
  4972. -
  4973. - if test "$pre_test_object_deps_done" = no; then
  4974. - if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
  4975. - _LT_AC_TAGVAR(predep_objects, $1)="$p"
  4976. - else
  4977. - _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
  4978. - fi
  4979. - else
  4980. - if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
  4981. - _LT_AC_TAGVAR(postdep_objects, $1)="$p"
  4982. - else
  4983. - _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
  4984. - fi
  4985. - fi
  4986. - ;;
  4987. -
  4988. - *) ;; # Ignore the rest.
  4989. -
  4990. - esac
  4991. - done
  4992. -
  4993. - # Clean up.
  4994. - rm -f a.out a.exe
  4995. -else
  4996. - echo "libtool.m4: error: problem compiling $1 test program"
  4997. -fi
  4998. -
  4999. -$rm -f confest.$objext
  5000. -
  5001. -_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
  5002. -if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
  5003. - _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  5004. -fi
  5005. -
  5006. -# PORTME: override above test on systems where it is broken
  5007. -ifelse([$1],[CXX],
  5008. -[case $host_os in
  5009. -interix[[3-9]]*)
  5010. - # Interix 3.5 installs completely hosed .la files for C++, so rather than
  5011. - # hack all around it, let's just trust "g++" to DTRT.
  5012. - _LT_AC_TAGVAR(predep_objects,$1)=
  5013. - _LT_AC_TAGVAR(postdep_objects,$1)=
  5014. - _LT_AC_TAGVAR(postdeps,$1)=
  5015. - ;;
  5016. -
  5017. -linux*)
  5018. - case `$CC -V 2>&1 | sed 5q` in
  5019. - *Sun\ C*)
  5020. - # Sun C++ 5.9
  5021. - #
  5022. - # The more standards-conforming stlport4 library is
  5023. - # incompatible with the Cstd library. Avoid specifying
  5024. - # it if it's in CXXFLAGS. Ignore libCrun as
  5025. - # -library=stlport4 depends on it.
  5026. - case " $CXX $CXXFLAGS " in
  5027. - *" -library=stlport4 "*)
  5028. - solaris_use_stlport4=yes
  5029. - ;;
  5030. - esac
  5031. - if test "$solaris_use_stlport4" != yes; then
  5032. - _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  5033. - fi
  5034. - ;;
  5035. - esac
  5036. - ;;
  5037. -
  5038. -solaris*)
  5039. - case $cc_basename in
  5040. - CC*)
  5041. - # The more standards-conforming stlport4 library is
  5042. - # incompatible with the Cstd library. Avoid specifying
  5043. - # it if it's in CXXFLAGS. Ignore libCrun as
  5044. - # -library=stlport4 depends on it.
  5045. - case " $CXX $CXXFLAGS " in
  5046. - *" -library=stlport4 "*)
  5047. - solaris_use_stlport4=yes
  5048. - ;;
  5049. - esac
  5050. -
  5051. - # Adding this requires a known-good setup of shared libraries for
  5052. - # Sun compiler versions before 5.6, else PIC objects from an old
  5053. - # archive will be linked into the output, leading to subtle bugs.
  5054. - if test "$solaris_use_stlport4" != yes; then
  5055. - _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  5056. - fi
  5057. - ;;
  5058. - esac
  5059. - ;;
  5060. -esac
  5061. -])
  5062. -case " $_LT_AC_TAGVAR(postdeps, $1) " in
  5063. -*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
  5064. -esac
  5065. -])# AC_LIBTOOL_POSTDEP_PREDEP
  5066. -
  5067. -# AC_LIBTOOL_LANG_F77_CONFIG
  5068. -# --------------------------
  5069. -# Ensure that the configuration vars for the C compiler are
  5070. -# suitably defined. Those variables are subsequently used by
  5071. -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  5072. -AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
  5073. -AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
  5074. -[AC_REQUIRE([AC_PROG_F77])
  5075. -AC_LANG_PUSH(Fortran 77)
  5076. -
  5077. -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  5078. -_LT_AC_TAGVAR(allow_undefined_flag, $1)=
  5079. -_LT_AC_TAGVAR(always_export_symbols, $1)=no
  5080. -_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
  5081. -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  5082. -_LT_AC_TAGVAR(hardcode_direct, $1)=no
  5083. -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  5084. -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  5085. -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  5086. -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
  5087. -_LT_AC_TAGVAR(hardcode_automatic, $1)=no
  5088. -_LT_AC_TAGVAR(module_cmds, $1)=
  5089. -_LT_AC_TAGVAR(module_expsym_cmds, $1)=
  5090. -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
  5091. -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  5092. -_LT_AC_TAGVAR(no_undefined_flag, $1)=
  5093. -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  5094. -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  5095. -
  5096. -# Source file extension for f77 test sources.
  5097. -ac_ext=f
  5098. -
  5099. -# Object file extension for compiled f77 test sources.
  5100. -objext=o
  5101. -_LT_AC_TAGVAR(objext, $1)=$objext
  5102. -
  5103. -# Code to be used in simple compile tests
  5104. -lt_simple_compile_test_code="\
  5105. - subroutine t
  5106. - return
  5107. - end
  5108. -"
  5109. -
  5110. -# Code to be used in simple link tests
  5111. -lt_simple_link_test_code="\
  5112. - program t
  5113. - end
  5114. -"
  5115. -
  5116. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  5117. -_LT_AC_SYS_COMPILER
  5118. -
  5119. -# save warnings/boilerplate of simple test code
  5120. -_LT_COMPILER_BOILERPLATE
  5121. -_LT_LINKER_BOILERPLATE
  5122. -
  5123. -# Allow CC to be a program name with arguments.
  5124. -lt_save_CC="$CC"
  5125. -CC=${F77-"f77"}
  5126. -compiler=$CC
  5127. -_LT_AC_TAGVAR(compiler, $1)=$CC
  5128. -_LT_CC_BASENAME([$compiler])
  5129. -
  5130. -AC_MSG_CHECKING([if libtool supports shared libraries])
  5131. -AC_MSG_RESULT([$can_build_shared])
  5132. -
  5133. -AC_MSG_CHECKING([whether to build shared libraries])
  5134. -test "$can_build_shared" = "no" && enable_shared=no
  5135. -
  5136. -# On AIX, shared libraries and static libraries use the same namespace, and
  5137. -# are all built from PIC.
  5138. -case $host_os in
  5139. -aix3*)
  5140. - test "$enable_shared" = yes && enable_static=no
  5141. - if test -n "$RANLIB"; then
  5142. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  5143. - postinstall_cmds='$RANLIB $lib'
  5144. fi
  5145. - ;;
  5146. -aix[[4-9]]*)
  5147. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  5148. - test "$enable_shared" = yes && enable_static=no
  5149. - fi
  5150. - ;;
  5151. -esac
  5152. -AC_MSG_RESULT([$enable_shared])
  5153. -
  5154. -AC_MSG_CHECKING([whether to build static libraries])
  5155. -# Make sure either enable_shared or enable_static is yes.
  5156. -test "$enable_shared" = yes || enable_static=yes
  5157. -AC_MSG_RESULT([$enable_static])
  5158. -
  5159. -_LT_AC_TAGVAR(GCC, $1)="$G77"
  5160. -_LT_AC_TAGVAR(LD, $1)="$LD"
  5161. -
  5162. -AC_LIBTOOL_PROG_COMPILER_PIC($1)
  5163. -AC_LIBTOOL_PROG_CC_C_O($1)
  5164. -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  5165. -AC_LIBTOOL_PROG_LD_SHLIBS($1)
  5166. -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  5167. -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  5168. -
  5169. -AC_LIBTOOL_CONFIG($1)
  5170. -
  5171. -AC_LANG_POP
  5172. -CC="$lt_save_CC"
  5173. -])# AC_LIBTOOL_LANG_F77_CONFIG
  5174. -
  5175. -
  5176. -# AC_LIBTOOL_LANG_GCJ_CONFIG
  5177. -# --------------------------
  5178. -# Ensure that the configuration vars for the C compiler are
  5179. -# suitably defined. Those variables are subsequently used by
  5180. -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  5181. -AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
  5182. -AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
  5183. -[AC_LANG_SAVE
  5184. -
  5185. -# Source file extension for Java test sources.
  5186. -ac_ext=java
  5187. -
  5188. -# Object file extension for compiled Java test sources.
  5189. -objext=o
  5190. -_LT_AC_TAGVAR(objext, $1)=$objext
  5191. -
  5192. -# Code to be used in simple compile tests
  5193. -lt_simple_compile_test_code="class foo {}"
  5194. -
  5195. -# Code to be used in simple link tests
  5196. -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
  5197. -
  5198. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  5199. -_LT_AC_SYS_COMPILER
  5200. -
  5201. -# save warnings/boilerplate of simple test code
  5202. -_LT_COMPILER_BOILERPLATE
  5203. -_LT_LINKER_BOILERPLATE
  5204. -
  5205. -# Allow CC to be a program name with arguments.
  5206. -lt_save_CC="$CC"
  5207. -CC=${GCJ-"gcj"}
  5208. -compiler=$CC
  5209. -_LT_AC_TAGVAR(compiler, $1)=$CC
  5210. -_LT_CC_BASENAME([$compiler])
  5211. -
  5212. -# GCJ did not exist at the time GCC didn't implicitly link libc in.
  5213. -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  5214. -
  5215. -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  5216. -
  5217. -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
  5218. -AC_LIBTOOL_PROG_COMPILER_PIC($1)
  5219. -AC_LIBTOOL_PROG_CC_C_O($1)
  5220. -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  5221. -AC_LIBTOOL_PROG_LD_SHLIBS($1)
  5222. -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  5223. -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  5224. -
  5225. -AC_LIBTOOL_CONFIG($1)
  5226. -
  5227. -AC_LANG_RESTORE
  5228. -CC="$lt_save_CC"
  5229. -])# AC_LIBTOOL_LANG_GCJ_CONFIG
  5230. -
  5231. -
  5232. -# AC_LIBTOOL_LANG_RC_CONFIG
  5233. -# -------------------------
  5234. -# Ensure that the configuration vars for the Windows resource compiler are
  5235. -# suitably defined. Those variables are subsequently used by
  5236. -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  5237. -AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
  5238. -AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
  5239. -[AC_LANG_SAVE
  5240. -
  5241. -# Source file extension for RC test sources.
  5242. -ac_ext=rc
  5243. -
  5244. -# Object file extension for compiled RC test sources.
  5245. -objext=o
  5246. -_LT_AC_TAGVAR(objext, $1)=$objext
  5247. -
  5248. -# Code to be used in simple compile tests
  5249. -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
  5250. -
  5251. -# Code to be used in simple link tests
  5252. -lt_simple_link_test_code="$lt_simple_compile_test_code"
  5253. -
  5254. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  5255. -_LT_AC_SYS_COMPILER
  5256. -
  5257. -# save warnings/boilerplate of simple test code
  5258. -_LT_COMPILER_BOILERPLATE
  5259. -_LT_LINKER_BOILERPLATE
  5260. -
  5261. -# Allow CC to be a program name with arguments.
  5262. -lt_save_CC="$CC"
  5263. -CC=${RC-"windres"}
  5264. -compiler=$CC
  5265. -_LT_AC_TAGVAR(compiler, $1)=$CC
  5266. -_LT_CC_BASENAME([$compiler])
  5267. -_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  5268. -
  5269. -AC_LIBTOOL_CONFIG($1)
  5270. -
  5271. -AC_LANG_RESTORE
  5272. -CC="$lt_save_CC"
  5273. -])# AC_LIBTOOL_LANG_RC_CONFIG
  5274. -
  5275. -
  5276. -# AC_LIBTOOL_CONFIG([TAGNAME])
  5277. -# ----------------------------
  5278. -# If TAGNAME is not passed, then create an initial libtool script
  5279. -# with a default configuration from the untagged config vars. Otherwise
  5280. -# add code to config.status for appending the configuration named by
  5281. -# TAGNAME from the matching tagged config vars.
  5282. -AC_DEFUN([AC_LIBTOOL_CONFIG],
  5283. -[# The else clause should only fire when bootstrapping the
  5284. -# libtool distribution, otherwise you forgot to ship ltmain.sh
  5285. -# with your package, and you will get complaints that there are
  5286. -# no rules to generate ltmain.sh.
  5287. -if test -f "$ltmain"; then
  5288. - # See if we are running on zsh, and set the options which allow our commands through
  5289. - # without removal of \ escapes.
  5290. - if test -n "${ZSH_VERSION+set}" ; then
  5291. - setopt NO_GLOB_SUBST
  5292. - fi
  5293. - # Now quote all the things that may contain metacharacters while being
  5294. - # careful not to overquote the AC_SUBSTed values. We take copies of the
  5295. - # variables and quote the copies for generation of the libtool script.
  5296. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  5297. - SED SHELL STRIP \
  5298. - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  5299. - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  5300. - deplibs_check_method reload_flag reload_cmds need_locks \
  5301. - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  5302. - lt_cv_sys_global_symbol_to_c_name_address \
  5303. - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  5304. - old_postinstall_cmds old_postuninstall_cmds \
  5305. - _LT_AC_TAGVAR(compiler, $1) \
  5306. - _LT_AC_TAGVAR(CC, $1) \
  5307. - _LT_AC_TAGVAR(LD, $1) \
  5308. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
  5309. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
  5310. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
  5311. - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
  5312. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
  5313. - _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
  5314. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
  5315. - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
  5316. - _LT_AC_TAGVAR(old_archive_cmds, $1) \
  5317. - _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
  5318. - _LT_AC_TAGVAR(predep_objects, $1) \
  5319. - _LT_AC_TAGVAR(postdep_objects, $1) \
  5320. - _LT_AC_TAGVAR(predeps, $1) \
  5321. - _LT_AC_TAGVAR(postdeps, $1) \
  5322. - _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
  5323. - _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
  5324. - _LT_AC_TAGVAR(archive_cmds, $1) \
  5325. - _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
  5326. - _LT_AC_TAGVAR(postinstall_cmds, $1) \
  5327. - _LT_AC_TAGVAR(postuninstall_cmds, $1) \
  5328. - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
  5329. - _LT_AC_TAGVAR(allow_undefined_flag, $1) \
  5330. - _LT_AC_TAGVAR(no_undefined_flag, $1) \
  5331. - _LT_AC_TAGVAR(export_symbols_cmds, $1) \
  5332. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
  5333. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
  5334. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
  5335. - _LT_AC_TAGVAR(hardcode_automatic, $1) \
  5336. - _LT_AC_TAGVAR(module_cmds, $1) \
  5337. - _LT_AC_TAGVAR(module_expsym_cmds, $1) \
  5338. - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
  5339. - _LT_AC_TAGVAR(fix_srcfile_path, $1) \
  5340. - _LT_AC_TAGVAR(exclude_expsyms, $1) \
  5341. - _LT_AC_TAGVAR(include_expsyms, $1); do
  5342. -
  5343. - case $var in
  5344. - _LT_AC_TAGVAR(old_archive_cmds, $1) | \
  5345. - _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
  5346. - _LT_AC_TAGVAR(archive_cmds, $1) | \
  5347. - _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
  5348. - _LT_AC_TAGVAR(module_cmds, $1) | \
  5349. - _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
  5350. - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
  5351. - _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
  5352. - extract_expsyms_cmds | reload_cmds | finish_cmds | \
  5353. - postinstall_cmds | postuninstall_cmds | \
  5354. - old_postinstall_cmds | old_postuninstall_cmds | \
  5355. - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  5356. - # Double-quote double-evaled strings.
  5357. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  5358. - ;;
  5359. - *)
  5360. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  5361. - ;;
  5362. - esac
  5363. - done
  5364. -
  5365. - case $lt_echo in
  5366. - *'\[$]0 --fallback-echo"')
  5367. - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
  5368. - ;;
  5369. - esac
  5370. -
  5371. -ifelse([$1], [],
  5372. - [cfgfile="${ofile}T"
  5373. - trap "$rm \"$cfgfile\"; exit 1" 1 2 15
  5374. - $rm -f "$cfgfile"
  5375. - AC_MSG_NOTICE([creating $ofile])],
  5376. - [cfgfile="$ofile"])
  5377. -
  5378. - cat <<__EOF__ >> "$cfgfile"
  5379. -ifelse([$1], [],
  5380. -[#! $SHELL
  5381. -
  5382. -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  5383. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
  5384. -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  5385. -#
  5386. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
  5387. -# Free Software Foundation, Inc.
  5388. -#
  5389. -# This file is part of GNU Libtool:
  5390. -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  5391. -#
  5392. -# This program is free software; you can redistribute it and/or modify
  5393. -# it under the terms of the GNU General Public License as published by
  5394. -# the Free Software Foundation; either version 2 of the License, or
  5395. -# (at your option) any later version.
  5396. -#
  5397. -# This program is distributed in the hope that it will be useful, but
  5398. -# WITHOUT ANY WARRANTY; without even the implied warranty of
  5399. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  5400. -# General Public License for more details.
  5401. -#
  5402. -# You should have received a copy of the GNU General Public License
  5403. -# along with this program; if not, write to the Free Software
  5404. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  5405. -#
  5406. -# As a special exception to the GNU General Public License, if you
  5407. -# distribute this file as part of a program that contains a
  5408. -# configuration script generated by Autoconf, you may include it under
  5409. -# the same distribution terms that you use for the rest of that program.
  5410. +],
  5411. +[
  5412. + if test "$GCC" = yes; then
  5413. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5414. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  5415. -# A sed program that does not truncate output.
  5416. -SED=$lt_SED
  5417. + case $host_os in
  5418. + aix*)
  5419. + # All AIX code is PIC.
  5420. + if test "$host_cpu" = ia64; then
  5421. + # AIX 5 now supports IA64 processor
  5422. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5423. + fi
  5424. + ;;
  5425. -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  5426. -Xsed="$SED -e 1s/^X//"
  5427. + amigaos*)
  5428. + case $host_cpu in
  5429. + powerpc)
  5430. + # see comment about AmigaOS4 .so support
  5431. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  5432. + ;;
  5433. + m68k)
  5434. + # FIXME: we need at least 68020 code to build shared libraries, but
  5435. + # adding the `-m68020' flag to GCC prevents building anything better,
  5436. + # like `-m68040'.
  5437. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  5438. + ;;
  5439. + esac
  5440. + ;;
  5441. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  5442. -# if CDPATH is set.
  5443. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  5444. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  5445. + # PIC is the default for these OSes.
  5446. + ;;
  5447. -# The names of the tagged configurations supported by this script.
  5448. -available_tags=
  5449. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  5450. + # This hack is so that the source file can tell whether it is being
  5451. + # built for inclusion in a dll (and should export symbols for example).
  5452. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  5453. + # (--disable-auto-import) libraries
  5454. + m4_if([$1], [GCJ], [],
  5455. + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  5456. + ;;
  5457. -# ### BEGIN LIBTOOL CONFIG],
  5458. -[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
  5459. + darwin* | rhapsody*)
  5460. + # PIC is the default on this platform
  5461. + # Common symbols not allowed in MH_DYLIB files
  5462. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  5463. + ;;
  5464. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  5465. + hpux*)
  5466. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  5467. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  5468. + # sets the default TLS model and affects inlining.
  5469. + case $host_cpu in
  5470. + hppa*64*)
  5471. + # +Z the default
  5472. + ;;
  5473. + *)
  5474. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  5475. + ;;
  5476. + esac
  5477. + ;;
  5478. -# Shell to use when invoking shell scripts.
  5479. -SHELL=$lt_SHELL
  5480. + interix[[3-9]]*)
  5481. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  5482. + # Instead, we relocate shared libraries at runtime.
  5483. + ;;
  5484. -# Whether or not to build shared libraries.
  5485. -build_libtool_libs=$enable_shared
  5486. + msdosdjgpp*)
  5487. + # Just because we use GCC doesn't mean we suddenly get shared libraries
  5488. + # on systems that don't support them.
  5489. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  5490. + enable_shared=no
  5491. + ;;
  5492. -# Whether or not to build static libraries.
  5493. -build_old_libs=$enable_static
  5494. + *nto* | *qnx*)
  5495. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  5496. + # it will coredump.
  5497. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  5498. + ;;
  5499. -# Whether or not to add -lc for building shared libraries.
  5500. -build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
  5501. + sysv4*MP*)
  5502. + if test -d /usr/nec; then
  5503. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  5504. + fi
  5505. + ;;
  5506. -# Whether or not to disallow shared libs when runtime libs are static
  5507. -allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
  5508. + *)
  5509. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  5510. + ;;
  5511. + esac
  5512. + else
  5513. + # PORTME Check for flag to pass linker flags through the system compiler.
  5514. + case $host_os in
  5515. + aix*)
  5516. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5517. + if test "$host_cpu" = ia64; then
  5518. + # AIX 5 now supports IA64 processor
  5519. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5520. + else
  5521. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  5522. + fi
  5523. + ;;
  5524. -# Whether or not to optimize for fast installation.
  5525. -fast_install=$enable_fast_install
  5526. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  5527. + # This hack is so that the source file can tell whether it is being
  5528. + # built for inclusion in a dll (and should export symbols for example).
  5529. + m4_if([$1], [GCJ], [],
  5530. + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  5531. + ;;
  5532. -# The host system.
  5533. -host_alias=$host_alias
  5534. -host=$host
  5535. -host_os=$host_os
  5536. + hpux9* | hpux10* | hpux11*)
  5537. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5538. + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  5539. + # not for PA HP-UX.
  5540. + case $host_cpu in
  5541. + hppa*64*|ia64*)
  5542. + # +Z the default
  5543. + ;;
  5544. + *)
  5545. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  5546. + ;;
  5547. + esac
  5548. + # Is there a better lt_prog_compiler_static that works with the bundled CC?
  5549. + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  5550. + ;;
  5551. -# The build system.
  5552. -build_alias=$build_alias
  5553. -build=$build
  5554. -build_os=$build_os
  5555. + irix5* | irix6* | nonstopux*)
  5556. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5557. + # PIC (with -KPIC) is the default.
  5558. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  5559. + ;;
  5560. -# An echo program that does not interpret backslashes.
  5561. -echo=$lt_echo
  5562. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  5563. + case $cc_basename in
  5564. + # old Intel for x86_64 which still supported -KPIC.
  5565. + ecc*)
  5566. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5567. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5568. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  5569. + ;;
  5570. + # icc used to be incompatible with GCC.
  5571. + # ICC 10 doesn't accept -KPIC any more.
  5572. + icc* | ifort*)
  5573. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5574. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  5575. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  5576. + ;;
  5577. + # Lahey Fortran 8.1.
  5578. + lf95*)
  5579. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5580. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
  5581. + _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
  5582. + ;;
  5583. + pgcc* | pgf77* | pgf90* | pgf95*)
  5584. + # Portland Group compilers (*not* the Pentium gcc compiler,
  5585. + # which looks to be a dead project)
  5586. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5587. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  5588. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5589. + ;;
  5590. + ccc*)
  5591. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5592. + # All Alpha code is PIC.
  5593. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  5594. + ;;
  5595. + xl*)
  5596. + # IBM XL C 8.0/Fortran 10.1 on PPC
  5597. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5598. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  5599. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  5600. + ;;
  5601. + *)
  5602. + case `$CC -V 2>&1 | sed 5q` in
  5603. + *Sun\ C*)
  5604. + # Sun C 5.9
  5605. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5606. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5607. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5608. + ;;
  5609. + *Sun\ F*)
  5610. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  5611. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5612. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5613. + _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
  5614. + ;;
  5615. + esac
  5616. + ;;
  5617. + esac
  5618. + ;;
  5619. -# The archiver.
  5620. -AR=$lt_AR
  5621. -AR_FLAGS=$lt_AR_FLAGS
  5622. + newsos6)
  5623. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5624. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5625. + ;;
  5626. -# A C compiler.
  5627. -LTCC=$lt_LTCC
  5628. + *nto* | *qnx*)
  5629. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  5630. + # it will coredump.
  5631. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  5632. + ;;
  5633. -# LTCC compiler flags.
  5634. -LTCFLAGS=$lt_LTCFLAGS
  5635. + osf3* | osf4* | osf5*)
  5636. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5637. + # All OSF/1 code is PIC.
  5638. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  5639. + ;;
  5640. -# A language-specific compiler.
  5641. -CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
  5642. + rdos*)
  5643. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  5644. + ;;
  5645. -# Is the compiler the GNU C compiler?
  5646. -with_gcc=$_LT_AC_TAGVAR(GCC, $1)
  5647. + solaris*)
  5648. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5649. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5650. + case $cc_basename in
  5651. + f77* | f90* | f95*)
  5652. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
  5653. + *)
  5654. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
  5655. + esac
  5656. + ;;
  5657. -# An ERE matcher.
  5658. -EGREP=$lt_EGREP
  5659. + sunos4*)
  5660. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  5661. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  5662. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5663. + ;;
  5664. -# The linker used to build libraries.
  5665. -LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
  5666. + sysv4 | sysv4.2uw2* | sysv4.3*)
  5667. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5668. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5669. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5670. + ;;
  5671. -# Whether we need hard or soft links.
  5672. -LN_S=$lt_LN_S
  5673. + sysv4*MP*)
  5674. + if test -d /usr/nec ;then
  5675. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
  5676. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5677. + fi
  5678. + ;;
  5679. -# A BSD-compatible nm program.
  5680. -NM=$lt_NM
  5681. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  5682. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5683. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5684. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5685. + ;;
  5686. -# A symbol stripping program
  5687. -STRIP=$lt_STRIP
  5688. + unicos*)
  5689. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5690. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  5691. + ;;
  5692. -# Used to examine libraries when file_magic_cmd begins "file"
  5693. -MAGIC_CMD=$MAGIC_CMD
  5694. + uts4*)
  5695. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  5696. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5697. + ;;
  5698. -# Used on cygwin: DLL creation program.
  5699. -DLLTOOL="$DLLTOOL"
  5700. + *)
  5701. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  5702. + ;;
  5703. + esac
  5704. + fi
  5705. +])
  5706. +case $host_os in
  5707. + # For platforms which do not support PIC, -DPIC is meaningless:
  5708. + *djgpp*)
  5709. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  5710. + ;;
  5711. + *)
  5712. + _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
  5713. + ;;
  5714. +esac
  5715. +AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
  5716. +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
  5717. + [How to pass a linker flag through the compiler])
  5718. -# Used on cygwin: object dumper.
  5719. -OBJDUMP="$OBJDUMP"
  5720. +#
  5721. +# Check to make sure the PIC flag actually works.
  5722. +#
  5723. +if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
  5724. + _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
  5725. + [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
  5726. + [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
  5727. + [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
  5728. + "" | " "*) ;;
  5729. + *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
  5730. + esac],
  5731. + [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  5732. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
  5733. +fi
  5734. +_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
  5735. + [Additional compiler flags for building library objects])
  5736. -# Used on cygwin: assembler.
  5737. -AS="$AS"
  5738. +#
  5739. +# Check to make sure the static flag actually works.
  5740. +#
  5741. +wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
  5742. +_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
  5743. + _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
  5744. + $lt_tmp_static_flag,
  5745. + [],
  5746. + [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
  5747. +_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
  5748. + [Compiler flag to prevent dynamic linking])
  5749. +])# _LT_COMPILER_PIC
  5750. -# The name of the directory that contains temporary libtool files.
  5751. -objdir=$objdir
  5752. -# How to create reloadable object files.
  5753. -reload_flag=$lt_reload_flag
  5754. -reload_cmds=$lt_reload_cmds
  5755. +# _LT_LINKER_SHLIBS([TAGNAME])
  5756. +# ----------------------------
  5757. +# See if the linker supports building shared libraries.
  5758. +m4_defun([_LT_LINKER_SHLIBS],
  5759. +[AC_REQUIRE([LT_PATH_LD])dnl
  5760. +AC_REQUIRE([LT_PATH_NM])dnl
  5761. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  5762. +m4_require([_LT_DECL_EGREP])dnl
  5763. +m4_require([_LT_DECL_SED])dnl
  5764. +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  5765. +m4_require([_LT_TAG_COMPILER])dnl
  5766. +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  5767. +m4_if([$1], [CXX], [
  5768. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  5769. + case $host_os in
  5770. + aix[[4-9]]*)
  5771. + # If we're using GNU nm, then we don't want the "-C" option.
  5772. + # -C means demangle to AIX nm, but means don't demangle with GNU nm
  5773. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  5774. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  5775. + else
  5776. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  5777. + fi
  5778. + ;;
  5779. + pw32*)
  5780. + _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  5781. + ;;
  5782. + cygwin* | mingw* | cegcc*)
  5783. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
  5784. + ;;
  5785. + linux* | k*bsd*-gnu)
  5786. + _LT_TAGVAR(link_all_deplibs, $1)=no
  5787. + ;;
  5788. + *)
  5789. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  5790. + ;;
  5791. + esac
  5792. + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  5793. +], [
  5794. + runpath_var=
  5795. + _LT_TAGVAR(allow_undefined_flag, $1)=
  5796. + _LT_TAGVAR(always_export_symbols, $1)=no
  5797. + _LT_TAGVAR(archive_cmds, $1)=
  5798. + _LT_TAGVAR(archive_expsym_cmds, $1)=
  5799. + _LT_TAGVAR(compiler_needs_object, $1)=no
  5800. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  5801. + _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  5802. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  5803. + _LT_TAGVAR(hardcode_automatic, $1)=no
  5804. + _LT_TAGVAR(hardcode_direct, $1)=no
  5805. + _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  5806. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  5807. + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  5808. + _LT_TAGVAR(hardcode_libdir_separator, $1)=
  5809. + _LT_TAGVAR(hardcode_minus_L, $1)=no
  5810. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  5811. + _LT_TAGVAR(inherit_rpath, $1)=no
  5812. + _LT_TAGVAR(link_all_deplibs, $1)=unknown
  5813. + _LT_TAGVAR(module_cmds, $1)=
  5814. + _LT_TAGVAR(module_expsym_cmds, $1)=
  5815. + _LT_TAGVAR(old_archive_from_new_cmds, $1)=
  5816. + _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
  5817. + _LT_TAGVAR(thread_safe_flag_spec, $1)=
  5818. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  5819. + # include_expsyms should be a list of space-separated symbols to be *always*
  5820. + # included in the symbol list
  5821. + _LT_TAGVAR(include_expsyms, $1)=
  5822. + # exclude_expsyms can be an extended regexp of symbols to exclude
  5823. + # it will be wrapped by ` (' and `)$', so one must not match beginning or
  5824. + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  5825. + # as well as any symbol that contains `d'.
  5826. + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  5827. + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  5828. + # platforms (ab)use it in PIC code, but their linkers get confused if
  5829. + # the symbol is explicitly referenced. Since portable code cannot
  5830. + # rely on this symbol name, it's probably fine to never include it in
  5831. + # preloaded symbol tables.
  5832. + # Exclude shared library initialization/finalization symbols.
  5833. +dnl Note also adjust exclude_expsyms for C++ above.
  5834. + extract_expsyms_cmds=
  5835. -# How to pass a linker flag through the compiler.
  5836. -wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
  5837. + case $host_os in
  5838. + cygwin* | mingw* | pw32* | cegcc*)
  5839. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  5840. + # When not using gcc, we currently assume that we are using
  5841. + # Microsoft Visual C++.
  5842. + if test "$GCC" != yes; then
  5843. + with_gnu_ld=no
  5844. + fi
  5845. + ;;
  5846. + interix*)
  5847. + # we just hope/assume this is gcc and not c89 (= MSVC++)
  5848. + with_gnu_ld=yes
  5849. + ;;
  5850. + openbsd*)
  5851. + with_gnu_ld=no
  5852. + ;;
  5853. + linux* | k*bsd*-gnu)
  5854. + _LT_TAGVAR(link_all_deplibs, $1)=no
  5855. + ;;
  5856. + esac
  5857. -# Object file suffix (normally "o").
  5858. -objext="$ac_objext"
  5859. + _LT_TAGVAR(ld_shlibs, $1)=yes
  5860. + if test "$with_gnu_ld" = yes; then
  5861. + # If archive_cmds runs LD, not CC, wlarc should be empty
  5862. + wlarc='${wl}'
  5863. -# Old archive suffix (normally "a").
  5864. -libext="$libext"
  5865. + # Set some defaults for GNU ld with shared library support. These
  5866. + # are reset later if shared libraries are not supported. Putting them
  5867. + # here allows them to be overridden if necessary.
  5868. + runpath_var=LD_RUN_PATH
  5869. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  5870. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5871. + # ancient GNU ld didn't support --whole-archive et. al.
  5872. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  5873. + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  5874. + else
  5875. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  5876. + fi
  5877. + supports_anon_versioning=no
  5878. + case `$LD -v 2>&1` in
  5879. + *GNU\ gold*) supports_anon_versioning=yes ;;
  5880. + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
  5881. + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  5882. + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  5883. + *\ 2.11.*) ;; # other 2.11 versions
  5884. + *) supports_anon_versioning=yes ;;
  5885. + esac
  5886. -# Shared library suffix (normally ".so").
  5887. -shrext_cmds='$shrext_cmds'
  5888. + # See if GNU ld supports shared libraries.
  5889. + case $host_os in
  5890. + aix[[3-9]]*)
  5891. + # On AIX/PPC, the GNU linker is very broken
  5892. + if test "$host_cpu" != ia64; then
  5893. + _LT_TAGVAR(ld_shlibs, $1)=no
  5894. + cat <<_LT_EOF 1>&2
  5895. -# Executable file suffix (normally "").
  5896. -exeext="$exeext"
  5897. +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  5898. +*** to be unable to reliably create shared libraries on AIX.
  5899. +*** Therefore, libtool is disabling shared libraries support. If you
  5900. +*** really care for shared libraries, you may want to modify your PATH
  5901. +*** so that a non-GNU linker is found, and then restart.
  5902. -# Additional compiler flags for building library objects.
  5903. -pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
  5904. -pic_mode=$pic_mode
  5905. +_LT_EOF
  5906. + fi
  5907. + ;;
  5908. -# What is the maximum length of a command?
  5909. -max_cmd_len=$lt_cv_sys_max_cmd_len
  5910. + amigaos*)
  5911. + case $host_cpu in
  5912. + powerpc)
  5913. + # see comment about AmigaOS4 .so support
  5914. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5915. + _LT_TAGVAR(archive_expsym_cmds, $1)=''
  5916. + ;;
  5917. + m68k)
  5918. + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  5919. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5920. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  5921. + ;;
  5922. + esac
  5923. + ;;
  5924. -# Does compiler simultaneously support -c and -o options?
  5925. -compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
  5926. + beos*)
  5927. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  5928. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  5929. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  5930. + # support --undefined. This deserves some investigation. FIXME
  5931. + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5932. + else
  5933. + _LT_TAGVAR(ld_shlibs, $1)=no
  5934. + fi
  5935. + ;;
  5936. -# Must we lock files when doing compilation?
  5937. -need_locks=$lt_need_locks
  5938. + cygwin* | mingw* | pw32* | cegcc*)
  5939. + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  5940. + # as there is no search path for DLLs.
  5941. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5942. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  5943. + _LT_TAGVAR(always_export_symbols, $1)=no
  5944. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  5945. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
  5946. -# Do we need the lib prefix for modules?
  5947. -need_lib_prefix=$need_lib_prefix
  5948. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  5949. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  5950. + # If the export-symbols file already is a .def file (1st line
  5951. + # is EXPORTS), use it as is; otherwise, prepend...
  5952. + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  5953. + cp $export_symbols $output_objdir/$soname.def;
  5954. + else
  5955. + echo EXPORTS > $output_objdir/$soname.def;
  5956. + cat $export_symbols >> $output_objdir/$soname.def;
  5957. + fi~
  5958. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  5959. + else
  5960. + _LT_TAGVAR(ld_shlibs, $1)=no
  5961. + fi
  5962. + ;;
  5963. -# Do we need a version for libraries?
  5964. -need_version=$need_version
  5965. + interix[[3-9]]*)
  5966. + _LT_TAGVAR(hardcode_direct, $1)=no
  5967. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5968. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  5969. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  5970. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  5971. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  5972. + # default) and relocated if they conflict, which is a slow very memory
  5973. + # consuming and fragmenting process. To avoid this, we pick a random,
  5974. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  5975. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  5976. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  5977. + _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  5978. + ;;
  5979. -# Whether dlopen is supported.
  5980. -dlopen_support=$enable_dlopen
  5981. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  5982. + tmp_diet=no
  5983. + if test "$host_os" = linux-dietlibc; then
  5984. + case $cc_basename in
  5985. + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  5986. + esac
  5987. + fi
  5988. + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  5989. + && test "$tmp_diet" = no
  5990. + then
  5991. + tmp_addflag=
  5992. + tmp_sharedflag='-shared'
  5993. + case $cc_basename,$host_cpu in
  5994. + pgcc*) # Portland Group C compiler
  5995. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  5996. + tmp_addflag=' $pic_flag'
  5997. + ;;
  5998. + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  5999. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  6000. + tmp_addflag=' $pic_flag -Mnomain' ;;
  6001. + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  6002. + tmp_addflag=' -i_dynamic' ;;
  6003. + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  6004. + tmp_addflag=' -i_dynamic -nofor_main' ;;
  6005. + ifc* | ifort*) # Intel Fortran compiler
  6006. + tmp_addflag=' -nofor_main' ;;
  6007. + lf95*) # Lahey Fortran 8.1
  6008. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  6009. + tmp_sharedflag='--shared' ;;
  6010. + xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  6011. + tmp_sharedflag='-qmkshrobj'
  6012. + tmp_addflag= ;;
  6013. + esac
  6014. + case `$CC -V 2>&1 | sed 5q` in
  6015. + *Sun\ C*) # Sun C 5.9
  6016. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  6017. + _LT_TAGVAR(compiler_needs_object, $1)=yes
  6018. + tmp_sharedflag='-G' ;;
  6019. + *Sun\ F*) # Sun Fortran 8.3
  6020. + tmp_sharedflag='-G' ;;
  6021. + esac
  6022. + _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  6023. -# Whether dlopen of programs is supported.
  6024. -dlopen_self=$enable_dlopen_self
  6025. + if test "x$supports_anon_versioning" = xyes; then
  6026. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  6027. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  6028. + echo "local: *; };" >> $output_objdir/$libname.ver~
  6029. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  6030. + fi
  6031. -# Whether dlopen of statically linked programs is supported.
  6032. -dlopen_self_static=$enable_dlopen_self_static
  6033. + case $cc_basename in
  6034. + xlf*)
  6035. + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  6036. + _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
  6037. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  6038. + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
  6039. + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  6040. + if test "x$supports_anon_versioning" = xyes; then
  6041. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  6042. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  6043. + echo "local: *; };" >> $output_objdir/$libname.ver~
  6044. + $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  6045. + fi
  6046. + ;;
  6047. + esac
  6048. + else
  6049. + _LT_TAGVAR(ld_shlibs, $1)=no
  6050. + fi
  6051. + ;;
  6052. -# Compiler flag to prevent dynamic linking.
  6053. -link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
  6054. + netbsd* | netbsdelf*-gnu)
  6055. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  6056. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  6057. + wlarc=
  6058. + else
  6059. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  6060. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  6061. + fi
  6062. + ;;
  6063. -# Compiler flag to turn off builtin functions.
  6064. -no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
  6065. + solaris*)
  6066. + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  6067. + _LT_TAGVAR(ld_shlibs, $1)=no
  6068. + cat <<_LT_EOF 1>&2
  6069. -# Compiler flag to allow reflexive dlopens.
  6070. -export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
  6071. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  6072. +*** create shared libraries on Solaris systems. Therefore, libtool
  6073. +*** is disabling shared libraries support. We urge you to upgrade GNU
  6074. +*** binutils to release 2.9.1 or newer. Another option is to modify
  6075. +*** your PATH or compiler configuration so that the native linker is
  6076. +*** used, and then restart.
  6077. -# Compiler flag to generate shared objects directly from archives.
  6078. -whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
  6079. +_LT_EOF
  6080. + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  6081. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  6082. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  6083. + else
  6084. + _LT_TAGVAR(ld_shlibs, $1)=no
  6085. + fi
  6086. + ;;
  6087. -# Compiler flag to generate thread-safe objects.
  6088. -thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
  6089. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  6090. + case `$LD -v 2>&1` in
  6091. + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
  6092. + _LT_TAGVAR(ld_shlibs, $1)=no
  6093. + cat <<_LT_EOF 1>&2
  6094. -# Library versioning type.
  6095. -version_type=$version_type
  6096. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  6097. +*** reliably create shared libraries on SCO systems. Therefore, libtool
  6098. +*** is disabling shared libraries support. We urge you to upgrade GNU
  6099. +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  6100. +*** your PATH or compiler configuration so that the native linker is
  6101. +*** used, and then restart.
  6102. -# Format of library name prefix.
  6103. -libname_spec=$lt_libname_spec
  6104. +_LT_EOF
  6105. + ;;
  6106. + *)
  6107. + # For security reasons, it is highly recommended that you always
  6108. + # use absolute paths for naming shared libraries, and exclude the
  6109. + # DT_RUNPATH tag from executables and libraries. But doing so
  6110. + # requires that you compile everything twice, which is a pain.
  6111. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  6112. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6113. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  6114. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  6115. + else
  6116. + _LT_TAGVAR(ld_shlibs, $1)=no
  6117. + fi
  6118. + ;;
  6119. + esac
  6120. + ;;
  6121. -# List of archive names. First name is the real one, the rest are links.
  6122. -# The last name is the one that the linker finds with -lNAME.
  6123. -library_names_spec=$lt_library_names_spec
  6124. + sunos4*)
  6125. + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  6126. + wlarc=
  6127. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6128. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6129. + ;;
  6130. -# The coded name of the library, if different from the real name.
  6131. -soname_spec=$lt_soname_spec
  6132. + *)
  6133. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  6134. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  6135. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  6136. + else
  6137. + _LT_TAGVAR(ld_shlibs, $1)=no
  6138. + fi
  6139. + ;;
  6140. + esac
  6141. -# Commands used to build and install an old-style archive.
  6142. -RANLIB=$lt_RANLIB
  6143. -old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
  6144. -old_postinstall_cmds=$lt_old_postinstall_cmds
  6145. -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  6146. + if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
  6147. + runpath_var=
  6148. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  6149. + _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  6150. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  6151. + fi
  6152. + else
  6153. + # PORTME fill in a description of your system's linker (not GNU ld)
  6154. + case $host_os in
  6155. + aix3*)
  6156. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  6157. + _LT_TAGVAR(always_export_symbols, $1)=yes
  6158. + _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  6159. + # Note: this linker hardcodes the directories in LIBPATH if there
  6160. + # are no directories specified by -L.
  6161. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  6162. + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  6163. + # Neither direct hardcoding nor static linking is supported with a
  6164. + # broken collect2.
  6165. + _LT_TAGVAR(hardcode_direct, $1)=unsupported
  6166. + fi
  6167. + ;;
  6168. -# Create an old-style archive from a shared archive.
  6169. -old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
  6170. + aix[[4-9]]*)
  6171. + if test "$host_cpu" = ia64; then
  6172. + # On IA64, the linker does run time linking by default, so we don't
  6173. + # have to do anything special.
  6174. + aix_use_runtimelinking=no
  6175. + exp_sym_flag='-Bexport'
  6176. + no_entry_flag=""
  6177. + else
  6178. + # If we're using GNU nm, then we don't want the "-C" option.
  6179. + # -C means demangle to AIX nm, but means don't demangle with GNU nm
  6180. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  6181. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  6182. + else
  6183. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  6184. + fi
  6185. + aix_use_runtimelinking=no
  6186. -# Create a temporary old-style archive to link instead of a shared archive.
  6187. -old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
  6188. + # Test if we are trying to use run time linking or normal
  6189. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  6190. + # need to do runtime linking.
  6191. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  6192. + for ld_flag in $LDFLAGS; do
  6193. + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  6194. + aix_use_runtimelinking=yes
  6195. + break
  6196. + fi
  6197. + done
  6198. + ;;
  6199. + esac
  6200. -# Commands used to build and install a shared archive.
  6201. -archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
  6202. -archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
  6203. -postinstall_cmds=$lt_postinstall_cmds
  6204. -postuninstall_cmds=$lt_postuninstall_cmds
  6205. + exp_sym_flag='-bexport'
  6206. + no_entry_flag='-bnoentry'
  6207. + fi
  6208. -# Commands used to build a loadable module (assumed same as above if empty)
  6209. -module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
  6210. -module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
  6211. + # When large executables or shared objects are built, AIX ld can
  6212. + # have problems creating the table of contents. If linking a library
  6213. + # or program results in "error TOC overflow" add -mminimal-toc to
  6214. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  6215. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  6216. -# Commands to strip libraries.
  6217. -old_striplib=$lt_old_striplib
  6218. -striplib=$lt_striplib
  6219. + _LT_TAGVAR(archive_cmds, $1)=''
  6220. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6221. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  6222. + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  6223. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  6224. + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  6225. -# Dependencies to place before the objects being linked to create a
  6226. -# shared library.
  6227. -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
  6228. + if test "$GCC" = yes; then
  6229. + case $host_os in aix4.[[012]]|aix4.[[012]].*)
  6230. + # We only want to do this on AIX 4.2 and lower, the check
  6231. + # below for broken collect2 doesn't work under 4.3+
  6232. + collect2name=`${CC} -print-prog-name=collect2`
  6233. + if test -f "$collect2name" &&
  6234. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  6235. + then
  6236. + # We have reworked collect2
  6237. + :
  6238. + else
  6239. + # We have old collect2
  6240. + _LT_TAGVAR(hardcode_direct, $1)=unsupported
  6241. + # It fails to find uninstalled libraries when the uninstalled
  6242. + # path is not listed in the libpath. Setting hardcode_minus_L
  6243. + # to unsupported forces relinking
  6244. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  6245. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  6246. + _LT_TAGVAR(hardcode_libdir_separator, $1)=
  6247. + fi
  6248. + ;;
  6249. + esac
  6250. + shared_flag='-shared'
  6251. + if test "$aix_use_runtimelinking" = yes; then
  6252. + shared_flag="$shared_flag "'${wl}-G'
  6253. + fi
  6254. + _LT_TAGVAR(link_all_deplibs, $1)=no
  6255. + else
  6256. + # not using gcc
  6257. + if test "$host_cpu" = ia64; then
  6258. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  6259. + # chokes on -Wl,-G. The following line is correct:
  6260. + shared_flag='-G'
  6261. + else
  6262. + if test "$aix_use_runtimelinking" = yes; then
  6263. + shared_flag='${wl}-G'
  6264. + else
  6265. + shared_flag='${wl}-bM:SRE'
  6266. + fi
  6267. + fi
  6268. + fi
  6269. -# Dependencies to place after the objects being linked to create a
  6270. -# shared library.
  6271. -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
  6272. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  6273. + # It seems that -bexpall does not export symbols beginning with
  6274. + # underscore (_), so it is better to generate a list of symbols to export.
  6275. + _LT_TAGVAR(always_export_symbols, $1)=yes
  6276. + if test "$aix_use_runtimelinking" = yes; then
  6277. + # Warning - without using the other runtime loading flags (-brtl),
  6278. + # -berok will link without error, but may produce a broken library.
  6279. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  6280. + # Determine the default libpath from the value encoded in an
  6281. + # empty executable.
  6282. + _LT_SYS_MODULE_PATH_AIX
  6283. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  6284. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  6285. + else
  6286. + if test "$host_cpu" = ia64; then
  6287. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  6288. + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  6289. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  6290. + else
  6291. + # Determine the default libpath from the value encoded in an
  6292. + # empty executable.
  6293. + _LT_SYS_MODULE_PATH_AIX
  6294. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  6295. + # Warning - without using the other run time loading flags,
  6296. + # -berok will link without error, but may produce a broken library.
  6297. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  6298. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  6299. + # Exported symbols can be pulled into shared objects from archives
  6300. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  6301. + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  6302. + # This is similar to how AIX traditionally builds its shared libraries.
  6303. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  6304. + fi
  6305. + fi
  6306. + ;;
  6307. -# Dependencies to place before the objects being linked to create a
  6308. -# shared library.
  6309. -predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
  6310. + amigaos*)
  6311. + case $host_cpu in
  6312. + powerpc)
  6313. + # see comment about AmigaOS4 .so support
  6314. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  6315. + _LT_TAGVAR(archive_expsym_cmds, $1)=''
  6316. + ;;
  6317. + m68k)
  6318. + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  6319. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  6320. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  6321. + ;;
  6322. + esac
  6323. + ;;
  6324. -# Dependencies to place after the objects being linked to create a
  6325. -# shared library.
  6326. -postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
  6327. + bsdi[[45]]*)
  6328. + _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
  6329. + ;;
  6330. -# The directories searched by this compiler when creating a shared
  6331. -# library
  6332. -compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
  6333. + cygwin* | mingw* | pw32* | cegcc*)
  6334. + # When not using gcc, we currently assume that we are using
  6335. + # Microsoft Visual C++.
  6336. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  6337. + # no search path for DLLs.
  6338. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  6339. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  6340. + # Tell ltmain to make .lib files, not .a files.
  6341. + libext=lib
  6342. + # Tell ltmain to make .dll files, not .so files.
  6343. + shrext_cmds=".dll"
  6344. + # FIXME: Setting linknames here is a bad hack.
  6345. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  6346. + # The linker will automatically build a .lib file if we build a DLL.
  6347. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  6348. + # FIXME: Should let the user specify the lib program.
  6349. + _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
  6350. + _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
  6351. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  6352. + ;;
  6353. -# The library search path used internally by the compiler when linking
  6354. -# a shared library.
  6355. -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
  6356. + darwin* | rhapsody*)
  6357. + _LT_DARWIN_LINKER_FEATURES($1)
  6358. + ;;
  6359. -# Method to check whether dependent libraries are shared objects.
  6360. -deplibs_check_method=$lt_deplibs_check_method
  6361. + dgux*)
  6362. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6363. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  6364. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6365. + ;;
  6366. -# Command to use when deplibs_check_method == file_magic.
  6367. -file_magic_cmd=$lt_file_magic_cmd
  6368. + freebsd1*)
  6369. + _LT_TAGVAR(ld_shlibs, $1)=no
  6370. + ;;
  6371. -# Flag that allows shared libraries with undefined symbols to be built.
  6372. -allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
  6373. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  6374. + # support. Future versions do this automatically, but an explicit c++rt0.o
  6375. + # does not break anything, and helps significantly (at the cost of a little
  6376. + # extra space).
  6377. + freebsd2.2*)
  6378. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  6379. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6380. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6381. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6382. + ;;
  6383. -# Flag that forces no undefined symbols.
  6384. -no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
  6385. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  6386. + freebsd2*)
  6387. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  6388. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6389. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  6390. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6391. + ;;
  6392. -# Commands used to finish a libtool library installation in a directory.
  6393. -finish_cmds=$lt_finish_cmds
  6394. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  6395. + freebsd* | dragonfly*)
  6396. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  6397. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6398. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6399. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6400. + ;;
  6401. -# Same as above, but a single script fragment to be evaled but not shown.
  6402. -finish_eval=$lt_finish_eval
  6403. + hpux9*)
  6404. + if test "$GCC" = yes; then
  6405. + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  6406. + else
  6407. + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  6408. + fi
  6409. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  6410. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6411. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6412. -# Take the output of nm and produce a listing of raw symbols and C names.
  6413. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  6414. + # hardcode_minus_L: Not really in the search PATH,
  6415. + # but as the default location of the library.
  6416. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  6417. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  6418. + ;;
  6419. -# Transform the output of nm in a proper C declaration
  6420. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  6421. + hpux10*)
  6422. + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  6423. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  6424. + else
  6425. + _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  6426. + fi
  6427. + if test "$with_gnu_ld" = no; then
  6428. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  6429. + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  6430. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6431. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6432. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  6433. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  6434. + # hardcode_minus_L: Not really in the search PATH,
  6435. + # but as the default location of the library.
  6436. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  6437. + fi
  6438. + ;;
  6439. -# Transform the output of nm in a C name address pair
  6440. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  6441. + hpux11*)
  6442. + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  6443. + case $host_cpu in
  6444. + hppa*64*)
  6445. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  6446. + ;;
  6447. + ia64*)
  6448. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  6449. + ;;
  6450. + *)
  6451. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  6452. + ;;
  6453. + esac
  6454. + else
  6455. + case $host_cpu in
  6456. + hppa*64*)
  6457. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  6458. + ;;
  6459. + ia64*)
  6460. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  6461. + ;;
  6462. + *)
  6463. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  6464. + ;;
  6465. + esac
  6466. + fi
  6467. + if test "$with_gnu_ld" = no; then
  6468. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  6469. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6470. -# This is the shared library runtime path variable.
  6471. -runpath_var=$runpath_var
  6472. + case $host_cpu in
  6473. + hppa*64*|ia64*)
  6474. + _LT_TAGVAR(hardcode_direct, $1)=no
  6475. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6476. + ;;
  6477. + *)
  6478. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6479. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  6480. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  6481. -# This is the shared library path variable.
  6482. -shlibpath_var=$shlibpath_var
  6483. + # hardcode_minus_L: Not really in the search PATH,
  6484. + # but as the default location of the library.
  6485. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  6486. + ;;
  6487. + esac
  6488. + fi
  6489. + ;;
  6490. -# Is shlibpath searched before the hard-coded library search path?
  6491. -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  6492. + irix5* | irix6* | nonstopux*)
  6493. + if test "$GCC" = yes; then
  6494. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  6495. + # Try to use the -exported_symbol ld option, if it does not
  6496. + # work, assume that -exports_file does not work either and
  6497. + # implicitly export all symbols.
  6498. + save_LDFLAGS="$LDFLAGS"
  6499. + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  6500. + AC_LINK_IFELSE(int foo(void) {},
  6501. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  6502. + )
  6503. + LDFLAGS="$save_LDFLAGS"
  6504. + else
  6505. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  6506. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  6507. + fi
  6508. + _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  6509. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6510. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6511. + _LT_TAGVAR(inherit_rpath, $1)=yes
  6512. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  6513. + ;;
  6514. -# How to hardcode a shared library path into an executable.
  6515. -hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
  6516. + netbsd* | netbsdelf*-gnu)
  6517. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  6518. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  6519. + else
  6520. + _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  6521. + fi
  6522. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6523. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6524. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6525. + ;;
  6526. -# Whether we should hardcode library paths into libraries.
  6527. -hardcode_into_libs=$hardcode_into_libs
  6528. + newsos6)
  6529. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6530. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6531. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6532. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6533. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6534. + ;;
  6535. -# Flag to hardcode \$libdir into a binary during linking.
  6536. -# This must work even if \$libdir does not exist.
  6537. -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
  6538. + *nto* | *qnx*)
  6539. + ;;
  6540. -# If ld is used when linking, flag to hardcode \$libdir into
  6541. -# a binary during linking. This must work even if \$libdir does
  6542. -# not exist.
  6543. -hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
  6544. + openbsd*)
  6545. + if test -f /usr/libexec/ld.so; then
  6546. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6547. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6548. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  6549. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  6550. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  6551. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  6552. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  6553. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  6554. + else
  6555. + case $host_os in
  6556. + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  6557. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  6558. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6559. + ;;
  6560. + *)
  6561. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  6562. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  6563. + ;;
  6564. + esac
  6565. + fi
  6566. + else
  6567. + _LT_TAGVAR(ld_shlibs, $1)=no
  6568. + fi
  6569. + ;;
  6570. -# Whether we need a single -rpath flag with a separated argument.
  6571. -hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
  6572. + os2*)
  6573. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  6574. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  6575. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  6576. + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  6577. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  6578. + ;;
  6579. -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  6580. -# resulting binary.
  6581. -hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
  6582. + osf3*)
  6583. + if test "$GCC" = yes; then
  6584. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  6585. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  6586. + else
  6587. + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  6588. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  6589. + fi
  6590. + _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  6591. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6592. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6593. + ;;
  6594. -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  6595. -# resulting binary.
  6596. -hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
  6597. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  6598. + if test "$GCC" = yes; then
  6599. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  6600. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  6601. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6602. + else
  6603. + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  6604. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  6605. + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  6606. + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  6607. -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  6608. -# the resulting binary.
  6609. -hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
  6610. + # Both c and cxx compiler support -rpath directly
  6611. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  6612. + fi
  6613. + _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  6614. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6615. + ;;
  6616. -# Set to yes if building a shared library automatically hardcodes DIR into the library
  6617. -# and all subsequent libraries and executables linked against it.
  6618. -hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
  6619. + solaris*)
  6620. + _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
  6621. + if test "$GCC" = yes; then
  6622. + wlarc='${wl}'
  6623. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  6624. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  6625. + $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  6626. + else
  6627. + case `$CC -V 2>&1` in
  6628. + *"Compilers 5.0"*)
  6629. + wlarc=''
  6630. + _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6631. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  6632. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  6633. + ;;
  6634. + *)
  6635. + wlarc='${wl}'
  6636. + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  6637. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  6638. + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  6639. + ;;
  6640. + esac
  6641. + fi
  6642. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6643. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6644. + case $host_os in
  6645. + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  6646. + *)
  6647. + # The compiler driver will combine and reorder linker options,
  6648. + # but understands `-z linker_flag'. GCC discards it without `$wl',
  6649. + # but is careful enough not to reorder.
  6650. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  6651. + if test "$GCC" = yes; then
  6652. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  6653. + else
  6654. + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  6655. + fi
  6656. + ;;
  6657. + esac
  6658. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  6659. + ;;
  6660. -# Variables whose values should be saved in libtool wrapper scripts and
  6661. -# restored at relink time.
  6662. -variables_saved_for_relink="$variables_saved_for_relink"
  6663. + sunos4*)
  6664. + if test "x$host_vendor" = xsequent; then
  6665. + # Use $CC to link under sequent, because it throws in some extra .o
  6666. + # files that make .init and .fini sections work.
  6667. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  6668. + else
  6669. + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  6670. + fi
  6671. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  6672. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6673. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  6674. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6675. + ;;
  6676. -# Whether libtool must link a program against all its dependency libraries.
  6677. -link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
  6678. + sysv4)
  6679. + case $host_vendor in
  6680. + sni)
  6681. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6682. + _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
  6683. + ;;
  6684. + siemens)
  6685. + ## LD is ld it makes a PLAMLIB
  6686. + ## CC just makes a GrossModule.
  6687. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  6688. + _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
  6689. + _LT_TAGVAR(hardcode_direct, $1)=no
  6690. + ;;
  6691. + motorola)
  6692. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6693. + _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
  6694. + ;;
  6695. + esac
  6696. + runpath_var='LD_RUN_PATH'
  6697. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6698. + ;;
  6699. -# Compile-time system search path for libraries
  6700. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  6701. + sysv4.3*)
  6702. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6703. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6704. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
  6705. + ;;
  6706. -# Run-time system search path for libraries
  6707. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  6708. + sysv4*MP*)
  6709. + if test -d /usr/nec; then
  6710. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6711. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6712. + runpath_var=LD_RUN_PATH
  6713. + hardcode_runpath_var=yes
  6714. + _LT_TAGVAR(ld_shlibs, $1)=yes
  6715. + fi
  6716. + ;;
  6717. -# Fix the shell variable \$srcfile for the compiler.
  6718. -fix_srcfile_path=$lt_fix_srcfile_path
  6719. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  6720. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  6721. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6722. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6723. + runpath_var='LD_RUN_PATH'
  6724. -# Set to yes if exported symbols are required.
  6725. -always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
  6726. + if test "$GCC" = yes; then
  6727. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6728. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6729. + else
  6730. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6731. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6732. + fi
  6733. + ;;
  6734. -# The commands to list exported symbols.
  6735. -export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
  6736. + sysv5* | sco3.2v5* | sco5v6*)
  6737. + # Note: We can NOT use -z defs as we might desire, because we do not
  6738. + # link with -lc, and that would cause any symbols used from libc to
  6739. + # always be unresolved, which means just about no library would
  6740. + # ever link correctly. If we're not using GNU ld we use -z text
  6741. + # though, which does catch some bad symbols but isn't as heavy-handed
  6742. + # as -z defs.
  6743. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  6744. + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  6745. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6746. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6747. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  6748. + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  6749. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  6750. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  6751. + runpath_var='LD_RUN_PATH'
  6752. -# The commands to extract the exported symbol list from a shared archive.
  6753. -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  6754. + if test "$GCC" = yes; then
  6755. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6756. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6757. + else
  6758. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6759. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6760. + fi
  6761. + ;;
  6762. -# Symbols that should not be listed in the preloaded symbols.
  6763. -exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
  6764. + uts4*)
  6765. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6766. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  6767. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6768. + ;;
  6769. -# Symbols that must always be exported.
  6770. -include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
  6771. + *)
  6772. + _LT_TAGVAR(ld_shlibs, $1)=no
  6773. + ;;
  6774. + esac
  6775. -ifelse([$1],[],
  6776. -[# ### END LIBTOOL CONFIG],
  6777. -[# ### END LIBTOOL TAG CONFIG: $tagname])
  6778. + if test x$host_vendor = xsni; then
  6779. + case $host in
  6780. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  6781. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
  6782. + ;;
  6783. + esac
  6784. + fi
  6785. + fi
  6786. +])
  6787. +AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  6788. +test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  6789. -__EOF__
  6790. +_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
  6791. -ifelse([$1],[], [
  6792. - case $host_os in
  6793. - aix3*)
  6794. - cat <<\EOF >> "$cfgfile"
  6795. +_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
  6796. +_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
  6797. +_LT_DECL([], [extract_expsyms_cmds], [2],
  6798. + [The commands to extract the exported symbol list from a shared archive])
  6799. -# AIX sometimes has problems with the GCC collect2 program. For some
  6800. -# reason, if we set the COLLECT_NAMES environment variable, the problems
  6801. -# vanish in a puff of smoke.
  6802. -if test "X${COLLECT_NAMES+set}" != Xset; then
  6803. - COLLECT_NAMES=
  6804. - export COLLECT_NAMES
  6805. -fi
  6806. -EOF
  6807. - ;;
  6808. - esac
  6809. +#
  6810. +# Do we need to explicitly link libc?
  6811. +#
  6812. +case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
  6813. +x|xyes)
  6814. + # Assume -lc should be added
  6815. + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  6816. - # We use sed instead of cat because bash on DJGPP gets confused if
  6817. - # if finds mixed CR/LF and LF-only lines. Since sed operates in
  6818. - # text mode, it properly converts lines to CR/LF. This bash problem
  6819. - # is reportedly fixed, but why not run on old versions too?
  6820. - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
  6821. + if test "$enable_shared" = yes && test "$GCC" = yes; then
  6822. + case $_LT_TAGVAR(archive_cmds, $1) in
  6823. + *'~'*)
  6824. + # FIXME: we may have to deal with multi-command sequences.
  6825. + ;;
  6826. + '$CC '*)
  6827. + # Test whether the compiler implicitly links with -lc since on some
  6828. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  6829. + # to ld, don't add -lc before -lgcc.
  6830. + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
  6831. + $RM conftest*
  6832. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  6833. - mv -f "$cfgfile" "$ofile" || \
  6834. - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  6835. - chmod +x "$ofile"
  6836. -])
  6837. -else
  6838. - # If there is no Makefile yet, we rely on a make rule to execute
  6839. - # `config.status --recheck' to rerun these tests and create the
  6840. - # libtool script then.
  6841. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  6842. - if test -f "$ltmain_in"; then
  6843. - test -f Makefile && make "$ltmain"
  6844. + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  6845. + soname=conftest
  6846. + lib=conftest
  6847. + libobjs=conftest.$ac_objext
  6848. + deplibs=
  6849. + wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
  6850. + pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
  6851. + compiler_flags=-v
  6852. + linker_flags=-v
  6853. + verstring=
  6854. + output_objdir=.
  6855. + libname=conftest
  6856. + lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
  6857. + _LT_TAGVAR(allow_undefined_flag, $1)=
  6858. + if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
  6859. + then
  6860. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6861. + else
  6862. + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  6863. + fi
  6864. + _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  6865. + else
  6866. + cat conftest.err 1>&5
  6867. + fi
  6868. + $RM conftest*
  6869. + AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
  6870. + ;;
  6871. + esac
  6872. fi
  6873. -fi
  6874. -])# AC_LIBTOOL_CONFIG
  6875. -
  6876. -
  6877. -# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
  6878. -# -------------------------------------------
  6879. -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
  6880. -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
  6881. -
  6882. -_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  6883. -
  6884. -if test "$GCC" = yes; then
  6885. - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  6886. + ;;
  6887. +esac
  6888. - AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
  6889. - lt_cv_prog_compiler_rtti_exceptions,
  6890. - [-fno-rtti -fno-exceptions], [],
  6891. - [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
  6892. -fi
  6893. -])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
  6894. +_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
  6895. + [Whether or not to add -lc for building shared libraries])
  6896. +_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
  6897. + [enable_shared_with_static_runtimes], [0],
  6898. + [Whether or not to disallow shared libs when runtime libs are static])
  6899. +_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
  6900. + [Compiler flag to allow reflexive dlopens])
  6901. +_LT_TAGDECL([], [whole_archive_flag_spec], [1],
  6902. + [Compiler flag to generate shared objects directly from archives])
  6903. +_LT_TAGDECL([], [compiler_needs_object], [1],
  6904. + [Whether the compiler copes with passing no objects directly])
  6905. +_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
  6906. + [Create an old-style archive from a shared archive])
  6907. +_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
  6908. + [Create a temporary old-style archive to link instead of a shared archive])
  6909. +_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
  6910. +_LT_TAGDECL([], [archive_expsym_cmds], [2])
  6911. +_LT_TAGDECL([], [module_cmds], [2],
  6912. + [Commands used to build a loadable module if different from building
  6913. + a shared archive.])
  6914. +_LT_TAGDECL([], [module_expsym_cmds], [2])
  6915. +_LT_TAGDECL([], [with_gnu_ld], [1],
  6916. + [Whether we are building with GNU ld or not])
  6917. +_LT_TAGDECL([], [allow_undefined_flag], [1],
  6918. + [Flag that allows shared libraries with undefined symbols to be built])
  6919. +_LT_TAGDECL([], [no_undefined_flag], [1],
  6920. + [Flag that enforces no undefined symbols])
  6921. +_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
  6922. + [Flag to hardcode $libdir into a binary during linking.
  6923. + This must work even if $libdir does not exist])
  6924. +_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
  6925. + [[If ld is used when linking, flag to hardcode $libdir into a binary
  6926. + during linking. This must work even if $libdir does not exist]])
  6927. +_LT_TAGDECL([], [hardcode_libdir_separator], [1],
  6928. + [Whether we need a single "-rpath" flag with a separated argument])
  6929. +_LT_TAGDECL([], [hardcode_direct], [0],
  6930. + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  6931. + DIR into the resulting binary])
  6932. +_LT_TAGDECL([], [hardcode_direct_absolute], [0],
  6933. + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  6934. + DIR into the resulting binary and the resulting library dependency is
  6935. + "absolute", i.e impossible to change by setting ${shlibpath_var} if the
  6936. + library is relocated])
  6937. +_LT_TAGDECL([], [hardcode_minus_L], [0],
  6938. + [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  6939. + into the resulting binary])
  6940. +_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
  6941. + [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  6942. + into the resulting binary])
  6943. +_LT_TAGDECL([], [hardcode_automatic], [0],
  6944. + [Set to "yes" if building a shared library automatically hardcodes DIR
  6945. + into the library and all subsequent libraries and executables linked
  6946. + against it])
  6947. +_LT_TAGDECL([], [inherit_rpath], [0],
  6948. + [Set to yes if linker adds runtime paths of dependent libraries
  6949. + to runtime path list])
  6950. +_LT_TAGDECL([], [link_all_deplibs], [0],
  6951. + [Whether libtool must link a program against all its dependency libraries])
  6952. +_LT_TAGDECL([], [fix_srcfile_path], [1],
  6953. + [Fix the shell variable $srcfile for the compiler])
  6954. +_LT_TAGDECL([], [always_export_symbols], [0],
  6955. + [Set to "yes" if exported symbols are required])
  6956. +_LT_TAGDECL([], [export_symbols_cmds], [2],
  6957. + [The commands to list exported symbols])
  6958. +_LT_TAGDECL([], [exclude_expsyms], [1],
  6959. + [Symbols that should not be listed in the preloaded symbols])
  6960. +_LT_TAGDECL([], [include_expsyms], [1],
  6961. + [Symbols that must always be exported])
  6962. +_LT_TAGDECL([], [prelink_cmds], [2],
  6963. + [Commands necessary for linking programs (against libraries) with templates])
  6964. +_LT_TAGDECL([], [file_list_spec], [1],
  6965. + [Specify filename containing input files])
  6966. +dnl FIXME: Not yet implemented
  6967. +dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
  6968. +dnl [Compiler flag to generate thread safe objects])
  6969. +])# _LT_LINKER_SHLIBS
  6970. -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  6971. -# ---------------------------------
  6972. -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
  6973. -[AC_REQUIRE([AC_CANONICAL_HOST])
  6974. -AC_REQUIRE([LT_AC_PROG_SED])
  6975. -AC_REQUIRE([AC_PROG_NM])
  6976. -AC_REQUIRE([AC_OBJEXT])
  6977. -# Check for command to grab the raw symbol name followed by C symbol from nm.
  6978. -AC_MSG_CHECKING([command to parse $NM output from $compiler object])
  6979. -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
  6980. -[
  6981. -# These are sane defaults that work on at least a few old systems.
  6982. -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  6983. +# _LT_LANG_C_CONFIG([TAG])
  6984. +# ------------------------
  6985. +# Ensure that the configuration variables for a C compiler are suitably
  6986. +# defined. These variables are subsequently used by _LT_CONFIG to write
  6987. +# the compiler configuration to `libtool'.
  6988. +m4_defun([_LT_LANG_C_CONFIG],
  6989. +[m4_require([_LT_DECL_EGREP])dnl
  6990. +lt_save_CC="$CC"
  6991. +AC_LANG_PUSH(C)
  6992. -# Character class describing NM global symbol codes.
  6993. -symcode='[[BCDEGRST]]'
  6994. +# Source file extension for C test sources.
  6995. +ac_ext=c
  6996. -# Regexp to match symbols that can be accessed directly from C.
  6997. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
  6998. +# Object file extension for compiled C test sources.
  6999. +objext=o
  7000. +_LT_TAGVAR(objext, $1)=$objext
  7001. -# Transform an extracted symbol line into a proper C declaration
  7002. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
  7003. +# Code to be used in simple compile tests
  7004. +lt_simple_compile_test_code="int some_variable = 0;"
  7005. -# Transform an extracted symbol line into symbol name and symbol address
  7006. -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
  7007. +# Code to be used in simple link tests
  7008. +lt_simple_link_test_code='int main(){return(0);}'
  7009. -# Define system-specific variables.
  7010. -case $host_os in
  7011. -aix*)
  7012. - symcode='[[BCDT]]'
  7013. - ;;
  7014. -cygwin* | mingw* | pw32*)
  7015. - symcode='[[ABCDGISTW]]'
  7016. - ;;
  7017. -hpux*) # Its linker distinguishes data from code symbols
  7018. - if test "$host_cpu" = ia64; then
  7019. - symcode='[[ABCDEGRST]]'
  7020. - fi
  7021. - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  7022. - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
  7023. - ;;
  7024. -linux* | k*bsd*-gnu)
  7025. - if test "$host_cpu" = ia64; then
  7026. - symcode='[[ABCDGIRSTW]]'
  7027. - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  7028. - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
  7029. - fi
  7030. - ;;
  7031. -irix* | nonstopux*)
  7032. - symcode='[[BCDEGRST]]'
  7033. - ;;
  7034. -osf*)
  7035. - symcode='[[BCDEGQRST]]'
  7036. - ;;
  7037. -solaris*)
  7038. - symcode='[[BDRT]]'
  7039. - ;;
  7040. -sco3.2v5*)
  7041. - symcode='[[DT]]'
  7042. - ;;
  7043. -sysv4.2uw2*)
  7044. - symcode='[[DT]]'
  7045. - ;;
  7046. -sysv5* | sco5v6* | unixware* | OpenUNIX*)
  7047. - symcode='[[ABDT]]'
  7048. - ;;
  7049. -sysv4)
  7050. - symcode='[[DFNSTU]]'
  7051. - ;;
  7052. -esac
  7053. +_LT_TAG_COMPILER
  7054. +# Save the default compiler, since it gets overwritten when the other
  7055. +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  7056. +compiler_DEFAULT=$CC
  7057. -# Handle CRLF in mingw tool chain
  7058. -opt_cr=
  7059. -case $build_os in
  7060. -mingw*)
  7061. - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  7062. - ;;
  7063. -esac
  7064. +# save warnings/boilerplate of simple test code
  7065. +_LT_COMPILER_BOILERPLATE
  7066. +_LT_LINKER_BOILERPLATE
  7067. -# If we're using GNU nm, then use its standard symbol codes.
  7068. -case `$NM -V 2>&1` in
  7069. -*GNU* | *'with BFD'*)
  7070. - symcode='[[ABCDGIRSTW]]' ;;
  7071. -esac
  7072. +if test -n "$compiler"; then
  7073. + _LT_COMPILER_NO_RTTI($1)
  7074. + _LT_COMPILER_PIC($1)
  7075. + _LT_COMPILER_C_O($1)
  7076. + _LT_COMPILER_FILE_LOCKS($1)
  7077. + _LT_LINKER_SHLIBS($1)
  7078. + _LT_SYS_DYNAMIC_LINKER($1)
  7079. + _LT_LINKER_HARDCODE_LIBPATH($1)
  7080. + LT_SYS_DLOPEN_SELF
  7081. + _LT_CMD_STRIPLIB
  7082. +
  7083. + # Report which library types will actually be built
  7084. + AC_MSG_CHECKING([if libtool supports shared libraries])
  7085. + AC_MSG_RESULT([$can_build_shared])
  7086. -# Try without a prefix undercore, then with it.
  7087. -for ac_symprfx in "" "_"; do
  7088. + AC_MSG_CHECKING([whether to build shared libraries])
  7089. + test "$can_build_shared" = "no" && enable_shared=no
  7090. - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  7091. - symxfrm="\\1 $ac_symprfx\\2 \\2"
  7092. + # On AIX, shared libraries and static libraries use the same namespace, and
  7093. + # are all built from PIC.
  7094. + case $host_os in
  7095. + aix3*)
  7096. + test "$enable_shared" = yes && enable_static=no
  7097. + if test -n "$RANLIB"; then
  7098. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  7099. + postinstall_cmds='$RANLIB $lib'
  7100. + fi
  7101. + ;;
  7102. - # Write the raw and C identifiers.
  7103. - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  7104. + aix[[4-9]]*)
  7105. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  7106. + test "$enable_shared" = yes && enable_static=no
  7107. + fi
  7108. + ;;
  7109. + esac
  7110. + AC_MSG_RESULT([$enable_shared])
  7111. - # Check to see that the pipe works correctly.
  7112. - pipe_works=no
  7113. + AC_MSG_CHECKING([whether to build static libraries])
  7114. + # Make sure either enable_shared or enable_static is yes.
  7115. + test "$enable_shared" = yes || enable_static=yes
  7116. + AC_MSG_RESULT([$enable_static])
  7117. - rm -f conftest*
  7118. - cat > conftest.$ac_ext <<EOF
  7119. -#ifdef __cplusplus
  7120. -extern "C" {
  7121. -#endif
  7122. -char nm_test_var;
  7123. -void nm_test_func(){}
  7124. -#ifdef __cplusplus
  7125. -}
  7126. -#endif
  7127. -int main(){nm_test_var='a';nm_test_func();return(0);}
  7128. -EOF
  7129. + _LT_CONFIG($1)
  7130. +fi
  7131. +AC_LANG_POP
  7132. +CC="$lt_save_CC"
  7133. +])# _LT_LANG_C_CONFIG
  7134. - if AC_TRY_EVAL(ac_compile); then
  7135. - # Now try to grab the symbols.
  7136. - nlist=conftest.nm
  7137. - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
  7138. - # Try sorting and uniquifying the output.
  7139. - if sort "$nlist" | uniq > "$nlist"T; then
  7140. - mv -f "$nlist"T "$nlist"
  7141. - else
  7142. - rm -f "$nlist"T
  7143. - fi
  7144. - # Make sure that we snagged all the symbols we need.
  7145. - if grep ' nm_test_var$' "$nlist" >/dev/null; then
  7146. - if grep ' nm_test_func$' "$nlist" >/dev/null; then
  7147. - cat <<EOF > conftest.$ac_ext
  7148. -#ifdef __cplusplus
  7149. -extern "C" {
  7150. -#endif
  7151. +# _LT_PROG_CXX
  7152. +# ------------
  7153. +# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
  7154. +# compiler, we have our own version here.
  7155. +m4_defun([_LT_PROG_CXX],
  7156. +[
  7157. +pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
  7158. +AC_PROG_CXX
  7159. +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  7160. + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  7161. + (test "X$CXX" != "Xg++"))) ; then
  7162. + AC_PROG_CXXCPP
  7163. +else
  7164. + _lt_caught_CXX_error=yes
  7165. +fi
  7166. +popdef([AC_MSG_ERROR])
  7167. +])# _LT_PROG_CXX
  7168. -EOF
  7169. - # Now generate the symbol file.
  7170. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
  7171. +dnl aclocal-1.4 backwards compatibility:
  7172. +dnl AC_DEFUN([_LT_PROG_CXX], [])
  7173. - cat <<EOF >> conftest.$ac_ext
  7174. -#if defined (__STDC__) && __STDC__
  7175. -# define lt_ptr_t void *
  7176. -#else
  7177. -# define lt_ptr_t char *
  7178. -# define const
  7179. -#endif
  7180. -/* The mapping between symbol names and symbols. */
  7181. -const struct {
  7182. - const char *name;
  7183. - lt_ptr_t address;
  7184. -}
  7185. -lt_preloaded_symbols[[]] =
  7186. -{
  7187. -EOF
  7188. - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
  7189. - cat <<\EOF >> conftest.$ac_ext
  7190. - {0, (lt_ptr_t) 0}
  7191. -};
  7192. +# _LT_LANG_CXX_CONFIG([TAG])
  7193. +# --------------------------
  7194. +# Ensure that the configuration variables for a C++ compiler are suitably
  7195. +# defined. These variables are subsequently used by _LT_CONFIG to write
  7196. +# the compiler configuration to `libtool'.
  7197. +m4_defun([_LT_LANG_CXX_CONFIG],
  7198. +[AC_REQUIRE([_LT_PROG_CXX])dnl
  7199. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  7200. +m4_require([_LT_DECL_EGREP])dnl
  7201. +
  7202. +AC_LANG_PUSH(C++)
  7203. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  7204. +_LT_TAGVAR(allow_undefined_flag, $1)=
  7205. +_LT_TAGVAR(always_export_symbols, $1)=no
  7206. +_LT_TAGVAR(archive_expsym_cmds, $1)=
  7207. +_LT_TAGVAR(compiler_needs_object, $1)=no
  7208. +_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  7209. +_LT_TAGVAR(hardcode_direct, $1)=no
  7210. +_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  7211. +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  7212. +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  7213. +_LT_TAGVAR(hardcode_libdir_separator, $1)=
  7214. +_LT_TAGVAR(hardcode_minus_L, $1)=no
  7215. +_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  7216. +_LT_TAGVAR(hardcode_automatic, $1)=no
  7217. +_LT_TAGVAR(inherit_rpath, $1)=no
  7218. +_LT_TAGVAR(module_cmds, $1)=
  7219. +_LT_TAGVAR(module_expsym_cmds, $1)=
  7220. +_LT_TAGVAR(link_all_deplibs, $1)=unknown
  7221. +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  7222. +_LT_TAGVAR(no_undefined_flag, $1)=
  7223. +_LT_TAGVAR(whole_archive_flag_spec, $1)=
  7224. +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  7225. -#ifdef __cplusplus
  7226. -}
  7227. -#endif
  7228. -EOF
  7229. - # Now try linking the two files.
  7230. - mv conftest.$ac_objext conftstm.$ac_objext
  7231. - lt_save_LIBS="$LIBS"
  7232. - lt_save_CFLAGS="$CFLAGS"
  7233. - LIBS="conftstm.$ac_objext"
  7234. - CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
  7235. - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
  7236. - pipe_works=yes
  7237. - fi
  7238. - LIBS="$lt_save_LIBS"
  7239. - CFLAGS="$lt_save_CFLAGS"
  7240. - else
  7241. - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
  7242. - fi
  7243. - else
  7244. - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
  7245. - fi
  7246. - else
  7247. - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  7248. - fi
  7249. +# Source file extension for C++ test sources.
  7250. +ac_ext=cpp
  7251. +
  7252. +# Object file extension for compiled C++ test sources.
  7253. +objext=o
  7254. +_LT_TAGVAR(objext, $1)=$objext
  7255. +
  7256. +# No sense in running all these tests if we already determined that
  7257. +# the CXX compiler isn't working. Some variables (like enable_shared)
  7258. +# are currently assumed to apply to all compilers on this platform,
  7259. +# and will be corrupted by setting them based on a non-working compiler.
  7260. +if test "$_lt_caught_CXX_error" != yes; then
  7261. + # Code to be used in simple compile tests
  7262. + lt_simple_compile_test_code="int some_variable = 0;"
  7263. +
  7264. + # Code to be used in simple link tests
  7265. + lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
  7266. +
  7267. + # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  7268. + _LT_TAG_COMPILER
  7269. +
  7270. + # save warnings/boilerplate of simple test code
  7271. + _LT_COMPILER_BOILERPLATE
  7272. + _LT_LINKER_BOILERPLATE
  7273. +
  7274. + # Allow CC to be a program name with arguments.
  7275. + lt_save_CC=$CC
  7276. + lt_save_LD=$LD
  7277. + lt_save_GCC=$GCC
  7278. + GCC=$GXX
  7279. + lt_save_with_gnu_ld=$with_gnu_ld
  7280. + lt_save_path_LD=$lt_cv_path_LD
  7281. + if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  7282. + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  7283. else
  7284. - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
  7285. - cat conftest.$ac_ext >&5
  7286. + $as_unset lt_cv_prog_gnu_ld
  7287. fi
  7288. - rm -rf conftest* conftst*
  7289. -
  7290. - # Do not use the global_symbol_pipe unless it works.
  7291. - if test "$pipe_works" = yes; then
  7292. - break
  7293. + if test -n "${lt_cv_path_LDCXX+set}"; then
  7294. + lt_cv_path_LD=$lt_cv_path_LDCXX
  7295. else
  7296. - lt_cv_sys_global_symbol_pipe=
  7297. + $as_unset lt_cv_path_LD
  7298. fi
  7299. -done
  7300. -])
  7301. -if test -z "$lt_cv_sys_global_symbol_pipe"; then
  7302. - lt_cv_sys_global_symbol_to_cdecl=
  7303. -fi
  7304. -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  7305. - AC_MSG_RESULT(failed)
  7306. -else
  7307. - AC_MSG_RESULT(ok)
  7308. -fi
  7309. -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  7310. + test -z "${LDCXX+set}" || LD=$LDCXX
  7311. + CC=${CXX-"c++"}
  7312. + compiler=$CC
  7313. + _LT_TAGVAR(compiler, $1)=$CC
  7314. + _LT_CC_BASENAME([$compiler])
  7315. + if test -n "$compiler"; then
  7316. + # We don't want -fno-exception when compiling C++ code, so set the
  7317. + # no_builtin_flag separately
  7318. + if test "$GXX" = yes; then
  7319. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  7320. + else
  7321. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  7322. + fi
  7323. -# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
  7324. -# ---------------------------------------
  7325. -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
  7326. -[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
  7327. -_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  7328. -_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
  7329. + if test "$GXX" = yes; then
  7330. + # Set up default GNU C++ configuration
  7331. -AC_MSG_CHECKING([for $compiler option to produce PIC])
  7332. - ifelse([$1],[CXX],[
  7333. - # C++ specific cases for pic, static, wl, etc.
  7334. - if test "$GXX" = yes; then
  7335. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  7336. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  7337. + LT_PATH_LD
  7338. - case $host_os in
  7339. - aix*)
  7340. - # All AIX code is PIC.
  7341. - if test "$host_cpu" = ia64; then
  7342. - # AIX 5 now supports IA64 processor
  7343. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  7344. - fi
  7345. - ;;
  7346. - amigaos*)
  7347. - # FIXME: we need at least 68020 code to build shared libraries, but
  7348. - # adding the `-m68020' flag to GCC prevents building anything better,
  7349. - # like `-m68040'.
  7350. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  7351. - ;;
  7352. - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  7353. - # PIC is the default for these OSes.
  7354. - ;;
  7355. - mingw* | cygwin* | os2* | pw32*)
  7356. - # This hack is so that the source file can tell whether it is being
  7357. - # built for inclusion in a dll (and should export symbols for example).
  7358. - # Although the cygwin gcc ignores -fPIC, still need this for old-style
  7359. - # (--disable-auto-import) libraries
  7360. - m4_if([$1], [GCJ], [],
  7361. - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  7362. - ;;
  7363. - darwin* | rhapsody*)
  7364. - # PIC is the default on this platform
  7365. - # Common symbols not allowed in MH_DYLIB files
  7366. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  7367. - ;;
  7368. - *djgpp*)
  7369. - # DJGPP does not support shared libraries at all
  7370. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  7371. - ;;
  7372. - interix[[3-9]]*)
  7373. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  7374. - # Instead, we relocate shared libraries at runtime.
  7375. - ;;
  7376. - sysv4*MP*)
  7377. - if test -d /usr/nec; then
  7378. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  7379. + # Check if GNU C++ uses GNU ld as the underlying linker, since the
  7380. + # archiving commands below assume that GNU ld is being used.
  7381. + if test "$with_gnu_ld" = yes; then
  7382. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7383. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7384. +
  7385. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  7386. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  7387. +
  7388. + # If archive_cmds runs LD, not CC, wlarc should be empty
  7389. + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  7390. + # investigate it a little bit more. (MM)
  7391. + wlarc='${wl}'
  7392. +
  7393. + # ancient GNU ld didn't support --whole-archive et. al.
  7394. + if eval "`$CC -print-prog-name=ld` --help 2>&1" |
  7395. + $GREP 'no-whole-archive' > /dev/null; then
  7396. + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  7397. + else
  7398. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  7399. + fi
  7400. + else
  7401. + with_gnu_ld=no
  7402. + wlarc=
  7403. +
  7404. + # A generic and very simple default shared library creation
  7405. + # command for GNU C++ for the case where it uses the native
  7406. + # linker, instead of GNU ld. If possible, this setting should
  7407. + # overridden to take advantage of the native linker features on
  7408. + # the platform it is being used on.
  7409. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  7410. fi
  7411. - ;;
  7412. - hpux*)
  7413. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  7414. - # not for PA HP-UX.
  7415. - case $host_cpu in
  7416. - hppa*64*|ia64*)
  7417. - ;;
  7418. - *)
  7419. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  7420. - ;;
  7421. - esac
  7422. - ;;
  7423. - *)
  7424. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  7425. - ;;
  7426. - esac
  7427. - else
  7428. +
  7429. + # Commands to make compiler produce verbose output that lists
  7430. + # what "hidden" libraries, object files and flags are used when
  7431. + # linking a shared library.
  7432. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  7433. +
  7434. + else
  7435. + GXX=no
  7436. + with_gnu_ld=no
  7437. + wlarc=
  7438. + fi
  7439. +
  7440. + # PORTME: fill in a description of your system's C++ link characteristics
  7441. + AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  7442. + _LT_TAGVAR(ld_shlibs, $1)=yes
  7443. case $host_os in
  7444. + aix3*)
  7445. + # FIXME: insert proper C++ library support
  7446. + _LT_TAGVAR(ld_shlibs, $1)=no
  7447. + ;;
  7448. aix[[4-9]]*)
  7449. - # All AIX code is PIC.
  7450. - if test "$host_cpu" = ia64; then
  7451. - # AIX 5 now supports IA64 processor
  7452. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  7453. + if test "$host_cpu" = ia64; then
  7454. + # On IA64, the linker does run time linking by default, so we don't
  7455. + # have to do anything special.
  7456. + aix_use_runtimelinking=no
  7457. + exp_sym_flag='-Bexport'
  7458. + no_entry_flag=""
  7459. + else
  7460. + aix_use_runtimelinking=no
  7461. +
  7462. + # Test if we are trying to use run time linking or normal
  7463. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  7464. + # need to do runtime linking.
  7465. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  7466. + for ld_flag in $LDFLAGS; do
  7467. + case $ld_flag in
  7468. + *-brtl*)
  7469. + aix_use_runtimelinking=yes
  7470. + break
  7471. + ;;
  7472. + esac
  7473. + done
  7474. + ;;
  7475. + esac
  7476. +
  7477. + exp_sym_flag='-bexport'
  7478. + no_entry_flag='-bnoentry'
  7479. + fi
  7480. +
  7481. + # When large executables or shared objects are built, AIX ld can
  7482. + # have problems creating the table of contents. If linking a library
  7483. + # or program results in "error TOC overflow" add -mminimal-toc to
  7484. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  7485. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  7486. +
  7487. + _LT_TAGVAR(archive_cmds, $1)=''
  7488. + _LT_TAGVAR(hardcode_direct, $1)=yes
  7489. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  7490. + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  7491. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  7492. + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  7493. +
  7494. + if test "$GXX" = yes; then
  7495. + case $host_os in aix4.[[012]]|aix4.[[012]].*)
  7496. + # We only want to do this on AIX 4.2 and lower, the check
  7497. + # below for broken collect2 doesn't work under 4.3+
  7498. + collect2name=`${CC} -print-prog-name=collect2`
  7499. + if test -f "$collect2name" &&
  7500. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  7501. + then
  7502. + # We have reworked collect2
  7503. + :
  7504. + else
  7505. + # We have old collect2
  7506. + _LT_TAGVAR(hardcode_direct, $1)=unsupported
  7507. + # It fails to find uninstalled libraries when the uninstalled
  7508. + # path is not listed in the libpath. Setting hardcode_minus_L
  7509. + # to unsupported forces relinking
  7510. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  7511. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  7512. + _LT_TAGVAR(hardcode_libdir_separator, $1)=
  7513. + fi
  7514. + esac
  7515. + shared_flag='-shared'
  7516. + if test "$aix_use_runtimelinking" = yes; then
  7517. + shared_flag="$shared_flag "'${wl}-G'
  7518. + fi
  7519. + else
  7520. + # not using gcc
  7521. + if test "$host_cpu" = ia64; then
  7522. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  7523. + # chokes on -Wl,-G. The following line is correct:
  7524. + shared_flag='-G'
  7525. + else
  7526. + if test "$aix_use_runtimelinking" = yes; then
  7527. + shared_flag='${wl}-G'
  7528. + else
  7529. + shared_flag='${wl}-bM:SRE'
  7530. + fi
  7531. + fi
  7532. + fi
  7533. +
  7534. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  7535. + # It seems that -bexpall does not export symbols beginning with
  7536. + # underscore (_), so it is better to generate a list of symbols to
  7537. + # export.
  7538. + _LT_TAGVAR(always_export_symbols, $1)=yes
  7539. + if test "$aix_use_runtimelinking" = yes; then
  7540. + # Warning - without using the other runtime loading flags (-brtl),
  7541. + # -berok will link without error, but may produce a broken library.
  7542. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  7543. + # Determine the default libpath from the value encoded in an empty
  7544. + # executable.
  7545. + _LT_SYS_MODULE_PATH_AIX
  7546. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  7547. +
  7548. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  7549. + else
  7550. + if test "$host_cpu" = ia64; then
  7551. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  7552. + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  7553. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  7554. + else
  7555. + # Determine the default libpath from the value encoded in an
  7556. + # empty executable.
  7557. + _LT_SYS_MODULE_PATH_AIX
  7558. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  7559. + # Warning - without using the other run time loading flags,
  7560. + # -berok will link without error, but may produce a broken library.
  7561. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  7562. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  7563. + # Exported symbols can be pulled into shared objects from archives
  7564. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  7565. + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  7566. + # This is similar to how AIX traditionally builds its shared
  7567. + # libraries.
  7568. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  7569. + fi
  7570. + fi
  7571. + ;;
  7572. +
  7573. + beos*)
  7574. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7575. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  7576. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  7577. + # support --undefined. This deserves some investigation. FIXME
  7578. + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7579. else
  7580. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  7581. + _LT_TAGVAR(ld_shlibs, $1)=no
  7582. fi
  7583. ;;
  7584. +
  7585. chorus*)
  7586. - case $cc_basename in
  7587. - cxch68*)
  7588. - # Green Hills C++ Compiler
  7589. - # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
  7590. + case $cc_basename in
  7591. + *)
  7592. + # FIXME: insert proper C++ library support
  7593. + _LT_TAGVAR(ld_shlibs, $1)=no
  7594. ;;
  7595. - esac
  7596. + esac
  7597. + ;;
  7598. +
  7599. + cygwin* | mingw* | pw32* | cegcc*)
  7600. + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  7601. + # as there is no search path for DLLs.
  7602. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  7603. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  7604. + _LT_TAGVAR(always_export_symbols, $1)=no
  7605. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  7606. +
  7607. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  7608. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  7609. + # If the export-symbols file already is a .def file (1st line
  7610. + # is EXPORTS), use it as is; otherwise, prepend...
  7611. + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  7612. + cp $export_symbols $output_objdir/$soname.def;
  7613. + else
  7614. + echo EXPORTS > $output_objdir/$soname.def;
  7615. + cat $export_symbols >> $output_objdir/$soname.def;
  7616. + fi~
  7617. + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  7618. + else
  7619. + _LT_TAGVAR(ld_shlibs, $1)=no
  7620. + fi
  7621. + ;;
  7622. + darwin* | rhapsody*)
  7623. + _LT_DARWIN_LINKER_FEATURES($1)
  7624. ;;
  7625. - darwin*)
  7626. - # PIC is the default on this platform
  7627. - # Common symbols not allowed in MH_DYLIB files
  7628. - case $cc_basename in
  7629. - xlc*)
  7630. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
  7631. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  7632. - ;;
  7633. - esac
  7634. - ;;
  7635. +
  7636. dgux*)
  7637. - case $cc_basename in
  7638. - ec++*)
  7639. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  7640. + case $cc_basename in
  7641. + ec++*)
  7642. + # FIXME: insert proper C++ library support
  7643. + _LT_TAGVAR(ld_shlibs, $1)=no
  7644. ;;
  7645. - ghcx*)
  7646. + ghcx*)
  7647. # Green Hills C++ Compiler
  7648. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  7649. + # FIXME: insert proper C++ library support
  7650. + _LT_TAGVAR(ld_shlibs, $1)=no
  7651. ;;
  7652. - *)
  7653. + *)
  7654. + # FIXME: insert proper C++ library support
  7655. + _LT_TAGVAR(ld_shlibs, $1)=no
  7656. ;;
  7657. - esac
  7658. - ;;
  7659. + esac
  7660. + ;;
  7661. +
  7662. + freebsd[[12]]*)
  7663. + # C++ shared libraries reported to be fairly broken before
  7664. + # switch to ELF
  7665. + _LT_TAGVAR(ld_shlibs, $1)=no
  7666. + ;;
  7667. +
  7668. + freebsd-elf*)
  7669. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  7670. + ;;
  7671. +
  7672. freebsd* | dragonfly*)
  7673. - # FreeBSD uses GNU C++
  7674. - ;;
  7675. - hpux9* | hpux10* | hpux11*)
  7676. - case $cc_basename in
  7677. - CC*)
  7678. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  7679. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  7680. - if test "$host_cpu" != ia64; then
  7681. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  7682. - fi
  7683. + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  7684. + # conventions
  7685. + _LT_TAGVAR(ld_shlibs, $1)=yes
  7686. + ;;
  7687. +
  7688. + gnu*)
  7689. + ;;
  7690. +
  7691. + hpux9*)
  7692. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  7693. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  7694. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  7695. + _LT_TAGVAR(hardcode_direct, $1)=yes
  7696. + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  7697. + # but as the default
  7698. + # location of the library.
  7699. +
  7700. + case $cc_basename in
  7701. + CC*)
  7702. + # FIXME: insert proper C++ library support
  7703. + _LT_TAGVAR(ld_shlibs, $1)=no
  7704. + ;;
  7705. + aCC*)
  7706. + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  7707. + # Commands to make compiler produce verbose output that lists
  7708. + # what "hidden" libraries, object files and flags are used when
  7709. + # linking a shared library.
  7710. + #
  7711. + # There doesn't appear to be a way to prevent this compiler from
  7712. + # explicitly linking system object files so we need to strip them
  7713. + # from the output so that they don't get included in the library
  7714. + # dependencies.
  7715. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  7716. + ;;
  7717. + *)
  7718. + if test "$GXX" = yes; then
  7719. + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  7720. + else
  7721. + # FIXME: insert proper C++ library support
  7722. + _LT_TAGVAR(ld_shlibs, $1)=no
  7723. + fi
  7724. + ;;
  7725. + esac
  7726. + ;;
  7727. +
  7728. + hpux10*|hpux11*)
  7729. + if test $with_gnu_ld = no; then
  7730. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  7731. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  7732. +
  7733. + case $host_cpu in
  7734. + hppa*64*|ia64*)
  7735. + ;;
  7736. + *)
  7737. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  7738. + ;;
  7739. + esac
  7740. + fi
  7741. + case $host_cpu in
  7742. + hppa*64*|ia64*)
  7743. + _LT_TAGVAR(hardcode_direct, $1)=no
  7744. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  7745. + ;;
  7746. + *)
  7747. + _LT_TAGVAR(hardcode_direct, $1)=yes
  7748. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  7749. + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  7750. + # but as the default
  7751. + # location of the library.
  7752. + ;;
  7753. + esac
  7754. +
  7755. + case $cc_basename in
  7756. + CC*)
  7757. + # FIXME: insert proper C++ library support
  7758. + _LT_TAGVAR(ld_shlibs, $1)=no
  7759. ;;
  7760. - aCC*)
  7761. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  7762. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  7763. - case $host_cpu in
  7764. - hppa*64*|ia64*)
  7765. - # +Z the default
  7766. - ;;
  7767. - *)
  7768. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  7769. - ;;
  7770. + aCC*)
  7771. + case $host_cpu in
  7772. + hppa*64*)
  7773. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  7774. + ;;
  7775. + ia64*)
  7776. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  7777. + ;;
  7778. + *)
  7779. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  7780. + ;;
  7781. esac
  7782. + # Commands to make compiler produce verbose output that lists
  7783. + # what "hidden" libraries, object files and flags are used when
  7784. + # linking a shared library.
  7785. + #
  7786. + # There doesn't appear to be a way to prevent this compiler from
  7787. + # explicitly linking system object files so we need to strip them
  7788. + # from the output so that they don't get included in the library
  7789. + # dependencies.
  7790. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  7791. ;;
  7792. - *)
  7793. + *)
  7794. + if test "$GXX" = yes; then
  7795. + if test $with_gnu_ld = no; then
  7796. + case $host_cpu in
  7797. + hppa*64*)
  7798. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  7799. + ;;
  7800. + ia64*)
  7801. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  7802. + ;;
  7803. + *)
  7804. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  7805. + ;;
  7806. + esac
  7807. + fi
  7808. + else
  7809. + # FIXME: insert proper C++ library support
  7810. + _LT_TAGVAR(ld_shlibs, $1)=no
  7811. + fi
  7812. ;;
  7813. - esac
  7814. - ;;
  7815. - interix*)
  7816. - # This is c89, which is MS Visual C++ (no shared libs)
  7817. - # Anyone wants to do a port?
  7818. - ;;
  7819. - irix5* | irix6* | nonstopux*)
  7820. - case $cc_basename in
  7821. - CC*)
  7822. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  7823. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  7824. - # CC pic flag -KPIC is the default.
  7825. + esac
  7826. + ;;
  7827. +
  7828. + interix[[3-9]]*)
  7829. + _LT_TAGVAR(hardcode_direct, $1)=no
  7830. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  7831. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  7832. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  7833. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  7834. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  7835. + # default) and relocated if they conflict, which is a slow very memory
  7836. + # consuming and fragmenting process. To avoid this, we pick a random,
  7837. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  7838. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  7839. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  7840. + _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  7841. + ;;
  7842. + irix5* | irix6*)
  7843. + case $cc_basename in
  7844. + CC*)
  7845. + # SGI C++
  7846. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  7847. +
  7848. + # Archives containing C++ object files must be created using
  7849. + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  7850. + # necessary to make sure instantiated templates are included
  7851. + # in the archive.
  7852. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
  7853. ;;
  7854. - *)
  7855. + *)
  7856. + if test "$GXX" = yes; then
  7857. + if test "$with_gnu_ld" = no; then
  7858. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  7859. + else
  7860. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
  7861. + fi
  7862. + fi
  7863. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  7864. ;;
  7865. - esac
  7866. - ;;
  7867. - linux* | k*bsd*-gnu)
  7868. - case $cc_basename in
  7869. - KCC*)
  7870. - # KAI C++ Compiler
  7871. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  7872. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  7873. + esac
  7874. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  7875. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  7876. + _LT_TAGVAR(inherit_rpath, $1)=yes
  7877. + ;;
  7878. +
  7879. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  7880. + case $cc_basename in
  7881. + KCC*)
  7882. + # Kuck and Associates, Inc. (KAI) C++ Compiler
  7883. +
  7884. + # KCC will only create a shared library if the output file
  7885. + # ends with ".so" (or ".sl" for HP-UX), so rename the library
  7886. + # to its proper name (with version) after linking.
  7887. + _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  7888. + _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
  7889. + # Commands to make compiler produce verbose output that lists
  7890. + # what "hidden" libraries, object files and flags are used when
  7891. + # linking a shared library.
  7892. + #
  7893. + # There doesn't appear to be a way to prevent this compiler from
  7894. + # explicitly linking system object files so we need to strip them
  7895. + # from the output so that they don't get included in the library
  7896. + # dependencies.
  7897. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  7898. +
  7899. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  7900. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  7901. +
  7902. + # Archives containing C++ object files must be created using
  7903. + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  7904. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  7905. ;;
  7906. - icpc* | ecpc*)
  7907. + icpc* | ecpc* )
  7908. # Intel C++
  7909. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  7910. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  7911. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  7912. - ;;
  7913. - pgCC* | pgcpp*)
  7914. - # Portland Group C++ compiler.
  7915. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  7916. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  7917. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  7918. + with_gnu_ld=yes
  7919. + # version 8.0 and above of icpc choke on multiply defined symbols
  7920. + # if we add $predep_objects and $postdep_objects, however 7.1 and
  7921. + # earlier do not add the objects themselves.
  7922. + case `$CC -V 2>&1` in
  7923. + *"Version 7."*)
  7924. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7925. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7926. + ;;
  7927. + *) # Version 8.0 or newer
  7928. + tmp_idyn=
  7929. + case $host_cpu in
  7930. + ia64*) tmp_idyn=' -i_dynamic';;
  7931. + esac
  7932. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7933. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7934. + ;;
  7935. + esac
  7936. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  7937. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  7938. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  7939. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  7940. ;;
  7941. + pgCC* | pgcpp*)
  7942. + # Portland Group C++ compiler
  7943. + case `$CC -V` in
  7944. + *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
  7945. + _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
  7946. + rm -rf $tpldir~
  7947. + $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  7948. + compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
  7949. + _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
  7950. + rm -rf $tpldir~
  7951. + $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  7952. + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
  7953. + $RANLIB $oldlib'
  7954. + _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
  7955. + rm -rf $tpldir~
  7956. + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  7957. + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  7958. + _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
  7959. + rm -rf $tpldir~
  7960. + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  7961. + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  7962. + ;;
  7963. + *) # Version 6 will use weak symbols
  7964. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  7965. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  7966. + ;;
  7967. + esac
  7968. +
  7969. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  7970. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  7971. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  7972. + ;;
  7973. cxx*)
  7974. # Compaq C++
  7975. - # Make sure the PIC flag is empty. It appears that all Alpha
  7976. - # Linux and Compaq Tru64 Unix objects are PIC.
  7977. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  7978. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  7979. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7980. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
  7981. +
  7982. + runpath_var=LD_RUN_PATH
  7983. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  7984. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  7985. +
  7986. + # Commands to make compiler produce verbose output that lists
  7987. + # what "hidden" libraries, object files and flags are used when
  7988. + # linking a shared library.
  7989. + #
  7990. + # There doesn't appear to be a way to prevent this compiler from
  7991. + # explicitly linking system object files so we need to strip them
  7992. + # from the output so that they don't get included in the library
  7993. + # dependencies.
  7994. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  7995. + ;;
  7996. + xl*)
  7997. + # IBM XL 8.0 on PPC, with GNU ld
  7998. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  7999. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  8000. + _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8001. + if test "x$supports_anon_versioning" = xyes; then
  8002. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  8003. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8004. + echo "local: *; };" >> $output_objdir/$libname.ver~
  8005. + $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  8006. + fi
  8007. ;;
  8008. *)
  8009. case `$CC -V 2>&1 | sed 5q` in
  8010. *Sun\ C*)
  8011. # Sun C++ 5.9
  8012. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  8013. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8014. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  8015. + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  8016. + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  8017. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
  8018. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  8019. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  8020. + _LT_TAGVAR(compiler_needs_object, $1)=yes
  8021. +
  8022. + # Not sure whether something based on
  8023. + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  8024. + # would be better.
  8025. + output_verbose_link_cmd='echo'
  8026. +
  8027. + # Archives containing C++ object files must be created using
  8028. + # "CC -xar", where "CC" is the Sun C++ compiler. This is
  8029. + # necessary to make sure instantiated templates are included
  8030. + # in the archive.
  8031. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  8032. ;;
  8033. esac
  8034. ;;
  8035. esac
  8036. ;;
  8037. +
  8038. lynxos*)
  8039. + # FIXME: insert proper C++ library support
  8040. + _LT_TAGVAR(ld_shlibs, $1)=no
  8041. ;;
  8042. +
  8043. m88k*)
  8044. + # FIXME: insert proper C++ library support
  8045. + _LT_TAGVAR(ld_shlibs, $1)=no
  8046. ;;
  8047. +
  8048. mvs*)
  8049. - case $cc_basename in
  8050. - cxx*)
  8051. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
  8052. + case $cc_basename in
  8053. + cxx*)
  8054. + # FIXME: insert proper C++ library support
  8055. + _LT_TAGVAR(ld_shlibs, $1)=no
  8056. ;;
  8057. *)
  8058. + # FIXME: insert proper C++ library support
  8059. + _LT_TAGVAR(ld_shlibs, $1)=no
  8060. ;;
  8061. esac
  8062. ;;
  8063. +
  8064. netbsd*)
  8065. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8066. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  8067. + wlarc=
  8068. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  8069. + _LT_TAGVAR(hardcode_direct, $1)=yes
  8070. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  8071. + fi
  8072. + # Workaround some broken pre-1.5 toolchains
  8073. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  8074. + ;;
  8075. +
  8076. + *nto* | *qnx*)
  8077. + _LT_TAGVAR(ld_shlibs, $1)=yes
  8078. + ;;
  8079. +
  8080. + openbsd2*)
  8081. + # C++ shared libraries are fairly broken
  8082. + _LT_TAGVAR(ld_shlibs, $1)=no
  8083. + ;;
  8084. +
  8085. + openbsd*)
  8086. + if test -f /usr/libexec/ld.so; then
  8087. + _LT_TAGVAR(hardcode_direct, $1)=yes
  8088. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  8089. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  8090. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  8091. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  8092. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  8093. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
  8094. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  8095. + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  8096. + fi
  8097. + output_verbose_link_cmd=echo
  8098. + else
  8099. + _LT_TAGVAR(ld_shlibs, $1)=no
  8100. + fi
  8101. ;;
  8102. +
  8103. osf3* | osf4* | osf5*)
  8104. - case $cc_basename in
  8105. - KCC*)
  8106. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  8107. + case $cc_basename in
  8108. + KCC*)
  8109. + # Kuck and Associates, Inc. (KAI) C++ Compiler
  8110. +
  8111. + # KCC will only create a shared library if the output file
  8112. + # ends with ".so" (or ".sl" for HP-UX), so rename the library
  8113. + # to its proper name (with version) after linking.
  8114. + _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  8115. +
  8116. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  8117. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  8118. +
  8119. + # Archives containing C++ object files must be created using
  8120. + # the KAI C++ compiler.
  8121. + case $host in
  8122. + osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
  8123. + *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
  8124. + esac
  8125. ;;
  8126. - RCC*)
  8127. + RCC*)
  8128. # Rational C++ 2.4.1
  8129. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  8130. + # FIXME: insert proper C++ library support
  8131. + _LT_TAGVAR(ld_shlibs, $1)=no
  8132. ;;
  8133. - cxx*)
  8134. - # Digital/Compaq C++
  8135. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8136. - # Make sure the PIC flag is empty. It appears that all Alpha
  8137. - # Linux and Compaq Tru64 Unix objects are PIC.
  8138. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  8139. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  8140. + cxx*)
  8141. + case $host in
  8142. + osf3*)
  8143. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  8144. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  8145. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  8146. + ;;
  8147. + *)
  8148. + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  8149. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  8150. + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  8151. + echo "-hidden">> $lib.exp~
  8152. + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
  8153. + $RM $lib.exp'
  8154. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  8155. + ;;
  8156. + esac
  8157. +
  8158. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  8159. +
  8160. + # Commands to make compiler produce verbose output that lists
  8161. + # what "hidden" libraries, object files and flags are used when
  8162. + # linking a shared library.
  8163. + #
  8164. + # There doesn't appear to be a way to prevent this compiler from
  8165. + # explicitly linking system object files so we need to strip them
  8166. + # from the output so that they don't get included in the library
  8167. + # dependencies.
  8168. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  8169. ;;
  8170. *)
  8171. + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  8172. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  8173. + case $host in
  8174. + osf3*)
  8175. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  8176. + ;;
  8177. + *)
  8178. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  8179. + ;;
  8180. + esac
  8181. +
  8182. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  8183. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  8184. +
  8185. + # Commands to make compiler produce verbose output that lists
  8186. + # what "hidden" libraries, object files and flags are used when
  8187. + # linking a shared library.
  8188. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  8189. +
  8190. + else
  8191. + # FIXME: insert proper C++ library support
  8192. + _LT_TAGVAR(ld_shlibs, $1)=no
  8193. + fi
  8194. ;;
  8195. - esac
  8196. - ;;
  8197. + esac
  8198. + ;;
  8199. +
  8200. psos*)
  8201. - ;;
  8202. - solaris*)
  8203. - case $cc_basename in
  8204. - CC*)
  8205. - # Sun C++ 4.2, 5.x and Centerline C++
  8206. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  8207. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8208. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  8209. - ;;
  8210. - gcx*)
  8211. - # Green Hills C++ Compiler
  8212. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  8213. - ;;
  8214. - *)
  8215. - ;;
  8216. - esac
  8217. - ;;
  8218. + # FIXME: insert proper C++ library support
  8219. + _LT_TAGVAR(ld_shlibs, $1)=no
  8220. + ;;
  8221. +
  8222. sunos4*)
  8223. - case $cc_basename in
  8224. - CC*)
  8225. + case $cc_basename in
  8226. + CC*)
  8227. # Sun C++ 4.x
  8228. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  8229. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8230. + # FIXME: insert proper C++ library support
  8231. + _LT_TAGVAR(ld_shlibs, $1)=no
  8232. ;;
  8233. - lcc*)
  8234. + lcc*)
  8235. # Lucid
  8236. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  8237. - ;;
  8238. - *)
  8239. - ;;
  8240. - esac
  8241. - ;;
  8242. - tandem*)
  8243. - case $cc_basename in
  8244. - NCC*)
  8245. - # NonStop-UX NCC 3.20
  8246. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  8247. - ;;
  8248. - *)
  8249. + # FIXME: insert proper C++ library support
  8250. + _LT_TAGVAR(ld_shlibs, $1)=no
  8251. ;;
  8252. - esac
  8253. - ;;
  8254. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  8255. - case $cc_basename in
  8256. - CC*)
  8257. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8258. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  8259. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8260. + *)
  8261. + # FIXME: insert proper C++ library support
  8262. + _LT_TAGVAR(ld_shlibs, $1)=no
  8263. ;;
  8264. - esac
  8265. - ;;
  8266. - vxworks*)
  8267. - ;;
  8268. - *)
  8269. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  8270. - ;;
  8271. - esac
  8272. - fi
  8273. -],
  8274. -[
  8275. - if test "$GCC" = yes; then
  8276. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8277. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  8278. -
  8279. - case $host_os in
  8280. - aix*)
  8281. - # All AIX code is PIC.
  8282. - if test "$host_cpu" = ia64; then
  8283. - # AIX 5 now supports IA64 processor
  8284. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8285. - fi
  8286. - ;;
  8287. -
  8288. - amigaos*)
  8289. - # FIXME: we need at least 68020 code to build shared libraries, but
  8290. - # adding the `-m68020' flag to GCC prevents building anything better,
  8291. - # like `-m68040'.
  8292. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  8293. - ;;
  8294. -
  8295. - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  8296. - # PIC is the default for these OSes.
  8297. - ;;
  8298. -
  8299. - mingw* | cygwin* | pw32* | os2*)
  8300. - # This hack is so that the source file can tell whether it is being
  8301. - # built for inclusion in a dll (and should export symbols for example).
  8302. - # Although the cygwin gcc ignores -fPIC, still need this for old-style
  8303. - # (--disable-auto-import) libraries
  8304. - m4_if([$1], [GCJ], [],
  8305. - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  8306. - ;;
  8307. -
  8308. - darwin* | rhapsody*)
  8309. - # PIC is the default on this platform
  8310. - # Common symbols not allowed in MH_DYLIB files
  8311. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  8312. - ;;
  8313. -
  8314. - interix[[3-9]]*)
  8315. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  8316. - # Instead, we relocate shared libraries at runtime.
  8317. - ;;
  8318. -
  8319. - msdosdjgpp*)
  8320. - # Just because we use GCC doesn't mean we suddenly get shared libraries
  8321. - # on systems that don't support them.
  8322. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  8323. - enable_shared=no
  8324. - ;;
  8325. -
  8326. - sysv4*MP*)
  8327. - if test -d /usr/nec; then
  8328. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  8329. - fi
  8330. - ;;
  8331. -
  8332. - hpux*)
  8333. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  8334. - # not for PA HP-UX.
  8335. - case $host_cpu in
  8336. - hppa*64*|ia64*)
  8337. - # +Z the default
  8338. - ;;
  8339. - *)
  8340. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  8341. - ;;
  8342. - esac
  8343. - ;;
  8344. + esac
  8345. + ;;
  8346. - *)
  8347. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  8348. - ;;
  8349. - esac
  8350. - else
  8351. - # PORTME Check for flag to pass linker flags through the system compiler.
  8352. - case $host_os in
  8353. - aix*)
  8354. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8355. - if test "$host_cpu" = ia64; then
  8356. - # AIX 5 now supports IA64 processor
  8357. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8358. - else
  8359. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  8360. - fi
  8361. - ;;
  8362. - darwin*)
  8363. - # PIC is the default on this platform
  8364. - # Common symbols not allowed in MH_DYLIB files
  8365. - case $cc_basename in
  8366. - xlc*)
  8367. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
  8368. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8369. - ;;
  8370. - esac
  8371. - ;;
  8372. + solaris*)
  8373. + case $cc_basename in
  8374. + CC*)
  8375. + # Sun C++ 4.2, 5.x and Centerline C++
  8376. + _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
  8377. + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  8378. + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  8379. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8380. + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  8381. +
  8382. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  8383. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  8384. + case $host_os in
  8385. + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  8386. + *)
  8387. + # The compiler driver will combine and reorder linker options,
  8388. + # but understands `-z linker_flag'.
  8389. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  8390. + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  8391. + ;;
  8392. + esac
  8393. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  8394. - mingw* | cygwin* | pw32* | os2*)
  8395. - # This hack is so that the source file can tell whether it is being
  8396. - # built for inclusion in a dll (and should export symbols for example).
  8397. - m4_if([$1], [GCJ], [],
  8398. - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  8399. - ;;
  8400. + output_verbose_link_cmd='echo'
  8401. - hpux9* | hpux10* | hpux11*)
  8402. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8403. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  8404. - # not for PA HP-UX.
  8405. - case $host_cpu in
  8406. - hppa*64*|ia64*)
  8407. - # +Z the default
  8408. - ;;
  8409. - *)
  8410. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  8411. - ;;
  8412. - esac
  8413. - # Is there a better lt_prog_compiler_static that works with the bundled CC?
  8414. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  8415. - ;;
  8416. + # Archives containing C++ object files must be created using
  8417. + # "CC -xar", where "CC" is the Sun C++ compiler. This is
  8418. + # necessary to make sure instantiated templates are included
  8419. + # in the archive.
  8420. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  8421. + ;;
  8422. + gcx*)
  8423. + # Green Hills C++ Compiler
  8424. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  8425. - irix5* | irix6* | nonstopux*)
  8426. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8427. - # PIC (with -KPIC) is the default.
  8428. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  8429. - ;;
  8430. + # The C++ compiler must be used to create the archive.
  8431. + _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  8432. + ;;
  8433. + *)
  8434. + # GNU C++ compiler with Solaris linker
  8435. + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  8436. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
  8437. + if $CC --version | $GREP -v '^2\.7' > /dev/null; then
  8438. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  8439. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8440. + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  8441. +
  8442. + # Commands to make compiler produce verbose output that lists
  8443. + # what "hidden" libraries, object files and flags are used when
  8444. + # linking a shared library.
  8445. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  8446. + else
  8447. + # g++ 2.7 appears to require `-G' NOT `-shared' on this
  8448. + # platform.
  8449. + _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  8450. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8451. + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  8452. +
  8453. + # Commands to make compiler produce verbose output that lists
  8454. + # what "hidden" libraries, object files and flags are used when
  8455. + # linking a shared library.
  8456. + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  8457. + fi
  8458. +
  8459. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
  8460. + case $host_os in
  8461. + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  8462. + *)
  8463. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  8464. + ;;
  8465. + esac
  8466. + fi
  8467. + ;;
  8468. + esac
  8469. + ;;
  8470. - newsos6)
  8471. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  8472. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8473. - ;;
  8474. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  8475. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  8476. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  8477. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  8478. + runpath_var='LD_RUN_PATH'
  8479. - linux* | k*bsd*-gnu)
  8480. case $cc_basename in
  8481. - icc* | ecc*)
  8482. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8483. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  8484. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  8485. - ;;
  8486. - pgcc* | pgf77* | pgf90* | pgf95*)
  8487. - # Portland Group compilers (*not* the Pentium gcc compiler,
  8488. - # which looks to be a dead project)
  8489. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8490. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  8491. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8492. - ;;
  8493. - ccc*)
  8494. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8495. - # All Alpha code is PIC.
  8496. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  8497. - ;;
  8498. - *)
  8499. - case `$CC -V 2>&1 | sed 5q` in
  8500. - *Sun\ C*)
  8501. - # Sun C 5.9
  8502. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  8503. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8504. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8505. + CC*)
  8506. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8507. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8508. ;;
  8509. - *Sun\ F*)
  8510. - # Sun Fortran 8.3 passes all unrecognized flags to the linker
  8511. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  8512. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8513. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
  8514. + *)
  8515. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8516. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8517. ;;
  8518. - esac
  8519. - ;;
  8520. esac
  8521. ;;
  8522. - osf3* | osf4* | osf5*)
  8523. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8524. - # All OSF/1 code is PIC.
  8525. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  8526. + sysv5* | sco3.2v5* | sco5v6*)
  8527. + # Note: We can NOT use -z defs as we might desire, because we do not
  8528. + # link with -lc, and that would cause any symbols used from libc to
  8529. + # always be unresolved, which means just about no library would
  8530. + # ever link correctly. If we're not using GNU ld we use -z text
  8531. + # though, which does catch some bad symbols but isn't as heavy-handed
  8532. + # as -z defs.
  8533. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  8534. + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  8535. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  8536. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  8537. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  8538. + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  8539. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  8540. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  8541. + runpath_var='LD_RUN_PATH'
  8542. +
  8543. + case $cc_basename in
  8544. + CC*)
  8545. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8546. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8547. + ;;
  8548. + *)
  8549. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8550. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8551. + ;;
  8552. + esac
  8553. ;;
  8554. - rdos*)
  8555. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  8556. - ;;
  8557. + tandem*)
  8558. + case $cc_basename in
  8559. + NCC*)
  8560. + # NonStop-UX NCC 3.20
  8561. + # FIXME: insert proper C++ library support
  8562. + _LT_TAGVAR(ld_shlibs, $1)=no
  8563. + ;;
  8564. + *)
  8565. + # FIXME: insert proper C++ library support
  8566. + _LT_TAGVAR(ld_shlibs, $1)=no
  8567. + ;;
  8568. + esac
  8569. + ;;
  8570. +
  8571. + vxworks*)
  8572. + # FIXME: insert proper C++ library support
  8573. + _LT_TAGVAR(ld_shlibs, $1)=no
  8574. + ;;
  8575. - solaris*)
  8576. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  8577. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8578. - case $cc_basename in
  8579. - f77* | f90* | f95*)
  8580. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
  8581. *)
  8582. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
  8583. - esac
  8584. - ;;
  8585. + # FIXME: insert proper C++ library support
  8586. + _LT_TAGVAR(ld_shlibs, $1)=no
  8587. + ;;
  8588. + esac
  8589. - sunos4*)
  8590. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  8591. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  8592. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8593. - ;;
  8594. + AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  8595. + test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  8596. - sysv4 | sysv4.2uw2* | sysv4.3*)
  8597. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8598. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  8599. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8600. - ;;
  8601. + _LT_TAGVAR(GCC, $1)="$GXX"
  8602. + _LT_TAGVAR(LD, $1)="$LD"
  8603. - sysv4*MP*)
  8604. - if test -d /usr/nec ;then
  8605. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
  8606. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8607. - fi
  8608. - ;;
  8609. + ## CAVEAT EMPTOR:
  8610. + ## There is no encapsulation within the following macros, do not change
  8611. + ## the running order or otherwise move them around unless you know exactly
  8612. + ## what you are doing...
  8613. + _LT_SYS_HIDDEN_LIBDEPS($1)
  8614. + _LT_COMPILER_PIC($1)
  8615. + _LT_COMPILER_C_O($1)
  8616. + _LT_COMPILER_FILE_LOCKS($1)
  8617. + _LT_LINKER_SHLIBS($1)
  8618. + _LT_SYS_DYNAMIC_LINKER($1)
  8619. + _LT_LINKER_HARDCODE_LIBPATH($1)
  8620. +
  8621. + _LT_CONFIG($1)
  8622. + fi # test -n "$compiler"
  8623. +
  8624. + CC=$lt_save_CC
  8625. + LDCXX=$LD
  8626. + LD=$lt_save_LD
  8627. + GCC=$lt_save_GCC
  8628. + with_gnu_ld=$lt_save_with_gnu_ld
  8629. + lt_cv_path_LDCXX=$lt_cv_path_LD
  8630. + lt_cv_path_LD=$lt_save_path_LD
  8631. + lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  8632. + lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  8633. +fi # test "$_lt_caught_CXX_error" != yes
  8634. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  8635. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8636. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  8637. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8638. - ;;
  8639. +AC_LANG_POP
  8640. +])# _LT_LANG_CXX_CONFIG
  8641. - unicos*)
  8642. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8643. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  8644. - ;;
  8645. - uts4*)
  8646. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  8647. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8648. - ;;
  8649. +# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
  8650. +# ---------------------------------
  8651. +# Figure out "hidden" library dependencies from verbose
  8652. +# compiler output when linking a shared library.
  8653. +# Parse the compiler output and extract the necessary
  8654. +# objects, libraries and library flags.
  8655. +m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
  8656. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  8657. +# Dependencies to place before and after the object being linked:
  8658. +_LT_TAGVAR(predep_objects, $1)=
  8659. +_LT_TAGVAR(postdep_objects, $1)=
  8660. +_LT_TAGVAR(predeps, $1)=
  8661. +_LT_TAGVAR(postdeps, $1)=
  8662. +_LT_TAGVAR(compiler_lib_search_path, $1)=
  8663. - *)
  8664. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  8665. - ;;
  8666. - esac
  8667. - fi
  8668. +dnl we can't use the lt_simple_compile_test_code here,
  8669. +dnl because it contains code intended for an executable,
  8670. +dnl not a library. It's possible we should let each
  8671. +dnl tag define a new lt_????_link_test_code variable,
  8672. +dnl but it's only used here...
  8673. +m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
  8674. +int a;
  8675. +void foo (void) { a = 0; }
  8676. +_LT_EOF
  8677. +], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
  8678. +class Foo
  8679. +{
  8680. +public:
  8681. + Foo (void) { a = 0; }
  8682. +private:
  8683. + int a;
  8684. +};
  8685. +_LT_EOF
  8686. +], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
  8687. + subroutine foo
  8688. + implicit none
  8689. + integer*4 a
  8690. + a=0
  8691. + return
  8692. + end
  8693. +_LT_EOF
  8694. +], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
  8695. + subroutine foo
  8696. + implicit none
  8697. + integer a
  8698. + a=0
  8699. + return
  8700. + end
  8701. +_LT_EOF
  8702. +], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
  8703. +public class foo {
  8704. + private int a;
  8705. + public void bar (void) {
  8706. + a = 0;
  8707. + }
  8708. +};
  8709. +_LT_EOF
  8710. ])
  8711. -AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
  8712. +dnl Parse the compiler output and extract the necessary
  8713. +dnl objects, libraries and library flags.
  8714. +if AC_TRY_EVAL(ac_compile); then
  8715. + # Parse the compiler output and extract the necessary
  8716. + # objects, libraries and library flags.
  8717. -#
  8718. -# Check to make sure the PIC flag actually works.
  8719. -#
  8720. -if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
  8721. - AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
  8722. - _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
  8723. - [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
  8724. - [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
  8725. - "" | " "*) ;;
  8726. - *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
  8727. - esac],
  8728. - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  8729. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
  8730. -fi
  8731. -case $host_os in
  8732. - # For platforms which do not support PIC, -DPIC is meaningless:
  8733. - *djgpp*)
  8734. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  8735. - ;;
  8736. - *)
  8737. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
  8738. - ;;
  8739. -esac
  8740. + # Sentinel used to keep track of whether or not we are before
  8741. + # the conftest object file.
  8742. + pre_test_object_deps_done=no
  8743. -#
  8744. -# Check to make sure the static flag actually works.
  8745. -#
  8746. -wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
  8747. -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
  8748. - _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
  8749. - $lt_tmp_static_flag,
  8750. - [],
  8751. - [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
  8752. -])
  8753. + for p in `eval "$output_verbose_link_cmd"`; do
  8754. + case $p in
  8755. + -L* | -R* | -l*)
  8756. + # Some compilers place space between "-{L,R}" and the path.
  8757. + # Remove the space.
  8758. + if test $p = "-L" ||
  8759. + test $p = "-R"; then
  8760. + prev=$p
  8761. + continue
  8762. + else
  8763. + prev=
  8764. + fi
  8765. -# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
  8766. -# ------------------------------------
  8767. -# See if the linker supports building shared libraries.
  8768. -AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
  8769. -[AC_REQUIRE([LT_AC_PROG_SED])dnl
  8770. -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  8771. -ifelse([$1],[CXX],[
  8772. - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  8773. - case $host_os in
  8774. - aix[[4-9]]*)
  8775. - # If we're using GNU nm, then we don't want the "-C" option.
  8776. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  8777. - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  8778. - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
  8779. - else
  8780. - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
  8781. - fi
  8782. - ;;
  8783. - pw32*)
  8784. - _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  8785. - ;;
  8786. - cygwin* | mingw*)
  8787. - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
  8788. - ;;
  8789. - *)
  8790. - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  8791. - ;;
  8792. - esac
  8793. - _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  8794. -],[
  8795. - runpath_var=
  8796. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=
  8797. - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  8798. - _LT_AC_TAGVAR(archive_cmds, $1)=
  8799. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
  8800. - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
  8801. - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
  8802. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  8803. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  8804. - _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
  8805. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  8806. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  8807. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  8808. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  8809. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
  8810. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  8811. - _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
  8812. - _LT_AC_TAGVAR(hardcode_automatic, $1)=no
  8813. - _LT_AC_TAGVAR(module_cmds, $1)=
  8814. - _LT_AC_TAGVAR(module_expsym_cmds, $1)=
  8815. - _LT_AC_TAGVAR(always_export_symbols, $1)=no
  8816. - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  8817. - # include_expsyms should be a list of space-separated symbols to be *always*
  8818. - # included in the symbol list
  8819. - _LT_AC_TAGVAR(include_expsyms, $1)=
  8820. - # exclude_expsyms can be an extended regexp of symbols to exclude
  8821. - # it will be wrapped by ` (' and `)$', so one must not match beginning or
  8822. - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  8823. - # as well as any symbol that contains `d'.
  8824. - _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  8825. - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  8826. - # platforms (ab)use it in PIC code, but their linkers get confused if
  8827. - # the symbol is explicitly referenced. Since portable code cannot
  8828. - # rely on this symbol name, it's probably fine to never include it in
  8829. - # preloaded symbol tables.
  8830. - # Exclude shared library initialization/finalization symbols.
  8831. -dnl Note also adjust exclude_expsyms for C++ above.
  8832. - extract_expsyms_cmds=
  8833. - # Just being paranoid about ensuring that cc_basename is set.
  8834. - _LT_CC_BASENAME([$compiler])
  8835. - case $host_os in
  8836. - cygwin* | mingw* | pw32*)
  8837. - # FIXME: the MSVC++ port hasn't been tested in a loooong time
  8838. - # When not using gcc, we currently assume that we are using
  8839. - # Microsoft Visual C++.
  8840. - if test "$GCC" != yes; then
  8841. - with_gnu_ld=no
  8842. - fi
  8843. - ;;
  8844. - interix*)
  8845. - # we just hope/assume this is gcc and not c89 (= MSVC++)
  8846. - with_gnu_ld=yes
  8847. - ;;
  8848. - openbsd*)
  8849. - with_gnu_ld=no
  8850. - ;;
  8851. - esac
  8852. + if test "$pre_test_object_deps_done" = no; then
  8853. + case $p in
  8854. + -L* | -R*)
  8855. + # Internal compiler library paths should come after those
  8856. + # provided the user. The postdeps already come after the
  8857. + # user supplied libs so there is no need to process them.
  8858. + if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
  8859. + _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
  8860. + else
  8861. + _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
  8862. + fi
  8863. + ;;
  8864. + # The "-l" case would never come before the object being
  8865. + # linked, so don't bother handling this case.
  8866. + esac
  8867. + else
  8868. + if test -z "$_LT_TAGVAR(postdeps, $1)"; then
  8869. + _LT_TAGVAR(postdeps, $1)="${prev}${p}"
  8870. + else
  8871. + _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
  8872. + fi
  8873. + fi
  8874. + ;;
  8875. - _LT_AC_TAGVAR(ld_shlibs, $1)=yes
  8876. - if test "$with_gnu_ld" = yes; then
  8877. - # If archive_cmds runs LD, not CC, wlarc should be empty
  8878. - wlarc='${wl}'
  8879. + *.$objext)
  8880. + # This assumes that the test object file only shows up
  8881. + # once in the compiler output.
  8882. + if test "$p" = "conftest.$objext"; then
  8883. + pre_test_object_deps_done=yes
  8884. + continue
  8885. + fi
  8886. +
  8887. + if test "$pre_test_object_deps_done" = no; then
  8888. + if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
  8889. + _LT_TAGVAR(predep_objects, $1)="$p"
  8890. + else
  8891. + _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
  8892. + fi
  8893. + else
  8894. + if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
  8895. + _LT_TAGVAR(postdep_objects, $1)="$p"
  8896. + else
  8897. + _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
  8898. + fi
  8899. + fi
  8900. + ;;
  8901. +
  8902. + *) ;; # Ignore the rest.
  8903. - # Set some defaults for GNU ld with shared library support. These
  8904. - # are reset later if shared libraries are not supported. Putting them
  8905. - # here allows them to be overridden if necessary.
  8906. - runpath_var=LD_RUN_PATH
  8907. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  8908. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  8909. - # ancient GNU ld didn't support --whole-archive et. al.
  8910. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
  8911. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  8912. - else
  8913. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  8914. - fi
  8915. - supports_anon_versioning=no
  8916. - case `$LD -v 2>/dev/null` in
  8917. - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
  8918. - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  8919. - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  8920. - *\ 2.11.*) ;; # other 2.11 versions
  8921. - *) supports_anon_versioning=yes ;;
  8922. esac
  8923. + done
  8924. - # See if GNU ld supports shared libraries.
  8925. - case $host_os in
  8926. - aix[[3-9]]*)
  8927. - # On AIX/PPC, the GNU linker is very broken
  8928. - if test "$host_cpu" != ia64; then
  8929. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  8930. - cat <<EOF 1>&2
  8931. + # Clean up.
  8932. + rm -f a.out a.exe
  8933. +else
  8934. + echo "libtool.m4: error: problem compiling $1 test program"
  8935. +fi
  8936. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  8937. -*** to be unable to reliably create shared libraries on AIX.
  8938. -*** Therefore, libtool is disabling shared libraries support. If you
  8939. -*** really care for shared libraries, you may want to modify your PATH
  8940. -*** so that a non-GNU linker is found, and then restart.
  8941. +$RM -f confest.$objext
  8942. -EOF
  8943. - fi
  8944. - ;;
  8945. +# PORTME: override above test on systems where it is broken
  8946. +m4_if([$1], [CXX],
  8947. +[case $host_os in
  8948. +interix[[3-9]]*)
  8949. + # Interix 3.5 installs completely hosed .la files for C++, so rather than
  8950. + # hack all around it, let's just trust "g++" to DTRT.
  8951. + _LT_TAGVAR(predep_objects,$1)=
  8952. + _LT_TAGVAR(postdep_objects,$1)=
  8953. + _LT_TAGVAR(postdeps,$1)=
  8954. + ;;
  8955. - amigaos*)
  8956. - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  8957. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  8958. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  8959. -
  8960. - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  8961. - # that the semantics of dynamic libraries on AmigaOS, at least up
  8962. - # to version 4, is to share data among multiple programs linked
  8963. - # with the same dynamic library. Since this doesn't match the
  8964. - # behavior of shared libraries on other platforms, we can't use
  8965. - # them.
  8966. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  8967. +linux*)
  8968. + case `$CC -V 2>&1 | sed 5q` in
  8969. + *Sun\ C*)
  8970. + # Sun C++ 5.9
  8971. +
  8972. + # The more standards-conforming stlport4 library is
  8973. + # incompatible with the Cstd library. Avoid specifying
  8974. + # it if it's in CXXFLAGS. Ignore libCrun as
  8975. + # -library=stlport4 depends on it.
  8976. + case " $CXX $CXXFLAGS " in
  8977. + *" -library=stlport4 "*)
  8978. + solaris_use_stlport4=yes
  8979. ;;
  8980. + esac
  8981. +
  8982. + if test "$solaris_use_stlport4" != yes; then
  8983. + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  8984. + fi
  8985. + ;;
  8986. + esac
  8987. + ;;
  8988. - beos*)
  8989. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  8990. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  8991. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  8992. - # support --undefined. This deserves some investigation. FIXME
  8993. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8994. - else
  8995. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  8996. - fi
  8997. +solaris*)
  8998. + case $cc_basename in
  8999. + CC*)
  9000. + # The more standards-conforming stlport4 library is
  9001. + # incompatible with the Cstd library. Avoid specifying
  9002. + # it if it's in CXXFLAGS. Ignore libCrun as
  9003. + # -library=stlport4 depends on it.
  9004. + case " $CXX $CXXFLAGS " in
  9005. + *" -library=stlport4 "*)
  9006. + solaris_use_stlport4=yes
  9007. ;;
  9008. + esac
  9009. - cygwin* | mingw* | pw32*)
  9010. - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  9011. - # as there is no search path for DLLs.
  9012. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9013. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  9014. - _LT_AC_TAGVAR(always_export_symbols, $1)=no
  9015. - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  9016. - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
  9017. + # Adding this requires a known-good setup of shared libraries for
  9018. + # Sun compiler versions before 5.6, else PIC objects from an old
  9019. + # archive will be linked into the output, leading to subtle bugs.
  9020. + if test "$solaris_use_stlport4" != yes; then
  9021. + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  9022. + fi
  9023. + ;;
  9024. + esac
  9025. + ;;
  9026. +esac
  9027. +])
  9028. - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  9029. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9030. - # If the export-symbols file already is a .def file (1st line
  9031. - # is EXPORTS), use it as is; otherwise, prepend...
  9032. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  9033. - cp $export_symbols $output_objdir/$soname.def;
  9034. - else
  9035. - echo EXPORTS > $output_objdir/$soname.def;
  9036. - cat $export_symbols >> $output_objdir/$soname.def;
  9037. - fi~
  9038. - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9039. - else
  9040. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9041. - fi
  9042. - ;;
  9043. +case " $_LT_TAGVAR(postdeps, $1) " in
  9044. +*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
  9045. +esac
  9046. + _LT_TAGVAR(compiler_lib_search_dirs, $1)=
  9047. +if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
  9048. + _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  9049. +fi
  9050. +_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
  9051. + [The directories searched by this compiler when creating a shared library])
  9052. +_LT_TAGDECL([], [predep_objects], [1],
  9053. + [Dependencies to place before and after the objects being linked to
  9054. + create a shared library])
  9055. +_LT_TAGDECL([], [postdep_objects], [1])
  9056. +_LT_TAGDECL([], [predeps], [1])
  9057. +_LT_TAGDECL([], [postdeps], [1])
  9058. +_LT_TAGDECL([], [compiler_lib_search_path], [1],
  9059. + [The library search path used internally by the compiler when linking
  9060. + a shared library])
  9061. +])# _LT_SYS_HIDDEN_LIBDEPS
  9062. - interix[[3-9]]*)
  9063. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  9064. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  9065. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  9066. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  9067. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  9068. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  9069. - # default) and relocated if they conflict, which is a slow very memory
  9070. - # consuming and fragmenting process. To avoid this, we pick a random,
  9071. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  9072. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  9073. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  9074. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  9075. - ;;
  9076. - gnu* | linux* | k*bsd*-gnu)
  9077. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  9078. - tmp_addflag=
  9079. - case $cc_basename,$host_cpu in
  9080. - pgcc*) # Portland Group C compiler
  9081. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  9082. - tmp_addflag=' $pic_flag'
  9083. - ;;
  9084. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  9085. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  9086. - tmp_addflag=' $pic_flag -Mnomain' ;;
  9087. - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  9088. - tmp_addflag=' -i_dynamic' ;;
  9089. - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  9090. - tmp_addflag=' -i_dynamic -nofor_main' ;;
  9091. - ifc* | ifort*) # Intel Fortran compiler
  9092. - tmp_addflag=' -nofor_main' ;;
  9093. - esac
  9094. - case `$CC -V 2>&1 | sed 5q` in
  9095. - *Sun\ C*) # Sun C 5.9
  9096. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  9097. - tmp_sharedflag='-G' ;;
  9098. - *Sun\ F*) # Sun Fortran 8.3
  9099. - tmp_sharedflag='-G' ;;
  9100. - *)
  9101. - tmp_sharedflag='-shared' ;;
  9102. - esac
  9103. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9104. +# _LT_PROG_F77
  9105. +# ------------
  9106. +# Since AC_PROG_F77 is broken, in that it returns the empty string
  9107. +# if there is no fortran compiler, we have our own version here.
  9108. +m4_defun([_LT_PROG_F77],
  9109. +[
  9110. +pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
  9111. +AC_PROG_F77
  9112. +if test -z "$F77" || test "X$F77" = "Xno"; then
  9113. + _lt_disable_F77=yes
  9114. +fi
  9115. +popdef([AC_MSG_ERROR])
  9116. +])# _LT_PROG_F77
  9117. - if test $supports_anon_versioning = yes; then
  9118. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
  9119. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9120. - $echo "local: *; };" >> $output_objdir/$libname.ver~
  9121. - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  9122. - fi
  9123. - else
  9124. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9125. - fi
  9126. - ;;
  9127. +dnl aclocal-1.4 backwards compatibility:
  9128. +dnl AC_DEFUN([_LT_PROG_F77], [])
  9129. - netbsd*)
  9130. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  9131. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  9132. - wlarc=
  9133. - else
  9134. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9135. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9136. - fi
  9137. - ;;
  9138. - solaris*)
  9139. - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  9140. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9141. - cat <<EOF 1>&2
  9142. +# _LT_LANG_F77_CONFIG([TAG])
  9143. +# --------------------------
  9144. +# Ensure that the configuration variables for a Fortran 77 compiler are
  9145. +# suitably defined. These variables are subsequently used by _LT_CONFIG
  9146. +# to write the compiler configuration to `libtool'.
  9147. +m4_defun([_LT_LANG_F77_CONFIG],
  9148. +[AC_REQUIRE([_LT_PROG_F77])dnl
  9149. +AC_LANG_PUSH(Fortran 77)
  9150. -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  9151. -*** create shared libraries on Solaris systems. Therefore, libtool
  9152. -*** is disabling shared libraries support. We urge you to upgrade GNU
  9153. -*** binutils to release 2.9.1 or newer. Another option is to modify
  9154. -*** your PATH or compiler configuration so that the native linker is
  9155. -*** used, and then restart.
  9156. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  9157. +_LT_TAGVAR(allow_undefined_flag, $1)=
  9158. +_LT_TAGVAR(always_export_symbols, $1)=no
  9159. +_LT_TAGVAR(archive_expsym_cmds, $1)=
  9160. +_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  9161. +_LT_TAGVAR(hardcode_direct, $1)=no
  9162. +_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  9163. +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  9164. +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  9165. +_LT_TAGVAR(hardcode_libdir_separator, $1)=
  9166. +_LT_TAGVAR(hardcode_minus_L, $1)=no
  9167. +_LT_TAGVAR(hardcode_automatic, $1)=no
  9168. +_LT_TAGVAR(inherit_rpath, $1)=no
  9169. +_LT_TAGVAR(module_cmds, $1)=
  9170. +_LT_TAGVAR(module_expsym_cmds, $1)=
  9171. +_LT_TAGVAR(link_all_deplibs, $1)=unknown
  9172. +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  9173. +_LT_TAGVAR(no_undefined_flag, $1)=
  9174. +_LT_TAGVAR(whole_archive_flag_spec, $1)=
  9175. +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  9176. -EOF
  9177. - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  9178. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9179. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9180. - else
  9181. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9182. - fi
  9183. - ;;
  9184. +# Source file extension for f77 test sources.
  9185. +ac_ext=f
  9186. - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  9187. - case `$LD -v 2>&1` in
  9188. - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
  9189. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9190. - cat <<_LT_EOF 1>&2
  9191. +# Object file extension for compiled f77 test sources.
  9192. +objext=o
  9193. +_LT_TAGVAR(objext, $1)=$objext
  9194. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  9195. -*** reliably create shared libraries on SCO systems. Therefore, libtool
  9196. -*** is disabling shared libraries support. We urge you to upgrade GNU
  9197. -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  9198. -*** your PATH or compiler configuration so that the native linker is
  9199. -*** used, and then restart.
  9200. +# No sense in running all these tests if we already determined that
  9201. +# the F77 compiler isn't working. Some variables (like enable_shared)
  9202. +# are currently assumed to apply to all compilers on this platform,
  9203. +# and will be corrupted by setting them based on a non-working compiler.
  9204. +if test "$_lt_disable_F77" != yes; then
  9205. + # Code to be used in simple compile tests
  9206. + lt_simple_compile_test_code="\
  9207. + subroutine t
  9208. + return
  9209. + end
  9210. +"
  9211. -_LT_EOF
  9212. - ;;
  9213. - *)
  9214. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  9215. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  9216. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
  9217. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
  9218. - else
  9219. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9220. - fi
  9221. - ;;
  9222. - esac
  9223. - ;;
  9224. + # Code to be used in simple link tests
  9225. + lt_simple_link_test_code="\
  9226. + program t
  9227. + end
  9228. +"
  9229. - sunos4*)
  9230. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9231. - wlarc=
  9232. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  9233. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  9234. - ;;
  9235. + # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  9236. + _LT_TAG_COMPILER
  9237. - *)
  9238. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  9239. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9240. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9241. - else
  9242. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9243. - fi
  9244. - ;;
  9245. - esac
  9246. + # save warnings/boilerplate of simple test code
  9247. + _LT_COMPILER_BOILERPLATE
  9248. + _LT_LINKER_BOILERPLATE
  9249. +
  9250. + # Allow CC to be a program name with arguments.
  9251. + lt_save_CC="$CC"
  9252. + lt_save_GCC=$GCC
  9253. + CC=${F77-"f77"}
  9254. + compiler=$CC
  9255. + _LT_TAGVAR(compiler, $1)=$CC
  9256. + _LT_CC_BASENAME([$compiler])
  9257. + GCC=$G77
  9258. + if test -n "$compiler"; then
  9259. + AC_MSG_CHECKING([if libtool supports shared libraries])
  9260. + AC_MSG_RESULT([$can_build_shared])
  9261. - if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
  9262. - runpath_var=
  9263. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  9264. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  9265. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  9266. - fi
  9267. - else
  9268. - # PORTME fill in a description of your system's linker (not GNU ld)
  9269. - case $host_os in
  9270. - aix3*)
  9271. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  9272. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
  9273. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  9274. - # Note: this linker hardcodes the directories in LIBPATH if there
  9275. - # are no directories specified by -L.
  9276. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  9277. - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  9278. - # Neither direct hardcoding nor static linking is supported with a
  9279. - # broken collect2.
  9280. - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
  9281. - fi
  9282. - ;;
  9283. + AC_MSG_CHECKING([whether to build shared libraries])
  9284. + test "$can_build_shared" = "no" && enable_shared=no
  9285. - aix[[4-9]]*)
  9286. - if test "$host_cpu" = ia64; then
  9287. - # On IA64, the linker does run time linking by default, so we don't
  9288. - # have to do anything special.
  9289. - aix_use_runtimelinking=no
  9290. - exp_sym_flag='-Bexport'
  9291. - no_entry_flag=""
  9292. - else
  9293. - # If we're using GNU nm, then we don't want the "-C" option.
  9294. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  9295. - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  9296. - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
  9297. - else
  9298. - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
  9299. + # On AIX, shared libraries and static libraries use the same namespace, and
  9300. + # are all built from PIC.
  9301. + case $host_os in
  9302. + aix3*)
  9303. + test "$enable_shared" = yes && enable_static=no
  9304. + if test -n "$RANLIB"; then
  9305. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  9306. + postinstall_cmds='$RANLIB $lib'
  9307. + fi
  9308. + ;;
  9309. + aix[[4-9]]*)
  9310. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  9311. + test "$enable_shared" = yes && enable_static=no
  9312. fi
  9313. - aix_use_runtimelinking=no
  9314. -
  9315. - # Test if we are trying to use run time linking or normal
  9316. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  9317. - # need to do runtime linking.
  9318. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  9319. - for ld_flag in $LDFLAGS; do
  9320. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  9321. - aix_use_runtimelinking=yes
  9322. - break
  9323. - fi
  9324. - done
  9325. - ;;
  9326. - esac
  9327. + ;;
  9328. + esac
  9329. + AC_MSG_RESULT([$enable_shared])
  9330. - exp_sym_flag='-bexport'
  9331. - no_entry_flag='-bnoentry'
  9332. - fi
  9333. + AC_MSG_CHECKING([whether to build static libraries])
  9334. + # Make sure either enable_shared or enable_static is yes.
  9335. + test "$enable_shared" = yes || enable_static=yes
  9336. + AC_MSG_RESULT([$enable_static])
  9337. +
  9338. + _LT_TAGVAR(GCC, $1)="$G77"
  9339. + _LT_TAGVAR(LD, $1)="$LD"
  9340. +
  9341. + ## CAVEAT EMPTOR:
  9342. + ## There is no encapsulation within the following macros, do not change
  9343. + ## the running order or otherwise move them around unless you know exactly
  9344. + ## what you are doing...
  9345. + _LT_COMPILER_PIC($1)
  9346. + _LT_COMPILER_C_O($1)
  9347. + _LT_COMPILER_FILE_LOCKS($1)
  9348. + _LT_LINKER_SHLIBS($1)
  9349. + _LT_SYS_DYNAMIC_LINKER($1)
  9350. + _LT_LINKER_HARDCODE_LIBPATH($1)
  9351. +
  9352. + _LT_CONFIG($1)
  9353. + fi # test -n "$compiler"
  9354. +
  9355. + GCC=$lt_save_GCC
  9356. + CC="$lt_save_CC"
  9357. +fi # test "$_lt_disable_F77" != yes
  9358. - # When large executables or shared objects are built, AIX ld can
  9359. - # have problems creating the table of contents. If linking a library
  9360. - # or program results in "error TOC overflow" add -mminimal-toc to
  9361. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  9362. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  9363. +AC_LANG_POP
  9364. +])# _LT_LANG_F77_CONFIG
  9365. - _LT_AC_TAGVAR(archive_cmds, $1)=''
  9366. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  9367. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
  9368. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  9369. - if test "$GCC" = yes; then
  9370. - case $host_os in aix4.[[012]]|aix4.[[012]].*)
  9371. - # We only want to do this on AIX 4.2 and lower, the check
  9372. - # below for broken collect2 doesn't work under 4.3+
  9373. - collect2name=`${CC} -print-prog-name=collect2`
  9374. - if test -f "$collect2name" && \
  9375. - strings "$collect2name" | grep resolve_lib_name >/dev/null
  9376. - then
  9377. - # We have reworked collect2
  9378. - :
  9379. - else
  9380. - # We have old collect2
  9381. - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
  9382. - # It fails to find uninstalled libraries when the uninstalled
  9383. - # path is not listed in the libpath. Setting hardcode_minus_L
  9384. - # to unsupported forces relinking
  9385. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  9386. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9387. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  9388. - fi
  9389. - ;;
  9390. - esac
  9391. - shared_flag='-shared'
  9392. - if test "$aix_use_runtimelinking" = yes; then
  9393. - shared_flag="$shared_flag "'${wl}-G'
  9394. - fi
  9395. - else
  9396. - # not using gcc
  9397. - if test "$host_cpu" = ia64; then
  9398. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  9399. - # chokes on -Wl,-G. The following line is correct:
  9400. - shared_flag='-G'
  9401. - else
  9402. - if test "$aix_use_runtimelinking" = yes; then
  9403. - shared_flag='${wl}-G'
  9404. - else
  9405. - shared_flag='${wl}-bM:SRE'
  9406. - fi
  9407. - fi
  9408. - fi
  9409. +# _LT_PROG_FC
  9410. +# -----------
  9411. +# Since AC_PROG_FC is broken, in that it returns the empty string
  9412. +# if there is no fortran compiler, we have our own version here.
  9413. +m4_defun([_LT_PROG_FC],
  9414. +[
  9415. +pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
  9416. +AC_PROG_FC
  9417. +if test -z "$FC" || test "X$FC" = "Xno"; then
  9418. + _lt_disable_FC=yes
  9419. +fi
  9420. +popdef([AC_MSG_ERROR])
  9421. +])# _LT_PROG_FC
  9422. - # It seems that -bexpall does not export symbols beginning with
  9423. - # underscore (_), so it is better to generate a list of symbols to export.
  9424. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
  9425. - if test "$aix_use_runtimelinking" = yes; then
  9426. - # Warning - without using the other runtime loading flags (-brtl),
  9427. - # -berok will link without error, but may produce a broken library.
  9428. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
  9429. - # Determine the default libpath from the value encoded in an empty executable.
  9430. - _LT_AC_SYS_LIBPATH_AIX
  9431. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  9432. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  9433. - else
  9434. - if test "$host_cpu" = ia64; then
  9435. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  9436. - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  9437. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  9438. - else
  9439. - # Determine the default libpath from the value encoded in an empty executable.
  9440. - _LT_AC_SYS_LIBPATH_AIX
  9441. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  9442. - # Warning - without using the other run time loading flags,
  9443. - # -berok will link without error, but may produce a broken library.
  9444. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  9445. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  9446. - # Exported symbols can be pulled into shared objects from archives
  9447. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  9448. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
  9449. - # This is similar to how AIX traditionally builds its shared libraries.
  9450. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  9451. - fi
  9452. - fi
  9453. - ;;
  9454. +dnl aclocal-1.4 backwards compatibility:
  9455. +dnl AC_DEFUN([_LT_PROG_FC], [])
  9456. - amigaos*)
  9457. - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  9458. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9459. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  9460. - # see comment about different semantics on the GNU ld section
  9461. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9462. - ;;
  9463. - bsdi[[45]]*)
  9464. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
  9465. - ;;
  9466. +# _LT_LANG_FC_CONFIG([TAG])
  9467. +# -------------------------
  9468. +# Ensure that the configuration variables for a Fortran compiler are
  9469. +# suitably defined. These variables are subsequently used by _LT_CONFIG
  9470. +# to write the compiler configuration to `libtool'.
  9471. +m4_defun([_LT_LANG_FC_CONFIG],
  9472. +[AC_REQUIRE([_LT_PROG_FC])dnl
  9473. +AC_LANG_PUSH(Fortran)
  9474. +
  9475. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  9476. +_LT_TAGVAR(allow_undefined_flag, $1)=
  9477. +_LT_TAGVAR(always_export_symbols, $1)=no
  9478. +_LT_TAGVAR(archive_expsym_cmds, $1)=
  9479. +_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  9480. +_LT_TAGVAR(hardcode_direct, $1)=no
  9481. +_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  9482. +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  9483. +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  9484. +_LT_TAGVAR(hardcode_libdir_separator, $1)=
  9485. +_LT_TAGVAR(hardcode_minus_L, $1)=no
  9486. +_LT_TAGVAR(hardcode_automatic, $1)=no
  9487. +_LT_TAGVAR(inherit_rpath, $1)=no
  9488. +_LT_TAGVAR(module_cmds, $1)=
  9489. +_LT_TAGVAR(module_expsym_cmds, $1)=
  9490. +_LT_TAGVAR(link_all_deplibs, $1)=unknown
  9491. +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  9492. +_LT_TAGVAR(no_undefined_flag, $1)=
  9493. +_LT_TAGVAR(whole_archive_flag_spec, $1)=
  9494. +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  9495. - cygwin* | mingw* | pw32*)
  9496. - # When not using gcc, we currently assume that we are using
  9497. - # Microsoft Visual C++.
  9498. - # hardcode_libdir_flag_spec is actually meaningless, as there is
  9499. - # no search path for DLLs.
  9500. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  9501. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  9502. - # Tell ltmain to make .lib files, not .a files.
  9503. - libext=lib
  9504. - # Tell ltmain to make .dll files, not .so files.
  9505. - shrext_cmds=".dll"
  9506. - # FIXME: Setting linknames here is a bad hack.
  9507. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
  9508. - # The linker will automatically build a .lib file if we build a DLL.
  9509. - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
  9510. - # FIXME: Should let the user specify the lib program.
  9511. - _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
  9512. - _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
  9513. - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  9514. - ;;
  9515. +# Source file extension for fc test sources.
  9516. +ac_ext=${ac_fc_srcext-f}
  9517. - darwin* | rhapsody*)
  9518. - case $host_os in
  9519. - rhapsody* | darwin1.[[012]])
  9520. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
  9521. - ;;
  9522. - *) # Darwin 1.3 on
  9523. - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  9524. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  9525. - else
  9526. - case ${MACOSX_DEPLOYMENT_TARGET} in
  9527. - 10.[[012]])
  9528. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  9529. - ;;
  9530. - 10.*)
  9531. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
  9532. - ;;
  9533. - esac
  9534. - fi
  9535. - ;;
  9536. - esac
  9537. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  9538. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  9539. - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
  9540. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  9541. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
  9542. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  9543. - if test "$GCC" = yes ; then
  9544. - output_verbose_link_cmd='echo'
  9545. - _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  9546. - _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  9547. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  9548. - _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  9549. - else
  9550. - case $cc_basename in
  9551. - xlc*)
  9552. - output_verbose_link_cmd='echo'
  9553. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
  9554. - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  9555. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  9556. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  9557. - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  9558. - ;;
  9559. - *)
  9560. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9561. - ;;
  9562. - esac
  9563. - fi
  9564. - ;;
  9565. +# Object file extension for compiled fc test sources.
  9566. +objext=o
  9567. +_LT_TAGVAR(objext, $1)=$objext
  9568. - dgux*)
  9569. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9570. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9571. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  9572. - ;;
  9573. +# No sense in running all these tests if we already determined that
  9574. +# the FC compiler isn't working. Some variables (like enable_shared)
  9575. +# are currently assumed to apply to all compilers on this platform,
  9576. +# and will be corrupted by setting them based on a non-working compiler.
  9577. +if test "$_lt_disable_FC" != yes; then
  9578. + # Code to be used in simple compile tests
  9579. + lt_simple_compile_test_code="\
  9580. + subroutine t
  9581. + return
  9582. + end
  9583. +"
  9584. - freebsd1*)
  9585. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9586. - ;;
  9587. + # Code to be used in simple link tests
  9588. + lt_simple_link_test_code="\
  9589. + program t
  9590. + end
  9591. +"
  9592. - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  9593. - # support. Future versions do this automatically, but an explicit c++rt0.o
  9594. - # does not break anything, and helps significantly (at the cost of a little
  9595. - # extra space).
  9596. - freebsd2.2*)
  9597. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  9598. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  9599. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  9600. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  9601. - ;;
  9602. + # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  9603. + _LT_TAG_COMPILER
  9604. - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  9605. - freebsd2*)
  9606. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9607. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  9608. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  9609. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  9610. - ;;
  9611. + # save warnings/boilerplate of simple test code
  9612. + _LT_COMPILER_BOILERPLATE
  9613. + _LT_LINKER_BOILERPLATE
  9614. +
  9615. + # Allow CC to be a program name with arguments.
  9616. + lt_save_CC="$CC"
  9617. + lt_save_GCC=$GCC
  9618. + CC=${FC-"f95"}
  9619. + compiler=$CC
  9620. + GCC=$ac_cv_fc_compiler_gnu
  9621. - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  9622. - freebsd* | dragonfly*)
  9623. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  9624. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  9625. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  9626. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  9627. - ;;
  9628. + _LT_TAGVAR(compiler, $1)=$CC
  9629. + _LT_CC_BASENAME([$compiler])
  9630. - hpux9*)
  9631. - if test "$GCC" = yes; then
  9632. - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  9633. - else
  9634. - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  9635. - fi
  9636. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  9637. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  9638. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  9639. + if test -n "$compiler"; then
  9640. + AC_MSG_CHECKING([if libtool supports shared libraries])
  9641. + AC_MSG_RESULT([$can_build_shared])
  9642. - # hardcode_minus_L: Not really in the search PATH,
  9643. - # but as the default location of the library.
  9644. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  9645. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  9646. - ;;
  9647. + AC_MSG_CHECKING([whether to build shared libraries])
  9648. + test "$can_build_shared" = "no" && enable_shared=no
  9649. - hpux10*)
  9650. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  9651. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9652. - else
  9653. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9654. - fi
  9655. - if test "$with_gnu_ld" = no; then
  9656. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  9657. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  9658. + # On AIX, shared libraries and static libraries use the same namespace, and
  9659. + # are all built from PIC.
  9660. + case $host_os in
  9661. + aix3*)
  9662. + test "$enable_shared" = yes && enable_static=no
  9663. + if test -n "$RANLIB"; then
  9664. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  9665. + postinstall_cmds='$RANLIB $lib'
  9666. + fi
  9667. + ;;
  9668. + aix[[4-9]]*)
  9669. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  9670. + test "$enable_shared" = yes && enable_static=no
  9671. + fi
  9672. + ;;
  9673. + esac
  9674. + AC_MSG_RESULT([$enable_shared])
  9675. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  9676. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  9677. + AC_MSG_CHECKING([whether to build static libraries])
  9678. + # Make sure either enable_shared or enable_static is yes.
  9679. + test "$enable_shared" = yes || enable_static=yes
  9680. + AC_MSG_RESULT([$enable_static])
  9681. +
  9682. + _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
  9683. + _LT_TAGVAR(LD, $1)="$LD"
  9684. +
  9685. + ## CAVEAT EMPTOR:
  9686. + ## There is no encapsulation within the following macros, do not change
  9687. + ## the running order or otherwise move them around unless you know exactly
  9688. + ## what you are doing...
  9689. + _LT_SYS_HIDDEN_LIBDEPS($1)
  9690. + _LT_COMPILER_PIC($1)
  9691. + _LT_COMPILER_C_O($1)
  9692. + _LT_COMPILER_FILE_LOCKS($1)
  9693. + _LT_LINKER_SHLIBS($1)
  9694. + _LT_SYS_DYNAMIC_LINKER($1)
  9695. + _LT_LINKER_HARDCODE_LIBPATH($1)
  9696. +
  9697. + _LT_CONFIG($1)
  9698. + fi # test -n "$compiler"
  9699. +
  9700. + GCC=$lt_save_GCC
  9701. + CC="$lt_save_CC"
  9702. +fi # test "$_lt_disable_FC" != yes
  9703. - # hardcode_minus_L: Not really in the search PATH,
  9704. - # but as the default location of the library.
  9705. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  9706. - fi
  9707. - ;;
  9708. +AC_LANG_POP
  9709. +])# _LT_LANG_FC_CONFIG
  9710. - hpux11*)
  9711. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  9712. - case $host_cpu in
  9713. - hppa*64*)
  9714. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9715. - ;;
  9716. - ia64*)
  9717. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9718. - ;;
  9719. - *)
  9720. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9721. - ;;
  9722. - esac
  9723. - else
  9724. - case $host_cpu in
  9725. - hppa*64*)
  9726. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9727. - ;;
  9728. - ia64*)
  9729. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9730. - ;;
  9731. - *)
  9732. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9733. - ;;
  9734. - esac
  9735. - fi
  9736. - if test "$with_gnu_ld" = no; then
  9737. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  9738. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  9739. - case $host_cpu in
  9740. - hppa*64*|ia64*)
  9741. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  9742. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  9743. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  9744. - ;;
  9745. - *)
  9746. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  9747. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  9748. +# _LT_LANG_GCJ_CONFIG([TAG])
  9749. +# --------------------------
  9750. +# Ensure that the configuration variables for the GNU Java Compiler compiler
  9751. +# are suitably defined. These variables are subsequently used by _LT_CONFIG
  9752. +# to write the compiler configuration to `libtool'.
  9753. +m4_defun([_LT_LANG_GCJ_CONFIG],
  9754. +[AC_REQUIRE([LT_PROG_GCJ])dnl
  9755. +AC_LANG_SAVE
  9756. - # hardcode_minus_L: Not really in the search PATH,
  9757. - # but as the default location of the library.
  9758. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  9759. - ;;
  9760. - esac
  9761. - fi
  9762. - ;;
  9763. +# Source file extension for Java test sources.
  9764. +ac_ext=java
  9765. - irix5* | irix6* | nonstopux*)
  9766. - if test "$GCC" = yes; then
  9767. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9768. - else
  9769. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  9770. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
  9771. - fi
  9772. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  9773. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  9774. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  9775. - ;;
  9776. +# Object file extension for compiled Java test sources.
  9777. +objext=o
  9778. +_LT_TAGVAR(objext, $1)=$objext
  9779. - netbsd*)
  9780. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  9781. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  9782. - else
  9783. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  9784. - fi
  9785. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  9786. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  9787. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  9788. - ;;
  9789. +# Code to be used in simple compile tests
  9790. +lt_simple_compile_test_code="class foo {}"
  9791. - newsos6)
  9792. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9793. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  9794. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  9795. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  9796. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  9797. - ;;
  9798. +# Code to be used in simple link tests
  9799. +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
  9800. - openbsd*)
  9801. - if test -f /usr/libexec/ld.so; then
  9802. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  9803. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  9804. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9805. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9806. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  9807. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  9808. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  9809. - else
  9810. - case $host_os in
  9811. - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  9812. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9813. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  9814. - ;;
  9815. - *)
  9816. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9817. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  9818. - ;;
  9819. - esac
  9820. - fi
  9821. - else
  9822. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9823. - fi
  9824. - ;;
  9825. +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  9826. +_LT_TAG_COMPILER
  9827. - os2*)
  9828. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9829. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  9830. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  9831. - _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  9832. - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  9833. - ;;
  9834. +# save warnings/boilerplate of simple test code
  9835. +_LT_COMPILER_BOILERPLATE
  9836. +_LT_LINKER_BOILERPLATE
  9837. - osf3*)
  9838. - if test "$GCC" = yes; then
  9839. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  9840. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9841. - else
  9842. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  9843. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  9844. - fi
  9845. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  9846. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  9847. - ;;
  9848. +# Allow CC to be a program name with arguments.
  9849. +lt_save_CC="$CC"
  9850. +lt_save_GCC=$GCC
  9851. +GCC=yes
  9852. +CC=${GCJ-"gcj"}
  9853. +compiler=$CC
  9854. +_LT_TAGVAR(compiler, $1)=$CC
  9855. +_LT_TAGVAR(LD, $1)="$LD"
  9856. +_LT_CC_BASENAME([$compiler])
  9857. - osf4* | osf5*) # as osf3* with the addition of -msym flag
  9858. - if test "$GCC" = yes; then
  9859. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  9860. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9861. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  9862. - else
  9863. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  9864. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  9865. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
  9866. - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
  9867. +# GCJ did not exist at the time GCC didn't implicitly link libc in.
  9868. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  9869. - # Both c and cxx compiler support -rpath directly
  9870. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  9871. - fi
  9872. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  9873. - ;;
  9874. +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  9875. - solaris*)
  9876. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
  9877. - if test "$GCC" = yes; then
  9878. - wlarc='${wl}'
  9879. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9880. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  9881. - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
  9882. - else
  9883. - wlarc=''
  9884. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9885. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  9886. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  9887. - fi
  9888. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  9889. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  9890. - case $host_os in
  9891. - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  9892. - *)
  9893. - # The compiler driver will combine and reorder linker options,
  9894. - # but understands `-z linker_flag'. GCC discards it without `$wl',
  9895. - # but is careful enough not to reorder.
  9896. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  9897. - if test "$GCC" = yes; then
  9898. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  9899. - else
  9900. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  9901. - fi
  9902. - ;;
  9903. - esac
  9904. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  9905. - ;;
  9906. +if test -n "$compiler"; then
  9907. + _LT_COMPILER_NO_RTTI($1)
  9908. + _LT_COMPILER_PIC($1)
  9909. + _LT_COMPILER_C_O($1)
  9910. + _LT_COMPILER_FILE_LOCKS($1)
  9911. + _LT_LINKER_SHLIBS($1)
  9912. + _LT_LINKER_HARDCODE_LIBPATH($1)
  9913. - sunos4*)
  9914. - if test "x$host_vendor" = xsequent; then
  9915. - # Use $CC to link under sequent, because it throws in some extra .o
  9916. - # files that make .init and .fini sections work.
  9917. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9918. - else
  9919. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  9920. - fi
  9921. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9922. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  9923. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  9924. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  9925. - ;;
  9926. + _LT_CONFIG($1)
  9927. +fi
  9928. - sysv4)
  9929. - case $host_vendor in
  9930. - sni)
  9931. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9932. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
  9933. - ;;
  9934. - siemens)
  9935. - ## LD is ld it makes a PLAMLIB
  9936. - ## CC just makes a GrossModule.
  9937. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  9938. - _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
  9939. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  9940. - ;;
  9941. - motorola)
  9942. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9943. - _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
  9944. - ;;
  9945. - esac
  9946. - runpath_var='LD_RUN_PATH'
  9947. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  9948. - ;;
  9949. +AC_LANG_RESTORE
  9950. - sysv4.3*)
  9951. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9952. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  9953. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
  9954. - ;;
  9955. +GCC=$lt_save_GCC
  9956. +CC="$lt_save_CC"
  9957. +])# _LT_LANG_GCJ_CONFIG
  9958. - sysv4*MP*)
  9959. - if test -d /usr/nec; then
  9960. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9961. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  9962. - runpath_var=LD_RUN_PATH
  9963. - hardcode_runpath_var=yes
  9964. - _LT_AC_TAGVAR(ld_shlibs, $1)=yes
  9965. - fi
  9966. - ;;
  9967. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  9968. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  9969. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  9970. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  9971. - runpath_var='LD_RUN_PATH'
  9972. +# _LT_LANG_RC_CONFIG([TAG])
  9973. +# -------------------------
  9974. +# Ensure that the configuration variables for the Windows resource compiler
  9975. +# are suitably defined. These variables are subsequently used by _LT_CONFIG
  9976. +# to write the compiler configuration to `libtool'.
  9977. +m4_defun([_LT_LANG_RC_CONFIG],
  9978. +[AC_REQUIRE([LT_PROG_RC])dnl
  9979. +AC_LANG_SAVE
  9980. - if test "$GCC" = yes; then
  9981. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9982. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9983. - else
  9984. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9985. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9986. - fi
  9987. - ;;
  9988. +# Source file extension for RC test sources.
  9989. +ac_ext=rc
  9990. - sysv5* | sco3.2v5* | sco5v6*)
  9991. - # Note: We can NOT use -z defs as we might desire, because we do not
  9992. - # link with -lc, and that would cause any symbols used from libc to
  9993. - # always be unresolved, which means just about no library would
  9994. - # ever link correctly. If we're not using GNU ld we use -z text
  9995. - # though, which does catch some bad symbols but isn't as heavy-handed
  9996. - # as -z defs.
  9997. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  9998. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  9999. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  10000. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  10001. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  10002. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
  10003. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  10004. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  10005. - runpath_var='LD_RUN_PATH'
  10006. +# Object file extension for compiled RC test sources.
  10007. +objext=o
  10008. +_LT_TAGVAR(objext, $1)=$objext
  10009. - if test "$GCC" = yes; then
  10010. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  10011. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  10012. - else
  10013. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  10014. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  10015. - fi
  10016. - ;;
  10017. +# Code to be used in simple compile tests
  10018. +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
  10019. - uts4*)
  10020. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10021. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  10022. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  10023. - ;;
  10024. +# Code to be used in simple link tests
  10025. +lt_simple_link_test_code="$lt_simple_compile_test_code"
  10026. - *)
  10027. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  10028. - ;;
  10029. - esac
  10030. - fi
  10031. -])
  10032. -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
  10033. -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  10034. +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  10035. +_LT_TAG_COMPILER
  10036. -#
  10037. -# Do we need to explicitly link libc?
  10038. -#
  10039. -case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
  10040. -x|xyes)
  10041. - # Assume -lc should be added
  10042. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
  10043. +# save warnings/boilerplate of simple test code
  10044. +_LT_COMPILER_BOILERPLATE
  10045. +_LT_LINKER_BOILERPLATE
  10046. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  10047. - case $_LT_AC_TAGVAR(archive_cmds, $1) in
  10048. - *'~'*)
  10049. - # FIXME: we may have to deal with multi-command sequences.
  10050. - ;;
  10051. - '$CC '*)
  10052. - # Test whether the compiler implicitly links with -lc since on some
  10053. - # systems, -lgcc has to come before -lc. If gcc already passes -lc
  10054. - # to ld, don't add -lc before -lgcc.
  10055. - AC_MSG_CHECKING([whether -lc should be explicitly linked in])
  10056. - $rm conftest*
  10057. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  10058. +# Allow CC to be a program name with arguments.
  10059. +lt_save_CC="$CC"
  10060. +lt_save_GCC=$GCC
  10061. +GCC=
  10062. +CC=${RC-"windres"}
  10063. +compiler=$CC
  10064. +_LT_TAGVAR(compiler, $1)=$CC
  10065. +_LT_CC_BASENAME([$compiler])
  10066. +_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  10067. - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  10068. - soname=conftest
  10069. - lib=conftest
  10070. - libobjs=conftest.$ac_objext
  10071. - deplibs=
  10072. - wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
  10073. - pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
  10074. - compiler_flags=-v
  10075. - linker_flags=-v
  10076. - verstring=
  10077. - output_objdir=.
  10078. - libname=conftest
  10079. - lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
  10080. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=
  10081. - if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
  10082. - then
  10083. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  10084. - else
  10085. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
  10086. - fi
  10087. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  10088. - else
  10089. - cat conftest.err 1>&5
  10090. - fi
  10091. - $rm conftest*
  10092. - AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
  10093. - ;;
  10094. - esac
  10095. - fi
  10096. - ;;
  10097. -esac
  10098. -])# AC_LIBTOOL_PROG_LD_SHLIBS
  10099. +if test -n "$compiler"; then
  10100. + :
  10101. + _LT_CONFIG($1)
  10102. +fi
  10103. +GCC=$lt_save_GCC
  10104. +AC_LANG_RESTORE
  10105. +CC="$lt_save_CC"
  10106. +])# _LT_LANG_RC_CONFIG
  10107. -# _LT_AC_FILE_LTDLL_C
  10108. -# -------------------
  10109. -# Be careful that the start marker always follows a newline.
  10110. -AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
  10111. -# /* ltdll.c starts here */
  10112. -# #define WIN32_LEAN_AND_MEAN
  10113. -# #include <windows.h>
  10114. -# #undef WIN32_LEAN_AND_MEAN
  10115. -# #include <stdio.h>
  10116. -#
  10117. -# #ifndef __CYGWIN__
  10118. -# # ifdef __CYGWIN32__
  10119. -# # define __CYGWIN__ __CYGWIN32__
  10120. -# # endif
  10121. -# #endif
  10122. -#
  10123. -# #ifdef __cplusplus
  10124. -# extern "C" {
  10125. -# #endif
  10126. -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
  10127. -# #ifdef __cplusplus
  10128. -# }
  10129. -# #endif
  10130. -#
  10131. -# #ifdef __CYGWIN__
  10132. -# #include <cygwin/cygwin_dll.h>
  10133. -# DECLARE_CYGWIN_DLL( DllMain );
  10134. -# #endif
  10135. -# HINSTANCE __hDllInstance_base;
  10136. -#
  10137. -# BOOL APIENTRY
  10138. -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
  10139. -# {
  10140. -# __hDllInstance_base = hInst;
  10141. -# return TRUE;
  10142. -# }
  10143. -# /* ltdll.c ends here */
  10144. -])# _LT_AC_FILE_LTDLL_C
  10145. +# LT_PROG_GCJ
  10146. +# -----------
  10147. +AC_DEFUN([LT_PROG_GCJ],
  10148. +[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
  10149. + [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
  10150. + [AC_CHECK_TOOL(GCJ, gcj,)
  10151. + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
  10152. + AC_SUBST(GCJFLAGS)])])[]dnl
  10153. +])
  10154. -# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
  10155. -# ---------------------------------
  10156. -AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
  10157. +# Old name:
  10158. +AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
  10159. +dnl aclocal-1.4 backwards compatibility:
  10160. +dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
  10161. -# old names
  10162. -AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
  10163. -AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  10164. -AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  10165. -AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  10166. -AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  10167. -AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
  10168. -AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
  10169. +# LT_PROG_RC
  10170. +# ----------
  10171. +AC_DEFUN([LT_PROG_RC],
  10172. +[AC_CHECK_TOOL(RC, windres,)
  10173. +])
  10174. -# This is just to silence aclocal about the macro not being used
  10175. -ifelse([AC_DISABLE_FAST_INSTALL])
  10176. +# Old name:
  10177. +AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
  10178. +dnl aclocal-1.4 backwards compatibility:
  10179. +dnl AC_DEFUN([LT_AC_PROG_RC], [])
  10180. -AC_DEFUN([LT_AC_PROG_GCJ],
  10181. -[AC_CHECK_TOOL(GCJ, gcj, no)
  10182. - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
  10183. - AC_SUBST(GCJFLAGS)
  10184. -])
  10185. -AC_DEFUN([LT_AC_PROG_RC],
  10186. -[AC_CHECK_TOOL(RC, windres, no)
  10187. +# _LT_DECL_EGREP
  10188. +# --------------
  10189. +# If we don't have a new enough Autoconf to choose the best grep
  10190. +# available, choose the one first in the user's PATH.
  10191. +m4_defun([_LT_DECL_EGREP],
  10192. +[AC_REQUIRE([AC_PROG_EGREP])dnl
  10193. +AC_REQUIRE([AC_PROG_FGREP])dnl
  10194. +test -z "$GREP" && GREP=grep
  10195. +_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
  10196. +_LT_DECL([], [EGREP], [1], [An ERE matcher])
  10197. +_LT_DECL([], [FGREP], [1], [A literal string matcher])
  10198. +dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
  10199. +AC_SUBST([GREP])
  10200. ])
  10201. -# Cheap backport of AS_EXECUTABLE_P and required macros
  10202. -# from Autoconf 2.59; we should not use $as_executable_p directly.
  10203. +# _LT_DECL_OBJDUMP
  10204. +# --------------
  10205. +# If we don't have a new enough Autoconf to choose the best objdump
  10206. +# available, choose the one first in the user's PATH.
  10207. +m4_defun([_LT_DECL_OBJDUMP],
  10208. +[AC_CHECK_TOOL(OBJDUMP, objdump, false)
  10209. +test -z "$OBJDUMP" && OBJDUMP=objdump
  10210. +_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
  10211. +AC_SUBST([OBJDUMP])
  10212. +])
  10213. -# _AS_TEST_PREPARE
  10214. -# ----------------
  10215. -m4_ifndef([_AS_TEST_PREPARE],
  10216. -[m4_defun([_AS_TEST_PREPARE],
  10217. -[if test -x / >/dev/null 2>&1; then
  10218. - as_executable_p='test -x'
  10219. -else
  10220. - as_executable_p='test -f'
  10221. -fi
  10222. -])])# _AS_TEST_PREPARE
  10223. -# AS_EXECUTABLE_P
  10224. -# ---------------
  10225. -# Check whether a file is executable.
  10226. -m4_ifndef([AS_EXECUTABLE_P],
  10227. -[m4_defun([AS_EXECUTABLE_P],
  10228. -[AS_REQUIRE([_AS_TEST_PREPARE])dnl
  10229. -$as_executable_p $1[]dnl
  10230. -])])# AS_EXECUTABLE_P
  10231. +# _LT_DECL_SED
  10232. +# ------------
  10233. +# Check for a fully-functional sed program, that truncates
  10234. +# as few characters as possible. Prefer GNU sed if found.
  10235. +m4_defun([_LT_DECL_SED],
  10236. +[AC_PROG_SED
  10237. +test -z "$SED" && SED=sed
  10238. +Xsed="$SED -e 1s/^X//"
  10239. +_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
  10240. +_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
  10241. + [Sed that helps us avoid accidentally triggering echo(1) options like -n])
  10242. +])# _LT_DECL_SED
  10243. +m4_ifndef([AC_PROG_SED], [
  10244. # NOTE: This macro has been submitted for inclusion into #
  10245. # GNU Autoconf as AC_PROG_SED. When it is available in #
  10246. # a released version of Autoconf we should remove this #
  10247. # macro and use it instead. #
  10248. -# LT_AC_PROG_SED
  10249. -# --------------
  10250. -# Check for a fully-functional sed program, that truncates
  10251. -# as few characters as possible. Prefer GNU sed if found.
  10252. -AC_DEFUN([LT_AC_PROG_SED],
  10253. +
  10254. +m4_defun([AC_PROG_SED],
  10255. [AC_MSG_CHECKING([for a sed that does not truncate output])
  10256. AC_CACHE_VAL(lt_cv_path_SED,
  10257. [# Loop through the user's path and test for sed and gsed.
  10258. @@ -6612,7 +7076,7 @@
  10259. test -z "$as_dir" && as_dir=.
  10260. for lt_ac_prog in sed gsed; do
  10261. for ac_exec_ext in '' $ac_executable_extensions; do
  10262. - if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
  10263. + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
  10264. lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  10265. fi
  10266. done
  10267. @@ -6653,168 +7117,770 @@
  10268. SED=$lt_cv_path_SED
  10269. AC_SUBST([SED])
  10270. AC_MSG_RESULT([$SED])
  10271. +])#AC_PROG_SED
  10272. +])#m4_ifndef
  10273. +
  10274. +# Old name:
  10275. +AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
  10276. +dnl aclocal-1.4 backwards compatibility:
  10277. +dnl AC_DEFUN([LT_AC_PROG_SED], [])
  10278. +
  10279. +
  10280. +# _LT_CHECK_SHELL_FEATURES
  10281. +# ------------------------
  10282. +# Find out whether the shell is Bourne or XSI compatible,
  10283. +# or has some other useful features.
  10284. +m4_defun([_LT_CHECK_SHELL_FEATURES],
  10285. +[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
  10286. +# Try some XSI features
  10287. +xsi_shell=no
  10288. +( _lt_dummy="a/b/c"
  10289. + test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  10290. + = c,a/b,, \
  10291. + && eval 'test $(( 1 + 1 )) -eq 2 \
  10292. + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  10293. + && xsi_shell=yes
  10294. +AC_MSG_RESULT([$xsi_shell])
  10295. +_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
  10296. +
  10297. +AC_MSG_CHECKING([whether the shell understands "+="])
  10298. +lt_shell_append=no
  10299. +( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
  10300. + >/dev/null 2>&1 \
  10301. + && lt_shell_append=yes
  10302. +AC_MSG_RESULT([$lt_shell_append])
  10303. +_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
  10304. +
  10305. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  10306. + lt_unset=unset
  10307. +else
  10308. + lt_unset=false
  10309. +fi
  10310. +_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
  10311. +
  10312. +# test EBCDIC or ASCII
  10313. +case `echo X|tr X '\101'` in
  10314. + A) # ASCII based system
  10315. + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  10316. + lt_SP2NL='tr \040 \012'
  10317. + lt_NL2SP='tr \015\012 \040\040'
  10318. + ;;
  10319. + *) # EBCDIC based system
  10320. + lt_SP2NL='tr \100 \n'
  10321. + lt_NL2SP='tr \r\n \100\100'
  10322. + ;;
  10323. +esac
  10324. +_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
  10325. +_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
  10326. +])# _LT_CHECK_SHELL_FEATURES
  10327. +
  10328. +
  10329. +# _LT_PROG_XSI_SHELLFNS
  10330. +# ---------------------
  10331. +# Bourne and XSI compatible variants of some useful shell functions.
  10332. +m4_defun([_LT_PROG_XSI_SHELLFNS],
  10333. +[case $xsi_shell in
  10334. + yes)
  10335. + cat << \_LT_EOF >> "$cfgfile"
  10336. +
  10337. +# func_dirname file append nondir_replacement
  10338. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  10339. +# otherwise set result to NONDIR_REPLACEMENT.
  10340. +func_dirname ()
  10341. +{
  10342. + case ${1} in
  10343. + */*) func_dirname_result="${1%/*}${2}" ;;
  10344. + * ) func_dirname_result="${3}" ;;
  10345. + esac
  10346. +}
  10347. +
  10348. +# func_basename file
  10349. +func_basename ()
  10350. +{
  10351. + func_basename_result="${1##*/}"
  10352. +}
  10353. +
  10354. +# func_dirname_and_basename file append nondir_replacement
  10355. +# perform func_basename and func_dirname in a single function
  10356. +# call:
  10357. +# dirname: Compute the dirname of FILE. If nonempty,
  10358. +# add APPEND to the result, otherwise set result
  10359. +# to NONDIR_REPLACEMENT.
  10360. +# value returned in "$func_dirname_result"
  10361. +# basename: Compute filename of FILE.
  10362. +# value retuned in "$func_basename_result"
  10363. +# Implementation must be kept synchronized with func_dirname
  10364. +# and func_basename. For efficiency, we do not delegate to
  10365. +# those functions but instead duplicate the functionality here.
  10366. +func_dirname_and_basename ()
  10367. +{
  10368. + case ${1} in
  10369. + */*) func_dirname_result="${1%/*}${2}" ;;
  10370. + * ) func_dirname_result="${3}" ;;
  10371. + esac
  10372. + func_basename_result="${1##*/}"
  10373. +}
  10374. +
  10375. +# func_stripname prefix suffix name
  10376. +# strip PREFIX and SUFFIX off of NAME.
  10377. +# PREFIX and SUFFIX must not contain globbing or regex special
  10378. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  10379. +# dot (in which case that matches only a dot).
  10380. +func_stripname ()
  10381. +{
  10382. + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  10383. + # positional parameters, so assign one to ordinary parameter first.
  10384. + func_stripname_result=${3}
  10385. + func_stripname_result=${func_stripname_result#"${1}"}
  10386. + func_stripname_result=${func_stripname_result%"${2}"}
  10387. +}
  10388. +
  10389. +# func_opt_split
  10390. +func_opt_split ()
  10391. +{
  10392. + func_opt_split_opt=${1%%=*}
  10393. + func_opt_split_arg=${1#*=}
  10394. +}
  10395. +
  10396. +# func_lo2o object
  10397. +func_lo2o ()
  10398. +{
  10399. + case ${1} in
  10400. + *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  10401. + *) func_lo2o_result=${1} ;;
  10402. + esac
  10403. +}
  10404. +
  10405. +# func_xform libobj-or-source
  10406. +func_xform ()
  10407. +{
  10408. + func_xform_result=${1%.*}.lo
  10409. +}
  10410. +
  10411. +# func_arith arithmetic-term...
  10412. +func_arith ()
  10413. +{
  10414. + func_arith_result=$(( $[*] ))
  10415. +}
  10416. +
  10417. +# func_len string
  10418. +# STRING may not start with a hyphen.
  10419. +func_len ()
  10420. +{
  10421. + func_len_result=${#1}
  10422. +}
  10423. +
  10424. +_LT_EOF
  10425. + ;;
  10426. + *) # Bourne compatible functions.
  10427. + cat << \_LT_EOF >> "$cfgfile"
  10428. +
  10429. +# func_dirname file append nondir_replacement
  10430. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  10431. +# otherwise set result to NONDIR_REPLACEMENT.
  10432. +func_dirname ()
  10433. +{
  10434. + # Extract subdirectory from the argument.
  10435. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  10436. + if test "X$func_dirname_result" = "X${1}"; then
  10437. + func_dirname_result="${3}"
  10438. + else
  10439. + func_dirname_result="$func_dirname_result${2}"
  10440. + fi
  10441. +}
  10442. +
  10443. +# func_basename file
  10444. +func_basename ()
  10445. +{
  10446. + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  10447. +}
  10448. +
  10449. +dnl func_dirname_and_basename
  10450. +dnl A portable version of this function is already defined in general.m4sh
  10451. +dnl so there is no need for it here.
  10452. +
  10453. +# func_stripname prefix suffix name
  10454. +# strip PREFIX and SUFFIX off of NAME.
  10455. +# PREFIX and SUFFIX must not contain globbing or regex special
  10456. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  10457. +# dot (in which case that matches only a dot).
  10458. +# func_strip_suffix prefix name
  10459. +func_stripname ()
  10460. +{
  10461. + case ${2} in
  10462. + .*) func_stripname_result=`$ECHO "X${3}" \
  10463. + | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  10464. + *) func_stripname_result=`$ECHO "X${3}" \
  10465. + | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  10466. + esac
  10467. +}
  10468. +
  10469. +# sed scripts:
  10470. +my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
  10471. +my_sed_long_arg='1s/^-[[^=]]*=//'
  10472. +
  10473. +# func_opt_split
  10474. +func_opt_split ()
  10475. +{
  10476. + func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  10477. + func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  10478. +}
  10479. +
  10480. +# func_lo2o object
  10481. +func_lo2o ()
  10482. +{
  10483. + func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  10484. +}
  10485. +
  10486. +# func_xform libobj-or-source
  10487. +func_xform ()
  10488. +{
  10489. + func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
  10490. +}
  10491. +
  10492. +# func_arith arithmetic-term...
  10493. +func_arith ()
  10494. +{
  10495. + func_arith_result=`expr "$[@]"`
  10496. +}
  10497. +
  10498. +# func_len string
  10499. +# STRING may not start with a hyphen.
  10500. +func_len ()
  10501. +{
  10502. + func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
  10503. +}
  10504. +
  10505. +_LT_EOF
  10506. +esac
  10507. +
  10508. +case $lt_shell_append in
  10509. + yes)
  10510. + cat << \_LT_EOF >> "$cfgfile"
  10511. +
  10512. +# func_append var value
  10513. +# Append VALUE to the end of shell variable VAR.
  10514. +func_append ()
  10515. +{
  10516. + eval "$[1]+=\$[2]"
  10517. +}
  10518. +_LT_EOF
  10519. + ;;
  10520. + *)
  10521. + cat << \_LT_EOF >> "$cfgfile"
  10522. +
  10523. +# func_append var value
  10524. +# Append VALUE to the end of shell variable VAR.
  10525. +func_append ()
  10526. +{
  10527. + eval "$[1]=\$$[1]\$[2]"
  10528. +}
  10529. +
  10530. +_LT_EOF
  10531. + ;;
  10532. + esac
  10533. ])
  10534. +# ltdl.m4 - Configure ltdl for the target system. -*-Autoconf-*-
  10535. +#
  10536. +# Copyright (C) 1999-2006, 2007, 2008 Free Software Foundation, Inc.
  10537. +# Written by Thomas Tanner, 1999
  10538. +#
  10539. +# This file is free software; the Free Software Foundation gives
  10540. +# unlimited permission to copy and/or distribute it, with or without
  10541. +# modifications, as long as this notice is preserved.
  10542. +
  10543. +# serial 17 LTDL_INIT
  10544. +
  10545. +# LT_CONFIG_LTDL_DIR(DIRECTORY, [LTDL-MODE])
  10546. +# ------------------------------------------
  10547. +# DIRECTORY contains the libltdl sources. It is okay to call this
  10548. +# function multiple times, as long as the same DIRECTORY is always given.
  10549. +AC_DEFUN([LT_CONFIG_LTDL_DIR],
  10550. +[AC_BEFORE([$0], [LTDL_INIT])
  10551. +_$0($*)
  10552. +])# LT_CONFIG_LTDL_DIR
  10553. +
  10554. +# We break this out into a separate macro, so that we can call it safely
  10555. +# internally without being caught accidentally by the sed scan in libtoolize.
  10556. +m4_defun([_LT_CONFIG_LTDL_DIR],
  10557. +[dnl remove trailing slashes
  10558. +m4_pushdef([_ARG_DIR], m4_bpatsubst([$1], [/*$]))
  10559. +m4_case(_LTDL_DIR,
  10560. + [], [dnl only set lt_ltdl_dir if _ARG_DIR is not simply `.'
  10561. + m4_if(_ARG_DIR, [.],
  10562. + [],
  10563. + [m4_define([_LTDL_DIR], _ARG_DIR)
  10564. + _LT_SHELL_INIT([lt_ltdl_dir=']_ARG_DIR['])])],
  10565. + [m4_if(_ARG_DIR, _LTDL_DIR,
  10566. + [],
  10567. + [m4_fatal([multiple libltdl directories: `]_LTDL_DIR[', `]_ARG_DIR['])])])
  10568. +m4_popdef([_ARG_DIR])
  10569. +])# _LT_CONFIG_LTDL_DIR
  10570. -# serial 9 AC_LIB_LTDL
  10571. +# Initialise:
  10572. +m4_define([_LTDL_DIR], [])
  10573. +
  10574. +
  10575. +# _LT_BUILD_PREFIX
  10576. +# ----------------
  10577. +# If Autoconf is new enough, expand to `${top_build_prefix}', otherwise
  10578. +# to `${top_builddir}/'.
  10579. +m4_define([_LT_BUILD_PREFIX],
  10580. +[m4_ifdef([AC_AUTOCONF_VERSION],
  10581. + [m4_if(m4_version_compare(m4_defn([AC_AUTOCONF_VERSION]), [2.62]),
  10582. + [-1], [m4_ifdef([_AC_HAVE_TOP_BUILD_PREFIX],
  10583. + [${top_build_prefix}],
  10584. + [${top_builddir}/])],
  10585. + [${top_build_prefix}])],
  10586. + [${top_builddir}/])[]dnl
  10587. +])
  10588. +
  10589. +
  10590. +# LTDL_CONVENIENCE
  10591. +# ----------------
  10592. +# sets LIBLTDL to the link flags for the libltdl convenience library and
  10593. +# LTDLINCL to the include flags for the libltdl header and adds
  10594. +# --enable-ltdl-convenience to the configure arguments. Note that
  10595. +# AC_CONFIG_SUBDIRS is not called here. LIBLTDL will be prefixed with
  10596. +# '${top_build_prefix}' if available, otherwise with '${top_builddir}/',
  10597. +# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
  10598. +# quotes!). If your package is not flat and you're not using automake,
  10599. +# define top_build_prefix, top_builddir, and top_srcdir appropriately
  10600. +# in your Makefiles.
  10601. +AC_DEFUN([LTDL_CONVENIENCE],
  10602. +[AC_BEFORE([$0], [LTDL_INIT])dnl
  10603. +dnl Although the argument is deprecated and no longer documented,
  10604. +dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
  10605. +dnl here make sure it is the same as any other declaration of libltdl's
  10606. +dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
  10607. +dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
  10608. +m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
  10609. +_$0()
  10610. +])# LTDL_CONVENIENCE
  10611. +
  10612. +# AC_LIBLTDL_CONVENIENCE accepted a directory argument in older libtools,
  10613. +# now we have LT_CONFIG_LTDL_DIR:
  10614. +AU_DEFUN([AC_LIBLTDL_CONVENIENCE],
  10615. +[_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  10616. +_LTDL_CONVENIENCE])
  10617. +
  10618. +dnl aclocal-1.4 backwards compatibility:
  10619. +dnl AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [])
  10620. +
  10621. +
  10622. +# _LTDL_CONVENIENCE
  10623. +# -----------------
  10624. +# Code shared by LTDL_CONVENIENCE and LTDL_INIT([convenience]).
  10625. +m4_defun([_LTDL_CONVENIENCE],
  10626. +[case $enable_ltdl_convenience in
  10627. + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
  10628. + "") enable_ltdl_convenience=yes
  10629. + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
  10630. +esac
  10631. +LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
  10632. +LTDLDEPS=$LIBLTDL
  10633. +LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
  10634. +
  10635. +AC_SUBST([LIBLTDL])
  10636. +AC_SUBST([LTDLDEPS])
  10637. +AC_SUBST([LTDLINCL])
  10638. +
  10639. +# For backwards non-gettext consistent compatibility...
  10640. +INCLTDL="$LTDLINCL"
  10641. +AC_SUBST([INCLTDL])
  10642. +])# _LTDL_CONVENIENCE
  10643. +
  10644. +
  10645. +# LTDL_INSTALLABLE
  10646. +# ----------------
  10647. +# sets LIBLTDL to the link flags for the libltdl installable library
  10648. +# and LTDLINCL to the include flags for the libltdl header and adds
  10649. +# --enable-ltdl-install to the configure arguments. Note that
  10650. +# AC_CONFIG_SUBDIRS is not called from here. If an installed libltdl
  10651. +# is not found, LIBLTDL will be prefixed with '${top_build_prefix}' if
  10652. +# available, otherwise with '${top_builddir}/', and LTDLINCL will be
  10653. +# prefixed with '${top_srcdir}/' (note the single quotes!). If your
  10654. +# package is not flat and you're not using automake, define top_build_prefix,
  10655. +# top_builddir, and top_srcdir appropriately in your Makefiles.
  10656. +# In the future, this macro may have to be called after LT_INIT.
  10657. +AC_DEFUN([LTDL_INSTALLABLE],
  10658. +[AC_BEFORE([$0], [LTDL_INIT])dnl
  10659. +dnl Although the argument is deprecated and no longer documented,
  10660. +dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
  10661. +dnl here make sure it is the same as any other declaration of libltdl's
  10662. +dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
  10663. +dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
  10664. +m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
  10665. +_$0()
  10666. +])# LTDL_INSTALLABLE
  10667. +
  10668. +# AC_LIBLTDL_INSTALLABLE accepted a directory argument in older libtools,
  10669. +# now we have LT_CONFIG_LTDL_DIR:
  10670. +AU_DEFUN([AC_LIBLTDL_INSTALLABLE],
  10671. +[_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  10672. +_LTDL_INSTALLABLE])
  10673. +
  10674. +dnl aclocal-1.4 backwards compatibility:
  10675. +dnl AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [])
  10676. +
  10677. +
  10678. +# _LTDL_INSTALLABLE
  10679. +# -----------------
  10680. +# Code shared by LTDL_INSTALLABLE and LTDL_INIT([installable]).
  10681. +m4_defun([_LTDL_INSTALLABLE],
  10682. +[if test -f $prefix/lib/libltdl.la; then
  10683. + lt_save_LDFLAGS="$LDFLAGS"
  10684. + LDFLAGS="-L$prefix/lib $LDFLAGS"
  10685. + AC_CHECK_LIB([ltdl], [lt_dlinit], [lt_lib_ltdl=yes])
  10686. + LDFLAGS="$lt_save_LDFLAGS"
  10687. + if test x"${lt_lib_ltdl-no}" = xyes; then
  10688. + if test x"$enable_ltdl_install" != xyes; then
  10689. + # Don't overwrite $prefix/lib/libltdl.la without --enable-ltdl-install
  10690. + AC_MSG_WARN([not overwriting libltdl at $prefix, force with `--enable-ltdl-install'])
  10691. + enable_ltdl_install=no
  10692. + fi
  10693. + elif test x"$enable_ltdl_install" = xno; then
  10694. + AC_MSG_WARN([libltdl not installed, but installation disabled])
  10695. + fi
  10696. +fi
  10697. +
  10698. +# If configure.ac declared an installable ltdl, and the user didn't override
  10699. +# with --disable-ltdl-install, we will install the shipped libltdl.
  10700. +case $enable_ltdl_install in
  10701. + no) ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
  10702. + LIBLTDL="-lltdl"
  10703. + LTDLDEPS=
  10704. + LTDLINCL=
  10705. + ;;
  10706. + *) enable_ltdl_install=yes
  10707. + ac_configure_args="$ac_configure_args --enable-ltdl-install"
  10708. + LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdl.la"
  10709. + LTDLDEPS=$LIBLTDL
  10710. + LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
  10711. + ;;
  10712. +esac
  10713. -# AC_WITH_LTDL
  10714. -# ------------
  10715. -# Clients of libltdl can use this macro to allow the installer to
  10716. -# choose between a shipped copy of the ltdl sources or a preinstalled
  10717. -# version of the library.
  10718. -AC_DEFUN([AC_WITH_LTDL],
  10719. -[AC_REQUIRE([AC_LIB_LTDL])
  10720. AC_SUBST([LIBLTDL])
  10721. +AC_SUBST([LTDLDEPS])
  10722. +AC_SUBST([LTDLINCL])
  10723. +
  10724. +# For backwards non-gettext consistent compatibility...
  10725. +INCLTDL="$LTDLINCL"
  10726. AC_SUBST([INCLTDL])
  10727. +])# LTDL_INSTALLABLE
  10728. +
  10729. +
  10730. +# _LTDL_MODE_DISPATCH
  10731. +# -------------------
  10732. +m4_define([_LTDL_MODE_DISPATCH],
  10733. +[dnl If _LTDL_DIR is `.', then we are configuring libltdl itself:
  10734. +m4_if(_LTDL_DIR, [],
  10735. + [],
  10736. + dnl if _LTDL_MODE was not set already, the default value is `subproject':
  10737. + [m4_case(m4_default(_LTDL_MODE, [subproject]),
  10738. + [subproject], [AC_CONFIG_SUBDIRS(_LTDL_DIR)
  10739. + _LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"])],
  10740. + [nonrecursive], [_LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"; lt_libobj_prefix="$lt_ltdl_dir/"])],
  10741. + [recursive], [],
  10742. + [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])dnl
  10743. +dnl Be careful not to expand twice:
  10744. +m4_define([$0], [])
  10745. +])# _LTDL_MODE_DISPATCH
  10746. +
  10747. +
  10748. +# _LT_LIBOBJ(MODULE_NAME)
  10749. +# -----------------------
  10750. +# Like AC_LIBOBJ, except that MODULE_NAME goes into _LT_LIBOBJS instead
  10751. +# of into LIBOBJS.
  10752. +AC_DEFUN([_LT_LIBOBJ], [
  10753. + m4_pattern_allow([^_LT_LIBOBJS$])
  10754. + _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
  10755. +])# _LT_LIBOBJS
  10756. -# Unless the user asks us to check, assume no installed ltdl exists.
  10757. -use_installed_libltdl=no
  10758. +
  10759. +# LTDL_INIT([OPTIONS])
  10760. +# --------------------
  10761. +# Clients of libltdl can use this macro to allow the installer to
  10762. +# choose between a shipped copy of the ltdl sources or a preinstalled
  10763. +# version of the library. If the shipped ltdl sources are not in a
  10764. +# subdirectory named libltdl, the directory name must be given by
  10765. +# LT_CONFIG_LTDL_DIR.
  10766. +AC_DEFUN([LTDL_INIT],
  10767. +[dnl Parse OPTIONS
  10768. +_LT_SET_OPTIONS([$0], [$1])
  10769. +
  10770. +dnl We need to keep our own list of libobjs separate from our parent project,
  10771. +dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
  10772. +dnl we look for our own LIBOBJs.
  10773. +m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
  10774. +m4_pushdef([AC_LIBSOURCES])
  10775. +
  10776. +dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
  10777. +m4_if(_LTDL_MODE, [],
  10778. + [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
  10779. + m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
  10780. + [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
  10781. AC_ARG_WITH([included_ltdl],
  10782. - [ --with-included-ltdl use the GNU ltdl sources included here])
  10783. + [AS_HELP_STRING([--with-included-ltdl],
  10784. + [use the GNU ltdl sources included here])])
  10785. if test "x$with_included_ltdl" != xyes; then
  10786. # We are not being forced to use the included libltdl sources, so
  10787. # decide whether there is a useful installed version we can use.
  10788. AC_CHECK_HEADER([ltdl.h],
  10789. - [AC_CHECK_LIB([ltdl], [lt_dlcaller_register],
  10790. - [with_included_ltdl=no],
  10791. - [with_included_ltdl=yes])
  10792. - ])
  10793. -fi
  10794. + [AC_CHECK_DECL([lt_dlinterface_register],
  10795. + [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
  10796. + [with_included_ltdl=no],
  10797. + [with_included_ltdl=yes])],
  10798. + [with_included_ltdl=yes],
  10799. + [AC_INCLUDES_DEFAULT
  10800. + #include <ltdl.h>])],
  10801. + [with_included_ltdl=yes],
  10802. + [AC_INCLUDES_DEFAULT]
  10803. + )
  10804. +fi
  10805. +
  10806. +dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
  10807. +dnl was called yet, then for old times' sake, we assume libltdl is in an
  10808. +dnl eponymous directory:
  10809. +AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
  10810. +
  10811. +AC_ARG_WITH([ltdl_include],
  10812. + [AS_HELP_STRING([--with-ltdl-include=DIR],
  10813. + [use the ltdl headers installed in DIR])])
  10814. -if test "x$enable_ltdl_install" != xyes; then
  10815. - # If the user did not specify an installable libltdl, then default
  10816. - # to a convenience lib.
  10817. - AC_LIBLTDL_CONVENIENCE
  10818. +if test -n "$with_ltdl_include"; then
  10819. + if test -f "$with_ltdl_include/ltdl.h"; then :
  10820. + else
  10821. + AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
  10822. + fi
  10823. +else
  10824. + with_ltdl_include=no
  10825. fi
  10826. -if test "x$with_included_ltdl" = xno; then
  10827. - # If the included ltdl is not to be used. then Use the
  10828. - # preinstalled libltdl we found.
  10829. - AC_DEFINE([HAVE_LTDL], [1],
  10830. - [Define this if a modern libltdl is already installed])
  10831. - LIBLTDL=-lltdl
  10832. +AC_ARG_WITH([ltdl_lib],
  10833. + [AS_HELP_STRING([--with-ltdl-lib=DIR],
  10834. + [use the libltdl.la installed in DIR])])
  10835. +
  10836. +if test -n "$with_ltdl_lib"; then
  10837. + if test -f "$with_ltdl_lib/libltdl.la"; then :
  10838. + else
  10839. + AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
  10840. + fi
  10841. +else
  10842. + with_ltdl_lib=no
  10843. fi
  10844. +case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
  10845. + ,yes,no,no,)
  10846. + m4_case(m4_default(_LTDL_TYPE, [convenience]),
  10847. + [convenience], [_LTDL_CONVENIENCE],
  10848. + [installable], [_LTDL_INSTALLABLE],
  10849. + [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
  10850. + ;;
  10851. + ,no,no,no,)
  10852. + # If the included ltdl is not to be used, then use the
  10853. + # preinstalled libltdl we found.
  10854. + AC_DEFINE([HAVE_LTDL], [1],
  10855. + [Define this if a modern libltdl is already installed])
  10856. + LIBLTDL=-lltdl
  10857. + LTDLDEPS=
  10858. + LTDLINCL=
  10859. + ;;
  10860. + ,no*,no,*)
  10861. + AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
  10862. + ;;
  10863. + *) with_included_ltdl=no
  10864. + LIBLTDL="-L$with_ltdl_lib -lltdl"
  10865. + LTDLDEPS=
  10866. + LTDLINCL="-I$with_ltdl_include"
  10867. + ;;
  10868. +esac
  10869. +INCLTDL="$LTDLINCL"
  10870. +
  10871. # Report our decision...
  10872. -AC_MSG_CHECKING([whether to use included libltdl])
  10873. -AC_MSG_RESULT([$with_included_ltdl])
  10874. +AC_MSG_CHECKING([where to find libltdl headers])
  10875. +AC_MSG_RESULT([$LTDLINCL])
  10876. +AC_MSG_CHECKING([where to find libltdl library])
  10877. +AC_MSG_RESULT([$LIBLTDL])
  10878. +
  10879. +_LTDL_SETUP
  10880. +
  10881. +dnl restore autoconf definition.
  10882. +m4_popdef([AC_LIBOBJ])
  10883. +m4_popdef([AC_LIBSOURCES])
  10884. +
  10885. +AC_CONFIG_COMMANDS_PRE([
  10886. + _ltdl_libobjs=
  10887. + _ltdl_ltlibobjs=
  10888. + if test -n "$_LT_LIBOBJS"; then
  10889. + # Remove the extension.
  10890. + _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
  10891. + for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
  10892. + _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
  10893. + _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
  10894. + done
  10895. + fi
  10896. + AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
  10897. + AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
  10898. +])
  10899. -AC_CONFIG_SUBDIRS([libltdl])
  10900. -])# AC_WITH_LTDL
  10901. +# Only expand once:
  10902. +m4_define([LTDL_INIT])
  10903. +])# LTDL_INIT
  10904. +
  10905. +# Old names:
  10906. +AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
  10907. +AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
  10908. +AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
  10909. +dnl aclocal-1.4 backwards compatibility:
  10910. +dnl AC_DEFUN([AC_LIB_LTDL], [])
  10911. +dnl AC_DEFUN([AC_WITH_LTDL], [])
  10912. +dnl AC_DEFUN([LT_WITH_LTDL], [])
  10913. -# AC_LIB_LTDL
  10914. +# _LTDL_SETUP
  10915. # -----------
  10916. # Perform all the checks necessary for compilation of the ltdl objects
  10917. -# -- including compiler checks and header checks.
  10918. -AC_DEFUN([AC_LIB_LTDL],
  10919. -[AC_PREREQ(2.50)
  10920. -AC_REQUIRE([AC_PROG_CC])
  10921. -AC_REQUIRE([AC_C_CONST])
  10922. -AC_REQUIRE([AC_HEADER_STDC])
  10923. -AC_REQUIRE([AC_HEADER_DIRENT])
  10924. -AC_REQUIRE([_LT_AC_CHECK_DLFCN])
  10925. -AC_REQUIRE([AC_LTDL_ENABLE_INSTALL])
  10926. -AC_REQUIRE([AC_LTDL_SHLIBEXT])
  10927. -AC_REQUIRE([AC_LTDL_SHLIBPATH])
  10928. -AC_REQUIRE([AC_LTDL_SYSSEARCHPATH])
  10929. -AC_REQUIRE([AC_LTDL_OBJDIR])
  10930. -AC_REQUIRE([AC_LTDL_DLPREOPEN])
  10931. -AC_REQUIRE([AC_LTDL_DLLIB])
  10932. -AC_REQUIRE([AC_LTDL_SYMBOL_USCORE])
  10933. -AC_REQUIRE([AC_LTDL_DLSYM_USCORE])
  10934. -AC_REQUIRE([AC_LTDL_SYS_DLOPEN_DEPLIBS])
  10935. -AC_REQUIRE([AC_LTDL_FUNC_ARGZ])
  10936. -
  10937. -AC_CHECK_HEADERS([assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
  10938. - stdio.h unistd.h])
  10939. -AC_CHECK_HEADERS([dl.h sys/dl.h dld.h mach-o/dyld.h])
  10940. -AC_CHECK_HEADERS([string.h strings.h], [break])
  10941. -
  10942. -AC_CHECK_FUNCS([strchr index], [break])
  10943. -AC_CHECK_FUNCS([strrchr rindex], [break])
  10944. -AC_CHECK_FUNCS([memcpy bcopy], [break])
  10945. -AC_CHECK_FUNCS([memmove strcmp])
  10946. -AC_CHECK_FUNCS([closedir opendir readdir])
  10947. -])# AC_LIB_LTDL
  10948. +# -- including compiler checks and header checks. This is a public
  10949. +# interface mainly for the benefit of libltdl's own configure.ac, most
  10950. +# other users should call LTDL_INIT instead.
  10951. +AC_DEFUN([_LTDL_SETUP],
  10952. +[AC_REQUIRE([AC_PROG_CC])dnl
  10953. +AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
  10954. +AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
  10955. +AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
  10956. +AC_REQUIRE([LT_LIB_DLLOAD])dnl
  10957. +AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
  10958. +AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
  10959. +AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
  10960. +AC_REQUIRE([gl_FUNC_ARGZ])dnl
  10961. +
  10962. +m4_require([_LT_CHECK_OBJDIR])dnl
  10963. +m4_require([_LT_HEADER_DLFCN])dnl
  10964. +m4_require([_LT_CHECK_DLPREOPEN])dnl
  10965. +m4_require([_LT_DECL_SED])dnl
  10966. +
  10967. +dnl Don't require this, or it will be expanded earlier than the code
  10968. +dnl that sets the variables it relies on:
  10969. +_LT_ENABLE_INSTALL
  10970. +
  10971. +dnl _LTDL_MODE specific code must be called at least once:
  10972. +_LTDL_MODE_DISPATCH
  10973. +
  10974. +# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
  10975. +# the user used. This is so that ltdl.h can pick up the parent projects
  10976. +# config.h file, The first file in AC_CONFIG_HEADERS must contain the
  10977. +# definitions required by ltdl.c.
  10978. +# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
  10979. +AC_CONFIG_COMMANDS_PRE([dnl
  10980. +m4_pattern_allow([^LT_CONFIG_H$])dnl
  10981. +m4_ifset([AH_HEADER],
  10982. + [LT_CONFIG_H=AH_HEADER],
  10983. + [m4_ifset([AC_LIST_HEADERS],
  10984. + [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`],
  10985. + [])])])
  10986. +AC_SUBST([LT_CONFIG_H])
  10987. +
  10988. +AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
  10989. + [], [], [AC_INCLUDES_DEFAULT])
  10990. +
  10991. +AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
  10992. +AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
  10993. +
  10994. +AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
  10995. +
  10996. +name=ltdl
  10997. +LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
  10998. +AC_SUBST([LTDLOPEN])
  10999. +])# _LTDL_SETUP
  11000. -# AC_LTDL_ENABLE_INSTALL
  11001. -# ----------------------
  11002. -AC_DEFUN([AC_LTDL_ENABLE_INSTALL],
  11003. +# _LT_ENABLE_INSTALL
  11004. +# ------------------
  11005. +m4_define([_LT_ENABLE_INSTALL],
  11006. [AC_ARG_ENABLE([ltdl-install],
  11007. - [AC_HELP_STRING([--enable-ltdl-install], [install libltdl])])
  11008. + [AS_HELP_STRING([--enable-ltdl-install], [install libltdl])])
  11009. -AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno)
  11010. -AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno)
  11011. -])# AC_LTDL_ENABLE_INSTALL
  11012. +case ,${enable_ltdl_install},${enable_ltdl_convenience} in
  11013. + *yes*) ;;
  11014. + *) enable_ltdl_convenience=yes ;;
  11015. +esac
  11016. +m4_ifdef([AM_CONDITIONAL],
  11017. +[AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno)
  11018. + AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno)])
  11019. +])# _LT_ENABLE_INSTALL
  11020. -# AC_LTDL_SYS_DLOPEN_DEPLIBS
  11021. -# --------------------------
  11022. -AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS],
  11023. -[AC_REQUIRE([AC_CANONICAL_HOST])
  11024. +
  11025. +# LT_SYS_DLOPEN_DEPLIBS
  11026. +# ---------------------
  11027. +AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS],
  11028. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  11029. AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
  11030. - [libltdl_cv_sys_dlopen_deplibs],
  11031. + [lt_cv_sys_dlopen_deplibs],
  11032. [# PORTME does your system automatically load deplibs for dlopen?
  11033. # or its logical equivalent (e.g. shl_load for HP-UX < 11)
  11034. # For now, we just catch OSes we know something about -- in the
  11035. # future, we'll try test this programmatically.
  11036. - libltdl_cv_sys_dlopen_deplibs=unknown
  11037. - case "$host_os" in
  11038. + lt_cv_sys_dlopen_deplibs=unknown
  11039. + case $host_os in
  11040. aix3*|aix4.1.*|aix4.2.*)
  11041. # Unknown whether this is true for these versions of AIX, but
  11042. # we want this `case' here to explicitly catch those versions.
  11043. - libltdl_cv_sys_dlopen_deplibs=unknown
  11044. + lt_cv_sys_dlopen_deplibs=unknown
  11045. ;;
  11046. aix[[4-9]]*)
  11047. - libltdl_cv_sys_dlopen_deplibs=yes
  11048. + lt_cv_sys_dlopen_deplibs=yes
  11049. + ;;
  11050. + amigaos*)
  11051. + case $host_cpu in
  11052. + powerpc)
  11053. + lt_cv_sys_dlopen_deplibs=no
  11054. + ;;
  11055. + esac
  11056. ;;
  11057. darwin*)
  11058. # Assuming the user has installed a libdl from somewhere, this is true
  11059. # If you are looking for one http://www.opendarwin.org/projects/dlcompat
  11060. - libltdl_cv_sys_dlopen_deplibs=yes
  11061. - ;;
  11062. - freebsd*)
  11063. - libltdl_cv_sys_dlopen_deplibs=yes
  11064. + lt_cv_sys_dlopen_deplibs=yes
  11065. ;;
  11066. freebsd* | dragonfly*)
  11067. - libltdl_cv_sys_dlopen_deplibs=yes
  11068. + lt_cv_sys_dlopen_deplibs=yes
  11069. ;;
  11070. - gnu* | linux* | k*bsd*-gnu)
  11071. + gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
  11072. # GNU and its variants, using gnu ld.so (Glibc)
  11073. - libltdl_cv_sys_dlopen_deplibs=yes
  11074. + lt_cv_sys_dlopen_deplibs=yes
  11075. ;;
  11076. hpux10*|hpux11*)
  11077. - libltdl_cv_sys_dlopen_deplibs=yes
  11078. + lt_cv_sys_dlopen_deplibs=yes
  11079. ;;
  11080. interix*)
  11081. - libltdl_cv_sys_dlopen_deplibs=yes
  11082. + lt_cv_sys_dlopen_deplibs=yes
  11083. ;;
  11084. irix[[12345]]*|irix6.[[01]]*)
  11085. # Catch all versions of IRIX before 6.2, and indicate that we don't
  11086. # know how it worked for any of those versions.
  11087. - libltdl_cv_sys_dlopen_deplibs=unknown
  11088. + lt_cv_sys_dlopen_deplibs=unknown
  11089. ;;
  11090. irix*)
  11091. # The case above catches anything before 6.2, and it's known that
  11092. # at 6.2 and later dlopen does load deplibs.
  11093. - libltdl_cv_sys_dlopen_deplibs=yes
  11094. + lt_cv_sys_dlopen_deplibs=yes
  11095. ;;
  11096. - netbsd*)
  11097. - libltdl_cv_sys_dlopen_deplibs=yes
  11098. + netbsd* | netbsdelf*-gnu)
  11099. + lt_cv_sys_dlopen_deplibs=yes
  11100. ;;
  11101. openbsd*)
  11102. - libltdl_cv_sys_dlopen_deplibs=yes
  11103. + lt_cv_sys_dlopen_deplibs=yes
  11104. ;;
  11105. osf[[1234]]*)
  11106. # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
  11107. # it did *not* use an RPATH in a shared library to find objects the
  11108. - # library depends on, so we explictly say `no'.
  11109. - libltdl_cv_sys_dlopen_deplibs=no
  11110. + # library depends on, so we explicitly say `no'.
  11111. + lt_cv_sys_dlopen_deplibs=no
  11112. ;;
  11113. osf5.0|osf5.0a|osf5.1)
  11114. # dlopen *does* load deplibs and with the right loader patch applied
  11115. @@ -6823,111 +7889,112 @@
  11116. # patch is installed. Since this is the case, all we can really
  11117. # say is unknown -- it depends on the patch being installed. If
  11118. # it is, this changes to `yes'. Without it, it would be `no'.
  11119. - libltdl_cv_sys_dlopen_deplibs=unknown
  11120. + lt_cv_sys_dlopen_deplibs=unknown
  11121. ;;
  11122. osf*)
  11123. # the two cases above should catch all versions of osf <= 5.1. Read
  11124. # the comments above for what we know about them.
  11125. # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
  11126. # is used to find them so we can finally say `yes'.
  11127. - libltdl_cv_sys_dlopen_deplibs=yes
  11128. + lt_cv_sys_dlopen_deplibs=yes
  11129. + ;;
  11130. + qnx*)
  11131. + lt_cv_sys_dlopen_deplibs=yes
  11132. ;;
  11133. solaris*)
  11134. - libltdl_cv_sys_dlopen_deplibs=yes
  11135. + lt_cv_sys_dlopen_deplibs=yes
  11136. ;;
  11137. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  11138. libltdl_cv_sys_dlopen_deplibs=yes
  11139. ;;
  11140. esac
  11141. ])
  11142. -if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
  11143. +if test "$lt_cv_sys_dlopen_deplibs" != yes; then
  11144. AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
  11145. [Define if the OS needs help to load dependent libraries for dlopen().])
  11146. fi
  11147. -])# AC_LTDL_SYS_DLOPEN_DEPLIBS
  11148. +])# LT_SYS_DLOPEN_DEPLIBS
  11149. +# Old name:
  11150. +AU_ALIAS([AC_LTDL_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS])
  11151. +dnl aclocal-1.4 backwards compatibility:
  11152. +dnl AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [])
  11153. -# AC_LTDL_SHLIBEXT
  11154. -# ----------------
  11155. -AC_DEFUN([AC_LTDL_SHLIBEXT],
  11156. -[AC_REQUIRE([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
  11157. -AC_CACHE_CHECK([which extension is used for loadable modules],
  11158. +
  11159. +# LT_SYS_MODULE_EXT
  11160. +# -----------------
  11161. +AC_DEFUN([LT_SYS_MODULE_EXT],
  11162. +[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  11163. +AC_CACHE_CHECK([which extension is used for runtime loadable modules],
  11164. [libltdl_cv_shlibext],
  11165. [
  11166. module=yes
  11167. eval libltdl_cv_shlibext=$shrext_cmds
  11168. ])
  11169. if test -n "$libltdl_cv_shlibext"; then
  11170. - AC_DEFINE_UNQUOTED([LTDL_SHLIB_EXT], ["$libltdl_cv_shlibext"],
  11171. - [Define to the extension used for shared libraries, say, ".so".])
  11172. + m4_pattern_allow([LT_MODULE_EXT])dnl
  11173. + AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
  11174. + [Define to the extension used for runtime loadable modules, say, ".so".])
  11175. fi
  11176. -])# AC_LTDL_SHLIBEXT
  11177. +])# LT_SYS_MODULE_EXT
  11178. +# Old name:
  11179. +AU_ALIAS([AC_LTDL_SHLIBEXT], [LT_SYS_MODULE_EXT])
  11180. +dnl aclocal-1.4 backwards compatibility:
  11181. +dnl AC_DEFUN([AC_LTDL_SHLIBEXT], [])
  11182. -# AC_LTDL_SHLIBPATH
  11183. -# -----------------
  11184. -AC_DEFUN([AC_LTDL_SHLIBPATH],
  11185. -[AC_REQUIRE([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
  11186. -AC_CACHE_CHECK([which variable specifies run-time library path],
  11187. - [libltdl_cv_shlibpath_var], [libltdl_cv_shlibpath_var="$shlibpath_var"])
  11188. -if test -n "$libltdl_cv_shlibpath_var"; then
  11189. - AC_DEFINE_UNQUOTED([LTDL_SHLIBPATH_VAR], ["$libltdl_cv_shlibpath_var"],
  11190. - [Define to the name of the environment variable that determines the dynamic library search path.])
  11191. -fi
  11192. -])# AC_LTDL_SHLIBPATH
  11193. +# LT_SYS_MODULE_PATH
  11194. +# ------------------
  11195. +AC_DEFUN([LT_SYS_MODULE_PATH],
  11196. +[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  11197. +AC_CACHE_CHECK([which variable specifies run-time module search path],
  11198. + [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"])
  11199. +if test -n "$lt_cv_module_path_var"; then
  11200. + m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
  11201. + AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
  11202. + [Define to the name of the environment variable that determines the run-time module search path.])
  11203. +fi
  11204. +])# LT_SYS_MODULE_PATH
  11205. +
  11206. +# Old name:
  11207. +AU_ALIAS([AC_LTDL_SHLIBPATH], [LT_SYS_MODULE_PATH])
  11208. +dnl aclocal-1.4 backwards compatibility:
  11209. +dnl AC_DEFUN([AC_LTDL_SHLIBPATH], [])
  11210. -# AC_LTDL_SYSSEARCHPATH
  11211. -# ---------------------
  11212. -AC_DEFUN([AC_LTDL_SYSSEARCHPATH],
  11213. -[AC_REQUIRE([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
  11214. +
  11215. +# LT_SYS_DLSEARCH_PATH
  11216. +# --------------------
  11217. +AC_DEFUN([LT_SYS_DLSEARCH_PATH],
  11218. +[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  11219. AC_CACHE_CHECK([for the default library search path],
  11220. - [libltdl_cv_sys_search_path],
  11221. - [libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"])
  11222. -if test -n "$libltdl_cv_sys_search_path"; then
  11223. - sys_search_path=
  11224. - for dir in $libltdl_cv_sys_search_path; do
  11225. - if test -z "$sys_search_path"; then
  11226. - sys_search_path="$dir"
  11227. + [lt_cv_sys_dlsearch_path],
  11228. + [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"])
  11229. +if test -n "$lt_cv_sys_dlsearch_path"; then
  11230. + sys_dlsearch_path=
  11231. + for dir in $lt_cv_sys_dlsearch_path; do
  11232. + if test -z "$sys_dlsearch_path"; then
  11233. + sys_dlsearch_path="$dir"
  11234. else
  11235. - sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
  11236. + sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
  11237. fi
  11238. done
  11239. - AC_DEFINE_UNQUOTED([LTDL_SYSSEARCHPATH], ["$sys_search_path"],
  11240. + m4_pattern_allow([LT_DLSEARCH_PATH])dnl
  11241. + AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
  11242. [Define to the system default library search path.])
  11243. fi
  11244. -])# AC_LTDL_SYSSEARCHPATH
  11245. +])# LT_SYS_DLSEARCH_PATH
  11246. -
  11247. -# AC_LTDL_OBJDIR
  11248. -# --------------
  11249. -AC_DEFUN([AC_LTDL_OBJDIR],
  11250. -[AC_CACHE_CHECK([for objdir],
  11251. - [libltdl_cv_objdir],
  11252. - [libltdl_cv_objdir="$objdir"
  11253. - if test -n "$objdir"; then
  11254. - :
  11255. - else
  11256. - rm -f .libs 2>/dev/null
  11257. - mkdir .libs 2>/dev/null
  11258. - if test -d .libs; then
  11259. - libltdl_cv_objdir=.libs
  11260. - else
  11261. - # MS-DOS does not allow filenames that begin with a dot.
  11262. - libltdl_cv_objdir=_libs
  11263. - fi
  11264. - rmdir .libs 2>/dev/null
  11265. - fi
  11266. - ])
  11267. -AC_DEFINE_UNQUOTED([LTDL_OBJDIR], ["$libltdl_cv_objdir/"],
  11268. - [Define to the sub-directory in which libtool stores uninstalled libraries.])
  11269. -])# AC_LTDL_OBJDIR
  11270. +# Old name:
  11271. +AU_ALIAS([AC_LTDL_SYSSEARCHPATH], [LT_SYS_DLSEARCH_PATH])
  11272. +dnl aclocal-1.4 backwards compatibility:
  11273. +dnl AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [])
  11274. -# AC_LTDL_DLPREOPEN
  11275. -# -----------------
  11276. -AC_DEFUN([AC_LTDL_DLPREOPEN],
  11277. -[AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
  11278. +# _LT_CHECK_DLPREOPEN
  11279. +# -------------------
  11280. +m4_defun([_LT_CHECK_DLPREOPEN],
  11281. +[m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  11282. AC_CACHE_CHECK([whether libtool supports -dlopen/-dlpreopen],
  11283. [libltdl_cv_preloaded_symbols],
  11284. [if test -n "$lt_cv_sys_global_symbol_pipe"; then
  11285. @@ -6940,114 +8007,167 @@
  11286. AC_DEFINE([HAVE_PRELOADED_SYMBOLS], [1],
  11287. [Define if libtool can extract symbol lists from object files.])
  11288. fi
  11289. -])# AC_LTDL_DLPREOPEN
  11290. +])# _LT_CHECK_DLPREOPEN
  11291. -# AC_LTDL_DLLIB
  11292. +# LT_LIB_DLLOAD
  11293. # -------------
  11294. -AC_DEFUN([AC_LTDL_DLLIB],
  11295. -[LIBADD_DL=
  11296. -AC_SUBST(LIBADD_DL)
  11297. +AC_DEFUN([LT_LIB_DLLOAD],
  11298. +[m4_pattern_allow([^LT_DLLOADERS$])
  11299. +LT_DLLOADERS=
  11300. +AC_SUBST([LT_DLLOADERS])
  11301. +
  11302. AC_LANG_PUSH([C])
  11303. -AC_CHECK_FUNC([shl_load],
  11304. - [AC_DEFINE([HAVE_SHL_LOAD], [1],
  11305. - [Define if you have the shl_load function.])],
  11306. - [AC_CHECK_LIB([dld], [shl_load],
  11307. - [AC_DEFINE([HAVE_SHL_LOAD], [1],
  11308. - [Define if you have the shl_load function.])
  11309. - LIBADD_DL="$LIBADD_DL -ldld"],
  11310. - [AC_CHECK_LIB([dl], [dlopen],
  11311. - [AC_DEFINE([HAVE_LIBDL], [1],
  11312. - [Define if you have the libdl library or equivalent.])
  11313. - LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"],
  11314. - [AC_TRY_LINK([#if HAVE_DLFCN_H
  11315. +LIBADD_DLOPEN=
  11316. +AC_SEARCH_LIBS([dlopen], [dl],
  11317. + [AC_DEFINE([HAVE_LIBDL], [1],
  11318. + [Define if you have the libdl library or equivalent.])
  11319. + if test "$ac_cv_search_dlopen" != "none required" ; then
  11320. + LIBADD_DLOPEN="-ldl"
  11321. + fi
  11322. + libltdl_cv_lib_dl_dlopen="yes"
  11323. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
  11324. + [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
  11325. # include <dlfcn.h>
  11326. #endif
  11327. - ],
  11328. - [dlopen(0, 0);],
  11329. + ]], [[dlopen(0, 0);]])],
  11330. [AC_DEFINE([HAVE_LIBDL], [1],
  11331. - [Define if you have the libdl library or equivalent.]) libltdl_cv_func_dlopen="yes"],
  11332. + [Define if you have the libdl library or equivalent.])
  11333. + libltdl_cv_func_dlopen="yes"
  11334. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
  11335. [AC_CHECK_LIB([svld], [dlopen],
  11336. - [AC_DEFINE([HAVE_LIBDL], [1],
  11337. + [AC_DEFINE([HAVE_LIBDL], [1],
  11338. [Define if you have the libdl library or equivalent.])
  11339. - LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"],
  11340. - [AC_CHECK_LIB([dld], [dld_link],
  11341. - [AC_DEFINE([HAVE_DLD], [1],
  11342. - [Define if you have the GNU dld library.])
  11343. - LIBADD_DL="$LIBADD_DL -ldld"],
  11344. - [AC_CHECK_FUNC([_dyld_func_lookup],
  11345. - [AC_DEFINE([HAVE_DYLD], [1],
  11346. - [Define if you have the _dyld_func_lookup function.])])
  11347. - ])
  11348. - ])
  11349. - ])
  11350. - ])
  11351. - ])
  11352. -])
  11353. -
  11354. + LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
  11355. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
  11356. if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
  11357. then
  11358. lt_save_LIBS="$LIBS"
  11359. - LIBS="$LIBS $LIBADD_DL"
  11360. + LIBS="$LIBS $LIBADD_DLOPEN"
  11361. AC_CHECK_FUNCS([dlerror])
  11362. LIBS="$lt_save_LIBS"
  11363. fi
  11364. +AC_SUBST([LIBADD_DLOPEN])
  11365. +
  11366. +LIBADD_SHL_LOAD=
  11367. +AC_CHECK_FUNC([shl_load],
  11368. + [AC_DEFINE([HAVE_SHL_LOAD], [1],
  11369. + [Define if you have the shl_load function.])
  11370. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
  11371. + [AC_CHECK_LIB([dld], [shl_load],
  11372. + [AC_DEFINE([HAVE_SHL_LOAD], [1],
  11373. + [Define if you have the shl_load function.])
  11374. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
  11375. + LIBADD_SHL_LOAD="-ldld"])])
  11376. +AC_SUBST([LIBADD_SHL_LOAD])
  11377. +
  11378. +case $host_os in
  11379. +darwin[[1567]].*)
  11380. +# We only want this for pre-Mac OS X 10.4.
  11381. + AC_CHECK_FUNC([_dyld_func_lookup],
  11382. + [AC_DEFINE([HAVE_DYLD], [1],
  11383. + [Define if you have the _dyld_func_lookup function.])
  11384. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
  11385. + ;;
  11386. +beos*)
  11387. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
  11388. + ;;
  11389. +cygwin* | mingw* | os2* | pw32*)
  11390. + AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
  11391. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
  11392. + ;;
  11393. +esac
  11394. +
  11395. +AC_CHECK_LIB([dld], [dld_link],
  11396. + [AC_DEFINE([HAVE_DLD], [1],
  11397. + [Define if you have the GNU dld library.])
  11398. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
  11399. +AC_SUBST([LIBADD_DLD_LINK])
  11400. +
  11401. +m4_pattern_allow([^LT_DLPREOPEN$])
  11402. +LT_DLPREOPEN=
  11403. +if test -n "$LT_DLLOADERS"
  11404. +then
  11405. + for lt_loader in $LT_DLLOADERS; do
  11406. + LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
  11407. + done
  11408. + AC_DEFINE([HAVE_LIBDLLOADER], [1],
  11409. + [Define if libdlloader will be built on this platform])
  11410. +fi
  11411. +AC_SUBST([LT_DLPREOPEN])
  11412. +
  11413. +dnl This isn't used anymore, but set it for backwards compatibility
  11414. +LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
  11415. +AC_SUBST([LIBADD_DL])
  11416. +
  11417. AC_LANG_POP
  11418. -])# AC_LTDL_DLLIB
  11419. +])# LT_LIB_DLLOAD
  11420. +# Old name:
  11421. +AU_ALIAS([AC_LTDL_DLLIB], [LT_LIB_DLLOAD])
  11422. +dnl aclocal-1.4 backwards compatibility:
  11423. +dnl AC_DEFUN([AC_LTDL_DLLIB], [])
  11424. -# AC_LTDL_SYMBOL_USCORE
  11425. -# ---------------------
  11426. +
  11427. +# LT_SYS_SYMBOL_USCORE
  11428. +# --------------------
  11429. # does the compiler prefix global symbols with an underscore?
  11430. -AC_DEFUN([AC_LTDL_SYMBOL_USCORE],
  11431. -[AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
  11432. +AC_DEFUN([LT_SYS_SYMBOL_USCORE],
  11433. +[m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  11434. AC_CACHE_CHECK([for _ prefix in compiled symbols],
  11435. - [ac_cv_sys_symbol_underscore],
  11436. - [ac_cv_sys_symbol_underscore=no
  11437. - cat > conftest.$ac_ext <<EOF
  11438. + [lt_cv_sys_symbol_underscore],
  11439. + [lt_cv_sys_symbol_underscore=no
  11440. + cat > conftest.$ac_ext <<_LT_EOF
  11441. void nm_test_func(){}
  11442. int main(){nm_test_func;return 0;}
  11443. -EOF
  11444. +_LT_EOF
  11445. if AC_TRY_EVAL(ac_compile); then
  11446. # Now try to grab the symbols.
  11447. ac_nlist=conftest.nm
  11448. if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
  11449. # See whether the symbols have a leading underscore.
  11450. if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
  11451. - ac_cv_sys_symbol_underscore=yes
  11452. + lt_cv_sys_symbol_underscore=yes
  11453. else
  11454. if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
  11455. :
  11456. else
  11457. - echo "configure: cannot find nm_test_func in $ac_nlist" >&AC_FD_CC
  11458. + echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
  11459. fi
  11460. fi
  11461. else
  11462. - echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC
  11463. + echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  11464. fi
  11465. else
  11466. - echo "configure: failed program was:" >&AC_FD_CC
  11467. - cat conftest.c >&AC_FD_CC
  11468. + echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
  11469. + cat conftest.c >&AS_MESSAGE_LOG_FD
  11470. fi
  11471. rm -rf conftest*
  11472. ])
  11473. -])# AC_LTDL_SYMBOL_USCORE
  11474. + sys_symbol_underscore=$lt_cv_sys_symbol_underscore
  11475. + AC_SUBST([sys_symbol_underscore])
  11476. +])# LT_SYS_SYMBOL_USCORE
  11477. +# Old name:
  11478. +AU_ALIAS([AC_LTDL_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE])
  11479. +dnl aclocal-1.4 backwards compatibility:
  11480. +dnl AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [])
  11481. -# AC_LTDL_DLSYM_USCORE
  11482. +
  11483. +# LT_FUNC_DLSYM_USCORE
  11484. # --------------------
  11485. -AC_DEFUN([AC_LTDL_DLSYM_USCORE],
  11486. -[AC_REQUIRE([AC_LTDL_SYMBOL_USCORE])
  11487. -if test x"$ac_cv_sys_symbol_underscore" = xyes; then
  11488. +AC_DEFUN([LT_FUNC_DLSYM_USCORE],
  11489. +[AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
  11490. +if test x"$lt_cv_sys_symbol_underscore" = xyes; then
  11491. if test x"$libltdl_cv_func_dlopen" = xyes ||
  11492. test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
  11493. AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
  11494. [libltdl_cv_need_uscore],
  11495. [libltdl_cv_need_uscore=unknown
  11496. save_LIBS="$LIBS"
  11497. - LIBS="$LIBS $LIBADD_DL"
  11498. - _LT_AC_TRY_DLOPEN_SELF(
  11499. + LIBS="$LIBS $LIBADD_DLOPEN"
  11500. + _LT_TRY_DLOPEN_SELF(
  11501. [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
  11502. [], [libltdl_cv_need_uscore=cross])
  11503. LIBS="$save_LIBS"
  11504. @@ -7059,25 +8179,618 @@
  11505. AC_DEFINE([NEED_USCORE], [1],
  11506. [Define if dlsym() requires a leading underscore in symbol names.])
  11507. fi
  11508. -])# AC_LTDL_DLSYM_USCORE
  11509. +])# LT_FUNC_DLSYM_USCORE
  11510. -# AC_LTDL_FUNC_ARGZ
  11511. -# -----------------
  11512. -AC_DEFUN([AC_LTDL_FUNC_ARGZ],
  11513. -[AC_CHECK_HEADERS([argz.h])
  11514. +# Old name:
  11515. +AU_ALIAS([AC_LTDL_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE])
  11516. +dnl aclocal-1.4 backwards compatibility:
  11517. +dnl AC_DEFUN([AC_LTDL_DLSYM_USCORE], [])
  11518. -AC_CHECK_TYPES([error_t],
  11519. - [],
  11520. - [AC_DEFINE([error_t], [int],
  11521. - [Define to a type to use for `error_t' if it is not otherwise available.])],
  11522. - [#if HAVE_ARGZ_H
  11523. -# include <argz.h>
  11524. -#endif])
  11525. +# Helper functions for option handling. -*- Autoconf -*-
  11526. +#
  11527. +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  11528. +# Written by Gary V. Vaughan, 2004
  11529. +#
  11530. +# This file is free software; the Free Software Foundation gives
  11531. +# unlimited permission to copy and/or distribute it, with or without
  11532. +# modifications, as long as this notice is preserved.
  11533. +
  11534. +# serial 6 ltoptions.m4
  11535. +
  11536. +# This is to help aclocal find these macros, as it can't see m4_define.
  11537. +AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
  11538. +
  11539. +
  11540. +# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
  11541. +# ------------------------------------------
  11542. +m4_define([_LT_MANGLE_OPTION],
  11543. +[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
  11544. +
  11545. +
  11546. +# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
  11547. +# ---------------------------------------
  11548. +# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
  11549. +# matching handler defined, dispatch to it. Other OPTION-NAMEs are
  11550. +# saved as a flag.
  11551. +m4_define([_LT_SET_OPTION],
  11552. +[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
  11553. +m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
  11554. + _LT_MANGLE_DEFUN([$1], [$2]),
  11555. + [m4_warning([Unknown $1 option `$2'])])[]dnl
  11556. +])
  11557. +
  11558. +
  11559. +# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
  11560. +# ------------------------------------------------------------
  11561. +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
  11562. +m4_define([_LT_IF_OPTION],
  11563. +[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
  11564. +
  11565. +
  11566. +# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
  11567. +# -------------------------------------------------------
  11568. +# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
  11569. +# are set.
  11570. +m4_define([_LT_UNLESS_OPTIONS],
  11571. +[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
  11572. + [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
  11573. + [m4_define([$0_found])])])[]dnl
  11574. +m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
  11575. +])[]dnl
  11576. +])
  11577. +
  11578. +
  11579. +# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
  11580. +# ----------------------------------------
  11581. +# OPTION-LIST is a space-separated list of Libtool options associated
  11582. +# with MACRO-NAME. If any OPTION has a matching handler declared with
  11583. +# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
  11584. +# the unknown option and exit.
  11585. +m4_defun([_LT_SET_OPTIONS],
  11586. +[# Set options
  11587. +m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
  11588. + [_LT_SET_OPTION([$1], _LT_Option)])
  11589. +
  11590. +m4_if([$1],[LT_INIT],[
  11591. + dnl
  11592. + dnl Simply set some default values (i.e off) if boolean options were not
  11593. + dnl specified:
  11594. + _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
  11595. + ])
  11596. + _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
  11597. + ])
  11598. + dnl
  11599. + dnl If no reference was made to various pairs of opposing options, then
  11600. + dnl we run the default mode handler for the pair. For example, if neither
  11601. + dnl `shared' nor `disable-shared' was passed, we enable building of shared
  11602. + dnl archives by default:
  11603. + _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
  11604. + _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
  11605. + _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
  11606. + _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
  11607. + [_LT_ENABLE_FAST_INSTALL])
  11608. + ])
  11609. +])# _LT_SET_OPTIONS
  11610. +
  11611. +
  11612. +
  11613. +# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
  11614. +# -----------------------------------------
  11615. +m4_define([_LT_MANGLE_DEFUN],
  11616. +[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
  11617. +
  11618. +
  11619. +# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
  11620. +# -----------------------------------------------
  11621. +m4_define([LT_OPTION_DEFINE],
  11622. +[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
  11623. +])# LT_OPTION_DEFINE
  11624. +
  11625. +
  11626. +# dlopen
  11627. +# ------
  11628. +LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
  11629. +])
  11630. +
  11631. +AU_DEFUN([AC_LIBTOOL_DLOPEN],
  11632. +[_LT_SET_OPTION([LT_INIT], [dlopen])
  11633. +AC_DIAGNOSE([obsolete],
  11634. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  11635. +put the `dlopen' option into LT_INIT's first parameter.])
  11636. +])
  11637. +
  11638. +dnl aclocal-1.4 backwards compatibility:
  11639. +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
  11640. +
  11641. +
  11642. +# win32-dll
  11643. +# ---------
  11644. +# Declare package support for building win32 dll's.
  11645. +LT_OPTION_DEFINE([LT_INIT], [win32-dll],
  11646. +[enable_win32_dll=yes
  11647. +
  11648. +case $host in
  11649. +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
  11650. + AC_CHECK_TOOL(AS, as, false)
  11651. + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  11652. + AC_CHECK_TOOL(OBJDUMP, objdump, false)
  11653. + ;;
  11654. +esac
  11655. +
  11656. +test -z "$AS" && AS=as
  11657. +_LT_DECL([], [AS], [0], [Assembler program])dnl
  11658. +
  11659. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  11660. +_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
  11661. +
  11662. +test -z "$OBJDUMP" && OBJDUMP=objdump
  11663. +_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
  11664. +])# win32-dll
  11665. +
  11666. +AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
  11667. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  11668. +_LT_SET_OPTION([LT_INIT], [win32-dll])
  11669. +AC_DIAGNOSE([obsolete],
  11670. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  11671. +put the `win32-dll' option into LT_INIT's first parameter.])
  11672. +])
  11673. +
  11674. +dnl aclocal-1.4 backwards compatibility:
  11675. +dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
  11676. +
  11677. +
  11678. +# _LT_ENABLE_SHARED([DEFAULT])
  11679. +# ----------------------------
  11680. +# implement the --enable-shared flag, and supports the `shared' and
  11681. +# `disable-shared' LT_INIT options.
  11682. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  11683. +m4_define([_LT_ENABLE_SHARED],
  11684. +[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
  11685. +AC_ARG_ENABLE([shared],
  11686. + [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
  11687. + [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
  11688. + [p=${PACKAGE-default}
  11689. + case $enableval in
  11690. + yes) enable_shared=yes ;;
  11691. + no) enable_shared=no ;;
  11692. + *)
  11693. + enable_shared=no
  11694. + # Look at the argument we got. We use all the common list separators.
  11695. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  11696. + for pkg in $enableval; do
  11697. + IFS="$lt_save_ifs"
  11698. + if test "X$pkg" = "X$p"; then
  11699. + enable_shared=yes
  11700. + fi
  11701. + done
  11702. + IFS="$lt_save_ifs"
  11703. + ;;
  11704. + esac],
  11705. + [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
  11706. +
  11707. + _LT_DECL([build_libtool_libs], [enable_shared], [0],
  11708. + [Whether or not to build shared libraries])
  11709. +])# _LT_ENABLE_SHARED
  11710. +
  11711. +LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
  11712. +LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
  11713. +
  11714. +# Old names:
  11715. +AC_DEFUN([AC_ENABLE_SHARED],
  11716. +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
  11717. +])
  11718. +
  11719. +AC_DEFUN([AC_DISABLE_SHARED],
  11720. +[_LT_SET_OPTION([LT_INIT], [disable-shared])
  11721. +])
  11722. +
  11723. +AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  11724. +AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  11725. +
  11726. +dnl aclocal-1.4 backwards compatibility:
  11727. +dnl AC_DEFUN([AM_ENABLE_SHARED], [])
  11728. +dnl AC_DEFUN([AM_DISABLE_SHARED], [])
  11729. +
  11730. +
  11731. +
  11732. +# _LT_ENABLE_STATIC([DEFAULT])
  11733. +# ----------------------------
  11734. +# implement the --enable-static flag, and support the `static' and
  11735. +# `disable-static' LT_INIT options.
  11736. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  11737. +m4_define([_LT_ENABLE_STATIC],
  11738. +[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
  11739. +AC_ARG_ENABLE([static],
  11740. + [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
  11741. + [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
  11742. + [p=${PACKAGE-default}
  11743. + case $enableval in
  11744. + yes) enable_static=yes ;;
  11745. + no) enable_static=no ;;
  11746. + *)
  11747. + enable_static=no
  11748. + # Look at the argument we got. We use all the common list separators.
  11749. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  11750. + for pkg in $enableval; do
  11751. + IFS="$lt_save_ifs"
  11752. + if test "X$pkg" = "X$p"; then
  11753. + enable_static=yes
  11754. + fi
  11755. + done
  11756. + IFS="$lt_save_ifs"
  11757. + ;;
  11758. + esac],
  11759. + [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
  11760. +
  11761. + _LT_DECL([build_old_libs], [enable_static], [0],
  11762. + [Whether or not to build static libraries])
  11763. +])# _LT_ENABLE_STATIC
  11764. +
  11765. +LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
  11766. +LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
  11767. +
  11768. +# Old names:
  11769. +AC_DEFUN([AC_ENABLE_STATIC],
  11770. +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
  11771. +])
  11772. +
  11773. +AC_DEFUN([AC_DISABLE_STATIC],
  11774. +[_LT_SET_OPTION([LT_INIT], [disable-static])
  11775. +])
  11776. +
  11777. +AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  11778. +AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  11779. +
  11780. +dnl aclocal-1.4 backwards compatibility:
  11781. +dnl AC_DEFUN([AM_ENABLE_STATIC], [])
  11782. +dnl AC_DEFUN([AM_DISABLE_STATIC], [])
  11783. -AC_CHECK_FUNCS([argz_append argz_create_sep argz_insert argz_next argz_stringify])
  11784. -])# AC_LTDL_FUNC_ARGZ
  11785. -# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
  11786. +
  11787. +# _LT_ENABLE_FAST_INSTALL([DEFAULT])
  11788. +# ----------------------------------
  11789. +# implement the --enable-fast-install flag, and support the `fast-install'
  11790. +# and `disable-fast-install' LT_INIT options.
  11791. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  11792. +m4_define([_LT_ENABLE_FAST_INSTALL],
  11793. +[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
  11794. +AC_ARG_ENABLE([fast-install],
  11795. + [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
  11796. + [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
  11797. + [p=${PACKAGE-default}
  11798. + case $enableval in
  11799. + yes) enable_fast_install=yes ;;
  11800. + no) enable_fast_install=no ;;
  11801. + *)
  11802. + enable_fast_install=no
  11803. + # Look at the argument we got. We use all the common list separators.
  11804. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  11805. + for pkg in $enableval; do
  11806. + IFS="$lt_save_ifs"
  11807. + if test "X$pkg" = "X$p"; then
  11808. + enable_fast_install=yes
  11809. + fi
  11810. + done
  11811. + IFS="$lt_save_ifs"
  11812. + ;;
  11813. + esac],
  11814. + [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
  11815. +
  11816. +_LT_DECL([fast_install], [enable_fast_install], [0],
  11817. + [Whether or not to optimize for fast installation])dnl
  11818. +])# _LT_ENABLE_FAST_INSTALL
  11819. +
  11820. +LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
  11821. +LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
  11822. +
  11823. +# Old names:
  11824. +AU_DEFUN([AC_ENABLE_FAST_INSTALL],
  11825. +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  11826. +AC_DIAGNOSE([obsolete],
  11827. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  11828. +the `fast-install' option into LT_INIT's first parameter.])
  11829. +])
  11830. +
  11831. +AU_DEFUN([AC_DISABLE_FAST_INSTALL],
  11832. +[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  11833. +AC_DIAGNOSE([obsolete],
  11834. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  11835. +the `disable-fast-install' option into LT_INIT's first parameter.])
  11836. +])
  11837. +
  11838. +dnl aclocal-1.4 backwards compatibility:
  11839. +dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
  11840. +dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
  11841. +
  11842. +
  11843. +# _LT_WITH_PIC([MODE])
  11844. +# --------------------
  11845. +# implement the --with-pic flag, and support the `pic-only' and `no-pic'
  11846. +# LT_INIT options.
  11847. +# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
  11848. +m4_define([_LT_WITH_PIC],
  11849. +[AC_ARG_WITH([pic],
  11850. + [AS_HELP_STRING([--with-pic],
  11851. + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
  11852. + [pic_mode="$withval"],
  11853. + [pic_mode=default])
  11854. +
  11855. +test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
  11856. +
  11857. +_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
  11858. +])# _LT_WITH_PIC
  11859. +
  11860. +LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
  11861. +LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
  11862. +
  11863. +# Old name:
  11864. +AU_DEFUN([AC_LIBTOOL_PICMODE],
  11865. +[_LT_SET_OPTION([LT_INIT], [pic-only])
  11866. +AC_DIAGNOSE([obsolete],
  11867. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  11868. +put the `pic-only' option into LT_INIT's first parameter.])
  11869. +])
  11870. +
  11871. +dnl aclocal-1.4 backwards compatibility:
  11872. +dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
  11873. +
  11874. +
  11875. +m4_define([_LTDL_MODE], [])
  11876. +LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
  11877. + [m4_define([_LTDL_MODE], [nonrecursive])])
  11878. +LT_OPTION_DEFINE([LTDL_INIT], [recursive],
  11879. + [m4_define([_LTDL_MODE], [recursive])])
  11880. +LT_OPTION_DEFINE([LTDL_INIT], [subproject],
  11881. + [m4_define([_LTDL_MODE], [subproject])])
  11882. +
  11883. +m4_define([_LTDL_TYPE], [])
  11884. +LT_OPTION_DEFINE([LTDL_INIT], [installable],
  11885. + [m4_define([_LTDL_TYPE], [installable])])
  11886. +LT_OPTION_DEFINE([LTDL_INIT], [convenience],
  11887. + [m4_define([_LTDL_TYPE], [convenience])])
  11888. +
  11889. +# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
  11890. +#
  11891. +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  11892. +# Written by Gary V. Vaughan, 2004
  11893. +#
  11894. +# This file is free software; the Free Software Foundation gives
  11895. +# unlimited permission to copy and/or distribute it, with or without
  11896. +# modifications, as long as this notice is preserved.
  11897. +
  11898. +# serial 6 ltsugar.m4
  11899. +
  11900. +# This is to help aclocal find these macros, as it can't see m4_define.
  11901. +AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
  11902. +
  11903. +
  11904. +# lt_join(SEP, ARG1, [ARG2...])
  11905. +# -----------------------------
  11906. +# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
  11907. +# associated separator.
  11908. +# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
  11909. +# versions in m4sugar had bugs.
  11910. +m4_define([lt_join],
  11911. +[m4_if([$#], [1], [],
  11912. + [$#], [2], [[$2]],
  11913. + [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
  11914. +m4_define([_lt_join],
  11915. +[m4_if([$#$2], [2], [],
  11916. + [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
  11917. +
  11918. +
  11919. +# lt_car(LIST)
  11920. +# lt_cdr(LIST)
  11921. +# ------------
  11922. +# Manipulate m4 lists.
  11923. +# These macros are necessary as long as will still need to support
  11924. +# Autoconf-2.59 which quotes differently.
  11925. +m4_define([lt_car], [[$1]])
  11926. +m4_define([lt_cdr],
  11927. +[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
  11928. + [$#], 1, [],
  11929. + [m4_dquote(m4_shift($@))])])
  11930. +m4_define([lt_unquote], $1)
  11931. +
  11932. +
  11933. +# lt_append(MACRO-NAME, STRING, [SEPARATOR])
  11934. +# ------------------------------------------
  11935. +# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
  11936. +# Note that neither SEPARATOR nor STRING are expanded; they are appended
  11937. +# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
  11938. +# No SEPARATOR is output if MACRO-NAME was previously undefined (different
  11939. +# than defined and empty).
  11940. +#
  11941. +# This macro is needed until we can rely on Autoconf 2.62, since earlier
  11942. +# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
  11943. +m4_define([lt_append],
  11944. +[m4_define([$1],
  11945. + m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
  11946. +
  11947. +
  11948. +
  11949. +# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
  11950. +# ----------------------------------------------------------
  11951. +# Produce a SEP delimited list of all paired combinations of elements of
  11952. +# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
  11953. +# has the form PREFIXmINFIXSUFFIXn.
  11954. +# Needed until we can rely on m4_combine added in Autoconf 2.62.
  11955. +m4_define([lt_combine],
  11956. +[m4_if(m4_eval([$# > 3]), [1],
  11957. + [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
  11958. +[[m4_foreach([_Lt_prefix], [$2],
  11959. + [m4_foreach([_Lt_suffix],
  11960. + ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
  11961. + [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
  11962. +
  11963. +
  11964. +# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
  11965. +# -----------------------------------------------------------------------
  11966. +# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
  11967. +# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
  11968. +m4_define([lt_if_append_uniq],
  11969. +[m4_ifdef([$1],
  11970. + [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
  11971. + [lt_append([$1], [$2], [$3])$4],
  11972. + [$5])],
  11973. + [lt_append([$1], [$2], [$3])$4])])
  11974. +
  11975. +
  11976. +# lt_dict_add(DICT, KEY, VALUE)
  11977. +# -----------------------------
  11978. +m4_define([lt_dict_add],
  11979. +[m4_define([$1($2)], [$3])])
  11980. +
  11981. +
  11982. +# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
  11983. +# --------------------------------------------
  11984. +m4_define([lt_dict_add_subkey],
  11985. +[m4_define([$1($2:$3)], [$4])])
  11986. +
  11987. +
  11988. +# lt_dict_fetch(DICT, KEY, [SUBKEY])
  11989. +# ----------------------------------
  11990. +m4_define([lt_dict_fetch],
  11991. +[m4_ifval([$3],
  11992. + m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
  11993. + m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
  11994. +
  11995. +
  11996. +# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
  11997. +# -----------------------------------------------------------------
  11998. +m4_define([lt_if_dict_fetch],
  11999. +[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
  12000. + [$5],
  12001. + [$6])])
  12002. +
  12003. +
  12004. +# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
  12005. +# --------------------------------------------------------------
  12006. +m4_define([lt_dict_filter],
  12007. +[m4_if([$5], [], [],
  12008. + [lt_join(m4_quote(m4_default([$4], [[, ]])),
  12009. + lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
  12010. + [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
  12011. +])
  12012. +
  12013. +# ltversion.m4 -- version numbers -*- Autoconf -*-
  12014. +#
  12015. +# Copyright (C) 2004 Free Software Foundation, Inc.
  12016. +# Written by Scott James Remnant, 2004
  12017. +#
  12018. +# This file is free software; the Free Software Foundation gives
  12019. +# unlimited permission to copy and/or distribute it, with or without
  12020. +# modifications, as long as this notice is preserved.
  12021. +
  12022. +# Generated from ltversion.in.
  12023. +
  12024. +# serial 3017 ltversion.m4
  12025. +# This file is part of GNU Libtool
  12026. +
  12027. +m4_define([LT_PACKAGE_VERSION], [2.2.6b])
  12028. +m4_define([LT_PACKAGE_REVISION], [1.3017])
  12029. +
  12030. +AC_DEFUN([LTVERSION_VERSION],
  12031. +[macro_version='2.2.6b'
  12032. +macro_revision='1.3017'
  12033. +_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
  12034. +_LT_DECL(, macro_revision, 0)
  12035. +])
  12036. +
  12037. +# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
  12038. +#
  12039. +# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
  12040. +# Written by Scott James Remnant, 2004.
  12041. +#
  12042. +# This file is free software; the Free Software Foundation gives
  12043. +# unlimited permission to copy and/or distribute it, with or without
  12044. +# modifications, as long as this notice is preserved.
  12045. +
  12046. +# serial 4 lt~obsolete.m4
  12047. +
  12048. +# These exist entirely to fool aclocal when bootstrapping libtool.
  12049. +#
  12050. +# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
  12051. +# which have later been changed to m4_define as they aren't part of the
  12052. +# exported API, or moved to Autoconf or Automake where they belong.
  12053. +#
  12054. +# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
  12055. +# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
  12056. +# using a macro with the same name in our local m4/libtool.m4 it'll
  12057. +# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
  12058. +# and doesn't know about Autoconf macros at all.)
  12059. +#
  12060. +# So we provide this file, which has a silly filename so it's always
  12061. +# included after everything else. This provides aclocal with the
  12062. +# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
  12063. +# because those macros already exist, or will be overwritten later.
  12064. +# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
  12065. +#
  12066. +# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
  12067. +# Yes, that means every name once taken will need to remain here until
  12068. +# we give up compatibility with versions before 1.7, at which point
  12069. +# we need to keep only those names which we still refer to.
  12070. +
  12071. +# This is to help aclocal find these macros, as it can't see m4_define.
  12072. +AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
  12073. +
  12074. +m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
  12075. +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
  12076. +m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
  12077. +m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
  12078. +m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
  12079. +m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
  12080. +m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
  12081. +m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
  12082. +m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
  12083. +m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
  12084. +m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
  12085. +m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
  12086. +m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
  12087. +m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
  12088. +m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
  12089. +m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
  12090. +m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
  12091. +m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
  12092. +m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
  12093. +m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
  12094. +m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
  12095. +m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
  12096. +m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
  12097. +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
  12098. +m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
  12099. +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
  12100. +m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
  12101. +m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
  12102. +m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
  12103. +m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
  12104. +m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
  12105. +m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
  12106. +m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
  12107. +m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
  12108. +m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
  12109. +m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
  12110. +m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
  12111. +m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
  12112. +m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
  12113. +m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
  12114. +m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
  12115. +m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
  12116. +m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
  12117. +m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
  12118. +m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
  12119. +m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
  12120. +m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
  12121. +m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
  12122. +m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
  12123. +m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
  12124. +m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
  12125. +m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
  12126. +m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
  12127. +m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
  12128. +m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
  12129. +
  12130. +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  12131. #
  12132. # This file is free software; the Free Software Foundation
  12133. # gives unlimited permission to copy and/or distribute it,
  12134. @@ -7089,10 +8802,10 @@
  12135. # generated from the m4 files accompanying Automake X.Y.
  12136. # (This private macro should not be called outside this file.)
  12137. AC_DEFUN([AM_AUTOMAKE_VERSION],
  12138. -[am__api_version='1.10'
  12139. +[am__api_version='1.11'
  12140. dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  12141. dnl require some minimum version. Point them to the right macro.
  12142. -m4_if([$1], [1.10.1], [],
  12143. +m4_if([$1], [1.11.1], [],
  12144. [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  12145. ])
  12146. @@ -7106,12 +8819,12 @@
  12147. # AM_SET_CURRENT_AUTOMAKE_VERSION
  12148. # -------------------------------
  12149. # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  12150. -# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
  12151. +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  12152. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  12153. -[AM_AUTOMAKE_VERSION([1.10.1])dnl
  12154. +[AM_AUTOMAKE_VERSION([1.11.1])dnl
  12155. m4_ifndef([AC_AUTOCONF_VERSION],
  12156. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  12157. -_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
  12158. +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  12159. # AM_AUX_DIR_EXPAND -*- Autoconf -*-
  12160. @@ -7168,14 +8881,14 @@
  12161. # AM_CONDITIONAL -*- Autoconf -*-
  12162. -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
  12163. +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
  12164. # Free Software Foundation, Inc.
  12165. #
  12166. # This file is free software; the Free Software Foundation
  12167. # gives unlimited permission to copy and/or distribute it,
  12168. # with or without modifications, as long as this notice is preserved.
  12169. -# serial 8
  12170. +# serial 9
  12171. # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  12172. # -------------------------------------
  12173. @@ -7188,6 +8901,7 @@
  12174. AC_SUBST([$1_FALSE])dnl
  12175. _AM_SUBST_NOTMAKE([$1_TRUE])dnl
  12176. _AM_SUBST_NOTMAKE([$1_FALSE])dnl
  12177. +m4_define([_AM_COND_VALUE_$1], [$2])dnl
  12178. if $2; then
  12179. $1_TRUE=
  12180. $1_FALSE='#'
  12181. @@ -7201,14 +8915,14 @@
  12182. Usually this means the macro was only invoked conditionally.]])
  12183. fi])])
  12184. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
  12185. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
  12186. # Free Software Foundation, Inc.
  12187. #
  12188. # This file is free software; the Free Software Foundation
  12189. # gives unlimited permission to copy and/or distribute it,
  12190. # with or without modifications, as long as this notice is preserved.
  12191. -# serial 9
  12192. +# serial 10
  12193. # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
  12194. # written in clear, in which case automake, when reading aclocal.m4,
  12195. @@ -7265,6 +8979,16 @@
  12196. if test "$am_compiler_list" = ""; then
  12197. am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  12198. fi
  12199. + am__universal=false
  12200. + m4_case([$1], [CC],
  12201. + [case " $depcc " in #(
  12202. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  12203. + esac],
  12204. + [CXX],
  12205. + [case " $depcc " in #(
  12206. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  12207. + esac])
  12208. +
  12209. for depmode in $am_compiler_list; do
  12210. # Setup a source with many dependencies, because some compilers
  12211. # like to wrap large dependency lists on column 80 (with \), and
  12212. @@ -7282,7 +9006,17 @@
  12213. done
  12214. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  12215. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  12216. + # mode. It turns out that the SunPro C++ compiler does not properly
  12217. + # handle `-M -o', and we need to detect this. Also, some Intel
  12218. + # versions had trouble with output in subdirs
  12219. + am__obj=sub/conftest.${OBJEXT-o}
  12220. + am__minus_obj="-o $am__obj"
  12221. case $depmode in
  12222. + gcc)
  12223. + # This depmode causes a compiler race in universal mode.
  12224. + test "$am__universal" = false || continue
  12225. + ;;
  12226. nosideeffect)
  12227. # after this tag, mechanisms are not by side-effect, so they'll
  12228. # only be used when explicitly requested
  12229. @@ -7292,19 +9026,23 @@
  12230. break
  12231. fi
  12232. ;;
  12233. + msvisualcpp | msvcmsys)
  12234. + # This compiler won't grok `-c -o', but also, the minuso test has
  12235. + # not run yet. These depmodes are late enough in the game, and
  12236. + # so weak that their functioning should not be impacted.
  12237. + am__obj=conftest.${OBJEXT-o}
  12238. + am__minus_obj=
  12239. + ;;
  12240. none) break ;;
  12241. esac
  12242. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  12243. - # mode. It turns out that the SunPro C++ compiler does not properly
  12244. - # handle `-M -o', and we need to detect this.
  12245. if depmode=$depmode \
  12246. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  12247. + source=sub/conftest.c object=$am__obj \
  12248. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  12249. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  12250. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  12251. >/dev/null 2>conftest.err &&
  12252. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  12253. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  12254. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  12255. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  12256. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  12257. # icc doesn't choke on unknown options, it will just issue warnings
  12258. # or remarks (even with -Werror). So we grep stderr for any message
  12259. @@ -7361,57 +9099,68 @@
  12260. # Generate code to set up dependency tracking. -*- Autoconf -*-
  12261. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
  12262. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
  12263. # Free Software Foundation, Inc.
  12264. #
  12265. # This file is free software; the Free Software Foundation
  12266. # gives unlimited permission to copy and/or distribute it,
  12267. # with or without modifications, as long as this notice is preserved.
  12268. -#serial 3
  12269. +#serial 5
  12270. # _AM_OUTPUT_DEPENDENCY_COMMANDS
  12271. # ------------------------------
  12272. AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
  12273. -[for mf in $CONFIG_FILES; do
  12274. - # Strip MF so we end up with the name of the file.
  12275. - mf=`echo "$mf" | sed -e 's/:.*$//'`
  12276. - # Check whether this is an Automake generated Makefile or not.
  12277. - # We used to match only the files named `Makefile.in', but
  12278. - # some people rename them; so instead we look at the file content.
  12279. - # Grep'ing the first line is not enough: some people post-process
  12280. - # each Makefile.in and add a new line on top of each file to say so.
  12281. - # Grep'ing the whole file is not good either: AIX grep has a line
  12282. - # limit of 2048, but all sed's we know have understand at least 4000.
  12283. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  12284. - dirpart=`AS_DIRNAME("$mf")`
  12285. - else
  12286. - continue
  12287. - fi
  12288. - # Extract the definition of DEPDIR, am__include, and am__quote
  12289. - # from the Makefile without running `make'.
  12290. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  12291. - test -z "$DEPDIR" && continue
  12292. - am__include=`sed -n 's/^am__include = //p' < "$mf"`
  12293. - test -z "am__include" && continue
  12294. - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  12295. - # When using ansi2knr, U may be empty or an underscore; expand it
  12296. - U=`sed -n 's/^U = //p' < "$mf"`
  12297. - # Find all dependency output files, they are included files with
  12298. - # $(DEPDIR) in their names. We invoke sed twice because it is the
  12299. - # simplest approach to changing $(DEPDIR) to its actual value in the
  12300. - # expansion.
  12301. - for file in `sed -n "
  12302. - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  12303. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  12304. - # Make sure the directory exists.
  12305. - test -f "$dirpart/$file" && continue
  12306. - fdir=`AS_DIRNAME(["$file"])`
  12307. - AS_MKDIR_P([$dirpart/$fdir])
  12308. - # echo "creating $dirpart/$file"
  12309. - echo '# dummy' > "$dirpart/$file"
  12310. +[{
  12311. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  12312. + # are listed without --file. Let's play safe and only enable the eval
  12313. + # if we detect the quoting.
  12314. + case $CONFIG_FILES in
  12315. + *\'*) eval set x "$CONFIG_FILES" ;;
  12316. + *) set x $CONFIG_FILES ;;
  12317. + esac
  12318. + shift
  12319. + for mf
  12320. + do
  12321. + # Strip MF so we end up with the name of the file.
  12322. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  12323. + # Check whether this is an Automake generated Makefile or not.
  12324. + # We used to match only the files named `Makefile.in', but
  12325. + # some people rename them; so instead we look at the file content.
  12326. + # Grep'ing the first line is not enough: some people post-process
  12327. + # each Makefile.in and add a new line on top of each file to say so.
  12328. + # Grep'ing the whole file is not good either: AIX grep has a line
  12329. + # limit of 2048, but all sed's we know have understand at least 4000.
  12330. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  12331. + dirpart=`AS_DIRNAME("$mf")`
  12332. + else
  12333. + continue
  12334. + fi
  12335. + # Extract the definition of DEPDIR, am__include, and am__quote
  12336. + # from the Makefile without running `make'.
  12337. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  12338. + test -z "$DEPDIR" && continue
  12339. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  12340. + test -z "am__include" && continue
  12341. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  12342. + # When using ansi2knr, U may be empty or an underscore; expand it
  12343. + U=`sed -n 's/^U = //p' < "$mf"`
  12344. + # Find all dependency output files, they are included files with
  12345. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  12346. + # simplest approach to changing $(DEPDIR) to its actual value in the
  12347. + # expansion.
  12348. + for file in `sed -n "
  12349. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  12350. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  12351. + # Make sure the directory exists.
  12352. + test -f "$dirpart/$file" && continue
  12353. + fdir=`AS_DIRNAME(["$file"])`
  12354. + AS_MKDIR_P([$dirpart/$fdir])
  12355. + # echo "creating $dirpart/$file"
  12356. + echo '# dummy' > "$dirpart/$file"
  12357. + done
  12358. done
  12359. -done
  12360. +}
  12361. ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
  12362. @@ -7443,13 +9192,13 @@
  12363. # Do all the work for Automake. -*- Autoconf -*-
  12364. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  12365. -# 2005, 2006, 2008 Free Software Foundation, Inc.
  12366. +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
  12367. #
  12368. # This file is free software; the Free Software Foundation
  12369. # gives unlimited permission to copy and/or distribute it,
  12370. # with or without modifications, as long as this notice is preserved.
  12371. -# serial 13
  12372. +# serial 16
  12373. # This macro actually does too much. Some checks are only needed if
  12374. # your package does certain things. But this isn't really a big deal.
  12375. @@ -7466,7 +9215,7 @@
  12376. # arguments mandatory, and then we can depend on a new Autoconf
  12377. # release and drop the old call support.
  12378. AC_DEFUN([AM_INIT_AUTOMAKE],
  12379. -[AC_PREREQ([2.60])dnl
  12380. +[AC_PREREQ([2.62])dnl
  12381. dnl Autoconf wants to disallow AM_ names. We explicitly allow
  12382. dnl the ones we care about.
  12383. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  12384. @@ -7517,8 +9266,8 @@
  12385. AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  12386. AM_MISSING_PROG(AUTOHEADER, autoheader)
  12387. AM_MISSING_PROG(MAKEINFO, makeinfo)
  12388. -AM_PROG_INSTALL_SH
  12389. -AM_PROG_INSTALL_STRIP
  12390. +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  12391. +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  12392. AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  12393. # We need awk for the "check" target. The system "awk" is bad on
  12394. # some platforms.
  12395. @@ -7526,24 +9275,37 @@
  12396. AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  12397. AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  12398. _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  12399. - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  12400. - [_AM_PROG_TAR([v7])])])
  12401. + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  12402. + [_AM_PROG_TAR([v7])])])
  12403. _AM_IF_OPTION([no-dependencies],,
  12404. [AC_PROVIDE_IFELSE([AC_PROG_CC],
  12405. - [_AM_DEPENDENCIES(CC)],
  12406. - [define([AC_PROG_CC],
  12407. - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  12408. + [_AM_DEPENDENCIES(CC)],
  12409. + [define([AC_PROG_CC],
  12410. + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  12411. AC_PROVIDE_IFELSE([AC_PROG_CXX],
  12412. - [_AM_DEPENDENCIES(CXX)],
  12413. - [define([AC_PROG_CXX],
  12414. - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  12415. + [_AM_DEPENDENCIES(CXX)],
  12416. + [define([AC_PROG_CXX],
  12417. + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  12418. AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  12419. - [_AM_DEPENDENCIES(OBJC)],
  12420. - [define([AC_PROG_OBJC],
  12421. - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  12422. + [_AM_DEPENDENCIES(OBJC)],
  12423. + [define([AC_PROG_OBJC],
  12424. + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  12425. ])
  12426. +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
  12427. +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
  12428. +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  12429. +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  12430. +AC_CONFIG_COMMANDS_PRE(dnl
  12431. +[m4_provide_if([_AM_COMPILER_EXEEXT],
  12432. + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  12433. ])
  12434. +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  12435. +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
  12436. +dnl mangled by Autoconf and run in a shell conditional statement.
  12437. +m4_define([_AC_COMPILER_EXEEXT],
  12438. +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
  12439. +
  12440. # When config.status generates a header, we must update the stamp-h file.
  12441. # This file resides in the same directory as the config header
  12442. @@ -7566,7 +9328,7 @@
  12443. done
  12444. echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  12445. -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  12446. +# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
  12447. #
  12448. # This file is free software; the Free Software Foundation
  12449. # gives unlimited permission to copy and/or distribute it,
  12450. @@ -7577,7 +9339,14 @@
  12451. # Define $install_sh.
  12452. AC_DEFUN([AM_PROG_INSTALL_SH],
  12453. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  12454. -install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
  12455. +if test x"${install_sh}" != xset; then
  12456. + case $am_aux_dir in
  12457. + *\ * | *\ *)
  12458. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  12459. + *)
  12460. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  12461. + esac
  12462. +fi
  12463. AC_SUBST(install_sh)])
  12464. # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
  12465. @@ -7604,27 +9373,38 @@
  12466. # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
  12467. # From Jim Meyering
  12468. -# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
  12469. +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
  12470. # Free Software Foundation, Inc.
  12471. #
  12472. # This file is free software; the Free Software Foundation
  12473. # gives unlimited permission to copy and/or distribute it,
  12474. # with or without modifications, as long as this notice is preserved.
  12475. -# serial 4
  12476. +# serial 5
  12477. +# AM_MAINTAINER_MODE([DEFAULT-MODE])
  12478. +# ----------------------------------
  12479. +# Control maintainer-specific portions of Makefiles.
  12480. +# Default is to disable them, unless `enable' is passed literally.
  12481. +# For symmetry, `disable' may be passed as well. Anyway, the user
  12482. +# can override the default with the --enable/--disable switch.
  12483. AC_DEFUN([AM_MAINTAINER_MODE],
  12484. -[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
  12485. - dnl maintainer-mode is disabled by default
  12486. - AC_ARG_ENABLE(maintainer-mode,
  12487. -[ --enable-maintainer-mode enable make rules and dependencies not useful
  12488. +[m4_case(m4_default([$1], [disable]),
  12489. + [enable], [m4_define([am_maintainer_other], [disable])],
  12490. + [disable], [m4_define([am_maintainer_other], [enable])],
  12491. + [m4_define([am_maintainer_other], [enable])
  12492. + m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
  12493. +AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
  12494. + dnl maintainer-mode's default is 'disable' unless 'enable' is passed
  12495. + AC_ARG_ENABLE([maintainer-mode],
  12496. +[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
  12497. (and sometimes confusing) to the casual installer],
  12498. - USE_MAINTAINER_MODE=$enableval,
  12499. - USE_MAINTAINER_MODE=no)
  12500. + [USE_MAINTAINER_MODE=$enableval],
  12501. + [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
  12502. AC_MSG_RESULT([$USE_MAINTAINER_MODE])
  12503. - AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
  12504. + AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
  12505. MAINT=$MAINTAINER_MODE_TRUE
  12506. - AC_SUBST(MAINT)dnl
  12507. + AC_SUBST([MAINT])dnl
  12508. ]
  12509. )
  12510. @@ -7632,13 +9412,13 @@
  12511. # Check to see how 'make' treats includes. -*- Autoconf -*-
  12512. -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
  12513. +# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
  12514. #
  12515. # This file is free software; the Free Software Foundation
  12516. # gives unlimited permission to copy and/or distribute it,
  12517. # with or without modifications, as long as this notice is preserved.
  12518. -# serial 3
  12519. +# serial 4
  12520. # AM_MAKE_INCLUDE()
  12521. # -----------------
  12522. @@ -7647,7 +9427,7 @@
  12523. [am_make=${MAKE-make}
  12524. cat > confinc << 'END'
  12525. am__doit:
  12526. - @echo done
  12527. + @echo this is the am__doit target
  12528. .PHONY: am__doit
  12529. END
  12530. # If we don't find an include directive, just comment out the code.
  12531. @@ -7657,24 +9437,24 @@
  12532. _am_result=none
  12533. # First try GNU make style include.
  12534. echo "include confinc" > confmf
  12535. -# We grep out `Entering directory' and `Leaving directory'
  12536. -# messages which can occur if `w' ends up in MAKEFLAGS.
  12537. -# In particular we don't look at `^make:' because GNU make might
  12538. -# be invoked under some other name (usually "gmake"), in which
  12539. -# case it prints its new name instead of `make'.
  12540. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  12541. - am__include=include
  12542. - am__quote=
  12543. - _am_result=GNU
  12544. -fi
  12545. +# Ignore all kinds of additional output from `make'.
  12546. +case `$am_make -s -f confmf 2> /dev/null` in #(
  12547. +*the\ am__doit\ target*)
  12548. + am__include=include
  12549. + am__quote=
  12550. + _am_result=GNU
  12551. + ;;
  12552. +esac
  12553. # Now try BSD make style include.
  12554. if test "$am__include" = "#"; then
  12555. echo '.include "confinc"' > confmf
  12556. - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  12557. - am__include=.include
  12558. - am__quote="\""
  12559. - _am_result=BSD
  12560. - fi
  12561. + case `$am_make -s -f confmf 2> /dev/null` in #(
  12562. + *the\ am__doit\ target*)
  12563. + am__include=.include
  12564. + am__quote="\""
  12565. + _am_result=BSD
  12566. + ;;
  12567. + esac
  12568. fi
  12569. AC_SUBST([am__include])
  12570. AC_SUBST([am__quote])
  12571. @@ -7682,14 +9462,14 @@
  12572. rm -f confinc confmf
  12573. ])
  12574. -# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005
  12575. +# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
  12576. # Free Software Foundation, Inc.
  12577. #
  12578. # This file is free software; the Free Software Foundation
  12579. # gives unlimited permission to copy and/or distribute it,
  12580. # with or without modifications, as long as this notice is preserved.
  12581. -# serial 5
  12582. +# serial 6
  12583. # AM_PROG_CC_C_O
  12584. # --------------
  12585. @@ -7701,8 +9481,9 @@
  12586. # FIXME: we rely on the cache variable name because
  12587. # there is no other way.
  12588. set dummy $CC
  12589. -ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
  12590. -if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
  12591. +am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
  12592. +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
  12593. +if test "$am_t" != yes; then
  12594. # Losing compiler, so override with the script.
  12595. # FIXME: It is wrong to rewrite CC.
  12596. # But if we don't then we get into trouble of one sort or another.
  12597. @@ -7718,14 +9499,14 @@
  12598. # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
  12599. -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
  12600. +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
  12601. # Free Software Foundation, Inc.
  12602. #
  12603. # This file is free software; the Free Software Foundation
  12604. # gives unlimited permission to copy and/or distribute it,
  12605. # with or without modifications, as long as this notice is preserved.
  12606. -# serial 5
  12607. +# serial 6
  12608. # AM_MISSING_PROG(NAME, PROGRAM)
  12609. # ------------------------------
  12610. @@ -7742,7 +9523,14 @@
  12611. AC_DEFUN([AM_MISSING_HAS_RUN],
  12612. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  12613. AC_REQUIRE_AUX_FILE([missing])dnl
  12614. -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  12615. +if test x"${MISSING+set}" != xset; then
  12616. + case $am_aux_dir in
  12617. + *\ * | *\ *)
  12618. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  12619. + *)
  12620. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  12621. + esac
  12622. +fi
  12623. # Use eval to expand $SHELL
  12624. if eval "$MISSING --run true"; then
  12625. am_missing_run="$MISSING --run "
  12626. @@ -7780,13 +9568,13 @@
  12627. # Helper functions for option handling. -*- Autoconf -*-
  12628. -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
  12629. +# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
  12630. #
  12631. # This file is free software; the Free Software Foundation
  12632. # gives unlimited permission to copy and/or distribute it,
  12633. # with or without modifications, as long as this notice is preserved.
  12634. -# serial 3
  12635. +# serial 4
  12636. # _AM_MANGLE_OPTION(NAME)
  12637. # -----------------------
  12638. @@ -7803,7 +9591,7 @@
  12639. # ----------------------------------
  12640. # OPTIONS is a space-separated list of Automake options.
  12641. AC_DEFUN([_AM_SET_OPTIONS],
  12642. -[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  12643. +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  12644. # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
  12645. # -------------------------------------------
  12646. @@ -7830,14 +9618,14 @@
  12647. # Check to make sure that the build environment is sane. -*- Autoconf -*-
  12648. -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
  12649. +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
  12650. # Free Software Foundation, Inc.
  12651. #
  12652. # This file is free software; the Free Software Foundation
  12653. # gives unlimited permission to copy and/or distribute it,
  12654. # with or without modifications, as long as this notice is preserved.
  12655. -# serial 4
  12656. +# serial 5
  12657. # AM_SANITY_CHECK
  12658. # ---------------
  12659. @@ -7846,16 +9634,29 @@
  12660. # Just in case
  12661. sleep 1
  12662. echo timestamp > conftest.file
  12663. +# Reject unsafe characters in $srcdir or the absolute working directory
  12664. +# name. Accept space and tab only in the latter.
  12665. +am_lf='
  12666. +'
  12667. +case `pwd` in
  12668. + *[[\\\"\#\$\&\'\`$am_lf]]*)
  12669. + AC_MSG_ERROR([unsafe absolute working directory name]);;
  12670. +esac
  12671. +case $srcdir in
  12672. + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  12673. + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  12674. +esac
  12675. +
  12676. # Do `set' in a subshell so we don't clobber the current shell's
  12677. # arguments. Must try -L first in case configure is actually a
  12678. # symlink; some systems play weird games with the mod time of symlinks
  12679. # (eg FreeBSD returns the mod time of the symlink's containing
  12680. # directory).
  12681. if (
  12682. - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  12683. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  12684. if test "$[*]" = "X"; then
  12685. # -L didn't work.
  12686. - set X `ls -t $srcdir/configure conftest.file`
  12687. + set X `ls -t "$srcdir/configure" conftest.file`
  12688. fi
  12689. rm -f conftest.file
  12690. if test "$[*]" != "X $srcdir/configure conftest.file" \
  12691. @@ -7908,18 +9709,25 @@
  12692. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  12693. AC_SUBST([INSTALL_STRIP_PROGRAM])])
  12694. -# Copyright (C) 2006 Free Software Foundation, Inc.
  12695. +# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
  12696. #
  12697. # This file is free software; the Free Software Foundation
  12698. # gives unlimited permission to copy and/or distribute it,
  12699. # with or without modifications, as long as this notice is preserved.
  12700. +# serial 2
  12701. +
  12702. # _AM_SUBST_NOTMAKE(VARIABLE)
  12703. # ---------------------------
  12704. # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
  12705. # This macro is traced by Automake.
  12706. AC_DEFUN([_AM_SUBST_NOTMAKE])
  12707. +# AM_SUBST_NOTMAKE(VARIABLE)
  12708. +# ---------------------------
  12709. +# Public sister of _AM_SUBST_NOTMAKE.
  12710. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  12711. +
  12712. # Check how to create a tarball. -*- Autoconf -*-
  12713. # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
  12714. diff -Nur squid-3.0.STABLE20.orig/cfgaux/compile squid-3.0.STABLE20/cfgaux/compile
  12715. --- squid-3.0.STABLE20.orig/cfgaux/compile 2009-10-29 11:05:32.000000000 +0100
  12716. +++ squid-3.0.STABLE20/cfgaux/compile 2010-02-19 00:39:14.388856949 +0100
  12717. @@ -1,9 +1,10 @@
  12718. #! /bin/sh
  12719. # Wrapper for compilers which do not understand `-c -o'.
  12720. -scriptversion=2005-05-14.22
  12721. +scriptversion=2009-10-06.20; # UTC
  12722. -# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
  12723. +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software
  12724. +# Foundation, Inc.
  12725. # Written by Tom Tromey <tromey@cygnus.com>.
  12726. #
  12727. # This program is free software; you can redistribute it and/or modify
  12728. @@ -17,8 +18,7 @@
  12729. # GNU General Public License for more details.
  12730. #
  12731. # You should have received a copy of the GNU General Public License
  12732. -# along with this program; if not, write to the Free Software
  12733. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  12734. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  12735. # As a special exception to the GNU General Public License, if you
  12736. # distribute this file as part of a program that contains a
  12737. @@ -103,13 +103,13 @@
  12738. fi
  12739. # Name of file we expect compiler to create.
  12740. -cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
  12741. +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
  12742. # Create the lock directory.
  12743. -# Note: use `[/.-]' here to ensure that we don't use the same name
  12744. +# Note: use `[/\\:.-]' here to ensure that we don't use the same name
  12745. # that we are using for the .o file. Also, base the name on the expected
  12746. # object file name, since that is what matters with a parallel build.
  12747. -lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
  12748. +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
  12749. while true; do
  12750. if mkdir "$lockdir" >/dev/null 2>&1; then
  12751. break
  12752. @@ -124,9 +124,9 @@
  12753. ret=$?
  12754. if test -f "$cofile"; then
  12755. - mv "$cofile" "$ofile"
  12756. + test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
  12757. elif test -f "${cofile}bj"; then
  12758. - mv "${cofile}bj" "$ofile"
  12759. + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
  12760. fi
  12761. rmdir "$lockdir"
  12762. @@ -138,5 +138,6 @@
  12763. # eval: (add-hook 'write-file-hooks 'time-stamp)
  12764. # time-stamp-start: "scriptversion="
  12765. # time-stamp-format: "%:y-%02m-%02d.%02H"
  12766. -# time-stamp-end: "$"
  12767. +# time-stamp-time-zone: "UTC"
  12768. +# time-stamp-end: "; # UTC"
  12769. # End:
  12770. diff -Nur squid-3.0.STABLE20.orig/cfgaux/config.guess squid-3.0.STABLE20/cfgaux/config.guess
  12771. --- squid-3.0.STABLE20.orig/cfgaux/config.guess 2009-10-29 11:05:32.000000000 +0100
  12772. +++ squid-3.0.STABLE20/cfgaux/config.guess 2010-02-19 00:39:14.392856900 +0100
  12773. @@ -1,9 +1,10 @@
  12774. #! /bin/sh
  12775. # Attempt to guess a canonical system name.
  12776. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
  12777. -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
  12778. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
  12779. +# Free Software Foundation, Inc.
  12780. -timestamp='2003-07-02'
  12781. +timestamp='2009-06-10'
  12782. # This file is free software; you can redistribute it and/or modify it
  12783. # under the terms of the GNU General Public License as published by
  12784. @@ -17,13 +18,15 @@
  12785. #
  12786. # You should have received a copy of the GNU General Public License
  12787. # along with this program; if not, write to the Free Software
  12788. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  12789. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
  12790. +# 02110-1301, USA.
  12791. #
  12792. # As a special exception to the GNU General Public License, if you
  12793. # distribute this file as part of a program that contains a
  12794. # configuration script generated by Autoconf, you may include it under
  12795. # the same distribution terms that you use for the rest of that program.
  12796. +
  12797. # Originally written by Per Bothner <per@bothner.com>.
  12798. # Please send patches to <config-patches@gnu.org>. Submit a context
  12799. # diff and a properly formatted ChangeLog entry.
  12800. @@ -53,8 +56,8 @@
  12801. GNU config.guess ($timestamp)
  12802. Originally written by Per Bothner.
  12803. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
  12804. -Free Software Foundation, Inc.
  12805. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
  12806. +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  12807. This is free software; see the source for copying conditions. There is NO
  12808. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  12809. @@ -66,11 +69,11 @@
  12810. while test $# -gt 0 ; do
  12811. case $1 in
  12812. --time-stamp | --time* | -t )
  12813. - echo "$timestamp" ; exit 0 ;;
  12814. + echo "$timestamp" ; exit ;;
  12815. --version | -v )
  12816. - echo "$version" ; exit 0 ;;
  12817. + echo "$version" ; exit ;;
  12818. --help | --h* | -h )
  12819. - echo "$usage"; exit 0 ;;
  12820. + echo "$usage"; exit ;;
  12821. -- ) # Stop option processing
  12822. shift; break ;;
  12823. - ) # Use stdin as input.
  12824. @@ -104,7 +107,7 @@
  12825. trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
  12826. trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
  12827. : ${TMPDIR=/tmp} ;
  12828. - { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
  12829. + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
  12830. { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
  12831. { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
  12832. { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
  12833. @@ -123,7 +126,7 @@
  12834. ;;
  12835. ,,*) CC_FOR_BUILD=$CC ;;
  12836. ,*,*) CC_FOR_BUILD=$HOST_CC ;;
  12837. -esac ;'
  12838. +esac ; set_cc_for_build= ;'
  12839. # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
  12840. # (ghazi@noc.rutgers.edu 1994-08-24)
  12841. @@ -158,6 +161,7 @@
  12842. arm*) machine=arm-unknown ;;
  12843. sh3el) machine=shl-unknown ;;
  12844. sh3eb) machine=sh-unknown ;;
  12845. + sh5el) machine=sh5le-unknown ;;
  12846. *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
  12847. esac
  12848. # The Operating System including object format, if it has switched
  12849. @@ -166,7 +170,7 @@
  12850. arm*|i386|m68k|ns32k|sh3*|sparc|vax)
  12851. eval $set_cc_for_build
  12852. if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
  12853. - | grep __ELF__ >/dev/null
  12854. + | grep -q __ELF__
  12855. then
  12856. # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
  12857. # Return netbsd for either. FIX?
  12858. @@ -196,50 +200,32 @@
  12859. # contains redundant information, the shorter form:
  12860. # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
  12861. echo "${machine}-${os}${release}"
  12862. - exit 0 ;;
  12863. - amiga:OpenBSD:*:*)
  12864. - echo m68k-unknown-openbsd${UNAME_RELEASE}
  12865. - exit 0 ;;
  12866. - arc:OpenBSD:*:*)
  12867. - echo mipsel-unknown-openbsd${UNAME_RELEASE}
  12868. - exit 0 ;;
  12869. - hp300:OpenBSD:*:*)
  12870. - echo m68k-unknown-openbsd${UNAME_RELEASE}
  12871. - exit 0 ;;
  12872. - mac68k:OpenBSD:*:*)
  12873. - echo m68k-unknown-openbsd${UNAME_RELEASE}
  12874. - exit 0 ;;
  12875. - macppc:OpenBSD:*:*)
  12876. - echo powerpc-unknown-openbsd${UNAME_RELEASE}
  12877. - exit 0 ;;
  12878. - mvme68k:OpenBSD:*:*)
  12879. - echo m68k-unknown-openbsd${UNAME_RELEASE}
  12880. - exit 0 ;;
  12881. - mvme88k:OpenBSD:*:*)
  12882. - echo m88k-unknown-openbsd${UNAME_RELEASE}
  12883. - exit 0 ;;
  12884. - mvmeppc:OpenBSD:*:*)
  12885. - echo powerpc-unknown-openbsd${UNAME_RELEASE}
  12886. - exit 0 ;;
  12887. - pmax:OpenBSD:*:*)
  12888. - echo mipsel-unknown-openbsd${UNAME_RELEASE}
  12889. - exit 0 ;;
  12890. - sgi:OpenBSD:*:*)
  12891. - echo mipseb-unknown-openbsd${UNAME_RELEASE}
  12892. - exit 0 ;;
  12893. - sun3:OpenBSD:*:*)
  12894. - echo m68k-unknown-openbsd${UNAME_RELEASE}
  12895. - exit 0 ;;
  12896. - wgrisc:OpenBSD:*:*)
  12897. - echo mipsel-unknown-openbsd${UNAME_RELEASE}
  12898. - exit 0 ;;
  12899. + exit ;;
  12900. *:OpenBSD:*:*)
  12901. - echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
  12902. - exit 0 ;;
  12903. + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
  12904. + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
  12905. + exit ;;
  12906. + *:ekkoBSD:*:*)
  12907. + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
  12908. + exit ;;
  12909. + *:SolidBSD:*:*)
  12910. + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
  12911. + exit ;;
  12912. + macppc:MirBSD:*:*)
  12913. + echo powerpc-unknown-mirbsd${UNAME_RELEASE}
  12914. + exit ;;
  12915. + *:MirBSD:*:*)
  12916. + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
  12917. + exit ;;
  12918. alpha:OSF1:*:*)
  12919. - if test $UNAME_RELEASE = "V4.0"; then
  12920. + case $UNAME_RELEASE in
  12921. + *4.0)
  12922. UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
  12923. - fi
  12924. + ;;
  12925. + *5.*)
  12926. + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
  12927. + ;;
  12928. + esac
  12929. # According to Compaq, /usr/sbin/psrinfo has been available on
  12930. # OSF/1 and Tru64 systems produced since 1995. I hope that
  12931. # covers most systems running today. This code pipes the CPU
  12932. @@ -277,42 +263,49 @@
  12933. "EV7.9 (21364A)")
  12934. UNAME_MACHINE="alphaev79" ;;
  12935. esac
  12936. + # A Pn.n version is a patched version.
  12937. # A Vn.n version is a released version.
  12938. # A Tn.n version is a released field test version.
  12939. # A Xn.n version is an unreleased experimental baselevel.
  12940. # 1.2 uses "1.2" for uname -r.
  12941. - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
  12942. - exit 0 ;;
  12943. - Alpha*:OpenVMS:*:*)
  12944. - echo alpha-hp-vms
  12945. - exit 0 ;;
  12946. + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
  12947. + exit ;;
  12948. Alpha\ *:Windows_NT*:*)
  12949. # How do we know it's Interix rather than the generic POSIX subsystem?
  12950. # Should we change UNAME_MACHINE based on the output of uname instead
  12951. # of the specific Alpha model?
  12952. echo alpha-pc-interix
  12953. - exit 0 ;;
  12954. + exit ;;
  12955. 21064:Windows_NT:50:3)
  12956. echo alpha-dec-winnt3.5
  12957. - exit 0 ;;
  12958. + exit ;;
  12959. Amiga*:UNIX_System_V:4.0:*)
  12960. echo m68k-unknown-sysv4
  12961. - exit 0;;
  12962. + exit ;;
  12963. *:[Aa]miga[Oo][Ss]:*:*)
  12964. echo ${UNAME_MACHINE}-unknown-amigaos
  12965. - exit 0 ;;
  12966. + exit ;;
  12967. *:[Mm]orph[Oo][Ss]:*:*)
  12968. echo ${UNAME_MACHINE}-unknown-morphos
  12969. - exit 0 ;;
  12970. + exit ;;
  12971. *:OS/390:*:*)
  12972. echo i370-ibm-openedition
  12973. - exit 0 ;;
  12974. + exit ;;
  12975. + *:z/VM:*:*)
  12976. + echo s390-ibm-zvmoe
  12977. + exit ;;
  12978. + *:OS400:*:*)
  12979. + echo powerpc-ibm-os400
  12980. + exit ;;
  12981. arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
  12982. echo arm-acorn-riscix${UNAME_RELEASE}
  12983. - exit 0;;
  12984. + exit ;;
  12985. + arm:riscos:*:*|arm:RISCOS:*:*)
  12986. + echo arm-unknown-riscos
  12987. + exit ;;
  12988. SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
  12989. echo hppa1.1-hitachi-hiuxmpp
  12990. - exit 0;;
  12991. + exit ;;
  12992. Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
  12993. # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
  12994. if test "`(/bin/universe) 2>/dev/null`" = att ; then
  12995. @@ -320,32 +313,48 @@
  12996. else
  12997. echo pyramid-pyramid-bsd
  12998. fi
  12999. - exit 0 ;;
  13000. + exit ;;
  13001. NILE*:*:*:dcosx)
  13002. echo pyramid-pyramid-svr4
  13003. - exit 0 ;;
  13004. + exit ;;
  13005. DRS?6000:unix:4.0:6*)
  13006. echo sparc-icl-nx6
  13007. - exit 0 ;;
  13008. - DRS?6000:UNIX_SV:4.2*:7*)
  13009. + exit ;;
  13010. + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
  13011. case `/usr/bin/uname -p` in
  13012. - sparc) echo sparc-icl-nx7 && exit 0 ;;
  13013. + sparc) echo sparc-icl-nx7; exit ;;
  13014. esac ;;
  13015. + s390x:SunOS:*:*)
  13016. + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  13017. + exit ;;
  13018. sun4H:SunOS:5.*:*)
  13019. echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  13020. - exit 0 ;;
  13021. + exit ;;
  13022. sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
  13023. echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  13024. - exit 0 ;;
  13025. - i86pc:SunOS:5.*:*)
  13026. - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  13027. - exit 0 ;;
  13028. + exit ;;
  13029. + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
  13030. + eval $set_cc_for_build
  13031. + SUN_ARCH="i386"
  13032. + # If there is a compiler, see if it is configured for 64-bit objects.
  13033. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
  13034. + # This test works for both compilers.
  13035. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
  13036. + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
  13037. + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
  13038. + grep IS_64BIT_ARCH >/dev/null
  13039. + then
  13040. + SUN_ARCH="x86_64"
  13041. + fi
  13042. + fi
  13043. + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  13044. + exit ;;
  13045. sun4*:SunOS:6*:*)
  13046. # According to config.sub, this is the proper way to canonicalize
  13047. # SunOS6. Hard to guess exactly what SunOS6 will be like, but
  13048. # it's likely to be more like Solaris than SunOS4.
  13049. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  13050. - exit 0 ;;
  13051. + exit ;;
  13052. sun4*:SunOS:*:*)
  13053. case "`/usr/bin/arch -k`" in
  13054. Series*|S4*)
  13055. @@ -354,10 +363,10 @@
  13056. esac
  13057. # Japanese Language versions have a version number like `4.1.3-JL'.
  13058. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
  13059. - exit 0 ;;
  13060. + exit ;;
  13061. sun3*:SunOS:*:*)
  13062. echo m68k-sun-sunos${UNAME_RELEASE}
  13063. - exit 0 ;;
  13064. + exit ;;
  13065. sun*:*:4.2BSD:*)
  13066. UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
  13067. test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
  13068. @@ -369,10 +378,10 @@
  13069. echo sparc-sun-sunos${UNAME_RELEASE}
  13070. ;;
  13071. esac
  13072. - exit 0 ;;
  13073. + exit ;;
  13074. aushp:SunOS:*:*)
  13075. echo sparc-auspex-sunos${UNAME_RELEASE}
  13076. - exit 0 ;;
  13077. + exit ;;
  13078. # The situation for MiNT is a little confusing. The machine name
  13079. # can be virtually everything (everything which is not
  13080. # "atarist" or "atariste" at least should have a processor
  13081. @@ -383,37 +392,40 @@
  13082. # be no problem.
  13083. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
  13084. echo m68k-atari-mint${UNAME_RELEASE}
  13085. - exit 0 ;;
  13086. + exit ;;
  13087. atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
  13088. echo m68k-atari-mint${UNAME_RELEASE}
  13089. - exit 0 ;;
  13090. + exit ;;
  13091. *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
  13092. echo m68k-atari-mint${UNAME_RELEASE}
  13093. - exit 0 ;;
  13094. + exit ;;
  13095. milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
  13096. echo m68k-milan-mint${UNAME_RELEASE}
  13097. - exit 0 ;;
  13098. + exit ;;
  13099. hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
  13100. echo m68k-hades-mint${UNAME_RELEASE}
  13101. - exit 0 ;;
  13102. + exit ;;
  13103. *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
  13104. echo m68k-unknown-mint${UNAME_RELEASE}
  13105. - exit 0 ;;
  13106. + exit ;;
  13107. + m68k:machten:*:*)
  13108. + echo m68k-apple-machten${UNAME_RELEASE}
  13109. + exit ;;
  13110. powerpc:machten:*:*)
  13111. echo powerpc-apple-machten${UNAME_RELEASE}
  13112. - exit 0 ;;
  13113. + exit ;;
  13114. RISC*:Mach:*:*)
  13115. echo mips-dec-mach_bsd4.3
  13116. - exit 0 ;;
  13117. + exit ;;
  13118. RISC*:ULTRIX:*:*)
  13119. echo mips-dec-ultrix${UNAME_RELEASE}
  13120. - exit 0 ;;
  13121. + exit ;;
  13122. VAX*:ULTRIX*:*:*)
  13123. echo vax-dec-ultrix${UNAME_RELEASE}
  13124. - exit 0 ;;
  13125. + exit ;;
  13126. 2020:CLIX:*:* | 2430:CLIX:*:*)
  13127. echo clipper-intergraph-clix${UNAME_RELEASE}
  13128. - exit 0 ;;
  13129. + exit ;;
  13130. mips:*:*:UMIPS | mips:*:*:RISCos)
  13131. eval $set_cc_for_build
  13132. sed 's/^ //' << EOF >$dummy.c
  13133. @@ -437,32 +449,33 @@
  13134. exit (-1);
  13135. }
  13136. EOF
  13137. - $CC_FOR_BUILD -o $dummy $dummy.c \
  13138. - && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
  13139. - && exit 0
  13140. + $CC_FOR_BUILD -o $dummy $dummy.c &&
  13141. + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
  13142. + SYSTEM_NAME=`$dummy $dummyarg` &&
  13143. + { echo "$SYSTEM_NAME"; exit; }
  13144. echo mips-mips-riscos${UNAME_RELEASE}
  13145. - exit 0 ;;
  13146. + exit ;;
  13147. Motorola:PowerMAX_OS:*:*)
  13148. echo powerpc-motorola-powermax
  13149. - exit 0 ;;
  13150. + exit ;;
  13151. Motorola:*:4.3:PL8-*)
  13152. echo powerpc-harris-powermax
  13153. - exit 0 ;;
  13154. + exit ;;
  13155. Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
  13156. echo powerpc-harris-powermax
  13157. - exit 0 ;;
  13158. + exit ;;
  13159. Night_Hawk:Power_UNIX:*:*)
  13160. echo powerpc-harris-powerunix
  13161. - exit 0 ;;
  13162. + exit ;;
  13163. m88k:CX/UX:7*:*)
  13164. echo m88k-harris-cxux7
  13165. - exit 0 ;;
  13166. + exit ;;
  13167. m88k:*:4*:R4*)
  13168. echo m88k-motorola-sysv4
  13169. - exit 0 ;;
  13170. + exit ;;
  13171. m88k:*:3*:R3*)
  13172. echo m88k-motorola-sysv3
  13173. - exit 0 ;;
  13174. + exit ;;
  13175. AViiON:dgux:*:*)
  13176. # DG/UX returns AViiON for all architectures
  13177. UNAME_PROCESSOR=`/usr/bin/uname -p`
  13178. @@ -478,29 +491,29 @@
  13179. else
  13180. echo i586-dg-dgux${UNAME_RELEASE}
  13181. fi
  13182. - exit 0 ;;
  13183. + exit ;;
  13184. M88*:DolphinOS:*:*) # DolphinOS (SVR3)
  13185. echo m88k-dolphin-sysv3
  13186. - exit 0 ;;
  13187. + exit ;;
  13188. M88*:*:R3*:*)
  13189. # Delta 88k system running SVR3
  13190. echo m88k-motorola-sysv3
  13191. - exit 0 ;;
  13192. + exit ;;
  13193. XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
  13194. echo m88k-tektronix-sysv3
  13195. - exit 0 ;;
  13196. + exit ;;
  13197. Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
  13198. echo m68k-tektronix-bsd
  13199. - exit 0 ;;
  13200. + exit ;;
  13201. *:IRIX*:*:*)
  13202. echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
  13203. - exit 0 ;;
  13204. + exit ;;
  13205. ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
  13206. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
  13207. - exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
  13208. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
  13209. + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
  13210. i*86:AIX:*:*)
  13211. echo i386-ibm-aix
  13212. - exit 0 ;;
  13213. + exit ;;
  13214. ia64:AIX:*:*)
  13215. if [ -x /usr/bin/oslevel ] ; then
  13216. IBM_REV=`/usr/bin/oslevel`
  13217. @@ -508,7 +521,7 @@
  13218. IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
  13219. fi
  13220. echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
  13221. - exit 0 ;;
  13222. + exit ;;
  13223. *:AIX:2:3)
  13224. if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
  13225. eval $set_cc_for_build
  13226. @@ -523,15 +536,19 @@
  13227. exit(0);
  13228. }
  13229. EOF
  13230. - $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
  13231. - echo rs6000-ibm-aix3.2.5
  13232. + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
  13233. + then
  13234. + echo "$SYSTEM_NAME"
  13235. + else
  13236. + echo rs6000-ibm-aix3.2.5
  13237. + fi
  13238. elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
  13239. echo rs6000-ibm-aix3.2.4
  13240. else
  13241. echo rs6000-ibm-aix3.2
  13242. fi
  13243. - exit 0 ;;
  13244. - *:AIX:*:[45])
  13245. + exit ;;
  13246. + *:AIX:*:[456])
  13247. IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
  13248. if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
  13249. IBM_ARCH=rs6000
  13250. @@ -544,28 +561,28 @@
  13251. IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
  13252. fi
  13253. echo ${IBM_ARCH}-ibm-aix${IBM_REV}
  13254. - exit 0 ;;
  13255. + exit ;;
  13256. *:AIX:*:*)
  13257. echo rs6000-ibm-aix
  13258. - exit 0 ;;
  13259. + exit ;;
  13260. ibmrt:4.4BSD:*|romp-ibm:BSD:*)
  13261. echo romp-ibm-bsd4.4
  13262. - exit 0 ;;
  13263. + exit ;;
  13264. ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
  13265. echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
  13266. - exit 0 ;; # report: romp-ibm BSD 4.3
  13267. + exit ;; # report: romp-ibm BSD 4.3
  13268. *:BOSX:*:*)
  13269. echo rs6000-bull-bosx
  13270. - exit 0 ;;
  13271. + exit ;;
  13272. DPX/2?00:B.O.S.:*:*)
  13273. echo m68k-bull-sysv3
  13274. - exit 0 ;;
  13275. + exit ;;
  13276. 9000/[34]??:4.3bsd:1.*:*)
  13277. echo m68k-hp-bsd
  13278. - exit 0 ;;
  13279. + exit ;;
  13280. hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
  13281. echo m68k-hp-bsd4.4
  13282. - exit 0 ;;
  13283. + exit ;;
  13284. 9000/[34678]??:HP-UX:*:*)
  13285. HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
  13286. case "${UNAME_MACHINE}" in
  13287. @@ -627,9 +644,19 @@
  13288. esac
  13289. if [ ${HP_ARCH} = "hppa2.0w" ]
  13290. then
  13291. - # avoid double evaluation of $set_cc_for_build
  13292. - test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
  13293. - if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
  13294. + eval $set_cc_for_build
  13295. +
  13296. + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
  13297. + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
  13298. + # generating 64-bit code. GNU and HP use different nomenclature:
  13299. + #
  13300. + # $ CC_FOR_BUILD=cc ./config.guess
  13301. + # => hppa2.0w-hp-hpux11.23
  13302. + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
  13303. + # => hppa64-hp-hpux11.23
  13304. +
  13305. + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
  13306. + grep -q __LP64__
  13307. then
  13308. HP_ARCH="hppa2.0w"
  13309. else
  13310. @@ -637,11 +664,11 @@
  13311. fi
  13312. fi
  13313. echo ${HP_ARCH}-hp-hpux${HPUX_REV}
  13314. - exit 0 ;;
  13315. + exit ;;
  13316. ia64:HP-UX:*:*)
  13317. HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
  13318. echo ia64-hp-hpux${HPUX_REV}
  13319. - exit 0 ;;
  13320. + exit ;;
  13321. 3050*:HI-UX:*:*)
  13322. eval $set_cc_for_build
  13323. sed 's/^ //' << EOF >$dummy.c
  13324. @@ -669,197 +696,227 @@
  13325. exit (0);
  13326. }
  13327. EOF
  13328. - $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
  13329. + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
  13330. + { echo "$SYSTEM_NAME"; exit; }
  13331. echo unknown-hitachi-hiuxwe2
  13332. - exit 0 ;;
  13333. + exit ;;
  13334. 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
  13335. echo hppa1.1-hp-bsd
  13336. - exit 0 ;;
  13337. + exit ;;
  13338. 9000/8??:4.3bsd:*:*)
  13339. echo hppa1.0-hp-bsd
  13340. - exit 0 ;;
  13341. + exit ;;
  13342. *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
  13343. echo hppa1.0-hp-mpeix
  13344. - exit 0 ;;
  13345. + exit ;;
  13346. hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
  13347. echo hppa1.1-hp-osf
  13348. - exit 0 ;;
  13349. + exit ;;
  13350. hp8??:OSF1:*:*)
  13351. echo hppa1.0-hp-osf
  13352. - exit 0 ;;
  13353. + exit ;;
  13354. i*86:OSF1:*:*)
  13355. if [ -x /usr/sbin/sysversion ] ; then
  13356. echo ${UNAME_MACHINE}-unknown-osf1mk
  13357. else
  13358. echo ${UNAME_MACHINE}-unknown-osf1
  13359. fi
  13360. - exit 0 ;;
  13361. + exit ;;
  13362. parisc*:Lites*:*:*)
  13363. echo hppa1.1-hp-lites
  13364. - exit 0 ;;
  13365. + exit ;;
  13366. C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
  13367. echo c1-convex-bsd
  13368. - exit 0 ;;
  13369. + exit ;;
  13370. C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
  13371. if getsysinfo -f scalar_acc
  13372. then echo c32-convex-bsd
  13373. else echo c2-convex-bsd
  13374. fi
  13375. - exit 0 ;;
  13376. + exit ;;
  13377. C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
  13378. echo c34-convex-bsd
  13379. - exit 0 ;;
  13380. + exit ;;
  13381. C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
  13382. echo c38-convex-bsd
  13383. - exit 0 ;;
  13384. + exit ;;
  13385. C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
  13386. echo c4-convex-bsd
  13387. - exit 0 ;;
  13388. + exit ;;
  13389. CRAY*Y-MP:*:*:*)
  13390. echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  13391. - exit 0 ;;
  13392. + exit ;;
  13393. CRAY*[A-Z]90:*:*:*)
  13394. echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
  13395. | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
  13396. -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
  13397. -e 's/\.[^.]*$/.X/'
  13398. - exit 0 ;;
  13399. + exit ;;
  13400. CRAY*TS:*:*:*)
  13401. echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  13402. - exit 0 ;;
  13403. + exit ;;
  13404. CRAY*T3E:*:*:*)
  13405. echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  13406. - exit 0 ;;
  13407. + exit ;;
  13408. CRAY*SV1:*:*:*)
  13409. echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  13410. - exit 0 ;;
  13411. + exit ;;
  13412. *:UNICOS/mp:*:*)
  13413. - echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  13414. - exit 0 ;;
  13415. + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  13416. + exit ;;
  13417. F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
  13418. FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
  13419. FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
  13420. FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
  13421. echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
  13422. - exit 0 ;;
  13423. + exit ;;
  13424. + 5000:UNIX_System_V:4.*:*)
  13425. + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
  13426. + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
  13427. + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
  13428. + exit ;;
  13429. i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
  13430. echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
  13431. - exit 0 ;;
  13432. + exit ;;
  13433. sparc*:BSD/OS:*:*)
  13434. echo sparc-unknown-bsdi${UNAME_RELEASE}
  13435. - exit 0 ;;
  13436. + exit ;;
  13437. *:BSD/OS:*:*)
  13438. echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
  13439. - exit 0 ;;
  13440. - *:FreeBSD:*:*|*:GNU/FreeBSD:*:*)
  13441. - # Determine whether the default compiler uses glibc.
  13442. - eval $set_cc_for_build
  13443. - sed 's/^ //' << EOF >$dummy.c
  13444. - #include <features.h>
  13445. - #if __GLIBC__ >= 2
  13446. - LIBC=gnu
  13447. - #else
  13448. - LIBC=
  13449. - #endif
  13450. -EOF
  13451. - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
  13452. - # GNU/FreeBSD systems have a "k" prefix to indicate we are using
  13453. - # FreeBSD's kernel, but not the complete OS.
  13454. - case ${LIBC} in gnu) kernel_only='k' ;; esac
  13455. - echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
  13456. - exit 0 ;;
  13457. + exit ;;
  13458. + *:FreeBSD:*:*)
  13459. + case ${UNAME_MACHINE} in
  13460. + pc98)
  13461. + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
  13462. + amd64)
  13463. + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
  13464. + *)
  13465. + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
  13466. + esac
  13467. + exit ;;
  13468. i*:CYGWIN*:*)
  13469. echo ${UNAME_MACHINE}-pc-cygwin
  13470. - exit 0 ;;
  13471. - i*:MINGW*:*)
  13472. + exit ;;
  13473. + *:MINGW*:*)
  13474. echo ${UNAME_MACHINE}-pc-mingw32
  13475. - exit 0 ;;
  13476. + exit ;;
  13477. + i*:windows32*:*)
  13478. + # uname -m includes "-pc" on this system.
  13479. + echo ${UNAME_MACHINE}-mingw32
  13480. + exit ;;
  13481. i*:PW*:*)
  13482. echo ${UNAME_MACHINE}-pc-pw32
  13483. - exit 0 ;;
  13484. - x86:Interix*:[34]*)
  13485. - echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
  13486. - exit 0 ;;
  13487. + exit ;;
  13488. + *:Interix*:[3456]*)
  13489. + case ${UNAME_MACHINE} in
  13490. + x86)
  13491. + echo i586-pc-interix${UNAME_RELEASE}
  13492. + exit ;;
  13493. + EM64T | authenticamd | genuineintel)
  13494. + echo x86_64-unknown-interix${UNAME_RELEASE}
  13495. + exit ;;
  13496. + IA64)
  13497. + echo ia64-unknown-interix${UNAME_RELEASE}
  13498. + exit ;;
  13499. + esac ;;
  13500. [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
  13501. echo i${UNAME_MACHINE}-pc-mks
  13502. - exit 0 ;;
  13503. + exit ;;
  13504. + 8664:Windows_NT:*)
  13505. + echo x86_64-pc-mks
  13506. + exit ;;
  13507. i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
  13508. # How do we know it's Interix rather than the generic POSIX subsystem?
  13509. # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
  13510. # UNAME_MACHINE based on the output of uname instead of i386?
  13511. echo i586-pc-interix
  13512. - exit 0 ;;
  13513. + exit ;;
  13514. i*:UWIN*:*)
  13515. echo ${UNAME_MACHINE}-pc-uwin
  13516. - exit 0 ;;
  13517. + exit ;;
  13518. + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
  13519. + echo x86_64-unknown-cygwin
  13520. + exit ;;
  13521. p*:CYGWIN*:*)
  13522. echo powerpcle-unknown-cygwin
  13523. - exit 0 ;;
  13524. + exit ;;
  13525. prep*:SunOS:5.*:*)
  13526. echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  13527. - exit 0 ;;
  13528. + exit ;;
  13529. *:GNU:*:*)
  13530. + # the GNU system
  13531. echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
  13532. - exit 0 ;;
  13533. + exit ;;
  13534. + *:GNU/*:*:*)
  13535. + # other systems with GNU libc and userland
  13536. + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
  13537. + exit ;;
  13538. i*86:Minix:*:*)
  13539. echo ${UNAME_MACHINE}-pc-minix
  13540. - exit 0 ;;
  13541. + exit ;;
  13542. arm*:Linux:*:*)
  13543. + eval $set_cc_for_build
  13544. + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
  13545. + | grep -q __ARM_EABI__
  13546. + then
  13547. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  13548. + else
  13549. + echo ${UNAME_MACHINE}-unknown-linux-gnueabi
  13550. + fi
  13551. + exit ;;
  13552. + avr32*:Linux:*:*)
  13553. echo ${UNAME_MACHINE}-unknown-linux-gnu
  13554. - exit 0 ;;
  13555. + exit ;;
  13556. cris:Linux:*:*)
  13557. echo cris-axis-linux-gnu
  13558. - exit 0 ;;
  13559. + exit ;;
  13560. + crisv32:Linux:*:*)
  13561. + echo crisv32-axis-linux-gnu
  13562. + exit ;;
  13563. + frv:Linux:*:*)
  13564. + echo frv-unknown-linux-gnu
  13565. + exit ;;
  13566. ia64:Linux:*:*)
  13567. echo ${UNAME_MACHINE}-unknown-linux-gnu
  13568. - exit 0 ;;
  13569. + exit ;;
  13570. + m32r*:Linux:*:*)
  13571. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  13572. + exit ;;
  13573. m68*:Linux:*:*)
  13574. echo ${UNAME_MACHINE}-unknown-linux-gnu
  13575. - exit 0 ;;
  13576. - mips:Linux:*:*)
  13577. + exit ;;
  13578. + mips:Linux:*:* | mips64:Linux:*:*)
  13579. eval $set_cc_for_build
  13580. sed 's/^ //' << EOF >$dummy.c
  13581. #undef CPU
  13582. - #undef mips
  13583. - #undef mipsel
  13584. + #undef ${UNAME_MACHINE}
  13585. + #undef ${UNAME_MACHINE}el
  13586. #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
  13587. - CPU=mipsel
  13588. + CPU=${UNAME_MACHINE}el
  13589. #else
  13590. #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
  13591. - CPU=mips
  13592. + CPU=${UNAME_MACHINE}
  13593. #else
  13594. CPU=
  13595. #endif
  13596. #endif
  13597. EOF
  13598. - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
  13599. - test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
  13600. - ;;
  13601. - mips64:Linux:*:*)
  13602. - eval $set_cc_for_build
  13603. - sed 's/^ //' << EOF >$dummy.c
  13604. - #undef CPU
  13605. - #undef mips64
  13606. - #undef mips64el
  13607. - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
  13608. - CPU=mips64el
  13609. - #else
  13610. - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
  13611. - CPU=mips64
  13612. - #else
  13613. - CPU=
  13614. - #endif
  13615. - #endif
  13616. -EOF
  13617. - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
  13618. - test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
  13619. + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
  13620. + /^CPU/{
  13621. + s: ::g
  13622. + p
  13623. + }'`"
  13624. + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
  13625. ;;
  13626. + or32:Linux:*:*)
  13627. + echo or32-unknown-linux-gnu
  13628. + exit ;;
  13629. ppc:Linux:*:*)
  13630. echo powerpc-unknown-linux-gnu
  13631. - exit 0 ;;
  13632. + exit ;;
  13633. ppc64:Linux:*:*)
  13634. echo powerpc64-unknown-linux-gnu
  13635. - exit 0 ;;
  13636. + exit ;;
  13637. alpha:Linux:*:*)
  13638. case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
  13639. EV5) UNAME_MACHINE=alphaev5 ;;
  13640. @@ -870,10 +927,13 @@
  13641. EV67) UNAME_MACHINE=alphaev67 ;;
  13642. EV68*) UNAME_MACHINE=alphaev68 ;;
  13643. esac
  13644. - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
  13645. + objdump --private-headers /bin/sh | grep -q ld.so.1
  13646. if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
  13647. echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
  13648. - exit 0 ;;
  13649. + exit ;;
  13650. + padre:Linux:*:*)
  13651. + echo sparc-unknown-linux-gnu
  13652. + exit ;;
  13653. parisc:Linux:*:* | hppa:Linux:*:*)
  13654. # Look for CPU level
  13655. case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
  13656. @@ -881,25 +941,31 @@
  13657. PA8*) echo hppa2.0-unknown-linux-gnu ;;
  13658. *) echo hppa-unknown-linux-gnu ;;
  13659. esac
  13660. - exit 0 ;;
  13661. + exit ;;
  13662. parisc64:Linux:*:* | hppa64:Linux:*:*)
  13663. echo hppa64-unknown-linux-gnu
  13664. - exit 0 ;;
  13665. + exit ;;
  13666. s390:Linux:*:* | s390x:Linux:*:*)
  13667. echo ${UNAME_MACHINE}-ibm-linux
  13668. - exit 0 ;;
  13669. + exit ;;
  13670. sh64*:Linux:*:*)
  13671. echo ${UNAME_MACHINE}-unknown-linux-gnu
  13672. - exit 0 ;;
  13673. + exit ;;
  13674. sh*:Linux:*:*)
  13675. echo ${UNAME_MACHINE}-unknown-linux-gnu
  13676. - exit 0 ;;
  13677. + exit ;;
  13678. sparc:Linux:*:* | sparc64:Linux:*:*)
  13679. echo ${UNAME_MACHINE}-unknown-linux-gnu
  13680. - exit 0 ;;
  13681. + exit ;;
  13682. + vax:Linux:*:*)
  13683. + echo ${UNAME_MACHINE}-dec-linux-gnu
  13684. + exit ;;
  13685. x86_64:Linux:*:*)
  13686. echo x86_64-unknown-linux-gnu
  13687. - exit 0 ;;
  13688. + exit ;;
  13689. + xtensa*:Linux:*:*)
  13690. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  13691. + exit ;;
  13692. i*86:Linux:*:*)
  13693. # The BFD linker knows what the default object file format is, so
  13694. # first see if it will tell us. cd to the root directory to prevent
  13695. @@ -915,17 +981,6 @@
  13696. elf32-i386)
  13697. TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
  13698. ;;
  13699. - a.out-i386-linux)
  13700. - echo "${UNAME_MACHINE}-pc-linux-gnuaout"
  13701. - exit 0 ;;
  13702. - coff-i386)
  13703. - echo "${UNAME_MACHINE}-pc-linux-gnucoff"
  13704. - exit 0 ;;
  13705. - "")
  13706. - # Either a pre-BFD a.out linker (linux-gnuoldld) or
  13707. - # one that does not give us useful --help.
  13708. - echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
  13709. - exit 0 ;;
  13710. esac
  13711. # Determine whether the default compiler is a.out or elf
  13712. eval $set_cc_for_build
  13713. @@ -942,23 +997,33 @@
  13714. LIBC=gnulibc1
  13715. # endif
  13716. #else
  13717. - #ifdef __INTEL_COMPILER
  13718. + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
  13719. LIBC=gnu
  13720. #else
  13721. LIBC=gnuaout
  13722. #endif
  13723. #endif
  13724. + #ifdef __dietlibc__
  13725. + LIBC=dietlibc
  13726. + #endif
  13727. EOF
  13728. - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
  13729. - test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
  13730. - test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
  13731. + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
  13732. + /^LIBC/{
  13733. + s: ::g
  13734. + p
  13735. + }'`"
  13736. + test x"${LIBC}" != x && {
  13737. + echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
  13738. + exit
  13739. + }
  13740. + test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
  13741. ;;
  13742. i*86:DYNIX/ptx:4*:*)
  13743. # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
  13744. # earlier versions are messed up and put the nodename in both
  13745. # sysname and nodename.
  13746. echo i386-sequent-sysv4
  13747. - exit 0 ;;
  13748. + exit ;;
  13749. i*86:UNIX_SV:4.2MP:2.*)
  13750. # Unixware is an offshoot of SVR4, but it has its own version
  13751. # number series starting with 2...
  13752. @@ -966,24 +1031,27 @@
  13753. # I just have to hope. -- rms.
  13754. # Use sysv4.2uw... so that sysv4* matches it.
  13755. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
  13756. - exit 0 ;;
  13757. + exit ;;
  13758. i*86:OS/2:*:*)
  13759. # If we were able to find `uname', then EMX Unix compatibility
  13760. # is probably installed.
  13761. echo ${UNAME_MACHINE}-pc-os2-emx
  13762. - exit 0 ;;
  13763. + exit ;;
  13764. i*86:XTS-300:*:STOP)
  13765. echo ${UNAME_MACHINE}-unknown-stop
  13766. - exit 0 ;;
  13767. + exit ;;
  13768. i*86:atheos:*:*)
  13769. echo ${UNAME_MACHINE}-unknown-atheos
  13770. - exit 0 ;;
  13771. - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
  13772. + exit ;;
  13773. + i*86:syllable:*:*)
  13774. + echo ${UNAME_MACHINE}-pc-syllable
  13775. + exit ;;
  13776. + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
  13777. echo i386-unknown-lynxos${UNAME_RELEASE}
  13778. - exit 0 ;;
  13779. + exit ;;
  13780. i*86:*DOS:*:*)
  13781. echo ${UNAME_MACHINE}-pc-msdosdjgpp
  13782. - exit 0 ;;
  13783. + exit ;;
  13784. i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
  13785. UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
  13786. if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
  13787. @@ -991,15 +1059,16 @@
  13788. else
  13789. echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
  13790. fi
  13791. - exit 0 ;;
  13792. - i*86:*:5:[78]*)
  13793. + exit ;;
  13794. + i*86:*:5:[678]*)
  13795. + # UnixWare 7.x, OpenUNIX and OpenServer 6.
  13796. case `/bin/uname -X | grep "^Machine"` in
  13797. *486*) UNAME_MACHINE=i486 ;;
  13798. *Pentium) UNAME_MACHINE=i586 ;;
  13799. *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
  13800. esac
  13801. echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
  13802. - exit 0 ;;
  13803. + exit ;;
  13804. i*86:*:3.2:*)
  13805. if test -f /usr/options/cb.name; then
  13806. UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
  13807. @@ -1017,73 +1086,86 @@
  13808. else
  13809. echo ${UNAME_MACHINE}-pc-sysv32
  13810. fi
  13811. - exit 0 ;;
  13812. + exit ;;
  13813. pc:*:*:*)
  13814. # Left here for compatibility:
  13815. # uname -m prints for DJGPP always 'pc', but it prints nothing about
  13816. - # the processor, so we play safe by assuming i386.
  13817. - echo i386-pc-msdosdjgpp
  13818. - exit 0 ;;
  13819. + # the processor, so we play safe by assuming i586.
  13820. + # Note: whatever this is, it MUST be the same as what config.sub
  13821. + # prints for the "djgpp" host, or else GDB configury will decide that
  13822. + # this is a cross-build.
  13823. + echo i586-pc-msdosdjgpp
  13824. + exit ;;
  13825. Intel:Mach:3*:*)
  13826. echo i386-pc-mach3
  13827. - exit 0 ;;
  13828. + exit ;;
  13829. paragon:*:*:*)
  13830. echo i860-intel-osf1
  13831. - exit 0 ;;
  13832. + exit ;;
  13833. i860:*:4.*:*) # i860-SVR4
  13834. if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
  13835. echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
  13836. else # Add other i860-SVR4 vendors below as they are discovered.
  13837. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
  13838. fi
  13839. - exit 0 ;;
  13840. + exit ;;
  13841. mini*:CTIX:SYS*5:*)
  13842. # "miniframe"
  13843. echo m68010-convergent-sysv
  13844. - exit 0 ;;
  13845. + exit ;;
  13846. mc68k:UNIX:SYSTEM5:3.51m)
  13847. echo m68k-convergent-sysv
  13848. - exit 0 ;;
  13849. + exit ;;
  13850. M680?0:D-NIX:5.3:*)
  13851. echo m68k-diab-dnix
  13852. - exit 0 ;;
  13853. - M68*:*:R3V[567]*:*)
  13854. - test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
  13855. - 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
  13856. + exit ;;
  13857. + M68*:*:R3V[5678]*:*)
  13858. + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
  13859. + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
  13860. OS_REL=''
  13861. test -r /etc/.relid \
  13862. && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
  13863. /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
  13864. - && echo i486-ncr-sysv4.3${OS_REL} && exit 0
  13865. + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
  13866. /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
  13867. - && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
  13868. + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
  13869. 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
  13870. /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
  13871. - && echo i486-ncr-sysv4 && exit 0 ;;
  13872. + && { echo i486-ncr-sysv4; exit; } ;;
  13873. + NCR*:*:4.2:* | MPRAS*:*:4.2:*)
  13874. + OS_REL='.3'
  13875. + test -r /etc/.relid \
  13876. + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
  13877. + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
  13878. + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
  13879. + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
  13880. + && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
  13881. + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
  13882. + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
  13883. m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
  13884. echo m68k-unknown-lynxos${UNAME_RELEASE}
  13885. - exit 0 ;;
  13886. + exit ;;
  13887. mc68030:UNIX_System_V:4.*:*)
  13888. echo m68k-atari-sysv4
  13889. - exit 0 ;;
  13890. + exit ;;
  13891. TSUNAMI:LynxOS:2.*:*)
  13892. echo sparc-unknown-lynxos${UNAME_RELEASE}
  13893. - exit 0 ;;
  13894. + exit ;;
  13895. rs6000:LynxOS:2.*:*)
  13896. echo rs6000-unknown-lynxos${UNAME_RELEASE}
  13897. - exit 0 ;;
  13898. - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
  13899. + exit ;;
  13900. + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
  13901. echo powerpc-unknown-lynxos${UNAME_RELEASE}
  13902. - exit 0 ;;
  13903. + exit ;;
  13904. SM[BE]S:UNIX_SV:*:*)
  13905. echo mips-dde-sysv${UNAME_RELEASE}
  13906. - exit 0 ;;
  13907. + exit ;;
  13908. RM*:ReliantUNIX-*:*:*)
  13909. echo mips-sni-sysv4
  13910. - exit 0 ;;
  13911. + exit ;;
  13912. RM*:SINIX-*:*:*)
  13913. echo mips-sni-sysv4
  13914. - exit 0 ;;
  13915. + exit ;;
  13916. *:SINIX-*:*:*)
  13917. if uname -p 2>/dev/null >/dev/null ; then
  13918. UNAME_MACHINE=`(uname -p) 2>/dev/null`
  13919. @@ -1091,68 +1173,84 @@
  13920. else
  13921. echo ns32k-sni-sysv
  13922. fi
  13923. - exit 0 ;;
  13924. + exit ;;
  13925. PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
  13926. # says <Richard.M.Bartel@ccMail.Census.GOV>
  13927. echo i586-unisys-sysv4
  13928. - exit 0 ;;
  13929. + exit ;;
  13930. *:UNIX_System_V:4*:FTX*)
  13931. # From Gerald Hewes <hewes@openmarket.com>.
  13932. # How about differentiating between stratus architectures? -djm
  13933. echo hppa1.1-stratus-sysv4
  13934. - exit 0 ;;
  13935. + exit ;;
  13936. *:*:*:FTX*)
  13937. # From seanf@swdc.stratus.com.
  13938. echo i860-stratus-sysv4
  13939. - exit 0 ;;
  13940. + exit ;;
  13941. + i*86:VOS:*:*)
  13942. + # From Paul.Green@stratus.com.
  13943. + echo ${UNAME_MACHINE}-stratus-vos
  13944. + exit ;;
  13945. *:VOS:*:*)
  13946. # From Paul.Green@stratus.com.
  13947. echo hppa1.1-stratus-vos
  13948. - exit 0 ;;
  13949. + exit ;;
  13950. mc68*:A/UX:*:*)
  13951. echo m68k-apple-aux${UNAME_RELEASE}
  13952. - exit 0 ;;
  13953. + exit ;;
  13954. news*:NEWS-OS:6*:*)
  13955. echo mips-sony-newsos6
  13956. - exit 0 ;;
  13957. + exit ;;
  13958. R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
  13959. if [ -d /usr/nec ]; then
  13960. echo mips-nec-sysv${UNAME_RELEASE}
  13961. else
  13962. echo mips-unknown-sysv${UNAME_RELEASE}
  13963. fi
  13964. - exit 0 ;;
  13965. + exit ;;
  13966. BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
  13967. echo powerpc-be-beos
  13968. - exit 0 ;;
  13969. + exit ;;
  13970. BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
  13971. echo powerpc-apple-beos
  13972. - exit 0 ;;
  13973. + exit ;;
  13974. BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
  13975. echo i586-pc-beos
  13976. - exit 0 ;;
  13977. + exit ;;
  13978. + BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
  13979. + echo i586-pc-haiku
  13980. + exit ;;
  13981. SX-4:SUPER-UX:*:*)
  13982. echo sx4-nec-superux${UNAME_RELEASE}
  13983. - exit 0 ;;
  13984. + exit ;;
  13985. SX-5:SUPER-UX:*:*)
  13986. echo sx5-nec-superux${UNAME_RELEASE}
  13987. - exit 0 ;;
  13988. + exit ;;
  13989. SX-6:SUPER-UX:*:*)
  13990. echo sx6-nec-superux${UNAME_RELEASE}
  13991. - exit 0 ;;
  13992. + exit ;;
  13993. + SX-7:SUPER-UX:*:*)
  13994. + echo sx7-nec-superux${UNAME_RELEASE}
  13995. + exit ;;
  13996. + SX-8:SUPER-UX:*:*)
  13997. + echo sx8-nec-superux${UNAME_RELEASE}
  13998. + exit ;;
  13999. + SX-8R:SUPER-UX:*:*)
  14000. + echo sx8r-nec-superux${UNAME_RELEASE}
  14001. + exit ;;
  14002. Power*:Rhapsody:*:*)
  14003. echo powerpc-apple-rhapsody${UNAME_RELEASE}
  14004. - exit 0 ;;
  14005. + exit ;;
  14006. *:Rhapsody:*:*)
  14007. echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
  14008. - exit 0 ;;
  14009. + exit ;;
  14010. *:Darwin:*:*)
  14011. - case `uname -p` in
  14012. - *86) UNAME_PROCESSOR=i686 ;;
  14013. - powerpc) UNAME_PROCESSOR=powerpc ;;
  14014. + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
  14015. + case $UNAME_PROCESSOR in
  14016. + unknown) UNAME_PROCESSOR=powerpc ;;
  14017. esac
  14018. echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
  14019. - exit 0 ;;
  14020. + exit ;;
  14021. *:procnto*:*:* | *:QNX:[0123456789]*:*)
  14022. UNAME_PROCESSOR=`uname -p`
  14023. if test "$UNAME_PROCESSOR" = "x86"; then
  14024. @@ -1160,22 +1258,25 @@
  14025. UNAME_MACHINE=pc
  14026. fi
  14027. echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
  14028. - exit 0 ;;
  14029. + exit ;;
  14030. *:QNX:*:4*)
  14031. echo i386-pc-qnx
  14032. - exit 0 ;;
  14033. - NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
  14034. + exit ;;
  14035. + NSE-?:NONSTOP_KERNEL:*:*)
  14036. + echo nse-tandem-nsk${UNAME_RELEASE}
  14037. + exit ;;
  14038. + NSR-?:NONSTOP_KERNEL:*:*)
  14039. echo nsr-tandem-nsk${UNAME_RELEASE}
  14040. - exit 0 ;;
  14041. + exit ;;
  14042. *:NonStop-UX:*:*)
  14043. echo mips-compaq-nonstopux
  14044. - exit 0 ;;
  14045. + exit ;;
  14046. BS2000:POSIX*:*:*)
  14047. echo bs2000-siemens-sysv
  14048. - exit 0 ;;
  14049. + exit ;;
  14050. DS/*:UNIX_System_V:*:*)
  14051. echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
  14052. - exit 0 ;;
  14053. + exit ;;
  14054. *:Plan9:*:*)
  14055. # "uname -m" is not consistent, so use $cputype instead. 386
  14056. # is converted to i386 for consistency with other x86
  14057. @@ -1186,28 +1287,50 @@
  14058. UNAME_MACHINE="$cputype"
  14059. fi
  14060. echo ${UNAME_MACHINE}-unknown-plan9
  14061. - exit 0 ;;
  14062. + exit ;;
  14063. *:TOPS-10:*:*)
  14064. echo pdp10-unknown-tops10
  14065. - exit 0 ;;
  14066. + exit ;;
  14067. *:TENEX:*:*)
  14068. echo pdp10-unknown-tenex
  14069. - exit 0 ;;
  14070. + exit ;;
  14071. KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
  14072. echo pdp10-dec-tops20
  14073. - exit 0 ;;
  14074. + exit ;;
  14075. XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
  14076. echo pdp10-xkl-tops20
  14077. - exit 0 ;;
  14078. + exit ;;
  14079. *:TOPS-20:*:*)
  14080. echo pdp10-unknown-tops20
  14081. - exit 0 ;;
  14082. + exit ;;
  14083. *:ITS:*:*)
  14084. echo pdp10-unknown-its
  14085. - exit 0 ;;
  14086. + exit ;;
  14087. SEI:*:*:SEIUX)
  14088. echo mips-sei-seiux${UNAME_RELEASE}
  14089. - exit 0 ;;
  14090. + exit ;;
  14091. + *:DragonFly:*:*)
  14092. + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
  14093. + exit ;;
  14094. + *:*VMS:*:*)
  14095. + UNAME_MACHINE=`(uname -p) 2>/dev/null`
  14096. + case "${UNAME_MACHINE}" in
  14097. + A*) echo alpha-dec-vms ; exit ;;
  14098. + I*) echo ia64-dec-vms ; exit ;;
  14099. + V*) echo vax-dec-vms ; exit ;;
  14100. + esac ;;
  14101. + *:XENIX:*:SysV)
  14102. + echo i386-pc-xenix
  14103. + exit ;;
  14104. + i*86:skyos:*:*)
  14105. + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
  14106. + exit ;;
  14107. + i*86:rdos:*:*)
  14108. + echo ${UNAME_MACHINE}-pc-rdos
  14109. + exit ;;
  14110. + i*86:AROS:*:*)
  14111. + echo ${UNAME_MACHINE}-pc-aros
  14112. + exit ;;
  14113. esac
  14114. #echo '(No uname command or uname output not recognized.)' 1>&2
  14115. @@ -1239,7 +1362,7 @@
  14116. #endif
  14117. #if defined (__arm) && defined (__acorn) && defined (__unix)
  14118. - printf ("arm-acorn-riscix"); exit (0);
  14119. + printf ("arm-acorn-riscix\n"); exit (0);
  14120. #endif
  14121. #if defined (hp300) && !defined (hpux)
  14122. @@ -1328,11 +1451,12 @@
  14123. }
  14124. EOF
  14125. -$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
  14126. +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
  14127. + { echo "$SYSTEM_NAME"; exit; }
  14128. # Apollos put the system type in the environment.
  14129. -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
  14130. +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
  14131. # Convex versions that predate uname can use getsysinfo(1)
  14132. @@ -1341,22 +1465,22 @@
  14133. case `getsysinfo -f cpu_type` in
  14134. c1*)
  14135. echo c1-convex-bsd
  14136. - exit 0 ;;
  14137. + exit ;;
  14138. c2*)
  14139. if getsysinfo -f scalar_acc
  14140. then echo c32-convex-bsd
  14141. else echo c2-convex-bsd
  14142. fi
  14143. - exit 0 ;;
  14144. + exit ;;
  14145. c34*)
  14146. echo c34-convex-bsd
  14147. - exit 0 ;;
  14148. + exit ;;
  14149. c38*)
  14150. echo c38-convex-bsd
  14151. - exit 0 ;;
  14152. + exit ;;
  14153. c4*)
  14154. echo c4-convex-bsd
  14155. - exit 0 ;;
  14156. + exit ;;
  14157. esac
  14158. fi
  14159. @@ -1367,7 +1491,9 @@
  14160. the operating system you are using. It is advised that you
  14161. download the most up to date version of the config scripts from
  14162. - ftp://ftp.gnu.org/pub/gnu/config/
  14163. + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
  14164. +and
  14165. + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
  14166. If the version you run ($0) is already up to date, please
  14167. send the following data and any information you think might be
  14168. diff -Nur squid-3.0.STABLE20.orig/cfgaux/config.sub squid-3.0.STABLE20/cfgaux/config.sub
  14169. --- squid-3.0.STABLE20.orig/cfgaux/config.sub 2009-10-29 11:05:32.000000000 +0100
  14170. +++ squid-3.0.STABLE20/cfgaux/config.sub 2010-02-19 00:39:14.396857131 +0100
  14171. @@ -1,9 +1,10 @@
  14172. #! /bin/sh
  14173. # Configuration validation subroutine script.
  14174. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
  14175. -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
  14176. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
  14177. +# Free Software Foundation, Inc.
  14178. -timestamp='2003-07-04'
  14179. +timestamp='2009-06-11'
  14180. # This file is (in principle) common to ALL GNU software.
  14181. # The presence of a machine in this file suggests that SOME GNU software
  14182. @@ -21,14 +22,15 @@
  14183. #
  14184. # You should have received a copy of the GNU General Public License
  14185. # along with this program; if not, write to the Free Software
  14186. -# Foundation, Inc., 59 Temple Place - Suite 330,
  14187. -# Boston, MA 02111-1307, USA.
  14188. -
  14189. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
  14190. +# 02110-1301, USA.
  14191. +#
  14192. # As a special exception to the GNU General Public License, if you
  14193. # distribute this file as part of a program that contains a
  14194. # configuration script generated by Autoconf, you may include it under
  14195. # the same distribution terms that you use for the rest of that program.
  14196. +
  14197. # Please send patches to <config-patches@gnu.org>. Submit a context
  14198. # diff and a properly formatted ChangeLog entry.
  14199. #
  14200. @@ -70,8 +72,8 @@
  14201. version="\
  14202. GNU config.sub ($timestamp)
  14203. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
  14204. -Free Software Foundation, Inc.
  14205. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
  14206. +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  14207. This is free software; see the source for copying conditions. There is NO
  14208. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  14209. @@ -83,11 +85,11 @@
  14210. while test $# -gt 0 ; do
  14211. case $1 in
  14212. --time-stamp | --time* | -t )
  14213. - echo "$timestamp" ; exit 0 ;;
  14214. + echo "$timestamp" ; exit ;;
  14215. --version | -v )
  14216. - echo "$version" ; exit 0 ;;
  14217. + echo "$version" ; exit ;;
  14218. --help | --h* | -h )
  14219. - echo "$usage"; exit 0 ;;
  14220. + echo "$usage"; exit ;;
  14221. -- ) # Stop option processing
  14222. shift; break ;;
  14223. - ) # Use stdin as input.
  14224. @@ -99,7 +101,7 @@
  14225. *local*)
  14226. # First pass through any local machine types.
  14227. echo $1
  14228. - exit 0;;
  14229. + exit ;;
  14230. * )
  14231. break ;;
  14232. @@ -118,7 +120,10 @@
  14233. # Here we must recognize all the valid KERNEL-OS combinations.
  14234. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
  14235. case $maybe_os in
  14236. - nto-qnx* | linux-gnu* | kfreebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
  14237. + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
  14238. + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
  14239. + kopensolaris*-gnu* | \
  14240. + storm-chaos* | os2-emx* | rtmk-nova*)
  14241. os=-$maybe_os
  14242. basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
  14243. ;;
  14244. @@ -144,10 +149,13 @@
  14245. -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
  14246. -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
  14247. -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
  14248. - -apple | -axis)
  14249. + -apple | -axis | -knuth | -cray)
  14250. os=
  14251. basic_machine=$1
  14252. ;;
  14253. + -bluegene*)
  14254. + os=-cnk
  14255. + ;;
  14256. -sim | -cisco | -oki | -wec | -winbond)
  14257. os=
  14258. basic_machine=$1
  14259. @@ -169,6 +177,10 @@
  14260. -hiux*)
  14261. os=-hiuxwe2
  14262. ;;
  14263. + -sco6)
  14264. + os=-sco5v6
  14265. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  14266. + ;;
  14267. -sco5)
  14268. os=-sco3.2v5
  14269. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  14270. @@ -185,6 +197,10 @@
  14271. # Don't forget version if it is 3.2v4 or newer.
  14272. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  14273. ;;
  14274. + -sco5v6*)
  14275. + # Don't forget version if it is 3.2v4 or newer.
  14276. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  14277. + ;;
  14278. -sco*)
  14279. os=-sco3.2v2
  14280. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  14281. @@ -228,44 +244,57 @@
  14282. | a29k \
  14283. | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
  14284. | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
  14285. - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
  14286. + | am33_2.0 \
  14287. + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
  14288. + | bfin \
  14289. | c4x | clipper \
  14290. | d10v | d30v | dlx | dsp16xx \
  14291. - | fr30 | frv \
  14292. + | fido | fr30 | frv \
  14293. | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  14294. | i370 | i860 | i960 | ia64 \
  14295. - | ip2k \
  14296. - | m32r | m68000 | m68k | m88k | mcore \
  14297. + | ip2k | iq2000 \
  14298. + | lm32 \
  14299. + | m32c | m32r | m32rle | m68000 | m68k | m88k \
  14300. + | maxq | mb | microblaze | mcore | mep | metag \
  14301. | mips | mipsbe | mipseb | mipsel | mipsle \
  14302. | mips16 \
  14303. | mips64 | mips64el \
  14304. - | mips64vr | mips64vrel \
  14305. + | mips64octeon | mips64octeonel \
  14306. | mips64orion | mips64orionel \
  14307. + | mips64r5900 | mips64r5900el \
  14308. + | mips64vr | mips64vrel \
  14309. | mips64vr4100 | mips64vr4100el \
  14310. | mips64vr4300 | mips64vr4300el \
  14311. | mips64vr5000 | mips64vr5000el \
  14312. + | mips64vr5900 | mips64vr5900el \
  14313. | mipsisa32 | mipsisa32el \
  14314. | mipsisa32r2 | mipsisa32r2el \
  14315. | mipsisa64 | mipsisa64el \
  14316. + | mipsisa64r2 | mipsisa64r2el \
  14317. | mipsisa64sb1 | mipsisa64sb1el \
  14318. | mipsisa64sr71k | mipsisa64sr71kel \
  14319. | mipstx39 | mipstx39el \
  14320. | mn10200 | mn10300 \
  14321. + | moxie \
  14322. + | mt \
  14323. | msp430 \
  14324. + | nios | nios2 \
  14325. | ns16k | ns32k \
  14326. - | openrisc | or32 \
  14327. + | or32 \
  14328. | pdp10 | pdp11 | pj | pjl \
  14329. | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
  14330. | pyramid \
  14331. - | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
  14332. + | score \
  14333. + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  14334. | sh64 | sh64le \
  14335. - | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
  14336. - | strongarm \
  14337. + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
  14338. + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
  14339. + | spu | strongarm \
  14340. | tahoe | thumb | tic4x | tic80 | tron \
  14341. | v850 | v850e \
  14342. | we32k \
  14343. - | x86 | xscale | xstormy16 | xtensa \
  14344. - | z8k)
  14345. + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
  14346. + | z8k | z80)
  14347. basic_machine=$basic_machine-unknown
  14348. ;;
  14349. m6811 | m68hc11 | m6812 | m68hc12)
  14350. @@ -275,6 +304,9 @@
  14351. ;;
  14352. m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
  14353. ;;
  14354. + ms1)
  14355. + basic_machine=mt-unknown
  14356. + ;;
  14357. # We use `pc' rather than `unknown'
  14358. # because (1) that's what they normally are, and
  14359. @@ -292,56 +324,69 @@
  14360. | a29k-* \
  14361. | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
  14362. | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
  14363. - | alphapca5[67]-* | alpha64pca5[67]-* | amd64-* | arc-* \
  14364. + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
  14365. | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
  14366. - | avr-* \
  14367. - | bs2000-* \
  14368. + | avr-* | avr32-* \
  14369. + | bfin-* | bs2000-* \
  14370. | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
  14371. - | clipper-* | cydra-* \
  14372. + | clipper-* | craynv-* | cydra-* \
  14373. | d10v-* | d30v-* | dlx-* \
  14374. | elxsi-* \
  14375. - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
  14376. + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
  14377. | h8300-* | h8500-* \
  14378. | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
  14379. | i*86-* | i860-* | i960-* | ia64-* \
  14380. - | ip2k-* \
  14381. - | m32r-* \
  14382. + | ip2k-* | iq2000-* \
  14383. + | lm32-* \
  14384. + | m32c-* | m32r-* | m32rle-* \
  14385. | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  14386. - | m88110-* | m88k-* | mcore-* \
  14387. + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
  14388. | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
  14389. | mips16-* \
  14390. | mips64-* | mips64el-* \
  14391. - | mips64vr-* | mips64vrel-* \
  14392. + | mips64octeon-* | mips64octeonel-* \
  14393. | mips64orion-* | mips64orionel-* \
  14394. + | mips64r5900-* | mips64r5900el-* \
  14395. + | mips64vr-* | mips64vrel-* \
  14396. | mips64vr4100-* | mips64vr4100el-* \
  14397. | mips64vr4300-* | mips64vr4300el-* \
  14398. | mips64vr5000-* | mips64vr5000el-* \
  14399. + | mips64vr5900-* | mips64vr5900el-* \
  14400. | mipsisa32-* | mipsisa32el-* \
  14401. | mipsisa32r2-* | mipsisa32r2el-* \
  14402. | mipsisa64-* | mipsisa64el-* \
  14403. + | mipsisa64r2-* | mipsisa64r2el-* \
  14404. | mipsisa64sb1-* | mipsisa64sb1el-* \
  14405. | mipsisa64sr71k-* | mipsisa64sr71kel-* \
  14406. | mipstx39-* | mipstx39el-* \
  14407. + | mmix-* \
  14408. + | mt-* \
  14409. | msp430-* \
  14410. - | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
  14411. + | nios-* | nios2-* \
  14412. + | none-* | np1-* | ns16k-* | ns32k-* \
  14413. | orion-* \
  14414. | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
  14415. | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
  14416. | pyramid-* \
  14417. | romp-* | rs6000-* \
  14418. - | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
  14419. + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  14420. | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
  14421. - | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
  14422. - | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
  14423. + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
  14424. + | sparclite-* \
  14425. + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
  14426. | tahoe-* | thumb-* \
  14427. - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
  14428. + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
  14429. | tron-* \
  14430. | v850-* | v850e-* | vax-* \
  14431. | we32k-* \
  14432. - | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
  14433. - | xtensa-* \
  14434. + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
  14435. + | xstormy16-* | xtensa*-* \
  14436. | ymp-* \
  14437. - | z8k-*)
  14438. + | z8k-* | z80-*)
  14439. + ;;
  14440. + # Recognize the basic CPU types without company name, with glob match.
  14441. + xtensa*)
  14442. + basic_machine=$basic_machine-unknown
  14443. ;;
  14444. # Recognize the various machine names and aliases which stand
  14445. # for a CPU type and a company and sometimes even an OS.
  14446. @@ -359,6 +404,9 @@
  14447. basic_machine=a29k-amd
  14448. os=-udi
  14449. ;;
  14450. + abacus)
  14451. + basic_machine=abacus-unknown
  14452. + ;;
  14453. adobe68k)
  14454. basic_machine=m68010-adobe
  14455. os=-scout
  14456. @@ -376,6 +424,9 @@
  14457. amd64)
  14458. basic_machine=x86_64-pc
  14459. ;;
  14460. + amd64-*)
  14461. + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
  14462. + ;;
  14463. amdahl)
  14464. basic_machine=580-amdahl
  14465. os=-sysv
  14466. @@ -399,6 +450,10 @@
  14467. basic_machine=m68k-apollo
  14468. os=-bsd
  14469. ;;
  14470. + aros)
  14471. + basic_machine=i386-pc
  14472. + os=-aros
  14473. + ;;
  14474. aux)
  14475. basic_machine=m68k-apple
  14476. os=-aux
  14477. @@ -407,10 +462,26 @@
  14478. basic_machine=ns32k-sequent
  14479. os=-dynix
  14480. ;;
  14481. + blackfin)
  14482. + basic_machine=bfin-unknown
  14483. + os=-linux
  14484. + ;;
  14485. + blackfin-*)
  14486. + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
  14487. + os=-linux
  14488. + ;;
  14489. + bluegene*)
  14490. + basic_machine=powerpc-ibm
  14491. + os=-cnk
  14492. + ;;
  14493. c90)
  14494. basic_machine=c90-cray
  14495. os=-unicos
  14496. ;;
  14497. + cegcc)
  14498. + basic_machine=arm-unknown
  14499. + os=-cegcc
  14500. + ;;
  14501. convex-c1)
  14502. basic_machine=c1-convex
  14503. os=-bsd
  14504. @@ -435,12 +506,27 @@
  14505. basic_machine=j90-cray
  14506. os=-unicos
  14507. ;;
  14508. + craynv)
  14509. + basic_machine=craynv-cray
  14510. + os=-unicosmp
  14511. + ;;
  14512. + cr16)
  14513. + basic_machine=cr16-unknown
  14514. + os=-elf
  14515. + ;;
  14516. crds | unos)
  14517. basic_machine=m68k-crds
  14518. ;;
  14519. + crisv32 | crisv32-* | etraxfs*)
  14520. + basic_machine=crisv32-axis
  14521. + ;;
  14522. cris | cris-* | etrax*)
  14523. basic_machine=cris-axis
  14524. ;;
  14525. + crx)
  14526. + basic_machine=crx-unknown
  14527. + os=-elf
  14528. + ;;
  14529. da30 | da30-*)
  14530. basic_machine=m68k-da30
  14531. ;;
  14532. @@ -463,6 +549,14 @@
  14533. basic_machine=m88k-motorola
  14534. os=-sysv3
  14535. ;;
  14536. + dicos)
  14537. + basic_machine=i686-pc
  14538. + os=-dicos
  14539. + ;;
  14540. + djgpp)
  14541. + basic_machine=i586-pc
  14542. + os=-msdosdjgpp
  14543. + ;;
  14544. dpx20 | dpx20-*)
  14545. basic_machine=rs6000-bull
  14546. os=-bosx
  14547. @@ -613,6 +707,14 @@
  14548. basic_machine=m68k-isi
  14549. os=-sysv
  14550. ;;
  14551. + m68knommu)
  14552. + basic_machine=m68k-unknown
  14553. + os=-linux
  14554. + ;;
  14555. + m68knommu-*)
  14556. + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
  14557. + os=-linux
  14558. + ;;
  14559. m88k-omron*)
  14560. basic_machine=m88k-omron
  14561. ;;
  14562. @@ -628,6 +730,10 @@
  14563. basic_machine=i386-pc
  14564. os=-mingw32
  14565. ;;
  14566. + mingw32ce)
  14567. + basic_machine=arm-unknown
  14568. + os=-mingw32ce
  14569. + ;;
  14570. miniframe)
  14571. basic_machine=m68000-convergent
  14572. ;;
  14573. @@ -641,10 +747,6 @@
  14574. mips3*)
  14575. basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
  14576. ;;
  14577. - mmix*)
  14578. - basic_machine=mmix-knuth
  14579. - os=-mmixware
  14580. - ;;
  14581. monitor)
  14582. basic_machine=m68k-rom68k
  14583. os=-coff
  14584. @@ -657,6 +759,9 @@
  14585. basic_machine=i386-pc
  14586. os=-msdos
  14587. ;;
  14588. + ms1-*)
  14589. + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
  14590. + ;;
  14591. mvs)
  14592. basic_machine=i370-ibm
  14593. os=-mvs
  14594. @@ -725,10 +830,6 @@
  14595. np1)
  14596. basic_machine=np1-gould
  14597. ;;
  14598. - nv1)
  14599. - basic_machine=nv1-cray
  14600. - os=-unicosmp
  14601. - ;;
  14602. nsr-tandem)
  14603. basic_machine=nsr-tandem
  14604. ;;
  14605. @@ -736,9 +837,12 @@
  14606. basic_machine=hppa1.1-oki
  14607. os=-proelf
  14608. ;;
  14609. - or32 | or32-*)
  14610. + openrisc | openrisc-*)
  14611. basic_machine=or32-unknown
  14612. - os=-coff
  14613. + ;;
  14614. + os400)
  14615. + basic_machine=powerpc-ibm
  14616. + os=-os400
  14617. ;;
  14618. OSE68000 | ose68000)
  14619. basic_machine=m68000-ericsson
  14620. @@ -756,6 +860,14 @@
  14621. basic_machine=i860-intel
  14622. os=-osf
  14623. ;;
  14624. + parisc)
  14625. + basic_machine=hppa-unknown
  14626. + os=-linux
  14627. + ;;
  14628. + parisc-*)
  14629. + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
  14630. + os=-linux
  14631. + ;;
  14632. pbd)
  14633. basic_machine=sparc-tti
  14634. ;;
  14635. @@ -765,6 +877,12 @@
  14636. pc532 | pc532-*)
  14637. basic_machine=ns32k-pc532
  14638. ;;
  14639. + pc98)
  14640. + basic_machine=i386-pc
  14641. + ;;
  14642. + pc98-*)
  14643. + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
  14644. + ;;
  14645. pentium | p5 | k5 | k6 | nexgen | viac3)
  14646. basic_machine=i586-pc
  14647. ;;
  14648. @@ -821,6 +939,10 @@
  14649. basic_machine=i586-unknown
  14650. os=-pw32
  14651. ;;
  14652. + rdos)
  14653. + basic_machine=i386-pc
  14654. + os=-rdos
  14655. + ;;
  14656. rom68k)
  14657. basic_machine=m68k-rom68k
  14658. os=-coff
  14659. @@ -847,6 +969,10 @@
  14660. sb1el)
  14661. basic_machine=mipsisa64sb1el-unknown
  14662. ;;
  14663. + sde)
  14664. + basic_machine=mipsisa32-sde
  14665. + os=-elf
  14666. + ;;
  14667. sei)
  14668. basic_machine=mips-sei
  14669. os=-seiux
  14670. @@ -858,6 +984,9 @@
  14671. basic_machine=sh-hitachi
  14672. os=-hms
  14673. ;;
  14674. + sh5el)
  14675. + basic_machine=sh5le-unknown
  14676. + ;;
  14677. sh64)
  14678. basic_machine=sh64-unknown
  14679. ;;
  14680. @@ -947,6 +1076,10 @@
  14681. basic_machine=tic6x-unknown
  14682. os=-coff
  14683. ;;
  14684. + tile*)
  14685. + basic_machine=tile-unknown
  14686. + os=-linux-gnu
  14687. + ;;
  14688. tx39)
  14689. basic_machine=mipstx39-unknown
  14690. ;;
  14691. @@ -960,6 +1093,10 @@
  14692. tower | tower-32)
  14693. basic_machine=m68k-ncr
  14694. ;;
  14695. + tpf)
  14696. + basic_machine=s390x-ibm
  14697. + os=-tpf
  14698. + ;;
  14699. udi29k)
  14700. basic_machine=a29k-amd
  14701. os=-udi
  14702. @@ -1003,6 +1140,10 @@
  14703. basic_machine=hppa1.1-winbond
  14704. os=-proelf
  14705. ;;
  14706. + xbox)
  14707. + basic_machine=i686-pc
  14708. + os=-mingw32
  14709. + ;;
  14710. xps | xps100)
  14711. basic_machine=xps100-honeywell
  14712. ;;
  14713. @@ -1014,6 +1155,10 @@
  14714. basic_machine=z8k-unknown
  14715. os=-sim
  14716. ;;
  14717. + z80-*-coff)
  14718. + basic_machine=z80-unknown
  14719. + os=-sim
  14720. + ;;
  14721. none)
  14722. basic_machine=none-none
  14723. os=-none
  14724. @@ -1033,6 +1178,9 @@
  14725. romp)
  14726. basic_machine=romp-ibm
  14727. ;;
  14728. + mmix)
  14729. + basic_machine=mmix-knuth
  14730. + ;;
  14731. rs6000)
  14732. basic_machine=rs6000-ibm
  14733. ;;
  14734. @@ -1049,13 +1197,10 @@
  14735. we32k)
  14736. basic_machine=we32k-att
  14737. ;;
  14738. - sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
  14739. + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
  14740. basic_machine=sh-unknown
  14741. ;;
  14742. - sh64)
  14743. - basic_machine=sh64-unknown
  14744. - ;;
  14745. - sparc | sparcv9 | sparcv9b)
  14746. + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
  14747. basic_machine=sparc-sun
  14748. ;;
  14749. cydra)
  14750. @@ -1122,25 +1267,30 @@
  14751. # Each alternative MUST END IN A *, to match a version number.
  14752. # -sysv* is not here because it comes later, after sysvr4.
  14753. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  14754. - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
  14755. + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
  14756. | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
  14757. + | -kopensolaris* \
  14758. | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
  14759. - | -aos* \
  14760. + | -aos* | -aros* \
  14761. | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  14762. | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  14763. - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
  14764. - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  14765. + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
  14766. + | -openbsd* | -solidbsd* \
  14767. + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
  14768. + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  14769. | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  14770. | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
  14771. - | -chorusos* | -chorusrdb* \
  14772. + | -chorusos* | -chorusrdb* | -cegcc* \
  14773. | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  14774. - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
  14775. + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
  14776. + | -uxpv* | -beos* | -mpeix* | -udk* \
  14777. | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
  14778. | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
  14779. | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
  14780. | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  14781. | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  14782. - | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
  14783. + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
  14784. + | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
  14785. # Remember, each alternative MUST END IN *, to match a version number.
  14786. ;;
  14787. -qnx*)
  14788. @@ -1158,12 +1308,15 @@
  14789. os=`echo $os | sed -e 's|nto|nto-qnx|'`
  14790. ;;
  14791. -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
  14792. - | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
  14793. + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
  14794. | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
  14795. ;;
  14796. -mac*)
  14797. os=`echo $os | sed -e 's|mac|macos|'`
  14798. ;;
  14799. + -linux-dietlibc)
  14800. + os=-linux-dietlibc
  14801. + ;;
  14802. -linux*)
  14803. os=`echo $os | sed -e 's|linux|linux-gnu|'`
  14804. ;;
  14805. @@ -1176,6 +1329,9 @@
  14806. -opened*)
  14807. os=-openedition
  14808. ;;
  14809. + -os400*)
  14810. + os=-os400
  14811. + ;;
  14812. -wince*)
  14813. os=-wince
  14814. ;;
  14815. @@ -1197,6 +1353,9 @@
  14816. -atheos*)
  14817. os=-atheos
  14818. ;;
  14819. + -syllable*)
  14820. + os=-syllable
  14821. + ;;
  14822. -386bsd)
  14823. os=-bsd
  14824. ;;
  14825. @@ -1219,6 +1378,9 @@
  14826. -sinix*)
  14827. os=-sysv4
  14828. ;;
  14829. + -tpf*)
  14830. + os=-tpf
  14831. + ;;
  14832. -triton*)
  14833. os=-sysv3
  14834. ;;
  14835. @@ -1255,6 +1417,12 @@
  14836. -kaos*)
  14837. os=-kaos
  14838. ;;
  14839. + -zvmoe)
  14840. + os=-zvmoe
  14841. + ;;
  14842. + -dicos*)
  14843. + os=-dicos
  14844. + ;;
  14845. -none)
  14846. ;;
  14847. *)
  14848. @@ -1277,6 +1445,12 @@
  14849. # system, and we'll never get to this point.
  14850. case $basic_machine in
  14851. + score-*)
  14852. + os=-elf
  14853. + ;;
  14854. + spu-*)
  14855. + os=-elf
  14856. + ;;
  14857. *-acorn)
  14858. os=-riscix1.2
  14859. ;;
  14860. @@ -1286,9 +1460,9 @@
  14861. arm*-semi)
  14862. os=-aout
  14863. ;;
  14864. - c4x-* | tic4x-*)
  14865. - os=-coff
  14866. - ;;
  14867. + c4x-* | tic4x-*)
  14868. + os=-coff
  14869. + ;;
  14870. # This must come before the *-dec entry.
  14871. pdp10-*)
  14872. os=-tops20
  14873. @@ -1314,6 +1488,9 @@
  14874. m68*-cisco)
  14875. os=-aout
  14876. ;;
  14877. + mep-*)
  14878. + os=-elf
  14879. + ;;
  14880. mips*-cisco)
  14881. os=-elf
  14882. ;;
  14883. @@ -1332,9 +1509,15 @@
  14884. *-be)
  14885. os=-beos
  14886. ;;
  14887. + *-haiku)
  14888. + os=-haiku
  14889. + ;;
  14890. *-ibm)
  14891. os=-aix
  14892. ;;
  14893. + *-knuth)
  14894. + os=-mmixware
  14895. + ;;
  14896. *-wec)
  14897. os=-proelf
  14898. ;;
  14899. @@ -1437,7 +1620,7 @@
  14900. -sunos*)
  14901. vendor=sun
  14902. ;;
  14903. - -aix*)
  14904. + -cnk*|-aix*)
  14905. vendor=ibm
  14906. ;;
  14907. -beos*)
  14908. @@ -1467,9 +1650,15 @@
  14909. -mvs* | -opened*)
  14910. vendor=ibm
  14911. ;;
  14912. + -os400*)
  14913. + vendor=ibm
  14914. + ;;
  14915. -ptx*)
  14916. vendor=sequent
  14917. ;;
  14918. + -tpf*)
  14919. + vendor=ibm
  14920. + ;;
  14921. -vxsim* | -vxworks* | -windiss*)
  14922. vendor=wrs
  14923. ;;
  14924. @@ -1494,7 +1683,7 @@
  14925. esac
  14926. echo $basic_machine$os
  14927. -exit 0
  14928. +exit
  14929. # Local variables:
  14930. # eval: (add-hook 'write-file-hooks 'time-stamp)
  14931. diff -Nur squid-3.0.STABLE20.orig/cfgaux/depcomp squid-3.0.STABLE20/cfgaux/depcomp
  14932. --- squid-3.0.STABLE20.orig/cfgaux/depcomp 2009-10-29 11:05:33.000000000 +0100
  14933. +++ squid-3.0.STABLE20/cfgaux/depcomp 2010-02-19 00:39:25.336858142 +0100
  14934. @@ -1,10 +1,10 @@
  14935. #! /bin/sh
  14936. # depcomp - compile a program generating dependencies as side-effects
  14937. -scriptversion=2007-03-29.01
  14938. +scriptversion=2009-04-28.21; # UTC
  14939. -# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
  14940. -# Foundation, Inc.
  14941. +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
  14942. +# Software Foundation, Inc.
  14943. # This program is free software; you can redistribute it and/or modify
  14944. # it under the terms of the GNU General Public License as published by
  14945. @@ -17,9 +17,7 @@
  14946. # GNU General Public License for more details.
  14947. # You should have received a copy of the GNU General Public License
  14948. -# along with this program; if not, write to the Free Software
  14949. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  14950. -# 02110-1301, USA.
  14951. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  14952. # As a special exception to the GNU General Public License, if you
  14953. # distribute this file as part of a program that contains a
  14954. @@ -87,6 +85,15 @@
  14955. depmode=dashmstdout
  14956. fi
  14957. +cygpath_u="cygpath -u -f -"
  14958. +if test "$depmode" = msvcmsys; then
  14959. + # This is just like msvisualcpp but w/o cygpath translation.
  14960. + # Just convert the backslash-escaped backslashes to single forward
  14961. + # slashes to satisfy depend.m4
  14962. + cygpath_u="sed s,\\\\\\\\,/,g"
  14963. + depmode=msvisualcpp
  14964. +fi
  14965. +
  14966. case "$depmode" in
  14967. gcc3)
  14968. ## gcc 3 implements dependency tracking that does exactly what
  14969. @@ -192,14 +199,14 @@
  14970. ' < "$tmpdepfile" \
  14971. | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
  14972. tr '
  14973. -' ' ' >> $depfile
  14974. - echo >> $depfile
  14975. +' ' ' >> "$depfile"
  14976. + echo >> "$depfile"
  14977. # The second pass generates a dummy entry for each header file.
  14978. tr ' ' '
  14979. ' < "$tmpdepfile" \
  14980. | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
  14981. - >> $depfile
  14982. + >> "$depfile"
  14983. else
  14984. # The sourcefile does not contain any dependencies, so just
  14985. # store a dummy comment line, to avoid errors with the Makefile
  14986. @@ -328,7 +335,12 @@
  14987. if test -f "$tmpdepfile"; then
  14988. sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
  14989. # Add `dependent.h:' lines.
  14990. - sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile"
  14991. + sed -ne '2,${
  14992. + s/^ *//
  14993. + s/ \\*$//
  14994. + s/$/:/
  14995. + p
  14996. + }' "$tmpdepfile" >> "$depfile"
  14997. else
  14998. echo "#dummy" > "$depfile"
  14999. fi
  15000. @@ -404,7 +416,7 @@
  15001. # Remove the call to Libtool.
  15002. if test "$libtool" = yes; then
  15003. - while test $1 != '--mode=compile'; do
  15004. + while test "X$1" != 'X--mode=compile'; do
  15005. shift
  15006. done
  15007. shift
  15008. @@ -455,32 +467,39 @@
  15009. "$@" || exit $?
  15010. # Remove any Libtool call
  15011. if test "$libtool" = yes; then
  15012. - while test $1 != '--mode=compile'; do
  15013. + while test "X$1" != 'X--mode=compile'; do
  15014. shift
  15015. done
  15016. shift
  15017. fi
  15018. # X makedepend
  15019. shift
  15020. - cleared=no
  15021. - for arg in "$@"; do
  15022. + cleared=no eat=no
  15023. + for arg
  15024. + do
  15025. case $cleared in
  15026. no)
  15027. set ""; shift
  15028. cleared=yes ;;
  15029. esac
  15030. + if test $eat = yes; then
  15031. + eat=no
  15032. + continue
  15033. + fi
  15034. case "$arg" in
  15035. -D*|-I*)
  15036. set fnord "$@" "$arg"; shift ;;
  15037. # Strip any option that makedepend may not understand. Remove
  15038. # the object too, otherwise makedepend will parse it as a source file.
  15039. + -arch)
  15040. + eat=yes ;;
  15041. -*|$object)
  15042. ;;
  15043. *)
  15044. set fnord "$@" "$arg"; shift ;;
  15045. esac
  15046. done
  15047. - obj_suffix="`echo $object | sed 's/^.*\././'`"
  15048. + obj_suffix=`echo "$object" | sed 's/^.*\././'`
  15049. touch "$tmpdepfile"
  15050. ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
  15051. rm -f "$depfile"
  15052. @@ -500,7 +519,7 @@
  15053. # Remove the call to Libtool.
  15054. if test "$libtool" = yes; then
  15055. - while test $1 != '--mode=compile'; do
  15056. + while test "X$1" != 'X--mode=compile'; do
  15057. shift
  15058. done
  15059. shift
  15060. @@ -538,13 +557,27 @@
  15061. msvisualcpp)
  15062. # Important note: in order to support this mode, a compiler *must*
  15063. - # always write the preprocessed file to stdout, regardless of -o,
  15064. - # because we must use -o when running libtool.
  15065. + # always write the preprocessed file to stdout.
  15066. "$@" || exit $?
  15067. +
  15068. + # Remove the call to Libtool.
  15069. + if test "$libtool" = yes; then
  15070. + while test "X$1" != 'X--mode=compile'; do
  15071. + shift
  15072. + done
  15073. + shift
  15074. + fi
  15075. +
  15076. IFS=" "
  15077. for arg
  15078. do
  15079. case "$arg" in
  15080. + -o)
  15081. + shift
  15082. + ;;
  15083. + $object)
  15084. + shift
  15085. + ;;
  15086. "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
  15087. set fnord "$@"
  15088. shift
  15089. @@ -557,16 +590,23 @@
  15090. ;;
  15091. esac
  15092. done
  15093. - "$@" -E |
  15094. - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
  15095. + "$@" -E 2>/dev/null |
  15096. + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
  15097. rm -f "$depfile"
  15098. echo "$object : \\" > "$depfile"
  15099. - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
  15100. + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
  15101. echo " " >> "$depfile"
  15102. - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
  15103. + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
  15104. rm -f "$tmpdepfile"
  15105. ;;
  15106. +msvcmsys)
  15107. + # This case exists only to let depend.m4 do its work. It works by
  15108. + # looking at the text of this script. This case will never be run,
  15109. + # since it is checked for above.
  15110. + exit 1
  15111. + ;;
  15112. +
  15113. none)
  15114. exec "$@"
  15115. ;;
  15116. @@ -585,5 +625,6 @@
  15117. # eval: (add-hook 'write-file-hooks 'time-stamp)
  15118. # time-stamp-start: "scriptversion="
  15119. # time-stamp-format: "%:y-%02m-%02d.%02H"
  15120. -# time-stamp-end: "$"
  15121. +# time-stamp-time-zone: "UTC"
  15122. +# time-stamp-end: "; # UTC"
  15123. # End:
  15124. diff -Nur squid-3.0.STABLE20.orig/cfgaux/install-sh squid-3.0.STABLE20/cfgaux/install-sh
  15125. --- squid-3.0.STABLE20.orig/cfgaux/install-sh 2009-10-29 11:05:33.000000000 +0100
  15126. +++ squid-3.0.STABLE20/cfgaux/install-sh 2010-02-19 00:39:14.400856523 +0100
  15127. @@ -1,7 +1,7 @@
  15128. #!/bin/sh
  15129. # install - install a program, script, or datafile
  15130. -scriptversion=2006-12-25.00
  15131. +scriptversion=2009-04-28.21; # UTC
  15132. # This originates from X11R5 (mit/util/scripts/install.sh), which was
  15133. # later released in X11R6 (xc/config/util/install.sh) with the
  15134. @@ -515,5 +515,6 @@
  15135. # eval: (add-hook 'write-file-hooks 'time-stamp)
  15136. # time-stamp-start: "scriptversion="
  15137. # time-stamp-format: "%:y-%02m-%02d.%02H"
  15138. -# time-stamp-end: "$"
  15139. +# time-stamp-time-zone: "UTC"
  15140. +# time-stamp-end: "; # UTC"
  15141. # End:
  15142. diff -Nur squid-3.0.STABLE20.orig/cfgaux/ltmain.sh squid-3.0.STABLE20/cfgaux/ltmain.sh
  15143. --- squid-3.0.STABLE20.orig/cfgaux/ltmain.sh 2009-10-29 11:05:33.000000000 +0100
  15144. +++ squid-3.0.STABLE20/cfgaux/ltmain.sh 2010-02-19 00:39:13.088857011 +0100
  15145. @@ -1,52 +1,83 @@
  15146. -# ltmain.sh - Provide generalized library-building support services.
  15147. -# NOTE: Changing this file will not affect anything until you rerun configure.
  15148. -#
  15149. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
  15150. -# 2007, 2008 Free Software Foundation, Inc.
  15151. -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  15152. -#
  15153. -# This program is free software; you can redistribute it and/or modify
  15154. +# Generated from ltmain.m4sh.
  15155. +
  15156. +# ltmain.sh (GNU libtool) 2.2.6b
  15157. +# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  15158. +
  15159. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
  15160. +# This is free software; see the source for copying conditions. There is NO
  15161. +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  15162. +
  15163. +# GNU Libtool is free software; you can redistribute it and/or modify
  15164. # it under the terms of the GNU General Public License as published by
  15165. # the Free Software Foundation; either version 2 of the License, or
  15166. # (at your option) any later version.
  15167. #
  15168. -# This program is distributed in the hope that it will be useful, but
  15169. +# As a special exception to the GNU General Public License,
  15170. +# if you distribute this file as part of a program or library that
  15171. +# is built using GNU Libtool, you may include this file under the
  15172. +# same distribution terms that you use for the rest of that program.
  15173. +#
  15174. +# GNU Libtool is distributed in the hope that it will be useful, but
  15175. # WITHOUT ANY WARRANTY; without even the implied warranty of
  15176. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15177. # General Public License for more details.
  15178. #
  15179. # You should have received a copy of the GNU General Public License
  15180. -# along with this program; if not, write to the Free Software
  15181. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  15182. -#
  15183. -# As a special exception to the GNU General Public License, if you
  15184. -# distribute this file as part of a program that contains a
  15185. -# configuration script generated by Autoconf, you may include it under
  15186. -# the same distribution terms that you use for the rest of that program.
  15187. -
  15188. -basename="s,^.*/,,g"
  15189. -
  15190. -# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
  15191. -# is ksh but when the shell is invoked as "sh" and the current value of
  15192. -# the _XPG environment variable is not equal to 1 (one), the special
  15193. -# positional parameter $0, within a function call, is the name of the
  15194. -# function.
  15195. -progpath="$0"
  15196. -
  15197. -# The name of this program:
  15198. -progname=`echo "$progpath" | $SED $basename`
  15199. -modename="$progname"
  15200. +# along with GNU Libtool; see the file COPYING. If not, a copy
  15201. +# can be downloaded from http://www.gnu.org/licenses/gpl.html,
  15202. +# or obtained by writing to the Free Software Foundation, Inc.,
  15203. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  15204. -# Global variables:
  15205. -EXIT_SUCCESS=0
  15206. -EXIT_FAILURE=1
  15207. +# Usage: $progname [OPTION]... [MODE-ARG]...
  15208. +#
  15209. +# Provide generalized library-building support services.
  15210. +#
  15211. +# --config show all configuration variables
  15212. +# --debug enable verbose shell tracing
  15213. +# -n, --dry-run display commands without modifying any files
  15214. +# --features display basic configuration information and exit
  15215. +# --mode=MODE use operation mode MODE
  15216. +# --preserve-dup-deps don't remove duplicate dependency libraries
  15217. +# --quiet, --silent don't print informational messages
  15218. +# --tag=TAG use configuration variables from tag TAG
  15219. +# -v, --verbose print informational messages (default)
  15220. +# --version print version information
  15221. +# -h, --help print short or long help message
  15222. +#
  15223. +# MODE must be one of the following:
  15224. +#
  15225. +# clean remove files from the build directory
  15226. +# compile compile a source file into a libtool object
  15227. +# execute automatically set library path, then run a program
  15228. +# finish complete the installation of libtool libraries
  15229. +# install install libraries or executables
  15230. +# link create a library or an executable
  15231. +# uninstall remove libraries from an installed directory
  15232. +#
  15233. +# MODE-ARGS vary depending on the MODE.
  15234. +# Try `$progname --help --mode=MODE' for a more detailed description of MODE.
  15235. +#
  15236. +# When reporting a bug, please describe a test case to reproduce it and
  15237. +# include the following information:
  15238. +#
  15239. +# host-triplet: $host
  15240. +# shell: $SHELL
  15241. +# compiler: $LTCC
  15242. +# compiler flags: $LTCFLAGS
  15243. +# linker: $LD (gnu? $with_gnu_ld)
  15244. +# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1
  15245. +# automake: $automake_version
  15246. +# autoconf: $autoconf_version
  15247. +#
  15248. +# Report bugs to <bug-libtool@gnu.org>.
  15249. PROGRAM=ltmain.sh
  15250. PACKAGE=libtool
  15251. -VERSION=1.5.26
  15252. -TIMESTAMP=" (1.1220.2.492 2008/01/30 06:40:56)"
  15253. +VERSION="2.2.6b Debian-2.2.6b-2ubuntu1"
  15254. +TIMESTAMP=""
  15255. +package_revision=1.3017
  15256. -# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
  15257. +# Be Bourne compatible
  15258. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  15259. emulate sh
  15260. NULLCMD=:
  15261. @@ -60,104 +91,261 @@
  15262. BIN_SH=xpg4; export BIN_SH # for Tru64
  15263. DUALCASE=1; export DUALCASE # for MKS sh
  15264. -# Check that we have a working $echo.
  15265. -if test "X$1" = X--no-reexec; then
  15266. - # Discard the --no-reexec flag, and continue.
  15267. - shift
  15268. -elif test "X$1" = X--fallback-echo; then
  15269. - # Avoid inline document here, it may be left over
  15270. - :
  15271. -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
  15272. - # Yippee, $echo works!
  15273. - :
  15274. -else
  15275. - # Restart under the correct shell, and then maybe $echo will work.
  15276. - exec $SHELL "$progpath" --no-reexec ${1+"$@"}
  15277. -fi
  15278. -
  15279. -if test "X$1" = X--fallback-echo; then
  15280. - # used as fallback echo
  15281. - shift
  15282. - cat <<EOF
  15283. -$*
  15284. -EOF
  15285. - exit $EXIT_SUCCESS
  15286. -fi
  15287. -
  15288. -default_mode=
  15289. -help="Try \`$progname --help' for more information."
  15290. -magic="%%%MAGIC variable%%%"
  15291. -mkdir="mkdir"
  15292. -mv="mv -f"
  15293. -rm="rm -f"
  15294. -
  15295. -# Sed substitution that helps us do robust quoting. It backslashifies
  15296. -# metacharacters that are still active within double-quoted strings.
  15297. -Xsed="${SED}"' -e 1s/^X//'
  15298. -sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
  15299. -# test EBCDIC or ASCII
  15300. -case `echo X|tr X '\101'` in
  15301. - A) # ASCII based system
  15302. - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  15303. - SP2NL='tr \040 \012'
  15304. - NL2SP='tr \015\012 \040\040'
  15305. - ;;
  15306. - *) # EBCDIC based system
  15307. - SP2NL='tr \100 \n'
  15308. - NL2SP='tr \r\n \100\100'
  15309. - ;;
  15310. -esac
  15311. -
  15312. -# NLS nuisances.
  15313. +# NLS nuisances: We save the old values to restore during execute mode.
  15314. # Only set LANG and LC_ALL to C if already set.
  15315. # These must not be set unconditionally because not all systems understand
  15316. # e.g. LANG=C (notably SCO).
  15317. -# We save the old values to restore during execute mode.
  15318. -lt_env=
  15319. +lt_user_locale=
  15320. +lt_safe_locale=
  15321. for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  15322. do
  15323. eval "if test \"\${$lt_var+set}\" = set; then
  15324. - save_$lt_var=\$$lt_var
  15325. - lt_env=\"$lt_var=\$$lt_var \$lt_env\"
  15326. - $lt_var=C
  15327. + save_$lt_var=\$$lt_var
  15328. + $lt_var=C
  15329. export $lt_var
  15330. + lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\"
  15331. + lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
  15332. fi"
  15333. done
  15334. -if test -n "$lt_env"; then
  15335. - lt_env="env $lt_env"
  15336. -fi
  15337. +$lt_unset CDPATH
  15338. +
  15339. +
  15340. +
  15341. +
  15342. +
  15343. +: ${CP="cp -f"}
  15344. +: ${ECHO="echo"}
  15345. +: ${EGREP="/bin/grep -E"}
  15346. +: ${FGREP="/bin/grep -F"}
  15347. +: ${GREP="/bin/grep"}
  15348. +: ${LN_S="ln -s"}
  15349. +: ${MAKE="make"}
  15350. +: ${MKDIR="mkdir"}
  15351. +: ${MV="mv -f"}
  15352. +: ${RM="rm -f"}
  15353. +: ${SED="/bin/sed"}
  15354. +: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
  15355. +: ${Xsed="$SED -e 1s/^X//"}
  15356. +
  15357. +# Global variables:
  15358. +EXIT_SUCCESS=0
  15359. +EXIT_FAILURE=1
  15360. +EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing.
  15361. +EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake.
  15362. +
  15363. +exit_status=$EXIT_SUCCESS
  15364. # Make sure IFS has a sensible default
  15365. lt_nl='
  15366. '
  15367. IFS=" $lt_nl"
  15368. -if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
  15369. - $echo "$modename: not configured to build any kind of library" 1>&2
  15370. - $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
  15371. - exit $EXIT_FAILURE
  15372. -fi
  15373. +dirname="s,/[^/]*$,,"
  15374. +basename="s,^.*/,,"
  15375. -# Global variables.
  15376. -mode=$default_mode
  15377. -nonopt=
  15378. -prev=
  15379. -prevopt=
  15380. -run=
  15381. -show="$echo"
  15382. -show_help=
  15383. -execute_dlfiles=
  15384. -duplicate_deps=no
  15385. -preserve_args=
  15386. -lo2o="s/\\.lo\$/.${objext}/"
  15387. -o2lo="s/\\.${objext}\$/.lo/"
  15388. -extracted_archives=
  15389. -extracted_serial=0
  15390. +# func_dirname_and_basename file append nondir_replacement
  15391. +# perform func_basename and func_dirname in a single function
  15392. +# call:
  15393. +# dirname: Compute the dirname of FILE. If nonempty,
  15394. +# add APPEND to the result, otherwise set result
  15395. +# to NONDIR_REPLACEMENT.
  15396. +# value returned in "$func_dirname_result"
  15397. +# basename: Compute filename of FILE.
  15398. +# value retuned in "$func_basename_result"
  15399. +# Implementation must be kept synchronized with func_dirname
  15400. +# and func_basename. For efficiency, we do not delegate to
  15401. +# those functions but instead duplicate the functionality here.
  15402. +func_dirname_and_basename ()
  15403. +{
  15404. + # Extract subdirectory from the argument.
  15405. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  15406. + if test "X$func_dirname_result" = "X${1}"; then
  15407. + func_dirname_result="${3}"
  15408. + else
  15409. + func_dirname_result="$func_dirname_result${2}"
  15410. + fi
  15411. + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  15412. +}
  15413. +
  15414. +# Generated shell functions inserted here.
  15415. +
  15416. +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
  15417. +# is ksh but when the shell is invoked as "sh" and the current value of
  15418. +# the _XPG environment variable is not equal to 1 (one), the special
  15419. +# positional parameter $0, within a function call, is the name of the
  15420. +# function.
  15421. +progpath="$0"
  15422. +
  15423. +# The name of this program:
  15424. +# In the unlikely event $progname began with a '-', it would play havoc with
  15425. +# func_echo (imagine progname=-n), so we prepend ./ in that case:
  15426. +func_dirname_and_basename "$progpath"
  15427. +progname=$func_basename_result
  15428. +case $progname in
  15429. + -*) progname=./$progname ;;
  15430. +esac
  15431. +
  15432. +# Make sure we have an absolute path for reexecution:
  15433. +case $progpath in
  15434. + [\\/]*|[A-Za-z]:\\*) ;;
  15435. + *[\\/]*)
  15436. + progdir=$func_dirname_result
  15437. + progdir=`cd "$progdir" && pwd`
  15438. + progpath="$progdir/$progname"
  15439. + ;;
  15440. + *)
  15441. + save_IFS="$IFS"
  15442. + IFS=:
  15443. + for progdir in $PATH; do
  15444. + IFS="$save_IFS"
  15445. + test -x "$progdir/$progname" && break
  15446. + done
  15447. + IFS="$save_IFS"
  15448. + test -n "$progdir" || progdir=`pwd`
  15449. + progpath="$progdir/$progname"
  15450. + ;;
  15451. +esac
  15452. +
  15453. +# Sed substitution that helps us do robust quoting. It backslashifies
  15454. +# metacharacters that are still active within double-quoted strings.
  15455. +Xsed="${SED}"' -e 1s/^X//'
  15456. +sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
  15457. +
  15458. +# Same as above, but do not quote variable references.
  15459. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  15460. +
  15461. +# Re-`\' parameter expansions in output of double_quote_subst that were
  15462. +# `\'-ed in input to the same. If an odd number of `\' preceded a '$'
  15463. +# in input to double_quote_subst, that '$' was protected from expansion.
  15464. +# Since each input `\' is now two `\'s, look for any number of runs of
  15465. +# four `\'s followed by two `\'s and then a '$'. `\' that '$'.
  15466. +bs='\\'
  15467. +bs2='\\\\'
  15468. +bs4='\\\\\\\\'
  15469. +dollar='\$'
  15470. +sed_double_backslash="\
  15471. + s/$bs4/&\\
  15472. +/g
  15473. + s/^$bs2$dollar/$bs&/
  15474. + s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g
  15475. + s/\n//g"
  15476. +
  15477. +# Standard options:
  15478. +opt_dry_run=false
  15479. +opt_help=false
  15480. +opt_quiet=false
  15481. +opt_verbose=false
  15482. +opt_warning=:
  15483. +
  15484. +# func_echo arg...
  15485. +# Echo program name prefixed message, along with the current mode
  15486. +# name if it has been set yet.
  15487. +func_echo ()
  15488. +{
  15489. + $ECHO "$progname${mode+: }$mode: $*"
  15490. +}
  15491. +
  15492. +# func_verbose arg...
  15493. +# Echo program name prefixed message in verbose mode only.
  15494. +func_verbose ()
  15495. +{
  15496. + $opt_verbose && func_echo ${1+"$@"}
  15497. +
  15498. + # A bug in bash halts the script if the last line of a function
  15499. + # fails when set -e is in force, so we need another command to
  15500. + # work around that:
  15501. + :
  15502. +}
  15503. +
  15504. +# func_error arg...
  15505. +# Echo program name prefixed message to standard error.
  15506. +func_error ()
  15507. +{
  15508. + $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2
  15509. +}
  15510. +
  15511. +# func_warning arg...
  15512. +# Echo program name prefixed warning message to standard error.
  15513. +func_warning ()
  15514. +{
  15515. + $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2
  15516. +
  15517. + # bash bug again:
  15518. + :
  15519. +}
  15520. +
  15521. +# func_fatal_error arg...
  15522. +# Echo program name prefixed message to standard error, and exit.
  15523. +func_fatal_error ()
  15524. +{
  15525. + func_error ${1+"$@"}
  15526. + exit $EXIT_FAILURE
  15527. +}
  15528. +
  15529. +# func_fatal_help arg...
  15530. +# Echo program name prefixed message to standard error, followed by
  15531. +# a help hint, and exit.
  15532. +func_fatal_help ()
  15533. +{
  15534. + func_error ${1+"$@"}
  15535. + func_fatal_error "$help"
  15536. +}
  15537. +help="Try \`$progname --help' for more information." ## default
  15538. +
  15539. +
  15540. +# func_grep expression filename
  15541. +# Check whether EXPRESSION matches any line of FILENAME, without output.
  15542. +func_grep ()
  15543. +{
  15544. + $GREP "$1" "$2" >/dev/null 2>&1
  15545. +}
  15546. +
  15547. +
  15548. +# func_mkdir_p directory-path
  15549. +# Make sure the entire path to DIRECTORY-PATH is available.
  15550. +func_mkdir_p ()
  15551. +{
  15552. + my_directory_path="$1"
  15553. + my_dir_list=
  15554. +
  15555. + if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then
  15556. +
  15557. + # Protect directory names starting with `-'
  15558. + case $my_directory_path in
  15559. + -*) my_directory_path="./$my_directory_path" ;;
  15560. + esac
  15561. +
  15562. + # While some portion of DIR does not yet exist...
  15563. + while test ! -d "$my_directory_path"; do
  15564. + # ...make a list in topmost first order. Use a colon delimited
  15565. + # list incase some portion of path contains whitespace.
  15566. + my_dir_list="$my_directory_path:$my_dir_list"
  15567. +
  15568. + # If the last portion added has no slash in it, the list is done
  15569. + case $my_directory_path in */*) ;; *) break ;; esac
  15570. +
  15571. + # ...otherwise throw away the child directory and loop
  15572. + my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
  15573. + done
  15574. + my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
  15575. +
  15576. + save_mkdir_p_IFS="$IFS"; IFS=':'
  15577. + for my_dir in $my_dir_list; do
  15578. + IFS="$save_mkdir_p_IFS"
  15579. + # mkdir can fail with a `File exist' error if two processes
  15580. + # try to create one of the directories concurrently. Don't
  15581. + # stop in that case!
  15582. + $MKDIR "$my_dir" 2>/dev/null || :
  15583. + done
  15584. + IFS="$save_mkdir_p_IFS"
  15585. +
  15586. + # Bail out if we (or some other process) failed to create a directory.
  15587. + test -d "$my_directory_path" || \
  15588. + func_fatal_error "Failed to create \`$1'"
  15589. + fi
  15590. +}
  15591. -#####################################
  15592. -# Shell function definitions:
  15593. -# This seems to be the best place for them
  15594. # func_mktempdir [string]
  15595. # Make a temporary directory that won't clash with other running
  15596. @@ -167,7 +355,7 @@
  15597. {
  15598. my_template="${TMPDIR-/tmp}/${1-$progname}"
  15599. - if test "$run" = ":"; then
  15600. + if test "$opt_dry_run" = ":"; then
  15601. # Return a directory name, but don't create it in dry-run mode
  15602. my_tmpdir="${my_template}-$$"
  15603. else
  15604. @@ -176,552 +364,784 @@
  15605. my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
  15606. if test ! -d "$my_tmpdir"; then
  15607. - # Failing that, at least try and use $RANDOM to avoid a race
  15608. - my_tmpdir="${my_template}-${RANDOM-0}$$"
  15609. + # Failing that, at least try and use $RANDOM to avoid a race
  15610. + my_tmpdir="${my_template}-${RANDOM-0}$$"
  15611. - save_mktempdir_umask=`umask`
  15612. - umask 0077
  15613. - $mkdir "$my_tmpdir"
  15614. - umask $save_mktempdir_umask
  15615. + save_mktempdir_umask=`umask`
  15616. + umask 0077
  15617. + $MKDIR "$my_tmpdir"
  15618. + umask $save_mktempdir_umask
  15619. fi
  15620. # If we're not in dry-run mode, bomb out on failure
  15621. - test -d "$my_tmpdir" || {
  15622. - $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
  15623. - exit $EXIT_FAILURE
  15624. - }
  15625. + test -d "$my_tmpdir" || \
  15626. + func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
  15627. fi
  15628. - $echo "X$my_tmpdir" | $Xsed
  15629. + $ECHO "X$my_tmpdir" | $Xsed
  15630. }
  15631. -# func_win32_libid arg
  15632. -# return the library type of file 'arg'
  15633. -#
  15634. -# Need a lot of goo to handle *both* DLLs and import libs
  15635. -# Has to be a shell function in order to 'eat' the argument
  15636. -# that is supplied when $file_magic_command is called.
  15637. -func_win32_libid ()
  15638. +# func_quote_for_eval arg
  15639. +# Aesthetically quote ARG to be evaled later.
  15640. +# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT
  15641. +# is double-quoted, suitable for a subsequent eval, whereas
  15642. +# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters
  15643. +# which are still active within double quotes backslashified.
  15644. +func_quote_for_eval ()
  15645. {
  15646. - win32_libid_type="unknown"
  15647. - win32_fileres=`file -L $1 2>/dev/null`
  15648. - case $win32_fileres in
  15649. - *ar\ archive\ import\ library*) # definitely import
  15650. - win32_libid_type="x86 archive import"
  15651. - ;;
  15652. - *ar\ archive*) # could be an import, or static
  15653. - if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
  15654. - $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
  15655. - win32_nmres=`eval $NM -f posix -A $1 | \
  15656. - $SED -n -e '1,100{
  15657. - / I /{
  15658. - s,.*,import,
  15659. - p
  15660. - q
  15661. - }
  15662. - }'`
  15663. - case $win32_nmres in
  15664. - import*) win32_libid_type="x86 archive import";;
  15665. - *) win32_libid_type="x86 archive static";;
  15666. - esac
  15667. - fi
  15668. - ;;
  15669. - *DLL*)
  15670. - win32_libid_type="x86 DLL"
  15671. - ;;
  15672. - *executable*) # but shell scripts are "executable" too...
  15673. - case $win32_fileres in
  15674. - *MS\ Windows\ PE\ Intel*)
  15675. - win32_libid_type="x86 DLL"
  15676. - ;;
  15677. + case $1 in
  15678. + *[\\\`\"\$]*)
  15679. + func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
  15680. + *)
  15681. + func_quote_for_eval_unquoted_result="$1" ;;
  15682. + esac
  15683. +
  15684. + case $func_quote_for_eval_unquoted_result in
  15685. + # Double-quote args containing shell metacharacters to delay
  15686. + # word splitting, command substitution and and variable
  15687. + # expansion for a subsequent eval.
  15688. + # Many Bourne shells cannot handle close brackets correctly
  15689. + # in scan sets, so we specify it separately.
  15690. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  15691. + func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\""
  15692. + ;;
  15693. + *)
  15694. + func_quote_for_eval_result="$func_quote_for_eval_unquoted_result"
  15695. esac
  15696. - ;;
  15697. - esac
  15698. - $echo $win32_libid_type
  15699. }
  15700. -# func_infer_tag arg
  15701. -# Infer tagged configuration to use if any are available and
  15702. -# if one wasn't chosen via the "--tag" command line option.
  15703. -# Only attempt this if the compiler in the base compile
  15704. -# command doesn't match the default compiler.
  15705. -# arg is usually of the form 'gcc ...'
  15706. -func_infer_tag ()
  15707. +# func_quote_for_expand arg
  15708. +# Aesthetically quote ARG to be evaled later; same as above,
  15709. +# but do not quote variable references.
  15710. +func_quote_for_expand ()
  15711. {
  15712. - # FreeBSD-specific: where we install compilers with non-standard names
  15713. - tag_compilers_CC="*cc cc* *gcc gcc*"
  15714. - tag_compilers_CXX="*c++ c++* *g++ g++*"
  15715. - base_compiler=`set -- "$@"; echo $1`
  15716. -
  15717. - # If $tagname isn't set, then try to infer if the default "CC" tag applies
  15718. - if test -z "$tagname"; then
  15719. - for zp in $tag_compilers_CC; do
  15720. - case $base_compiler in
  15721. - $zp) tagname="CC"; break;;
  15722. - esac
  15723. - done
  15724. - fi
  15725. -
  15726. - if test -n "$available_tags" && test -z "$tagname"; then
  15727. - CC_quoted=
  15728. - for arg in $CC; do
  15729. - case $arg in
  15730. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  15731. - arg="\"$arg\""
  15732. - ;;
  15733. - esac
  15734. - CC_quoted="$CC_quoted $arg"
  15735. - done
  15736. - case $@ in
  15737. - # Blanks in the command may have been stripped by the calling shell,
  15738. - # but not from the CC environment variable when configure was run.
  15739. - " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
  15740. - # Blanks at the start of $base_compile will cause this to fail
  15741. - # if we don't check for them as well.
  15742. + case $1 in
  15743. + *[\\\`\"]*)
  15744. + my_arg=`$ECHO "X$1" | $Xsed \
  15745. + -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
  15746. *)
  15747. - for z in $available_tags; do
  15748. - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
  15749. - # Evaluate the configuration.
  15750. - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
  15751. - CC_quoted=
  15752. - for arg in $CC; do
  15753. - # Double-quote args containing other shell metacharacters.
  15754. - case $arg in
  15755. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  15756. - arg="\"$arg\""
  15757. - ;;
  15758. - esac
  15759. - CC_quoted="$CC_quoted $arg"
  15760. - done
  15761. - case "$@ " in
  15762. - " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
  15763. - # The compiler in the base compile command matches
  15764. - # the one in the tagged configuration.
  15765. - # Assume this is the tagged configuration we want.
  15766. - tagname=$z
  15767. - break
  15768. - ;;
  15769. - esac
  15770. + my_arg="$1" ;;
  15771. + esac
  15772. - # FreeBSD-specific: try compilers based on inferred tag
  15773. - if test -z "$tagname"; then
  15774. - eval "tag_compilers=\$tag_compilers_${z}"
  15775. - if test -n "$tag_compilers"; then
  15776. - for zp in $tag_compilers; do
  15777. - case $base_compiler in
  15778. - $zp) tagname=$z; break;;
  15779. - esac
  15780. - done
  15781. - if test -n "$tagname"; then
  15782. - break
  15783. - fi
  15784. - fi
  15785. - fi
  15786. - fi
  15787. - done
  15788. - # If $tagname still isn't set, then no tagged configuration
  15789. - # was found and let the user know that the "--tag" command
  15790. - # line option must be used.
  15791. - if test -z "$tagname"; then
  15792. - $echo "$modename: unable to infer tagged configuration"
  15793. - $echo "$modename: specify a tag with \`--tag'" 1>&2
  15794. - exit $EXIT_FAILURE
  15795. -# else
  15796. -# $echo "$modename: using $tagname tagged configuration"
  15797. - fi
  15798. - ;;
  15799. - esac
  15800. - fi
  15801. + case $my_arg in
  15802. + # Double-quote args containing shell metacharacters to delay
  15803. + # word splitting and command substitution for a subsequent eval.
  15804. + # Many Bourne shells cannot handle close brackets correctly
  15805. + # in scan sets, so we specify it separately.
  15806. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  15807. + my_arg="\"$my_arg\""
  15808. + ;;
  15809. + esac
  15810. +
  15811. + func_quote_for_expand_result="$my_arg"
  15812. }
  15813. -# func_extract_an_archive dir oldlib
  15814. -func_extract_an_archive ()
  15815. +# func_show_eval cmd [fail_exp]
  15816. +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
  15817. +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
  15818. +# is given, then evaluate it.
  15819. +func_show_eval ()
  15820. {
  15821. - f_ex_an_ar_dir="$1"; shift
  15822. - f_ex_an_ar_oldlib="$1"
  15823. + my_cmd="$1"
  15824. + my_fail_exp="${2-:}"
  15825. - $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)"
  15826. - $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $?
  15827. - if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
  15828. - :
  15829. - else
  15830. - $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
  15831. - exit $EXIT_FAILURE
  15832. + ${opt_silent-false} || {
  15833. + func_quote_for_expand "$my_cmd"
  15834. + eval "func_echo $func_quote_for_expand_result"
  15835. + }
  15836. +
  15837. + if ${opt_dry_run-false}; then :; else
  15838. + eval "$my_cmd"
  15839. + my_status=$?
  15840. + if test "$my_status" -eq 0; then :; else
  15841. + eval "(exit $my_status); $my_fail_exp"
  15842. + fi
  15843. fi
  15844. }
  15845. -# func_extract_archives gentop oldlib ...
  15846. -func_extract_archives ()
  15847. +
  15848. +# func_show_eval_locale cmd [fail_exp]
  15849. +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
  15850. +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
  15851. +# is given, then evaluate it. Use the saved locale for evaluation.
  15852. +func_show_eval_locale ()
  15853. {
  15854. - my_gentop="$1"; shift
  15855. - my_oldlibs=${1+"$@"}
  15856. - my_oldobjs=""
  15857. - my_xlib=""
  15858. - my_xabs=""
  15859. - my_xdir=""
  15860. - my_status=""
  15861. + my_cmd="$1"
  15862. + my_fail_exp="${2-:}"
  15863. +
  15864. + ${opt_silent-false} || {
  15865. + func_quote_for_expand "$my_cmd"
  15866. + eval "func_echo $func_quote_for_expand_result"
  15867. + }
  15868. - $show "${rm}r $my_gentop"
  15869. - $run ${rm}r "$my_gentop"
  15870. - $show "$mkdir $my_gentop"
  15871. - $run $mkdir "$my_gentop"
  15872. - my_status=$?
  15873. - if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
  15874. - exit $my_status
  15875. + if ${opt_dry_run-false}; then :; else
  15876. + eval "$lt_user_locale
  15877. + $my_cmd"
  15878. + my_status=$?
  15879. + eval "$lt_safe_locale"
  15880. + if test "$my_status" -eq 0; then :; else
  15881. + eval "(exit $my_status); $my_fail_exp"
  15882. + fi
  15883. fi
  15884. +}
  15885. - for my_xlib in $my_oldlibs; do
  15886. - # Extract the objects.
  15887. - case $my_xlib in
  15888. - [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
  15889. - *) my_xabs=`pwd`"/$my_xlib" ;;
  15890. - esac
  15891. - my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
  15892. - my_xlib_u=$my_xlib
  15893. - while :; do
  15894. - case " $extracted_archives " in
  15895. - *" $my_xlib_u "*)
  15896. - extracted_serial=`expr $extracted_serial + 1`
  15897. - my_xlib_u=lt$extracted_serial-$my_xlib ;;
  15898. - *) break ;;
  15899. - esac
  15900. - done
  15901. - extracted_archives="$extracted_archives $my_xlib_u"
  15902. - my_xdir="$my_gentop/$my_xlib_u"
  15903. - $show "${rm}r $my_xdir"
  15904. - $run ${rm}r "$my_xdir"
  15905. - $show "$mkdir $my_xdir"
  15906. - $run $mkdir "$my_xdir"
  15907. - exit_status=$?
  15908. - if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
  15909. - exit $exit_status
  15910. - fi
  15911. - case $host in
  15912. - *-darwin*)
  15913. - $show "Extracting $my_xabs"
  15914. - # Do not bother doing anything if just a dry run
  15915. - if test -z "$run"; then
  15916. - darwin_orig_dir=`pwd`
  15917. - cd $my_xdir || exit $?
  15918. - darwin_archive=$my_xabs
  15919. - darwin_curdir=`pwd`
  15920. - darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
  15921. - darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
  15922. - if test -n "$darwin_arches"; then
  15923. - darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
  15924. - darwin_arch=
  15925. - $show "$darwin_base_archive has multiple architectures $darwin_arches"
  15926. - for darwin_arch in $darwin_arches ; do
  15927. - mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  15928. - lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
  15929. - cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  15930. - func_extract_an_archive "`pwd`" "${darwin_base_archive}"
  15931. - cd "$darwin_curdir"
  15932. - $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
  15933. - done # $darwin_arches
  15934. - ## Okay now we have a bunch of thin objects, gotta fatten them up :)
  15935. - darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP`
  15936. - darwin_file=
  15937. - darwin_files=
  15938. - for darwin_file in $darwin_filelist; do
  15939. - darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
  15940. - lipo -create -output "$darwin_file" $darwin_files
  15941. - done # $darwin_filelist
  15942. - ${rm}r unfat-$$
  15943. - cd "$darwin_orig_dir"
  15944. - else
  15945. - cd "$darwin_orig_dir"
  15946. - func_extract_an_archive "$my_xdir" "$my_xabs"
  15947. - fi # $darwin_arches
  15948. - fi # $run
  15949. - ;;
  15950. - *)
  15951. - func_extract_an_archive "$my_xdir" "$my_xabs"
  15952. - ;;
  15953. - esac
  15954. - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
  15955. - done
  15956. - func_extract_archives_result="$my_oldobjs"
  15957. +
  15958. +
  15959. +
  15960. +# func_version
  15961. +# Echo version message to standard output and exit.
  15962. +func_version ()
  15963. +{
  15964. + $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
  15965. + s/^# //
  15966. + s/^# *$//
  15967. + s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
  15968. + p
  15969. + }' < "$progpath"
  15970. + exit $?
  15971. }
  15972. -# End of Shell function definitions
  15973. -#####################################
  15974. -# Darwin sucks
  15975. -eval std_shrext=\"$shrext_cmds\"
  15976. +# func_usage
  15977. +# Echo short help message to standard output and exit.
  15978. +func_usage ()
  15979. +{
  15980. + $SED -n '/^# Usage:/,/# -h/ {
  15981. + s/^# //
  15982. + s/^# *$//
  15983. + s/\$progname/'$progname'/
  15984. + p
  15985. + }' < "$progpath"
  15986. + $ECHO
  15987. + $ECHO "run \`$progname --help | more' for full usage"
  15988. + exit $?
  15989. +}
  15990. -disable_libs=no
  15991. +# func_help
  15992. +# Echo long help message to standard output and exit.
  15993. +func_help ()
  15994. +{
  15995. + $SED -n '/^# Usage:/,/# Report bugs to/ {
  15996. + s/^# //
  15997. + s/^# *$//
  15998. + s*\$progname*'$progname'*
  15999. + s*\$host*'"$host"'*
  16000. + s*\$SHELL*'"$SHELL"'*
  16001. + s*\$LTCC*'"$LTCC"'*
  16002. + s*\$LTCFLAGS*'"$LTCFLAGS"'*
  16003. + s*\$LD*'"$LD"'*
  16004. + s/\$with_gnu_ld/'"$with_gnu_ld"'/
  16005. + s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
  16006. + s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
  16007. + p
  16008. + }' < "$progpath"
  16009. + exit $?
  16010. +}
  16011. -# Parse our command line options once, thoroughly.
  16012. -while test "$#" -gt 0
  16013. -do
  16014. - arg="$1"
  16015. +# func_missing_arg argname
  16016. +# Echo program name prefixed message to standard error and set global
  16017. +# exit_cmd.
  16018. +func_missing_arg ()
  16019. +{
  16020. + func_error "missing argument for $1"
  16021. + exit_cmd=exit
  16022. +}
  16023. +
  16024. +exit_cmd=:
  16025. +
  16026. +
  16027. +
  16028. +
  16029. +
  16030. +# Check that we have a working $ECHO.
  16031. +if test "X$1" = X--no-reexec; then
  16032. + # Discard the --no-reexec flag, and continue.
  16033. shift
  16034. +elif test "X$1" = X--fallback-echo; then
  16035. + # Avoid inline document here, it may be left over
  16036. + :
  16037. +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
  16038. + # Yippee, $ECHO works!
  16039. + :
  16040. +else
  16041. + # Restart under the correct shell, and then maybe $ECHO will work.
  16042. + exec $SHELL "$progpath" --no-reexec ${1+"$@"}
  16043. +fi
  16044. - case $arg in
  16045. - -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
  16046. - *) optarg= ;;
  16047. - esac
  16048. +if test "X$1" = X--fallback-echo; then
  16049. + # used as fallback echo
  16050. + shift
  16051. + cat <<EOF
  16052. +$*
  16053. +EOF
  16054. + exit $EXIT_SUCCESS
  16055. +fi
  16056. - # If the previous option needs an argument, assign it.
  16057. - if test -n "$prev"; then
  16058. - case $prev in
  16059. - execute_dlfiles)
  16060. - execute_dlfiles="$execute_dlfiles $arg"
  16061. - ;;
  16062. - tag)
  16063. - tagname="$arg"
  16064. - preserve_args="${preserve_args}=$arg"
  16065. -
  16066. - # Check whether tagname contains only valid characters
  16067. - case $tagname in
  16068. - *[!-_A-Za-z0-9,/]*)
  16069. - $echo "$progname: invalid tag name: $tagname" 1>&2
  16070. - exit $EXIT_FAILURE
  16071. - ;;
  16072. - esac
  16073. +magic="%%%MAGIC variable%%%"
  16074. +magic_exe="%%%MAGIC EXE variable%%%"
  16075. - case $tagname in
  16076. - CC)
  16077. - # Don't test for the "default" C tag, as we know, it's there, but
  16078. - # not specially marked.
  16079. - ;;
  16080. - *)
  16081. - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
  16082. - taglist="$taglist $tagname"
  16083. - # Evaluate the configuration.
  16084. - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
  16085. - else
  16086. - $echo "$progname: ignoring unknown tag $tagname" 1>&2
  16087. - fi
  16088. - ;;
  16089. - esac
  16090. - ;;
  16091. - *)
  16092. - eval "$prev=\$arg"
  16093. - ;;
  16094. - esac
  16095. +# Global variables.
  16096. +# $mode is unset
  16097. +nonopt=
  16098. +execute_dlfiles=
  16099. +preserve_args=
  16100. +lo2o="s/\\.lo\$/.${objext}/"
  16101. +o2lo="s/\\.${objext}\$/.lo/"
  16102. +extracted_archives=
  16103. +extracted_serial=0
  16104. - prev=
  16105. - prevopt=
  16106. - continue
  16107. - fi
  16108. +opt_dry_run=false
  16109. +opt_duplicate_deps=false
  16110. +opt_silent=false
  16111. +opt_debug=:
  16112. - # Have we seen a non-optional argument yet?
  16113. - case $arg in
  16114. - --help)
  16115. - show_help=yes
  16116. - ;;
  16117. +# If this variable is set in any of the actions, the command in it
  16118. +# will be execed at the end. This prevents here-documents from being
  16119. +# left over by shells.
  16120. +exec_cmd=
  16121. - --version)
  16122. - echo "\
  16123. -$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP
  16124. -
  16125. -Copyright (C) 2008 Free Software Foundation, Inc.
  16126. -This is free software; see the source for copying conditions. There is NO
  16127. -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  16128. - exit $?
  16129. - ;;
  16130. +# func_fatal_configuration arg...
  16131. +# Echo program name prefixed message to standard error, followed by
  16132. +# a configuration failure hint, and exit.
  16133. +func_fatal_configuration ()
  16134. +{
  16135. + func_error ${1+"$@"}
  16136. + func_error "See the $PACKAGE documentation for more information."
  16137. + func_fatal_error "Fatal configuration error."
  16138. +}
  16139. +
  16140. +
  16141. +# func_config
  16142. +# Display the configuration for all the tags in this script.
  16143. +func_config ()
  16144. +{
  16145. + re_begincf='^# ### BEGIN LIBTOOL'
  16146. + re_endcf='^# ### END LIBTOOL'
  16147. +
  16148. + # Default configuration.
  16149. + $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
  16150. - --config)
  16151. - ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
  16152. # Now print the configurations for the tags.
  16153. for tagname in $taglist; do
  16154. - ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
  16155. + $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
  16156. done
  16157. - exit $?
  16158. - ;;
  16159. -
  16160. - --debug)
  16161. - $echo "$progname: enabling shell trace mode"
  16162. - set -x
  16163. - preserve_args="$preserve_args $arg"
  16164. - ;;
  16165. - --dry-run | -n)
  16166. - run=:
  16167. - ;;
  16168. + exit $?
  16169. +}
  16170. - --features)
  16171. - $echo "host: $host"
  16172. +# func_features
  16173. +# Display the features supported by this script.
  16174. +func_features ()
  16175. +{
  16176. + $ECHO "host: $host"
  16177. if test "$build_libtool_libs" = yes; then
  16178. - $echo "enable shared libraries"
  16179. + $ECHO "enable shared libraries"
  16180. else
  16181. - $echo "disable shared libraries"
  16182. + $ECHO "disable shared libraries"
  16183. fi
  16184. if test "$build_old_libs" = yes; then
  16185. - $echo "enable static libraries"
  16186. + $ECHO "enable static libraries"
  16187. else
  16188. - $echo "disable static libraries"
  16189. + $ECHO "disable static libraries"
  16190. fi
  16191. +
  16192. exit $?
  16193. - ;;
  16194. +}
  16195. - --finish) mode="finish" ;;
  16196. +# func_enable_tag tagname
  16197. +# Verify that TAGNAME is valid, and either flag an error and exit, or
  16198. +# enable the TAGNAME tag. We also add TAGNAME to the global $taglist
  16199. +# variable here.
  16200. +func_enable_tag ()
  16201. +{
  16202. + # Global variable:
  16203. + tagname="$1"
  16204. - --mode) prevopt="--mode" prev=mode ;;
  16205. - --mode=*) mode="$optarg" ;;
  16206. + re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
  16207. + re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
  16208. + sed_extractcf="/$re_begincf/,/$re_endcf/p"
  16209. +
  16210. + # Validate tagname.
  16211. + case $tagname in
  16212. + *[!-_A-Za-z0-9,/]*)
  16213. + func_fatal_error "invalid tag name: $tagname"
  16214. + ;;
  16215. + esac
  16216. - --preserve-dup-deps) duplicate_deps="yes" ;;
  16217. + # Don't test for the "default" C tag, as we know it's
  16218. + # there but not specially marked.
  16219. + case $tagname in
  16220. + CC) ;;
  16221. + *)
  16222. + if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
  16223. + taglist="$taglist $tagname"
  16224. - --quiet | --silent)
  16225. - show=:
  16226. - preserve_args="$preserve_args $arg"
  16227. - ;;
  16228. + # Evaluate the configuration. Be careful to quote the path
  16229. + # and the sed script, to avoid splitting on whitespace, but
  16230. + # also don't use non-portable quotes within backquotes within
  16231. + # quotes we have to do it in 2 steps:
  16232. + extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
  16233. + eval "$extractedcf"
  16234. + else
  16235. + func_error "ignoring unknown tag $tagname"
  16236. + fi
  16237. + ;;
  16238. + esac
  16239. +}
  16240. +
  16241. +# Parse options once, thoroughly. This comes as soon as possible in
  16242. +# the script to make things like `libtool --version' happen quickly.
  16243. +{
  16244. - --tag)
  16245. - prevopt="--tag"
  16246. - prev=tag
  16247. - preserve_args="$preserve_args --tag"
  16248. + # Shorthand for --mode=foo, only valid as the first argument
  16249. + case $1 in
  16250. + clean|clea|cle|cl)
  16251. + shift; set dummy --mode clean ${1+"$@"}; shift
  16252. ;;
  16253. - --tag=*)
  16254. - set tag "$optarg" ${1+"$@"}
  16255. - shift
  16256. - prev=tag
  16257. - preserve_args="$preserve_args --tag"
  16258. + compile|compil|compi|comp|com|co|c)
  16259. + shift; set dummy --mode compile ${1+"$@"}; shift
  16260. ;;
  16261. -
  16262. - -dlopen)
  16263. - prevopt="-dlopen"
  16264. - prev=execute_dlfiles
  16265. + execute|execut|execu|exec|exe|ex|e)
  16266. + shift; set dummy --mode execute ${1+"$@"}; shift
  16267. ;;
  16268. -
  16269. - -*)
  16270. - $echo "$modename: unrecognized option \`$arg'" 1>&2
  16271. - $echo "$help" 1>&2
  16272. - exit $EXIT_FAILURE
  16273. + finish|finis|fini|fin|fi|f)
  16274. + shift; set dummy --mode finish ${1+"$@"}; shift
  16275. ;;
  16276. -
  16277. - *)
  16278. - nonopt="$arg"
  16279. - break
  16280. + install|instal|insta|inst|ins|in|i)
  16281. + shift; set dummy --mode install ${1+"$@"}; shift
  16282. + ;;
  16283. + link|lin|li|l)
  16284. + shift; set dummy --mode link ${1+"$@"}; shift
  16285. + ;;
  16286. + uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
  16287. + shift; set dummy --mode uninstall ${1+"$@"}; shift
  16288. ;;
  16289. esac
  16290. -done
  16291. -if test -n "$prevopt"; then
  16292. - $echo "$modename: option \`$prevopt' requires an argument" 1>&2
  16293. - $echo "$help" 1>&2
  16294. - exit $EXIT_FAILURE
  16295. -fi
  16296. + # Parse non-mode specific arguments:
  16297. + while test "$#" -gt 0; do
  16298. + opt="$1"
  16299. + shift
  16300. -case $disable_libs in
  16301. -no)
  16302. - ;;
  16303. -shared)
  16304. - build_libtool_libs=no
  16305. - build_old_libs=yes
  16306. - ;;
  16307. -static)
  16308. - build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
  16309. - ;;
  16310. -esac
  16311. + case $opt in
  16312. + --config) func_config ;;
  16313. -# If this variable is set in any of the actions, the command in it
  16314. -# will be execed at the end. This prevents here-documents from being
  16315. -# left over by shells.
  16316. -exec_cmd=
  16317. + --debug) preserve_args="$preserve_args $opt"
  16318. + func_echo "enabling shell trace mode"
  16319. + opt_debug='set -x'
  16320. + $opt_debug
  16321. + ;;
  16322. -if test -z "$show_help"; then
  16323. + -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break
  16324. + execute_dlfiles="$execute_dlfiles $1"
  16325. + shift
  16326. + ;;
  16327. - # Infer the operation mode.
  16328. - if test -z "$mode"; then
  16329. - $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
  16330. - $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
  16331. - case $nonopt in
  16332. - *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
  16333. - mode=link
  16334. - for arg
  16335. - do
  16336. - case $arg in
  16337. - -c)
  16338. - mode=compile
  16339. - break
  16340. - ;;
  16341. - esac
  16342. - done
  16343. - ;;
  16344. - *db | *dbx | *strace | *truss)
  16345. - mode=execute
  16346. - ;;
  16347. - *install*|cp|mv)
  16348. - mode=install
  16349. - ;;
  16350. - *rm)
  16351. - mode=uninstall
  16352. + --dry-run | -n) opt_dry_run=: ;;
  16353. + --features) func_features ;;
  16354. + --finish) mode="finish" ;;
  16355. +
  16356. + --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break
  16357. + case $1 in
  16358. + # Valid mode arguments:
  16359. + clean) ;;
  16360. + compile) ;;
  16361. + execute) ;;
  16362. + finish) ;;
  16363. + install) ;;
  16364. + link) ;;
  16365. + relink) ;;
  16366. + uninstall) ;;
  16367. +
  16368. + # Catch anything else as an error
  16369. + *) func_error "invalid argument for $opt"
  16370. + exit_cmd=exit
  16371. + break
  16372. + ;;
  16373. + esac
  16374. +
  16375. + mode="$1"
  16376. + shift
  16377. + ;;
  16378. +
  16379. + --preserve-dup-deps)
  16380. + opt_duplicate_deps=: ;;
  16381. +
  16382. + --quiet|--silent) preserve_args="$preserve_args $opt"
  16383. + opt_silent=:
  16384. + ;;
  16385. +
  16386. + --verbose| -v) preserve_args="$preserve_args $opt"
  16387. + opt_silent=false
  16388. + ;;
  16389. +
  16390. + --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break
  16391. + preserve_args="$preserve_args $opt $1"
  16392. + func_enable_tag "$1" # tagname is set here
  16393. + shift
  16394. + ;;
  16395. +
  16396. + # Separate optargs to long options:
  16397. + -dlopen=*|--mode=*|--tag=*)
  16398. + func_opt_split "$opt"
  16399. + set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"}
  16400. + shift
  16401. + ;;
  16402. +
  16403. + -\?|-h) func_usage ;;
  16404. + --help) opt_help=: ;;
  16405. + --version) func_version ;;
  16406. +
  16407. + -*) func_fatal_help "unrecognized option \`$opt'" ;;
  16408. +
  16409. + *) nonopt="$opt"
  16410. + break
  16411. + ;;
  16412. + esac
  16413. + done
  16414. +
  16415. +
  16416. + case $host in
  16417. + *cygwin* | *mingw* | *pw32* | *cegcc*)
  16418. + # don't eliminate duplications in $postdeps and $predeps
  16419. + opt_duplicate_compiler_generated_deps=:
  16420. ;;
  16421. *)
  16422. - # If we have no mode, but dlfiles were specified, then do execute mode.
  16423. - test -n "$execute_dlfiles" && mode=execute
  16424. + opt_duplicate_compiler_generated_deps=$opt_duplicate_deps
  16425. + ;;
  16426. + esac
  16427. - # Just use the default operation mode.
  16428. - if test -z "$mode"; then
  16429. - if test -n "$nonopt"; then
  16430. - $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
  16431. - else
  16432. - $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
  16433. - fi
  16434. + # Having warned about all mis-specified options, bail out if
  16435. + # anything was wrong.
  16436. + $exit_cmd $EXIT_FAILURE
  16437. +}
  16438. +
  16439. +# func_check_version_match
  16440. +# Ensure that we are using m4 macros, and libtool script from the same
  16441. +# release of libtool.
  16442. +func_check_version_match ()
  16443. +{
  16444. + if test "$package_revision" != "$macro_revision"; then
  16445. + if test "$VERSION" != "$macro_version"; then
  16446. + if test -z "$macro_version"; then
  16447. + cat >&2 <<_LT_EOF
  16448. +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  16449. +$progname: definition of this LT_INIT comes from an older release.
  16450. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  16451. +$progname: and run autoconf again.
  16452. +_LT_EOF
  16453. + else
  16454. + cat >&2 <<_LT_EOF
  16455. +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  16456. +$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
  16457. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  16458. +$progname: and run autoconf again.
  16459. +_LT_EOF
  16460. fi
  16461. - ;;
  16462. - esac
  16463. + else
  16464. + cat >&2 <<_LT_EOF
  16465. +$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
  16466. +$progname: but the definition of this LT_INIT comes from revision $macro_revision.
  16467. +$progname: You should recreate aclocal.m4 with macros from revision $package_revision
  16468. +$progname: of $PACKAGE $VERSION and run autoconf again.
  16469. +_LT_EOF
  16470. + fi
  16471. +
  16472. + exit $EXIT_MISMATCH
  16473. + fi
  16474. +}
  16475. +
  16476. +
  16477. +## ----------- ##
  16478. +## Main. ##
  16479. +## ----------- ##
  16480. +
  16481. +$opt_help || {
  16482. + # Sanity checks first:
  16483. + func_check_version_match
  16484. +
  16485. + if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
  16486. + func_fatal_configuration "not configured to build any kind of library"
  16487. fi
  16488. + test -z "$mode" && func_fatal_error "error: you must specify a MODE."
  16489. +
  16490. +
  16491. + # Darwin sucks
  16492. + eval std_shrext=\"$shrext_cmds\"
  16493. +
  16494. +
  16495. # Only execute mode is allowed to have -dlopen flags.
  16496. if test -n "$execute_dlfiles" && test "$mode" != execute; then
  16497. - $echo "$modename: unrecognized option \`-dlopen'" 1>&2
  16498. - $echo "$help" 1>&2
  16499. + func_error "unrecognized option \`-dlopen'"
  16500. + $ECHO "$help" 1>&2
  16501. exit $EXIT_FAILURE
  16502. fi
  16503. # Change the help message to a mode-specific one.
  16504. generic_help="$help"
  16505. - help="Try \`$modename --help --mode=$mode' for more information."
  16506. + help="Try \`$progname --help --mode=$mode' for more information."
  16507. +}
  16508. - # These modes are in order of execution frequency so that they run quickly.
  16509. - case $mode in
  16510. - # libtool compile mode
  16511. - compile)
  16512. - modename="$modename: compile"
  16513. - # Get the compilation command and the source file.
  16514. - base_compile=
  16515. - srcfile="$nonopt" # always keep a non-empty value in "srcfile"
  16516. - suppress_opt=yes
  16517. - suppress_output=
  16518. - arg_mode=normal
  16519. - libobj=
  16520. - later=
  16521. - for arg
  16522. - do
  16523. - case $arg_mode in
  16524. - arg )
  16525. - # do not "continue". Instead, add this to base_compile
  16526. - lastarg="$arg"
  16527. - arg_mode=normal
  16528. - ;;
  16529. +# func_lalib_p file
  16530. +# True iff FILE is a libtool `.la' library or `.lo' object file.
  16531. +# This function is only a basic sanity check; it will hardly flush out
  16532. +# determined imposters.
  16533. +func_lalib_p ()
  16534. +{
  16535. + test -f "$1" &&
  16536. + $SED -e 4q "$1" 2>/dev/null \
  16537. + | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
  16538. +}
  16539. - target )
  16540. - libobj="$arg"
  16541. - arg_mode=normal
  16542. - continue
  16543. - ;;
  16544. +# func_lalib_unsafe_p file
  16545. +# True iff FILE is a libtool `.la' library or `.lo' object file.
  16546. +# This function implements the same check as func_lalib_p without
  16547. +# resorting to external programs. To this end, it redirects stdin and
  16548. +# closes it afterwards, without saving the original file descriptor.
  16549. +# As a safety measure, use it only where a negative result would be
  16550. +# fatal anyway. Works if `file' does not exist.
  16551. +func_lalib_unsafe_p ()
  16552. +{
  16553. + lalib_p=no
  16554. + if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then
  16555. + for lalib_p_l in 1 2 3 4
  16556. + do
  16557. + read lalib_p_line
  16558. + case "$lalib_p_line" in
  16559. + \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
  16560. + esac
  16561. + done
  16562. + exec 0<&5 5<&-
  16563. + fi
  16564. + test "$lalib_p" = yes
  16565. +}
  16566. - normal )
  16567. - # Accept any command-line options.
  16568. - case $arg in
  16569. - -o)
  16570. - if test -n "$libobj" ; then
  16571. - $echo "$modename: you cannot specify \`-o' more than once" 1>&2
  16572. - exit $EXIT_FAILURE
  16573. - fi
  16574. - arg_mode=target
  16575. +# func_ltwrapper_script_p file
  16576. +# True iff FILE is a libtool wrapper script
  16577. +# This function is only a basic sanity check; it will hardly flush out
  16578. +# determined imposters.
  16579. +func_ltwrapper_script_p ()
  16580. +{
  16581. + func_lalib_p "$1"
  16582. +}
  16583. +
  16584. +# func_ltwrapper_executable_p file
  16585. +# True iff FILE is a libtool wrapper executable
  16586. +# This function is only a basic sanity check; it will hardly flush out
  16587. +# determined imposters.
  16588. +func_ltwrapper_executable_p ()
  16589. +{
  16590. + func_ltwrapper_exec_suffix=
  16591. + case $1 in
  16592. + *.exe) ;;
  16593. + *) func_ltwrapper_exec_suffix=.exe ;;
  16594. + esac
  16595. + $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1
  16596. +}
  16597. +
  16598. +# func_ltwrapper_scriptname file
  16599. +# Assumes file is an ltwrapper_executable
  16600. +# uses $file to determine the appropriate filename for a
  16601. +# temporary ltwrapper_script.
  16602. +func_ltwrapper_scriptname ()
  16603. +{
  16604. + func_ltwrapper_scriptname_result=""
  16605. + if func_ltwrapper_executable_p "$1"; then
  16606. + func_dirname_and_basename "$1" "" "."
  16607. + func_stripname '' '.exe' "$func_basename_result"
  16608. + func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
  16609. + fi
  16610. +}
  16611. +
  16612. +# func_ltwrapper_p file
  16613. +# True iff FILE is a libtool wrapper script or wrapper executable
  16614. +# This function is only a basic sanity check; it will hardly flush out
  16615. +# determined imposters.
  16616. +func_ltwrapper_p ()
  16617. +{
  16618. + func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1"
  16619. +}
  16620. +
  16621. +
  16622. +# func_execute_cmds commands fail_cmd
  16623. +# Execute tilde-delimited COMMANDS.
  16624. +# If FAIL_CMD is given, eval that upon failure.
  16625. +# FAIL_CMD may read-access the current command in variable CMD!
  16626. +func_execute_cmds ()
  16627. +{
  16628. + $opt_debug
  16629. + save_ifs=$IFS; IFS='~'
  16630. + for cmd in $1; do
  16631. + IFS=$save_ifs
  16632. + eval cmd=\"$cmd\"
  16633. + func_show_eval "$cmd" "${2-:}"
  16634. + done
  16635. + IFS=$save_ifs
  16636. +}
  16637. +
  16638. +
  16639. +# func_source file
  16640. +# Source FILE, adding directory component if necessary.
  16641. +# Note that it is not necessary on cygwin/mingw to append a dot to
  16642. +# FILE even if both FILE and FILE.exe exist: automatic-append-.exe
  16643. +# behavior happens only for exec(3), not for open(2)! Also, sourcing
  16644. +# `FILE.' does not work on cygwin managed mounts.
  16645. +func_source ()
  16646. +{
  16647. + $opt_debug
  16648. + case $1 in
  16649. + */* | *\\*) . "$1" ;;
  16650. + *) . "./$1" ;;
  16651. + esac
  16652. +}
  16653. +
  16654. +
  16655. +# func_infer_tag arg
  16656. +# Infer tagged configuration to use if any are available and
  16657. +# if one wasn't chosen via the "--tag" command line option.
  16658. +# Only attempt this if the compiler in the base compile
  16659. +# command doesn't match the default compiler.
  16660. +# arg is usually of the form 'gcc ...'
  16661. +func_infer_tag ()
  16662. +{
  16663. + $opt_debug
  16664. + if test -n "$available_tags" && test -z "$tagname"; then
  16665. + CC_quoted=
  16666. + for arg in $CC; do
  16667. + func_quote_for_eval "$arg"
  16668. + CC_quoted="$CC_quoted $func_quote_for_eval_result"
  16669. + done
  16670. + case $@ in
  16671. + # Blanks in the command may have been stripped by the calling shell,
  16672. + # but not from the CC environment variable when configure was run.
  16673. + " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
  16674. + # Blanks at the start of $base_compile will cause this to fail
  16675. + # if we don't check for them as well.
  16676. + *)
  16677. + for z in $available_tags; do
  16678. + if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
  16679. + # Evaluate the configuration.
  16680. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
  16681. + CC_quoted=
  16682. + for arg in $CC; do
  16683. + # Double-quote args containing other shell metacharacters.
  16684. + func_quote_for_eval "$arg"
  16685. + CC_quoted="$CC_quoted $func_quote_for_eval_result"
  16686. + done
  16687. + case "$@ " in
  16688. + " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
  16689. + # The compiler in the base compile command matches
  16690. + # the one in the tagged configuration.
  16691. + # Assume this is the tagged configuration we want.
  16692. + tagname=$z
  16693. + break
  16694. + ;;
  16695. + esac
  16696. + fi
  16697. + done
  16698. + # If $tagname still isn't set, then no tagged configuration
  16699. + # was found and let the user know that the "--tag" command
  16700. + # line option must be used.
  16701. + if test -z "$tagname"; then
  16702. + func_echo "unable to infer tagged configuration"
  16703. + func_fatal_error "specify a tag with \`--tag'"
  16704. +# else
  16705. +# func_verbose "using $tagname tagged configuration"
  16706. + fi
  16707. + ;;
  16708. + esac
  16709. + fi
  16710. +}
  16711. +
  16712. +
  16713. +
  16714. +# func_write_libtool_object output_name pic_name nonpic_name
  16715. +# Create a libtool object file (analogous to a ".la" file),
  16716. +# but don't create it if we're doing a dry run.
  16717. +func_write_libtool_object ()
  16718. +{
  16719. + write_libobj=${1}
  16720. + if test "$build_libtool_libs" = yes; then
  16721. + write_lobj=\'${2}\'
  16722. + else
  16723. + write_lobj=none
  16724. + fi
  16725. +
  16726. + if test "$build_old_libs" = yes; then
  16727. + write_oldobj=\'${3}\'
  16728. + else
  16729. + write_oldobj=none
  16730. + fi
  16731. +
  16732. + $opt_dry_run || {
  16733. + cat >${write_libobj}T <<EOF
  16734. +# $write_libobj - a libtool object file
  16735. +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  16736. +#
  16737. +# Please DO NOT delete this file!
  16738. +# It is necessary for linking the library.
  16739. +
  16740. +# Name of the PIC object.
  16741. +pic_object=$write_lobj
  16742. +
  16743. +# Name of the non-PIC object
  16744. +non_pic_object=$write_oldobj
  16745. +
  16746. +EOF
  16747. + $MV "${write_libobj}T" "${write_libobj}"
  16748. + }
  16749. +}
  16750. +
  16751. +# func_mode_compile arg...
  16752. +func_mode_compile ()
  16753. +{
  16754. + $opt_debug
  16755. + # Get the compilation command and the source file.
  16756. + base_compile=
  16757. + srcfile="$nonopt" # always keep a non-empty value in "srcfile"
  16758. + suppress_opt=yes
  16759. + suppress_output=
  16760. + arg_mode=normal
  16761. + libobj=
  16762. + later=
  16763. + pie_flag=
  16764. +
  16765. + for arg
  16766. + do
  16767. + case $arg_mode in
  16768. + arg )
  16769. + # do not "continue". Instead, add this to base_compile
  16770. + lastarg="$arg"
  16771. + arg_mode=normal
  16772. + ;;
  16773. +
  16774. + target )
  16775. + libobj="$arg"
  16776. + arg_mode=normal
  16777. + continue
  16778. + ;;
  16779. +
  16780. + normal )
  16781. + # Accept any command-line options.
  16782. + case $arg in
  16783. + -o)
  16784. + test -n "$libobj" && \
  16785. + func_fatal_error "you cannot specify \`-o' more than once"
  16786. + arg_mode=target
  16787. + continue
  16788. + ;;
  16789. +
  16790. + -pie | -fpie | -fPIE)
  16791. + pie_flag="$pie_flag $arg"
  16792. continue
  16793. ;;
  16794. - -static | -prefer-pic | -prefer-non-pic)
  16795. + -shared | -static | -prefer-pic | -prefer-non-pic)
  16796. later="$later $arg"
  16797. continue
  16798. ;;
  16799. @@ -737,31 +1157,25 @@
  16800. ;; # replaced later. I would guess that would be a bug.
  16801. -Wc,*)
  16802. - args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
  16803. + func_stripname '-Wc,' '' "$arg"
  16804. + args=$func_stripname_result
  16805. lastarg=
  16806. save_ifs="$IFS"; IFS=','
  16807. - for arg in $args; do
  16808. + for arg in $args; do
  16809. IFS="$save_ifs"
  16810. -
  16811. - # Double-quote args containing other shell metacharacters.
  16812. - # Many Bourne shells cannot handle close brackets correctly
  16813. - # in scan sets, so we specify it separately.
  16814. - case $arg in
  16815. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  16816. - arg="\"$arg\""
  16817. - ;;
  16818. - esac
  16819. - lastarg="$lastarg $arg"
  16820. + func_quote_for_eval "$arg"
  16821. + lastarg="$lastarg $func_quote_for_eval_result"
  16822. done
  16823. IFS="$save_ifs"
  16824. - lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
  16825. + func_stripname ' ' '' "$lastarg"
  16826. + lastarg=$func_stripname_result
  16827. # Add the arguments to base_compile.
  16828. base_compile="$base_compile $lastarg"
  16829. continue
  16830. ;;
  16831. - * )
  16832. + *)
  16833. # Accept the current argument as the source file.
  16834. # The previous "srcfile" becomes the current argument.
  16835. #
  16836. @@ -773,66 +1187,42 @@
  16837. esac # case $arg_mode
  16838. # Aesthetically quote the previous argument.
  16839. - lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
  16840. -
  16841. - case $lastarg in
  16842. - # Double-quote args containing other shell metacharacters.
  16843. - # Many Bourne shells cannot handle close brackets correctly
  16844. - # in scan sets, and some SunOS ksh mistreat backslash-escaping
  16845. - # in scan sets (worked around with variable expansion),
  16846. - # and furthermore cannot handle '|' '&' '(' ')' in scan sets
  16847. - # at all, so we specify them separately.
  16848. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  16849. - lastarg="\"$lastarg\""
  16850. - ;;
  16851. - esac
  16852. -
  16853. - base_compile="$base_compile $lastarg"
  16854. + func_quote_for_eval "$lastarg"
  16855. + base_compile="$base_compile $func_quote_for_eval_result"
  16856. done # for arg
  16857. case $arg_mode in
  16858. arg)
  16859. - $echo "$modename: you must specify an argument for -Xcompile"
  16860. - exit $EXIT_FAILURE
  16861. + func_fatal_error "you must specify an argument for -Xcompile"
  16862. ;;
  16863. target)
  16864. - $echo "$modename: you must specify a target with \`-o'" 1>&2
  16865. - exit $EXIT_FAILURE
  16866. + func_fatal_error "you must specify a target with \`-o'"
  16867. ;;
  16868. *)
  16869. # Get the name of the library object.
  16870. - [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
  16871. + test -z "$libobj" && {
  16872. + func_basename "$srcfile"
  16873. + libobj="$func_basename_result"
  16874. + }
  16875. ;;
  16876. esac
  16877. # Recognize several different file suffixes.
  16878. # If the user specifies -o file.o, it is replaced with file.lo
  16879. - xform='[cCFSifmso]'
  16880. case $libobj in
  16881. - *.ada) xform=ada ;;
  16882. - *.adb) xform=adb ;;
  16883. - *.ads) xform=ads ;;
  16884. - *.asm) xform=asm ;;
  16885. - *.c++) xform=c++ ;;
  16886. - *.cc) xform=cc ;;
  16887. - *.ii) xform=ii ;;
  16888. - *.class) xform=class ;;
  16889. - *.cpp) xform=cpp ;;
  16890. - *.cxx) xform=cxx ;;
  16891. - *.[fF][09]?) xform=[fF][09]. ;;
  16892. - *.for) xform=for ;;
  16893. - *.java) xform=java ;;
  16894. - *.obj) xform=obj ;;
  16895. - *.sx) xform=sx ;;
  16896. + *.[cCFSifmso] | \
  16897. + *.ada | *.adb | *.ads | *.asm | \
  16898. + *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
  16899. + *.[fF][09]? | *.for | *.java | *.obj | *.sx)
  16900. + func_xform "$libobj"
  16901. + libobj=$func_xform_result
  16902. + ;;
  16903. esac
  16904. - libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
  16905. -
  16906. case $libobj in
  16907. - *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
  16908. + *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
  16909. *)
  16910. - $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
  16911. - exit $EXIT_FAILURE
  16912. + func_fatal_error "cannot determine name of library object from \`$libobj'"
  16913. ;;
  16914. esac
  16915. @@ -840,7 +1230,15 @@
  16916. for arg in $later; do
  16917. case $arg in
  16918. + -shared)
  16919. + test "$build_libtool_libs" != yes && \
  16920. + func_fatal_configuration "can not build a shared library"
  16921. + build_old_libs=no
  16922. + continue
  16923. + ;;
  16924. +
  16925. -static)
  16926. + build_libtool_libs=no
  16927. build_old_libs=yes
  16928. continue
  16929. ;;
  16930. @@ -857,28 +1255,17 @@
  16931. esac
  16932. done
  16933. - qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
  16934. - case $qlibobj in
  16935. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  16936. - qlibobj="\"$qlibobj\"" ;;
  16937. - esac
  16938. - test "X$libobj" != "X$qlibobj" \
  16939. - && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
  16940. - && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
  16941. - objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
  16942. - xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
  16943. - if test "X$xdir" = "X$obj"; then
  16944. - xdir=
  16945. - else
  16946. - xdir=$xdir/
  16947. - fi
  16948. + func_quote_for_eval "$libobj"
  16949. + test "X$libobj" != "X$func_quote_for_eval_result" \
  16950. + && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
  16951. + && func_warning "libobj name \`$libobj' may not contain shell special characters."
  16952. + func_dirname_and_basename "$obj" "/" ""
  16953. + objname="$func_basename_result"
  16954. + xdir="$func_dirname_result"
  16955. lobj=${xdir}$objdir/$objname
  16956. - if test -z "$base_compile"; then
  16957. - $echo "$modename: you must specify a compilation command" 1>&2
  16958. - $echo "$help" 1>&2
  16959. - exit $EXIT_FAILURE
  16960. - fi
  16961. + test -z "$base_compile" && \
  16962. + func_fatal_help "you must specify a compilation command"
  16963. # Delete any leftover library objects.
  16964. if test "$build_old_libs" = yes; then
  16965. @@ -887,12 +1274,9 @@
  16966. removelist="$lobj $libobj ${libobj}T"
  16967. fi
  16968. - $run $rm $removelist
  16969. - trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
  16970. -
  16971. # On Cygwin there's no "real" PIC flag so we must build both object types
  16972. case $host_os in
  16973. - cygwin* | mingw* | pw32* | os2*)
  16974. + cygwin* | mingw* | pw32* | os2* | cegcc*)
  16975. pic_mode=default
  16976. ;;
  16977. esac
  16978. @@ -904,10 +1288,8 @@
  16979. # Calculate the filename of the output object if compiler does
  16980. # not support -o with -c
  16981. if test "$compiler_c_o" = no; then
  16982. - output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
  16983. + output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
  16984. lockfile="$output_obj.lock"
  16985. - removelist="$removelist $output_obj $lockfile"
  16986. - trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
  16987. else
  16988. output_obj=
  16989. need_locks=no
  16990. @@ -917,13 +1299,13 @@
  16991. # Lock this critical section if it is needed
  16992. # We use this script file to make the link, it avoids creating a new file
  16993. if test "$need_locks" = yes; then
  16994. - until $run ln "$progpath" "$lockfile" 2>/dev/null; do
  16995. - $show "Waiting for $lockfile to be removed"
  16996. + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
  16997. + func_echo "Waiting for $lockfile to be removed"
  16998. sleep 2
  16999. done
  17000. elif test "$need_locks" = warn; then
  17001. if test -f "$lockfile"; then
  17002. - $echo "\
  17003. + $ECHO "\
  17004. *** ERROR, $lockfile exists and contains:
  17005. `cat $lockfile 2>/dev/null`
  17006. @@ -934,34 +1316,22 @@
  17007. avoid parallel builds (make -j) in this platform, or get a better
  17008. compiler."
  17009. - $run $rm $removelist
  17010. + $opt_dry_run || $RM $removelist
  17011. exit $EXIT_FAILURE
  17012. fi
  17013. - $echo "$srcfile" > "$lockfile"
  17014. + removelist="$removelist $output_obj"
  17015. + $ECHO "$srcfile" > "$lockfile"
  17016. fi
  17017. + $opt_dry_run || $RM $removelist
  17018. + removelist="$removelist $lockfile"
  17019. + trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
  17020. +
  17021. if test -n "$fix_srcfile_path"; then
  17022. eval srcfile=\"$fix_srcfile_path\"
  17023. fi
  17024. - qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
  17025. - case $qsrcfile in
  17026. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  17027. - qsrcfile="\"$qsrcfile\"" ;;
  17028. - esac
  17029. -
  17030. - $run $rm "$libobj" "${libobj}T"
  17031. -
  17032. - # Create a libtool object file (analogous to a ".la" file),
  17033. - # but don't create it if we're doing a dry run.
  17034. - test -z "$run" && cat > ${libobj}T <<EOF
  17035. -# $libobj - a libtool object file
  17036. -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
  17037. -#
  17038. -# Please DO NOT delete this file!
  17039. -# It is necessary for linking the library.
  17040. -
  17041. -# Name of the PIC object.
  17042. -EOF
  17043. + func_quote_for_eval "$srcfile"
  17044. + qsrcfile=$func_quote_for_eval_result
  17045. # Only build a PIC object if we are building libtool libraries.
  17046. if test "$build_libtool_libs" = yes; then
  17047. @@ -975,32 +1345,19 @@
  17048. command="$base_compile $qsrcfile"
  17049. fi
  17050. - if test ! -d "${xdir}$objdir"; then
  17051. - $show "$mkdir ${xdir}$objdir"
  17052. - $run $mkdir ${xdir}$objdir
  17053. - exit_status=$?
  17054. - if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
  17055. - exit $exit_status
  17056. - fi
  17057. - fi
  17058. + func_mkdir_p "$xdir$objdir"
  17059. if test -z "$output_obj"; then
  17060. # Place PIC objects in $objdir
  17061. command="$command -o $lobj"
  17062. fi
  17063. - $run $rm "$lobj" "$output_obj"
  17064. -
  17065. - $show "$command"
  17066. - if $run eval $lt_env "$command"; then :
  17067. - else
  17068. - test -n "$output_obj" && $run $rm $removelist
  17069. - exit $EXIT_FAILURE
  17070. - fi
  17071. + func_show_eval_locale "$command" \
  17072. + 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
  17073. if test "$need_locks" = warn &&
  17074. test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
  17075. - $echo "\
  17076. + $ECHO "\
  17077. *** ERROR, $lockfile contains:
  17078. `cat $lockfile 2>/dev/null`
  17079. @@ -1014,45 +1371,27 @@
  17080. avoid parallel builds (make -j) in this platform, or get a better
  17081. compiler."
  17082. - $run $rm $removelist
  17083. + $opt_dry_run || $RM $removelist
  17084. exit $EXIT_FAILURE
  17085. fi
  17086. # Just move the object if needed, then go on to compile the next one
  17087. if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
  17088. - $show "$mv $output_obj $lobj"
  17089. - if $run $mv $output_obj $lobj; then :
  17090. - else
  17091. - error=$?
  17092. - $run $rm $removelist
  17093. - exit $error
  17094. - fi
  17095. + func_show_eval '$MV "$output_obj" "$lobj"' \
  17096. + 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
  17097. fi
  17098. - # Append the name of the PIC object to the libtool object file.
  17099. - test -z "$run" && cat >> ${libobj}T <<EOF
  17100. -pic_object='$objdir/$objname'
  17101. -
  17102. -EOF
  17103. -
  17104. # Allow error messages only from the first compilation.
  17105. if test "$suppress_opt" = yes; then
  17106. - suppress_output=' >/dev/null 2>&1'
  17107. + suppress_output=' >/dev/null 2>&1'
  17108. fi
  17109. - else
  17110. - # No PIC object so indicate it doesn't exist in the libtool
  17111. - # object file.
  17112. - test -z "$run" && cat >> ${libobj}T <<EOF
  17113. -pic_object=none
  17114. -
  17115. -EOF
  17116. fi
  17117. # Only build a position-dependent object if we build old libraries.
  17118. if test "$build_old_libs" = yes; then
  17119. if test "$pic_mode" != yes; then
  17120. # Don't build PIC code
  17121. - command="$base_compile $qsrcfile"
  17122. + command="$base_compile $qsrcfile$pie_flag"
  17123. else
  17124. command="$base_compile $qsrcfile $pic_flag"
  17125. fi
  17126. @@ -1062,17 +1401,12 @@
  17127. # Suppress compiler output if we already did a PIC compilation.
  17128. command="$command$suppress_output"
  17129. - $run $rm "$obj" "$output_obj"
  17130. - $show "$command"
  17131. - if $run eval $lt_env "$command"; then :
  17132. - else
  17133. - $run $rm $removelist
  17134. - exit $EXIT_FAILURE
  17135. - fi
  17136. + func_show_eval_locale "$command" \
  17137. + '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
  17138. if test "$need_locks" = warn &&
  17139. test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
  17140. - $echo "\
  17141. + $ECHO "\
  17142. *** ERROR, $lockfile contains:
  17143. `cat $lockfile 2>/dev/null`
  17144. @@ -1086,5504 +1420,6784 @@
  17145. avoid parallel builds (make -j) in this platform, or get a better
  17146. compiler."
  17147. - $run $rm $removelist
  17148. + $opt_dry_run || $RM $removelist
  17149. exit $EXIT_FAILURE
  17150. fi
  17151. # Just move the object if needed
  17152. if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
  17153. - $show "$mv $output_obj $obj"
  17154. - if $run $mv $output_obj $obj; then :
  17155. - else
  17156. - error=$?
  17157. - $run $rm $removelist
  17158. - exit $error
  17159. - fi
  17160. + func_show_eval '$MV "$output_obj" "$obj"' \
  17161. + 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
  17162. fi
  17163. -
  17164. - # Append the name of the non-PIC object the libtool object file.
  17165. - # Only append if the libtool object file exists.
  17166. - test -z "$run" && cat >> ${libobj}T <<EOF
  17167. -# Name of the non-PIC object.
  17168. -non_pic_object='$objname'
  17169. -
  17170. -EOF
  17171. - else
  17172. - # Append the name of the non-PIC object the libtool object file.
  17173. - # Only append if the libtool object file exists.
  17174. - test -z "$run" && cat >> ${libobj}T <<EOF
  17175. -# Name of the non-PIC object.
  17176. -non_pic_object=none
  17177. -
  17178. -EOF
  17179. fi
  17180. - $run $mv "${libobj}T" "${libobj}"
  17181. + $opt_dry_run || {
  17182. + func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
  17183. - # Unlock the critical section if it was locked
  17184. - if test "$need_locks" != no; then
  17185. - $run $rm "$lockfile"
  17186. - fi
  17187. + # Unlock the critical section if it was locked
  17188. + if test "$need_locks" != no; then
  17189. + removelist=$lockfile
  17190. + $RM "$lockfile"
  17191. + fi
  17192. + }
  17193. exit $EXIT_SUCCESS
  17194. - ;;
  17195. -
  17196. - # libtool link mode
  17197. - link | relink)
  17198. - modename="$modename: link"
  17199. - case $host in
  17200. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  17201. - # It is impossible to link a dll without this setting, and
  17202. - # we shouldn't force the makefile maintainer to figure out
  17203. - # which system we are compiling for in order to pass an extra
  17204. - # flag for every libtool invocation.
  17205. - # allow_undefined=no
  17206. +}
  17207. - # FIXME: Unfortunately, there are problems with the above when trying
  17208. - # to make a dll which has undefined symbols, in which case not
  17209. - # even a static library is built. For now, we need to specify
  17210. - # -no-undefined on the libtool link line when we can be certain
  17211. - # that all symbols are satisfied, otherwise we get a static library.
  17212. - allow_undefined=yes
  17213. - ;;
  17214. - *)
  17215. - allow_undefined=yes
  17216. - ;;
  17217. - esac
  17218. - libtool_args="$nonopt"
  17219. - base_compile="$nonopt $@"
  17220. - compile_command="$nonopt"
  17221. - finalize_command="$nonopt"
  17222. +$opt_help || {
  17223. +test "$mode" = compile && func_mode_compile ${1+"$@"}
  17224. +}
  17225. - compile_rpath=
  17226. - finalize_rpath=
  17227. - compile_shlibpath=
  17228. - finalize_shlibpath=
  17229. - convenience=
  17230. - old_convenience=
  17231. - deplibs=
  17232. - old_deplibs=
  17233. - compiler_flags=
  17234. - linker_flags=
  17235. - dllsearchpath=
  17236. - lib_search_path=`pwd`
  17237. - inst_prefix_dir=
  17238. +func_mode_help ()
  17239. +{
  17240. + # We need to display help for each of the modes.
  17241. + case $mode in
  17242. + "")
  17243. + # Generic help is extracted from the usage comments
  17244. + # at the start of this file.
  17245. + func_help
  17246. + ;;
  17247. - avoid_version=no
  17248. - dlfiles=
  17249. - dlprefiles=
  17250. - dlself=no
  17251. - export_dynamic=no
  17252. - export_symbols=
  17253. - export_symbols_regex=
  17254. - generated=
  17255. - libobjs=
  17256. - ltlibs=
  17257. - module=no
  17258. - no_install=no
  17259. - objs=
  17260. - non_pic_objects=
  17261. - notinst_path= # paths that contain not-installed libtool libraries
  17262. - precious_files_regex=
  17263. - prefer_static_libs=no
  17264. - preload=no
  17265. - prev=
  17266. - prevarg=
  17267. - release=
  17268. - rpath=
  17269. - xrpath=
  17270. - perm_rpath=
  17271. - temp_rpath=
  17272. - thread_safe=no
  17273. - vinfo=
  17274. - vinfo_number=no
  17275. - single_module="${wl}-single_module"
  17276. + clean)
  17277. + $ECHO \
  17278. +"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
  17279. - func_infer_tag $base_compile
  17280. +Remove files from the build directory.
  17281. - # We need to know -static, to get the right output filenames.
  17282. - for arg
  17283. - do
  17284. - case $arg in
  17285. - -all-static | -static | -static-libtool-libs)
  17286. - case $arg in
  17287. - -all-static)
  17288. - if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
  17289. - $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
  17290. - fi
  17291. - if test -n "$link_static_flag"; then
  17292. - dlopen_self=$dlopen_self_static
  17293. - fi
  17294. - prefer_static_libs=yes
  17295. - ;;
  17296. - -static)
  17297. - if test -z "$pic_flag" && test -n "$link_static_flag"; then
  17298. - dlopen_self=$dlopen_self_static
  17299. - fi
  17300. - prefer_static_libs=built
  17301. - ;;
  17302. - -static-libtool-libs)
  17303. - if test -z "$pic_flag" && test -n "$link_static_flag"; then
  17304. - dlopen_self=$dlopen_self_static
  17305. - fi
  17306. - prefer_static_libs=yes
  17307. - ;;
  17308. - esac
  17309. - build_libtool_libs=no
  17310. - build_old_libs=yes
  17311. - break
  17312. - ;;
  17313. - esac
  17314. - done
  17315. +RM is the name of the program to use to delete files associated with each FILE
  17316. +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  17317. +to RM.
  17318. - # See if our shared archives depend on static archives.
  17319. - test -n "$old_archive_from_new_cmds" && build_old_libs=yes
  17320. +If FILE is a libtool library, object or program, all the files associated
  17321. +with it are deleted. Otherwise, only FILE itself is deleted using RM."
  17322. + ;;
  17323. - # Go through the arguments, transforming them on the way.
  17324. - while test "$#" -gt 0; do
  17325. - arg="$1"
  17326. - shift
  17327. - case $arg in
  17328. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  17329. - qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
  17330. - ;;
  17331. - *) qarg=$arg ;;
  17332. - esac
  17333. - libtool_args="$libtool_args $qarg"
  17334. + compile)
  17335. + $ECHO \
  17336. +"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
  17337. - # If the previous option needs an argument, assign it.
  17338. - if test -n "$prev"; then
  17339. - case $prev in
  17340. - output)
  17341. - compile_command="$compile_command @OUTPUT@"
  17342. - finalize_command="$finalize_command @OUTPUT@"
  17343. - ;;
  17344. - esac
  17345. +Compile a source file into a libtool library object.
  17346. - case $prev in
  17347. - dlfiles|dlprefiles)
  17348. - if test "$preload" = no; then
  17349. - # Add the symbol object into the linking commands.
  17350. - compile_command="$compile_command @SYMFILE@"
  17351. - finalize_command="$finalize_command @SYMFILE@"
  17352. - preload=yes
  17353. - fi
  17354. - case $arg in
  17355. - *.la | *.lo) ;; # We handle these cases below.
  17356. - force)
  17357. - if test "$dlself" = no; then
  17358. - dlself=needless
  17359. - export_dynamic=yes
  17360. - fi
  17361. - prev=
  17362. - continue
  17363. - ;;
  17364. - self)
  17365. - if test "$prev" = dlprefiles; then
  17366. - dlself=yes
  17367. - elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
  17368. - dlself=yes
  17369. - else
  17370. - dlself=needless
  17371. - export_dynamic=yes
  17372. - fi
  17373. - prev=
  17374. - continue
  17375. - ;;
  17376. - *)
  17377. - if test "$prev" = dlfiles; then
  17378. - dlfiles="$dlfiles $arg"
  17379. - else
  17380. - dlprefiles="$dlprefiles $arg"
  17381. - fi
  17382. - prev=
  17383. - continue
  17384. - ;;
  17385. - esac
  17386. - ;;
  17387. - expsyms)
  17388. - export_symbols="$arg"
  17389. - if test ! -f "$arg"; then
  17390. - $echo "$modename: symbol file \`$arg' does not exist"
  17391. - exit $EXIT_FAILURE
  17392. - fi
  17393. - prev=
  17394. - continue
  17395. - ;;
  17396. - expsyms_regex)
  17397. - export_symbols_regex="$arg"
  17398. - prev=
  17399. - continue
  17400. - ;;
  17401. - inst_prefix)
  17402. - inst_prefix_dir="$arg"
  17403. - prev=
  17404. - continue
  17405. - ;;
  17406. - precious_regex)
  17407. - precious_files_regex="$arg"
  17408. - prev=
  17409. - continue
  17410. - ;;
  17411. - release)
  17412. - release="-$arg"
  17413. - prev=
  17414. - continue
  17415. - ;;
  17416. - objectlist)
  17417. - if test -f "$arg"; then
  17418. - save_arg=$arg
  17419. - moreargs=
  17420. - for fil in `cat $save_arg`
  17421. - do
  17422. -# moreargs="$moreargs $fil"
  17423. - arg=$fil
  17424. - # A libtool-controlled object.
  17425. +This mode accepts the following additional options:
  17426. - # Check to see that this really is a libtool object.
  17427. - if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  17428. - pic_object=
  17429. - non_pic_object=
  17430. + -o OUTPUT-FILE set the output file name to OUTPUT-FILE
  17431. + -no-suppress do not suppress compiler output for multiple passes
  17432. + -prefer-pic try to building PIC objects only
  17433. + -prefer-non-pic try to building non-PIC objects only
  17434. + -shared do not build a \`.o' file suitable for static linking
  17435. + -static only build a \`.o' file suitable for static linking
  17436. - # Read the .lo file
  17437. - # If there is no directory component, then add one.
  17438. - case $arg in
  17439. - */* | *\\*) . $arg ;;
  17440. - *) . ./$arg ;;
  17441. - esac
  17442. +COMPILE-COMMAND is a command to be used in creating a \`standard' object file
  17443. +from the given SOURCEFILE.
  17444. - if test -z "$pic_object" || \
  17445. - test -z "$non_pic_object" ||
  17446. - test "$pic_object" = none && \
  17447. - test "$non_pic_object" = none; then
  17448. - $echo "$modename: cannot find name of object for \`$arg'" 1>&2
  17449. - exit $EXIT_FAILURE
  17450. - fi
  17451. +The output file name is determined by removing the directory component from
  17452. +SOURCEFILE, then substituting the C source code suffix \`.c' with the
  17453. +library object suffix, \`.lo'."
  17454. + ;;
  17455. - # Extract subdirectory from the argument.
  17456. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
  17457. - if test "X$xdir" = "X$arg"; then
  17458. - xdir=
  17459. - else
  17460. - xdir="$xdir/"
  17461. - fi
  17462. + execute)
  17463. + $ECHO \
  17464. +"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]...
  17465. - if test "$pic_object" != none; then
  17466. - # Prepend the subdirectory the object is found in.
  17467. - pic_object="$xdir$pic_object"
  17468. +Automatically set library path, then run a program.
  17469. - if test "$prev" = dlfiles; then
  17470. - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  17471. - dlfiles="$dlfiles $pic_object"
  17472. - prev=
  17473. - continue
  17474. - else
  17475. - # If libtool objects are unsupported, then we need to preload.
  17476. - prev=dlprefiles
  17477. - fi
  17478. - fi
  17479. +This mode accepts the following additional options:
  17480. - # CHECK ME: I think I busted this. -Ossama
  17481. - if test "$prev" = dlprefiles; then
  17482. - # Preload the old-style object.
  17483. - dlprefiles="$dlprefiles $pic_object"
  17484. - prev=
  17485. - fi
  17486. + -dlopen FILE add the directory containing FILE to the library path
  17487. - # A PIC object.
  17488. - libobjs="$libobjs $pic_object"
  17489. - arg="$pic_object"
  17490. - fi
  17491. +This mode sets the library path environment variable according to \`-dlopen'
  17492. +flags.
  17493. - # Non-PIC object.
  17494. - if test "$non_pic_object" != none; then
  17495. - # Prepend the subdirectory the object is found in.
  17496. - non_pic_object="$xdir$non_pic_object"
  17497. +If any of the ARGS are libtool executable wrappers, then they are translated
  17498. +into their corresponding uninstalled binary, and any of their required library
  17499. +directories are added to the library path.
  17500. - # A standard non-PIC object
  17501. - non_pic_objects="$non_pic_objects $non_pic_object"
  17502. - if test -z "$pic_object" || test "$pic_object" = none ; then
  17503. - arg="$non_pic_object"
  17504. - fi
  17505. - else
  17506. - # If the PIC object exists, use it instead.
  17507. - # $xdir was prepended to $pic_object above.
  17508. - non_pic_object="$pic_object"
  17509. - non_pic_objects="$non_pic_objects $non_pic_object"
  17510. - fi
  17511. - else
  17512. - # Only an error if not doing a dry-run.
  17513. - if test -z "$run"; then
  17514. - $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
  17515. - exit $EXIT_FAILURE
  17516. - else
  17517. - # Dry-run case.
  17518. +Then, COMMAND is executed, with ARGS as arguments."
  17519. + ;;
  17520. - # Extract subdirectory from the argument.
  17521. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
  17522. - if test "X$xdir" = "X$arg"; then
  17523. - xdir=
  17524. - else
  17525. - xdir="$xdir/"
  17526. - fi
  17527. + finish)
  17528. + $ECHO \
  17529. +"Usage: $progname [OPTION]... --mode=finish [LIBDIR]...
  17530. - pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
  17531. - non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
  17532. - libobjs="$libobjs $pic_object"
  17533. - non_pic_objects="$non_pic_objects $non_pic_object"
  17534. - fi
  17535. - fi
  17536. - done
  17537. - else
  17538. - $echo "$modename: link input file \`$save_arg' does not exist"
  17539. - exit $EXIT_FAILURE
  17540. - fi
  17541. - arg=$save_arg
  17542. - prev=
  17543. - continue
  17544. - ;;
  17545. - rpath | xrpath)
  17546. - # We need an absolute path.
  17547. - case $arg in
  17548. - [\\/]* | [A-Za-z]:[\\/]*) ;;
  17549. - *)
  17550. - $echo "$modename: only absolute run-paths are allowed" 1>&2
  17551. - exit $EXIT_FAILURE
  17552. - ;;
  17553. - esac
  17554. - if test "$prev" = rpath; then
  17555. - case "$rpath " in
  17556. - *" $arg "*) ;;
  17557. - *) rpath="$rpath $arg" ;;
  17558. - esac
  17559. - else
  17560. - case "$xrpath " in
  17561. - *" $arg "*) ;;
  17562. - *) xrpath="$xrpath $arg" ;;
  17563. - esac
  17564. - fi
  17565. - prev=
  17566. - continue
  17567. - ;;
  17568. - xcompiler)
  17569. - compiler_flags="$compiler_flags $qarg"
  17570. - prev=
  17571. - compile_command="$compile_command $qarg"
  17572. - finalize_command="$finalize_command $qarg"
  17573. - continue
  17574. - ;;
  17575. - xlinker)
  17576. - linker_flags="$linker_flags $qarg"
  17577. - compiler_flags="$compiler_flags $wl$qarg"
  17578. - prev=
  17579. - compile_command="$compile_command $wl$qarg"
  17580. - finalize_command="$finalize_command $wl$qarg"
  17581. - continue
  17582. - ;;
  17583. - xcclinker)
  17584. - linker_flags="$linker_flags $qarg"
  17585. - compiler_flags="$compiler_flags $qarg"
  17586. - prev=
  17587. - compile_command="$compile_command $qarg"
  17588. - finalize_command="$finalize_command $qarg"
  17589. - continue
  17590. - ;;
  17591. - shrext)
  17592. - shrext_cmds="$arg"
  17593. - prev=
  17594. - continue
  17595. - ;;
  17596. - darwin_framework|darwin_framework_skip)
  17597. - test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
  17598. - compile_command="$compile_command $arg"
  17599. - finalize_command="$finalize_command $arg"
  17600. - prev=
  17601. - continue
  17602. - ;;
  17603. - *)
  17604. - eval "$prev=\"\$arg\""
  17605. - prev=
  17606. - continue
  17607. - ;;
  17608. - esac
  17609. - fi # test -n "$prev"
  17610. -
  17611. - prevarg="$arg"
  17612. +Complete the installation of libtool libraries.
  17613. - case $arg in
  17614. - -all-static)
  17615. - if test -n "$link_static_flag"; then
  17616. - compile_command="$compile_command $link_static_flag"
  17617. - finalize_command="$finalize_command $link_static_flag"
  17618. - fi
  17619. - continue
  17620. - ;;
  17621. +Each LIBDIR is a directory that contains libtool libraries.
  17622. - -allow-undefined)
  17623. - # FIXME: remove this flag sometime in the future.
  17624. - $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2
  17625. - continue
  17626. - ;;
  17627. +The commands that this mode executes may require superuser privileges. Use
  17628. +the \`--dry-run' option if you just want to see what would be executed."
  17629. + ;;
  17630. - -avoid-version)
  17631. - avoid_version=yes
  17632. - continue
  17633. - ;;
  17634. + install)
  17635. + $ECHO \
  17636. +"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND...
  17637. - -dlopen)
  17638. - prev=dlfiles
  17639. - continue
  17640. - ;;
  17641. +Install executables or libraries.
  17642. - -dlpreopen)
  17643. - prev=dlprefiles
  17644. - continue
  17645. - ;;
  17646. +INSTALL-COMMAND is the installation command. The first component should be
  17647. +either the \`install' or \`cp' program.
  17648. - -export-dynamic)
  17649. - export_dynamic=yes
  17650. - continue
  17651. - ;;
  17652. +The following components of INSTALL-COMMAND are treated specially:
  17653. - -export-symbols | -export-symbols-regex)
  17654. - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
  17655. - $echo "$modename: more than one -exported-symbols argument is not allowed"
  17656. - exit $EXIT_FAILURE
  17657. - fi
  17658. - if test "X$arg" = "X-export-symbols"; then
  17659. - prev=expsyms
  17660. - else
  17661. - prev=expsyms_regex
  17662. - fi
  17663. - continue
  17664. - ;;
  17665. + -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation
  17666. - -framework|-arch|-isysroot)
  17667. - case " $CC " in
  17668. - *" ${arg} ${1} "* | *" ${arg} ${1} "*)
  17669. - prev=darwin_framework_skip ;;
  17670. - *) compiler_flags="$compiler_flags $arg"
  17671. - prev=darwin_framework ;;
  17672. - esac
  17673. - compile_command="$compile_command $arg"
  17674. - finalize_command="$finalize_command $arg"
  17675. - continue
  17676. - ;;
  17677. +The rest of the components are interpreted as arguments to that command (only
  17678. +BSD-compatible install options are recognized)."
  17679. + ;;
  17680. - -inst-prefix-dir)
  17681. - prev=inst_prefix
  17682. - continue
  17683. - ;;
  17684. + link)
  17685. + $ECHO \
  17686. +"Usage: $progname [OPTION]... --mode=link LINK-COMMAND...
  17687. - # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
  17688. - # so, if we see these flags be careful not to treat them like -L
  17689. - -L[A-Z][A-Z]*:*)
  17690. - case $with_gcc/$host in
  17691. - no/*-*-irix* | /*-*-irix*)
  17692. - compile_command="$compile_command $arg"
  17693. - finalize_command="$finalize_command $arg"
  17694. - ;;
  17695. - esac
  17696. - continue
  17697. - ;;
  17698. +Link object files or libraries together to form another library, or to
  17699. +create an executable program.
  17700. - -L*)
  17701. - dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
  17702. - # We need an absolute path.
  17703. - case $dir in
  17704. - [\\/]* | [A-Za-z]:[\\/]*) ;;
  17705. - *)
  17706. - absdir=`cd "$dir" && pwd`
  17707. - if test -z "$absdir"; then
  17708. - $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
  17709. - absdir="$dir"
  17710. - notinst_path="$notinst_path $dir"
  17711. - fi
  17712. - dir="$absdir"
  17713. - ;;
  17714. - esac
  17715. - case "$deplibs " in
  17716. - *" -L$dir "*) ;;
  17717. - *)
  17718. - deplibs="$deplibs -L$dir"
  17719. - lib_search_path="$lib_search_path $dir"
  17720. - ;;
  17721. - esac
  17722. - case $host in
  17723. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  17724. - testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
  17725. - case :$dllsearchpath: in
  17726. - *":$dir:"*) ;;
  17727. - *) dllsearchpath="$dllsearchpath:$dir";;
  17728. - esac
  17729. - case :$dllsearchpath: in
  17730. - *":$testbindir:"*) ;;
  17731. - *) dllsearchpath="$dllsearchpath:$testbindir";;
  17732. - esac
  17733. - ;;
  17734. - esac
  17735. - continue
  17736. - ;;
  17737. +LINK-COMMAND is a command using the C compiler that you would use to create
  17738. +a program from several object files.
  17739. - -l*)
  17740. - if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
  17741. - case $host in
  17742. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
  17743. - # These systems don't actually have a C or math library (as such)
  17744. - continue
  17745. - ;;
  17746. - *-*-os2*)
  17747. - # These systems don't actually have a C library (as such)
  17748. - test "X$arg" = "X-lc" && continue
  17749. - ;;
  17750. - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  17751. - # Do not include libc due to us having libc/libc_r.
  17752. - test "X$arg" = "X-lc" && continue
  17753. - ;;
  17754. - *-*-rhapsody* | *-*-darwin1.[012])
  17755. - # Rhapsody C and math libraries are in the System framework
  17756. - deplibs="$deplibs -framework System"
  17757. - continue
  17758. - ;;
  17759. - *-*-sco3.2v5* | *-*-sco5v6*)
  17760. - # Causes problems with __ctype
  17761. - test "X$arg" = "X-lc" && continue
  17762. - ;;
  17763. - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  17764. - # Compiler inserts libc in the correct place for threads to work
  17765. - test "X$arg" = "X-lc" && continue
  17766. - ;;
  17767. - esac
  17768. - elif test "X$arg" = "X-lc_r"; then
  17769. - case $host in
  17770. - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  17771. - # Do not include libc_r directly, use -pthread flag.
  17772. - continue
  17773. - ;;
  17774. - esac
  17775. - fi
  17776. - deplibs="$deplibs $arg"
  17777. - continue
  17778. - ;;
  17779. +The following components of LINK-COMMAND are treated specially:
  17780. - # Tru64 UNIX uses -model [arg] to determine the layout of C++
  17781. - # classes, name mangling, and exception handling.
  17782. - -model)
  17783. - compile_command="$compile_command $arg"
  17784. - compiler_flags="$compiler_flags $arg"
  17785. - finalize_command="$finalize_command $arg"
  17786. - prev=xcompiler
  17787. - continue
  17788. - ;;
  17789. + -all-static do not do any dynamic linking at all
  17790. + -avoid-version do not add a version suffix if possible
  17791. + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
  17792. + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
  17793. + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
  17794. + -export-symbols SYMFILE
  17795. + try to export only the symbols listed in SYMFILE
  17796. + -export-symbols-regex REGEX
  17797. + try to export only the symbols matching REGEX
  17798. + -LLIBDIR search LIBDIR for required installed libraries
  17799. + -lNAME OUTPUT-FILE requires the installed library libNAME
  17800. + -module build a library that can dlopened
  17801. + -no-fast-install disable the fast-install mode
  17802. + -no-install link a not-installable executable
  17803. + -no-undefined declare that a library does not refer to external symbols
  17804. + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
  17805. + -objectlist FILE Use a list of object files found in FILE to specify objects
  17806. + -precious-files-regex REGEX
  17807. + don't remove output files matching REGEX
  17808. + -release RELEASE specify package release information
  17809. + -rpath LIBDIR the created library will eventually be installed in LIBDIR
  17810. + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
  17811. + -shared only do dynamic linking of libtool libraries
  17812. + -shrext SUFFIX override the standard shared library file extension
  17813. + -static do not do any dynamic linking of uninstalled libtool libraries
  17814. + -static-libtool-libs
  17815. + do not do any dynamic linking of libtool libraries
  17816. + -version-info CURRENT[:REVISION[:AGE]]
  17817. + specify library version info [each variable defaults to 0]
  17818. + -weak LIBNAME declare that the target provides the LIBNAME interface
  17819. - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  17820. - compiler_flags="$compiler_flags $arg"
  17821. - compile_command="$compile_command $arg"
  17822. - finalize_command="$finalize_command $arg"
  17823. - deplibs="$deplibs $arg"
  17824. - continue
  17825. - ;;
  17826. +All other options (arguments beginning with \`-') are ignored.
  17827. - -multi_module)
  17828. - single_module="${wl}-multi_module"
  17829. - continue
  17830. - ;;
  17831. +Every other argument is treated as a filename. Files ending in \`.la' are
  17832. +treated as uninstalled libtool libraries, other files are standard or library
  17833. +object files.
  17834. - -module)
  17835. - module=yes
  17836. - continue
  17837. - ;;
  17838. +If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
  17839. +only library objects (\`.lo' files) may be specified, and \`-rpath' is
  17840. +required, except when creating a convenience library.
  17841. - # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
  17842. - # -r[0-9][0-9]* specifies the processor on the SGI compiler
  17843. - # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
  17844. - # +DA*, +DD* enable 64-bit mode on the HP compiler
  17845. - # -q* pass through compiler args for the IBM compiler
  17846. - # -m* pass through architecture-specific compiler args for GCC
  17847. - # -m*, -t[45]*, -txscale* pass through architecture-specific
  17848. - # compiler args for GCC
  17849. - # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
  17850. - # -F/path gives path to uninstalled frameworks, gcc on darwin
  17851. - # @file GCC response files
  17852. - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
  17853. - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
  17854. +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
  17855. +using \`ar' and \`ranlib', or on Windows using \`lib'.
  17856. - # Unknown arguments in both finalize_command and compile_command need
  17857. - # to be aesthetically quoted because they are evaled later.
  17858. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  17859. - case $arg in
  17860. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  17861. - arg="\"$arg\""
  17862. - ;;
  17863. - esac
  17864. - compile_command="$compile_command $arg"
  17865. - finalize_command="$finalize_command $arg"
  17866. - compiler_flags="$compiler_flags $arg"
  17867. - continue
  17868. +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
  17869. +is created, otherwise an executable program is created."
  17870. ;;
  17871. - -shrext)
  17872. - prev=shrext
  17873. - continue
  17874. - ;;
  17875. + uninstall)
  17876. + $ECHO \
  17877. +"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
  17878. - -no-fast-install)
  17879. - fast_install=no
  17880. - continue
  17881. - ;;
  17882. +Remove libraries from an installation directory.
  17883. - -no-install)
  17884. - case $host in
  17885. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*)
  17886. - # The PATH hackery in wrapper scripts is required on Windows
  17887. - # and Darwin in order for the loader to find any dlls it needs.
  17888. - $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
  17889. - $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
  17890. - fast_install=no
  17891. - ;;
  17892. - *) no_install=yes ;;
  17893. - esac
  17894. - continue
  17895. - ;;
  17896. +RM is the name of the program to use to delete files associated with each FILE
  17897. +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  17898. +to RM.
  17899. - -no-undefined)
  17900. - allow_undefined=no
  17901. - continue
  17902. - ;;
  17903. +If FILE is a libtool library, all the files associated with it are deleted.
  17904. +Otherwise, only FILE itself is deleted using RM."
  17905. + ;;
  17906. - -objectlist)
  17907. - prev=objectlist
  17908. - continue
  17909. - ;;
  17910. + *)
  17911. + func_fatal_help "invalid operation mode \`$mode'"
  17912. + ;;
  17913. + esac
  17914. - -o) prev=output ;;
  17915. + $ECHO
  17916. + $ECHO "Try \`$progname --help' for more information about other modes."
  17917. - -precious-files-regex)
  17918. - prev=precious_regex
  17919. - continue
  17920. - ;;
  17921. -
  17922. - -release)
  17923. - prev=release
  17924. - continue
  17925. - ;;
  17926. + exit $?
  17927. +}
  17928. - -rpath)
  17929. - prev=rpath
  17930. - continue
  17931. - ;;
  17932. + # Now that we've collected a possible --mode arg, show help if necessary
  17933. + $opt_help && func_mode_help
  17934. - -R)
  17935. - prev=xrpath
  17936. - continue
  17937. - ;;
  17938. - -R*)
  17939. - dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
  17940. - # We need an absolute path.
  17941. - case $dir in
  17942. - [\\/]* | [A-Za-z]:[\\/]*) ;;
  17943. - *)
  17944. - $echo "$modename: only absolute run-paths are allowed" 1>&2
  17945. - exit $EXIT_FAILURE
  17946. - ;;
  17947. - esac
  17948. - case "$xrpath " in
  17949. - *" $dir "*) ;;
  17950. - *) xrpath="$xrpath $dir" ;;
  17951. - esac
  17952. - continue
  17953. - ;;
  17954. +# func_mode_execute arg...
  17955. +func_mode_execute ()
  17956. +{
  17957. + $opt_debug
  17958. + # The first argument is the command name.
  17959. + cmd="$nonopt"
  17960. + test -z "$cmd" && \
  17961. + func_fatal_help "you must specify a COMMAND"
  17962. - -static | -static-libtool-libs)
  17963. - # The effects of -static are defined in a previous loop.
  17964. - # We used to do the same as -all-static on platforms that
  17965. - # didn't have a PIC flag, but the assumption that the effects
  17966. - # would be equivalent was wrong. It would break on at least
  17967. - # Digital Unix and AIX.
  17968. - continue
  17969. - ;;
  17970. + # Handle -dlopen flags immediately.
  17971. + for file in $execute_dlfiles; do
  17972. + test -f "$file" \
  17973. + || func_fatal_help "\`$file' is not a file"
  17974. - -thread-safe)
  17975. - thread_safe=yes
  17976. - continue
  17977. - ;;
  17978. + dir=
  17979. + case $file in
  17980. + *.la)
  17981. + # Check to see that this really is a libtool archive.
  17982. + func_lalib_unsafe_p "$file" \
  17983. + || func_fatal_help "\`$lib' is not a valid libtool archive"
  17984. - -version-info)
  17985. - prev=vinfo
  17986. - continue
  17987. - ;;
  17988. - -version-number)
  17989. - prev=vinfo
  17990. - vinfo_number=yes
  17991. - continue
  17992. - ;;
  17993. + # Read the libtool library.
  17994. + dlname=
  17995. + library_names=
  17996. + func_source "$file"
  17997. - -Wc,*)
  17998. - args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
  17999. - arg=
  18000. - save_ifs="$IFS"; IFS=','
  18001. - for flag in $args; do
  18002. - IFS="$save_ifs"
  18003. - case $flag in
  18004. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  18005. - flag="\"$flag\""
  18006. - ;;
  18007. - esac
  18008. - arg="$arg $wl$flag"
  18009. - compiler_flags="$compiler_flags $flag"
  18010. - done
  18011. - IFS="$save_ifs"
  18012. - arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
  18013. - ;;
  18014. + # Skip this library if it cannot be dlopened.
  18015. + if test -z "$dlname"; then
  18016. + # Warn if it was a shared library.
  18017. + test -n "$library_names" && \
  18018. + func_warning "\`$file' was not linked with \`-export-dynamic'"
  18019. + continue
  18020. + fi
  18021. - -Wl,*)
  18022. - args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
  18023. - arg=
  18024. - save_ifs="$IFS"; IFS=','
  18025. - for flag in $args; do
  18026. - IFS="$save_ifs"
  18027. - case $flag in
  18028. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  18029. - flag="\"$flag\""
  18030. - ;;
  18031. - esac
  18032. - arg="$arg $wl$flag"
  18033. - compiler_flags="$compiler_flags $wl$flag"
  18034. - linker_flags="$linker_flags $flag"
  18035. - done
  18036. - IFS="$save_ifs"
  18037. - arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
  18038. - ;;
  18039. + func_dirname "$file" "" "."
  18040. + dir="$func_dirname_result"
  18041. - -Xcompiler)
  18042. - prev=xcompiler
  18043. - continue
  18044. + if test -f "$dir/$objdir/$dlname"; then
  18045. + dir="$dir/$objdir"
  18046. + else
  18047. + if test ! -f "$dir/$dlname"; then
  18048. + func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
  18049. + fi
  18050. + fi
  18051. ;;
  18052. - -Xlinker)
  18053. - prev=xlinker
  18054. - continue
  18055. + *.lo)
  18056. + # Just add the directory containing the .lo file.
  18057. + func_dirname "$file" "" "."
  18058. + dir="$func_dirname_result"
  18059. ;;
  18060. - -XCClinker)
  18061. - prev=xcclinker
  18062. + *)
  18063. + func_warning "\`-dlopen' is ignored for non-libtool libraries and objects"
  18064. continue
  18065. ;;
  18066. + esac
  18067. - # Some other compiler flag.
  18068. - -* | +*)
  18069. - # Unknown arguments in both finalize_command and compile_command need
  18070. - # to be aesthetically quoted because they are evaled later.
  18071. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  18072. - case $arg in
  18073. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  18074. - arg="\"$arg\""
  18075. - ;;
  18076. - esac
  18077. - ;;
  18078. -
  18079. - *.$objext)
  18080. - # A standard object.
  18081. - objs="$objs $arg"
  18082. - ;;
  18083. -
  18084. - *.lo)
  18085. - # A libtool-controlled object.
  18086. -
  18087. - # Check to see that this really is a libtool object.
  18088. - if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  18089. - pic_object=
  18090. - non_pic_object=
  18091. + # Get the absolute pathname.
  18092. + absdir=`cd "$dir" && pwd`
  18093. + test -n "$absdir" && dir="$absdir"
  18094. - # Read the .lo file
  18095. - # If there is no directory component, then add one.
  18096. - case $arg in
  18097. - */* | *\\*) . $arg ;;
  18098. - *) . ./$arg ;;
  18099. - esac
  18100. + # Now add the directory to shlibpath_var.
  18101. + if eval "test -z \"\$$shlibpath_var\""; then
  18102. + eval "$shlibpath_var=\"\$dir\""
  18103. + else
  18104. + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
  18105. + fi
  18106. + done
  18107. - if test -z "$pic_object" || \
  18108. - test -z "$non_pic_object" ||
  18109. - test "$pic_object" = none && \
  18110. - test "$non_pic_object" = none; then
  18111. - $echo "$modename: cannot find name of object for \`$arg'" 1>&2
  18112. - exit $EXIT_FAILURE
  18113. - fi
  18114. + # This variable tells wrapper scripts just to set shlibpath_var
  18115. + # rather than running their programs.
  18116. + libtool_execute_magic="$magic"
  18117. - # Extract subdirectory from the argument.
  18118. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
  18119. - if test "X$xdir" = "X$arg"; then
  18120. - xdir=
  18121. - else
  18122. - xdir="$xdir/"
  18123. - fi
  18124. + # Check if any of the arguments is a wrapper script.
  18125. + args=
  18126. + for file
  18127. + do
  18128. + case $file in
  18129. + -*) ;;
  18130. + *)
  18131. + # Do a test to see if this is really a libtool program.
  18132. + if func_ltwrapper_script_p "$file"; then
  18133. + func_source "$file"
  18134. + # Transform arg to wrapped name.
  18135. + file="$progdir/$program"
  18136. + elif func_ltwrapper_executable_p "$file"; then
  18137. + func_ltwrapper_scriptname "$file"
  18138. + func_source "$func_ltwrapper_scriptname_result"
  18139. + # Transform arg to wrapped name.
  18140. + file="$progdir/$program"
  18141. + fi
  18142. + ;;
  18143. + esac
  18144. + # Quote arguments (to preserve shell metacharacters).
  18145. + func_quote_for_eval "$file"
  18146. + args="$args $func_quote_for_eval_result"
  18147. + done
  18148. - if test "$pic_object" != none; then
  18149. - # Prepend the subdirectory the object is found in.
  18150. - pic_object="$xdir$pic_object"
  18151. + if test "X$opt_dry_run" = Xfalse; then
  18152. + if test -n "$shlibpath_var"; then
  18153. + # Export the shlibpath_var.
  18154. + eval "export $shlibpath_var"
  18155. + fi
  18156. - if test "$prev" = dlfiles; then
  18157. - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  18158. - dlfiles="$dlfiles $pic_object"
  18159. - prev=
  18160. - continue
  18161. + # Restore saved environment variables
  18162. + for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  18163. + do
  18164. + eval "if test \"\${save_$lt_var+set}\" = set; then
  18165. + $lt_var=\$save_$lt_var; export $lt_var
  18166. else
  18167. - # If libtool objects are unsupported, then we need to preload.
  18168. - prev=dlprefiles
  18169. - fi
  18170. - fi
  18171. + $lt_unset $lt_var
  18172. + fi"
  18173. + done
  18174. - # CHECK ME: I think I busted this. -Ossama
  18175. - if test "$prev" = dlprefiles; then
  18176. - # Preload the old-style object.
  18177. - dlprefiles="$dlprefiles $pic_object"
  18178. - prev=
  18179. - fi
  18180. + # Now prepare to actually exec the command.
  18181. + exec_cmd="\$cmd$args"
  18182. + else
  18183. + # Display what would be done.
  18184. + if test -n "$shlibpath_var"; then
  18185. + eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
  18186. + $ECHO "export $shlibpath_var"
  18187. + fi
  18188. + $ECHO "$cmd$args"
  18189. + exit $EXIT_SUCCESS
  18190. + fi
  18191. +}
  18192. - # A PIC object.
  18193. - libobjs="$libobjs $pic_object"
  18194. - arg="$pic_object"
  18195. - fi
  18196. +test "$mode" = execute && func_mode_execute ${1+"$@"}
  18197. - # Non-PIC object.
  18198. - if test "$non_pic_object" != none; then
  18199. - # Prepend the subdirectory the object is found in.
  18200. - non_pic_object="$xdir$non_pic_object"
  18201. - # A standard non-PIC object
  18202. - non_pic_objects="$non_pic_objects $non_pic_object"
  18203. - if test -z "$pic_object" || test "$pic_object" = none ; then
  18204. - arg="$non_pic_object"
  18205. - fi
  18206. - else
  18207. - # If the PIC object exists, use it instead.
  18208. - # $xdir was prepended to $pic_object above.
  18209. - non_pic_object="$pic_object"
  18210. - non_pic_objects="$non_pic_objects $non_pic_object"
  18211. - fi
  18212. - else
  18213. - # Only an error if not doing a dry-run.
  18214. - if test -z "$run"; then
  18215. - $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
  18216. - exit $EXIT_FAILURE
  18217. - else
  18218. - # Dry-run case.
  18219. +# func_mode_finish arg...
  18220. +func_mode_finish ()
  18221. +{
  18222. + $opt_debug
  18223. + libdirs="$nonopt"
  18224. + admincmds=
  18225. - # Extract subdirectory from the argument.
  18226. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
  18227. - if test "X$xdir" = "X$arg"; then
  18228. - xdir=
  18229. - else
  18230. - xdir="$xdir/"
  18231. - fi
  18232. + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
  18233. + for dir
  18234. + do
  18235. + libdirs="$libdirs $dir"
  18236. + done
  18237. - pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
  18238. - non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
  18239. - libobjs="$libobjs $pic_object"
  18240. - non_pic_objects="$non_pic_objects $non_pic_object"
  18241. - fi
  18242. + for libdir in $libdirs; do
  18243. + if test -n "$finish_cmds"; then
  18244. + # Do each command in the finish commands.
  18245. + func_execute_cmds "$finish_cmds" 'admincmds="$admincmds
  18246. +'"$cmd"'"'
  18247. fi
  18248. - ;;
  18249. -
  18250. - *.$libext)
  18251. - # An archive.
  18252. - deplibs="$deplibs $arg"
  18253. - old_deplibs="$old_deplibs $arg"
  18254. - continue
  18255. - ;;
  18256. + if test -n "$finish_eval"; then
  18257. + # Do the single finish_eval.
  18258. + eval cmds=\"$finish_eval\"
  18259. + $opt_dry_run || eval "$cmds" || admincmds="$admincmds
  18260. + $cmds"
  18261. + fi
  18262. + done
  18263. + fi
  18264. - *.la)
  18265. - # A libtool-controlled library.
  18266. + # Exit here if they wanted silent mode.
  18267. + $opt_silent && exit $EXIT_SUCCESS
  18268. - if test "$prev" = dlfiles; then
  18269. - # This library was specified with -dlopen.
  18270. - dlfiles="$dlfiles $arg"
  18271. - prev=
  18272. - elif test "$prev" = dlprefiles; then
  18273. - # The library was specified with -dlpreopen.
  18274. - dlprefiles="$dlprefiles $arg"
  18275. + $ECHO "X----------------------------------------------------------------------" | $Xsed
  18276. + $ECHO "Libraries have been installed in:"
  18277. + for libdir in $libdirs; do
  18278. + $ECHO " $libdir"
  18279. + done
  18280. + $ECHO
  18281. + $ECHO "If you ever happen to want to link against installed libraries"
  18282. + $ECHO "in a given directory, LIBDIR, you must either use libtool, and"
  18283. + $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'"
  18284. + $ECHO "flag during linking and do at least one of the following:"
  18285. + if test -n "$shlibpath_var"; then
  18286. + $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable"
  18287. + $ECHO " during execution"
  18288. + fi
  18289. + if test -n "$runpath_var"; then
  18290. + $ECHO " - add LIBDIR to the \`$runpath_var' environment variable"
  18291. + $ECHO " during linking"
  18292. + fi
  18293. + if test -n "$hardcode_libdir_flag_spec"; then
  18294. + libdir=LIBDIR
  18295. + eval flag=\"$hardcode_libdir_flag_spec\"
  18296. +
  18297. + $ECHO " - use the \`$flag' linker flag"
  18298. + fi
  18299. + if test -n "$admincmds"; then
  18300. + $ECHO " - have your system administrator run these commands:$admincmds"
  18301. + fi
  18302. + if test -f /etc/ld.so.conf; then
  18303. + $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
  18304. + fi
  18305. + $ECHO
  18306. +
  18307. + $ECHO "See any operating system documentation about shared libraries for"
  18308. + case $host in
  18309. + solaris2.[6789]|solaris2.1[0-9])
  18310. + $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual"
  18311. + $ECHO "pages."
  18312. + ;;
  18313. + *)
  18314. + $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
  18315. + ;;
  18316. + esac
  18317. + $ECHO "X----------------------------------------------------------------------" | $Xsed
  18318. + exit $EXIT_SUCCESS
  18319. +}
  18320. +
  18321. +test "$mode" = finish && func_mode_finish ${1+"$@"}
  18322. +
  18323. +
  18324. +# func_mode_install arg...
  18325. +func_mode_install ()
  18326. +{
  18327. + $opt_debug
  18328. + # There may be an optional sh(1) argument at the beginning of
  18329. + # install_prog (especially on Windows NT).
  18330. + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
  18331. + # Allow the use of GNU shtool's install command.
  18332. + $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
  18333. + # Aesthetically quote it.
  18334. + func_quote_for_eval "$nonopt"
  18335. + install_prog="$func_quote_for_eval_result "
  18336. + arg=$1
  18337. + shift
  18338. + else
  18339. + install_prog=
  18340. + arg=$nonopt
  18341. + fi
  18342. +
  18343. + # The real first argument should be the name of the installation program.
  18344. + # Aesthetically quote it.
  18345. + func_quote_for_eval "$arg"
  18346. + install_prog="$install_prog$func_quote_for_eval_result"
  18347. +
  18348. + # We need to accept at least all the BSD install flags.
  18349. + dest=
  18350. + files=
  18351. + opts=
  18352. + prev=
  18353. + install_type=
  18354. + isdir=no
  18355. + stripme=
  18356. + for arg
  18357. + do
  18358. + if test -n "$dest"; then
  18359. + files="$files $dest"
  18360. + dest=$arg
  18361. + continue
  18362. + fi
  18363. +
  18364. + case $arg in
  18365. + -d) isdir=yes ;;
  18366. + -f)
  18367. + case " $install_prog " in
  18368. + *[\\\ /]cp\ *) ;;
  18369. + *) prev=$arg ;;
  18370. + esac
  18371. + ;;
  18372. + -g | -m | -o)
  18373. + prev=$arg
  18374. + ;;
  18375. + -s)
  18376. + stripme=" -s"
  18377. + continue
  18378. + ;;
  18379. + -*)
  18380. + ;;
  18381. + *)
  18382. + # If the previous option needed an argument, then skip it.
  18383. + if test -n "$prev"; then
  18384. prev=
  18385. else
  18386. - deplibs="$deplibs $arg"
  18387. + dest=$arg
  18388. + continue
  18389. fi
  18390. - continue
  18391. ;;
  18392. + esac
  18393. - # Some other compiler argument.
  18394. - *)
  18395. - # Unknown arguments in both finalize_command and compile_command need
  18396. - # to be aesthetically quoted because they are evaled later.
  18397. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  18398. - case $arg in
  18399. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  18400. - arg="\"$arg\""
  18401. - ;;
  18402. - esac
  18403. - ;;
  18404. - esac # arg
  18405. + # Aesthetically quote the argument.
  18406. + func_quote_for_eval "$arg"
  18407. + install_prog="$install_prog $func_quote_for_eval_result"
  18408. + done
  18409. - # Now actually substitute the argument into the commands.
  18410. - if test -n "$arg"; then
  18411. - compile_command="$compile_command $arg"
  18412. - finalize_command="$finalize_command $arg"
  18413. - fi
  18414. - done # argument parsing loop
  18415. + test -z "$install_prog" && \
  18416. + func_fatal_help "you must specify an install program"
  18417. - if test -n "$prev"; then
  18418. - $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
  18419. - $echo "$help" 1>&2
  18420. - exit $EXIT_FAILURE
  18421. - fi
  18422. + test -n "$prev" && \
  18423. + func_fatal_help "the \`$prev' option requires an argument"
  18424. - if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
  18425. - eval arg=\"$export_dynamic_flag_spec\"
  18426. - compile_command="$compile_command $arg"
  18427. - finalize_command="$finalize_command $arg"
  18428. + if test -z "$files"; then
  18429. + if test -z "$dest"; then
  18430. + func_fatal_help "no file or destination specified"
  18431. + else
  18432. + func_fatal_help "you must specify a destination"
  18433. + fi
  18434. fi
  18435. - oldlibs=
  18436. - # calculate the name of the file, without its directory
  18437. - outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
  18438. - libobjs_save="$libobjs"
  18439. + # Strip any trailing slash from the destination.
  18440. + func_stripname '' '/' "$dest"
  18441. + dest=$func_stripname_result
  18442. - if test -n "$shlibpath_var"; then
  18443. - # get the directories listed in $shlibpath_var
  18444. - eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
  18445. + # Check to see that the destination is a directory.
  18446. + test -d "$dest" && isdir=yes
  18447. + if test "$isdir" = yes; then
  18448. + destdir="$dest"
  18449. + destname=
  18450. else
  18451. - shlib_search_path=
  18452. - fi
  18453. - eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
  18454. - eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
  18455. + func_dirname_and_basename "$dest" "" "."
  18456. + destdir="$func_dirname_result"
  18457. + destname="$func_basename_result"
  18458. - output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
  18459. - if test "X$output_objdir" = "X$output"; then
  18460. - output_objdir="$objdir"
  18461. - else
  18462. - output_objdir="$output_objdir/$objdir"
  18463. - fi
  18464. - # Create the object directory.
  18465. - if test ! -d "$output_objdir"; then
  18466. - $show "$mkdir $output_objdir"
  18467. - $run $mkdir $output_objdir
  18468. - exit_status=$?
  18469. - if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
  18470. - exit $exit_status
  18471. - fi
  18472. + # Not a directory, so check to see that there is only one file specified.
  18473. + set dummy $files; shift
  18474. + test "$#" -gt 1 && \
  18475. + func_fatal_help "\`$dest' is not a directory"
  18476. fi
  18477. -
  18478. - # Determine the type of output
  18479. - case $output in
  18480. - "")
  18481. - $echo "$modename: you must specify an output file" 1>&2
  18482. - $echo "$help" 1>&2
  18483. - exit $EXIT_FAILURE
  18484. - ;;
  18485. - *.$libext) linkmode=oldlib ;;
  18486. - *.lo | *.$objext) linkmode=obj ;;
  18487. - *.la) linkmode=lib ;;
  18488. - *) linkmode=prog ;; # Anything else should be a program.
  18489. - esac
  18490. -
  18491. - case $host in
  18492. - *cygwin* | *mingw* | *pw32*)
  18493. - # don't eliminate duplications in $postdeps and $predeps
  18494. - duplicate_compiler_generated_deps=yes
  18495. - ;;
  18496. + case $destdir in
  18497. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  18498. *)
  18499. - duplicate_compiler_generated_deps=$duplicate_deps
  18500. + for file in $files; do
  18501. + case $file in
  18502. + *.lo) ;;
  18503. + *)
  18504. + func_fatal_help "\`$destdir' must be an absolute directory name"
  18505. + ;;
  18506. + esac
  18507. + done
  18508. ;;
  18509. esac
  18510. - specialdeplibs=
  18511. - libs=
  18512. - # Find all interdependent deplibs by searching for libraries
  18513. - # that are linked more than once (e.g. -la -lb -la)
  18514. - for deplib in $deplibs; do
  18515. - if test "X$duplicate_deps" = "Xyes" ; then
  18516. - case "$libs " in
  18517. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  18518. - esac
  18519. - fi
  18520. - libs="$libs $deplib"
  18521. - done
  18522. + # This variable tells wrapper scripts just to set variables rather
  18523. + # than running their programs.
  18524. + libtool_install_magic="$magic"
  18525. - if test "$linkmode" = lib; then
  18526. - libs="$predeps $libs $compiler_lib_search_path $postdeps"
  18527. + staticlibs=
  18528. + future_libdirs=
  18529. + current_libdirs=
  18530. + for file in $files; do
  18531. - # Compute libraries that are listed more than once in $predeps
  18532. - # $postdeps and mark them as special (i.e., whose duplicates are
  18533. - # not to be eliminated).
  18534. - pre_post_deps=
  18535. - if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then
  18536. - for pre_post_dep in $predeps $postdeps; do
  18537. - case "$pre_post_deps " in
  18538. - *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
  18539. + # Do each installation.
  18540. + case $file in
  18541. + *.$libext)
  18542. + # Do the static libraries later.
  18543. + staticlibs="$staticlibs $file"
  18544. + ;;
  18545. +
  18546. + *.la)
  18547. + # Check to see that this really is a libtool archive.
  18548. + func_lalib_unsafe_p "$file" \
  18549. + || func_fatal_help "\`$file' is not a valid libtool archive"
  18550. +
  18551. + library_names=
  18552. + old_library=
  18553. + relink_command=
  18554. + func_source "$file"
  18555. +
  18556. + # Add the libdir to current_libdirs if it is the destination.
  18557. + if test "X$destdir" = "X$libdir"; then
  18558. + case "$current_libdirs " in
  18559. + *" $libdir "*) ;;
  18560. + *) current_libdirs="$current_libdirs $libdir" ;;
  18561. esac
  18562. - pre_post_deps="$pre_post_deps $pre_post_dep"
  18563. - done
  18564. - fi
  18565. - pre_post_deps=
  18566. - fi
  18567. + else
  18568. + # Note the libdir as a future libdir.
  18569. + case "$future_libdirs " in
  18570. + *" $libdir "*) ;;
  18571. + *) future_libdirs="$future_libdirs $libdir" ;;
  18572. + esac
  18573. + fi
  18574. - deplibs=
  18575. - newdependency_libs=
  18576. - newlib_search_path=
  18577. - need_relink=no # whether we're linking any uninstalled libtool libraries
  18578. - notinst_deplibs= # not-installed libtool libraries
  18579. - case $linkmode in
  18580. - lib)
  18581. - passes="conv link"
  18582. - for file in $dlfiles $dlprefiles; do
  18583. - case $file in
  18584. - *.la) ;;
  18585. - *)
  18586. - $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
  18587. - exit $EXIT_FAILURE
  18588. + func_dirname "$file" "/" ""
  18589. + dir="$func_dirname_result"
  18590. + dir="$dir$objdir"
  18591. +
  18592. + if test -n "$relink_command"; then
  18593. + # Determine the prefix the user has applied to our future dir.
  18594. + inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
  18595. +
  18596. + # Don't allow the user to place us outside of our expected
  18597. + # location b/c this prevents finding dependent libraries that
  18598. + # are installed to the same prefix.
  18599. + # At present, this check doesn't affect windows .dll's that
  18600. + # are installed into $libdir/../bin (currently, that works fine)
  18601. + # but it's something to keep an eye on.
  18602. + test "$inst_prefix_dir" = "$destdir" && \
  18603. + func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
  18604. +
  18605. + if test -n "$inst_prefix_dir"; then
  18606. + # Stick the inst_prefix_dir data into the link command.
  18607. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
  18608. + else
  18609. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
  18610. + fi
  18611. +
  18612. + func_warning "relinking \`$file'"
  18613. + func_show_eval "$relink_command" \
  18614. + 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
  18615. + fi
  18616. +
  18617. + # See the names of the shared library.
  18618. + set dummy $library_names; shift
  18619. + if test -n "$1"; then
  18620. + realname="$1"
  18621. + shift
  18622. +
  18623. + srcname="$realname"
  18624. + test -n "$relink_command" && srcname="$realname"T
  18625. +
  18626. + # Install the shared library and build the symlinks.
  18627. + func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
  18628. + 'exit $?'
  18629. + tstripme="$stripme"
  18630. + case $host_os in
  18631. + cygwin* | mingw* | pw32* | cegcc*)
  18632. + case $realname in
  18633. + *.dll.a)
  18634. + tstripme=""
  18635. + ;;
  18636. + esac
  18637. ;;
  18638. esac
  18639. - done
  18640. - ;;
  18641. - prog)
  18642. - compile_deplibs=
  18643. - finalize_deplibs=
  18644. - alldeplibs=no
  18645. - newdlfiles=
  18646. - newdlprefiles=
  18647. - passes="conv scan dlopen dlpreopen link"
  18648. - ;;
  18649. - *) passes="conv"
  18650. + if test -n "$tstripme" && test -n "$striplib"; then
  18651. + func_show_eval "$striplib $destdir/$realname" 'exit $?'
  18652. + fi
  18653. +
  18654. + if test "$#" -gt 0; then
  18655. + # Delete the old symlinks, and create new ones.
  18656. + # Try `ln -sf' first, because the `ln' binary might depend on
  18657. + # the symlink we replace! Solaris /bin/ln does not understand -f,
  18658. + # so we also need to try rm && ln -s.
  18659. + for linkname
  18660. + do
  18661. + test "$linkname" != "$realname" \
  18662. + && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })"
  18663. + done
  18664. + fi
  18665. +
  18666. + # Do each command in the postinstall commands.
  18667. + lib="$destdir/$realname"
  18668. + func_execute_cmds "$postinstall_cmds" 'exit $?'
  18669. + fi
  18670. +
  18671. + # Install the pseudo-library for information purposes.
  18672. + func_basename "$file"
  18673. + name="$func_basename_result"
  18674. + instname="$dir/$name"i
  18675. + func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
  18676. +
  18677. + # Maybe install the static library, too.
  18678. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
  18679. ;;
  18680. - esac
  18681. - for pass in $passes; do
  18682. - if test "$linkmode,$pass" = "lib,link" ||
  18683. - test "$linkmode,$pass" = "prog,scan"; then
  18684. - libs="$deplibs"
  18685. - deplibs=
  18686. - fi
  18687. - if test "$linkmode" = prog; then
  18688. - case $pass in
  18689. - dlopen) libs="$dlfiles" ;;
  18690. - dlpreopen) libs="$dlprefiles" ;;
  18691. - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
  18692. +
  18693. + *.lo)
  18694. + # Install (i.e. copy) a libtool object.
  18695. +
  18696. + # Figure out destination file name, if it wasn't already specified.
  18697. + if test -n "$destname"; then
  18698. + destfile="$destdir/$destname"
  18699. + else
  18700. + func_basename "$file"
  18701. + destfile="$func_basename_result"
  18702. + destfile="$destdir/$destfile"
  18703. + fi
  18704. +
  18705. + # Deduce the name of the destination old-style object file.
  18706. + case $destfile in
  18707. + *.lo)
  18708. + func_lo2o "$destfile"
  18709. + staticdest=$func_lo2o_result
  18710. + ;;
  18711. + *.$objext)
  18712. + staticdest="$destfile"
  18713. + destfile=
  18714. + ;;
  18715. + *)
  18716. + func_fatal_help "cannot copy a libtool object to \`$destfile'"
  18717. + ;;
  18718. esac
  18719. - fi
  18720. - if test "$pass" = dlopen; then
  18721. - # Collect dlpreopened libraries
  18722. - save_deplibs="$deplibs"
  18723. - deplibs=
  18724. - fi
  18725. - for deplib in $libs; do
  18726. - lib=
  18727. - found=no
  18728. - case $deplib in
  18729. - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  18730. - if test "$linkmode,$pass" = "prog,link"; then
  18731. - compile_deplibs="$deplib $compile_deplibs"
  18732. - finalize_deplibs="$deplib $finalize_deplibs"
  18733. - else
  18734. - compiler_flags="$compiler_flags $deplib"
  18735. - fi
  18736. - case $linkmode in
  18737. - lib)
  18738. - deplibs="$deplib $deplibs"
  18739. - test "$pass" = conv && continue
  18740. - newdependency_libs="$deplib $newdependency_libs"
  18741. - ;;
  18742. - prog)
  18743. - if test "$pass" = conv; then
  18744. - deplibs="$deplib $deplibs"
  18745. - continue
  18746. + # Install the libtool object if requested.
  18747. + test -n "$destfile" && \
  18748. + func_show_eval "$install_prog $file $destfile" 'exit $?'
  18749. +
  18750. + # Install the old object if enabled.
  18751. + if test "$build_old_libs" = yes; then
  18752. + # Deduce the name of the old-style object file.
  18753. + func_lo2o "$file"
  18754. + staticobj=$func_lo2o_result
  18755. + func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?'
  18756. + fi
  18757. + exit $EXIT_SUCCESS
  18758. + ;;
  18759. +
  18760. + *)
  18761. + # Figure out destination file name, if it wasn't already specified.
  18762. + if test -n "$destname"; then
  18763. + destfile="$destdir/$destname"
  18764. + else
  18765. + func_basename "$file"
  18766. + destfile="$func_basename_result"
  18767. + destfile="$destdir/$destfile"
  18768. + fi
  18769. +
  18770. + # If the file is missing, and there is a .exe on the end, strip it
  18771. + # because it is most likely a libtool script we actually want to
  18772. + # install
  18773. + stripped_ext=""
  18774. + case $file in
  18775. + *.exe)
  18776. + if test ! -f "$file"; then
  18777. + func_stripname '' '.exe' "$file"
  18778. + file=$func_stripname_result
  18779. + stripped_ext=".exe"
  18780. fi
  18781. - if test "$pass" = scan; then
  18782. - deplibs="$deplib $deplibs"
  18783. + ;;
  18784. + esac
  18785. +
  18786. + # Do a test to see if this is really a libtool program.
  18787. + case $host in
  18788. + *cygwin* | *mingw*)
  18789. + if func_ltwrapper_executable_p "$file"; then
  18790. + func_ltwrapper_scriptname "$file"
  18791. + wrapper=$func_ltwrapper_scriptname_result
  18792. else
  18793. - compile_deplibs="$deplib $compile_deplibs"
  18794. - finalize_deplibs="$deplib $finalize_deplibs"
  18795. + func_stripname '' '.exe' "$file"
  18796. + wrapper=$func_stripname_result
  18797. fi
  18798. ;;
  18799. - *)
  18800. + *)
  18801. + wrapper=$file
  18802. ;;
  18803. - esac # linkmode
  18804. + esac
  18805. + if func_ltwrapper_script_p "$wrapper"; then
  18806. + notinst_deplibs=
  18807. + relink_command=
  18808. - continue
  18809. - ;;
  18810. - -l*)
  18811. - if test "$linkmode" != lib && test "$linkmode" != prog; then
  18812. - $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
  18813. - continue
  18814. - fi
  18815. - name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
  18816. - if test "$linkmode" = lib; then
  18817. - searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
  18818. - else
  18819. - searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
  18820. - fi
  18821. - for searchdir in $searchdirs; do
  18822. - for search_ext in .la $std_shrext .so .a; do
  18823. - # Search the libtool library
  18824. - lib="$searchdir/lib${name}${search_ext}"
  18825. - if test -f "$lib"; then
  18826. - if test "$search_ext" = ".la"; then
  18827. - found=yes
  18828. - else
  18829. - found=no
  18830. - fi
  18831. - break 2
  18832. - fi
  18833. - done
  18834. - done
  18835. - if test "$found" != yes; then
  18836. - # deplib doesn't seem to be a libtool library
  18837. - if test "$linkmode,$pass" = "prog,link"; then
  18838. - compile_deplibs="$deplib $compile_deplibs"
  18839. - finalize_deplibs="$deplib $finalize_deplibs"
  18840. - else
  18841. - deplibs="$deplib $deplibs"
  18842. - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  18843. + func_source "$wrapper"
  18844. +
  18845. + # Check the variables that should have been set.
  18846. + test -z "$generated_by_libtool_version" && \
  18847. + func_fatal_error "invalid libtool wrapper script \`$wrapper'"
  18848. +
  18849. + finalize=yes
  18850. + for lib in $notinst_deplibs; do
  18851. + # Check to see that each library is installed.
  18852. + libdir=
  18853. + if test -f "$lib"; then
  18854. + func_source "$lib"
  18855. fi
  18856. - continue
  18857. - else # deplib is a libtool library
  18858. - # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
  18859. - # We need to do some special things here, and not later.
  18860. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  18861. - case " $predeps $postdeps " in
  18862. - *" $deplib "*)
  18863. - if (${SED} -e '2q' $lib |
  18864. - grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  18865. - library_names=
  18866. - old_library=
  18867. - case $lib in
  18868. - */* | *\\*) . $lib ;;
  18869. - *) . ./$lib ;;
  18870. - esac
  18871. - for l in $old_library $library_names; do
  18872. - ll="$l"
  18873. - done
  18874. - if test "X$ll" = "X$old_library" ; then # only static version available
  18875. - found=no
  18876. - ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
  18877. - test "X$ladir" = "X$lib" && ladir="."
  18878. - lib=$ladir/$old_library
  18879. - if test "$linkmode,$pass" = "prog,link"; then
  18880. - compile_deplibs="$deplib $compile_deplibs"
  18881. - finalize_deplibs="$deplib $finalize_deplibs"
  18882. - else
  18883. - deplibs="$deplib $deplibs"
  18884. - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  18885. - fi
  18886. - continue
  18887. - fi
  18888. - fi
  18889. - ;;
  18890. - *) ;;
  18891. - esac
  18892. + libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
  18893. + if test -n "$libdir" && test ! -f "$libfile"; then
  18894. + func_warning "\`$lib' has not been installed in \`$libdir'"
  18895. + finalize=no
  18896. fi
  18897. + done
  18898. +
  18899. + relink_command=
  18900. + func_source "$wrapper"
  18901. +
  18902. + outputname=
  18903. + if test "$fast_install" = no && test -n "$relink_command"; then
  18904. + $opt_dry_run || {
  18905. + if test "$finalize" = yes; then
  18906. + tmpdir=`func_mktempdir`
  18907. + func_basename "$file$stripped_ext"
  18908. + file="$func_basename_result"
  18909. + outputname="$tmpdir/$file"
  18910. + # Replace the output file specification.
  18911. + relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
  18912. +
  18913. + $opt_silent || {
  18914. + func_quote_for_expand "$relink_command"
  18915. + eval "func_echo $func_quote_for_expand_result"
  18916. + }
  18917. + if eval "$relink_command"; then :
  18918. + else
  18919. + func_error "error: relink \`$file' with the above command before installing it"
  18920. + $opt_dry_run || ${RM}r "$tmpdir"
  18921. + continue
  18922. + fi
  18923. + file="$outputname"
  18924. + else
  18925. + func_warning "cannot relink \`$file'"
  18926. + fi
  18927. + }
  18928. + else
  18929. + # Install the binary that we compiled earlier.
  18930. + file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
  18931. fi
  18932. - ;; # -l
  18933. - -L*)
  18934. - case $linkmode in
  18935. - lib)
  18936. - deplibs="$deplib $deplibs"
  18937. - test "$pass" = conv && continue
  18938. - newdependency_libs="$deplib $newdependency_libs"
  18939. - newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
  18940. + fi
  18941. +
  18942. + # remove .exe since cygwin /usr/bin/install will append another
  18943. + # one anyway
  18944. + case $install_prog,$host in
  18945. + */usr/bin/install*,*cygwin*)
  18946. + case $file:$destfile in
  18947. + *.exe:*.exe)
  18948. + # this is ok
  18949. ;;
  18950. - prog)
  18951. - if test "$pass" = conv; then
  18952. - deplibs="$deplib $deplibs"
  18953. - continue
  18954. - fi
  18955. - if test "$pass" = scan; then
  18956. - deplibs="$deplib $deplibs"
  18957. - else
  18958. - compile_deplibs="$deplib $compile_deplibs"
  18959. - finalize_deplibs="$deplib $finalize_deplibs"
  18960. - fi
  18961. - newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
  18962. + *.exe:*)
  18963. + destfile=$destfile.exe
  18964. ;;
  18965. - *)
  18966. - $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
  18967. + *:*.exe)
  18968. + func_stripname '' '.exe' "$destfile"
  18969. + destfile=$func_stripname_result
  18970. ;;
  18971. - esac # linkmode
  18972. - continue
  18973. - ;; # -L
  18974. - -R*)
  18975. - if test "$pass" = link; then
  18976. - dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
  18977. - # Make sure the xrpath contains only unique directories.
  18978. - case "$xrpath " in
  18979. - *" $dir "*) ;;
  18980. - *) xrpath="$xrpath $dir" ;;
  18981. - esac
  18982. - fi
  18983. - deplibs="$deplib $deplibs"
  18984. - continue
  18985. + esac
  18986. ;;
  18987. - *.la) lib="$deplib" ;;
  18988. - *.$libext)
  18989. - if test "$pass" = conv; then
  18990. - deplibs="$deplib $deplibs"
  18991. - continue
  18992. - fi
  18993. - case $linkmode in
  18994. - lib)
  18995. - valid_a_lib=no
  18996. - case $deplibs_check_method in
  18997. - match_pattern*)
  18998. - set dummy $deplibs_check_method
  18999. - match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
  19000. - if eval $echo \"$deplib\" 2>/dev/null \
  19001. - | $SED 10q \
  19002. - | $EGREP "$match_pattern_regex" > /dev/null; then
  19003. - valid_a_lib=yes
  19004. - fi
  19005. - ;;
  19006. - pass_all)
  19007. - valid_a_lib=yes
  19008. - ;;
  19009. - esac
  19010. - if test "$valid_a_lib" != yes; then
  19011. - $echo
  19012. - $echo "*** Warning: Trying to link with static lib archive $deplib."
  19013. - $echo "*** I have the capability to make that library automatically link in when"
  19014. - $echo "*** you link to this library. But I can only do this if you have a"
  19015. - $echo "*** shared version of the library, which you do not appear to have"
  19016. - $echo "*** because the file extensions .$libext of this argument makes me believe"
  19017. - $echo "*** that it is just a static archive that I should not used here."
  19018. - else
  19019. - $echo
  19020. - $echo "*** Warning: Linking the shared library $output against the"
  19021. - $echo "*** static library $deplib is not portable!"
  19022. - deplibs="$deplib $deplibs"
  19023. - fi
  19024. - continue
  19025. - ;;
  19026. - prog)
  19027. - if test "$pass" != link; then
  19028. - deplibs="$deplib $deplibs"
  19029. - else
  19030. - compile_deplibs="$deplib $compile_deplibs"
  19031. - finalize_deplibs="$deplib $finalize_deplibs"
  19032. - fi
  19033. - continue
  19034. - ;;
  19035. - esac # linkmode
  19036. - ;; # *.$libext
  19037. - *.lo | *.$objext)
  19038. - if test "$pass" = conv; then
  19039. - deplibs="$deplib $deplibs"
  19040. - elif test "$linkmode" = prog; then
  19041. - if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
  19042. - # If there is no dlopen support or we're linking statically,
  19043. - # we need to preload.
  19044. - newdlprefiles="$newdlprefiles $deplib"
  19045. - compile_deplibs="$deplib $compile_deplibs"
  19046. - finalize_deplibs="$deplib $finalize_deplibs"
  19047. - else
  19048. - newdlfiles="$newdlfiles $deplib"
  19049. - fi
  19050. - fi
  19051. - continue
  19052. - ;;
  19053. - %DEPLIBS%)
  19054. - alldeplibs=yes
  19055. - continue
  19056. - ;;
  19057. - esac # case $deplib
  19058. - if test "$found" = yes || test -f "$lib"; then :
  19059. - else
  19060. - $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
  19061. - exit $EXIT_FAILURE
  19062. + esac
  19063. + func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?'
  19064. + $opt_dry_run || if test -n "$outputname"; then
  19065. + ${RM}r "$tmpdir"
  19066. fi
  19067. + ;;
  19068. + esac
  19069. + done
  19070. - # Check to see that this really is a libtool archive.
  19071. - if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
  19072. - else
  19073. - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  19074. - exit $EXIT_FAILURE
  19075. - fi
  19076. + for file in $staticlibs; do
  19077. + func_basename "$file"
  19078. + name="$func_basename_result"
  19079. - ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
  19080. - test "X$ladir" = "X$lib" && ladir="."
  19081. + # Set up the ranlib parameters.
  19082. + oldlib="$destdir/$name"
  19083. - dlname=
  19084. - dlopen=
  19085. - dlpreopen=
  19086. - libdir=
  19087. - library_names=
  19088. - old_library=
  19089. - # If the library was installed with an old release of libtool,
  19090. - # it will not redefine variables installed, or shouldnotlink
  19091. - installed=yes
  19092. - shouldnotlink=no
  19093. - avoidtemprpath=
  19094. + func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
  19095. + if test -n "$stripme" && test -n "$old_striplib"; then
  19096. + func_show_eval "$old_striplib $oldlib" 'exit $?'
  19097. + fi
  19098. - # Read the .la file
  19099. - case $lib in
  19100. - */* | *\\*) . $lib ;;
  19101. - *) . ./$lib ;;
  19102. - esac
  19103. + # Do each command in the postinstall commands.
  19104. + func_execute_cmds "$old_postinstall_cmds" 'exit $?'
  19105. + done
  19106. - if test "$linkmode,$pass" = "lib,link" ||
  19107. - test "$linkmode,$pass" = "prog,scan" ||
  19108. - { test "$linkmode" != prog && test "$linkmode" != lib; }; then
  19109. - test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
  19110. - test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
  19111. - fi
  19112. + test -n "$future_libdirs" && \
  19113. + func_warning "remember to run \`$progname --finish$future_libdirs'"
  19114. - if test "$pass" = conv; then
  19115. - # Only check for convenience libraries
  19116. - deplibs="$lib $deplibs"
  19117. - if test -z "$libdir"; then
  19118. - if test -z "$old_library"; then
  19119. - $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
  19120. - exit $EXIT_FAILURE
  19121. - fi
  19122. - # It is a libtool convenience library, so add in its objects.
  19123. - convenience="$convenience $ladir/$objdir/$old_library"
  19124. - old_convenience="$old_convenience $ladir/$objdir/$old_library"
  19125. - tmp_libs=
  19126. - for deplib in $dependency_libs; do
  19127. - deplibs="$deplib $deplibs"
  19128. - if test "X$duplicate_deps" = "Xyes" ; then
  19129. - case "$tmp_libs " in
  19130. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  19131. - esac
  19132. - fi
  19133. - tmp_libs="$tmp_libs $deplib"
  19134. - done
  19135. - elif test "$linkmode" != prog && test "$linkmode" != lib; then
  19136. - $echo "$modename: \`$lib' is not a convenience library" 1>&2
  19137. - exit $EXIT_FAILURE
  19138. - fi
  19139. - continue
  19140. - fi # $pass = conv
  19141. + if test -n "$current_libdirs"; then
  19142. + # Maybe just do a dry run.
  19143. + $opt_dry_run && current_libdirs=" -n$current_libdirs"
  19144. + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
  19145. + else
  19146. + exit $EXIT_SUCCESS
  19147. + fi
  19148. +}
  19149. +test "$mode" = install && func_mode_install ${1+"$@"}
  19150. - # Get the name of the library we link against.
  19151. - linklib=
  19152. - for l in $old_library $library_names; do
  19153. - linklib="$l"
  19154. - done
  19155. - if test -z "$linklib"; then
  19156. - $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
  19157. - exit $EXIT_FAILURE
  19158. - fi
  19159. - # This library was specified with -dlopen.
  19160. - if test "$pass" = dlopen; then
  19161. - if test -z "$libdir"; then
  19162. - $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
  19163. - exit $EXIT_FAILURE
  19164. - fi
  19165. - if test -z "$dlname" ||
  19166. - test "$dlopen_support" != yes ||
  19167. - test "$build_libtool_libs" = no; then
  19168. - # If there is no dlname, no dlopen support or we're linking
  19169. - # statically, we need to preload. We also need to preload any
  19170. - # dependent libraries so libltdl's deplib preloader doesn't
  19171. - # bomb out in the load deplibs phase.
  19172. - dlprefiles="$dlprefiles $lib $dependency_libs"
  19173. - else
  19174. - newdlfiles="$newdlfiles $lib"
  19175. - fi
  19176. - continue
  19177. - fi # $pass = dlopen
  19178. +# func_generate_dlsyms outputname originator pic_p
  19179. +# Extract symbols from dlprefiles and create ${outputname}S.o with
  19180. +# a dlpreopen symbol table.
  19181. +func_generate_dlsyms ()
  19182. +{
  19183. + $opt_debug
  19184. + my_outputname="$1"
  19185. + my_originator="$2"
  19186. + my_pic_p="${3-no}"
  19187. + my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'`
  19188. + my_dlsyms=
  19189. +
  19190. + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  19191. + if test -n "$NM" && test -n "$global_symbol_pipe"; then
  19192. + my_dlsyms="${my_outputname}S.c"
  19193. + else
  19194. + func_error "not configured to extract global symbols from dlpreopened files"
  19195. + fi
  19196. + fi
  19197. - # We need an absolute path.
  19198. - case $ladir in
  19199. - [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
  19200. - *)
  19201. - abs_ladir=`cd "$ladir" && pwd`
  19202. - if test -z "$abs_ladir"; then
  19203. - $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
  19204. - $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
  19205. - abs_ladir="$ladir"
  19206. + if test -n "$my_dlsyms"; then
  19207. + case $my_dlsyms in
  19208. + "") ;;
  19209. + *.c)
  19210. + # Discover the nlist of each of the dlfiles.
  19211. + nlist="$output_objdir/${my_outputname}.nm"
  19212. +
  19213. + func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
  19214. +
  19215. + # Parse the name list into a source file.
  19216. + func_verbose "creating $output_objdir/$my_dlsyms"
  19217. +
  19218. + $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
  19219. +/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */
  19220. +/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */
  19221. +
  19222. +#ifdef __cplusplus
  19223. +extern \"C\" {
  19224. +#endif
  19225. +
  19226. +/* External symbol declarations for the compiler. */\
  19227. +"
  19228. +
  19229. + if test "$dlself" = yes; then
  19230. + func_verbose "generating symbol list for \`$output'"
  19231. +
  19232. + $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
  19233. +
  19234. + # Add our own program objects to the symbol list.
  19235. + progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  19236. + for progfile in $progfiles; do
  19237. + func_verbose "extracting global C symbols from \`$progfile'"
  19238. + $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
  19239. + done
  19240. +
  19241. + if test -n "$exclude_expsyms"; then
  19242. + $opt_dry_run || {
  19243. + eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
  19244. + eval '$MV "$nlist"T "$nlist"'
  19245. + }
  19246. fi
  19247. - ;;
  19248. - esac
  19249. - laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
  19250. - # Find the relevant object directory and library name.
  19251. - if test "X$installed" = Xyes; then
  19252. - if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  19253. - $echo "$modename: warning: library \`$lib' was moved." 1>&2
  19254. - dir="$ladir"
  19255. - absdir="$abs_ladir"
  19256. - libdir="$abs_ladir"
  19257. - else
  19258. - dir="$libdir"
  19259. - absdir="$libdir"
  19260. + if test -n "$export_symbols_regex"; then
  19261. + $opt_dry_run || {
  19262. + eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
  19263. + eval '$MV "$nlist"T "$nlist"'
  19264. + }
  19265. fi
  19266. - test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
  19267. - else
  19268. - if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  19269. - dir="$ladir"
  19270. - absdir="$abs_ladir"
  19271. - # Remove this search path later
  19272. - notinst_path="$notinst_path $abs_ladir"
  19273. +
  19274. + # Prepare the list of exported symbols
  19275. + if test -z "$export_symbols"; then
  19276. + export_symbols="$output_objdir/$outputname.exp"
  19277. + $opt_dry_run || {
  19278. + $RM $export_symbols
  19279. + eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
  19280. + case $host in
  19281. + *cygwin* | *mingw* | *cegcc* )
  19282. + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  19283. + eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
  19284. + ;;
  19285. + esac
  19286. + }
  19287. else
  19288. - dir="$ladir/$objdir"
  19289. - absdir="$abs_ladir/$objdir"
  19290. - # Remove this search path later
  19291. - notinst_path="$notinst_path $abs_ladir"
  19292. + $opt_dry_run || {
  19293. + eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
  19294. + eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
  19295. + eval '$MV "$nlist"T "$nlist"'
  19296. + case $host in
  19297. + *cygwin | *mingw* | *cegcc* )
  19298. + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  19299. + eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
  19300. + ;;
  19301. + esac
  19302. + }
  19303. fi
  19304. - fi # $installed = yes
  19305. - name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
  19306. + fi
  19307. - # This library was specified with -dlpreopen.
  19308. - if test "$pass" = dlpreopen; then
  19309. - if test -z "$libdir"; then
  19310. - $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
  19311. - exit $EXIT_FAILURE
  19312. + for dlprefile in $dlprefiles; do
  19313. + func_verbose "extracting global C symbols from \`$dlprefile'"
  19314. + func_basename "$dlprefile"
  19315. + name="$func_basename_result"
  19316. + $opt_dry_run || {
  19317. + eval '$ECHO ": $name " >> "$nlist"'
  19318. + eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
  19319. + }
  19320. + done
  19321. +
  19322. + $opt_dry_run || {
  19323. + # Make sure we have at least an empty file.
  19324. + test -f "$nlist" || : > "$nlist"
  19325. +
  19326. + if test -n "$exclude_expsyms"; then
  19327. + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
  19328. + $MV "$nlist"T "$nlist"
  19329. fi
  19330. - # Prefer using a static library (so that no silly _DYNAMIC symbols
  19331. - # are required to link).
  19332. - if test -n "$old_library"; then
  19333. - newdlprefiles="$newdlprefiles $dir/$old_library"
  19334. - # Otherwise, use the dlname, so that lt_dlopen finds it.
  19335. - elif test -n "$dlname"; then
  19336. - newdlprefiles="$newdlprefiles $dir/$dlname"
  19337. +
  19338. + # Try sorting and uniquifying the output.
  19339. + if $GREP -v "^: " < "$nlist" |
  19340. + if sort -k 3 </dev/null >/dev/null 2>&1; then
  19341. + sort -k 3
  19342. + else
  19343. + sort +2
  19344. + fi |
  19345. + uniq > "$nlist"S; then
  19346. + :
  19347. else
  19348. - newdlprefiles="$newdlprefiles $dir/$linklib"
  19349. + $GREP -v "^: " < "$nlist" > "$nlist"S
  19350. fi
  19351. - fi # $pass = dlpreopen
  19352. - if test -z "$libdir"; then
  19353. - # Link the convenience library
  19354. - if test "$linkmode" = lib; then
  19355. - deplibs="$dir/$old_library $deplibs"
  19356. - elif test "$linkmode,$pass" = "prog,link"; then
  19357. - compile_deplibs="$dir/$old_library $compile_deplibs"
  19358. - finalize_deplibs="$dir/$old_library $finalize_deplibs"
  19359. + if test -f "$nlist"S; then
  19360. + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
  19361. else
  19362. - deplibs="$lib $deplibs" # used for prog,scan pass
  19363. + $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
  19364. fi
  19365. - continue
  19366. - fi
  19367. -
  19368. - if test "$linkmode" = prog && test "$pass" != link; then
  19369. - newlib_search_path="$newlib_search_path $ladir"
  19370. - deplibs="$lib $deplibs"
  19371. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  19372. - linkalldeplibs=no
  19373. - if test "$link_all_deplibs" != no || test -z "$library_names" ||
  19374. - test "$build_libtool_libs" = no; then
  19375. - linkalldeplibs=yes
  19376. - fi
  19377. +/* The mapping between symbol names and symbols. */
  19378. +typedef struct {
  19379. + const char *name;
  19380. + void *address;
  19381. +} lt_dlsymlist;
  19382. +"
  19383. + case $host in
  19384. + *cygwin* | *mingw* | *cegcc* )
  19385. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  19386. +/* DATA imports from DLLs on WIN32 con't be const, because
  19387. + runtime relocations are performed -- see ld's documentation
  19388. + on pseudo-relocs. */"
  19389. + lt_dlsym_const= ;;
  19390. + *osf5*)
  19391. + echo >> "$output_objdir/$my_dlsyms" "\
  19392. +/* This system does not cope well with relocations in const data */"
  19393. + lt_dlsym_const= ;;
  19394. + *)
  19395. + lt_dlsym_const=const ;;
  19396. + esac
  19397. - tmp_libs=
  19398. - for deplib in $dependency_libs; do
  19399. - case $deplib in
  19400. - -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
  19401. - esac
  19402. - # Need to link against all dependency_libs?
  19403. - if test "$linkalldeplibs" = yes; then
  19404. - deplibs="$deplib $deplibs"
  19405. - else
  19406. - # Need to hardcode shared library paths
  19407. - # or/and link against static libraries
  19408. - newdependency_libs="$deplib $newdependency_libs"
  19409. - fi
  19410. - if test "X$duplicate_deps" = "Xyes" ; then
  19411. - case "$tmp_libs " in
  19412. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  19413. - esac
  19414. - fi
  19415. - tmp_libs="$tmp_libs $deplib"
  19416. - done # for deplib
  19417. - continue
  19418. - fi # $linkmode = prog...
  19419. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  19420. +extern $lt_dlsym_const lt_dlsymlist
  19421. +lt_${my_prefix}_LTX_preloaded_symbols[];
  19422. +$lt_dlsym_const lt_dlsymlist
  19423. +lt_${my_prefix}_LTX_preloaded_symbols[] =
  19424. +{\
  19425. + { \"$my_originator\", (void *) 0 },"
  19426. - if test "$linkmode,$pass" = "prog,link"; then
  19427. - if test -n "$library_names" &&
  19428. - { { test "$prefer_static_libs" = no ||
  19429. - test "$prefer_static_libs,$installed" = "built,yes"; } ||
  19430. - test -z "$old_library"; }; then
  19431. - # We need to hardcode the library path
  19432. - if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
  19433. - # Make sure the rpath contains only unique directories.
  19434. - case "$temp_rpath " in
  19435. - *" $dir "*) ;;
  19436. - *" $absdir "*) ;;
  19437. - *) temp_rpath="$temp_rpath $absdir" ;;
  19438. - esac
  19439. - fi
  19440. -
  19441. - # Hardcode the library path.
  19442. - # Skip directories that are in the system default run-time
  19443. - # search path.
  19444. - case " $sys_lib_dlsearch_path " in
  19445. - *" $absdir "*) ;;
  19446. - *)
  19447. - case "$compile_rpath " in
  19448. - *" $absdir "*) ;;
  19449. - *) compile_rpath="$compile_rpath $absdir"
  19450. - esac
  19451. - ;;
  19452. - esac
  19453. - case " $sys_lib_dlsearch_path " in
  19454. - *" $libdir "*) ;;
  19455. - *)
  19456. - case "$finalize_rpath " in
  19457. - *" $libdir "*) ;;
  19458. - *) finalize_rpath="$finalize_rpath $libdir"
  19459. - esac
  19460. - ;;
  19461. - esac
  19462. - fi # $linkmode,$pass = prog,link...
  19463. + case $need_lib_prefix in
  19464. + no)
  19465. + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms"
  19466. + ;;
  19467. + *)
  19468. + eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
  19469. + ;;
  19470. + esac
  19471. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  19472. + {0, (void *) 0}
  19473. +};
  19474. - if test "$alldeplibs" = yes &&
  19475. - { test "$deplibs_check_method" = pass_all ||
  19476. - { test "$build_libtool_libs" = yes &&
  19477. - test -n "$library_names"; }; }; then
  19478. - # We only need to search for static libraries
  19479. - continue
  19480. - fi
  19481. - fi
  19482. +/* This works around a problem in FreeBSD linker */
  19483. +#ifdef FREEBSD_WORKAROUND
  19484. +static const void *lt_preloaded_setup() {
  19485. + return lt_${my_prefix}_LTX_preloaded_symbols;
  19486. +}
  19487. +#endif
  19488. - link_static=no # Whether the deplib will be linked statically
  19489. - use_static_libs=$prefer_static_libs
  19490. - if test "$use_static_libs" = built && test "$installed" = yes ; then
  19491. - use_static_libs=no
  19492. - fi
  19493. - if test -n "$library_names" &&
  19494. - { test "$use_static_libs" = no || test -z "$old_library"; }; then
  19495. - if test "$installed" = no; then
  19496. - notinst_deplibs="$notinst_deplibs $lib"
  19497. - need_relink=yes
  19498. - fi
  19499. - # This is a shared library
  19500. +#ifdef __cplusplus
  19501. +}
  19502. +#endif\
  19503. +"
  19504. + } # !$opt_dry_run
  19505. - # Warn about portability, can't link against -module's on
  19506. - # some systems (darwin)
  19507. - if test "$shouldnotlink" = yes && test "$pass" = link ; then
  19508. - $echo
  19509. - if test "$linkmode" = prog; then
  19510. - $echo "*** Warning: Linking the executable $output against the loadable module"
  19511. - else
  19512. - $echo "*** Warning: Linking the shared library $output against the loadable module"
  19513. + pic_flag_for_symtable=
  19514. + case "$compile_command " in
  19515. + *" -static "*) ;;
  19516. + *)
  19517. + case $host in
  19518. + # compiling the symbol table file with pic_flag works around
  19519. + # a FreeBSD bug that causes programs to crash when -lm is
  19520. + # linked before any other PIC object. But we must not use
  19521. + # pic_flag when linking with -static. The problem exists in
  19522. + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
  19523. + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
  19524. + pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
  19525. + *-*-hpux*)
  19526. + pic_flag_for_symtable=" $pic_flag" ;;
  19527. + *)
  19528. + if test "X$my_pic_p" != Xno; then
  19529. + pic_flag_for_symtable=" $pic_flag"
  19530. fi
  19531. - $echo "*** $linklib is not portable!"
  19532. - fi
  19533. - if test "$linkmode" = lib &&
  19534. - test "$hardcode_into_libs" = yes; then
  19535. - # Hardcode the library path.
  19536. - # Skip directories that are in the system default run-time
  19537. - # search path.
  19538. - case " $sys_lib_dlsearch_path " in
  19539. - *" $absdir "*) ;;
  19540. - *)
  19541. - case "$compile_rpath " in
  19542. - *" $absdir "*) ;;
  19543. - *) compile_rpath="$compile_rpath $absdir"
  19544. - esac
  19545. - ;;
  19546. - esac
  19547. - case " $sys_lib_dlsearch_path " in
  19548. - *" $libdir "*) ;;
  19549. - *)
  19550. - case "$finalize_rpath " in
  19551. - *" $libdir "*) ;;
  19552. - *) finalize_rpath="$finalize_rpath $libdir"
  19553. - esac
  19554. - ;;
  19555. - esac
  19556. - fi
  19557. + ;;
  19558. + esac
  19559. + ;;
  19560. + esac
  19561. + symtab_cflags=
  19562. + for arg in $LTCFLAGS; do
  19563. + case $arg in
  19564. + -pie | -fpie | -fPIE) ;;
  19565. + *) symtab_cflags="$symtab_cflags $arg" ;;
  19566. + esac
  19567. + done
  19568. - if test -n "$old_archive_from_expsyms_cmds"; then
  19569. - # figure out the soname
  19570. - set dummy $library_names
  19571. - realname="$2"
  19572. - shift; shift
  19573. - libname=`eval \\$echo \"$libname_spec\"`
  19574. - # use dlname if we got it. it's perfectly good, no?
  19575. - if test -n "$dlname"; then
  19576. - soname="$dlname"
  19577. - elif test -n "$soname_spec"; then
  19578. - # bleh windows
  19579. - case $host in
  19580. - *cygwin* | mingw*)
  19581. - major=`expr $current - $age`
  19582. - versuffix="-$major"
  19583. - ;;
  19584. - esac
  19585. - eval soname=\"$soname_spec\"
  19586. - else
  19587. - soname="$realname"
  19588. - fi
  19589. + # Now compile the dynamic symbol file.
  19590. + func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?'
  19591. - # Make a new name for the extract_expsyms_cmds to use
  19592. - soroot="$soname"
  19593. - soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
  19594. - newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
  19595. + # Clean up the generated files.
  19596. + func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"'
  19597. - # If the library has no export list, then create one now
  19598. - if test -f "$output_objdir/$soname-def"; then :
  19599. - else
  19600. - $show "extracting exported symbol list from \`$soname'"
  19601. - save_ifs="$IFS"; IFS='~'
  19602. - cmds=$extract_expsyms_cmds
  19603. - for cmd in $cmds; do
  19604. - IFS="$save_ifs"
  19605. - eval cmd=\"$cmd\"
  19606. - $show "$cmd"
  19607. - $run eval "$cmd" || exit $?
  19608. - done
  19609. - IFS="$save_ifs"
  19610. - fi
  19611. + # Transform the symbol file into the correct name.
  19612. + symfileobj="$output_objdir/${my_outputname}S.$objext"
  19613. + case $host in
  19614. + *cygwin* | *mingw* | *cegcc* )
  19615. + if test -f "$output_objdir/$my_outputname.def"; then
  19616. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  19617. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  19618. + else
  19619. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  19620. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  19621. + fi
  19622. + ;;
  19623. + *)
  19624. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  19625. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  19626. + ;;
  19627. + esac
  19628. + ;;
  19629. + *)
  19630. + func_fatal_error "unknown suffix for \`$my_dlsyms'"
  19631. + ;;
  19632. + esac
  19633. + else
  19634. + # We keep going just in case the user didn't refer to
  19635. + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
  19636. + # really was required.
  19637. +
  19638. + # Nullify the symbol file.
  19639. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
  19640. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
  19641. + fi
  19642. +}
  19643. - # Create $newlib
  19644. - if test -f "$output_objdir/$newlib"; then :; else
  19645. - $show "generating import library for \`$soname'"
  19646. - save_ifs="$IFS"; IFS='~'
  19647. - cmds=$old_archive_from_expsyms_cmds
  19648. - for cmd in $cmds; do
  19649. - IFS="$save_ifs"
  19650. - eval cmd=\"$cmd\"
  19651. - $show "$cmd"
  19652. - $run eval "$cmd" || exit $?
  19653. - done
  19654. - IFS="$save_ifs"
  19655. - fi
  19656. - # make sure the library variables are pointing to the new library
  19657. - dir=$output_objdir
  19658. - linklib=$newlib
  19659. - fi # test -n "$old_archive_from_expsyms_cmds"
  19660. +# func_win32_libid arg
  19661. +# return the library type of file 'arg'
  19662. +#
  19663. +# Need a lot of goo to handle *both* DLLs and import libs
  19664. +# Has to be a shell function in order to 'eat' the argument
  19665. +# that is supplied when $file_magic_command is called.
  19666. +func_win32_libid ()
  19667. +{
  19668. + $opt_debug
  19669. + win32_libid_type="unknown"
  19670. + win32_fileres=`file -L $1 2>/dev/null`
  19671. + case $win32_fileres in
  19672. + *ar\ archive\ import\ library*) # definitely import
  19673. + win32_libid_type="x86 archive import"
  19674. + ;;
  19675. + *ar\ archive*) # could be an import, or static
  19676. + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
  19677. + $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
  19678. + win32_nmres=`eval $NM -f posix -A $1 |
  19679. + $SED -n -e '
  19680. + 1,100{
  19681. + / I /{
  19682. + s,.*,import,
  19683. + p
  19684. + q
  19685. + }
  19686. + }'`
  19687. + case $win32_nmres in
  19688. + import*) win32_libid_type="x86 archive import";;
  19689. + *) win32_libid_type="x86 archive static";;
  19690. + esac
  19691. + fi
  19692. + ;;
  19693. + *DLL*)
  19694. + win32_libid_type="x86 DLL"
  19695. + ;;
  19696. + *executable*) # but shell scripts are "executable" too...
  19697. + case $win32_fileres in
  19698. + *MS\ Windows\ PE\ Intel*)
  19699. + win32_libid_type="x86 DLL"
  19700. + ;;
  19701. + esac
  19702. + ;;
  19703. + esac
  19704. + $ECHO "$win32_libid_type"
  19705. +}
  19706. - if test "$linkmode" = prog || test "$mode" != relink; then
  19707. - add_shlibpath=
  19708. - add_dir=
  19709. - add=
  19710. - lib_linked=yes
  19711. - case $hardcode_action in
  19712. - immediate | unsupported)
  19713. - if test "$hardcode_direct" = no; then
  19714. - add="$dir/$linklib"
  19715. - case $host in
  19716. - *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
  19717. - *-*-sysv4*uw2*) add_dir="-L$dir" ;;
  19718. - *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
  19719. - *-*-unixware7*) add_dir="-L$dir" ;;
  19720. - *-*-darwin* )
  19721. - # if the lib is a module then we can not link against
  19722. - # it, someone is ignoring the new warnings I added
  19723. - if /usr/bin/file -L $add 2> /dev/null |
  19724. - $EGREP ": [^:]* bundle" >/dev/null ; then
  19725. - $echo "** Warning, lib $linklib is a module, not a shared library"
  19726. - if test -z "$old_library" ; then
  19727. - $echo
  19728. - $echo "** And there doesn't seem to be a static archive available"
  19729. - $echo "** The link will probably fail, sorry"
  19730. - else
  19731. - add="$dir/$old_library"
  19732. - fi
  19733. - fi
  19734. - esac
  19735. - elif test "$hardcode_minus_L" = no; then
  19736. - case $host in
  19737. - *-*-sunos*) add_shlibpath="$dir" ;;
  19738. - esac
  19739. - add_dir="-L$dir"
  19740. - add="-l$name"
  19741. - elif test "$hardcode_shlibpath_var" = no; then
  19742. - add_shlibpath="$dir"
  19743. - add="-l$name"
  19744. - else
  19745. - lib_linked=no
  19746. - fi
  19747. - ;;
  19748. - relink)
  19749. - if test "$hardcode_direct" = yes; then
  19750. - add="$dir/$linklib"
  19751. - elif test "$hardcode_minus_L" = yes; then
  19752. - add_dir="-L$dir"
  19753. - # Try looking first in the location we're being installed to.
  19754. - if test -n "$inst_prefix_dir"; then
  19755. - case $libdir in
  19756. - [\\/]*)
  19757. - add_dir="$add_dir -L$inst_prefix_dir$libdir"
  19758. - ;;
  19759. - esac
  19760. - fi
  19761. - add="-l$name"
  19762. - elif test "$hardcode_shlibpath_var" = yes; then
  19763. - add_shlibpath="$dir"
  19764. - add="-l$name"
  19765. - else
  19766. - lib_linked=no
  19767. - fi
  19768. - ;;
  19769. - *) lib_linked=no ;;
  19770. - esac
  19771. - if test "$lib_linked" != yes; then
  19772. - $echo "$modename: configuration error: unsupported hardcode properties"
  19773. - exit $EXIT_FAILURE
  19774. - fi
  19775. - if test -n "$add_shlibpath"; then
  19776. - case :$compile_shlibpath: in
  19777. - *":$add_shlibpath:"*) ;;
  19778. - *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
  19779. - esac
  19780. - fi
  19781. - if test "$linkmode" = prog; then
  19782. - test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
  19783. - test -n "$add" && compile_deplibs="$add $compile_deplibs"
  19784. - else
  19785. - test -n "$add_dir" && deplibs="$add_dir $deplibs"
  19786. - test -n "$add" && deplibs="$add $deplibs"
  19787. - if test "$hardcode_direct" != yes && \
  19788. - test "$hardcode_minus_L" != yes && \
  19789. - test "$hardcode_shlibpath_var" = yes; then
  19790. - case :$finalize_shlibpath: in
  19791. - *":$libdir:"*) ;;
  19792. - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  19793. - esac
  19794. - fi
  19795. - fi
  19796. - fi
  19797. +# func_extract_an_archive dir oldlib
  19798. +func_extract_an_archive ()
  19799. +{
  19800. + $opt_debug
  19801. + f_ex_an_ar_dir="$1"; shift
  19802. + f_ex_an_ar_oldlib="$1"
  19803. + func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
  19804. + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
  19805. + :
  19806. + else
  19807. + func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib"
  19808. + fi
  19809. +}
  19810. - if test "$linkmode" = prog || test "$mode" = relink; then
  19811. - add_shlibpath=
  19812. - add_dir=
  19813. - add=
  19814. - # Finalize command for both is simple: just hardcode it.
  19815. - if test "$hardcode_direct" = yes; then
  19816. - add="$libdir/$linklib"
  19817. - elif test "$hardcode_minus_L" = yes; then
  19818. - add_dir="-L$libdir"
  19819. - add="-l$name"
  19820. - elif test "$hardcode_shlibpath_var" = yes; then
  19821. - case :$finalize_shlibpath: in
  19822. - *":$libdir:"*) ;;
  19823. - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  19824. - esac
  19825. - add="-l$name"
  19826. - elif test "$hardcode_automatic" = yes; then
  19827. - if test -n "$inst_prefix_dir" &&
  19828. - test -f "$inst_prefix_dir$libdir/$linklib" ; then
  19829. - add="$inst_prefix_dir$libdir/$linklib"
  19830. - else
  19831. - add="$libdir/$linklib"
  19832. - fi
  19833. - else
  19834. - # We cannot seem to hardcode it, guess we'll fake it.
  19835. - add_dir="-L$libdir"
  19836. - # Try looking first in the location we're being installed to.
  19837. - if test -n "$inst_prefix_dir"; then
  19838. - case $libdir in
  19839. - [\\/]*)
  19840. - add_dir="$add_dir -L$inst_prefix_dir$libdir"
  19841. - ;;
  19842. - esac
  19843. - fi
  19844. - add="-l$name"
  19845. - fi
  19846. - if test "$linkmode" = prog; then
  19847. - test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
  19848. - test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
  19849. - else
  19850. - test -n "$add_dir" && deplibs="$add_dir $deplibs"
  19851. - test -n "$add" && deplibs="$add $deplibs"
  19852. - fi
  19853. - fi
  19854. - elif test "$linkmode" = prog; then
  19855. - # Here we assume that one of hardcode_direct or hardcode_minus_L
  19856. - # is not unsupported. This is valid on all known static and
  19857. - # shared platforms.
  19858. - if test "$hardcode_direct" != unsupported; then
  19859. - test -n "$old_library" && linklib="$old_library"
  19860. - compile_deplibs="$dir/$linklib $compile_deplibs"
  19861. - finalize_deplibs="$dir/$linklib $finalize_deplibs"
  19862. - else
  19863. - compile_deplibs="-l$name -L$dir $compile_deplibs"
  19864. - finalize_deplibs="-l$name -L$dir $finalize_deplibs"
  19865. - fi
  19866. - elif test "$build_libtool_libs" = yes; then
  19867. - # Not a shared library
  19868. - if test "$deplibs_check_method" != pass_all; then
  19869. - # We're trying link a shared library against a static one
  19870. - # but the system doesn't support it.
  19871. +# func_extract_archives gentop oldlib ...
  19872. +func_extract_archives ()
  19873. +{
  19874. + $opt_debug
  19875. + my_gentop="$1"; shift
  19876. + my_oldlibs=${1+"$@"}
  19877. + my_oldobjs=""
  19878. + my_xlib=""
  19879. + my_xabs=""
  19880. + my_xdir=""
  19881. - # Just print a warning and add the library to dependency_libs so
  19882. - # that the program can be linked against the static library.
  19883. - $echo
  19884. - $echo "*** Warning: This system can not link to static lib archive $lib."
  19885. - $echo "*** I have the capability to make that library automatically link in when"
  19886. - $echo "*** you link to this library. But I can only do this if you have a"
  19887. - $echo "*** shared version of the library, which you do not appear to have."
  19888. - if test "$module" = yes; then
  19889. - $echo "*** But as you try to build a module library, libtool will still create "
  19890. - $echo "*** a static module, that should work as long as the dlopening application"
  19891. - $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
  19892. - if test -z "$global_symbol_pipe"; then
  19893. - $echo
  19894. - $echo "*** However, this would only work if libtool was able to extract symbol"
  19895. - $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
  19896. - $echo "*** not find such a program. So, this module is probably useless."
  19897. - $echo "*** \`nm' from GNU binutils and a full rebuild may help."
  19898. - fi
  19899. - if test "$build_old_libs" = no; then
  19900. - build_libtool_libs=module
  19901. - build_old_libs=yes
  19902. - else
  19903. - build_libtool_libs=no
  19904. - fi
  19905. - fi
  19906. + for my_xlib in $my_oldlibs; do
  19907. + # Extract the objects.
  19908. + case $my_xlib in
  19909. + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
  19910. + *) my_xabs=`pwd`"/$my_xlib" ;;
  19911. + esac
  19912. + func_basename "$my_xlib"
  19913. + my_xlib="$func_basename_result"
  19914. + my_xlib_u=$my_xlib
  19915. + while :; do
  19916. + case " $extracted_archives " in
  19917. + *" $my_xlib_u "*)
  19918. + func_arith $extracted_serial + 1
  19919. + extracted_serial=$func_arith_result
  19920. + my_xlib_u=lt$extracted_serial-$my_xlib ;;
  19921. + *) break ;;
  19922. + esac
  19923. + done
  19924. + extracted_archives="$extracted_archives $my_xlib_u"
  19925. + my_xdir="$my_gentop/$my_xlib_u"
  19926. +
  19927. + func_mkdir_p "$my_xdir"
  19928. +
  19929. + case $host in
  19930. + *-darwin*)
  19931. + func_verbose "Extracting $my_xabs"
  19932. + # Do not bother doing anything if just a dry run
  19933. + $opt_dry_run || {
  19934. + darwin_orig_dir=`pwd`
  19935. + cd $my_xdir || exit $?
  19936. + darwin_archive=$my_xabs
  19937. + darwin_curdir=`pwd`
  19938. + darwin_base_archive=`basename "$darwin_archive"`
  19939. + darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
  19940. + if test -n "$darwin_arches"; then
  19941. + darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'`
  19942. + darwin_arch=
  19943. + func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
  19944. + for darwin_arch in $darwin_arches ; do
  19945. + func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  19946. + $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
  19947. + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  19948. + func_extract_an_archive "`pwd`" "${darwin_base_archive}"
  19949. + cd "$darwin_curdir"
  19950. + $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
  19951. + done # $darwin_arches
  19952. + ## Okay now we've a bunch of thin objects, gotta fatten them up :)
  19953. + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u`
  19954. + darwin_file=
  19955. + darwin_files=
  19956. + for darwin_file in $darwin_filelist; do
  19957. + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
  19958. + $LIPO -create -output "$darwin_file" $darwin_files
  19959. + done # $darwin_filelist
  19960. + $RM -rf unfat-$$
  19961. + cd "$darwin_orig_dir"
  19962. else
  19963. - deplibs="$dir/$old_library $deplibs"
  19964. - link_static=yes
  19965. - fi
  19966. - fi # link shared/static library?
  19967. + cd $darwin_orig_dir
  19968. + func_extract_an_archive "$my_xdir" "$my_xabs"
  19969. + fi # $darwin_arches
  19970. + } # !$opt_dry_run
  19971. + ;;
  19972. + *)
  19973. + func_extract_an_archive "$my_xdir" "$my_xabs"
  19974. + ;;
  19975. + esac
  19976. + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
  19977. + done
  19978. - if test "$linkmode" = lib; then
  19979. - if test -n "$dependency_libs" &&
  19980. - { test "$hardcode_into_libs" != yes ||
  19981. - test "$build_old_libs" = yes ||
  19982. - test "$link_static" = yes; }; then
  19983. - # Extract -R from dependency_libs
  19984. - temp_deplibs=
  19985. - for libdir in $dependency_libs; do
  19986. - case $libdir in
  19987. - -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
  19988. - case " $xrpath " in
  19989. - *" $temp_xrpath "*) ;;
  19990. - *) xrpath="$xrpath $temp_xrpath";;
  19991. - esac;;
  19992. - *) temp_deplibs="$temp_deplibs $libdir";;
  19993. - esac
  19994. - done
  19995. - dependency_libs="$temp_deplibs"
  19996. - fi
  19997. + func_extract_archives_result="$my_oldobjs"
  19998. +}
  19999. - newlib_search_path="$newlib_search_path $absdir"
  20000. - # Link against this library
  20001. - test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
  20002. - # ... and its dependency_libs
  20003. - tmp_libs=
  20004. - for deplib in $dependency_libs; do
  20005. - newdependency_libs="$deplib $newdependency_libs"
  20006. - if test "X$duplicate_deps" = "Xyes" ; then
  20007. - case "$tmp_libs " in
  20008. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  20009. - esac
  20010. - fi
  20011. - tmp_libs="$tmp_libs $deplib"
  20012. - done
  20013. - if test "$link_all_deplibs" != no; then
  20014. - # Add the search paths of all dependency libraries
  20015. - for deplib in $dependency_libs; do
  20016. - case $deplib in
  20017. - -L*) path="$deplib" ;;
  20018. - *.la)
  20019. - dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
  20020. - test "X$dir" = "X$deplib" && dir="."
  20021. - # We need an absolute path.
  20022. - case $dir in
  20023. - [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
  20024. - *)
  20025. - absdir=`cd "$dir" && pwd`
  20026. - if test -z "$absdir"; then
  20027. - $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
  20028. - absdir="$dir"
  20029. - fi
  20030. - ;;
  20031. - esac
  20032. - if grep "^installed=no" $deplib > /dev/null; then
  20033. - path="$absdir/$objdir"
  20034. - else
  20035. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  20036. - if test -z "$libdir"; then
  20037. - $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
  20038. - exit $EXIT_FAILURE
  20039. - fi
  20040. - if test "$absdir" != "$libdir"; then
  20041. - $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
  20042. - fi
  20043. - path="$absdir"
  20044. - fi
  20045. - depdepl=
  20046. - case $host in
  20047. - *-*-darwin*)
  20048. - # we do not want to link against static libs,
  20049. - # but need to link against shared
  20050. - eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
  20051. - eval deplibdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  20052. - if test -n "$deplibrary_names" ; then
  20053. - for tmp in $deplibrary_names ; do
  20054. - depdepl=$tmp
  20055. - done
  20056. - if test -f "$deplibdir/$depdepl" ; then
  20057. - depdepl="$deplibdir/$depdepl"
  20058. - elif test -f "$path/$depdepl" ; then
  20059. - depdepl="$path/$depdepl"
  20060. - else
  20061. - # Can't find it, oh well...
  20062. - depdepl=
  20063. - fi
  20064. - # do not add paths which are already there
  20065. - case " $newlib_search_path " in
  20066. - *" $path "*) ;;
  20067. - *) newlib_search_path="$newlib_search_path $path";;
  20068. - esac
  20069. - fi
  20070. - path=""
  20071. - ;;
  20072. - *)
  20073. - path="-L$path"
  20074. - ;;
  20075. - esac
  20076. - ;;
  20077. - -l*)
  20078. - case $host in
  20079. - *-*-darwin*)
  20080. - # Again, we only want to link against shared libraries
  20081. - eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
  20082. - for tmp in $newlib_search_path ; do
  20083. - if test -f "$tmp/lib$tmp_libs.dylib" ; then
  20084. - eval depdepl="$tmp/lib$tmp_libs.dylib"
  20085. - break
  20086. - fi
  20087. - done
  20088. - path=""
  20089. - ;;
  20090. - *) continue ;;
  20091. - esac
  20092. - ;;
  20093. - *) continue ;;
  20094. - esac
  20095. - case " $deplibs " in
  20096. - *" $path "*) ;;
  20097. - *) deplibs="$path $deplibs" ;;
  20098. - esac
  20099. - case " $deplibs " in
  20100. - *" $depdepl "*) ;;
  20101. - *) deplibs="$depdepl $deplibs" ;;
  20102. - esac
  20103. - done
  20104. - fi # link_all_deplibs != no
  20105. - fi # linkmode = lib
  20106. - done # for deplib in $libs
  20107. - dependency_libs="$newdependency_libs"
  20108. - if test "$pass" = dlpreopen; then
  20109. - # Link the dlpreopened libraries before other libraries
  20110. - for deplib in $save_deplibs; do
  20111. - deplibs="$deplib $deplibs"
  20112. - done
  20113. - fi
  20114. - if test "$pass" != dlopen; then
  20115. - if test "$pass" != conv; then
  20116. - # Make sure lib_search_path contains only unique directories.
  20117. - lib_search_path=
  20118. - for dir in $newlib_search_path; do
  20119. - case "$lib_search_path " in
  20120. - *" $dir "*) ;;
  20121. - *) lib_search_path="$lib_search_path $dir" ;;
  20122. - esac
  20123. - done
  20124. - newlib_search_path=
  20125. +
  20126. +# func_emit_wrapper_part1 [arg=no]
  20127. +#
  20128. +# Emit the first part of a libtool wrapper script on stdout.
  20129. +# For more information, see the description associated with
  20130. +# func_emit_wrapper(), below.
  20131. +func_emit_wrapper_part1 ()
  20132. +{
  20133. + func_emit_wrapper_part1_arg1=no
  20134. + if test -n "$1" ; then
  20135. + func_emit_wrapper_part1_arg1=$1
  20136. fi
  20137. - if test "$linkmode,$pass" != "prog,link"; then
  20138. - vars="deplibs"
  20139. - else
  20140. - vars="compile_deplibs finalize_deplibs"
  20141. - fi
  20142. - for var in $vars dependency_libs; do
  20143. - # Add libraries to $var in reverse order
  20144. - eval tmp_libs=\"\$$var\"
  20145. - new_libs=
  20146. - for deplib in $tmp_libs; do
  20147. - # FIXME: Pedantically, this is the right thing to do, so
  20148. - # that some nasty dependency loop isn't accidentally
  20149. - # broken:
  20150. - #new_libs="$deplib $new_libs"
  20151. - # Pragmatically, this seems to cause very few problems in
  20152. - # practice:
  20153. - case $deplib in
  20154. - -L*) new_libs="$deplib $new_libs" ;;
  20155. - -R*) ;;
  20156. - *)
  20157. - # And here is the reason: when a library appears more
  20158. - # than once as an explicit dependence of a library, or
  20159. - # is implicitly linked in more than once by the
  20160. - # compiler, it is considered special, and multiple
  20161. - # occurrences thereof are not removed. Compare this
  20162. - # with having the same library being listed as a
  20163. - # dependency of multiple other libraries: in this case,
  20164. - # we know (pedantically, we assume) the library does not
  20165. - # need to be listed more than once, so we keep only the
  20166. - # last copy. This is not always right, but it is rare
  20167. - # enough that we require users that really mean to play
  20168. - # such unportable linking tricks to link the library
  20169. - # using -Wl,-lname, so that libtool does not consider it
  20170. - # for duplicate removal.
  20171. - case " $specialdeplibs " in
  20172. - *" $deplib "*) new_libs="$deplib $new_libs" ;;
  20173. - *)
  20174. - case " $new_libs " in
  20175. - *" $deplib "*) ;;
  20176. - *) new_libs="$deplib $new_libs" ;;
  20177. - esac
  20178. - ;;
  20179. - esac
  20180. - ;;
  20181. - esac
  20182. - done
  20183. - tmp_libs=
  20184. - for deplib in $new_libs; do
  20185. - case $deplib in
  20186. - -L*)
  20187. - case " $tmp_libs " in
  20188. - *" $deplib "*) ;;
  20189. - *) tmp_libs="$tmp_libs $deplib" ;;
  20190. - esac
  20191. - ;;
  20192. - *) tmp_libs="$tmp_libs $deplib" ;;
  20193. - esac
  20194. - done
  20195. - eval $var=\"$tmp_libs\"
  20196. - done # for var
  20197. - fi
  20198. - # Last step: remove runtime libs from dependency_libs
  20199. - # (they stay in deplibs)
  20200. - tmp_libs=
  20201. - for i in $dependency_libs ; do
  20202. - case " $predeps $postdeps $compiler_lib_search_path " in
  20203. - *" $i "*)
  20204. - i=""
  20205. - ;;
  20206. - esac
  20207. - if test -n "$i" ; then
  20208. - tmp_libs="$tmp_libs $i"
  20209. - fi
  20210. - done
  20211. - dependency_libs=$tmp_libs
  20212. - done # for pass
  20213. - if test "$linkmode" = prog; then
  20214. - dlfiles="$newdlfiles"
  20215. - dlprefiles="$newdlprefiles"
  20216. + $ECHO "\
  20217. +#! $SHELL
  20218. +
  20219. +# $output - temporary wrapper script for $objdir/$outputname
  20220. +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  20221. +#
  20222. +# The $output program cannot be directly executed until all the libtool
  20223. +# libraries that it depends on are installed.
  20224. +#
  20225. +# This wrapper script should never be moved out of the build directory.
  20226. +# If it is, it will not operate correctly.
  20227. +
  20228. +# Sed substitution that helps us do robust quoting. It backslashifies
  20229. +# metacharacters that are still active within double-quoted strings.
  20230. +Xsed='${SED} -e 1s/^X//'
  20231. +sed_quote_subst='$sed_quote_subst'
  20232. +
  20233. +# Be Bourne compatible
  20234. +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
  20235. + emulate sh
  20236. + NULLCMD=:
  20237. + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
  20238. + # is contrary to our usage. Disable this feature.
  20239. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  20240. + setopt NO_GLOB_SUBST
  20241. +else
  20242. + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
  20243. +fi
  20244. +BIN_SH=xpg4; export BIN_SH # for Tru64
  20245. +DUALCASE=1; export DUALCASE # for MKS sh
  20246. +
  20247. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  20248. +# if CDPATH is set.
  20249. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  20250. +
  20251. +relink_command=\"$relink_command\"
  20252. +
  20253. +# This environment variable determines our operation mode.
  20254. +if test \"\$libtool_install_magic\" = \"$magic\"; then
  20255. + # install mode needs the following variables:
  20256. + generated_by_libtool_version='$macro_version'
  20257. + notinst_deplibs='$notinst_deplibs'
  20258. +else
  20259. + # When we are sourced in execute mode, \$file and \$ECHO are already set.
  20260. + if test \"\$libtool_execute_magic\" != \"$magic\"; then
  20261. + ECHO=\"$qecho\"
  20262. + file=\"\$0\"
  20263. + # Make sure echo works.
  20264. + if test \"X\$1\" = X--no-reexec; then
  20265. + # Discard the --no-reexec flag, and continue.
  20266. + shift
  20267. + elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
  20268. + # Yippee, \$ECHO works!
  20269. + :
  20270. + else
  20271. + # Restart under the correct shell, and then maybe \$ECHO will work.
  20272. + exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
  20273. fi
  20274. + fi\
  20275. +"
  20276. + $ECHO "\
  20277. - case $linkmode in
  20278. - oldlib)
  20279. - case " $deplibs" in
  20280. - *\ -l* | *\ -L*)
  20281. - $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 ;;
  20282. + # Find the directory that this script lives in.
  20283. + thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
  20284. + test \"x\$thisdir\" = \"x\$file\" && thisdir=.
  20285. +
  20286. + # Follow symbolic links until we get to the real thisdir.
  20287. + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
  20288. + while test -n \"\$file\"; do
  20289. + destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
  20290. +
  20291. + # If there was a directory component, then change thisdir.
  20292. + if test \"x\$destdir\" != \"x\$file\"; then
  20293. + case \"\$destdir\" in
  20294. + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
  20295. + *) thisdir=\"\$thisdir/\$destdir\" ;;
  20296. esac
  20297. + fi
  20298. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  20299. - $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
  20300. - fi
  20301. + file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
  20302. + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
  20303. + done
  20304. +"
  20305. +}
  20306. +# end: func_emit_wrapper_part1
  20307. - if test -n "$rpath"; then
  20308. - $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
  20309. - fi
  20310. +# func_emit_wrapper_part2 [arg=no]
  20311. +#
  20312. +# Emit the second part of a libtool wrapper script on stdout.
  20313. +# For more information, see the description associated with
  20314. +# func_emit_wrapper(), below.
  20315. +func_emit_wrapper_part2 ()
  20316. +{
  20317. + func_emit_wrapper_part2_arg1=no
  20318. + if test -n "$1" ; then
  20319. + func_emit_wrapper_part2_arg1=$1
  20320. + fi
  20321. +
  20322. + $ECHO "\
  20323. +
  20324. + # Usually 'no', except on cygwin/mingw when embedded into
  20325. + # the cwrapper.
  20326. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
  20327. + if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
  20328. + # special case for '.'
  20329. + if test \"\$thisdir\" = \".\"; then
  20330. + thisdir=\`pwd\`
  20331. + fi
  20332. + # remove .libs from thisdir
  20333. + case \"\$thisdir\" in
  20334. + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
  20335. + $objdir ) thisdir=. ;;
  20336. + esac
  20337. + fi
  20338. - if test -n "$xrpath"; then
  20339. - $echo "$modename: warning: \`-R' is ignored for archives" 1>&2
  20340. - fi
  20341. + # Try to get the absolute directory name.
  20342. + absdir=\`cd \"\$thisdir\" && pwd\`
  20343. + test -n \"\$absdir\" && thisdir=\"\$absdir\"
  20344. +"
  20345. - if test -n "$vinfo"; then
  20346. - $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
  20347. - fi
  20348. + if test "$fast_install" = yes; then
  20349. + $ECHO "\
  20350. + program=lt-'$outputname'$exeext
  20351. + progdir=\"\$thisdir/$objdir\"
  20352. - if test -n "$release"; then
  20353. - $echo "$modename: warning: \`-release' is ignored for archives" 1>&2
  20354. - fi
  20355. + if test ! -f \"\$progdir/\$program\" ||
  20356. + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
  20357. + test \"X\$file\" != \"X\$progdir/\$program\"; }; then
  20358. - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
  20359. - $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
  20360. - fi
  20361. + file=\"\$\$-\$program\"
  20362. - # Now set the variables for building old libraries.
  20363. - build_libtool_libs=no
  20364. - oldlibs="$output"
  20365. - objs="$objs$old_deplibs"
  20366. - ;;
  20367. + if test ! -d \"\$progdir\"; then
  20368. + $MKDIR \"\$progdir\"
  20369. + else
  20370. + $RM \"\$progdir/\$file\"
  20371. + fi"
  20372. - lib)
  20373. - # Make sure we only generate libraries of the form `libNAME.la'.
  20374. - case $outputname in
  20375. - lib*)
  20376. - name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
  20377. - eval shared_ext=\"$shrext_cmds\"
  20378. - eval libname=\"$libname_spec\"
  20379. - ;;
  20380. - *)
  20381. - if test "$module" = no; then
  20382. - $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
  20383. - $echo "$help" 1>&2
  20384. - exit $EXIT_FAILURE
  20385. - fi
  20386. - if test "$need_lib_prefix" != no; then
  20387. - # Add the "lib" prefix for modules if required
  20388. - name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
  20389. - eval shared_ext=\"$shrext_cmds\"
  20390. - eval libname=\"$libname_spec\"
  20391. - else
  20392. - libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
  20393. - fi
  20394. - ;;
  20395. - esac
  20396. + $ECHO "\
  20397. - if test -n "$objs"; then
  20398. - if test "$deplibs_check_method" != pass_all; then
  20399. - $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
  20400. - exit $EXIT_FAILURE
  20401. + # relink executable if necessary
  20402. + if test -n \"\$relink_command\"; then
  20403. + if relink_command_output=\`eval \$relink_command 2>&1\`; then :
  20404. + else
  20405. + $ECHO \"\$relink_command_output\" >&2
  20406. + $RM \"\$progdir/\$file\"
  20407. + exit 1
  20408. + fi
  20409. + fi
  20410. +
  20411. + $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
  20412. + { $RM \"\$progdir/\$program\";
  20413. + $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
  20414. + $RM \"\$progdir/\$file\"
  20415. + fi"
  20416. else
  20417. - $echo
  20418. - $echo "*** Warning: Linking the shared library $output against the non-libtool"
  20419. - $echo "*** objects $objs is not portable!"
  20420. - libobjs="$libobjs $objs"
  20421. + $ECHO "\
  20422. + program='$outputname'
  20423. + progdir=\"\$thisdir/$objdir\"
  20424. +"
  20425. fi
  20426. - fi
  20427. - if test "$dlself" != no; then
  20428. - $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
  20429. - fi
  20430. + $ECHO "\
  20431. - set dummy $rpath
  20432. - if test "$#" -gt 2; then
  20433. - $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
  20434. - fi
  20435. - install_libdir="$2"
  20436. + if test -f \"\$progdir/\$program\"; then"
  20437. - oldlibs=
  20438. - if test -z "$rpath"; then
  20439. - if test "$build_libtool_libs" = yes; then
  20440. - # Building a libtool convenience library.
  20441. - # Some compilers have problems with a `.al' extension so
  20442. - # convenience libraries should have the same extension an
  20443. - # archive normally would.
  20444. - oldlibs="$output_objdir/$libname.$libext $oldlibs"
  20445. - build_libtool_libs=convenience
  20446. - build_old_libs=yes
  20447. - fi
  20448. + # Export our shlibpath_var if we have one.
  20449. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  20450. + $ECHO "\
  20451. + # Add our own library path to $shlibpath_var
  20452. + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
  20453. - if test -n "$vinfo"; then
  20454. - $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
  20455. - fi
  20456. + # Some systems cannot cope with colon-terminated $shlibpath_var
  20457. + # The second colon is a workaround for a bug in BeOS R4 sed
  20458. + $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
  20459. - if test -n "$release"; then
  20460. - $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2
  20461. + export $shlibpath_var
  20462. +"
  20463. fi
  20464. - else
  20465. -
  20466. - # Parse the version information argument.
  20467. - save_ifs="$IFS"; IFS=':'
  20468. - set dummy $vinfo 0 0 0
  20469. - IFS="$save_ifs"
  20470. - if test -n "$8"; then
  20471. - $echo "$modename: too many parameters to \`-version-info'" 1>&2
  20472. - $echo "$help" 1>&2
  20473. - exit $EXIT_FAILURE
  20474. + # fixup the dll searchpath if we need to.
  20475. + if test -n "$dllsearchpath"; then
  20476. + $ECHO "\
  20477. + # Add the dll search path components to the executable PATH
  20478. + PATH=$dllsearchpath:\$PATH
  20479. +"
  20480. fi
  20481. - # convert absolute version numbers to libtool ages
  20482. - # this retains compatibility with .la files and attempts
  20483. - # to make the code below a bit more comprehensible
  20484. + $ECHO "\
  20485. + if test \"\$libtool_execute_magic\" != \"$magic\"; then
  20486. + # Run the actual program with our arguments.
  20487. +"
  20488. + case $host in
  20489. + # Backslashes separate directories on plain windows
  20490. + *-*-mingw | *-*-os2* | *-cegcc*)
  20491. + $ECHO "\
  20492. + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
  20493. +"
  20494. + ;;
  20495. - case $vinfo_number in
  20496. - yes)
  20497. - number_major="$2"
  20498. - number_minor="$3"
  20499. - number_revision="$4"
  20500. - #
  20501. - # There are really only two kinds -- those that
  20502. - # use the current revision as the major version
  20503. - # and those that subtract age and use age as
  20504. - # a minor version. But, then there is irix
  20505. - # which has an extra 1 added just for fun
  20506. - #
  20507. - case $version_type in
  20508. - darwin|linux|osf|windows|none)
  20509. - current=`expr $number_major + $number_minor`
  20510. - age="$number_minor"
  20511. - revision="$number_revision"
  20512. - ;;
  20513. - freebsd-aout|freebsd-elf|sunos)
  20514. - current="$number_major"
  20515. - revision="$number_minor"
  20516. - age="0"
  20517. - ;;
  20518. - irix|nonstopux)
  20519. - current=`expr $number_major + $number_minor`
  20520. - age="$number_minor"
  20521. - revision="$number_minor"
  20522. - lt_irix_increment=no
  20523. - ;;
  20524. - esac
  20525. - ;;
  20526. - no)
  20527. - current="$2"
  20528. - revision="$3"
  20529. - age="$4"
  20530. - ;;
  20531. - esac
  20532. -
  20533. - # Check that each of the things are valid numbers.
  20534. - case $current in
  20535. - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  20536. - *)
  20537. - $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
  20538. - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  20539. - exit $EXIT_FAILURE
  20540. - ;;
  20541. - esac
  20542. -
  20543. - case $revision in
  20544. - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  20545. *)
  20546. - $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
  20547. - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  20548. - exit $EXIT_FAILURE
  20549. + $ECHO "\
  20550. + exec \"\$progdir/\$program\" \${1+\"\$@\"}
  20551. +"
  20552. ;;
  20553. esac
  20554. + $ECHO "\
  20555. + \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
  20556. + exit 1
  20557. + fi
  20558. + else
  20559. + # The program doesn't exist.
  20560. + \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
  20561. + \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
  20562. + $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
  20563. + exit 1
  20564. + fi
  20565. +fi\
  20566. +"
  20567. +}
  20568. +# end: func_emit_wrapper_part2
  20569. - case $age in
  20570. - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  20571. - *)
  20572. - $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
  20573. - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  20574. - exit $EXIT_FAILURE
  20575. - ;;
  20576. - esac
  20577. - if test "$age" -gt "$current"; then
  20578. - $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
  20579. - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  20580. - exit $EXIT_FAILURE
  20581. +# func_emit_wrapper [arg=no]
  20582. +#
  20583. +# Emit a libtool wrapper script on stdout.
  20584. +# Don't directly open a file because we may want to
  20585. +# incorporate the script contents within a cygwin/mingw
  20586. +# wrapper executable. Must ONLY be called from within
  20587. +# func_mode_link because it depends on a number of variables
  20588. +# set therein.
  20589. +#
  20590. +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
  20591. +# variable will take. If 'yes', then the emitted script
  20592. +# will assume that the directory in which it is stored is
  20593. +# the $objdir directory. This is a cygwin/mingw-specific
  20594. +# behavior.
  20595. +func_emit_wrapper ()
  20596. +{
  20597. + func_emit_wrapper_arg1=no
  20598. + if test -n "$1" ; then
  20599. + func_emit_wrapper_arg1=$1
  20600. fi
  20601. - # Calculate the version variables.
  20602. - major=
  20603. - versuffix=
  20604. - verstring=
  20605. - case $version_type in
  20606. - none) ;;
  20607. + # split this up so that func_emit_cwrapperexe_src
  20608. + # can call each part independently.
  20609. + func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
  20610. + func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
  20611. +}
  20612. - darwin)
  20613. - # Like Linux, but with the current version available in
  20614. - # verstring for coding it into the library header
  20615. - major=.`expr $current - $age`
  20616. - versuffix="$major.$age.$revision"
  20617. - # Darwin ld doesn't like 0 for these options...
  20618. - minor_current=`expr $current + 1`
  20619. - xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
  20620. - verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
  20621. - ;;
  20622. - freebsd-aout)
  20623. - major=".$current"
  20624. - versuffix=".$current.$revision";
  20625. - ;;
  20626. +# func_to_host_path arg
  20627. +#
  20628. +# Convert paths to host format when used with build tools.
  20629. +# Intended for use with "native" mingw (where libtool itself
  20630. +# is running under the msys shell), or in the following cross-
  20631. +# build environments:
  20632. +# $build $host
  20633. +# mingw (msys) mingw [e.g. native]
  20634. +# cygwin mingw
  20635. +# *nix + wine mingw
  20636. +# where wine is equipped with the `winepath' executable.
  20637. +# In the native mingw case, the (msys) shell automatically
  20638. +# converts paths for any non-msys applications it launches,
  20639. +# but that facility isn't available from inside the cwrapper.
  20640. +# Similar accommodations are necessary for $host mingw and
  20641. +# $build cygwin. Calling this function does no harm for other
  20642. +# $host/$build combinations not listed above.
  20643. +#
  20644. +# ARG is the path (on $build) that should be converted to
  20645. +# the proper representation for $host. The result is stored
  20646. +# in $func_to_host_path_result.
  20647. +func_to_host_path ()
  20648. +{
  20649. + func_to_host_path_result="$1"
  20650. + if test -n "$1" ; then
  20651. + case $host in
  20652. + *mingw* )
  20653. + lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  20654. + case $build in
  20655. + *mingw* ) # actually, msys
  20656. + # awkward: cmd appends spaces to result
  20657. + lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  20658. + func_to_host_path_tmp1=`( cmd //c echo "$1" |\
  20659. + $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  20660. + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  20661. + $SED -e "$lt_sed_naive_backslashify"`
  20662. + ;;
  20663. + *cygwin* )
  20664. + func_to_host_path_tmp1=`cygpath -w "$1"`
  20665. + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  20666. + $SED -e "$lt_sed_naive_backslashify"`
  20667. + ;;
  20668. + * )
  20669. + # Unfortunately, winepath does not exit with a non-zero
  20670. + # error code, so we are forced to check the contents of
  20671. + # stdout. On the other hand, if the command is not
  20672. + # found, the shell will set an exit code of 127 and print
  20673. + # *an error message* to stdout. So we must check for both
  20674. + # error code of zero AND non-empty stdout, which explains
  20675. + # the odd construction:
  20676. + func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
  20677. + if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
  20678. + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  20679. + $SED -e "$lt_sed_naive_backslashify"`
  20680. + else
  20681. + # Allow warning below.
  20682. + func_to_host_path_result=""
  20683. + fi
  20684. + ;;
  20685. + esac
  20686. + if test -z "$func_to_host_path_result" ; then
  20687. + func_error "Could not determine host path corresponding to"
  20688. + func_error " '$1'"
  20689. + func_error "Continuing, but uninstalled executables may not work."
  20690. + # Fallback:
  20691. + func_to_host_path_result="$1"
  20692. + fi
  20693. + ;;
  20694. + esac
  20695. + fi
  20696. +}
  20697. +# end: func_to_host_path
  20698. - freebsd-elf)
  20699. - major=".$current"
  20700. - versuffix=".$current";
  20701. - ;;
  20702. +# func_to_host_pathlist arg
  20703. +#
  20704. +# Convert pathlists to host format when used with build tools.
  20705. +# See func_to_host_path(), above. This function supports the
  20706. +# following $build/$host combinations (but does no harm for
  20707. +# combinations not listed here):
  20708. +# $build $host
  20709. +# mingw (msys) mingw [e.g. native]
  20710. +# cygwin mingw
  20711. +# *nix + wine mingw
  20712. +#
  20713. +# Path separators are also converted from $build format to
  20714. +# $host format. If ARG begins or ends with a path separator
  20715. +# character, it is preserved (but converted to $host format)
  20716. +# on output.
  20717. +#
  20718. +# ARG is a pathlist (on $build) that should be converted to
  20719. +# the proper representation on $host. The result is stored
  20720. +# in $func_to_host_pathlist_result.
  20721. +func_to_host_pathlist ()
  20722. +{
  20723. + func_to_host_pathlist_result="$1"
  20724. + if test -n "$1" ; then
  20725. + case $host in
  20726. + *mingw* )
  20727. + lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  20728. + # Remove leading and trailing path separator characters from
  20729. + # ARG. msys behavior is inconsistent here, cygpath turns them
  20730. + # into '.;' and ';.', and winepath ignores them completely.
  20731. + func_to_host_pathlist_tmp2="$1"
  20732. + # Once set for this call, this variable should not be
  20733. + # reassigned. It is used in tha fallback case.
  20734. + func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
  20735. + $SED -e 's|^:*||' -e 's|:*$||'`
  20736. + case $build in
  20737. + *mingw* ) # Actually, msys.
  20738. + # Awkward: cmd appends spaces to result.
  20739. + lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  20740. + func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
  20741. + $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  20742. + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  20743. + $SED -e "$lt_sed_naive_backslashify"`
  20744. + ;;
  20745. + *cygwin* )
  20746. + func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
  20747. + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  20748. + $SED -e "$lt_sed_naive_backslashify"`
  20749. + ;;
  20750. + * )
  20751. + # unfortunately, winepath doesn't convert pathlists
  20752. + func_to_host_pathlist_result=""
  20753. + func_to_host_pathlist_oldIFS=$IFS
  20754. + IFS=:
  20755. + for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do
  20756. + IFS=$func_to_host_pathlist_oldIFS
  20757. + if test -n "$func_to_host_pathlist_f" ; then
  20758. + func_to_host_path "$func_to_host_pathlist_f"
  20759. + if test -n "$func_to_host_path_result" ; then
  20760. + if test -z "$func_to_host_pathlist_result" ; then
  20761. + func_to_host_pathlist_result="$func_to_host_path_result"
  20762. + else
  20763. + func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
  20764. + fi
  20765. + fi
  20766. + fi
  20767. + IFS=:
  20768. + done
  20769. + IFS=$func_to_host_pathlist_oldIFS
  20770. + ;;
  20771. + esac
  20772. + if test -z "$func_to_host_pathlist_result" ; then
  20773. + func_error "Could not determine the host path(s) corresponding to"
  20774. + func_error " '$1'"
  20775. + func_error "Continuing, but uninstalled executables may not work."
  20776. + # Fallback. This may break if $1 contains DOS-style drive
  20777. + # specifications. The fix is not to complicate the expression
  20778. + # below, but for the user to provide a working wine installation
  20779. + # with winepath so that path translation in the cross-to-mingw
  20780. + # case works properly.
  20781. + lt_replace_pathsep_nix_to_dos="s|:|;|g"
  20782. + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\
  20783. + $SED -e "$lt_replace_pathsep_nix_to_dos"`
  20784. + fi
  20785. + # Now, add the leading and trailing path separators back
  20786. + case "$1" in
  20787. + :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result"
  20788. + ;;
  20789. + esac
  20790. + case "$1" in
  20791. + *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
  20792. + ;;
  20793. + esac
  20794. + ;;
  20795. + esac
  20796. + fi
  20797. +}
  20798. +# end: func_to_host_pathlist
  20799. - irix | nonstopux)
  20800. - if test "X$lt_irix_increment" = "Xno"; then
  20801. - major=`expr $current - $age`
  20802. - else
  20803. - major=`expr $current - $age + 1`
  20804. - fi
  20805. - case $version_type in
  20806. - nonstopux) verstring_prefix=nonstopux ;;
  20807. - *) verstring_prefix=sgi ;;
  20808. - esac
  20809. - verstring="$verstring_prefix$major.$revision"
  20810. +# func_emit_cwrapperexe_src
  20811. +# emit the source code for a wrapper executable on stdout
  20812. +# Must ONLY be called from within func_mode_link because
  20813. +# it depends on a number of variable set therein.
  20814. +func_emit_cwrapperexe_src ()
  20815. +{
  20816. + cat <<EOF
  20817. - # Add in all the interfaces that we are compatible with.
  20818. - loop=$revision
  20819. - while test "$loop" -ne 0; do
  20820. - iface=`expr $revision - $loop`
  20821. - loop=`expr $loop - 1`
  20822. - verstring="$verstring_prefix$major.$iface:$verstring"
  20823. - done
  20824. +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
  20825. + Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  20826. - # Before this point, $major must not contain `.'.
  20827. - major=.$major
  20828. - versuffix="$major.$revision"
  20829. - ;;
  20830. + The $output program cannot be directly executed until all the libtool
  20831. + libraries that it depends on are installed.
  20832. - linux)
  20833. - major=.`expr $current - $age`
  20834. - versuffix="$major.$age.$revision"
  20835. - ;;
  20836. + This wrapper executable should never be moved out of the build directory.
  20837. + If it is, it will not operate correctly.
  20838. - osf)
  20839. - major=.`expr $current - $age`
  20840. - versuffix=".$current.$age.$revision"
  20841. - verstring="$current.$age.$revision"
  20842. + Currently, it simply execs the wrapper *script* "$SHELL $output",
  20843. + but could eventually absorb all of the scripts functionality and
  20844. + exec $objdir/$outputname directly.
  20845. +*/
  20846. +EOF
  20847. + cat <<"EOF"
  20848. +#include <stdio.h>
  20849. +#include <stdlib.h>
  20850. +#ifdef _MSC_VER
  20851. +# include <direct.h>
  20852. +# include <process.h>
  20853. +# include <io.h>
  20854. +# define setmode _setmode
  20855. +#else
  20856. +# include <unistd.h>
  20857. +# include <stdint.h>
  20858. +# ifdef __CYGWIN__
  20859. +# include <io.h>
  20860. +# define HAVE_SETENV
  20861. +# ifdef __STRICT_ANSI__
  20862. +char *realpath (const char *, char *);
  20863. +int putenv (char *);
  20864. +int setenv (const char *, const char *, int);
  20865. +# endif
  20866. +# endif
  20867. +#endif
  20868. +#include <malloc.h>
  20869. +#include <stdarg.h>
  20870. +#include <assert.h>
  20871. +#include <string.h>
  20872. +#include <ctype.h>
  20873. +#include <errno.h>
  20874. +#include <fcntl.h>
  20875. +#include <sys/stat.h>
  20876. - # Add in all the interfaces that we are compatible with.
  20877. - loop=$age
  20878. - while test "$loop" -ne 0; do
  20879. - iface=`expr $current - $loop`
  20880. - loop=`expr $loop - 1`
  20881. - verstring="$verstring:${iface}.0"
  20882. - done
  20883. +#if defined(PATH_MAX)
  20884. +# define LT_PATHMAX PATH_MAX
  20885. +#elif defined(MAXPATHLEN)
  20886. +# define LT_PATHMAX MAXPATHLEN
  20887. +#else
  20888. +# define LT_PATHMAX 1024
  20889. +#endif
  20890. - # Make executables depend on our current version.
  20891. - verstring="$verstring:${current}.0"
  20892. - ;;
  20893. +#ifndef S_IXOTH
  20894. +# define S_IXOTH 0
  20895. +#endif
  20896. +#ifndef S_IXGRP
  20897. +# define S_IXGRP 0
  20898. +#endif
  20899. - sunos)
  20900. - major=".$current"
  20901. - versuffix=".$current.$revision"
  20902. - ;;
  20903. +#ifdef _MSC_VER
  20904. +# define S_IXUSR _S_IEXEC
  20905. +# define stat _stat
  20906. +# ifndef _INTPTR_T_DEFINED
  20907. +# define intptr_t int
  20908. +# endif
  20909. +#endif
  20910. - windows)
  20911. - # Use '-' rather than '.', since we only want one
  20912. - # extension on DOS 8.3 filesystems.
  20913. - major=`expr $current - $age`
  20914. - versuffix="-$major"
  20915. - ;;
  20916. +#ifndef DIR_SEPARATOR
  20917. +# define DIR_SEPARATOR '/'
  20918. +# define PATH_SEPARATOR ':'
  20919. +#endif
  20920. - *)
  20921. - $echo "$modename: unknown library version type \`$version_type'" 1>&2
  20922. - $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
  20923. - exit $EXIT_FAILURE
  20924. - ;;
  20925. - esac
  20926. +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
  20927. + defined (__OS2__)
  20928. +# define HAVE_DOS_BASED_FILE_SYSTEM
  20929. +# define FOPEN_WB "wb"
  20930. +# ifndef DIR_SEPARATOR_2
  20931. +# define DIR_SEPARATOR_2 '\\'
  20932. +# endif
  20933. +# ifndef PATH_SEPARATOR_2
  20934. +# define PATH_SEPARATOR_2 ';'
  20935. +# endif
  20936. +#endif
  20937. - # Clear the version info if we defaulted, and they specified a release.
  20938. - if test -z "$vinfo" && test -n "$release"; then
  20939. - major=
  20940. - case $version_type in
  20941. - darwin)
  20942. - # we can't check for "0.0" in archive_cmds due to quoting
  20943. - # problems, so we reset it completely
  20944. - verstring=
  20945. - ;;
  20946. - *)
  20947. - verstring="0.0"
  20948. - ;;
  20949. - esac
  20950. - if test "$need_version" = no; then
  20951. - versuffix=
  20952. - else
  20953. - versuffix=".0.0"
  20954. - fi
  20955. - fi
  20956. +#ifndef DIR_SEPARATOR_2
  20957. +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
  20958. +#else /* DIR_SEPARATOR_2 */
  20959. +# define IS_DIR_SEPARATOR(ch) \
  20960. + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
  20961. +#endif /* DIR_SEPARATOR_2 */
  20962. - # Remove version info from name if versioning should be avoided
  20963. - if test "$avoid_version" = yes && test "$need_version" = no; then
  20964. - major=
  20965. - versuffix=
  20966. - verstring=""
  20967. - fi
  20968. +#ifndef PATH_SEPARATOR_2
  20969. +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
  20970. +#else /* PATH_SEPARATOR_2 */
  20971. +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
  20972. +#endif /* PATH_SEPARATOR_2 */
  20973. - # Check to see if the archive will have undefined symbols.
  20974. - if test "$allow_undefined" = yes; then
  20975. - if test "$allow_undefined_flag" = unsupported; then
  20976. - $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2
  20977. - build_libtool_libs=no
  20978. - build_old_libs=yes
  20979. - fi
  20980. - else
  20981. - # Don't allow undefined symbols.
  20982. - allow_undefined_flag="$no_undefined_flag"
  20983. - fi
  20984. - fi
  20985. +#ifdef __CYGWIN__
  20986. +# define FOPEN_WB "wb"
  20987. +#endif
  20988. - if test "$mode" != relink; then
  20989. - # Remove our outputs, but don't remove object files since they
  20990. - # may have been created when compiling PIC objects.
  20991. - removelist=
  20992. - tempremovelist=`$echo "$output_objdir/*"`
  20993. - for p in $tempremovelist; do
  20994. - case $p in
  20995. - *.$objext)
  20996. - ;;
  20997. - $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
  20998. - if test "X$precious_files_regex" != "X"; then
  20999. - if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
  21000. - then
  21001. - continue
  21002. - fi
  21003. - fi
  21004. - removelist="$removelist $p"
  21005. - ;;
  21006. - *) ;;
  21007. - esac
  21008. - done
  21009. - if test -n "$removelist"; then
  21010. - $show "${rm}r $removelist"
  21011. - $run ${rm}r $removelist
  21012. - fi
  21013. - fi
  21014. +#ifndef FOPEN_WB
  21015. +# define FOPEN_WB "w"
  21016. +#endif
  21017. +#ifndef _O_BINARY
  21018. +# define _O_BINARY 0
  21019. +#endif
  21020. - # Now set the variables for building old libraries.
  21021. - if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
  21022. - oldlibs="$oldlibs $output_objdir/$libname.$libext"
  21023. +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
  21024. +#define XFREE(stale) do { \
  21025. + if (stale) { free ((void *) stale); stale = 0; } \
  21026. +} while (0)
  21027. - # Transform .lo files to .o files.
  21028. - oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
  21029. - fi
  21030. +#undef LTWRAPPER_DEBUGPRINTF
  21031. +#if defined DEBUGWRAPPER
  21032. +# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
  21033. +static void
  21034. +ltwrapper_debugprintf (const char *fmt, ...)
  21035. +{
  21036. + va_list args;
  21037. + va_start (args, fmt);
  21038. + (void) vfprintf (stderr, fmt, args);
  21039. + va_end (args);
  21040. +}
  21041. +#else
  21042. +# define LTWRAPPER_DEBUGPRINTF(args)
  21043. +#endif
  21044. - # Eliminate all temporary directories.
  21045. - #for path in $notinst_path; do
  21046. - # lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
  21047. - # deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
  21048. - # dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
  21049. - #done
  21050. +const char *program_name = NULL;
  21051. - if test -n "$xrpath"; then
  21052. - # If the user specified any rpath flags, then add them.
  21053. - temp_xrpath=
  21054. - for libdir in $xrpath; do
  21055. - temp_xrpath="$temp_xrpath -R$libdir"
  21056. - case "$finalize_rpath " in
  21057. - *" $libdir "*) ;;
  21058. - *) finalize_rpath="$finalize_rpath $libdir" ;;
  21059. - esac
  21060. - done
  21061. - if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
  21062. - dependency_libs="$temp_xrpath $dependency_libs"
  21063. - fi
  21064. - fi
  21065. +void *xmalloc (size_t num);
  21066. +char *xstrdup (const char *string);
  21067. +const char *base_name (const char *name);
  21068. +char *find_executable (const char *wrapper);
  21069. +char *chase_symlinks (const char *pathspec);
  21070. +int make_executable (const char *path);
  21071. +int check_executable (const char *path);
  21072. +char *strendzap (char *str, const char *pat);
  21073. +void lt_fatal (const char *message, ...);
  21074. +void lt_setenv (const char *name, const char *value);
  21075. +char *lt_extend_str (const char *orig_value, const char *add, int to_end);
  21076. +void lt_opt_process_env_set (const char *arg);
  21077. +void lt_opt_process_env_prepend (const char *arg);
  21078. +void lt_opt_process_env_append (const char *arg);
  21079. +int lt_split_name_value (const char *arg, char** name, char** value);
  21080. +void lt_update_exe_path (const char *name, const char *value);
  21081. +void lt_update_lib_path (const char *name, const char *value);
  21082. - # Make sure dlfiles contains only unique files that won't be dlpreopened
  21083. - old_dlfiles="$dlfiles"
  21084. - dlfiles=
  21085. - for lib in $old_dlfiles; do
  21086. - case " $dlprefiles $dlfiles " in
  21087. - *" $lib "*) ;;
  21088. - *) dlfiles="$dlfiles $lib" ;;
  21089. - esac
  21090. - done
  21091. +static const char *script_text_part1 =
  21092. +EOF
  21093. - # Make sure dlprefiles contains only unique files
  21094. - old_dlprefiles="$dlprefiles"
  21095. - dlprefiles=
  21096. - for lib in $old_dlprefiles; do
  21097. - case "$dlprefiles " in
  21098. - *" $lib "*) ;;
  21099. - *) dlprefiles="$dlprefiles $lib" ;;
  21100. - esac
  21101. - done
  21102. + func_emit_wrapper_part1 yes |
  21103. + $SED -e 's/\([\\"]\)/\\\1/g' \
  21104. + -e 's/^/ "/' -e 's/$/\\n"/'
  21105. + echo ";"
  21106. + cat <<EOF
  21107. - if test "$build_libtool_libs" = yes; then
  21108. - if test -n "$rpath"; then
  21109. - case $host in
  21110. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
  21111. - # these systems don't actually have a c library (as such)!
  21112. - ;;
  21113. - *-*-rhapsody* | *-*-darwin1.[012])
  21114. - # Rhapsody C library is in the System framework
  21115. - deplibs="$deplibs -framework System"
  21116. - ;;
  21117. - *-*-netbsd*)
  21118. - # Don't link with libc until the a.out ld.so is fixed.
  21119. - ;;
  21120. - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  21121. - # Do not include libc due to us having libc/libc_r.
  21122. - ;;
  21123. - *-*-sco3.2v5* | *-*-sco5v6*)
  21124. - # Causes problems with __ctype
  21125. - ;;
  21126. - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  21127. - # Compiler inserts libc in the correct place for threads to work
  21128. - ;;
  21129. - *)
  21130. - # Add libc to deplibs on all other systems if necessary.
  21131. - if test "$build_libtool_need_lc" = "yes"; then
  21132. - deplibs="$deplibs -lc"
  21133. - fi
  21134. - ;;
  21135. - esac
  21136. - fi
  21137. +static const char *script_text_part2 =
  21138. +EOF
  21139. + func_emit_wrapper_part2 yes |
  21140. + $SED -e 's/\([\\"]\)/\\\1/g' \
  21141. + -e 's/^/ "/' -e 's/$/\\n"/'
  21142. + echo ";"
  21143. +
  21144. + cat <<EOF
  21145. +const char * MAGIC_EXE = "$magic_exe";
  21146. +const char * LIB_PATH_VARNAME = "$shlibpath_var";
  21147. +EOF
  21148. - # Transform deplibs into only deplibs that can be linked in shared.
  21149. - name_save=$name
  21150. - libname_save=$libname
  21151. - release_save=$release
  21152. - versuffix_save=$versuffix
  21153. - major_save=$major
  21154. - # I'm not sure if I'm treating the release correctly. I think
  21155. - # release should show up in the -l (ie -lgmp5) so we don't want to
  21156. - # add it in twice. Is that correct?
  21157. - release=""
  21158. - versuffix=""
  21159. - major=""
  21160. - newdeplibs=
  21161. - droppeddeps=no
  21162. - case $deplibs_check_method in
  21163. - pass_all)
  21164. - # Don't check for shared/static. Everything works.
  21165. - # This might be a little naive. We might want to check
  21166. - # whether the library exists or not. But this is on
  21167. - # osf3 & osf4 and I'm not really sure... Just
  21168. - # implementing what was already the behavior.
  21169. - newdeplibs=$deplibs
  21170. - ;;
  21171. - test_compile)
  21172. - # This code stresses the "libraries are programs" paradigm to its
  21173. - # limits. Maybe even breaks it. We compile a program, linking it
  21174. - # against the deplibs as a proxy for the library. Then we can check
  21175. - # whether they linked in statically or dynamically with ldd.
  21176. - $rm conftest.c
  21177. - cat > conftest.c <<EOF
  21178. - int main() { return 0; }
  21179. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  21180. + func_to_host_pathlist "$temp_rpath"
  21181. + cat <<EOF
  21182. +const char * LIB_PATH_VALUE = "$func_to_host_pathlist_result";
  21183. EOF
  21184. - $rm conftest
  21185. - if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
  21186. - ldd_output=`ldd conftest`
  21187. - for i in $deplibs; do
  21188. - name=`expr $i : '-l\(.*\)'`
  21189. - # If $name is empty we are operating on a -L argument.
  21190. - if test "$name" != "" && test "$name" != "0"; then
  21191. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  21192. - case " $predeps $postdeps " in
  21193. - *" $i "*)
  21194. - newdeplibs="$newdeplibs $i"
  21195. - i=""
  21196. - ;;
  21197. - esac
  21198. - fi
  21199. - if test -n "$i" ; then
  21200. - libname=`eval \\$echo \"$libname_spec\"`
  21201. - deplib_matches=`eval \\$echo \"$library_names_spec\"`
  21202. - set dummy $deplib_matches
  21203. - deplib_match=$2
  21204. - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  21205. - newdeplibs="$newdeplibs $i"
  21206. - else
  21207. - droppeddeps=yes
  21208. - $echo
  21209. - $echo "*** Warning: dynamic linker does not accept needed library $i."
  21210. - $echo "*** I have the capability to make that library automatically link in when"
  21211. - $echo "*** you link to this library. But I can only do this if you have a"
  21212. - $echo "*** shared version of the library, which I believe you do not have"
  21213. - $echo "*** because a test_compile did reveal that the linker did not use it for"
  21214. - $echo "*** its dynamic dependency list that programs get resolved with at runtime."
  21215. - fi
  21216. - fi
  21217. - else
  21218. - newdeplibs="$newdeplibs $i"
  21219. - fi
  21220. - done
  21221. - else
  21222. - # Error occurred in the first compile. Let's try to salvage
  21223. - # the situation: Compile a separate program for each library.
  21224. - for i in $deplibs; do
  21225. - name=`expr $i : '-l\(.*\)'`
  21226. - # If $name is empty we are operating on a -L argument.
  21227. - if test "$name" != "" && test "$name" != "0"; then
  21228. - $rm conftest
  21229. - if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
  21230. - ldd_output=`ldd conftest`
  21231. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  21232. - case " $predeps $postdeps " in
  21233. - *" $i "*)
  21234. - newdeplibs="$newdeplibs $i"
  21235. - i=""
  21236. - ;;
  21237. - esac
  21238. - fi
  21239. - if test -n "$i" ; then
  21240. - libname=`eval \\$echo \"$libname_spec\"`
  21241. - deplib_matches=`eval \\$echo \"$library_names_spec\"`
  21242. - set dummy $deplib_matches
  21243. - deplib_match=$2
  21244. - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  21245. - newdeplibs="$newdeplibs $i"
  21246. - else
  21247. - droppeddeps=yes
  21248. - $echo
  21249. - $echo "*** Warning: dynamic linker does not accept needed library $i."
  21250. - $echo "*** I have the capability to make that library automatically link in when"
  21251. - $echo "*** you link to this library. But I can only do this if you have a"
  21252. - $echo "*** shared version of the library, which you do not appear to have"
  21253. - $echo "*** because a test_compile did reveal that the linker did not use this one"
  21254. - $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
  21255. - fi
  21256. - fi
  21257. - else
  21258. - droppeddeps=yes
  21259. - $echo
  21260. - $echo "*** Warning! Library $i is needed by this library but I was not able to"
  21261. - $echo "*** make it link in! You will probably need to install it or some"
  21262. - $echo "*** library that it depends on before this library will be fully"
  21263. - $echo "*** functional. Installing it before continuing would be even better."
  21264. - fi
  21265. - else
  21266. - newdeplibs="$newdeplibs $i"
  21267. - fi
  21268. - done
  21269. - fi
  21270. - ;;
  21271. - file_magic*)
  21272. - set dummy $deplibs_check_method
  21273. - file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
  21274. - for a_deplib in $deplibs; do
  21275. - name=`expr $a_deplib : '-l\(.*\)'`
  21276. - # If $name is empty we are operating on a -L argument.
  21277. - if test "$name" != "" && test "$name" != "0"; then
  21278. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  21279. - case " $predeps $postdeps " in
  21280. - *" $a_deplib "*)
  21281. - newdeplibs="$newdeplibs $a_deplib"
  21282. - a_deplib=""
  21283. - ;;
  21284. - esac
  21285. - fi
  21286. - if test -n "$a_deplib" ; then
  21287. - libname=`eval \\$echo \"$libname_spec\"`
  21288. - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  21289. - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  21290. - for potent_lib in $potential_libs; do
  21291. - # Follow soft links.
  21292. - if ls -lLd "$potent_lib" 2>/dev/null \
  21293. - | grep " -> " >/dev/null; then
  21294. - continue
  21295. - fi
  21296. - # The statement above tries to avoid entering an
  21297. - # endless loop below, in case of cyclic links.
  21298. - # We might still enter an endless loop, since a link
  21299. - # loop can be closed while we follow links,
  21300. - # but so what?
  21301. - potlib="$potent_lib"
  21302. - while test -h "$potlib" 2>/dev/null; do
  21303. - potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
  21304. - case $potliblink in
  21305. - [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
  21306. - *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
  21307. - esac
  21308. - done
  21309. - if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
  21310. - | ${SED} 10q \
  21311. - | $EGREP "$file_magic_regex" > /dev/null; then
  21312. - newdeplibs="$newdeplibs $a_deplib"
  21313. - a_deplib=""
  21314. - break 2
  21315. - fi
  21316. - done
  21317. - done
  21318. - fi
  21319. - if test -n "$a_deplib" ; then
  21320. - droppeddeps=yes
  21321. - $echo
  21322. - $echo "*** Warning: linker path does not have real file for library $a_deplib."
  21323. - $echo "*** I have the capability to make that library automatically link in when"
  21324. - $echo "*** you link to this library. But I can only do this if you have a"
  21325. - $echo "*** shared version of the library, which you do not appear to have"
  21326. - $echo "*** because I did check the linker path looking for a file starting"
  21327. - if test -z "$potlib" ; then
  21328. - $echo "*** with $libname but no candidates were found. (...for file magic test)"
  21329. - else
  21330. - $echo "*** with $libname and none of the candidates passed a file format test"
  21331. - $echo "*** using a file magic. Last file checked: $potlib"
  21332. - fi
  21333. - fi
  21334. else
  21335. - # Add a -L argument.
  21336. - newdeplibs="$newdeplibs $a_deplib"
  21337. + cat <<"EOF"
  21338. +const char * LIB_PATH_VALUE = "";
  21339. +EOF
  21340. fi
  21341. - done # Gone through all deplibs.
  21342. - ;;
  21343. - match_pattern*)
  21344. - set dummy $deplibs_check_method
  21345. - match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
  21346. - for a_deplib in $deplibs; do
  21347. - name=`expr $a_deplib : '-l\(.*\)'`
  21348. - # If $name is empty we are operating on a -L argument.
  21349. - if test -n "$name" && test "$name" != "0"; then
  21350. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  21351. - case " $predeps $postdeps " in
  21352. - *" $a_deplib "*)
  21353. - newdeplibs="$newdeplibs $a_deplib"
  21354. - a_deplib=""
  21355. - ;;
  21356. - esac
  21357. - fi
  21358. - if test -n "$a_deplib" ; then
  21359. - libname=`eval \\$echo \"$libname_spec\"`
  21360. - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  21361. - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  21362. - for potent_lib in $potential_libs; do
  21363. - potlib="$potent_lib" # see symlink-check above in file_magic test
  21364. - if eval $echo \"$potent_lib\" 2>/dev/null \
  21365. - | ${SED} 10q \
  21366. - | $EGREP "$match_pattern_regex" > /dev/null; then
  21367. - newdeplibs="$newdeplibs $a_deplib"
  21368. - a_deplib=""
  21369. - break 2
  21370. - fi
  21371. - done
  21372. - done
  21373. - fi
  21374. - if test -n "$a_deplib" ; then
  21375. - droppeddeps=yes
  21376. - $echo
  21377. - $echo "*** Warning: linker path does not have real file for library $a_deplib."
  21378. - $echo "*** I have the capability to make that library automatically link in when"
  21379. - $echo "*** you link to this library. But I can only do this if you have a"
  21380. - $echo "*** shared version of the library, which you do not appear to have"
  21381. - $echo "*** because I did check the linker path looking for a file starting"
  21382. - if test -z "$potlib" ; then
  21383. - $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
  21384. - else
  21385. - $echo "*** with $libname and none of the candidates passed a file format test"
  21386. - $echo "*** using a regex pattern. Last file checked: $potlib"
  21387. - fi
  21388. - fi
  21389. +
  21390. + if test -n "$dllsearchpath"; then
  21391. + func_to_host_pathlist "$dllsearchpath:"
  21392. + cat <<EOF
  21393. +const char * EXE_PATH_VARNAME = "PATH";
  21394. +const char * EXE_PATH_VALUE = "$func_to_host_pathlist_result";
  21395. +EOF
  21396. else
  21397. - # Add a -L argument.
  21398. - newdeplibs="$newdeplibs $a_deplib"
  21399. - fi
  21400. - done # Gone through all deplibs.
  21401. - ;;
  21402. - none | unknown | *)
  21403. - newdeplibs=""
  21404. - tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
  21405. - -e 's/ -[LR][^ ]*//g'`
  21406. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  21407. - for i in $predeps $postdeps ; do
  21408. - # can't use Xsed below, because $i might contain '/'
  21409. - tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
  21410. - done
  21411. - fi
  21412. - if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \
  21413. - | grep . >/dev/null; then
  21414. - $echo
  21415. - if test "X$deplibs_check_method" = "Xnone"; then
  21416. - $echo "*** Warning: inter-library dependencies are not supported in this platform."
  21417. - else
  21418. - $echo "*** Warning: inter-library dependencies are not known to be supported."
  21419. + cat <<"EOF"
  21420. +const char * EXE_PATH_VARNAME = "";
  21421. +const char * EXE_PATH_VALUE = "";
  21422. +EOF
  21423. fi
  21424. - $echo "*** All declared inter-library dependencies are being dropped."
  21425. - droppeddeps=yes
  21426. - fi
  21427. - ;;
  21428. - esac
  21429. - versuffix=$versuffix_save
  21430. - major=$major_save
  21431. - release=$release_save
  21432. - libname=$libname_save
  21433. - name=$name_save
  21434. - case $host in
  21435. - *-*-rhapsody* | *-*-darwin1.[012])
  21436. - # On Rhapsody replace the C library is the System framework
  21437. - newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
  21438. - ;;
  21439. - esac
  21440. -
  21441. - if test "$droppeddeps" = yes; then
  21442. - if test "$module" = yes; then
  21443. - $echo
  21444. - $echo "*** Warning: libtool could not satisfy all declared inter-library"
  21445. - $echo "*** dependencies of module $libname. Therefore, libtool will create"
  21446. - $echo "*** a static module, that should work as long as the dlopening"
  21447. - $echo "*** application is linked with the -dlopen flag."
  21448. - if test -z "$global_symbol_pipe"; then
  21449. - $echo
  21450. - $echo "*** However, this would only work if libtool was able to extract symbol"
  21451. - $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
  21452. - $echo "*** not find such a program. So, this module is probably useless."
  21453. - $echo "*** \`nm' from GNU binutils and a full rebuild may help."
  21454. - fi
  21455. - if test "$build_old_libs" = no; then
  21456. - oldlibs="$output_objdir/$libname.$libext"
  21457. - build_libtool_libs=module
  21458. - build_old_libs=yes
  21459. + if test "$fast_install" = yes; then
  21460. + cat <<EOF
  21461. +const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
  21462. +EOF
  21463. else
  21464. - build_libtool_libs=no
  21465. + cat <<EOF
  21466. +const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */
  21467. +EOF
  21468. fi
  21469. - else
  21470. - $echo "*** The inter-library dependencies that have been dropped here will be"
  21471. - $echo "*** automatically added whenever a program is linked with this library"
  21472. - $echo "*** or is declared to -dlopen it."
  21473. - if test "$allow_undefined" = no; then
  21474. - $echo
  21475. - $echo "*** Since this library must not contain undefined symbols,"
  21476. - $echo "*** because either the platform does not support them or"
  21477. - $echo "*** it was explicitly requested with -no-undefined,"
  21478. - $echo "*** libtool will only create a static version of it."
  21479. - if test "$build_old_libs" = no; then
  21480. - oldlibs="$output_objdir/$libname.$libext"
  21481. - build_libtool_libs=module
  21482. - build_old_libs=yes
  21483. - else
  21484. - build_libtool_libs=no
  21485. - fi
  21486. - fi
  21487. - fi
  21488. - fi
  21489. - # Done checking deplibs!
  21490. - deplibs=$newdeplibs
  21491. - fi
  21492. + cat <<"EOF"
  21493. - # move library search paths that coincide with paths to not yet
  21494. - # installed libraries to the beginning of the library search list
  21495. - new_libs=
  21496. - for path in $notinst_path; do
  21497. - case " $new_libs " in
  21498. - *" -L$path/$objdir "*) ;;
  21499. - *)
  21500. - case " $deplibs " in
  21501. - *" -L$path/$objdir "*)
  21502. - new_libs="$new_libs -L$path/$objdir" ;;
  21503. - esac
  21504. - ;;
  21505. - esac
  21506. - done
  21507. - for deplib in $deplibs; do
  21508. - case $deplib in
  21509. - -L*)
  21510. - case " $new_libs " in
  21511. - *" $deplib "*) ;;
  21512. - *) new_libs="$new_libs $deplib" ;;
  21513. - esac
  21514. - ;;
  21515. - *) new_libs="$new_libs $deplib" ;;
  21516. - esac
  21517. - done
  21518. - deplibs="$new_libs"
  21519. +#define LTWRAPPER_OPTION_PREFIX "--lt-"
  21520. +#define LTWRAPPER_OPTION_PREFIX_LENGTH 5
  21521. +static const size_t opt_prefix_len = LTWRAPPER_OPTION_PREFIX_LENGTH;
  21522. +static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
  21523. - # All the library-specific variables (install_libdir is set above).
  21524. - library_names=
  21525. - old_library=
  21526. - dlname=
  21527. +static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
  21528. - # Test again, we may have decided not to build it any more
  21529. - if test "$build_libtool_libs" = yes; then
  21530. - if test "$hardcode_into_libs" = yes; then
  21531. - # Hardcode the library paths
  21532. - hardcode_libdirs=
  21533. - dep_rpath=
  21534. - rpath="$finalize_rpath"
  21535. - test "$mode" != relink && rpath="$compile_rpath$rpath"
  21536. - for libdir in $rpath; do
  21537. - if test -n "$hardcode_libdir_flag_spec"; then
  21538. - if test -n "$hardcode_libdir_separator"; then
  21539. - if test -z "$hardcode_libdirs"; then
  21540. - hardcode_libdirs="$libdir"
  21541. - else
  21542. - # Just accumulate the unique libdirs.
  21543. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  21544. - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  21545. - ;;
  21546. - *)
  21547. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  21548. - ;;
  21549. - esac
  21550. - fi
  21551. - else
  21552. - eval flag=\"$hardcode_libdir_flag_spec\"
  21553. - dep_rpath="$dep_rpath $flag"
  21554. - fi
  21555. - elif test -n "$runpath_var"; then
  21556. - case "$perm_rpath " in
  21557. - *" $libdir "*) ;;
  21558. - *) perm_rpath="$perm_rpath $libdir" ;;
  21559. - esac
  21560. - fi
  21561. - done
  21562. - # Substitute the hardcoded libdirs into the rpath.
  21563. - if test -n "$hardcode_libdir_separator" &&
  21564. - test -n "$hardcode_libdirs"; then
  21565. - libdir="$hardcode_libdirs"
  21566. - if test -n "$hardcode_libdir_flag_spec_ld"; then
  21567. - case $archive_cmds in
  21568. - *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;;
  21569. - *) eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;;
  21570. - esac
  21571. - else
  21572. - eval dep_rpath=\"$hardcode_libdir_flag_spec\"
  21573. - fi
  21574. - fi
  21575. - if test -n "$runpath_var" && test -n "$perm_rpath"; then
  21576. - # We should set the runpath_var.
  21577. - rpath=
  21578. - for dir in $perm_rpath; do
  21579. - rpath="$rpath$dir:"
  21580. - done
  21581. - eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
  21582. - fi
  21583. - test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
  21584. - fi
  21585. +static const size_t env_set_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
  21586. +static const char *env_set_opt = LTWRAPPER_OPTION_PREFIX "env-set";
  21587. + /* argument is putenv-style "foo=bar", value of foo is set to bar */
  21588. - shlibpath="$finalize_shlibpath"
  21589. - test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
  21590. - if test -n "$shlibpath"; then
  21591. - eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
  21592. - fi
  21593. +static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
  21594. +static const char *env_prepend_opt = LTWRAPPER_OPTION_PREFIX "env-prepend";
  21595. + /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
  21596. - # Get the real and link names of the library.
  21597. - eval shared_ext=\"$shrext_cmds\"
  21598. - eval library_names=\"$library_names_spec\"
  21599. - set dummy $library_names
  21600. - realname="$2"
  21601. - shift; shift
  21602. +static const size_t env_append_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
  21603. +static const char *env_append_opt = LTWRAPPER_OPTION_PREFIX "env-append";
  21604. + /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
  21605. - if test -n "$soname_spec"; then
  21606. - eval soname=\"$soname_spec\"
  21607. - else
  21608. - soname="$realname"
  21609. - fi
  21610. - if test -z "$dlname"; then
  21611. - dlname=$soname
  21612. - fi
  21613. +int
  21614. +main (int argc, char *argv[])
  21615. +{
  21616. + char **newargz;
  21617. + int newargc;
  21618. + char *tmp_pathspec;
  21619. + char *actual_cwrapper_path;
  21620. + char *actual_cwrapper_name;
  21621. + char *target_name;
  21622. + char *lt_argv_zero;
  21623. + intptr_t rval = 127;
  21624. - lib="$output_objdir/$realname"
  21625. - linknames=
  21626. - for link
  21627. - do
  21628. - linknames="$linknames $link"
  21629. - done
  21630. + int i;
  21631. - # Use standard objects if they are pic
  21632. - test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  21633. + program_name = (char *) xstrdup (base_name (argv[0]));
  21634. + LTWRAPPER_DEBUGPRINTF (("(main) argv[0] : %s\n", argv[0]));
  21635. + LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
  21636. - # Prepare the list of exported symbols
  21637. - if test -z "$export_symbols"; then
  21638. - if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
  21639. - $show "generating symbol list for \`$libname.la'"
  21640. - export_symbols="$output_objdir/$libname.exp"
  21641. - $run $rm $export_symbols
  21642. - cmds=$export_symbols_cmds
  21643. - save_ifs="$IFS"; IFS='~'
  21644. - for cmd in $cmds; do
  21645. - IFS="$save_ifs"
  21646. - eval cmd=\"$cmd\"
  21647. - if len=`expr "X$cmd" : ".*"` &&
  21648. - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  21649. - $show "$cmd"
  21650. - $run eval "$cmd" || exit $?
  21651. - skipped_export=false
  21652. - else
  21653. - # The command line is too long to execute in one step.
  21654. - $show "using reloadable object file for export list..."
  21655. - skipped_export=:
  21656. - # Break out early, otherwise skipped_export may be
  21657. - # set to false by a later but shorter cmd.
  21658. - break
  21659. - fi
  21660. - done
  21661. - IFS="$save_ifs"
  21662. - if test -n "$export_symbols_regex"; then
  21663. - $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
  21664. - $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
  21665. - $show "$mv \"${export_symbols}T\" \"$export_symbols\""
  21666. - $run eval '$mv "${export_symbols}T" "$export_symbols"'
  21667. - fi
  21668. - fi
  21669. - fi
  21670. + /* very simple arg parsing; don't want to rely on getopt */
  21671. + for (i = 1; i < argc; i++)
  21672. + {
  21673. + if (strcmp (argv[i], dumpscript_opt) == 0)
  21674. + {
  21675. +EOF
  21676. + case "$host" in
  21677. + *mingw* | *cygwin* )
  21678. + # make stdout use "unix" line endings
  21679. + echo " setmode(1,_O_BINARY);"
  21680. + ;;
  21681. + esac
  21682. - if test -n "$export_symbols" && test -n "$include_expsyms"; then
  21683. - $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
  21684. - fi
  21685. + cat <<"EOF"
  21686. + printf ("%s", script_text_part1);
  21687. + printf ("%s", script_text_part2);
  21688. + return 0;
  21689. + }
  21690. + }
  21691. - tmp_deplibs=
  21692. - for test_deplib in $deplibs; do
  21693. - case " $convenience " in
  21694. - *" $test_deplib "*) ;;
  21695. - *)
  21696. - tmp_deplibs="$tmp_deplibs $test_deplib"
  21697. - ;;
  21698. - esac
  21699. - done
  21700. - deplibs="$tmp_deplibs"
  21701. + newargz = XMALLOC (char *, argc + 1);
  21702. + tmp_pathspec = find_executable (argv[0]);
  21703. + if (tmp_pathspec == NULL)
  21704. + lt_fatal ("Couldn't find %s", argv[0]);
  21705. + LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
  21706. + tmp_pathspec));
  21707. +
  21708. + actual_cwrapper_path = chase_symlinks (tmp_pathspec);
  21709. + LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
  21710. + actual_cwrapper_path));
  21711. + XFREE (tmp_pathspec);
  21712. +
  21713. + actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
  21714. + strendzap (actual_cwrapper_path, actual_cwrapper_name);
  21715. +
  21716. + /* wrapper name transforms */
  21717. + strendzap (actual_cwrapper_name, ".exe");
  21718. + tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1);
  21719. + XFREE (actual_cwrapper_name);
  21720. + actual_cwrapper_name = tmp_pathspec;
  21721. + tmp_pathspec = 0;
  21722. +
  21723. + /* target_name transforms -- use actual target program name; might have lt- prefix */
  21724. + target_name = xstrdup (base_name (TARGET_PROGRAM_NAME));
  21725. + strendzap (target_name, ".exe");
  21726. + tmp_pathspec = lt_extend_str (target_name, ".exe", 1);
  21727. + XFREE (target_name);
  21728. + target_name = tmp_pathspec;
  21729. + tmp_pathspec = 0;
  21730. - if test -n "$convenience"; then
  21731. - if test -n "$whole_archive_flag_spec"; then
  21732. - save_libobjs=$libobjs
  21733. - eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  21734. - else
  21735. - gentop="$output_objdir/${outputname}x"
  21736. - generated="$generated $gentop"
  21737. + LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
  21738. + target_name));
  21739. +EOF
  21740. - func_extract_archives $gentop $convenience
  21741. - libobjs="$libobjs $func_extract_archives_result"
  21742. - fi
  21743. - fi
  21744. -
  21745. - if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
  21746. - eval flag=\"$thread_safe_flag_spec\"
  21747. - linker_flags="$linker_flags $flag"
  21748. - fi
  21749. + cat <<EOF
  21750. + newargz[0] =
  21751. + XMALLOC (char, (strlen (actual_cwrapper_path) +
  21752. + strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1));
  21753. + strcpy (newargz[0], actual_cwrapper_path);
  21754. + strcat (newargz[0], "$objdir");
  21755. + strcat (newargz[0], "/");
  21756. +EOF
  21757. - # Make a backup of the uninstalled library when relinking
  21758. - if test "$mode" = relink; then
  21759. - $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
  21760. - fi
  21761. + cat <<"EOF"
  21762. + /* stop here, and copy so we don't have to do this twice */
  21763. + tmp_pathspec = xstrdup (newargz[0]);
  21764. +
  21765. + /* do NOT want the lt- prefix here, so use actual_cwrapper_name */
  21766. + strcat (newargz[0], actual_cwrapper_name);
  21767. +
  21768. + /* DO want the lt- prefix here if it exists, so use target_name */
  21769. + lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1);
  21770. + XFREE (tmp_pathspec);
  21771. + tmp_pathspec = NULL;
  21772. +EOF
  21773. - # Do each of the archive commands.
  21774. - if test "$module" = yes && test -n "$module_cmds" ; then
  21775. - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  21776. - eval test_cmds=\"$module_expsym_cmds\"
  21777. - cmds=$module_expsym_cmds
  21778. - else
  21779. - eval test_cmds=\"$module_cmds\"
  21780. - cmds=$module_cmds
  21781. - fi
  21782. - else
  21783. - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  21784. - eval test_cmds=\"$archive_expsym_cmds\"
  21785. - cmds=$archive_expsym_cmds
  21786. - else
  21787. - eval test_cmds=\"$archive_cmds\"
  21788. - cmds=$archive_cmds
  21789. - fi
  21790. - fi
  21791. + case $host_os in
  21792. + mingw*)
  21793. + cat <<"EOF"
  21794. + {
  21795. + char* p;
  21796. + while ((p = strchr (newargz[0], '\\')) != NULL)
  21797. + {
  21798. + *p = '/';
  21799. + }
  21800. + while ((p = strchr (lt_argv_zero, '\\')) != NULL)
  21801. + {
  21802. + *p = '/';
  21803. + }
  21804. + }
  21805. +EOF
  21806. + ;;
  21807. + esac
  21808. - if test "X$skipped_export" != "X:" &&
  21809. - len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
  21810. - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  21811. - :
  21812. - else
  21813. - # The command line is too long to link in one step, link piecewise.
  21814. - $echo "creating reloadable object files..."
  21815. + cat <<"EOF"
  21816. + XFREE (target_name);
  21817. + XFREE (actual_cwrapper_path);
  21818. + XFREE (actual_cwrapper_name);
  21819. +
  21820. + lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
  21821. + lt_setenv ("DUALCASE", "1"); /* for MSK sh */
  21822. + lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
  21823. + lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
  21824. - # Save the value of $output and $libobjs because we want to
  21825. - # use them later. If we have whole_archive_flag_spec, we
  21826. - # want to use save_libobjs as it was before
  21827. - # whole_archive_flag_spec was expanded, because we can't
  21828. - # assume the linker understands whole_archive_flag_spec.
  21829. - # This may have to be revisited, in case too many
  21830. - # convenience libraries get linked in and end up exceeding
  21831. - # the spec.
  21832. - if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
  21833. - save_libobjs=$libobjs
  21834. - fi
  21835. - save_output=$output
  21836. - output_la=`$echo "X$output" | $Xsed -e "$basename"`
  21837. + newargc=0;
  21838. + for (i = 1; i < argc; i++)
  21839. + {
  21840. + if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
  21841. + {
  21842. + if (argv[i][env_set_opt_len] == '=')
  21843. + {
  21844. + const char *p = argv[i] + env_set_opt_len + 1;
  21845. + lt_opt_process_env_set (p);
  21846. + }
  21847. + else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
  21848. + {
  21849. + lt_opt_process_env_set (argv[++i]); /* don't copy */
  21850. + }
  21851. + else
  21852. + lt_fatal ("%s missing required argument", env_set_opt);
  21853. + continue;
  21854. + }
  21855. + if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
  21856. + {
  21857. + if (argv[i][env_prepend_opt_len] == '=')
  21858. + {
  21859. + const char *p = argv[i] + env_prepend_opt_len + 1;
  21860. + lt_opt_process_env_prepend (p);
  21861. + }
  21862. + else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
  21863. + {
  21864. + lt_opt_process_env_prepend (argv[++i]); /* don't copy */
  21865. + }
  21866. + else
  21867. + lt_fatal ("%s missing required argument", env_prepend_opt);
  21868. + continue;
  21869. + }
  21870. + if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
  21871. + {
  21872. + if (argv[i][env_append_opt_len] == '=')
  21873. + {
  21874. + const char *p = argv[i] + env_append_opt_len + 1;
  21875. + lt_opt_process_env_append (p);
  21876. + }
  21877. + else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
  21878. + {
  21879. + lt_opt_process_env_append (argv[++i]); /* don't copy */
  21880. + }
  21881. + else
  21882. + lt_fatal ("%s missing required argument", env_append_opt);
  21883. + continue;
  21884. + }
  21885. + if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
  21886. + {
  21887. + /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
  21888. + namespace, but it is not one of the ones we know about and
  21889. + have already dealt with, above (inluding dump-script), then
  21890. + report an error. Otherwise, targets might begin to believe
  21891. + they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
  21892. + namespace. The first time any user complains about this, we'll
  21893. + need to make LTWRAPPER_OPTION_PREFIX a configure-time option
  21894. + or a configure.ac-settable value.
  21895. + */
  21896. + lt_fatal ("Unrecognized option in %s namespace: '%s'",
  21897. + ltwrapper_option_prefix, argv[i]);
  21898. + }
  21899. + /* otherwise ... */
  21900. + newargz[++newargc] = xstrdup (argv[i]);
  21901. + }
  21902. + newargz[++newargc] = NULL;
  21903. - # Clear the reloadable object creation command queue and
  21904. - # initialize k to one.
  21905. - test_cmds=
  21906. - concat_cmds=
  21907. - objlist=
  21908. - delfiles=
  21909. - last_robj=
  21910. - k=1
  21911. - output=$output_objdir/$output_la-${k}.$objext
  21912. - # Loop over the list of objects to be linked.
  21913. - for obj in $save_libobjs
  21914. - do
  21915. - eval test_cmds=\"$reload_cmds $objlist $last_robj\"
  21916. - if test "X$objlist" = X ||
  21917. - { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
  21918. - test "$len" -le "$max_cmd_len"; }; then
  21919. - objlist="$objlist $obj"
  21920. - else
  21921. - # The command $test_cmds is almost too long, add a
  21922. - # command to the queue.
  21923. - if test "$k" -eq 1 ; then
  21924. - # The first file doesn't have a previous command to add.
  21925. - eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
  21926. - else
  21927. - # All subsequent reloadable object files will link in
  21928. - # the last one created.
  21929. - eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
  21930. - fi
  21931. - last_robj=$output_objdir/$output_la-${k}.$objext
  21932. - k=`expr $k + 1`
  21933. - output=$output_objdir/$output_la-${k}.$objext
  21934. - objlist=$obj
  21935. - len=1
  21936. - fi
  21937. - done
  21938. - # Handle the remaining objects by creating one last
  21939. - # reloadable object file. All subsequent reloadable object
  21940. - # files will link in the last one created.
  21941. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  21942. - eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
  21943. + LTWRAPPER_DEBUGPRINTF (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
  21944. + for (i = 0; i < newargc; i++)
  21945. + {
  21946. + LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
  21947. + }
  21948. - if ${skipped_export-false}; then
  21949. - $show "generating symbol list for \`$libname.la'"
  21950. - export_symbols="$output_objdir/$libname.exp"
  21951. - $run $rm $export_symbols
  21952. - libobjs=$output
  21953. - # Append the command to create the export file.
  21954. - eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
  21955. - fi
  21956. -
  21957. - # Set up a command to remove the reloadable object files
  21958. - # after they are used.
  21959. - i=0
  21960. - while test "$i" -lt "$k"
  21961. - do
  21962. - i=`expr $i + 1`
  21963. - delfiles="$delfiles $output_objdir/$output_la-${i}.$objext"
  21964. - done
  21965. +EOF
  21966. - $echo "creating a temporary reloadable object file: $output"
  21967. + case $host_os in
  21968. + mingw*)
  21969. + cat <<"EOF"
  21970. + /* execv doesn't actually work on mingw as expected on unix */
  21971. + rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
  21972. + if (rval == -1)
  21973. + {
  21974. + /* failed to start process */
  21975. + LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
  21976. + return 127;
  21977. + }
  21978. + return rval;
  21979. +EOF
  21980. + ;;
  21981. + *)
  21982. + cat <<"EOF"
  21983. + execv (lt_argv_zero, newargz);
  21984. + return rval; /* =127, but avoids unused variable warning */
  21985. +EOF
  21986. + ;;
  21987. + esac
  21988. - # Loop through the commands generated above and execute them.
  21989. - save_ifs="$IFS"; IFS='~'
  21990. - for cmd in $concat_cmds; do
  21991. - IFS="$save_ifs"
  21992. - $show "$cmd"
  21993. - $run eval "$cmd" || exit $?
  21994. - done
  21995. - IFS="$save_ifs"
  21996. + cat <<"EOF"
  21997. +}
  21998. - libobjs=$output
  21999. - # Restore the value of output.
  22000. - output=$save_output
  22001. +void *
  22002. +xmalloc (size_t num)
  22003. +{
  22004. + void *p = (void *) malloc (num);
  22005. + if (!p)
  22006. + lt_fatal ("Memory exhausted");
  22007. - if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
  22008. - eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  22009. - fi
  22010. - # Expand the library linking commands again to reset the
  22011. - # value of $libobjs for piecewise linking.
  22012. + return p;
  22013. +}
  22014. - # Do each of the archive commands.
  22015. - if test "$module" = yes && test -n "$module_cmds" ; then
  22016. - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  22017. - cmds=$module_expsym_cmds
  22018. - else
  22019. - cmds=$module_cmds
  22020. - fi
  22021. - else
  22022. - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  22023. - cmds=$archive_expsym_cmds
  22024. - else
  22025. - cmds=$archive_cmds
  22026. - fi
  22027. - fi
  22028. +char *
  22029. +xstrdup (const char *string)
  22030. +{
  22031. + return string ? strcpy ((char *) xmalloc (strlen (string) + 1),
  22032. + string) : NULL;
  22033. +}
  22034. - # Append the command to remove the reloadable object files
  22035. - # to the just-reset $cmds.
  22036. - eval cmds=\"\$cmds~\$rm $delfiles\"
  22037. - fi
  22038. - save_ifs="$IFS"; IFS='~'
  22039. - for cmd in $cmds; do
  22040. - IFS="$save_ifs"
  22041. - eval cmd=\"$cmd\"
  22042. - $show "$cmd"
  22043. - $run eval "$cmd" || {
  22044. - lt_exit=$?
  22045. +const char *
  22046. +base_name (const char *name)
  22047. +{
  22048. + const char *base;
  22049. - # Restore the uninstalled library and exit
  22050. - if test "$mode" = relink; then
  22051. - $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
  22052. - fi
  22053. +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  22054. + /* Skip over the disk name in MSDOS pathnames. */
  22055. + if (isalpha ((unsigned char) name[0]) && name[1] == ':')
  22056. + name += 2;
  22057. +#endif
  22058. - exit $lt_exit
  22059. - }
  22060. - done
  22061. - IFS="$save_ifs"
  22062. + for (base = name; *name; name++)
  22063. + if (IS_DIR_SEPARATOR (*name))
  22064. + base = name + 1;
  22065. + return base;
  22066. +}
  22067. - # Restore the uninstalled library and exit
  22068. - if test "$mode" = relink; then
  22069. - $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
  22070. +int
  22071. +check_executable (const char *path)
  22072. +{
  22073. + struct stat st;
  22074. - if test -n "$convenience"; then
  22075. - if test -z "$whole_archive_flag_spec"; then
  22076. - $show "${rm}r $gentop"
  22077. - $run ${rm}r "$gentop"
  22078. - fi
  22079. - fi
  22080. + LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n",
  22081. + path ? (*path ? path : "EMPTY!") : "NULL!"));
  22082. + if ((!path) || (!*path))
  22083. + return 0;
  22084. - exit $EXIT_SUCCESS
  22085. - fi
  22086. + if ((stat (path, &st) >= 0)
  22087. + && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)))
  22088. + return 1;
  22089. + else
  22090. + return 0;
  22091. +}
  22092. - # Create links to the real library.
  22093. - for linkname in $linknames; do
  22094. - if test "$realname" != "$linkname"; then
  22095. - $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)"
  22096. - $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
  22097. - fi
  22098. - done
  22099. +int
  22100. +make_executable (const char *path)
  22101. +{
  22102. + int rval = 0;
  22103. + struct stat st;
  22104. - # If -module or -export-dynamic was specified, set the dlname.
  22105. - if test "$module" = yes || test "$export_dynamic" = yes; then
  22106. - # On all known operating systems, these are identical.
  22107. - dlname="$soname"
  22108. - fi
  22109. - fi
  22110. - ;;
  22111. + LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n",
  22112. + path ? (*path ? path : "EMPTY!") : "NULL!"));
  22113. + if ((!path) || (!*path))
  22114. + return 0;
  22115. - obj)
  22116. - case " $deplibs" in
  22117. - *\ -l* | *\ -L*)
  22118. - $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 ;;
  22119. - esac
  22120. + if (stat (path, &st) >= 0)
  22121. + {
  22122. + rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR);
  22123. + }
  22124. + return rval;
  22125. +}
  22126. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  22127. - $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
  22128. - fi
  22129. +/* Searches for the full path of the wrapper. Returns
  22130. + newly allocated full path name if found, NULL otherwise
  22131. + Does not chase symlinks, even on platforms that support them.
  22132. +*/
  22133. +char *
  22134. +find_executable (const char *wrapper)
  22135. +{
  22136. + int has_slash = 0;
  22137. + const char *p;
  22138. + const char *p_next;
  22139. + /* static buffer for getcwd */
  22140. + char tmp[LT_PATHMAX + 1];
  22141. + int tmp_len;
  22142. + char *concat_name;
  22143. - if test -n "$rpath"; then
  22144. - $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
  22145. - fi
  22146. + LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n",
  22147. + wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
  22148. - if test -n "$xrpath"; then
  22149. - $echo "$modename: warning: \`-R' is ignored for objects" 1>&2
  22150. - fi
  22151. + if ((wrapper == NULL) || (*wrapper == '\0'))
  22152. + return NULL;
  22153. - if test -n "$vinfo"; then
  22154. - $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
  22155. - fi
  22156. + /* Absolute path? */
  22157. +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  22158. + if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
  22159. + {
  22160. + concat_name = xstrdup (wrapper);
  22161. + if (check_executable (concat_name))
  22162. + return concat_name;
  22163. + XFREE (concat_name);
  22164. + }
  22165. + else
  22166. + {
  22167. +#endif
  22168. + if (IS_DIR_SEPARATOR (wrapper[0]))
  22169. + {
  22170. + concat_name = xstrdup (wrapper);
  22171. + if (check_executable (concat_name))
  22172. + return concat_name;
  22173. + XFREE (concat_name);
  22174. + }
  22175. +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  22176. + }
  22177. +#endif
  22178. - if test -n "$release"; then
  22179. - $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
  22180. - fi
  22181. + for (p = wrapper; *p; p++)
  22182. + if (*p == '/')
  22183. + {
  22184. + has_slash = 1;
  22185. + break;
  22186. + }
  22187. + if (!has_slash)
  22188. + {
  22189. + /* no slashes; search PATH */
  22190. + const char *path = getenv ("PATH");
  22191. + if (path != NULL)
  22192. + {
  22193. + for (p = path; *p; p = p_next)
  22194. + {
  22195. + const char *q;
  22196. + size_t p_len;
  22197. + for (q = p; *q; q++)
  22198. + if (IS_PATH_SEPARATOR (*q))
  22199. + break;
  22200. + p_len = q - p;
  22201. + p_next = (*q == '\0' ? q : q + 1);
  22202. + if (p_len == 0)
  22203. + {
  22204. + /* empty path: current directory */
  22205. + if (getcwd (tmp, LT_PATHMAX) == NULL)
  22206. + lt_fatal ("getcwd failed");
  22207. + tmp_len = strlen (tmp);
  22208. + concat_name =
  22209. + XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
  22210. + memcpy (concat_name, tmp, tmp_len);
  22211. + concat_name[tmp_len] = '/';
  22212. + strcpy (concat_name + tmp_len + 1, wrapper);
  22213. + }
  22214. + else
  22215. + {
  22216. + concat_name =
  22217. + XMALLOC (char, p_len + 1 + strlen (wrapper) + 1);
  22218. + memcpy (concat_name, p, p_len);
  22219. + concat_name[p_len] = '/';
  22220. + strcpy (concat_name + p_len + 1, wrapper);
  22221. + }
  22222. + if (check_executable (concat_name))
  22223. + return concat_name;
  22224. + XFREE (concat_name);
  22225. + }
  22226. + }
  22227. + /* not found in PATH; assume curdir */
  22228. + }
  22229. + /* Relative path | not found in path: prepend cwd */
  22230. + if (getcwd (tmp, LT_PATHMAX) == NULL)
  22231. + lt_fatal ("getcwd failed");
  22232. + tmp_len = strlen (tmp);
  22233. + concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
  22234. + memcpy (concat_name, tmp, tmp_len);
  22235. + concat_name[tmp_len] = '/';
  22236. + strcpy (concat_name + tmp_len + 1, wrapper);
  22237. - case $output in
  22238. - *.lo)
  22239. - if test -n "$objs$old_deplibs"; then
  22240. - $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
  22241. - exit $EXIT_FAILURE
  22242. - fi
  22243. - libobj="$output"
  22244. - obj=`$echo "X$output" | $Xsed -e "$lo2o"`
  22245. - ;;
  22246. - *)
  22247. - libobj=
  22248. - obj="$output"
  22249. - ;;
  22250. - esac
  22251. + if (check_executable (concat_name))
  22252. + return concat_name;
  22253. + XFREE (concat_name);
  22254. + return NULL;
  22255. +}
  22256. - # Delete the old objects.
  22257. - $run $rm $obj $libobj
  22258. +char *
  22259. +chase_symlinks (const char *pathspec)
  22260. +{
  22261. +#ifndef S_ISLNK
  22262. + return xstrdup (pathspec);
  22263. +#else
  22264. + char buf[LT_PATHMAX];
  22265. + struct stat s;
  22266. + char *tmp_pathspec = xstrdup (pathspec);
  22267. + char *p;
  22268. + int has_symlinks = 0;
  22269. + while (strlen (tmp_pathspec) && !has_symlinks)
  22270. + {
  22271. + LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
  22272. + tmp_pathspec));
  22273. + if (lstat (tmp_pathspec, &s) == 0)
  22274. + {
  22275. + if (S_ISLNK (s.st_mode) != 0)
  22276. + {
  22277. + has_symlinks = 1;
  22278. + break;
  22279. + }
  22280. - # Objects from convenience libraries. This assumes
  22281. - # single-version convenience libraries. Whenever we create
  22282. - # different ones for PIC/non-PIC, this we'll have to duplicate
  22283. - # the extraction.
  22284. - reload_conv_objs=
  22285. - gentop=
  22286. - # reload_cmds runs $LD directly, so let us get rid of
  22287. - # -Wl from whole_archive_flag_spec and hope we can get by with
  22288. - # turning comma into space..
  22289. - wl=
  22290. + /* search backwards for last DIR_SEPARATOR */
  22291. + p = tmp_pathspec + strlen (tmp_pathspec) - 1;
  22292. + while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
  22293. + p--;
  22294. + if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
  22295. + {
  22296. + /* no more DIR_SEPARATORS left */
  22297. + break;
  22298. + }
  22299. + *p = '\0';
  22300. + }
  22301. + else
  22302. + {
  22303. + char *errstr = strerror (errno);
  22304. + lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
  22305. + }
  22306. + }
  22307. + XFREE (tmp_pathspec);
  22308. - if test -n "$convenience"; then
  22309. - if test -n "$whole_archive_flag_spec"; then
  22310. - eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
  22311. - reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
  22312. - else
  22313. - gentop="$output_objdir/${obj}x"
  22314. - generated="$generated $gentop"
  22315. + if (!has_symlinks)
  22316. + {
  22317. + return xstrdup (pathspec);
  22318. + }
  22319. - func_extract_archives $gentop $convenience
  22320. - reload_conv_objs="$reload_objs $func_extract_archives_result"
  22321. - fi
  22322. - fi
  22323. + tmp_pathspec = realpath (pathspec, buf);
  22324. + if (tmp_pathspec == 0)
  22325. + {
  22326. + lt_fatal ("Could not follow symlinks for %s", pathspec);
  22327. + }
  22328. + return xstrdup (tmp_pathspec);
  22329. +#endif
  22330. +}
  22331. - # Create the old-style object.
  22332. - reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
  22333. +char *
  22334. +strendzap (char *str, const char *pat)
  22335. +{
  22336. + size_t len, patlen;
  22337. - output="$obj"
  22338. - cmds=$reload_cmds
  22339. - save_ifs="$IFS"; IFS='~'
  22340. - for cmd in $cmds; do
  22341. - IFS="$save_ifs"
  22342. - eval cmd=\"$cmd\"
  22343. - $show "$cmd"
  22344. - $run eval "$cmd" || exit $?
  22345. - done
  22346. - IFS="$save_ifs"
  22347. + assert (str != NULL);
  22348. + assert (pat != NULL);
  22349. - # Exit if we aren't doing a library object file.
  22350. - if test -z "$libobj"; then
  22351. - if test -n "$gentop"; then
  22352. - $show "${rm}r $gentop"
  22353. - $run ${rm}r $gentop
  22354. - fi
  22355. + len = strlen (str);
  22356. + patlen = strlen (pat);
  22357. - exit $EXIT_SUCCESS
  22358. - fi
  22359. + if (patlen <= len)
  22360. + {
  22361. + str += len - patlen;
  22362. + if (strcmp (str, pat) == 0)
  22363. + *str = '\0';
  22364. + }
  22365. + return str;
  22366. +}
  22367. - if test "$build_libtool_libs" != yes; then
  22368. - if test -n "$gentop"; then
  22369. - $show "${rm}r $gentop"
  22370. - $run ${rm}r $gentop
  22371. - fi
  22372. -
  22373. - # Create an invalid libtool object if no PIC, so that we don't
  22374. - # accidentally link it into a program.
  22375. - # $show "echo timestamp > $libobj"
  22376. - # $run eval "echo timestamp > $libobj" || exit $?
  22377. - exit $EXIT_SUCCESS
  22378. - fi
  22379. -
  22380. - if test -n "$pic_flag" || test "$pic_mode" != default; then
  22381. - # Only do commands if we really have different PIC objects.
  22382. - reload_objs="$libobjs $reload_conv_objs"
  22383. - output="$libobj"
  22384. - cmds=$reload_cmds
  22385. - save_ifs="$IFS"; IFS='~'
  22386. - for cmd in $cmds; do
  22387. - IFS="$save_ifs"
  22388. - eval cmd=\"$cmd\"
  22389. - $show "$cmd"
  22390. - $run eval "$cmd" || exit $?
  22391. - done
  22392. - IFS="$save_ifs"
  22393. - fi
  22394. +static void
  22395. +lt_error_core (int exit_status, const char *mode,
  22396. + const char *message, va_list ap)
  22397. +{
  22398. + fprintf (stderr, "%s: %s: ", program_name, mode);
  22399. + vfprintf (stderr, message, ap);
  22400. + fprintf (stderr, ".\n");
  22401. - if test -n "$gentop"; then
  22402. - $show "${rm}r $gentop"
  22403. - $run ${rm}r $gentop
  22404. - fi
  22405. + if (exit_status >= 0)
  22406. + exit (exit_status);
  22407. +}
  22408. - exit $EXIT_SUCCESS
  22409. - ;;
  22410. +void
  22411. +lt_fatal (const char *message, ...)
  22412. +{
  22413. + va_list ap;
  22414. + va_start (ap, message);
  22415. + lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
  22416. + va_end (ap);
  22417. +}
  22418. - prog)
  22419. - case $host in
  22420. - *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
  22421. - esac
  22422. - if test -n "$vinfo"; then
  22423. - $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
  22424. - fi
  22425. +void
  22426. +lt_setenv (const char *name, const char *value)
  22427. +{
  22428. + LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
  22429. + (name ? name : "<NULL>"),
  22430. + (value ? value : "<NULL>")));
  22431. + {
  22432. +#ifdef HAVE_SETENV
  22433. + /* always make a copy, for consistency with !HAVE_SETENV */
  22434. + char *str = xstrdup (value);
  22435. + setenv (name, str, 1);
  22436. +#else
  22437. + int len = strlen (name) + 1 + strlen (value) + 1;
  22438. + char *str = XMALLOC (char, len);
  22439. + sprintf (str, "%s=%s", name, value);
  22440. + if (putenv (str) != EXIT_SUCCESS)
  22441. + {
  22442. + XFREE (str);
  22443. + }
  22444. +#endif
  22445. + }
  22446. +}
  22447. - if test -n "$release"; then
  22448. - $echo "$modename: warning: \`-release' is ignored for programs" 1>&2
  22449. - fi
  22450. +char *
  22451. +lt_extend_str (const char *orig_value, const char *add, int to_end)
  22452. +{
  22453. + char *new_value;
  22454. + if (orig_value && *orig_value)
  22455. + {
  22456. + int orig_value_len = strlen (orig_value);
  22457. + int add_len = strlen (add);
  22458. + new_value = XMALLOC (char, add_len + orig_value_len + 1);
  22459. + if (to_end)
  22460. + {
  22461. + strcpy (new_value, orig_value);
  22462. + strcpy (new_value + orig_value_len, add);
  22463. + }
  22464. + else
  22465. + {
  22466. + strcpy (new_value, add);
  22467. + strcpy (new_value + add_len, orig_value);
  22468. + }
  22469. + }
  22470. + else
  22471. + {
  22472. + new_value = xstrdup (add);
  22473. + }
  22474. + return new_value;
  22475. +}
  22476. - if test "$preload" = yes; then
  22477. - if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
  22478. - test "$dlopen_self_static" = unknown; then
  22479. - $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
  22480. - fi
  22481. - fi
  22482. +int
  22483. +lt_split_name_value (const char *arg, char** name, char** value)
  22484. +{
  22485. + const char *p;
  22486. + int len;
  22487. + if (!arg || !*arg)
  22488. + return 1;
  22489. - case $host in
  22490. - *-*-rhapsody* | *-*-darwin1.[012])
  22491. - # On Rhapsody replace the C library is the System framework
  22492. - compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
  22493. - finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
  22494. - ;;
  22495. - esac
  22496. + p = strchr (arg, (int)'=');
  22497. - case $host in
  22498. - *darwin*)
  22499. - # Don't allow lazy linking, it breaks C++ global constructors
  22500. - if test "$tagname" = CXX ; then
  22501. - compile_command="$compile_command ${wl}-bind_at_load"
  22502. - finalize_command="$finalize_command ${wl}-bind_at_load"
  22503. - fi
  22504. - ;;
  22505. - esac
  22506. + if (!p)
  22507. + return 1;
  22508. + *value = xstrdup (++p);
  22509. - # move library search paths that coincide with paths to not yet
  22510. - # installed libraries to the beginning of the library search list
  22511. - new_libs=
  22512. - for path in $notinst_path; do
  22513. - case " $new_libs " in
  22514. - *" -L$path/$objdir "*) ;;
  22515. - *)
  22516. - case " $compile_deplibs " in
  22517. - *" -L$path/$objdir "*)
  22518. - new_libs="$new_libs -L$path/$objdir" ;;
  22519. - esac
  22520. - ;;
  22521. - esac
  22522. - done
  22523. - for deplib in $compile_deplibs; do
  22524. - case $deplib in
  22525. - -L*)
  22526. - case " $new_libs " in
  22527. - *" $deplib "*) ;;
  22528. - *) new_libs="$new_libs $deplib" ;;
  22529. - esac
  22530. - ;;
  22531. - *) new_libs="$new_libs $deplib" ;;
  22532. - esac
  22533. - done
  22534. - compile_deplibs="$new_libs"
  22535. + len = strlen (arg) - strlen (*value);
  22536. + *name = XMALLOC (char, len);
  22537. + strncpy (*name, arg, len-1);
  22538. + (*name)[len - 1] = '\0';
  22539. + return 0;
  22540. +}
  22541. - compile_command="$compile_command $compile_deplibs"
  22542. - finalize_command="$finalize_command $finalize_deplibs"
  22543. +void
  22544. +lt_opt_process_env_set (const char *arg)
  22545. +{
  22546. + char *name = NULL;
  22547. + char *value = NULL;
  22548. - if test -n "$rpath$xrpath"; then
  22549. - # If the user specified any rpath flags, then add them.
  22550. - for libdir in $rpath $xrpath; do
  22551. - # This is the magic to use -rpath.
  22552. - case "$finalize_rpath " in
  22553. - *" $libdir "*) ;;
  22554. - *) finalize_rpath="$finalize_rpath $libdir" ;;
  22555. - esac
  22556. - done
  22557. - fi
  22558. + if (lt_split_name_value (arg, &name, &value) != 0)
  22559. + {
  22560. + XFREE (name);
  22561. + XFREE (value);
  22562. + lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
  22563. + }
  22564. - # Now hardcode the library paths
  22565. - rpath=
  22566. - hardcode_libdirs=
  22567. - for libdir in $compile_rpath $finalize_rpath; do
  22568. - if test -n "$hardcode_libdir_flag_spec"; then
  22569. - if test -n "$hardcode_libdir_separator"; then
  22570. - if test -z "$hardcode_libdirs"; then
  22571. - hardcode_libdirs="$libdir"
  22572. - else
  22573. - # Just accumulate the unique libdirs.
  22574. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  22575. - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  22576. - ;;
  22577. - *)
  22578. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  22579. - ;;
  22580. - esac
  22581. - fi
  22582. - else
  22583. - eval flag=\"$hardcode_libdir_flag_spec\"
  22584. - rpath="$rpath $flag"
  22585. - fi
  22586. - elif test -n "$runpath_var"; then
  22587. - case "$perm_rpath " in
  22588. - *" $libdir "*) ;;
  22589. - *) perm_rpath="$perm_rpath $libdir" ;;
  22590. - esac
  22591. - fi
  22592. - case $host in
  22593. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  22594. - testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
  22595. - case :$dllsearchpath: in
  22596. - *":$libdir:"*) ;;
  22597. - *) dllsearchpath="$dllsearchpath:$libdir";;
  22598. - esac
  22599. - case :$dllsearchpath: in
  22600. - *":$testbindir:"*) ;;
  22601. - *) dllsearchpath="$dllsearchpath:$testbindir";;
  22602. - esac
  22603. - ;;
  22604. - esac
  22605. - done
  22606. - # Substitute the hardcoded libdirs into the rpath.
  22607. - if test -n "$hardcode_libdir_separator" &&
  22608. - test -n "$hardcode_libdirs"; then
  22609. - libdir="$hardcode_libdirs"
  22610. - eval rpath=\" $hardcode_libdir_flag_spec\"
  22611. - fi
  22612. - compile_rpath="$rpath"
  22613. + lt_setenv (name, value);
  22614. + XFREE (name);
  22615. + XFREE (value);
  22616. +}
  22617. - rpath=
  22618. - hardcode_libdirs=
  22619. - for libdir in $finalize_rpath; do
  22620. - if test -n "$hardcode_libdir_flag_spec"; then
  22621. - if test -n "$hardcode_libdir_separator"; then
  22622. - if test -z "$hardcode_libdirs"; then
  22623. - hardcode_libdirs="$libdir"
  22624. - else
  22625. - # Just accumulate the unique libdirs.
  22626. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  22627. - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  22628. - ;;
  22629. - *)
  22630. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  22631. - ;;
  22632. - esac
  22633. - fi
  22634. - else
  22635. - eval flag=\"$hardcode_libdir_flag_spec\"
  22636. - rpath="$rpath $flag"
  22637. - fi
  22638. - elif test -n "$runpath_var"; then
  22639. - case "$finalize_perm_rpath " in
  22640. - *" $libdir "*) ;;
  22641. - *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
  22642. - esac
  22643. - fi
  22644. - done
  22645. - # Substitute the hardcoded libdirs into the rpath.
  22646. - if test -n "$hardcode_libdir_separator" &&
  22647. - test -n "$hardcode_libdirs"; then
  22648. - libdir="$hardcode_libdirs"
  22649. - eval rpath=\" $hardcode_libdir_flag_spec\"
  22650. - fi
  22651. - finalize_rpath="$rpath"
  22652. +void
  22653. +lt_opt_process_env_prepend (const char *arg)
  22654. +{
  22655. + char *name = NULL;
  22656. + char *value = NULL;
  22657. + char *new_value = NULL;
  22658. - if test -n "$libobjs" && test "$build_old_libs" = yes; then
  22659. - # Transform all the library objects into standard objects.
  22660. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  22661. - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  22662. - fi
  22663. + if (lt_split_name_value (arg, &name, &value) != 0)
  22664. + {
  22665. + XFREE (name);
  22666. + XFREE (value);
  22667. + lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
  22668. + }
  22669. - dlsyms=
  22670. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  22671. - if test -n "$NM" && test -n "$global_symbol_pipe"; then
  22672. - dlsyms="${outputname}S.c"
  22673. - else
  22674. - $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
  22675. - fi
  22676. - fi
  22677. + new_value = lt_extend_str (getenv (name), value, 0);
  22678. + lt_setenv (name, new_value);
  22679. + XFREE (new_value);
  22680. + XFREE (name);
  22681. + XFREE (value);
  22682. +}
  22683. - if test -n "$dlsyms"; then
  22684. - case $dlsyms in
  22685. - "") ;;
  22686. - *.c)
  22687. - # Discover the nlist of each of the dlfiles.
  22688. - nlist="$output_objdir/${outputname}.nm"
  22689. +void
  22690. +lt_opt_process_env_append (const char *arg)
  22691. +{
  22692. + char *name = NULL;
  22693. + char *value = NULL;
  22694. + char *new_value = NULL;
  22695. - $show "$rm $nlist ${nlist}S ${nlist}T"
  22696. - $run $rm "$nlist" "${nlist}S" "${nlist}T"
  22697. + if (lt_split_name_value (arg, &name, &value) != 0)
  22698. + {
  22699. + XFREE (name);
  22700. + XFREE (value);
  22701. + lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
  22702. + }
  22703. - # Parse the name list into a source file.
  22704. - $show "creating $output_objdir/$dlsyms"
  22705. + new_value = lt_extend_str (getenv (name), value, 1);
  22706. + lt_setenv (name, new_value);
  22707. + XFREE (new_value);
  22708. + XFREE (name);
  22709. + XFREE (value);
  22710. +}
  22711. - test -z "$run" && $echo > "$output_objdir/$dlsyms" "\
  22712. -/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */
  22713. -/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
  22714. +void
  22715. +lt_update_exe_path (const char *name, const char *value)
  22716. +{
  22717. + LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
  22718. + (name ? name : "<NULL>"),
  22719. + (value ? value : "<NULL>")));
  22720. -#ifdef __cplusplus
  22721. -extern \"C\" {
  22722. -#endif
  22723. + if (name && *name && value && *value)
  22724. + {
  22725. + char *new_value = lt_extend_str (getenv (name), value, 0);
  22726. + /* some systems can't cope with a ':'-terminated path #' */
  22727. + int len = strlen (new_value);
  22728. + while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
  22729. + {
  22730. + new_value[len-1] = '\0';
  22731. + }
  22732. + lt_setenv (name, new_value);
  22733. + XFREE (new_value);
  22734. + }
  22735. +}
  22736. -/* Prevent the only kind of declaration conflicts we can make. */
  22737. -#define lt_preloaded_symbols some_other_symbol
  22738. +void
  22739. +lt_update_lib_path (const char *name, const char *value)
  22740. +{
  22741. + LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
  22742. + (name ? name : "<NULL>"),
  22743. + (value ? value : "<NULL>")));
  22744. -/* External symbol declarations for the compiler. */\
  22745. -"
  22746. + if (name && *name && value && *value)
  22747. + {
  22748. + char *new_value = lt_extend_str (getenv (name), value, 0);
  22749. + lt_setenv (name, new_value);
  22750. + XFREE (new_value);
  22751. + }
  22752. +}
  22753. - if test "$dlself" = yes; then
  22754. - $show "generating symbol list for \`$output'"
  22755. - test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
  22756. +EOF
  22757. +}
  22758. +# end: func_emit_cwrapperexe_src
  22759. - # Add our own program objects to the symbol list.
  22760. - progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  22761. - for arg in $progfiles; do
  22762. - $show "extracting global C symbols from \`$arg'"
  22763. - $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
  22764. - done
  22765. +# func_mode_link arg...
  22766. +func_mode_link ()
  22767. +{
  22768. + $opt_debug
  22769. + case $host in
  22770. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  22771. + # It is impossible to link a dll without this setting, and
  22772. + # we shouldn't force the makefile maintainer to figure out
  22773. + # which system we are compiling for in order to pass an extra
  22774. + # flag for every libtool invocation.
  22775. + # allow_undefined=no
  22776. - if test -n "$exclude_expsyms"; then
  22777. - $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
  22778. - $run eval '$mv "$nlist"T "$nlist"'
  22779. - fi
  22780. -
  22781. - if test -n "$export_symbols_regex"; then
  22782. - $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
  22783. - $run eval '$mv "$nlist"T "$nlist"'
  22784. - fi
  22785. -
  22786. - # Prepare the list of exported symbols
  22787. - if test -z "$export_symbols"; then
  22788. - export_symbols="$output_objdir/$outputname.exp"
  22789. - $run $rm $export_symbols
  22790. - $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
  22791. - case $host in
  22792. - *cygwin* | *mingw* )
  22793. - $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  22794. - $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
  22795. - ;;
  22796. - esac
  22797. - else
  22798. - $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
  22799. - $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
  22800. - $run eval 'mv "$nlist"T "$nlist"'
  22801. - case $host in
  22802. - *cygwin* | *mingw* )
  22803. - $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  22804. - $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
  22805. - ;;
  22806. - esac
  22807. - fi
  22808. + # FIXME: Unfortunately, there are problems with the above when trying
  22809. + # to make a dll which has undefined symbols, in which case not
  22810. + # even a static library is built. For now, we need to specify
  22811. + # -no-undefined on the libtool link line when we can be certain
  22812. + # that all symbols are satisfied, otherwise we get a static library.
  22813. + allow_undefined=yes
  22814. + ;;
  22815. + *)
  22816. + allow_undefined=yes
  22817. + ;;
  22818. + esac
  22819. + libtool_args=$nonopt
  22820. + base_compile="$nonopt $@"
  22821. + compile_command=$nonopt
  22822. + finalize_command=$nonopt
  22823. +
  22824. + compile_rpath=
  22825. + finalize_rpath=
  22826. + compile_shlibpath=
  22827. + finalize_shlibpath=
  22828. + convenience=
  22829. + old_convenience=
  22830. + deplibs=
  22831. + old_deplibs=
  22832. + compiler_flags=
  22833. + linker_flags=
  22834. + dllsearchpath=
  22835. + lib_search_path=`pwd`
  22836. + inst_prefix_dir=
  22837. + new_inherited_linker_flags=
  22838. +
  22839. + avoid_version=no
  22840. + dlfiles=
  22841. + dlprefiles=
  22842. + dlself=no
  22843. + export_dynamic=no
  22844. + export_symbols=
  22845. + export_symbols_regex=
  22846. + generated=
  22847. + libobjs=
  22848. + ltlibs=
  22849. + module=no
  22850. + no_install=no
  22851. + objs=
  22852. + non_pic_objects=
  22853. + precious_files_regex=
  22854. + prefer_static_libs=no
  22855. + preload=no
  22856. + prev=
  22857. + prevarg=
  22858. + release=
  22859. + rpath=
  22860. + xrpath=
  22861. + perm_rpath=
  22862. + temp_rpath=
  22863. + thread_safe=no
  22864. + vinfo=
  22865. + vinfo_number=no
  22866. + weak_libs=
  22867. + single_module="${wl}-single_module"
  22868. + func_infer_tag $base_compile
  22869. +
  22870. + # We need to know -static, to get the right output filenames.
  22871. + for arg
  22872. + do
  22873. + case $arg in
  22874. + -shared)
  22875. + test "$build_libtool_libs" != yes && \
  22876. + func_fatal_configuration "can not build a shared library"
  22877. + build_old_libs=no
  22878. + break
  22879. + ;;
  22880. + -all-static | -static | -static-libtool-libs)
  22881. + case $arg in
  22882. + -all-static)
  22883. + if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
  22884. + func_warning "complete static linking is impossible in this configuration"
  22885. + fi
  22886. + if test -n "$link_static_flag"; then
  22887. + dlopen_self=$dlopen_self_static
  22888. + fi
  22889. + prefer_static_libs=yes
  22890. + ;;
  22891. + -static)
  22892. + if test -z "$pic_flag" && test -n "$link_static_flag"; then
  22893. + dlopen_self=$dlopen_self_static
  22894. + fi
  22895. + prefer_static_libs=built
  22896. + ;;
  22897. + -static-libtool-libs)
  22898. + if test -z "$pic_flag" && test -n "$link_static_flag"; then
  22899. + dlopen_self=$dlopen_self_static
  22900. fi
  22901. + prefer_static_libs=yes
  22902. + ;;
  22903. + esac
  22904. + build_libtool_libs=no
  22905. + build_old_libs=yes
  22906. + break
  22907. + ;;
  22908. + esac
  22909. + done
  22910. - for arg in $dlprefiles; do
  22911. - $show "extracting global C symbols from \`$arg'"
  22912. - name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
  22913. - $run eval '$echo ": $name " >> "$nlist"'
  22914. - $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
  22915. - done
  22916. + # See if our shared archives depend on static archives.
  22917. + test -n "$old_archive_from_new_cmds" && build_old_libs=yes
  22918. - if test -z "$run"; then
  22919. - # Make sure we have at least an empty file.
  22920. - test -f "$nlist" || : > "$nlist"
  22921. -
  22922. - if test -n "$exclude_expsyms"; then
  22923. - $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
  22924. - $mv "$nlist"T "$nlist"
  22925. - fi
  22926. + # Go through the arguments, transforming them on the way.
  22927. + while test "$#" -gt 0; do
  22928. + arg="$1"
  22929. + shift
  22930. + func_quote_for_eval "$arg"
  22931. + qarg=$func_quote_for_eval_unquoted_result
  22932. + func_append libtool_args " $func_quote_for_eval_result"
  22933. - # Try sorting and uniquifying the output.
  22934. - if grep -v "^: " < "$nlist" |
  22935. - if sort -k 3 </dev/null >/dev/null 2>&1; then
  22936. - sort -k 3
  22937. - else
  22938. - sort +2
  22939. - fi |
  22940. - uniq > "$nlist"S; then
  22941. - :
  22942. + # If the previous option needs an argument, assign it.
  22943. + if test -n "$prev"; then
  22944. + case $prev in
  22945. + output)
  22946. + func_append compile_command " @OUTPUT@"
  22947. + func_append finalize_command " @OUTPUT@"
  22948. + ;;
  22949. + esac
  22950. +
  22951. + case $prev in
  22952. + dlfiles|dlprefiles)
  22953. + if test "$preload" = no; then
  22954. + # Add the symbol object into the linking commands.
  22955. + func_append compile_command " @SYMFILE@"
  22956. + func_append finalize_command " @SYMFILE@"
  22957. + preload=yes
  22958. + fi
  22959. + case $arg in
  22960. + *.la | *.lo) ;; # We handle these cases below.
  22961. + force)
  22962. + if test "$dlself" = no; then
  22963. + dlself=needless
  22964. + export_dynamic=yes
  22965. + fi
  22966. + prev=
  22967. + continue
  22968. + ;;
  22969. + self)
  22970. + if test "$prev" = dlprefiles; then
  22971. + dlself=yes
  22972. + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
  22973. + dlself=yes
  22974. else
  22975. - grep -v "^: " < "$nlist" > "$nlist"S
  22976. + dlself=needless
  22977. + export_dynamic=yes
  22978. fi
  22979. -
  22980. - if test -f "$nlist"S; then
  22981. - eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
  22982. + prev=
  22983. + continue
  22984. + ;;
  22985. + *)
  22986. + if test "$prev" = dlfiles; then
  22987. + dlfiles="$dlfiles $arg"
  22988. else
  22989. - $echo '/* NONE */' >> "$output_objdir/$dlsyms"
  22990. + dlprefiles="$dlprefiles $arg"
  22991. fi
  22992. + prev=
  22993. + continue
  22994. + ;;
  22995. + esac
  22996. + ;;
  22997. + expsyms)
  22998. + export_symbols="$arg"
  22999. + test -f "$arg" \
  23000. + || func_fatal_error "symbol file \`$arg' does not exist"
  23001. + prev=
  23002. + continue
  23003. + ;;
  23004. + expsyms_regex)
  23005. + export_symbols_regex="$arg"
  23006. + prev=
  23007. + continue
  23008. + ;;
  23009. + framework)
  23010. + case $host in
  23011. + *-*-darwin*)
  23012. + case "$deplibs " in
  23013. + *" $qarg.ltframework "*) ;;
  23014. + *) deplibs="$deplibs $qarg.ltframework" # this is fixed later
  23015. + ;;
  23016. + esac
  23017. + ;;
  23018. + esac
  23019. + prev=
  23020. + continue
  23021. + ;;
  23022. + inst_prefix)
  23023. + inst_prefix_dir="$arg"
  23024. + prev=
  23025. + continue
  23026. + ;;
  23027. + objectlist)
  23028. + if test -f "$arg"; then
  23029. + save_arg=$arg
  23030. + moreargs=
  23031. + for fil in `cat "$save_arg"`
  23032. + do
  23033. +# moreargs="$moreargs $fil"
  23034. + arg=$fil
  23035. + # A libtool-controlled object.
  23036. - $echo >> "$output_objdir/$dlsyms" "\
  23037. + # Check to see that this really is a libtool object.
  23038. + if func_lalib_unsafe_p "$arg"; then
  23039. + pic_object=
  23040. + non_pic_object=
  23041. -#undef lt_preloaded_symbols
  23042. + # Read the .lo file
  23043. + func_source "$arg"
  23044. -#if defined (__STDC__) && __STDC__
  23045. -# define lt_ptr void *
  23046. -#else
  23047. -# define lt_ptr char *
  23048. -# define const
  23049. -#endif
  23050. + if test -z "$pic_object" ||
  23051. + test -z "$non_pic_object" ||
  23052. + test "$pic_object" = none &&
  23053. + test "$non_pic_object" = none; then
  23054. + func_fatal_error "cannot find name of object for \`$arg'"
  23055. + fi
  23056. -/* The mapping between symbol names and symbols. */
  23057. -"
  23058. + # Extract subdirectory from the argument.
  23059. + func_dirname "$arg" "/" ""
  23060. + xdir="$func_dirname_result"
  23061. - case $host in
  23062. - *cygwin* | *mingw* )
  23063. - $echo >> "$output_objdir/$dlsyms" "\
  23064. -/* DATA imports from DLLs on WIN32 can't be const, because
  23065. - runtime relocations are performed -- see ld's documentation
  23066. - on pseudo-relocs */
  23067. -struct {
  23068. -"
  23069. - ;;
  23070. - * )
  23071. - $echo >> "$output_objdir/$dlsyms" "\
  23072. -const struct {
  23073. -"
  23074. - ;;
  23075. - esac
  23076. + if test "$pic_object" != none; then
  23077. + # Prepend the subdirectory the object is found in.
  23078. + pic_object="$xdir$pic_object"
  23079. + if test "$prev" = dlfiles; then
  23080. + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  23081. + dlfiles="$dlfiles $pic_object"
  23082. + prev=
  23083. + continue
  23084. + else
  23085. + # If libtool objects are unsupported, then we need to preload.
  23086. + prev=dlprefiles
  23087. + fi
  23088. + fi
  23089. - $echo >> "$output_objdir/$dlsyms" "\
  23090. - const char *name;
  23091. - lt_ptr address;
  23092. -}
  23093. -lt_preloaded_symbols[] =
  23094. -{\
  23095. -"
  23096. + # CHECK ME: I think I busted this. -Ossama
  23097. + if test "$prev" = dlprefiles; then
  23098. + # Preload the old-style object.
  23099. + dlprefiles="$dlprefiles $pic_object"
  23100. + prev=
  23101. + fi
  23102. - eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
  23103. + # A PIC object.
  23104. + func_append libobjs " $pic_object"
  23105. + arg="$pic_object"
  23106. + fi
  23107. - $echo >> "$output_objdir/$dlsyms" "\
  23108. - {0, (lt_ptr) 0}
  23109. -};
  23110. + # Non-PIC object.
  23111. + if test "$non_pic_object" != none; then
  23112. + # Prepend the subdirectory the object is found in.
  23113. + non_pic_object="$xdir$non_pic_object"
  23114. -/* This works around a problem in FreeBSD linker */
  23115. -#ifdef FREEBSD_WORKAROUND
  23116. -static const void *lt_preloaded_setup() {
  23117. - return lt_preloaded_symbols;
  23118. -}
  23119. -#endif
  23120. + # A standard non-PIC object
  23121. + func_append non_pic_objects " $non_pic_object"
  23122. + if test -z "$pic_object" || test "$pic_object" = none ; then
  23123. + arg="$non_pic_object"
  23124. + fi
  23125. + else
  23126. + # If the PIC object exists, use it instead.
  23127. + # $xdir was prepended to $pic_object above.
  23128. + non_pic_object="$pic_object"
  23129. + func_append non_pic_objects " $non_pic_object"
  23130. + fi
  23131. + else
  23132. + # Only an error if not doing a dry-run.
  23133. + if $opt_dry_run; then
  23134. + # Extract subdirectory from the argument.
  23135. + func_dirname "$arg" "/" ""
  23136. + xdir="$func_dirname_result"
  23137. -#ifdef __cplusplus
  23138. -}
  23139. -#endif\
  23140. -"
  23141. + func_lo2o "$arg"
  23142. + pic_object=$xdir$objdir/$func_lo2o_result
  23143. + non_pic_object=$xdir$func_lo2o_result
  23144. + func_append libobjs " $pic_object"
  23145. + func_append non_pic_objects " $non_pic_object"
  23146. + else
  23147. + func_fatal_error "\`$arg' is not a valid libtool object"
  23148. + fi
  23149. + fi
  23150. + done
  23151. + else
  23152. + func_fatal_error "link input file \`$arg' does not exist"
  23153. fi
  23154. -
  23155. - pic_flag_for_symtable=
  23156. - case $host in
  23157. - # compiling the symbol table file with pic_flag works around
  23158. - # a FreeBSD bug that causes programs to crash when -lm is
  23159. - # linked before any other PIC object. But we must not use
  23160. - # pic_flag when linking with -static. The problem exists in
  23161. - # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
  23162. - *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
  23163. - case "$compile_command " in
  23164. - *" -static "*) ;;
  23165. - *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
  23166. - esac;;
  23167. - *-*-hpux*)
  23168. - case "$compile_command " in
  23169. - *" -static "*) ;;
  23170. - *) pic_flag_for_symtable=" $pic_flag";;
  23171. - esac
  23172. + arg=$save_arg
  23173. + prev=
  23174. + continue
  23175. + ;;
  23176. + precious_regex)
  23177. + precious_files_regex="$arg"
  23178. + prev=
  23179. + continue
  23180. + ;;
  23181. + release)
  23182. + release="-$arg"
  23183. + prev=
  23184. + continue
  23185. + ;;
  23186. + rpath | xrpath)
  23187. + # We need an absolute path.
  23188. + case $arg in
  23189. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  23190. + *)
  23191. + func_fatal_error "only absolute run-paths are allowed"
  23192. + ;;
  23193. esac
  23194. -
  23195. - # Now compile the dynamic symbol file.
  23196. - $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
  23197. - $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
  23198. -
  23199. - # Clean up the generated files.
  23200. - $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
  23201. - $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
  23202. -
  23203. - # Transform the symbol file into the correct name.
  23204. - case $host in
  23205. - *cygwin* | *mingw* )
  23206. - if test -f "$output_objdir/${outputname}.def" ; then
  23207. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
  23208. - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
  23209. - else
  23210. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
  23211. - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
  23212. - fi
  23213. - ;;
  23214. - * )
  23215. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
  23216. - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
  23217. - ;;
  23218. - esac
  23219. + if test "$prev" = rpath; then
  23220. + case "$rpath " in
  23221. + *" $arg "*) ;;
  23222. + *) rpath="$rpath $arg" ;;
  23223. + esac
  23224. + else
  23225. + case "$xrpath " in
  23226. + *" $arg "*) ;;
  23227. + *) xrpath="$xrpath $arg" ;;
  23228. + esac
  23229. + fi
  23230. + prev=
  23231. + continue
  23232. + ;;
  23233. + shrext)
  23234. + shrext_cmds="$arg"
  23235. + prev=
  23236. + continue
  23237. + ;;
  23238. + weak)
  23239. + weak_libs="$weak_libs $arg"
  23240. + prev=
  23241. + continue
  23242. + ;;
  23243. + xcclinker)
  23244. + linker_flags="$linker_flags $qarg"
  23245. + compiler_flags="$compiler_flags $qarg"
  23246. + prev=
  23247. + func_append compile_command " $qarg"
  23248. + func_append finalize_command " $qarg"
  23249. + continue
  23250. + ;;
  23251. + xcompiler)
  23252. + compiler_flags="$compiler_flags $qarg"
  23253. + prev=
  23254. + func_append compile_command " $qarg"
  23255. + func_append finalize_command " $qarg"
  23256. + continue
  23257. ;;
  23258. - *-*-freebsd*)
  23259. - # FreeBSD doesn't need this...
  23260. + xlinker)
  23261. + linker_flags="$linker_flags $qarg"
  23262. + compiler_flags="$compiler_flags $wl$qarg"
  23263. + prev=
  23264. + func_append compile_command " $wl$qarg"
  23265. + func_append finalize_command " $wl$qarg"
  23266. + continue
  23267. ;;
  23268. *)
  23269. - $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
  23270. - exit $EXIT_FAILURE
  23271. + eval "$prev=\"\$arg\""
  23272. + prev=
  23273. + continue
  23274. ;;
  23275. esac
  23276. - else
  23277. - # We keep going just in case the user didn't refer to
  23278. - # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
  23279. - # really was required.
  23280. -
  23281. - # Nullify the symbol file.
  23282. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
  23283. - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
  23284. - fi
  23285. -
  23286. - if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
  23287. - # Replace the output file specification.
  23288. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP`
  23289. - link_command="$compile_command$compile_rpath"
  23290. + fi # test -n "$prev"
  23291. - # We have no uninstalled library dependencies, so finalize right now.
  23292. - $show "$link_command"
  23293. - $run eval "$link_command"
  23294. - exit_status=$?
  23295. + prevarg="$arg"
  23296. - # Delete the generated files.
  23297. - if test -n "$dlsyms"; then
  23298. - $show "$rm $output_objdir/${outputname}S.${objext}"
  23299. - $run $rm "$output_objdir/${outputname}S.${objext}"
  23300. + case $arg in
  23301. + -all-static)
  23302. + if test -n "$link_static_flag"; then
  23303. + # See comment for -static flag below, for more details.
  23304. + func_append compile_command " $link_static_flag"
  23305. + func_append finalize_command " $link_static_flag"
  23306. fi
  23307. + continue
  23308. + ;;
  23309. - exit $exit_status
  23310. - fi
  23311. -
  23312. - if test -n "$shlibpath_var"; then
  23313. - # We should set the shlibpath_var
  23314. - rpath=
  23315. - for dir in $temp_rpath; do
  23316. - case $dir in
  23317. - [\\/]* | [A-Za-z]:[\\/]*)
  23318. - # Absolute path.
  23319. - rpath="$rpath$dir:"
  23320. - ;;
  23321. - *)
  23322. - # Relative path: add a thisdir entry.
  23323. - rpath="$rpath\$thisdir/$dir:"
  23324. - ;;
  23325. - esac
  23326. - done
  23327. - temp_rpath="$rpath"
  23328. - fi
  23329. + -allow-undefined)
  23330. + # FIXME: remove this flag sometime in the future.
  23331. + func_fatal_error "\`-allow-undefined' must not be used because it is the default"
  23332. + ;;
  23333. - if test -n "$compile_shlibpath$finalize_shlibpath"; then
  23334. - compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
  23335. - fi
  23336. - if test -n "$finalize_shlibpath"; then
  23337. - finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
  23338. - fi
  23339. + -avoid-version)
  23340. + avoid_version=yes
  23341. + continue
  23342. + ;;
  23343. - compile_var=
  23344. - finalize_var=
  23345. - if test -n "$runpath_var"; then
  23346. - if test -n "$perm_rpath"; then
  23347. - # We should set the runpath_var.
  23348. - rpath=
  23349. - for dir in $perm_rpath; do
  23350. - rpath="$rpath$dir:"
  23351. - done
  23352. - compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
  23353. - fi
  23354. - if test -n "$finalize_perm_rpath"; then
  23355. - # We should set the runpath_var.
  23356. - rpath=
  23357. - for dir in $finalize_perm_rpath; do
  23358. - rpath="$rpath$dir:"
  23359. - done
  23360. - finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
  23361. - fi
  23362. - fi
  23363. + -dlopen)
  23364. + prev=dlfiles
  23365. + continue
  23366. + ;;
  23367. - if test "$no_install" = yes; then
  23368. - # We don't need to create a wrapper script.
  23369. - link_command="$compile_var$compile_command$compile_rpath"
  23370. - # Replace the output file specification.
  23371. - link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  23372. - # Delete the old output file.
  23373. - $run $rm $output
  23374. - # Link the executable and exit
  23375. - $show "$link_command"
  23376. - $run eval "$link_command" || exit $?
  23377. - exit $EXIT_SUCCESS
  23378. - fi
  23379. + -dlpreopen)
  23380. + prev=dlprefiles
  23381. + continue
  23382. + ;;
  23383. - if test "$hardcode_action" = relink; then
  23384. - # Fast installation is not supported
  23385. - link_command="$compile_var$compile_command$compile_rpath"
  23386. - relink_command="$finalize_var$finalize_command$finalize_rpath"
  23387. + -export-dynamic)
  23388. + export_dynamic=yes
  23389. + continue
  23390. + ;;
  23391. - $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
  23392. - $echo "$modename: \`$output' will be relinked during installation" 1>&2
  23393. - else
  23394. - if test "$fast_install" != no; then
  23395. - link_command="$finalize_var$compile_command$finalize_rpath"
  23396. - if test "$fast_install" = yes; then
  23397. - relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP`
  23398. - else
  23399. - # fast_install is set to needless
  23400. - relink_command=
  23401. - fi
  23402. + -export-symbols | -export-symbols-regex)
  23403. + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
  23404. + func_fatal_error "more than one -exported-symbols argument is not allowed"
  23405. + fi
  23406. + if test "X$arg" = "X-export-symbols"; then
  23407. + prev=expsyms
  23408. else
  23409. - link_command="$compile_var$compile_command$compile_rpath"
  23410. - relink_command="$finalize_var$finalize_command$finalize_rpath"
  23411. + prev=expsyms_regex
  23412. fi
  23413. - fi
  23414. -
  23415. - # Replace the output file specification.
  23416. - link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  23417. + continue
  23418. + ;;
  23419. - # Delete the old output files.
  23420. - $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
  23421. + -framework)
  23422. + prev=framework
  23423. + continue
  23424. + ;;
  23425. - $show "$link_command"
  23426. - $run eval "$link_command" || exit $?
  23427. + -inst-prefix-dir)
  23428. + prev=inst_prefix
  23429. + continue
  23430. + ;;
  23431. - # Now create the wrapper script.
  23432. - $show "creating $output"
  23433. + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
  23434. + # so, if we see these flags be careful not to treat them like -L
  23435. + -L[A-Z][A-Z]*:*)
  23436. + case $with_gcc/$host in
  23437. + no/*-*-irix* | /*-*-irix*)
  23438. + func_append compile_command " $arg"
  23439. + func_append finalize_command " $arg"
  23440. + ;;
  23441. + esac
  23442. + continue
  23443. + ;;
  23444. - # Quote the relink command for shipping.
  23445. - if test -n "$relink_command"; then
  23446. - # Preserve any variables that may affect compiler behavior
  23447. - for var in $variables_saved_for_relink; do
  23448. - if eval test -z \"\${$var+set}\"; then
  23449. - relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
  23450. - elif eval var_value=\$$var; test -z "$var_value"; then
  23451. - relink_command="$var=; export $var; $relink_command"
  23452. + -L*)
  23453. + func_stripname '-L' '' "$arg"
  23454. + dir=$func_stripname_result
  23455. + if test -z "$dir"; then
  23456. + if test "$#" -gt 0; then
  23457. + func_fatal_error "require no space between \`-L' and \`$1'"
  23458. else
  23459. - var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
  23460. - relink_command="$var=\"$var_value\"; export $var; $relink_command"
  23461. + func_fatal_error "need path for \`-L' option"
  23462. fi
  23463. - done
  23464. - relink_command="(cd `pwd`; $relink_command)"
  23465. - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
  23466. - fi
  23467. -
  23468. - # Quote $echo for shipping.
  23469. - if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
  23470. - case $progpath in
  23471. - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
  23472. - *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
  23473. + fi
  23474. + # We need an absolute path.
  23475. + case $dir in
  23476. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  23477. + *)
  23478. + absdir=`cd "$dir" && pwd`
  23479. + test -z "$absdir" && \
  23480. + func_fatal_error "cannot determine absolute directory name of \`$dir'"
  23481. + dir="$absdir"
  23482. + ;;
  23483. esac
  23484. - qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
  23485. - else
  23486. - qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
  23487. - fi
  23488. -
  23489. - # Only actually do things if our run command is non-null.
  23490. - if test -z "$run"; then
  23491. - # win32 will think the script is a binary if it has
  23492. - # a .exe suffix, so we strip it off here.
  23493. - case $output in
  23494. - *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
  23495. + case "$deplibs " in
  23496. + *" -L$dir "*) ;;
  23497. + *)
  23498. + deplibs="$deplibs -L$dir"
  23499. + lib_search_path="$lib_search_path $dir"
  23500. + ;;
  23501. esac
  23502. - # test for cygwin because mv fails w/o .exe extensions
  23503. case $host in
  23504. - *cygwin*)
  23505. - exeext=.exe
  23506. - outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
  23507. - *) exeext= ;;
  23508. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  23509. + testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
  23510. + case :$dllsearchpath: in
  23511. + *":$dir:"*) ;;
  23512. + ::) dllsearchpath=$dir;;
  23513. + *) dllsearchpath="$dllsearchpath:$dir";;
  23514. + esac
  23515. + case :$dllsearchpath: in
  23516. + *":$testbindir:"*) ;;
  23517. + ::) dllsearchpath=$testbindir;;
  23518. + *) dllsearchpath="$dllsearchpath:$testbindir";;
  23519. + esac
  23520. + ;;
  23521. esac
  23522. - case $host in
  23523. - *cygwin* | *mingw* )
  23524. - output_name=`basename $output`
  23525. - output_path=`dirname $output`
  23526. - cwrappersource="$output_path/$objdir/lt-$output_name.c"
  23527. - cwrapper="$output_path/$output_name.exe"
  23528. - $rm $cwrappersource $cwrapper
  23529. - trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
  23530. -
  23531. - cat > $cwrappersource <<EOF
  23532. -
  23533. -/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
  23534. - Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
  23535. -
  23536. - The $output program cannot be directly executed until all the libtool
  23537. - libraries that it depends on are installed.
  23538. -
  23539. - This wrapper executable should never be moved out of the build directory.
  23540. - If it is, it will not operate correctly.
  23541. + continue
  23542. + ;;
  23543. - Currently, it simply execs the wrapper *script* "/bin/sh $output",
  23544. - but could eventually absorb all of the scripts functionality and
  23545. - exec $objdir/$outputname directly.
  23546. -*/
  23547. -EOF
  23548. - cat >> $cwrappersource<<"EOF"
  23549. -#include <stdio.h>
  23550. -#include <stdlib.h>
  23551. -#include <unistd.h>
  23552. -#include <malloc.h>
  23553. -#include <stdarg.h>
  23554. -#include <assert.h>
  23555. -#include <string.h>
  23556. -#include <ctype.h>
  23557. -#include <sys/stat.h>
  23558. + -l*)
  23559. + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
  23560. + case $host in
  23561. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
  23562. + # These systems don't actually have a C or math library (as such)
  23563. + continue
  23564. + ;;
  23565. + *-*-os2*)
  23566. + # These systems don't actually have a C library (as such)
  23567. + test "X$arg" = "X-lc" && continue
  23568. + ;;
  23569. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  23570. + # Do not include libc due to us having libc/libc_r.
  23571. + test "X$arg" = "X-lc" && continue
  23572. + ;;
  23573. + *-*-rhapsody* | *-*-darwin1.[012])
  23574. + # Rhapsody C and math libraries are in the System framework
  23575. + deplibs="$deplibs System.ltframework"
  23576. + continue
  23577. + ;;
  23578. + *-*-sco3.2v5* | *-*-sco5v6*)
  23579. + # Causes problems with __ctype
  23580. + test "X$arg" = "X-lc" && continue
  23581. + ;;
  23582. + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  23583. + # Compiler inserts libc in the correct place for threads to work
  23584. + test "X$arg" = "X-lc" && continue
  23585. + ;;
  23586. + esac
  23587. + elif test "X$arg" = "X-lc_r"; then
  23588. + case $host in
  23589. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  23590. + # Do not include libc_r directly, use -pthread flag.
  23591. + continue
  23592. + ;;
  23593. + esac
  23594. + fi
  23595. + deplibs="$deplibs $arg"
  23596. + continue
  23597. + ;;
  23598. -#if defined(PATH_MAX)
  23599. -# define LT_PATHMAX PATH_MAX
  23600. -#elif defined(MAXPATHLEN)
  23601. -# define LT_PATHMAX MAXPATHLEN
  23602. -#else
  23603. -# define LT_PATHMAX 1024
  23604. -#endif
  23605. + -module)
  23606. + module=yes
  23607. + continue
  23608. + ;;
  23609. -#ifndef DIR_SEPARATOR
  23610. -# define DIR_SEPARATOR '/'
  23611. -# define PATH_SEPARATOR ':'
  23612. -#endif
  23613. + # Tru64 UNIX uses -model [arg] to determine the layout of C++
  23614. + # classes, name mangling, and exception handling.
  23615. + # Darwin uses the -arch flag to determine output architecture.
  23616. + -model|-arch|-isysroot)
  23617. + compiler_flags="$compiler_flags $arg"
  23618. + func_append compile_command " $arg"
  23619. + func_append finalize_command " $arg"
  23620. + prev=xcompiler
  23621. + continue
  23622. + ;;
  23623. -#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
  23624. - defined (__OS2__)
  23625. -# define HAVE_DOS_BASED_FILE_SYSTEM
  23626. -# ifndef DIR_SEPARATOR_2
  23627. -# define DIR_SEPARATOR_2 '\\'
  23628. -# endif
  23629. -# ifndef PATH_SEPARATOR_2
  23630. -# define PATH_SEPARATOR_2 ';'
  23631. -# endif
  23632. -#endif
  23633. + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  23634. + compiler_flags="$compiler_flags $arg"
  23635. + func_append compile_command " $arg"
  23636. + func_append finalize_command " $arg"
  23637. + case "$new_inherited_linker_flags " in
  23638. + *" $arg "*) ;;
  23639. + * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;;
  23640. + esac
  23641. + continue
  23642. + ;;
  23643. -#ifndef DIR_SEPARATOR_2
  23644. -# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
  23645. -#else /* DIR_SEPARATOR_2 */
  23646. -# define IS_DIR_SEPARATOR(ch) \
  23647. - (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
  23648. -#endif /* DIR_SEPARATOR_2 */
  23649. + -multi_module)
  23650. + single_module="${wl}-multi_module"
  23651. + continue
  23652. + ;;
  23653. -#ifndef PATH_SEPARATOR_2
  23654. -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
  23655. -#else /* PATH_SEPARATOR_2 */
  23656. -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
  23657. -#endif /* PATH_SEPARATOR_2 */
  23658. + -no-fast-install)
  23659. + fast_install=no
  23660. + continue
  23661. + ;;
  23662. -#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
  23663. -#define XFREE(stale) do { \
  23664. - if (stale) { free ((void *) stale); stale = 0; } \
  23665. -} while (0)
  23666. + -no-install)
  23667. + case $host in
  23668. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
  23669. + # The PATH hackery in wrapper scripts is required on Windows
  23670. + # and Darwin in order for the loader to find any dlls it needs.
  23671. + func_warning "\`-no-install' is ignored for $host"
  23672. + func_warning "assuming \`-no-fast-install' instead"
  23673. + fast_install=no
  23674. + ;;
  23675. + *) no_install=yes ;;
  23676. + esac
  23677. + continue
  23678. + ;;
  23679. -/* -DDEBUG is fairly common in CFLAGS. */
  23680. -#undef DEBUG
  23681. -#if defined DEBUGWRAPPER
  23682. -# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
  23683. -#else
  23684. -# define DEBUG(format, ...)
  23685. -#endif
  23686. + -no-undefined)
  23687. + allow_undefined=no
  23688. + continue
  23689. + ;;
  23690. -const char *program_name = NULL;
  23691. + -objectlist)
  23692. + prev=objectlist
  23693. + continue
  23694. + ;;
  23695. -void * xmalloc (size_t num);
  23696. -char * xstrdup (const char *string);
  23697. -const char * base_name (const char *name);
  23698. -char * find_executable(const char *wrapper);
  23699. -int check_executable(const char *path);
  23700. -char * strendzap(char *str, const char *pat);
  23701. -void lt_fatal (const char *message, ...);
  23702. + -o) prev=output ;;
  23703. -int
  23704. -main (int argc, char *argv[])
  23705. -{
  23706. - char **newargz;
  23707. - int i;
  23708. + -precious-files-regex)
  23709. + prev=precious_regex
  23710. + continue
  23711. + ;;
  23712. - program_name = (char *) xstrdup (base_name (argv[0]));
  23713. - DEBUG("(main) argv[0] : %s\n",argv[0]);
  23714. - DEBUG("(main) program_name : %s\n",program_name);
  23715. - newargz = XMALLOC(char *, argc+2);
  23716. -EOF
  23717. + -release)
  23718. + prev=release
  23719. + continue
  23720. + ;;
  23721. - cat >> $cwrappersource <<EOF
  23722. - newargz[0] = (char *) xstrdup("$SHELL");
  23723. -EOF
  23724. + -rpath)
  23725. + prev=rpath
  23726. + continue
  23727. + ;;
  23728. - cat >> $cwrappersource <<"EOF"
  23729. - newargz[1] = find_executable(argv[0]);
  23730. - if (newargz[1] == NULL)
  23731. - lt_fatal("Couldn't find %s", argv[0]);
  23732. - DEBUG("(main) found exe at : %s\n",newargz[1]);
  23733. - /* we know the script has the same name, without the .exe */
  23734. - /* so make sure newargz[1] doesn't end in .exe */
  23735. - strendzap(newargz[1],".exe");
  23736. - for (i = 1; i < argc; i++)
  23737. - newargz[i+1] = xstrdup(argv[i]);
  23738. - newargz[argc+1] = NULL;
  23739. + -R)
  23740. + prev=xrpath
  23741. + continue
  23742. + ;;
  23743. - for (i=0; i<argc+1; i++)
  23744. - {
  23745. - DEBUG("(main) newargz[%d] : %s\n",i,newargz[i]);
  23746. - ;
  23747. - }
  23748. + -R*)
  23749. + func_stripname '-R' '' "$arg"
  23750. + dir=$func_stripname_result
  23751. + # We need an absolute path.
  23752. + case $dir in
  23753. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  23754. + *)
  23755. + func_fatal_error "only absolute run-paths are allowed"
  23756. + ;;
  23757. + esac
  23758. + case "$xrpath " in
  23759. + *" $dir "*) ;;
  23760. + *) xrpath="$xrpath $dir" ;;
  23761. + esac
  23762. + continue
  23763. + ;;
  23764. -EOF
  23765. + -shared)
  23766. + # The effects of -shared are defined in a previous loop.
  23767. + continue
  23768. + ;;
  23769. - case $host_os in
  23770. - mingw*)
  23771. - cat >> $cwrappersource <<EOF
  23772. - execv("$SHELL",(char const **)newargz);
  23773. -EOF
  23774. - ;;
  23775. - *)
  23776. - cat >> $cwrappersource <<EOF
  23777. - execv("$SHELL",newargz);
  23778. -EOF
  23779. - ;;
  23780. - esac
  23781. + -shrext)
  23782. + prev=shrext
  23783. + continue
  23784. + ;;
  23785. - cat >> $cwrappersource <<"EOF"
  23786. - return 127;
  23787. -}
  23788. + -static | -static-libtool-libs)
  23789. + # The effects of -static are defined in a previous loop.
  23790. + # We used to do the same as -all-static on platforms that
  23791. + # didn't have a PIC flag, but the assumption that the effects
  23792. + # would be equivalent was wrong. It would break on at least
  23793. + # Digital Unix and AIX.
  23794. + continue
  23795. + ;;
  23796. -void *
  23797. -xmalloc (size_t num)
  23798. -{
  23799. - void * p = (void *) malloc (num);
  23800. - if (!p)
  23801. - lt_fatal ("Memory exhausted");
  23802. + -thread-safe)
  23803. + thread_safe=yes
  23804. + continue
  23805. + ;;
  23806. - return p;
  23807. -}
  23808. + -version-info)
  23809. + prev=vinfo
  23810. + continue
  23811. + ;;
  23812. -char *
  23813. -xstrdup (const char *string)
  23814. -{
  23815. - return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
  23816. -;
  23817. -}
  23818. + -version-number)
  23819. + prev=vinfo
  23820. + vinfo_number=yes
  23821. + continue
  23822. + ;;
  23823. -const char *
  23824. -base_name (const char *name)
  23825. -{
  23826. - const char *base;
  23827. + -weak)
  23828. + prev=weak
  23829. + continue
  23830. + ;;
  23831. -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  23832. - /* Skip over the disk name in MSDOS pathnames. */
  23833. - if (isalpha ((unsigned char)name[0]) && name[1] == ':')
  23834. - name += 2;
  23835. -#endif
  23836. + -Wc,*)
  23837. + func_stripname '-Wc,' '' "$arg"
  23838. + args=$func_stripname_result
  23839. + arg=
  23840. + save_ifs="$IFS"; IFS=','
  23841. + for flag in $args; do
  23842. + IFS="$save_ifs"
  23843. + func_quote_for_eval "$flag"
  23844. + arg="$arg $wl$func_quote_for_eval_result"
  23845. + compiler_flags="$compiler_flags $func_quote_for_eval_result"
  23846. + done
  23847. + IFS="$save_ifs"
  23848. + func_stripname ' ' '' "$arg"
  23849. + arg=$func_stripname_result
  23850. + ;;
  23851. - for (base = name; *name; name++)
  23852. - if (IS_DIR_SEPARATOR (*name))
  23853. - base = name + 1;
  23854. - return base;
  23855. -}
  23856. + -Wl,*)
  23857. + func_stripname '-Wl,' '' "$arg"
  23858. + args=$func_stripname_result
  23859. + arg=
  23860. + save_ifs="$IFS"; IFS=','
  23861. + for flag in $args; do
  23862. + IFS="$save_ifs"
  23863. + func_quote_for_eval "$flag"
  23864. + arg="$arg $wl$func_quote_for_eval_result"
  23865. + compiler_flags="$compiler_flags $wl$func_quote_for_eval_result"
  23866. + linker_flags="$linker_flags $func_quote_for_eval_result"
  23867. + done
  23868. + IFS="$save_ifs"
  23869. + func_stripname ' ' '' "$arg"
  23870. + arg=$func_stripname_result
  23871. + ;;
  23872. -int
  23873. -check_executable(const char * path)
  23874. -{
  23875. - struct stat st;
  23876. + -Xcompiler)
  23877. + prev=xcompiler
  23878. + continue
  23879. + ;;
  23880. - DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
  23881. - if ((!path) || (!*path))
  23882. - return 0;
  23883. + -Xlinker)
  23884. + prev=xlinker
  23885. + continue
  23886. + ;;
  23887. - if ((stat (path, &st) >= 0) &&
  23888. - (
  23889. - /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
  23890. -#if defined (S_IXOTH)
  23891. - ((st.st_mode & S_IXOTH) == S_IXOTH) ||
  23892. -#endif
  23893. -#if defined (S_IXGRP)
  23894. - ((st.st_mode & S_IXGRP) == S_IXGRP) ||
  23895. -#endif
  23896. - ((st.st_mode & S_IXUSR) == S_IXUSR))
  23897. - )
  23898. - return 1;
  23899. - else
  23900. - return 0;
  23901. -}
  23902. + -XCClinker)
  23903. + prev=xcclinker
  23904. + continue
  23905. + ;;
  23906. -/* Searches for the full path of the wrapper. Returns
  23907. - newly allocated full path name if found, NULL otherwise */
  23908. -char *
  23909. -find_executable (const char* wrapper)
  23910. -{
  23911. - int has_slash = 0;
  23912. - const char* p;
  23913. - const char* p_next;
  23914. - /* static buffer for getcwd */
  23915. - char tmp[LT_PATHMAX + 1];
  23916. - int tmp_len;
  23917. - char* concat_name;
  23918. + # -msg_* for osf cc
  23919. + -msg_*)
  23920. + func_quote_for_eval "$arg"
  23921. + arg="$func_quote_for_eval_result"
  23922. + ;;
  23923. - DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
  23924. + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
  23925. + # -r[0-9][0-9]* specifies the processor on the SGI compiler
  23926. + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
  23927. + # +DA*, +DD* enable 64-bit mode on the HP compiler
  23928. + # -q* pass through compiler args for the IBM compiler
  23929. + # -m*, -t[45]*, -txscale* pass through architecture-specific
  23930. + # compiler args for GCC
  23931. + # -F/path gives path to uninstalled frameworks, gcc on darwin
  23932. + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
  23933. + # @file GCC response files
  23934. + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
  23935. + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
  23936. + func_quote_for_eval "$arg"
  23937. + arg="$func_quote_for_eval_result"
  23938. + func_append compile_command " $arg"
  23939. + func_append finalize_command " $arg"
  23940. + compiler_flags="$compiler_flags $arg"
  23941. + continue
  23942. + ;;
  23943. - if ((wrapper == NULL) || (*wrapper == '\0'))
  23944. - return NULL;
  23945. + # Some other compiler flag.
  23946. + -* | +*)
  23947. + func_quote_for_eval "$arg"
  23948. + arg="$func_quote_for_eval_result"
  23949. + ;;
  23950. - /* Absolute path? */
  23951. -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  23952. - if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
  23953. - {
  23954. - concat_name = xstrdup (wrapper);
  23955. - if (check_executable(concat_name))
  23956. - return concat_name;
  23957. - XFREE(concat_name);
  23958. - }
  23959. - else
  23960. - {
  23961. -#endif
  23962. - if (IS_DIR_SEPARATOR (wrapper[0]))
  23963. - {
  23964. - concat_name = xstrdup (wrapper);
  23965. - if (check_executable(concat_name))
  23966. - return concat_name;
  23967. - XFREE(concat_name);
  23968. - }
  23969. -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  23970. - }
  23971. -#endif
  23972. + *.$objext)
  23973. + # A standard object.
  23974. + objs="$objs $arg"
  23975. + ;;
  23976. - for (p = wrapper; *p; p++)
  23977. - if (*p == '/')
  23978. - {
  23979. - has_slash = 1;
  23980. - break;
  23981. - }
  23982. - if (!has_slash)
  23983. - {
  23984. - /* no slashes; search PATH */
  23985. - const char* path = getenv ("PATH");
  23986. - if (path != NULL)
  23987. - {
  23988. - for (p = path; *p; p = p_next)
  23989. - {
  23990. - const char* q;
  23991. - size_t p_len;
  23992. - for (q = p; *q; q++)
  23993. - if (IS_PATH_SEPARATOR(*q))
  23994. - break;
  23995. - p_len = q - p;
  23996. - p_next = (*q == '\0' ? q : q + 1);
  23997. - if (p_len == 0)
  23998. - {
  23999. - /* empty path: current directory */
  24000. - if (getcwd (tmp, LT_PATHMAX) == NULL)
  24001. - lt_fatal ("getcwd failed");
  24002. - tmp_len = strlen(tmp);
  24003. - concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
  24004. - memcpy (concat_name, tmp, tmp_len);
  24005. - concat_name[tmp_len] = '/';
  24006. - strcpy (concat_name + tmp_len + 1, wrapper);
  24007. - }
  24008. - else
  24009. - {
  24010. - concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
  24011. - memcpy (concat_name, p, p_len);
  24012. - concat_name[p_len] = '/';
  24013. - strcpy (concat_name + p_len + 1, wrapper);
  24014. - }
  24015. - if (check_executable(concat_name))
  24016. - return concat_name;
  24017. - XFREE(concat_name);
  24018. - }
  24019. - }
  24020. - /* not found in PATH; assume curdir */
  24021. - }
  24022. - /* Relative path | not found in path: prepend cwd */
  24023. - if (getcwd (tmp, LT_PATHMAX) == NULL)
  24024. - lt_fatal ("getcwd failed");
  24025. - tmp_len = strlen(tmp);
  24026. - concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
  24027. - memcpy (concat_name, tmp, tmp_len);
  24028. - concat_name[tmp_len] = '/';
  24029. - strcpy (concat_name + tmp_len + 1, wrapper);
  24030. + *.lo)
  24031. + # A libtool-controlled object.
  24032. - if (check_executable(concat_name))
  24033. - return concat_name;
  24034. - XFREE(concat_name);
  24035. - return NULL;
  24036. -}
  24037. + # Check to see that this really is a libtool object.
  24038. + if func_lalib_unsafe_p "$arg"; then
  24039. + pic_object=
  24040. + non_pic_object=
  24041. -char *
  24042. -strendzap(char *str, const char *pat)
  24043. -{
  24044. - size_t len, patlen;
  24045. + # Read the .lo file
  24046. + func_source "$arg"
  24047. - assert(str != NULL);
  24048. - assert(pat != NULL);
  24049. + if test -z "$pic_object" ||
  24050. + test -z "$non_pic_object" ||
  24051. + test "$pic_object" = none &&
  24052. + test "$non_pic_object" = none; then
  24053. + func_fatal_error "cannot find name of object for \`$arg'"
  24054. + fi
  24055. - len = strlen(str);
  24056. - patlen = strlen(pat);
  24057. + # Extract subdirectory from the argument.
  24058. + func_dirname "$arg" "/" ""
  24059. + xdir="$func_dirname_result"
  24060. - if (patlen <= len)
  24061. - {
  24062. - str += len - patlen;
  24063. - if (strcmp(str, pat) == 0)
  24064. - *str = '\0';
  24065. - }
  24066. - return str;
  24067. -}
  24068. + if test "$pic_object" != none; then
  24069. + # Prepend the subdirectory the object is found in.
  24070. + pic_object="$xdir$pic_object"
  24071. -static void
  24072. -lt_error_core (int exit_status, const char * mode,
  24073. - const char * message, va_list ap)
  24074. -{
  24075. - fprintf (stderr, "%s: %s: ", program_name, mode);
  24076. - vfprintf (stderr, message, ap);
  24077. - fprintf (stderr, ".\n");
  24078. + if test "$prev" = dlfiles; then
  24079. + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  24080. + dlfiles="$dlfiles $pic_object"
  24081. + prev=
  24082. + continue
  24083. + else
  24084. + # If libtool objects are unsupported, then we need to preload.
  24085. + prev=dlprefiles
  24086. + fi
  24087. + fi
  24088. - if (exit_status >= 0)
  24089. - exit (exit_status);
  24090. -}
  24091. + # CHECK ME: I think I busted this. -Ossama
  24092. + if test "$prev" = dlprefiles; then
  24093. + # Preload the old-style object.
  24094. + dlprefiles="$dlprefiles $pic_object"
  24095. + prev=
  24096. + fi
  24097. -void
  24098. -lt_fatal (const char *message, ...)
  24099. -{
  24100. - va_list ap;
  24101. - va_start (ap, message);
  24102. - lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
  24103. - va_end (ap);
  24104. -}
  24105. -EOF
  24106. - # we should really use a build-platform specific compiler
  24107. - # here, but OTOH, the wrappers (shell script and this C one)
  24108. - # are only useful if you want to execute the "real" binary.
  24109. - # Since the "real" binary is built for $host, then this
  24110. - # wrapper might as well be built for $host, too.
  24111. - $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
  24112. - ;;
  24113. - esac
  24114. - $rm $output
  24115. - trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
  24116. + # A PIC object.
  24117. + func_append libobjs " $pic_object"
  24118. + arg="$pic_object"
  24119. + fi
  24120. - $echo > $output "\
  24121. -#! $SHELL
  24122. + # Non-PIC object.
  24123. + if test "$non_pic_object" != none; then
  24124. + # Prepend the subdirectory the object is found in.
  24125. + non_pic_object="$xdir$non_pic_object"
  24126. -# $output - temporary wrapper script for $objdir/$outputname
  24127. -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
  24128. -#
  24129. -# The $output program cannot be directly executed until all the libtool
  24130. -# libraries that it depends on are installed.
  24131. -#
  24132. -# This wrapper script should never be moved out of the build directory.
  24133. -# If it is, it will not operate correctly.
  24134. + # A standard non-PIC object
  24135. + func_append non_pic_objects " $non_pic_object"
  24136. + if test -z "$pic_object" || test "$pic_object" = none ; then
  24137. + arg="$non_pic_object"
  24138. + fi
  24139. + else
  24140. + # If the PIC object exists, use it instead.
  24141. + # $xdir was prepended to $pic_object above.
  24142. + non_pic_object="$pic_object"
  24143. + func_append non_pic_objects " $non_pic_object"
  24144. + fi
  24145. + else
  24146. + # Only an error if not doing a dry-run.
  24147. + if $opt_dry_run; then
  24148. + # Extract subdirectory from the argument.
  24149. + func_dirname "$arg" "/" ""
  24150. + xdir="$func_dirname_result"
  24151. -# Sed substitution that helps us do robust quoting. It backslashifies
  24152. -# metacharacters that are still active within double-quoted strings.
  24153. -Xsed='${SED} -e 1s/^X//'
  24154. -sed_quote_subst='$sed_quote_subst'
  24155. + func_lo2o "$arg"
  24156. + pic_object=$xdir$objdir/$func_lo2o_result
  24157. + non_pic_object=$xdir$func_lo2o_result
  24158. + func_append libobjs " $pic_object"
  24159. + func_append non_pic_objects " $non_pic_object"
  24160. + else
  24161. + func_fatal_error "\`$arg' is not a valid libtool object"
  24162. + fi
  24163. + fi
  24164. + ;;
  24165. -# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
  24166. -if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
  24167. - emulate sh
  24168. - NULLCMD=:
  24169. - # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
  24170. - # is contrary to our usage. Disable this feature.
  24171. - alias -g '\${1+\"\$@\"}'='\"\$@\"'
  24172. - setopt NO_GLOB_SUBST
  24173. -else
  24174. - case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
  24175. -fi
  24176. -BIN_SH=xpg4; export BIN_SH # for Tru64
  24177. -DUALCASE=1; export DUALCASE # for MKS sh
  24178. + *.$libext)
  24179. + # An archive.
  24180. + deplibs="$deplibs $arg"
  24181. + old_deplibs="$old_deplibs $arg"
  24182. + continue
  24183. + ;;
  24184. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  24185. -# if CDPATH is set.
  24186. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  24187. + *.la)
  24188. + # A libtool-controlled library.
  24189. -relink_command=\"$relink_command\"
  24190. + if test "$prev" = dlfiles; then
  24191. + # This library was specified with -dlopen.
  24192. + dlfiles="$dlfiles $arg"
  24193. + prev=
  24194. + elif test "$prev" = dlprefiles; then
  24195. + # The library was specified with -dlpreopen.
  24196. + dlprefiles="$dlprefiles $arg"
  24197. + prev=
  24198. + else
  24199. + deplibs="$deplibs $arg"
  24200. + fi
  24201. + continue
  24202. + ;;
  24203. -# This environment variable determines our operation mode.
  24204. -if test \"\$libtool_install_magic\" = \"$magic\"; then
  24205. - # install mode needs the following variable:
  24206. - notinst_deplibs='$notinst_deplibs'
  24207. -else
  24208. - # When we are sourced in execute mode, \$file and \$echo are already set.
  24209. - if test \"\$libtool_execute_magic\" != \"$magic\"; then
  24210. - echo=\"$qecho\"
  24211. - file=\"\$0\"
  24212. - # Make sure echo works.
  24213. - if test \"X\$1\" = X--no-reexec; then
  24214. - # Discard the --no-reexec flag, and continue.
  24215. - shift
  24216. - elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then
  24217. - # Yippee, \$echo works!
  24218. - :
  24219. - else
  24220. - # Restart under the correct shell, and then maybe \$echo will work.
  24221. - exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
  24222. - fi
  24223. - fi\
  24224. -"
  24225. - $echo >> $output "\
  24226. + # Some other compiler argument.
  24227. + *)
  24228. + # Unknown arguments in both finalize_command and compile_command need
  24229. + # to be aesthetically quoted because they are evaled later.
  24230. + func_quote_for_eval "$arg"
  24231. + arg="$func_quote_for_eval_result"
  24232. + ;;
  24233. + esac # arg
  24234. - # Find the directory that this script lives in.
  24235. - thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
  24236. - test \"x\$thisdir\" = \"x\$file\" && thisdir=.
  24237. + # Now actually substitute the argument into the commands.
  24238. + if test -n "$arg"; then
  24239. + func_append compile_command " $arg"
  24240. + func_append finalize_command " $arg"
  24241. + fi
  24242. + done # argument parsing loop
  24243. - # Follow symbolic links until we get to the real thisdir.
  24244. - file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
  24245. - while test -n \"\$file\"; do
  24246. - destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
  24247. + test -n "$prev" && \
  24248. + func_fatal_help "the \`$prevarg' option requires an argument"
  24249. - # If there was a directory component, then change thisdir.
  24250. - if test \"x\$destdir\" != \"x\$file\"; then
  24251. - case \"\$destdir\" in
  24252. - [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
  24253. - *) thisdir=\"\$thisdir/\$destdir\" ;;
  24254. - esac
  24255. + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
  24256. + eval arg=\"$export_dynamic_flag_spec\"
  24257. + func_append compile_command " $arg"
  24258. + func_append finalize_command " $arg"
  24259. fi
  24260. - file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
  24261. - file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
  24262. - done
  24263. + oldlibs=
  24264. + # calculate the name of the file, without its directory
  24265. + func_basename "$output"
  24266. + outputname="$func_basename_result"
  24267. + libobjs_save="$libobjs"
  24268. - # Try to get the absolute directory name.
  24269. - absdir=\`cd \"\$thisdir\" && pwd\`
  24270. - test -n \"\$absdir\" && thisdir=\"\$absdir\"
  24271. -"
  24272. + if test -n "$shlibpath_var"; then
  24273. + # get the directories listed in $shlibpath_var
  24274. + eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
  24275. + else
  24276. + shlib_search_path=
  24277. + fi
  24278. + eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
  24279. + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
  24280. +
  24281. + func_dirname "$output" "/" ""
  24282. + output_objdir="$func_dirname_result$objdir"
  24283. + # Create the object directory.
  24284. + func_mkdir_p "$output_objdir"
  24285. +
  24286. + # Determine the type of output
  24287. + case $output in
  24288. + "")
  24289. + func_fatal_help "you must specify an output file"
  24290. + ;;
  24291. + *.$libext) linkmode=oldlib ;;
  24292. + *.lo | *.$objext) linkmode=obj ;;
  24293. + *.la) linkmode=lib ;;
  24294. + *) linkmode=prog ;; # Anything else should be a program.
  24295. + esac
  24296. +
  24297. + specialdeplibs=
  24298. +
  24299. + libs=
  24300. + # Find all interdependent deplibs by searching for libraries
  24301. + # that are linked more than once (e.g. -la -lb -la)
  24302. + for deplib in $deplibs; do
  24303. + if $opt_duplicate_deps ; then
  24304. + case "$libs " in
  24305. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  24306. + esac
  24307. + fi
  24308. + libs="$libs $deplib"
  24309. + done
  24310. +
  24311. + if test "$linkmode" = lib; then
  24312. + libs="$predeps $libs $compiler_lib_search_path $postdeps"
  24313. +
  24314. + # Compute libraries that are listed more than once in $predeps
  24315. + # $postdeps and mark them as special (i.e., whose duplicates are
  24316. + # not to be eliminated).
  24317. + pre_post_deps=
  24318. + if $opt_duplicate_compiler_generated_deps; then
  24319. + for pre_post_dep in $predeps $postdeps; do
  24320. + case "$pre_post_deps " in
  24321. + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
  24322. + esac
  24323. + pre_post_deps="$pre_post_deps $pre_post_dep"
  24324. + done
  24325. + fi
  24326. + pre_post_deps=
  24327. + fi
  24328. +
  24329. + deplibs=
  24330. + newdependency_libs=
  24331. + newlib_search_path=
  24332. + need_relink=no # whether we're linking any uninstalled libtool libraries
  24333. + notinst_deplibs= # not-installed libtool libraries
  24334. + notinst_path= # paths that contain not-installed libtool libraries
  24335. +
  24336. + case $linkmode in
  24337. + lib)
  24338. + passes="conv dlpreopen link"
  24339. + for file in $dlfiles $dlprefiles; do
  24340. + case $file in
  24341. + *.la) ;;
  24342. + *)
  24343. + func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file"
  24344. + ;;
  24345. + esac
  24346. + done
  24347. + ;;
  24348. + prog)
  24349. + compile_deplibs=
  24350. + finalize_deplibs=
  24351. + alldeplibs=no
  24352. + newdlfiles=
  24353. + newdlprefiles=
  24354. + passes="conv scan dlopen dlpreopen link"
  24355. + ;;
  24356. + *) passes="conv"
  24357. + ;;
  24358. + esac
  24359. +
  24360. + for pass in $passes; do
  24361. + # The preopen pass in lib mode reverses $deplibs; put it back here
  24362. + # so that -L comes before libs that need it for instance...
  24363. + if test "$linkmode,$pass" = "lib,link"; then
  24364. + ## FIXME: Find the place where the list is rebuilt in the wrong
  24365. + ## order, and fix it there properly
  24366. + tmp_deplibs=
  24367. + for deplib in $deplibs; do
  24368. + tmp_deplibs="$deplib $tmp_deplibs"
  24369. + done
  24370. + deplibs="$tmp_deplibs"
  24371. + fi
  24372. +
  24373. + if test "$linkmode,$pass" = "lib,link" ||
  24374. + test "$linkmode,$pass" = "prog,scan"; then
  24375. + libs="$deplibs"
  24376. + deplibs=
  24377. + fi
  24378. + if test "$linkmode" = prog; then
  24379. + case $pass in
  24380. + dlopen) libs="$dlfiles" ;;
  24381. + dlpreopen) libs="$dlprefiles" ;;
  24382. + link)
  24383. + libs="$deplibs %DEPLIBS%"
  24384. + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
  24385. + ;;
  24386. + esac
  24387. + fi
  24388. + if test "$linkmode,$pass" = "lib,dlpreopen"; then
  24389. + # Collect and forward deplibs of preopened libtool libs
  24390. + for lib in $dlprefiles; do
  24391. + # Ignore non-libtool-libs
  24392. + dependency_libs=
  24393. + case $lib in
  24394. + *.la) func_source "$lib" ;;
  24395. + esac
  24396. +
  24397. + # Collect preopened libtool deplibs, except any this library
  24398. + # has declared as weak libs
  24399. + for deplib in $dependency_libs; do
  24400. + deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
  24401. + case " $weak_libs " in
  24402. + *" $deplib_base "*) ;;
  24403. + *) deplibs="$deplibs $deplib" ;;
  24404. + esac
  24405. + done
  24406. + done
  24407. + libs="$dlprefiles"
  24408. + fi
  24409. + if test "$pass" = dlopen; then
  24410. + # Collect dlpreopened libraries
  24411. + save_deplibs="$deplibs"
  24412. + deplibs=
  24413. + fi
  24414. +
  24415. + for deplib in $libs; do
  24416. + lib=
  24417. + found=no
  24418. + case $deplib in
  24419. + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  24420. + if test "$linkmode,$pass" = "prog,link"; then
  24421. + compile_deplibs="$deplib $compile_deplibs"
  24422. + finalize_deplibs="$deplib $finalize_deplibs"
  24423. + else
  24424. + compiler_flags="$compiler_flags $deplib"
  24425. + if test "$linkmode" = lib ; then
  24426. + case "$new_inherited_linker_flags " in
  24427. + *" $deplib "*) ;;
  24428. + * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
  24429. + esac
  24430. + fi
  24431. + fi
  24432. + continue
  24433. + ;;
  24434. + -l*)
  24435. + if test "$linkmode" != lib && test "$linkmode" != prog; then
  24436. + func_warning "\`-l' is ignored for archives/objects"
  24437. + continue
  24438. + fi
  24439. + func_stripname '-l' '' "$deplib"
  24440. + name=$func_stripname_result
  24441. + if test "$linkmode" = lib; then
  24442. + searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
  24443. + else
  24444. + searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
  24445. + fi
  24446. + for searchdir in $searchdirs; do
  24447. + for search_ext in .la $std_shrext .so .a; do
  24448. + # Search the libtool library
  24449. + lib="$searchdir/lib${name}${search_ext}"
  24450. + if test -f "$lib"; then
  24451. + if test "$search_ext" = ".la"; then
  24452. + found=yes
  24453. + else
  24454. + found=no
  24455. + fi
  24456. + break 2
  24457. + fi
  24458. + done
  24459. + done
  24460. + if test "$found" != yes; then
  24461. + # deplib doesn't seem to be a libtool library
  24462. + if test "$linkmode,$pass" = "prog,link"; then
  24463. + compile_deplibs="$deplib $compile_deplibs"
  24464. + finalize_deplibs="$deplib $finalize_deplibs"
  24465. + else
  24466. + deplibs="$deplib $deplibs"
  24467. + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  24468. + fi
  24469. + continue
  24470. + else # deplib is a libtool library
  24471. + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
  24472. + # We need to do some special things here, and not later.
  24473. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  24474. + case " $predeps $postdeps " in
  24475. + *" $deplib "*)
  24476. + if func_lalib_p "$lib"; then
  24477. + library_names=
  24478. + old_library=
  24479. + func_source "$lib"
  24480. + for l in $old_library $library_names; do
  24481. + ll="$l"
  24482. + done
  24483. + if test "X$ll" = "X$old_library" ; then # only static version available
  24484. + found=no
  24485. + func_dirname "$lib" "" "."
  24486. + ladir="$func_dirname_result"
  24487. + lib=$ladir/$old_library
  24488. + if test "$linkmode,$pass" = "prog,link"; then
  24489. + compile_deplibs="$deplib $compile_deplibs"
  24490. + finalize_deplibs="$deplib $finalize_deplibs"
  24491. + else
  24492. + deplibs="$deplib $deplibs"
  24493. + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  24494. + fi
  24495. + continue
  24496. + fi
  24497. + fi
  24498. + ;;
  24499. + *) ;;
  24500. + esac
  24501. + fi
  24502. + fi
  24503. + ;; # -l
  24504. + *.ltframework)
  24505. + if test "$linkmode,$pass" = "prog,link"; then
  24506. + compile_deplibs="$deplib $compile_deplibs"
  24507. + finalize_deplibs="$deplib $finalize_deplibs"
  24508. + else
  24509. + deplibs="$deplib $deplibs"
  24510. + if test "$linkmode" = lib ; then
  24511. + case "$new_inherited_linker_flags " in
  24512. + *" $deplib "*) ;;
  24513. + * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
  24514. + esac
  24515. + fi
  24516. + fi
  24517. + continue
  24518. + ;;
  24519. + -L*)
  24520. + case $linkmode in
  24521. + lib)
  24522. + deplibs="$deplib $deplibs"
  24523. + test "$pass" = conv && continue
  24524. + newdependency_libs="$deplib $newdependency_libs"
  24525. + func_stripname '-L' '' "$deplib"
  24526. + newlib_search_path="$newlib_search_path $func_stripname_result"
  24527. + ;;
  24528. + prog)
  24529. + if test "$pass" = conv; then
  24530. + deplibs="$deplib $deplibs"
  24531. + continue
  24532. + fi
  24533. + if test "$pass" = scan; then
  24534. + deplibs="$deplib $deplibs"
  24535. + else
  24536. + compile_deplibs="$deplib $compile_deplibs"
  24537. + finalize_deplibs="$deplib $finalize_deplibs"
  24538. + fi
  24539. + func_stripname '-L' '' "$deplib"
  24540. + newlib_search_path="$newlib_search_path $func_stripname_result"
  24541. + ;;
  24542. + *)
  24543. + func_warning "\`-L' is ignored for archives/objects"
  24544. + ;;
  24545. + esac # linkmode
  24546. + continue
  24547. + ;; # -L
  24548. + -R*)
  24549. + if test "$pass" = link; then
  24550. + func_stripname '-R' '' "$deplib"
  24551. + dir=$func_stripname_result
  24552. + # Make sure the xrpath contains only unique directories.
  24553. + case "$xrpath " in
  24554. + *" $dir "*) ;;
  24555. + *) xrpath="$xrpath $dir" ;;
  24556. + esac
  24557. + fi
  24558. + deplibs="$deplib $deplibs"
  24559. + continue
  24560. + ;;
  24561. + *.la) lib="$deplib" ;;
  24562. + *.$libext)
  24563. + if test "$pass" = conv; then
  24564. + deplibs="$deplib $deplibs"
  24565. + continue
  24566. + fi
  24567. + case $linkmode in
  24568. + lib)
  24569. + # Linking convenience modules into shared libraries is allowed,
  24570. + # but linking other static libraries is non-portable.
  24571. + case " $dlpreconveniencelibs " in
  24572. + *" $deplib "*) ;;
  24573. + *)
  24574. + valid_a_lib=no
  24575. + case $deplibs_check_method in
  24576. + match_pattern*)
  24577. + set dummy $deplibs_check_method; shift
  24578. + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  24579. + if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
  24580. + | $EGREP "$match_pattern_regex" > /dev/null; then
  24581. + valid_a_lib=yes
  24582. + fi
  24583. + ;;
  24584. + pass_all)
  24585. + valid_a_lib=yes
  24586. + ;;
  24587. + esac
  24588. + if test "$valid_a_lib" != yes; then
  24589. + $ECHO
  24590. + $ECHO "*** Warning: Trying to link with static lib archive $deplib."
  24591. + $ECHO "*** I have the capability to make that library automatically link in when"
  24592. + $ECHO "*** you link to this library. But I can only do this if you have a"
  24593. + $ECHO "*** shared version of the library, which you do not appear to have"
  24594. + $ECHO "*** because the file extensions .$libext of this argument makes me believe"
  24595. + $ECHO "*** that it is just a static archive that I should not use here."
  24596. + else
  24597. + $ECHO
  24598. + $ECHO "*** Warning: Linking the shared library $output against the"
  24599. + $ECHO "*** static library $deplib is not portable!"
  24600. + deplibs="$deplib $deplibs"
  24601. + fi
  24602. + ;;
  24603. + esac
  24604. + continue
  24605. + ;;
  24606. + prog)
  24607. + if test "$pass" != link; then
  24608. + deplibs="$deplib $deplibs"
  24609. + else
  24610. + compile_deplibs="$deplib $compile_deplibs"
  24611. + finalize_deplibs="$deplib $finalize_deplibs"
  24612. + fi
  24613. + continue
  24614. + ;;
  24615. + esac # linkmode
  24616. + ;; # *.$libext
  24617. + *.lo | *.$objext)
  24618. + if test "$pass" = conv; then
  24619. + deplibs="$deplib $deplibs"
  24620. + elif test "$linkmode" = prog; then
  24621. + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
  24622. + # If there is no dlopen support or we're linking statically,
  24623. + # we need to preload.
  24624. + newdlprefiles="$newdlprefiles $deplib"
  24625. + compile_deplibs="$deplib $compile_deplibs"
  24626. + finalize_deplibs="$deplib $finalize_deplibs"
  24627. + else
  24628. + newdlfiles="$newdlfiles $deplib"
  24629. + fi
  24630. + fi
  24631. + continue
  24632. + ;;
  24633. + %DEPLIBS%)
  24634. + alldeplibs=yes
  24635. + continue
  24636. + ;;
  24637. + esac # case $deplib
  24638. +
  24639. + if test "$found" = yes || test -f "$lib"; then :
  24640. + else
  24641. + func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'"
  24642. + fi
  24643. +
  24644. + # Check to see that this really is a libtool archive.
  24645. + func_lalib_unsafe_p "$lib" \
  24646. + || func_fatal_error "\`$lib' is not a valid libtool archive"
  24647. +
  24648. + func_dirname "$lib" "" "."
  24649. + ladir="$func_dirname_result"
  24650. +
  24651. + dlname=
  24652. + dlopen=
  24653. + dlpreopen=
  24654. + libdir=
  24655. + library_names=
  24656. + old_library=
  24657. + inherited_linker_flags=
  24658. + # If the library was installed with an old release of libtool,
  24659. + # it will not redefine variables installed, or shouldnotlink
  24660. + installed=yes
  24661. + shouldnotlink=no
  24662. + avoidtemprpath=
  24663. +
  24664. +
  24665. + # Read the .la file
  24666. + func_source "$lib"
  24667. +
  24668. + # Convert "-framework foo" to "foo.ltframework"
  24669. + if test -n "$inherited_linker_flags"; then
  24670. + tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
  24671. + for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
  24672. + case " $new_inherited_linker_flags " in
  24673. + *" $tmp_inherited_linker_flag "*) ;;
  24674. + *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";;
  24675. + esac
  24676. + done
  24677. + fi
  24678. + dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  24679. + if test "$linkmode,$pass" = "lib,link" ||
  24680. + test "$linkmode,$pass" = "prog,scan" ||
  24681. + { test "$linkmode" != prog && test "$linkmode" != lib; }; then
  24682. + test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
  24683. + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
  24684. + fi
  24685. +
  24686. + if test "$pass" = conv; then
  24687. + # Only check for convenience libraries
  24688. + deplibs="$lib $deplibs"
  24689. + if test -z "$libdir"; then
  24690. + if test -z "$old_library"; then
  24691. + func_fatal_error "cannot find name of link library for \`$lib'"
  24692. + fi
  24693. + # It is a libtool convenience library, so add in its objects.
  24694. + convenience="$convenience $ladir/$objdir/$old_library"
  24695. + old_convenience="$old_convenience $ladir/$objdir/$old_library"
  24696. + tmp_libs=
  24697. + for deplib in $dependency_libs; do
  24698. + deplibs="$deplib $deplibs"
  24699. + if $opt_duplicate_deps ; then
  24700. + case "$tmp_libs " in
  24701. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  24702. + esac
  24703. + fi
  24704. + tmp_libs="$tmp_libs $deplib"
  24705. + done
  24706. + elif test "$linkmode" != prog && test "$linkmode" != lib; then
  24707. + func_fatal_error "\`$lib' is not a convenience library"
  24708. + fi
  24709. + continue
  24710. + fi # $pass = conv
  24711. +
  24712. +
  24713. + # Get the name of the library we link against.
  24714. + linklib=
  24715. + for l in $old_library $library_names; do
  24716. + linklib="$l"
  24717. + done
  24718. + if test -z "$linklib"; then
  24719. + func_fatal_error "cannot find name of link library for \`$lib'"
  24720. + fi
  24721. +
  24722. + # This library was specified with -dlopen.
  24723. + if test "$pass" = dlopen; then
  24724. + if test -z "$libdir"; then
  24725. + func_fatal_error "cannot -dlopen a convenience library: \`$lib'"
  24726. + fi
  24727. + if test -z "$dlname" ||
  24728. + test "$dlopen_support" != yes ||
  24729. + test "$build_libtool_libs" = no; then
  24730. + # If there is no dlname, no dlopen support or we're linking
  24731. + # statically, we need to preload. We also need to preload any
  24732. + # dependent libraries so libltdl's deplib preloader doesn't
  24733. + # bomb out in the load deplibs phase.
  24734. + dlprefiles="$dlprefiles $lib $dependency_libs"
  24735. + else
  24736. + newdlfiles="$newdlfiles $lib"
  24737. + fi
  24738. + continue
  24739. + fi # $pass = dlopen
  24740. +
  24741. + # We need an absolute path.
  24742. + case $ladir in
  24743. + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
  24744. + *)
  24745. + abs_ladir=`cd "$ladir" && pwd`
  24746. + if test -z "$abs_ladir"; then
  24747. + func_warning "cannot determine absolute directory name of \`$ladir'"
  24748. + func_warning "passing it literally to the linker, although it might fail"
  24749. + abs_ladir="$ladir"
  24750. + fi
  24751. + ;;
  24752. + esac
  24753. + func_basename "$lib"
  24754. + laname="$func_basename_result"
  24755. +
  24756. + # Find the relevant object directory and library name.
  24757. + if test "X$installed" = Xyes; then
  24758. + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  24759. + func_warning "library \`$lib' was moved."
  24760. + dir="$ladir"
  24761. + absdir="$abs_ladir"
  24762. + libdir="$abs_ladir"
  24763. + else
  24764. + dir="$libdir"
  24765. + absdir="$libdir"
  24766. + fi
  24767. + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
  24768. + else
  24769. + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  24770. + dir="$ladir"
  24771. + absdir="$abs_ladir"
  24772. + # Remove this search path later
  24773. + notinst_path="$notinst_path $abs_ladir"
  24774. + else
  24775. + dir="$ladir/$objdir"
  24776. + absdir="$abs_ladir/$objdir"
  24777. + # Remove this search path later
  24778. + notinst_path="$notinst_path $abs_ladir"
  24779. + fi
  24780. + fi # $installed = yes
  24781. + func_stripname 'lib' '.la' "$laname"
  24782. + name=$func_stripname_result
  24783. +
  24784. + # This library was specified with -dlpreopen.
  24785. + if test "$pass" = dlpreopen; then
  24786. + if test -z "$libdir" && test "$linkmode" = prog; then
  24787. + func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
  24788. + fi
  24789. + # Prefer using a static library (so that no silly _DYNAMIC symbols
  24790. + # are required to link).
  24791. + if test -n "$old_library"; then
  24792. + newdlprefiles="$newdlprefiles $dir/$old_library"
  24793. + # Keep a list of preopened convenience libraries to check
  24794. + # that they are being used correctly in the link pass.
  24795. + test -z "$libdir" && \
  24796. + dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library"
  24797. + # Otherwise, use the dlname, so that lt_dlopen finds it.
  24798. + elif test -n "$dlname"; then
  24799. + newdlprefiles="$newdlprefiles $dir/$dlname"
  24800. + else
  24801. + newdlprefiles="$newdlprefiles $dir/$linklib"
  24802. + fi
  24803. + fi # $pass = dlpreopen
  24804. +
  24805. + if test -z "$libdir"; then
  24806. + # Link the convenience library
  24807. + if test "$linkmode" = lib; then
  24808. + deplibs="$dir/$old_library $deplibs"
  24809. + elif test "$linkmode,$pass" = "prog,link"; then
  24810. + compile_deplibs="$dir/$old_library $compile_deplibs"
  24811. + finalize_deplibs="$dir/$old_library $finalize_deplibs"
  24812. + else
  24813. + deplibs="$lib $deplibs" # used for prog,scan pass
  24814. + fi
  24815. + continue
  24816. + fi
  24817. +
  24818. +
  24819. + if test "$linkmode" = prog && test "$pass" != link; then
  24820. + newlib_search_path="$newlib_search_path $ladir"
  24821. + deplibs="$lib $deplibs"
  24822. +
  24823. + linkalldeplibs=no
  24824. + if test "$link_all_deplibs" != no || test -z "$library_names" ||
  24825. + test "$build_libtool_libs" = no; then
  24826. + linkalldeplibs=yes
  24827. + fi
  24828. +
  24829. + tmp_libs=
  24830. + for deplib in $dependency_libs; do
  24831. + case $deplib in
  24832. + -L*) func_stripname '-L' '' "$deplib"
  24833. + newlib_search_path="$newlib_search_path $func_stripname_result"
  24834. + ;;
  24835. + esac
  24836. + # Need to link against all dependency_libs?
  24837. + if test "$linkalldeplibs" = yes; then
  24838. + deplibs="$deplib $deplibs"
  24839. + else
  24840. + # Need to hardcode shared library paths
  24841. + # or/and link against static libraries
  24842. + newdependency_libs="$deplib $newdependency_libs"
  24843. + fi
  24844. + if $opt_duplicate_deps ; then
  24845. + case "$tmp_libs " in
  24846. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  24847. + esac
  24848. + fi
  24849. + tmp_libs="$tmp_libs $deplib"
  24850. + done # for deplib
  24851. + continue
  24852. + fi # $linkmode = prog...
  24853. +
  24854. + if test "$linkmode,$pass" = "prog,link"; then
  24855. + if test -n "$library_names" &&
  24856. + { { test "$prefer_static_libs" = no ||
  24857. + test "$prefer_static_libs,$installed" = "built,yes"; } ||
  24858. + test -z "$old_library"; }; then
  24859. + # We need to hardcode the library path
  24860. + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
  24861. + # Make sure the rpath contains only unique directories.
  24862. + case "$temp_rpath:" in
  24863. + *"$absdir:"*) ;;
  24864. + *) temp_rpath="$temp_rpath$absdir:" ;;
  24865. + esac
  24866. + fi
  24867. +
  24868. + # Hardcode the library path.
  24869. + # Skip directories that are in the system default run-time
  24870. + # search path.
  24871. + case " $sys_lib_dlsearch_path " in
  24872. + *" $absdir "*) ;;
  24873. + *)
  24874. + case "$compile_rpath " in
  24875. + *" $absdir "*) ;;
  24876. + *) compile_rpath="$compile_rpath $absdir"
  24877. + esac
  24878. + ;;
  24879. + esac
  24880. + case " $sys_lib_dlsearch_path " in
  24881. + *" $libdir "*) ;;
  24882. + *)
  24883. + case "$finalize_rpath " in
  24884. + *" $libdir "*) ;;
  24885. + *) finalize_rpath="$finalize_rpath $libdir"
  24886. + esac
  24887. + ;;
  24888. + esac
  24889. + fi # $linkmode,$pass = prog,link...
  24890. +
  24891. + if test "$alldeplibs" = yes &&
  24892. + { test "$deplibs_check_method" = pass_all ||
  24893. + { test "$build_libtool_libs" = yes &&
  24894. + test -n "$library_names"; }; }; then
  24895. + # We only need to search for static libraries
  24896. + continue
  24897. + fi
  24898. + fi
  24899. +
  24900. + link_static=no # Whether the deplib will be linked statically
  24901. + use_static_libs=$prefer_static_libs
  24902. + if test "$use_static_libs" = built && test "$installed" = yes; then
  24903. + use_static_libs=no
  24904. + fi
  24905. + if test -n "$library_names" &&
  24906. + { test "$use_static_libs" = no || test -z "$old_library"; }; then
  24907. + case $host in
  24908. + *cygwin* | *mingw* | *cegcc*)
  24909. + # No point in relinking DLLs because paths are not encoded
  24910. + notinst_deplibs="$notinst_deplibs $lib"
  24911. + need_relink=no
  24912. + ;;
  24913. + *)
  24914. + if test "$installed" = no; then
  24915. + notinst_deplibs="$notinst_deplibs $lib"
  24916. + need_relink=yes
  24917. + fi
  24918. + ;;
  24919. + esac
  24920. + # This is a shared library
  24921. +
  24922. + # Warn about portability, can't link against -module's on some
  24923. + # systems (darwin). Don't bleat about dlopened modules though!
  24924. + dlopenmodule=""
  24925. + for dlpremoduletest in $dlprefiles; do
  24926. + if test "X$dlpremoduletest" = "X$lib"; then
  24927. + dlopenmodule="$dlpremoduletest"
  24928. + break
  24929. + fi
  24930. + done
  24931. + if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
  24932. + $ECHO
  24933. + if test "$linkmode" = prog; then
  24934. + $ECHO "*** Warning: Linking the executable $output against the loadable module"
  24935. + else
  24936. + $ECHO "*** Warning: Linking the shared library $output against the loadable module"
  24937. + fi
  24938. + $ECHO "*** $linklib is not portable!"
  24939. + fi
  24940. + if test "$linkmode" = lib &&
  24941. + test "$hardcode_into_libs" = yes; then
  24942. + # Hardcode the library path.
  24943. + # Skip directories that are in the system default run-time
  24944. + # search path.
  24945. + case " $sys_lib_dlsearch_path " in
  24946. + *" $absdir "*) ;;
  24947. + *)
  24948. + case "$compile_rpath " in
  24949. + *" $absdir "*) ;;
  24950. + *) compile_rpath="$compile_rpath $absdir"
  24951. + esac
  24952. + ;;
  24953. + esac
  24954. + case " $sys_lib_dlsearch_path " in
  24955. + *" $libdir "*) ;;
  24956. + *)
  24957. + case "$finalize_rpath " in
  24958. + *" $libdir "*) ;;
  24959. + *) finalize_rpath="$finalize_rpath $libdir"
  24960. + esac
  24961. + ;;
  24962. + esac
  24963. + fi
  24964. +
  24965. + if test -n "$old_archive_from_expsyms_cmds"; then
  24966. + # figure out the soname
  24967. + set dummy $library_names
  24968. + shift
  24969. + realname="$1"
  24970. + shift
  24971. + libname=`eval "\\$ECHO \"$libname_spec\""`
  24972. + # use dlname if we got it. it's perfectly good, no?
  24973. + if test -n "$dlname"; then
  24974. + soname="$dlname"
  24975. + elif test -n "$soname_spec"; then
  24976. + # bleh windows
  24977. + case $host in
  24978. + *cygwin* | mingw* | *cegcc*)
  24979. + func_arith $current - $age
  24980. + major=$func_arith_result
  24981. + versuffix="-$major"
  24982. + ;;
  24983. + esac
  24984. + eval soname=\"$soname_spec\"
  24985. + else
  24986. + soname="$realname"
  24987. + fi
  24988. +
  24989. + # Make a new name for the extract_expsyms_cmds to use
  24990. + soroot="$soname"
  24991. + func_basename "$soroot"
  24992. + soname="$func_basename_result"
  24993. + func_stripname 'lib' '.dll' "$soname"
  24994. + newlib=libimp-$func_stripname_result.a
  24995. +
  24996. + # If the library has no export list, then create one now
  24997. + if test -f "$output_objdir/$soname-def"; then :
  24998. + else
  24999. + func_verbose "extracting exported symbol list from \`$soname'"
  25000. + func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
  25001. + fi
  25002. +
  25003. + # Create $newlib
  25004. + if test -f "$output_objdir/$newlib"; then :; else
  25005. + func_verbose "generating import library for \`$soname'"
  25006. + func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
  25007. + fi
  25008. + # make sure the library variables are pointing to the new library
  25009. + dir=$output_objdir
  25010. + linklib=$newlib
  25011. + fi # test -n "$old_archive_from_expsyms_cmds"
  25012. +
  25013. + if test "$linkmode" = prog || test "$mode" != relink; then
  25014. + add_shlibpath=
  25015. + add_dir=
  25016. + add=
  25017. + lib_linked=yes
  25018. + case $hardcode_action in
  25019. + immediate | unsupported)
  25020. + if test "$hardcode_direct" = no; then
  25021. + add="$dir/$linklib"
  25022. + case $host in
  25023. + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
  25024. + *-*-sysv4*uw2*) add_dir="-L$dir" ;;
  25025. + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
  25026. + *-*-unixware7*) add_dir="-L$dir" ;;
  25027. + *-*-darwin* )
  25028. + # if the lib is a (non-dlopened) module then we can not
  25029. + # link against it, someone is ignoring the earlier warnings
  25030. + if /usr/bin/file -L $add 2> /dev/null |
  25031. + $GREP ": [^:]* bundle" >/dev/null ; then
  25032. + if test "X$dlopenmodule" != "X$lib"; then
  25033. + $ECHO "*** Warning: lib $linklib is a module, not a shared library"
  25034. + if test -z "$old_library" ; then
  25035. + $ECHO
  25036. + $ECHO "*** And there doesn't seem to be a static archive available"
  25037. + $ECHO "*** The link will probably fail, sorry"
  25038. + else
  25039. + add="$dir/$old_library"
  25040. + fi
  25041. + elif test -n "$old_library"; then
  25042. + add="$dir/$old_library"
  25043. + fi
  25044. + fi
  25045. + esac
  25046. + elif test "$hardcode_minus_L" = no; then
  25047. + case $host in
  25048. + *-*-sunos*) add_shlibpath="$dir" ;;
  25049. + esac
  25050. + add_dir="-L$dir"
  25051. + add="-l$name"
  25052. + elif test "$hardcode_shlibpath_var" = no; then
  25053. + add_shlibpath="$dir"
  25054. + add="-l$name"
  25055. + else
  25056. + lib_linked=no
  25057. + fi
  25058. + ;;
  25059. + relink)
  25060. + if test "$hardcode_direct" = yes &&
  25061. + test "$hardcode_direct_absolute" = no; then
  25062. + add="$dir/$linklib"
  25063. + elif test "$hardcode_minus_L" = yes; then
  25064. + add_dir="-L$dir"
  25065. + # Try looking first in the location we're being installed to.
  25066. + if test -n "$inst_prefix_dir"; then
  25067. + case $libdir in
  25068. + [\\/]*)
  25069. + add_dir="$add_dir -L$inst_prefix_dir$libdir"
  25070. + ;;
  25071. + esac
  25072. + fi
  25073. + add="-l$name"
  25074. + elif test "$hardcode_shlibpath_var" = yes; then
  25075. + add_shlibpath="$dir"
  25076. + add="-l$name"
  25077. + else
  25078. + lib_linked=no
  25079. + fi
  25080. + ;;
  25081. + *) lib_linked=no ;;
  25082. + esac
  25083. +
  25084. + if test "$lib_linked" != yes; then
  25085. + func_fatal_configuration "unsupported hardcode properties"
  25086. + fi
  25087. +
  25088. + if test -n "$add_shlibpath"; then
  25089. + case :$compile_shlibpath: in
  25090. + *":$add_shlibpath:"*) ;;
  25091. + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
  25092. + esac
  25093. + fi
  25094. + if test "$linkmode" = prog; then
  25095. + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
  25096. + test -n "$add" && compile_deplibs="$add $compile_deplibs"
  25097. + else
  25098. + test -n "$add_dir" && deplibs="$add_dir $deplibs"
  25099. + test -n "$add" && deplibs="$add $deplibs"
  25100. + if test "$hardcode_direct" != yes &&
  25101. + test "$hardcode_minus_L" != yes &&
  25102. + test "$hardcode_shlibpath_var" = yes; then
  25103. + case :$finalize_shlibpath: in
  25104. + *":$libdir:"*) ;;
  25105. + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  25106. + esac
  25107. + fi
  25108. + fi
  25109. + fi
  25110. +
  25111. + if test "$linkmode" = prog || test "$mode" = relink; then
  25112. + add_shlibpath=
  25113. + add_dir=
  25114. + add=
  25115. + # Finalize command for both is simple: just hardcode it.
  25116. + if test "$hardcode_direct" = yes &&
  25117. + test "$hardcode_direct_absolute" = no; then
  25118. + add="$libdir/$linklib"
  25119. + elif test "$hardcode_minus_L" = yes; then
  25120. + add_dir="-L$libdir"
  25121. + add="-l$name"
  25122. + elif test "$hardcode_shlibpath_var" = yes; then
  25123. + case :$finalize_shlibpath: in
  25124. + *":$libdir:"*) ;;
  25125. + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  25126. + esac
  25127. + add="-l$name"
  25128. + elif test "$hardcode_automatic" = yes; then
  25129. + if test -n "$inst_prefix_dir" &&
  25130. + test -f "$inst_prefix_dir$libdir/$linklib" ; then
  25131. + add="$inst_prefix_dir$libdir/$linklib"
  25132. + else
  25133. + add="$libdir/$linklib"
  25134. + fi
  25135. + else
  25136. + # We cannot seem to hardcode it, guess we'll fake it.
  25137. + add_dir="-L$libdir"
  25138. + # Try looking first in the location we're being installed to.
  25139. + if test -n "$inst_prefix_dir"; then
  25140. + case $libdir in
  25141. + [\\/]*)
  25142. + add_dir="$add_dir -L$inst_prefix_dir$libdir"
  25143. + ;;
  25144. + esac
  25145. + fi
  25146. + add="-l$name"
  25147. + fi
  25148. +
  25149. + if test "$linkmode" = prog; then
  25150. + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
  25151. + test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
  25152. + else
  25153. + test -n "$add_dir" && deplibs="$add_dir $deplibs"
  25154. + test -n "$add" && deplibs="$add $deplibs"
  25155. + fi
  25156. + fi
  25157. + elif test "$linkmode" = prog; then
  25158. + # Here we assume that one of hardcode_direct or hardcode_minus_L
  25159. + # is not unsupported. This is valid on all known static and
  25160. + # shared platforms.
  25161. + if test "$hardcode_direct" != unsupported; then
  25162. + test -n "$old_library" && linklib="$old_library"
  25163. + compile_deplibs="$dir/$linklib $compile_deplibs"
  25164. + finalize_deplibs="$dir/$linklib $finalize_deplibs"
  25165. + else
  25166. + compile_deplibs="-l$name -L$dir $compile_deplibs"
  25167. + finalize_deplibs="-l$name -L$dir $finalize_deplibs"
  25168. + fi
  25169. + elif test "$build_libtool_libs" = yes; then
  25170. + # Not a shared library
  25171. + if test "$deplibs_check_method" != pass_all; then
  25172. + # We're trying link a shared library against a static one
  25173. + # but the system doesn't support it.
  25174. +
  25175. + # Just print a warning and add the library to dependency_libs so
  25176. + # that the program can be linked against the static library.
  25177. + $ECHO
  25178. + $ECHO "*** Warning: This system can not link to static lib archive $lib."
  25179. + $ECHO "*** I have the capability to make that library automatically link in when"
  25180. + $ECHO "*** you link to this library. But I can only do this if you have a"
  25181. + $ECHO "*** shared version of the library, which you do not appear to have."
  25182. + if test "$module" = yes; then
  25183. + $ECHO "*** But as you try to build a module library, libtool will still create "
  25184. + $ECHO "*** a static module, that should work as long as the dlopening application"
  25185. + $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
  25186. + if test -z "$global_symbol_pipe"; then
  25187. + $ECHO
  25188. + $ECHO "*** However, this would only work if libtool was able to extract symbol"
  25189. + $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
  25190. + $ECHO "*** not find such a program. So, this module is probably useless."
  25191. + $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
  25192. + fi
  25193. + if test "$build_old_libs" = no; then
  25194. + build_libtool_libs=module
  25195. + build_old_libs=yes
  25196. + else
  25197. + build_libtool_libs=no
  25198. + fi
  25199. + fi
  25200. + else
  25201. + deplibs="$dir/$old_library $deplibs"
  25202. + link_static=yes
  25203. + fi
  25204. + fi # link shared/static library?
  25205. +
  25206. + if test "$linkmode" = lib; then
  25207. + if test -n "$dependency_libs" &&
  25208. + { test "$hardcode_into_libs" != yes ||
  25209. + test "$build_old_libs" = yes ||
  25210. + test "$link_static" = yes; }; then
  25211. + # Extract -R from dependency_libs
  25212. + temp_deplibs=
  25213. + for libdir in $dependency_libs; do
  25214. + case $libdir in
  25215. + -R*) func_stripname '-R' '' "$libdir"
  25216. + temp_xrpath=$func_stripname_result
  25217. + case " $xrpath " in
  25218. + *" $temp_xrpath "*) ;;
  25219. + *) xrpath="$xrpath $temp_xrpath";;
  25220. + esac;;
  25221. + *) temp_deplibs="$temp_deplibs $libdir";;
  25222. + esac
  25223. + done
  25224. + dependency_libs="$temp_deplibs"
  25225. + fi
  25226. +
  25227. + newlib_search_path="$newlib_search_path $absdir"
  25228. + # Link against this library
  25229. + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
  25230. + # ... and its dependency_libs
  25231. + tmp_libs=
  25232. + for deplib in $dependency_libs; do
  25233. + newdependency_libs="$deplib $newdependency_libs"
  25234. + if $opt_duplicate_deps ; then
  25235. + case "$tmp_libs " in
  25236. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  25237. + esac
  25238. + fi
  25239. + tmp_libs="$tmp_libs $deplib"
  25240. + done
  25241. +
  25242. + if test "$link_all_deplibs" != no; then
  25243. + # Add the search paths of all dependency libraries
  25244. + for deplib in $dependency_libs; do
  25245. + path=
  25246. + case $deplib in
  25247. + -L*) path="$deplib" ;;
  25248. + *.la)
  25249. + func_dirname "$deplib" "" "."
  25250. + dir="$func_dirname_result"
  25251. + # We need an absolute path.
  25252. + case $dir in
  25253. + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
  25254. + *)
  25255. + absdir=`cd "$dir" && pwd`
  25256. + if test -z "$absdir"; then
  25257. + func_warning "cannot determine absolute directory name of \`$dir'"
  25258. + absdir="$dir"
  25259. + fi
  25260. + ;;
  25261. + esac
  25262. + if $GREP "^installed=no" $deplib > /dev/null; then
  25263. + case $host in
  25264. + *-*-darwin*)
  25265. + depdepl=
  25266. + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
  25267. + if test -n "$deplibrary_names" ; then
  25268. + for tmp in $deplibrary_names ; do
  25269. + depdepl=$tmp
  25270. + done
  25271. + if test -f "$absdir/$objdir/$depdepl" ; then
  25272. + depdepl="$absdir/$objdir/$depdepl"
  25273. + darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  25274. + if test -z "$darwin_install_name"; then
  25275. + darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  25276. + fi
  25277. + compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
  25278. + linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}"
  25279. + path=
  25280. + fi
  25281. + fi
  25282. + ;;
  25283. + *)
  25284. + path="-L$absdir/$objdir"
  25285. + ;;
  25286. + esac
  25287. + else
  25288. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  25289. + test -z "$libdir" && \
  25290. + func_fatal_error "\`$deplib' is not a valid libtool archive"
  25291. + test "$absdir" != "$libdir" && \
  25292. + func_warning "\`$deplib' seems to be moved"
  25293. +
  25294. + path="-L$absdir"
  25295. + fi
  25296. + ;;
  25297. + esac
  25298. + case " $deplibs " in
  25299. + *" $path "*) ;;
  25300. + *) deplibs="$path $deplibs" ;;
  25301. + esac
  25302. + done
  25303. + fi # link_all_deplibs != no
  25304. + fi # linkmode = lib
  25305. + done # for deplib in $libs
  25306. + if test "$pass" = link; then
  25307. + if test "$linkmode" = "prog"; then
  25308. + compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
  25309. + finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
  25310. + else
  25311. + compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  25312. + fi
  25313. + fi
  25314. + dependency_libs="$newdependency_libs"
  25315. + if test "$pass" = dlpreopen; then
  25316. + # Link the dlpreopened libraries before other libraries
  25317. + for deplib in $save_deplibs; do
  25318. + deplibs="$deplib $deplibs"
  25319. + done
  25320. + fi
  25321. + if test "$pass" != dlopen; then
  25322. + if test "$pass" != conv; then
  25323. + # Make sure lib_search_path contains only unique directories.
  25324. + lib_search_path=
  25325. + for dir in $newlib_search_path; do
  25326. + case "$lib_search_path " in
  25327. + *" $dir "*) ;;
  25328. + *) lib_search_path="$lib_search_path $dir" ;;
  25329. + esac
  25330. + done
  25331. + newlib_search_path=
  25332. + fi
  25333. +
  25334. + if test "$linkmode,$pass" != "prog,link"; then
  25335. + vars="deplibs"
  25336. + else
  25337. + vars="compile_deplibs finalize_deplibs"
  25338. + fi
  25339. + for var in $vars dependency_libs; do
  25340. + # Add libraries to $var in reverse order
  25341. + eval tmp_libs=\"\$$var\"
  25342. + new_libs=
  25343. + for deplib in $tmp_libs; do
  25344. + # FIXME: Pedantically, this is the right thing to do, so
  25345. + # that some nasty dependency loop isn't accidentally
  25346. + # broken:
  25347. + #new_libs="$deplib $new_libs"
  25348. + # Pragmatically, this seems to cause very few problems in
  25349. + # practice:
  25350. + case $deplib in
  25351. + -L*) new_libs="$deplib $new_libs" ;;
  25352. + -R*) ;;
  25353. + *)
  25354. + # And here is the reason: when a library appears more
  25355. + # than once as an explicit dependence of a library, or
  25356. + # is implicitly linked in more than once by the
  25357. + # compiler, it is considered special, and multiple
  25358. + # occurrences thereof are not removed. Compare this
  25359. + # with having the same library being listed as a
  25360. + # dependency of multiple other libraries: in this case,
  25361. + # we know (pedantically, we assume) the library does not
  25362. + # need to be listed more than once, so we keep only the
  25363. + # last copy. This is not always right, but it is rare
  25364. + # enough that we require users that really mean to play
  25365. + # such unportable linking tricks to link the library
  25366. + # using -Wl,-lname, so that libtool does not consider it
  25367. + # for duplicate removal.
  25368. + case " $specialdeplibs " in
  25369. + *" $deplib "*) new_libs="$deplib $new_libs" ;;
  25370. + *)
  25371. + case " $new_libs " in
  25372. + *" $deplib "*) ;;
  25373. + *) new_libs="$deplib $new_libs" ;;
  25374. + esac
  25375. + ;;
  25376. + esac
  25377. + ;;
  25378. + esac
  25379. + done
  25380. + tmp_libs=
  25381. + for deplib in $new_libs; do
  25382. + case $deplib in
  25383. + -L*)
  25384. + case " $tmp_libs " in
  25385. + *" $deplib "*) ;;
  25386. + *) tmp_libs="$tmp_libs $deplib" ;;
  25387. + esac
  25388. + ;;
  25389. + *) tmp_libs="$tmp_libs $deplib" ;;
  25390. + esac
  25391. + done
  25392. + eval $var=\"$tmp_libs\"
  25393. + done # for var
  25394. + fi
  25395. + # Last step: remove runtime libs from dependency_libs
  25396. + # (they stay in deplibs)
  25397. + tmp_libs=
  25398. + for i in $dependency_libs ; do
  25399. + case " $predeps $postdeps $compiler_lib_search_path " in
  25400. + *" $i "*)
  25401. + i=""
  25402. + ;;
  25403. + esac
  25404. + if test -n "$i" ; then
  25405. + tmp_libs="$tmp_libs $i"
  25406. + fi
  25407. + done
  25408. + dependency_libs=$tmp_libs
  25409. + done # for pass
  25410. + if test "$linkmode" = prog; then
  25411. + dlfiles="$newdlfiles"
  25412. + fi
  25413. + if test "$linkmode" = prog || test "$linkmode" = lib; then
  25414. + dlprefiles="$newdlprefiles"
  25415. + fi
  25416. +
  25417. + case $linkmode in
  25418. + oldlib)
  25419. + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  25420. + func_warning "\`-dlopen' is ignored for archives"
  25421. + fi
  25422. +
  25423. + case " $deplibs" in
  25424. + *\ -l* | *\ -L*)
  25425. + func_warning "\`-l' and \`-L' are ignored for archives" ;;
  25426. + esac
  25427. +
  25428. + test -n "$rpath" && \
  25429. + func_warning "\`-rpath' is ignored for archives"
  25430. +
  25431. + test -n "$xrpath" && \
  25432. + func_warning "\`-R' is ignored for archives"
  25433. +
  25434. + test -n "$vinfo" && \
  25435. + func_warning "\`-version-info/-version-number' is ignored for archives"
  25436. +
  25437. + test -n "$release" && \
  25438. + func_warning "\`-release' is ignored for archives"
  25439. +
  25440. + test -n "$export_symbols$export_symbols_regex" && \
  25441. + func_warning "\`-export-symbols' is ignored for archives"
  25442. +
  25443. + # Now set the variables for building old libraries.
  25444. + build_libtool_libs=no
  25445. + oldlibs="$output"
  25446. + objs="$objs$old_deplibs"
  25447. + ;;
  25448. +
  25449. + lib)
  25450. + # Make sure we only generate libraries of the form `libNAME.la'.
  25451. + case $outputname in
  25452. + lib*)
  25453. + func_stripname 'lib' '.la' "$outputname"
  25454. + name=$func_stripname_result
  25455. + eval shared_ext=\"$shrext_cmds\"
  25456. + eval libname=\"$libname_spec\"
  25457. + ;;
  25458. + *)
  25459. + test "$module" = no && \
  25460. + func_fatal_help "libtool library \`$output' must begin with \`lib'"
  25461. +
  25462. + if test "$need_lib_prefix" != no; then
  25463. + # Add the "lib" prefix for modules if required
  25464. + func_stripname '' '.la' "$outputname"
  25465. + name=$func_stripname_result
  25466. + eval shared_ext=\"$shrext_cmds\"
  25467. + eval libname=\"$libname_spec\"
  25468. + else
  25469. + func_stripname '' '.la' "$outputname"
  25470. + libname=$func_stripname_result
  25471. + fi
  25472. + ;;
  25473. + esac
  25474. +
  25475. + if test -n "$objs"; then
  25476. + if test "$deplibs_check_method" != pass_all; then
  25477. + func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
  25478. + else
  25479. + $ECHO
  25480. + $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
  25481. + $ECHO "*** objects $objs is not portable!"
  25482. + libobjs="$libobjs $objs"
  25483. + fi
  25484. + fi
  25485. +
  25486. + test "$dlself" != no && \
  25487. + func_warning "\`-dlopen self' is ignored for libtool libraries"
  25488. +
  25489. + set dummy $rpath
  25490. + shift
  25491. + test "$#" -gt 1 && \
  25492. + func_warning "ignoring multiple \`-rpath's for a libtool library"
  25493. +
  25494. + install_libdir="$1"
  25495. +
  25496. + oldlibs=
  25497. + if test -z "$rpath"; then
  25498. + if test "$build_libtool_libs" = yes; then
  25499. + # Building a libtool convenience library.
  25500. + # Some compilers have problems with a `.al' extension so
  25501. + # convenience libraries should have the same extension an
  25502. + # archive normally would.
  25503. + oldlibs="$output_objdir/$libname.$libext $oldlibs"
  25504. + build_libtool_libs=convenience
  25505. + build_old_libs=yes
  25506. + fi
  25507. +
  25508. + test -n "$vinfo" && \
  25509. + func_warning "\`-version-info/-version-number' is ignored for convenience libraries"
  25510. +
  25511. + test -n "$release" && \
  25512. + func_warning "\`-release' is ignored for convenience libraries"
  25513. + else
  25514. +
  25515. + # Parse the version information argument.
  25516. + save_ifs="$IFS"; IFS=':'
  25517. + set dummy $vinfo 0 0 0
  25518. + shift
  25519. + IFS="$save_ifs"
  25520. +
  25521. + test -n "$7" && \
  25522. + func_fatal_help "too many parameters to \`-version-info'"
  25523. +
  25524. + # convert absolute version numbers to libtool ages
  25525. + # this retains compatibility with .la files and attempts
  25526. + # to make the code below a bit more comprehensible
  25527. +
  25528. + case $vinfo_number in
  25529. + yes)
  25530. + number_major="$1"
  25531. + number_minor="$2"
  25532. + number_revision="$3"
  25533. + #
  25534. + # There are really only two kinds -- those that
  25535. + # use the current revision as the major version
  25536. + # and those that subtract age and use age as
  25537. + # a minor version. But, then there is irix
  25538. + # which has an extra 1 added just for fun
  25539. + #
  25540. + case $version_type in
  25541. + darwin|linux|osf|windows|none)
  25542. + func_arith $number_major + $number_minor
  25543. + current=$func_arith_result
  25544. + age="$number_minor"
  25545. + revision="$number_revision"
  25546. + ;;
  25547. + freebsd-aout|freebsd-elf|sunos)
  25548. + current="$number_major"
  25549. + revision="$number_minor"
  25550. + age="0"
  25551. + ;;
  25552. + irix|nonstopux)
  25553. + func_arith $number_major + $number_minor
  25554. + current=$func_arith_result
  25555. + age="$number_minor"
  25556. + revision="$number_minor"
  25557. + lt_irix_increment=no
  25558. + ;;
  25559. + *)
  25560. + func_fatal_configuration "$modename: unknown library version type \`$version_type'"
  25561. + ;;
  25562. + esac
  25563. + ;;
  25564. + no)
  25565. + current="$1"
  25566. + revision="$2"
  25567. + age="$3"
  25568. + ;;
  25569. + esac
  25570. +
  25571. + # Check that each of the things are valid numbers.
  25572. + case $current in
  25573. + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  25574. + *)
  25575. + func_error "CURRENT \`$current' must be a nonnegative integer"
  25576. + func_fatal_error "\`$vinfo' is not valid version information"
  25577. + ;;
  25578. + esac
  25579. +
  25580. + case $revision in
  25581. + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  25582. + *)
  25583. + func_error "REVISION \`$revision' must be a nonnegative integer"
  25584. + func_fatal_error "\`$vinfo' is not valid version information"
  25585. + ;;
  25586. + esac
  25587. +
  25588. + case $age in
  25589. + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  25590. + *)
  25591. + func_error "AGE \`$age' must be a nonnegative integer"
  25592. + func_fatal_error "\`$vinfo' is not valid version information"
  25593. + ;;
  25594. + esac
  25595. +
  25596. + if test "$age" -gt "$current"; then
  25597. + func_error "AGE \`$age' is greater than the current interface number \`$current'"
  25598. + func_fatal_error "\`$vinfo' is not valid version information"
  25599. + fi
  25600. +
  25601. + # Calculate the version variables.
  25602. + major=
  25603. + versuffix=
  25604. + verstring=
  25605. + case $version_type in
  25606. + none) ;;
  25607. +
  25608. + darwin)
  25609. + # Like Linux, but with the current version available in
  25610. + # verstring for coding it into the library header
  25611. + func_arith $current - $age
  25612. + major=.$func_arith_result
  25613. + versuffix="$major.$age.$revision"
  25614. + # Darwin ld doesn't like 0 for these options...
  25615. + func_arith $current + 1
  25616. + minor_current=$func_arith_result
  25617. + xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
  25618. + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
  25619. + ;;
  25620. +
  25621. + freebsd-aout)
  25622. + major=".$current"
  25623. + versuffix=".$current.$revision";
  25624. + ;;
  25625. +
  25626. + freebsd-elf)
  25627. + major=".$current"
  25628. + versuffix=".$current"
  25629. + ;;
  25630. +
  25631. + irix | nonstopux)
  25632. + if test "X$lt_irix_increment" = "Xno"; then
  25633. + func_arith $current - $age
  25634. + else
  25635. + func_arith $current - $age + 1
  25636. + fi
  25637. + major=$func_arith_result
  25638. +
  25639. + case $version_type in
  25640. + nonstopux) verstring_prefix=nonstopux ;;
  25641. + *) verstring_prefix=sgi ;;
  25642. + esac
  25643. + verstring="$verstring_prefix$major.$revision"
  25644. +
  25645. + # Add in all the interfaces that we are compatible with.
  25646. + loop=$revision
  25647. + while test "$loop" -ne 0; do
  25648. + func_arith $revision - $loop
  25649. + iface=$func_arith_result
  25650. + func_arith $loop - 1
  25651. + loop=$func_arith_result
  25652. + verstring="$verstring_prefix$major.$iface:$verstring"
  25653. + done
  25654. +
  25655. + # Before this point, $major must not contain `.'.
  25656. + major=.$major
  25657. + versuffix="$major.$revision"
  25658. + ;;
  25659. +
  25660. + linux)
  25661. + func_arith $current - $age
  25662. + major=.$func_arith_result
  25663. + versuffix="$major.$age.$revision"
  25664. + ;;
  25665. +
  25666. + osf)
  25667. + func_arith $current - $age
  25668. + major=.$func_arith_result
  25669. + versuffix=".$current.$age.$revision"
  25670. + verstring="$current.$age.$revision"
  25671. +
  25672. + # Add in all the interfaces that we are compatible with.
  25673. + loop=$age
  25674. + while test "$loop" -ne 0; do
  25675. + func_arith $current - $loop
  25676. + iface=$func_arith_result
  25677. + func_arith $loop - 1
  25678. + loop=$func_arith_result
  25679. + verstring="$verstring:${iface}.0"
  25680. + done
  25681. +
  25682. + # Make executables depend on our current version.
  25683. + verstring="$verstring:${current}.0"
  25684. + ;;
  25685. +
  25686. + qnx)
  25687. + major=".$current"
  25688. + versuffix=".$current"
  25689. + ;;
  25690. +
  25691. + sunos)
  25692. + major=".$current"
  25693. + versuffix=".$current.$revision"
  25694. + ;;
  25695. +
  25696. + windows)
  25697. + # Use '-' rather than '.', since we only want one
  25698. + # extension on DOS 8.3 filesystems.
  25699. + func_arith $current - $age
  25700. + major=$func_arith_result
  25701. + versuffix="-$major"
  25702. + ;;
  25703. +
  25704. + *)
  25705. + func_fatal_configuration "unknown library version type \`$version_type'"
  25706. + ;;
  25707. + esac
  25708. +
  25709. + # Clear the version info if we defaulted, and they specified a release.
  25710. + if test -z "$vinfo" && test -n "$release"; then
  25711. + major=
  25712. + case $version_type in
  25713. + darwin)
  25714. + # we can't check for "0.0" in archive_cmds due to quoting
  25715. + # problems, so we reset it completely
  25716. + verstring=
  25717. + ;;
  25718. + *)
  25719. + verstring="0.0"
  25720. + ;;
  25721. + esac
  25722. + if test "$need_version" = no; then
  25723. + versuffix=
  25724. + else
  25725. + versuffix=".0.0"
  25726. + fi
  25727. + fi
  25728. +
  25729. + # Remove version info from name if versioning should be avoided
  25730. + if test "$avoid_version" = yes && test "$need_version" = no; then
  25731. + major=
  25732. + versuffix=
  25733. + verstring=""
  25734. + fi
  25735. +
  25736. + # Check to see if the archive will have undefined symbols.
  25737. + if test "$allow_undefined" = yes; then
  25738. + if test "$allow_undefined_flag" = unsupported; then
  25739. + func_warning "undefined symbols not allowed in $host shared libraries"
  25740. + build_libtool_libs=no
  25741. + build_old_libs=yes
  25742. + fi
  25743. + else
  25744. + # Don't allow undefined symbols.
  25745. + allow_undefined_flag="$no_undefined_flag"
  25746. + fi
  25747. +
  25748. + fi
  25749. +
  25750. + func_generate_dlsyms "$libname" "$libname" "yes"
  25751. + libobjs="$libobjs $symfileobj"
  25752. + test "X$libobjs" = "X " && libobjs=
  25753. +
  25754. + if test "$mode" != relink; then
  25755. + # Remove our outputs, but don't remove object files since they
  25756. + # may have been created when compiling PIC objects.
  25757. + removelist=
  25758. + tempremovelist=`$ECHO "$output_objdir/*"`
  25759. + for p in $tempremovelist; do
  25760. + case $p in
  25761. + *.$objext | *.gcno)
  25762. + ;;
  25763. + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
  25764. + if test "X$precious_files_regex" != "X"; then
  25765. + if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
  25766. + then
  25767. + continue
  25768. + fi
  25769. + fi
  25770. + removelist="$removelist $p"
  25771. + ;;
  25772. + *) ;;
  25773. + esac
  25774. + done
  25775. + test -n "$removelist" && \
  25776. + func_show_eval "${RM}r \$removelist"
  25777. + fi
  25778. +
  25779. + # Now set the variables for building old libraries.
  25780. + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
  25781. + oldlibs="$oldlibs $output_objdir/$libname.$libext"
  25782. +
  25783. + # Transform .lo files to .o files.
  25784. + oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
  25785. + fi
  25786. +
  25787. + # Eliminate all temporary directories.
  25788. + #for path in $notinst_path; do
  25789. + # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
  25790. + # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
  25791. + # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
  25792. + #done
  25793. +
  25794. + if test -n "$xrpath"; then
  25795. + # If the user specified any rpath flags, then add them.
  25796. + temp_xrpath=
  25797. + for libdir in $xrpath; do
  25798. + temp_xrpath="$temp_xrpath -R$libdir"
  25799. + case "$finalize_rpath " in
  25800. + *" $libdir "*) ;;
  25801. + *) finalize_rpath="$finalize_rpath $libdir" ;;
  25802. + esac
  25803. + done
  25804. + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
  25805. + dependency_libs="$temp_xrpath $dependency_libs"
  25806. + fi
  25807. + fi
  25808. +
  25809. + # Make sure dlfiles contains only unique files that won't be dlpreopened
  25810. + old_dlfiles="$dlfiles"
  25811. + dlfiles=
  25812. + for lib in $old_dlfiles; do
  25813. + case " $dlprefiles $dlfiles " in
  25814. + *" $lib "*) ;;
  25815. + *) dlfiles="$dlfiles $lib" ;;
  25816. + esac
  25817. + done
  25818. +
  25819. + # Make sure dlprefiles contains only unique files
  25820. + old_dlprefiles="$dlprefiles"
  25821. + dlprefiles=
  25822. + for lib in $old_dlprefiles; do
  25823. + case "$dlprefiles " in
  25824. + *" $lib "*) ;;
  25825. + *) dlprefiles="$dlprefiles $lib" ;;
  25826. + esac
  25827. + done
  25828. +
  25829. + if test "$build_libtool_libs" = yes; then
  25830. + if test -n "$rpath"; then
  25831. + case $host in
  25832. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
  25833. + # these systems don't actually have a c library (as such)!
  25834. + ;;
  25835. + *-*-rhapsody* | *-*-darwin1.[012])
  25836. + # Rhapsody C library is in the System framework
  25837. + deplibs="$deplibs System.ltframework"
  25838. + ;;
  25839. + *-*-netbsd*)
  25840. + # Don't link with libc until the a.out ld.so is fixed.
  25841. + ;;
  25842. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  25843. + # Do not include libc due to us having libc/libc_r.
  25844. + ;;
  25845. + *-*-sco3.2v5* | *-*-sco5v6*)
  25846. + # Causes problems with __ctype
  25847. + ;;
  25848. + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  25849. + # Compiler inserts libc in the correct place for threads to work
  25850. + ;;
  25851. + *)
  25852. + # Add libc to deplibs on all other systems if necessary.
  25853. + if test "$build_libtool_need_lc" = "yes"; then
  25854. + deplibs="$deplibs -lc"
  25855. + fi
  25856. + ;;
  25857. + esac
  25858. + fi
  25859. +
  25860. + # Transform deplibs into only deplibs that can be linked in shared.
  25861. + name_save=$name
  25862. + libname_save=$libname
  25863. + release_save=$release
  25864. + versuffix_save=$versuffix
  25865. + major_save=$major
  25866. + # I'm not sure if I'm treating the release correctly. I think
  25867. + # release should show up in the -l (ie -lgmp5) so we don't want to
  25868. + # add it in twice. Is that correct?
  25869. + release=""
  25870. + versuffix=""
  25871. + major=""
  25872. + newdeplibs=
  25873. + droppeddeps=no
  25874. + case $deplibs_check_method in
  25875. + pass_all)
  25876. + # Don't check for shared/static. Everything works.
  25877. + # This might be a little naive. We might want to check
  25878. + # whether the library exists or not. But this is on
  25879. + # osf3 & osf4 and I'm not really sure... Just
  25880. + # implementing what was already the behavior.
  25881. + newdeplibs=$deplibs
  25882. + ;;
  25883. + test_compile)
  25884. + # This code stresses the "libraries are programs" paradigm to its
  25885. + # limits. Maybe even breaks it. We compile a program, linking it
  25886. + # against the deplibs as a proxy for the library. Then we can check
  25887. + # whether they linked in statically or dynamically with ldd.
  25888. + $opt_dry_run || $RM conftest.c
  25889. + cat > conftest.c <<EOF
  25890. + int main() { return 0; }
  25891. +EOF
  25892. + $opt_dry_run || $RM conftest
  25893. + if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
  25894. + ldd_output=`ldd conftest`
  25895. + for i in $deplibs; do
  25896. + case $i in
  25897. + -l*)
  25898. + func_stripname -l '' "$i"
  25899. + name=$func_stripname_result
  25900. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  25901. + case " $predeps $postdeps " in
  25902. + *" $i "*)
  25903. + newdeplibs="$newdeplibs $i"
  25904. + i=""
  25905. + ;;
  25906. + esac
  25907. + fi
  25908. + if test -n "$i" ; then
  25909. + libname=`eval "\\$ECHO \"$libname_spec\""`
  25910. + deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
  25911. + set dummy $deplib_matches; shift
  25912. + deplib_match=$1
  25913. + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  25914. + newdeplibs="$newdeplibs $i"
  25915. + else
  25916. + droppeddeps=yes
  25917. + $ECHO
  25918. + $ECHO "*** Warning: dynamic linker does not accept needed library $i."
  25919. + $ECHO "*** I have the capability to make that library automatically link in when"
  25920. + $ECHO "*** you link to this library. But I can only do this if you have a"
  25921. + $ECHO "*** shared version of the library, which I believe you do not have"
  25922. + $ECHO "*** because a test_compile did reveal that the linker did not use it for"
  25923. + $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
  25924. + fi
  25925. + fi
  25926. + ;;
  25927. + *)
  25928. + newdeplibs="$newdeplibs $i"
  25929. + ;;
  25930. + esac
  25931. + done
  25932. + else
  25933. + # Error occurred in the first compile. Let's try to salvage
  25934. + # the situation: Compile a separate program for each library.
  25935. + for i in $deplibs; do
  25936. + case $i in
  25937. + -l*)
  25938. + func_stripname -l '' "$i"
  25939. + name=$func_stripname_result
  25940. + $opt_dry_run || $RM conftest
  25941. + if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
  25942. + ldd_output=`ldd conftest`
  25943. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  25944. + case " $predeps $postdeps " in
  25945. + *" $i "*)
  25946. + newdeplibs="$newdeplibs $i"
  25947. + i=""
  25948. + ;;
  25949. + esac
  25950. + fi
  25951. + if test -n "$i" ; then
  25952. + libname=`eval "\\$ECHO \"$libname_spec\""`
  25953. + deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
  25954. + set dummy $deplib_matches; shift
  25955. + deplib_match=$1
  25956. + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  25957. + newdeplibs="$newdeplibs $i"
  25958. + else
  25959. + droppeddeps=yes
  25960. + $ECHO
  25961. + $ECHO "*** Warning: dynamic linker does not accept needed library $i."
  25962. + $ECHO "*** I have the capability to make that library automatically link in when"
  25963. + $ECHO "*** you link to this library. But I can only do this if you have a"
  25964. + $ECHO "*** shared version of the library, which you do not appear to have"
  25965. + $ECHO "*** because a test_compile did reveal that the linker did not use this one"
  25966. + $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
  25967. + fi
  25968. + fi
  25969. + else
  25970. + droppeddeps=yes
  25971. + $ECHO
  25972. + $ECHO "*** Warning! Library $i is needed by this library but I was not able to"
  25973. + $ECHO "*** make it link in! You will probably need to install it or some"
  25974. + $ECHO "*** library that it depends on before this library will be fully"
  25975. + $ECHO "*** functional. Installing it before continuing would be even better."
  25976. + fi
  25977. + ;;
  25978. + *)
  25979. + newdeplibs="$newdeplibs $i"
  25980. + ;;
  25981. + esac
  25982. + done
  25983. + fi
  25984. + ;;
  25985. + file_magic*)
  25986. + set dummy $deplibs_check_method; shift
  25987. + file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  25988. + for a_deplib in $deplibs; do
  25989. + case $a_deplib in
  25990. + -l*)
  25991. + func_stripname -l '' "$a_deplib"
  25992. + name=$func_stripname_result
  25993. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  25994. + case " $predeps $postdeps " in
  25995. + *" $a_deplib "*)
  25996. + newdeplibs="$newdeplibs $a_deplib"
  25997. + a_deplib=""
  25998. + ;;
  25999. + esac
  26000. + fi
  26001. + if test -n "$a_deplib" ; then
  26002. + libname=`eval "\\$ECHO \"$libname_spec\""`
  26003. + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  26004. + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  26005. + for potent_lib in $potential_libs; do
  26006. + # Follow soft links.
  26007. + if ls -lLd "$potent_lib" 2>/dev/null |
  26008. + $GREP " -> " >/dev/null; then
  26009. + continue
  26010. + fi
  26011. + # The statement above tries to avoid entering an
  26012. + # endless loop below, in case of cyclic links.
  26013. + # We might still enter an endless loop, since a link
  26014. + # loop can be closed while we follow links,
  26015. + # but so what?
  26016. + potlib="$potent_lib"
  26017. + while test -h "$potlib" 2>/dev/null; do
  26018. + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
  26019. + case $potliblink in
  26020. + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
  26021. + *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
  26022. + esac
  26023. + done
  26024. + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
  26025. + $SED -e 10q |
  26026. + $EGREP "$file_magic_regex" > /dev/null; then
  26027. + newdeplibs="$newdeplibs $a_deplib"
  26028. + a_deplib=""
  26029. + break 2
  26030. + fi
  26031. + done
  26032. + done
  26033. + fi
  26034. + if test -n "$a_deplib" ; then
  26035. + droppeddeps=yes
  26036. + $ECHO
  26037. + $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
  26038. + $ECHO "*** I have the capability to make that library automatically link in when"
  26039. + $ECHO "*** you link to this library. But I can only do this if you have a"
  26040. + $ECHO "*** shared version of the library, which you do not appear to have"
  26041. + $ECHO "*** because I did check the linker path looking for a file starting"
  26042. + if test -z "$potlib" ; then
  26043. + $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
  26044. + else
  26045. + $ECHO "*** with $libname and none of the candidates passed a file format test"
  26046. + $ECHO "*** using a file magic. Last file checked: $potlib"
  26047. + fi
  26048. + fi
  26049. + ;;
  26050. + *)
  26051. + # Add a -L argument.
  26052. + newdeplibs="$newdeplibs $a_deplib"
  26053. + ;;
  26054. + esac
  26055. + done # Gone through all deplibs.
  26056. + ;;
  26057. + match_pattern*)
  26058. + set dummy $deplibs_check_method; shift
  26059. + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  26060. + for a_deplib in $deplibs; do
  26061. + case $a_deplib in
  26062. + -l*)
  26063. + func_stripname -l '' "$a_deplib"
  26064. + name=$func_stripname_result
  26065. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  26066. + case " $predeps $postdeps " in
  26067. + *" $a_deplib "*)
  26068. + newdeplibs="$newdeplibs $a_deplib"
  26069. + a_deplib=""
  26070. + ;;
  26071. + esac
  26072. + fi
  26073. + if test -n "$a_deplib" ; then
  26074. + libname=`eval "\\$ECHO \"$libname_spec\""`
  26075. + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  26076. + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  26077. + for potent_lib in $potential_libs; do
  26078. + potlib="$potent_lib" # see symlink-check above in file_magic test
  26079. + if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
  26080. + $EGREP "$match_pattern_regex" > /dev/null; then
  26081. + newdeplibs="$newdeplibs $a_deplib"
  26082. + a_deplib=""
  26083. + break 2
  26084. + fi
  26085. + done
  26086. + done
  26087. + fi
  26088. + if test -n "$a_deplib" ; then
  26089. + droppeddeps=yes
  26090. + $ECHO
  26091. + $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
  26092. + $ECHO "*** I have the capability to make that library automatically link in when"
  26093. + $ECHO "*** you link to this library. But I can only do this if you have a"
  26094. + $ECHO "*** shared version of the library, which you do not appear to have"
  26095. + $ECHO "*** because I did check the linker path looking for a file starting"
  26096. + if test -z "$potlib" ; then
  26097. + $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
  26098. + else
  26099. + $ECHO "*** with $libname and none of the candidates passed a file format test"
  26100. + $ECHO "*** using a regex pattern. Last file checked: $potlib"
  26101. + fi
  26102. + fi
  26103. + ;;
  26104. + *)
  26105. + # Add a -L argument.
  26106. + newdeplibs="$newdeplibs $a_deplib"
  26107. + ;;
  26108. + esac
  26109. + done # Gone through all deplibs.
  26110. + ;;
  26111. + none | unknown | *)
  26112. + newdeplibs=""
  26113. + tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
  26114. + -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
  26115. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  26116. + for i in $predeps $postdeps ; do
  26117. + # can't use Xsed below, because $i might contain '/'
  26118. + tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
  26119. + done
  26120. + fi
  26121. + if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' |
  26122. + $GREP . >/dev/null; then
  26123. + $ECHO
  26124. + if test "X$deplibs_check_method" = "Xnone"; then
  26125. + $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
  26126. + else
  26127. + $ECHO "*** Warning: inter-library dependencies are not known to be supported."
  26128. + fi
  26129. + $ECHO "*** All declared inter-library dependencies are being dropped."
  26130. + droppeddeps=yes
  26131. + fi
  26132. + ;;
  26133. + esac
  26134. + versuffix=$versuffix_save
  26135. + major=$major_save
  26136. + release=$release_save
  26137. + libname=$libname_save
  26138. + name=$name_save
  26139. +
  26140. + case $host in
  26141. + *-*-rhapsody* | *-*-darwin1.[012])
  26142. + # On Rhapsody replace the C library with the System framework
  26143. + newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  26144. + ;;
  26145. + esac
  26146. +
  26147. + if test "$droppeddeps" = yes; then
  26148. + if test "$module" = yes; then
  26149. + $ECHO
  26150. + $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
  26151. + $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
  26152. + $ECHO "*** a static module, that should work as long as the dlopening"
  26153. + $ECHO "*** application is linked with the -dlopen flag."
  26154. + if test -z "$global_symbol_pipe"; then
  26155. + $ECHO
  26156. + $ECHO "*** However, this would only work if libtool was able to extract symbol"
  26157. + $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
  26158. + $ECHO "*** not find such a program. So, this module is probably useless."
  26159. + $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
  26160. + fi
  26161. + if test "$build_old_libs" = no; then
  26162. + oldlibs="$output_objdir/$libname.$libext"
  26163. + build_libtool_libs=module
  26164. + build_old_libs=yes
  26165. + else
  26166. + build_libtool_libs=no
  26167. + fi
  26168. + else
  26169. + $ECHO "*** The inter-library dependencies that have been dropped here will be"
  26170. + $ECHO "*** automatically added whenever a program is linked with this library"
  26171. + $ECHO "*** or is declared to -dlopen it."
  26172. +
  26173. + if test "$allow_undefined" = no; then
  26174. + $ECHO
  26175. + $ECHO "*** Since this library must not contain undefined symbols,"
  26176. + $ECHO "*** because either the platform does not support them or"
  26177. + $ECHO "*** it was explicitly requested with -no-undefined,"
  26178. + $ECHO "*** libtool will only create a static version of it."
  26179. + if test "$build_old_libs" = no; then
  26180. + oldlibs="$output_objdir/$libname.$libext"
  26181. + build_libtool_libs=module
  26182. + build_old_libs=yes
  26183. + else
  26184. + build_libtool_libs=no
  26185. + fi
  26186. + fi
  26187. + fi
  26188. + fi
  26189. + # Done checking deplibs!
  26190. + deplibs=$newdeplibs
  26191. + fi
  26192. + # Time to change all our "foo.ltframework" stuff back to "-framework foo"
  26193. + case $host in
  26194. + *-*-darwin*)
  26195. + newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  26196. + new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  26197. + deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  26198. + ;;
  26199. + esac
  26200. +
  26201. + # move library search paths that coincide with paths to not yet
  26202. + # installed libraries to the beginning of the library search list
  26203. + new_libs=
  26204. + for path in $notinst_path; do
  26205. + case " $new_libs " in
  26206. + *" -L$path/$objdir "*) ;;
  26207. + *)
  26208. + case " $deplibs " in
  26209. + *" -L$path/$objdir "*)
  26210. + new_libs="$new_libs -L$path/$objdir" ;;
  26211. + esac
  26212. + ;;
  26213. + esac
  26214. + done
  26215. + for deplib in $deplibs; do
  26216. + case $deplib in
  26217. + -L*)
  26218. + case " $new_libs " in
  26219. + *" $deplib "*) ;;
  26220. + *) new_libs="$new_libs $deplib" ;;
  26221. + esac
  26222. + ;;
  26223. + *) new_libs="$new_libs $deplib" ;;
  26224. + esac
  26225. + done
  26226. + deplibs="$new_libs"
  26227. +
  26228. + # All the library-specific variables (install_libdir is set above).
  26229. + library_names=
  26230. + old_library=
  26231. + dlname=
  26232. +
  26233. + # Test again, we may have decided not to build it any more
  26234. + if test "$build_libtool_libs" = yes; then
  26235. + if test "$hardcode_into_libs" = yes; then
  26236. + # Hardcode the library paths
  26237. + hardcode_libdirs=
  26238. + dep_rpath=
  26239. + rpath="$finalize_rpath"
  26240. + test "$mode" != relink && rpath="$compile_rpath$rpath"
  26241. + for libdir in $rpath; do
  26242. + if test -n "$hardcode_libdir_flag_spec"; then
  26243. + if test -n "$hardcode_libdir_separator"; then
  26244. + if test -z "$hardcode_libdirs"; then
  26245. + hardcode_libdirs="$libdir"
  26246. + else
  26247. + # Just accumulate the unique libdirs.
  26248. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  26249. + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  26250. + ;;
  26251. + *)
  26252. + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  26253. + ;;
  26254. + esac
  26255. + fi
  26256. + else
  26257. + eval flag=\"$hardcode_libdir_flag_spec\"
  26258. + dep_rpath="$dep_rpath $flag"
  26259. + fi
  26260. + elif test -n "$runpath_var"; then
  26261. + case "$perm_rpath " in
  26262. + *" $libdir "*) ;;
  26263. + *) perm_rpath="$perm_rpath $libdir" ;;
  26264. + esac
  26265. + fi
  26266. + done
  26267. + # Substitute the hardcoded libdirs into the rpath.
  26268. + if test -n "$hardcode_libdir_separator" &&
  26269. + test -n "$hardcode_libdirs"; then
  26270. + libdir="$hardcode_libdirs"
  26271. + if test -n "$hardcode_libdir_flag_spec_ld"; then
  26272. + eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
  26273. + else
  26274. + eval dep_rpath=\"$hardcode_libdir_flag_spec\"
  26275. + fi
  26276. + fi
  26277. + if test -n "$runpath_var" && test -n "$perm_rpath"; then
  26278. + # We should set the runpath_var.
  26279. + rpath=
  26280. + for dir in $perm_rpath; do
  26281. + rpath="$rpath$dir:"
  26282. + done
  26283. + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
  26284. + fi
  26285. + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
  26286. + fi
  26287. - if test "$fast_install" = yes; then
  26288. - $echo >> $output "\
  26289. - program=lt-'$outputname'$exeext
  26290. - progdir=\"\$thisdir/$objdir\"
  26291. + shlibpath="$finalize_shlibpath"
  26292. + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
  26293. + if test -n "$shlibpath"; then
  26294. + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
  26295. + fi
  26296. - if test ! -f \"\$progdir/\$program\" || \\
  26297. - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
  26298. - test \"X\$file\" != \"X\$progdir/\$program\"; }; then
  26299. + # Get the real and link names of the library.
  26300. + eval shared_ext=\"$shrext_cmds\"
  26301. + eval library_names=\"$library_names_spec\"
  26302. + set dummy $library_names
  26303. + shift
  26304. + realname="$1"
  26305. + shift
  26306. - file=\"\$\$-\$program\"
  26307. + if test -n "$soname_spec"; then
  26308. + eval soname=\"$soname_spec\"
  26309. + else
  26310. + soname="$realname"
  26311. + fi
  26312. + if test -z "$dlname"; then
  26313. + dlname=$soname
  26314. + fi
  26315. - if test ! -d \"\$progdir\"; then
  26316. - $mkdir \"\$progdir\"
  26317. - else
  26318. - $rm \"\$progdir/\$file\"
  26319. - fi"
  26320. + lib="$output_objdir/$realname"
  26321. + linknames=
  26322. + for link
  26323. + do
  26324. + linknames="$linknames $link"
  26325. + done
  26326. - $echo >> $output "\
  26327. + # Use standard objects if they are pic
  26328. + test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  26329. + test "X$libobjs" = "X " && libobjs=
  26330. - # relink executable if necessary
  26331. - if test -n \"\$relink_command\"; then
  26332. - if relink_command_output=\`eval \$relink_command 2>&1\`; then :
  26333. - else
  26334. - $echo \"\$relink_command_output\" >&2
  26335. - $rm \"\$progdir/\$file\"
  26336. - exit $EXIT_FAILURE
  26337. - fi
  26338. - fi
  26339. + delfiles=
  26340. + if test -n "$export_symbols" && test -n "$include_expsyms"; then
  26341. + $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
  26342. + export_symbols="$output_objdir/$libname.uexp"
  26343. + delfiles="$delfiles $export_symbols"
  26344. + fi
  26345. +
  26346. + orig_export_symbols=
  26347. + case $host_os in
  26348. + cygwin* | mingw* | cegcc*)
  26349. + if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
  26350. + # exporting using user supplied symfile
  26351. + if test "x`$SED 1q $export_symbols`" != xEXPORTS; then
  26352. + # and it's NOT already a .def file. Must figure out
  26353. + # which of the given symbols are data symbols and tag
  26354. + # them as such. So, trigger use of export_symbols_cmds.
  26355. + # export_symbols gets reassigned inside the "prepare
  26356. + # the list of exported symbols" if statement, so the
  26357. + # include_expsyms logic still works.
  26358. + orig_export_symbols="$export_symbols"
  26359. + export_symbols=
  26360. + always_export_symbols=yes
  26361. + fi
  26362. + fi
  26363. + ;;
  26364. + esac
  26365. - $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
  26366. - { $rm \"\$progdir/\$program\";
  26367. - $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; }
  26368. - $rm \"\$progdir/\$file\"
  26369. - fi"
  26370. - else
  26371. - $echo >> $output "\
  26372. - program='$outputname'
  26373. - progdir=\"\$thisdir/$objdir\"
  26374. -"
  26375. + # Prepare the list of exported symbols
  26376. + if test -z "$export_symbols"; then
  26377. + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
  26378. + func_verbose "generating symbol list for \`$libname.la'"
  26379. + export_symbols="$output_objdir/$libname.exp"
  26380. + $opt_dry_run || $RM $export_symbols
  26381. + cmds=$export_symbols_cmds
  26382. + save_ifs="$IFS"; IFS='~'
  26383. + for cmd in $cmds; do
  26384. + IFS="$save_ifs"
  26385. + eval cmd=\"$cmd\"
  26386. + func_len " $cmd"
  26387. + len=$func_len_result
  26388. + if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  26389. + func_show_eval "$cmd" 'exit $?'
  26390. + skipped_export=false
  26391. + else
  26392. + # The command line is too long to execute in one step.
  26393. + func_verbose "using reloadable object file for export list..."
  26394. + skipped_export=:
  26395. + # Break out early, otherwise skipped_export may be
  26396. + # set to false by a later but shorter cmd.
  26397. + break
  26398. + fi
  26399. + done
  26400. + IFS="$save_ifs"
  26401. + if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then
  26402. + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
  26403. + func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
  26404. + fi
  26405. + fi
  26406. fi
  26407. - $echo >> $output "\
  26408. -
  26409. - if test -f \"\$progdir/\$program\"; then"
  26410. + if test -n "$export_symbols" && test -n "$include_expsyms"; then
  26411. + tmp_export_symbols="$export_symbols"
  26412. + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
  26413. + $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
  26414. + fi
  26415. +
  26416. + if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
  26417. + # The given exports_symbols file has to be filtered, so filter it.
  26418. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
  26419. + # FIXME: $output_objdir/$libname.filter potentially contains lots of
  26420. + # 's' commands which not all seds can handle. GNU sed should be fine
  26421. + # though. Also, the filter scales superlinearly with the number of
  26422. + # global variables. join(1) would be nice here, but unfortunately
  26423. + # isn't a blessed tool.
  26424. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
  26425. + delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
  26426. + export_symbols=$output_objdir/$libname.def
  26427. + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
  26428. + fi
  26429. - # Export our shlibpath_var if we have one.
  26430. - if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  26431. - $echo >> $output "\
  26432. - # Add our own library path to $shlibpath_var
  26433. - $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
  26434. + tmp_deplibs=
  26435. + for test_deplib in $deplibs; do
  26436. + case " $convenience " in
  26437. + *" $test_deplib "*) ;;
  26438. + *)
  26439. + tmp_deplibs="$tmp_deplibs $test_deplib"
  26440. + ;;
  26441. + esac
  26442. + done
  26443. + deplibs="$tmp_deplibs"
  26444. - # Some systems cannot cope with colon-terminated $shlibpath_var
  26445. - # The second colon is a workaround for a bug in BeOS R4 sed
  26446. - $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
  26447. + if test -n "$convenience"; then
  26448. + if test -n "$whole_archive_flag_spec" &&
  26449. + test "$compiler_needs_object" = yes &&
  26450. + test -z "$libobjs"; then
  26451. + # extract the archives, so we have objects to list.
  26452. + # TODO: could optimize this to just extract one archive.
  26453. + whole_archive_flag_spec=
  26454. + fi
  26455. + if test -n "$whole_archive_flag_spec"; then
  26456. + save_libobjs=$libobjs
  26457. + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  26458. + test "X$libobjs" = "X " && libobjs=
  26459. + else
  26460. + gentop="$output_objdir/${outputname}x"
  26461. + generated="$generated $gentop"
  26462. - export $shlibpath_var
  26463. -"
  26464. + func_extract_archives $gentop $convenience
  26465. + libobjs="$libobjs $func_extract_archives_result"
  26466. + test "X$libobjs" = "X " && libobjs=
  26467. + fi
  26468. fi
  26469. - # fixup the dll searchpath if we need to.
  26470. - if test -n "$dllsearchpath"; then
  26471. - $echo >> $output "\
  26472. - # Add the dll search path components to the executable PATH
  26473. - PATH=$dllsearchpath:\$PATH
  26474. -"
  26475. + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
  26476. + eval flag=\"$thread_safe_flag_spec\"
  26477. + linker_flags="$linker_flags $flag"
  26478. fi
  26479. - $echo >> $output "\
  26480. - if test \"\$libtool_execute_magic\" != \"$magic\"; then
  26481. - # Run the actual program with our arguments.
  26482. -"
  26483. - case $host in
  26484. - # Backslashes separate directories on plain windows
  26485. - *-*-mingw | *-*-os2*)
  26486. - $echo >> $output "\
  26487. - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
  26488. -"
  26489. - ;;
  26490. -
  26491. - *)
  26492. - $echo >> $output "\
  26493. - exec \"\$progdir/\$program\" \${1+\"\$@\"}
  26494. -"
  26495. - ;;
  26496. - esac
  26497. - $echo >> $output "\
  26498. - \$echo \"\$0: cannot exec \$program \$*\"
  26499. - exit $EXIT_FAILURE
  26500. - fi
  26501. - else
  26502. - # The program doesn't exist.
  26503. - \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
  26504. - \$echo \"This script is just a wrapper for \$program.\" 1>&2
  26505. - $echo \"See the $PACKAGE documentation for more information.\" 1>&2
  26506. - exit $EXIT_FAILURE
  26507. - fi
  26508. -fi\
  26509. -"
  26510. - chmod +x $output
  26511. - fi
  26512. - exit $EXIT_SUCCESS
  26513. - ;;
  26514. - esac
  26515. -
  26516. - # See if we need to build an old-fashioned archive.
  26517. - for oldlib in $oldlibs; do
  26518. + # Make a backup of the uninstalled library when relinking
  26519. + if test "$mode" = relink; then
  26520. + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
  26521. + fi
  26522. - if test "$build_libtool_libs" = convenience; then
  26523. - oldobjs="$libobjs_save"
  26524. - addlibs="$convenience"
  26525. - build_libtool_libs=no
  26526. - else
  26527. - if test "$build_libtool_libs" = module; then
  26528. - oldobjs="$libobjs_save"
  26529. - build_libtool_libs=no
  26530. + # Do each of the archive commands.
  26531. + if test "$module" = yes && test -n "$module_cmds" ; then
  26532. + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  26533. + eval test_cmds=\"$module_expsym_cmds\"
  26534. + cmds=$module_expsym_cmds
  26535. + else
  26536. + eval test_cmds=\"$module_cmds\"
  26537. + cmds=$module_cmds
  26538. + fi
  26539. else
  26540. - oldobjs="$old_deplibs $non_pic_objects"
  26541. + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  26542. + eval test_cmds=\"$archive_expsym_cmds\"
  26543. + cmds=$archive_expsym_cmds
  26544. + else
  26545. + eval test_cmds=\"$archive_cmds\"
  26546. + cmds=$archive_cmds
  26547. + fi
  26548. fi
  26549. - addlibs="$old_convenience"
  26550. - fi
  26551. - if test -n "$addlibs"; then
  26552. - gentop="$output_objdir/${outputname}x"
  26553. - generated="$generated $gentop"
  26554. + if test "X$skipped_export" != "X:" &&
  26555. + func_len " $test_cmds" &&
  26556. + len=$func_len_result &&
  26557. + test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  26558. + :
  26559. + else
  26560. + # The command line is too long to link in one step, link piecewise
  26561. + # or, if using GNU ld and skipped_export is not :, use a linker
  26562. + # script.
  26563. - func_extract_archives $gentop $addlibs
  26564. - oldobjs="$oldobjs $func_extract_archives_result"
  26565. - fi
  26566. + # Save the value of $output and $libobjs because we want to
  26567. + # use them later. If we have whole_archive_flag_spec, we
  26568. + # want to use save_libobjs as it was before
  26569. + # whole_archive_flag_spec was expanded, because we can't
  26570. + # assume the linker understands whole_archive_flag_spec.
  26571. + # This may have to be revisited, in case too many
  26572. + # convenience libraries get linked in and end up exceeding
  26573. + # the spec.
  26574. + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
  26575. + save_libobjs=$libobjs
  26576. + fi
  26577. + save_output=$output
  26578. + output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
  26579. - # Do each command in the archive commands.
  26580. - if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
  26581. - cmds=$old_archive_from_new_cmds
  26582. - else
  26583. - # POSIX demands no paths to be encoded in archives. We have
  26584. - # to avoid creating archives with duplicate basenames if we
  26585. - # might have to extract them afterwards, e.g., when creating a
  26586. - # static archive out of a convenience library, or when linking
  26587. - # the entirety of a libtool archive into another (currently
  26588. - # not supported by libtool).
  26589. - if (for obj in $oldobjs
  26590. + # Clear the reloadable object creation command queue and
  26591. + # initialize k to one.
  26592. + test_cmds=
  26593. + concat_cmds=
  26594. + objlist=
  26595. + last_robj=
  26596. + k=1
  26597. +
  26598. + if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
  26599. + output=${output_objdir}/${output_la}.lnkscript
  26600. + func_verbose "creating GNU ld script: $output"
  26601. + $ECHO 'INPUT (' > $output
  26602. + for obj in $save_libobjs
  26603. do
  26604. - $echo "X$obj" | $Xsed -e 's%^.*/%%'
  26605. - done | sort | sort -uc >/dev/null 2>&1); then
  26606. - :
  26607. - else
  26608. - $echo "copying selected object files to avoid basename conflicts..."
  26609. + $ECHO "$obj" >> $output
  26610. + done
  26611. + $ECHO ')' >> $output
  26612. + delfiles="$delfiles $output"
  26613. + elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
  26614. + output=${output_objdir}/${output_la}.lnk
  26615. + func_verbose "creating linker input file list: $output"
  26616. + : > $output
  26617. + set x $save_libobjs
  26618. + shift
  26619. + firstobj=
  26620. + if test "$compiler_needs_object" = yes; then
  26621. + firstobj="$1 "
  26622. + shift
  26623. + fi
  26624. + for obj
  26625. + do
  26626. + $ECHO "$obj" >> $output
  26627. + done
  26628. + delfiles="$delfiles $output"
  26629. + output=$firstobj\"$file_list_spec$output\"
  26630. + else
  26631. + if test -n "$save_libobjs"; then
  26632. + func_verbose "creating reloadable object files..."
  26633. + output=$output_objdir/$output_la-${k}.$objext
  26634. + eval test_cmds=\"$reload_cmds\"
  26635. + func_len " $test_cmds"
  26636. + len0=$func_len_result
  26637. + len=$len0
  26638. +
  26639. + # Loop over the list of objects to be linked.
  26640. + for obj in $save_libobjs
  26641. + do
  26642. + func_len " $obj"
  26643. + func_arith $len + $func_len_result
  26644. + len=$func_arith_result
  26645. + if test "X$objlist" = X ||
  26646. + test "$len" -lt "$max_cmd_len"; then
  26647. + func_append objlist " $obj"
  26648. + else
  26649. + # The command $test_cmds is almost too long, add a
  26650. + # command to the queue.
  26651. + if test "$k" -eq 1 ; then
  26652. + # The first file doesn't have a previous command to add.
  26653. + eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
  26654. + else
  26655. + # All subsequent reloadable object files will link in
  26656. + # the last one created.
  26657. + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\"
  26658. + fi
  26659. + last_robj=$output_objdir/$output_la-${k}.$objext
  26660. + func_arith $k + 1
  26661. + k=$func_arith_result
  26662. + output=$output_objdir/$output_la-${k}.$objext
  26663. + objlist=$obj
  26664. + func_len " $last_robj"
  26665. + func_arith $len0 + $func_len_result
  26666. + len=$func_arith_result
  26667. + fi
  26668. + done
  26669. + # Handle the remaining objects by creating one last
  26670. + # reloadable object file. All subsequent reloadable object
  26671. + # files will link in the last one created.
  26672. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  26673. + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
  26674. + if test -n "$last_robj"; then
  26675. + eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
  26676. + fi
  26677. + delfiles="$delfiles $output"
  26678. - if test -z "$gentop"; then
  26679. - gentop="$output_objdir/${outputname}x"
  26680. - generated="$generated $gentop"
  26681. + else
  26682. + output=
  26683. + fi
  26684. +
  26685. + if ${skipped_export-false}; then
  26686. + func_verbose "generating symbol list for \`$libname.la'"
  26687. + export_symbols="$output_objdir/$libname.exp"
  26688. + $opt_dry_run || $RM $export_symbols
  26689. + libobjs=$output
  26690. + # Append the command to create the export file.
  26691. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  26692. + eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\"
  26693. + if test -n "$last_robj"; then
  26694. + eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
  26695. + fi
  26696. + fi
  26697. +
  26698. + test -n "$save_libobjs" &&
  26699. + func_verbose "creating a temporary reloadable object file: $output"
  26700. +
  26701. + # Loop through the commands generated above and execute them.
  26702. + save_ifs="$IFS"; IFS='~'
  26703. + for cmd in $concat_cmds; do
  26704. + IFS="$save_ifs"
  26705. + $opt_silent || {
  26706. + func_quote_for_expand "$cmd"
  26707. + eval "func_echo $func_quote_for_expand_result"
  26708. + }
  26709. + $opt_dry_run || eval "$cmd" || {
  26710. + lt_exit=$?
  26711. +
  26712. + # Restore the uninstalled library and exit
  26713. + if test "$mode" = relink; then
  26714. + ( cd "$output_objdir" && \
  26715. + $RM "${realname}T" && \
  26716. + $MV "${realname}U" "$realname" )
  26717. + fi
  26718. +
  26719. + exit $lt_exit
  26720. + }
  26721. + done
  26722. + IFS="$save_ifs"
  26723. - $show "${rm}r $gentop"
  26724. - $run ${rm}r "$gentop"
  26725. - $show "$mkdir $gentop"
  26726. - $run $mkdir "$gentop"
  26727. - exit_status=$?
  26728. - if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
  26729. - exit $exit_status
  26730. + if test -n "$export_symbols_regex" && ${skipped_export-false}; then
  26731. + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
  26732. + func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
  26733. fi
  26734. fi
  26735. - save_oldobjs=$oldobjs
  26736. - oldobjs=
  26737. - counter=1
  26738. - for obj in $save_oldobjs
  26739. - do
  26740. - objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
  26741. - case " $oldobjs " in
  26742. - " ") oldobjs=$obj ;;
  26743. - *[\ /]"$objbase "*)
  26744. - while :; do
  26745. - # Make sure we don't pick an alternate name that also
  26746. - # overlaps.
  26747. - newobj=lt$counter-$objbase
  26748. - counter=`expr $counter + 1`
  26749. - case " $oldobjs " in
  26750. - *[\ /]"$newobj "*) ;;
  26751. - *) if test ! -f "$gentop/$newobj"; then break; fi ;;
  26752. - esac
  26753. - done
  26754. - $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
  26755. - $run ln "$obj" "$gentop/$newobj" ||
  26756. - $run cp "$obj" "$gentop/$newobj"
  26757. - oldobjs="$oldobjs $gentop/$newobj"
  26758. - ;;
  26759. - *) oldobjs="$oldobjs $obj" ;;
  26760. - esac
  26761. - done
  26762. - fi
  26763. + if ${skipped_export-false}; then
  26764. + if test -n "$export_symbols" && test -n "$include_expsyms"; then
  26765. + tmp_export_symbols="$export_symbols"
  26766. + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
  26767. + $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
  26768. + fi
  26769. +
  26770. + if test -n "$orig_export_symbols"; then
  26771. + # The given exports_symbols file has to be filtered, so filter it.
  26772. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
  26773. + # FIXME: $output_objdir/$libname.filter potentially contains lots of
  26774. + # 's' commands which not all seds can handle. GNU sed should be fine
  26775. + # though. Also, the filter scales superlinearly with the number of
  26776. + # global variables. join(1) would be nice here, but unfortunately
  26777. + # isn't a blessed tool.
  26778. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
  26779. + delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
  26780. + export_symbols=$output_objdir/$libname.def
  26781. + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
  26782. + fi
  26783. + fi
  26784. - eval cmds=\"$old_archive_cmds\"
  26785. + libobjs=$output
  26786. + # Restore the value of output.
  26787. + output=$save_output
  26788. - if len=`expr "X$cmds" : ".*"` &&
  26789. - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  26790. - cmds=$old_archive_cmds
  26791. - else
  26792. - # the command line is too long to link in one step, link in parts
  26793. - $echo "using piecewise archive linking..."
  26794. - save_RANLIB=$RANLIB
  26795. - RANLIB=:
  26796. - objlist=
  26797. - concat_cmds=
  26798. - save_oldobjs=$oldobjs
  26799. + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
  26800. + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  26801. + test "X$libobjs" = "X " && libobjs=
  26802. + fi
  26803. + # Expand the library linking commands again to reset the
  26804. + # value of $libobjs for piecewise linking.
  26805. - # Is there a better way of finding the last object in the list?
  26806. - for obj in $save_oldobjs
  26807. - do
  26808. - last_oldobj=$obj
  26809. - done
  26810. - for obj in $save_oldobjs
  26811. - do
  26812. - oldobjs="$objlist $obj"
  26813. - objlist="$objlist $obj"
  26814. - eval test_cmds=\"$old_archive_cmds\"
  26815. - if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
  26816. - test "$len" -le "$max_cmd_len"; then
  26817. - :
  26818. + # Do each of the archive commands.
  26819. + if test "$module" = yes && test -n "$module_cmds" ; then
  26820. + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  26821. + cmds=$module_expsym_cmds
  26822. else
  26823. - # the above command should be used before it gets too long
  26824. - oldobjs=$objlist
  26825. - if test "$obj" = "$last_oldobj" ; then
  26826. - RANLIB=$save_RANLIB
  26827. - fi
  26828. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  26829. - eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
  26830. - objlist=
  26831. + cmds=$module_cmds
  26832. fi
  26833. - done
  26834. - RANLIB=$save_RANLIB
  26835. - oldobjs=$objlist
  26836. - if test "X$oldobjs" = "X" ; then
  26837. - eval cmds=\"\$concat_cmds\"
  26838. else
  26839. - eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
  26840. + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  26841. + cmds=$archive_expsym_cmds
  26842. + else
  26843. + cmds=$archive_cmds
  26844. + fi
  26845. fi
  26846. fi
  26847. - fi
  26848. - save_ifs="$IFS"; IFS='~'
  26849. - for cmd in $cmds; do
  26850. - eval cmd=\"$cmd\"
  26851. - IFS="$save_ifs"
  26852. - $show "$cmd"
  26853. - $run eval "$cmd" || exit $?
  26854. - done
  26855. - IFS="$save_ifs"
  26856. - done
  26857. - if test -n "$generated"; then
  26858. - $show "${rm}r$generated"
  26859. - $run ${rm}r$generated
  26860. - fi
  26861. + if test -n "$delfiles"; then
  26862. + # Append the command to remove temporary files to $cmds.
  26863. + eval cmds=\"\$cmds~\$RM $delfiles\"
  26864. + fi
  26865. - # Now create the libtool archive.
  26866. - case $output in
  26867. - *.la)
  26868. - old_library=
  26869. - test "$build_old_libs" = yes && old_library="$libname.$libext"
  26870. - $show "creating $output"
  26871. + # Add any objects from preloaded convenience libraries
  26872. + if test -n "$dlprefiles"; then
  26873. + gentop="$output_objdir/${outputname}x"
  26874. + generated="$generated $gentop"
  26875. - # Preserve any variables that may affect compiler behavior
  26876. - for var in $variables_saved_for_relink; do
  26877. - if eval test -z \"\${$var+set}\"; then
  26878. - relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
  26879. - elif eval var_value=\$$var; test -z "$var_value"; then
  26880. - relink_command="$var=; export $var; $relink_command"
  26881. - else
  26882. - var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
  26883. - relink_command="$var=\"$var_value\"; export $var; $relink_command"
  26884. + func_extract_archives $gentop $dlprefiles
  26885. + libobjs="$libobjs $func_extract_archives_result"
  26886. + test "X$libobjs" = "X " && libobjs=
  26887. fi
  26888. - done
  26889. - # Quote the link command for shipping.
  26890. - relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
  26891. - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
  26892. - if test "$hardcode_automatic" = yes ; then
  26893. - relink_command=
  26894. - fi
  26895. + save_ifs="$IFS"; IFS='~'
  26896. + for cmd in $cmds; do
  26897. + IFS="$save_ifs"
  26898. + eval cmd=\"$cmd\"
  26899. + $opt_silent || {
  26900. + func_quote_for_expand "$cmd"
  26901. + eval "func_echo $func_quote_for_expand_result"
  26902. + }
  26903. + $opt_dry_run || eval "$cmd" || {
  26904. + lt_exit=$?
  26905. - # Only create the output if not a dry run.
  26906. - if test -z "$run"; then
  26907. - for installed in no yes; do
  26908. - if test "$installed" = yes; then
  26909. - if test -z "$install_libdir"; then
  26910. - break
  26911. + # Restore the uninstalled library and exit
  26912. + if test "$mode" = relink; then
  26913. + ( cd "$output_objdir" && \
  26914. + $RM "${realname}T" && \
  26915. + $MV "${realname}U" "$realname" )
  26916. fi
  26917. - output="$output_objdir/$outputname"i
  26918. - # Replace all uninstalled libtool libraries with the installed ones
  26919. - newdependency_libs=
  26920. - for deplib in $dependency_libs; do
  26921. - case $deplib in
  26922. - *.la)
  26923. - name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
  26924. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  26925. - if test -z "$libdir"; then
  26926. - $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
  26927. - exit $EXIT_FAILURE
  26928. - fi
  26929. - newdependency_libs="$newdependency_libs $libdir/$name"
  26930. - ;;
  26931. - *) newdependency_libs="$newdependency_libs $deplib" ;;
  26932. - esac
  26933. - done
  26934. - dependency_libs="$newdependency_libs"
  26935. - newdlfiles=
  26936. - for lib in $dlfiles; do
  26937. - name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
  26938. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  26939. - if test -z "$libdir"; then
  26940. - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  26941. - exit $EXIT_FAILURE
  26942. - fi
  26943. - newdlfiles="$newdlfiles $libdir/$name"
  26944. - done
  26945. - dlfiles="$newdlfiles"
  26946. - newdlprefiles=
  26947. - for lib in $dlprefiles; do
  26948. - name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
  26949. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  26950. - if test -z "$libdir"; then
  26951. - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  26952. - exit $EXIT_FAILURE
  26953. - fi
  26954. - newdlprefiles="$newdlprefiles $libdir/$name"
  26955. - done
  26956. - dlprefiles="$newdlprefiles"
  26957. - else
  26958. - newdlfiles=
  26959. - for lib in $dlfiles; do
  26960. - case $lib in
  26961. - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  26962. - *) abs=`pwd`"/$lib" ;;
  26963. - esac
  26964. - newdlfiles="$newdlfiles $abs"
  26965. - done
  26966. - dlfiles="$newdlfiles"
  26967. - newdlprefiles=
  26968. - for lib in $dlprefiles; do
  26969. - case $lib in
  26970. - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  26971. - *) abs=`pwd`"/$lib" ;;
  26972. - esac
  26973. - newdlprefiles="$newdlprefiles $abs"
  26974. - done
  26975. - dlprefiles="$newdlprefiles"
  26976. - fi
  26977. - $rm $output
  26978. - # place dlname in correct position for cygwin
  26979. - tdlname=$dlname
  26980. - case $host,$output,$installed,$module,$dlname in
  26981. - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
  26982. - esac
  26983. - $echo > $output "\
  26984. -# $outputname - a libtool library file
  26985. -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
  26986. -#
  26987. -# Please DO NOT delete this file!
  26988. -# It is necessary for linking the library.
  26989. -# The name that we can dlopen(3).
  26990. -dlname='$tdlname'
  26991. + exit $lt_exit
  26992. + }
  26993. + done
  26994. + IFS="$save_ifs"
  26995. -# Names of this library.
  26996. -library_names='$library_names'
  26997. + # Restore the uninstalled library and exit
  26998. + if test "$mode" = relink; then
  26999. + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
  27000. -# The name of the static archive.
  27001. -old_library='$old_library'
  27002. + if test -n "$convenience"; then
  27003. + if test -z "$whole_archive_flag_spec"; then
  27004. + func_show_eval '${RM}r "$gentop"'
  27005. + fi
  27006. + fi
  27007. -# Libraries that this one depends upon.
  27008. -dependency_libs='$dependency_libs'
  27009. + exit $EXIT_SUCCESS
  27010. + fi
  27011. -# Version information for $libname.
  27012. -current=$current
  27013. -age=$age
  27014. -revision=$revision
  27015. + # Create links to the real library.
  27016. + for linkname in $linknames; do
  27017. + if test "$realname" != "$linkname"; then
  27018. + func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?'
  27019. + fi
  27020. + done
  27021. -# Is this an already installed library?
  27022. -installed=$installed
  27023. + # If -module or -export-dynamic was specified, set the dlname.
  27024. + if test "$module" = yes || test "$export_dynamic" = yes; then
  27025. + # On all known operating systems, these are identical.
  27026. + dlname="$soname"
  27027. + fi
  27028. + fi
  27029. + ;;
  27030. -# Should we warn about portability when linking against -modules?
  27031. -shouldnotlink=$module
  27032. + obj)
  27033. + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  27034. + func_warning "\`-dlopen' is ignored for objects"
  27035. + fi
  27036. -# Files to dlopen/dlpreopen
  27037. -dlopen='$dlfiles'
  27038. -dlpreopen='$dlprefiles'
  27039. + case " $deplibs" in
  27040. + *\ -l* | *\ -L*)
  27041. + func_warning "\`-l' and \`-L' are ignored for objects" ;;
  27042. + esac
  27043. -# Directory that this library needs to be installed in:
  27044. -libdir='$install_libdir'"
  27045. - if test "$installed" = no && test "$need_relink" = yes; then
  27046. - $echo >> $output "\
  27047. -relink_command=\"$relink_command\""
  27048. - fi
  27049. - done
  27050. - fi
  27051. + test -n "$rpath" && \
  27052. + func_warning "\`-rpath' is ignored for objects"
  27053. - # Do a symbolic link so that the libtool archive can be found in
  27054. - # LD_LIBRARY_PATH before the program is installed.
  27055. - $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
  27056. - $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
  27057. - ;;
  27058. - esac
  27059. - exit $EXIT_SUCCESS
  27060. - ;;
  27061. + test -n "$xrpath" && \
  27062. + func_warning "\`-R' is ignored for objects"
  27063. - # libtool install mode
  27064. - install)
  27065. - modename="$modename: install"
  27066. + test -n "$vinfo" && \
  27067. + func_warning "\`-version-info' is ignored for objects"
  27068. - # There may be an optional sh(1) argument at the beginning of
  27069. - # install_prog (especially on Windows NT).
  27070. - if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
  27071. - # Allow the use of GNU shtool's install command.
  27072. - $echo "X$nonopt" | grep shtool > /dev/null; then
  27073. - # Aesthetically quote it.
  27074. - arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
  27075. - case $arg in
  27076. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  27077. - arg="\"$arg\""
  27078. + test -n "$release" && \
  27079. + func_warning "\`-release' is ignored for objects"
  27080. +
  27081. + case $output in
  27082. + *.lo)
  27083. + test -n "$objs$old_deplibs" && \
  27084. + func_fatal_error "cannot build library object \`$output' from non-libtool objects"
  27085. +
  27086. + libobj=$output
  27087. + func_lo2o "$libobj"
  27088. + obj=$func_lo2o_result
  27089. + ;;
  27090. + *)
  27091. + libobj=
  27092. + obj="$output"
  27093. ;;
  27094. esac
  27095. - install_prog="$arg "
  27096. - arg="$1"
  27097. - shift
  27098. - else
  27099. - install_prog=
  27100. - arg=$nonopt
  27101. - fi
  27102. - # The real first argument should be the name of the installation program.
  27103. - # Aesthetically quote it.
  27104. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  27105. - case $arg in
  27106. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  27107. - arg="\"$arg\""
  27108. - ;;
  27109. - esac
  27110. - install_prog="$install_prog$arg"
  27111. + # Delete the old objects.
  27112. + $opt_dry_run || $RM $obj $libobj
  27113. - # We need to accept at least all the BSD install flags.
  27114. - dest=
  27115. - files=
  27116. - opts=
  27117. - prev=
  27118. - install_type=
  27119. - isdir=no
  27120. - stripme=
  27121. - for arg
  27122. - do
  27123. - if test -n "$dest"; then
  27124. - files="$files $dest"
  27125. - dest=$arg
  27126. - continue
  27127. - fi
  27128. + # Objects from convenience libraries. This assumes
  27129. + # single-version convenience libraries. Whenever we create
  27130. + # different ones for PIC/non-PIC, this we'll have to duplicate
  27131. + # the extraction.
  27132. + reload_conv_objs=
  27133. + gentop=
  27134. + # reload_cmds runs $LD directly, so let us get rid of
  27135. + # -Wl from whole_archive_flag_spec and hope we can get by with
  27136. + # turning comma into space..
  27137. + wl=
  27138. - case $arg in
  27139. - -d) isdir=yes ;;
  27140. - -f)
  27141. - case " $install_prog " in
  27142. - *[\\\ /]cp\ *) ;;
  27143. - *) prev=$arg ;;
  27144. - esac
  27145. - ;;
  27146. - -g | -m | -o) prev=$arg ;;
  27147. - -s)
  27148. - stripme=" -s"
  27149. - continue
  27150. - ;;
  27151. - -*)
  27152. - ;;
  27153. - *)
  27154. - # If the previous option needed an argument, then skip it.
  27155. - if test -n "$prev"; then
  27156. - prev=
  27157. + if test -n "$convenience"; then
  27158. + if test -n "$whole_archive_flag_spec"; then
  27159. + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
  27160. + reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
  27161. else
  27162. - dest=$arg
  27163. - continue
  27164. + gentop="$output_objdir/${obj}x"
  27165. + generated="$generated $gentop"
  27166. +
  27167. + func_extract_archives $gentop $convenience
  27168. + reload_conv_objs="$reload_objs $func_extract_archives_result"
  27169. fi
  27170. - ;;
  27171. - esac
  27172. + fi
  27173. - # Aesthetically quote the argument.
  27174. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  27175. - case $arg in
  27176. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  27177. - arg="\"$arg\""
  27178. - ;;
  27179. - esac
  27180. - install_prog="$install_prog $arg"
  27181. - done
  27182. + # Create the old-style object.
  27183. + reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
  27184. - if test -z "$install_prog"; then
  27185. - $echo "$modename: you must specify an install program" 1>&2
  27186. - $echo "$help" 1>&2
  27187. - exit $EXIT_FAILURE
  27188. - fi
  27189. + output="$obj"
  27190. + func_execute_cmds "$reload_cmds" 'exit $?'
  27191. - if test -n "$prev"; then
  27192. - $echo "$modename: the \`$prev' option requires an argument" 1>&2
  27193. - $echo "$help" 1>&2
  27194. - exit $EXIT_FAILURE
  27195. - fi
  27196. + # Exit if we aren't doing a library object file.
  27197. + if test -z "$libobj"; then
  27198. + if test -n "$gentop"; then
  27199. + func_show_eval '${RM}r "$gentop"'
  27200. + fi
  27201. - if test -z "$files"; then
  27202. - if test -z "$dest"; then
  27203. - $echo "$modename: no file or destination specified" 1>&2
  27204. - else
  27205. - $echo "$modename: you must specify a destination" 1>&2
  27206. + exit $EXIT_SUCCESS
  27207. fi
  27208. - $echo "$help" 1>&2
  27209. - exit $EXIT_FAILURE
  27210. - fi
  27211. - # Strip any trailing slash from the destination.
  27212. - dest=`$echo "X$dest" | $Xsed -e 's%/$%%'`
  27213. + if test "$build_libtool_libs" != yes; then
  27214. + if test -n "$gentop"; then
  27215. + func_show_eval '${RM}r "$gentop"'
  27216. + fi
  27217. - # Check to see that the destination is a directory.
  27218. - test -d "$dest" && isdir=yes
  27219. - if test "$isdir" = yes; then
  27220. - destdir="$dest"
  27221. - destname=
  27222. - else
  27223. - destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'`
  27224. - test "X$destdir" = "X$dest" && destdir=.
  27225. - destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'`
  27226. + # Create an invalid libtool object if no PIC, so that we don't
  27227. + # accidentally link it into a program.
  27228. + # $show "echo timestamp > $libobj"
  27229. + # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
  27230. + exit $EXIT_SUCCESS
  27231. + fi
  27232. - # Not a directory, so check to see that there is only one file specified.
  27233. - set dummy $files
  27234. - if test "$#" -gt 2; then
  27235. - $echo "$modename: \`$dest' is not a directory" 1>&2
  27236. - $echo "$help" 1>&2
  27237. - exit $EXIT_FAILURE
  27238. + if test -n "$pic_flag" || test "$pic_mode" != default; then
  27239. + # Only do commands if we really have different PIC objects.
  27240. + reload_objs="$libobjs $reload_conv_objs"
  27241. + output="$libobj"
  27242. + func_execute_cmds "$reload_cmds" 'exit $?'
  27243. fi
  27244. - fi
  27245. - case $destdir in
  27246. - [\\/]* | [A-Za-z]:[\\/]*) ;;
  27247. - *)
  27248. - for file in $files; do
  27249. - case $file in
  27250. - *.lo) ;;
  27251. - *)
  27252. - $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
  27253. - $echo "$help" 1>&2
  27254. - exit $EXIT_FAILURE
  27255. - ;;
  27256. - esac
  27257. - done
  27258. +
  27259. + if test -n "$gentop"; then
  27260. + func_show_eval '${RM}r "$gentop"'
  27261. + fi
  27262. +
  27263. + exit $EXIT_SUCCESS
  27264. ;;
  27265. - esac
  27266. - # This variable tells wrapper scripts just to set variables rather
  27267. - # than running their programs.
  27268. - libtool_install_magic="$magic"
  27269. + prog)
  27270. + case $host in
  27271. + *cygwin*) func_stripname '' '.exe' "$output"
  27272. + output=$func_stripname_result.exe;;
  27273. + esac
  27274. + test -n "$vinfo" && \
  27275. + func_warning "\`-version-info' is ignored for programs"
  27276. - staticlibs=
  27277. - future_libdirs=
  27278. - current_libdirs=
  27279. - for file in $files; do
  27280. + test -n "$release" && \
  27281. + func_warning "\`-release' is ignored for programs"
  27282. - # Do each installation.
  27283. - case $file in
  27284. - *.$libext)
  27285. - # Do the static libraries later.
  27286. - staticlibs="$staticlibs $file"
  27287. + test "$preload" = yes \
  27288. + && test "$dlopen_support" = unknown \
  27289. + && test "$dlopen_self" = unknown \
  27290. + && test "$dlopen_self_static" = unknown && \
  27291. + func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support."
  27292. +
  27293. + case $host in
  27294. + *-*-rhapsody* | *-*-darwin1.[012])
  27295. + # On Rhapsody replace the C library is the System framework
  27296. + compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  27297. + finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  27298. ;;
  27299. + esac
  27300. - *.la)
  27301. - # Check to see that this really is a libtool archive.
  27302. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
  27303. - else
  27304. - $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
  27305. - $echo "$help" 1>&2
  27306. - exit $EXIT_FAILURE
  27307. + case $host in
  27308. + *-*-darwin*)
  27309. + # Don't allow lazy linking, it breaks C++ global constructors
  27310. + # But is supposedly fixed on 10.4 or later (yay!).
  27311. + if test "$tagname" = CXX ; then
  27312. + case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
  27313. + 10.[0123])
  27314. + compile_command="$compile_command ${wl}-bind_at_load"
  27315. + finalize_command="$finalize_command ${wl}-bind_at_load"
  27316. + ;;
  27317. + esac
  27318. fi
  27319. + # Time to change all our "foo.ltframework" stuff back to "-framework foo"
  27320. + compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  27321. + finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  27322. + ;;
  27323. + esac
  27324. - library_names=
  27325. - old_library=
  27326. - relink_command=
  27327. - # If there is no directory component, then add one.
  27328. - case $file in
  27329. - */* | *\\*) . $file ;;
  27330. - *) . ./$file ;;
  27331. - esac
  27332. - # Add the libdir to current_libdirs if it is the destination.
  27333. - if test "X$destdir" = "X$libdir"; then
  27334. - case "$current_libdirs " in
  27335. - *" $libdir "*) ;;
  27336. - *) current_libdirs="$current_libdirs $libdir" ;;
  27337. + # move library search paths that coincide with paths to not yet
  27338. + # installed libraries to the beginning of the library search list
  27339. + new_libs=
  27340. + for path in $notinst_path; do
  27341. + case " $new_libs " in
  27342. + *" -L$path/$objdir "*) ;;
  27343. + *)
  27344. + case " $compile_deplibs " in
  27345. + *" -L$path/$objdir "*)
  27346. + new_libs="$new_libs -L$path/$objdir" ;;
  27347. esac
  27348. - else
  27349. - # Note the libdir as a future libdir.
  27350. - case "$future_libdirs " in
  27351. - *" $libdir "*) ;;
  27352. - *) future_libdirs="$future_libdirs $libdir" ;;
  27353. + ;;
  27354. + esac
  27355. + done
  27356. + for deplib in $compile_deplibs; do
  27357. + case $deplib in
  27358. + -L*)
  27359. + case " $new_libs " in
  27360. + *" $deplib "*) ;;
  27361. + *) new_libs="$new_libs $deplib" ;;
  27362. esac
  27363. - fi
  27364. + ;;
  27365. + *) new_libs="$new_libs $deplib" ;;
  27366. + esac
  27367. + done
  27368. + compile_deplibs="$new_libs"
  27369. - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
  27370. - test "X$dir" = "X$file/" && dir=
  27371. - dir="$dir$objdir"
  27372. - if test -n "$relink_command"; then
  27373. - # Determine the prefix the user has applied to our future dir.
  27374. - inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
  27375. + compile_command="$compile_command $compile_deplibs"
  27376. + finalize_command="$finalize_command $finalize_deplibs"
  27377. - # Don't allow the user to place us outside of our expected
  27378. - # location b/c this prevents finding dependent libraries that
  27379. - # are installed to the same prefix.
  27380. - # At present, this check doesn't affect windows .dll's that
  27381. - # are installed into $libdir/../bin (currently, that works fine)
  27382. - # but it's something to keep an eye on.
  27383. - if test "$inst_prefix_dir" = "$destdir"; then
  27384. - $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
  27385. - exit $EXIT_FAILURE
  27386. - fi
  27387. + if test -n "$rpath$xrpath"; then
  27388. + # If the user specified any rpath flags, then add them.
  27389. + for libdir in $rpath $xrpath; do
  27390. + # This is the magic to use -rpath.
  27391. + case "$finalize_rpath " in
  27392. + *" $libdir "*) ;;
  27393. + *) finalize_rpath="$finalize_rpath $libdir" ;;
  27394. + esac
  27395. + done
  27396. + fi
  27397. - if test -n "$inst_prefix_dir"; then
  27398. - # Stick the inst_prefix_dir data into the link command.
  27399. - relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP`
  27400. + # Now hardcode the library paths
  27401. + rpath=
  27402. + hardcode_libdirs=
  27403. + for libdir in $compile_rpath $finalize_rpath; do
  27404. + if test -n "$hardcode_libdir_flag_spec"; then
  27405. + if test -n "$hardcode_libdir_separator"; then
  27406. + if test -z "$hardcode_libdirs"; then
  27407. + hardcode_libdirs="$libdir"
  27408. + else
  27409. + # Just accumulate the unique libdirs.
  27410. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  27411. + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  27412. + ;;
  27413. + *)
  27414. + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  27415. + ;;
  27416. + esac
  27417. + fi
  27418. else
  27419. - relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP`
  27420. + eval flag=\"$hardcode_libdir_flag_spec\"
  27421. + rpath="$rpath $flag"
  27422. fi
  27423. + elif test -n "$runpath_var"; then
  27424. + case "$perm_rpath " in
  27425. + *" $libdir "*) ;;
  27426. + *) perm_rpath="$perm_rpath $libdir" ;;
  27427. + esac
  27428. + fi
  27429. + case $host in
  27430. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  27431. + testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
  27432. + case :$dllsearchpath: in
  27433. + *":$libdir:"*) ;;
  27434. + ::) dllsearchpath=$libdir;;
  27435. + *) dllsearchpath="$dllsearchpath:$libdir";;
  27436. + esac
  27437. + case :$dllsearchpath: in
  27438. + *":$testbindir:"*) ;;
  27439. + ::) dllsearchpath=$testbindir;;
  27440. + *) dllsearchpath="$dllsearchpath:$testbindir";;
  27441. + esac
  27442. + ;;
  27443. + esac
  27444. + done
  27445. + # Substitute the hardcoded libdirs into the rpath.
  27446. + if test -n "$hardcode_libdir_separator" &&
  27447. + test -n "$hardcode_libdirs"; then
  27448. + libdir="$hardcode_libdirs"
  27449. + eval rpath=\" $hardcode_libdir_flag_spec\"
  27450. + fi
  27451. + compile_rpath="$rpath"
  27452. - $echo "$modename: warning: relinking \`$file'" 1>&2
  27453. - $show "$relink_command"
  27454. - if $run eval "$relink_command"; then :
  27455. + rpath=
  27456. + hardcode_libdirs=
  27457. + for libdir in $finalize_rpath; do
  27458. + if test -n "$hardcode_libdir_flag_spec"; then
  27459. + if test -n "$hardcode_libdir_separator"; then
  27460. + if test -z "$hardcode_libdirs"; then
  27461. + hardcode_libdirs="$libdir"
  27462. + else
  27463. + # Just accumulate the unique libdirs.
  27464. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  27465. + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  27466. + ;;
  27467. + *)
  27468. + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  27469. + ;;
  27470. + esac
  27471. + fi
  27472. else
  27473. - $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
  27474. - exit $EXIT_FAILURE
  27475. + eval flag=\"$hardcode_libdir_flag_spec\"
  27476. + rpath="$rpath $flag"
  27477. fi
  27478. + elif test -n "$runpath_var"; then
  27479. + case "$finalize_perm_rpath " in
  27480. + *" $libdir "*) ;;
  27481. + *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
  27482. + esac
  27483. fi
  27484. + done
  27485. + # Substitute the hardcoded libdirs into the rpath.
  27486. + if test -n "$hardcode_libdir_separator" &&
  27487. + test -n "$hardcode_libdirs"; then
  27488. + libdir="$hardcode_libdirs"
  27489. + eval rpath=\" $hardcode_libdir_flag_spec\"
  27490. + fi
  27491. + finalize_rpath="$rpath"
  27492. - # See the names of the shared library.
  27493. - set dummy $library_names
  27494. - if test -n "$2"; then
  27495. - realname="$2"
  27496. - shift
  27497. - shift
  27498. + if test -n "$libobjs" && test "$build_old_libs" = yes; then
  27499. + # Transform all the library objects into standard objects.
  27500. + compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  27501. + finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  27502. + fi
  27503. - srcname="$realname"
  27504. - test -n "$relink_command" && srcname="$realname"T
  27505. + func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
  27506. - # Install the shared library and build the symlinks.
  27507. - $show "$install_prog $dir/$srcname $destdir/$realname"
  27508. - $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
  27509. - if test -n "$stripme" && test -n "$striplib"; then
  27510. - $show "$striplib $destdir/$realname"
  27511. - $run eval "$striplib $destdir/$realname" || exit $?
  27512. - fi
  27513. + # template prelinking step
  27514. + if test -n "$prelink_cmds"; then
  27515. + func_execute_cmds "$prelink_cmds" 'exit $?'
  27516. + fi
  27517. - if test "$#" -gt 0; then
  27518. - # Delete the old symlinks, and create new ones.
  27519. - # Try `ln -sf' first, because the `ln' binary might depend on
  27520. - # the symlink we replace! Solaris /bin/ln does not understand -f,
  27521. - # so we also need to try rm && ln -s.
  27522. - for linkname
  27523. - do
  27524. - if test "$linkname" != "$realname"; then
  27525. - $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
  27526. - $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
  27527. - fi
  27528. - done
  27529. - fi
  27530. + wrappers_required=yes
  27531. + case $host in
  27532. + *cygwin* | *mingw* )
  27533. + if test "$build_libtool_libs" != yes; then
  27534. + wrappers_required=no
  27535. + fi
  27536. + ;;
  27537. + *cegcc)
  27538. + # Disable wrappers for cegcc, we are cross compiling anyway.
  27539. + wrappers_required=no
  27540. + ;;
  27541. + *)
  27542. + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
  27543. + wrappers_required=no
  27544. + fi
  27545. + ;;
  27546. + esac
  27547. + if test "$wrappers_required" = no; then
  27548. + # Replace the output file specification.
  27549. + compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  27550. + link_command="$compile_command$compile_rpath"
  27551. - # Do each command in the postinstall commands.
  27552. - lib="$destdir/$realname"
  27553. - cmds=$postinstall_cmds
  27554. - save_ifs="$IFS"; IFS='~'
  27555. - for cmd in $cmds; do
  27556. - IFS="$save_ifs"
  27557. - eval cmd=\"$cmd\"
  27558. - $show "$cmd"
  27559. - $run eval "$cmd" || {
  27560. - lt_exit=$?
  27561. -
  27562. - # Restore the uninstalled library and exit
  27563. - if test "$mode" = relink; then
  27564. - $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
  27565. - fi
  27566. + # We have no uninstalled library dependencies, so finalize right now.
  27567. + exit_status=0
  27568. + func_show_eval "$link_command" 'exit_status=$?'
  27569. - exit $lt_exit
  27570. - }
  27571. - done
  27572. - IFS="$save_ifs"
  27573. + # Delete the generated files.
  27574. + if test -f "$output_objdir/${outputname}S.${objext}"; then
  27575. + func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
  27576. fi
  27577. - # Install the pseudo-library for information purposes.
  27578. - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  27579. - instname="$dir/$name"i
  27580. - $show "$install_prog $instname $destdir/$name"
  27581. - $run eval "$install_prog $instname $destdir/$name" || exit $?
  27582. -
  27583. - # Maybe install the static library, too.
  27584. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
  27585. - ;;
  27586. + exit $exit_status
  27587. + fi
  27588. - *.lo)
  27589. - # Install (i.e. copy) a libtool object.
  27590. + if test -n "$compile_shlibpath$finalize_shlibpath"; then
  27591. + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
  27592. + fi
  27593. + if test -n "$finalize_shlibpath"; then
  27594. + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
  27595. + fi
  27596. - # Figure out destination file name, if it wasn't already specified.
  27597. - if test -n "$destname"; then
  27598. - destfile="$destdir/$destname"
  27599. - else
  27600. - destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  27601. - destfile="$destdir/$destfile"
  27602. + compile_var=
  27603. + finalize_var=
  27604. + if test -n "$runpath_var"; then
  27605. + if test -n "$perm_rpath"; then
  27606. + # We should set the runpath_var.
  27607. + rpath=
  27608. + for dir in $perm_rpath; do
  27609. + rpath="$rpath$dir:"
  27610. + done
  27611. + compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
  27612. fi
  27613. -
  27614. - # Deduce the name of the destination old-style object file.
  27615. - case $destfile in
  27616. - *.lo)
  27617. - staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
  27618. - ;;
  27619. - *.$objext)
  27620. - staticdest="$destfile"
  27621. - destfile=
  27622. - ;;
  27623. - *)
  27624. - $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
  27625. - $echo "$help" 1>&2
  27626. - exit $EXIT_FAILURE
  27627. - ;;
  27628. - esac
  27629. -
  27630. - # Install the libtool object if requested.
  27631. - if test -n "$destfile"; then
  27632. - $show "$install_prog $file $destfile"
  27633. - $run eval "$install_prog $file $destfile" || exit $?
  27634. + if test -n "$finalize_perm_rpath"; then
  27635. + # We should set the runpath_var.
  27636. + rpath=
  27637. + for dir in $finalize_perm_rpath; do
  27638. + rpath="$rpath$dir:"
  27639. + done
  27640. + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
  27641. fi
  27642. + fi
  27643. - # Install the old object if enabled.
  27644. - if test "$build_old_libs" = yes; then
  27645. - # Deduce the name of the old-style object file.
  27646. - staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
  27647. -
  27648. - $show "$install_prog $staticobj $staticdest"
  27649. - $run eval "$install_prog \$staticobj \$staticdest" || exit $?
  27650. - fi
  27651. + if test "$no_install" = yes; then
  27652. + # We don't need to create a wrapper script.
  27653. + link_command="$compile_var$compile_command$compile_rpath"
  27654. + # Replace the output file specification.
  27655. + link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  27656. + # Delete the old output file.
  27657. + $opt_dry_run || $RM $output
  27658. + # Link the executable and exit
  27659. + func_show_eval "$link_command" 'exit $?'
  27660. exit $EXIT_SUCCESS
  27661. - ;;
  27662. + fi
  27663. - *)
  27664. - # Figure out destination file name, if it wasn't already specified.
  27665. - if test -n "$destname"; then
  27666. - destfile="$destdir/$destname"
  27667. + if test "$hardcode_action" = relink; then
  27668. + # Fast installation is not supported
  27669. + link_command="$compile_var$compile_command$compile_rpath"
  27670. + relink_command="$finalize_var$finalize_command$finalize_rpath"
  27671. +
  27672. + func_warning "this platform does not like uninstalled shared libraries"
  27673. + func_warning "\`$output' will be relinked during installation"
  27674. + else
  27675. + if test "$fast_install" != no; then
  27676. + link_command="$finalize_var$compile_command$finalize_rpath"
  27677. + if test "$fast_install" = yes; then
  27678. + relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
  27679. + else
  27680. + # fast_install is set to needless
  27681. + relink_command=
  27682. + fi
  27683. else
  27684. - destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  27685. - destfile="$destdir/$destfile"
  27686. + link_command="$compile_var$compile_command$compile_rpath"
  27687. + relink_command="$finalize_var$finalize_command$finalize_rpath"
  27688. fi
  27689. + fi
  27690. - # If the file is missing, and there is a .exe on the end, strip it
  27691. - # because it is most likely a libtool script we actually want to
  27692. - # install
  27693. - stripped_ext=""
  27694. - case $file in
  27695. - *.exe)
  27696. - if test ! -f "$file"; then
  27697. - file=`$echo $file|${SED} 's,.exe$,,'`
  27698. - stripped_ext=".exe"
  27699. - fi
  27700. - ;;
  27701. - esac
  27702. -
  27703. - # Do a test to see if this is really a libtool program.
  27704. - case $host in
  27705. - *cygwin*|*mingw*)
  27706. - wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
  27707. - ;;
  27708. - *)
  27709. - wrapper=$file
  27710. - ;;
  27711. - esac
  27712. - if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
  27713. - notinst_deplibs=
  27714. - relink_command=
  27715. -
  27716. - # Note that it is not necessary on cygwin/mingw to append a dot to
  27717. - # foo even if both foo and FILE.exe exist: automatic-append-.exe
  27718. - # behavior happens only for exec(3), not for open(2)! Also, sourcing
  27719. - # `FILE.' does not work on cygwin managed mounts.
  27720. - #
  27721. - # If there is no directory component, then add one.
  27722. - case $wrapper in
  27723. - */* | *\\*) . ${wrapper} ;;
  27724. - *) . ./${wrapper} ;;
  27725. - esac
  27726. -
  27727. - # Check the variables that should have been set.
  27728. - if test -z "$notinst_deplibs"; then
  27729. - $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
  27730. - exit $EXIT_FAILURE
  27731. - fi
  27732. + # Replace the output file specification.
  27733. + link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  27734. - finalize=yes
  27735. - for lib in $notinst_deplibs; do
  27736. - # Check to see that each library is installed.
  27737. - libdir=
  27738. - if test -f "$lib"; then
  27739. - # If there is no directory component, then add one.
  27740. - case $lib in
  27741. - */* | *\\*) . $lib ;;
  27742. - *) . ./$lib ;;
  27743. - esac
  27744. - fi
  27745. - libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
  27746. - if test -n "$libdir" && test ! -f "$libfile"; then
  27747. - $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
  27748. - finalize=no
  27749. - fi
  27750. - done
  27751. + # Delete the old output files.
  27752. + $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
  27753. - relink_command=
  27754. - # Note that it is not necessary on cygwin/mingw to append a dot to
  27755. - # foo even if both foo and FILE.exe exist: automatic-append-.exe
  27756. - # behavior happens only for exec(3), not for open(2)! Also, sourcing
  27757. - # `FILE.' does not work on cygwin managed mounts.
  27758. - #
  27759. - # If there is no directory component, then add one.
  27760. - case $wrapper in
  27761. - */* | *\\*) . ${wrapper} ;;
  27762. - *) . ./${wrapper} ;;
  27763. - esac
  27764. + func_show_eval "$link_command" 'exit $?'
  27765. - outputname=
  27766. - if test "$fast_install" = no && test -n "$relink_command"; then
  27767. - if test "$finalize" = yes && test -z "$run"; then
  27768. - tmpdir=`func_mktempdir`
  27769. - file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
  27770. - outputname="$tmpdir/$file"
  27771. - # Replace the output file specification.
  27772. - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP`
  27773. + # Now create the wrapper script.
  27774. + func_verbose "creating $output"
  27775. - $show "$relink_command"
  27776. - if $run eval "$relink_command"; then :
  27777. - else
  27778. - $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
  27779. - ${rm}r "$tmpdir"
  27780. - continue
  27781. - fi
  27782. - file="$outputname"
  27783. - else
  27784. - $echo "$modename: warning: cannot relink \`$file'" 1>&2
  27785. - fi
  27786. + # Quote the relink command for shipping.
  27787. + if test -n "$relink_command"; then
  27788. + # Preserve any variables that may affect compiler behavior
  27789. + for var in $variables_saved_for_relink; do
  27790. + if eval test -z \"\${$var+set}\"; then
  27791. + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
  27792. + elif eval var_value=\$$var; test -z "$var_value"; then
  27793. + relink_command="$var=; export $var; $relink_command"
  27794. else
  27795. - # Install the binary that we compiled earlier.
  27796. - file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
  27797. + func_quote_for_eval "$var_value"
  27798. + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
  27799. fi
  27800. - fi
  27801. + done
  27802. + relink_command="(cd `pwd`; $relink_command)"
  27803. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  27804. + fi
  27805. - # remove .exe since cygwin /usr/bin/install will append another
  27806. - # one anyway
  27807. - case $install_prog,$host in
  27808. - */usr/bin/install*,*cygwin*)
  27809. - case $file:$destfile in
  27810. - *.exe:*.exe)
  27811. - # this is ok
  27812. - ;;
  27813. - *.exe:*)
  27814. - destfile=$destfile.exe
  27815. - ;;
  27816. - *:*.exe)
  27817. - destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
  27818. - ;;
  27819. - esac
  27820. - ;;
  27821. + # Quote $ECHO for shipping.
  27822. + if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
  27823. + case $progpath in
  27824. + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
  27825. + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
  27826. + esac
  27827. + qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
  27828. + else
  27829. + qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
  27830. + fi
  27831. +
  27832. + # Only actually do things if not in dry run mode.
  27833. + $opt_dry_run || {
  27834. + # win32 will think the script is a binary if it has
  27835. + # a .exe suffix, so we strip it off here.
  27836. + case $output in
  27837. + *.exe) func_stripname '' '.exe' "$output"
  27838. + output=$func_stripname_result ;;
  27839. + esac
  27840. + # test for cygwin because mv fails w/o .exe extensions
  27841. + case $host in
  27842. + *cygwin*)
  27843. + exeext=.exe
  27844. + func_stripname '' '.exe' "$outputname"
  27845. + outputname=$func_stripname_result ;;
  27846. + *) exeext= ;;
  27847. esac
  27848. - $show "$install_prog$stripme $file $destfile"
  27849. - $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
  27850. - test -n "$outputname" && ${rm}r "$tmpdir"
  27851. - ;;
  27852. - esac
  27853. - done
  27854. + case $host in
  27855. + *cygwin* | *mingw* )
  27856. + func_dirname_and_basename "$output" "" "."
  27857. + output_name=$func_basename_result
  27858. + output_path=$func_dirname_result
  27859. + cwrappersource="$output_path/$objdir/lt-$output_name.c"
  27860. + cwrapper="$output_path/$output_name.exe"
  27861. + $RM $cwrappersource $cwrapper
  27862. + trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
  27863. +
  27864. + func_emit_cwrapperexe_src > $cwrappersource
  27865. +
  27866. + # The wrapper executable is built using the $host compiler,
  27867. + # because it contains $host paths and files. If cross-
  27868. + # compiling, it, like the target executable, must be
  27869. + # executed on the $host or under an emulation environment.
  27870. + $opt_dry_run || {
  27871. + $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
  27872. + $STRIP $cwrapper
  27873. + }
  27874. - for file in $staticlibs; do
  27875. - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  27876. + # Now, create the wrapper script for func_source use:
  27877. + func_ltwrapper_scriptname $cwrapper
  27878. + $RM $func_ltwrapper_scriptname_result
  27879. + trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15
  27880. + $opt_dry_run || {
  27881. + # note: this script will not be executed, so do not chmod.
  27882. + if test "x$build" = "x$host" ; then
  27883. + $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
  27884. + else
  27885. + func_emit_wrapper no > $func_ltwrapper_scriptname_result
  27886. + fi
  27887. + }
  27888. + ;;
  27889. + * )
  27890. + $RM $output
  27891. + trap "$RM $output; exit $EXIT_FAILURE" 1 2 15
  27892. - # Set up the ranlib parameters.
  27893. - oldlib="$destdir/$name"
  27894. + func_emit_wrapper no > $output
  27895. + chmod +x $output
  27896. + ;;
  27897. + esac
  27898. + }
  27899. + exit $EXIT_SUCCESS
  27900. + ;;
  27901. + esac
  27902. - $show "$install_prog $file $oldlib"
  27903. - $run eval "$install_prog \$file \$oldlib" || exit $?
  27904. + # See if we need to build an old-fashioned archive.
  27905. + for oldlib in $oldlibs; do
  27906. - if test -n "$stripme" && test -n "$old_striplib"; then
  27907. - $show "$old_striplib $oldlib"
  27908. - $run eval "$old_striplib $oldlib" || exit $?
  27909. + if test "$build_libtool_libs" = convenience; then
  27910. + oldobjs="$libobjs_save $symfileobj"
  27911. + addlibs="$convenience"
  27912. + build_libtool_libs=no
  27913. + else
  27914. + if test "$build_libtool_libs" = module; then
  27915. + oldobjs="$libobjs_save"
  27916. + build_libtool_libs=no
  27917. + else
  27918. + oldobjs="$old_deplibs $non_pic_objects"
  27919. + if test "$preload" = yes && test -f "$symfileobj"; then
  27920. + oldobjs="$oldobjs $symfileobj"
  27921. + fi
  27922. + fi
  27923. + addlibs="$old_convenience"
  27924. fi
  27925. - # Do each command in the postinstall commands.
  27926. - cmds=$old_postinstall_cmds
  27927. - save_ifs="$IFS"; IFS='~'
  27928. - for cmd in $cmds; do
  27929. - IFS="$save_ifs"
  27930. - eval cmd=\"$cmd\"
  27931. - $show "$cmd"
  27932. - $run eval "$cmd" || exit $?
  27933. - done
  27934. - IFS="$save_ifs"
  27935. - done
  27936. + if test -n "$addlibs"; then
  27937. + gentop="$output_objdir/${outputname}x"
  27938. + generated="$generated $gentop"
  27939. - if test -n "$future_libdirs"; then
  27940. - $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2
  27941. - fi
  27942. + func_extract_archives $gentop $addlibs
  27943. + oldobjs="$oldobjs $func_extract_archives_result"
  27944. + fi
  27945. - if test -n "$current_libdirs"; then
  27946. - # Maybe just do a dry run.
  27947. - test -n "$run" && current_libdirs=" -n$current_libdirs"
  27948. - exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
  27949. - else
  27950. - exit $EXIT_SUCCESS
  27951. - fi
  27952. - ;;
  27953. + # Do each command in the archive commands.
  27954. + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
  27955. + cmds=$old_archive_from_new_cmds
  27956. + else
  27957. - # libtool finish mode
  27958. - finish)
  27959. - modename="$modename: finish"
  27960. - libdirs="$nonopt"
  27961. - admincmds=
  27962. + # Add any objects from preloaded convenience libraries
  27963. + if test -n "$dlprefiles"; then
  27964. + gentop="$output_objdir/${outputname}x"
  27965. + generated="$generated $gentop"
  27966. - if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
  27967. - for dir
  27968. - do
  27969. - libdirs="$libdirs $dir"
  27970. - done
  27971. + func_extract_archives $gentop $dlprefiles
  27972. + oldobjs="$oldobjs $func_extract_archives_result"
  27973. + fi
  27974. - for libdir in $libdirs; do
  27975. - if test -n "$finish_cmds"; then
  27976. - # Do each command in the finish commands.
  27977. - cmds=$finish_cmds
  27978. - save_ifs="$IFS"; IFS='~'
  27979. - for cmd in $cmds; do
  27980. - IFS="$save_ifs"
  27981. - eval cmd=\"$cmd\"
  27982. - $show "$cmd"
  27983. - $run eval "$cmd" || admincmds="$admincmds
  27984. - $cmd"
  27985. + # POSIX demands no paths to be encoded in archives. We have
  27986. + # to avoid creating archives with duplicate basenames if we
  27987. + # might have to extract them afterwards, e.g., when creating a
  27988. + # static archive out of a convenience library, or when linking
  27989. + # the entirety of a libtool archive into another (currently
  27990. + # not supported by libtool).
  27991. + if (for obj in $oldobjs
  27992. + do
  27993. + func_basename "$obj"
  27994. + $ECHO "$func_basename_result"
  27995. + done | sort | sort -uc >/dev/null 2>&1); then
  27996. + :
  27997. + else
  27998. + $ECHO "copying selected object files to avoid basename conflicts..."
  27999. + gentop="$output_objdir/${outputname}x"
  28000. + generated="$generated $gentop"
  28001. + func_mkdir_p "$gentop"
  28002. + save_oldobjs=$oldobjs
  28003. + oldobjs=
  28004. + counter=1
  28005. + for obj in $save_oldobjs
  28006. + do
  28007. + func_basename "$obj"
  28008. + objbase="$func_basename_result"
  28009. + case " $oldobjs " in
  28010. + " ") oldobjs=$obj ;;
  28011. + *[\ /]"$objbase "*)
  28012. + while :; do
  28013. + # Make sure we don't pick an alternate name that also
  28014. + # overlaps.
  28015. + newobj=lt$counter-$objbase
  28016. + func_arith $counter + 1
  28017. + counter=$func_arith_result
  28018. + case " $oldobjs " in
  28019. + *[\ /]"$newobj "*) ;;
  28020. + *) if test ! -f "$gentop/$newobj"; then break; fi ;;
  28021. + esac
  28022. + done
  28023. + func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
  28024. + oldobjs="$oldobjs $gentop/$newobj"
  28025. + ;;
  28026. + *) oldobjs="$oldobjs $obj" ;;
  28027. + esac
  28028. done
  28029. - IFS="$save_ifs"
  28030. - fi
  28031. - if test -n "$finish_eval"; then
  28032. - # Do the single finish_eval.
  28033. - eval cmds=\"$finish_eval\"
  28034. - $run eval "$cmds" || admincmds="$admincmds
  28035. - $cmds"
  28036. fi
  28037. - done
  28038. - fi
  28039. -
  28040. - # Exit here if they wanted silent mode.
  28041. - test "$show" = : && exit $EXIT_SUCCESS
  28042. + eval cmds=\"$old_archive_cmds\"
  28043. - $echo "X----------------------------------------------------------------------" | $Xsed
  28044. - $echo "Libraries have been installed in:"
  28045. - for libdir in $libdirs; do
  28046. - $echo " $libdir"
  28047. + func_len " $cmds"
  28048. + len=$func_len_result
  28049. + if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  28050. + cmds=$old_archive_cmds
  28051. + else
  28052. + # the command line is too long to link in one step, link in parts
  28053. + func_verbose "using piecewise archive linking..."
  28054. + save_RANLIB=$RANLIB
  28055. + RANLIB=:
  28056. + objlist=
  28057. + concat_cmds=
  28058. + save_oldobjs=$oldobjs
  28059. + oldobjs=
  28060. + # Is there a better way of finding the last object in the list?
  28061. + for obj in $save_oldobjs
  28062. + do
  28063. + last_oldobj=$obj
  28064. + done
  28065. + eval test_cmds=\"$old_archive_cmds\"
  28066. + func_len " $test_cmds"
  28067. + len0=$func_len_result
  28068. + len=$len0
  28069. + for obj in $save_oldobjs
  28070. + do
  28071. + func_len " $obj"
  28072. + func_arith $len + $func_len_result
  28073. + len=$func_arith_result
  28074. + func_append objlist " $obj"
  28075. + if test "$len" -lt "$max_cmd_len"; then
  28076. + :
  28077. + else
  28078. + # the above command should be used before it gets too long
  28079. + oldobjs=$objlist
  28080. + if test "$obj" = "$last_oldobj" ; then
  28081. + RANLIB=$save_RANLIB
  28082. + fi
  28083. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  28084. + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
  28085. + objlist=
  28086. + len=$len0
  28087. + fi
  28088. + done
  28089. + RANLIB=$save_RANLIB
  28090. + oldobjs=$objlist
  28091. + if test "X$oldobjs" = "X" ; then
  28092. + eval cmds=\"\$concat_cmds\"
  28093. + else
  28094. + eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
  28095. + fi
  28096. + fi
  28097. + fi
  28098. + func_execute_cmds "$cmds" 'exit $?'
  28099. done
  28100. - $echo
  28101. - $echo "If you ever happen to want to link against installed libraries"
  28102. - $echo "in a given directory, LIBDIR, you must either use libtool, and"
  28103. - $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
  28104. - $echo "flag during linking and do at least one of the following:"
  28105. - if test -n "$shlibpath_var"; then
  28106. - $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
  28107. - $echo " during execution"
  28108. - fi
  28109. - if test -n "$runpath_var"; then
  28110. - $echo " - add LIBDIR to the \`$runpath_var' environment variable"
  28111. - $echo " during linking"
  28112. - fi
  28113. - if test -n "$hardcode_libdir_flag_spec"; then
  28114. - libdir=LIBDIR
  28115. - eval flag=\"$hardcode_libdir_flag_spec\"
  28116. -
  28117. - $echo " - use the \`$flag' linker flag"
  28118. - fi
  28119. - if test -n "$admincmds"; then
  28120. - $echo " - have your system administrator run these commands:$admincmds"
  28121. - fi
  28122. - if test -f /etc/ld.so.conf; then
  28123. - $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
  28124. - fi
  28125. - $echo
  28126. - $echo "See any operating system documentation about shared libraries for"
  28127. - $echo "more information, such as the ld(1) and ld.so(8) manual pages."
  28128. - $echo "X----------------------------------------------------------------------" | $Xsed
  28129. - exit $EXIT_SUCCESS
  28130. - ;;
  28131. -
  28132. - # libtool execute mode
  28133. - execute)
  28134. - modename="$modename: execute"
  28135. - # The first argument is the command name.
  28136. - cmd="$nonopt"
  28137. - if test -z "$cmd"; then
  28138. - $echo "$modename: you must specify a COMMAND" 1>&2
  28139. - $echo "$help"
  28140. - exit $EXIT_FAILURE
  28141. - fi
  28142. + test -n "$generated" && \
  28143. + func_show_eval "${RM}r$generated"
  28144. - # Handle -dlopen flags immediately.
  28145. - for file in $execute_dlfiles; do
  28146. - if test ! -f "$file"; then
  28147. - $echo "$modename: \`$file' is not a file" 1>&2
  28148. - $echo "$help" 1>&2
  28149. - exit $EXIT_FAILURE
  28150. - fi
  28151. + # Now create the libtool archive.
  28152. + case $output in
  28153. + *.la)
  28154. + old_library=
  28155. + test "$build_old_libs" = yes && old_library="$libname.$libext"
  28156. + func_verbose "creating $output"
  28157. - dir=
  28158. - case $file in
  28159. - *.la)
  28160. - # Check to see that this really is a libtool archive.
  28161. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
  28162. + # Preserve any variables that may affect compiler behavior
  28163. + for var in $variables_saved_for_relink; do
  28164. + if eval test -z \"\${$var+set}\"; then
  28165. + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
  28166. + elif eval var_value=\$$var; test -z "$var_value"; then
  28167. + relink_command="$var=; export $var; $relink_command"
  28168. else
  28169. - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  28170. - $echo "$help" 1>&2
  28171. - exit $EXIT_FAILURE
  28172. + func_quote_for_eval "$var_value"
  28173. + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
  28174. fi
  28175. + done
  28176. + # Quote the link command for shipping.
  28177. + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
  28178. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  28179. + if test "$hardcode_automatic" = yes ; then
  28180. + relink_command=
  28181. + fi
  28182. - # Read the libtool library.
  28183. - dlname=
  28184. - library_names=
  28185. + # Only create the output if not a dry run.
  28186. + $opt_dry_run || {
  28187. + for installed in no yes; do
  28188. + if test "$installed" = yes; then
  28189. + if test -z "$install_libdir"; then
  28190. + break
  28191. + fi
  28192. + output="$output_objdir/$outputname"i
  28193. + # Replace all uninstalled libtool libraries with the installed ones
  28194. + newdependency_libs=
  28195. + for deplib in $dependency_libs; do
  28196. + case $deplib in
  28197. + *.la)
  28198. + func_basename "$deplib"
  28199. + name="$func_basename_result"
  28200. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  28201. + test -z "$libdir" && \
  28202. + func_fatal_error "\`$deplib' is not a valid libtool archive"
  28203. + newdependency_libs="$newdependency_libs $libdir/$name"
  28204. + ;;
  28205. + *) newdependency_libs="$newdependency_libs $deplib" ;;
  28206. + esac
  28207. + done
  28208. + dependency_libs="$newdependency_libs"
  28209. + newdlfiles=
  28210. +
  28211. + for lib in $dlfiles; do
  28212. + case $lib in
  28213. + *.la)
  28214. + func_basename "$lib"
  28215. + name="$func_basename_result"
  28216. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  28217. + test -z "$libdir" && \
  28218. + func_fatal_error "\`$lib' is not a valid libtool archive"
  28219. + newdlfiles="$newdlfiles $libdir/$name"
  28220. + ;;
  28221. + *) newdlfiles="$newdlfiles $lib" ;;
  28222. + esac
  28223. + done
  28224. + dlfiles="$newdlfiles"
  28225. + newdlprefiles=
  28226. + for lib in $dlprefiles; do
  28227. + case $lib in
  28228. + *.la)
  28229. + # Only pass preopened files to the pseudo-archive (for
  28230. + # eventual linking with the app. that links it) if we
  28231. + # didn't already link the preopened objects directly into
  28232. + # the library:
  28233. + func_basename "$lib"
  28234. + name="$func_basename_result"
  28235. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  28236. + test -z "$libdir" && \
  28237. + func_fatal_error "\`$lib' is not a valid libtool archive"
  28238. + newdlprefiles="$newdlprefiles $libdir/$name"
  28239. + ;;
  28240. + esac
  28241. + done
  28242. + dlprefiles="$newdlprefiles"
  28243. + else
  28244. + newdlfiles=
  28245. + for lib in $dlfiles; do
  28246. + case $lib in
  28247. + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  28248. + *) abs=`pwd`"/$lib" ;;
  28249. + esac
  28250. + newdlfiles="$newdlfiles $abs"
  28251. + done
  28252. + dlfiles="$newdlfiles"
  28253. + newdlprefiles=
  28254. + for lib in $dlprefiles; do
  28255. + case $lib in
  28256. + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  28257. + *) abs=`pwd`"/$lib" ;;
  28258. + esac
  28259. + newdlprefiles="$newdlprefiles $abs"
  28260. + done
  28261. + dlprefiles="$newdlprefiles"
  28262. + fi
  28263. + $RM $output
  28264. + # place dlname in correct position for cygwin
  28265. + tdlname=$dlname
  28266. + case $host,$output,$installed,$module,$dlname in
  28267. + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
  28268. + esac
  28269. + $ECHO > $output "\
  28270. +# $outputname - a libtool library file
  28271. +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  28272. +#
  28273. +# Please DO NOT delete this file!
  28274. +# It is necessary for linking the library.
  28275. - # If there is no directory component, then add one.
  28276. - case $file in
  28277. - */* | *\\*) . $file ;;
  28278. - *) . ./$file ;;
  28279. - esac
  28280. +# The name that we can dlopen(3).
  28281. +dlname='$tdlname'
  28282. - # Skip this library if it cannot be dlopened.
  28283. - if test -z "$dlname"; then
  28284. - # Warn if it was a shared library.
  28285. - test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'"
  28286. - continue
  28287. - fi
  28288. +# Names of this library.
  28289. +library_names='$library_names'
  28290. - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
  28291. - test "X$dir" = "X$file" && dir=.
  28292. +# The name of the static archive.
  28293. +old_library='$old_library'
  28294. - if test -f "$dir/$objdir/$dlname"; then
  28295. - dir="$dir/$objdir"
  28296. - else
  28297. - if test ! -f "$dir/$dlname"; then
  28298. - $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
  28299. - exit $EXIT_FAILURE
  28300. - fi
  28301. - fi
  28302. - ;;
  28303. +# Linker flags that can not go in dependency_libs.
  28304. +inherited_linker_flags='$new_inherited_linker_flags'
  28305. - *.lo)
  28306. - # Just add the directory containing the .lo file.
  28307. - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
  28308. - test "X$dir" = "X$file" && dir=.
  28309. - ;;
  28310. +# Libraries that this one depends upon.
  28311. +dependency_libs='$dependency_libs'
  28312. - *)
  28313. - $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
  28314. - continue
  28315. - ;;
  28316. - esac
  28317. +# Names of additional weak libraries provided by this library
  28318. +weak_library_names='$weak_libs'
  28319. - # Get the absolute pathname.
  28320. - absdir=`cd "$dir" && pwd`
  28321. - test -n "$absdir" && dir="$absdir"
  28322. +# Version information for $libname.
  28323. +current=$current
  28324. +age=$age
  28325. +revision=$revision
  28326. - # Now add the directory to shlibpath_var.
  28327. - if eval "test -z \"\$$shlibpath_var\""; then
  28328. - eval "$shlibpath_var=\"\$dir\""
  28329. - else
  28330. - eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
  28331. - fi
  28332. - done
  28333. +# Is this an already installed library?
  28334. +installed=$installed
  28335. - # This variable tells wrapper scripts just to set shlibpath_var
  28336. - # rather than running their programs.
  28337. - libtool_execute_magic="$magic"
  28338. +# Should we warn about portability when linking against -modules?
  28339. +shouldnotlink=$module
  28340. - # Check if any of the arguments is a wrapper script.
  28341. - args=
  28342. - for file
  28343. - do
  28344. - case $file in
  28345. - -*) ;;
  28346. - *)
  28347. - # Do a test to see if this is really a libtool program.
  28348. - if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  28349. - # If there is no directory component, then add one.
  28350. - case $file in
  28351. - */* | *\\*) . $file ;;
  28352. - *) . ./$file ;;
  28353. - esac
  28354. +# Files to dlopen/dlpreopen
  28355. +dlopen='$dlfiles'
  28356. +dlpreopen='$dlprefiles'
  28357. - # Transform arg to wrapped name.
  28358. - file="$progdir/$program"
  28359. - fi
  28360. - ;;
  28361. - esac
  28362. - # Quote arguments (to preserve shell metacharacters).
  28363. - file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
  28364. - args="$args \"$file\""
  28365. - done
  28366. +# Directory that this library needs to be installed in:
  28367. +libdir='$install_libdir'"
  28368. + if test "$installed" = no && test "$need_relink" = yes; then
  28369. + $ECHO >> $output "\
  28370. +relink_command=\"$relink_command\""
  28371. + fi
  28372. + done
  28373. + }
  28374. - if test -z "$run"; then
  28375. - if test -n "$shlibpath_var"; then
  28376. - # Export the shlibpath_var.
  28377. - eval "export $shlibpath_var"
  28378. - fi
  28379. + # Do a symbolic link so that the libtool archive can be found in
  28380. + # LD_LIBRARY_PATH before the program is installed.
  28381. + func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?'
  28382. + ;;
  28383. + esac
  28384. + exit $EXIT_SUCCESS
  28385. +}
  28386. - # Restore saved environment variables
  28387. - for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  28388. - do
  28389. - eval "if test \"\${save_$lt_var+set}\" = set; then
  28390. - $lt_var=\$save_$lt_var; export $lt_var
  28391. - fi"
  28392. - done
  28393. +{ test "$mode" = link || test "$mode" = relink; } &&
  28394. + func_mode_link ${1+"$@"}
  28395. - # Now prepare to actually exec the command.
  28396. - exec_cmd="\$cmd$args"
  28397. - else
  28398. - # Display what would be done.
  28399. - if test -n "$shlibpath_var"; then
  28400. - eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
  28401. - $echo "export $shlibpath_var"
  28402. - fi
  28403. - $echo "$cmd$args"
  28404. - exit $EXIT_SUCCESS
  28405. - fi
  28406. - ;;
  28407. - # libtool clean and uninstall mode
  28408. - clean | uninstall)
  28409. - modename="$modename: $mode"
  28410. - rm="$nonopt"
  28411. +# func_mode_uninstall arg...
  28412. +func_mode_uninstall ()
  28413. +{
  28414. + $opt_debug
  28415. + RM="$nonopt"
  28416. files=
  28417. rmforce=
  28418. exit_status=0
  28419. @@ -6595,30 +8209,28 @@
  28420. for arg
  28421. do
  28422. case $arg in
  28423. - -f) rm="$rm $arg"; rmforce=yes ;;
  28424. - -*) rm="$rm $arg" ;;
  28425. + -f) RM="$RM $arg"; rmforce=yes ;;
  28426. + -*) RM="$RM $arg" ;;
  28427. *) files="$files $arg" ;;
  28428. esac
  28429. done
  28430. - if test -z "$rm"; then
  28431. - $echo "$modename: you must specify an RM program" 1>&2
  28432. - $echo "$help" 1>&2
  28433. - exit $EXIT_FAILURE
  28434. - fi
  28435. + test -z "$RM" && \
  28436. + func_fatal_help "you must specify an RM program"
  28437. rmdirs=
  28438. origobjdir="$objdir"
  28439. for file in $files; do
  28440. - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
  28441. - if test "X$dir" = "X$file"; then
  28442. - dir=.
  28443. + func_dirname "$file" "" "."
  28444. + dir="$func_dirname_result"
  28445. + if test "X$dir" = X.; then
  28446. objdir="$origobjdir"
  28447. else
  28448. objdir="$dir/$origobjdir"
  28449. fi
  28450. - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  28451. + func_basename "$file"
  28452. + name="$func_basename_result"
  28453. test "$mode" = uninstall && objdir="$dir"
  28454. # Remember objdir for removal later, being careful to avoid duplicates
  28455. @@ -6630,9 +8242,9 @@
  28456. fi
  28457. # Don't error if the file doesn't exist and rm -f was used.
  28458. - if (test -L "$file") >/dev/null 2>&1 \
  28459. - || (test -h "$file") >/dev/null 2>&1 \
  28460. - || test -f "$file"; then
  28461. + if { test -L "$file"; } >/dev/null 2>&1 ||
  28462. + { test -h "$file"; } >/dev/null 2>&1 ||
  28463. + test -f "$file"; then
  28464. :
  28465. elif test -d "$file"; then
  28466. exit_status=1
  28467. @@ -6646,8 +8258,8 @@
  28468. case $name in
  28469. *.la)
  28470. # Possibly a libtool archive, so verify it.
  28471. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  28472. - . $dir/$name
  28473. + if func_lalib_p "$file"; then
  28474. + func_source $dir/$name
  28475. # Delete the libtool libraries and symlinks.
  28476. for n in $library_names; do
  28477. @@ -6662,39 +8274,17 @@
  28478. *" $dlname "*) ;;
  28479. *) rmfiles="$rmfiles $objdir/$dlname" ;;
  28480. esac
  28481. - test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
  28482. + test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
  28483. ;;
  28484. uninstall)
  28485. if test -n "$library_names"; then
  28486. # Do each command in the postuninstall commands.
  28487. - cmds=$postuninstall_cmds
  28488. - save_ifs="$IFS"; IFS='~'
  28489. - for cmd in $cmds; do
  28490. - IFS="$save_ifs"
  28491. - eval cmd=\"$cmd\"
  28492. - $show "$cmd"
  28493. - $run eval "$cmd"
  28494. - if test "$?" -ne 0 && test "$rmforce" != yes; then
  28495. - exit_status=1
  28496. - fi
  28497. - done
  28498. - IFS="$save_ifs"
  28499. + func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
  28500. fi
  28501. if test -n "$old_library"; then
  28502. # Do each command in the old_postuninstall commands.
  28503. - cmds=$old_postuninstall_cmds
  28504. - save_ifs="$IFS"; IFS='~'
  28505. - for cmd in $cmds; do
  28506. - IFS="$save_ifs"
  28507. - eval cmd=\"$cmd\"
  28508. - $show "$cmd"
  28509. - $run eval "$cmd"
  28510. - if test "$?" -ne 0 && test "$rmforce" != yes; then
  28511. - exit_status=1
  28512. - fi
  28513. - done
  28514. - IFS="$save_ifs"
  28515. + func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
  28516. fi
  28517. # FIXME: should reinstall the best remaining shared library.
  28518. ;;
  28519. @@ -6704,20 +8294,20 @@
  28520. *.lo)
  28521. # Possibly a libtool object, so verify it.
  28522. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  28523. + if func_lalib_p "$file"; then
  28524. # Read the .lo file
  28525. - . $dir/$name
  28526. + func_source $dir/$name
  28527. # Add PIC object to the list of files to remove.
  28528. - if test -n "$pic_object" \
  28529. - && test "$pic_object" != none; then
  28530. + if test -n "$pic_object" &&
  28531. + test "$pic_object" != none; then
  28532. rmfiles="$rmfiles $dir/$pic_object"
  28533. fi
  28534. # Add non-PIC object to the list of files to remove.
  28535. - if test -n "$non_pic_object" \
  28536. - && test "$non_pic_object" != none; then
  28537. + if test -n "$non_pic_object" &&
  28538. + test "$non_pic_object" != none; then
  28539. rmfiles="$rmfiles $dir/$non_pic_object"
  28540. fi
  28541. fi
  28542. @@ -6728,17 +8318,26 @@
  28543. noexename=$name
  28544. case $file in
  28545. *.exe)
  28546. - file=`$echo $file|${SED} 's,.exe$,,'`
  28547. - noexename=`$echo $name|${SED} 's,.exe$,,'`
  28548. + func_stripname '' '.exe' "$file"
  28549. + file=$func_stripname_result
  28550. + func_stripname '' '.exe' "$name"
  28551. + noexename=$func_stripname_result
  28552. # $file with .exe has already been added to rmfiles,
  28553. # add $file without .exe
  28554. rmfiles="$rmfiles $file"
  28555. ;;
  28556. esac
  28557. # Do a test to see if this is a libtool program.
  28558. - if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  28559. - relink_command=
  28560. - . $dir/$noexename
  28561. + if func_ltwrapper_p "$file"; then
  28562. + if func_ltwrapper_executable_p "$file"; then
  28563. + func_ltwrapper_scriptname "$file"
  28564. + relink_command=
  28565. + func_source $func_ltwrapper_scriptname_result
  28566. + rmfiles="$rmfiles $func_ltwrapper_scriptname_result"
  28567. + else
  28568. + relink_command=
  28569. + func_source $dir/$noexename
  28570. + fi
  28571. # note $name still contains .exe if it was in $file originally
  28572. # as does the version of $file that was added into $rmfiles
  28573. @@ -6753,239 +8352,38 @@
  28574. fi
  28575. ;;
  28576. esac
  28577. - $show "$rm $rmfiles"
  28578. - $run $rm $rmfiles || exit_status=1
  28579. + func_show_eval "$RM $rmfiles" 'exit_status=1'
  28580. done
  28581. objdir="$origobjdir"
  28582. # Try to remove the ${objdir}s in the directories where we deleted files
  28583. for dir in $rmdirs; do
  28584. if test -d "$dir"; then
  28585. - $show "rmdir $dir"
  28586. - $run rmdir $dir >/dev/null 2>&1
  28587. + func_show_eval "rmdir $dir >/dev/null 2>&1"
  28588. fi
  28589. done
  28590. exit $exit_status
  28591. - ;;
  28592. +}
  28593. - "")
  28594. - $echo "$modename: you must specify a MODE" 1>&2
  28595. - $echo "$generic_help" 1>&2
  28596. - exit $EXIT_FAILURE
  28597. - ;;
  28598. - esac
  28599. +{ test "$mode" = uninstall || test "$mode" = clean; } &&
  28600. + func_mode_uninstall ${1+"$@"}
  28601. - if test -z "$exec_cmd"; then
  28602. - $echo "$modename: invalid operation mode \`$mode'" 1>&2
  28603. - $echo "$generic_help" 1>&2
  28604. - exit $EXIT_FAILURE
  28605. - fi
  28606. -fi # test -z "$show_help"
  28607. +test -z "$mode" && {
  28608. + help="$generic_help"
  28609. + func_fatal_help "you must specify a MODE"
  28610. +}
  28611. +
  28612. +test -z "$exec_cmd" && \
  28613. + func_fatal_help "invalid operation mode \`$mode'"
  28614. if test -n "$exec_cmd"; then
  28615. - eval exec $exec_cmd
  28616. + eval exec "$exec_cmd"
  28617. exit $EXIT_FAILURE
  28618. fi
  28619. -# We need to display help for each of the modes.
  28620. -case $mode in
  28621. -"") $echo \
  28622. -"Usage: $modename [OPTION]... [MODE-ARG]...
  28623. -
  28624. -Provide generalized library-building support services.
  28625. -
  28626. - --config show all configuration variables
  28627. - --debug enable verbose shell tracing
  28628. --n, --dry-run display commands without modifying any files
  28629. - --features display basic configuration information and exit
  28630. - --finish same as \`--mode=finish'
  28631. - --help display this help message and exit
  28632. - --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
  28633. - --quiet same as \`--silent'
  28634. - --silent don't print informational messages
  28635. - --tag=TAG use configuration variables from tag TAG
  28636. - --version print version information
  28637. -
  28638. -MODE must be one of the following:
  28639. -
  28640. - clean remove files from the build directory
  28641. - compile compile a source file into a libtool object
  28642. - execute automatically set library path, then run a program
  28643. - finish complete the installation of libtool libraries
  28644. - install install libraries or executables
  28645. - link create a library or an executable
  28646. - uninstall remove libraries from an installed directory
  28647. -
  28648. -MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
  28649. -a more detailed description of MODE.
  28650. -
  28651. -Report bugs to <bug-libtool@gnu.org>."
  28652. - exit $EXIT_SUCCESS
  28653. - ;;
  28654. -
  28655. -clean)
  28656. - $echo \
  28657. -"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
  28658. -
  28659. -Remove files from the build directory.
  28660. -
  28661. -RM is the name of the program to use to delete files associated with each FILE
  28662. -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  28663. -to RM.
  28664. -
  28665. -If FILE is a libtool library, object or program, all the files associated
  28666. -with it are deleted. Otherwise, only FILE itself is deleted using RM."
  28667. - ;;
  28668. -
  28669. -compile)
  28670. - $echo \
  28671. -"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
  28672. -
  28673. -Compile a source file into a libtool library object.
  28674. -
  28675. -This mode accepts the following additional options:
  28676. -
  28677. - -o OUTPUT-FILE set the output file name to OUTPUT-FILE
  28678. - -prefer-pic try to building PIC objects only
  28679. - -prefer-non-pic try to building non-PIC objects only
  28680. - -static always build a \`.o' file suitable for static linking
  28681. -
  28682. -COMPILE-COMMAND is a command to be used in creating a \`standard' object file
  28683. -from the given SOURCEFILE.
  28684. -
  28685. -The output file name is determined by removing the directory component from
  28686. -SOURCEFILE, then substituting the C source code suffix \`.c' with the
  28687. -library object suffix, \`.lo'."
  28688. - ;;
  28689. -
  28690. -execute)
  28691. - $echo \
  28692. -"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
  28693. -
  28694. -Automatically set library path, then run a program.
  28695. -
  28696. -This mode accepts the following additional options:
  28697. -
  28698. - -dlopen FILE add the directory containing FILE to the library path
  28699. -
  28700. -This mode sets the library path environment variable according to \`-dlopen'
  28701. -flags.
  28702. -
  28703. -If any of the ARGS are libtool executable wrappers, then they are translated
  28704. -into their corresponding uninstalled binary, and any of their required library
  28705. -directories are added to the library path.
  28706. -
  28707. -Then, COMMAND is executed, with ARGS as arguments."
  28708. - ;;
  28709. -
  28710. -finish)
  28711. - $echo \
  28712. -"Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
  28713. -
  28714. -Complete the installation of libtool libraries.
  28715. -
  28716. -Each LIBDIR is a directory that contains libtool libraries.
  28717. -
  28718. -The commands that this mode executes may require superuser privileges. Use
  28719. -the \`--dry-run' option if you just want to see what would be executed."
  28720. - ;;
  28721. -
  28722. -install)
  28723. - $echo \
  28724. -"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
  28725. -
  28726. -Install executables or libraries.
  28727. -
  28728. -INSTALL-COMMAND is the installation command. The first component should be
  28729. -either the \`install' or \`cp' program.
  28730. -
  28731. -The rest of the components are interpreted as arguments to that command (only
  28732. -BSD-compatible install options are recognized)."
  28733. - ;;
  28734. -
  28735. -link)
  28736. - $echo \
  28737. -"Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
  28738. -
  28739. -Link object files or libraries together to form another library, or to
  28740. -create an executable program.
  28741. +exit $exit_status
  28742. -LINK-COMMAND is a command using the C compiler that you would use to create
  28743. -a program from several object files.
  28744. -
  28745. -The following components of LINK-COMMAND are treated specially:
  28746. -
  28747. - -all-static do not do any dynamic linking at all
  28748. - -avoid-version do not add a version suffix if possible
  28749. - -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
  28750. - -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
  28751. - -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
  28752. - -export-symbols SYMFILE
  28753. - try to export only the symbols listed in SYMFILE
  28754. - -export-symbols-regex REGEX
  28755. - try to export only the symbols matching REGEX
  28756. - -LLIBDIR search LIBDIR for required installed libraries
  28757. - -lNAME OUTPUT-FILE requires the installed library libNAME
  28758. - -module build a library that can dlopened
  28759. - -no-fast-install disable the fast-install mode
  28760. - -no-install link a not-installable executable
  28761. - -no-undefined declare that a library does not refer to external symbols
  28762. - -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
  28763. - -objectlist FILE Use a list of object files found in FILE to specify objects
  28764. - -precious-files-regex REGEX
  28765. - don't remove output files matching REGEX
  28766. - -release RELEASE specify package release information
  28767. - -rpath LIBDIR the created library will eventually be installed in LIBDIR
  28768. - -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
  28769. - -static do not do any dynamic linking of uninstalled libtool libraries
  28770. - -static-libtool-libs
  28771. - do not do any dynamic linking of libtool libraries
  28772. - -version-info CURRENT[:REVISION[:AGE]]
  28773. - specify library version info [each variable defaults to 0]
  28774. -
  28775. -All other options (arguments beginning with \`-') are ignored.
  28776. -
  28777. -Every other argument is treated as a filename. Files ending in \`.la' are
  28778. -treated as uninstalled libtool libraries, other files are standard or library
  28779. -object files.
  28780. -
  28781. -If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
  28782. -only library objects (\`.lo' files) may be specified, and \`-rpath' is
  28783. -required, except when creating a convenience library.
  28784. -
  28785. -If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
  28786. -using \`ar' and \`ranlib', or on Windows using \`lib'.
  28787. -
  28788. -If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
  28789. -is created, otherwise an executable program is created."
  28790. - ;;
  28791. -
  28792. -uninstall)
  28793. - $echo \
  28794. -"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
  28795. -
  28796. -Remove libraries from an installation directory.
  28797. -
  28798. -RM is the name of the program to use to delete files associated with each FILE
  28799. -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  28800. -to RM.
  28801. -
  28802. -If FILE is a libtool library, all the files associated with it are deleted.
  28803. -Otherwise, only FILE itself is deleted using RM."
  28804. - ;;
  28805. -
  28806. -*)
  28807. - $echo "$modename: invalid operation mode \`$mode'" 1>&2
  28808. - $echo "$help" 1>&2
  28809. - exit $EXIT_FAILURE
  28810. - ;;
  28811. -esac
  28812. -
  28813. -$echo
  28814. -$echo "Try \`$modename --help' for more information about other modes."
  28815. -
  28816. -exit $?
  28817. # The TAGs below are defined such that we never get into a situation
  28818. # in which we disable both kinds of libraries. Given conflicting
  28819. @@ -6999,14 +8397,17 @@
  28820. # configuration. But we'll never go from static-only to shared-only.
  28821. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared
  28822. -disable_libs=shared
  28823. +build_libtool_libs=no
  28824. +build_old_libs=yes
  28825. # ### END LIBTOOL TAG CONFIG: disable-shared
  28826. # ### BEGIN LIBTOOL TAG CONFIG: disable-static
  28827. -disable_libs=static
  28828. +build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
  28829. # ### END LIBTOOL TAG CONFIG: disable-static
  28830. # Local Variables:
  28831. # mode:shell-script
  28832. # sh-indentation:2
  28833. # End:
  28834. +# vi:sw=2
  28835. +
  28836. diff -Nur squid-3.0.STABLE20.orig/cfgaux/missing squid-3.0.STABLE20/cfgaux/missing
  28837. --- squid-3.0.STABLE20.orig/cfgaux/missing 2009-10-29 11:05:33.000000000 +0100
  28838. +++ squid-3.0.STABLE20/cfgaux/missing 2010-02-19 00:39:14.408856146 +0100
  28839. @@ -1,10 +1,10 @@
  28840. #! /bin/sh
  28841. # Common stub for a few missing GNU programs while installing.
  28842. -scriptversion=2006-05-10.23
  28843. +scriptversion=2009-04-28.21; # UTC
  28844. -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
  28845. -# Free Software Foundation, Inc.
  28846. +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
  28847. +# 2008, 2009 Free Software Foundation, Inc.
  28848. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
  28849. # This program is free software; you can redistribute it and/or modify
  28850. @@ -18,9 +18,7 @@
  28851. # GNU General Public License for more details.
  28852. # You should have received a copy of the GNU General Public License
  28853. -# along with this program; if not, write to the Free Software
  28854. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  28855. -# 02110-1301, USA.
  28856. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  28857. # As a special exception to the GNU General Public License, if you
  28858. # distribute this file as part of a program that contains a
  28859. @@ -89,6 +87,9 @@
  28860. tar try tar, gnutar, gtar, then tar without non-portable flags
  28861. yacc create \`y.tab.[ch]', if possible, from existing .[ch]
  28862. +Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
  28863. +\`g' are ignored when checking the name.
  28864. +
  28865. Send bug reports to <bug-automake@gnu.org>."
  28866. exit $?
  28867. ;;
  28868. @@ -106,15 +107,22 @@
  28869. esac
  28870. +# normalize program name to check for.
  28871. +program=`echo "$1" | sed '
  28872. + s/^gnu-//; t
  28873. + s/^gnu//; t
  28874. + s/^g//; t'`
  28875. +
  28876. # Now exit if we have it, but it failed. Also exit now if we
  28877. # don't have it and --version was passed (most likely to detect
  28878. -# the program).
  28879. +# the program). This is about non-GNU programs, so use $1 not
  28880. +# $program.
  28881. case $1 in
  28882. - lex|yacc)
  28883. + lex*|yacc*)
  28884. # Not GNU programs, they don't have --version.
  28885. ;;
  28886. - tar)
  28887. + tar*)
  28888. if test -n "$run"; then
  28889. echo 1>&2 "ERROR: \`tar' requires --run"
  28890. exit 1
  28891. @@ -138,7 +146,7 @@
  28892. # If it does not exist, or fails to run (possibly an outdated version),
  28893. # try to emulate it.
  28894. -case $1 in
  28895. +case $program in
  28896. aclocal*)
  28897. echo 1>&2 "\
  28898. WARNING: \`$1' is $msg. You should only need it if
  28899. @@ -148,7 +156,7 @@
  28900. touch aclocal.m4
  28901. ;;
  28902. - autoconf)
  28903. + autoconf*)
  28904. echo 1>&2 "\
  28905. WARNING: \`$1' is $msg. You should only need it if
  28906. you modified \`${configure_ac}'. You might want to install the
  28907. @@ -157,7 +165,7 @@
  28908. touch configure
  28909. ;;
  28910. - autoheader)
  28911. + autoheader*)
  28912. echo 1>&2 "\
  28913. WARNING: \`$1' is $msg. You should only need it if
  28914. you modified \`acconfig.h' or \`${configure_ac}'. You might want
  28915. @@ -187,7 +195,7 @@
  28916. while read f; do touch "$f"; done
  28917. ;;
  28918. - autom4te)
  28919. + autom4te*)
  28920. echo 1>&2 "\
  28921. WARNING: \`$1' is needed, but is $msg.
  28922. You might have modified some files without having the
  28923. @@ -210,7 +218,7 @@
  28924. fi
  28925. ;;
  28926. - bison|yacc)
  28927. + bison*|yacc*)
  28928. echo 1>&2 "\
  28929. WARNING: \`$1' $msg. You should only need it if
  28930. you modified a \`.y' file. You may need the \`Bison' package
  28931. @@ -240,7 +248,7 @@
  28932. fi
  28933. ;;
  28934. - lex|flex)
  28935. + lex*|flex*)
  28936. echo 1>&2 "\
  28937. WARNING: \`$1' is $msg. You should only need it if
  28938. you modified a \`.l' file. You may need the \`Flex' package
  28939. @@ -263,7 +271,7 @@
  28940. fi
  28941. ;;
  28942. - help2man)
  28943. + help2man*)
  28944. echo 1>&2 "\
  28945. WARNING: \`$1' is $msg. You should only need it if
  28946. you modified a dependency of a manual page. You may need the
  28947. @@ -277,11 +285,11 @@
  28948. else
  28949. test -z "$file" || exec >$file
  28950. echo ".ab help2man is required to generate this page"
  28951. - exit 1
  28952. + exit $?
  28953. fi
  28954. ;;
  28955. - makeinfo)
  28956. + makeinfo*)
  28957. echo 1>&2 "\
  28958. WARNING: \`$1' is $msg. You should only need it if
  28959. you modified a \`.texi' or \`.texinfo' file, or any other file
  28960. @@ -310,7 +318,7 @@
  28961. touch $file
  28962. ;;
  28963. - tar)
  28964. + tar*)
  28965. shift
  28966. # We have already tried tar in the generic part.
  28967. @@ -363,5 +371,6 @@
  28968. # eval: (add-hook 'write-file-hooks 'time-stamp)
  28969. # time-stamp-start: "scriptversion="
  28970. # time-stamp-format: "%:y-%02m-%02d.%02H"
  28971. -# time-stamp-end: "$"
  28972. +# time-stamp-time-zone: "UTC"
  28973. +# time-stamp-end: "; # UTC"
  28974. # End:
  28975. diff -Nur squid-3.0.STABLE20.orig/configure squid-3.0.STABLE20/configure
  28976. --- squid-3.0.STABLE20.orig/configure 2009-10-29 11:05:49.000000000 +0100
  28977. +++ squid-3.0.STABLE20/configure 2010-02-19 00:39:36.012854313 +0100
  28978. @@ -1,21 +1,25 @@
  28979. #! /bin/sh
  28980. # From configure.in Revision.
  28981. # Guess values for system-dependent variables and create Makefiles.
  28982. -# Generated by GNU Autoconf 2.62 for Squid Web Proxy 3.0.STABLE20.
  28983. +# Generated by GNU Autoconf 2.65 for Squid Web Proxy 3.0.STABLE20.
  28984. #
  28985. # Report bugs to <http://www.squid-cache.org/bugs/>.
  28986. #
  28987. +#
  28988. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  28989. -# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  28990. +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  28991. +# Inc.
  28992. +#
  28993. +#
  28994. # This configure script is free software; the Free Software Foundation
  28995. # gives unlimited permission to copy, distribute and modify it.
  28996. -## --------------------- ##
  28997. -## M4sh Initialization. ##
  28998. -## --------------------- ##
  28999. +## -------------------- ##
  29000. +## M4sh Initialization. ##
  29001. +## -------------------- ##
  29002. # Be more Bourne compatible
  29003. DUALCASE=1; export DUALCASE # for MKS sh
  29004. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  29005. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  29006. emulate sh
  29007. NULLCMD=:
  29008. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  29009. @@ -23,23 +27,15 @@
  29010. alias -g '${1+"$@"}'='"$@"'
  29011. setopt NO_GLOB_SUBST
  29012. else
  29013. - case `(set -o) 2>/dev/null` in
  29014. - *posix*) set -o posix ;;
  29015. + case `(set -o) 2>/dev/null` in #(
  29016. + *posix*) :
  29017. + set -o posix ;; #(
  29018. + *) :
  29019. + ;;
  29020. esac
  29021. -
  29022. fi
  29023. -
  29024. -
  29025. -# PATH needs CR
  29026. -# Avoid depending upon Character Ranges.
  29027. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  29028. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  29029. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  29030. -as_cr_digits='0123456789'
  29031. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  29032. -
  29033. as_nl='
  29034. '
  29035. export as_nl
  29036. @@ -47,7 +43,13 @@
  29037. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  29038. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  29039. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  29040. -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  29041. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  29042. +# but without wasting forks for bash or zsh.
  29043. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  29044. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  29045. + as_echo='print -r --'
  29046. + as_echo_n='print -rn --'
  29047. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  29048. as_echo='printf %s\n'
  29049. as_echo_n='printf %s'
  29050. else
  29051. @@ -58,7 +60,7 @@
  29052. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  29053. as_echo_n_body='eval
  29054. arg=$1;
  29055. - case $arg in
  29056. + case $arg in #(
  29057. *"$as_nl"*)
  29058. expr "X$arg" : "X\\(.*\\)$as_nl";
  29059. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  29060. @@ -81,13 +83,6 @@
  29061. }
  29062. fi
  29063. -# Support unset when possible.
  29064. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  29065. - as_unset=unset
  29066. -else
  29067. - as_unset=false
  29068. -fi
  29069. -
  29070. # IFS
  29071. # We need space, tab and new line, in precisely that order. Quoting is
  29072. @@ -97,15 +92,15 @@
  29073. IFS=" "" $as_nl"
  29074. # Find who we are. Look in the path if we contain no directory separator.
  29075. -case $0 in
  29076. +case $0 in #((
  29077. *[\\/]* ) as_myself=$0 ;;
  29078. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29079. for as_dir in $PATH
  29080. do
  29081. IFS=$as_save_IFS
  29082. test -z "$as_dir" && as_dir=.
  29083. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  29084. -done
  29085. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  29086. + done
  29087. IFS=$as_save_IFS
  29088. ;;
  29089. @@ -117,12 +112,16 @@
  29090. fi
  29091. if test ! -f "$as_myself"; then
  29092. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  29093. - { (exit 1); exit 1; }
  29094. + exit 1
  29095. fi
  29096. -# Work around bugs in pre-3.0 UWIN ksh.
  29097. -for as_var in ENV MAIL MAILPATH
  29098. -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  29099. +# Unset variables that we do not need and which cause bugs (e.g. in
  29100. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  29101. +# suppresses any "Segmentation fault" message there. '((' could
  29102. +# trigger a bug in pdksh 5.2.14.
  29103. +for as_var in BASH_ENV ENV MAIL MAILPATH
  29104. +do eval test x\${$as_var+set} = xset \
  29105. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  29106. done
  29107. PS1='$ '
  29108. PS2='> '
  29109. @@ -134,330 +133,300 @@
  29110. LANGUAGE=C
  29111. export LANGUAGE
  29112. -# Required to use basename.
  29113. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  29114. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  29115. - as_expr=expr
  29116. -else
  29117. - as_expr=false
  29118. -fi
  29119. -
  29120. -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  29121. - as_basename=basename
  29122. -else
  29123. - as_basename=false
  29124. -fi
  29125. -
  29126. -
  29127. -# Name of the executable.
  29128. -as_me=`$as_basename -- "$0" ||
  29129. -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  29130. - X"$0" : 'X\(//\)$' \| \
  29131. - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  29132. -$as_echo X/"$0" |
  29133. - sed '/^.*\/\([^/][^/]*\)\/*$/{
  29134. - s//\1/
  29135. - q
  29136. - }
  29137. - /^X\/\(\/\/\)$/{
  29138. - s//\1/
  29139. - q
  29140. - }
  29141. - /^X\/\(\/\).*/{
  29142. - s//\1/
  29143. - q
  29144. - }
  29145. - s/.*/./; q'`
  29146. -
  29147. # CDPATH.
  29148. -$as_unset CDPATH
  29149. -
  29150. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  29151. if test "x$CONFIG_SHELL" = x; then
  29152. - if (eval ":") 2>/dev/null; then
  29153. - as_have_required=yes
  29154. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  29155. + emulate sh
  29156. + NULLCMD=:
  29157. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  29158. + # is contrary to our usage. Disable this feature.
  29159. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  29160. + setopt NO_GLOB_SUBST
  29161. else
  29162. - as_have_required=no
  29163. + case \`(set -o) 2>/dev/null\` in #(
  29164. + *posix*) :
  29165. + set -o posix ;; #(
  29166. + *) :
  29167. + ;;
  29168. +esac
  29169. fi
  29170. -
  29171. - if test $as_have_required = yes && (eval ":
  29172. -(as_func_return () {
  29173. - (exit \$1)
  29174. -}
  29175. -as_func_success () {
  29176. - as_func_return 0
  29177. -}
  29178. -as_func_failure () {
  29179. - as_func_return 1
  29180. -}
  29181. -as_func_ret_success () {
  29182. - return 0
  29183. -}
  29184. -as_func_ret_failure () {
  29185. - return 1
  29186. -}
  29187. +"
  29188. + as_required="as_fn_return () { (exit \$1); }
  29189. +as_fn_success () { as_fn_return 0; }
  29190. +as_fn_failure () { as_fn_return 1; }
  29191. +as_fn_ret_success () { return 0; }
  29192. +as_fn_ret_failure () { return 1; }
  29193. exitcode=0
  29194. -if as_func_success; then
  29195. - :
  29196. -else
  29197. - exitcode=1
  29198. - echo as_func_success failed.
  29199. -fi
  29200. -
  29201. -if as_func_failure; then
  29202. - exitcode=1
  29203. - echo as_func_failure succeeded.
  29204. -fi
  29205. -
  29206. -if as_func_ret_success; then
  29207. - :
  29208. -else
  29209. - exitcode=1
  29210. - echo as_func_ret_success failed.
  29211. -fi
  29212. -
  29213. -if as_func_ret_failure; then
  29214. - exitcode=1
  29215. - echo as_func_ret_failure succeeded.
  29216. -fi
  29217. -
  29218. -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  29219. - :
  29220. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  29221. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  29222. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  29223. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  29224. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  29225. +
  29226. +else
  29227. + exitcode=1; echo positional parameters were not saved.
  29228. +fi
  29229. +test x\$exitcode = x0 || exit 1"
  29230. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  29231. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  29232. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  29233. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  29234. +test \$(( 1 + 1 )) = 2 || exit 1"
  29235. + if (eval "$as_required") 2>/dev/null; then :
  29236. + as_have_required=yes
  29237. else
  29238. - exitcode=1
  29239. - echo positional parameters were not saved.
  29240. + as_have_required=no
  29241. fi
  29242. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  29243. -test \$exitcode = 0) || { (exit 1); exit 1; }
  29244. -
  29245. -(
  29246. - as_lineno_1=\$LINENO
  29247. - as_lineno_2=\$LINENO
  29248. - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  29249. - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  29250. -") 2> /dev/null; then
  29251. - :
  29252. else
  29253. - as_candidate_shells=
  29254. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29255. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29256. +as_found=false
  29257. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  29258. do
  29259. IFS=$as_save_IFS
  29260. test -z "$as_dir" && as_dir=.
  29261. - case $as_dir in
  29262. + as_found=:
  29263. + case $as_dir in #(
  29264. /*)
  29265. for as_base in sh bash ksh sh5; do
  29266. - as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  29267. + # Try only shells that exist, to save several forks.
  29268. + as_shell=$as_dir/$as_base
  29269. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  29270. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  29271. + CONFIG_SHELL=$as_shell as_have_required=yes
  29272. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  29273. + break 2
  29274. +fi
  29275. +fi
  29276. done;;
  29277. esac
  29278. + as_found=false
  29279. done
  29280. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  29281. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  29282. + CONFIG_SHELL=$SHELL as_have_required=yes
  29283. +fi; }
  29284. IFS=$as_save_IFS
  29285. - for as_shell in $as_candidate_shells $SHELL; do
  29286. - # Try only shells that exist, to save several forks.
  29287. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  29288. - { ("$as_shell") 2> /dev/null <<\_ASEOF
  29289. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  29290. - emulate sh
  29291. - NULLCMD=:
  29292. - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  29293. - # is contrary to our usage. Disable this feature.
  29294. - alias -g '${1+"$@"}'='"$@"'
  29295. - setopt NO_GLOB_SUBST
  29296. -else
  29297. - case `(set -o) 2>/dev/null` in
  29298. - *posix*) set -o posix ;;
  29299. -esac
  29300. -
  29301. -fi
  29302. -
  29303. -
  29304. -:
  29305. -_ASEOF
  29306. -}; then
  29307. - CONFIG_SHELL=$as_shell
  29308. - as_have_required=yes
  29309. - if { "$as_shell" 2> /dev/null <<\_ASEOF
  29310. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  29311. - emulate sh
  29312. - NULLCMD=:
  29313. - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  29314. - # is contrary to our usage. Disable this feature.
  29315. - alias -g '${1+"$@"}'='"$@"'
  29316. - setopt NO_GLOB_SUBST
  29317. -else
  29318. - case `(set -o) 2>/dev/null` in
  29319. - *posix*) set -o posix ;;
  29320. -esac
  29321. -
  29322. -fi
  29323. -
  29324. -
  29325. -:
  29326. -(as_func_return () {
  29327. - (exit $1)
  29328. -}
  29329. -as_func_success () {
  29330. - as_func_return 0
  29331. -}
  29332. -as_func_failure () {
  29333. - as_func_return 1
  29334. -}
  29335. -as_func_ret_success () {
  29336. - return 0
  29337. -}
  29338. -as_func_ret_failure () {
  29339. - return 1
  29340. -}
  29341. -
  29342. -exitcode=0
  29343. -if as_func_success; then
  29344. - :
  29345. -else
  29346. - exitcode=1
  29347. - echo as_func_success failed.
  29348. -fi
  29349. -
  29350. -if as_func_failure; then
  29351. - exitcode=1
  29352. - echo as_func_failure succeeded.
  29353. -fi
  29354. -
  29355. -if as_func_ret_success; then
  29356. - :
  29357. -else
  29358. - exitcode=1
  29359. - echo as_func_ret_success failed.
  29360. -fi
  29361. -
  29362. -if as_func_ret_failure; then
  29363. - exitcode=1
  29364. - echo as_func_ret_failure succeeded.
  29365. -fi
  29366. -
  29367. -if ( set x; as_func_ret_success y && test x = "$1" ); then
  29368. - :
  29369. -else
  29370. - exitcode=1
  29371. - echo positional parameters were not saved.
  29372. -fi
  29373. -
  29374. -test $exitcode = 0) || { (exit 1); exit 1; }
  29375. -
  29376. -(
  29377. - as_lineno_1=$LINENO
  29378. - as_lineno_2=$LINENO
  29379. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  29380. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  29381. -
  29382. -_ASEOF
  29383. -}; then
  29384. - break
  29385. -fi
  29386. -
  29387. -fi
  29388. -
  29389. - done
  29390. -
  29391. - if test "x$CONFIG_SHELL" != x; then
  29392. - for as_var in BASH_ENV ENV
  29393. - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  29394. - done
  29395. + if test "x$CONFIG_SHELL" != x; then :
  29396. + # We cannot yet assume a decent shell, so we have to provide a
  29397. + # neutralization value for shells without unset; and this also
  29398. + # works around shells that cannot unset nonexistent variables.
  29399. + BASH_ENV=/dev/null
  29400. + ENV=/dev/null
  29401. + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  29402. export CONFIG_SHELL
  29403. exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  29404. fi
  29405. -
  29406. - if test $as_have_required = no; then
  29407. - echo This script requires a shell more modern than all the
  29408. - echo shells that I found on your system. Please install a
  29409. - echo modern shell, or manually run the script under such a
  29410. - echo shell if you do have one.
  29411. - { (exit 1); exit 1; }
  29412. + if test x$as_have_required = xno; then :
  29413. + $as_echo "$0: This script requires a shell more modern than all"
  29414. + $as_echo "$0: the shells that I found on your system."
  29415. + if test x${ZSH_VERSION+set} = xset ; then
  29416. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  29417. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  29418. + else
  29419. + $as_echo "$0: Please tell bug-autoconf@gnu.org and
  29420. +$0: http://www.squid-cache.org/bugs/ about your system,
  29421. +$0: including any error possibly output before this
  29422. +$0: message. Then install a modern shell, or manually run
  29423. +$0: the script under such a shell if you do have one."
  29424. + fi
  29425. + exit 1
  29426. fi
  29427. -
  29428. -
  29429. fi
  29430. -
  29431. fi
  29432. +SHELL=${CONFIG_SHELL-/bin/sh}
  29433. +export SHELL
  29434. +# Unset more variables known to interfere with behavior of common tools.
  29435. +CLICOLOR_FORCE= GREP_OPTIONS=
  29436. +unset CLICOLOR_FORCE GREP_OPTIONS
  29437. +## --------------------- ##
  29438. +## M4sh Shell Functions. ##
  29439. +## --------------------- ##
  29440. +# as_fn_unset VAR
  29441. +# ---------------
  29442. +# Portably unset VAR.
  29443. +as_fn_unset ()
  29444. +{
  29445. + { eval $1=; unset $1;}
  29446. +}
  29447. +as_unset=as_fn_unset
  29448. +
  29449. +# as_fn_set_status STATUS
  29450. +# -----------------------
  29451. +# Set $? to STATUS, without forking.
  29452. +as_fn_set_status ()
  29453. +{
  29454. + return $1
  29455. +} # as_fn_set_status
  29456. +
  29457. +# as_fn_exit STATUS
  29458. +# -----------------
  29459. +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  29460. +as_fn_exit ()
  29461. +{
  29462. + set +e
  29463. + as_fn_set_status $1
  29464. + exit $1
  29465. +} # as_fn_exit
  29466. +
  29467. +# as_fn_mkdir_p
  29468. +# -------------
  29469. +# Create "$as_dir" as a directory, including parents if necessary.
  29470. +as_fn_mkdir_p ()
  29471. +{
  29472. +
  29473. + case $as_dir in #(
  29474. + -*) as_dir=./$as_dir;;
  29475. + esac
  29476. + test -d "$as_dir" || eval $as_mkdir_p || {
  29477. + as_dirs=
  29478. + while :; do
  29479. + case $as_dir in #(
  29480. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  29481. + *) as_qdir=$as_dir;;
  29482. + esac
  29483. + as_dirs="'$as_qdir' $as_dirs"
  29484. + as_dir=`$as_dirname -- "$as_dir" ||
  29485. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  29486. + X"$as_dir" : 'X\(//\)[^/]' \| \
  29487. + X"$as_dir" : 'X\(//\)$' \| \
  29488. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  29489. +$as_echo X"$as_dir" |
  29490. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  29491. + s//\1/
  29492. + q
  29493. + }
  29494. + /^X\(\/\/\)[^/].*/{
  29495. + s//\1/
  29496. + q
  29497. + }
  29498. + /^X\(\/\/\)$/{
  29499. + s//\1/
  29500. + q
  29501. + }
  29502. + /^X\(\/\).*/{
  29503. + s//\1/
  29504. + q
  29505. + }
  29506. + s/.*/./; q'`
  29507. + test -d "$as_dir" && break
  29508. + done
  29509. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  29510. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  29511. -(eval "as_func_return () {
  29512. - (exit \$1)
  29513. -}
  29514. -as_func_success () {
  29515. - as_func_return 0
  29516. -}
  29517. -as_func_failure () {
  29518. - as_func_return 1
  29519. -}
  29520. -as_func_ret_success () {
  29521. - return 0
  29522. -}
  29523. -as_func_ret_failure () {
  29524. - return 1
  29525. -}
  29526. +} # as_fn_mkdir_p
  29527. +# as_fn_append VAR VALUE
  29528. +# ----------------------
  29529. +# Append the text in VALUE to the end of the definition contained in VAR. Take
  29530. +# advantage of any shell optimizations that allow amortized linear growth over
  29531. +# repeated appends, instead of the typical quadratic growth present in naive
  29532. +# implementations.
  29533. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  29534. + eval 'as_fn_append ()
  29535. + {
  29536. + eval $1+=\$2
  29537. + }'
  29538. +else
  29539. + as_fn_append ()
  29540. + {
  29541. + eval $1=\$$1\$2
  29542. + }
  29543. +fi # as_fn_append
  29544. -exitcode=0
  29545. -if as_func_success; then
  29546. - :
  29547. +# as_fn_arith ARG...
  29548. +# ------------------
  29549. +# Perform arithmetic evaluation on the ARGs, and store the result in the
  29550. +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  29551. +# must be portable across $(()) and expr.
  29552. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  29553. + eval 'as_fn_arith ()
  29554. + {
  29555. + as_val=$(( $* ))
  29556. + }'
  29557. else
  29558. - exitcode=1
  29559. - echo as_func_success failed.
  29560. -fi
  29561. + as_fn_arith ()
  29562. + {
  29563. + as_val=`expr "$@" || test $? -eq 1`
  29564. + }
  29565. +fi # as_fn_arith
  29566. -if as_func_failure; then
  29567. - exitcode=1
  29568. - echo as_func_failure succeeded.
  29569. -fi
  29570. -if as_func_ret_success; then
  29571. - :
  29572. +# as_fn_error ERROR [LINENO LOG_FD]
  29573. +# ---------------------------------
  29574. +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  29575. +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  29576. +# script with status $?, using 1 if that was 0.
  29577. +as_fn_error ()
  29578. +{
  29579. + as_status=$?; test $as_status -eq 0 && as_status=1
  29580. + if test "$3"; then
  29581. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  29582. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  29583. + fi
  29584. + $as_echo "$as_me: error: $1" >&2
  29585. + as_fn_exit $as_status
  29586. +} # as_fn_error
  29587. +
  29588. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  29589. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  29590. + as_expr=expr
  29591. else
  29592. - exitcode=1
  29593. - echo as_func_ret_success failed.
  29594. + as_expr=false
  29595. fi
  29596. -if as_func_ret_failure; then
  29597. - exitcode=1
  29598. - echo as_func_ret_failure succeeded.
  29599. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  29600. + as_basename=basename
  29601. +else
  29602. + as_basename=false
  29603. fi
  29604. -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  29605. - :
  29606. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  29607. + as_dirname=dirname
  29608. else
  29609. - exitcode=1
  29610. - echo positional parameters were not saved.
  29611. + as_dirname=false
  29612. fi
  29613. -test \$exitcode = 0") || {
  29614. - echo No shell found that supports shell functions.
  29615. - echo Please tell bug-autoconf@gnu.org about your system,
  29616. - echo including any error possibly output before this message.
  29617. - echo This can help us improve future autoconf versions.
  29618. - echo Configuration will now proceed without shell functions.
  29619. -}
  29620. +as_me=`$as_basename -- "$0" ||
  29621. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  29622. + X"$0" : 'X\(//\)$' \| \
  29623. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  29624. +$as_echo X/"$0" |
  29625. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  29626. + s//\1/
  29627. + q
  29628. + }
  29629. + /^X\/\(\/\/\)$/{
  29630. + s//\1/
  29631. + q
  29632. + }
  29633. + /^X\/\(\/\).*/{
  29634. + s//\1/
  29635. + q
  29636. + }
  29637. + s/.*/./; q'`
  29638. +# Avoid depending upon Character Ranges.
  29639. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  29640. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  29641. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  29642. +as_cr_digits='0123456789'
  29643. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  29644. - as_lineno_1=$LINENO
  29645. - as_lineno_2=$LINENO
  29646. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  29647. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  29648. -
  29649. - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  29650. - # uniformly replaced by the line number. The first 'sed' inserts a
  29651. - # line-number line after each line using $LINENO; the second 'sed'
  29652. - # does the real work. The second script uses 'N' to pair each
  29653. - # line-number line with the line containing $LINENO, and appends
  29654. - # trailing '-' during substitution so that $LINENO is not a special
  29655. - # case at line end.
  29656. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  29657. - # scripts with optimization help from Paolo Bonzini. Blame Lee
  29658. - # E. McMahon (1931-1989) for sed's syntax. :-)
  29659. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  29660. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  29661. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  29662. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  29663. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  29664. sed -n '
  29665. p
  29666. /[$]LINENO/=
  29667. @@ -474,8 +443,7 @@
  29668. s/-\n.*//
  29669. ' >$as_me.lineno &&
  29670. chmod +x "$as_me.lineno" ||
  29671. - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  29672. - { (exit 1); exit 1; }; }
  29673. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  29674. # Don't try to exec as it changes $[0], causing all sort of problems
  29675. # (the dirname of $[0] is not the place where we might find the
  29676. @@ -485,29 +453,18 @@
  29677. exit
  29678. }
  29679. -
  29680. -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  29681. - as_dirname=dirname
  29682. -else
  29683. - as_dirname=false
  29684. -fi
  29685. -
  29686. ECHO_C= ECHO_N= ECHO_T=
  29687. -case `echo -n x` in
  29688. +case `echo -n x` in #(((((
  29689. -n*)
  29690. - case `echo 'x\c'` in
  29691. + case `echo 'xy\c'` in
  29692. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  29693. - *) ECHO_C='\c';;
  29694. + xy) ECHO_C='\c';;
  29695. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  29696. + ECHO_T=' ';;
  29697. esac;;
  29698. *)
  29699. ECHO_N='-n';;
  29700. esac
  29701. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  29702. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  29703. - as_expr=expr
  29704. -else
  29705. - as_expr=false
  29706. -fi
  29707. rm -f conf$$ conf$$.exe conf$$.file
  29708. if test -d conf$$.dir; then
  29709. @@ -537,7 +494,7 @@
  29710. rmdir conf$$.dir 2>/dev/null
  29711. if mkdir -p . 2>/dev/null; then
  29712. - as_mkdir_p=:
  29713. + as_mkdir_p='mkdir -p "$as_dir"'
  29714. else
  29715. test -d ./-p && rmdir ./-p
  29716. as_mkdir_p=false
  29717. @@ -556,10 +513,10 @@
  29718. if test -d "$1"; then
  29719. test -d "$1/.";
  29720. else
  29721. - case $1 in
  29722. + case $1 in #(
  29723. -*)set "./$1";;
  29724. esac;
  29725. - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  29726. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  29727. ???[sx]*):;;*)false;;esac;fi
  29728. '\'' sh
  29729. '
  29730. @@ -574,26 +531,25 @@
  29731. -
  29732. # Check that we are running under the correct shell.
  29733. SHELL=${CONFIG_SHELL-/bin/sh}
  29734. -case X$ECHO in
  29735. +case X$lt_ECHO in
  29736. X*--fallback-echo)
  29737. # Remove one level of quotation (which was required for Make).
  29738. - ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
  29739. + ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  29740. ;;
  29741. esac
  29742. -echo=${ECHO-echo}
  29743. +ECHO=${lt_ECHO-echo}
  29744. if test "X$1" = X--no-reexec; then
  29745. # Discard the --no-reexec flag, and continue.
  29746. shift
  29747. elif test "X$1" = X--fallback-echo; then
  29748. # Avoid inline document here, it may be left over
  29749. :
  29750. -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  29751. - # Yippee, $echo works!
  29752. +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  29753. + # Yippee, $ECHO works!
  29754. :
  29755. else
  29756. # Restart under the correct shell.
  29757. @@ -603,9 +559,9 @@
  29758. if test "X$1" = X--fallback-echo; then
  29759. # used as fallback echo
  29760. shift
  29761. - cat <<EOF
  29762. + cat <<_LT_EOF
  29763. $*
  29764. -EOF
  29765. +_LT_EOF
  29766. exit 0
  29767. fi
  29768. @@ -613,122 +569,118 @@
  29769. # if CDPATH is set.
  29770. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  29771. -if test -z "$ECHO"; then
  29772. -if test "X${echo_test_string+set}" != Xset; then
  29773. -# find a string as large as possible, as long as the shell can cope with it
  29774. - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  29775. - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  29776. - if (echo_test_string=`eval $cmd`) 2>/dev/null &&
  29777. - echo_test_string=`eval $cmd` &&
  29778. - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  29779. - then
  29780. - break
  29781. - fi
  29782. - done
  29783. -fi
  29784. +if test -z "$lt_ECHO"; then
  29785. + if test "X${echo_test_string+set}" != Xset; then
  29786. + # find a string as large as possible, as long as the shell can cope with it
  29787. + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  29788. + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  29789. + if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  29790. + { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  29791. + then
  29792. + break
  29793. + fi
  29794. + done
  29795. + fi
  29796. -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  29797. - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  29798. - test "X$echo_testing_string" = "X$echo_test_string"; then
  29799. - :
  29800. -else
  29801. - # The Solaris, AIX, and Digital Unix default echo programs unquote
  29802. - # backslashes. This makes it impossible to quote backslashes using
  29803. - # echo "$something" | sed 's/\\/\\\\/g'
  29804. - #
  29805. - # So, first we look for a working echo in the user's PATH.
  29806. + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  29807. + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  29808. + test "X$echo_testing_string" = "X$echo_test_string"; then
  29809. + :
  29810. + else
  29811. + # The Solaris, AIX, and Digital Unix default echo programs unquote
  29812. + # backslashes. This makes it impossible to quote backslashes using
  29813. + # echo "$something" | sed 's/\\/\\\\/g'
  29814. + #
  29815. + # So, first we look for a working echo in the user's PATH.
  29816. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  29817. - for dir in $PATH /usr/ucb; do
  29818. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  29819. + for dir in $PATH /usr/ucb; do
  29820. + IFS="$lt_save_ifs"
  29821. + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  29822. + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  29823. + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  29824. + test "X$echo_testing_string" = "X$echo_test_string"; then
  29825. + ECHO="$dir/echo"
  29826. + break
  29827. + fi
  29828. + done
  29829. IFS="$lt_save_ifs"
  29830. - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  29831. - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  29832. - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  29833. - test "X$echo_testing_string" = "X$echo_test_string"; then
  29834. - echo="$dir/echo"
  29835. - break
  29836. - fi
  29837. - done
  29838. - IFS="$lt_save_ifs"
  29839. - if test "X$echo" = Xecho; then
  29840. - # We didn't find a better echo, so look for alternatives.
  29841. - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  29842. - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  29843. - test "X$echo_testing_string" = "X$echo_test_string"; then
  29844. - # This shell has a builtin print -r that does the trick.
  29845. - echo='print -r'
  29846. - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  29847. - test "X$CONFIG_SHELL" != X/bin/ksh; then
  29848. - # If we have ksh, try running configure again with it.
  29849. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  29850. - export ORIGINAL_CONFIG_SHELL
  29851. - CONFIG_SHELL=/bin/ksh
  29852. - export CONFIG_SHELL
  29853. - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  29854. - else
  29855. - # Try using printf.
  29856. - echo='printf %s\n'
  29857. - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  29858. - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  29859. - test "X$echo_testing_string" = "X$echo_test_string"; then
  29860. - # Cool, printf works
  29861. - :
  29862. - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  29863. - test "X$echo_testing_string" = 'X\t' &&
  29864. - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  29865. - test "X$echo_testing_string" = "X$echo_test_string"; then
  29866. - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  29867. - export CONFIG_SHELL
  29868. - SHELL="$CONFIG_SHELL"
  29869. - export SHELL
  29870. - echo="$CONFIG_SHELL $0 --fallback-echo"
  29871. - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  29872. - test "X$echo_testing_string" = 'X\t' &&
  29873. - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  29874. + if test "X$ECHO" = Xecho; then
  29875. + # We didn't find a better echo, so look for alternatives.
  29876. + if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  29877. + echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  29878. + test "X$echo_testing_string" = "X$echo_test_string"; then
  29879. + # This shell has a builtin print -r that does the trick.
  29880. + ECHO='print -r'
  29881. + elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  29882. + test "X$CONFIG_SHELL" != X/bin/ksh; then
  29883. + # If we have ksh, try running configure again with it.
  29884. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  29885. + export ORIGINAL_CONFIG_SHELL
  29886. + CONFIG_SHELL=/bin/ksh
  29887. + export CONFIG_SHELL
  29888. + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  29889. + else
  29890. + # Try using printf.
  29891. + ECHO='printf %s\n'
  29892. + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  29893. + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  29894. test "X$echo_testing_string" = "X$echo_test_string"; then
  29895. - echo="$CONFIG_SHELL $0 --fallback-echo"
  29896. - else
  29897. - # maybe with a smaller string...
  29898. - prev=:
  29899. + # Cool, printf works
  29900. + :
  29901. + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  29902. + test "X$echo_testing_string" = 'X\t' &&
  29903. + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  29904. + test "X$echo_testing_string" = "X$echo_test_string"; then
  29905. + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  29906. + export CONFIG_SHELL
  29907. + SHELL="$CONFIG_SHELL"
  29908. + export SHELL
  29909. + ECHO="$CONFIG_SHELL $0 --fallback-echo"
  29910. + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  29911. + test "X$echo_testing_string" = 'X\t' &&
  29912. + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  29913. + test "X$echo_testing_string" = "X$echo_test_string"; then
  29914. + ECHO="$CONFIG_SHELL $0 --fallback-echo"
  29915. + else
  29916. + # maybe with a smaller string...
  29917. + prev=:
  29918. - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  29919. - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  29920. - then
  29921. - break
  29922. - fi
  29923. - prev="$cmd"
  29924. - done
  29925. + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  29926. + if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  29927. + then
  29928. + break
  29929. + fi
  29930. + prev="$cmd"
  29931. + done
  29932. - if test "$prev" != 'sed 50q "$0"'; then
  29933. - echo_test_string=`eval $prev`
  29934. - export echo_test_string
  29935. - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  29936. - else
  29937. - # Oops. We lost completely, so just stick with echo.
  29938. - echo=echo
  29939. - fi
  29940. + if test "$prev" != 'sed 50q "$0"'; then
  29941. + echo_test_string=`eval $prev`
  29942. + export echo_test_string
  29943. + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  29944. + else
  29945. + # Oops. We lost completely, so just stick with echo.
  29946. + ECHO=echo
  29947. + fi
  29948. + fi
  29949. fi
  29950. fi
  29951. fi
  29952. fi
  29953. -fi
  29954. # Copy echo and quote the copy suitably for passing to libtool from
  29955. # the Makefile, instead of quoting the original, which is used later.
  29956. -ECHO=$echo
  29957. -if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  29958. - ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  29959. +lt_ECHO=$ECHO
  29960. +if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  29961. + lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  29962. fi
  29963. -tagnames=${tagnames+${tagnames},}CXX
  29964. -
  29965. -tagnames=${tagnames+${tagnames},}F77
  29966. -
  29967. -exec 7<&0 </dev/null 6>&1
  29968. +test -n "$DJDIR" || exec 7<&0 </dev/null
  29969. +exec 6>&1
  29970. # Name of the host.
  29971. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  29972. @@ -746,7 +698,6 @@
  29973. subdirs=
  29974. MFLAGS=
  29975. MAKEFLAGS=
  29976. -SHELL=${CONFIG_SHELL-/bin/sh}
  29977. # Identity of this package.
  29978. PACKAGE_NAME='Squid Web Proxy'
  29979. @@ -754,6 +705,7 @@
  29980. PACKAGE_VERSION='3.0.STABLE20'
  29981. PACKAGE_STRING='Squid Web Proxy 3.0.STABLE20'
  29982. PACKAGE_BUGREPORT='http://www.squid-cache.org/bugs/'
  29983. +PACKAGE_URL=''
  29984. ac_unique_file="src/main.cc"
  29985. ac_default_prefix=/usr/local/squid
  29986. @@ -794,229 +746,244 @@
  29987. #endif"
  29988. enable_option_checking=no
  29989. -ac_subst_vars='SHELL
  29990. -PATH_SEPARATOR
  29991. -PACKAGE_NAME
  29992. -PACKAGE_TARNAME
  29993. -PACKAGE_VERSION
  29994. -PACKAGE_STRING
  29995. -PACKAGE_BUGREPORT
  29996. -exec_prefix
  29997. -prefix
  29998. -program_transform_name
  29999. -bindir
  30000. -sbindir
  30001. -libexecdir
  30002. -datarootdir
  30003. -datadir
  30004. -sysconfdir
  30005. -sharedstatedir
  30006. -localstatedir
  30007. -includedir
  30008. -oldincludedir
  30009. -docdir
  30010. -infodir
  30011. -htmldir
  30012. -dvidir
  30013. -pdfdir
  30014. -psdir
  30015. -libdir
  30016. -localedir
  30017. -mandir
  30018. -DEFS
  30019. -ECHO_C
  30020. -ECHO_N
  30021. -ECHO_T
  30022. -LIBS
  30023. -build_alias
  30024. -host_alias
  30025. -target_alias
  30026. -INSTALL_PROGRAM
  30027. -INSTALL_SCRIPT
  30028. -INSTALL_DATA
  30029. -am__isrc
  30030. -CYGPATH_W
  30031. -PACKAGE
  30032. -VERSION
  30033. -ACLOCAL
  30034. -AUTOCONF
  30035. -AUTOMAKE
  30036. -AUTOHEADER
  30037. -MAKEINFO
  30038. -install_sh
  30039. -STRIP
  30040. -INSTALL_STRIP_PROGRAM
  30041. -MKDIR_P
  30042. -mkdir_p
  30043. -AWK
  30044. -SET_MAKE
  30045. -am__leading_dot
  30046. -AMTAR
  30047. -am__tar
  30048. -am__untar
  30049. -MAINTAINER_MODE_TRUE
  30050. -MAINTAINER_MODE_FALSE
  30051. -MAINT
  30052. -CC
  30053. -CFLAGS
  30054. -LDFLAGS
  30055. -CPPFLAGS
  30056. -ac_ct_CC
  30057. -EXEEXT
  30058. -OBJEXT
  30059. -DEPDIR
  30060. -am__include
  30061. -am__quote
  30062. -AMDEP_TRUE
  30063. -AMDEP_FALSE
  30064. -AMDEPBACKSLASH
  30065. -CCDEPMODE
  30066. -am__fastdepCC_TRUE
  30067. -am__fastdepCC_FALSE
  30068. -CXX
  30069. -CXXFLAGS
  30070. -ac_ct_CXX
  30071. -CXXDEPMODE
  30072. -am__fastdepCXX_TRUE
  30073. -am__fastdepCXX_FALSE
  30074. -build
  30075. -build_cpu
  30076. -build_vendor
  30077. -build_os
  30078. -host
  30079. -host_cpu
  30080. -host_vendor
  30081. -host_os
  30082. -SED
  30083. -GREP
  30084. -EGREP
  30085. -LN_S
  30086. -ECHO
  30087. -AR
  30088. -RANLIB
  30089. -DSYMUTIL
  30090. -NMEDIT
  30091. -CPP
  30092. -CXXCPP
  30093. -F77
  30094. -FFLAGS
  30095. -ac_ct_F77
  30096. -LIBTOOL
  30097. -LIBADD_DL
  30098. -CGIEXT
  30099. -ENABLE_WIN32SPECIFIC_TRUE
  30100. -ENABLE_WIN32SPECIFIC_FALSE
  30101. -WIN32_PSAPI
  30102. -USE_IPC_WIN32_TRUE
  30103. -USE_IPC_WIN32_FALSE
  30104. -MINGW_LIBS
  30105. -CACHE_HTTP_PORT
  30106. -CACHE_ICP_PORT
  30107. -CACHE_EFFECTIVE_USER
  30108. -SQUID_CFLAGS
  30109. -SQUID_CXXFLAGS
  30110. -STORE_OBJS
  30111. -STORE_LIBS
  30112. -STORE_LINKOBJS
  30113. -STORE_TESTS
  30114. -DISK_LIBS
  30115. -DISK_PROGRAMS
  30116. -DISK_LINKOBJS
  30117. -USE_AIOPS_WIN32_TRUE
  30118. -USE_AIOPS_WIN32_FALSE
  30119. -USE_AIO_WIN32_TRUE
  30120. -USE_AIO_WIN32_FALSE
  30121. -REPL_POLICIES
  30122. -REPL_OBJS
  30123. -REPL_LIBS
  30124. -ENABLE_PINGER_TRUE
  30125. -ENABLE_PINGER_FALSE
  30126. -USE_DELAY_POOLS_TRUE
  30127. -USE_DELAY_POOLS_FALSE
  30128. -USE_ESI_TRUE
  30129. -USE_ESI_FALSE
  30130. -USE_ICAP_CLIENT_TRUE
  30131. -USE_ICAP_CLIENT_FALSE
  30132. -ICAP_LIBS
  30133. -USE_SNMP_TRUE
  30134. -USE_SNMP_FALSE
  30135. -SNMPLIB
  30136. -makesnmplib
  30137. -ENABLE_ARP_ACL_TRUE
  30138. -ENABLE_ARP_ACL_FALSE
  30139. -ENABLE_HTCP_TRUE
  30140. -ENABLE_HTCP_FALSE
  30141. -ENABLE_SSL_TRUE
  30142. -ENABLE_SSL_FALSE
  30143. -SSLLIB
  30144. -ERR_DEFAULT_LANGUAGE
  30145. -ERR_LANGUAGES
  30146. -MAKE_LEAKFINDER_TRUE
  30147. -MAKE_LEAKFINDER_FALSE
  30148. -ENABLE_IDENT_TRUE
  30149. -ENABLE_IDENT_FALSE
  30150. -USE_DNSSERVER_TRUE
  30151. -USE_DNSSERVER_FALSE
  30152. -OPT_DEFAULT_HOSTS
  30153. -AUTH_MODULES
  30154. -AUTH_LIBS
  30155. -AUTH_LINKOBJS
  30156. -AUTH_OBJS
  30157. -BASIC_AUTH_HELPERS
  30158. -NTLM_AUTH_HELPERS
  30159. -NEGOTIATE_AUTH_HELPERS
  30160. -DIGEST_AUTH_HELPERS
  30161. -ac_krb5_config
  30162. -KRB5INCS
  30163. -KRB5LIBS
  30164. -HAVE_SPNEGO_TRUE
  30165. -HAVE_SPNEGO_FALSE
  30166. -EXTERNAL_ACL_HELPERS
  30167. -LIBSASL
  30168. -ENABLE_UNLINKD_TRUE
  30169. -ENABLE_UNLINKD_FALSE
  30170. -ENABLE_XPROF_STATS_TRUE
  30171. -ENABLE_XPROF_STATS_FALSE
  30172. -CPPUNITCONFIG
  30173. -SQUID_CPPUNIT_LIBS
  30174. -SQUID_CPPUNIT_LA
  30175. -SQUID_CPPUNIT_INC
  30176. -SH
  30177. -FALSE
  30178. -TRUE
  30179. -MV
  30180. -MKDIR
  30181. -LN
  30182. -PERL
  30183. -RM
  30184. -AR_R
  30185. -ALLOCA
  30186. -CRYPTLIB
  30187. -LIB_LDAP
  30188. -LIB_LBER
  30189. -LIB_DB
  30190. -LIBOBJS
  30191. -EPOLL_LIBS
  30192. -USE_POLL_TRUE
  30193. -USE_POLL_FALSE
  30194. -USE_EPOLL_TRUE
  30195. -USE_EPOLL_FALSE
  30196. -USE_SELECT_TRUE
  30197. -USE_SELECT_FALSE
  30198. -USE_SELECT_SIMPLE_TRUE
  30199. -USE_SELECT_SIMPLE_FALSE
  30200. -USE_SELECT_WIN32_TRUE
  30201. -USE_SELECT_WIN32_FALSE
  30202. -USE_KQUEUE_TRUE
  30203. -USE_KQUEUE_FALSE
  30204. -USE_DEVPOLL_TRUE
  30205. -USE_DEVPOLL_FALSE
  30206. -REGEXLIB
  30207. -LIBREGEX
  30208. -XTRA_OBJS
  30209. -XTRA_LIBS
  30210. +ac_subst_vars='am__EXEEXT_FALSE
  30211. +am__EXEEXT_TRUE
  30212. +LTLIBOBJS
  30213. subdirs
  30214. -LTLIBOBJS'
  30215. +XTRA_LIBS
  30216. +XTRA_OBJS
  30217. +LIBREGEX
  30218. +REGEXLIB
  30219. +USE_DEVPOLL_FALSE
  30220. +USE_DEVPOLL_TRUE
  30221. +USE_KQUEUE_FALSE
  30222. +USE_KQUEUE_TRUE
  30223. +USE_SELECT_WIN32_FALSE
  30224. +USE_SELECT_WIN32_TRUE
  30225. +USE_SELECT_SIMPLE_FALSE
  30226. +USE_SELECT_SIMPLE_TRUE
  30227. +USE_SELECT_FALSE
  30228. +USE_SELECT_TRUE
  30229. +USE_EPOLL_FALSE
  30230. +USE_EPOLL_TRUE
  30231. +USE_POLL_FALSE
  30232. +USE_POLL_TRUE
  30233. +EPOLL_LIBS
  30234. +LIBOBJS
  30235. +LIB_DB
  30236. +LIB_LBER
  30237. +LIB_LDAP
  30238. +CRYPTLIB
  30239. +ALLOCA
  30240. +AR_R
  30241. +RM
  30242. +PERL
  30243. +LN
  30244. +MKDIR
  30245. +MV
  30246. +TRUE
  30247. +FALSE
  30248. +SH
  30249. +HOSTCXX
  30250. +SQUID_CPPUNIT_INC
  30251. +SQUID_CPPUNIT_LA
  30252. +SQUID_CPPUNIT_LIBS
  30253. +CPPUNITCONFIG
  30254. +ENABLE_XPROF_STATS_FALSE
  30255. +ENABLE_XPROF_STATS_TRUE
  30256. +ENABLE_UNLINKD_FALSE
  30257. +ENABLE_UNLINKD_TRUE
  30258. +LIBSASL
  30259. +EXTERNAL_ACL_HELPERS
  30260. +HAVE_SPNEGO_FALSE
  30261. +HAVE_SPNEGO_TRUE
  30262. +KRB5LIBS
  30263. +KRB5INCS
  30264. +ac_krb5_config
  30265. +DIGEST_AUTH_HELPERS
  30266. +NEGOTIATE_AUTH_HELPERS
  30267. +NTLM_AUTH_HELPERS
  30268. +BASIC_AUTH_HELPERS
  30269. +AUTH_OBJS
  30270. +AUTH_LINKOBJS
  30271. +AUTH_LIBS
  30272. +AUTH_MODULES
  30273. +OPT_DEFAULT_HOSTS
  30274. +USE_DNSSERVER_FALSE
  30275. +USE_DNSSERVER_TRUE
  30276. +ENABLE_IDENT_FALSE
  30277. +ENABLE_IDENT_TRUE
  30278. +MAKE_LEAKFINDER_FALSE
  30279. +MAKE_LEAKFINDER_TRUE
  30280. +ERR_LANGUAGES
  30281. +ERR_DEFAULT_LANGUAGE
  30282. +SSLLIB
  30283. +ENABLE_SSL_FALSE
  30284. +ENABLE_SSL_TRUE
  30285. +ENABLE_HTCP_FALSE
  30286. +ENABLE_HTCP_TRUE
  30287. +ENABLE_ARP_ACL_FALSE
  30288. +ENABLE_ARP_ACL_TRUE
  30289. +makesnmplib
  30290. +SNMPLIB
  30291. +USE_SNMP_FALSE
  30292. +USE_SNMP_TRUE
  30293. +ICAP_LIBS
  30294. +USE_ICAP_CLIENT_FALSE
  30295. +USE_ICAP_CLIENT_TRUE
  30296. +USE_ESI_FALSE
  30297. +USE_ESI_TRUE
  30298. +USE_DELAY_POOLS_FALSE
  30299. +USE_DELAY_POOLS_TRUE
  30300. +ENABLE_PINGER_FALSE
  30301. +ENABLE_PINGER_TRUE
  30302. +REPL_LIBS
  30303. +REPL_OBJS
  30304. +REPL_POLICIES
  30305. +USE_AIO_WIN32_FALSE
  30306. +USE_AIO_WIN32_TRUE
  30307. +USE_AIOPS_WIN32_FALSE
  30308. +USE_AIOPS_WIN32_TRUE
  30309. +DISK_LINKOBJS
  30310. +DISK_PROGRAMS
  30311. +DISK_LIBS
  30312. +STORE_TESTS
  30313. +STORE_LINKOBJS
  30314. +STORE_LIBS
  30315. +STORE_OBJS
  30316. +SQUID_CXXFLAGS
  30317. +SQUID_CFLAGS
  30318. +CACHE_EFFECTIVE_USER
  30319. +CACHE_ICP_PORT
  30320. +CACHE_HTTP_PORT
  30321. +MINGW_LIBS
  30322. +USE_IPC_WIN32_FALSE
  30323. +USE_IPC_WIN32_TRUE
  30324. +WIN32_PSAPI
  30325. +ENABLE_WIN32SPECIFIC_FALSE
  30326. +ENABLE_WIN32SPECIFIC_TRUE
  30327. +CGIEXT
  30328. +LIBADD_DL
  30329. +LT_DLPREOPEN
  30330. +LIBADD_DLD_LINK
  30331. +LIBADD_SHL_LOAD
  30332. +LIBADD_DLOPEN
  30333. +LT_DLLOADERS
  30334. +CXXCPP
  30335. +CPP
  30336. +OTOOL64
  30337. +OTOOL
  30338. +LIPO
  30339. +NMEDIT
  30340. +DSYMUTIL
  30341. +lt_ECHO
  30342. +RANLIB
  30343. +AR
  30344. +OBJDUMP
  30345. +LN_S
  30346. +NM
  30347. +ac_ct_DUMPBIN
  30348. +DUMPBIN
  30349. +LD
  30350. +FGREP
  30351. +EGREP
  30352. +GREP
  30353. +SED
  30354. +LIBTOOL
  30355. +host_os
  30356. +host_vendor
  30357. +host_cpu
  30358. +host
  30359. +build_os
  30360. +build_vendor
  30361. +build_cpu
  30362. +build
  30363. +am__fastdepCXX_FALSE
  30364. +am__fastdepCXX_TRUE
  30365. +CXXDEPMODE
  30366. +ac_ct_CXX
  30367. +CXXFLAGS
  30368. +CXX
  30369. +am__fastdepCC_FALSE
  30370. +am__fastdepCC_TRUE
  30371. +CCDEPMODE
  30372. +AMDEPBACKSLASH
  30373. +AMDEP_FALSE
  30374. +AMDEP_TRUE
  30375. +am__quote
  30376. +am__include
  30377. +DEPDIR
  30378. +OBJEXT
  30379. +EXEEXT
  30380. +ac_ct_CC
  30381. +CPPFLAGS
  30382. +LDFLAGS
  30383. +CFLAGS
  30384. +CC
  30385. +MAINT
  30386. +MAINTAINER_MODE_FALSE
  30387. +MAINTAINER_MODE_TRUE
  30388. +am__untar
  30389. +am__tar
  30390. +AMTAR
  30391. +am__leading_dot
  30392. +SET_MAKE
  30393. +AWK
  30394. +mkdir_p
  30395. +MKDIR_P
  30396. +INSTALL_STRIP_PROGRAM
  30397. +STRIP
  30398. +install_sh
  30399. +MAKEINFO
  30400. +AUTOHEADER
  30401. +AUTOMAKE
  30402. +AUTOCONF
  30403. +ACLOCAL
  30404. +VERSION
  30405. +PACKAGE
  30406. +CYGPATH_W
  30407. +am__isrc
  30408. +INSTALL_DATA
  30409. +INSTALL_SCRIPT
  30410. +INSTALL_PROGRAM
  30411. +target_alias
  30412. +host_alias
  30413. +build_alias
  30414. +LIBS
  30415. +ECHO_T
  30416. +ECHO_N
  30417. +ECHO_C
  30418. +DEFS
  30419. +mandir
  30420. +localedir
  30421. +libdir
  30422. +psdir
  30423. +pdfdir
  30424. +dvidir
  30425. +htmldir
  30426. +infodir
  30427. +docdir
  30428. +oldincludedir
  30429. +includedir
  30430. +localstatedir
  30431. +sharedstatedir
  30432. +sysconfdir
  30433. +datadir
  30434. +datarootdir
  30435. +libexecdir
  30436. +sbindir
  30437. +bindir
  30438. +program_transform_name
  30439. +prefix
  30440. +exec_prefix
  30441. +PACKAGE_URL
  30442. +PACKAGE_BUGREPORT
  30443. +PACKAGE_STRING
  30444. +PACKAGE_VERSION
  30445. +PACKAGE_TARNAME
  30446. +PACKAGE_NAME
  30447. +PATH_SEPARATOR
  30448. +SHELL'
  30449. ac_subst_files=''
  30450. ac_user_opts='
  30451. enable_option_checking
  30452. @@ -1024,11 +991,10 @@
  30453. enable_dependency_tracking
  30454. enable_shared
  30455. enable_static
  30456. +with_pic
  30457. enable_fast_install
  30458. with_gnu_ld
  30459. enable_libtool_lock
  30460. -with_pic
  30461. -with_tags
  30462. with_default_user
  30463. enable_gnuregex
  30464. enable_optimizations
  30465. @@ -1110,9 +1076,7 @@
  30466. CXXFLAGS
  30467. CCC
  30468. CPP
  30469. -CXXCPP
  30470. -F77
  30471. -FFLAGS'
  30472. +CXXCPP'
  30473. ac_subdirs_all='lib/libTrie'
  30474. # Initialize some variables set by options.
  30475. @@ -1221,8 +1185,7 @@
  30476. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  30477. # Reject names that are not valid shell variable names.
  30478. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  30479. - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  30480. - { (exit 1); exit 1; }; }
  30481. + as_fn_error "invalid feature name: $ac_useropt"
  30482. ac_useropt_orig=$ac_useropt
  30483. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  30484. case $ac_user_opts in
  30485. @@ -1248,8 +1211,7 @@
  30486. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  30487. # Reject names that are not valid shell variable names.
  30488. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  30489. - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  30490. - { (exit 1); exit 1; }; }
  30491. + as_fn_error "invalid feature name: $ac_useropt"
  30492. ac_useropt_orig=$ac_useropt
  30493. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  30494. case $ac_user_opts in
  30495. @@ -1453,8 +1415,7 @@
  30496. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  30497. # Reject names that are not valid shell variable names.
  30498. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  30499. - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  30500. - { (exit 1); exit 1; }; }
  30501. + as_fn_error "invalid package name: $ac_useropt"
  30502. ac_useropt_orig=$ac_useropt
  30503. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  30504. case $ac_user_opts in
  30505. @@ -1470,8 +1431,7 @@
  30506. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  30507. # Reject names that are not valid shell variable names.
  30508. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  30509. - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  30510. - { (exit 1); exit 1; }; }
  30511. + as_fn_error "invalid package name: $ac_useropt"
  30512. ac_useropt_orig=$ac_useropt
  30513. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  30514. case $ac_user_opts in
  30515. @@ -1501,17 +1461,17 @@
  30516. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  30517. x_libraries=$ac_optarg ;;
  30518. - -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
  30519. -Try \`$0 --help' for more information." >&2
  30520. - { (exit 1); exit 1; }; }
  30521. + -*) as_fn_error "unrecognized option: \`$ac_option'
  30522. +Try \`$0 --help' for more information."
  30523. ;;
  30524. *=*)
  30525. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  30526. # Reject names that are not valid shell variable names.
  30527. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  30528. - { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  30529. - { (exit 1); exit 1; }; }
  30530. + case $ac_envvar in #(
  30531. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  30532. + as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  30533. + esac
  30534. eval $ac_envvar=\$ac_optarg
  30535. export $ac_envvar ;;
  30536. @@ -1528,16 +1488,14 @@
  30537. if test -n "$ac_prev"; then
  30538. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  30539. - { $as_echo "$as_me: error: missing argument to $ac_option" >&2
  30540. - { (exit 1); exit 1; }; }
  30541. + as_fn_error "missing argument to $ac_option"
  30542. fi
  30543. if test -n "$ac_unrecognized_opts"; then
  30544. case $enable_option_checking in
  30545. no) ;;
  30546. - fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
  30547. - { (exit 1); exit 1; }; } ;;
  30548. - *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
  30549. + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  30550. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  30551. esac
  30552. fi
  30553. @@ -1559,8 +1517,7 @@
  30554. [\\/$]* | ?:[\\/]* ) continue;;
  30555. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  30556. esac
  30557. - { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  30558. - { (exit 1); exit 1; }; }
  30559. + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  30560. done
  30561. # There might be people who depend on the old broken behavior: `$host'
  30562. @@ -1590,11 +1547,9 @@
  30563. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  30564. ac_ls_di=`ls -di .` &&
  30565. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  30566. - { $as_echo "$as_me: error: Working directory cannot be determined" >&2
  30567. - { (exit 1); exit 1; }; }
  30568. + as_fn_error "working directory cannot be determined"
  30569. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  30570. - { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
  30571. - { (exit 1); exit 1; }; }
  30572. + as_fn_error "pwd does not report name of working directory"
  30573. # Find the source files, if location was not specified.
  30574. @@ -1633,13 +1588,11 @@
  30575. fi
  30576. if test ! -r "$srcdir/$ac_unique_file"; then
  30577. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  30578. - { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  30579. - { (exit 1); exit 1; }; }
  30580. + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  30581. fi
  30582. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  30583. ac_abs_confdir=`(
  30584. - cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
  30585. - { (exit 1); exit 1; }; }
  30586. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  30587. pwd)`
  30588. # When building in place, set srcdir=.
  30589. if test "$ac_abs_confdir" = "$ac_pwd"; then
  30590. @@ -1930,10 +1883,9 @@
  30591. Optional Packages:
  30592. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  30593. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  30594. - --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  30595. --with-pic try to use only PIC/non-PIC objects [default=use
  30596. both]
  30597. - --with-tags[=TAGS] include additional configurations [automatic]
  30598. + --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  30599. --with-default-user=USER System user account for squid permissions.
  30600. default: nobody
  30601. --with-aufs-threads=N_THREADS
  30602. @@ -1974,14 +1926,12 @@
  30603. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  30604. nonstandard directory <lib dir>
  30605. LIBS libraries to pass to the linker, e.g. -l<library>
  30606. - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  30607. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  30608. you have headers in a nonstandard directory <include dir>
  30609. CXX C++ compiler command
  30610. CXXFLAGS C++ compiler flags
  30611. CPP C preprocessor
  30612. CXXCPP C++ preprocessor
  30613. - F77 Fortran 77 compiler command
  30614. - FFLAGS Fortran 77 compiler flags
  30615. Use these variables to override the choices made by `configure' or to help
  30616. it to find libraries and programs with nonstandard names/locations.
  30617. @@ -2050,806 +2000,1424 @@
  30618. if $ac_init_version; then
  30619. cat <<\_ACEOF
  30620. Squid Web Proxy configure 3.0.STABLE20
  30621. -generated by GNU Autoconf 2.62
  30622. +generated by GNU Autoconf 2.65
  30623. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  30624. -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  30625. +Copyright (C) 2009 Free Software Foundation, Inc.
  30626. This configure script is free software; the Free Software Foundation
  30627. gives unlimited permission to copy, distribute and modify it.
  30628. _ACEOF
  30629. exit
  30630. fi
  30631. -cat >config.log <<_ACEOF
  30632. -This file contains any messages produced by compilers while
  30633. -running configure, to aid debugging if configure makes a mistake.
  30634. -It was created by Squid Web Proxy $as_me 3.0.STABLE20, which was
  30635. -generated by GNU Autoconf 2.62. Invocation command line was
  30636. -
  30637. - $ $0 $@
  30638. -
  30639. -_ACEOF
  30640. -exec 5>>config.log
  30641. +## ------------------------ ##
  30642. +## Autoconf initialization. ##
  30643. +## ------------------------ ##
  30644. +
  30645. +# ac_fn_c_try_compile LINENO
  30646. +# --------------------------
  30647. +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  30648. +ac_fn_c_try_compile ()
  30649. {
  30650. -cat <<_ASUNAME
  30651. -## --------- ##
  30652. -## Platform. ##
  30653. -## --------- ##
  30654. -
  30655. -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  30656. -uname -m = `(uname -m) 2>/dev/null || echo unknown`
  30657. -uname -r = `(uname -r) 2>/dev/null || echo unknown`
  30658. -uname -s = `(uname -s) 2>/dev/null || echo unknown`
  30659. -uname -v = `(uname -v) 2>/dev/null || echo unknown`
  30660. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  30661. + rm -f conftest.$ac_objext
  30662. + if { { ac_try="$ac_compile"
  30663. +case "(($ac_try" in
  30664. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  30665. + *) ac_try_echo=$ac_try;;
  30666. +esac
  30667. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  30668. +$as_echo "$ac_try_echo"; } >&5
  30669. + (eval "$ac_compile") 2>conftest.err
  30670. + ac_status=$?
  30671. + if test -s conftest.err; then
  30672. + grep -v '^ *+' conftest.err >conftest.er1
  30673. + cat conftest.er1 >&5
  30674. + mv -f conftest.er1 conftest.err
  30675. + fi
  30676. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30677. + test $ac_status = 0; } && {
  30678. + test -z "$ac_c_werror_flag" ||
  30679. + test ! -s conftest.err
  30680. + } && test -s conftest.$ac_objext; then :
  30681. + ac_retval=0
  30682. +else
  30683. + $as_echo "$as_me: failed program was:" >&5
  30684. +sed 's/^/| /' conftest.$ac_ext >&5
  30685. -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  30686. -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  30687. + ac_retval=1
  30688. +fi
  30689. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  30690. + as_fn_set_status $ac_retval
  30691. -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  30692. -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  30693. -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  30694. -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  30695. -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  30696. -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  30697. -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  30698. +} # ac_fn_c_try_compile
  30699. -_ASUNAME
  30700. +# ac_fn_cxx_try_compile LINENO
  30701. +# ----------------------------
  30702. +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  30703. +ac_fn_cxx_try_compile ()
  30704. +{
  30705. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  30706. + rm -f conftest.$ac_objext
  30707. + if { { ac_try="$ac_compile"
  30708. +case "(($ac_try" in
  30709. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  30710. + *) ac_try_echo=$ac_try;;
  30711. +esac
  30712. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  30713. +$as_echo "$ac_try_echo"; } >&5
  30714. + (eval "$ac_compile") 2>conftest.err
  30715. + ac_status=$?
  30716. + if test -s conftest.err; then
  30717. + grep -v '^ *+' conftest.err >conftest.er1
  30718. + cat conftest.er1 >&5
  30719. + mv -f conftest.er1 conftest.err
  30720. + fi
  30721. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30722. + test $ac_status = 0; } && {
  30723. + test -z "$ac_cxx_werror_flag" ||
  30724. + test ! -s conftest.err
  30725. + } && test -s conftest.$ac_objext; then :
  30726. + ac_retval=0
  30727. +else
  30728. + $as_echo "$as_me: failed program was:" >&5
  30729. +sed 's/^/| /' conftest.$ac_ext >&5
  30730. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  30731. -for as_dir in $PATH
  30732. -do
  30733. - IFS=$as_save_IFS
  30734. - test -z "$as_dir" && as_dir=.
  30735. - $as_echo "PATH: $as_dir"
  30736. -done
  30737. -IFS=$as_save_IFS
  30738. + ac_retval=1
  30739. +fi
  30740. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  30741. + as_fn_set_status $ac_retval
  30742. -} >&5
  30743. +} # ac_fn_cxx_try_compile
  30744. -cat >&5 <<_ACEOF
  30745. +# ac_fn_c_try_link LINENO
  30746. +# -----------------------
  30747. +# Try to link conftest.$ac_ext, and return whether this succeeded.
  30748. +ac_fn_c_try_link ()
  30749. +{
  30750. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  30751. + rm -f conftest.$ac_objext conftest$ac_exeext
  30752. + if { { ac_try="$ac_link"
  30753. +case "(($ac_try" in
  30754. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  30755. + *) ac_try_echo=$ac_try;;
  30756. +esac
  30757. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  30758. +$as_echo "$ac_try_echo"; } >&5
  30759. + (eval "$ac_link") 2>conftest.err
  30760. + ac_status=$?
  30761. + if test -s conftest.err; then
  30762. + grep -v '^ *+' conftest.err >conftest.er1
  30763. + cat conftest.er1 >&5
  30764. + mv -f conftest.er1 conftest.err
  30765. + fi
  30766. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30767. + test $ac_status = 0; } && {
  30768. + test -z "$ac_c_werror_flag" ||
  30769. + test ! -s conftest.err
  30770. + } && test -s conftest$ac_exeext && {
  30771. + test "$cross_compiling" = yes ||
  30772. + $as_test_x conftest$ac_exeext
  30773. + }; then :
  30774. + ac_retval=0
  30775. +else
  30776. + $as_echo "$as_me: failed program was:" >&5
  30777. +sed 's/^/| /' conftest.$ac_ext >&5
  30778. + ac_retval=1
  30779. +fi
  30780. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  30781. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  30782. + # interfere with the next link command; also delete a directory that is
  30783. + # left behind by Apple's compiler. We do this before executing the actions.
  30784. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  30785. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  30786. + as_fn_set_status $ac_retval
  30787. -## ----------- ##
  30788. -## Core tests. ##
  30789. -## ----------- ##
  30790. +} # ac_fn_c_try_link
  30791. +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  30792. +# -------------------------------------------------------
  30793. +# Tests whether HEADER exists and can be compiled using the include files in
  30794. +# INCLUDES, setting the cache variable VAR accordingly.
  30795. +ac_fn_c_check_header_compile ()
  30796. +{
  30797. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  30798. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  30799. +$as_echo_n "checking for $2... " >&6; }
  30800. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  30801. + $as_echo_n "(cached) " >&6
  30802. +else
  30803. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  30804. +/* end confdefs.h. */
  30805. +$4
  30806. +#include <$2>
  30807. _ACEOF
  30808. +if ac_fn_c_try_compile "$LINENO"; then :
  30809. + eval "$3=yes"
  30810. +else
  30811. + eval "$3=no"
  30812. +fi
  30813. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  30814. +fi
  30815. +eval ac_res=\$$3
  30816. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  30817. +$as_echo "$ac_res" >&6; }
  30818. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  30819. +} # ac_fn_c_check_header_compile
  30820. -# Keep a trace of the command line.
  30821. -# Strip out --no-create and --no-recursion so they do not pile up.
  30822. -# Strip out --silent because we don't want to record it for future runs.
  30823. -# Also quote any args containing shell meta-characters.
  30824. -# Make two passes to allow for proper duplicate-argument suppression.
  30825. -ac_configure_args=
  30826. -ac_configure_args0=
  30827. -ac_configure_args1=
  30828. -ac_must_keep_next=false
  30829. -for ac_pass in 1 2
  30830. -do
  30831. - for ac_arg
  30832. - do
  30833. - case $ac_arg in
  30834. - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  30835. - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  30836. - | -silent | --silent | --silen | --sile | --sil)
  30837. - continue ;;
  30838. - *\'*)
  30839. - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  30840. - esac
  30841. - case $ac_pass in
  30842. - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  30843. - 2)
  30844. - ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  30845. - if test $ac_must_keep_next = true; then
  30846. - ac_must_keep_next=false # Got value, back to normal.
  30847. - else
  30848. - case $ac_arg in
  30849. - *=* | --config-cache | -C | -disable-* | --disable-* \
  30850. - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  30851. - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  30852. - | -with-* | --with-* | -without-* | --without-* | --x)
  30853. - case "$ac_configure_args0 " in
  30854. - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  30855. - esac
  30856. - ;;
  30857. - -* ) ac_must_keep_next=true ;;
  30858. - esac
  30859. - fi
  30860. - ac_configure_args="$ac_configure_args '$ac_arg'"
  30861. - ;;
  30862. - esac
  30863. - done
  30864. -done
  30865. -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  30866. -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  30867. -
  30868. -# When interrupted or exit'd, cleanup temporary files, and complete
  30869. -# config.log. We remove comments because anyway the quotes in there
  30870. -# would cause problems or look ugly.
  30871. -# WARNING: Use '\'' to represent an apostrophe within the trap.
  30872. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  30873. -trap 'exit_status=$?
  30874. - # Save into config.log some information that might help in debugging.
  30875. - {
  30876. - echo
  30877. -
  30878. - cat <<\_ASBOX
  30879. -## ---------------- ##
  30880. -## Cache variables. ##
  30881. -## ---------------- ##
  30882. -_ASBOX
  30883. - echo
  30884. - # The following way of writing the cache mishandles newlines in values,
  30885. -(
  30886. - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  30887. - eval ac_val=\$$ac_var
  30888. - case $ac_val in #(
  30889. - *${as_nl}*)
  30890. - case $ac_var in #(
  30891. - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  30892. -$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  30893. - esac
  30894. - case $ac_var in #(
  30895. - _ | IFS | as_nl) ;; #(
  30896. - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  30897. - *) $as_unset $ac_var ;;
  30898. - esac ;;
  30899. - esac
  30900. - done
  30901. - (set) 2>&1 |
  30902. - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  30903. - *${as_nl}ac_space=\ *)
  30904. - sed -n \
  30905. - "s/'\''/'\''\\\\'\'''\''/g;
  30906. - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  30907. - ;; #(
  30908. - *)
  30909. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  30910. - ;;
  30911. - esac |
  30912. - sort
  30913. -)
  30914. - echo
  30915. +# ac_fn_c_try_cpp LINENO
  30916. +# ----------------------
  30917. +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  30918. +ac_fn_c_try_cpp ()
  30919. +{
  30920. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  30921. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  30922. +case "(($ac_try" in
  30923. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  30924. + *) ac_try_echo=$ac_try;;
  30925. +esac
  30926. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  30927. +$as_echo "$ac_try_echo"; } >&5
  30928. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  30929. + ac_status=$?
  30930. + if test -s conftest.err; then
  30931. + grep -v '^ *+' conftest.err >conftest.er1
  30932. + cat conftest.er1 >&5
  30933. + mv -f conftest.er1 conftest.err
  30934. + fi
  30935. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30936. + test $ac_status = 0; } >/dev/null && {
  30937. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  30938. + test ! -s conftest.err
  30939. + }; then :
  30940. + ac_retval=0
  30941. +else
  30942. + $as_echo "$as_me: failed program was:" >&5
  30943. +sed 's/^/| /' conftest.$ac_ext >&5
  30944. - cat <<\_ASBOX
  30945. -## ----------------- ##
  30946. -## Output variables. ##
  30947. -## ----------------- ##
  30948. -_ASBOX
  30949. - echo
  30950. - for ac_var in $ac_subst_vars
  30951. - do
  30952. - eval ac_val=\$$ac_var
  30953. - case $ac_val in
  30954. - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  30955. - esac
  30956. - $as_echo "$ac_var='\''$ac_val'\''"
  30957. - done | sort
  30958. - echo
  30959. + ac_retval=1
  30960. +fi
  30961. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  30962. + as_fn_set_status $ac_retval
  30963. - if test -n "$ac_subst_files"; then
  30964. - cat <<\_ASBOX
  30965. -## ------------------- ##
  30966. -## File substitutions. ##
  30967. -## ------------------- ##
  30968. -_ASBOX
  30969. - echo
  30970. - for ac_var in $ac_subst_files
  30971. - do
  30972. - eval ac_val=\$$ac_var
  30973. - case $ac_val in
  30974. - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  30975. - esac
  30976. - $as_echo "$ac_var='\''$ac_val'\''"
  30977. - done | sort
  30978. - echo
  30979. - fi
  30980. +} # ac_fn_c_try_cpp
  30981. - if test -s confdefs.h; then
  30982. - cat <<\_ASBOX
  30983. -## ----------- ##
  30984. -## confdefs.h. ##
  30985. -## ----------- ##
  30986. -_ASBOX
  30987. - echo
  30988. - cat confdefs.h
  30989. - echo
  30990. - fi
  30991. - test "$ac_signal" != 0 &&
  30992. - $as_echo "$as_me: caught signal $ac_signal"
  30993. - $as_echo "$as_me: exit $exit_status"
  30994. - } >&5
  30995. - rm -f core *.core core.conftest.* &&
  30996. - rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  30997. - exit $exit_status
  30998. -' 0
  30999. -for ac_signal in 1 2 13 15; do
  31000. - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  31001. -done
  31002. -ac_signal=0
  31003. +# ac_fn_c_try_run LINENO
  31004. +# ----------------------
  31005. +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  31006. +# that executables *can* be run.
  31007. +ac_fn_c_try_run ()
  31008. +{
  31009. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  31010. + if { { ac_try="$ac_link"
  31011. +case "(($ac_try" in
  31012. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  31013. + *) ac_try_echo=$ac_try;;
  31014. +esac
  31015. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  31016. +$as_echo "$ac_try_echo"; } >&5
  31017. + (eval "$ac_link") 2>&5
  31018. + ac_status=$?
  31019. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  31020. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  31021. + { { case "(($ac_try" in
  31022. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  31023. + *) ac_try_echo=$ac_try;;
  31024. +esac
  31025. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  31026. +$as_echo "$ac_try_echo"; } >&5
  31027. + (eval "$ac_try") 2>&5
  31028. + ac_status=$?
  31029. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  31030. + test $ac_status = 0; }; }; then :
  31031. + ac_retval=0
  31032. +else
  31033. + $as_echo "$as_me: program exited with status $ac_status" >&5
  31034. + $as_echo "$as_me: failed program was:" >&5
  31035. +sed 's/^/| /' conftest.$ac_ext >&5
  31036. -# confdefs.h avoids OS command line length limits that DEFS can exceed.
  31037. -rm -f -r conftest* confdefs.h
  31038. + ac_retval=$ac_status
  31039. +fi
  31040. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  31041. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  31042. + as_fn_set_status $ac_retval
  31043. -# Predefined preprocessor variables.
  31044. -
  31045. -cat >>confdefs.h <<_ACEOF
  31046. -#define PACKAGE_NAME "$PACKAGE_NAME"
  31047. -_ACEOF
  31048. -
  31049. -
  31050. -cat >>confdefs.h <<_ACEOF
  31051. -#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  31052. -_ACEOF
  31053. +} # ac_fn_c_try_run
  31054. +# ac_fn_c_check_func LINENO FUNC VAR
  31055. +# ----------------------------------
  31056. +# Tests whether FUNC exists, setting the cache variable VAR accordingly
  31057. +ac_fn_c_check_func ()
  31058. +{
  31059. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  31060. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  31061. +$as_echo_n "checking for $2... " >&6; }
  31062. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  31063. + $as_echo_n "(cached) " >&6
  31064. +else
  31065. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31066. +/* end confdefs.h. */
  31067. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  31068. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  31069. +#define $2 innocuous_$2
  31070. -cat >>confdefs.h <<_ACEOF
  31071. -#define PACKAGE_VERSION "$PACKAGE_VERSION"
  31072. -_ACEOF
  31073. +/* System header to define __stub macros and hopefully few prototypes,
  31074. + which can conflict with char $2 (); below.
  31075. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  31076. + <limits.h> exists even on freestanding compilers. */
  31077. +#ifdef __STDC__
  31078. +# include <limits.h>
  31079. +#else
  31080. +# include <assert.h>
  31081. +#endif
  31082. -cat >>confdefs.h <<_ACEOF
  31083. -#define PACKAGE_STRING "$PACKAGE_STRING"
  31084. -_ACEOF
  31085. +#undef $2
  31086. +/* Override any GCC internal prototype to avoid an error.
  31087. + Use char because int might match the return type of a GCC
  31088. + builtin and then its argument prototype would still apply. */
  31089. +#ifdef __cplusplus
  31090. +extern "C"
  31091. +#endif
  31092. +char $2 ();
  31093. +/* The GNU C library defines this for functions which it implements
  31094. + to always fail with ENOSYS. Some functions are actually named
  31095. + something starting with __ and the normal name is an alias. */
  31096. +#if defined __stub_$2 || defined __stub___$2
  31097. +choke me
  31098. +#endif
  31099. -cat >>confdefs.h <<_ACEOF
  31100. -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  31101. +int
  31102. +main ()
  31103. +{
  31104. +return $2 ();
  31105. + ;
  31106. + return 0;
  31107. +}
  31108. _ACEOF
  31109. -
  31110. -
  31111. -# Let the site file select an alternate cache file if it wants to.
  31112. -# Prefer an explicitly selected file to automatically selected ones.
  31113. -ac_site_file1=NONE
  31114. -ac_site_file2=NONE
  31115. -if test -n "$CONFIG_SITE"; then
  31116. - ac_site_file1=$CONFIG_SITE
  31117. -elif test "x$prefix" != xNONE; then
  31118. - ac_site_file1=$prefix/share/config.site
  31119. - ac_site_file2=$prefix/etc/config.site
  31120. +if ac_fn_c_try_link "$LINENO"; then :
  31121. + eval "$3=yes"
  31122. else
  31123. - ac_site_file1=$ac_default_prefix/share/config.site
  31124. - ac_site_file2=$ac_default_prefix/etc/config.site
  31125. + eval "$3=no"
  31126. fi
  31127. -for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  31128. -do
  31129. - test "x$ac_site_file" = xNONE && continue
  31130. - if test -r "$ac_site_file"; then
  31131. - { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  31132. -$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  31133. - sed 's/^/| /' "$ac_site_file" >&5
  31134. - . "$ac_site_file"
  31135. - fi
  31136. -done
  31137. +rm -f core conftest.err conftest.$ac_objext \
  31138. + conftest$ac_exeext conftest.$ac_ext
  31139. +fi
  31140. +eval ac_res=\$$3
  31141. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  31142. +$as_echo "$ac_res" >&6; }
  31143. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  31144. -if test -r "$cache_file"; then
  31145. - # Some versions of bash will fail to source /dev/null (special
  31146. - # files actually), so we avoid doing that.
  31147. - if test -f "$cache_file"; then
  31148. - { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
  31149. -$as_echo "$as_me: loading cache $cache_file" >&6;}
  31150. - case $cache_file in
  31151. - [\\/]* | ?:[\\/]* ) . "$cache_file";;
  31152. - *) . "./$cache_file";;
  31153. - esac
  31154. +} # ac_fn_c_check_func
  31155. +
  31156. +# ac_fn_cxx_try_cpp LINENO
  31157. +# ------------------------
  31158. +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  31159. +ac_fn_cxx_try_cpp ()
  31160. +{
  31161. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  31162. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  31163. +case "(($ac_try" in
  31164. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  31165. + *) ac_try_echo=$ac_try;;
  31166. +esac
  31167. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  31168. +$as_echo "$ac_try_echo"; } >&5
  31169. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  31170. + ac_status=$?
  31171. + if test -s conftest.err; then
  31172. + grep -v '^ *+' conftest.err >conftest.er1
  31173. + cat conftest.er1 >&5
  31174. + mv -f conftest.er1 conftest.err
  31175. fi
  31176. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  31177. + test $ac_status = 0; } >/dev/null && {
  31178. + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  31179. + test ! -s conftest.err
  31180. + }; then :
  31181. + ac_retval=0
  31182. else
  31183. - { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
  31184. -$as_echo "$as_me: creating cache $cache_file" >&6;}
  31185. - >$cache_file
  31186. -fi
  31187. + $as_echo "$as_me: failed program was:" >&5
  31188. +sed 's/^/| /' conftest.$ac_ext >&5
  31189. -# Check that the precious variables saved in the cache have kept the same
  31190. -# value.
  31191. -ac_cache_corrupted=false
  31192. -for ac_var in $ac_precious_vars; do
  31193. - eval ac_old_set=\$ac_cv_env_${ac_var}_set
  31194. - eval ac_new_set=\$ac_env_${ac_var}_set
  31195. - eval ac_old_val=\$ac_cv_env_${ac_var}_value
  31196. - eval ac_new_val=\$ac_env_${ac_var}_value
  31197. - case $ac_old_set,$ac_new_set in
  31198. - set,)
  31199. - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  31200. -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  31201. - ac_cache_corrupted=: ;;
  31202. - ,set)
  31203. - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  31204. -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  31205. - ac_cache_corrupted=: ;;
  31206. - ,);;
  31207. - *)
  31208. - if test "x$ac_old_val" != "x$ac_new_val"; then
  31209. - # differences in whitespace do not lead to failure.
  31210. - ac_old_val_w=`echo x $ac_old_val`
  31211. - ac_new_val_w=`echo x $ac_new_val`
  31212. - if test "$ac_old_val_w" != "$ac_new_val_w"; then
  31213. - { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  31214. -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  31215. - ac_cache_corrupted=:
  31216. - else
  31217. - { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  31218. -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  31219. - eval $ac_var=\$ac_old_val
  31220. - fi
  31221. - { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
  31222. -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  31223. - { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
  31224. -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  31225. - fi;;
  31226. - esac
  31227. - # Pass precious variables to config.status.
  31228. - if test "$ac_new_set" = set; then
  31229. - case $ac_new_val in
  31230. - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  31231. - *) ac_arg=$ac_var=$ac_new_val ;;
  31232. - esac
  31233. - case " $ac_configure_args " in
  31234. - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  31235. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  31236. - esac
  31237. - fi
  31238. -done
  31239. -if $ac_cache_corrupted; then
  31240. - { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  31241. -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  31242. - { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  31243. -$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  31244. - { (exit 1); exit 1; }; }
  31245. + ac_retval=1
  31246. fi
  31247. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  31248. + as_fn_set_status $ac_retval
  31249. +} # ac_fn_cxx_try_cpp
  31250. +# ac_fn_cxx_try_link LINENO
  31251. +# -------------------------
  31252. +# Try to link conftest.$ac_ext, and return whether this succeeded.
  31253. +ac_fn_cxx_try_link ()
  31254. +{
  31255. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  31256. + rm -f conftest.$ac_objext conftest$ac_exeext
  31257. + if { { ac_try="$ac_link"
  31258. +case "(($ac_try" in
  31259. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  31260. + *) ac_try_echo=$ac_try;;
  31261. +esac
  31262. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  31263. +$as_echo "$ac_try_echo"; } >&5
  31264. + (eval "$ac_link") 2>conftest.err
  31265. + ac_status=$?
  31266. + if test -s conftest.err; then
  31267. + grep -v '^ *+' conftest.err >conftest.er1
  31268. + cat conftest.er1 >&5
  31269. + mv -f conftest.er1 conftest.err
  31270. + fi
  31271. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  31272. + test $ac_status = 0; } && {
  31273. + test -z "$ac_cxx_werror_flag" ||
  31274. + test ! -s conftest.err
  31275. + } && test -s conftest$ac_exeext && {
  31276. + test "$cross_compiling" = yes ||
  31277. + $as_test_x conftest$ac_exeext
  31278. + }; then :
  31279. + ac_retval=0
  31280. +else
  31281. + $as_echo "$as_me: failed program was:" >&5
  31282. +sed 's/^/| /' conftest.$ac_ext >&5
  31283. + ac_retval=1
  31284. +fi
  31285. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  31286. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  31287. + # interfere with the next link command; also delete a directory that is
  31288. + # left behind by Apple's compiler. We do this before executing the actions.
  31289. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  31290. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  31291. + as_fn_set_status $ac_retval
  31292. +} # ac_fn_cxx_try_link
  31293. +# ac_fn_c_check_decl LINENO SYMBOL VAR
  31294. +# ------------------------------------
  31295. +# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
  31296. +ac_fn_c_check_decl ()
  31297. +{
  31298. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  31299. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
  31300. +$as_echo_n "checking whether $2 is declared... " >&6; }
  31301. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  31302. + $as_echo_n "(cached) " >&6
  31303. +else
  31304. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31305. +/* end confdefs.h. */
  31306. +$4
  31307. +int
  31308. +main ()
  31309. +{
  31310. +#ifndef $2
  31311. + (void) $2;
  31312. +#endif
  31313. + ;
  31314. + return 0;
  31315. +}
  31316. +_ACEOF
  31317. +if ac_fn_c_try_compile "$LINENO"; then :
  31318. + eval "$3=yes"
  31319. +else
  31320. + eval "$3=no"
  31321. +fi
  31322. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31323. +fi
  31324. +eval ac_res=\$$3
  31325. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  31326. +$as_echo "$ac_res" >&6; }
  31327. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  31328. +} # ac_fn_c_check_decl
  31329. +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  31330. +# -------------------------------------------------------
  31331. +# Tests whether HEADER exists, giving a warning if it cannot be compiled using
  31332. +# the include files in INCLUDES and setting the cache variable VAR
  31333. +# accordingly.
  31334. +ac_fn_c_check_header_mongrel ()
  31335. +{
  31336. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  31337. + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  31338. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  31339. +$as_echo_n "checking for $2... " >&6; }
  31340. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  31341. + $as_echo_n "(cached) " >&6
  31342. +fi
  31343. +eval ac_res=\$$3
  31344. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  31345. +$as_echo "$ac_res" >&6; }
  31346. +else
  31347. + # Is the header compilable?
  31348. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  31349. +$as_echo_n "checking $2 usability... " >&6; }
  31350. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31351. +/* end confdefs.h. */
  31352. +$4
  31353. +#include <$2>
  31354. +_ACEOF
  31355. +if ac_fn_c_try_compile "$LINENO"; then :
  31356. + ac_header_compiler=yes
  31357. +else
  31358. + ac_header_compiler=no
  31359. +fi
  31360. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31361. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  31362. +$as_echo "$ac_header_compiler" >&6; }
  31363. +# Is the header present?
  31364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  31365. +$as_echo_n "checking $2 presence... " >&6; }
  31366. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31367. +/* end confdefs.h. */
  31368. +#include <$2>
  31369. +_ACEOF
  31370. +if ac_fn_c_try_cpp "$LINENO"; then :
  31371. + ac_header_preproc=yes
  31372. +else
  31373. + ac_header_preproc=no
  31374. +fi
  31375. +rm -f conftest.err conftest.$ac_ext
  31376. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  31377. +$as_echo "$ac_header_preproc" >&6; }
  31378. +# So? What about this header?
  31379. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  31380. + yes:no: )
  31381. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  31382. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  31383. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  31384. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  31385. + ;;
  31386. + no:yes:* )
  31387. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  31388. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  31389. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  31390. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  31391. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  31392. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  31393. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  31394. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  31395. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  31396. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  31397. +( cat <<\_ASBOX
  31398. +## ----------------------------------------------- ##
  31399. +## Report this to http://www.squid-cache.org/bugs/ ##
  31400. +## ----------------------------------------------- ##
  31401. +_ASBOX
  31402. + ) | sed "s/^/$as_me: WARNING: /" >&2
  31403. + ;;
  31404. +esac
  31405. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  31406. +$as_echo_n "checking for $2... " >&6; }
  31407. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  31408. + $as_echo_n "(cached) " >&6
  31409. +else
  31410. + eval "$3=\$ac_header_compiler"
  31411. +fi
  31412. +eval ac_res=\$$3
  31413. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  31414. +$as_echo "$ac_res" >&6; }
  31415. +fi
  31416. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  31417. +} # ac_fn_c_check_header_mongrel
  31418. +# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  31419. +# ----------------------------------------------------
  31420. +# Tries to find if the field MEMBER exists in type AGGR, after including
  31421. +# INCLUDES, setting cache variable VAR accordingly.
  31422. +ac_fn_c_check_member ()
  31423. +{
  31424. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  31425. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  31426. +$as_echo_n "checking for $2.$3... " >&6; }
  31427. +if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
  31428. + $as_echo_n "(cached) " >&6
  31429. +else
  31430. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31431. +/* end confdefs.h. */
  31432. +$5
  31433. +int
  31434. +main ()
  31435. +{
  31436. +static $2 ac_aggr;
  31437. +if (ac_aggr.$3)
  31438. +return 0;
  31439. + ;
  31440. + return 0;
  31441. +}
  31442. +_ACEOF
  31443. +if ac_fn_c_try_compile "$LINENO"; then :
  31444. + eval "$4=yes"
  31445. +else
  31446. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31447. +/* end confdefs.h. */
  31448. +$5
  31449. +int
  31450. +main ()
  31451. +{
  31452. +static $2 ac_aggr;
  31453. +if (sizeof ac_aggr.$3)
  31454. +return 0;
  31455. + ;
  31456. + return 0;
  31457. +}
  31458. +_ACEOF
  31459. +if ac_fn_c_try_compile "$LINENO"; then :
  31460. + eval "$4=yes"
  31461. +else
  31462. + eval "$4=no"
  31463. +fi
  31464. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31465. +fi
  31466. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31467. +fi
  31468. +eval ac_res=\$$4
  31469. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  31470. +$as_echo "$ac_res" >&6; }
  31471. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  31472. +} # ac_fn_c_check_member
  31473. +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  31474. +# -------------------------------------------
  31475. +# Tests whether TYPE exists after having included INCLUDES, setting cache
  31476. +# variable VAR accordingly.
  31477. +ac_fn_c_check_type ()
  31478. +{
  31479. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  31480. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  31481. +$as_echo_n "checking for $2... " >&6; }
  31482. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  31483. + $as_echo_n "(cached) " >&6
  31484. +else
  31485. + eval "$3=no"
  31486. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31487. +/* end confdefs.h. */
  31488. +$4
  31489. +int
  31490. +main ()
  31491. +{
  31492. +if (sizeof ($2))
  31493. + return 0;
  31494. + ;
  31495. + return 0;
  31496. +}
  31497. +_ACEOF
  31498. +if ac_fn_c_try_compile "$LINENO"; then :
  31499. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31500. +/* end confdefs.h. */
  31501. +$4
  31502. +int
  31503. +main ()
  31504. +{
  31505. +if (sizeof (($2)))
  31506. + return 0;
  31507. + ;
  31508. + return 0;
  31509. +}
  31510. +_ACEOF
  31511. +if ac_fn_c_try_compile "$LINENO"; then :
  31512. +else
  31513. + eval "$3=yes"
  31514. +fi
  31515. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31516. +fi
  31517. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31518. +fi
  31519. +eval ac_res=\$$3
  31520. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  31521. +$as_echo "$ac_res" >&6; }
  31522. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  31523. +} # ac_fn_c_check_type
  31524. +# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  31525. +# --------------------------------------------
  31526. +# Tries to find the compile-time value of EXPR in a program that includes
  31527. +# INCLUDES, setting VAR accordingly. Returns whether the value could be
  31528. +# computed
  31529. +ac_fn_c_compute_int ()
  31530. +{
  31531. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  31532. + if test "$cross_compiling" = yes; then
  31533. + # Depending upon the size, compute the lo and hi bounds.
  31534. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31535. +/* end confdefs.h. */
  31536. +$4
  31537. +int
  31538. +main ()
  31539. +{
  31540. +static int test_array [1 - 2 * !(($2) >= 0)];
  31541. +test_array [0] = 0
  31542. + ;
  31543. + return 0;
  31544. +}
  31545. +_ACEOF
  31546. +if ac_fn_c_try_compile "$LINENO"; then :
  31547. + ac_lo=0 ac_mid=0
  31548. + while :; do
  31549. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31550. +/* end confdefs.h. */
  31551. +$4
  31552. +int
  31553. +main ()
  31554. +{
  31555. +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  31556. +test_array [0] = 0
  31557. + ;
  31558. + return 0;
  31559. +}
  31560. +_ACEOF
  31561. +if ac_fn_c_try_compile "$LINENO"; then :
  31562. + ac_hi=$ac_mid; break
  31563. +else
  31564. + as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  31565. + if test $ac_lo -le $ac_mid; then
  31566. + ac_lo= ac_hi=
  31567. + break
  31568. + fi
  31569. + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  31570. +fi
  31571. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31572. + done
  31573. +else
  31574. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31575. +/* end confdefs.h. */
  31576. +$4
  31577. +int
  31578. +main ()
  31579. +{
  31580. +static int test_array [1 - 2 * !(($2) < 0)];
  31581. +test_array [0] = 0
  31582. + ;
  31583. + return 0;
  31584. +}
  31585. +_ACEOF
  31586. +if ac_fn_c_try_compile "$LINENO"; then :
  31587. + ac_hi=-1 ac_mid=-1
  31588. + while :; do
  31589. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31590. +/* end confdefs.h. */
  31591. +$4
  31592. +int
  31593. +main ()
  31594. +{
  31595. +static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  31596. +test_array [0] = 0
  31597. + ;
  31598. + return 0;
  31599. +}
  31600. +_ACEOF
  31601. +if ac_fn_c_try_compile "$LINENO"; then :
  31602. + ac_lo=$ac_mid; break
  31603. +else
  31604. + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  31605. + if test $ac_mid -le $ac_hi; then
  31606. + ac_lo= ac_hi=
  31607. + break
  31608. + fi
  31609. + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  31610. +fi
  31611. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31612. + done
  31613. +else
  31614. + ac_lo= ac_hi=
  31615. +fi
  31616. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31617. +fi
  31618. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31619. +# Binary search between lo and hi bounds.
  31620. +while test "x$ac_lo" != "x$ac_hi"; do
  31621. + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  31622. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31623. +/* end confdefs.h. */
  31624. +$4
  31625. +int
  31626. +main ()
  31627. +{
  31628. +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  31629. +test_array [0] = 0
  31630. + ;
  31631. + return 0;
  31632. +}
  31633. +_ACEOF
  31634. +if ac_fn_c_try_compile "$LINENO"; then :
  31635. + ac_hi=$ac_mid
  31636. +else
  31637. + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  31638. +fi
  31639. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31640. +done
  31641. +case $ac_lo in #((
  31642. +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  31643. +'') ac_retval=1 ;;
  31644. +esac
  31645. + else
  31646. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31647. +/* end confdefs.h. */
  31648. +$4
  31649. +static long int longval () { return $2; }
  31650. +static unsigned long int ulongval () { return $2; }
  31651. +#include <stdio.h>
  31652. +#include <stdlib.h>
  31653. +int
  31654. +main ()
  31655. +{
  31656. + FILE *f = fopen ("conftest.val", "w");
  31657. + if (! f)
  31658. + return 1;
  31659. + if (($2) < 0)
  31660. + {
  31661. + long int i = longval ();
  31662. + if (i != ($2))
  31663. + return 1;
  31664. + fprintf (f, "%ld", i);
  31665. + }
  31666. + else
  31667. + {
  31668. + unsigned long int i = ulongval ();
  31669. + if (i != ($2))
  31670. + return 1;
  31671. + fprintf (f, "%lu", i);
  31672. + }
  31673. + /* Do not output a trailing newline, as this causes \r\n confusion
  31674. + on some platforms. */
  31675. + return ferror (f) || fclose (f) != 0;
  31676. + ;
  31677. + return 0;
  31678. +}
  31679. +_ACEOF
  31680. +if ac_fn_c_try_run "$LINENO"; then :
  31681. + echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  31682. +else
  31683. + ac_retval=1
  31684. +fi
  31685. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  31686. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  31687. +rm -f conftest.val
  31688. -ac_ext=c
  31689. -ac_cpp='$CPP $CPPFLAGS'
  31690. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  31691. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  31692. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  31693. -
  31694. -
  31695. -
  31696. -ac_config_headers="$ac_config_headers include/autoconf.h"
  31697. -
  31698. -ac_aux_dir=
  31699. -for ac_dir in cfgaux "$srcdir"/cfgaux; do
  31700. - if test -f "$ac_dir/install-sh"; then
  31701. - ac_aux_dir=$ac_dir
  31702. - ac_install_sh="$ac_aux_dir/install-sh -c"
  31703. - break
  31704. - elif test -f "$ac_dir/install.sh"; then
  31705. - ac_aux_dir=$ac_dir
  31706. - ac_install_sh="$ac_aux_dir/install.sh -c"
  31707. - break
  31708. - elif test -f "$ac_dir/shtool"; then
  31709. - ac_aux_dir=$ac_dir
  31710. - ac_install_sh="$ac_aux_dir/shtool install -c"
  31711. - break
  31712. fi
  31713. -done
  31714. -if test -z "$ac_aux_dir"; then
  31715. - { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cfgaux \"$srcdir\"/cfgaux" >&5
  31716. -$as_echo "$as_me: error: cannot find install-sh or install.sh in cfgaux \"$srcdir\"/cfgaux" >&2;}
  31717. - { (exit 1); exit 1; }; }
  31718. -fi
  31719. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  31720. + as_fn_set_status $ac_retval
  31721. -# These three variables are undocumented and unsupported,
  31722. -# and are intended to be withdrawn in a future Autoconf release.
  31723. -# They can cause serious problems if a builder's source tree is in a directory
  31724. -# whose full name contains unusual characters.
  31725. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  31726. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  31727. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  31728. +} # ac_fn_c_compute_int
  31729. +cat >config.log <<_ACEOF
  31730. +This file contains any messages produced by compilers while
  31731. +running configure, to aid debugging if configure makes a mistake.
  31732. +It was created by Squid Web Proxy $as_me 3.0.STABLE20, which was
  31733. +generated by GNU Autoconf 2.65. Invocation command line was
  31734. + $ $0 $@
  31735. -am__api_version='1.10'
  31736. +_ACEOF
  31737. +exec 5>>config.log
  31738. +{
  31739. +cat <<_ASUNAME
  31740. +## --------- ##
  31741. +## Platform. ##
  31742. +## --------- ##
  31743. -# Find a good install program. We prefer a C program (faster),
  31744. -# so one script is as good as another. But avoid the broken or
  31745. -# incompatible versions:
  31746. -# SysV /etc/install, /usr/sbin/install
  31747. -# SunOS /usr/etc/install
  31748. -# IRIX /sbin/install
  31749. -# AIX /bin/install
  31750. -# AmigaOS /C/install, which installs bootblocks on floppy discs
  31751. -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  31752. -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  31753. -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  31754. -# OS/2's system install, which has a completely different semantic
  31755. -# ./install, which can be erroneously created by make from ./install.sh.
  31756. -# Reject install programs that cannot install multiple files.
  31757. -{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  31758. -$as_echo_n "checking for a BSD-compatible install... " >&6; }
  31759. -if test -z "$INSTALL"; then
  31760. -if test "${ac_cv_path_install+set}" = set; then
  31761. - $as_echo_n "(cached) " >&6
  31762. -else
  31763. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31764. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  31765. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  31766. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  31767. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  31768. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  31769. +
  31770. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  31771. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  31772. +
  31773. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  31774. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  31775. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  31776. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  31777. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  31778. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  31779. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  31780. +
  31781. +_ASUNAME
  31782. +
  31783. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31784. for as_dir in $PATH
  31785. do
  31786. IFS=$as_save_IFS
  31787. test -z "$as_dir" && as_dir=.
  31788. - # Account for people who put trailing slashes in PATH elements.
  31789. -case $as_dir/ in
  31790. - ./ | .// | /cC/* | \
  31791. - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  31792. - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  31793. - /usr/ucb/* ) ;;
  31794. - *)
  31795. - # OSF1 and SCO ODT 3.0 have their own names for install.
  31796. - # Don't use installbsd from OSF since it installs stuff as root
  31797. - # by default.
  31798. - for ac_prog in ginstall scoinst install; do
  31799. - for ac_exec_ext in '' $ac_executable_extensions; do
  31800. - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  31801. - if test $ac_prog = install &&
  31802. - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  31803. - # AIX install. It has an incompatible calling convention.
  31804. - :
  31805. - elif test $ac_prog = install &&
  31806. - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  31807. - # program-specific install script used by HP pwplus--don't use.
  31808. - :
  31809. - else
  31810. - rm -rf conftest.one conftest.two conftest.dir
  31811. - echo one > conftest.one
  31812. - echo two > conftest.two
  31813. - mkdir conftest.dir
  31814. - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  31815. - test -s conftest.one && test -s conftest.two &&
  31816. - test -s conftest.dir/conftest.one &&
  31817. - test -s conftest.dir/conftest.two
  31818. - then
  31819. - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  31820. - break 3
  31821. - fi
  31822. - fi
  31823. - fi
  31824. - done
  31825. - done
  31826. - ;;
  31827. -esac
  31828. -
  31829. -done
  31830. + $as_echo "PATH: $as_dir"
  31831. + done
  31832. IFS=$as_save_IFS
  31833. -rm -rf conftest.one conftest.two conftest.dir
  31834. +} >&5
  31835. -fi
  31836. - if test "${ac_cv_path_install+set}" = set; then
  31837. - INSTALL=$ac_cv_path_install
  31838. - else
  31839. - # As a last resort, use the slow shell script. Don't cache a
  31840. - # value for INSTALL within a source directory, because that will
  31841. - # break other packages using the cache if that directory is
  31842. - # removed, or if the value is a relative name.
  31843. - INSTALL=$ac_install_sh
  31844. - fi
  31845. -fi
  31846. -{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  31847. -$as_echo "$INSTALL" >&6; }
  31848. +cat >&5 <<_ACEOF
  31849. -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  31850. -# It thinks the first close brace ends the variable substitution.
  31851. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  31852. -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  31853. +## ----------- ##
  31854. +## Core tests. ##
  31855. +## ----------- ##
  31856. -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  31857. +_ACEOF
  31858. -{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  31859. -$as_echo_n "checking whether build environment is sane... " >&6; }
  31860. -# Just in case
  31861. -sleep 1
  31862. -echo timestamp > conftest.file
  31863. -# Do `set' in a subshell so we don't clobber the current shell's
  31864. -# arguments. Must try -L first in case configure is actually a
  31865. -# symlink; some systems play weird games with the mod time of symlinks
  31866. -# (eg FreeBSD returns the mod time of the symlink's containing
  31867. -# directory).
  31868. -if (
  31869. - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  31870. - if test "$*" = "X"; then
  31871. - # -L didn't work.
  31872. - set X `ls -t $srcdir/configure conftest.file`
  31873. - fi
  31874. - rm -f conftest.file
  31875. - if test "$*" != "X $srcdir/configure conftest.file" \
  31876. - && test "$*" != "X conftest.file $srcdir/configure"; then
  31877. - # If neither matched, then we have a broken ls. This can happen
  31878. - # if, for instance, CONFIG_SHELL is bash and it inherits a
  31879. - # broken ls alias from the environment. This has actually
  31880. - # happened. Such a system could not be considered "sane".
  31881. - { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
  31882. -alias in your environment" >&5
  31883. -$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
  31884. -alias in your environment" >&2;}
  31885. - { (exit 1); exit 1; }; }
  31886. - fi
  31887. +# Keep a trace of the command line.
  31888. +# Strip out --no-create and --no-recursion so they do not pile up.
  31889. +# Strip out --silent because we don't want to record it for future runs.
  31890. +# Also quote any args containing shell meta-characters.
  31891. +# Make two passes to allow for proper duplicate-argument suppression.
  31892. +ac_configure_args=
  31893. +ac_configure_args0=
  31894. +ac_configure_args1=
  31895. +ac_must_keep_next=false
  31896. +for ac_pass in 1 2
  31897. +do
  31898. + for ac_arg
  31899. + do
  31900. + case $ac_arg in
  31901. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  31902. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  31903. + | -silent | --silent | --silen | --sile | --sil)
  31904. + continue ;;
  31905. + *\'*)
  31906. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  31907. + esac
  31908. + case $ac_pass in
  31909. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  31910. + 2)
  31911. + as_fn_append ac_configure_args1 " '$ac_arg'"
  31912. + if test $ac_must_keep_next = true; then
  31913. + ac_must_keep_next=false # Got value, back to normal.
  31914. + else
  31915. + case $ac_arg in
  31916. + *=* | --config-cache | -C | -disable-* | --disable-* \
  31917. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  31918. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  31919. + | -with-* | --with-* | -without-* | --without-* | --x)
  31920. + case "$ac_configure_args0 " in
  31921. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  31922. + esac
  31923. + ;;
  31924. + -* ) ac_must_keep_next=true ;;
  31925. + esac
  31926. + fi
  31927. + as_fn_append ac_configure_args " '$ac_arg'"
  31928. + ;;
  31929. + esac
  31930. + done
  31931. +done
  31932. +{ ac_configure_args0=; unset ac_configure_args0;}
  31933. +{ ac_configure_args1=; unset ac_configure_args1;}
  31934. - test "$2" = conftest.file
  31935. - )
  31936. -then
  31937. - # Ok.
  31938. - :
  31939. -else
  31940. - { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  31941. -Check your system clock" >&5
  31942. -$as_echo "$as_me: error: newly created file is older than distributed files!
  31943. -Check your system clock" >&2;}
  31944. - { (exit 1); exit 1; }; }
  31945. -fi
  31946. -{ $as_echo "$as_me:$LINENO: result: yes" >&5
  31947. -$as_echo "yes" >&6; }
  31948. -test "$program_prefix" != NONE &&
  31949. - program_transform_name="s&^&$program_prefix&;$program_transform_name"
  31950. -# Use a double $ so make ignores it.
  31951. -test "$program_suffix" != NONE &&
  31952. - program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  31953. -# Double any \ or $.
  31954. -# By default was `s,x,x', remove it if useless.
  31955. -ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  31956. -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  31957. +# When interrupted or exit'd, cleanup temporary files, and complete
  31958. +# config.log. We remove comments because anyway the quotes in there
  31959. +# would cause problems or look ugly.
  31960. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  31961. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  31962. +trap 'exit_status=$?
  31963. + # Save into config.log some information that might help in debugging.
  31964. + {
  31965. + echo
  31966. -# expand $ac_aux_dir to an absolute path
  31967. -am_aux_dir=`cd $ac_aux_dir && pwd`
  31968. + cat <<\_ASBOX
  31969. +## ---------------- ##
  31970. +## Cache variables. ##
  31971. +## ---------------- ##
  31972. +_ASBOX
  31973. + echo
  31974. + # The following way of writing the cache mishandles newlines in values,
  31975. +(
  31976. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  31977. + eval ac_val=\$$ac_var
  31978. + case $ac_val in #(
  31979. + *${as_nl}*)
  31980. + case $ac_var in #(
  31981. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  31982. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  31983. + esac
  31984. + case $ac_var in #(
  31985. + _ | IFS | as_nl) ;; #(
  31986. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  31987. + *) { eval $ac_var=; unset $ac_var;} ;;
  31988. + esac ;;
  31989. + esac
  31990. + done
  31991. + (set) 2>&1 |
  31992. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  31993. + *${as_nl}ac_space=\ *)
  31994. + sed -n \
  31995. + "s/'\''/'\''\\\\'\'''\''/g;
  31996. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  31997. + ;; #(
  31998. + *)
  31999. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  32000. + ;;
  32001. + esac |
  32002. + sort
  32003. +)
  32004. + echo
  32005. -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  32006. -# Use eval to expand $SHELL
  32007. -if eval "$MISSING --run true"; then
  32008. - am_missing_run="$MISSING --run "
  32009. -else
  32010. - am_missing_run=
  32011. - { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  32012. -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  32013. -fi
  32014. + cat <<\_ASBOX
  32015. +## ----------------- ##
  32016. +## Output variables. ##
  32017. +## ----------------- ##
  32018. +_ASBOX
  32019. + echo
  32020. + for ac_var in $ac_subst_vars
  32021. + do
  32022. + eval ac_val=\$$ac_var
  32023. + case $ac_val in
  32024. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  32025. + esac
  32026. + $as_echo "$ac_var='\''$ac_val'\''"
  32027. + done | sort
  32028. + echo
  32029. -{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
  32030. -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  32031. -if test -z "$MKDIR_P"; then
  32032. - if test "${ac_cv_path_mkdir+set}" = set; then
  32033. - $as_echo_n "(cached) " >&6
  32034. -else
  32035. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  32036. -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  32037. -do
  32038. - IFS=$as_save_IFS
  32039. - test -z "$as_dir" && as_dir=.
  32040. - for ac_prog in mkdir gmkdir; do
  32041. - for ac_exec_ext in '' $ac_executable_extensions; do
  32042. - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  32043. - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  32044. - 'mkdir (GNU coreutils) '* | \
  32045. - 'mkdir (coreutils) '* | \
  32046. - 'mkdir (fileutils) '4.1*)
  32047. - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  32048. - break 3;;
  32049. - esac
  32050. - done
  32051. - done
  32052. + if test -n "$ac_subst_files"; then
  32053. + cat <<\_ASBOX
  32054. +## ------------------- ##
  32055. +## File substitutions. ##
  32056. +## ------------------- ##
  32057. +_ASBOX
  32058. + echo
  32059. + for ac_var in $ac_subst_files
  32060. + do
  32061. + eval ac_val=\$$ac_var
  32062. + case $ac_val in
  32063. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  32064. + esac
  32065. + $as_echo "$ac_var='\''$ac_val'\''"
  32066. + done | sort
  32067. + echo
  32068. + fi
  32069. +
  32070. + if test -s confdefs.h; then
  32071. + cat <<\_ASBOX
  32072. +## ----------- ##
  32073. +## confdefs.h. ##
  32074. +## ----------- ##
  32075. +_ASBOX
  32076. + echo
  32077. + cat confdefs.h
  32078. + echo
  32079. + fi
  32080. + test "$ac_signal" != 0 &&
  32081. + $as_echo "$as_me: caught signal $ac_signal"
  32082. + $as_echo "$as_me: exit $exit_status"
  32083. + } >&5
  32084. + rm -f core *.core core.conftest.* &&
  32085. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  32086. + exit $exit_status
  32087. +' 0
  32088. +for ac_signal in 1 2 13 15; do
  32089. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  32090. done
  32091. -IFS=$as_save_IFS
  32092. +ac_signal=0
  32093. -fi
  32094. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  32095. +rm -f -r conftest* confdefs.h
  32096. - if test "${ac_cv_path_mkdir+set}" = set; then
  32097. - MKDIR_P="$ac_cv_path_mkdir -p"
  32098. - else
  32099. - # As a last resort, use the slow shell script. Don't cache a
  32100. - # value for MKDIR_P within a source directory, because that will
  32101. - # break other packages using the cache if that directory is
  32102. - # removed, or if the value is a relative name.
  32103. - test -d ./--version && rmdir ./--version
  32104. - MKDIR_P="$ac_install_sh -d"
  32105. - fi
  32106. -fi
  32107. -{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
  32108. -$as_echo "$MKDIR_P" >&6; }
  32109. +$as_echo "/* confdefs.h */" > confdefs.h
  32110. -mkdir_p="$MKDIR_P"
  32111. -case $mkdir_p in
  32112. - [\\/$]* | ?:[\\/]*) ;;
  32113. - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  32114. -esac
  32115. +# Predefined preprocessor variables.
  32116. -for ac_prog in gawk mawk nawk awk
  32117. -do
  32118. - # Extract the first word of "$ac_prog", so it can be a program name with args.
  32119. -set dummy $ac_prog; ac_word=$2
  32120. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  32121. -$as_echo_n "checking for $ac_word... " >&6; }
  32122. -if test "${ac_cv_prog_AWK+set}" = set; then
  32123. - $as_echo_n "(cached) " >&6
  32124. -else
  32125. - if test -n "$AWK"; then
  32126. - ac_cv_prog_AWK="$AWK" # Let the user override the test.
  32127. -else
  32128. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  32129. -for as_dir in $PATH
  32130. -do
  32131. - IFS=$as_save_IFS
  32132. - test -z "$as_dir" && as_dir=.
  32133. - for ac_exec_ext in '' $ac_executable_extensions; do
  32134. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  32135. - ac_cv_prog_AWK="$ac_prog"
  32136. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  32137. - break 2
  32138. - fi
  32139. -done
  32140. -done
  32141. -IFS=$as_save_IFS
  32142. +cat >>confdefs.h <<_ACEOF
  32143. +#define PACKAGE_NAME "$PACKAGE_NAME"
  32144. +_ACEOF
  32145. -fi
  32146. -fi
  32147. -AWK=$ac_cv_prog_AWK
  32148. -if test -n "$AWK"; then
  32149. - { $as_echo "$as_me:$LINENO: result: $AWK" >&5
  32150. -$as_echo "$AWK" >&6; }
  32151. -else
  32152. - { $as_echo "$as_me:$LINENO: result: no" >&5
  32153. -$as_echo "no" >&6; }
  32154. -fi
  32155. +cat >>confdefs.h <<_ACEOF
  32156. +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  32157. +_ACEOF
  32158. +cat >>confdefs.h <<_ACEOF
  32159. +#define PACKAGE_VERSION "$PACKAGE_VERSION"
  32160. +_ACEOF
  32161. - test -n "$AWK" && break
  32162. -done
  32163. +cat >>confdefs.h <<_ACEOF
  32164. +#define PACKAGE_STRING "$PACKAGE_STRING"
  32165. +_ACEOF
  32166. -{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  32167. -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  32168. -set x ${MAKE-make}
  32169. -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  32170. -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  32171. - $as_echo_n "(cached) " >&6
  32172. -else
  32173. - cat >conftest.make <<\_ACEOF
  32174. -SHELL = /bin/sh
  32175. -all:
  32176. - @echo '@@@%%%=$(MAKE)=@@@%%%'
  32177. +cat >>confdefs.h <<_ACEOF
  32178. +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  32179. _ACEOF
  32180. -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  32181. -case `${MAKE-make} -f conftest.make 2>/dev/null` in
  32182. - *@@@%%%=?*=@@@%%%*)
  32183. - eval ac_cv_prog_make_${ac_make}_set=yes;;
  32184. - *)
  32185. - eval ac_cv_prog_make_${ac_make}_set=no;;
  32186. -esac
  32187. -rm -f conftest.make
  32188. -fi
  32189. -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  32190. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  32191. -$as_echo "yes" >&6; }
  32192. - SET_MAKE=
  32193. -else
  32194. - { $as_echo "$as_me:$LINENO: result: no" >&5
  32195. -$as_echo "no" >&6; }
  32196. - SET_MAKE="MAKE=${MAKE-make}"
  32197. -fi
  32198. -rm -rf .tst 2>/dev/null
  32199. -mkdir .tst 2>/dev/null
  32200. -if test -d .tst; then
  32201. - am__leading_dot=.
  32202. +cat >>confdefs.h <<_ACEOF
  32203. +#define PACKAGE_URL "$PACKAGE_URL"
  32204. +_ACEOF
  32205. +
  32206. +
  32207. +# Let the site file select an alternate cache file if it wants to.
  32208. +# Prefer an explicitly selected file to automatically selected ones.
  32209. +ac_site_file1=NONE
  32210. +ac_site_file2=NONE
  32211. +if test -n "$CONFIG_SITE"; then
  32212. + ac_site_file1=$CONFIG_SITE
  32213. +elif test "x$prefix" != xNONE; then
  32214. + ac_site_file1=$prefix/share/config.site
  32215. + ac_site_file2=$prefix/etc/config.site
  32216. else
  32217. - am__leading_dot=_
  32218. + ac_site_file1=$ac_default_prefix/share/config.site
  32219. + ac_site_file2=$ac_default_prefix/etc/config.site
  32220. fi
  32221. -rmdir .tst 2>/dev/null
  32222. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  32223. +do
  32224. + test "x$ac_site_file" = xNONE && continue
  32225. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  32226. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  32227. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  32228. + sed 's/^/| /' "$ac_site_file" >&5
  32229. + . "$ac_site_file"
  32230. + fi
  32231. +done
  32232. -if test "`cd $srcdir && pwd`" != "`pwd`"; then
  32233. - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  32234. - # is not polluted with repeated "-I."
  32235. - am__isrc=' -I$(srcdir)'
  32236. - # test to see if srcdir already configured
  32237. - if test -f $srcdir/config.status; then
  32238. - { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  32239. -$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  32240. - { (exit 1); exit 1; }; }
  32241. +if test -r "$cache_file"; then
  32242. + # Some versions of bash will fail to source /dev/null (special files
  32243. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  32244. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  32245. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  32246. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  32247. + case $cache_file in
  32248. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  32249. + *) . "./$cache_file";;
  32250. + esac
  32251. fi
  32252. +else
  32253. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  32254. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  32255. + >$cache_file
  32256. fi
  32257. -# test whether we have cygpath
  32258. -if test -z "$CYGPATH_W"; then
  32259. - if (cygpath --version) >/dev/null 2>/dev/null; then
  32260. - CYGPATH_W='cygpath -w'
  32261. - else
  32262. - CYGPATH_W=echo
  32263. +# Check that the precious variables saved in the cache have kept the same
  32264. +# value.
  32265. +ac_cache_corrupted=false
  32266. +for ac_var in $ac_precious_vars; do
  32267. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  32268. + eval ac_new_set=\$ac_env_${ac_var}_set
  32269. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  32270. + eval ac_new_val=\$ac_env_${ac_var}_value
  32271. + case $ac_old_set,$ac_new_set in
  32272. + set,)
  32273. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  32274. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  32275. + ac_cache_corrupted=: ;;
  32276. + ,set)
  32277. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  32278. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  32279. + ac_cache_corrupted=: ;;
  32280. + ,);;
  32281. + *)
  32282. + if test "x$ac_old_val" != "x$ac_new_val"; then
  32283. + # differences in whitespace do not lead to failure.
  32284. + ac_old_val_w=`echo x $ac_old_val`
  32285. + ac_new_val_w=`echo x $ac_new_val`
  32286. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  32287. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  32288. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  32289. + ac_cache_corrupted=:
  32290. + else
  32291. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  32292. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  32293. + eval $ac_var=\$ac_old_val
  32294. + fi
  32295. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  32296. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  32297. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  32298. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  32299. + fi;;
  32300. + esac
  32301. + # Pass precious variables to config.status.
  32302. + if test "$ac_new_set" = set; then
  32303. + case $ac_new_val in
  32304. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  32305. + *) ac_arg=$ac_var=$ac_new_val ;;
  32306. + esac
  32307. + case " $ac_configure_args " in
  32308. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  32309. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  32310. + esac
  32311. fi
  32312. +done
  32313. +if $ac_cache_corrupted; then
  32314. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  32315. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  32316. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  32317. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  32318. + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  32319. fi
  32320. +## -------------------- ##
  32321. +## Main body of script. ##
  32322. +## -------------------- ##
  32323. +ac_ext=c
  32324. +ac_cpp='$CPP $CPPFLAGS'
  32325. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  32326. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  32327. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  32328. -# Define the identity of the package.
  32329. - PACKAGE='squid'
  32330. - VERSION='3.0.STABLE20'
  32331. -
  32332. -
  32333. -cat >>confdefs.h <<_ACEOF
  32334. -#define PACKAGE "$PACKAGE"
  32335. -_ACEOF
  32336. -
  32337. -
  32338. -cat >>confdefs.h <<_ACEOF
  32339. -#define VERSION "$VERSION"
  32340. -_ACEOF
  32341. -
  32342. -# Some tools Automake needs.
  32343. -
  32344. -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  32345. -
  32346. -
  32347. -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  32348. -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  32349. +ac_config_headers="$ac_config_headers include/autoconf.h"
  32350. +ac_aux_dir=
  32351. +for ac_dir in cfgaux "$srcdir"/cfgaux; do
  32352. + for ac_t in install-sh install.sh shtool; do
  32353. + if test -f "$ac_dir/$ac_t"; then
  32354. + ac_aux_dir=$ac_dir
  32355. + ac_install_sh="$ac_aux_dir/$ac_t -c"
  32356. + break 2
  32357. + fi
  32358. + done
  32359. +done
  32360. +if test -z "$ac_aux_dir"; then
  32361. + as_fn_error "cannot find install-sh, install.sh, or shtool in cfgaux \"$srcdir\"/cfgaux" "$LINENO" 5
  32362. +fi
  32363. -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  32364. +# These three variables are undocumented and unsupported,
  32365. +# and are intended to be withdrawn in a future Autoconf release.
  32366. +# They can cause serious problems if a builder's source tree is in a directory
  32367. +# whose full name contains unusual characters.
  32368. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  32369. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  32370. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  32371. -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  32372. -install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
  32373. +am__api_version='1.11'
  32374. -# Installed binaries are usually stripped using `strip' when the user
  32375. -# run `make install-strip'. However `strip' might not be the right
  32376. -# tool to use in cross-compilation environments, therefore Automake
  32377. -# will honor the `STRIP' environment variable to overrule this program.
  32378. -if test "$cross_compiling" != no; then
  32379. - if test -n "$ac_tool_prefix"; then
  32380. - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  32381. -set dummy ${ac_tool_prefix}strip; ac_word=$2
  32382. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  32383. -$as_echo_n "checking for $ac_word... " >&6; }
  32384. -if test "${ac_cv_prog_STRIP+set}" = set; then
  32385. +# Find a good install program. We prefer a C program (faster),
  32386. +# so one script is as good as another. But avoid the broken or
  32387. +# incompatible versions:
  32388. +# SysV /etc/install, /usr/sbin/install
  32389. +# SunOS /usr/etc/install
  32390. +# IRIX /sbin/install
  32391. +# AIX /bin/install
  32392. +# AmigaOS /C/install, which installs bootblocks on floppy discs
  32393. +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  32394. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  32395. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  32396. +# OS/2's system install, which has a completely different semantic
  32397. +# ./install, which can be erroneously created by make from ./install.sh.
  32398. +# Reject install programs that cannot install multiple files.
  32399. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  32400. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  32401. +if test -z "$INSTALL"; then
  32402. +if test "${ac_cv_path_install+set}" = set; then :
  32403. $as_echo_n "(cached) " >&6
  32404. else
  32405. - if test -n "$STRIP"; then
  32406. - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  32407. -else
  32408. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  32409. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  32410. for as_dir in $PATH
  32411. do
  32412. IFS=$as_save_IFS
  32413. test -z "$as_dir" && as_dir=.
  32414. - for ac_exec_ext in '' $ac_executable_extensions; do
  32415. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  32416. - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  32417. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  32418. - break 2
  32419. - fi
  32420. -done
  32421. -done
  32422. + # Account for people who put trailing slashes in PATH elements.
  32423. +case $as_dir/ in #((
  32424. + ./ | .// | /[cC]/* | \
  32425. + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  32426. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  32427. + /usr/ucb/* ) ;;
  32428. + *)
  32429. + # OSF1 and SCO ODT 3.0 have their own names for install.
  32430. + # Don't use installbsd from OSF since it installs stuff as root
  32431. + # by default.
  32432. + for ac_prog in ginstall scoinst install; do
  32433. + for ac_exec_ext in '' $ac_executable_extensions; do
  32434. + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  32435. + if test $ac_prog = install &&
  32436. + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  32437. + # AIX install. It has an incompatible calling convention.
  32438. + :
  32439. + elif test $ac_prog = install &&
  32440. + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  32441. + # program-specific install script used by HP pwplus--don't use.
  32442. + :
  32443. + else
  32444. + rm -rf conftest.one conftest.two conftest.dir
  32445. + echo one > conftest.one
  32446. + echo two > conftest.two
  32447. + mkdir conftest.dir
  32448. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  32449. + test -s conftest.one && test -s conftest.two &&
  32450. + test -s conftest.dir/conftest.one &&
  32451. + test -s conftest.dir/conftest.two
  32452. + then
  32453. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  32454. + break 3
  32455. + fi
  32456. + fi
  32457. + fi
  32458. + done
  32459. + done
  32460. + ;;
  32461. +esac
  32462. +
  32463. + done
  32464. +IFS=$as_save_IFS
  32465. +
  32466. +rm -rf conftest.one conftest.two conftest.dir
  32467. +
  32468. +fi
  32469. + if test "${ac_cv_path_install+set}" = set; then
  32470. + INSTALL=$ac_cv_path_install
  32471. + else
  32472. + # As a last resort, use the slow shell script. Don't cache a
  32473. + # value for INSTALL within a source directory, because that will
  32474. + # break other packages using the cache if that directory is
  32475. + # removed, or if the value is a relative name.
  32476. + INSTALL=$ac_install_sh
  32477. + fi
  32478. +fi
  32479. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  32480. +$as_echo "$INSTALL" >&6; }
  32481. +
  32482. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  32483. +# It thinks the first close brace ends the variable substitution.
  32484. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  32485. +
  32486. +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  32487. +
  32488. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  32489. +
  32490. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  32491. +$as_echo_n "checking whether build environment is sane... " >&6; }
  32492. +# Just in case
  32493. +sleep 1
  32494. +echo timestamp > conftest.file
  32495. +# Reject unsafe characters in $srcdir or the absolute working directory
  32496. +# name. Accept space and tab only in the latter.
  32497. +am_lf='
  32498. +'
  32499. +case `pwd` in
  32500. + *[\\\"\#\$\&\'\`$am_lf]*)
  32501. + as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  32502. +esac
  32503. +case $srcdir in
  32504. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  32505. + as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  32506. +esac
  32507. +
  32508. +# Do `set' in a subshell so we don't clobber the current shell's
  32509. +# arguments. Must try -L first in case configure is actually a
  32510. +# symlink; some systems play weird games with the mod time of symlinks
  32511. +# (eg FreeBSD returns the mod time of the symlink's containing
  32512. +# directory).
  32513. +if (
  32514. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  32515. + if test "$*" = "X"; then
  32516. + # -L didn't work.
  32517. + set X `ls -t "$srcdir/configure" conftest.file`
  32518. + fi
  32519. + rm -f conftest.file
  32520. + if test "$*" != "X $srcdir/configure conftest.file" \
  32521. + && test "$*" != "X conftest.file $srcdir/configure"; then
  32522. +
  32523. + # If neither matched, then we have a broken ls. This can happen
  32524. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  32525. + # broken ls alias from the environment. This has actually
  32526. + # happened. Such a system could not be considered "sane".
  32527. + as_fn_error "ls -t appears to fail. Make sure there is not a broken
  32528. +alias in your environment" "$LINENO" 5
  32529. + fi
  32530. +
  32531. + test "$2" = conftest.file
  32532. + )
  32533. +then
  32534. + # Ok.
  32535. + :
  32536. +else
  32537. + as_fn_error "newly created file is older than distributed files!
  32538. +Check your system clock" "$LINENO" 5
  32539. +fi
  32540. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  32541. +$as_echo "yes" >&6; }
  32542. +test "$program_prefix" != NONE &&
  32543. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  32544. +# Use a double $ so make ignores it.
  32545. +test "$program_suffix" != NONE &&
  32546. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  32547. +# Double any \ or $.
  32548. +# By default was `s,x,x', remove it if useless.
  32549. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  32550. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  32551. +
  32552. +# expand $ac_aux_dir to an absolute path
  32553. +am_aux_dir=`cd $ac_aux_dir && pwd`
  32554. +
  32555. +if test x"${MISSING+set}" != xset; then
  32556. + case $am_aux_dir in
  32557. + *\ * | *\ *)
  32558. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  32559. + *)
  32560. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  32561. + esac
  32562. +fi
  32563. +# Use eval to expand $SHELL
  32564. +if eval "$MISSING --run true"; then
  32565. + am_missing_run="$MISSING --run "
  32566. +else
  32567. + am_missing_run=
  32568. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  32569. +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  32570. +fi
  32571. +
  32572. +if test x"${install_sh}" != xset; then
  32573. + case $am_aux_dir in
  32574. + *\ * | *\ *)
  32575. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  32576. + *)
  32577. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  32578. + esac
  32579. +fi
  32580. +
  32581. +# Installed binaries are usually stripped using `strip' when the user
  32582. +# run `make install-strip'. However `strip' might not be the right
  32583. +# tool to use in cross-compilation environments, therefore Automake
  32584. +# will honor the `STRIP' environment variable to overrule this program.
  32585. +if test "$cross_compiling" != no; then
  32586. + if test -n "$ac_tool_prefix"; then
  32587. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  32588. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  32589. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  32590. +$as_echo_n "checking for $ac_word... " >&6; }
  32591. +if test "${ac_cv_prog_STRIP+set}" = set; then :
  32592. + $as_echo_n "(cached) " >&6
  32593. +else
  32594. + if test -n "$STRIP"; then
  32595. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  32596. +else
  32597. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  32598. +for as_dir in $PATH
  32599. +do
  32600. + IFS=$as_save_IFS
  32601. + test -z "$as_dir" && as_dir=.
  32602. + for ac_exec_ext in '' $ac_executable_extensions; do
  32603. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  32604. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  32605. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  32606. + break 2
  32607. + fi
  32608. +done
  32609. + done
  32610. IFS=$as_save_IFS
  32611. fi
  32612. fi
  32613. STRIP=$ac_cv_prog_STRIP
  32614. if test -n "$STRIP"; then
  32615. - { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  32616. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  32617. $as_echo "$STRIP" >&6; }
  32618. else
  32619. - { $as_echo "$as_me:$LINENO: result: no" >&5
  32620. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  32621. $as_echo "no" >&6; }
  32622. fi
  32623. @@ -2859,9 +3427,9 @@
  32624. ac_ct_STRIP=$STRIP
  32625. # Extract the first word of "strip", so it can be a program name with args.
  32626. set dummy strip; ac_word=$2
  32627. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  32628. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  32629. $as_echo_n "checking for $ac_word... " >&6; }
  32630. -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  32631. +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  32632. $as_echo_n "(cached) " >&6
  32633. else
  32634. if test -n "$ac_ct_STRIP"; then
  32635. @@ -2872,24 +3440,24 @@
  32636. do
  32637. IFS=$as_save_IFS
  32638. test -z "$as_dir" && as_dir=.
  32639. - for ac_exec_ext in '' $ac_executable_extensions; do
  32640. + for ac_exec_ext in '' $ac_executable_extensions; do
  32641. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  32642. ac_cv_prog_ac_ct_STRIP="strip"
  32643. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  32644. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  32645. break 2
  32646. fi
  32647. done
  32648. -done
  32649. + done
  32650. IFS=$as_save_IFS
  32651. fi
  32652. fi
  32653. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  32654. if test -n "$ac_ct_STRIP"; then
  32655. - { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  32656. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  32657. $as_echo "$ac_ct_STRIP" >&6; }
  32658. else
  32659. - { $as_echo "$as_me:$LINENO: result: no" >&5
  32660. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  32661. $as_echo "no" >&6; }
  32662. fi
  32663. @@ -2898,12 +3466,8 @@
  32664. else
  32665. case $cross_compiling:$ac_tool_warned in
  32666. yes:)
  32667. -{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  32668. -whose name does not start with the host triplet. If you think this
  32669. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  32670. -$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  32671. -whose name does not start with the host triplet. If you think this
  32672. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  32673. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  32674. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  32675. ac_tool_warned=yes ;;
  32676. esac
  32677. STRIP=$ac_ct_STRIP
  32678. @@ -2915,93 +3479,273 @@
  32679. fi
  32680. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  32681. -# We need awk for the "check" target. The system "awk" is bad on
  32682. -# some platforms.
  32683. -# Always define AMTAR for backward compatibility.
  32684. -
  32685. -AMTAR=${AMTAR-"${am_missing_run}tar"}
  32686. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  32687. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  32688. +if test -z "$MKDIR_P"; then
  32689. + if test "${ac_cv_path_mkdir+set}" = set; then :
  32690. + $as_echo_n "(cached) " >&6
  32691. +else
  32692. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  32693. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  32694. +do
  32695. + IFS=$as_save_IFS
  32696. + test -z "$as_dir" && as_dir=.
  32697. + for ac_prog in mkdir gmkdir; do
  32698. + for ac_exec_ext in '' $ac_executable_extensions; do
  32699. + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  32700. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  32701. + 'mkdir (GNU coreutils) '* | \
  32702. + 'mkdir (coreutils) '* | \
  32703. + 'mkdir (fileutils) '4.1*)
  32704. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  32705. + break 3;;
  32706. + esac
  32707. + done
  32708. + done
  32709. + done
  32710. +IFS=$as_save_IFS
  32711. +fi
  32712. -{ $as_echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
  32713. -$as_echo_n "checking how to create a ustar tar archive... " >&6; }
  32714. -# Loop over all known methods to create a tar archive until one works.
  32715. -_am_tools='gnutar plaintar pax cpio none'
  32716. -_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
  32717. -# Do not fold the above two line into one, because Tru64 sh and
  32718. -# Solaris sh will not grok spaces in the rhs of `-'.
  32719. -for _am_tool in $_am_tools
  32720. -do
  32721. - case $_am_tool in
  32722. - gnutar)
  32723. - for _am_tar in tar gnutar gtar;
  32724. - do
  32725. - { echo "$as_me:$LINENO: $_am_tar --version" >&5
  32726. - ($_am_tar --version) >&5 2>&5
  32727. - ac_status=$?
  32728. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  32729. - (exit $ac_status); } && break
  32730. - done
  32731. - am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
  32732. - am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
  32733. - am__untar="$_am_tar -xf -"
  32734. - ;;
  32735. - plaintar)
  32736. - # Must skip GNU tar: if it does not support --format= it doesn't create
  32737. - # ustar tarball either.
  32738. - (tar --version) >/dev/null 2>&1 && continue
  32739. - am__tar='tar chf - "$$tardir"'
  32740. - am__tar_='tar chf - "$tardir"'
  32741. - am__untar='tar xf -'
  32742. - ;;
  32743. - pax)
  32744. - am__tar='pax -L -x ustar -w "$$tardir"'
  32745. - am__tar_='pax -L -x ustar -w "$tardir"'
  32746. - am__untar='pax -r'
  32747. - ;;
  32748. - cpio)
  32749. - am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
  32750. - am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
  32751. - am__untar='cpio -i -H ustar -d'
  32752. - ;;
  32753. - none)
  32754. - am__tar=false
  32755. - am__tar_=false
  32756. - am__untar=false
  32757. - ;;
  32758. - esac
  32759. + test -d ./--version && rmdir ./--version
  32760. + if test "${ac_cv_path_mkdir+set}" = set; then
  32761. + MKDIR_P="$ac_cv_path_mkdir -p"
  32762. + else
  32763. + # As a last resort, use the slow shell script. Don't cache a
  32764. + # value for MKDIR_P within a source directory, because that will
  32765. + # break other packages using the cache if that directory is
  32766. + # removed, or if the value is a relative name.
  32767. + MKDIR_P="$ac_install_sh -d"
  32768. + fi
  32769. +fi
  32770. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  32771. +$as_echo "$MKDIR_P" >&6; }
  32772. - # If the value was cached, stop now. We just wanted to have am__tar
  32773. - # and am__untar set.
  32774. - test -n "${am_cv_prog_tar_ustar}" && break
  32775. +mkdir_p="$MKDIR_P"
  32776. +case $mkdir_p in
  32777. + [\\/$]* | ?:[\\/]*) ;;
  32778. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  32779. +esac
  32780. - # tar/untar a dummy directory, and stop if the command works
  32781. - rm -rf conftest.dir
  32782. - mkdir conftest.dir
  32783. - echo GrepMe > conftest.dir/file
  32784. - { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
  32785. - (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
  32786. - ac_status=$?
  32787. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  32788. - (exit $ac_status); }
  32789. - rm -rf conftest.dir
  32790. - if test -s conftest.tar; then
  32791. - { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
  32792. - ($am__untar <conftest.tar) >&5 2>&5
  32793. - ac_status=$?
  32794. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  32795. - (exit $ac_status); }
  32796. - grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  32797. +for ac_prog in gawk mawk nawk awk
  32798. +do
  32799. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  32800. +set dummy $ac_prog; ac_word=$2
  32801. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  32802. +$as_echo_n "checking for $ac_word... " >&6; }
  32803. +if test "${ac_cv_prog_AWK+set}" = set; then :
  32804. + $as_echo_n "(cached) " >&6
  32805. +else
  32806. + if test -n "$AWK"; then
  32807. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  32808. +else
  32809. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  32810. +for as_dir in $PATH
  32811. +do
  32812. + IFS=$as_save_IFS
  32813. + test -z "$as_dir" && as_dir=.
  32814. + for ac_exec_ext in '' $ac_executable_extensions; do
  32815. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  32816. + ac_cv_prog_AWK="$ac_prog"
  32817. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  32818. + break 2
  32819. fi
  32820. done
  32821. -rm -rf conftest.dir
  32822. + done
  32823. +IFS=$as_save_IFS
  32824. -if test "${am_cv_prog_tar_ustar+set}" = set; then
  32825. - $as_echo_n "(cached) " >&6
  32826. +fi
  32827. +fi
  32828. +AWK=$ac_cv_prog_AWK
  32829. +if test -n "$AWK"; then
  32830. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  32831. +$as_echo "$AWK" >&6; }
  32832. else
  32833. - am_cv_prog_tar_ustar=$_am_tool
  32834. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  32835. +$as_echo "no" >&6; }
  32836. fi
  32837. -{ $as_echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
  32838. +
  32839. + test -n "$AWK" && break
  32840. +done
  32841. +
  32842. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  32843. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  32844. +set x ${MAKE-make}
  32845. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  32846. +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  32847. + $as_echo_n "(cached) " >&6
  32848. +else
  32849. + cat >conftest.make <<\_ACEOF
  32850. +SHELL = /bin/sh
  32851. +all:
  32852. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  32853. +_ACEOF
  32854. +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  32855. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  32856. + *@@@%%%=?*=@@@%%%*)
  32857. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  32858. + *)
  32859. + eval ac_cv_prog_make_${ac_make}_set=no;;
  32860. +esac
  32861. +rm -f conftest.make
  32862. +fi
  32863. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  32864. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  32865. +$as_echo "yes" >&6; }
  32866. + SET_MAKE=
  32867. +else
  32868. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  32869. +$as_echo "no" >&6; }
  32870. + SET_MAKE="MAKE=${MAKE-make}"
  32871. +fi
  32872. +
  32873. +rm -rf .tst 2>/dev/null
  32874. +mkdir .tst 2>/dev/null
  32875. +if test -d .tst; then
  32876. + am__leading_dot=.
  32877. +else
  32878. + am__leading_dot=_
  32879. +fi
  32880. +rmdir .tst 2>/dev/null
  32881. +
  32882. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  32883. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  32884. + # is not polluted with repeated "-I."
  32885. + am__isrc=' -I$(srcdir)'
  32886. + # test to see if srcdir already configured
  32887. + if test -f $srcdir/config.status; then
  32888. + as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  32889. + fi
  32890. +fi
  32891. +
  32892. +# test whether we have cygpath
  32893. +if test -z "$CYGPATH_W"; then
  32894. + if (cygpath --version) >/dev/null 2>/dev/null; then
  32895. + CYGPATH_W='cygpath -w'
  32896. + else
  32897. + CYGPATH_W=echo
  32898. + fi
  32899. +fi
  32900. +
  32901. +
  32902. +# Define the identity of the package.
  32903. + PACKAGE='squid'
  32904. + VERSION='3.0.STABLE20'
  32905. +
  32906. +
  32907. +cat >>confdefs.h <<_ACEOF
  32908. +#define PACKAGE "$PACKAGE"
  32909. +_ACEOF
  32910. +
  32911. +
  32912. +cat >>confdefs.h <<_ACEOF
  32913. +#define VERSION "$VERSION"
  32914. +_ACEOF
  32915. +
  32916. +# Some tools Automake needs.
  32917. +
  32918. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  32919. +
  32920. +
  32921. +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  32922. +
  32923. +
  32924. +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  32925. +
  32926. +
  32927. +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  32928. +
  32929. +
  32930. +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  32931. +
  32932. +# We need awk for the "check" target. The system "awk" is bad on
  32933. +# some platforms.
  32934. +# Always define AMTAR for backward compatibility.
  32935. +
  32936. +AMTAR=${AMTAR-"${am_missing_run}tar"}
  32937. +
  32938. +
  32939. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
  32940. +$as_echo_n "checking how to create a ustar tar archive... " >&6; }
  32941. +# Loop over all known methods to create a tar archive until one works.
  32942. +_am_tools='gnutar plaintar pax cpio none'
  32943. +_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
  32944. +# Do not fold the above two line into one, because Tru64 sh and
  32945. +# Solaris sh will not grok spaces in the rhs of `-'.
  32946. +for _am_tool in $_am_tools
  32947. +do
  32948. + case $_am_tool in
  32949. + gnutar)
  32950. + for _am_tar in tar gnutar gtar;
  32951. + do
  32952. + { echo "$as_me:$LINENO: $_am_tar --version" >&5
  32953. + ($_am_tar --version) >&5 2>&5
  32954. + ac_status=$?
  32955. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  32956. + (exit $ac_status); } && break
  32957. + done
  32958. + am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
  32959. + am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
  32960. + am__untar="$_am_tar -xf -"
  32961. + ;;
  32962. + plaintar)
  32963. + # Must skip GNU tar: if it does not support --format= it doesn't create
  32964. + # ustar tarball either.
  32965. + (tar --version) >/dev/null 2>&1 && continue
  32966. + am__tar='tar chf - "$$tardir"'
  32967. + am__tar_='tar chf - "$tardir"'
  32968. + am__untar='tar xf -'
  32969. + ;;
  32970. + pax)
  32971. + am__tar='pax -L -x ustar -w "$$tardir"'
  32972. + am__tar_='pax -L -x ustar -w "$tardir"'
  32973. + am__untar='pax -r'
  32974. + ;;
  32975. + cpio)
  32976. + am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
  32977. + am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
  32978. + am__untar='cpio -i -H ustar -d'
  32979. + ;;
  32980. + none)
  32981. + am__tar=false
  32982. + am__tar_=false
  32983. + am__untar=false
  32984. + ;;
  32985. + esac
  32986. +
  32987. + # If the value was cached, stop now. We just wanted to have am__tar
  32988. + # and am__untar set.
  32989. + test -n "${am_cv_prog_tar_ustar}" && break
  32990. +
  32991. + # tar/untar a dummy directory, and stop if the command works
  32992. + rm -rf conftest.dir
  32993. + mkdir conftest.dir
  32994. + echo GrepMe > conftest.dir/file
  32995. + { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
  32996. + (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
  32997. + ac_status=$?
  32998. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  32999. + (exit $ac_status); }
  33000. + rm -rf conftest.dir
  33001. + if test -s conftest.tar; then
  33002. + { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
  33003. + ($am__untar <conftest.tar) >&5 2>&5
  33004. + ac_status=$?
  33005. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33006. + (exit $ac_status); }
  33007. + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  33008. + fi
  33009. +done
  33010. +rm -rf conftest.dir
  33011. +
  33012. +if test "${am_cv_prog_tar_ustar+set}" = set; then :
  33013. + $as_echo_n "(cached) " >&6
  33014. +else
  33015. + am_cv_prog_tar_ustar=$_am_tool
  33016. +fi
  33017. +
  33018. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
  33019. $as_echo "$am_cv_prog_tar_ustar" >&6; }
  33020. @@ -3009,16 +3753,17 @@
  33021. -{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  33022. +
  33023. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  33024. $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  33025. # Check whether --enable-maintainer-mode was given.
  33026. -if test "${enable_maintainer_mode+set}" = set; then
  33027. +if test "${enable_maintainer_mode+set}" = set; then :
  33028. enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  33029. else
  33030. USE_MAINTAINER_MODE=no
  33031. fi
  33032. - { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  33033. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  33034. $as_echo "$USE_MAINTAINER_MODE" >&6; }
  33035. if test $USE_MAINTAINER_MODE = yes; then
  33036. MAINTAINER_MODE_TRUE=
  33037. @@ -3047,9 +3792,9 @@
  33038. if test -n "$ac_tool_prefix"; then
  33039. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  33040. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  33041. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  33042. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  33043. $as_echo_n "checking for $ac_word... " >&6; }
  33044. -if test "${ac_cv_prog_CC+set}" = set; then
  33045. +if test "${ac_cv_prog_CC+set}" = set; then :
  33046. $as_echo_n "(cached) " >&6
  33047. else
  33048. if test -n "$CC"; then
  33049. @@ -3060,24 +3805,24 @@
  33050. do
  33051. IFS=$as_save_IFS
  33052. test -z "$as_dir" && as_dir=.
  33053. - for ac_exec_ext in '' $ac_executable_extensions; do
  33054. + for ac_exec_ext in '' $ac_executable_extensions; do
  33055. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  33056. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  33057. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  33058. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  33059. break 2
  33060. fi
  33061. done
  33062. -done
  33063. + done
  33064. IFS=$as_save_IFS
  33065. fi
  33066. fi
  33067. CC=$ac_cv_prog_CC
  33068. if test -n "$CC"; then
  33069. - { $as_echo "$as_me:$LINENO: result: $CC" >&5
  33070. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  33071. $as_echo "$CC" >&6; }
  33072. else
  33073. - { $as_echo "$as_me:$LINENO: result: no" >&5
  33074. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33075. $as_echo "no" >&6; }
  33076. fi
  33077. @@ -3087,9 +3832,9 @@
  33078. ac_ct_CC=$CC
  33079. # Extract the first word of "gcc", so it can be a program name with args.
  33080. set dummy gcc; ac_word=$2
  33081. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  33082. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  33083. $as_echo_n "checking for $ac_word... " >&6; }
  33084. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  33085. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  33086. $as_echo_n "(cached) " >&6
  33087. else
  33088. if test -n "$ac_ct_CC"; then
  33089. @@ -3100,24 +3845,24 @@
  33090. do
  33091. IFS=$as_save_IFS
  33092. test -z "$as_dir" && as_dir=.
  33093. - for ac_exec_ext in '' $ac_executable_extensions; do
  33094. + for ac_exec_ext in '' $ac_executable_extensions; do
  33095. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  33096. ac_cv_prog_ac_ct_CC="gcc"
  33097. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  33098. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  33099. break 2
  33100. fi
  33101. done
  33102. -done
  33103. + done
  33104. IFS=$as_save_IFS
  33105. fi
  33106. fi
  33107. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  33108. if test -n "$ac_ct_CC"; then
  33109. - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  33110. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  33111. $as_echo "$ac_ct_CC" >&6; }
  33112. else
  33113. - { $as_echo "$as_me:$LINENO: result: no" >&5
  33114. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33115. $as_echo "no" >&6; }
  33116. fi
  33117. @@ -3126,12 +3871,8 @@
  33118. else
  33119. case $cross_compiling:$ac_tool_warned in
  33120. yes:)
  33121. -{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  33122. -whose name does not start with the host triplet. If you think this
  33123. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  33124. -$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  33125. -whose name does not start with the host triplet. If you think this
  33126. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  33127. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  33128. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  33129. ac_tool_warned=yes ;;
  33130. esac
  33131. CC=$ac_ct_CC
  33132. @@ -3144,9 +3885,9 @@
  33133. if test -n "$ac_tool_prefix"; then
  33134. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  33135. set dummy ${ac_tool_prefix}cc; ac_word=$2
  33136. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  33137. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  33138. $as_echo_n "checking for $ac_word... " >&6; }
  33139. -if test "${ac_cv_prog_CC+set}" = set; then
  33140. +if test "${ac_cv_prog_CC+set}" = set; then :
  33141. $as_echo_n "(cached) " >&6
  33142. else
  33143. if test -n "$CC"; then
  33144. @@ -3157,24 +3898,24 @@
  33145. do
  33146. IFS=$as_save_IFS
  33147. test -z "$as_dir" && as_dir=.
  33148. - for ac_exec_ext in '' $ac_executable_extensions; do
  33149. + for ac_exec_ext in '' $ac_executable_extensions; do
  33150. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  33151. ac_cv_prog_CC="${ac_tool_prefix}cc"
  33152. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  33153. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  33154. break 2
  33155. fi
  33156. done
  33157. -done
  33158. + done
  33159. IFS=$as_save_IFS
  33160. fi
  33161. fi
  33162. CC=$ac_cv_prog_CC
  33163. if test -n "$CC"; then
  33164. - { $as_echo "$as_me:$LINENO: result: $CC" >&5
  33165. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  33166. $as_echo "$CC" >&6; }
  33167. else
  33168. - { $as_echo "$as_me:$LINENO: result: no" >&5
  33169. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33170. $as_echo "no" >&6; }
  33171. fi
  33172. @@ -3184,9 +3925,9 @@
  33173. if test -z "$CC"; then
  33174. # Extract the first word of "cc", so it can be a program name with args.
  33175. set dummy cc; ac_word=$2
  33176. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  33177. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  33178. $as_echo_n "checking for $ac_word... " >&6; }
  33179. -if test "${ac_cv_prog_CC+set}" = set; then
  33180. +if test "${ac_cv_prog_CC+set}" = set; then :
  33181. $as_echo_n "(cached) " >&6
  33182. else
  33183. if test -n "$CC"; then
  33184. @@ -3198,18 +3939,18 @@
  33185. do
  33186. IFS=$as_save_IFS
  33187. test -z "$as_dir" && as_dir=.
  33188. - for ac_exec_ext in '' $ac_executable_extensions; do
  33189. + for ac_exec_ext in '' $ac_executable_extensions; do
  33190. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  33191. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  33192. ac_prog_rejected=yes
  33193. continue
  33194. fi
  33195. ac_cv_prog_CC="cc"
  33196. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  33197. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  33198. break 2
  33199. fi
  33200. done
  33201. -done
  33202. + done
  33203. IFS=$as_save_IFS
  33204. if test $ac_prog_rejected = yes; then
  33205. @@ -3228,10 +3969,10 @@
  33206. fi
  33207. CC=$ac_cv_prog_CC
  33208. if test -n "$CC"; then
  33209. - { $as_echo "$as_me:$LINENO: result: $CC" >&5
  33210. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  33211. $as_echo "$CC" >&6; }
  33212. else
  33213. - { $as_echo "$as_me:$LINENO: result: no" >&5
  33214. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33215. $as_echo "no" >&6; }
  33216. fi
  33217. @@ -3243,9 +3984,9 @@
  33218. do
  33219. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  33220. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  33221. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  33222. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  33223. $as_echo_n "checking for $ac_word... " >&6; }
  33224. -if test "${ac_cv_prog_CC+set}" = set; then
  33225. +if test "${ac_cv_prog_CC+set}" = set; then :
  33226. $as_echo_n "(cached) " >&6
  33227. else
  33228. if test -n "$CC"; then
  33229. @@ -3256,24 +3997,24 @@
  33230. do
  33231. IFS=$as_save_IFS
  33232. test -z "$as_dir" && as_dir=.
  33233. - for ac_exec_ext in '' $ac_executable_extensions; do
  33234. + for ac_exec_ext in '' $ac_executable_extensions; do
  33235. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  33236. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  33237. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  33238. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  33239. break 2
  33240. fi
  33241. done
  33242. -done
  33243. + done
  33244. IFS=$as_save_IFS
  33245. fi
  33246. fi
  33247. CC=$ac_cv_prog_CC
  33248. if test -n "$CC"; then
  33249. - { $as_echo "$as_me:$LINENO: result: $CC" >&5
  33250. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  33251. $as_echo "$CC" >&6; }
  33252. else
  33253. - { $as_echo "$as_me:$LINENO: result: no" >&5
  33254. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33255. $as_echo "no" >&6; }
  33256. fi
  33257. @@ -3287,9 +4028,9 @@
  33258. do
  33259. # Extract the first word of "$ac_prog", so it can be a program name with args.
  33260. set dummy $ac_prog; ac_word=$2
  33261. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  33262. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  33263. $as_echo_n "checking for $ac_word... " >&6; }
  33264. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  33265. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  33266. $as_echo_n "(cached) " >&6
  33267. else
  33268. if test -n "$ac_ct_CC"; then
  33269. @@ -3300,24 +4041,24 @@
  33270. do
  33271. IFS=$as_save_IFS
  33272. test -z "$as_dir" && as_dir=.
  33273. - for ac_exec_ext in '' $ac_executable_extensions; do
  33274. + for ac_exec_ext in '' $ac_executable_extensions; do
  33275. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  33276. ac_cv_prog_ac_ct_CC="$ac_prog"
  33277. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  33278. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  33279. break 2
  33280. fi
  33281. done
  33282. -done
  33283. + done
  33284. IFS=$as_save_IFS
  33285. fi
  33286. fi
  33287. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  33288. if test -n "$ac_ct_CC"; then
  33289. - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  33290. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  33291. $as_echo "$ac_ct_CC" >&6; }
  33292. else
  33293. - { $as_echo "$as_me:$LINENO: result: no" >&5
  33294. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33295. $as_echo "no" >&6; }
  33296. fi
  33297. @@ -3330,12 +4071,8 @@
  33298. else
  33299. case $cross_compiling:$ac_tool_warned in
  33300. yes:)
  33301. -{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  33302. -whose name does not start with the host triplet. If you think this
  33303. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  33304. -$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  33305. -whose name does not start with the host triplet. If you think this
  33306. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  33307. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  33308. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  33309. ac_tool_warned=yes ;;
  33310. esac
  33311. CC=$ac_ct_CC
  33312. @@ -3345,55 +4082,37 @@
  33313. fi
  33314. -test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  33315. -See \`config.log' for more details." >&5
  33316. -$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  33317. -See \`config.log' for more details." >&2;}
  33318. - { (exit 1); exit 1; }; }
  33319. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  33320. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  33321. +as_fn_error "no acceptable C compiler found in \$PATH
  33322. +See \`config.log' for more details." "$LINENO" 5; }
  33323. # Provide some information about the compiler.
  33324. -$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  33325. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  33326. set X $ac_compile
  33327. ac_compiler=$2
  33328. -{ (ac_try="$ac_compiler --version >&5"
  33329. +for ac_option in --version -v -V -qversion; do
  33330. + { { ac_try="$ac_compiler $ac_option >&5"
  33331. case "(($ac_try" in
  33332. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33333. *) ac_try_echo=$ac_try;;
  33334. esac
  33335. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  33336. -$as_echo "$ac_try_echo") >&5
  33337. - (eval "$ac_compiler --version >&5") 2>&5
  33338. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  33339. +$as_echo "$ac_try_echo"; } >&5
  33340. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  33341. ac_status=$?
  33342. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33343. - (exit $ac_status); }
  33344. -{ (ac_try="$ac_compiler -v >&5"
  33345. -case "(($ac_try" in
  33346. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33347. - *) ac_try_echo=$ac_try;;
  33348. -esac
  33349. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  33350. -$as_echo "$ac_try_echo") >&5
  33351. - (eval "$ac_compiler -v >&5") 2>&5
  33352. - ac_status=$?
  33353. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33354. - (exit $ac_status); }
  33355. -{ (ac_try="$ac_compiler -V >&5"
  33356. -case "(($ac_try" in
  33357. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33358. - *) ac_try_echo=$ac_try;;
  33359. -esac
  33360. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  33361. -$as_echo "$ac_try_echo") >&5
  33362. - (eval "$ac_compiler -V >&5") 2>&5
  33363. - ac_status=$?
  33364. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33365. - (exit $ac_status); }
  33366. + if test -s conftest.err; then
  33367. + sed '10a\
  33368. +... rest of stderr output deleted ...
  33369. + 10q' conftest.err >conftest.er1
  33370. + cat conftest.er1 >&5
  33371. + fi
  33372. + rm -f conftest.er1 conftest.err
  33373. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  33374. + test $ac_status = 0; }
  33375. +done
  33376. -cat >conftest.$ac_ext <<_ACEOF
  33377. -/* confdefs.h. */
  33378. -_ACEOF
  33379. -cat confdefs.h >>conftest.$ac_ext
  33380. -cat >>conftest.$ac_ext <<_ACEOF
  33381. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33382. /* end confdefs.h. */
  33383. int
  33384. @@ -3409,8 +4128,8 @@
  33385. # Try to create an executable without -o first, disregard a.out.
  33386. # It will help us diagnose broken compilers, and finding out an intuition
  33387. # of exeext.
  33388. -{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  33389. -$as_echo_n "checking for C compiler default output file name... " >&6; }
  33390. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  33391. +$as_echo_n "checking whether the C compiler works... " >&6; }
  33392. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  33393. # The possible output files:
  33394. @@ -3426,17 +4145,17 @@
  33395. done
  33396. rm -f $ac_rmfiles
  33397. -if { (ac_try="$ac_link_default"
  33398. +if { { ac_try="$ac_link_default"
  33399. case "(($ac_try" in
  33400. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33401. *) ac_try_echo=$ac_try;;
  33402. esac
  33403. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  33404. -$as_echo "$ac_try_echo") >&5
  33405. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  33406. +$as_echo "$ac_try_echo"; } >&5
  33407. (eval "$ac_link_default") 2>&5
  33408. ac_status=$?
  33409. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33410. - (exit $ac_status); }; then
  33411. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  33412. + test $ac_status = 0; }; then :
  33413. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  33414. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  33415. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  33416. @@ -3453,7 +4172,7 @@
  33417. # certainly right.
  33418. break;;
  33419. *.* )
  33420. - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  33421. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  33422. then :; else
  33423. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  33424. fi
  33425. @@ -3472,80 +4191,42 @@
  33426. else
  33427. ac_file=''
  33428. fi
  33429. -
  33430. -{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
  33431. -$as_echo "$ac_file" >&6; }
  33432. -if test -z "$ac_file"; then
  33433. - $as_echo "$as_me: failed program was:" >&5
  33434. +if test -z "$ac_file"; then :
  33435. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33436. +$as_echo "no" >&6; }
  33437. +$as_echo "$as_me: failed program was:" >&5
  33438. sed 's/^/| /' conftest.$ac_ext >&5
  33439. -{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
  33440. -See \`config.log' for more details." >&5
  33441. -$as_echo "$as_me: error: C compiler cannot create executables
  33442. -See \`config.log' for more details." >&2;}
  33443. - { (exit 77); exit 77; }; }
  33444. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  33445. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  33446. +{ as_fn_set_status 77
  33447. +as_fn_error "C compiler cannot create executables
  33448. +See \`config.log' for more details." "$LINENO" 5; }; }
  33449. +else
  33450. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  33451. +$as_echo "yes" >&6; }
  33452. fi
  33453. -
  33454. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  33455. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  33456. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  33457. +$as_echo "$ac_file" >&6; }
  33458. ac_exeext=$ac_cv_exeext
  33459. -# Check that the compiler produces executables we can run. If not, either
  33460. -# the compiler is broken, or we cross compile.
  33461. -{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  33462. -$as_echo_n "checking whether the C compiler works... " >&6; }
  33463. -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  33464. -# If not cross compiling, check that we can run a simple program.
  33465. -if test "$cross_compiling" != yes; then
  33466. - if { ac_try='./$ac_file'
  33467. - { (case "(($ac_try" in
  33468. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33469. - *) ac_try_echo=$ac_try;;
  33470. -esac
  33471. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  33472. -$as_echo "$ac_try_echo") >&5
  33473. - (eval "$ac_try") 2>&5
  33474. - ac_status=$?
  33475. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33476. - (exit $ac_status); }; }; then
  33477. - cross_compiling=no
  33478. - else
  33479. - if test "$cross_compiling" = maybe; then
  33480. - cross_compiling=yes
  33481. - else
  33482. - { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
  33483. -If you meant to cross compile, use \`--host'.
  33484. -See \`config.log' for more details." >&5
  33485. -$as_echo "$as_me: error: cannot run C compiled programs.
  33486. -If you meant to cross compile, use \`--host'.
  33487. -See \`config.log' for more details." >&2;}
  33488. - { (exit 1); exit 1; }; }
  33489. - fi
  33490. - fi
  33491. -fi
  33492. -{ $as_echo "$as_me:$LINENO: result: yes" >&5
  33493. -$as_echo "yes" >&6; }
  33494. -
  33495. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  33496. ac_clean_files=$ac_clean_files_save
  33497. -# Check that the compiler produces executables we can run. If not, either
  33498. -# the compiler is broken, or we cross compile.
  33499. -{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  33500. -$as_echo_n "checking whether we are cross compiling... " >&6; }
  33501. -{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
  33502. -$as_echo "$cross_compiling" >&6; }
  33503. -
  33504. -{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
  33505. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  33506. $as_echo_n "checking for suffix of executables... " >&6; }
  33507. -if { (ac_try="$ac_link"
  33508. +if { { ac_try="$ac_link"
  33509. case "(($ac_try" in
  33510. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33511. *) ac_try_echo=$ac_try;;
  33512. esac
  33513. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  33514. -$as_echo "$ac_try_echo") >&5
  33515. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  33516. +$as_echo "$ac_try_echo"; } >&5
  33517. (eval "$ac_link") 2>&5
  33518. ac_status=$?
  33519. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33520. - (exit $ac_status); }; then
  33521. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  33522. + test $ac_status = 0; }; then :
  33523. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  33524. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  33525. # work properly (i.e., refer to `conftest.exe'), while it won't with
  33526. @@ -3560,52 +4241,105 @@
  33527. esac
  33528. done
  33529. else
  33530. - { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  33531. -See \`config.log' for more details." >&5
  33532. -$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  33533. -See \`config.log' for more details." >&2;}
  33534. - { (exit 1); exit 1; }; }
  33535. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  33536. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  33537. +as_fn_error "cannot compute suffix of executables: cannot compile and link
  33538. +See \`config.log' for more details." "$LINENO" 5; }
  33539. fi
  33540. -
  33541. -rm -f conftest$ac_cv_exeext
  33542. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  33543. +rm -f conftest conftest$ac_cv_exeext
  33544. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  33545. $as_echo "$ac_cv_exeext" >&6; }
  33546. rm -f conftest.$ac_ext
  33547. EXEEXT=$ac_cv_exeext
  33548. ac_exeext=$EXEEXT
  33549. -{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
  33550. -$as_echo_n "checking for suffix of object files... " >&6; }
  33551. -if test "${ac_cv_objext+set}" = set; then
  33552. - $as_echo_n "(cached) " >&6
  33553. -else
  33554. - cat >conftest.$ac_ext <<_ACEOF
  33555. -/* confdefs.h. */
  33556. -_ACEOF
  33557. -cat confdefs.h >>conftest.$ac_ext
  33558. -cat >>conftest.$ac_ext <<_ACEOF
  33559. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33560. /* end confdefs.h. */
  33561. -
  33562. +#include <stdio.h>
  33563. int
  33564. main ()
  33565. {
  33566. +FILE *f = fopen ("conftest.out", "w");
  33567. + return ferror (f) || fclose (f) != 0;
  33568. ;
  33569. return 0;
  33570. }
  33571. _ACEOF
  33572. -rm -f conftest.o conftest.obj
  33573. -if { (ac_try="$ac_compile"
  33574. +ac_clean_files="$ac_clean_files conftest.out"
  33575. +# Check that the compiler produces executables we can run. If not, either
  33576. +# the compiler is broken, or we cross compile.
  33577. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  33578. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  33579. +if test "$cross_compiling" != yes; then
  33580. + { { ac_try="$ac_link"
  33581. case "(($ac_try" in
  33582. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33583. *) ac_try_echo=$ac_try;;
  33584. esac
  33585. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  33586. -$as_echo "$ac_try_echo") >&5
  33587. - (eval "$ac_compile") 2>&5
  33588. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  33589. +$as_echo "$ac_try_echo"; } >&5
  33590. + (eval "$ac_link") 2>&5
  33591. + ac_status=$?
  33592. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  33593. + test $ac_status = 0; }
  33594. + if { ac_try='./conftest$ac_cv_exeext'
  33595. + { { case "(($ac_try" in
  33596. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33597. + *) ac_try_echo=$ac_try;;
  33598. +esac
  33599. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  33600. +$as_echo "$ac_try_echo"; } >&5
  33601. + (eval "$ac_try") 2>&5
  33602. + ac_status=$?
  33603. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  33604. + test $ac_status = 0; }; }; then
  33605. + cross_compiling=no
  33606. + else
  33607. + if test "$cross_compiling" = maybe; then
  33608. + cross_compiling=yes
  33609. + else
  33610. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  33611. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  33612. +as_fn_error "cannot run C compiled programs.
  33613. +If you meant to cross compile, use \`--host'.
  33614. +See \`config.log' for more details." "$LINENO" 5; }
  33615. + fi
  33616. + fi
  33617. +fi
  33618. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  33619. +$as_echo "$cross_compiling" >&6; }
  33620. +
  33621. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  33622. +ac_clean_files=$ac_clean_files_save
  33623. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  33624. +$as_echo_n "checking for suffix of object files... " >&6; }
  33625. +if test "${ac_cv_objext+set}" = set; then :
  33626. + $as_echo_n "(cached) " >&6
  33627. +else
  33628. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33629. +/* end confdefs.h. */
  33630. +
  33631. +int
  33632. +main ()
  33633. +{
  33634. +
  33635. + ;
  33636. + return 0;
  33637. +}
  33638. +_ACEOF
  33639. +rm -f conftest.o conftest.obj
  33640. +if { { ac_try="$ac_compile"
  33641. +case "(($ac_try" in
  33642. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33643. + *) ac_try_echo=$ac_try;;
  33644. +esac
  33645. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  33646. +$as_echo "$ac_try_echo"; } >&5
  33647. + (eval "$ac_compile") 2>&5
  33648. ac_status=$?
  33649. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33650. - (exit $ac_status); }; then
  33651. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  33652. + test $ac_status = 0; }; then :
  33653. for ac_file in conftest.o conftest.obj conftest.*; do
  33654. test -f "$ac_file" || continue;
  33655. case $ac_file in
  33656. @@ -3618,29 +4352,23 @@
  33657. $as_echo "$as_me: failed program was:" >&5
  33658. sed 's/^/| /' conftest.$ac_ext >&5
  33659. -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  33660. -See \`config.log' for more details." >&5
  33661. -$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
  33662. -See \`config.log' for more details." >&2;}
  33663. - { (exit 1); exit 1; }; }
  33664. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  33665. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  33666. +as_fn_error "cannot compute suffix of object files: cannot compile
  33667. +See \`config.log' for more details." "$LINENO" 5; }
  33668. fi
  33669. -
  33670. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  33671. fi
  33672. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  33673. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  33674. $as_echo "$ac_cv_objext" >&6; }
  33675. OBJEXT=$ac_cv_objext
  33676. ac_objext=$OBJEXT
  33677. -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  33678. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  33679. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  33680. -if test "${ac_cv_c_compiler_gnu+set}" = set; then
  33681. +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  33682. $as_echo_n "(cached) " >&6
  33683. else
  33684. - cat >conftest.$ac_ext <<_ACEOF
  33685. -/* confdefs.h. */
  33686. -_ACEOF
  33687. -cat confdefs.h >>conftest.$ac_ext
  33688. -cat >>conftest.$ac_ext <<_ACEOF
  33689. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33690. /* end confdefs.h. */
  33691. int
  33692. @@ -3654,37 +4382,16 @@
  33693. return 0;
  33694. }
  33695. _ACEOF
  33696. -rm -f conftest.$ac_objext
  33697. -if { (ac_try="$ac_compile"
  33698. -case "(($ac_try" in
  33699. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33700. - *) ac_try_echo=$ac_try;;
  33701. -esac
  33702. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  33703. -$as_echo "$ac_try_echo") >&5
  33704. - (eval "$ac_compile") 2>conftest.er1
  33705. - ac_status=$?
  33706. - grep -v '^ *+' conftest.er1 >conftest.err
  33707. - rm -f conftest.er1
  33708. - cat conftest.err >&5
  33709. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33710. - (exit $ac_status); } && {
  33711. - test -z "$ac_c_werror_flag" ||
  33712. - test ! -s conftest.err
  33713. - } && test -s conftest.$ac_objext; then
  33714. +if ac_fn_c_try_compile "$LINENO"; then :
  33715. ac_compiler_gnu=yes
  33716. else
  33717. - $as_echo "$as_me: failed program was:" >&5
  33718. -sed 's/^/| /' conftest.$ac_ext >&5
  33719. -
  33720. - ac_compiler_gnu=no
  33721. + ac_compiler_gnu=no
  33722. fi
  33723. -
  33724. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  33725. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  33726. fi
  33727. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  33728. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  33729. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  33730. if test $ac_compiler_gnu = yes; then
  33731. GCC=yes
  33732. @@ -3693,20 +4400,16 @@
  33733. fi
  33734. ac_test_CFLAGS=${CFLAGS+set}
  33735. ac_save_CFLAGS=$CFLAGS
  33736. -{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  33737. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  33738. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  33739. -if test "${ac_cv_prog_cc_g+set}" = set; then
  33740. +if test "${ac_cv_prog_cc_g+set}" = set; then :
  33741. $as_echo_n "(cached) " >&6
  33742. else
  33743. ac_save_c_werror_flag=$ac_c_werror_flag
  33744. ac_c_werror_flag=yes
  33745. ac_cv_prog_cc_g=no
  33746. CFLAGS="-g"
  33747. - cat >conftest.$ac_ext <<_ACEOF
  33748. -/* confdefs.h. */
  33749. -_ACEOF
  33750. -cat confdefs.h >>conftest.$ac_ext
  33751. -cat >>conftest.$ac_ext <<_ACEOF
  33752. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33753. /* end confdefs.h. */
  33754. int
  33755. @@ -3717,35 +4420,11 @@
  33756. return 0;
  33757. }
  33758. _ACEOF
  33759. -rm -f conftest.$ac_objext
  33760. -if { (ac_try="$ac_compile"
  33761. -case "(($ac_try" in
  33762. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33763. - *) ac_try_echo=$ac_try;;
  33764. -esac
  33765. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  33766. -$as_echo "$ac_try_echo") >&5
  33767. - (eval "$ac_compile") 2>conftest.er1
  33768. - ac_status=$?
  33769. - grep -v '^ *+' conftest.er1 >conftest.err
  33770. - rm -f conftest.er1
  33771. - cat conftest.err >&5
  33772. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33773. - (exit $ac_status); } && {
  33774. - test -z "$ac_c_werror_flag" ||
  33775. - test ! -s conftest.err
  33776. - } && test -s conftest.$ac_objext; then
  33777. +if ac_fn_c_try_compile "$LINENO"; then :
  33778. ac_cv_prog_cc_g=yes
  33779. else
  33780. - $as_echo "$as_me: failed program was:" >&5
  33781. -sed 's/^/| /' conftest.$ac_ext >&5
  33782. -
  33783. - CFLAGS=""
  33784. - cat >conftest.$ac_ext <<_ACEOF
  33785. -/* confdefs.h. */
  33786. -_ACEOF
  33787. -cat confdefs.h >>conftest.$ac_ext
  33788. -cat >>conftest.$ac_ext <<_ACEOF
  33789. + CFLAGS=""
  33790. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33791. /* end confdefs.h. */
  33792. int
  33793. @@ -3756,36 +4435,12 @@
  33794. return 0;
  33795. }
  33796. _ACEOF
  33797. -rm -f conftest.$ac_objext
  33798. -if { (ac_try="$ac_compile"
  33799. -case "(($ac_try" in
  33800. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33801. - *) ac_try_echo=$ac_try;;
  33802. -esac
  33803. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  33804. -$as_echo "$ac_try_echo") >&5
  33805. - (eval "$ac_compile") 2>conftest.er1
  33806. - ac_status=$?
  33807. - grep -v '^ *+' conftest.er1 >conftest.err
  33808. - rm -f conftest.er1
  33809. - cat conftest.err >&5
  33810. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33811. - (exit $ac_status); } && {
  33812. - test -z "$ac_c_werror_flag" ||
  33813. - test ! -s conftest.err
  33814. - } && test -s conftest.$ac_objext; then
  33815. - :
  33816. -else
  33817. - $as_echo "$as_me: failed program was:" >&5
  33818. -sed 's/^/| /' conftest.$ac_ext >&5
  33819. +if ac_fn_c_try_compile "$LINENO"; then :
  33820. - ac_c_werror_flag=$ac_save_c_werror_flag
  33821. +else
  33822. + ac_c_werror_flag=$ac_save_c_werror_flag
  33823. CFLAGS="-g"
  33824. - cat >conftest.$ac_ext <<_ACEOF
  33825. -/* confdefs.h. */
  33826. -_ACEOF
  33827. -cat confdefs.h >>conftest.$ac_ext
  33828. -cat >>conftest.$ac_ext <<_ACEOF
  33829. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33830. /* end confdefs.h. */
  33831. int
  33832. @@ -3796,42 +4451,17 @@
  33833. return 0;
  33834. }
  33835. _ACEOF
  33836. -rm -f conftest.$ac_objext
  33837. -if { (ac_try="$ac_compile"
  33838. -case "(($ac_try" in
  33839. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33840. - *) ac_try_echo=$ac_try;;
  33841. -esac
  33842. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  33843. -$as_echo "$ac_try_echo") >&5
  33844. - (eval "$ac_compile") 2>conftest.er1
  33845. - ac_status=$?
  33846. - grep -v '^ *+' conftest.er1 >conftest.err
  33847. - rm -f conftest.er1
  33848. - cat conftest.err >&5
  33849. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33850. - (exit $ac_status); } && {
  33851. - test -z "$ac_c_werror_flag" ||
  33852. - test ! -s conftest.err
  33853. - } && test -s conftest.$ac_objext; then
  33854. +if ac_fn_c_try_compile "$LINENO"; then :
  33855. ac_cv_prog_cc_g=yes
  33856. -else
  33857. - $as_echo "$as_me: failed program was:" >&5
  33858. -sed 's/^/| /' conftest.$ac_ext >&5
  33859. -
  33860. -
  33861. fi
  33862. -
  33863. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  33864. fi
  33865. -
  33866. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  33867. fi
  33868. -
  33869. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  33870. ac_c_werror_flag=$ac_save_c_werror_flag
  33871. fi
  33872. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  33873. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  33874. $as_echo "$ac_cv_prog_cc_g" >&6; }
  33875. if test "$ac_test_CFLAGS" = set; then
  33876. CFLAGS=$ac_save_CFLAGS
  33877. @@ -3848,18 +4478,14 @@
  33878. CFLAGS=
  33879. fi
  33880. fi
  33881. -{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  33882. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  33883. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  33884. -if test "${ac_cv_prog_cc_c89+set}" = set; then
  33885. +if test "${ac_cv_prog_cc_c89+set}" = set; then :
  33886. $as_echo_n "(cached) " >&6
  33887. else
  33888. ac_cv_prog_cc_c89=no
  33889. ac_save_CC=$CC
  33890. -cat >conftest.$ac_ext <<_ACEOF
  33891. -/* confdefs.h. */
  33892. -_ACEOF
  33893. -cat confdefs.h >>conftest.$ac_ext
  33894. -cat >>conftest.$ac_ext <<_ACEOF
  33895. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33896. /* end confdefs.h. */
  33897. #include <stdarg.h>
  33898. #include <stdio.h>
  33899. @@ -3916,32 +4542,9 @@
  33900. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  33901. do
  33902. CC="$ac_save_CC $ac_arg"
  33903. - rm -f conftest.$ac_objext
  33904. -if { (ac_try="$ac_compile"
  33905. -case "(($ac_try" in
  33906. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33907. - *) ac_try_echo=$ac_try;;
  33908. -esac
  33909. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  33910. -$as_echo "$ac_try_echo") >&5
  33911. - (eval "$ac_compile") 2>conftest.er1
  33912. - ac_status=$?
  33913. - grep -v '^ *+' conftest.er1 >conftest.err
  33914. - rm -f conftest.er1
  33915. - cat conftest.err >&5
  33916. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33917. - (exit $ac_status); } && {
  33918. - test -z "$ac_c_werror_flag" ||
  33919. - test ! -s conftest.err
  33920. - } && test -s conftest.$ac_objext; then
  33921. + if ac_fn_c_try_compile "$LINENO"; then :
  33922. ac_cv_prog_cc_c89=$ac_arg
  33923. -else
  33924. - $as_echo "$as_me: failed program was:" >&5
  33925. -sed 's/^/| /' conftest.$ac_ext >&5
  33926. -
  33927. -
  33928. fi
  33929. -
  33930. rm -f core conftest.err conftest.$ac_objext
  33931. test "x$ac_cv_prog_cc_c89" != "xno" && break
  33932. done
  33933. @@ -3952,17 +4555,19 @@
  33934. # AC_CACHE_VAL
  33935. case "x$ac_cv_prog_cc_c89" in
  33936. x)
  33937. - { $as_echo "$as_me:$LINENO: result: none needed" >&5
  33938. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  33939. $as_echo "none needed" >&6; } ;;
  33940. xno)
  33941. - { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  33942. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  33943. $as_echo "unsupported" >&6; } ;;
  33944. *)
  33945. CC="$CC $ac_cv_prog_cc_c89"
  33946. - { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  33947. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  33948. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  33949. esac
  33950. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  33951. +fi
  33952. ac_ext=c
  33953. ac_cpp='$CPP $CPPFLAGS'
  33954. @@ -3977,44 +4582,44 @@
  33955. am_make=${MAKE-make}
  33956. cat > confinc << 'END'
  33957. am__doit:
  33958. - @echo done
  33959. + @echo this is the am__doit target
  33960. .PHONY: am__doit
  33961. END
  33962. # If we don't find an include directive, just comment out the code.
  33963. -{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  33964. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  33965. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  33966. am__include="#"
  33967. am__quote=
  33968. _am_result=none
  33969. # First try GNU make style include.
  33970. echo "include confinc" > confmf
  33971. -# We grep out `Entering directory' and `Leaving directory'
  33972. -# messages which can occur if `w' ends up in MAKEFLAGS.
  33973. -# In particular we don't look at `^make:' because GNU make might
  33974. -# be invoked under some other name (usually "gmake"), in which
  33975. -# case it prints its new name instead of `make'.
  33976. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  33977. - am__include=include
  33978. - am__quote=
  33979. - _am_result=GNU
  33980. -fi
  33981. +# Ignore all kinds of additional output from `make'.
  33982. +case `$am_make -s -f confmf 2> /dev/null` in #(
  33983. +*the\ am__doit\ target*)
  33984. + am__include=include
  33985. + am__quote=
  33986. + _am_result=GNU
  33987. + ;;
  33988. +esac
  33989. # Now try BSD make style include.
  33990. if test "$am__include" = "#"; then
  33991. echo '.include "confinc"' > confmf
  33992. - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  33993. - am__include=.include
  33994. - am__quote="\""
  33995. - _am_result=BSD
  33996. - fi
  33997. + case `$am_make -s -f confmf 2> /dev/null` in #(
  33998. + *the\ am__doit\ target*)
  33999. + am__include=.include
  34000. + am__quote="\""
  34001. + _am_result=BSD
  34002. + ;;
  34003. + esac
  34004. fi
  34005. -{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
  34006. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  34007. $as_echo "$_am_result" >&6; }
  34008. rm -f confinc confmf
  34009. # Check whether --enable-dependency-tracking was given.
  34010. -if test "${enable_dependency_tracking+set}" = set; then
  34011. +if test "${enable_dependency_tracking+set}" = set; then :
  34012. enableval=$enable_dependency_tracking;
  34013. fi
  34014. @@ -4034,9 +4639,9 @@
  34015. depcc="$CC" am_compiler_list=
  34016. -{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  34017. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  34018. $as_echo_n "checking dependency style of $depcc... " >&6; }
  34019. -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  34020. +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  34021. $as_echo_n "(cached) " >&6
  34022. else
  34023. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  34024. @@ -4062,6 +4667,11 @@
  34025. if test "$am_compiler_list" = ""; then
  34026. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  34027. fi
  34028. + am__universal=false
  34029. + case " $depcc " in #(
  34030. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  34031. + esac
  34032. +
  34033. for depmode in $am_compiler_list; do
  34034. # Setup a source with many dependencies, because some compilers
  34035. # like to wrap large dependency lists on column 80 (with \), and
  34036. @@ -4079,7 +4689,17 @@
  34037. done
  34038. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  34039. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  34040. + # mode. It turns out that the SunPro C++ compiler does not properly
  34041. + # handle `-M -o', and we need to detect this. Also, some Intel
  34042. + # versions had trouble with output in subdirs
  34043. + am__obj=sub/conftest.${OBJEXT-o}
  34044. + am__minus_obj="-o $am__obj"
  34045. case $depmode in
  34046. + gcc)
  34047. + # This depmode causes a compiler race in universal mode.
  34048. + test "$am__universal" = false || continue
  34049. + ;;
  34050. nosideeffect)
  34051. # after this tag, mechanisms are not by side-effect, so they'll
  34052. # only be used when explicitly requested
  34053. @@ -4089,19 +4709,23 @@
  34054. break
  34055. fi
  34056. ;;
  34057. + msvisualcpp | msvcmsys)
  34058. + # This compiler won't grok `-c -o', but also, the minuso test has
  34059. + # not run yet. These depmodes are late enough in the game, and
  34060. + # so weak that their functioning should not be impacted.
  34061. + am__obj=conftest.${OBJEXT-o}
  34062. + am__minus_obj=
  34063. + ;;
  34064. none) break ;;
  34065. esac
  34066. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  34067. - # mode. It turns out that the SunPro C++ compiler does not properly
  34068. - # handle `-M -o', and we need to detect this.
  34069. if depmode=$depmode \
  34070. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  34071. + source=sub/conftest.c object=$am__obj \
  34072. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  34073. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  34074. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  34075. >/dev/null 2>conftest.err &&
  34076. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  34077. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  34078. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  34079. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  34080. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  34081. # icc doesn't choke on unknown options, it will just issue warnings
  34082. # or remarks (even with -Werror). So we grep stderr for any message
  34083. @@ -4125,7 +4749,7 @@
  34084. fi
  34085. fi
  34086. -{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  34087. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  34088. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  34089. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  34090. @@ -4141,22 +4765,18 @@
  34091. if test "x$CC" != xcc; then
  34092. - { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
  34093. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
  34094. $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
  34095. else
  34096. - { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
  34097. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
  34098. $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
  34099. fi
  34100. set dummy $CC; ac_cc=`$as_echo "$2" |
  34101. sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  34102. -if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
  34103. +if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
  34104. $as_echo_n "(cached) " >&6
  34105. else
  34106. - cat >conftest.$ac_ext <<_ACEOF
  34107. -/* confdefs.h. */
  34108. -_ACEOF
  34109. -cat confdefs.h >>conftest.$ac_ext
  34110. -cat >>conftest.$ac_ext <<_ACEOF
  34111. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34112. /* end confdefs.h. */
  34113. int
  34114. @@ -4172,63 +4792,63 @@
  34115. # existing .o file with -o, though they will create one.
  34116. ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  34117. rm -f conftest2.*
  34118. -if { (case "(($ac_try" in
  34119. +if { { case "(($ac_try" in
  34120. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34121. *) ac_try_echo=$ac_try;;
  34122. esac
  34123. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  34124. -$as_echo "$ac_try_echo") >&5
  34125. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  34126. +$as_echo "$ac_try_echo"; } >&5
  34127. (eval "$ac_try") 2>&5
  34128. ac_status=$?
  34129. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34130. - (exit $ac_status); } &&
  34131. - test -f conftest2.$ac_objext && { (case "(($ac_try" in
  34132. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  34133. + test $ac_status = 0; } &&
  34134. + test -f conftest2.$ac_objext && { { case "(($ac_try" in
  34135. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34136. *) ac_try_echo=$ac_try;;
  34137. esac
  34138. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  34139. -$as_echo "$ac_try_echo") >&5
  34140. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  34141. +$as_echo "$ac_try_echo"; } >&5
  34142. (eval "$ac_try") 2>&5
  34143. ac_status=$?
  34144. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34145. - (exit $ac_status); };
  34146. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  34147. + test $ac_status = 0; };
  34148. then
  34149. eval ac_cv_prog_cc_${ac_cc}_c_o=yes
  34150. if test "x$CC" != xcc; then
  34151. # Test first that cc exists at all.
  34152. if { ac_try='cc -c conftest.$ac_ext >&5'
  34153. - { (case "(($ac_try" in
  34154. + { { case "(($ac_try" in
  34155. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34156. *) ac_try_echo=$ac_try;;
  34157. esac
  34158. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  34159. -$as_echo "$ac_try_echo") >&5
  34160. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  34161. +$as_echo "$ac_try_echo"; } >&5
  34162. (eval "$ac_try") 2>&5
  34163. ac_status=$?
  34164. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34165. - (exit $ac_status); }; }; then
  34166. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  34167. + test $ac_status = 0; }; }; then
  34168. ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  34169. rm -f conftest2.*
  34170. - if { (case "(($ac_try" in
  34171. + if { { case "(($ac_try" in
  34172. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34173. *) ac_try_echo=$ac_try;;
  34174. esac
  34175. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  34176. -$as_echo "$ac_try_echo") >&5
  34177. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  34178. +$as_echo "$ac_try_echo"; } >&5
  34179. (eval "$ac_try") 2>&5
  34180. ac_status=$?
  34181. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34182. - (exit $ac_status); } &&
  34183. - test -f conftest2.$ac_objext && { (case "(($ac_try" in
  34184. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  34185. + test $ac_status = 0; } &&
  34186. + test -f conftest2.$ac_objext && { { case "(($ac_try" in
  34187. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34188. *) ac_try_echo=$ac_try;;
  34189. esac
  34190. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  34191. -$as_echo "$ac_try_echo") >&5
  34192. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  34193. +$as_echo "$ac_try_echo"; } >&5
  34194. (eval "$ac_try") 2>&5
  34195. ac_status=$?
  34196. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34197. - (exit $ac_status); };
  34198. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  34199. + test $ac_status = 0; };
  34200. then
  34201. # cc works too.
  34202. :
  34203. @@ -4245,23 +4865,22 @@
  34204. fi
  34205. if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
  34206. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  34207. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  34208. $as_echo "yes" >&6; }
  34209. else
  34210. - { $as_echo "$as_me:$LINENO: result: no" >&5
  34211. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  34212. $as_echo "no" >&6; }
  34213. -cat >>confdefs.h <<\_ACEOF
  34214. -#define NO_MINUS_C_MINUS_O 1
  34215. -_ACEOF
  34216. +$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
  34217. fi
  34218. # FIXME: we rely on the cache variable name because
  34219. # there is no other way.
  34220. set dummy $CC
  34221. -ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  34222. -if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
  34223. +am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  34224. +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
  34225. +if test "$am_t" != yes; then
  34226. # Losing compiler, so override with the script.
  34227. # FIXME: It is wrong to rewrite CC.
  34228. # But if we don't then we get into trouble of one sort or another.
  34229. @@ -4291,9 +4910,9 @@
  34230. do
  34231. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  34232. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  34233. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  34234. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  34235. $as_echo_n "checking for $ac_word... " >&6; }
  34236. -if test "${ac_cv_prog_CXX+set}" = set; then
  34237. +if test "${ac_cv_prog_CXX+set}" = set; then :
  34238. $as_echo_n "(cached) " >&6
  34239. else
  34240. if test -n "$CXX"; then
  34241. @@ -4304,24 +4923,24 @@
  34242. do
  34243. IFS=$as_save_IFS
  34244. test -z "$as_dir" && as_dir=.
  34245. - for ac_exec_ext in '' $ac_executable_extensions; do
  34246. + for ac_exec_ext in '' $ac_executable_extensions; do
  34247. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  34248. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  34249. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  34250. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  34251. break 2
  34252. fi
  34253. done
  34254. -done
  34255. + done
  34256. IFS=$as_save_IFS
  34257. fi
  34258. fi
  34259. CXX=$ac_cv_prog_CXX
  34260. if test -n "$CXX"; then
  34261. - { $as_echo "$as_me:$LINENO: result: $CXX" >&5
  34262. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  34263. $as_echo "$CXX" >&6; }
  34264. else
  34265. - { $as_echo "$as_me:$LINENO: result: no" >&5
  34266. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  34267. $as_echo "no" >&6; }
  34268. fi
  34269. @@ -4335,9 +4954,9 @@
  34270. do
  34271. # Extract the first word of "$ac_prog", so it can be a program name with args.
  34272. set dummy $ac_prog; ac_word=$2
  34273. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  34274. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  34275. $as_echo_n "checking for $ac_word... " >&6; }
  34276. -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
  34277. +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
  34278. $as_echo_n "(cached) " >&6
  34279. else
  34280. if test -n "$ac_ct_CXX"; then
  34281. @@ -4348,24 +4967,24 @@
  34282. do
  34283. IFS=$as_save_IFS
  34284. test -z "$as_dir" && as_dir=.
  34285. - for ac_exec_ext in '' $ac_executable_extensions; do
  34286. + for ac_exec_ext in '' $ac_executable_extensions; do
  34287. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  34288. ac_cv_prog_ac_ct_CXX="$ac_prog"
  34289. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  34290. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  34291. break 2
  34292. fi
  34293. done
  34294. -done
  34295. + done
  34296. IFS=$as_save_IFS
  34297. fi
  34298. fi
  34299. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  34300. if test -n "$ac_ct_CXX"; then
  34301. - { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
  34302. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  34303. $as_echo "$ac_ct_CXX" >&6; }
  34304. else
  34305. - { $as_echo "$as_me:$LINENO: result: no" >&5
  34306. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  34307. $as_echo "no" >&6; }
  34308. fi
  34309. @@ -4378,12 +4997,8 @@
  34310. else
  34311. case $cross_compiling:$ac_tool_warned in
  34312. yes:)
  34313. -{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  34314. -whose name does not start with the host triplet. If you think this
  34315. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  34316. -$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  34317. -whose name does not start with the host triplet. If you think this
  34318. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  34319. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  34320. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  34321. ac_tool_warned=yes ;;
  34322. esac
  34323. CXX=$ac_ct_CXX
  34324. @@ -4393,53 +5008,36 @@
  34325. fi
  34326. fi
  34327. # Provide some information about the compiler.
  34328. -$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
  34329. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  34330. set X $ac_compile
  34331. ac_compiler=$2
  34332. -{ (ac_try="$ac_compiler --version >&5"
  34333. -case "(($ac_try" in
  34334. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34335. - *) ac_try_echo=$ac_try;;
  34336. -esac
  34337. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  34338. -$as_echo "$ac_try_echo") >&5
  34339. - (eval "$ac_compiler --version >&5") 2>&5
  34340. - ac_status=$?
  34341. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34342. - (exit $ac_status); }
  34343. -{ (ac_try="$ac_compiler -v >&5"
  34344. -case "(($ac_try" in
  34345. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34346. - *) ac_try_echo=$ac_try;;
  34347. -esac
  34348. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  34349. -$as_echo "$ac_try_echo") >&5
  34350. - (eval "$ac_compiler -v >&5") 2>&5
  34351. - ac_status=$?
  34352. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34353. - (exit $ac_status); }
  34354. -{ (ac_try="$ac_compiler -V >&5"
  34355. +for ac_option in --version -v -V -qversion; do
  34356. + { { ac_try="$ac_compiler $ac_option >&5"
  34357. case "(($ac_try" in
  34358. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34359. *) ac_try_echo=$ac_try;;
  34360. esac
  34361. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  34362. -$as_echo "$ac_try_echo") >&5
  34363. - (eval "$ac_compiler -V >&5") 2>&5
  34364. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  34365. +$as_echo "$ac_try_echo"; } >&5
  34366. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  34367. ac_status=$?
  34368. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34369. - (exit $ac_status); }
  34370. + if test -s conftest.err; then
  34371. + sed '10a\
  34372. +... rest of stderr output deleted ...
  34373. + 10q' conftest.err >conftest.er1
  34374. + cat conftest.er1 >&5
  34375. + fi
  34376. + rm -f conftest.er1 conftest.err
  34377. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  34378. + test $ac_status = 0; }
  34379. +done
  34380. -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
  34381. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  34382. $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  34383. -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
  34384. +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
  34385. $as_echo_n "(cached) " >&6
  34386. else
  34387. - cat >conftest.$ac_ext <<_ACEOF
  34388. -/* confdefs.h. */
  34389. -_ACEOF
  34390. -cat confdefs.h >>conftest.$ac_ext
  34391. -cat >>conftest.$ac_ext <<_ACEOF
  34392. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34393. /* end confdefs.h. */
  34394. int
  34395. @@ -4453,37 +5051,16 @@
  34396. return 0;
  34397. }
  34398. _ACEOF
  34399. -rm -f conftest.$ac_objext
  34400. -if { (ac_try="$ac_compile"
  34401. -case "(($ac_try" in
  34402. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34403. - *) ac_try_echo=$ac_try;;
  34404. -esac
  34405. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  34406. -$as_echo "$ac_try_echo") >&5
  34407. - (eval "$ac_compile") 2>conftest.er1
  34408. - ac_status=$?
  34409. - grep -v '^ *+' conftest.er1 >conftest.err
  34410. - rm -f conftest.er1
  34411. - cat conftest.err >&5
  34412. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34413. - (exit $ac_status); } && {
  34414. - test -z "$ac_cxx_werror_flag" ||
  34415. - test ! -s conftest.err
  34416. - } && test -s conftest.$ac_objext; then
  34417. +if ac_fn_cxx_try_compile "$LINENO"; then :
  34418. ac_compiler_gnu=yes
  34419. else
  34420. - $as_echo "$as_me: failed program was:" >&5
  34421. -sed 's/^/| /' conftest.$ac_ext >&5
  34422. -
  34423. - ac_compiler_gnu=no
  34424. + ac_compiler_gnu=no
  34425. fi
  34426. -
  34427. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  34428. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  34429. fi
  34430. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
  34431. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  34432. $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  34433. if test $ac_compiler_gnu = yes; then
  34434. GXX=yes
  34435. @@ -4492,20 +5069,16 @@
  34436. fi
  34437. ac_test_CXXFLAGS=${CXXFLAGS+set}
  34438. ac_save_CXXFLAGS=$CXXFLAGS
  34439. -{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
  34440. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  34441. $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  34442. -if test "${ac_cv_prog_cxx_g+set}" = set; then
  34443. +if test "${ac_cv_prog_cxx_g+set}" = set; then :
  34444. $as_echo_n "(cached) " >&6
  34445. else
  34446. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  34447. ac_cxx_werror_flag=yes
  34448. ac_cv_prog_cxx_g=no
  34449. CXXFLAGS="-g"
  34450. - cat >conftest.$ac_ext <<_ACEOF
  34451. -/* confdefs.h. */
  34452. -_ACEOF
  34453. -cat confdefs.h >>conftest.$ac_ext
  34454. -cat >>conftest.$ac_ext <<_ACEOF
  34455. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34456. /* end confdefs.h. */
  34457. int
  34458. @@ -4516,35 +5089,11 @@
  34459. return 0;
  34460. }
  34461. _ACEOF
  34462. -rm -f conftest.$ac_objext
  34463. -if { (ac_try="$ac_compile"
  34464. -case "(($ac_try" in
  34465. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34466. - *) ac_try_echo=$ac_try;;
  34467. -esac
  34468. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  34469. -$as_echo "$ac_try_echo") >&5
  34470. - (eval "$ac_compile") 2>conftest.er1
  34471. - ac_status=$?
  34472. - grep -v '^ *+' conftest.er1 >conftest.err
  34473. - rm -f conftest.er1
  34474. - cat conftest.err >&5
  34475. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34476. - (exit $ac_status); } && {
  34477. - test -z "$ac_cxx_werror_flag" ||
  34478. - test ! -s conftest.err
  34479. - } && test -s conftest.$ac_objext; then
  34480. +if ac_fn_cxx_try_compile "$LINENO"; then :
  34481. ac_cv_prog_cxx_g=yes
  34482. else
  34483. - $as_echo "$as_me: failed program was:" >&5
  34484. -sed 's/^/| /' conftest.$ac_ext >&5
  34485. -
  34486. - CXXFLAGS=""
  34487. - cat >conftest.$ac_ext <<_ACEOF
  34488. -/* confdefs.h. */
  34489. -_ACEOF
  34490. -cat confdefs.h >>conftest.$ac_ext
  34491. -cat >>conftest.$ac_ext <<_ACEOF
  34492. + CXXFLAGS=""
  34493. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34494. /* end confdefs.h. */
  34495. int
  34496. @@ -4555,36 +5104,12 @@
  34497. return 0;
  34498. }
  34499. _ACEOF
  34500. -rm -f conftest.$ac_objext
  34501. -if { (ac_try="$ac_compile"
  34502. -case "(($ac_try" in
  34503. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34504. - *) ac_try_echo=$ac_try;;
  34505. -esac
  34506. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  34507. -$as_echo "$ac_try_echo") >&5
  34508. - (eval "$ac_compile") 2>conftest.er1
  34509. - ac_status=$?
  34510. - grep -v '^ *+' conftest.er1 >conftest.err
  34511. - rm -f conftest.er1
  34512. - cat conftest.err >&5
  34513. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34514. - (exit $ac_status); } && {
  34515. - test -z "$ac_cxx_werror_flag" ||
  34516. - test ! -s conftest.err
  34517. - } && test -s conftest.$ac_objext; then
  34518. - :
  34519. -else
  34520. - $as_echo "$as_me: failed program was:" >&5
  34521. -sed 's/^/| /' conftest.$ac_ext >&5
  34522. +if ac_fn_cxx_try_compile "$LINENO"; then :
  34523. - ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  34524. +else
  34525. + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  34526. CXXFLAGS="-g"
  34527. - cat >conftest.$ac_ext <<_ACEOF
  34528. -/* confdefs.h. */
  34529. -_ACEOF
  34530. -cat confdefs.h >>conftest.$ac_ext
  34531. -cat >>conftest.$ac_ext <<_ACEOF
  34532. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34533. /* end confdefs.h. */
  34534. int
  34535. @@ -4595,42 +5120,17 @@
  34536. return 0;
  34537. }
  34538. _ACEOF
  34539. -rm -f conftest.$ac_objext
  34540. -if { (ac_try="$ac_compile"
  34541. -case "(($ac_try" in
  34542. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34543. - *) ac_try_echo=$ac_try;;
  34544. -esac
  34545. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  34546. -$as_echo "$ac_try_echo") >&5
  34547. - (eval "$ac_compile") 2>conftest.er1
  34548. - ac_status=$?
  34549. - grep -v '^ *+' conftest.er1 >conftest.err
  34550. - rm -f conftest.er1
  34551. - cat conftest.err >&5
  34552. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34553. - (exit $ac_status); } && {
  34554. - test -z "$ac_cxx_werror_flag" ||
  34555. - test ! -s conftest.err
  34556. - } && test -s conftest.$ac_objext; then
  34557. +if ac_fn_cxx_try_compile "$LINENO"; then :
  34558. ac_cv_prog_cxx_g=yes
  34559. -else
  34560. - $as_echo "$as_me: failed program was:" >&5
  34561. -sed 's/^/| /' conftest.$ac_ext >&5
  34562. -
  34563. -
  34564. fi
  34565. -
  34566. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  34567. fi
  34568. -
  34569. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  34570. fi
  34571. -
  34572. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  34573. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  34574. fi
  34575. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
  34576. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  34577. $as_echo "$ac_cv_prog_cxx_g" >&6; }
  34578. if test "$ac_test_CXXFLAGS" = set; then
  34579. CXXFLAGS=$ac_save_CXXFLAGS
  34580. @@ -4655,9 +5155,9 @@
  34581. depcc="$CXX" am_compiler_list=
  34582. -{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  34583. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  34584. $as_echo_n "checking dependency style of $depcc... " >&6; }
  34585. -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
  34586. +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
  34587. $as_echo_n "(cached) " >&6
  34588. else
  34589. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  34590. @@ -4683,6 +5183,11 @@
  34591. if test "$am_compiler_list" = ""; then
  34592. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  34593. fi
  34594. + am__universal=false
  34595. + case " $depcc " in #(
  34596. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  34597. + esac
  34598. +
  34599. for depmode in $am_compiler_list; do
  34600. # Setup a source with many dependencies, because some compilers
  34601. # like to wrap large dependency lists on column 80 (with \), and
  34602. @@ -4700,7 +5205,17 @@
  34603. done
  34604. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  34605. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  34606. + # mode. It turns out that the SunPro C++ compiler does not properly
  34607. + # handle `-M -o', and we need to detect this. Also, some Intel
  34608. + # versions had trouble with output in subdirs
  34609. + am__obj=sub/conftest.${OBJEXT-o}
  34610. + am__minus_obj="-o $am__obj"
  34611. case $depmode in
  34612. + gcc)
  34613. + # This depmode causes a compiler race in universal mode.
  34614. + test "$am__universal" = false || continue
  34615. + ;;
  34616. nosideeffect)
  34617. # after this tag, mechanisms are not by side-effect, so they'll
  34618. # only be used when explicitly requested
  34619. @@ -4710,19 +5225,23 @@
  34620. break
  34621. fi
  34622. ;;
  34623. + msvisualcpp | msvcmsys)
  34624. + # This compiler won't grok `-c -o', but also, the minuso test has
  34625. + # not run yet. These depmodes are late enough in the game, and
  34626. + # so weak that their functioning should not be impacted.
  34627. + am__obj=conftest.${OBJEXT-o}
  34628. + am__minus_obj=
  34629. + ;;
  34630. none) break ;;
  34631. esac
  34632. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  34633. - # mode. It turns out that the SunPro C++ compiler does not properly
  34634. - # handle `-M -o', and we need to detect this.
  34635. if depmode=$depmode \
  34636. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  34637. + source=sub/conftest.c object=$am__obj \
  34638. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  34639. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  34640. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  34641. >/dev/null 2>conftest.err &&
  34642. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  34643. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  34644. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  34645. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  34646. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  34647. # icc doesn't choke on unknown options, it will just issue warnings
  34648. # or remarks (even with -Werror). So we grep stderr for any message
  34649. @@ -4746,7 +5265,7 @@
  34650. fi
  34651. fi
  34652. -{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
  34653. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
  34654. $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  34655. CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  34656. @@ -4763,35 +5282,27 @@
  34657. # Make sure we can run config.sub.
  34658. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  34659. - { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  34660. -$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  34661. - { (exit 1); exit 1; }; }
  34662. + as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  34663. -{ $as_echo "$as_me:$LINENO: checking build system type" >&5
  34664. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  34665. $as_echo_n "checking build system type... " >&6; }
  34666. -if test "${ac_cv_build+set}" = set; then
  34667. +if test "${ac_cv_build+set}" = set; then :
  34668. $as_echo_n "(cached) " >&6
  34669. else
  34670. ac_build_alias=$build_alias
  34671. test "x$ac_build_alias" = x &&
  34672. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  34673. test "x$ac_build_alias" = x &&
  34674. - { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  34675. -$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  34676. - { (exit 1); exit 1; }; }
  34677. + as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
  34678. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  34679. - { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  34680. -$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  34681. - { (exit 1); exit 1; }; }
  34682. + as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  34683. fi
  34684. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  34685. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  34686. $as_echo "$ac_cv_build" >&6; }
  34687. case $ac_cv_build in
  34688. *-*-*) ;;
  34689. -*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  34690. -$as_echo "$as_me: error: invalid value of canonical build" >&2;}
  34691. - { (exit 1); exit 1; }; };;
  34692. +*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
  34693. esac
  34694. build=$ac_cv_build
  34695. ac_save_IFS=$IFS; IFS='-'
  34696. @@ -4807,28 +5318,24 @@
  34697. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  34698. -{ $as_echo "$as_me:$LINENO: checking host system type" >&5
  34699. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  34700. $as_echo_n "checking host system type... " >&6; }
  34701. -if test "${ac_cv_host+set}" = set; then
  34702. +if test "${ac_cv_host+set}" = set; then :
  34703. $as_echo_n "(cached) " >&6
  34704. else
  34705. if test "x$host_alias" = x; then
  34706. ac_cv_host=$ac_cv_build
  34707. else
  34708. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  34709. - { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  34710. -$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  34711. - { (exit 1); exit 1; }; }
  34712. + as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  34713. fi
  34714. fi
  34715. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  34716. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  34717. $as_echo "$ac_cv_host" >&6; }
  34718. case $ac_cv_host in
  34719. *-*-*) ;;
  34720. -*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  34721. -$as_echo "$as_me: error: invalid value of canonical host" >&2;}
  34722. - { (exit 1); exit 1; }; };;
  34723. +*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
  34724. esac
  34725. host=$ac_cv_host
  34726. ac_save_IFS=$IFS; IFS='-'
  34727. @@ -4845,7 +5352,7 @@
  34728. # Check whether --enable-shared was given.
  34729. -if test "${enable_shared+set}" = set; then
  34730. +if test "${enable_shared+set}" = set; then :
  34731. enableval=$enable_shared; p=${PACKAGE-default}
  34732. case $enableval in
  34733. yes) enable_shared=yes ;;
  34734. @@ -4869,116 +5376,122 @@
  34735. -# Check whether --enable-static was given.
  34736. -if test "${enable_static+set}" = set; then
  34737. - enableval=$enable_static; p=${PACKAGE-default}
  34738. - case $enableval in
  34739. - yes) enable_static=yes ;;
  34740. - no) enable_static=no ;;
  34741. - *)
  34742. - enable_static=no
  34743. - # Look at the argument we got. We use all the common list separators.
  34744. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  34745. - for pkg in $enableval; do
  34746. - IFS="$lt_save_ifs"
  34747. - if test "X$pkg" = "X$p"; then
  34748. - enable_static=yes
  34749. - fi
  34750. - done
  34751. - IFS="$lt_save_ifs"
  34752. - ;;
  34753. - esac
  34754. -else
  34755. - enable_static=yes
  34756. -fi
  34757. -# Check whether --enable-fast-install was given.
  34758. -if test "${enable_fast_install+set}" = set; then
  34759. - enableval=$enable_fast_install; p=${PACKAGE-default}
  34760. - case $enableval in
  34761. - yes) enable_fast_install=yes ;;
  34762. - no) enable_fast_install=no ;;
  34763. - *)
  34764. - enable_fast_install=no
  34765. - # Look at the argument we got. We use all the common list separators.
  34766. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  34767. - for pkg in $enableval; do
  34768. - IFS="$lt_save_ifs"
  34769. - if test "X$pkg" = "X$p"; then
  34770. - enable_fast_install=yes
  34771. - fi
  34772. - done
  34773. - IFS="$lt_save_ifs"
  34774. - ;;
  34775. - esac
  34776. -else
  34777. - enable_fast_install=yes
  34778. -fi
  34779. -{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  34780. -$as_echo_n "checking for a sed that does not truncate output... " >&6; }
  34781. -if test "${lt_cv_path_SED+set}" = set; then
  34782. - $as_echo_n "(cached) " >&6
  34783. -else
  34784. - # Loop through the user's path and test for sed and gsed.
  34785. -# Then use that list of sed's as ones to test for truncation.
  34786. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  34787. -for as_dir in $PATH
  34788. -do
  34789. +
  34790. +
  34791. +case `pwd` in
  34792. + *\ * | *\ *)
  34793. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  34794. +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  34795. +esac
  34796. +
  34797. +
  34798. +
  34799. +macro_version='2.2.6b'
  34800. +macro_revision='1.3017'
  34801. +
  34802. +
  34803. +
  34804. +
  34805. +
  34806. +
  34807. +
  34808. +
  34809. +
  34810. +
  34811. +
  34812. +
  34813. +
  34814. +ltmain="$ac_aux_dir/ltmain.sh"
  34815. +
  34816. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  34817. +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
  34818. +if test "${ac_cv_path_SED+set}" = set; then :
  34819. + $as_echo_n "(cached) " >&6
  34820. +else
  34821. + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  34822. + for ac_i in 1 2 3 4 5 6 7; do
  34823. + ac_script="$ac_script$as_nl$ac_script"
  34824. + done
  34825. + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  34826. + { ac_script=; unset ac_script;}
  34827. + if test -z "$SED"; then
  34828. + ac_path_SED_found=false
  34829. + # Loop through the user's path and test for each of PROGNAME-LIST
  34830. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  34831. +for as_dir in $PATH
  34832. +do
  34833. IFS=$as_save_IFS
  34834. test -z "$as_dir" && as_dir=.
  34835. - for lt_ac_prog in sed gsed; do
  34836. + for ac_prog in sed gsed; do
  34837. for ac_exec_ext in '' $ac_executable_extensions; do
  34838. - if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
  34839. - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  34840. - fi
  34841. + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  34842. + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  34843. +# Check for GNU ac_path_SED and select it if it is found.
  34844. + # Check for GNU $ac_path_SED
  34845. +case `"$ac_path_SED" --version 2>&1` in
  34846. +*GNU*)
  34847. + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  34848. +*)
  34849. + ac_count=0
  34850. + $as_echo_n 0123456789 >"conftest.in"
  34851. + while :
  34852. + do
  34853. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  34854. + mv "conftest.tmp" "conftest.in"
  34855. + cp "conftest.in" "conftest.nl"
  34856. + $as_echo '' >> "conftest.nl"
  34857. + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  34858. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  34859. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  34860. + if test $ac_count -gt ${ac_path_SED_max-0}; then
  34861. + # Best one so far, save it but keep looking for a better one
  34862. + ac_cv_path_SED="$ac_path_SED"
  34863. + ac_path_SED_max=$ac_count
  34864. + fi
  34865. + # 10*(2^10) chars as input seems more than enough
  34866. + test $ac_count -gt 10 && break
  34867. + done
  34868. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  34869. +esac
  34870. +
  34871. + $ac_path_SED_found && break 3
  34872. done
  34873. done
  34874. -done
  34875. + done
  34876. IFS=$as_save_IFS
  34877. -lt_ac_max=0
  34878. -lt_ac_count=0
  34879. -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
  34880. -# along with /bin/sed that truncates output.
  34881. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  34882. - test ! -f $lt_ac_sed && continue
  34883. - cat /dev/null > conftest.in
  34884. - lt_ac_count=0
  34885. - echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  34886. - # Check for GNU sed and select it if it is found.
  34887. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
  34888. - lt_cv_path_SED=$lt_ac_sed
  34889. - break
  34890. + if test -z "$ac_cv_path_SED"; then
  34891. + as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
  34892. fi
  34893. - while true; do
  34894. - cat conftest.in conftest.in >conftest.tmp
  34895. - mv conftest.tmp conftest.in
  34896. - cp conftest.in conftest.nl
  34897. - echo >>conftest.nl
  34898. - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  34899. - cmp -s conftest.out conftest.nl || break
  34900. - # 10000 chars as input seems more than enough
  34901. - test $lt_ac_count -gt 10 && break
  34902. - lt_ac_count=`expr $lt_ac_count + 1`
  34903. - if test $lt_ac_count -gt $lt_ac_max; then
  34904. - lt_ac_max=$lt_ac_count
  34905. - lt_cv_path_SED=$lt_ac_sed
  34906. - fi
  34907. - done
  34908. -done
  34909. +else
  34910. + ac_cv_path_SED=$SED
  34911. +fi
  34912. fi
  34913. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  34914. +$as_echo "$ac_cv_path_SED" >&6; }
  34915. + SED="$ac_cv_path_SED"
  34916. + rm -f conftest.sed
  34917. +
  34918. +test -z "$SED" && SED=sed
  34919. +Xsed="$SED -e 1s/^X//"
  34920. +
  34921. +
  34922. +
  34923. +
  34924. +
  34925. +
  34926. -SED=$lt_cv_path_SED
  34927. -{ $as_echo "$as_me:$LINENO: result: $SED" >&5
  34928. -$as_echo "$SED" >&6; }
  34929. -{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  34930. +
  34931. +
  34932. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  34933. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  34934. -if test "${ac_cv_path_GREP+set}" = set; then
  34935. +if test "${ac_cv_path_GREP+set}" = set; then :
  34936. $as_echo_n "(cached) " >&6
  34937. else
  34938. if test -z "$GREP"; then
  34939. @@ -4989,7 +5502,7 @@
  34940. do
  34941. IFS=$as_save_IFS
  34942. test -z "$as_dir" && as_dir=.
  34943. - for ac_prog in grep ggrep; do
  34944. + for ac_prog in grep ggrep; do
  34945. for ac_exec_ext in '' $ac_executable_extensions; do
  34946. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  34947. { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  34948. @@ -5009,7 +5522,7 @@
  34949. $as_echo 'GREP' >> "conftest.nl"
  34950. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  34951. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  34952. - ac_count=`expr $ac_count + 1`
  34953. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  34954. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  34955. # Best one so far, save it but keep looking for a better one
  34956. ac_cv_path_GREP="$ac_path_GREP"
  34957. @@ -5024,26 +5537,24 @@
  34958. $ac_path_GREP_found && break 3
  34959. done
  34960. done
  34961. -done
  34962. + done
  34963. IFS=$as_save_IFS
  34964. if test -z "$ac_cv_path_GREP"; then
  34965. - { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  34966. -$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  34967. - { (exit 1); exit 1; }; }
  34968. + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  34969. fi
  34970. else
  34971. ac_cv_path_GREP=$GREP
  34972. fi
  34973. fi
  34974. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  34975. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  34976. $as_echo "$ac_cv_path_GREP" >&6; }
  34977. GREP="$ac_cv_path_GREP"
  34978. -{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
  34979. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  34980. $as_echo_n "checking for egrep... " >&6; }
  34981. -if test "${ac_cv_path_EGREP+set}" = set; then
  34982. +if test "${ac_cv_path_EGREP+set}" = set; then :
  34983. $as_echo_n "(cached) " >&6
  34984. else
  34985. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  34986. @@ -5057,7 +5568,7 @@
  34987. do
  34988. IFS=$as_save_IFS
  34989. test -z "$as_dir" && as_dir=.
  34990. - for ac_prog in egrep; do
  34991. + for ac_prog in egrep; do
  34992. for ac_exec_ext in '' $ac_executable_extensions; do
  34993. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  34994. { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  34995. @@ -5077,7 +5588,7 @@
  34996. $as_echo 'EGREP' >> "conftest.nl"
  34997. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  34998. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  34999. - ac_count=`expr $ac_count + 1`
  35000. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  35001. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  35002. # Best one so far, save it but keep looking for a better one
  35003. ac_cv_path_EGREP="$ac_path_EGREP"
  35004. @@ -5092,12 +5603,10 @@
  35005. $ac_path_EGREP_found && break 3
  35006. done
  35007. done
  35008. -done
  35009. + done
  35010. IFS=$as_save_IFS
  35011. if test -z "$ac_cv_path_EGREP"; then
  35012. - { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  35013. -$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  35014. - { (exit 1); exit 1; }; }
  35015. + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  35016. fi
  35017. else
  35018. ac_cv_path_EGREP=$EGREP
  35019. @@ -5105,14 +5614,100 @@
  35020. fi
  35021. fi
  35022. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  35023. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  35024. $as_echo "$ac_cv_path_EGREP" >&6; }
  35025. EGREP="$ac_cv_path_EGREP"
  35026. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  35027. +$as_echo_n "checking for fgrep... " >&6; }
  35028. +if test "${ac_cv_path_FGREP+set}" = set; then :
  35029. + $as_echo_n "(cached) " >&6
  35030. +else
  35031. + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  35032. + then ac_cv_path_FGREP="$GREP -F"
  35033. + else
  35034. + if test -z "$FGREP"; then
  35035. + ac_path_FGREP_found=false
  35036. + # Loop through the user's path and test for each of PROGNAME-LIST
  35037. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  35038. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  35039. +do
  35040. + IFS=$as_save_IFS
  35041. + test -z "$as_dir" && as_dir=.
  35042. + for ac_prog in fgrep; do
  35043. + for ac_exec_ext in '' $ac_executable_extensions; do
  35044. + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  35045. + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  35046. +# Check for GNU ac_path_FGREP and select it if it is found.
  35047. + # Check for GNU $ac_path_FGREP
  35048. +case `"$ac_path_FGREP" --version 2>&1` in
  35049. +*GNU*)
  35050. + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  35051. +*)
  35052. + ac_count=0
  35053. + $as_echo_n 0123456789 >"conftest.in"
  35054. + while :
  35055. + do
  35056. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  35057. + mv "conftest.tmp" "conftest.in"
  35058. + cp "conftest.in" "conftest.nl"
  35059. + $as_echo 'FGREP' >> "conftest.nl"
  35060. + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  35061. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  35062. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  35063. + if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  35064. + # Best one so far, save it but keep looking for a better one
  35065. + ac_cv_path_FGREP="$ac_path_FGREP"
  35066. + ac_path_FGREP_max=$ac_count
  35067. + fi
  35068. + # 10*(2^10) chars as input seems more than enough
  35069. + test $ac_count -gt 10 && break
  35070. + done
  35071. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  35072. +esac
  35073. +
  35074. + $ac_path_FGREP_found && break 3
  35075. + done
  35076. + done
  35077. + done
  35078. +IFS=$as_save_IFS
  35079. + if test -z "$ac_cv_path_FGREP"; then
  35080. + as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  35081. + fi
  35082. +else
  35083. + ac_cv_path_FGREP=$FGREP
  35084. +fi
  35085. +
  35086. + fi
  35087. +fi
  35088. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  35089. +$as_echo "$ac_cv_path_FGREP" >&6; }
  35090. + FGREP="$ac_cv_path_FGREP"
  35091. +
  35092. +
  35093. +test -z "$GREP" && GREP=grep
  35094. +
  35095. +
  35096. +
  35097. +
  35098. +
  35099. +
  35100. +
  35101. +
  35102. +
  35103. +
  35104. +
  35105. +
  35106. +
  35107. +
  35108. +
  35109. +
  35110. +
  35111. +
  35112. # Check whether --with-gnu-ld was given.
  35113. -if test "${with_gnu_ld+set}" = set; then
  35114. +if test "${with_gnu_ld+set}" = set; then :
  35115. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  35116. else
  35117. with_gnu_ld=no
  35118. @@ -5121,7 +5716,7 @@
  35119. ac_prog=ld
  35120. if test "$GCC" = yes; then
  35121. # Check if gcc -print-prog-name=ld gives a path.
  35122. - { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  35123. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  35124. $as_echo_n "checking for ld used by $CC... " >&6; }
  35125. case $host in
  35126. *-*-mingw*)
  35127. @@ -5135,9 +5730,9 @@
  35128. [\\/]* | ?:[\\/]*)
  35129. re_direlt='/[^/][^/]*/\.\./'
  35130. # Canonicalize the pathname of ld
  35131. - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
  35132. - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  35133. - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
  35134. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  35135. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  35136. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  35137. done
  35138. test -z "$LD" && LD="$ac_prog"
  35139. ;;
  35140. @@ -5151,13 +5746,13 @@
  35141. ;;
  35142. esac
  35143. elif test "$with_gnu_ld" = yes; then
  35144. - { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
  35145. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  35146. $as_echo_n "checking for GNU ld... " >&6; }
  35147. else
  35148. - { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  35149. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  35150. $as_echo_n "checking for non-GNU ld... " >&6; }
  35151. fi
  35152. -if test "${lt_cv_path_LD+set}" = set; then
  35153. +if test "${lt_cv_path_LD+set}" = set; then :
  35154. $as_echo_n "(cached) " >&6
  35155. else
  35156. if test -z "$LD"; then
  35157. @@ -5188,18 +5783,16 @@
  35158. LD="$lt_cv_path_LD"
  35159. if test -n "$LD"; then
  35160. - { $as_echo "$as_me:$LINENO: result: $LD" >&5
  35161. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  35162. $as_echo "$LD" >&6; }
  35163. else
  35164. - { $as_echo "$as_me:$LINENO: result: no" >&5
  35165. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  35166. $as_echo "no" >&6; }
  35167. fi
  35168. -test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  35169. -$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  35170. - { (exit 1); exit 1; }; }
  35171. -{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  35172. +test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
  35173. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  35174. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  35175. -if test "${lt_cv_prog_gnu_ld+set}" = set; then
  35176. +if test "${lt_cv_prog_gnu_ld+set}" = set; then :
  35177. $as_echo_n "(cached) " >&6
  35178. else
  35179. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  35180. @@ -5212,39 +5805,21 @@
  35181. ;;
  35182. esac
  35183. fi
  35184. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  35185. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  35186. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  35187. with_gnu_ld=$lt_cv_prog_gnu_ld
  35188. -{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
  35189. -$as_echo_n "checking for $LD option to reload object files... " >&6; }
  35190. -if test "${lt_cv_ld_reload_flag+set}" = set; then
  35191. - $as_echo_n "(cached) " >&6
  35192. -else
  35193. - lt_cv_ld_reload_flag='-r'
  35194. -fi
  35195. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
  35196. -$as_echo "$lt_cv_ld_reload_flag" >&6; }
  35197. -reload_flag=$lt_cv_ld_reload_flag
  35198. -case $reload_flag in
  35199. -"" | " "*) ;;
  35200. -*) reload_flag=" $reload_flag" ;;
  35201. -esac
  35202. -reload_cmds='$LD$reload_flag -o $output$reload_objs'
  35203. -case $host_os in
  35204. - darwin*)
  35205. - if test "$GCC" = yes; then
  35206. - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  35207. - else
  35208. - reload_cmds='$LD$reload_flag -o $output$reload_objs'
  35209. - fi
  35210. - ;;
  35211. -esac
  35212. -{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
  35213. -$as_echo_n "checking for BSD-compatible nm... " >&6; }
  35214. -if test "${lt_cv_path_NM+set}" = set; then
  35215. +
  35216. +
  35217. +
  35218. +
  35219. +
  35220. +
  35221. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  35222. +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  35223. +if test "${lt_cv_path_NM+set}" = set; then :
  35224. $as_echo_n "(cached) " >&6
  35225. else
  35226. if test -n "$NM"; then
  35227. @@ -5288,868 +5863,693 @@
  35228. done
  35229. IFS="$lt_save_ifs"
  35230. done
  35231. - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
  35232. + : ${lt_cv_path_NM=no}
  35233. fi
  35234. fi
  35235. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
  35236. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  35237. $as_echo "$lt_cv_path_NM" >&6; }
  35238. -NM="$lt_cv_path_NM"
  35239. +if test "$lt_cv_path_NM" != "no"; then
  35240. + NM="$lt_cv_path_NM"
  35241. +else
  35242. + # Didn't find any BSD compatible name lister, look for dumpbin.
  35243. + if test -n "$ac_tool_prefix"; then
  35244. + for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  35245. + do
  35246. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  35247. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  35248. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  35249. +$as_echo_n "checking for $ac_word... " >&6; }
  35250. +if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
  35251. + $as_echo_n "(cached) " >&6
  35252. +else
  35253. + if test -n "$DUMPBIN"; then
  35254. + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  35255. +else
  35256. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  35257. +for as_dir in $PATH
  35258. +do
  35259. + IFS=$as_save_IFS
  35260. + test -z "$as_dir" && as_dir=.
  35261. + for ac_exec_ext in '' $ac_executable_extensions; do
  35262. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  35263. + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  35264. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  35265. + break 2
  35266. + fi
  35267. +done
  35268. + done
  35269. +IFS=$as_save_IFS
  35270. -{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
  35271. -$as_echo_n "checking whether ln -s works... " >&6; }
  35272. -LN_S=$as_ln_s
  35273. -if test "$LN_S" = "ln -s"; then
  35274. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  35275. -$as_echo "yes" >&6; }
  35276. +fi
  35277. +fi
  35278. +DUMPBIN=$ac_cv_prog_DUMPBIN
  35279. +if test -n "$DUMPBIN"; then
  35280. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  35281. +$as_echo "$DUMPBIN" >&6; }
  35282. else
  35283. - { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  35284. -$as_echo "no, using $LN_S" >&6; }
  35285. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  35286. +$as_echo "no" >&6; }
  35287. fi
  35288. -{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
  35289. -$as_echo_n "checking how to recognize dependent libraries... " >&6; }
  35290. -if test "${lt_cv_deplibs_check_method+set}" = set; then
  35291. +
  35292. + test -n "$DUMPBIN" && break
  35293. + done
  35294. +fi
  35295. +if test -z "$DUMPBIN"; then
  35296. + ac_ct_DUMPBIN=$DUMPBIN
  35297. + for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  35298. +do
  35299. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  35300. +set dummy $ac_prog; ac_word=$2
  35301. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  35302. +$as_echo_n "checking for $ac_word... " >&6; }
  35303. +if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
  35304. $as_echo_n "(cached) " >&6
  35305. else
  35306. - lt_cv_file_magic_cmd='$MAGIC_CMD'
  35307. -lt_cv_file_magic_test_file=
  35308. -lt_cv_deplibs_check_method='unknown'
  35309. -# Need to set the preceding variable on all platforms that support
  35310. -# interlibrary dependencies.
  35311. -# 'none' -- dependencies not supported.
  35312. -# `unknown' -- same as none, but documents that we really don't know.
  35313. -# 'pass_all' -- all dependencies passed with no checks.
  35314. -# 'test_compile' -- check by making test program.
  35315. -# 'file_magic [[regex]]' -- check by looking for files in library path
  35316. -# which responds to the $file_magic_cmd with a given extended regex.
  35317. -# If you have `file' or equivalent on your system and you're not sure
  35318. -# whether `pass_all' will *always* work, you probably want this one.
  35319. -
  35320. -case $host_os in
  35321. -aix[4-9]*)
  35322. - lt_cv_deplibs_check_method=pass_all
  35323. - ;;
  35324. + if test -n "$ac_ct_DUMPBIN"; then
  35325. + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  35326. +else
  35327. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  35328. +for as_dir in $PATH
  35329. +do
  35330. + IFS=$as_save_IFS
  35331. + test -z "$as_dir" && as_dir=.
  35332. + for ac_exec_ext in '' $ac_executable_extensions; do
  35333. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  35334. + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  35335. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  35336. + break 2
  35337. + fi
  35338. +done
  35339. + done
  35340. +IFS=$as_save_IFS
  35341. -beos*)
  35342. - lt_cv_deplibs_check_method=pass_all
  35343. - ;;
  35344. +fi
  35345. +fi
  35346. +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  35347. +if test -n "$ac_ct_DUMPBIN"; then
  35348. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  35349. +$as_echo "$ac_ct_DUMPBIN" >&6; }
  35350. +else
  35351. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  35352. +$as_echo "no" >&6; }
  35353. +fi
  35354. -bsdi[45]*)
  35355. - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  35356. - lt_cv_file_magic_cmd='/usr/bin/file -L'
  35357. - lt_cv_file_magic_test_file=/shlib/libc.so
  35358. - ;;
  35359. -cygwin*)
  35360. - # func_win32_libid is a shell function defined in ltmain.sh
  35361. - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  35362. - lt_cv_file_magic_cmd='func_win32_libid'
  35363. - ;;
  35364. + test -n "$ac_ct_DUMPBIN" && break
  35365. +done
  35366. -mingw* | pw32*)
  35367. - # Base MSYS/MinGW do not provide the 'file' command needed by
  35368. - # func_win32_libid shell function, so use a weaker test based on 'objdump',
  35369. - # unless we find 'file', for example because we are cross-compiling.
  35370. - if ( file / ) >/dev/null 2>&1; then
  35371. - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  35372. - lt_cv_file_magic_cmd='func_win32_libid'
  35373. + if test "x$ac_ct_DUMPBIN" = x; then
  35374. + DUMPBIN=":"
  35375. else
  35376. - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  35377. - lt_cv_file_magic_cmd='$OBJDUMP -f'
  35378. + case $cross_compiling:$ac_tool_warned in
  35379. +yes:)
  35380. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  35381. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  35382. +ac_tool_warned=yes ;;
  35383. +esac
  35384. + DUMPBIN=$ac_ct_DUMPBIN
  35385. fi
  35386. - ;;
  35387. +fi
  35388. -darwin* | rhapsody*)
  35389. - lt_cv_deplibs_check_method=pass_all
  35390. - ;;
  35391. -freebsd* | dragonfly*)
  35392. - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  35393. - case $host_cpu in
  35394. - i*86 )
  35395. - # Not sure whether the presence of OpenBSD here was a mistake.
  35396. - # Let's accept both of them until this is cleared up.
  35397. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  35398. - lt_cv_file_magic_cmd=/usr/bin/file
  35399. - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  35400. - ;;
  35401. - esac
  35402. - else
  35403. - lt_cv_deplibs_check_method=pass_all
  35404. + if test "$DUMPBIN" != ":"; then
  35405. + NM="$DUMPBIN"
  35406. fi
  35407. - ;;
  35408. +fi
  35409. +test -z "$NM" && NM=nm
  35410. -gnu*)
  35411. - lt_cv_deplibs_check_method=pass_all
  35412. - ;;
  35413. -hpux10.20* | hpux11*)
  35414. - lt_cv_file_magic_cmd=/usr/bin/file
  35415. - case $host_cpu in
  35416. - ia64*)
  35417. - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  35418. - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  35419. - ;;
  35420. - hppa*64*)
  35421. - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
  35422. - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  35423. - ;;
  35424. - *)
  35425. - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  35426. - lt_cv_file_magic_test_file=/usr/lib/libc.sl
  35427. - ;;
  35428. - esac
  35429. - ;;
  35430. -interix[3-9]*)
  35431. - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  35432. - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  35433. - ;;
  35434. -irix5* | irix6* | nonstopux*)
  35435. - case $LD in
  35436. - *-32|*"-32 ") libmagic=32-bit;;
  35437. - *-n32|*"-n32 ") libmagic=N32;;
  35438. - *-64|*"-64 ") libmagic=64-bit;;
  35439. - *) libmagic=never-match;;
  35440. - esac
  35441. - lt_cv_deplibs_check_method=pass_all
  35442. - ;;
  35443. -# This must be Linux ELF.
  35444. -linux* | k*bsd*-gnu)
  35445. - lt_cv_deplibs_check_method=pass_all
  35446. - ;;
  35447. -netbsd*)
  35448. - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  35449. - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  35450. - else
  35451. - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  35452. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  35453. +$as_echo_n "checking the name lister ($NM) interface... " >&6; }
  35454. +if test "${lt_cv_nm_interface+set}" = set; then :
  35455. + $as_echo_n "(cached) " >&6
  35456. +else
  35457. + lt_cv_nm_interface="BSD nm"
  35458. + echo "int some_variable = 0;" > conftest.$ac_ext
  35459. + (eval echo "\"\$as_me:5994: $ac_compile\"" >&5)
  35460. + (eval "$ac_compile" 2>conftest.err)
  35461. + cat conftest.err >&5
  35462. + (eval echo "\"\$as_me:5997: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  35463. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  35464. + cat conftest.err >&5
  35465. + (eval echo "\"\$as_me:6000: output\"" >&5)
  35466. + cat conftest.out >&5
  35467. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  35468. + lt_cv_nm_interface="MS dumpbin"
  35469. fi
  35470. - ;;
  35471. + rm -f conftest*
  35472. +fi
  35473. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  35474. +$as_echo "$lt_cv_nm_interface" >&6; }
  35475. -newos6*)
  35476. - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  35477. - lt_cv_file_magic_cmd=/usr/bin/file
  35478. - lt_cv_file_magic_test_file=/usr/lib/libnls.so
  35479. - ;;
  35480. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  35481. +$as_echo_n "checking whether ln -s works... " >&6; }
  35482. +LN_S=$as_ln_s
  35483. +if test "$LN_S" = "ln -s"; then
  35484. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  35485. +$as_echo "yes" >&6; }
  35486. +else
  35487. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  35488. +$as_echo "no, using $LN_S" >&6; }
  35489. +fi
  35490. -nto-qnx*)
  35491. - lt_cv_deplibs_check_method=unknown
  35492. - ;;
  35493. +# find the maximum length of command line arguments
  35494. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  35495. +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
  35496. +if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
  35497. + $as_echo_n "(cached) " >&6
  35498. +else
  35499. + i=0
  35500. + teststring="ABCD"
  35501. -openbsd*)
  35502. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  35503. - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  35504. - else
  35505. - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  35506. - fi
  35507. - ;;
  35508. + case $build_os in
  35509. + msdosdjgpp*)
  35510. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  35511. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  35512. + # during glob expansion). Even if it were fixed, the result of this
  35513. + # check would be larger than it should be.
  35514. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  35515. + ;;
  35516. -osf3* | osf4* | osf5*)
  35517. - lt_cv_deplibs_check_method=pass_all
  35518. - ;;
  35519. + gnu*)
  35520. + # Under GNU Hurd, this test is not required because there is
  35521. + # no limit to the length of command line arguments.
  35522. + # Libtool will interpret -1 as no limit whatsoever
  35523. + lt_cv_sys_max_cmd_len=-1;
  35524. + ;;
  35525. -rdos*)
  35526. - lt_cv_deplibs_check_method=pass_all
  35527. - ;;
  35528. + cygwin* | mingw* | cegcc*)
  35529. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  35530. + # about 5 minutes as the teststring grows exponentially.
  35531. + # Worse, since 9x/ME are not pre-emptively multitasking,
  35532. + # you end up with a "frozen" computer, even though with patience
  35533. + # the test eventually succeeds (with a max line length of 256k).
  35534. + # Instead, let's just punt: use the minimum linelength reported by
  35535. + # all of the supported platforms: 8192 (on NT/2K/XP).
  35536. + lt_cv_sys_max_cmd_len=8192;
  35537. + ;;
  35538. -solaris*)
  35539. - lt_cv_deplibs_check_method=pass_all
  35540. - ;;
  35541. + amigaos*)
  35542. + # On AmigaOS with pdksh, this test takes hours, literally.
  35543. + # So we just punt and use a minimum line length of 8192.
  35544. + lt_cv_sys_max_cmd_len=8192;
  35545. + ;;
  35546. -sysv4 | sysv4.3*)
  35547. - case $host_vendor in
  35548. - motorola)
  35549. - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
  35550. - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  35551. + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  35552. + # This has been around since 386BSD, at least. Likely further.
  35553. + if test -x /sbin/sysctl; then
  35554. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  35555. + elif test -x /usr/sbin/sysctl; then
  35556. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  35557. + else
  35558. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  35559. + fi
  35560. + # And add a safety zone
  35561. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  35562. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  35563. ;;
  35564. - ncr)
  35565. - lt_cv_deplibs_check_method=pass_all
  35566. +
  35567. + interix*)
  35568. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  35569. + lt_cv_sys_max_cmd_len=196608
  35570. ;;
  35571. - sequent)
  35572. - lt_cv_file_magic_cmd='/bin/file'
  35573. - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  35574. +
  35575. + osf*)
  35576. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  35577. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  35578. + # nice to cause kernel panics so lets avoid the loop below.
  35579. + # First set a reasonable default.
  35580. + lt_cv_sys_max_cmd_len=16384
  35581. + #
  35582. + if test -x /sbin/sysconfig; then
  35583. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  35584. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  35585. + esac
  35586. + fi
  35587. ;;
  35588. - sni)
  35589. - lt_cv_file_magic_cmd='/bin/file'
  35590. - lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  35591. - lt_cv_file_magic_test_file=/lib/libc.so
  35592. + sco3.2v5*)
  35593. + lt_cv_sys_max_cmd_len=102400
  35594. ;;
  35595. - siemens)
  35596. - lt_cv_deplibs_check_method=pass_all
  35597. + sysv5* | sco5v6* | sysv4.2uw2*)
  35598. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  35599. + if test -n "$kargmax"; then
  35600. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  35601. + else
  35602. + lt_cv_sys_max_cmd_len=32768
  35603. + fi
  35604. ;;
  35605. - pc)
  35606. - lt_cv_deplibs_check_method=pass_all
  35607. + *)
  35608. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  35609. + if test -n "$lt_cv_sys_max_cmd_len"; then
  35610. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  35611. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  35612. + else
  35613. + # Make teststring a little bigger before we do anything with it.
  35614. + # a 1K string should be a reasonable start.
  35615. + for i in 1 2 3 4 5 6 7 8 ; do
  35616. + teststring=$teststring$teststring
  35617. + done
  35618. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  35619. + # If test is not a shell built-in, we'll probably end up computing a
  35620. + # maximum length that is only half of the actual maximum length, but
  35621. + # we can't tell.
  35622. + while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  35623. + = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  35624. + test $i != 17 # 1/2 MB should be enough
  35625. + do
  35626. + i=`expr $i + 1`
  35627. + teststring=$teststring$teststring
  35628. + done
  35629. + # Only check the string length outside the loop.
  35630. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  35631. + teststring=
  35632. + # Add a significant safety factor because C++ compilers can tack on
  35633. + # massive amounts of additional arguments before passing them to the
  35634. + # linker. It appears as though 1/2 is a usable value.
  35635. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  35636. + fi
  35637. ;;
  35638. esac
  35639. - ;;
  35640. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  35641. - lt_cv_deplibs_check_method=pass_all
  35642. - ;;
  35643. -esac
  35644. +fi
  35645. +if test -n $lt_cv_sys_max_cmd_len ; then
  35646. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  35647. +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  35648. +else
  35649. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  35650. +$as_echo "none" >&6; }
  35651. fi
  35652. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  35653. -$as_echo "$lt_cv_deplibs_check_method" >&6; }
  35654. -file_magic_cmd=$lt_cv_file_magic_cmd
  35655. -deplibs_check_method=$lt_cv_deplibs_check_method
  35656. -test -z "$deplibs_check_method" && deplibs_check_method=unknown
  35657. +max_cmd_len=$lt_cv_sys_max_cmd_len
  35658. -# If no C compiler was specified, use CC.
  35659. -LTCC=${LTCC-"$CC"}
  35660. -# If no C compiler flags were specified, use CFLAGS.
  35661. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  35662. -# Allow CC to be a program name with arguments.
  35663. -compiler=$CC
  35664. +: ${CP="cp -f"}
  35665. +: ${MV="mv -f"}
  35666. +: ${RM="rm -f"}
  35667. +
  35668. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  35669. +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  35670. +# Try some XSI features
  35671. +xsi_shell=no
  35672. +( _lt_dummy="a/b/c"
  35673. + test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  35674. + = c,a/b,, \
  35675. + && eval 'test $(( 1 + 1 )) -eq 2 \
  35676. + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  35677. + && xsi_shell=yes
  35678. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  35679. +$as_echo "$xsi_shell" >&6; }
  35680. +
  35681. +
  35682. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  35683. +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  35684. +lt_shell_append=no
  35685. +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  35686. + >/dev/null 2>&1 \
  35687. + && lt_shell_append=yes
  35688. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  35689. +$as_echo "$lt_shell_append" >&6; }
  35690. -# Check whether --enable-libtool-lock was given.
  35691. -if test "${enable_libtool_lock+set}" = set; then
  35692. - enableval=$enable_libtool_lock;
  35693. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  35694. + lt_unset=unset
  35695. +else
  35696. + lt_unset=false
  35697. fi
  35698. -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  35699. -# Some flags need to be propagated to the compiler or linker for good
  35700. -# libtool support.
  35701. -case $host in
  35702. -ia64-*-hpux*)
  35703. - # Find out which ABI we are using.
  35704. - echo 'int i;' > conftest.$ac_ext
  35705. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  35706. - (eval $ac_compile) 2>&5
  35707. - ac_status=$?
  35708. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  35709. - (exit $ac_status); }; then
  35710. - case `/usr/bin/file conftest.$ac_objext` in
  35711. - *ELF-32*)
  35712. - HPUX_IA64_MODE="32"
  35713. - ;;
  35714. - *ELF-64*)
  35715. - HPUX_IA64_MODE="64"
  35716. - ;;
  35717. - esac
  35718. - fi
  35719. - rm -rf conftest*
  35720. +
  35721. +
  35722. +
  35723. +# test EBCDIC or ASCII
  35724. +case `echo X|tr X '\101'` in
  35725. + A) # ASCII based system
  35726. + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  35727. + lt_SP2NL='tr \040 \012'
  35728. + lt_NL2SP='tr \015\012 \040\040'
  35729. ;;
  35730. -*-*-irix6*)
  35731. - # Find out which ABI we are using.
  35732. - echo '#line 5545 "configure"' > conftest.$ac_ext
  35733. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  35734. - (eval $ac_compile) 2>&5
  35735. - ac_status=$?
  35736. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  35737. - (exit $ac_status); }; then
  35738. - if test "$lt_cv_prog_gnu_ld" = yes; then
  35739. - case `/usr/bin/file conftest.$ac_objext` in
  35740. - *32-bit*)
  35741. - LD="${LD-ld} -melf32bsmip"
  35742. - ;;
  35743. - *N32*)
  35744. - LD="${LD-ld} -melf32bmipn32"
  35745. - ;;
  35746. - *64-bit*)
  35747. - LD="${LD-ld} -melf64bmip"
  35748. - ;;
  35749. - esac
  35750. - else
  35751. - case `/usr/bin/file conftest.$ac_objext` in
  35752. - *32-bit*)
  35753. - LD="${LD-ld} -32"
  35754. - ;;
  35755. - *N32*)
  35756. - LD="${LD-ld} -n32"
  35757. - ;;
  35758. - *64-bit*)
  35759. - LD="${LD-ld} -64"
  35760. - ;;
  35761. - esac
  35762. - fi
  35763. - fi
  35764. - rm -rf conftest*
  35765. + *) # EBCDIC based system
  35766. + lt_SP2NL='tr \100 \n'
  35767. + lt_NL2SP='tr \r\n \100\100'
  35768. ;;
  35769. +esac
  35770. +
  35771. -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  35772. -s390*-*linux*|sparc*-*linux*)
  35773. - # Find out which ABI we are using.
  35774. - echo 'int i;' > conftest.$ac_ext
  35775. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  35776. - (eval $ac_compile) 2>&5
  35777. - ac_status=$?
  35778. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  35779. - (exit $ac_status); }; then
  35780. - case `/usr/bin/file conftest.o` in
  35781. - *32-bit*)
  35782. - case $host in
  35783. - x86_64-*kfreebsd*-gnu)
  35784. - LD="${LD-ld} -m elf_i386_fbsd"
  35785. - ;;
  35786. - x86_64-*linux*)
  35787. - LD="${LD-ld} -m elf_i386"
  35788. - ;;
  35789. - ppc64-*linux*|powerpc64-*linux*)
  35790. - LD="${LD-ld} -m elf32ppclinux"
  35791. - ;;
  35792. - s390x-*linux*)
  35793. - LD="${LD-ld} -m elf_s390"
  35794. - ;;
  35795. - sparc64-*linux*)
  35796. - LD="${LD-ld} -m elf32_sparc"
  35797. - ;;
  35798. - esac
  35799. - ;;
  35800. - *64-bit*)
  35801. - case $host in
  35802. - x86_64-*kfreebsd*-gnu)
  35803. - LD="${LD-ld} -m elf_x86_64_fbsd"
  35804. - ;;
  35805. - x86_64-*linux*)
  35806. - LD="${LD-ld} -m elf_x86_64"
  35807. - ;;
  35808. - ppc*-*linux*|powerpc*-*linux*)
  35809. - LD="${LD-ld} -m elf64ppc"
  35810. - ;;
  35811. - s390*-*linux*)
  35812. - LD="${LD-ld} -m elf64_s390"
  35813. - ;;
  35814. - sparc*-*linux*)
  35815. - LD="${LD-ld} -m elf64_sparc"
  35816. - ;;
  35817. - esac
  35818. - ;;
  35819. - esac
  35820. - fi
  35821. - rm -rf conftest*
  35822. - ;;
  35823. -*-*-sco3.2v5*)
  35824. - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  35825. - SAVE_CFLAGS="$CFLAGS"
  35826. - CFLAGS="$CFLAGS -belf"
  35827. - { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
  35828. -$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  35829. -if test "${lt_cv_cc_needs_belf+set}" = set; then
  35830. - $as_echo_n "(cached) " >&6
  35831. -else
  35832. - ac_ext=c
  35833. -ac_cpp='$CPP $CPPFLAGS'
  35834. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  35835. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  35836. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  35837. - cat >conftest.$ac_ext <<_ACEOF
  35838. -/* confdefs.h. */
  35839. -_ACEOF
  35840. -cat confdefs.h >>conftest.$ac_ext
  35841. -cat >>conftest.$ac_ext <<_ACEOF
  35842. -/* end confdefs.h. */
  35843. -int
  35844. -main ()
  35845. -{
  35846. - ;
  35847. - return 0;
  35848. -}
  35849. -_ACEOF
  35850. -rm -f conftest.$ac_objext conftest$ac_exeext
  35851. -if { (ac_try="$ac_link"
  35852. -case "(($ac_try" in
  35853. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  35854. - *) ac_try_echo=$ac_try;;
  35855. -esac
  35856. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  35857. -$as_echo "$ac_try_echo") >&5
  35858. - (eval "$ac_link") 2>conftest.er1
  35859. - ac_status=$?
  35860. - grep -v '^ *+' conftest.er1 >conftest.err
  35861. - rm -f conftest.er1
  35862. - cat conftest.err >&5
  35863. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  35864. - (exit $ac_status); } && {
  35865. - test -z "$ac_c_werror_flag" ||
  35866. - test ! -s conftest.err
  35867. - } && test -s conftest$ac_exeext && {
  35868. - test "$cross_compiling" = yes ||
  35869. - $as_test_x conftest$ac_exeext
  35870. - }; then
  35871. - lt_cv_cc_needs_belf=yes
  35872. -else
  35873. - $as_echo "$as_me: failed program was:" >&5
  35874. -sed 's/^/| /' conftest.$ac_ext >&5
  35875. - lt_cv_cc_needs_belf=no
  35876. -fi
  35877. -rm -rf conftest.dSYM
  35878. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  35879. - conftest$ac_exeext conftest.$ac_ext
  35880. - ac_ext=c
  35881. -ac_cpp='$CPP $CPPFLAGS'
  35882. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  35883. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  35884. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  35885. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  35886. +$as_echo_n "checking for $LD option to reload object files... " >&6; }
  35887. +if test "${lt_cv_ld_reload_flag+set}" = set; then :
  35888. + $as_echo_n "(cached) " >&6
  35889. +else
  35890. + lt_cv_ld_reload_flag='-r'
  35891. fi
  35892. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
  35893. -$as_echo "$lt_cv_cc_needs_belf" >&6; }
  35894. - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  35895. - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  35896. - CFLAGS="$SAVE_CFLAGS"
  35897. - fi
  35898. - ;;
  35899. -sparc*-*solaris*)
  35900. - # Find out which ABI we are using.
  35901. - echo 'int i;' > conftest.$ac_ext
  35902. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  35903. - (eval $ac_compile) 2>&5
  35904. - ac_status=$?
  35905. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  35906. - (exit $ac_status); }; then
  35907. - case `/usr/bin/file conftest.o` in
  35908. - *64-bit*)
  35909. - case $lt_cv_prog_gnu_ld in
  35910. - yes*) LD="${LD-ld} -m elf64_sparc" ;;
  35911. - *)
  35912. - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  35913. - LD="${LD-ld} -64"
  35914. - fi
  35915. - ;;
  35916. - esac
  35917. - ;;
  35918. - esac
  35919. - fi
  35920. - rm -rf conftest*
  35921. - ;;
  35922. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  35923. +$as_echo "$lt_cv_ld_reload_flag" >&6; }
  35924. +reload_flag=$lt_cv_ld_reload_flag
  35925. +case $reload_flag in
  35926. +"" | " "*) ;;
  35927. +*) reload_flag=" $reload_flag" ;;
  35928. +esac
  35929. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  35930. +case $host_os in
  35931. + darwin*)
  35932. + if test "$GCC" = yes; then
  35933. + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  35934. + else
  35935. + reload_cmds='$LD$reload_flag -o $output$reload_objs'
  35936. + fi
  35937. + ;;
  35938. +esac
  35939. -esac
  35940. -need_locks="$enable_libtool_lock"
  35941. -ac_ext=c
  35942. -ac_cpp='$CPP $CPPFLAGS'
  35943. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  35944. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  35945. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  35946. -{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  35947. -$as_echo_n "checking how to run the C preprocessor... " >&6; }
  35948. -# On Suns, sometimes $CPP names a directory.
  35949. -if test -n "$CPP" && test -d "$CPP"; then
  35950. - CPP=
  35951. -fi
  35952. -if test -z "$CPP"; then
  35953. - if test "${ac_cv_prog_CPP+set}" = set; then
  35954. +
  35955. +
  35956. +
  35957. +
  35958. +if test -n "$ac_tool_prefix"; then
  35959. + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  35960. +set dummy ${ac_tool_prefix}objdump; ac_word=$2
  35961. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  35962. +$as_echo_n "checking for $ac_word... " >&6; }
  35963. +if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
  35964. $as_echo_n "(cached) " >&6
  35965. else
  35966. - # Double quotes because CPP needs to be expanded
  35967. - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  35968. - do
  35969. - ac_preproc_ok=false
  35970. -for ac_c_preproc_warn_flag in '' yes
  35971. + if test -n "$OBJDUMP"; then
  35972. + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  35973. +else
  35974. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  35975. +for as_dir in $PATH
  35976. do
  35977. - # Use a header file that comes with gcc, so configuring glibc
  35978. - # with a fresh cross-compiler works.
  35979. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  35980. - # <limits.h> exists even on freestanding compilers.
  35981. - # On the NeXT, cc -E runs the code through the compiler's parser,
  35982. - # not just through cpp. "Syntax error" is here to catch this case.
  35983. - cat >conftest.$ac_ext <<_ACEOF
  35984. -/* confdefs.h. */
  35985. -_ACEOF
  35986. -cat confdefs.h >>conftest.$ac_ext
  35987. -cat >>conftest.$ac_ext <<_ACEOF
  35988. -/* end confdefs.h. */
  35989. -#ifdef __STDC__
  35990. -# include <limits.h>
  35991. -#else
  35992. -# include <assert.h>
  35993. -#endif
  35994. - Syntax error
  35995. -_ACEOF
  35996. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  35997. -case "(($ac_try" in
  35998. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  35999. - *) ac_try_echo=$ac_try;;
  36000. -esac
  36001. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  36002. -$as_echo "$ac_try_echo") >&5
  36003. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  36004. - ac_status=$?
  36005. - grep -v '^ *+' conftest.er1 >conftest.err
  36006. - rm -f conftest.er1
  36007. - cat conftest.err >&5
  36008. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  36009. - (exit $ac_status); } >/dev/null && {
  36010. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  36011. - test ! -s conftest.err
  36012. - }; then
  36013. - :
  36014. + IFS=$as_save_IFS
  36015. + test -z "$as_dir" && as_dir=.
  36016. + for ac_exec_ext in '' $ac_executable_extensions; do
  36017. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  36018. + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  36019. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  36020. + break 2
  36021. + fi
  36022. +done
  36023. + done
  36024. +IFS=$as_save_IFS
  36025. +
  36026. +fi
  36027. +fi
  36028. +OBJDUMP=$ac_cv_prog_OBJDUMP
  36029. +if test -n "$OBJDUMP"; then
  36030. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  36031. +$as_echo "$OBJDUMP" >&6; }
  36032. else
  36033. - $as_echo "$as_me: failed program was:" >&5
  36034. -sed 's/^/| /' conftest.$ac_ext >&5
  36035. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36036. +$as_echo "no" >&6; }
  36037. +fi
  36038. +
  36039. - # Broken: fails on valid input.
  36040. -continue
  36041. fi
  36042. +if test -z "$ac_cv_prog_OBJDUMP"; then
  36043. + ac_ct_OBJDUMP=$OBJDUMP
  36044. + # Extract the first word of "objdump", so it can be a program name with args.
  36045. +set dummy objdump; ac_word=$2
  36046. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  36047. +$as_echo_n "checking for $ac_word... " >&6; }
  36048. +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
  36049. + $as_echo_n "(cached) " >&6
  36050. +else
  36051. + if test -n "$ac_ct_OBJDUMP"; then
  36052. + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  36053. +else
  36054. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  36055. +for as_dir in $PATH
  36056. +do
  36057. + IFS=$as_save_IFS
  36058. + test -z "$as_dir" && as_dir=.
  36059. + for ac_exec_ext in '' $ac_executable_extensions; do
  36060. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  36061. + ac_cv_prog_ac_ct_OBJDUMP="objdump"
  36062. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  36063. + break 2
  36064. + fi
  36065. +done
  36066. + done
  36067. +IFS=$as_save_IFS
  36068. -rm -f conftest.err conftest.$ac_ext
  36069. +fi
  36070. +fi
  36071. +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  36072. +if test -n "$ac_ct_OBJDUMP"; then
  36073. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  36074. +$as_echo "$ac_ct_OBJDUMP" >&6; }
  36075. +else
  36076. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36077. +$as_echo "no" >&6; }
  36078. +fi
  36079. - # OK, works on sane cases. Now check whether nonexistent headers
  36080. - # can be detected and how.
  36081. - cat >conftest.$ac_ext <<_ACEOF
  36082. -/* confdefs.h. */
  36083. -_ACEOF
  36084. -cat confdefs.h >>conftest.$ac_ext
  36085. -cat >>conftest.$ac_ext <<_ACEOF
  36086. -/* end confdefs.h. */
  36087. -#include <ac_nonexistent.h>
  36088. -_ACEOF
  36089. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  36090. -case "(($ac_try" in
  36091. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  36092. - *) ac_try_echo=$ac_try;;
  36093. + if test "x$ac_ct_OBJDUMP" = x; then
  36094. + OBJDUMP="false"
  36095. + else
  36096. + case $cross_compiling:$ac_tool_warned in
  36097. +yes:)
  36098. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  36099. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  36100. +ac_tool_warned=yes ;;
  36101. esac
  36102. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  36103. -$as_echo "$ac_try_echo") >&5
  36104. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  36105. - ac_status=$?
  36106. - grep -v '^ *+' conftest.er1 >conftest.err
  36107. - rm -f conftest.er1
  36108. - cat conftest.err >&5
  36109. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  36110. - (exit $ac_status); } >/dev/null && {
  36111. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  36112. - test ! -s conftest.err
  36113. - }; then
  36114. - # Broken: success on invalid input.
  36115. -continue
  36116. + OBJDUMP=$ac_ct_OBJDUMP
  36117. + fi
  36118. else
  36119. - $as_echo "$as_me: failed program was:" >&5
  36120. -sed 's/^/| /' conftest.$ac_ext >&5
  36121. -
  36122. - # Passes both tests.
  36123. -ac_preproc_ok=:
  36124. -break
  36125. + OBJDUMP="$ac_cv_prog_OBJDUMP"
  36126. fi
  36127. -rm -f conftest.err conftest.$ac_ext
  36128. +test -z "$OBJDUMP" && OBJDUMP=objdump
  36129. -done
  36130. -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  36131. -rm -f conftest.err conftest.$ac_ext
  36132. -if $ac_preproc_ok; then
  36133. - break
  36134. -fi
  36135. - done
  36136. - ac_cv_prog_CPP=$CPP
  36137. -fi
  36138. - CPP=$ac_cv_prog_CPP
  36139. +
  36140. +
  36141. +
  36142. +
  36143. +
  36144. +
  36145. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  36146. +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
  36147. +if test "${lt_cv_deplibs_check_method+set}" = set; then :
  36148. + $as_echo_n "(cached) " >&6
  36149. else
  36150. - ac_cv_prog_CPP=$CPP
  36151. -fi
  36152. -{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
  36153. -$as_echo "$CPP" >&6; }
  36154. -ac_preproc_ok=false
  36155. -for ac_c_preproc_warn_flag in '' yes
  36156. -do
  36157. - # Use a header file that comes with gcc, so configuring glibc
  36158. - # with a fresh cross-compiler works.
  36159. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  36160. - # <limits.h> exists even on freestanding compilers.
  36161. - # On the NeXT, cc -E runs the code through the compiler's parser,
  36162. - # not just through cpp. "Syntax error" is here to catch this case.
  36163. - cat >conftest.$ac_ext <<_ACEOF
  36164. -/* confdefs.h. */
  36165. -_ACEOF
  36166. -cat confdefs.h >>conftest.$ac_ext
  36167. -cat >>conftest.$ac_ext <<_ACEOF
  36168. -/* end confdefs.h. */
  36169. -#ifdef __STDC__
  36170. -# include <limits.h>
  36171. -#else
  36172. -# include <assert.h>
  36173. -#endif
  36174. - Syntax error
  36175. -_ACEOF
  36176. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  36177. -case "(($ac_try" in
  36178. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  36179. - *) ac_try_echo=$ac_try;;
  36180. -esac
  36181. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  36182. -$as_echo "$ac_try_echo") >&5
  36183. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  36184. - ac_status=$?
  36185. - grep -v '^ *+' conftest.er1 >conftest.err
  36186. - rm -f conftest.er1
  36187. - cat conftest.err >&5
  36188. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  36189. - (exit $ac_status); } >/dev/null && {
  36190. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  36191. - test ! -s conftest.err
  36192. - }; then
  36193. - :
  36194. -else
  36195. - $as_echo "$as_me: failed program was:" >&5
  36196. -sed 's/^/| /' conftest.$ac_ext >&5
  36197. + lt_cv_file_magic_cmd='$MAGIC_CMD'
  36198. +lt_cv_file_magic_test_file=
  36199. +lt_cv_deplibs_check_method='unknown'
  36200. +# Need to set the preceding variable on all platforms that support
  36201. +# interlibrary dependencies.
  36202. +# 'none' -- dependencies not supported.
  36203. +# `unknown' -- same as none, but documents that we really don't know.
  36204. +# 'pass_all' -- all dependencies passed with no checks.
  36205. +# 'test_compile' -- check by making test program.
  36206. +# 'file_magic [[regex]]' -- check by looking for files in library path
  36207. +# which responds to the $file_magic_cmd with a given extended regex.
  36208. +# If you have `file' or equivalent on your system and you're not sure
  36209. +# whether `pass_all' will *always* work, you probably want this one.
  36210. - # Broken: fails on valid input.
  36211. -continue
  36212. -fi
  36213. +case $host_os in
  36214. +aix[4-9]*)
  36215. + lt_cv_deplibs_check_method=pass_all
  36216. + ;;
  36217. -rm -f conftest.err conftest.$ac_ext
  36218. +beos*)
  36219. + lt_cv_deplibs_check_method=pass_all
  36220. + ;;
  36221. - # OK, works on sane cases. Now check whether nonexistent headers
  36222. - # can be detected and how.
  36223. - cat >conftest.$ac_ext <<_ACEOF
  36224. -/* confdefs.h. */
  36225. -_ACEOF
  36226. -cat confdefs.h >>conftest.$ac_ext
  36227. -cat >>conftest.$ac_ext <<_ACEOF
  36228. -/* end confdefs.h. */
  36229. -#include <ac_nonexistent.h>
  36230. -_ACEOF
  36231. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  36232. -case "(($ac_try" in
  36233. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  36234. - *) ac_try_echo=$ac_try;;
  36235. -esac
  36236. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  36237. -$as_echo "$ac_try_echo") >&5
  36238. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  36239. - ac_status=$?
  36240. - grep -v '^ *+' conftest.er1 >conftest.err
  36241. - rm -f conftest.er1
  36242. - cat conftest.err >&5
  36243. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  36244. - (exit $ac_status); } >/dev/null && {
  36245. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  36246. - test ! -s conftest.err
  36247. - }; then
  36248. - # Broken: success on invalid input.
  36249. -continue
  36250. -else
  36251. - $as_echo "$as_me: failed program was:" >&5
  36252. -sed 's/^/| /' conftest.$ac_ext >&5
  36253. +bsdi[45]*)
  36254. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  36255. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  36256. + lt_cv_file_magic_test_file=/shlib/libc.so
  36257. + ;;
  36258. - # Passes both tests.
  36259. -ac_preproc_ok=:
  36260. -break
  36261. -fi
  36262. +cygwin*)
  36263. + # func_win32_libid is a shell function defined in ltmain.sh
  36264. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  36265. + lt_cv_file_magic_cmd='func_win32_libid'
  36266. + ;;
  36267. -rm -f conftest.err conftest.$ac_ext
  36268. +mingw* | pw32*)
  36269. + # Base MSYS/MinGW do not provide the 'file' command needed by
  36270. + # func_win32_libid shell function, so use a weaker test based on 'objdump',
  36271. + # unless we find 'file', for example because we are cross-compiling.
  36272. + if ( file / ) >/dev/null 2>&1; then
  36273. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  36274. + lt_cv_file_magic_cmd='func_win32_libid'
  36275. + else
  36276. + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  36277. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  36278. + fi
  36279. + ;;
  36280. -done
  36281. -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  36282. -rm -f conftest.err conftest.$ac_ext
  36283. -if $ac_preproc_ok; then
  36284. - :
  36285. -else
  36286. - { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  36287. -See \`config.log' for more details." >&5
  36288. -$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  36289. -See \`config.log' for more details." >&2;}
  36290. - { (exit 1); exit 1; }; }
  36291. -fi
  36292. +cegcc)
  36293. + # use the weaker test based on 'objdump'. See mingw*.
  36294. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  36295. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  36296. + ;;
  36297. -ac_ext=c
  36298. -ac_cpp='$CPP $CPPFLAGS'
  36299. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  36300. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  36301. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  36302. +darwin* | rhapsody*)
  36303. + lt_cv_deplibs_check_method=pass_all
  36304. + ;;
  36305. +freebsd* | dragonfly*)
  36306. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  36307. + case $host_cpu in
  36308. + i*86 )
  36309. + # Not sure whether the presence of OpenBSD here was a mistake.
  36310. + # Let's accept both of them until this is cleared up.
  36311. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  36312. + lt_cv_file_magic_cmd=/usr/bin/file
  36313. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  36314. + ;;
  36315. + esac
  36316. + else
  36317. + lt_cv_deplibs_check_method=pass_all
  36318. + fi
  36319. + ;;
  36320. -{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  36321. -$as_echo_n "checking for ANSI C header files... " >&6; }
  36322. -if test "${ac_cv_header_stdc+set}" = set; then
  36323. - $as_echo_n "(cached) " >&6
  36324. -else
  36325. - cat >conftest.$ac_ext <<_ACEOF
  36326. -/* confdefs.h. */
  36327. -_ACEOF
  36328. -cat confdefs.h >>conftest.$ac_ext
  36329. -cat >>conftest.$ac_ext <<_ACEOF
  36330. -/* end confdefs.h. */
  36331. -#include <stdlib.h>
  36332. -#include <stdarg.h>
  36333. -#include <string.h>
  36334. -#include <float.h>
  36335. +gnu*)
  36336. + lt_cv_deplibs_check_method=pass_all
  36337. + ;;
  36338. -int
  36339. -main ()
  36340. -{
  36341. +hpux10.20* | hpux11*)
  36342. + lt_cv_file_magic_cmd=/usr/bin/file
  36343. + case $host_cpu in
  36344. + ia64*)
  36345. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  36346. + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  36347. + ;;
  36348. + hppa*64*)
  36349. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
  36350. + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  36351. + ;;
  36352. + *)
  36353. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  36354. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  36355. + ;;
  36356. + esac
  36357. + ;;
  36358. - ;
  36359. - return 0;
  36360. -}
  36361. -_ACEOF
  36362. -rm -f conftest.$ac_objext
  36363. -if { (ac_try="$ac_compile"
  36364. -case "(($ac_try" in
  36365. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  36366. - *) ac_try_echo=$ac_try;;
  36367. -esac
  36368. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  36369. -$as_echo "$ac_try_echo") >&5
  36370. - (eval "$ac_compile") 2>conftest.er1
  36371. - ac_status=$?
  36372. - grep -v '^ *+' conftest.er1 >conftest.err
  36373. - rm -f conftest.er1
  36374. - cat conftest.err >&5
  36375. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  36376. - (exit $ac_status); } && {
  36377. - test -z "$ac_c_werror_flag" ||
  36378. - test ! -s conftest.err
  36379. - } && test -s conftest.$ac_objext; then
  36380. - ac_cv_header_stdc=yes
  36381. -else
  36382. - $as_echo "$as_me: failed program was:" >&5
  36383. -sed 's/^/| /' conftest.$ac_ext >&5
  36384. +interix[3-9]*)
  36385. + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  36386. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  36387. + ;;
  36388. - ac_cv_header_stdc=no
  36389. -fi
  36390. +irix5* | irix6* | nonstopux*)
  36391. + case $LD in
  36392. + *-32|*"-32 ") libmagic=32-bit;;
  36393. + *-n32|*"-n32 ") libmagic=N32;;
  36394. + *-64|*"-64 ") libmagic=64-bit;;
  36395. + *) libmagic=never-match;;
  36396. + esac
  36397. + lt_cv_deplibs_check_method=pass_all
  36398. + ;;
  36399. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  36400. +# This must be Linux ELF.
  36401. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  36402. + lt_cv_deplibs_check_method=pass_all
  36403. + ;;
  36404. -if test $ac_cv_header_stdc = yes; then
  36405. - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  36406. - cat >conftest.$ac_ext <<_ACEOF
  36407. -/* confdefs.h. */
  36408. -_ACEOF
  36409. -cat confdefs.h >>conftest.$ac_ext
  36410. -cat >>conftest.$ac_ext <<_ACEOF
  36411. -/* end confdefs.h. */
  36412. -#include <string.h>
  36413. +netbsd* | netbsdelf*-gnu)
  36414. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  36415. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  36416. + else
  36417. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  36418. + fi
  36419. + ;;
  36420. -_ACEOF
  36421. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  36422. - $EGREP "memchr" >/dev/null 2>&1; then
  36423. - :
  36424. -else
  36425. - ac_cv_header_stdc=no
  36426. -fi
  36427. -rm -f conftest*
  36428. +newos6*)
  36429. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  36430. + lt_cv_file_magic_cmd=/usr/bin/file
  36431. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  36432. + ;;
  36433. -fi
  36434. +*nto* | *qnx*)
  36435. + lt_cv_deplibs_check_method=pass_all
  36436. + ;;
  36437. -if test $ac_cv_header_stdc = yes; then
  36438. - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  36439. - cat >conftest.$ac_ext <<_ACEOF
  36440. -/* confdefs.h. */
  36441. -_ACEOF
  36442. -cat confdefs.h >>conftest.$ac_ext
  36443. -cat >>conftest.$ac_ext <<_ACEOF
  36444. -/* end confdefs.h. */
  36445. -#include <stdlib.h>
  36446. +openbsd*)
  36447. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  36448. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  36449. + else
  36450. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  36451. + fi
  36452. + ;;
  36453. -_ACEOF
  36454. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  36455. - $EGREP "free" >/dev/null 2>&1; then
  36456. - :
  36457. -else
  36458. - ac_cv_header_stdc=no
  36459. -fi
  36460. -rm -f conftest*
  36461. +osf3* | osf4* | osf5*)
  36462. + lt_cv_deplibs_check_method=pass_all
  36463. + ;;
  36464. -fi
  36465. +rdos*)
  36466. + lt_cv_deplibs_check_method=pass_all
  36467. + ;;
  36468. -if test $ac_cv_header_stdc = yes; then
  36469. - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  36470. - if test "$cross_compiling" = yes; then
  36471. - :
  36472. -else
  36473. - cat >conftest.$ac_ext <<_ACEOF
  36474. -/* confdefs.h. */
  36475. -_ACEOF
  36476. -cat confdefs.h >>conftest.$ac_ext
  36477. -cat >>conftest.$ac_ext <<_ACEOF
  36478. -/* end confdefs.h. */
  36479. -#include <ctype.h>
  36480. -#include <stdlib.h>
  36481. -#if ((' ' & 0x0FF) == 0x020)
  36482. -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  36483. -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  36484. -#else
  36485. -# define ISLOWER(c) \
  36486. - (('a' <= (c) && (c) <= 'i') \
  36487. - || ('j' <= (c) && (c) <= 'r') \
  36488. - || ('s' <= (c) && (c) <= 'z'))
  36489. -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  36490. -#endif
  36491. +solaris*)
  36492. + lt_cv_deplibs_check_method=pass_all
  36493. + ;;
  36494. -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  36495. -int
  36496. -main ()
  36497. -{
  36498. - int i;
  36499. - for (i = 0; i < 256; i++)
  36500. - if (XOR (islower (i), ISLOWER (i))
  36501. - || toupper (i) != TOUPPER (i))
  36502. - return 2;
  36503. - return 0;
  36504. -}
  36505. -_ACEOF
  36506. -rm -f conftest$ac_exeext
  36507. -if { (ac_try="$ac_link"
  36508. -case "(($ac_try" in
  36509. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  36510. - *) ac_try_echo=$ac_try;;
  36511. -esac
  36512. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  36513. -$as_echo "$ac_try_echo") >&5
  36514. - (eval "$ac_link") 2>&5
  36515. - ac_status=$?
  36516. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  36517. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  36518. - { (case "(($ac_try" in
  36519. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  36520. - *) ac_try_echo=$ac_try;;
  36521. -esac
  36522. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  36523. -$as_echo "$ac_try_echo") >&5
  36524. - (eval "$ac_try") 2>&5
  36525. - ac_status=$?
  36526. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  36527. - (exit $ac_status); }; }; then
  36528. - :
  36529. -else
  36530. - $as_echo "$as_me: program exited with status $ac_status" >&5
  36531. -$as_echo "$as_me: failed program was:" >&5
  36532. -sed 's/^/| /' conftest.$ac_ext >&5
  36533. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  36534. + lt_cv_deplibs_check_method=pass_all
  36535. + ;;
  36536. -( exit $ac_status )
  36537. -ac_cv_header_stdc=no
  36538. -fi
  36539. -rm -rf conftest.dSYM
  36540. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  36541. -fi
  36542. +sysv4 | sysv4.3*)
  36543. + case $host_vendor in
  36544. + motorola)
  36545. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
  36546. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  36547. + ;;
  36548. + ncr)
  36549. + lt_cv_deplibs_check_method=pass_all
  36550. + ;;
  36551. + sequent)
  36552. + lt_cv_file_magic_cmd='/bin/file'
  36553. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  36554. + ;;
  36555. + sni)
  36556. + lt_cv_file_magic_cmd='/bin/file'
  36557. + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  36558. + lt_cv_file_magic_test_file=/lib/libc.so
  36559. + ;;
  36560. + siemens)
  36561. + lt_cv_deplibs_check_method=pass_all
  36562. + ;;
  36563. + pc)
  36564. + lt_cv_deplibs_check_method=pass_all
  36565. + ;;
  36566. + esac
  36567. + ;;
  36568. +tpf*)
  36569. + lt_cv_deplibs_check_method=pass_all
  36570. + ;;
  36571. +esac
  36572. fi
  36573. -fi
  36574. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  36575. -$as_echo "$ac_cv_header_stdc" >&6; }
  36576. -if test $ac_cv_header_stdc = yes; then
  36577. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  36578. +$as_echo "$lt_cv_deplibs_check_method" >&6; }
  36579. +file_magic_cmd=$lt_cv_file_magic_cmd
  36580. +deplibs_check_method=$lt_cv_deplibs_check_method
  36581. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  36582. -cat >>confdefs.h <<\_ACEOF
  36583. -#define STDC_HEADERS 1
  36584. -_ACEOF
  36585. -fi
  36586. -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  36587. @@ -6159,857 +6559,373 @@
  36588. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  36589. - inttypes.h stdint.h unistd.h
  36590. -do
  36591. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  36592. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  36593. -$as_echo_n "checking for $ac_header... " >&6; }
  36594. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  36595. +if test -n "$ac_tool_prefix"; then
  36596. + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  36597. +set dummy ${ac_tool_prefix}ar; ac_word=$2
  36598. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  36599. +$as_echo_n "checking for $ac_word... " >&6; }
  36600. +if test "${ac_cv_prog_AR+set}" = set; then :
  36601. $as_echo_n "(cached) " >&6
  36602. else
  36603. - cat >conftest.$ac_ext <<_ACEOF
  36604. -/* confdefs.h. */
  36605. -_ACEOF
  36606. -cat confdefs.h >>conftest.$ac_ext
  36607. -cat >>conftest.$ac_ext <<_ACEOF
  36608. -/* end confdefs.h. */
  36609. -$ac_includes_default
  36610. -
  36611. -#include <$ac_header>
  36612. -_ACEOF
  36613. -rm -f conftest.$ac_objext
  36614. -if { (ac_try="$ac_compile"
  36615. -case "(($ac_try" in
  36616. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  36617. - *) ac_try_echo=$ac_try;;
  36618. -esac
  36619. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  36620. -$as_echo "$ac_try_echo") >&5
  36621. - (eval "$ac_compile") 2>conftest.er1
  36622. - ac_status=$?
  36623. - grep -v '^ *+' conftest.er1 >conftest.err
  36624. - rm -f conftest.er1
  36625. - cat conftest.err >&5
  36626. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  36627. - (exit $ac_status); } && {
  36628. - test -z "$ac_c_werror_flag" ||
  36629. - test ! -s conftest.err
  36630. - } && test -s conftest.$ac_objext; then
  36631. - eval "$as_ac_Header=yes"
  36632. + if test -n "$AR"; then
  36633. + ac_cv_prog_AR="$AR" # Let the user override the test.
  36634. else
  36635. - $as_echo "$as_me: failed program was:" >&5
  36636. -sed 's/^/| /' conftest.$ac_ext >&5
  36637. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  36638. +for as_dir in $PATH
  36639. +do
  36640. + IFS=$as_save_IFS
  36641. + test -z "$as_dir" && as_dir=.
  36642. + for ac_exec_ext in '' $ac_executable_extensions; do
  36643. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  36644. + ac_cv_prog_AR="${ac_tool_prefix}ar"
  36645. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  36646. + break 2
  36647. + fi
  36648. +done
  36649. + done
  36650. +IFS=$as_save_IFS
  36651. - eval "$as_ac_Header=no"
  36652. fi
  36653. -
  36654. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  36655. fi
  36656. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  36657. - $as_echo "$as_val"'`
  36658. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  36659. -$as_echo "$ac_res" >&6; }
  36660. -if test `eval 'as_val=${'$as_ac_Header'}
  36661. - $as_echo "$as_val"'` = yes; then
  36662. - cat >>confdefs.h <<_ACEOF
  36663. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  36664. -_ACEOF
  36665. -
  36666. +AR=$ac_cv_prog_AR
  36667. +if test -n "$AR"; then
  36668. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  36669. +$as_echo "$AR" >&6; }
  36670. +else
  36671. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36672. +$as_echo "no" >&6; }
  36673. fi
  36674. -done
  36675. -
  36676. -
  36677. -for ac_header in dlfcn.h
  36678. -do
  36679. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  36680. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  36681. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  36682. -$as_echo_n "checking for $ac_header... " >&6; }
  36683. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  36684. - $as_echo_n "(cached) " >&6
  36685. fi
  36686. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  36687. - $as_echo "$as_val"'`
  36688. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  36689. -$as_echo "$ac_res" >&6; }
  36690. +if test -z "$ac_cv_prog_AR"; then
  36691. + ac_ct_AR=$AR
  36692. + # Extract the first word of "ar", so it can be a program name with args.
  36693. +set dummy ar; ac_word=$2
  36694. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  36695. +$as_echo_n "checking for $ac_word... " >&6; }
  36696. +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
  36697. + $as_echo_n "(cached) " >&6
  36698. else
  36699. - # Is the header compilable?
  36700. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  36701. -$as_echo_n "checking $ac_header usability... " >&6; }
  36702. -cat >conftest.$ac_ext <<_ACEOF
  36703. -/* confdefs.h. */
  36704. -_ACEOF
  36705. -cat confdefs.h >>conftest.$ac_ext
  36706. -cat >>conftest.$ac_ext <<_ACEOF
  36707. -/* end confdefs.h. */
  36708. -$ac_includes_default
  36709. -#include <$ac_header>
  36710. -_ACEOF
  36711. -rm -f conftest.$ac_objext
  36712. -if { (ac_try="$ac_compile"
  36713. -case "(($ac_try" in
  36714. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  36715. - *) ac_try_echo=$ac_try;;
  36716. -esac
  36717. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  36718. -$as_echo "$ac_try_echo") >&5
  36719. - (eval "$ac_compile") 2>conftest.er1
  36720. - ac_status=$?
  36721. - grep -v '^ *+' conftest.er1 >conftest.err
  36722. - rm -f conftest.er1
  36723. - cat conftest.err >&5
  36724. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  36725. - (exit $ac_status); } && {
  36726. - test -z "$ac_c_werror_flag" ||
  36727. - test ! -s conftest.err
  36728. - } && test -s conftest.$ac_objext; then
  36729. - ac_header_compiler=yes
  36730. + if test -n "$ac_ct_AR"; then
  36731. + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  36732. else
  36733. - $as_echo "$as_me: failed program was:" >&5
  36734. -sed 's/^/| /' conftest.$ac_ext >&5
  36735. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  36736. +for as_dir in $PATH
  36737. +do
  36738. + IFS=$as_save_IFS
  36739. + test -z "$as_dir" && as_dir=.
  36740. + for ac_exec_ext in '' $ac_executable_extensions; do
  36741. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  36742. + ac_cv_prog_ac_ct_AR="ar"
  36743. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  36744. + break 2
  36745. + fi
  36746. +done
  36747. + done
  36748. +IFS=$as_save_IFS
  36749. - ac_header_compiler=no
  36750. fi
  36751. -
  36752. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  36753. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  36754. -$as_echo "$ac_header_compiler" >&6; }
  36755. -
  36756. -# Is the header present?
  36757. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  36758. -$as_echo_n "checking $ac_header presence... " >&6; }
  36759. -cat >conftest.$ac_ext <<_ACEOF
  36760. -/* confdefs.h. */
  36761. -_ACEOF
  36762. -cat confdefs.h >>conftest.$ac_ext
  36763. -cat >>conftest.$ac_ext <<_ACEOF
  36764. -/* end confdefs.h. */
  36765. -#include <$ac_header>
  36766. -_ACEOF
  36767. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  36768. -case "(($ac_try" in
  36769. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  36770. - *) ac_try_echo=$ac_try;;
  36771. -esac
  36772. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  36773. -$as_echo "$ac_try_echo") >&5
  36774. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  36775. - ac_status=$?
  36776. - grep -v '^ *+' conftest.er1 >conftest.err
  36777. - rm -f conftest.er1
  36778. - cat conftest.err >&5
  36779. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  36780. - (exit $ac_status); } >/dev/null && {
  36781. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  36782. - test ! -s conftest.err
  36783. - }; then
  36784. - ac_header_preproc=yes
  36785. +fi
  36786. +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  36787. +if test -n "$ac_ct_AR"; then
  36788. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  36789. +$as_echo "$ac_ct_AR" >&6; }
  36790. else
  36791. - $as_echo "$as_me: failed program was:" >&5
  36792. -sed 's/^/| /' conftest.$ac_ext >&5
  36793. -
  36794. - ac_header_preproc=no
  36795. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36796. +$as_echo "no" >&6; }
  36797. fi
  36798. -rm -f conftest.err conftest.$ac_ext
  36799. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  36800. -$as_echo "$ac_header_preproc" >&6; }
  36801. -
  36802. -# So? What about this header?
  36803. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  36804. - yes:no: )
  36805. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  36806. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  36807. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  36808. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  36809. - ac_header_preproc=yes
  36810. - ;;
  36811. - no:yes:* )
  36812. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  36813. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  36814. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  36815. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  36816. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  36817. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  36818. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  36819. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  36820. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  36821. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  36822. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  36823. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  36824. - ( cat <<\_ASBOX
  36825. -## ----------------------------------------------- ##
  36826. -## Report this to http://www.squid-cache.org/bugs/ ##
  36827. -## ----------------------------------------------- ##
  36828. -_ASBOX
  36829. - ) | sed "s/^/$as_me: WARNING: /" >&2
  36830. - ;;
  36831. + if test "x$ac_ct_AR" = x; then
  36832. + AR="false"
  36833. + else
  36834. + case $cross_compiling:$ac_tool_warned in
  36835. +yes:)
  36836. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  36837. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  36838. +ac_tool_warned=yes ;;
  36839. esac
  36840. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  36841. -$as_echo_n "checking for $ac_header... " >&6; }
  36842. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  36843. - $as_echo_n "(cached) " >&6
  36844. + AR=$ac_ct_AR
  36845. + fi
  36846. else
  36847. - eval "$as_ac_Header=\$ac_header_preproc"
  36848. + AR="$ac_cv_prog_AR"
  36849. fi
  36850. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  36851. - $as_echo "$as_val"'`
  36852. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  36853. -$as_echo "$ac_res" >&6; }
  36854. -fi
  36855. -if test `eval 'as_val=${'$as_ac_Header'}
  36856. - $as_echo "$as_val"'` = yes; then
  36857. - cat >>confdefs.h <<_ACEOF
  36858. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  36859. -_ACEOF
  36860. +test -z "$AR" && AR=ar
  36861. +test -z "$AR_FLAGS" && AR_FLAGS=cru
  36862. -fi
  36863. -done
  36864. -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  36865. - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  36866. - (test "X$CXX" != "Xg++"))) ; then
  36867. - ac_ext=cpp
  36868. -ac_cpp='$CXXCPP $CPPFLAGS'
  36869. -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  36870. -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  36871. -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  36872. -{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
  36873. -$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
  36874. -if test -z "$CXXCPP"; then
  36875. - if test "${ac_cv_prog_CXXCPP+set}" = set; then
  36876. +
  36877. +
  36878. +
  36879. +
  36880. +
  36881. +
  36882. +if test -n "$ac_tool_prefix"; then
  36883. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  36884. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  36885. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  36886. +$as_echo_n "checking for $ac_word... " >&6; }
  36887. +if test "${ac_cv_prog_STRIP+set}" = set; then :
  36888. $as_echo_n "(cached) " >&6
  36889. else
  36890. - # Double quotes because CXXCPP needs to be expanded
  36891. - for CXXCPP in "$CXX -E" "/lib/cpp"
  36892. - do
  36893. - ac_preproc_ok=false
  36894. -for ac_cxx_preproc_warn_flag in '' yes
  36895. -do
  36896. - # Use a header file that comes with gcc, so configuring glibc
  36897. - # with a fresh cross-compiler works.
  36898. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  36899. - # <limits.h> exists even on freestanding compilers.
  36900. - # On the NeXT, cc -E runs the code through the compiler's parser,
  36901. - # not just through cpp. "Syntax error" is here to catch this case.
  36902. - cat >conftest.$ac_ext <<_ACEOF
  36903. -/* confdefs.h. */
  36904. -_ACEOF
  36905. -cat confdefs.h >>conftest.$ac_ext
  36906. -cat >>conftest.$ac_ext <<_ACEOF
  36907. -/* end confdefs.h. */
  36908. -#ifdef __STDC__
  36909. -# include <limits.h>
  36910. -#else
  36911. -# include <assert.h>
  36912. -#endif
  36913. - Syntax error
  36914. -_ACEOF
  36915. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  36916. -case "(($ac_try" in
  36917. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  36918. - *) ac_try_echo=$ac_try;;
  36919. -esac
  36920. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  36921. -$as_echo "$ac_try_echo") >&5
  36922. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  36923. - ac_status=$?
  36924. - grep -v '^ *+' conftest.er1 >conftest.err
  36925. - rm -f conftest.er1
  36926. - cat conftest.err >&5
  36927. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  36928. - (exit $ac_status); } >/dev/null && {
  36929. - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  36930. - test ! -s conftest.err
  36931. - }; then
  36932. - :
  36933. + if test -n "$STRIP"; then
  36934. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  36935. else
  36936. - $as_echo "$as_me: failed program was:" >&5
  36937. -sed 's/^/| /' conftest.$ac_ext >&5
  36938. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  36939. +for as_dir in $PATH
  36940. +do
  36941. + IFS=$as_save_IFS
  36942. + test -z "$as_dir" && as_dir=.
  36943. + for ac_exec_ext in '' $ac_executable_extensions; do
  36944. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  36945. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  36946. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  36947. + break 2
  36948. + fi
  36949. +done
  36950. + done
  36951. +IFS=$as_save_IFS
  36952. - # Broken: fails on valid input.
  36953. -continue
  36954. fi
  36955. -
  36956. -rm -f conftest.err conftest.$ac_ext
  36957. -
  36958. - # OK, works on sane cases. Now check whether nonexistent headers
  36959. - # can be detected and how.
  36960. - cat >conftest.$ac_ext <<_ACEOF
  36961. -/* confdefs.h. */
  36962. -_ACEOF
  36963. -cat confdefs.h >>conftest.$ac_ext
  36964. -cat >>conftest.$ac_ext <<_ACEOF
  36965. -/* end confdefs.h. */
  36966. -#include <ac_nonexistent.h>
  36967. -_ACEOF
  36968. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  36969. -case "(($ac_try" in
  36970. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  36971. - *) ac_try_echo=$ac_try;;
  36972. -esac
  36973. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  36974. -$as_echo "$ac_try_echo") >&5
  36975. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  36976. - ac_status=$?
  36977. - grep -v '^ *+' conftest.er1 >conftest.err
  36978. - rm -f conftest.er1
  36979. - cat conftest.err >&5
  36980. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  36981. - (exit $ac_status); } >/dev/null && {
  36982. - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  36983. - test ! -s conftest.err
  36984. - }; then
  36985. - # Broken: success on invalid input.
  36986. -continue
  36987. +fi
  36988. +STRIP=$ac_cv_prog_STRIP
  36989. +if test -n "$STRIP"; then
  36990. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  36991. +$as_echo "$STRIP" >&6; }
  36992. else
  36993. - $as_echo "$as_me: failed program was:" >&5
  36994. -sed 's/^/| /' conftest.$ac_ext >&5
  36995. -
  36996. - # Passes both tests.
  36997. -ac_preproc_ok=:
  36998. -break
  36999. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  37000. +$as_echo "no" >&6; }
  37001. fi
  37002. -rm -f conftest.err conftest.$ac_ext
  37003. -done
  37004. -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  37005. -rm -f conftest.err conftest.$ac_ext
  37006. -if $ac_preproc_ok; then
  37007. - break
  37008. fi
  37009. -
  37010. - done
  37011. - ac_cv_prog_CXXCPP=$CXXCPP
  37012. +if test -z "$ac_cv_prog_STRIP"; then
  37013. + ac_ct_STRIP=$STRIP
  37014. + # Extract the first word of "strip", so it can be a program name with args.
  37015. +set dummy strip; ac_word=$2
  37016. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  37017. +$as_echo_n "checking for $ac_word... " >&6; }
  37018. +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  37019. + $as_echo_n "(cached) " >&6
  37020. +else
  37021. + if test -n "$ac_ct_STRIP"; then
  37022. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  37023. +else
  37024. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  37025. +for as_dir in $PATH
  37026. +do
  37027. + IFS=$as_save_IFS
  37028. + test -z "$as_dir" && as_dir=.
  37029. + for ac_exec_ext in '' $ac_executable_extensions; do
  37030. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  37031. + ac_cv_prog_ac_ct_STRIP="strip"
  37032. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  37033. + break 2
  37034. + fi
  37035. +done
  37036. + done
  37037. +IFS=$as_save_IFS
  37038. fi
  37039. - CXXCPP=$ac_cv_prog_CXXCPP
  37040. -else
  37041. - ac_cv_prog_CXXCPP=$CXXCPP
  37042. fi
  37043. -{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
  37044. -$as_echo "$CXXCPP" >&6; }
  37045. -ac_preproc_ok=false
  37046. -for ac_cxx_preproc_warn_flag in '' yes
  37047. -do
  37048. - # Use a header file that comes with gcc, so configuring glibc
  37049. - # with a fresh cross-compiler works.
  37050. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  37051. - # <limits.h> exists even on freestanding compilers.
  37052. - # On the NeXT, cc -E runs the code through the compiler's parser,
  37053. - # not just through cpp. "Syntax error" is here to catch this case.
  37054. - cat >conftest.$ac_ext <<_ACEOF
  37055. -/* confdefs.h. */
  37056. -_ACEOF
  37057. -cat confdefs.h >>conftest.$ac_ext
  37058. -cat >>conftest.$ac_ext <<_ACEOF
  37059. -/* end confdefs.h. */
  37060. -#ifdef __STDC__
  37061. -# include <limits.h>
  37062. -#else
  37063. -# include <assert.h>
  37064. -#endif
  37065. - Syntax error
  37066. -_ACEOF
  37067. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  37068. -case "(($ac_try" in
  37069. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  37070. - *) ac_try_echo=$ac_try;;
  37071. -esac
  37072. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  37073. -$as_echo "$ac_try_echo") >&5
  37074. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  37075. - ac_status=$?
  37076. - grep -v '^ *+' conftest.er1 >conftest.err
  37077. - rm -f conftest.er1
  37078. - cat conftest.err >&5
  37079. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  37080. - (exit $ac_status); } >/dev/null && {
  37081. - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  37082. - test ! -s conftest.err
  37083. - }; then
  37084. - :
  37085. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  37086. +if test -n "$ac_ct_STRIP"; then
  37087. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  37088. +$as_echo "$ac_ct_STRIP" >&6; }
  37089. else
  37090. - $as_echo "$as_me: failed program was:" >&5
  37091. -sed 's/^/| /' conftest.$ac_ext >&5
  37092. -
  37093. - # Broken: fails on valid input.
  37094. -continue
  37095. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  37096. +$as_echo "no" >&6; }
  37097. fi
  37098. -rm -f conftest.err conftest.$ac_ext
  37099. -
  37100. - # OK, works on sane cases. Now check whether nonexistent headers
  37101. - # can be detected and how.
  37102. - cat >conftest.$ac_ext <<_ACEOF
  37103. -/* confdefs.h. */
  37104. -_ACEOF
  37105. -cat confdefs.h >>conftest.$ac_ext
  37106. -cat >>conftest.$ac_ext <<_ACEOF
  37107. -/* end confdefs.h. */
  37108. -#include <ac_nonexistent.h>
  37109. -_ACEOF
  37110. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  37111. -case "(($ac_try" in
  37112. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  37113. - *) ac_try_echo=$ac_try;;
  37114. + if test "x$ac_ct_STRIP" = x; then
  37115. + STRIP=":"
  37116. + else
  37117. + case $cross_compiling:$ac_tool_warned in
  37118. +yes:)
  37119. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  37120. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  37121. +ac_tool_warned=yes ;;
  37122. esac
  37123. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  37124. -$as_echo "$ac_try_echo") >&5
  37125. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  37126. - ac_status=$?
  37127. - grep -v '^ *+' conftest.er1 >conftest.err
  37128. - rm -f conftest.er1
  37129. - cat conftest.err >&5
  37130. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  37131. - (exit $ac_status); } >/dev/null && {
  37132. - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  37133. - test ! -s conftest.err
  37134. - }; then
  37135. - # Broken: success on invalid input.
  37136. -continue
  37137. + STRIP=$ac_ct_STRIP
  37138. + fi
  37139. else
  37140. - $as_echo "$as_me: failed program was:" >&5
  37141. -sed 's/^/| /' conftest.$ac_ext >&5
  37142. -
  37143. - # Passes both tests.
  37144. -ac_preproc_ok=:
  37145. -break
  37146. + STRIP="$ac_cv_prog_STRIP"
  37147. fi
  37148. -rm -f conftest.err conftest.$ac_ext
  37149. +test -z "$STRIP" && STRIP=:
  37150. +
  37151. -done
  37152. -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  37153. -rm -f conftest.err conftest.$ac_ext
  37154. -if $ac_preproc_ok; then
  37155. - :
  37156. -else
  37157. - { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
  37158. -See \`config.log' for more details." >&5
  37159. -$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
  37160. -See \`config.log' for more details." >&2;}
  37161. - { (exit 1); exit 1; }; }
  37162. -fi
  37163. -ac_ext=cpp
  37164. -ac_cpp='$CXXCPP $CPPFLAGS'
  37165. -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  37166. -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  37167. -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  37168. -fi
  37169. -ac_ext=f
  37170. -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
  37171. -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  37172. -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
  37173. if test -n "$ac_tool_prefix"; then
  37174. - for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
  37175. - do
  37176. - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  37177. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  37178. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  37179. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  37180. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  37181. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  37182. $as_echo_n "checking for $ac_word... " >&6; }
  37183. -if test "${ac_cv_prog_F77+set}" = set; then
  37184. +if test "${ac_cv_prog_RANLIB+set}" = set; then :
  37185. $as_echo_n "(cached) " >&6
  37186. else
  37187. - if test -n "$F77"; then
  37188. - ac_cv_prog_F77="$F77" # Let the user override the test.
  37189. + if test -n "$RANLIB"; then
  37190. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  37191. else
  37192. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  37193. for as_dir in $PATH
  37194. do
  37195. IFS=$as_save_IFS
  37196. test -z "$as_dir" && as_dir=.
  37197. - for ac_exec_ext in '' $ac_executable_extensions; do
  37198. + for ac_exec_ext in '' $ac_executable_extensions; do
  37199. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  37200. - ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
  37201. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  37202. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  37203. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  37204. break 2
  37205. fi
  37206. done
  37207. -done
  37208. + done
  37209. IFS=$as_save_IFS
  37210. fi
  37211. fi
  37212. -F77=$ac_cv_prog_F77
  37213. -if test -n "$F77"; then
  37214. - { $as_echo "$as_me:$LINENO: result: $F77" >&5
  37215. -$as_echo "$F77" >&6; }
  37216. +RANLIB=$ac_cv_prog_RANLIB
  37217. +if test -n "$RANLIB"; then
  37218. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  37219. +$as_echo "$RANLIB" >&6; }
  37220. else
  37221. - { $as_echo "$as_me:$LINENO: result: no" >&5
  37222. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  37223. $as_echo "no" >&6; }
  37224. fi
  37225. - test -n "$F77" && break
  37226. - done
  37227. fi
  37228. -if test -z "$F77"; then
  37229. - ac_ct_F77=$F77
  37230. - for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
  37231. -do
  37232. - # Extract the first word of "$ac_prog", so it can be a program name with args.
  37233. -set dummy $ac_prog; ac_word=$2
  37234. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  37235. +if test -z "$ac_cv_prog_RANLIB"; then
  37236. + ac_ct_RANLIB=$RANLIB
  37237. + # Extract the first word of "ranlib", so it can be a program name with args.
  37238. +set dummy ranlib; ac_word=$2
  37239. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  37240. $as_echo_n "checking for $ac_word... " >&6; }
  37241. -if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
  37242. +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  37243. $as_echo_n "(cached) " >&6
  37244. else
  37245. - if test -n "$ac_ct_F77"; then
  37246. - ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
  37247. + if test -n "$ac_ct_RANLIB"; then
  37248. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  37249. else
  37250. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  37251. for as_dir in $PATH
  37252. do
  37253. IFS=$as_save_IFS
  37254. test -z "$as_dir" && as_dir=.
  37255. - for ac_exec_ext in '' $ac_executable_extensions; do
  37256. + for ac_exec_ext in '' $ac_executable_extensions; do
  37257. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  37258. - ac_cv_prog_ac_ct_F77="$ac_prog"
  37259. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  37260. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  37261. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  37262. break 2
  37263. fi
  37264. done
  37265. -done
  37266. + done
  37267. IFS=$as_save_IFS
  37268. fi
  37269. fi
  37270. -ac_ct_F77=$ac_cv_prog_ac_ct_F77
  37271. -if test -n "$ac_ct_F77"; then
  37272. - { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
  37273. -$as_echo "$ac_ct_F77" >&6; }
  37274. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  37275. +if test -n "$ac_ct_RANLIB"; then
  37276. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  37277. +$as_echo "$ac_ct_RANLIB" >&6; }
  37278. else
  37279. - { $as_echo "$as_me:$LINENO: result: no" >&5
  37280. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  37281. $as_echo "no" >&6; }
  37282. fi
  37283. -
  37284. - test -n "$ac_ct_F77" && break
  37285. -done
  37286. -
  37287. - if test "x$ac_ct_F77" = x; then
  37288. - F77=""
  37289. + if test "x$ac_ct_RANLIB" = x; then
  37290. + RANLIB=":"
  37291. else
  37292. case $cross_compiling:$ac_tool_warned in
  37293. yes:)
  37294. -{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  37295. -whose name does not start with the host triplet. If you think this
  37296. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  37297. -$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  37298. -whose name does not start with the host triplet. If you think this
  37299. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  37300. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  37301. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  37302. ac_tool_warned=yes ;;
  37303. esac
  37304. - F77=$ac_ct_F77
  37305. + RANLIB=$ac_ct_RANLIB
  37306. fi
  37307. +else
  37308. + RANLIB="$ac_cv_prog_RANLIB"
  37309. fi
  37310. +test -z "$RANLIB" && RANLIB=:
  37311. -# Provide some information about the compiler.
  37312. -$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
  37313. -set X $ac_compile
  37314. -ac_compiler=$2
  37315. -{ (ac_try="$ac_compiler --version >&5"
  37316. -case "(($ac_try" in
  37317. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  37318. - *) ac_try_echo=$ac_try;;
  37319. -esac
  37320. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  37321. -$as_echo "$ac_try_echo") >&5
  37322. - (eval "$ac_compiler --version >&5") 2>&5
  37323. - ac_status=$?
  37324. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  37325. - (exit $ac_status); }
  37326. -{ (ac_try="$ac_compiler -v >&5"
  37327. -case "(($ac_try" in
  37328. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  37329. - *) ac_try_echo=$ac_try;;
  37330. -esac
  37331. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  37332. -$as_echo "$ac_try_echo") >&5
  37333. - (eval "$ac_compiler -v >&5") 2>&5
  37334. - ac_status=$?
  37335. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  37336. - (exit $ac_status); }
  37337. -{ (ac_try="$ac_compiler -V >&5"
  37338. -case "(($ac_try" in
  37339. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  37340. - *) ac_try_echo=$ac_try;;
  37341. -esac
  37342. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  37343. -$as_echo "$ac_try_echo") >&5
  37344. - (eval "$ac_compiler -V >&5") 2>&5
  37345. - ac_status=$?
  37346. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  37347. - (exit $ac_status); }
  37348. -rm -f a.out
  37349. -
  37350. -# If we don't use `.F' as extension, the preprocessor is not run on the
  37351. -# input file. (Note that this only needs to work for GNU compilers.)
  37352. -ac_save_ext=$ac_ext
  37353. -ac_ext=F
  37354. -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
  37355. -$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
  37356. -if test "${ac_cv_f77_compiler_gnu+set}" = set; then
  37357. - $as_echo_n "(cached) " >&6
  37358. -else
  37359. - cat >conftest.$ac_ext <<_ACEOF
  37360. - program main
  37361. -#ifndef __GNUC__
  37362. - choke me
  37363. -#endif
  37364. - end
  37365. -_ACEOF
  37366. -rm -f conftest.$ac_objext
  37367. -if { (ac_try="$ac_compile"
  37368. -case "(($ac_try" in
  37369. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  37370. - *) ac_try_echo=$ac_try;;
  37371. -esac
  37372. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  37373. -$as_echo "$ac_try_echo") >&5
  37374. - (eval "$ac_compile") 2>conftest.er1
  37375. - ac_status=$?
  37376. - grep -v '^ *+' conftest.er1 >conftest.err
  37377. - rm -f conftest.er1
  37378. - cat conftest.err >&5
  37379. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  37380. - (exit $ac_status); } && {
  37381. - test -z "$ac_f77_werror_flag" ||
  37382. - test ! -s conftest.err
  37383. - } && test -s conftest.$ac_objext; then
  37384. - ac_compiler_gnu=yes
  37385. -else
  37386. - $as_echo "$as_me: failed program was:" >&5
  37387. -sed 's/^/| /' conftest.$ac_ext >&5
  37388. - ac_compiler_gnu=no
  37389. -fi
  37390. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37391. -ac_cv_f77_compiler_gnu=$ac_compiler_gnu
  37392. -fi
  37393. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
  37394. -$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
  37395. -ac_ext=$ac_save_ext
  37396. -ac_test_FFLAGS=${FFLAGS+set}
  37397. -ac_save_FFLAGS=$FFLAGS
  37398. -FFLAGS=
  37399. -{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
  37400. -$as_echo_n "checking whether $F77 accepts -g... " >&6; }
  37401. -if test "${ac_cv_prog_f77_g+set}" = set; then
  37402. - $as_echo_n "(cached) " >&6
  37403. -else
  37404. - FFLAGS=-g
  37405. -cat >conftest.$ac_ext <<_ACEOF
  37406. - program main
  37407. - end
  37408. -_ACEOF
  37409. -rm -f conftest.$ac_objext
  37410. -if { (ac_try="$ac_compile"
  37411. -case "(($ac_try" in
  37412. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  37413. - *) ac_try_echo=$ac_try;;
  37414. -esac
  37415. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  37416. -$as_echo "$ac_try_echo") >&5
  37417. - (eval "$ac_compile") 2>conftest.er1
  37418. - ac_status=$?
  37419. - grep -v '^ *+' conftest.er1 >conftest.err
  37420. - rm -f conftest.er1
  37421. - cat conftest.err >&5
  37422. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  37423. - (exit $ac_status); } && {
  37424. - test -z "$ac_f77_werror_flag" ||
  37425. - test ! -s conftest.err
  37426. - } && test -s conftest.$ac_objext; then
  37427. - ac_cv_prog_f77_g=yes
  37428. -else
  37429. - $as_echo "$as_me: failed program was:" >&5
  37430. -sed 's/^/| /' conftest.$ac_ext >&5
  37431. +# Determine commands to create old-style static archives.
  37432. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  37433. +old_postinstall_cmds='chmod 644 $oldlib'
  37434. +old_postuninstall_cmds=
  37435. - ac_cv_prog_f77_g=no
  37436. +if test -n "$RANLIB"; then
  37437. + case $host_os in
  37438. + openbsd*)
  37439. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  37440. + ;;
  37441. + *)
  37442. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  37443. + ;;
  37444. + esac
  37445. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  37446. fi
  37447. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37448. -fi
  37449. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
  37450. -$as_echo "$ac_cv_prog_f77_g" >&6; }
  37451. -if test "$ac_test_FFLAGS" = set; then
  37452. - FFLAGS=$ac_save_FFLAGS
  37453. -elif test $ac_cv_prog_f77_g = yes; then
  37454. - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
  37455. - FFLAGS="-g -O2"
  37456. - else
  37457. - FFLAGS="-g"
  37458. - fi
  37459. -else
  37460. - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
  37461. - FFLAGS="-O2"
  37462. - else
  37463. - FFLAGS=
  37464. - fi
  37465. -fi
  37466. -if test $ac_compiler_gnu = yes; then
  37467. - G77=yes
  37468. -else
  37469. - G77=
  37470. -fi
  37471. -ac_ext=c
  37472. -ac_cpp='$CPP $CPPFLAGS'
  37473. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  37474. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  37475. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  37476. -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
  37477. -# find the maximum length of command line arguments
  37478. -{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
  37479. -$as_echo_n "checking the maximum length of command line arguments... " >&6; }
  37480. -if test "${lt_cv_sys_max_cmd_len+set}" = set; then
  37481. - $as_echo_n "(cached) " >&6
  37482. -else
  37483. - i=0
  37484. - teststring="ABCD"
  37485. - case $build_os in
  37486. - msdosdjgpp*)
  37487. - # On DJGPP, this test can blow up pretty badly due to problems in libc
  37488. - # (any single argument exceeding 2000 bytes causes a buffer overrun
  37489. - # during glob expansion). Even if it were fixed, the result of this
  37490. - # check would be larger than it should be.
  37491. - lt_cv_sys_max_cmd_len=12288; # 12K is about right
  37492. - ;;
  37493. - gnu*)
  37494. - # Under GNU Hurd, this test is not required because there is
  37495. - # no limit to the length of command line arguments.
  37496. - # Libtool will interpret -1 as no limit whatsoever
  37497. - lt_cv_sys_max_cmd_len=-1;
  37498. - ;;
  37499. - cygwin* | mingw*)
  37500. - # On Win9x/ME, this test blows up -- it succeeds, but takes
  37501. - # about 5 minutes as the teststring grows exponentially.
  37502. - # Worse, since 9x/ME are not pre-emptively multitasking,
  37503. - # you end up with a "frozen" computer, even though with patience
  37504. - # the test eventually succeeds (with a max line length of 256k).
  37505. - # Instead, let's just punt: use the minimum linelength reported by
  37506. - # all of the supported platforms: 8192 (on NT/2K/XP).
  37507. - lt_cv_sys_max_cmd_len=8192;
  37508. - ;;
  37509. - amigaos*)
  37510. - # On AmigaOS with pdksh, this test takes hours, literally.
  37511. - # So we just punt and use a minimum line length of 8192.
  37512. - lt_cv_sys_max_cmd_len=8192;
  37513. - ;;
  37514. - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  37515. - # This has been around since 386BSD, at least. Likely further.
  37516. - if test -x /sbin/sysctl; then
  37517. - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  37518. - elif test -x /usr/sbin/sysctl; then
  37519. - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  37520. - else
  37521. - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  37522. - fi
  37523. - # And add a safety zone
  37524. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  37525. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  37526. - ;;
  37527. - interix*)
  37528. - # We know the value 262144 and hardcode it with a safety zone (like BSD)
  37529. - lt_cv_sys_max_cmd_len=196608
  37530. - ;;
  37531. - osf*)
  37532. - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  37533. - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  37534. - # nice to cause kernel panics so lets avoid the loop below.
  37535. - # First set a reasonable default.
  37536. - lt_cv_sys_max_cmd_len=16384
  37537. - #
  37538. - if test -x /sbin/sysconfig; then
  37539. - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  37540. - *1*) lt_cv_sys_max_cmd_len=-1 ;;
  37541. - esac
  37542. - fi
  37543. - ;;
  37544. - sco3.2v5*)
  37545. - lt_cv_sys_max_cmd_len=102400
  37546. - ;;
  37547. - sysv5* | sco5v6* | sysv4.2uw2*)
  37548. - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  37549. - if test -n "$kargmax"; then
  37550. - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  37551. - else
  37552. - lt_cv_sys_max_cmd_len=32768
  37553. - fi
  37554. - ;;
  37555. - *)
  37556. - lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  37557. - if test -n "$lt_cv_sys_max_cmd_len"; then
  37558. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  37559. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  37560. - else
  37561. - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  37562. - while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
  37563. - = "XX$teststring") >/dev/null 2>&1 &&
  37564. - new_result=`expr "X$teststring" : ".*" 2>&1` &&
  37565. - lt_cv_sys_max_cmd_len=$new_result &&
  37566. - test $i != 17 # 1/2 MB should be enough
  37567. - do
  37568. - i=`expr $i + 1`
  37569. - teststring=$teststring$teststring
  37570. - done
  37571. - teststring=
  37572. - # Add a significant safety factor because C++ compilers can tack on massive
  37573. - # amounts of additional arguments before passing them to the linker.
  37574. - # It appears as though 1/2 is a usable value.
  37575. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  37576. - fi
  37577. - ;;
  37578. - esac
  37579. -fi
  37580. -if test -n $lt_cv_sys_max_cmd_len ; then
  37581. - { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
  37582. -$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  37583. -else
  37584. - { $as_echo "$as_me:$LINENO: result: none" >&5
  37585. -$as_echo "none" >&6; }
  37586. -fi
  37587. +
  37588. +
  37589. +
  37590. +
  37591. +
  37592. +
  37593. +
  37594. +
  37595. +
  37596. +
  37597. +
  37598. +
  37599. +
  37600. +
  37601. +# If no C compiler was specified, use CC.
  37602. +LTCC=${LTCC-"$CC"}
  37603. +
  37604. +# If no C compiler flags were specified, use CFLAGS.
  37605. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  37606. +
  37607. +# Allow CC to be a program name with arguments.
  37608. +compiler=$CC
  37609. +
  37610. +
  37611. # Check for command to grab the raw symbol name followed by C symbol from nm.
  37612. -{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
  37613. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  37614. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  37615. -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
  37616. +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
  37617. $as_echo_n "(cached) " >&6
  37618. else
  37619. @@ -7022,33 +6938,18 @@
  37620. # Regexp to match symbols that can be accessed directly from C.
  37621. sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  37622. -# Transform an extracted symbol line into a proper C declaration
  37623. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
  37624. -
  37625. -# Transform an extracted symbol line into symbol name and symbol address
  37626. -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
  37627. -
  37628. # Define system-specific variables.
  37629. case $host_os in
  37630. aix*)
  37631. symcode='[BCDT]'
  37632. ;;
  37633. -cygwin* | mingw* | pw32*)
  37634. +cygwin* | mingw* | pw32* | cegcc*)
  37635. symcode='[ABCDGISTW]'
  37636. ;;
  37637. -hpux*) # Its linker distinguishes data from code symbols
  37638. +hpux*)
  37639. if test "$host_cpu" = ia64; then
  37640. symcode='[ABCDEGRST]'
  37641. fi
  37642. - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  37643. - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
  37644. - ;;
  37645. -linux* | k*bsd*-gnu)
  37646. - if test "$host_cpu" = ia64; then
  37647. - symcode='[ABCDGIRSTW]'
  37648. - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  37649. - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
  37650. - fi
  37651. ;;
  37652. irix* | nonstopux*)
  37653. symcode='[BCDEGRST]'
  37654. @@ -7073,57 +6974,85 @@
  37655. ;;
  37656. esac
  37657. +# If we're using GNU nm, then use its standard symbol codes.
  37658. +case `$NM -V 2>&1` in
  37659. +*GNU* | *'with BFD'*)
  37660. + symcode='[ABCDGIRSTW]' ;;
  37661. +esac
  37662. +
  37663. +# Transform an extracted symbol line into a proper C declaration.
  37664. +# Some systems (esp. on ia64) link data and code symbols differently,
  37665. +# so use this general approach.
  37666. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  37667. +
  37668. +# Transform an extracted symbol line into symbol name and symbol address
  37669. +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  37670. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
  37671. +
  37672. # Handle CRLF in mingw tool chain
  37673. opt_cr=
  37674. case $build_os in
  37675. mingw*)
  37676. - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  37677. + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  37678. ;;
  37679. esac
  37680. -# If we're using GNU nm, then use its standard symbol codes.
  37681. -case `$NM -V 2>&1` in
  37682. -*GNU* | *'with BFD'*)
  37683. - symcode='[ABCDGIRSTW]' ;;
  37684. -esac
  37685. -
  37686. -# Try without a prefix undercore, then with it.
  37687. +# Try without a prefix underscore, then with it.
  37688. for ac_symprfx in "" "_"; do
  37689. # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  37690. symxfrm="\\1 $ac_symprfx\\2 \\2"
  37691. # Write the raw and C identifiers.
  37692. - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  37693. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  37694. + # Fake it for dumpbin and say T for any non-static function
  37695. + # and D for any global variable.
  37696. + # Also find C++ and __fastcall symbols from MSVC++,
  37697. + # which start with @ or ?.
  37698. + lt_cv_sys_global_symbol_pipe="$AWK '"\
  37699. +" {last_section=section; section=\$ 3};"\
  37700. +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  37701. +" \$ 0!~/External *\|/{next};"\
  37702. +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  37703. +" {if(hide[section]) next};"\
  37704. +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  37705. +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  37706. +" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  37707. +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  37708. +" ' prfx=^$ac_symprfx"
  37709. + else
  37710. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  37711. + fi
  37712. # Check to see that the pipe works correctly.
  37713. pipe_works=no
  37714. rm -f conftest*
  37715. - cat > conftest.$ac_ext <<EOF
  37716. + cat > conftest.$ac_ext <<_LT_EOF
  37717. #ifdef __cplusplus
  37718. extern "C" {
  37719. #endif
  37720. char nm_test_var;
  37721. -void nm_test_func(){}
  37722. +void nm_test_func(void);
  37723. +void nm_test_func(void){}
  37724. #ifdef __cplusplus
  37725. }
  37726. #endif
  37727. int main(){nm_test_var='a';nm_test_func();return(0);}
  37728. -EOF
  37729. +_LT_EOF
  37730. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  37731. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  37732. (eval $ac_compile) 2>&5
  37733. ac_status=$?
  37734. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  37735. - (exit $ac_status); }; then
  37736. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  37737. + test $ac_status = 0; }; then
  37738. # Now try to grab the symbols.
  37739. nlist=conftest.nm
  37740. - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
  37741. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
  37742. (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  37743. ac_status=$?
  37744. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  37745. - (exit $ac_status); } && test -s "$nlist"; then
  37746. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  37747. + test $ac_status = 0; } && test -s "$nlist"; then
  37748. # Try sorting and uniquifying the output.
  37749. if sort "$nlist" | uniq > "$nlist"T; then
  37750. mv -f "$nlist"T "$nlist"
  37751. @@ -7132,53 +7061,55 @@
  37752. fi
  37753. # Make sure that we snagged all the symbols we need.
  37754. - if grep ' nm_test_var$' "$nlist" >/dev/null; then
  37755. - if grep ' nm_test_func$' "$nlist" >/dev/null; then
  37756. - cat <<EOF > conftest.$ac_ext
  37757. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  37758. + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  37759. + cat <<_LT_EOF > conftest.$ac_ext
  37760. #ifdef __cplusplus
  37761. extern "C" {
  37762. #endif
  37763. -EOF
  37764. +_LT_EOF
  37765. # Now generate the symbol file.
  37766. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
  37767. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  37768. - cat <<EOF >> conftest.$ac_ext
  37769. -#if defined (__STDC__) && __STDC__
  37770. -# define lt_ptr_t void *
  37771. -#else
  37772. -# define lt_ptr_t char *
  37773. -# define const
  37774. -#endif
  37775. + cat <<_LT_EOF >> conftest.$ac_ext
  37776. -/* The mapping between symbol names and symbols. */
  37777. +/* The mapping between symbol names and symbols. */
  37778. const struct {
  37779. const char *name;
  37780. - lt_ptr_t address;
  37781. + void *address;
  37782. }
  37783. -lt_preloaded_symbols[] =
  37784. +lt__PROGRAM__LTX_preloaded_symbols[] =
  37785. {
  37786. -EOF
  37787. - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
  37788. - cat <<\EOF >> conftest.$ac_ext
  37789. - {0, (lt_ptr_t) 0}
  37790. + { "@PROGRAM@", (void *) 0 },
  37791. +_LT_EOF
  37792. + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  37793. + cat <<\_LT_EOF >> conftest.$ac_ext
  37794. + {0, (void *) 0}
  37795. };
  37796. +/* This works around a problem in FreeBSD linker */
  37797. +#ifdef FREEBSD_WORKAROUND
  37798. +static const void *lt_preloaded_setup() {
  37799. + return lt__PROGRAM__LTX_preloaded_symbols;
  37800. +}
  37801. +#endif
  37802. +
  37803. #ifdef __cplusplus
  37804. }
  37805. #endif
  37806. -EOF
  37807. +_LT_EOF
  37808. # Now try linking the two files.
  37809. mv conftest.$ac_objext conftstm.$ac_objext
  37810. lt_save_LIBS="$LIBS"
  37811. lt_save_CFLAGS="$CFLAGS"
  37812. LIBS="conftstm.$ac_objext"
  37813. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  37814. - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  37815. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  37816. (eval $ac_link) 2>&5
  37817. ac_status=$?
  37818. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  37819. - (exit $ac_status); } && test -s conftest${ac_exeext}; then
  37820. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  37821. + test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  37822. pipe_works=yes
  37823. fi
  37824. LIBS="$lt_save_LIBS"
  37825. @@ -7212,783 +7143,756 @@
  37826. lt_cv_sys_global_symbol_to_cdecl=
  37827. fi
  37828. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  37829. - { $as_echo "$as_me:$LINENO: result: failed" >&5
  37830. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  37831. $as_echo "failed" >&6; }
  37832. else
  37833. - { $as_echo "$as_me:$LINENO: result: ok" >&5
  37834. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  37835. $as_echo "ok" >&6; }
  37836. fi
  37837. -{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
  37838. -$as_echo_n "checking for objdir... " >&6; }
  37839. -if test "${lt_cv_objdir+set}" = set; then
  37840. - $as_echo_n "(cached) " >&6
  37841. -else
  37842. - rm -f .libs 2>/dev/null
  37843. -mkdir .libs 2>/dev/null
  37844. -if test -d .libs; then
  37845. - lt_cv_objdir=.libs
  37846. -else
  37847. - # MS-DOS does not allow filenames that begin with a dot.
  37848. - lt_cv_objdir=_libs
  37849. -fi
  37850. -rmdir .libs 2>/dev/null
  37851. -fi
  37852. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
  37853. -$as_echo "$lt_cv_objdir" >&6; }
  37854. -objdir=$lt_cv_objdir
  37855. -case $host_os in
  37856. -aix3*)
  37857. - # AIX sometimes has problems with the GCC collect2 program. For some
  37858. - # reason, if we set the COLLECT_NAMES environment variable, the problems
  37859. - # vanish in a puff of smoke.
  37860. - if test "X${COLLECT_NAMES+set}" != Xset; then
  37861. - COLLECT_NAMES=
  37862. - export COLLECT_NAMES
  37863. - fi
  37864. - ;;
  37865. -esac
  37866. -# Sed substitution that helps us do robust quoting. It backslashifies
  37867. -# metacharacters that are still active within double-quoted strings.
  37868. -Xsed='sed -e 1s/^X//'
  37869. -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
  37870. -# Same as above, but do not quote variable references.
  37871. -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
  37872. -# Sed substitution to delay expansion of an escaped shell variable in a
  37873. -# double_quote_subst'ed string.
  37874. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  37875. -# Sed substitution to avoid accidental globbing in evaled expressions
  37876. -no_glob_subst='s/\*/\\\*/g'
  37877. -# Constants:
  37878. -rm="rm -f"
  37879. -# Global variables:
  37880. -default_ofile=libtool
  37881. -can_build_shared=yes
  37882. -# All known linkers require a `.a' archive for static linking (except MSVC,
  37883. -# which needs '.lib').
  37884. -libext=a
  37885. -ltmain="$ac_aux_dir/ltmain.sh"
  37886. -ofile="$default_ofile"
  37887. -with_gnu_ld="$lt_cv_prog_gnu_ld"
  37888. -if test -n "$ac_tool_prefix"; then
  37889. - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  37890. -set dummy ${ac_tool_prefix}ar; ac_word=$2
  37891. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  37892. -$as_echo_n "checking for $ac_word... " >&6; }
  37893. -if test "${ac_cv_prog_AR+set}" = set; then
  37894. - $as_echo_n "(cached) " >&6
  37895. -else
  37896. - if test -n "$AR"; then
  37897. - ac_cv_prog_AR="$AR" # Let the user override the test.
  37898. +
  37899. +
  37900. +
  37901. +
  37902. +
  37903. +
  37904. +
  37905. +
  37906. +
  37907. +# Check whether --enable-libtool-lock was given.
  37908. +if test "${enable_libtool_lock+set}" = set; then :
  37909. + enableval=$enable_libtool_lock;
  37910. +fi
  37911. +
  37912. +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  37913. +
  37914. +# Some flags need to be propagated to the compiler or linker for good
  37915. +# libtool support.
  37916. +case $host in
  37917. +ia64-*-hpux*)
  37918. + # Find out which ABI we are using.
  37919. + echo 'int i;' > conftest.$ac_ext
  37920. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  37921. + (eval $ac_compile) 2>&5
  37922. + ac_status=$?
  37923. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  37924. + test $ac_status = 0; }; then
  37925. + case `/usr/bin/file conftest.$ac_objext` in
  37926. + *ELF-32*)
  37927. + HPUX_IA64_MODE="32"
  37928. + ;;
  37929. + *ELF-64*)
  37930. + HPUX_IA64_MODE="64"
  37931. + ;;
  37932. + esac
  37933. + fi
  37934. + rm -rf conftest*
  37935. + ;;
  37936. +*-*-irix6*)
  37937. + # Find out which ABI we are using.
  37938. + echo '#line 7206 "configure"' > conftest.$ac_ext
  37939. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  37940. + (eval $ac_compile) 2>&5
  37941. + ac_status=$?
  37942. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  37943. + test $ac_status = 0; }; then
  37944. + if test "$lt_cv_prog_gnu_ld" = yes; then
  37945. + case `/usr/bin/file conftest.$ac_objext` in
  37946. + *32-bit*)
  37947. + LD="${LD-ld} -melf32bsmip"
  37948. + ;;
  37949. + *N32*)
  37950. + LD="${LD-ld} -melf32bmipn32"
  37951. + ;;
  37952. + *64-bit*)
  37953. + LD="${LD-ld} -melf64bmip"
  37954. + ;;
  37955. + esac
  37956. + else
  37957. + case `/usr/bin/file conftest.$ac_objext` in
  37958. + *32-bit*)
  37959. + LD="${LD-ld} -32"
  37960. + ;;
  37961. + *N32*)
  37962. + LD="${LD-ld} -n32"
  37963. + ;;
  37964. + *64-bit*)
  37965. + LD="${LD-ld} -64"
  37966. + ;;
  37967. + esac
  37968. + fi
  37969. + fi
  37970. + rm -rf conftest*
  37971. + ;;
  37972. +
  37973. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  37974. +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  37975. + # Find out which ABI we are using.
  37976. + echo 'int i;' > conftest.$ac_ext
  37977. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  37978. + (eval $ac_compile) 2>&5
  37979. + ac_status=$?
  37980. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  37981. + test $ac_status = 0; }; then
  37982. + case `/usr/bin/file conftest.o` in
  37983. + *32-bit*)
  37984. + case $host in
  37985. + x86_64-*kfreebsd*-gnu)
  37986. + LD="${LD-ld} -m elf_i386_fbsd"
  37987. + ;;
  37988. + x86_64-*linux*)
  37989. + LD="${LD-ld} -m elf_i386"
  37990. + ;;
  37991. + ppc64-*linux*|powerpc64-*linux*)
  37992. + LD="${LD-ld} -m elf32ppclinux"
  37993. + ;;
  37994. + s390x-*linux*)
  37995. + LD="${LD-ld} -m elf_s390"
  37996. + ;;
  37997. + sparc64-*linux*)
  37998. + LD="${LD-ld} -m elf32_sparc"
  37999. + ;;
  38000. + esac
  38001. + ;;
  38002. + *64-bit*)
  38003. + case $host in
  38004. + x86_64-*kfreebsd*-gnu)
  38005. + LD="${LD-ld} -m elf_x86_64_fbsd"
  38006. + ;;
  38007. + x86_64-*linux*)
  38008. + LD="${LD-ld} -m elf_x86_64"
  38009. + ;;
  38010. + ppc*-*linux*|powerpc*-*linux*)
  38011. + LD="${LD-ld} -m elf64ppc"
  38012. + ;;
  38013. + s390*-*linux*|s390*-*tpf*)
  38014. + LD="${LD-ld} -m elf64_s390"
  38015. + ;;
  38016. + sparc*-*linux*)
  38017. + LD="${LD-ld} -m elf64_sparc"
  38018. + ;;
  38019. + esac
  38020. + ;;
  38021. + esac
  38022. + fi
  38023. + rm -rf conftest*
  38024. + ;;
  38025. +
  38026. +*-*-sco3.2v5*)
  38027. + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  38028. + SAVE_CFLAGS="$CFLAGS"
  38029. + CFLAGS="$CFLAGS -belf"
  38030. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  38031. +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  38032. +if test "${lt_cv_cc_needs_belf+set}" = set; then :
  38033. + $as_echo_n "(cached) " >&6
  38034. +else
  38035. + ac_ext=c
  38036. +ac_cpp='$CPP $CPPFLAGS'
  38037. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  38038. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  38039. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  38040. +
  38041. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38042. +/* end confdefs.h. */
  38043. +
  38044. +int
  38045. +main ()
  38046. +{
  38047. +
  38048. + ;
  38049. + return 0;
  38050. +}
  38051. +_ACEOF
  38052. +if ac_fn_c_try_link "$LINENO"; then :
  38053. + lt_cv_cc_needs_belf=yes
  38054. +else
  38055. + lt_cv_cc_needs_belf=no
  38056. +fi
  38057. +rm -f core conftest.err conftest.$ac_objext \
  38058. + conftest$ac_exeext conftest.$ac_ext
  38059. + ac_ext=c
  38060. +ac_cpp='$CPP $CPPFLAGS'
  38061. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  38062. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  38063. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  38064. +
  38065. +fi
  38066. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  38067. +$as_echo "$lt_cv_cc_needs_belf" >&6; }
  38068. + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  38069. + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  38070. + CFLAGS="$SAVE_CFLAGS"
  38071. + fi
  38072. + ;;
  38073. +sparc*-*solaris*)
  38074. + # Find out which ABI we are using.
  38075. + echo 'int i;' > conftest.$ac_ext
  38076. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  38077. + (eval $ac_compile) 2>&5
  38078. + ac_status=$?
  38079. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  38080. + test $ac_status = 0; }; then
  38081. + case `/usr/bin/file conftest.o` in
  38082. + *64-bit*)
  38083. + case $lt_cv_prog_gnu_ld in
  38084. + yes*) LD="${LD-ld} -m elf64_sparc" ;;
  38085. + *)
  38086. + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  38087. + LD="${LD-ld} -64"
  38088. + fi
  38089. + ;;
  38090. + esac
  38091. + ;;
  38092. + esac
  38093. + fi
  38094. + rm -rf conftest*
  38095. + ;;
  38096. +esac
  38097. +
  38098. +need_locks="$enable_libtool_lock"
  38099. +
  38100. +
  38101. + case $host_os in
  38102. + rhapsody* | darwin*)
  38103. + if test -n "$ac_tool_prefix"; then
  38104. + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  38105. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  38106. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  38107. +$as_echo_n "checking for $ac_word... " >&6; }
  38108. +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
  38109. + $as_echo_n "(cached) " >&6
  38110. +else
  38111. + if test -n "$DSYMUTIL"; then
  38112. + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  38113. else
  38114. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  38115. for as_dir in $PATH
  38116. do
  38117. IFS=$as_save_IFS
  38118. test -z "$as_dir" && as_dir=.
  38119. - for ac_exec_ext in '' $ac_executable_extensions; do
  38120. + for ac_exec_ext in '' $ac_executable_extensions; do
  38121. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  38122. - ac_cv_prog_AR="${ac_tool_prefix}ar"
  38123. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  38124. + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  38125. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  38126. break 2
  38127. fi
  38128. done
  38129. -done
  38130. + done
  38131. IFS=$as_save_IFS
  38132. fi
  38133. fi
  38134. -AR=$ac_cv_prog_AR
  38135. -if test -n "$AR"; then
  38136. - { $as_echo "$as_me:$LINENO: result: $AR" >&5
  38137. -$as_echo "$AR" >&6; }
  38138. +DSYMUTIL=$ac_cv_prog_DSYMUTIL
  38139. +if test -n "$DSYMUTIL"; then
  38140. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  38141. +$as_echo "$DSYMUTIL" >&6; }
  38142. else
  38143. - { $as_echo "$as_me:$LINENO: result: no" >&5
  38144. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  38145. $as_echo "no" >&6; }
  38146. fi
  38147. fi
  38148. -if test -z "$ac_cv_prog_AR"; then
  38149. - ac_ct_AR=$AR
  38150. - # Extract the first word of "ar", so it can be a program name with args.
  38151. -set dummy ar; ac_word=$2
  38152. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  38153. +if test -z "$ac_cv_prog_DSYMUTIL"; then
  38154. + ac_ct_DSYMUTIL=$DSYMUTIL
  38155. + # Extract the first word of "dsymutil", so it can be a program name with args.
  38156. +set dummy dsymutil; ac_word=$2
  38157. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  38158. $as_echo_n "checking for $ac_word... " >&6; }
  38159. -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  38160. +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
  38161. $as_echo_n "(cached) " >&6
  38162. else
  38163. - if test -n "$ac_ct_AR"; then
  38164. - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  38165. + if test -n "$ac_ct_DSYMUTIL"; then
  38166. + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  38167. else
  38168. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  38169. for as_dir in $PATH
  38170. do
  38171. IFS=$as_save_IFS
  38172. test -z "$as_dir" && as_dir=.
  38173. - for ac_exec_ext in '' $ac_executable_extensions; do
  38174. + for ac_exec_ext in '' $ac_executable_extensions; do
  38175. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  38176. - ac_cv_prog_ac_ct_AR="ar"
  38177. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  38178. + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  38179. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  38180. break 2
  38181. fi
  38182. done
  38183. -done
  38184. + done
  38185. IFS=$as_save_IFS
  38186. fi
  38187. fi
  38188. -ac_ct_AR=$ac_cv_prog_ac_ct_AR
  38189. -if test -n "$ac_ct_AR"; then
  38190. - { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
  38191. -$as_echo "$ac_ct_AR" >&6; }
  38192. +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  38193. +if test -n "$ac_ct_DSYMUTIL"; then
  38194. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  38195. +$as_echo "$ac_ct_DSYMUTIL" >&6; }
  38196. else
  38197. - { $as_echo "$as_me:$LINENO: result: no" >&5
  38198. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  38199. $as_echo "no" >&6; }
  38200. fi
  38201. - if test "x$ac_ct_AR" = x; then
  38202. - AR="false"
  38203. + if test "x$ac_ct_DSYMUTIL" = x; then
  38204. + DSYMUTIL=":"
  38205. else
  38206. case $cross_compiling:$ac_tool_warned in
  38207. yes:)
  38208. -{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  38209. -whose name does not start with the host triplet. If you think this
  38210. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  38211. -$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  38212. -whose name does not start with the host triplet. If you think this
  38213. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  38214. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  38215. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  38216. ac_tool_warned=yes ;;
  38217. esac
  38218. - AR=$ac_ct_AR
  38219. + DSYMUTIL=$ac_ct_DSYMUTIL
  38220. fi
  38221. else
  38222. - AR="$ac_cv_prog_AR"
  38223. + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  38224. fi
  38225. -if test -n "$ac_tool_prefix"; then
  38226. - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  38227. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  38228. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  38229. + if test -n "$ac_tool_prefix"; then
  38230. + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  38231. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  38232. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  38233. $as_echo_n "checking for $ac_word... " >&6; }
  38234. -if test "${ac_cv_prog_RANLIB+set}" = set; then
  38235. +if test "${ac_cv_prog_NMEDIT+set}" = set; then :
  38236. $as_echo_n "(cached) " >&6
  38237. else
  38238. - if test -n "$RANLIB"; then
  38239. - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  38240. + if test -n "$NMEDIT"; then
  38241. + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  38242. else
  38243. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  38244. for as_dir in $PATH
  38245. do
  38246. IFS=$as_save_IFS
  38247. test -z "$as_dir" && as_dir=.
  38248. - for ac_exec_ext in '' $ac_executable_extensions; do
  38249. + for ac_exec_ext in '' $ac_executable_extensions; do
  38250. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  38251. - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  38252. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  38253. + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  38254. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  38255. break 2
  38256. fi
  38257. done
  38258. -done
  38259. + done
  38260. IFS=$as_save_IFS
  38261. fi
  38262. fi
  38263. -RANLIB=$ac_cv_prog_RANLIB
  38264. -if test -n "$RANLIB"; then
  38265. - { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
  38266. -$as_echo "$RANLIB" >&6; }
  38267. +NMEDIT=$ac_cv_prog_NMEDIT
  38268. +if test -n "$NMEDIT"; then
  38269. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  38270. +$as_echo "$NMEDIT" >&6; }
  38271. else
  38272. - { $as_echo "$as_me:$LINENO: result: no" >&5
  38273. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  38274. $as_echo "no" >&6; }
  38275. fi
  38276. fi
  38277. -if test -z "$ac_cv_prog_RANLIB"; then
  38278. - ac_ct_RANLIB=$RANLIB
  38279. - # Extract the first word of "ranlib", so it can be a program name with args.
  38280. -set dummy ranlib; ac_word=$2
  38281. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  38282. +if test -z "$ac_cv_prog_NMEDIT"; then
  38283. + ac_ct_NMEDIT=$NMEDIT
  38284. + # Extract the first word of "nmedit", so it can be a program name with args.
  38285. +set dummy nmedit; ac_word=$2
  38286. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  38287. $as_echo_n "checking for $ac_word... " >&6; }
  38288. -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  38289. +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
  38290. $as_echo_n "(cached) " >&6
  38291. else
  38292. - if test -n "$ac_ct_RANLIB"; then
  38293. - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  38294. + if test -n "$ac_ct_NMEDIT"; then
  38295. + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  38296. else
  38297. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  38298. for as_dir in $PATH
  38299. do
  38300. IFS=$as_save_IFS
  38301. test -z "$as_dir" && as_dir=.
  38302. - for ac_exec_ext in '' $ac_executable_extensions; do
  38303. + for ac_exec_ext in '' $ac_executable_extensions; do
  38304. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  38305. - ac_cv_prog_ac_ct_RANLIB="ranlib"
  38306. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  38307. + ac_cv_prog_ac_ct_NMEDIT="nmedit"
  38308. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  38309. break 2
  38310. fi
  38311. done
  38312. -done
  38313. + done
  38314. IFS=$as_save_IFS
  38315. fi
  38316. fi
  38317. -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  38318. -if test -n "$ac_ct_RANLIB"; then
  38319. - { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  38320. -$as_echo "$ac_ct_RANLIB" >&6; }
  38321. +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  38322. +if test -n "$ac_ct_NMEDIT"; then
  38323. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  38324. +$as_echo "$ac_ct_NMEDIT" >&6; }
  38325. else
  38326. - { $as_echo "$as_me:$LINENO: result: no" >&5
  38327. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  38328. $as_echo "no" >&6; }
  38329. fi
  38330. - if test "x$ac_ct_RANLIB" = x; then
  38331. - RANLIB=":"
  38332. + if test "x$ac_ct_NMEDIT" = x; then
  38333. + NMEDIT=":"
  38334. else
  38335. case $cross_compiling:$ac_tool_warned in
  38336. yes:)
  38337. -{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  38338. -whose name does not start with the host triplet. If you think this
  38339. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  38340. -$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  38341. -whose name does not start with the host triplet. If you think this
  38342. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  38343. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  38344. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  38345. ac_tool_warned=yes ;;
  38346. esac
  38347. - RANLIB=$ac_ct_RANLIB
  38348. + NMEDIT=$ac_ct_NMEDIT
  38349. fi
  38350. else
  38351. - RANLIB="$ac_cv_prog_RANLIB"
  38352. + NMEDIT="$ac_cv_prog_NMEDIT"
  38353. fi
  38354. -if test -n "$ac_tool_prefix"; then
  38355. - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  38356. -set dummy ${ac_tool_prefix}strip; ac_word=$2
  38357. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  38358. + if test -n "$ac_tool_prefix"; then
  38359. + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  38360. +set dummy ${ac_tool_prefix}lipo; ac_word=$2
  38361. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  38362. $as_echo_n "checking for $ac_word... " >&6; }
  38363. -if test "${ac_cv_prog_STRIP+set}" = set; then
  38364. +if test "${ac_cv_prog_LIPO+set}" = set; then :
  38365. $as_echo_n "(cached) " >&6
  38366. else
  38367. - if test -n "$STRIP"; then
  38368. - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  38369. + if test -n "$LIPO"; then
  38370. + ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  38371. else
  38372. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  38373. for as_dir in $PATH
  38374. do
  38375. IFS=$as_save_IFS
  38376. test -z "$as_dir" && as_dir=.
  38377. - for ac_exec_ext in '' $ac_executable_extensions; do
  38378. + for ac_exec_ext in '' $ac_executable_extensions; do
  38379. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  38380. - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  38381. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  38382. + ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  38383. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  38384. break 2
  38385. fi
  38386. done
  38387. -done
  38388. + done
  38389. IFS=$as_save_IFS
  38390. fi
  38391. fi
  38392. -STRIP=$ac_cv_prog_STRIP
  38393. -if test -n "$STRIP"; then
  38394. - { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  38395. -$as_echo "$STRIP" >&6; }
  38396. +LIPO=$ac_cv_prog_LIPO
  38397. +if test -n "$LIPO"; then
  38398. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  38399. +$as_echo "$LIPO" >&6; }
  38400. else
  38401. - { $as_echo "$as_me:$LINENO: result: no" >&5
  38402. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  38403. $as_echo "no" >&6; }
  38404. fi
  38405. fi
  38406. -if test -z "$ac_cv_prog_STRIP"; then
  38407. - ac_ct_STRIP=$STRIP
  38408. - # Extract the first word of "strip", so it can be a program name with args.
  38409. -set dummy strip; ac_word=$2
  38410. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  38411. +if test -z "$ac_cv_prog_LIPO"; then
  38412. + ac_ct_LIPO=$LIPO
  38413. + # Extract the first word of "lipo", so it can be a program name with args.
  38414. +set dummy lipo; ac_word=$2
  38415. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  38416. $as_echo_n "checking for $ac_word... " >&6; }
  38417. -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  38418. +if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
  38419. $as_echo_n "(cached) " >&6
  38420. else
  38421. - if test -n "$ac_ct_STRIP"; then
  38422. - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  38423. + if test -n "$ac_ct_LIPO"; then
  38424. + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  38425. else
  38426. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  38427. for as_dir in $PATH
  38428. do
  38429. IFS=$as_save_IFS
  38430. test -z "$as_dir" && as_dir=.
  38431. - for ac_exec_ext in '' $ac_executable_extensions; do
  38432. + for ac_exec_ext in '' $ac_executable_extensions; do
  38433. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  38434. - ac_cv_prog_ac_ct_STRIP="strip"
  38435. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  38436. + ac_cv_prog_ac_ct_LIPO="lipo"
  38437. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  38438. break 2
  38439. fi
  38440. done
  38441. -done
  38442. + done
  38443. IFS=$as_save_IFS
  38444. fi
  38445. fi
  38446. -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  38447. -if test -n "$ac_ct_STRIP"; then
  38448. - { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  38449. -$as_echo "$ac_ct_STRIP" >&6; }
  38450. +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  38451. +if test -n "$ac_ct_LIPO"; then
  38452. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  38453. +$as_echo "$ac_ct_LIPO" >&6; }
  38454. else
  38455. - { $as_echo "$as_me:$LINENO: result: no" >&5
  38456. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  38457. $as_echo "no" >&6; }
  38458. fi
  38459. - if test "x$ac_ct_STRIP" = x; then
  38460. - STRIP=":"
  38461. + if test "x$ac_ct_LIPO" = x; then
  38462. + LIPO=":"
  38463. else
  38464. case $cross_compiling:$ac_tool_warned in
  38465. yes:)
  38466. -{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  38467. -whose name does not start with the host triplet. If you think this
  38468. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  38469. -$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  38470. -whose name does not start with the host triplet. If you think this
  38471. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  38472. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  38473. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  38474. ac_tool_warned=yes ;;
  38475. esac
  38476. - STRIP=$ac_ct_STRIP
  38477. + LIPO=$ac_ct_LIPO
  38478. fi
  38479. else
  38480. - STRIP="$ac_cv_prog_STRIP"
  38481. -fi
  38482. -
  38483. -
  38484. -old_CC="$CC"
  38485. -old_CFLAGS="$CFLAGS"
  38486. -
  38487. -# Set sane defaults for various variables
  38488. -test -z "$AR" && AR=ar
  38489. -test -z "$AR_FLAGS" && AR_FLAGS=cru
  38490. -test -z "$AS" && AS=as
  38491. -test -z "$CC" && CC=cc
  38492. -test -z "$LTCC" && LTCC=$CC
  38493. -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  38494. -test -z "$DLLTOOL" && DLLTOOL=dlltool
  38495. -test -z "$LD" && LD=ld
  38496. -test -z "$LN_S" && LN_S="ln -s"
  38497. -test -z "$MAGIC_CMD" && MAGIC_CMD=file
  38498. -test -z "$NM" && NM=nm
  38499. -test -z "$SED" && SED=sed
  38500. -test -z "$OBJDUMP" && OBJDUMP=objdump
  38501. -test -z "$RANLIB" && RANLIB=:
  38502. -test -z "$STRIP" && STRIP=:
  38503. -test -z "$ac_objext" && ac_objext=o
  38504. -
  38505. -# Determine commands to create old-style static archives.
  38506. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  38507. -old_postinstall_cmds='chmod 644 $oldlib'
  38508. -old_postuninstall_cmds=
  38509. -
  38510. -if test -n "$RANLIB"; then
  38511. - case $host_os in
  38512. - openbsd*)
  38513. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  38514. - ;;
  38515. - *)
  38516. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  38517. - ;;
  38518. - esac
  38519. - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  38520. -fi
  38521. -
  38522. -for cc_temp in $compiler""; do
  38523. - case $cc_temp in
  38524. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  38525. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  38526. - \-*) ;;
  38527. - *) break;;
  38528. - esac
  38529. -done
  38530. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  38531. -
  38532. -
  38533. -# Only perform the check for file, if the check method requires it
  38534. -case $deplibs_check_method in
  38535. -file_magic*)
  38536. - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  38537. - { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
  38538. -$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  38539. -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  38540. - $as_echo_n "(cached) " >&6
  38541. -else
  38542. - case $MAGIC_CMD in
  38543. -[\\/*] | ?:[\\/]*)
  38544. - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  38545. - ;;
  38546. -*)
  38547. - lt_save_MAGIC_CMD="$MAGIC_CMD"
  38548. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  38549. - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  38550. - for ac_dir in $ac_dummy; do
  38551. - IFS="$lt_save_ifs"
  38552. - test -z "$ac_dir" && ac_dir=.
  38553. - if test -f $ac_dir/${ac_tool_prefix}file; then
  38554. - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  38555. - if test -n "$file_magic_test_file"; then
  38556. - case $deplibs_check_method in
  38557. - "file_magic "*)
  38558. - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  38559. - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  38560. - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  38561. - $EGREP "$file_magic_regex" > /dev/null; then
  38562. - :
  38563. - else
  38564. - cat <<EOF 1>&2
  38565. -
  38566. -*** Warning: the command libtool uses to detect shared libraries,
  38567. -*** $file_magic_cmd, produces output that libtool cannot recognize.
  38568. -*** The result is that libtool may fail to recognize shared libraries
  38569. -*** as such. This will affect the creation of libtool libraries that
  38570. -*** depend on shared libraries, but programs linked with such libtool
  38571. -*** libraries will work regardless of this problem. Nevertheless, you
  38572. -*** may want to report the problem to your system manager and/or to
  38573. -*** bug-libtool@gnu.org
  38574. -
  38575. -EOF
  38576. - fi ;;
  38577. - esac
  38578. - fi
  38579. - break
  38580. - fi
  38581. - done
  38582. - IFS="$lt_save_ifs"
  38583. - MAGIC_CMD="$lt_save_MAGIC_CMD"
  38584. - ;;
  38585. -esac
  38586. -fi
  38587. -
  38588. -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  38589. -if test -n "$MAGIC_CMD"; then
  38590. - { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  38591. -$as_echo "$MAGIC_CMD" >&6; }
  38592. -else
  38593. - { $as_echo "$as_me:$LINENO: result: no" >&5
  38594. -$as_echo "no" >&6; }
  38595. -fi
  38596. -
  38597. -if test -z "$lt_cv_path_MAGIC_CMD"; then
  38598. - if test -n "$ac_tool_prefix"; then
  38599. - { $as_echo "$as_me:$LINENO: checking for file" >&5
  38600. -$as_echo_n "checking for file... " >&6; }
  38601. -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  38602. - $as_echo_n "(cached) " >&6
  38603. -else
  38604. - case $MAGIC_CMD in
  38605. -[\\/*] | ?:[\\/]*)
  38606. - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  38607. - ;;
  38608. -*)
  38609. - lt_save_MAGIC_CMD="$MAGIC_CMD"
  38610. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  38611. - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  38612. - for ac_dir in $ac_dummy; do
  38613. - IFS="$lt_save_ifs"
  38614. - test -z "$ac_dir" && ac_dir=.
  38615. - if test -f $ac_dir/file; then
  38616. - lt_cv_path_MAGIC_CMD="$ac_dir/file"
  38617. - if test -n "$file_magic_test_file"; then
  38618. - case $deplibs_check_method in
  38619. - "file_magic "*)
  38620. - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  38621. - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  38622. - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  38623. - $EGREP "$file_magic_regex" > /dev/null; then
  38624. - :
  38625. - else
  38626. - cat <<EOF 1>&2
  38627. -
  38628. -*** Warning: the command libtool uses to detect shared libraries,
  38629. -*** $file_magic_cmd, produces output that libtool cannot recognize.
  38630. -*** The result is that libtool may fail to recognize shared libraries
  38631. -*** as such. This will affect the creation of libtool libraries that
  38632. -*** depend on shared libraries, but programs linked with such libtool
  38633. -*** libraries will work regardless of this problem. Nevertheless, you
  38634. -*** may want to report the problem to your system manager and/or to
  38635. -*** bug-libtool@gnu.org
  38636. -
  38637. -EOF
  38638. - fi ;;
  38639. - esac
  38640. - fi
  38641. - break
  38642. - fi
  38643. - done
  38644. - IFS="$lt_save_ifs"
  38645. - MAGIC_CMD="$lt_save_MAGIC_CMD"
  38646. - ;;
  38647. -esac
  38648. -fi
  38649. -
  38650. -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  38651. -if test -n "$MAGIC_CMD"; then
  38652. - { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  38653. -$as_echo "$MAGIC_CMD" >&6; }
  38654. -else
  38655. - { $as_echo "$as_me:$LINENO: result: no" >&5
  38656. -$as_echo "no" >&6; }
  38657. + LIPO="$ac_cv_prog_LIPO"
  38658. fi
  38659. - else
  38660. - MAGIC_CMD=:
  38661. - fi
  38662. -fi
  38663. -
  38664. - fi
  38665. - ;;
  38666. -esac
  38667. -
  38668. -
  38669. - case $host_os in
  38670. - rhapsody* | darwin*)
  38671. if test -n "$ac_tool_prefix"; then
  38672. - # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  38673. -set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  38674. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  38675. + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  38676. +set dummy ${ac_tool_prefix}otool; ac_word=$2
  38677. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  38678. $as_echo_n "checking for $ac_word... " >&6; }
  38679. -if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
  38680. +if test "${ac_cv_prog_OTOOL+set}" = set; then :
  38681. $as_echo_n "(cached) " >&6
  38682. else
  38683. - if test -n "$DSYMUTIL"; then
  38684. - ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  38685. + if test -n "$OTOOL"; then
  38686. + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  38687. else
  38688. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  38689. for as_dir in $PATH
  38690. do
  38691. IFS=$as_save_IFS
  38692. test -z "$as_dir" && as_dir=.
  38693. - for ac_exec_ext in '' $ac_executable_extensions; do
  38694. + for ac_exec_ext in '' $ac_executable_extensions; do
  38695. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  38696. - ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  38697. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  38698. + ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  38699. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  38700. break 2
  38701. fi
  38702. done
  38703. -done
  38704. + done
  38705. IFS=$as_save_IFS
  38706. fi
  38707. fi
  38708. -DSYMUTIL=$ac_cv_prog_DSYMUTIL
  38709. -if test -n "$DSYMUTIL"; then
  38710. - { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
  38711. -$as_echo "$DSYMUTIL" >&6; }
  38712. +OTOOL=$ac_cv_prog_OTOOL
  38713. +if test -n "$OTOOL"; then
  38714. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  38715. +$as_echo "$OTOOL" >&6; }
  38716. else
  38717. - { $as_echo "$as_me:$LINENO: result: no" >&5
  38718. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  38719. $as_echo "no" >&6; }
  38720. fi
  38721. fi
  38722. -if test -z "$ac_cv_prog_DSYMUTIL"; then
  38723. - ac_ct_DSYMUTIL=$DSYMUTIL
  38724. - # Extract the first word of "dsymutil", so it can be a program name with args.
  38725. -set dummy dsymutil; ac_word=$2
  38726. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  38727. +if test -z "$ac_cv_prog_OTOOL"; then
  38728. + ac_ct_OTOOL=$OTOOL
  38729. + # Extract the first word of "otool", so it can be a program name with args.
  38730. +set dummy otool; ac_word=$2
  38731. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  38732. $as_echo_n "checking for $ac_word... " >&6; }
  38733. -if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
  38734. +if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
  38735. $as_echo_n "(cached) " >&6
  38736. else
  38737. - if test -n "$ac_ct_DSYMUTIL"; then
  38738. - ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  38739. + if test -n "$ac_ct_OTOOL"; then
  38740. + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  38741. else
  38742. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  38743. for as_dir in $PATH
  38744. do
  38745. IFS=$as_save_IFS
  38746. test -z "$as_dir" && as_dir=.
  38747. - for ac_exec_ext in '' $ac_executable_extensions; do
  38748. + for ac_exec_ext in '' $ac_executable_extensions; do
  38749. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  38750. - ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  38751. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  38752. + ac_cv_prog_ac_ct_OTOOL="otool"
  38753. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  38754. break 2
  38755. fi
  38756. done
  38757. -done
  38758. + done
  38759. IFS=$as_save_IFS
  38760. fi
  38761. fi
  38762. -ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  38763. -if test -n "$ac_ct_DSYMUTIL"; then
  38764. - { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
  38765. -$as_echo "$ac_ct_DSYMUTIL" >&6; }
  38766. +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  38767. +if test -n "$ac_ct_OTOOL"; then
  38768. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  38769. +$as_echo "$ac_ct_OTOOL" >&6; }
  38770. else
  38771. - { $as_echo "$as_me:$LINENO: result: no" >&5
  38772. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  38773. $as_echo "no" >&6; }
  38774. fi
  38775. - if test "x$ac_ct_DSYMUTIL" = x; then
  38776. - DSYMUTIL=":"
  38777. + if test "x$ac_ct_OTOOL" = x; then
  38778. + OTOOL=":"
  38779. else
  38780. case $cross_compiling:$ac_tool_warned in
  38781. yes:)
  38782. -{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  38783. -whose name does not start with the host triplet. If you think this
  38784. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  38785. -$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  38786. -whose name does not start with the host triplet. If you think this
  38787. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  38788. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  38789. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  38790. ac_tool_warned=yes ;;
  38791. esac
  38792. - DSYMUTIL=$ac_ct_DSYMUTIL
  38793. + OTOOL=$ac_ct_OTOOL
  38794. fi
  38795. else
  38796. - DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  38797. + OTOOL="$ac_cv_prog_OTOOL"
  38798. fi
  38799. if test -n "$ac_tool_prefix"; then
  38800. - # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  38801. -set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  38802. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  38803. + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  38804. +set dummy ${ac_tool_prefix}otool64; ac_word=$2
  38805. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  38806. $as_echo_n "checking for $ac_word... " >&6; }
  38807. -if test "${ac_cv_prog_NMEDIT+set}" = set; then
  38808. +if test "${ac_cv_prog_OTOOL64+set}" = set; then :
  38809. $as_echo_n "(cached) " >&6
  38810. else
  38811. - if test -n "$NMEDIT"; then
  38812. - ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  38813. + if test -n "$OTOOL64"; then
  38814. + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  38815. else
  38816. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  38817. for as_dir in $PATH
  38818. do
  38819. IFS=$as_save_IFS
  38820. test -z "$as_dir" && as_dir=.
  38821. - for ac_exec_ext in '' $ac_executable_extensions; do
  38822. + for ac_exec_ext in '' $ac_executable_extensions; do
  38823. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  38824. - ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  38825. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  38826. + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  38827. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  38828. break 2
  38829. fi
  38830. done
  38831. -done
  38832. + done
  38833. IFS=$as_save_IFS
  38834. fi
  38835. fi
  38836. -NMEDIT=$ac_cv_prog_NMEDIT
  38837. -if test -n "$NMEDIT"; then
  38838. - { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
  38839. -$as_echo "$NMEDIT" >&6; }
  38840. +OTOOL64=$ac_cv_prog_OTOOL64
  38841. +if test -n "$OTOOL64"; then
  38842. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  38843. +$as_echo "$OTOOL64" >&6; }
  38844. else
  38845. - { $as_echo "$as_me:$LINENO: result: no" >&5
  38846. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  38847. $as_echo "no" >&6; }
  38848. fi
  38849. fi
  38850. -if test -z "$ac_cv_prog_NMEDIT"; then
  38851. - ac_ct_NMEDIT=$NMEDIT
  38852. - # Extract the first word of "nmedit", so it can be a program name with args.
  38853. -set dummy nmedit; ac_word=$2
  38854. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  38855. +if test -z "$ac_cv_prog_OTOOL64"; then
  38856. + ac_ct_OTOOL64=$OTOOL64
  38857. + # Extract the first word of "otool64", so it can be a program name with args.
  38858. +set dummy otool64; ac_word=$2
  38859. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  38860. $as_echo_n "checking for $ac_word... " >&6; }
  38861. -if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
  38862. +if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
  38863. $as_echo_n "(cached) " >&6
  38864. else
  38865. - if test -n "$ac_ct_NMEDIT"; then
  38866. - ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  38867. + if test -n "$ac_ct_OTOOL64"; then
  38868. + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  38869. else
  38870. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  38871. for as_dir in $PATH
  38872. do
  38873. IFS=$as_save_IFS
  38874. test -z "$as_dir" && as_dir=.
  38875. - for ac_exec_ext in '' $ac_executable_extensions; do
  38876. + for ac_exec_ext in '' $ac_executable_extensions; do
  38877. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  38878. - ac_cv_prog_ac_ct_NMEDIT="nmedit"
  38879. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  38880. + ac_cv_prog_ac_ct_OTOOL64="otool64"
  38881. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  38882. break 2
  38883. fi
  38884. done
  38885. -done
  38886. + done
  38887. IFS=$as_save_IFS
  38888. fi
  38889. fi
  38890. -ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  38891. -if test -n "$ac_ct_NMEDIT"; then
  38892. - { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
  38893. -$as_echo "$ac_ct_NMEDIT" >&6; }
  38894. +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  38895. +if test -n "$ac_ct_OTOOL64"; then
  38896. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  38897. +$as_echo "$ac_ct_OTOOL64" >&6; }
  38898. else
  38899. - { $as_echo "$as_me:$LINENO: result: no" >&5
  38900. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  38901. $as_echo "no" >&6; }
  38902. fi
  38903. - if test "x$ac_ct_NMEDIT" = x; then
  38904. - NMEDIT=":"
  38905. + if test "x$ac_ct_OTOOL64" = x; then
  38906. + OTOOL64=":"
  38907. else
  38908. case $cross_compiling:$ac_tool_warned in
  38909. yes:)
  38910. -{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  38911. -whose name does not start with the host triplet. If you think this
  38912. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  38913. -$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  38914. -whose name does not start with the host triplet. If you think this
  38915. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  38916. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  38917. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  38918. ac_tool_warned=yes ;;
  38919. esac
  38920. - NMEDIT=$ac_ct_NMEDIT
  38921. + OTOOL64=$ac_ct_OTOOL64
  38922. fi
  38923. else
  38924. - NMEDIT="$ac_cv_prog_NMEDIT"
  38925. + OTOOL64="$ac_cv_prog_OTOOL64"
  38926. fi
  38927. - { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
  38928. -$as_echo_n "checking for -single_module linker flag... " >&6; }
  38929. -if test "${lt_cv_apple_cc_single_mod+set}" = set; then
  38930. - $as_echo_n "(cached) " >&6
  38931. -else
  38932. - lt_cv_apple_cc_single_mod=no
  38933. - if test -z "${LT_MULTI_MODULE}"; then
  38934. - # By default we will add the -single_module flag. You can override
  38935. - # by either setting the environment variable LT_MULTI_MODULE
  38936. - # non-empty at configure time, or by adding -multi_module to the
  38937. - # link flags.
  38938. - echo "int foo(void){return 1;}" > conftest.c
  38939. - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  38940. - -dynamiclib ${wl}-single_module conftest.c
  38941. - if test -f libconftest.dylib; then
  38942. - lt_cv_apple_cc_single_mod=yes
  38943. - rm -rf libconftest.dylib*
  38944. - fi
  38945. - rm conftest.c
  38946. - fi
  38947. -fi
  38948. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
  38949. -$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  38950. - { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
  38951. -$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  38952. -if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
  38953. - $as_echo_n "(cached) " >&6
  38954. -else
  38955. +
  38956. +
  38957. +
  38958. +
  38959. +
  38960. +
  38961. +
  38962. +
  38963. +
  38964. +
  38965. +
  38966. +
  38967. +
  38968. +
  38969. +
  38970. +
  38971. +
  38972. +
  38973. +
  38974. +
  38975. +
  38976. +
  38977. +
  38978. +
  38979. +
  38980. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  38981. +$as_echo_n "checking for -single_module linker flag... " >&6; }
  38982. +if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
  38983. + $as_echo_n "(cached) " >&6
  38984. +else
  38985. + lt_cv_apple_cc_single_mod=no
  38986. + if test -z "${LT_MULTI_MODULE}"; then
  38987. + # By default we will add the -single_module flag. You can override
  38988. + # by either setting the environment variable LT_MULTI_MODULE
  38989. + # non-empty at configure time, or by adding -multi_module to the
  38990. + # link flags.
  38991. + rm -rf libconftest.dylib*
  38992. + echo "int foo(void){return 1;}" > conftest.c
  38993. + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  38994. +-dynamiclib -Wl,-single_module conftest.c" >&5
  38995. + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  38996. + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  38997. + _lt_result=$?
  38998. + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  38999. + lt_cv_apple_cc_single_mod=yes
  39000. + else
  39001. + cat conftest.err >&5
  39002. + fi
  39003. + rm -rf libconftest.dylib*
  39004. + rm -f conftest.*
  39005. + fi
  39006. +fi
  39007. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  39008. +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  39009. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  39010. +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  39011. +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
  39012. + $as_echo_n "(cached) " >&6
  39013. +else
  39014. lt_cv_ld_exported_symbols_list=no
  39015. save_LDFLAGS=$LDFLAGS
  39016. echo "_main" > conftest.sym
  39017. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  39018. - cat >conftest.$ac_ext <<_ACEOF
  39019. -/* confdefs.h. */
  39020. -_ACEOF
  39021. -cat confdefs.h >>conftest.$ac_ext
  39022. -cat >>conftest.$ac_ext <<_ACEOF
  39023. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39024. /* end confdefs.h. */
  39025. int
  39026. @@ -7999,59 +7903,34 @@
  39027. return 0;
  39028. }
  39029. _ACEOF
  39030. -rm -f conftest.$ac_objext conftest$ac_exeext
  39031. -if { (ac_try="$ac_link"
  39032. -case "(($ac_try" in
  39033. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  39034. - *) ac_try_echo=$ac_try;;
  39035. -esac
  39036. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  39037. -$as_echo "$ac_try_echo") >&5
  39038. - (eval "$ac_link") 2>conftest.er1
  39039. - ac_status=$?
  39040. - grep -v '^ *+' conftest.er1 >conftest.err
  39041. - rm -f conftest.er1
  39042. - cat conftest.err >&5
  39043. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  39044. - (exit $ac_status); } && {
  39045. - test -z "$ac_c_werror_flag" ||
  39046. - test ! -s conftest.err
  39047. - } && test -s conftest$ac_exeext && {
  39048. - test "$cross_compiling" = yes ||
  39049. - $as_test_x conftest$ac_exeext
  39050. - }; then
  39051. +if ac_fn_c_try_link "$LINENO"; then :
  39052. lt_cv_ld_exported_symbols_list=yes
  39053. else
  39054. - $as_echo "$as_me: failed program was:" >&5
  39055. -sed 's/^/| /' conftest.$ac_ext >&5
  39056. -
  39057. - lt_cv_ld_exported_symbols_list=no
  39058. + lt_cv_ld_exported_symbols_list=no
  39059. fi
  39060. -
  39061. -rm -rf conftest.dSYM
  39062. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  39063. - conftest$ac_exeext conftest.$ac_ext
  39064. - LDFLAGS="$save_LDFLAGS"
  39065. +rm -f core conftest.err conftest.$ac_objext \
  39066. + conftest$ac_exeext conftest.$ac_ext
  39067. + LDFLAGS="$save_LDFLAGS"
  39068. fi
  39069. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
  39070. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  39071. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  39072. case $host_os in
  39073. - rhapsody* | darwin1.[0123])
  39074. + rhapsody* | darwin1.[012])
  39075. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  39076. darwin1.*)
  39077. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  39078. - darwin*)
  39079. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  39080. + darwin*) # darwin 5.x on
  39081. # if running on 10.5 or later, the deployment target defaults
  39082. # to the OS version, if on x86, and 10.4, the deployment
  39083. # target defaults to 10.4. Don't you love it?
  39084. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  39085. - 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  39086. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  39087. - 10.[012]*)
  39088. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  39089. - 10.*)
  39090. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  39091. + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  39092. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  39093. + 10.[012]*)
  39094. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  39095. + 10.*)
  39096. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  39097. esac
  39098. ;;
  39099. esac
  39100. @@ -8061,40 +7940,147 @@
  39101. if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  39102. _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  39103. else
  39104. - _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
  39105. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  39106. fi
  39107. if test "$DSYMUTIL" != ":"; then
  39108. - _lt_dsymutil="~$DSYMUTIL \$lib || :"
  39109. + _lt_dsymutil='~$DSYMUTIL $lib || :'
  39110. else
  39111. _lt_dsymutil=
  39112. fi
  39113. ;;
  39114. esac
  39115. +ac_ext=c
  39116. +ac_cpp='$CPP $CPPFLAGS'
  39117. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  39118. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  39119. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  39120. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  39121. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  39122. +# On Suns, sometimes $CPP names a directory.
  39123. +if test -n "$CPP" && test -d "$CPP"; then
  39124. + CPP=
  39125. +fi
  39126. +if test -z "$CPP"; then
  39127. + if test "${ac_cv_prog_CPP+set}" = set; then :
  39128. + $as_echo_n "(cached) " >&6
  39129. +else
  39130. + # Double quotes because CPP needs to be expanded
  39131. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  39132. + do
  39133. + ac_preproc_ok=false
  39134. +for ac_c_preproc_warn_flag in '' yes
  39135. +do
  39136. + # Use a header file that comes with gcc, so configuring glibc
  39137. + # with a fresh cross-compiler works.
  39138. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  39139. + # <limits.h> exists even on freestanding compilers.
  39140. + # On the NeXT, cc -E runs the code through the compiler's parser,
  39141. + # not just through cpp. "Syntax error" is here to catch this case.
  39142. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39143. +/* end confdefs.h. */
  39144. +#ifdef __STDC__
  39145. +# include <limits.h>
  39146. +#else
  39147. +# include <assert.h>
  39148. +#endif
  39149. + Syntax error
  39150. +_ACEOF
  39151. +if ac_fn_c_try_cpp "$LINENO"; then :
  39152. -enable_dlopen=no
  39153. -enable_win32_dll=no
  39154. +else
  39155. + # Broken: fails on valid input.
  39156. +continue
  39157. +fi
  39158. +rm -f conftest.err conftest.$ac_ext
  39159. -# Check whether --enable-libtool-lock was given.
  39160. -if test "${enable_libtool_lock+set}" = set; then
  39161. - enableval=$enable_libtool_lock;
  39162. + # OK, works on sane cases. Now check whether nonexistent headers
  39163. + # can be detected and how.
  39164. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39165. +/* end confdefs.h. */
  39166. +#include <ac_nonexistent.h>
  39167. +_ACEOF
  39168. +if ac_fn_c_try_cpp "$LINENO"; then :
  39169. + # Broken: success on invalid input.
  39170. +continue
  39171. +else
  39172. + # Passes both tests.
  39173. +ac_preproc_ok=:
  39174. +break
  39175. fi
  39176. +rm -f conftest.err conftest.$ac_ext
  39177. -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  39178. +done
  39179. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  39180. +rm -f conftest.err conftest.$ac_ext
  39181. +if $ac_preproc_ok; then :
  39182. + break
  39183. +fi
  39184. + done
  39185. + ac_cv_prog_CPP=$CPP
  39186. -# Check whether --with-pic was given.
  39187. -if test "${with_pic+set}" = set; then
  39188. - withval=$with_pic; pic_mode="$withval"
  39189. +fi
  39190. + CPP=$ac_cv_prog_CPP
  39191. else
  39192. - pic_mode=default
  39193. + ac_cv_prog_CPP=$CPP
  39194. +fi
  39195. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  39196. +$as_echo "$CPP" >&6; }
  39197. +ac_preproc_ok=false
  39198. +for ac_c_preproc_warn_flag in '' yes
  39199. +do
  39200. + # Use a header file that comes with gcc, so configuring glibc
  39201. + # with a fresh cross-compiler works.
  39202. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  39203. + # <limits.h> exists even on freestanding compilers.
  39204. + # On the NeXT, cc -E runs the code through the compiler's parser,
  39205. + # not just through cpp. "Syntax error" is here to catch this case.
  39206. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39207. +/* end confdefs.h. */
  39208. +#ifdef __STDC__
  39209. +# include <limits.h>
  39210. +#else
  39211. +# include <assert.h>
  39212. +#endif
  39213. + Syntax error
  39214. +_ACEOF
  39215. +if ac_fn_c_try_cpp "$LINENO"; then :
  39216. +
  39217. +else
  39218. + # Broken: fails on valid input.
  39219. +continue
  39220. fi
  39221. +rm -f conftest.err conftest.$ac_ext
  39222. -test -z "$pic_mode" && pic_mode=default
  39223. + # OK, works on sane cases. Now check whether nonexistent headers
  39224. + # can be detected and how.
  39225. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39226. +/* end confdefs.h. */
  39227. +#include <ac_nonexistent.h>
  39228. +_ACEOF
  39229. +if ac_fn_c_try_cpp "$LINENO"; then :
  39230. + # Broken: success on invalid input.
  39231. +continue
  39232. +else
  39233. + # Passes both tests.
  39234. +ac_preproc_ok=:
  39235. +break
  39236. +fi
  39237. +rm -f conftest.err conftest.$ac_ext
  39238. +
  39239. +done
  39240. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  39241. +rm -f conftest.err conftest.$ac_ext
  39242. +if $ac_preproc_ok; then :
  39243. +
  39244. +else
  39245. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  39246. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  39247. +as_fn_error "C preprocessor \"$CPP\" fails sanity check
  39248. +See \`config.log' for more details." "$LINENO" 5; }
  39249. +fi
  39250. -# Use C for the default configuration in the libtool script
  39251. -tagname=
  39252. -lt_save_CC="$CC"
  39253. ac_ext=c
  39254. ac_cpp='$CPP $CPPFLAGS'
  39255. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  39256. @@ -8102,29856 +8088,10865 @@
  39257. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  39258. -# Source file extension for C test sources.
  39259. -ac_ext=c
  39260. -
  39261. -# Object file extension for compiled C test sources.
  39262. -objext=o
  39263. -objext=$objext
  39264. -
  39265. -# Code to be used in simple compile tests
  39266. -lt_simple_compile_test_code="int some_variable = 0;"
  39267. -
  39268. -# Code to be used in simple link tests
  39269. -lt_simple_link_test_code='int main(){return(0);}'
  39270. -
  39271. -
  39272. -# If no C compiler was specified, use CC.
  39273. -LTCC=${LTCC-"$CC"}
  39274. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  39275. +$as_echo_n "checking for ANSI C header files... " >&6; }
  39276. +if test "${ac_cv_header_stdc+set}" = set; then :
  39277. + $as_echo_n "(cached) " >&6
  39278. +else
  39279. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39280. +/* end confdefs.h. */
  39281. +#include <stdlib.h>
  39282. +#include <stdarg.h>
  39283. +#include <string.h>
  39284. +#include <float.h>
  39285. -# If no C compiler flags were specified, use CFLAGS.
  39286. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  39287. +int
  39288. +main ()
  39289. +{
  39290. -# Allow CC to be a program name with arguments.
  39291. -compiler=$CC
  39292. + ;
  39293. + return 0;
  39294. +}
  39295. +_ACEOF
  39296. +if ac_fn_c_try_compile "$LINENO"; then :
  39297. + ac_cv_header_stdc=yes
  39298. +else
  39299. + ac_cv_header_stdc=no
  39300. +fi
  39301. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  39302. +if test $ac_cv_header_stdc = yes; then
  39303. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  39304. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39305. +/* end confdefs.h. */
  39306. +#include <string.h>
  39307. -# save warnings/boilerplate of simple test code
  39308. -ac_outfile=conftest.$ac_objext
  39309. -echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  39310. -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  39311. -_lt_compiler_boilerplate=`cat conftest.err`
  39312. -$rm conftest*
  39313. +_ACEOF
  39314. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  39315. + $EGREP "memchr" >/dev/null 2>&1; then :
  39316. -ac_outfile=conftest.$ac_objext
  39317. -echo "$lt_simple_link_test_code" >conftest.$ac_ext
  39318. -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  39319. -_lt_linker_boilerplate=`cat conftest.err`
  39320. -$rm -r conftest*
  39321. +else
  39322. + ac_cv_header_stdc=no
  39323. +fi
  39324. +rm -f conftest*
  39325. +fi
  39326. +if test $ac_cv_header_stdc = yes; then
  39327. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  39328. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39329. +/* end confdefs.h. */
  39330. +#include <stdlib.h>
  39331. -lt_prog_compiler_no_builtin_flag=
  39332. +_ACEOF
  39333. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  39334. + $EGREP "free" >/dev/null 2>&1; then :
  39335. -if test "$GCC" = yes; then
  39336. - lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  39337. +else
  39338. + ac_cv_header_stdc=no
  39339. +fi
  39340. +rm -f conftest*
  39341. +fi
  39342. -{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  39343. -$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  39344. -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
  39345. - $as_echo_n "(cached) " >&6
  39346. +if test $ac_cv_header_stdc = yes; then
  39347. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  39348. + if test "$cross_compiling" = yes; then :
  39349. + :
  39350. else
  39351. - lt_cv_prog_compiler_rtti_exceptions=no
  39352. - ac_outfile=conftest.$ac_objext
  39353. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  39354. - lt_compiler_flag="-fno-rtti -fno-exceptions"
  39355. - # Insert the option either (1) after the last *FLAGS variable, or
  39356. - # (2) before a word containing "conftest.", or (3) at the end.
  39357. - # Note that $ac_compile itself does not contain backslashes and begins
  39358. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  39359. - # The option is referenced via a variable to avoid confusing sed.
  39360. - lt_compile=`echo "$ac_compile" | $SED \
  39361. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  39362. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  39363. - -e 's:$: $lt_compiler_flag:'`
  39364. - (eval echo "\"\$as_me:8168: $lt_compile\"" >&5)
  39365. - (eval "$lt_compile" 2>conftest.err)
  39366. - ac_status=$?
  39367. - cat conftest.err >&5
  39368. - echo "$as_me:8172: \$? = $ac_status" >&5
  39369. - if (exit $ac_status) && test -s "$ac_outfile"; then
  39370. - # The compiler can only warn and ignore the option if not recognized
  39371. - # So say no if there are warnings other than the usual output.
  39372. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  39373. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  39374. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  39375. - lt_cv_prog_compiler_rtti_exceptions=yes
  39376. - fi
  39377. - fi
  39378. - $rm conftest*
  39379. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39380. +/* end confdefs.h. */
  39381. +#include <ctype.h>
  39382. +#include <stdlib.h>
  39383. +#if ((' ' & 0x0FF) == 0x020)
  39384. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  39385. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  39386. +#else
  39387. +# define ISLOWER(c) \
  39388. + (('a' <= (c) && (c) <= 'i') \
  39389. + || ('j' <= (c) && (c) <= 'r') \
  39390. + || ('s' <= (c) && (c) <= 'z'))
  39391. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  39392. +#endif
  39393. -fi
  39394. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  39395. -$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  39396. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  39397. +int
  39398. +main ()
  39399. +{
  39400. + int i;
  39401. + for (i = 0; i < 256; i++)
  39402. + if (XOR (islower (i), ISLOWER (i))
  39403. + || toupper (i) != TOUPPER (i))
  39404. + return 2;
  39405. + return 0;
  39406. +}
  39407. +_ACEOF
  39408. +if ac_fn_c_try_run "$LINENO"; then :
  39409. -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  39410. - lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  39411. else
  39412. - :
  39413. + ac_cv_header_stdc=no
  39414. fi
  39415. -
  39416. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  39417. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  39418. fi
  39419. -lt_prog_compiler_wl=
  39420. -lt_prog_compiler_pic=
  39421. -lt_prog_compiler_static=
  39422. +fi
  39423. +fi
  39424. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  39425. +$as_echo "$ac_cv_header_stdc" >&6; }
  39426. +if test $ac_cv_header_stdc = yes; then
  39427. -{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  39428. -$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  39429. +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
  39430. - if test "$GCC" = yes; then
  39431. - lt_prog_compiler_wl='-Wl,'
  39432. - lt_prog_compiler_static='-static'
  39433. +fi
  39434. - case $host_os in
  39435. - aix*)
  39436. - # All AIX code is PIC.
  39437. - if test "$host_cpu" = ia64; then
  39438. - # AIX 5 now supports IA64 processor
  39439. - lt_prog_compiler_static='-Bstatic'
  39440. - fi
  39441. - ;;
  39442. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  39443. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  39444. + inttypes.h stdint.h unistd.h
  39445. +do :
  39446. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  39447. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  39448. +"
  39449. +eval as_val=\$$as_ac_Header
  39450. + if test "x$as_val" = x""yes; then :
  39451. + cat >>confdefs.h <<_ACEOF
  39452. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  39453. +_ACEOF
  39454. - amigaos*)
  39455. - # FIXME: we need at least 68020 code to build shared libraries, but
  39456. - # adding the `-m68020' flag to GCC prevents building anything better,
  39457. - # like `-m68040'.
  39458. - lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  39459. - ;;
  39460. +fi
  39461. - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  39462. - # PIC is the default for these OSes.
  39463. - ;;
  39464. +done
  39465. - mingw* | cygwin* | pw32* | os2*)
  39466. - # This hack is so that the source file can tell whether it is being
  39467. - # built for inclusion in a dll (and should export symbols for example).
  39468. - # Although the cygwin gcc ignores -fPIC, still need this for old-style
  39469. - # (--disable-auto-import) libraries
  39470. - lt_prog_compiler_pic='-DDLL_EXPORT'
  39471. - ;;
  39472. - darwin* | rhapsody*)
  39473. - # PIC is the default on this platform
  39474. - # Common symbols not allowed in MH_DYLIB files
  39475. - lt_prog_compiler_pic='-fno-common'
  39476. - ;;
  39477. +for ac_header in dlfcn.h
  39478. +do :
  39479. + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  39480. +"
  39481. +if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
  39482. + cat >>confdefs.h <<_ACEOF
  39483. +#define HAVE_DLFCN_H 1
  39484. +_ACEOF
  39485. - interix[3-9]*)
  39486. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  39487. - # Instead, we relocate shared libraries at runtime.
  39488. - ;;
  39489. +fi
  39490. - msdosdjgpp*)
  39491. - # Just because we use GCC doesn't mean we suddenly get shared libraries
  39492. - # on systems that don't support them.
  39493. - lt_prog_compiler_can_build_shared=no
  39494. - enable_shared=no
  39495. - ;;
  39496. +done
  39497. - sysv4*MP*)
  39498. - if test -d /usr/nec; then
  39499. - lt_prog_compiler_pic=-Kconform_pic
  39500. - fi
  39501. - ;;
  39502. - hpux*)
  39503. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  39504. - # not for PA HP-UX.
  39505. - case $host_cpu in
  39506. - hppa*64*|ia64*)
  39507. - # +Z the default
  39508. - ;;
  39509. - *)
  39510. - lt_prog_compiler_pic='-fPIC'
  39511. - ;;
  39512. - esac
  39513. - ;;
  39514. - *)
  39515. - lt_prog_compiler_pic='-fPIC'
  39516. - ;;
  39517. - esac
  39518. +ac_ext=cpp
  39519. +ac_cpp='$CXXCPP $CPPFLAGS'
  39520. +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  39521. +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  39522. +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  39523. +if test -z "$CXX"; then
  39524. + if test -n "$CCC"; then
  39525. + CXX=$CCC
  39526. else
  39527. - # PORTME Check for flag to pass linker flags through the system compiler.
  39528. - case $host_os in
  39529. - aix*)
  39530. - lt_prog_compiler_wl='-Wl,'
  39531. - if test "$host_cpu" = ia64; then
  39532. - # AIX 5 now supports IA64 processor
  39533. - lt_prog_compiler_static='-Bstatic'
  39534. - else
  39535. - lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  39536. - fi
  39537. - ;;
  39538. - darwin*)
  39539. - # PIC is the default on this platform
  39540. - # Common symbols not allowed in MH_DYLIB files
  39541. - case $cc_basename in
  39542. - xlc*)
  39543. - lt_prog_compiler_pic='-qnocommon'
  39544. - lt_prog_compiler_wl='-Wl,'
  39545. - ;;
  39546. - esac
  39547. - ;;
  39548. + if test -n "$ac_tool_prefix"; then
  39549. + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  39550. + do
  39551. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  39552. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  39553. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  39554. +$as_echo_n "checking for $ac_word... " >&6; }
  39555. +if test "${ac_cv_prog_CXX+set}" = set; then :
  39556. + $as_echo_n "(cached) " >&6
  39557. +else
  39558. + if test -n "$CXX"; then
  39559. + ac_cv_prog_CXX="$CXX" # Let the user override the test.
  39560. +else
  39561. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  39562. +for as_dir in $PATH
  39563. +do
  39564. + IFS=$as_save_IFS
  39565. + test -z "$as_dir" && as_dir=.
  39566. + for ac_exec_ext in '' $ac_executable_extensions; do
  39567. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39568. + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  39569. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39570. + break 2
  39571. + fi
  39572. +done
  39573. + done
  39574. +IFS=$as_save_IFS
  39575. - mingw* | cygwin* | pw32* | os2*)
  39576. - # This hack is so that the source file can tell whether it is being
  39577. - # built for inclusion in a dll (and should export symbols for example).
  39578. - lt_prog_compiler_pic='-DDLL_EXPORT'
  39579. - ;;
  39580. +fi
  39581. +fi
  39582. +CXX=$ac_cv_prog_CXX
  39583. +if test -n "$CXX"; then
  39584. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  39585. +$as_echo "$CXX" >&6; }
  39586. +else
  39587. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  39588. +$as_echo "no" >&6; }
  39589. +fi
  39590. - hpux9* | hpux10* | hpux11*)
  39591. - lt_prog_compiler_wl='-Wl,'
  39592. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  39593. - # not for PA HP-UX.
  39594. - case $host_cpu in
  39595. - hppa*64*|ia64*)
  39596. - # +Z the default
  39597. - ;;
  39598. - *)
  39599. - lt_prog_compiler_pic='+Z'
  39600. - ;;
  39601. - esac
  39602. - # Is there a better lt_prog_compiler_static that works with the bundled CC?
  39603. - lt_prog_compiler_static='${wl}-a ${wl}archive'
  39604. - ;;
  39605. - irix5* | irix6* | nonstopux*)
  39606. - lt_prog_compiler_wl='-Wl,'
  39607. - # PIC (with -KPIC) is the default.
  39608. - lt_prog_compiler_static='-non_shared'
  39609. - ;;
  39610. + test -n "$CXX" && break
  39611. + done
  39612. +fi
  39613. +if test -z "$CXX"; then
  39614. + ac_ct_CXX=$CXX
  39615. + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  39616. +do
  39617. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  39618. +set dummy $ac_prog; ac_word=$2
  39619. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  39620. +$as_echo_n "checking for $ac_word... " >&6; }
  39621. +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
  39622. + $as_echo_n "(cached) " >&6
  39623. +else
  39624. + if test -n "$ac_ct_CXX"; then
  39625. + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  39626. +else
  39627. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  39628. +for as_dir in $PATH
  39629. +do
  39630. + IFS=$as_save_IFS
  39631. + test -z "$as_dir" && as_dir=.
  39632. + for ac_exec_ext in '' $ac_executable_extensions; do
  39633. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39634. + ac_cv_prog_ac_ct_CXX="$ac_prog"
  39635. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39636. + break 2
  39637. + fi
  39638. +done
  39639. + done
  39640. +IFS=$as_save_IFS
  39641. - newsos6)
  39642. - lt_prog_compiler_pic='-KPIC'
  39643. - lt_prog_compiler_static='-Bstatic'
  39644. - ;;
  39645. +fi
  39646. +fi
  39647. +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  39648. +if test -n "$ac_ct_CXX"; then
  39649. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  39650. +$as_echo "$ac_ct_CXX" >&6; }
  39651. +else
  39652. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  39653. +$as_echo "no" >&6; }
  39654. +fi
  39655. - linux* | k*bsd*-gnu)
  39656. - case $cc_basename in
  39657. - icc* | ecc*)
  39658. - lt_prog_compiler_wl='-Wl,'
  39659. - lt_prog_compiler_pic='-KPIC'
  39660. - lt_prog_compiler_static='-static'
  39661. - ;;
  39662. - pgcc* | pgf77* | pgf90* | pgf95*)
  39663. - # Portland Group compilers (*not* the Pentium gcc compiler,
  39664. - # which looks to be a dead project)
  39665. - lt_prog_compiler_wl='-Wl,'
  39666. - lt_prog_compiler_pic='-fpic'
  39667. - lt_prog_compiler_static='-Bstatic'
  39668. - ;;
  39669. - ccc*)
  39670. - lt_prog_compiler_wl='-Wl,'
  39671. - # All Alpha code is PIC.
  39672. - lt_prog_compiler_static='-non_shared'
  39673. - ;;
  39674. - *)
  39675. - case `$CC -V 2>&1 | sed 5q` in
  39676. - *Sun\ C*)
  39677. - # Sun C 5.9
  39678. - lt_prog_compiler_pic='-KPIC'
  39679. - lt_prog_compiler_static='-Bstatic'
  39680. - lt_prog_compiler_wl='-Wl,'
  39681. - ;;
  39682. - *Sun\ F*)
  39683. - # Sun Fortran 8.3 passes all unrecognized flags to the linker
  39684. - lt_prog_compiler_pic='-KPIC'
  39685. - lt_prog_compiler_static='-Bstatic'
  39686. - lt_prog_compiler_wl=''
  39687. - ;;
  39688. - esac
  39689. - ;;
  39690. - esac
  39691. - ;;
  39692. -
  39693. - osf3* | osf4* | osf5*)
  39694. - lt_prog_compiler_wl='-Wl,'
  39695. - # All OSF/1 code is PIC.
  39696. - lt_prog_compiler_static='-non_shared'
  39697. - ;;
  39698. -
  39699. - rdos*)
  39700. - lt_prog_compiler_static='-non_shared'
  39701. - ;;
  39702. -
  39703. - solaris*)
  39704. - lt_prog_compiler_pic='-KPIC'
  39705. - lt_prog_compiler_static='-Bstatic'
  39706. - case $cc_basename in
  39707. - f77* | f90* | f95*)
  39708. - lt_prog_compiler_wl='-Qoption ld ';;
  39709. - *)
  39710. - lt_prog_compiler_wl='-Wl,';;
  39711. - esac
  39712. - ;;
  39713. -
  39714. - sunos4*)
  39715. - lt_prog_compiler_wl='-Qoption ld '
  39716. - lt_prog_compiler_pic='-PIC'
  39717. - lt_prog_compiler_static='-Bstatic'
  39718. - ;;
  39719. -
  39720. - sysv4 | sysv4.2uw2* | sysv4.3*)
  39721. - lt_prog_compiler_wl='-Wl,'
  39722. - lt_prog_compiler_pic='-KPIC'
  39723. - lt_prog_compiler_static='-Bstatic'
  39724. - ;;
  39725. -
  39726. - sysv4*MP*)
  39727. - if test -d /usr/nec ;then
  39728. - lt_prog_compiler_pic='-Kconform_pic'
  39729. - lt_prog_compiler_static='-Bstatic'
  39730. - fi
  39731. - ;;
  39732. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  39733. - lt_prog_compiler_wl='-Wl,'
  39734. - lt_prog_compiler_pic='-KPIC'
  39735. - lt_prog_compiler_static='-Bstatic'
  39736. - ;;
  39737. -
  39738. - unicos*)
  39739. - lt_prog_compiler_wl='-Wl,'
  39740. - lt_prog_compiler_can_build_shared=no
  39741. - ;;
  39742. -
  39743. - uts4*)
  39744. - lt_prog_compiler_pic='-pic'
  39745. - lt_prog_compiler_static='-Bstatic'
  39746. - ;;
  39747. + test -n "$ac_ct_CXX" && break
  39748. +done
  39749. - *)
  39750. - lt_prog_compiler_can_build_shared=no
  39751. - ;;
  39752. - esac
  39753. + if test "x$ac_ct_CXX" = x; then
  39754. + CXX="g++"
  39755. + else
  39756. + case $cross_compiling:$ac_tool_warned in
  39757. +yes:)
  39758. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  39759. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  39760. +ac_tool_warned=yes ;;
  39761. +esac
  39762. + CXX=$ac_ct_CXX
  39763. fi
  39764. +fi
  39765. -{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
  39766. -$as_echo "$lt_prog_compiler_pic" >&6; }
  39767. -
  39768. -#
  39769. -# Check to make sure the PIC flag actually works.
  39770. -#
  39771. -if test -n "$lt_prog_compiler_pic"; then
  39772. + fi
  39773. +fi
  39774. +# Provide some information about the compiler.
  39775. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  39776. +set X $ac_compile
  39777. +ac_compiler=$2
  39778. +for ac_option in --version -v -V -qversion; do
  39779. + { { ac_try="$ac_compiler $ac_option >&5"
  39780. +case "(($ac_try" in
  39781. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  39782. + *) ac_try_echo=$ac_try;;
  39783. +esac
  39784. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  39785. +$as_echo "$ac_try_echo"; } >&5
  39786. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  39787. + ac_status=$?
  39788. + if test -s conftest.err; then
  39789. + sed '10a\
  39790. +... rest of stderr output deleted ...
  39791. + 10q' conftest.err >conftest.er1
  39792. + cat conftest.er1 >&5
  39793. + fi
  39794. + rm -f conftest.er1 conftest.err
  39795. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  39796. + test $ac_status = 0; }
  39797. +done
  39798. -{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  39799. -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  39800. -if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
  39801. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  39802. +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  39803. +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
  39804. $as_echo_n "(cached) " >&6
  39805. else
  39806. - lt_cv_prog_compiler_pic_works=no
  39807. - ac_outfile=conftest.$ac_objext
  39808. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  39809. - lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  39810. - # Insert the option either (1) after the last *FLAGS variable, or
  39811. - # (2) before a word containing "conftest.", or (3) at the end.
  39812. - # Note that $ac_compile itself does not contain backslashes and begins
  39813. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  39814. - # The option is referenced via a variable to avoid confusing sed.
  39815. - lt_compile=`echo "$ac_compile" | $SED \
  39816. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  39817. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  39818. - -e 's:$: $lt_compiler_flag:'`
  39819. - (eval echo "\"\$as_me:8458: $lt_compile\"" >&5)
  39820. - (eval "$lt_compile" 2>conftest.err)
  39821. - ac_status=$?
  39822. - cat conftest.err >&5
  39823. - echo "$as_me:8462: \$? = $ac_status" >&5
  39824. - if (exit $ac_status) && test -s "$ac_outfile"; then
  39825. - # The compiler can only warn and ignore the option if not recognized
  39826. - # So say no if there are warnings other than the usual output.
  39827. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  39828. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  39829. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  39830. - lt_cv_prog_compiler_pic_works=yes
  39831. - fi
  39832. - fi
  39833. - $rm conftest*
  39834. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39835. +/* end confdefs.h. */
  39836. -fi
  39837. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
  39838. -$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  39839. +int
  39840. +main ()
  39841. +{
  39842. +#ifndef __GNUC__
  39843. + choke me
  39844. +#endif
  39845. -if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  39846. - case $lt_prog_compiler_pic in
  39847. - "" | " "*) ;;
  39848. - *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  39849. - esac
  39850. + ;
  39851. + return 0;
  39852. +}
  39853. +_ACEOF
  39854. +if ac_fn_cxx_try_compile "$LINENO"; then :
  39855. + ac_compiler_gnu=yes
  39856. else
  39857. - lt_prog_compiler_pic=
  39858. - lt_prog_compiler_can_build_shared=no
  39859. + ac_compiler_gnu=no
  39860. fi
  39861. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  39862. +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  39863. fi
  39864. -case $host_os in
  39865. - # For platforms which do not support PIC, -DPIC is meaningless:
  39866. - *djgpp*)
  39867. - lt_prog_compiler_pic=
  39868. - ;;
  39869. - *)
  39870. - lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  39871. - ;;
  39872. -esac
  39873. -
  39874. -#
  39875. -# Check to make sure the static flag actually works.
  39876. -#
  39877. -wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  39878. -{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  39879. -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  39880. -if test "${lt_cv_prog_compiler_static_works+set}" = set; then
  39881. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  39882. +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  39883. +if test $ac_compiler_gnu = yes; then
  39884. + GXX=yes
  39885. +else
  39886. + GXX=
  39887. +fi
  39888. +ac_test_CXXFLAGS=${CXXFLAGS+set}
  39889. +ac_save_CXXFLAGS=$CXXFLAGS
  39890. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  39891. +$as_echo_n "checking whether $CXX accepts -g... " >&6; }
  39892. +if test "${ac_cv_prog_cxx_g+set}" = set; then :
  39893. $as_echo_n "(cached) " >&6
  39894. else
  39895. - lt_cv_prog_compiler_static_works=no
  39896. - save_LDFLAGS="$LDFLAGS"
  39897. - LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  39898. - echo "$lt_simple_link_test_code" > conftest.$ac_ext
  39899. - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  39900. - # The linker can only warn and ignore the option if not recognized
  39901. - # So say no if there are warnings
  39902. - if test -s conftest.err; then
  39903. - # Append any errors to the config.log.
  39904. - cat conftest.err 1>&5
  39905. - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  39906. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  39907. - if diff conftest.exp conftest.er2 >/dev/null; then
  39908. - lt_cv_prog_compiler_static_works=yes
  39909. - fi
  39910. - else
  39911. - lt_cv_prog_compiler_static_works=yes
  39912. - fi
  39913. - fi
  39914. - $rm -r conftest*
  39915. - LDFLAGS="$save_LDFLAGS"
  39916. + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  39917. + ac_cxx_werror_flag=yes
  39918. + ac_cv_prog_cxx_g=no
  39919. + CXXFLAGS="-g"
  39920. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39921. +/* end confdefs.h. */
  39922. -fi
  39923. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
  39924. -$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  39925. +int
  39926. +main ()
  39927. +{
  39928. -if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  39929. - :
  39930. + ;
  39931. + return 0;
  39932. +}
  39933. +_ACEOF
  39934. +if ac_fn_cxx_try_compile "$LINENO"; then :
  39935. + ac_cv_prog_cxx_g=yes
  39936. else
  39937. - lt_prog_compiler_static=
  39938. -fi
  39939. + CXXFLAGS=""
  39940. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39941. +/* end confdefs.h. */
  39942. +int
  39943. +main ()
  39944. +{
  39945. +
  39946. + ;
  39947. + return 0;
  39948. +}
  39949. +_ACEOF
  39950. +if ac_fn_cxx_try_compile "$LINENO"; then :
  39951. -{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  39952. -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  39953. -if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  39954. - $as_echo_n "(cached) " >&6
  39955. else
  39956. - lt_cv_prog_compiler_c_o=no
  39957. - $rm -r conftest 2>/dev/null
  39958. - mkdir conftest
  39959. - cd conftest
  39960. - mkdir out
  39961. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  39962. + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  39963. + CXXFLAGS="-g"
  39964. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39965. +/* end confdefs.h. */
  39966. - lt_compiler_flag="-o out/conftest2.$ac_objext"
  39967. - # Insert the option either (1) after the last *FLAGS variable, or
  39968. - # (2) before a word containing "conftest.", or (3) at the end.
  39969. - # Note that $ac_compile itself does not contain backslashes and begins
  39970. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  39971. - lt_compile=`echo "$ac_compile" | $SED \
  39972. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  39973. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  39974. - -e 's:$: $lt_compiler_flag:'`
  39975. - (eval echo "\"\$as_me:8562: $lt_compile\"" >&5)
  39976. - (eval "$lt_compile" 2>out/conftest.err)
  39977. - ac_status=$?
  39978. - cat out/conftest.err >&5
  39979. - echo "$as_me:8566: \$? = $ac_status" >&5
  39980. - if (exit $ac_status) && test -s out/conftest2.$ac_objext
  39981. - then
  39982. - # The compiler can only warn and ignore the option if not recognized
  39983. - # So say no if there are warnings
  39984. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  39985. - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  39986. - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  39987. - lt_cv_prog_compiler_c_o=yes
  39988. - fi
  39989. - fi
  39990. - chmod u+w . 2>&5
  39991. - $rm conftest*
  39992. - # SGI C++ compiler will create directory out/ii_files/ for
  39993. - # template instantiation
  39994. - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  39995. - $rm out/* && rmdir out
  39996. - cd ..
  39997. - rmdir conftest
  39998. - $rm conftest*
  39999. +int
  40000. +main ()
  40001. +{
  40002. + ;
  40003. + return 0;
  40004. +}
  40005. +_ACEOF
  40006. +if ac_fn_cxx_try_compile "$LINENO"; then :
  40007. + ac_cv_prog_cxx_g=yes
  40008. fi
  40009. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  40010. -$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  40011. -
  40012. -
  40013. -hard_links="nottested"
  40014. -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  40015. - # do not overwrite the value of need_locks provided by the user
  40016. - { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  40017. -$as_echo_n "checking if we can lock with hard links... " >&6; }
  40018. - hard_links=yes
  40019. - $rm conftest*
  40020. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  40021. - touch conftest.a
  40022. - ln conftest.a conftest.b 2>&5 || hard_links=no
  40023. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  40024. - { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
  40025. -$as_echo "$hard_links" >&6; }
  40026. - if test "$hard_links" = no; then
  40027. - { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  40028. -$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  40029. - need_locks=warn
  40030. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  40031. +fi
  40032. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  40033. +fi
  40034. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  40035. + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  40036. +fi
  40037. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  40038. +$as_echo "$ac_cv_prog_cxx_g" >&6; }
  40039. +if test "$ac_test_CXXFLAGS" = set; then
  40040. + CXXFLAGS=$ac_save_CXXFLAGS
  40041. +elif test $ac_cv_prog_cxx_g = yes; then
  40042. + if test "$GXX" = yes; then
  40043. + CXXFLAGS="-g -O2"
  40044. + else
  40045. + CXXFLAGS="-g"
  40046. fi
  40047. else
  40048. - need_locks=no
  40049. + if test "$GXX" = yes; then
  40050. + CXXFLAGS="-O2"
  40051. + else
  40052. + CXXFLAGS=
  40053. + fi
  40054. fi
  40055. +ac_ext=c
  40056. +ac_cpp='$CPP $CPPFLAGS'
  40057. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  40058. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  40059. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  40060. -{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  40061. -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  40062. +depcc="$CXX" am_compiler_list=
  40063. - runpath_var=
  40064. - allow_undefined_flag=
  40065. - enable_shared_with_static_runtimes=no
  40066. - archive_cmds=
  40067. - archive_expsym_cmds=
  40068. - old_archive_From_new_cmds=
  40069. - old_archive_from_expsyms_cmds=
  40070. - export_dynamic_flag_spec=
  40071. - whole_archive_flag_spec=
  40072. - thread_safe_flag_spec=
  40073. - hardcode_libdir_flag_spec=
  40074. - hardcode_libdir_flag_spec_ld=
  40075. - hardcode_libdir_separator=
  40076. - hardcode_direct=no
  40077. - hardcode_minus_L=no
  40078. - hardcode_shlibpath_var=unsupported
  40079. - link_all_deplibs=unknown
  40080. - hardcode_automatic=no
  40081. - module_cmds=
  40082. - module_expsym_cmds=
  40083. - always_export_symbols=no
  40084. - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  40085. - # include_expsyms should be a list of space-separated symbols to be *always*
  40086. - # included in the symbol list
  40087. - include_expsyms=
  40088. - # exclude_expsyms can be an extended regexp of symbols to exclude
  40089. - # it will be wrapped by ` (' and `)$', so one must not match beginning or
  40090. - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  40091. - # as well as any symbol that contains `d'.
  40092. - exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  40093. - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  40094. - # platforms (ab)use it in PIC code, but their linkers get confused if
  40095. - # the symbol is explicitly referenced. Since portable code cannot
  40096. - # rely on this symbol name, it's probably fine to never include it in
  40097. - # preloaded symbol tables.
  40098. - # Exclude shared library initialization/finalization symbols.
  40099. - extract_expsyms_cmds=
  40100. - # Just being paranoid about ensuring that cc_basename is set.
  40101. - for cc_temp in $compiler""; do
  40102. - case $cc_temp in
  40103. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  40104. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  40105. - \-*) ;;
  40106. - *) break;;
  40107. - esac
  40108. -done
  40109. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  40110. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  40111. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  40112. +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
  40113. + $as_echo_n "(cached) " >&6
  40114. +else
  40115. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  40116. + # We make a subdir and do the tests there. Otherwise we can end up
  40117. + # making bogus files that we don't know about and never remove. For
  40118. + # instance it was reported that on HP-UX the gcc test will end up
  40119. + # making a dummy file named `D' -- because `-MD' means `put the output
  40120. + # in D'.
  40121. + mkdir conftest.dir
  40122. + # Copy depcomp to subdir because otherwise we won't find it if we're
  40123. + # using a relative directory.
  40124. + cp "$am_depcomp" conftest.dir
  40125. + cd conftest.dir
  40126. + # We will build objects and dependencies in a subdirectory because
  40127. + # it helps to detect inapplicable dependency modes. For instance
  40128. + # both Tru64's cc and ICC support -MD to output dependencies as a
  40129. + # side effect of compilation, but ICC will put the dependencies in
  40130. + # the current directory while Tru64 will put them in the object
  40131. + # directory.
  40132. + mkdir sub
  40133. - case $host_os in
  40134. - cygwin* | mingw* | pw32*)
  40135. - # FIXME: the MSVC++ port hasn't been tested in a loooong time
  40136. - # When not using gcc, we currently assume that we are using
  40137. - # Microsoft Visual C++.
  40138. - if test "$GCC" != yes; then
  40139. - with_gnu_ld=no
  40140. - fi
  40141. - ;;
  40142. - interix*)
  40143. - # we just hope/assume this is gcc and not c89 (= MSVC++)
  40144. - with_gnu_ld=yes
  40145. - ;;
  40146. - openbsd*)
  40147. - with_gnu_ld=no
  40148. - ;;
  40149. - esac
  40150. + am_cv_CXX_dependencies_compiler_type=none
  40151. + if test "$am_compiler_list" = ""; then
  40152. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  40153. + fi
  40154. + am__universal=false
  40155. + case " $depcc " in #(
  40156. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  40157. + esac
  40158. - ld_shlibs=yes
  40159. - if test "$with_gnu_ld" = yes; then
  40160. - # If archive_cmds runs LD, not CC, wlarc should be empty
  40161. - wlarc='${wl}'
  40162. + for depmode in $am_compiler_list; do
  40163. + # Setup a source with many dependencies, because some compilers
  40164. + # like to wrap large dependency lists on column 80 (with \), and
  40165. + # we should not choose a depcomp mode which is confused by this.
  40166. + #
  40167. + # We need to recreate these files for each test, as the compiler may
  40168. + # overwrite some of them when testing with obscure command lines.
  40169. + # This happens at least with the AIX C compiler.
  40170. + : > sub/conftest.c
  40171. + for i in 1 2 3 4 5 6; do
  40172. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  40173. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  40174. + # Solaris 8's {/usr,}/bin/sh.
  40175. + touch sub/conftst$i.h
  40176. + done
  40177. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  40178. - # Set some defaults for GNU ld with shared library support. These
  40179. - # are reset later if shared libraries are not supported. Putting them
  40180. - # here allows them to be overridden if necessary.
  40181. - runpath_var=LD_RUN_PATH
  40182. - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
  40183. - export_dynamic_flag_spec='${wl}--export-dynamic'
  40184. - # ancient GNU ld didn't support --whole-archive et. al.
  40185. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
  40186. - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  40187. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  40188. + # mode. It turns out that the SunPro C++ compiler does not properly
  40189. + # handle `-M -o', and we need to detect this. Also, some Intel
  40190. + # versions had trouble with output in subdirs
  40191. + am__obj=sub/conftest.${OBJEXT-o}
  40192. + am__minus_obj="-o $am__obj"
  40193. + case $depmode in
  40194. + gcc)
  40195. + # This depmode causes a compiler race in universal mode.
  40196. + test "$am__universal" = false || continue
  40197. + ;;
  40198. + nosideeffect)
  40199. + # after this tag, mechanisms are not by side-effect, so they'll
  40200. + # only be used when explicitly requested
  40201. + if test "x$enable_dependency_tracking" = xyes; then
  40202. + continue
  40203. else
  40204. - whole_archive_flag_spec=
  40205. - fi
  40206. - supports_anon_versioning=no
  40207. - case `$LD -v 2>/dev/null` in
  40208. - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  40209. - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  40210. - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  40211. - *\ 2.11.*) ;; # other 2.11 versions
  40212. - *) supports_anon_versioning=yes ;;
  40213. - esac
  40214. -
  40215. - # See if GNU ld supports shared libraries.
  40216. - case $host_os in
  40217. - aix[3-9]*)
  40218. - # On AIX/PPC, the GNU linker is very broken
  40219. - if test "$host_cpu" != ia64; then
  40220. - ld_shlibs=no
  40221. - cat <<EOF 1>&2
  40222. -
  40223. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  40224. -*** to be unable to reliably create shared libraries on AIX.
  40225. -*** Therefore, libtool is disabling shared libraries support. If you
  40226. -*** really care for shared libraries, you may want to modify your PATH
  40227. -*** so that a non-GNU linker is found, and then restart.
  40228. -
  40229. -EOF
  40230. + break
  40231. fi
  40232. ;;
  40233. -
  40234. - amigaos*)
  40235. - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  40236. - hardcode_libdir_flag_spec='-L$libdir'
  40237. - hardcode_minus_L=yes
  40238. -
  40239. - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  40240. - # that the semantics of dynamic libraries on AmigaOS, at least up
  40241. - # to version 4, is to share data among multiple programs linked
  40242. - # with the same dynamic library. Since this doesn't match the
  40243. - # behavior of shared libraries on other platforms, we can't use
  40244. - # them.
  40245. - ld_shlibs=no
  40246. + msvisualcpp | msvcmsys)
  40247. + # This compiler won't grok `-c -o', but also, the minuso test has
  40248. + # not run yet. These depmodes are late enough in the game, and
  40249. + # so weak that their functioning should not be impacted.
  40250. + am__obj=conftest.${OBJEXT-o}
  40251. + am__minus_obj=
  40252. ;;
  40253. -
  40254. - beos*)
  40255. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  40256. - allow_undefined_flag=unsupported
  40257. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  40258. - # support --undefined. This deserves some investigation. FIXME
  40259. - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  40260. - else
  40261. - ld_shlibs=no
  40262. + none) break ;;
  40263. + esac
  40264. + if depmode=$depmode \
  40265. + source=sub/conftest.c object=$am__obj \
  40266. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  40267. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  40268. + >/dev/null 2>conftest.err &&
  40269. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  40270. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  40271. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  40272. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  40273. + # icc doesn't choke on unknown options, it will just issue warnings
  40274. + # or remarks (even with -Werror). So we grep stderr for any message
  40275. + # that says an option was ignored or not supported.
  40276. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  40277. + # icc: Command line warning: ignoring option '-M'; no argument required
  40278. + # The diagnosis changed in icc 8.0:
  40279. + # icc: Command line remark: option '-MP' not supported
  40280. + if (grep 'ignoring option' conftest.err ||
  40281. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  40282. + am_cv_CXX_dependencies_compiler_type=$depmode
  40283. + break
  40284. fi
  40285. - ;;
  40286. + fi
  40287. + done
  40288. - cygwin* | mingw* | pw32*)
  40289. - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  40290. - # as there is no search path for DLLs.
  40291. - hardcode_libdir_flag_spec='-L$libdir'
  40292. - allow_undefined_flag=unsupported
  40293. - always_export_symbols=no
  40294. - enable_shared_with_static_runtimes=yes
  40295. - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  40296. + cd ..
  40297. + rm -rf conftest.dir
  40298. +else
  40299. + am_cv_CXX_dependencies_compiler_type=none
  40300. +fi
  40301. - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  40302. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  40303. - # If the export-symbols file already is a .def file (1st line
  40304. - # is EXPORTS), use it as is; otherwise, prepend...
  40305. - archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  40306. - cp $export_symbols $output_objdir/$soname.def;
  40307. - else
  40308. - echo EXPORTS > $output_objdir/$soname.def;
  40309. - cat $export_symbols >> $output_objdir/$soname.def;
  40310. - fi~
  40311. - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  40312. - else
  40313. - ld_shlibs=no
  40314. - fi
  40315. - ;;
  40316. +fi
  40317. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
  40318. +$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  40319. +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  40320. - interix[3-9]*)
  40321. - hardcode_direct=no
  40322. - hardcode_shlibpath_var=no
  40323. - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  40324. - export_dynamic_flag_spec='${wl}-E'
  40325. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  40326. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  40327. - # default) and relocated if they conflict, which is a slow very memory
  40328. - # consuming and fragmenting process. To avoid this, we pick a random,
  40329. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  40330. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  40331. - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  40332. - archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  40333. - ;;
  40334. + if
  40335. + test "x$enable_dependency_tracking" != xno \
  40336. + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  40337. + am__fastdepCXX_TRUE=
  40338. + am__fastdepCXX_FALSE='#'
  40339. +else
  40340. + am__fastdepCXX_TRUE='#'
  40341. + am__fastdepCXX_FALSE=
  40342. +fi
  40343. - gnu* | linux* | k*bsd*-gnu)
  40344. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  40345. - tmp_addflag=
  40346. - case $cc_basename,$host_cpu in
  40347. - pgcc*) # Portland Group C compiler
  40348. - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  40349. - tmp_addflag=' $pic_flag'
  40350. - ;;
  40351. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  40352. - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  40353. - tmp_addflag=' $pic_flag -Mnomain' ;;
  40354. - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  40355. - tmp_addflag=' -i_dynamic' ;;
  40356. - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  40357. - tmp_addflag=' -i_dynamic -nofor_main' ;;
  40358. - ifc* | ifort*) # Intel Fortran compiler
  40359. - tmp_addflag=' -nofor_main' ;;
  40360. - esac
  40361. - case `$CC -V 2>&1 | sed 5q` in
  40362. - *Sun\ C*) # Sun C 5.9
  40363. - whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  40364. - tmp_sharedflag='-G' ;;
  40365. - *Sun\ F*) # Sun Fortran 8.3
  40366. - tmp_sharedflag='-G' ;;
  40367. - *)
  40368. - tmp_sharedflag='-shared' ;;
  40369. - esac
  40370. - archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  40371. - if test $supports_anon_versioning = yes; then
  40372. - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
  40373. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  40374. - $echo "local: *; };" >> $output_objdir/$libname.ver~
  40375. - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  40376. - fi
  40377. - else
  40378. - ld_shlibs=no
  40379. - fi
  40380. - ;;
  40381. +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  40382. + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  40383. + (test "X$CXX" != "Xg++"))) ; then
  40384. + ac_ext=cpp
  40385. +ac_cpp='$CXXCPP $CPPFLAGS'
  40386. +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  40387. +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  40388. +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  40389. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
  40390. +$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
  40391. +if test -z "$CXXCPP"; then
  40392. + if test "${ac_cv_prog_CXXCPP+set}" = set; then :
  40393. + $as_echo_n "(cached) " >&6
  40394. +else
  40395. + # Double quotes because CXXCPP needs to be expanded
  40396. + for CXXCPP in "$CXX -E" "/lib/cpp"
  40397. + do
  40398. + ac_preproc_ok=false
  40399. +for ac_cxx_preproc_warn_flag in '' yes
  40400. +do
  40401. + # Use a header file that comes with gcc, so configuring glibc
  40402. + # with a fresh cross-compiler works.
  40403. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  40404. + # <limits.h> exists even on freestanding compilers.
  40405. + # On the NeXT, cc -E runs the code through the compiler's parser,
  40406. + # not just through cpp. "Syntax error" is here to catch this case.
  40407. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  40408. +/* end confdefs.h. */
  40409. +#ifdef __STDC__
  40410. +# include <limits.h>
  40411. +#else
  40412. +# include <assert.h>
  40413. +#endif
  40414. + Syntax error
  40415. +_ACEOF
  40416. +if ac_fn_cxx_try_cpp "$LINENO"; then :
  40417. - netbsd*)
  40418. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  40419. - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  40420. - wlarc=
  40421. - else
  40422. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  40423. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  40424. - fi
  40425. - ;;
  40426. +else
  40427. + # Broken: fails on valid input.
  40428. +continue
  40429. +fi
  40430. +rm -f conftest.err conftest.$ac_ext
  40431. - solaris*)
  40432. - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  40433. - ld_shlibs=no
  40434. - cat <<EOF 1>&2
  40435. + # OK, works on sane cases. Now check whether nonexistent headers
  40436. + # can be detected and how.
  40437. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  40438. +/* end confdefs.h. */
  40439. +#include <ac_nonexistent.h>
  40440. +_ACEOF
  40441. +if ac_fn_cxx_try_cpp "$LINENO"; then :
  40442. + # Broken: success on invalid input.
  40443. +continue
  40444. +else
  40445. + # Passes both tests.
  40446. +ac_preproc_ok=:
  40447. +break
  40448. +fi
  40449. +rm -f conftest.err conftest.$ac_ext
  40450. -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  40451. -*** create shared libraries on Solaris systems. Therefore, libtool
  40452. -*** is disabling shared libraries support. We urge you to upgrade GNU
  40453. -*** binutils to release 2.9.1 or newer. Another option is to modify
  40454. -*** your PATH or compiler configuration so that the native linker is
  40455. -*** used, and then restart.
  40456. +done
  40457. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  40458. +rm -f conftest.err conftest.$ac_ext
  40459. +if $ac_preproc_ok; then :
  40460. + break
  40461. +fi
  40462. -EOF
  40463. - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  40464. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  40465. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  40466. - else
  40467. - ld_shlibs=no
  40468. - fi
  40469. - ;;
  40470. + done
  40471. + ac_cv_prog_CXXCPP=$CXXCPP
  40472. - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  40473. - case `$LD -v 2>&1` in
  40474. - *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  40475. - ld_shlibs=no
  40476. - cat <<_LT_EOF 1>&2
  40477. +fi
  40478. + CXXCPP=$ac_cv_prog_CXXCPP
  40479. +else
  40480. + ac_cv_prog_CXXCPP=$CXXCPP
  40481. +fi
  40482. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
  40483. +$as_echo "$CXXCPP" >&6; }
  40484. +ac_preproc_ok=false
  40485. +for ac_cxx_preproc_warn_flag in '' yes
  40486. +do
  40487. + # Use a header file that comes with gcc, so configuring glibc
  40488. + # with a fresh cross-compiler works.
  40489. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  40490. + # <limits.h> exists even on freestanding compilers.
  40491. + # On the NeXT, cc -E runs the code through the compiler's parser,
  40492. + # not just through cpp. "Syntax error" is here to catch this case.
  40493. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  40494. +/* end confdefs.h. */
  40495. +#ifdef __STDC__
  40496. +# include <limits.h>
  40497. +#else
  40498. +# include <assert.h>
  40499. +#endif
  40500. + Syntax error
  40501. +_ACEOF
  40502. +if ac_fn_cxx_try_cpp "$LINENO"; then :
  40503. +
  40504. +else
  40505. + # Broken: fails on valid input.
  40506. +continue
  40507. +fi
  40508. +rm -f conftest.err conftest.$ac_ext
  40509. +
  40510. + # OK, works on sane cases. Now check whether nonexistent headers
  40511. + # can be detected and how.
  40512. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  40513. +/* end confdefs.h. */
  40514. +#include <ac_nonexistent.h>
  40515. +_ACEOF
  40516. +if ac_fn_cxx_try_cpp "$LINENO"; then :
  40517. + # Broken: success on invalid input.
  40518. +continue
  40519. +else
  40520. + # Passes both tests.
  40521. +ac_preproc_ok=:
  40522. +break
  40523. +fi
  40524. +rm -f conftest.err conftest.$ac_ext
  40525. +
  40526. +done
  40527. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  40528. +rm -f conftest.err conftest.$ac_ext
  40529. +if $ac_preproc_ok; then :
  40530. +
  40531. +else
  40532. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  40533. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  40534. +_lt_caught_CXX_error=yes; }
  40535. +fi
  40536. +
  40537. +ac_ext=c
  40538. +ac_cpp='$CPP $CPPFLAGS'
  40539. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  40540. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  40541. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  40542. +
  40543. +else
  40544. + _lt_caught_CXX_error=yes
  40545. +fi
  40546. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  40547. -*** reliably create shared libraries on SCO systems. Therefore, libtool
  40548. -*** is disabling shared libraries support. We urge you to upgrade GNU
  40549. -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  40550. -*** your PATH or compiler configuration so that the native linker is
  40551. -*** used, and then restart.
  40552. -_LT_EOF
  40553. - ;;
  40554. - *)
  40555. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  40556. - hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  40557. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
  40558. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
  40559. - else
  40560. - ld_shlibs=no
  40561. - fi
  40562. - ;;
  40563. - esac
  40564. - ;;
  40565. - sunos4*)
  40566. - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  40567. - wlarc=
  40568. - hardcode_direct=yes
  40569. - hardcode_shlibpath_var=no
  40570. - ;;
  40571. +
  40572. +# Set options
  40573. +
  40574. +
  40575. +
  40576. + enable_dlopen=no
  40577. +
  40578. +
  40579. + enable_win32_dll=no
  40580. +
  40581. +
  40582. +
  40583. + # Check whether --enable-static was given.
  40584. +if test "${enable_static+set}" = set; then :
  40585. + enableval=$enable_static; p=${PACKAGE-default}
  40586. + case $enableval in
  40587. + yes) enable_static=yes ;;
  40588. + no) enable_static=no ;;
  40589. *)
  40590. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  40591. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  40592. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  40593. - else
  40594. - ld_shlibs=no
  40595. - fi
  40596. + enable_static=no
  40597. + # Look at the argument we got. We use all the common list separators.
  40598. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  40599. + for pkg in $enableval; do
  40600. + IFS="$lt_save_ifs"
  40601. + if test "X$pkg" = "X$p"; then
  40602. + enable_static=yes
  40603. + fi
  40604. + done
  40605. + IFS="$lt_save_ifs"
  40606. ;;
  40607. esac
  40608. +else
  40609. + enable_static=yes
  40610. +fi
  40611. - if test "$ld_shlibs" = no; then
  40612. - runpath_var=
  40613. - hardcode_libdir_flag_spec=
  40614. - export_dynamic_flag_spec=
  40615. - whole_archive_flag_spec=
  40616. - fi
  40617. - else
  40618. - # PORTME fill in a description of your system's linker (not GNU ld)
  40619. - case $host_os in
  40620. - aix3*)
  40621. - allow_undefined_flag=unsupported
  40622. - always_export_symbols=yes
  40623. - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  40624. - # Note: this linker hardcodes the directories in LIBPATH if there
  40625. - # are no directories specified by -L.
  40626. - hardcode_minus_L=yes
  40627. - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  40628. - # Neither direct hardcoding nor static linking is supported with a
  40629. - # broken collect2.
  40630. - hardcode_direct=unsupported
  40631. - fi
  40632. - ;;
  40633. -
  40634. - aix[4-9]*)
  40635. - if test "$host_cpu" = ia64; then
  40636. - # On IA64, the linker does run time linking by default, so we don't
  40637. - # have to do anything special.
  40638. - aix_use_runtimelinking=no
  40639. - exp_sym_flag='-Bexport'
  40640. - no_entry_flag=""
  40641. - else
  40642. - # If we're using GNU nm, then we don't want the "-C" option.
  40643. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  40644. - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  40645. - export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
  40646. - else
  40647. - export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
  40648. - fi
  40649. - aix_use_runtimelinking=no
  40650. - # Test if we are trying to use run time linking or normal
  40651. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  40652. - # need to do runtime linking.
  40653. - case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  40654. - for ld_flag in $LDFLAGS; do
  40655. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  40656. - aix_use_runtimelinking=yes
  40657. - break
  40658. - fi
  40659. - done
  40660. - ;;
  40661. - esac
  40662. - exp_sym_flag='-bexport'
  40663. - no_entry_flag='-bnoentry'
  40664. - fi
  40665. - # When large executables or shared objects are built, AIX ld can
  40666. - # have problems creating the table of contents. If linking a library
  40667. - # or program results in "error TOC overflow" add -mminimal-toc to
  40668. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  40669. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  40670. - archive_cmds=''
  40671. - hardcode_direct=yes
  40672. - hardcode_libdir_separator=':'
  40673. - link_all_deplibs=yes
  40674. - if test "$GCC" = yes; then
  40675. - case $host_os in aix4.[012]|aix4.[012].*)
  40676. - # We only want to do this on AIX 4.2 and lower, the check
  40677. - # below for broken collect2 doesn't work under 4.3+
  40678. - collect2name=`${CC} -print-prog-name=collect2`
  40679. - if test -f "$collect2name" && \
  40680. - strings "$collect2name" | grep resolve_lib_name >/dev/null
  40681. - then
  40682. - # We have reworked collect2
  40683. - :
  40684. - else
  40685. - # We have old collect2
  40686. - hardcode_direct=unsupported
  40687. - # It fails to find uninstalled libraries when the uninstalled
  40688. - # path is not listed in the libpath. Setting hardcode_minus_L
  40689. - # to unsupported forces relinking
  40690. - hardcode_minus_L=yes
  40691. - hardcode_libdir_flag_spec='-L$libdir'
  40692. - hardcode_libdir_separator=
  40693. - fi
  40694. - ;;
  40695. - esac
  40696. - shared_flag='-shared'
  40697. - if test "$aix_use_runtimelinking" = yes; then
  40698. - shared_flag="$shared_flag "'${wl}-G'
  40699. - fi
  40700. - else
  40701. - # not using gcc
  40702. - if test "$host_cpu" = ia64; then
  40703. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  40704. - # chokes on -Wl,-G. The following line is correct:
  40705. - shared_flag='-G'
  40706. - else
  40707. - if test "$aix_use_runtimelinking" = yes; then
  40708. - shared_flag='${wl}-G'
  40709. - else
  40710. - shared_flag='${wl}-bM:SRE'
  40711. - fi
  40712. - fi
  40713. - fi
  40714. - # It seems that -bexpall does not export symbols beginning with
  40715. - # underscore (_), so it is better to generate a list of symbols to export.
  40716. - always_export_symbols=yes
  40717. - if test "$aix_use_runtimelinking" = yes; then
  40718. - # Warning - without using the other runtime loading flags (-brtl),
  40719. - # -berok will link without error, but may produce a broken library.
  40720. - allow_undefined_flag='-berok'
  40721. - # Determine the default libpath from the value encoded in an empty executable.
  40722. - cat >conftest.$ac_ext <<_ACEOF
  40723. -/* confdefs.h. */
  40724. -_ACEOF
  40725. -cat confdefs.h >>conftest.$ac_ext
  40726. -cat >>conftest.$ac_ext <<_ACEOF
  40727. -/* end confdefs.h. */
  40728. -int
  40729. -main ()
  40730. -{
  40731. - ;
  40732. - return 0;
  40733. -}
  40734. -_ACEOF
  40735. -rm -f conftest.$ac_objext conftest$ac_exeext
  40736. -if { (ac_try="$ac_link"
  40737. -case "(($ac_try" in
  40738. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  40739. - *) ac_try_echo=$ac_try;;
  40740. -esac
  40741. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  40742. -$as_echo "$ac_try_echo") >&5
  40743. - (eval "$ac_link") 2>conftest.er1
  40744. - ac_status=$?
  40745. - grep -v '^ *+' conftest.er1 >conftest.err
  40746. - rm -f conftest.er1
  40747. - cat conftest.err >&5
  40748. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  40749. - (exit $ac_status); } && {
  40750. - test -z "$ac_c_werror_flag" ||
  40751. - test ! -s conftest.err
  40752. - } && test -s conftest$ac_exeext && {
  40753. - test "$cross_compiling" = yes ||
  40754. - $as_test_x conftest$ac_exeext
  40755. - }; then
  40756. -lt_aix_libpath_sed='
  40757. - /Import File Strings/,/^$/ {
  40758. - /^0/ {
  40759. - s/^0 *\(.*\)$/\1/
  40760. - p
  40761. - }
  40762. - }'
  40763. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  40764. -# Check for a 64-bit object if we didn't find anything.
  40765. -if test -z "$aix_libpath"; then
  40766. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  40767. -fi
  40768. +# Check whether --with-pic was given.
  40769. +if test "${with_pic+set}" = set; then :
  40770. + withval=$with_pic; pic_mode="$withval"
  40771. else
  40772. - $as_echo "$as_me: failed program was:" >&5
  40773. -sed 's/^/| /' conftest.$ac_ext >&5
  40774. -
  40775. -
  40776. + pic_mode=default
  40777. fi
  40778. -rm -rf conftest.dSYM
  40779. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  40780. - conftest$ac_exeext conftest.$ac_ext
  40781. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  40782. - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  40783. - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  40784. - else
  40785. - if test "$host_cpu" = ia64; then
  40786. - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  40787. - allow_undefined_flag="-z nodefs"
  40788. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  40789. - else
  40790. - # Determine the default libpath from the value encoded in an empty executable.
  40791. - cat >conftest.$ac_ext <<_ACEOF
  40792. -/* confdefs.h. */
  40793. -_ACEOF
  40794. -cat confdefs.h >>conftest.$ac_ext
  40795. -cat >>conftest.$ac_ext <<_ACEOF
  40796. -/* end confdefs.h. */
  40797. +test -z "$pic_mode" && pic_mode=default
  40798. -int
  40799. -main ()
  40800. -{
  40801. - ;
  40802. - return 0;
  40803. -}
  40804. -_ACEOF
  40805. -rm -f conftest.$ac_objext conftest$ac_exeext
  40806. -if { (ac_try="$ac_link"
  40807. -case "(($ac_try" in
  40808. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  40809. - *) ac_try_echo=$ac_try;;
  40810. -esac
  40811. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  40812. -$as_echo "$ac_try_echo") >&5
  40813. - (eval "$ac_link") 2>conftest.er1
  40814. - ac_status=$?
  40815. - grep -v '^ *+' conftest.er1 >conftest.err
  40816. - rm -f conftest.er1
  40817. - cat conftest.err >&5
  40818. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  40819. - (exit $ac_status); } && {
  40820. - test -z "$ac_c_werror_flag" ||
  40821. - test ! -s conftest.err
  40822. - } && test -s conftest$ac_exeext && {
  40823. - test "$cross_compiling" = yes ||
  40824. - $as_test_x conftest$ac_exeext
  40825. - }; then
  40826. -lt_aix_libpath_sed='
  40827. - /Import File Strings/,/^$/ {
  40828. - /^0/ {
  40829. - s/^0 *\(.*\)$/\1/
  40830. - p
  40831. - }
  40832. - }'
  40833. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  40834. -# Check for a 64-bit object if we didn't find anything.
  40835. -if test -z "$aix_libpath"; then
  40836. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  40837. -fi
  40838. -else
  40839. - $as_echo "$as_me: failed program was:" >&5
  40840. -sed 's/^/| /' conftest.$ac_ext >&5
  40841. -fi
  40842. -rm -rf conftest.dSYM
  40843. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  40844. - conftest$ac_exeext conftest.$ac_ext
  40845. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  40846. - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  40847. - # Warning - without using the other run time loading flags,
  40848. - # -berok will link without error, but may produce a broken library.
  40849. - no_undefined_flag=' ${wl}-bernotok'
  40850. - allow_undefined_flag=' ${wl}-berok'
  40851. - # Exported symbols can be pulled into shared objects from archives
  40852. - whole_archive_flag_spec='$convenience'
  40853. - archive_cmds_need_lc=yes
  40854. - # This is similar to how AIX traditionally builds its shared libraries.
  40855. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  40856. + # Check whether --enable-fast-install was given.
  40857. +if test "${enable_fast_install+set}" = set; then :
  40858. + enableval=$enable_fast_install; p=${PACKAGE-default}
  40859. + case $enableval in
  40860. + yes) enable_fast_install=yes ;;
  40861. + no) enable_fast_install=no ;;
  40862. + *)
  40863. + enable_fast_install=no
  40864. + # Look at the argument we got. We use all the common list separators.
  40865. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  40866. + for pkg in $enableval; do
  40867. + IFS="$lt_save_ifs"
  40868. + if test "X$pkg" = "X$p"; then
  40869. + enable_fast_install=yes
  40870. fi
  40871. - fi
  40872. + done
  40873. + IFS="$lt_save_ifs"
  40874. ;;
  40875. + esac
  40876. +else
  40877. + enable_fast_install=yes
  40878. +fi
  40879. - amigaos*)
  40880. - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  40881. - hardcode_libdir_flag_spec='-L$libdir'
  40882. - hardcode_minus_L=yes
  40883. - # see comment about different semantics on the GNU ld section
  40884. - ld_shlibs=no
  40885. - ;;
  40886. - bsdi[45]*)
  40887. - export_dynamic_flag_spec=-rdynamic
  40888. - ;;
  40889. - cygwin* | mingw* | pw32*)
  40890. - # When not using gcc, we currently assume that we are using
  40891. - # Microsoft Visual C++.
  40892. - # hardcode_libdir_flag_spec is actually meaningless, as there is
  40893. - # no search path for DLLs.
  40894. - hardcode_libdir_flag_spec=' '
  40895. - allow_undefined_flag=unsupported
  40896. - # Tell ltmain to make .lib files, not .a files.
  40897. - libext=lib
  40898. - # Tell ltmain to make .dll files, not .so files.
  40899. - shrext_cmds=".dll"
  40900. - # FIXME: Setting linknames here is a bad hack.
  40901. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
  40902. - # The linker will automatically build a .lib file if we build a DLL.
  40903. - old_archive_From_new_cmds='true'
  40904. - # FIXME: Should let the user specify the lib program.
  40905. - old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  40906. - fix_srcfile_path='`cygpath -w "$srcfile"`'
  40907. - enable_shared_with_static_runtimes=yes
  40908. - ;;
  40909. - darwin* | rhapsody*)
  40910. - case $host_os in
  40911. - rhapsody* | darwin1.[012])
  40912. - allow_undefined_flag='${wl}-undefined ${wl}suppress'
  40913. - ;;
  40914. - *) # Darwin 1.3 on
  40915. - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  40916. - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  40917. - else
  40918. - case ${MACOSX_DEPLOYMENT_TARGET} in
  40919. - 10.[012])
  40920. - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  40921. - ;;
  40922. - 10.*)
  40923. - allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
  40924. - ;;
  40925. - esac
  40926. - fi
  40927. - ;;
  40928. - esac
  40929. - archive_cmds_need_lc=no
  40930. - hardcode_direct=no
  40931. - hardcode_automatic=yes
  40932. - hardcode_shlibpath_var=unsupported
  40933. - whole_archive_flag_spec=''
  40934. - link_all_deplibs=yes
  40935. - if test "$GCC" = yes ; then
  40936. - output_verbose_link_cmd='echo'
  40937. - archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  40938. - module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  40939. - archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  40940. - module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  40941. - else
  40942. - case $cc_basename in
  40943. - xlc*)
  40944. - output_verbose_link_cmd='echo'
  40945. - archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
  40946. - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  40947. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  40948. - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  40949. - module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  40950. - ;;
  40951. - *)
  40952. - ld_shlibs=no
  40953. - ;;
  40954. - esac
  40955. - fi
  40956. - ;;
  40957. - dgux*)
  40958. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  40959. - hardcode_libdir_flag_spec='-L$libdir'
  40960. - hardcode_shlibpath_var=no
  40961. - ;;
  40962. - freebsd1*)
  40963. - ld_shlibs=no
  40964. - ;;
  40965. - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  40966. - # support. Future versions do this automatically, but an explicit c++rt0.o
  40967. - # does not break anything, and helps significantly (at the cost of a little
  40968. - # extra space).
  40969. - freebsd2.2*)
  40970. - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  40971. - hardcode_libdir_flag_spec='-R$libdir'
  40972. - hardcode_direct=yes
  40973. - hardcode_shlibpath_var=no
  40974. - ;;
  40975. - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  40976. - freebsd2*)
  40977. - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  40978. - hardcode_direct=yes
  40979. - hardcode_minus_L=yes
  40980. - hardcode_shlibpath_var=no
  40981. - ;;
  40982. - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  40983. - freebsd* | dragonfly*)
  40984. - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  40985. - hardcode_libdir_flag_spec='-R$libdir'
  40986. - hardcode_direct=yes
  40987. - hardcode_shlibpath_var=no
  40988. - ;;
  40989. - hpux9*)
  40990. - if test "$GCC" = yes; then
  40991. - archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  40992. - else
  40993. - archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  40994. - fi
  40995. - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  40996. - hardcode_libdir_separator=:
  40997. - hardcode_direct=yes
  40998. - # hardcode_minus_L: Not really in the search PATH,
  40999. - # but as the default location of the library.
  41000. - hardcode_minus_L=yes
  41001. - export_dynamic_flag_spec='${wl}-E'
  41002. - ;;
  41003. +# This can be used to rebuild libtool when needed
  41004. +LIBTOOL_DEPS="$ltmain"
  41005. - hpux10*)
  41006. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  41007. - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  41008. - else
  41009. - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  41010. - fi
  41011. - if test "$with_gnu_ld" = no; then
  41012. - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  41013. - hardcode_libdir_separator=:
  41014. +# Always use our own libtool.
  41015. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  41016. - hardcode_direct=yes
  41017. - export_dynamic_flag_spec='${wl}-E'
  41018. - # hardcode_minus_L: Not really in the search PATH,
  41019. - # but as the default location of the library.
  41020. - hardcode_minus_L=yes
  41021. - fi
  41022. - ;;
  41023. - hpux11*)
  41024. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  41025. - case $host_cpu in
  41026. - hppa*64*)
  41027. - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  41028. - ;;
  41029. - ia64*)
  41030. - archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  41031. - ;;
  41032. - *)
  41033. - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  41034. - ;;
  41035. - esac
  41036. - else
  41037. - case $host_cpu in
  41038. - hppa*64*)
  41039. - archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  41040. - ;;
  41041. - ia64*)
  41042. - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  41043. - ;;
  41044. - *)
  41045. - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  41046. - ;;
  41047. - esac
  41048. - fi
  41049. - if test "$with_gnu_ld" = no; then
  41050. - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  41051. - hardcode_libdir_separator=:
  41052. - case $host_cpu in
  41053. - hppa*64*|ia64*)
  41054. - hardcode_libdir_flag_spec_ld='+b $libdir'
  41055. - hardcode_direct=no
  41056. - hardcode_shlibpath_var=no
  41057. - ;;
  41058. - *)
  41059. - hardcode_direct=yes
  41060. - export_dynamic_flag_spec='${wl}-E'
  41061. - # hardcode_minus_L: Not really in the search PATH,
  41062. - # but as the default location of the library.
  41063. - hardcode_minus_L=yes
  41064. - ;;
  41065. - esac
  41066. - fi
  41067. - ;;
  41068. - irix5* | irix6* | nonstopux*)
  41069. - if test "$GCC" = yes; then
  41070. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  41071. - else
  41072. - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  41073. - hardcode_libdir_flag_spec_ld='-rpath $libdir'
  41074. - fi
  41075. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  41076. - hardcode_libdir_separator=:
  41077. - link_all_deplibs=yes
  41078. - ;;
  41079. - netbsd*)
  41080. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  41081. - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  41082. - else
  41083. - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  41084. - fi
  41085. - hardcode_libdir_flag_spec='-R$libdir'
  41086. - hardcode_direct=yes
  41087. - hardcode_shlibpath_var=no
  41088. - ;;
  41089. - newsos6)
  41090. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  41091. - hardcode_direct=yes
  41092. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  41093. - hardcode_libdir_separator=:
  41094. - hardcode_shlibpath_var=no
  41095. - ;;
  41096. - openbsd*)
  41097. - if test -f /usr/libexec/ld.so; then
  41098. - hardcode_direct=yes
  41099. - hardcode_shlibpath_var=no
  41100. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  41101. - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  41102. - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  41103. - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  41104. - export_dynamic_flag_spec='${wl}-E'
  41105. - else
  41106. - case $host_os in
  41107. - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  41108. - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  41109. - hardcode_libdir_flag_spec='-R$libdir'
  41110. - ;;
  41111. - *)
  41112. - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  41113. - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  41114. - ;;
  41115. - esac
  41116. - fi
  41117. - else
  41118. - ld_shlibs=no
  41119. - fi
  41120. - ;;
  41121. - os2*)
  41122. - hardcode_libdir_flag_spec='-L$libdir'
  41123. - hardcode_minus_L=yes
  41124. - allow_undefined_flag=unsupported
  41125. - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  41126. - old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  41127. - ;;
  41128. - osf3*)
  41129. - if test "$GCC" = yes; then
  41130. - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  41131. - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  41132. - else
  41133. - allow_undefined_flag=' -expect_unresolved \*'
  41134. - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  41135. - fi
  41136. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  41137. - hardcode_libdir_separator=:
  41138. - ;;
  41139. - osf4* | osf5*) # as osf3* with the addition of -msym flag
  41140. - if test "$GCC" = yes; then
  41141. - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  41142. - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  41143. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  41144. - else
  41145. - allow_undefined_flag=' -expect_unresolved \*'
  41146. - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  41147. - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
  41148. - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
  41149. - # Both c and cxx compiler support -rpath directly
  41150. - hardcode_libdir_flag_spec='-rpath $libdir'
  41151. - fi
  41152. - hardcode_libdir_separator=:
  41153. - ;;
  41154. - solaris*)
  41155. - no_undefined_flag=' -z text'
  41156. - if test "$GCC" = yes; then
  41157. - wlarc='${wl}'
  41158. - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  41159. - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  41160. - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
  41161. - else
  41162. - wlarc=''
  41163. - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  41164. - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  41165. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  41166. - fi
  41167. - hardcode_libdir_flag_spec='-R$libdir'
  41168. - hardcode_shlibpath_var=no
  41169. - case $host_os in
  41170. - solaris2.[0-5] | solaris2.[0-5].*) ;;
  41171. - *)
  41172. - # The compiler driver will combine and reorder linker options,
  41173. - # but understands `-z linker_flag'. GCC discards it without `$wl',
  41174. - # but is careful enough not to reorder.
  41175. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  41176. - if test "$GCC" = yes; then
  41177. - whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  41178. - else
  41179. - whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  41180. - fi
  41181. - ;;
  41182. - esac
  41183. - link_all_deplibs=yes
  41184. - ;;
  41185. - sunos4*)
  41186. - if test "x$host_vendor" = xsequent; then
  41187. - # Use $CC to link under sequent, because it throws in some extra .o
  41188. - # files that make .init and .fini sections work.
  41189. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  41190. - else
  41191. - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  41192. - fi
  41193. - hardcode_libdir_flag_spec='-L$libdir'
  41194. - hardcode_direct=yes
  41195. - hardcode_minus_L=yes
  41196. - hardcode_shlibpath_var=no
  41197. - ;;
  41198. - sysv4)
  41199. - case $host_vendor in
  41200. - sni)
  41201. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  41202. - hardcode_direct=yes # is this really true???
  41203. - ;;
  41204. - siemens)
  41205. - ## LD is ld it makes a PLAMLIB
  41206. - ## CC just makes a GrossModule.
  41207. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  41208. - reload_cmds='$CC -r -o $output$reload_objs'
  41209. - hardcode_direct=no
  41210. - ;;
  41211. - motorola)
  41212. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  41213. - hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  41214. - ;;
  41215. - esac
  41216. - runpath_var='LD_RUN_PATH'
  41217. - hardcode_shlibpath_var=no
  41218. - ;;
  41219. - sysv4.3*)
  41220. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  41221. - hardcode_shlibpath_var=no
  41222. - export_dynamic_flag_spec='-Bexport'
  41223. - ;;
  41224. - sysv4*MP*)
  41225. - if test -d /usr/nec; then
  41226. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  41227. - hardcode_shlibpath_var=no
  41228. - runpath_var=LD_RUN_PATH
  41229. - hardcode_runpath_var=yes
  41230. - ld_shlibs=yes
  41231. - fi
  41232. - ;;
  41233. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  41234. - no_undefined_flag='${wl}-z,text'
  41235. - archive_cmds_need_lc=no
  41236. - hardcode_shlibpath_var=no
  41237. - runpath_var='LD_RUN_PATH'
  41238. - if test "$GCC" = yes; then
  41239. - archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  41240. - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  41241. - else
  41242. - archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  41243. - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  41244. - fi
  41245. - ;;
  41246. - sysv5* | sco3.2v5* | sco5v6*)
  41247. - # Note: We can NOT use -z defs as we might desire, because we do not
  41248. - # link with -lc, and that would cause any symbols used from libc to
  41249. - # always be unresolved, which means just about no library would
  41250. - # ever link correctly. If we're not using GNU ld we use -z text
  41251. - # though, which does catch some bad symbols but isn't as heavy-handed
  41252. - # as -z defs.
  41253. - no_undefined_flag='${wl}-z,text'
  41254. - allow_undefined_flag='${wl}-z,nodefs'
  41255. - archive_cmds_need_lc=no
  41256. - hardcode_shlibpath_var=no
  41257. - hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  41258. - hardcode_libdir_separator=':'
  41259. - link_all_deplibs=yes
  41260. - export_dynamic_flag_spec='${wl}-Bexport'
  41261. - runpath_var='LD_RUN_PATH'
  41262. - if test "$GCC" = yes; then
  41263. - archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  41264. - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  41265. - else
  41266. - archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  41267. - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  41268. - fi
  41269. - ;;
  41270. - uts4*)
  41271. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  41272. - hardcode_libdir_flag_spec='-L$libdir'
  41273. - hardcode_shlibpath_var=no
  41274. - ;;
  41275. - *)
  41276. - ld_shlibs=no
  41277. - ;;
  41278. - esac
  41279. - fi
  41280. -{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
  41281. -$as_echo "$ld_shlibs" >&6; }
  41282. -test "$ld_shlibs" = no && can_build_shared=no
  41283. +test -z "$LN_S" && LN_S="ln -s"
  41284. -#
  41285. -# Do we need to explicitly link libc?
  41286. -#
  41287. -case "x$archive_cmds_need_lc" in
  41288. -x|xyes)
  41289. - # Assume -lc should be added
  41290. - archive_cmds_need_lc=yes
  41291. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  41292. - case $archive_cmds in
  41293. - *'~'*)
  41294. - # FIXME: we may have to deal with multi-command sequences.
  41295. - ;;
  41296. - '$CC '*)
  41297. - # Test whether the compiler implicitly links with -lc since on some
  41298. - # systems, -lgcc has to come before -lc. If gcc already passes -lc
  41299. - # to ld, don't add -lc before -lgcc.
  41300. - { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  41301. -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  41302. - $rm conftest*
  41303. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  41304. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  41305. - (eval $ac_compile) 2>&5
  41306. - ac_status=$?
  41307. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  41308. - (exit $ac_status); } 2>conftest.err; then
  41309. - soname=conftest
  41310. - lib=conftest
  41311. - libobjs=conftest.$ac_objext
  41312. - deplibs=
  41313. - wl=$lt_prog_compiler_wl
  41314. - pic_flag=$lt_prog_compiler_pic
  41315. - compiler_flags=-v
  41316. - linker_flags=-v
  41317. - verstring=
  41318. - output_objdir=.
  41319. - libname=conftest
  41320. - lt_save_allow_undefined_flag=$allow_undefined_flag
  41321. - allow_undefined_flag=
  41322. - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
  41323. - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
  41324. - ac_status=$?
  41325. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  41326. - (exit $ac_status); }
  41327. - then
  41328. - archive_cmds_need_lc=no
  41329. - else
  41330. - archive_cmds_need_lc=yes
  41331. - fi
  41332. - allow_undefined_flag=$lt_save_allow_undefined_flag
  41333. - else
  41334. - cat conftest.err 1>&5
  41335. - fi
  41336. - $rm conftest*
  41337. - { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
  41338. -$as_echo "$archive_cmds_need_lc" >&6; }
  41339. - ;;
  41340. - esac
  41341. - fi
  41342. - ;;
  41343. -esac
  41344. -{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  41345. -$as_echo_n "checking dynamic linker characteristics... " >&6; }
  41346. -library_names_spec=
  41347. -libname_spec='lib$name'
  41348. -soname_spec=
  41349. -shrext_cmds=".so"
  41350. -postinstall_cmds=
  41351. -postuninstall_cmds=
  41352. -finish_cmds=
  41353. -finish_eval=
  41354. -shlibpath_var=
  41355. -shlibpath_overrides_runpath=unknown
  41356. -version_type=none
  41357. -dynamic_linker="$host_os ld.so"
  41358. -sys_lib_dlsearch_path_spec="/lib /usr/lib"
  41359. -if test "$GCC" = yes; then
  41360. - case $host_os in
  41361. - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  41362. - *) lt_awk_arg="/^libraries:/" ;;
  41363. - esac
  41364. - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  41365. - if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
  41366. - # if the path contains ";" then we assume it to be the separator
  41367. - # otherwise default to the standard path separator (i.e. ":") - it is
  41368. - # assumed that no part of a normal pathname contains ";" but that should
  41369. - # okay in the real world where ";" in dirpaths is itself problematic.
  41370. - lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  41371. - else
  41372. - lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  41373. - fi
  41374. - # Ok, now we have the path, separated by spaces, we can step through it
  41375. - # and add multilib dir if necessary.
  41376. - lt_tmp_lt_search_path_spec=
  41377. - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  41378. - for lt_sys_path in $lt_search_path_spec; do
  41379. - if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  41380. - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  41381. - else
  41382. - test -d "$lt_sys_path" && \
  41383. - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  41384. - fi
  41385. - done
  41386. - lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
  41387. -BEGIN {RS=" "; FS="/|\n";} {
  41388. - lt_foo="";
  41389. - lt_count=0;
  41390. - for (lt_i = NF; lt_i > 0; lt_i--) {
  41391. - if ($lt_i != "" && $lt_i != ".") {
  41392. - if ($lt_i == "..") {
  41393. - lt_count++;
  41394. - } else {
  41395. - if (lt_count == 0) {
  41396. - lt_foo="/" $lt_i lt_foo;
  41397. - } else {
  41398. - lt_count--;
  41399. - }
  41400. - }
  41401. - }
  41402. - }
  41403. - if (lt_foo != "") { lt_freq[lt_foo]++; }
  41404. - if (lt_freq[lt_foo] == 1) { print lt_foo; }
  41405. -}'`
  41406. - sys_lib_search_path_spec=`echo $lt_search_path_spec`
  41407. +
  41408. +
  41409. +
  41410. +
  41411. +
  41412. +
  41413. +
  41414. +
  41415. +
  41416. +if test -n "${ZSH_VERSION+set}" ; then
  41417. + setopt NO_GLOB_SUBST
  41418. +fi
  41419. +
  41420. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  41421. +$as_echo_n "checking for objdir... " >&6; }
  41422. +if test "${lt_cv_objdir+set}" = set; then :
  41423. + $as_echo_n "(cached) " >&6
  41424. else
  41425. - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  41426. + rm -f .libs 2>/dev/null
  41427. +mkdir .libs 2>/dev/null
  41428. +if test -d .libs; then
  41429. + lt_cv_objdir=.libs
  41430. +else
  41431. + # MS-DOS does not allow filenames that begin with a dot.
  41432. + lt_cv_objdir=_libs
  41433. fi
  41434. -need_lib_prefix=unknown
  41435. -hardcode_into_libs=no
  41436. +rmdir .libs 2>/dev/null
  41437. +fi
  41438. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  41439. +$as_echo "$lt_cv_objdir" >&6; }
  41440. +objdir=$lt_cv_objdir
  41441. -# when you set need_version to no, make sure it does not cause -set_version
  41442. -# flags to be left without arguments
  41443. -need_version=unknown
  41444. -case $host_os in
  41445. -aix3*)
  41446. - version_type=linux
  41447. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  41448. - shlibpath_var=LIBPATH
  41449. - # AIX 3 has no versioning support, so we append a major version to the name.
  41450. - soname_spec='${libname}${release}${shared_ext}$major'
  41451. - ;;
  41452. -aix[4-9]*)
  41453. - version_type=linux
  41454. - need_lib_prefix=no
  41455. - need_version=no
  41456. - hardcode_into_libs=yes
  41457. - if test "$host_cpu" = ia64; then
  41458. - # AIX 5 supports IA64
  41459. - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  41460. - shlibpath_var=LD_LIBRARY_PATH
  41461. - else
  41462. - # With GCC up to 2.95.x, collect2 would create an import file
  41463. - # for dependence libraries. The import file would start with
  41464. - # the line `#! .'. This would cause the generated library to
  41465. - # depend on `.', always an invalid library. This was fixed in
  41466. - # development snapshots of GCC prior to 3.0.
  41467. - case $host_os in
  41468. - aix4 | aix4.[01] | aix4.[01].*)
  41469. - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  41470. - echo ' yes '
  41471. - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  41472. - :
  41473. - else
  41474. - can_build_shared=no
  41475. - fi
  41476. - ;;
  41477. - esac
  41478. - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  41479. - # soname into executable. Probably we can add versioning support to
  41480. - # collect2, so additional links can be useful in future.
  41481. - if test "$aix_use_runtimelinking" = yes; then
  41482. - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  41483. - # instead of lib<name>.a to let people know that these are not
  41484. - # typical AIX shared libraries.
  41485. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  41486. - else
  41487. - # We preserve .a as extension for shared libraries through AIX4.2
  41488. - # and later when we are not doing run time linking.
  41489. - library_names_spec='${libname}${release}.a $libname.a'
  41490. - soname_spec='${libname}${release}${shared_ext}$major'
  41491. - fi
  41492. - shlibpath_var=LIBPATH
  41493. - fi
  41494. - ;;
  41495. -amigaos*)
  41496. - library_names_spec='$libname.ixlibrary $libname.a'
  41497. - # Create ${libname}_ixlibrary.a entries in /sys/libs.
  41498. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  41499. - ;;
  41500. +cat >>confdefs.h <<_ACEOF
  41501. +#define LT_OBJDIR "$lt_cv_objdir/"
  41502. +_ACEOF
  41503. -beos*)
  41504. - library_names_spec='${libname}${shared_ext}'
  41505. - dynamic_linker="$host_os ld.so"
  41506. - shlibpath_var=LIBRARY_PATH
  41507. - ;;
  41508. -bsdi[45]*)
  41509. - version_type=linux
  41510. - need_version=no
  41511. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  41512. - soname_spec='${libname}${release}${shared_ext}$major'
  41513. - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  41514. - shlibpath_var=LD_LIBRARY_PATH
  41515. - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  41516. - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  41517. - # the default ld.so.conf also contains /usr/contrib/lib and
  41518. - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  41519. - # libtool to hard-code these into programs
  41520. - ;;
  41521. -cygwin* | mingw* | pw32*)
  41522. - version_type=windows
  41523. - shrext_cmds=".dll"
  41524. - need_version=no
  41525. - need_lib_prefix=no
  41526. - case $GCC,$host_os in
  41527. - yes,cygwin* | yes,mingw* | yes,pw32*)
  41528. - library_names_spec='$libname.dll.a'
  41529. - # DLL is installed to $(libdir)/../bin by postinstall_cmds
  41530. - postinstall_cmds='base_file=`basename \${file}`~
  41531. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  41532. - dldir=$destdir/`dirname \$dlpath`~
  41533. - test -d \$dldir || mkdir -p \$dldir~
  41534. - $install_prog $dir/$dlname \$dldir/$dlname~
  41535. - chmod a+x \$dldir/$dlname'
  41536. - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  41537. - dlpath=$dir/\$dldll~
  41538. - $rm \$dlpath'
  41539. - shlibpath_overrides_runpath=yes
  41540. - case $host_os in
  41541. - cygwin*)
  41542. - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  41543. - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  41544. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  41545. - ;;
  41546. - mingw*)
  41547. - # MinGW DLLs use traditional 'lib' prefix
  41548. - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  41549. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  41550. - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
  41551. - # It is most probably a Windows format PATH printed by
  41552. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  41553. - # path with ; separators, and with drive letters. We can handle the
  41554. - # drive letters (cygwin fileutils understands them), so leave them,
  41555. - # especially as we might pass files found there to a mingw objdump,
  41556. - # which wouldn't understand a cygwinified path. Ahh.
  41557. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  41558. - else
  41559. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  41560. - fi
  41561. - ;;
  41562. - pw32*)
  41563. - # pw32 DLLs use 'pw' prefix rather than 'lib'
  41564. - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  41565. - ;;
  41566. - esac
  41567. - ;;
  41568. - *)
  41569. - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  41570. - ;;
  41571. - esac
  41572. - dynamic_linker='Win32 ld.exe'
  41573. - # FIXME: first we should search . and the directory the executable is in
  41574. - shlibpath_var=PATH
  41575. - ;;
  41576. -darwin* | rhapsody*)
  41577. - dynamic_linker="$host_os dyld"
  41578. - version_type=darwin
  41579. - need_lib_prefix=no
  41580. - need_version=no
  41581. - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  41582. - soname_spec='${libname}${release}${major}$shared_ext'
  41583. - shlibpath_overrides_runpath=yes
  41584. - shlibpath_var=DYLD_LIBRARY_PATH
  41585. - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  41586. - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  41587. - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  41588. - ;;
  41589. -dgux*)
  41590. - version_type=linux
  41591. - need_lib_prefix=no
  41592. - need_version=no
  41593. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  41594. - soname_spec='${libname}${release}${shared_ext}$major'
  41595. - shlibpath_var=LD_LIBRARY_PATH
  41596. - ;;
  41597. -freebsd1*)
  41598. - dynamic_linker=no
  41599. - ;;
  41600. -freebsd* | dragonfly*)
  41601. - # DragonFly does not have aout. When/if they implement a new
  41602. - # versioning mechanism, adjust this.
  41603. - if test -x /usr/bin/objformat; then
  41604. - objformat=`/usr/bin/objformat`
  41605. - else
  41606. - case $host_os in
  41607. - freebsd[123]*) objformat=aout ;;
  41608. - *) objformat=elf ;;
  41609. - esac
  41610. - fi
  41611. - version_type=freebsd-$objformat
  41612. - case $version_type in
  41613. - freebsd-elf*)
  41614. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  41615. - need_version=no
  41616. - need_lib_prefix=no
  41617. - ;;
  41618. - freebsd-*)
  41619. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  41620. - need_version=yes
  41621. - ;;
  41622. - esac
  41623. - shlibpath_var=LD_LIBRARY_PATH
  41624. - case $host_os in
  41625. - freebsd2*)
  41626. - shlibpath_overrides_runpath=yes
  41627. - ;;
  41628. - freebsd3.[01]* | freebsdelf3.[01]*)
  41629. - shlibpath_overrides_runpath=yes
  41630. - hardcode_into_libs=yes
  41631. - ;;
  41632. - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  41633. - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  41634. - shlibpath_overrides_runpath=no
  41635. - hardcode_into_libs=yes
  41636. - ;;
  41637. - *) # from 4.6 on, and DragonFly
  41638. - shlibpath_overrides_runpath=yes
  41639. - hardcode_into_libs=yes
  41640. - ;;
  41641. - esac
  41642. - ;;
  41643. -gnu*)
  41644. - version_type=linux
  41645. - need_lib_prefix=no
  41646. - need_version=no
  41647. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  41648. - soname_spec='${libname}${release}${shared_ext}$major'
  41649. - shlibpath_var=LD_LIBRARY_PATH
  41650. - hardcode_into_libs=yes
  41651. - ;;
  41652. -hpux9* | hpux10* | hpux11*)
  41653. - # Give a soname corresponding to the major version so that dld.sl refuses to
  41654. - # link against other versions.
  41655. - version_type=sunos
  41656. - need_lib_prefix=no
  41657. - need_version=no
  41658. - case $host_cpu in
  41659. - ia64*)
  41660. - shrext_cmds='.so'
  41661. - hardcode_into_libs=yes
  41662. - dynamic_linker="$host_os dld.so"
  41663. - shlibpath_var=LD_LIBRARY_PATH
  41664. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  41665. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  41666. - soname_spec='${libname}${release}${shared_ext}$major'
  41667. - if test "X$HPUX_IA64_MODE" = X32; then
  41668. - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  41669. - else
  41670. - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  41671. - fi
  41672. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  41673. - ;;
  41674. - hppa*64*)
  41675. - shrext_cmds='.sl'
  41676. - hardcode_into_libs=yes
  41677. - dynamic_linker="$host_os dld.sl"
  41678. - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  41679. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  41680. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  41681. - soname_spec='${libname}${release}${shared_ext}$major'
  41682. - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  41683. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  41684. - ;;
  41685. - *)
  41686. - shrext_cmds='.sl'
  41687. - dynamic_linker="$host_os dld.sl"
  41688. - shlibpath_var=SHLIB_PATH
  41689. - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  41690. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  41691. - soname_spec='${libname}${release}${shared_ext}$major'
  41692. - ;;
  41693. - esac
  41694. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  41695. - postinstall_cmds='chmod 555 $lib'
  41696. - ;;
  41697. -interix[3-9]*)
  41698. - version_type=linux
  41699. - need_lib_prefix=no
  41700. - need_version=no
  41701. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  41702. - soname_spec='${libname}${release}${shared_ext}$major'
  41703. - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  41704. - shlibpath_var=LD_LIBRARY_PATH
  41705. - shlibpath_overrides_runpath=no
  41706. - hardcode_into_libs=yes
  41707. - ;;
  41708. -irix5* | irix6* | nonstopux*)
  41709. - case $host_os in
  41710. - nonstopux*) version_type=nonstopux ;;
  41711. - *)
  41712. - if test "$lt_cv_prog_gnu_ld" = yes; then
  41713. - version_type=linux
  41714. - else
  41715. - version_type=irix
  41716. - fi ;;
  41717. - esac
  41718. - need_lib_prefix=no
  41719. - need_version=no
  41720. - soname_spec='${libname}${release}${shared_ext}$major'
  41721. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  41722. - case $host_os in
  41723. - irix5* | nonstopux*)
  41724. - libsuff= shlibsuff=
  41725. - ;;
  41726. - *)
  41727. - case $LD in # libtool.m4 will add one of these switches to LD
  41728. - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  41729. - libsuff= shlibsuff= libmagic=32-bit;;
  41730. - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  41731. - libsuff=32 shlibsuff=N32 libmagic=N32;;
  41732. - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  41733. - libsuff=64 shlibsuff=64 libmagic=64-bit;;
  41734. - *) libsuff= shlibsuff= libmagic=never-match;;
  41735. - esac
  41736. - ;;
  41737. - esac
  41738. - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  41739. - shlibpath_overrides_runpath=no
  41740. - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  41741. - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  41742. - hardcode_into_libs=yes
  41743. - ;;
  41744. -# No shared lib support for Linux oldld, aout, or coff.
  41745. -linux*oldld* | linux*aout* | linux*coff*)
  41746. - dynamic_linker=no
  41747. +
  41748. +case $host_os in
  41749. +aix3*)
  41750. + # AIX sometimes has problems with the GCC collect2 program. For some
  41751. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  41752. + # vanish in a puff of smoke.
  41753. + if test "X${COLLECT_NAMES+set}" != Xset; then
  41754. + COLLECT_NAMES=
  41755. + export COLLECT_NAMES
  41756. + fi
  41757. ;;
  41758. +esac
  41759. -# This must be Linux ELF.
  41760. -linux* | k*bsd*-gnu)
  41761. - version_type=linux
  41762. - need_lib_prefix=no
  41763. - need_version=no
  41764. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  41765. - soname_spec='${libname}${release}${shared_ext}$major'
  41766. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  41767. - shlibpath_var=LD_LIBRARY_PATH
  41768. - shlibpath_overrides_runpath=no
  41769. - # This implies no fast_install, which is unacceptable.
  41770. - # Some rework will be needed to allow for fast_install
  41771. - # before this can be enabled.
  41772. - hardcode_into_libs=yes
  41773. +# Sed substitution that helps us do robust quoting. It backslashifies
  41774. +# metacharacters that are still active within double-quoted strings.
  41775. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  41776. - # Append ld.so.conf contents to the search path
  41777. - if test -f /etc/ld.so.conf; then
  41778. - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  41779. - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  41780. - fi
  41781. +# Same as above, but do not quote variable references.
  41782. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  41783. - # We used to test for /lib/ld.so.1 and disable shared libraries on
  41784. - # powerpc, because MkLinux only supported shared libraries with the
  41785. - # GNU dynamic linker. Since this was broken with cross compilers,
  41786. - # most powerpc-linux boxes support dynamic linking these days and
  41787. - # people can always --disable-shared, the test was removed, and we
  41788. - # assume the GNU/Linux dynamic linker is in use.
  41789. - dynamic_linker='GNU/Linux ld.so'
  41790. - ;;
  41791. +# Sed substitution to delay expansion of an escaped shell variable in a
  41792. +# double_quote_subst'ed string.
  41793. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  41794. -netbsd*)
  41795. - version_type=sunos
  41796. - need_lib_prefix=no
  41797. - need_version=no
  41798. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  41799. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  41800. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  41801. - dynamic_linker='NetBSD (a.out) ld.so'
  41802. - else
  41803. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  41804. - soname_spec='${libname}${release}${shared_ext}$major'
  41805. - dynamic_linker='NetBSD ld.elf_so'
  41806. - fi
  41807. - shlibpath_var=LD_LIBRARY_PATH
  41808. - shlibpath_overrides_runpath=yes
  41809. - hardcode_into_libs=yes
  41810. - ;;
  41811. +# Sed substitution to delay expansion of an escaped single quote.
  41812. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  41813. -newsos6)
  41814. - version_type=linux
  41815. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  41816. - shlibpath_var=LD_LIBRARY_PATH
  41817. - shlibpath_overrides_runpath=yes
  41818. - ;;
  41819. +# Sed substitution to avoid accidental globbing in evaled expressions
  41820. +no_glob_subst='s/\*/\\\*/g'
  41821. -nto-qnx*)
  41822. - version_type=linux
  41823. - need_lib_prefix=no
  41824. - need_version=no
  41825. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  41826. - soname_spec='${libname}${release}${shared_ext}$major'
  41827. - shlibpath_var=LD_LIBRARY_PATH
  41828. - shlibpath_overrides_runpath=yes
  41829. - ;;
  41830. +# Global variables:
  41831. +ofile=libtool
  41832. +can_build_shared=yes
  41833. -openbsd*)
  41834. - version_type=sunos
  41835. - sys_lib_dlsearch_path_spec="/usr/lib"
  41836. - need_lib_prefix=no
  41837. - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  41838. - case $host_os in
  41839. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  41840. - *) need_version=no ;;
  41841. - esac
  41842. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  41843. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  41844. - shlibpath_var=LD_LIBRARY_PATH
  41845. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  41846. - case $host_os in
  41847. - openbsd2.[89] | openbsd2.[89].*)
  41848. - shlibpath_overrides_runpath=no
  41849. - ;;
  41850. - *)
  41851. - shlibpath_overrides_runpath=yes
  41852. - ;;
  41853. - esac
  41854. - else
  41855. - shlibpath_overrides_runpath=yes
  41856. - fi
  41857. - ;;
  41858. -
  41859. -os2*)
  41860. - libname_spec='$name'
  41861. - shrext_cmds=".dll"
  41862. - need_lib_prefix=no
  41863. - library_names_spec='$libname${shared_ext} $libname.a'
  41864. - dynamic_linker='OS/2 ld.exe'
  41865. - shlibpath_var=LIBPATH
  41866. - ;;
  41867. -
  41868. -osf3* | osf4* | osf5*)
  41869. - version_type=osf
  41870. - need_lib_prefix=no
  41871. - need_version=no
  41872. - soname_spec='${libname}${release}${shared_ext}$major'
  41873. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  41874. - shlibpath_var=LD_LIBRARY_PATH
  41875. - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  41876. - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  41877. - ;;
  41878. +# All known linkers require a `.a' archive for static linking (except MSVC,
  41879. +# which needs '.lib').
  41880. +libext=a
  41881. -rdos*)
  41882. - dynamic_linker=no
  41883. - ;;
  41884. +with_gnu_ld="$lt_cv_prog_gnu_ld"
  41885. -solaris*)
  41886. - version_type=linux
  41887. - need_lib_prefix=no
  41888. - need_version=no
  41889. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  41890. - soname_spec='${libname}${release}${shared_ext}$major'
  41891. - shlibpath_var=LD_LIBRARY_PATH
  41892. - shlibpath_overrides_runpath=yes
  41893. - hardcode_into_libs=yes
  41894. - # ldd complains unless libraries are executable
  41895. - postinstall_cmds='chmod +x $lib'
  41896. - ;;
  41897. +old_CC="$CC"
  41898. +old_CFLAGS="$CFLAGS"
  41899. -sunos4*)
  41900. - version_type=sunos
  41901. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  41902. - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  41903. - shlibpath_var=LD_LIBRARY_PATH
  41904. - shlibpath_overrides_runpath=yes
  41905. - if test "$with_gnu_ld" = yes; then
  41906. - need_lib_prefix=no
  41907. - fi
  41908. - need_version=yes
  41909. - ;;
  41910. +# Set sane defaults for various variables
  41911. +test -z "$CC" && CC=cc
  41912. +test -z "$LTCC" && LTCC=$CC
  41913. +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  41914. +test -z "$LD" && LD=ld
  41915. +test -z "$ac_objext" && ac_objext=o
  41916. -sysv4 | sysv4.3*)
  41917. - version_type=linux
  41918. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  41919. - soname_spec='${libname}${release}${shared_ext}$major'
  41920. - shlibpath_var=LD_LIBRARY_PATH
  41921. - case $host_vendor in
  41922. - sni)
  41923. - shlibpath_overrides_runpath=no
  41924. - need_lib_prefix=no
  41925. - export_dynamic_flag_spec='${wl}-Blargedynsym'
  41926. - runpath_var=LD_RUN_PATH
  41927. - ;;
  41928. - siemens)
  41929. - need_lib_prefix=no
  41930. - ;;
  41931. - motorola)
  41932. - need_lib_prefix=no
  41933. - need_version=no
  41934. - shlibpath_overrides_runpath=no
  41935. - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  41936. - ;;
  41937. +for cc_temp in $compiler""; do
  41938. + case $cc_temp in
  41939. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  41940. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  41941. + \-*) ;;
  41942. + *) break;;
  41943. esac
  41944. - ;;
  41945. +done
  41946. +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  41947. -sysv4*MP*)
  41948. - if test -d /usr/nec ;then
  41949. - version_type=linux
  41950. - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  41951. - soname_spec='$libname${shared_ext}.$major'
  41952. - shlibpath_var=LD_LIBRARY_PATH
  41953. - fi
  41954. - ;;
  41955. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  41956. - version_type=freebsd-elf
  41957. - need_lib_prefix=no
  41958. - need_version=no
  41959. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  41960. - soname_spec='${libname}${release}${shared_ext}$major'
  41961. - shlibpath_var=LD_LIBRARY_PATH
  41962. - hardcode_into_libs=yes
  41963. - if test "$with_gnu_ld" = yes; then
  41964. - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  41965. - shlibpath_overrides_runpath=no
  41966. - else
  41967. - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  41968. - shlibpath_overrides_runpath=yes
  41969. - case $host_os in
  41970. - sco3.2v5*)
  41971. - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  41972. - ;;
  41973. - esac
  41974. - fi
  41975. - sys_lib_dlsearch_path_spec='/usr/lib'
  41976. +# Only perform the check for file, if the check method requires it
  41977. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  41978. +case $deplibs_check_method in
  41979. +file_magic*)
  41980. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  41981. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  41982. +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  41983. +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  41984. + $as_echo_n "(cached) " >&6
  41985. +else
  41986. + case $MAGIC_CMD in
  41987. +[\\/*] | ?:[\\/]*)
  41988. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  41989. ;;
  41990. +*)
  41991. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  41992. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  41993. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  41994. + for ac_dir in $ac_dummy; do
  41995. + IFS="$lt_save_ifs"
  41996. + test -z "$ac_dir" && ac_dir=.
  41997. + if test -f $ac_dir/${ac_tool_prefix}file; then
  41998. + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  41999. + if test -n "$file_magic_test_file"; then
  42000. + case $deplibs_check_method in
  42001. + "file_magic "*)
  42002. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  42003. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  42004. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  42005. + $EGREP "$file_magic_regex" > /dev/null; then
  42006. + :
  42007. + else
  42008. + cat <<_LT_EOF 1>&2
  42009. -uts4*)
  42010. - version_type=linux
  42011. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  42012. - soname_spec='${libname}${release}${shared_ext}$major'
  42013. - shlibpath_var=LD_LIBRARY_PATH
  42014. - ;;
  42015. +*** Warning: the command libtool uses to detect shared libraries,
  42016. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  42017. +*** The result is that libtool may fail to recognize shared libraries
  42018. +*** as such. This will affect the creation of libtool libraries that
  42019. +*** depend on shared libraries, but programs linked with such libtool
  42020. +*** libraries will work regardless of this problem. Nevertheless, you
  42021. +*** may want to report the problem to your system manager and/or to
  42022. +*** bug-libtool@gnu.org
  42023. -*)
  42024. - dynamic_linker=no
  42025. +_LT_EOF
  42026. + fi ;;
  42027. + esac
  42028. + fi
  42029. + break
  42030. + fi
  42031. + done
  42032. + IFS="$lt_save_ifs"
  42033. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  42034. ;;
  42035. esac
  42036. -{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  42037. -$as_echo "$dynamic_linker" >&6; }
  42038. -test "$dynamic_linker" = no && can_build_shared=no
  42039. -
  42040. -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  42041. - $as_echo_n "(cached) " >&6
  42042. -else
  42043. - lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
  42044. fi
  42045. -sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  42046. -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  42047. - $as_echo_n "(cached) " >&6
  42048. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  42049. +if test -n "$MAGIC_CMD"; then
  42050. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  42051. +$as_echo "$MAGIC_CMD" >&6; }
  42052. else
  42053. - lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
  42054. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  42055. +$as_echo "no" >&6; }
  42056. fi
  42057. -sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  42058. -
  42059. -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  42060. -if test "$GCC" = yes; then
  42061. - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  42062. -fi
  42063. -{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  42064. -$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  42065. -hardcode_action=
  42066. -if test -n "$hardcode_libdir_flag_spec" || \
  42067. - test -n "$runpath_var" || \
  42068. - test "X$hardcode_automatic" = "Xyes" ; then
  42069. - # We can hardcode non-existant directories.
  42070. - if test "$hardcode_direct" != no &&
  42071. - # If the only mechanism to avoid hardcoding is shlibpath_var, we
  42072. - # have to relink, otherwise we might link with an installed library
  42073. - # when we should be linking with a yet-to-be-installed one
  42074. - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
  42075. - test "$hardcode_minus_L" != no; then
  42076. - # Linking always hardcodes the temporary library directory.
  42077. - hardcode_action=relink
  42078. - else
  42079. - # We can link without hardcoding, and we can hardcode nonexisting dirs.
  42080. - hardcode_action=immediate
  42081. - fi
  42082. -else
  42083. - # We cannot hardcode anything, or else we can only hardcode existing
  42084. - # directories.
  42085. - hardcode_action=unsupported
  42086. -fi
  42087. -{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
  42088. -$as_echo "$hardcode_action" >&6; }
  42089. -if test "$hardcode_action" = relink; then
  42090. - # Fast installation is not supported
  42091. - enable_fast_install=no
  42092. -elif test "$shlibpath_overrides_runpath" = yes ||
  42093. - test "$enable_shared" = no; then
  42094. - # Fast installation is not necessary
  42095. - enable_fast_install=needless
  42096. -fi
  42097. -striplib=
  42098. -old_striplib=
  42099. -{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
  42100. -$as_echo_n "checking whether stripping libraries is possible... " >&6; }
  42101. -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
  42102. - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  42103. - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  42104. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  42105. -$as_echo "yes" >&6; }
  42106. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  42107. + if test -n "$ac_tool_prefix"; then
  42108. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  42109. +$as_echo_n "checking for file... " >&6; }
  42110. +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  42111. + $as_echo_n "(cached) " >&6
  42112. else
  42113. -# FIXME - insert some real tests, host_os isn't really good enough
  42114. - case $host_os in
  42115. - darwin*)
  42116. - if test -n "$STRIP" ; then
  42117. - striplib="$STRIP -x"
  42118. - old_striplib="$STRIP -S"
  42119. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  42120. -$as_echo "yes" >&6; }
  42121. - else
  42122. - { $as_echo "$as_me:$LINENO: result: no" >&5
  42123. -$as_echo "no" >&6; }
  42124. -fi
  42125. - ;;
  42126. - *)
  42127. - { $as_echo "$as_me:$LINENO: result: no" >&5
  42128. -$as_echo "no" >&6; }
  42129. - ;;
  42130. - esac
  42131. -fi
  42132. -
  42133. -if test "x$enable_dlopen" != xyes; then
  42134. - enable_dlopen=unknown
  42135. - enable_dlopen_self=unknown
  42136. - enable_dlopen_self_static=unknown
  42137. -else
  42138. - lt_cv_dlopen=no
  42139. - lt_cv_dlopen_libs=
  42140. -
  42141. - case $host_os in
  42142. - beos*)
  42143. - lt_cv_dlopen="load_add_on"
  42144. - lt_cv_dlopen_libs=
  42145. - lt_cv_dlopen_self=yes
  42146. - ;;
  42147. -
  42148. - mingw* | pw32*)
  42149. - lt_cv_dlopen="LoadLibrary"
  42150. - lt_cv_dlopen_libs=
  42151. - ;;
  42152. -
  42153. - cygwin*)
  42154. - lt_cv_dlopen="dlopen"
  42155. - lt_cv_dlopen_libs=
  42156. - ;;
  42157. + case $MAGIC_CMD in
  42158. +[\\/*] | ?:[\\/]*)
  42159. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  42160. + ;;
  42161. +*)
  42162. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  42163. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  42164. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  42165. + for ac_dir in $ac_dummy; do
  42166. + IFS="$lt_save_ifs"
  42167. + test -z "$ac_dir" && ac_dir=.
  42168. + if test -f $ac_dir/file; then
  42169. + lt_cv_path_MAGIC_CMD="$ac_dir/file"
  42170. + if test -n "$file_magic_test_file"; then
  42171. + case $deplibs_check_method in
  42172. + "file_magic "*)
  42173. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  42174. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  42175. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  42176. + $EGREP "$file_magic_regex" > /dev/null; then
  42177. + :
  42178. + else
  42179. + cat <<_LT_EOF 1>&2
  42180. - darwin*)
  42181. - # if libdl is installed we need to link against it
  42182. - { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  42183. -$as_echo_n "checking for dlopen in -ldl... " >&6; }
  42184. -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  42185. - $as_echo_n "(cached) " >&6
  42186. -else
  42187. - ac_check_lib_save_LIBS=$LIBS
  42188. -LIBS="-ldl $LIBS"
  42189. -cat >conftest.$ac_ext <<_ACEOF
  42190. -/* confdefs.h. */
  42191. -_ACEOF
  42192. -cat confdefs.h >>conftest.$ac_ext
  42193. -cat >>conftest.$ac_ext <<_ACEOF
  42194. -/* end confdefs.h. */
  42195. +*** Warning: the command libtool uses to detect shared libraries,
  42196. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  42197. +*** The result is that libtool may fail to recognize shared libraries
  42198. +*** as such. This will affect the creation of libtool libraries that
  42199. +*** depend on shared libraries, but programs linked with such libtool
  42200. +*** libraries will work regardless of this problem. Nevertheless, you
  42201. +*** may want to report the problem to your system manager and/or to
  42202. +*** bug-libtool@gnu.org
  42203. -/* Override any GCC internal prototype to avoid an error.
  42204. - Use char because int might match the return type of a GCC
  42205. - builtin and then its argument prototype would still apply. */
  42206. -#ifdef __cplusplus
  42207. -extern "C"
  42208. -#endif
  42209. -char dlopen ();
  42210. -int
  42211. -main ()
  42212. -{
  42213. -return dlopen ();
  42214. - ;
  42215. - return 0;
  42216. -}
  42217. -_ACEOF
  42218. -rm -f conftest.$ac_objext conftest$ac_exeext
  42219. -if { (ac_try="$ac_link"
  42220. -case "(($ac_try" in
  42221. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  42222. - *) ac_try_echo=$ac_try;;
  42223. +_LT_EOF
  42224. + fi ;;
  42225. + esac
  42226. + fi
  42227. + break
  42228. + fi
  42229. + done
  42230. + IFS="$lt_save_ifs"
  42231. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  42232. + ;;
  42233. esac
  42234. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  42235. -$as_echo "$ac_try_echo") >&5
  42236. - (eval "$ac_link") 2>conftest.er1
  42237. - ac_status=$?
  42238. - grep -v '^ *+' conftest.er1 >conftest.err
  42239. - rm -f conftest.er1
  42240. - cat conftest.err >&5
  42241. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  42242. - (exit $ac_status); } && {
  42243. - test -z "$ac_c_werror_flag" ||
  42244. - test ! -s conftest.err
  42245. - } && test -s conftest$ac_exeext && {
  42246. - test "$cross_compiling" = yes ||
  42247. - $as_test_x conftest$ac_exeext
  42248. - }; then
  42249. - ac_cv_lib_dl_dlopen=yes
  42250. -else
  42251. - $as_echo "$as_me: failed program was:" >&5
  42252. -sed 's/^/| /' conftest.$ac_ext >&5
  42253. -
  42254. - ac_cv_lib_dl_dlopen=no
  42255. fi
  42256. -rm -rf conftest.dSYM
  42257. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  42258. - conftest$ac_exeext conftest.$ac_ext
  42259. -LIBS=$ac_check_lib_save_LIBS
  42260. -fi
  42261. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  42262. -$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  42263. -if test $ac_cv_lib_dl_dlopen = yes; then
  42264. - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  42265. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  42266. +if test -n "$MAGIC_CMD"; then
  42267. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  42268. +$as_echo "$MAGIC_CMD" >&6; }
  42269. else
  42270. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  42271. +$as_echo "no" >&6; }
  42272. +fi
  42273. - lt_cv_dlopen="dyld"
  42274. - lt_cv_dlopen_libs=
  42275. - lt_cv_dlopen_self=yes
  42276. + else
  42277. + MAGIC_CMD=:
  42278. + fi
  42279. fi
  42280. - ;;
  42281. + fi
  42282. + ;;
  42283. +esac
  42284. - *)
  42285. - { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
  42286. -$as_echo_n "checking for shl_load... " >&6; }
  42287. -if test "${ac_cv_func_shl_load+set}" = set; then
  42288. - $as_echo_n "(cached) " >&6
  42289. -else
  42290. - cat >conftest.$ac_ext <<_ACEOF
  42291. -/* confdefs.h. */
  42292. -_ACEOF
  42293. -cat confdefs.h >>conftest.$ac_ext
  42294. -cat >>conftest.$ac_ext <<_ACEOF
  42295. -/* end confdefs.h. */
  42296. -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
  42297. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  42298. -#define shl_load innocuous_shl_load
  42299. +# Use C for the default configuration in the libtool script
  42300. -/* System header to define __stub macros and hopefully few prototypes,
  42301. - which can conflict with char shl_load (); below.
  42302. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  42303. - <limits.h> exists even on freestanding compilers. */
  42304. +lt_save_CC="$CC"
  42305. +ac_ext=c
  42306. +ac_cpp='$CPP $CPPFLAGS'
  42307. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  42308. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  42309. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  42310. -#ifdef __STDC__
  42311. -# include <limits.h>
  42312. -#else
  42313. -# include <assert.h>
  42314. -#endif
  42315. -#undef shl_load
  42316. +# Source file extension for C test sources.
  42317. +ac_ext=c
  42318. -/* Override any GCC internal prototype to avoid an error.
  42319. - Use char because int might match the return type of a GCC
  42320. - builtin and then its argument prototype would still apply. */
  42321. -#ifdef __cplusplus
  42322. -extern "C"
  42323. -#endif
  42324. -char shl_load ();
  42325. -/* The GNU C library defines this for functions which it implements
  42326. - to always fail with ENOSYS. Some functions are actually named
  42327. - something starting with __ and the normal name is an alias. */
  42328. -#if defined __stub_shl_load || defined __stub___shl_load
  42329. -choke me
  42330. -#endif
  42331. +# Object file extension for compiled C test sources.
  42332. +objext=o
  42333. +objext=$objext
  42334. -int
  42335. -main ()
  42336. -{
  42337. -return shl_load ();
  42338. - ;
  42339. - return 0;
  42340. -}
  42341. -_ACEOF
  42342. -rm -f conftest.$ac_objext conftest$ac_exeext
  42343. -if { (ac_try="$ac_link"
  42344. -case "(($ac_try" in
  42345. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  42346. - *) ac_try_echo=$ac_try;;
  42347. -esac
  42348. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  42349. -$as_echo "$ac_try_echo") >&5
  42350. - (eval "$ac_link") 2>conftest.er1
  42351. - ac_status=$?
  42352. - grep -v '^ *+' conftest.er1 >conftest.err
  42353. - rm -f conftest.er1
  42354. - cat conftest.err >&5
  42355. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  42356. - (exit $ac_status); } && {
  42357. - test -z "$ac_c_werror_flag" ||
  42358. - test ! -s conftest.err
  42359. - } && test -s conftest$ac_exeext && {
  42360. - test "$cross_compiling" = yes ||
  42361. - $as_test_x conftest$ac_exeext
  42362. - }; then
  42363. - ac_cv_func_shl_load=yes
  42364. -else
  42365. - $as_echo "$as_me: failed program was:" >&5
  42366. -sed 's/^/| /' conftest.$ac_ext >&5
  42367. +# Code to be used in simple compile tests
  42368. +lt_simple_compile_test_code="int some_variable = 0;"
  42369. - ac_cv_func_shl_load=no
  42370. -fi
  42371. +# Code to be used in simple link tests
  42372. +lt_simple_link_test_code='int main(){return(0);}'
  42373. -rm -rf conftest.dSYM
  42374. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  42375. - conftest$ac_exeext conftest.$ac_ext
  42376. -fi
  42377. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
  42378. -$as_echo "$ac_cv_func_shl_load" >&6; }
  42379. -if test $ac_cv_func_shl_load = yes; then
  42380. - lt_cv_dlopen="shl_load"
  42381. -else
  42382. - { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
  42383. -$as_echo_n "checking for shl_load in -ldld... " >&6; }
  42384. -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
  42385. - $as_echo_n "(cached) " >&6
  42386. -else
  42387. - ac_check_lib_save_LIBS=$LIBS
  42388. -LIBS="-ldld $LIBS"
  42389. -cat >conftest.$ac_ext <<_ACEOF
  42390. -/* confdefs.h. */
  42391. -_ACEOF
  42392. -cat confdefs.h >>conftest.$ac_ext
  42393. -cat >>conftest.$ac_ext <<_ACEOF
  42394. -/* end confdefs.h. */
  42395. -/* Override any GCC internal prototype to avoid an error.
  42396. - Use char because int might match the return type of a GCC
  42397. - builtin and then its argument prototype would still apply. */
  42398. -#ifdef __cplusplus
  42399. -extern "C"
  42400. -#endif
  42401. -char shl_load ();
  42402. -int
  42403. -main ()
  42404. -{
  42405. -return shl_load ();
  42406. - ;
  42407. - return 0;
  42408. -}
  42409. -_ACEOF
  42410. -rm -f conftest.$ac_objext conftest$ac_exeext
  42411. -if { (ac_try="$ac_link"
  42412. -case "(($ac_try" in
  42413. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  42414. - *) ac_try_echo=$ac_try;;
  42415. -esac
  42416. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  42417. -$as_echo "$ac_try_echo") >&5
  42418. - (eval "$ac_link") 2>conftest.er1
  42419. - ac_status=$?
  42420. - grep -v '^ *+' conftest.er1 >conftest.err
  42421. - rm -f conftest.er1
  42422. - cat conftest.err >&5
  42423. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  42424. - (exit $ac_status); } && {
  42425. - test -z "$ac_c_werror_flag" ||
  42426. - test ! -s conftest.err
  42427. - } && test -s conftest$ac_exeext && {
  42428. - test "$cross_compiling" = yes ||
  42429. - $as_test_x conftest$ac_exeext
  42430. - }; then
  42431. - ac_cv_lib_dld_shl_load=yes
  42432. -else
  42433. - $as_echo "$as_me: failed program was:" >&5
  42434. -sed 's/^/| /' conftest.$ac_ext >&5
  42435. - ac_cv_lib_dld_shl_load=no
  42436. -fi
  42437. -rm -rf conftest.dSYM
  42438. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  42439. - conftest$ac_exeext conftest.$ac_ext
  42440. -LIBS=$ac_check_lib_save_LIBS
  42441. -fi
  42442. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  42443. -$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  42444. -if test $ac_cv_lib_dld_shl_load = yes; then
  42445. - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  42446. -else
  42447. - { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
  42448. -$as_echo_n "checking for dlopen... " >&6; }
  42449. -if test "${ac_cv_func_dlopen+set}" = set; then
  42450. - $as_echo_n "(cached) " >&6
  42451. -else
  42452. - cat >conftest.$ac_ext <<_ACEOF
  42453. -/* confdefs.h. */
  42454. -_ACEOF
  42455. -cat confdefs.h >>conftest.$ac_ext
  42456. -cat >>conftest.$ac_ext <<_ACEOF
  42457. -/* end confdefs.h. */
  42458. -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
  42459. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  42460. -#define dlopen innocuous_dlopen
  42461. -/* System header to define __stub macros and hopefully few prototypes,
  42462. - which can conflict with char dlopen (); below.
  42463. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  42464. - <limits.h> exists even on freestanding compilers. */
  42465. -#ifdef __STDC__
  42466. -# include <limits.h>
  42467. -#else
  42468. -# include <assert.h>
  42469. -#endif
  42470. -#undef dlopen
  42471. +# If no C compiler was specified, use CC.
  42472. +LTCC=${LTCC-"$CC"}
  42473. -/* Override any GCC internal prototype to avoid an error.
  42474. - Use char because int might match the return type of a GCC
  42475. - builtin and then its argument prototype would still apply. */
  42476. -#ifdef __cplusplus
  42477. -extern "C"
  42478. -#endif
  42479. -char dlopen ();
  42480. -/* The GNU C library defines this for functions which it implements
  42481. - to always fail with ENOSYS. Some functions are actually named
  42482. - something starting with __ and the normal name is an alias. */
  42483. -#if defined __stub_dlopen || defined __stub___dlopen
  42484. -choke me
  42485. -#endif
  42486. +# If no C compiler flags were specified, use CFLAGS.
  42487. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  42488. -int
  42489. -main ()
  42490. -{
  42491. -return dlopen ();
  42492. - ;
  42493. - return 0;
  42494. -}
  42495. -_ACEOF
  42496. -rm -f conftest.$ac_objext conftest$ac_exeext
  42497. -if { (ac_try="$ac_link"
  42498. -case "(($ac_try" in
  42499. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  42500. - *) ac_try_echo=$ac_try;;
  42501. -esac
  42502. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  42503. -$as_echo "$ac_try_echo") >&5
  42504. - (eval "$ac_link") 2>conftest.er1
  42505. - ac_status=$?
  42506. - grep -v '^ *+' conftest.er1 >conftest.err
  42507. - rm -f conftest.er1
  42508. - cat conftest.err >&5
  42509. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  42510. - (exit $ac_status); } && {
  42511. - test -z "$ac_c_werror_flag" ||
  42512. - test ! -s conftest.err
  42513. - } && test -s conftest$ac_exeext && {
  42514. - test "$cross_compiling" = yes ||
  42515. - $as_test_x conftest$ac_exeext
  42516. - }; then
  42517. - ac_cv_func_dlopen=yes
  42518. -else
  42519. - $as_echo "$as_me: failed program was:" >&5
  42520. -sed 's/^/| /' conftest.$ac_ext >&5
  42521. +# Allow CC to be a program name with arguments.
  42522. +compiler=$CC
  42523. - ac_cv_func_dlopen=no
  42524. -fi
  42525. +# Save the default compiler, since it gets overwritten when the other
  42526. +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  42527. +compiler_DEFAULT=$CC
  42528. -rm -rf conftest.dSYM
  42529. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  42530. - conftest$ac_exeext conftest.$ac_ext
  42531. -fi
  42532. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
  42533. -$as_echo "$ac_cv_func_dlopen" >&6; }
  42534. -if test $ac_cv_func_dlopen = yes; then
  42535. - lt_cv_dlopen="dlopen"
  42536. -else
  42537. - { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  42538. -$as_echo_n "checking for dlopen in -ldl... " >&6; }
  42539. -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  42540. - $as_echo_n "(cached) " >&6
  42541. -else
  42542. - ac_check_lib_save_LIBS=$LIBS
  42543. -LIBS="-ldl $LIBS"
  42544. -cat >conftest.$ac_ext <<_ACEOF
  42545. -/* confdefs.h. */
  42546. -_ACEOF
  42547. -cat confdefs.h >>conftest.$ac_ext
  42548. -cat >>conftest.$ac_ext <<_ACEOF
  42549. -/* end confdefs.h. */
  42550. +# save warnings/boilerplate of simple test code
  42551. +ac_outfile=conftest.$ac_objext
  42552. +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  42553. +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  42554. +_lt_compiler_boilerplate=`cat conftest.err`
  42555. +$RM conftest*
  42556. -/* Override any GCC internal prototype to avoid an error.
  42557. - Use char because int might match the return type of a GCC
  42558. - builtin and then its argument prototype would still apply. */
  42559. -#ifdef __cplusplus
  42560. -extern "C"
  42561. -#endif
  42562. -char dlopen ();
  42563. -int
  42564. -main ()
  42565. -{
  42566. -return dlopen ();
  42567. - ;
  42568. - return 0;
  42569. -}
  42570. -_ACEOF
  42571. -rm -f conftest.$ac_objext conftest$ac_exeext
  42572. -if { (ac_try="$ac_link"
  42573. -case "(($ac_try" in
  42574. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  42575. - *) ac_try_echo=$ac_try;;
  42576. -esac
  42577. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  42578. -$as_echo "$ac_try_echo") >&5
  42579. - (eval "$ac_link") 2>conftest.er1
  42580. - ac_status=$?
  42581. - grep -v '^ *+' conftest.er1 >conftest.err
  42582. - rm -f conftest.er1
  42583. - cat conftest.err >&5
  42584. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  42585. - (exit $ac_status); } && {
  42586. - test -z "$ac_c_werror_flag" ||
  42587. - test ! -s conftest.err
  42588. - } && test -s conftest$ac_exeext && {
  42589. - test "$cross_compiling" = yes ||
  42590. - $as_test_x conftest$ac_exeext
  42591. - }; then
  42592. - ac_cv_lib_dl_dlopen=yes
  42593. -else
  42594. - $as_echo "$as_me: failed program was:" >&5
  42595. -sed 's/^/| /' conftest.$ac_ext >&5
  42596. +ac_outfile=conftest.$ac_objext
  42597. +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  42598. +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  42599. +_lt_linker_boilerplate=`cat conftest.err`
  42600. +$RM -r conftest*
  42601. - ac_cv_lib_dl_dlopen=no
  42602. -fi
  42603. -rm -rf conftest.dSYM
  42604. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  42605. - conftest$ac_exeext conftest.$ac_ext
  42606. -LIBS=$ac_check_lib_save_LIBS
  42607. -fi
  42608. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  42609. -$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  42610. -if test $ac_cv_lib_dl_dlopen = yes; then
  42611. - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  42612. -else
  42613. - { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
  42614. -$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  42615. -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
  42616. - $as_echo_n "(cached) " >&6
  42617. -else
  42618. - ac_check_lib_save_LIBS=$LIBS
  42619. -LIBS="-lsvld $LIBS"
  42620. -cat >conftest.$ac_ext <<_ACEOF
  42621. -/* confdefs.h. */
  42622. -_ACEOF
  42623. -cat confdefs.h >>conftest.$ac_ext
  42624. -cat >>conftest.$ac_ext <<_ACEOF
  42625. -/* end confdefs.h. */
  42626. +if test -n "$compiler"; then
  42627. -/* Override any GCC internal prototype to avoid an error.
  42628. - Use char because int might match the return type of a GCC
  42629. - builtin and then its argument prototype would still apply. */
  42630. -#ifdef __cplusplus
  42631. -extern "C"
  42632. -#endif
  42633. -char dlopen ();
  42634. -int
  42635. -main ()
  42636. -{
  42637. -return dlopen ();
  42638. - ;
  42639. - return 0;
  42640. -}
  42641. -_ACEOF
  42642. -rm -f conftest.$ac_objext conftest$ac_exeext
  42643. -if { (ac_try="$ac_link"
  42644. -case "(($ac_try" in
  42645. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  42646. - *) ac_try_echo=$ac_try;;
  42647. -esac
  42648. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  42649. -$as_echo "$ac_try_echo") >&5
  42650. - (eval "$ac_link") 2>conftest.er1
  42651. - ac_status=$?
  42652. - grep -v '^ *+' conftest.er1 >conftest.err
  42653. - rm -f conftest.er1
  42654. - cat conftest.err >&5
  42655. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  42656. - (exit $ac_status); } && {
  42657. - test -z "$ac_c_werror_flag" ||
  42658. - test ! -s conftest.err
  42659. - } && test -s conftest$ac_exeext && {
  42660. - test "$cross_compiling" = yes ||
  42661. - $as_test_x conftest$ac_exeext
  42662. - }; then
  42663. - ac_cv_lib_svld_dlopen=yes
  42664. -else
  42665. - $as_echo "$as_me: failed program was:" >&5
  42666. -sed 's/^/| /' conftest.$ac_ext >&5
  42667. +lt_prog_compiler_no_builtin_flag=
  42668. - ac_cv_lib_svld_dlopen=no
  42669. -fi
  42670. +if test "$GCC" = yes; then
  42671. + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  42672. -rm -rf conftest.dSYM
  42673. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  42674. - conftest$ac_exeext conftest.$ac_ext
  42675. -LIBS=$ac_check_lib_save_LIBS
  42676. -fi
  42677. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
  42678. -$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  42679. -if test $ac_cv_lib_svld_dlopen = yes; then
  42680. - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  42681. -else
  42682. - { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
  42683. -$as_echo_n "checking for dld_link in -ldld... " >&6; }
  42684. -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
  42685. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  42686. +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  42687. +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
  42688. $as_echo_n "(cached) " >&6
  42689. else
  42690. - ac_check_lib_save_LIBS=$LIBS
  42691. -LIBS="-ldld $LIBS"
  42692. -cat >conftest.$ac_ext <<_ACEOF
  42693. -/* confdefs.h. */
  42694. -_ACEOF
  42695. -cat confdefs.h >>conftest.$ac_ext
  42696. -cat >>conftest.$ac_ext <<_ACEOF
  42697. -/* end confdefs.h. */
  42698. -
  42699. -/* Override any GCC internal prototype to avoid an error.
  42700. - Use char because int might match the return type of a GCC
  42701. - builtin and then its argument prototype would still apply. */
  42702. -#ifdef __cplusplus
  42703. -extern "C"
  42704. -#endif
  42705. -char dld_link ();
  42706. -int
  42707. -main ()
  42708. -{
  42709. -return dld_link ();
  42710. - ;
  42711. - return 0;
  42712. -}
  42713. -_ACEOF
  42714. -rm -f conftest.$ac_objext conftest$ac_exeext
  42715. -if { (ac_try="$ac_link"
  42716. -case "(($ac_try" in
  42717. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  42718. - *) ac_try_echo=$ac_try;;
  42719. -esac
  42720. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  42721. -$as_echo "$ac_try_echo") >&5
  42722. - (eval "$ac_link") 2>conftest.er1
  42723. - ac_status=$?
  42724. - grep -v '^ *+' conftest.er1 >conftest.err
  42725. - rm -f conftest.er1
  42726. - cat conftest.err >&5
  42727. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  42728. - (exit $ac_status); } && {
  42729. - test -z "$ac_c_werror_flag" ||
  42730. - test ! -s conftest.err
  42731. - } && test -s conftest$ac_exeext && {
  42732. - test "$cross_compiling" = yes ||
  42733. - $as_test_x conftest$ac_exeext
  42734. - }; then
  42735. - ac_cv_lib_dld_dld_link=yes
  42736. -else
  42737. - $as_echo "$as_me: failed program was:" >&5
  42738. -sed 's/^/| /' conftest.$ac_ext >&5
  42739. + lt_cv_prog_compiler_rtti_exceptions=no
  42740. + ac_outfile=conftest.$ac_objext
  42741. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  42742. + lt_compiler_flag="-fno-rtti -fno-exceptions"
  42743. + # Insert the option either (1) after the last *FLAGS variable, or
  42744. + # (2) before a word containing "conftest.", or (3) at the end.
  42745. + # Note that $ac_compile itself does not contain backslashes and begins
  42746. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  42747. + # The option is referenced via a variable to avoid confusing sed.
  42748. + lt_compile=`echo "$ac_compile" | $SED \
  42749. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  42750. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  42751. + -e 's:$: $lt_compiler_flag:'`
  42752. + (eval echo "\"\$as_me:9229: $lt_compile\"" >&5)
  42753. + (eval "$lt_compile" 2>conftest.err)
  42754. + ac_status=$?
  42755. + cat conftest.err >&5
  42756. + echo "$as_me:9233: \$? = $ac_status" >&5
  42757. + if (exit $ac_status) && test -s "$ac_outfile"; then
  42758. + # The compiler can only warn and ignore the option if not recognized
  42759. + # So say no if there are warnings other than the usual output.
  42760. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  42761. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  42762. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  42763. + lt_cv_prog_compiler_rtti_exceptions=yes
  42764. + fi
  42765. + fi
  42766. + $RM conftest*
  42767. - ac_cv_lib_dld_dld_link=no
  42768. fi
  42769. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  42770. +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  42771. -rm -rf conftest.dSYM
  42772. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  42773. - conftest$ac_exeext conftest.$ac_ext
  42774. -LIBS=$ac_check_lib_save_LIBS
  42775. -fi
  42776. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
  42777. -$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  42778. -if test $ac_cv_lib_dld_dld_link = yes; then
  42779. - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  42780. +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  42781. + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  42782. +else
  42783. + :
  42784. fi
  42785. -
  42786. fi
  42787. -fi
  42788. -fi
  42789. -fi
  42790. + lt_prog_compiler_wl=
  42791. +lt_prog_compiler_pic=
  42792. +lt_prog_compiler_static=
  42793. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  42794. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  42795. -fi
  42796. + if test "$GCC" = yes; then
  42797. + lt_prog_compiler_wl='-Wl,'
  42798. + lt_prog_compiler_static='-static'
  42799. - ;;
  42800. - esac
  42801. + case $host_os in
  42802. + aix*)
  42803. + # All AIX code is PIC.
  42804. + if test "$host_cpu" = ia64; then
  42805. + # AIX 5 now supports IA64 processor
  42806. + lt_prog_compiler_static='-Bstatic'
  42807. + fi
  42808. + ;;
  42809. - if test "x$lt_cv_dlopen" != xno; then
  42810. - enable_dlopen=yes
  42811. - else
  42812. - enable_dlopen=no
  42813. - fi
  42814. + amigaos*)
  42815. + case $host_cpu in
  42816. + powerpc)
  42817. + # see comment about AmigaOS4 .so support
  42818. + lt_prog_compiler_pic='-fPIC'
  42819. + ;;
  42820. + m68k)
  42821. + # FIXME: we need at least 68020 code to build shared libraries, but
  42822. + # adding the `-m68020' flag to GCC prevents building anything better,
  42823. + # like `-m68040'.
  42824. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  42825. + ;;
  42826. + esac
  42827. + ;;
  42828. - case $lt_cv_dlopen in
  42829. - dlopen)
  42830. - save_CPPFLAGS="$CPPFLAGS"
  42831. - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  42832. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  42833. + # PIC is the default for these OSes.
  42834. + ;;
  42835. - save_LDFLAGS="$LDFLAGS"
  42836. - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  42837. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  42838. + # This hack is so that the source file can tell whether it is being
  42839. + # built for inclusion in a dll (and should export symbols for example).
  42840. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  42841. + # (--disable-auto-import) libraries
  42842. + lt_prog_compiler_pic='-DDLL_EXPORT'
  42843. + ;;
  42844. - save_LIBS="$LIBS"
  42845. - LIBS="$lt_cv_dlopen_libs $LIBS"
  42846. + darwin* | rhapsody*)
  42847. + # PIC is the default on this platform
  42848. + # Common symbols not allowed in MH_DYLIB files
  42849. + lt_prog_compiler_pic='-fno-common'
  42850. + ;;
  42851. - { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
  42852. -$as_echo_n "checking whether a program can dlopen itself... " >&6; }
  42853. -if test "${lt_cv_dlopen_self+set}" = set; then
  42854. - $as_echo_n "(cached) " >&6
  42855. -else
  42856. - if test "$cross_compiling" = yes; then :
  42857. - lt_cv_dlopen_self=cross
  42858. -else
  42859. - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  42860. - lt_status=$lt_dlunknown
  42861. - cat > conftest.$ac_ext <<EOF
  42862. -#line 10962 "configure"
  42863. -#include "confdefs.h"
  42864. -
  42865. -#if HAVE_DLFCN_H
  42866. -#include <dlfcn.h>
  42867. -#endif
  42868. -
  42869. -#include <stdio.h>
  42870. + hpux*)
  42871. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  42872. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  42873. + # sets the default TLS model and affects inlining.
  42874. + case $host_cpu in
  42875. + hppa*64*)
  42876. + # +Z the default
  42877. + ;;
  42878. + *)
  42879. + lt_prog_compiler_pic='-fPIC'
  42880. + ;;
  42881. + esac
  42882. + ;;
  42883. -#ifdef RTLD_GLOBAL
  42884. -# define LT_DLGLOBAL RTLD_GLOBAL
  42885. -#else
  42886. -# ifdef DL_GLOBAL
  42887. -# define LT_DLGLOBAL DL_GLOBAL
  42888. -# else
  42889. -# define LT_DLGLOBAL 0
  42890. -# endif
  42891. -#endif
  42892. + interix[3-9]*)
  42893. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  42894. + # Instead, we relocate shared libraries at runtime.
  42895. + ;;
  42896. -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  42897. - find out it does not work in some platform. */
  42898. -#ifndef LT_DLLAZY_OR_NOW
  42899. -# ifdef RTLD_LAZY
  42900. -# define LT_DLLAZY_OR_NOW RTLD_LAZY
  42901. -# else
  42902. -# ifdef DL_LAZY
  42903. -# define LT_DLLAZY_OR_NOW DL_LAZY
  42904. -# else
  42905. -# ifdef RTLD_NOW
  42906. -# define LT_DLLAZY_OR_NOW RTLD_NOW
  42907. -# else
  42908. -# ifdef DL_NOW
  42909. -# define LT_DLLAZY_OR_NOW DL_NOW
  42910. -# else
  42911. -# define LT_DLLAZY_OR_NOW 0
  42912. -# endif
  42913. -# endif
  42914. -# endif
  42915. -# endif
  42916. -#endif
  42917. + msdosdjgpp*)
  42918. + # Just because we use GCC doesn't mean we suddenly get shared libraries
  42919. + # on systems that don't support them.
  42920. + lt_prog_compiler_can_build_shared=no
  42921. + enable_shared=no
  42922. + ;;
  42923. -#ifdef __cplusplus
  42924. -extern "C" void exit (int);
  42925. -#endif
  42926. + *nto* | *qnx*)
  42927. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  42928. + # it will coredump.
  42929. + lt_prog_compiler_pic='-fPIC -shared'
  42930. + ;;
  42931. -void fnord() { int i=42;}
  42932. -int main ()
  42933. -{
  42934. - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  42935. - int status = $lt_dlunknown;
  42936. + sysv4*MP*)
  42937. + if test -d /usr/nec; then
  42938. + lt_prog_compiler_pic=-Kconform_pic
  42939. + fi
  42940. + ;;
  42941. - if (self)
  42942. - {
  42943. - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  42944. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  42945. - /* dlclose (self); */
  42946. - }
  42947. + *)
  42948. + lt_prog_compiler_pic='-fPIC'
  42949. + ;;
  42950. + esac
  42951. else
  42952. - puts (dlerror ());
  42953. + # PORTME Check for flag to pass linker flags through the system compiler.
  42954. + case $host_os in
  42955. + aix*)
  42956. + lt_prog_compiler_wl='-Wl,'
  42957. + if test "$host_cpu" = ia64; then
  42958. + # AIX 5 now supports IA64 processor
  42959. + lt_prog_compiler_static='-Bstatic'
  42960. + else
  42961. + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  42962. + fi
  42963. + ;;
  42964. - exit (status);
  42965. -}
  42966. -EOF
  42967. - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  42968. - (eval $ac_link) 2>&5
  42969. - ac_status=$?
  42970. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  42971. - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  42972. - (./conftest; exit; ) >&5 2>/dev/null
  42973. - lt_status=$?
  42974. - case x$lt_status in
  42975. - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  42976. - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  42977. - x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  42978. - esac
  42979. - else :
  42980. - # compilation failed
  42981. - lt_cv_dlopen_self=no
  42982. - fi
  42983. -fi
  42984. -rm -fr conftest*
  42985. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  42986. + # This hack is so that the source file can tell whether it is being
  42987. + # built for inclusion in a dll (and should export symbols for example).
  42988. + lt_prog_compiler_pic='-DDLL_EXPORT'
  42989. + ;;
  42990. + hpux9* | hpux10* | hpux11*)
  42991. + lt_prog_compiler_wl='-Wl,'
  42992. + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  42993. + # not for PA HP-UX.
  42994. + case $host_cpu in
  42995. + hppa*64*|ia64*)
  42996. + # +Z the default
  42997. + ;;
  42998. + *)
  42999. + lt_prog_compiler_pic='+Z'
  43000. + ;;
  43001. + esac
  43002. + # Is there a better lt_prog_compiler_static that works with the bundled CC?
  43003. + lt_prog_compiler_static='${wl}-a ${wl}archive'
  43004. + ;;
  43005. -fi
  43006. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
  43007. -$as_echo "$lt_cv_dlopen_self" >&6; }
  43008. + irix5* | irix6* | nonstopux*)
  43009. + lt_prog_compiler_wl='-Wl,'
  43010. + # PIC (with -KPIC) is the default.
  43011. + lt_prog_compiler_static='-non_shared'
  43012. + ;;
  43013. - if test "x$lt_cv_dlopen_self" = xyes; then
  43014. - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  43015. - { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
  43016. -$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  43017. -if test "${lt_cv_dlopen_self_static+set}" = set; then
  43018. - $as_echo_n "(cached) " >&6
  43019. -else
  43020. - if test "$cross_compiling" = yes; then :
  43021. - lt_cv_dlopen_self_static=cross
  43022. -else
  43023. - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  43024. - lt_status=$lt_dlunknown
  43025. - cat > conftest.$ac_ext <<EOF
  43026. -#line 11062 "configure"
  43027. -#include "confdefs.h"
  43028. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  43029. + case $cc_basename in
  43030. + # old Intel for x86_64 which still supported -KPIC.
  43031. + ecc*)
  43032. + lt_prog_compiler_wl='-Wl,'
  43033. + lt_prog_compiler_pic='-KPIC'
  43034. + lt_prog_compiler_static='-static'
  43035. + ;;
  43036. + # icc used to be incompatible with GCC.
  43037. + # ICC 10 doesn't accept -KPIC any more.
  43038. + icc* | ifort*)
  43039. + lt_prog_compiler_wl='-Wl,'
  43040. + lt_prog_compiler_pic='-fPIC'
  43041. + lt_prog_compiler_static='-static'
  43042. + ;;
  43043. + # Lahey Fortran 8.1.
  43044. + lf95*)
  43045. + lt_prog_compiler_wl='-Wl,'
  43046. + lt_prog_compiler_pic='--shared'
  43047. + lt_prog_compiler_static='--static'
  43048. + ;;
  43049. + pgcc* | pgf77* | pgf90* | pgf95*)
  43050. + # Portland Group compilers (*not* the Pentium gcc compiler,
  43051. + # which looks to be a dead project)
  43052. + lt_prog_compiler_wl='-Wl,'
  43053. + lt_prog_compiler_pic='-fpic'
  43054. + lt_prog_compiler_static='-Bstatic'
  43055. + ;;
  43056. + ccc*)
  43057. + lt_prog_compiler_wl='-Wl,'
  43058. + # All Alpha code is PIC.
  43059. + lt_prog_compiler_static='-non_shared'
  43060. + ;;
  43061. + xl*)
  43062. + # IBM XL C 8.0/Fortran 10.1 on PPC
  43063. + lt_prog_compiler_wl='-Wl,'
  43064. + lt_prog_compiler_pic='-qpic'
  43065. + lt_prog_compiler_static='-qstaticlink'
  43066. + ;;
  43067. + *)
  43068. + case `$CC -V 2>&1 | sed 5q` in
  43069. + *Sun\ C*)
  43070. + # Sun C 5.9
  43071. + lt_prog_compiler_pic='-KPIC'
  43072. + lt_prog_compiler_static='-Bstatic'
  43073. + lt_prog_compiler_wl='-Wl,'
  43074. + ;;
  43075. + *Sun\ F*)
  43076. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  43077. + lt_prog_compiler_pic='-KPIC'
  43078. + lt_prog_compiler_static='-Bstatic'
  43079. + lt_prog_compiler_wl=''
  43080. + ;;
  43081. + esac
  43082. + ;;
  43083. + esac
  43084. + ;;
  43085. -#if HAVE_DLFCN_H
  43086. -#include <dlfcn.h>
  43087. -#endif
  43088. + newsos6)
  43089. + lt_prog_compiler_pic='-KPIC'
  43090. + lt_prog_compiler_static='-Bstatic'
  43091. + ;;
  43092. -#include <stdio.h>
  43093. + *nto* | *qnx*)
  43094. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  43095. + # it will coredump.
  43096. + lt_prog_compiler_pic='-fPIC -shared'
  43097. + ;;
  43098. -#ifdef RTLD_GLOBAL
  43099. -# define LT_DLGLOBAL RTLD_GLOBAL
  43100. -#else
  43101. -# ifdef DL_GLOBAL
  43102. -# define LT_DLGLOBAL DL_GLOBAL
  43103. -# else
  43104. -# define LT_DLGLOBAL 0
  43105. -# endif
  43106. -#endif
  43107. + osf3* | osf4* | osf5*)
  43108. + lt_prog_compiler_wl='-Wl,'
  43109. + # All OSF/1 code is PIC.
  43110. + lt_prog_compiler_static='-non_shared'
  43111. + ;;
  43112. -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  43113. - find out it does not work in some platform. */
  43114. -#ifndef LT_DLLAZY_OR_NOW
  43115. -# ifdef RTLD_LAZY
  43116. -# define LT_DLLAZY_OR_NOW RTLD_LAZY
  43117. -# else
  43118. -# ifdef DL_LAZY
  43119. -# define LT_DLLAZY_OR_NOW DL_LAZY
  43120. -# else
  43121. -# ifdef RTLD_NOW
  43122. -# define LT_DLLAZY_OR_NOW RTLD_NOW
  43123. -# else
  43124. -# ifdef DL_NOW
  43125. -# define LT_DLLAZY_OR_NOW DL_NOW
  43126. -# else
  43127. -# define LT_DLLAZY_OR_NOW 0
  43128. -# endif
  43129. -# endif
  43130. -# endif
  43131. -# endif
  43132. -#endif
  43133. + rdos*)
  43134. + lt_prog_compiler_static='-non_shared'
  43135. + ;;
  43136. -#ifdef __cplusplus
  43137. -extern "C" void exit (int);
  43138. -#endif
  43139. + solaris*)
  43140. + lt_prog_compiler_pic='-KPIC'
  43141. + lt_prog_compiler_static='-Bstatic'
  43142. + case $cc_basename in
  43143. + f77* | f90* | f95*)
  43144. + lt_prog_compiler_wl='-Qoption ld ';;
  43145. + *)
  43146. + lt_prog_compiler_wl='-Wl,';;
  43147. + esac
  43148. + ;;
  43149. -void fnord() { int i=42;}
  43150. -int main ()
  43151. -{
  43152. - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  43153. - int status = $lt_dlunknown;
  43154. + sunos4*)
  43155. + lt_prog_compiler_wl='-Qoption ld '
  43156. + lt_prog_compiler_pic='-PIC'
  43157. + lt_prog_compiler_static='-Bstatic'
  43158. + ;;
  43159. - if (self)
  43160. - {
  43161. - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  43162. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  43163. - /* dlclose (self); */
  43164. - }
  43165. - else
  43166. - puts (dlerror ());
  43167. -
  43168. - exit (status);
  43169. -}
  43170. -EOF
  43171. - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  43172. - (eval $ac_link) 2>&5
  43173. - ac_status=$?
  43174. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  43175. - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  43176. - (./conftest; exit; ) >&5 2>/dev/null
  43177. - lt_status=$?
  43178. - case x$lt_status in
  43179. - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  43180. - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  43181. - x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  43182. - esac
  43183. - else :
  43184. - # compilation failed
  43185. - lt_cv_dlopen_self_static=no
  43186. - fi
  43187. -fi
  43188. -rm -fr conftest*
  43189. -
  43190. -
  43191. -fi
  43192. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
  43193. -$as_echo "$lt_cv_dlopen_self_static" >&6; }
  43194. - fi
  43195. -
  43196. - CPPFLAGS="$save_CPPFLAGS"
  43197. - LDFLAGS="$save_LDFLAGS"
  43198. - LIBS="$save_LIBS"
  43199. - ;;
  43200. - esac
  43201. -
  43202. - case $lt_cv_dlopen_self in
  43203. - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  43204. - *) enable_dlopen_self=unknown ;;
  43205. - esac
  43206. + sysv4 | sysv4.2uw2* | sysv4.3*)
  43207. + lt_prog_compiler_wl='-Wl,'
  43208. + lt_prog_compiler_pic='-KPIC'
  43209. + lt_prog_compiler_static='-Bstatic'
  43210. + ;;
  43211. - case $lt_cv_dlopen_self_static in
  43212. - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  43213. - *) enable_dlopen_self_static=unknown ;;
  43214. - esac
  43215. -fi
  43216. + sysv4*MP*)
  43217. + if test -d /usr/nec ;then
  43218. + lt_prog_compiler_pic='-Kconform_pic'
  43219. + lt_prog_compiler_static='-Bstatic'
  43220. + fi
  43221. + ;;
  43222. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  43223. + lt_prog_compiler_wl='-Wl,'
  43224. + lt_prog_compiler_pic='-KPIC'
  43225. + lt_prog_compiler_static='-Bstatic'
  43226. + ;;
  43227. -# Report which library types will actually be built
  43228. -{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
  43229. -$as_echo_n "checking if libtool supports shared libraries... " >&6; }
  43230. -{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
  43231. -$as_echo "$can_build_shared" >&6; }
  43232. + unicos*)
  43233. + lt_prog_compiler_wl='-Wl,'
  43234. + lt_prog_compiler_can_build_shared=no
  43235. + ;;
  43236. -{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
  43237. -$as_echo_n "checking whether to build shared libraries... " >&6; }
  43238. -test "$can_build_shared" = "no" && enable_shared=no
  43239. + uts4*)
  43240. + lt_prog_compiler_pic='-pic'
  43241. + lt_prog_compiler_static='-Bstatic'
  43242. + ;;
  43243. -# On AIX, shared libraries and static libraries use the same namespace, and
  43244. -# are all built from PIC.
  43245. -case $host_os in
  43246. -aix3*)
  43247. - test "$enable_shared" = yes && enable_static=no
  43248. - if test -n "$RANLIB"; then
  43249. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  43250. - postinstall_cmds='$RANLIB $lib'
  43251. + *)
  43252. + lt_prog_compiler_can_build_shared=no
  43253. + ;;
  43254. + esac
  43255. fi
  43256. - ;;
  43257. -aix[4-9]*)
  43258. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  43259. - test "$enable_shared" = yes && enable_static=no
  43260. - fi
  43261. +case $host_os in
  43262. + # For platforms which do not support PIC, -DPIC is meaningless:
  43263. + *djgpp*)
  43264. + lt_prog_compiler_pic=
  43265. + ;;
  43266. + *)
  43267. + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  43268. ;;
  43269. esac
  43270. -{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
  43271. -$as_echo "$enable_shared" >&6; }
  43272. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  43273. +$as_echo "$lt_prog_compiler_pic" >&6; }
  43274. -{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
  43275. -$as_echo_n "checking whether to build static libraries... " >&6; }
  43276. -# Make sure either enable_shared or enable_static is yes.
  43277. -test "$enable_shared" = yes || enable_static=yes
  43278. -{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
  43279. -$as_echo "$enable_static" >&6; }
  43280. -# The else clause should only fire when bootstrapping the
  43281. -# libtool distribution, otherwise you forgot to ship ltmain.sh
  43282. -# with your package, and you will get complaints that there are
  43283. -# no rules to generate ltmain.sh.
  43284. -if test -f "$ltmain"; then
  43285. - # See if we are running on zsh, and set the options which allow our commands through
  43286. - # without removal of \ escapes.
  43287. - if test -n "${ZSH_VERSION+set}" ; then
  43288. - setopt NO_GLOB_SUBST
  43289. - fi
  43290. - # Now quote all the things that may contain metacharacters while being
  43291. - # careful not to overquote the AC_SUBSTed values. We take copies of the
  43292. - # variables and quote the copies for generation of the libtool script.
  43293. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  43294. - SED SHELL STRIP \
  43295. - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  43296. - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  43297. - deplibs_check_method reload_flag reload_cmds need_locks \
  43298. - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  43299. - lt_cv_sys_global_symbol_to_c_name_address \
  43300. - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  43301. - old_postinstall_cmds old_postuninstall_cmds \
  43302. - compiler \
  43303. - CC \
  43304. - LD \
  43305. - lt_prog_compiler_wl \
  43306. - lt_prog_compiler_pic \
  43307. - lt_prog_compiler_static \
  43308. - lt_prog_compiler_no_builtin_flag \
  43309. - export_dynamic_flag_spec \
  43310. - thread_safe_flag_spec \
  43311. - whole_archive_flag_spec \
  43312. - enable_shared_with_static_runtimes \
  43313. - old_archive_cmds \
  43314. - old_archive_from_new_cmds \
  43315. - predep_objects \
  43316. - postdep_objects \
  43317. - predeps \
  43318. - postdeps \
  43319. - compiler_lib_search_path \
  43320. - compiler_lib_search_dirs \
  43321. - archive_cmds \
  43322. - archive_expsym_cmds \
  43323. - postinstall_cmds \
  43324. - postuninstall_cmds \
  43325. - old_archive_from_expsyms_cmds \
  43326. - allow_undefined_flag \
  43327. - no_undefined_flag \
  43328. - export_symbols_cmds \
  43329. - hardcode_libdir_flag_spec \
  43330. - hardcode_libdir_flag_spec_ld \
  43331. - hardcode_libdir_separator \
  43332. - hardcode_automatic \
  43333. - module_cmds \
  43334. - module_expsym_cmds \
  43335. - lt_cv_prog_compiler_c_o \
  43336. - fix_srcfile_path \
  43337. - exclude_expsyms \
  43338. - include_expsyms; do
  43339. -
  43340. - case $var in
  43341. - old_archive_cmds | \
  43342. - old_archive_from_new_cmds | \
  43343. - archive_cmds | \
  43344. - archive_expsym_cmds | \
  43345. - module_cmds | \
  43346. - module_expsym_cmds | \
  43347. - old_archive_from_expsyms_cmds | \
  43348. - export_symbols_cmds | \
  43349. - extract_expsyms_cmds | reload_cmds | finish_cmds | \
  43350. - postinstall_cmds | postuninstall_cmds | \
  43351. - old_postinstall_cmds | old_postuninstall_cmds | \
  43352. - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  43353. - # Double-quote double-evaled strings.
  43354. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  43355. - ;;
  43356. - *)
  43357. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  43358. - ;;
  43359. - esac
  43360. - done
  43361. - case $lt_echo in
  43362. - *'\$0 --fallback-echo"')
  43363. - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  43364. - ;;
  43365. - esac
  43366. -cfgfile="${ofile}T"
  43367. - trap "$rm \"$cfgfile\"; exit 1" 1 2 15
  43368. - $rm -f "$cfgfile"
  43369. - { $as_echo "$as_me:$LINENO: creating $ofile" >&5
  43370. -$as_echo "$as_me: creating $ofile" >&6;}
  43371. - cat <<__EOF__ >> "$cfgfile"
  43372. -#! $SHELL
  43373. -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  43374. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
  43375. -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  43376. -#
  43377. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
  43378. -# Free Software Foundation, Inc.
  43379. #
  43380. -# This file is part of GNU Libtool:
  43381. -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  43382. -#
  43383. -# This program is free software; you can redistribute it and/or modify
  43384. -# it under the terms of the GNU General Public License as published by
  43385. -# the Free Software Foundation; either version 2 of the License, or
  43386. -# (at your option) any later version.
  43387. -#
  43388. -# This program is distributed in the hope that it will be useful, but
  43389. -# WITHOUT ANY WARRANTY; without even the implied warranty of
  43390. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  43391. -# General Public License for more details.
  43392. -#
  43393. -# You should have received a copy of the GNU General Public License
  43394. -# along with this program; if not, write to the Free Software
  43395. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  43396. +# Check to make sure the PIC flag actually works.
  43397. #
  43398. -# As a special exception to the GNU General Public License, if you
  43399. -# distribute this file as part of a program that contains a
  43400. -# configuration script generated by Autoconf, you may include it under
  43401. -# the same distribution terms that you use for the rest of that program.
  43402. +if test -n "$lt_prog_compiler_pic"; then
  43403. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  43404. +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  43405. +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
  43406. + $as_echo_n "(cached) " >&6
  43407. +else
  43408. + lt_cv_prog_compiler_pic_works=no
  43409. + ac_outfile=conftest.$ac_objext
  43410. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  43411. + lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  43412. + # Insert the option either (1) after the last *FLAGS variable, or
  43413. + # (2) before a word containing "conftest.", or (3) at the end.
  43414. + # Note that $ac_compile itself does not contain backslashes and begins
  43415. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  43416. + # The option is referenced via a variable to avoid confusing sed.
  43417. + lt_compile=`echo "$ac_compile" | $SED \
  43418. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  43419. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  43420. + -e 's:$: $lt_compiler_flag:'`
  43421. + (eval echo "\"\$as_me:9568: $lt_compile\"" >&5)
  43422. + (eval "$lt_compile" 2>conftest.err)
  43423. + ac_status=$?
  43424. + cat conftest.err >&5
  43425. + echo "$as_me:9572: \$? = $ac_status" >&5
  43426. + if (exit $ac_status) && test -s "$ac_outfile"; then
  43427. + # The compiler can only warn and ignore the option if not recognized
  43428. + # So say no if there are warnings other than the usual output.
  43429. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  43430. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  43431. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  43432. + lt_cv_prog_compiler_pic_works=yes
  43433. + fi
  43434. + fi
  43435. + $RM conftest*
  43436. -# A sed program that does not truncate output.
  43437. -SED=$lt_SED
  43438. +fi
  43439. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  43440. +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  43441. -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  43442. -Xsed="$SED -e 1s/^X//"
  43443. +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  43444. + case $lt_prog_compiler_pic in
  43445. + "" | " "*) ;;
  43446. + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  43447. + esac
  43448. +else
  43449. + lt_prog_compiler_pic=
  43450. + lt_prog_compiler_can_build_shared=no
  43451. +fi
  43452. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  43453. -# if CDPATH is set.
  43454. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  43455. +fi
  43456. -# The names of the tagged configurations supported by this script.
  43457. -available_tags=
  43458. -# ### BEGIN LIBTOOL CONFIG
  43459. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  43460. -# Shell to use when invoking shell scripts.
  43461. -SHELL=$lt_SHELL
  43462. -# Whether or not to build shared libraries.
  43463. -build_libtool_libs=$enable_shared
  43464. -# Whether or not to build static libraries.
  43465. -build_old_libs=$enable_static
  43466. +#
  43467. +# Check to make sure the static flag actually works.
  43468. +#
  43469. +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  43470. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  43471. +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  43472. +if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
  43473. + $as_echo_n "(cached) " >&6
  43474. +else
  43475. + lt_cv_prog_compiler_static_works=no
  43476. + save_LDFLAGS="$LDFLAGS"
  43477. + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  43478. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  43479. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  43480. + # The linker can only warn and ignore the option if not recognized
  43481. + # So say no if there are warnings
  43482. + if test -s conftest.err; then
  43483. + # Append any errors to the config.log.
  43484. + cat conftest.err 1>&5
  43485. + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  43486. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  43487. + if diff conftest.exp conftest.er2 >/dev/null; then
  43488. + lt_cv_prog_compiler_static_works=yes
  43489. + fi
  43490. + else
  43491. + lt_cv_prog_compiler_static_works=yes
  43492. + fi
  43493. + fi
  43494. + $RM -r conftest*
  43495. + LDFLAGS="$save_LDFLAGS"
  43496. -# Whether or not to add -lc for building shared libraries.
  43497. -build_libtool_need_lc=$archive_cmds_need_lc
  43498. +fi
  43499. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  43500. +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  43501. -# Whether or not to disallow shared libs when runtime libs are static
  43502. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  43503. +if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  43504. + :
  43505. +else
  43506. + lt_prog_compiler_static=
  43507. +fi
  43508. -# Whether or not to optimize for fast installation.
  43509. -fast_install=$enable_fast_install
  43510. -# The host system.
  43511. -host_alias=$host_alias
  43512. -host=$host
  43513. -host_os=$host_os
  43514. -# The build system.
  43515. -build_alias=$build_alias
  43516. -build=$build
  43517. -build_os=$build_os
  43518. -# An echo program that does not interpret backslashes.
  43519. -echo=$lt_echo
  43520. -# The archiver.
  43521. -AR=$lt_AR
  43522. -AR_FLAGS=$lt_AR_FLAGS
  43523. -# A C compiler.
  43524. -LTCC=$lt_LTCC
  43525. -# LTCC compiler flags.
  43526. -LTCFLAGS=$lt_LTCFLAGS
  43527. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  43528. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  43529. +if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  43530. + $as_echo_n "(cached) " >&6
  43531. +else
  43532. + lt_cv_prog_compiler_c_o=no
  43533. + $RM -r conftest 2>/dev/null
  43534. + mkdir conftest
  43535. + cd conftest
  43536. + mkdir out
  43537. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  43538. -# A language-specific compiler.
  43539. -CC=$lt_compiler
  43540. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  43541. + # Insert the option either (1) after the last *FLAGS variable, or
  43542. + # (2) before a word containing "conftest.", or (3) at the end.
  43543. + # Note that $ac_compile itself does not contain backslashes and begins
  43544. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  43545. + lt_compile=`echo "$ac_compile" | $SED \
  43546. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  43547. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  43548. + -e 's:$: $lt_compiler_flag:'`
  43549. + (eval echo "\"\$as_me:9673: $lt_compile\"" >&5)
  43550. + (eval "$lt_compile" 2>out/conftest.err)
  43551. + ac_status=$?
  43552. + cat out/conftest.err >&5
  43553. + echo "$as_me:9677: \$? = $ac_status" >&5
  43554. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  43555. + then
  43556. + # The compiler can only warn and ignore the option if not recognized
  43557. + # So say no if there are warnings
  43558. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  43559. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  43560. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  43561. + lt_cv_prog_compiler_c_o=yes
  43562. + fi
  43563. + fi
  43564. + chmod u+w . 2>&5
  43565. + $RM conftest*
  43566. + # SGI C++ compiler will create directory out/ii_files/ for
  43567. + # template instantiation
  43568. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  43569. + $RM out/* && rmdir out
  43570. + cd ..
  43571. + $RM -r conftest
  43572. + $RM conftest*
  43573. -# Is the compiler the GNU C compiler?
  43574. -with_gcc=$GCC
  43575. +fi
  43576. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  43577. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  43578. -# An ERE matcher.
  43579. -EGREP=$lt_EGREP
  43580. -# The linker used to build libraries.
  43581. -LD=$lt_LD
  43582. -
  43583. -# Whether we need hard or soft links.
  43584. -LN_S=$lt_LN_S
  43585. -
  43586. -# A BSD-compatible nm program.
  43587. -NM=$lt_NM
  43588. -
  43589. -# A symbol stripping program
  43590. -STRIP=$lt_STRIP
  43591. -
  43592. -# Used to examine libraries when file_magic_cmd begins "file"
  43593. -MAGIC_CMD=$MAGIC_CMD
  43594. -
  43595. -# Used on cygwin: DLL creation program.
  43596. -DLLTOOL="$DLLTOOL"
  43597. -
  43598. -# Used on cygwin: object dumper.
  43599. -OBJDUMP="$OBJDUMP"
  43600. -
  43601. -# Used on cygwin: assembler.
  43602. -AS="$AS"
  43603. -# The name of the directory that contains temporary libtool files.
  43604. -objdir=$objdir
  43605. -# How to create reloadable object files.
  43606. -reload_flag=$lt_reload_flag
  43607. -reload_cmds=$lt_reload_cmds
  43608. -# How to pass a linker flag through the compiler.
  43609. -wl=$lt_lt_prog_compiler_wl
  43610. -# Object file suffix (normally "o").
  43611. -objext="$ac_objext"
  43612. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  43613. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  43614. +if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  43615. + $as_echo_n "(cached) " >&6
  43616. +else
  43617. + lt_cv_prog_compiler_c_o=no
  43618. + $RM -r conftest 2>/dev/null
  43619. + mkdir conftest
  43620. + cd conftest
  43621. + mkdir out
  43622. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  43623. -# Old archive suffix (normally "a").
  43624. -libext="$libext"
  43625. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  43626. + # Insert the option either (1) after the last *FLAGS variable, or
  43627. + # (2) before a word containing "conftest.", or (3) at the end.
  43628. + # Note that $ac_compile itself does not contain backslashes and begins
  43629. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  43630. + lt_compile=`echo "$ac_compile" | $SED \
  43631. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  43632. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  43633. + -e 's:$: $lt_compiler_flag:'`
  43634. + (eval echo "\"\$as_me:9728: $lt_compile\"" >&5)
  43635. + (eval "$lt_compile" 2>out/conftest.err)
  43636. + ac_status=$?
  43637. + cat out/conftest.err >&5
  43638. + echo "$as_me:9732: \$? = $ac_status" >&5
  43639. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  43640. + then
  43641. + # The compiler can only warn and ignore the option if not recognized
  43642. + # So say no if there are warnings
  43643. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  43644. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  43645. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  43646. + lt_cv_prog_compiler_c_o=yes
  43647. + fi
  43648. + fi
  43649. + chmod u+w . 2>&5
  43650. + $RM conftest*
  43651. + # SGI C++ compiler will create directory out/ii_files/ for
  43652. + # template instantiation
  43653. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  43654. + $RM out/* && rmdir out
  43655. + cd ..
  43656. + $RM -r conftest
  43657. + $RM conftest*
  43658. -# Shared library suffix (normally ".so").
  43659. -shrext_cmds='$shrext_cmds'
  43660. +fi
  43661. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  43662. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  43663. -# Executable file suffix (normally "").
  43664. -exeext="$exeext"
  43665. -# Additional compiler flags for building library objects.
  43666. -pic_flag=$lt_lt_prog_compiler_pic
  43667. -pic_mode=$pic_mode
  43668. -# What is the maximum length of a command?
  43669. -max_cmd_len=$lt_cv_sys_max_cmd_len
  43670. -# Does compiler simultaneously support -c and -o options?
  43671. -compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  43672. +hard_links="nottested"
  43673. +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  43674. + # do not overwrite the value of need_locks provided by the user
  43675. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  43676. +$as_echo_n "checking if we can lock with hard links... " >&6; }
  43677. + hard_links=yes
  43678. + $RM conftest*
  43679. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  43680. + touch conftest.a
  43681. + ln conftest.a conftest.b 2>&5 || hard_links=no
  43682. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  43683. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  43684. +$as_echo "$hard_links" >&6; }
  43685. + if test "$hard_links" = no; then
  43686. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  43687. +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  43688. + need_locks=warn
  43689. + fi
  43690. +else
  43691. + need_locks=no
  43692. +fi
  43693. -# Must we lock files when doing compilation?
  43694. -need_locks=$lt_need_locks
  43695. -# Do we need the lib prefix for modules?
  43696. -need_lib_prefix=$need_lib_prefix
  43697. -# Do we need a version for libraries?
  43698. -need_version=$need_version
  43699. -# Whether dlopen is supported.
  43700. -dlopen_support=$enable_dlopen
  43701. -# Whether dlopen of programs is supported.
  43702. -dlopen_self=$enable_dlopen_self
  43703. -# Whether dlopen of statically linked programs is supported.
  43704. -dlopen_self_static=$enable_dlopen_self_static
  43705. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  43706. +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  43707. -# Compiler flag to prevent dynamic linking.
  43708. -link_static_flag=$lt_lt_prog_compiler_static
  43709. + runpath_var=
  43710. + allow_undefined_flag=
  43711. + always_export_symbols=no
  43712. + archive_cmds=
  43713. + archive_expsym_cmds=
  43714. + compiler_needs_object=no
  43715. + enable_shared_with_static_runtimes=no
  43716. + export_dynamic_flag_spec=
  43717. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  43718. + hardcode_automatic=no
  43719. + hardcode_direct=no
  43720. + hardcode_direct_absolute=no
  43721. + hardcode_libdir_flag_spec=
  43722. + hardcode_libdir_flag_spec_ld=
  43723. + hardcode_libdir_separator=
  43724. + hardcode_minus_L=no
  43725. + hardcode_shlibpath_var=unsupported
  43726. + inherit_rpath=no
  43727. + link_all_deplibs=unknown
  43728. + module_cmds=
  43729. + module_expsym_cmds=
  43730. + old_archive_from_new_cmds=
  43731. + old_archive_from_expsyms_cmds=
  43732. + thread_safe_flag_spec=
  43733. + whole_archive_flag_spec=
  43734. + # include_expsyms should be a list of space-separated symbols to be *always*
  43735. + # included in the symbol list
  43736. + include_expsyms=
  43737. + # exclude_expsyms can be an extended regexp of symbols to exclude
  43738. + # it will be wrapped by ` (' and `)$', so one must not match beginning or
  43739. + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  43740. + # as well as any symbol that contains `d'.
  43741. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  43742. + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  43743. + # platforms (ab)use it in PIC code, but their linkers get confused if
  43744. + # the symbol is explicitly referenced. Since portable code cannot
  43745. + # rely on this symbol name, it's probably fine to never include it in
  43746. + # preloaded symbol tables.
  43747. + # Exclude shared library initialization/finalization symbols.
  43748. + extract_expsyms_cmds=
  43749. -# Compiler flag to turn off builtin functions.
  43750. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  43751. + case $host_os in
  43752. + cygwin* | mingw* | pw32* | cegcc*)
  43753. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  43754. + # When not using gcc, we currently assume that we are using
  43755. + # Microsoft Visual C++.
  43756. + if test "$GCC" != yes; then
  43757. + with_gnu_ld=no
  43758. + fi
  43759. + ;;
  43760. + interix*)
  43761. + # we just hope/assume this is gcc and not c89 (= MSVC++)
  43762. + with_gnu_ld=yes
  43763. + ;;
  43764. + openbsd*)
  43765. + with_gnu_ld=no
  43766. + ;;
  43767. + linux* | k*bsd*-gnu)
  43768. + link_all_deplibs=no
  43769. + ;;
  43770. + esac
  43771. -# Compiler flag to allow reflexive dlopens.
  43772. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  43773. + ld_shlibs=yes
  43774. + if test "$with_gnu_ld" = yes; then
  43775. + # If archive_cmds runs LD, not CC, wlarc should be empty
  43776. + wlarc='${wl}'
  43777. -# Compiler flag to generate shared objects directly from archives.
  43778. -whole_archive_flag_spec=$lt_whole_archive_flag_spec
  43779. + # Set some defaults for GNU ld with shared library support. These
  43780. + # are reset later if shared libraries are not supported. Putting them
  43781. + # here allows them to be overridden if necessary.
  43782. + runpath_var=LD_RUN_PATH
  43783. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  43784. + export_dynamic_flag_spec='${wl}--export-dynamic'
  43785. + # ancient GNU ld didn't support --whole-archive et. al.
  43786. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  43787. + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  43788. + else
  43789. + whole_archive_flag_spec=
  43790. + fi
  43791. + supports_anon_versioning=no
  43792. + case `$LD -v 2>&1` in
  43793. + *GNU\ gold*) supports_anon_versioning=yes ;;
  43794. + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  43795. + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  43796. + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  43797. + *\ 2.11.*) ;; # other 2.11 versions
  43798. + *) supports_anon_versioning=yes ;;
  43799. + esac
  43800. -# Compiler flag to generate thread-safe objects.
  43801. -thread_safe_flag_spec=$lt_thread_safe_flag_spec
  43802. + # See if GNU ld supports shared libraries.
  43803. + case $host_os in
  43804. + aix[3-9]*)
  43805. + # On AIX/PPC, the GNU linker is very broken
  43806. + if test "$host_cpu" != ia64; then
  43807. + ld_shlibs=no
  43808. + cat <<_LT_EOF 1>&2
  43809. -# Library versioning type.
  43810. -version_type=$version_type
  43811. +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  43812. +*** to be unable to reliably create shared libraries on AIX.
  43813. +*** Therefore, libtool is disabling shared libraries support. If you
  43814. +*** really care for shared libraries, you may want to modify your PATH
  43815. +*** so that a non-GNU linker is found, and then restart.
  43816. -# Format of library name prefix.
  43817. -libname_spec=$lt_libname_spec
  43818. +_LT_EOF
  43819. + fi
  43820. + ;;
  43821. -# List of archive names. First name is the real one, the rest are links.
  43822. -# The last name is the one that the linker finds with -lNAME.
  43823. -library_names_spec=$lt_library_names_spec
  43824. + amigaos*)
  43825. + case $host_cpu in
  43826. + powerpc)
  43827. + # see comment about AmigaOS4 .so support
  43828. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  43829. + archive_expsym_cmds=''
  43830. + ;;
  43831. + m68k)
  43832. + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  43833. + hardcode_libdir_flag_spec='-L$libdir'
  43834. + hardcode_minus_L=yes
  43835. + ;;
  43836. + esac
  43837. + ;;
  43838. -# The coded name of the library, if different from the real name.
  43839. -soname_spec=$lt_soname_spec
  43840. + beos*)
  43841. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  43842. + allow_undefined_flag=unsupported
  43843. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  43844. + # support --undefined. This deserves some investigation. FIXME
  43845. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  43846. + else
  43847. + ld_shlibs=no
  43848. + fi
  43849. + ;;
  43850. -# Commands used to build and install an old-style archive.
  43851. -RANLIB=$lt_RANLIB
  43852. -old_archive_cmds=$lt_old_archive_cmds
  43853. -old_postinstall_cmds=$lt_old_postinstall_cmds
  43854. -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  43855. + cygwin* | mingw* | pw32* | cegcc*)
  43856. + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  43857. + # as there is no search path for DLLs.
  43858. + hardcode_libdir_flag_spec='-L$libdir'
  43859. + allow_undefined_flag=unsupported
  43860. + always_export_symbols=no
  43861. + enable_shared_with_static_runtimes=yes
  43862. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  43863. -# Create an old-style archive from a shared archive.
  43864. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  43865. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  43866. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  43867. + # If the export-symbols file already is a .def file (1st line
  43868. + # is EXPORTS), use it as is; otherwise, prepend...
  43869. + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  43870. + cp $export_symbols $output_objdir/$soname.def;
  43871. + else
  43872. + echo EXPORTS > $output_objdir/$soname.def;
  43873. + cat $export_symbols >> $output_objdir/$soname.def;
  43874. + fi~
  43875. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  43876. + else
  43877. + ld_shlibs=no
  43878. + fi
  43879. + ;;
  43880. -# Create a temporary old-style archive to link instead of a shared archive.
  43881. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  43882. + interix[3-9]*)
  43883. + hardcode_direct=no
  43884. + hardcode_shlibpath_var=no
  43885. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  43886. + export_dynamic_flag_spec='${wl}-E'
  43887. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  43888. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  43889. + # default) and relocated if they conflict, which is a slow very memory
  43890. + # consuming and fragmenting process. To avoid this, we pick a random,
  43891. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  43892. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  43893. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  43894. + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  43895. + ;;
  43896. -# Commands used to build and install a shared archive.
  43897. -archive_cmds=$lt_archive_cmds
  43898. -archive_expsym_cmds=$lt_archive_expsym_cmds
  43899. -postinstall_cmds=$lt_postinstall_cmds
  43900. -postuninstall_cmds=$lt_postuninstall_cmds
  43901. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  43902. + tmp_diet=no
  43903. + if test "$host_os" = linux-dietlibc; then
  43904. + case $cc_basename in
  43905. + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  43906. + esac
  43907. + fi
  43908. + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  43909. + && test "$tmp_diet" = no
  43910. + then
  43911. + tmp_addflag=
  43912. + tmp_sharedflag='-shared'
  43913. + case $cc_basename,$host_cpu in
  43914. + pgcc*) # Portland Group C compiler
  43915. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  43916. + tmp_addflag=' $pic_flag'
  43917. + ;;
  43918. + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  43919. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  43920. + tmp_addflag=' $pic_flag -Mnomain' ;;
  43921. + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  43922. + tmp_addflag=' -i_dynamic' ;;
  43923. + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  43924. + tmp_addflag=' -i_dynamic -nofor_main' ;;
  43925. + ifc* | ifort*) # Intel Fortran compiler
  43926. + tmp_addflag=' -nofor_main' ;;
  43927. + lf95*) # Lahey Fortran 8.1
  43928. + whole_archive_flag_spec=
  43929. + tmp_sharedflag='--shared' ;;
  43930. + xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  43931. + tmp_sharedflag='-qmkshrobj'
  43932. + tmp_addflag= ;;
  43933. + esac
  43934. + case `$CC -V 2>&1 | sed 5q` in
  43935. + *Sun\ C*) # Sun C 5.9
  43936. + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  43937. + compiler_needs_object=yes
  43938. + tmp_sharedflag='-G' ;;
  43939. + *Sun\ F*) # Sun Fortran 8.3
  43940. + tmp_sharedflag='-G' ;;
  43941. + esac
  43942. + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  43943. -# Commands used to build a loadable module (assumed same as above if empty)
  43944. -module_cmds=$lt_module_cmds
  43945. -module_expsym_cmds=$lt_module_expsym_cmds
  43946. + if test "x$supports_anon_versioning" = xyes; then
  43947. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  43948. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  43949. + echo "local: *; };" >> $output_objdir/$libname.ver~
  43950. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  43951. + fi
  43952. -# Commands to strip libraries.
  43953. -old_striplib=$lt_old_striplib
  43954. -striplib=$lt_striplib
  43955. + case $cc_basename in
  43956. + xlf*)
  43957. + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  43958. + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  43959. + hardcode_libdir_flag_spec=
  43960. + hardcode_libdir_flag_spec_ld='-rpath $libdir'
  43961. + archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  43962. + if test "x$supports_anon_versioning" = xyes; then
  43963. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  43964. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  43965. + echo "local: *; };" >> $output_objdir/$libname.ver~
  43966. + $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  43967. + fi
  43968. + ;;
  43969. + esac
  43970. + else
  43971. + ld_shlibs=no
  43972. + fi
  43973. + ;;
  43974. -# Dependencies to place before the objects being linked to create a
  43975. -# shared library.
  43976. -predep_objects=$lt_predep_objects
  43977. + netbsd* | netbsdelf*-gnu)
  43978. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  43979. + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  43980. + wlarc=
  43981. + else
  43982. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  43983. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  43984. + fi
  43985. + ;;
  43986. -# Dependencies to place after the objects being linked to create a
  43987. -# shared library.
  43988. -postdep_objects=$lt_postdep_objects
  43989. + solaris*)
  43990. + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  43991. + ld_shlibs=no
  43992. + cat <<_LT_EOF 1>&2
  43993. -# Dependencies to place before the objects being linked to create a
  43994. -# shared library.
  43995. -predeps=$lt_predeps
  43996. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  43997. +*** create shared libraries on Solaris systems. Therefore, libtool
  43998. +*** is disabling shared libraries support. We urge you to upgrade GNU
  43999. +*** binutils to release 2.9.1 or newer. Another option is to modify
  44000. +*** your PATH or compiler configuration so that the native linker is
  44001. +*** used, and then restart.
  44002. -# Dependencies to place after the objects being linked to create a
  44003. -# shared library.
  44004. -postdeps=$lt_postdeps
  44005. +_LT_EOF
  44006. + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  44007. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  44008. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  44009. + else
  44010. + ld_shlibs=no
  44011. + fi
  44012. + ;;
  44013. -# The directories searched by this compiler when creating a shared
  44014. -# library
  44015. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
  44016. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  44017. + case `$LD -v 2>&1` in
  44018. + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  44019. + ld_shlibs=no
  44020. + cat <<_LT_EOF 1>&2
  44021. -# The library search path used internally by the compiler when linking
  44022. -# a shared library.
  44023. -compiler_lib_search_path=$lt_compiler_lib_search_path
  44024. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  44025. +*** reliably create shared libraries on SCO systems. Therefore, libtool
  44026. +*** is disabling shared libraries support. We urge you to upgrade GNU
  44027. +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  44028. +*** your PATH or compiler configuration so that the native linker is
  44029. +*** used, and then restart.
  44030. -# Method to check whether dependent libraries are shared objects.
  44031. -deplibs_check_method=$lt_deplibs_check_method
  44032. +_LT_EOF
  44033. + ;;
  44034. + *)
  44035. + # For security reasons, it is highly recommended that you always
  44036. + # use absolute paths for naming shared libraries, and exclude the
  44037. + # DT_RUNPATH tag from executables and libraries. But doing so
  44038. + # requires that you compile everything twice, which is a pain.
  44039. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  44040. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  44041. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  44042. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  44043. + else
  44044. + ld_shlibs=no
  44045. + fi
  44046. + ;;
  44047. + esac
  44048. + ;;
  44049. -# Command to use when deplibs_check_method == file_magic.
  44050. -file_magic_cmd=$lt_file_magic_cmd
  44051. + sunos4*)
  44052. + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  44053. + wlarc=
  44054. + hardcode_direct=yes
  44055. + hardcode_shlibpath_var=no
  44056. + ;;
  44057. -# Flag that allows shared libraries with undefined symbols to be built.
  44058. -allow_undefined_flag=$lt_allow_undefined_flag
  44059. + *)
  44060. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  44061. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  44062. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  44063. + else
  44064. + ld_shlibs=no
  44065. + fi
  44066. + ;;
  44067. + esac
  44068. -# Flag that forces no undefined symbols.
  44069. -no_undefined_flag=$lt_no_undefined_flag
  44070. + if test "$ld_shlibs" = no; then
  44071. + runpath_var=
  44072. + hardcode_libdir_flag_spec=
  44073. + export_dynamic_flag_spec=
  44074. + whole_archive_flag_spec=
  44075. + fi
  44076. + else
  44077. + # PORTME fill in a description of your system's linker (not GNU ld)
  44078. + case $host_os in
  44079. + aix3*)
  44080. + allow_undefined_flag=unsupported
  44081. + always_export_symbols=yes
  44082. + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  44083. + # Note: this linker hardcodes the directories in LIBPATH if there
  44084. + # are no directories specified by -L.
  44085. + hardcode_minus_L=yes
  44086. + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  44087. + # Neither direct hardcoding nor static linking is supported with a
  44088. + # broken collect2.
  44089. + hardcode_direct=unsupported
  44090. + fi
  44091. + ;;
  44092. -# Commands used to finish a libtool library installation in a directory.
  44093. -finish_cmds=$lt_finish_cmds
  44094. + aix[4-9]*)
  44095. + if test "$host_cpu" = ia64; then
  44096. + # On IA64, the linker does run time linking by default, so we don't
  44097. + # have to do anything special.
  44098. + aix_use_runtimelinking=no
  44099. + exp_sym_flag='-Bexport'
  44100. + no_entry_flag=""
  44101. + else
  44102. + # If we're using GNU nm, then we don't want the "-C" option.
  44103. + # -C means demangle to AIX nm, but means don't demangle with GNU nm
  44104. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  44105. + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  44106. + else
  44107. + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  44108. + fi
  44109. + aix_use_runtimelinking=no
  44110. -# Same as above, but a single script fragment to be evaled but not shown.
  44111. -finish_eval=$lt_finish_eval
  44112. + # Test if we are trying to use run time linking or normal
  44113. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  44114. + # need to do runtime linking.
  44115. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  44116. + for ld_flag in $LDFLAGS; do
  44117. + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  44118. + aix_use_runtimelinking=yes
  44119. + break
  44120. + fi
  44121. + done
  44122. + ;;
  44123. + esac
  44124. -# Take the output of nm and produce a listing of raw symbols and C names.
  44125. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  44126. + exp_sym_flag='-bexport'
  44127. + no_entry_flag='-bnoentry'
  44128. + fi
  44129. -# Transform the output of nm in a proper C declaration
  44130. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  44131. + # When large executables or shared objects are built, AIX ld can
  44132. + # have problems creating the table of contents. If linking a library
  44133. + # or program results in "error TOC overflow" add -mminimal-toc to
  44134. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  44135. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  44136. -# Transform the output of nm in a C name address pair
  44137. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  44138. + archive_cmds=''
  44139. + hardcode_direct=yes
  44140. + hardcode_direct_absolute=yes
  44141. + hardcode_libdir_separator=':'
  44142. + link_all_deplibs=yes
  44143. + file_list_spec='${wl}-f,'
  44144. -# This is the shared library runtime path variable.
  44145. -runpath_var=$runpath_var
  44146. + if test "$GCC" = yes; then
  44147. + case $host_os in aix4.[012]|aix4.[012].*)
  44148. + # We only want to do this on AIX 4.2 and lower, the check
  44149. + # below for broken collect2 doesn't work under 4.3+
  44150. + collect2name=`${CC} -print-prog-name=collect2`
  44151. + if test -f "$collect2name" &&
  44152. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  44153. + then
  44154. + # We have reworked collect2
  44155. + :
  44156. + else
  44157. + # We have old collect2
  44158. + hardcode_direct=unsupported
  44159. + # It fails to find uninstalled libraries when the uninstalled
  44160. + # path is not listed in the libpath. Setting hardcode_minus_L
  44161. + # to unsupported forces relinking
  44162. + hardcode_minus_L=yes
  44163. + hardcode_libdir_flag_spec='-L$libdir'
  44164. + hardcode_libdir_separator=
  44165. + fi
  44166. + ;;
  44167. + esac
  44168. + shared_flag='-shared'
  44169. + if test "$aix_use_runtimelinking" = yes; then
  44170. + shared_flag="$shared_flag "'${wl}-G'
  44171. + fi
  44172. + link_all_deplibs=no
  44173. + else
  44174. + # not using gcc
  44175. + if test "$host_cpu" = ia64; then
  44176. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  44177. + # chokes on -Wl,-G. The following line is correct:
  44178. + shared_flag='-G'
  44179. + else
  44180. + if test "$aix_use_runtimelinking" = yes; then
  44181. + shared_flag='${wl}-G'
  44182. + else
  44183. + shared_flag='${wl}-bM:SRE'
  44184. + fi
  44185. + fi
  44186. + fi
  44187. -# This is the shared library path variable.
  44188. -shlibpath_var=$shlibpath_var
  44189. + export_dynamic_flag_spec='${wl}-bexpall'
  44190. + # It seems that -bexpall does not export symbols beginning with
  44191. + # underscore (_), so it is better to generate a list of symbols to export.
  44192. + always_export_symbols=yes
  44193. + if test "$aix_use_runtimelinking" = yes; then
  44194. + # Warning - without using the other runtime loading flags (-brtl),
  44195. + # -berok will link without error, but may produce a broken library.
  44196. + allow_undefined_flag='-berok'
  44197. + # Determine the default libpath from the value encoded in an
  44198. + # empty executable.
  44199. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44200. +/* end confdefs.h. */
  44201. -# Is shlibpath searched before the hard-coded library search path?
  44202. -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  44203. +int
  44204. +main ()
  44205. +{
  44206. -# How to hardcode a shared library path into an executable.
  44207. -hardcode_action=$hardcode_action
  44208. + ;
  44209. + return 0;
  44210. +}
  44211. +_ACEOF
  44212. +if ac_fn_c_try_link "$LINENO"; then :
  44213. -# Whether we should hardcode library paths into libraries.
  44214. -hardcode_into_libs=$hardcode_into_libs
  44215. +lt_aix_libpath_sed='
  44216. + /Import File Strings/,/^$/ {
  44217. + /^0/ {
  44218. + s/^0 *\(.*\)$/\1/
  44219. + p
  44220. + }
  44221. + }'
  44222. +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  44223. +# Check for a 64-bit object if we didn't find anything.
  44224. +if test -z "$aix_libpath"; then
  44225. + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  44226. +fi
  44227. +fi
  44228. +rm -f core conftest.err conftest.$ac_objext \
  44229. + conftest$ac_exeext conftest.$ac_ext
  44230. +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  44231. -# Flag to hardcode \$libdir into a binary during linking.
  44232. -# This must work even if \$libdir does not exist.
  44233. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  44234. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  44235. + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  44236. + else
  44237. + if test "$host_cpu" = ia64; then
  44238. + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  44239. + allow_undefined_flag="-z nodefs"
  44240. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  44241. + else
  44242. + # Determine the default libpath from the value encoded in an
  44243. + # empty executable.
  44244. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44245. +/* end confdefs.h. */
  44246. -# If ld is used when linking, flag to hardcode \$libdir into
  44247. -# a binary during linking. This must work even if \$libdir does
  44248. -# not exist.
  44249. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  44250. -
  44251. -# Whether we need a single -rpath flag with a separated argument.
  44252. -hardcode_libdir_separator=$lt_hardcode_libdir_separator
  44253. -
  44254. -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  44255. -# resulting binary.
  44256. -hardcode_direct=$hardcode_direct
  44257. -
  44258. -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  44259. -# resulting binary.
  44260. -hardcode_minus_L=$hardcode_minus_L
  44261. -
  44262. -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  44263. -# the resulting binary.
  44264. -hardcode_shlibpath_var=$hardcode_shlibpath_var
  44265. +int
  44266. +main ()
  44267. +{
  44268. -# Set to yes if building a shared library automatically hardcodes DIR into the library
  44269. -# and all subsequent libraries and executables linked against it.
  44270. -hardcode_automatic=$hardcode_automatic
  44271. + ;
  44272. + return 0;
  44273. +}
  44274. +_ACEOF
  44275. +if ac_fn_c_try_link "$LINENO"; then :
  44276. -# Variables whose values should be saved in libtool wrapper scripts and
  44277. -# restored at relink time.
  44278. -variables_saved_for_relink="$variables_saved_for_relink"
  44279. +lt_aix_libpath_sed='
  44280. + /Import File Strings/,/^$/ {
  44281. + /^0/ {
  44282. + s/^0 *\(.*\)$/\1/
  44283. + p
  44284. + }
  44285. + }'
  44286. +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  44287. +# Check for a 64-bit object if we didn't find anything.
  44288. +if test -z "$aix_libpath"; then
  44289. + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  44290. +fi
  44291. +fi
  44292. +rm -f core conftest.err conftest.$ac_objext \
  44293. + conftest$ac_exeext conftest.$ac_ext
  44294. +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  44295. -# Whether libtool must link a program against all its dependency libraries.
  44296. -link_all_deplibs=$link_all_deplibs
  44297. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  44298. + # Warning - without using the other run time loading flags,
  44299. + # -berok will link without error, but may produce a broken library.
  44300. + no_undefined_flag=' ${wl}-bernotok'
  44301. + allow_undefined_flag=' ${wl}-berok'
  44302. + # Exported symbols can be pulled into shared objects from archives
  44303. + whole_archive_flag_spec='$convenience'
  44304. + archive_cmds_need_lc=yes
  44305. + # This is similar to how AIX traditionally builds its shared libraries.
  44306. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  44307. + fi
  44308. + fi
  44309. + ;;
  44310. -# Compile-time system search path for libraries
  44311. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  44312. + amigaos*)
  44313. + case $host_cpu in
  44314. + powerpc)
  44315. + # see comment about AmigaOS4 .so support
  44316. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  44317. + archive_expsym_cmds=''
  44318. + ;;
  44319. + m68k)
  44320. + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  44321. + hardcode_libdir_flag_spec='-L$libdir'
  44322. + hardcode_minus_L=yes
  44323. + ;;
  44324. + esac
  44325. + ;;
  44326. -# Run-time system search path for libraries
  44327. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  44328. + bsdi[45]*)
  44329. + export_dynamic_flag_spec=-rdynamic
  44330. + ;;
  44331. -# Fix the shell variable \$srcfile for the compiler.
  44332. -fix_srcfile_path=$lt_fix_srcfile_path
  44333. + cygwin* | mingw* | pw32* | cegcc*)
  44334. + # When not using gcc, we currently assume that we are using
  44335. + # Microsoft Visual C++.
  44336. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  44337. + # no search path for DLLs.
  44338. + hardcode_libdir_flag_spec=' '
  44339. + allow_undefined_flag=unsupported
  44340. + # Tell ltmain to make .lib files, not .a files.
  44341. + libext=lib
  44342. + # Tell ltmain to make .dll files, not .so files.
  44343. + shrext_cmds=".dll"
  44344. + # FIXME: Setting linknames here is a bad hack.
  44345. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  44346. + # The linker will automatically build a .lib file if we build a DLL.
  44347. + old_archive_from_new_cmds='true'
  44348. + # FIXME: Should let the user specify the lib program.
  44349. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  44350. + fix_srcfile_path='`cygpath -w "$srcfile"`'
  44351. + enable_shared_with_static_runtimes=yes
  44352. + ;;
  44353. -# Set to yes if exported symbols are required.
  44354. -always_export_symbols=$always_export_symbols
  44355. + darwin* | rhapsody*)
  44356. -# The commands to list exported symbols.
  44357. -export_symbols_cmds=$lt_export_symbols_cmds
  44358. -# The commands to extract the exported symbol list from a shared archive.
  44359. -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  44360. + archive_cmds_need_lc=no
  44361. + hardcode_direct=no
  44362. + hardcode_automatic=yes
  44363. + hardcode_shlibpath_var=unsupported
  44364. + whole_archive_flag_spec=''
  44365. + link_all_deplibs=yes
  44366. + allow_undefined_flag="$_lt_dar_allow_undefined"
  44367. + case $cc_basename in
  44368. + ifort*) _lt_dar_can_shared=yes ;;
  44369. + *) _lt_dar_can_shared=$GCC ;;
  44370. + esac
  44371. + if test "$_lt_dar_can_shared" = "yes"; then
  44372. + output_verbose_link_cmd=echo
  44373. + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  44374. + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  44375. + archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  44376. + module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  44377. -# Symbols that should not be listed in the preloaded symbols.
  44378. -exclude_expsyms=$lt_exclude_expsyms
  44379. + else
  44380. + ld_shlibs=no
  44381. + fi
  44382. -# Symbols that must always be exported.
  44383. -include_expsyms=$lt_include_expsyms
  44384. + ;;
  44385. -# ### END LIBTOOL CONFIG
  44386. + dgux*)
  44387. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  44388. + hardcode_libdir_flag_spec='-L$libdir'
  44389. + hardcode_shlibpath_var=no
  44390. + ;;
  44391. -__EOF__
  44392. + freebsd1*)
  44393. + ld_shlibs=no
  44394. + ;;
  44395. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  44396. + # support. Future versions do this automatically, but an explicit c++rt0.o
  44397. + # does not break anything, and helps significantly (at the cost of a little
  44398. + # extra space).
  44399. + freebsd2.2*)
  44400. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  44401. + hardcode_libdir_flag_spec='-R$libdir'
  44402. + hardcode_direct=yes
  44403. + hardcode_shlibpath_var=no
  44404. + ;;
  44405. - case $host_os in
  44406. - aix3*)
  44407. - cat <<\EOF >> "$cfgfile"
  44408. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  44409. + freebsd2*)
  44410. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  44411. + hardcode_direct=yes
  44412. + hardcode_minus_L=yes
  44413. + hardcode_shlibpath_var=no
  44414. + ;;
  44415. -# AIX sometimes has problems with the GCC collect2 program. For some
  44416. -# reason, if we set the COLLECT_NAMES environment variable, the problems
  44417. -# vanish in a puff of smoke.
  44418. -if test "X${COLLECT_NAMES+set}" != Xset; then
  44419. - COLLECT_NAMES=
  44420. - export COLLECT_NAMES
  44421. -fi
  44422. -EOF
  44423. - ;;
  44424. - esac
  44425. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  44426. + freebsd* | dragonfly*)
  44427. + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  44428. + hardcode_libdir_flag_spec='-R$libdir'
  44429. + hardcode_direct=yes
  44430. + hardcode_shlibpath_var=no
  44431. + ;;
  44432. - # We use sed instead of cat because bash on DJGPP gets confused if
  44433. - # if finds mixed CR/LF and LF-only lines. Since sed operates in
  44434. - # text mode, it properly converts lines to CR/LF. This bash problem
  44435. - # is reportedly fixed, but why not run on old versions too?
  44436. - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
  44437. + hpux9*)
  44438. + if test "$GCC" = yes; then
  44439. + archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  44440. + else
  44441. + archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  44442. + fi
  44443. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  44444. + hardcode_libdir_separator=:
  44445. + hardcode_direct=yes
  44446. - mv -f "$cfgfile" "$ofile" || \
  44447. - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  44448. - chmod +x "$ofile"
  44449. + # hardcode_minus_L: Not really in the search PATH,
  44450. + # but as the default location of the library.
  44451. + hardcode_minus_L=yes
  44452. + export_dynamic_flag_spec='${wl}-E'
  44453. + ;;
  44454. -else
  44455. - # If there is no Makefile yet, we rely on a make rule to execute
  44456. - # `config.status --recheck' to rerun these tests and create the
  44457. - # libtool script then.
  44458. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  44459. - if test -f "$ltmain_in"; then
  44460. - test -f Makefile && make "$ltmain"
  44461. - fi
  44462. -fi
  44463. + hpux10*)
  44464. + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  44465. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  44466. + else
  44467. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  44468. + fi
  44469. + if test "$with_gnu_ld" = no; then
  44470. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  44471. + hardcode_libdir_flag_spec_ld='+b $libdir'
  44472. + hardcode_libdir_separator=:
  44473. + hardcode_direct=yes
  44474. + hardcode_direct_absolute=yes
  44475. + export_dynamic_flag_spec='${wl}-E'
  44476. + # hardcode_minus_L: Not really in the search PATH,
  44477. + # but as the default location of the library.
  44478. + hardcode_minus_L=yes
  44479. + fi
  44480. + ;;
  44481. + hpux11*)
  44482. + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  44483. + case $host_cpu in
  44484. + hppa*64*)
  44485. + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  44486. + ;;
  44487. + ia64*)
  44488. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  44489. + ;;
  44490. + *)
  44491. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  44492. + ;;
  44493. + esac
  44494. + else
  44495. + case $host_cpu in
  44496. + hppa*64*)
  44497. + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  44498. + ;;
  44499. + ia64*)
  44500. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  44501. + ;;
  44502. + *)
  44503. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  44504. + ;;
  44505. + esac
  44506. + fi
  44507. + if test "$with_gnu_ld" = no; then
  44508. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  44509. + hardcode_libdir_separator=:
  44510. -ac_ext=c
  44511. -ac_cpp='$CPP $CPPFLAGS'
  44512. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  44513. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  44514. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  44515. + case $host_cpu in
  44516. + hppa*64*|ia64*)
  44517. + hardcode_direct=no
  44518. + hardcode_shlibpath_var=no
  44519. + ;;
  44520. + *)
  44521. + hardcode_direct=yes
  44522. + hardcode_direct_absolute=yes
  44523. + export_dynamic_flag_spec='${wl}-E'
  44524. -CC="$lt_save_CC"
  44525. + # hardcode_minus_L: Not really in the search PATH,
  44526. + # but as the default location of the library.
  44527. + hardcode_minus_L=yes
  44528. + ;;
  44529. + esac
  44530. + fi
  44531. + ;;
  44532. + irix5* | irix6* | nonstopux*)
  44533. + if test "$GCC" = yes; then
  44534. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  44535. + # Try to use the -exported_symbol ld option, if it does not
  44536. + # work, assume that -exports_file does not work either and
  44537. + # implicitly export all symbols.
  44538. + save_LDFLAGS="$LDFLAGS"
  44539. + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  44540. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44541. +/* end confdefs.h. */
  44542. +int foo(void) {}
  44543. +_ACEOF
  44544. +if ac_fn_c_try_link "$LINENO"; then :
  44545. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  44546. -# Check whether --with-tags was given.
  44547. -if test "${with_tags+set}" = set; then
  44548. - withval=$with_tags; tagnames="$withval"
  44549. fi
  44550. +rm -f core conftest.err conftest.$ac_objext \
  44551. + conftest$ac_exeext conftest.$ac_ext
  44552. + LDFLAGS="$save_LDFLAGS"
  44553. + else
  44554. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  44555. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  44556. + fi
  44557. + archive_cmds_need_lc='no'
  44558. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  44559. + hardcode_libdir_separator=:
  44560. + inherit_rpath=yes
  44561. + link_all_deplibs=yes
  44562. + ;;
  44563. + netbsd* | netbsdelf*-gnu)
  44564. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  44565. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  44566. + else
  44567. + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  44568. + fi
  44569. + hardcode_libdir_flag_spec='-R$libdir'
  44570. + hardcode_direct=yes
  44571. + hardcode_shlibpath_var=no
  44572. + ;;
  44573. -if test -f "$ltmain" && test -n "$tagnames"; then
  44574. - if test ! -f "${ofile}"; then
  44575. - { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
  44576. -$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
  44577. - fi
  44578. -
  44579. - if test -z "$LTCC"; then
  44580. - eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
  44581. - if test -z "$LTCC"; then
  44582. - { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
  44583. -$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
  44584. - else
  44585. - { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
  44586. -$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
  44587. - fi
  44588. - fi
  44589. - if test -z "$LTCFLAGS"; then
  44590. - eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
  44591. - fi
  44592. + newsos6)
  44593. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  44594. + hardcode_direct=yes
  44595. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  44596. + hardcode_libdir_separator=:
  44597. + hardcode_shlibpath_var=no
  44598. + ;;
  44599. - # Extract list of available tagged configurations in $ofile.
  44600. - # Note that this assumes the entire list is on one line.
  44601. - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
  44602. + *nto* | *qnx*)
  44603. + ;;
  44604. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  44605. - for tagname in $tagnames; do
  44606. - IFS="$lt_save_ifs"
  44607. - # Check whether tagname contains only valid characters
  44608. - case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
  44609. - "") ;;
  44610. - *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
  44611. -$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
  44612. - { (exit 1); exit 1; }; }
  44613. + openbsd*)
  44614. + if test -f /usr/libexec/ld.so; then
  44615. + hardcode_direct=yes
  44616. + hardcode_shlibpath_var=no
  44617. + hardcode_direct_absolute=yes
  44618. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  44619. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  44620. + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  44621. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  44622. + export_dynamic_flag_spec='${wl}-E'
  44623. + else
  44624. + case $host_os in
  44625. + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  44626. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  44627. + hardcode_libdir_flag_spec='-R$libdir'
  44628. + ;;
  44629. + *)
  44630. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  44631. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  44632. + ;;
  44633. + esac
  44634. + fi
  44635. + else
  44636. + ld_shlibs=no
  44637. + fi
  44638. + ;;
  44639. +
  44640. + os2*)
  44641. + hardcode_libdir_flag_spec='-L$libdir'
  44642. + hardcode_minus_L=yes
  44643. + allow_undefined_flag=unsupported
  44644. + archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  44645. + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  44646. + ;;
  44647. +
  44648. + osf3*)
  44649. + if test "$GCC" = yes; then
  44650. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  44651. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  44652. + else
  44653. + allow_undefined_flag=' -expect_unresolved \*'
  44654. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  44655. + fi
  44656. + archive_cmds_need_lc='no'
  44657. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  44658. + hardcode_libdir_separator=:
  44659. + ;;
  44660. +
  44661. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  44662. + if test "$GCC" = yes; then
  44663. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  44664. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  44665. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  44666. + else
  44667. + allow_undefined_flag=' -expect_unresolved \*'
  44668. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  44669. + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  44670. + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  44671. +
  44672. + # Both c and cxx compiler support -rpath directly
  44673. + hardcode_libdir_flag_spec='-rpath $libdir'
  44674. + fi
  44675. + archive_cmds_need_lc='no'
  44676. + hardcode_libdir_separator=:
  44677. + ;;
  44678. +
  44679. + solaris*)
  44680. + no_undefined_flag=' -z defs'
  44681. + if test "$GCC" = yes; then
  44682. + wlarc='${wl}'
  44683. + archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  44684. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  44685. + $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  44686. + else
  44687. + case `$CC -V 2>&1` in
  44688. + *"Compilers 5.0"*)
  44689. + wlarc=''
  44690. + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  44691. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  44692. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  44693. + ;;
  44694. + *)
  44695. + wlarc='${wl}'
  44696. + archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  44697. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  44698. + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  44699. + ;;
  44700. + esac
  44701. + fi
  44702. + hardcode_libdir_flag_spec='-R$libdir'
  44703. + hardcode_shlibpath_var=no
  44704. + case $host_os in
  44705. + solaris2.[0-5] | solaris2.[0-5].*) ;;
  44706. + *)
  44707. + # The compiler driver will combine and reorder linker options,
  44708. + # but understands `-z linker_flag'. GCC discards it without `$wl',
  44709. + # but is careful enough not to reorder.
  44710. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  44711. + if test "$GCC" = yes; then
  44712. + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  44713. + else
  44714. + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  44715. + fi
  44716. ;;
  44717. - esac
  44718. + esac
  44719. + link_all_deplibs=yes
  44720. + ;;
  44721. - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
  44722. - then
  44723. - { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
  44724. -$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
  44725. - { (exit 1); exit 1; }; }
  44726. - fi
  44727. + sunos4*)
  44728. + if test "x$host_vendor" = xsequent; then
  44729. + # Use $CC to link under sequent, because it throws in some extra .o
  44730. + # files that make .init and .fini sections work.
  44731. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  44732. + else
  44733. + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  44734. + fi
  44735. + hardcode_libdir_flag_spec='-L$libdir'
  44736. + hardcode_direct=yes
  44737. + hardcode_minus_L=yes
  44738. + hardcode_shlibpath_var=no
  44739. + ;;
  44740. - # Update the list of available tags.
  44741. - if test -n "$tagname"; then
  44742. - echo appending configuration tag \"$tagname\" to $ofile
  44743. -
  44744. - case $tagname in
  44745. - CXX)
  44746. - if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  44747. - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  44748. - (test "X$CXX" != "Xg++"))) ; then
  44749. - ac_ext=cpp
  44750. -ac_cpp='$CXXCPP $CPPFLAGS'
  44751. -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  44752. -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  44753. -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  44754. + sysv4)
  44755. + case $host_vendor in
  44756. + sni)
  44757. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  44758. + hardcode_direct=yes # is this really true???
  44759. + ;;
  44760. + siemens)
  44761. + ## LD is ld it makes a PLAMLIB
  44762. + ## CC just makes a GrossModule.
  44763. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  44764. + reload_cmds='$CC -r -o $output$reload_objs'
  44765. + hardcode_direct=no
  44766. + ;;
  44767. + motorola)
  44768. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  44769. + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  44770. + ;;
  44771. + esac
  44772. + runpath_var='LD_RUN_PATH'
  44773. + hardcode_shlibpath_var=no
  44774. + ;;
  44775. + sysv4.3*)
  44776. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  44777. + hardcode_shlibpath_var=no
  44778. + export_dynamic_flag_spec='-Bexport'
  44779. + ;;
  44780. + sysv4*MP*)
  44781. + if test -d /usr/nec; then
  44782. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  44783. + hardcode_shlibpath_var=no
  44784. + runpath_var=LD_RUN_PATH
  44785. + hardcode_runpath_var=yes
  44786. + ld_shlibs=yes
  44787. + fi
  44788. + ;;
  44789. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  44790. + no_undefined_flag='${wl}-z,text'
  44791. + archive_cmds_need_lc=no
  44792. + hardcode_shlibpath_var=no
  44793. + runpath_var='LD_RUN_PATH'
  44794. -archive_cmds_need_lc_CXX=no
  44795. -allow_undefined_flag_CXX=
  44796. -always_export_symbols_CXX=no
  44797. -archive_expsym_cmds_CXX=
  44798. -export_dynamic_flag_spec_CXX=
  44799. -hardcode_direct_CXX=no
  44800. -hardcode_libdir_flag_spec_CXX=
  44801. -hardcode_libdir_flag_spec_ld_CXX=
  44802. -hardcode_libdir_separator_CXX=
  44803. -hardcode_minus_L_CXX=no
  44804. -hardcode_shlibpath_var_CXX=unsupported
  44805. -hardcode_automatic_CXX=no
  44806. -module_cmds_CXX=
  44807. -module_expsym_cmds_CXX=
  44808. -link_all_deplibs_CXX=unknown
  44809. -old_archive_cmds_CXX=$old_archive_cmds
  44810. -no_undefined_flag_CXX=
  44811. -whole_archive_flag_spec_CXX=
  44812. -enable_shared_with_static_runtimes_CXX=no
  44813. + if test "$GCC" = yes; then
  44814. + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  44815. + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  44816. + else
  44817. + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  44818. + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  44819. + fi
  44820. + ;;
  44821. -# Dependencies to place before and after the object being linked:
  44822. -predep_objects_CXX=
  44823. -postdep_objects_CXX=
  44824. -predeps_CXX=
  44825. -postdeps_CXX=
  44826. -compiler_lib_search_path_CXX=
  44827. -compiler_lib_search_dirs_CXX=
  44828. + sysv5* | sco3.2v5* | sco5v6*)
  44829. + # Note: We can NOT use -z defs as we might desire, because we do not
  44830. + # link with -lc, and that would cause any symbols used from libc to
  44831. + # always be unresolved, which means just about no library would
  44832. + # ever link correctly. If we're not using GNU ld we use -z text
  44833. + # though, which does catch some bad symbols but isn't as heavy-handed
  44834. + # as -z defs.
  44835. + no_undefined_flag='${wl}-z,text'
  44836. + allow_undefined_flag='${wl}-z,nodefs'
  44837. + archive_cmds_need_lc=no
  44838. + hardcode_shlibpath_var=no
  44839. + hardcode_libdir_flag_spec='${wl}-R,$libdir'
  44840. + hardcode_libdir_separator=':'
  44841. + link_all_deplibs=yes
  44842. + export_dynamic_flag_spec='${wl}-Bexport'
  44843. + runpath_var='LD_RUN_PATH'
  44844. -# Source file extension for C++ test sources.
  44845. -ac_ext=cpp
  44846. + if test "$GCC" = yes; then
  44847. + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  44848. + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  44849. + else
  44850. + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  44851. + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  44852. + fi
  44853. + ;;
  44854. -# Object file extension for compiled C++ test sources.
  44855. -objext=o
  44856. -objext_CXX=$objext
  44857. + uts4*)
  44858. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  44859. + hardcode_libdir_flag_spec='-L$libdir'
  44860. + hardcode_shlibpath_var=no
  44861. + ;;
  44862. -# Code to be used in simple compile tests
  44863. -lt_simple_compile_test_code="int some_variable = 0;"
  44864. + *)
  44865. + ld_shlibs=no
  44866. + ;;
  44867. + esac
  44868. -# Code to be used in simple link tests
  44869. -lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
  44870. + if test x$host_vendor = xsni; then
  44871. + case $host in
  44872. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  44873. + export_dynamic_flag_spec='${wl}-Blargedynsym'
  44874. + ;;
  44875. + esac
  44876. + fi
  44877. + fi
  44878. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  44879. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  44880. +$as_echo "$ld_shlibs" >&6; }
  44881. +test "$ld_shlibs" = no && can_build_shared=no
  44882. -# If no C compiler was specified, use CC.
  44883. -LTCC=${LTCC-"$CC"}
  44884. +with_gnu_ld=$with_gnu_ld
  44885. -# If no C compiler flags were specified, use CFLAGS.
  44886. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  44887. -# Allow CC to be a program name with arguments.
  44888. -compiler=$CC
  44889. -# save warnings/boilerplate of simple test code
  44890. -ac_outfile=conftest.$ac_objext
  44891. -echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  44892. -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  44893. -_lt_compiler_boilerplate=`cat conftest.err`
  44894. -$rm conftest*
  44895. -ac_outfile=conftest.$ac_objext
  44896. -echo "$lt_simple_link_test_code" >conftest.$ac_ext
  44897. -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  44898. -_lt_linker_boilerplate=`cat conftest.err`
  44899. -$rm -r conftest*
  44900. -# Allow CC to be a program name with arguments.
  44901. -lt_save_CC=$CC
  44902. -lt_save_LD=$LD
  44903. -lt_save_GCC=$GCC
  44904. -GCC=$GXX
  44905. -lt_save_with_gnu_ld=$with_gnu_ld
  44906. -lt_save_path_LD=$lt_cv_path_LD
  44907. -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  44908. - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  44909. -else
  44910. - $as_unset lt_cv_prog_gnu_ld
  44911. -fi
  44912. -if test -n "${lt_cv_path_LDCXX+set}"; then
  44913. - lt_cv_path_LD=$lt_cv_path_LDCXX
  44914. -else
  44915. - $as_unset lt_cv_path_LD
  44916. -fi
  44917. -test -z "${LDCXX+set}" || LD=$LDCXX
  44918. -CC=${CXX-"c++"}
  44919. -compiler=$CC
  44920. -compiler_CXX=$CC
  44921. -for cc_temp in $compiler""; do
  44922. - case $cc_temp in
  44923. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  44924. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  44925. - \-*) ;;
  44926. - *) break;;
  44927. - esac
  44928. -done
  44929. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  44930. -# We don't want -fno-exception wen compiling C++ code, so set the
  44931. -# no_builtin_flag separately
  44932. -if test "$GXX" = yes; then
  44933. - lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
  44934. -else
  44935. - lt_prog_compiler_no_builtin_flag_CXX=
  44936. -fi
  44937. -if test "$GXX" = yes; then
  44938. - # Set up default GNU C++ configuration
  44939. -# Check whether --with-gnu-ld was given.
  44940. -if test "${with_gnu_ld+set}" = set; then
  44941. - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  44942. -else
  44943. - with_gnu_ld=no
  44944. -fi
  44945. -ac_prog=ld
  44946. -if test "$GCC" = yes; then
  44947. - # Check if gcc -print-prog-name=ld gives a path.
  44948. - { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  44949. -$as_echo_n "checking for ld used by $CC... " >&6; }
  44950. - case $host in
  44951. - *-*-mingw*)
  44952. - # gcc leaves a trailing carriage return which upsets mingw
  44953. - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  44954. - *)
  44955. - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  44956. - esac
  44957. - case $ac_prog in
  44958. - # Accept absolute paths.
  44959. - [\\/]* | ?:[\\/]*)
  44960. - re_direlt='/[^/][^/]*/\.\./'
  44961. - # Canonicalize the pathname of ld
  44962. - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
  44963. - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  44964. - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
  44965. - done
  44966. - test -z "$LD" && LD="$ac_prog"
  44967. +
  44968. +
  44969. +#
  44970. +# Do we need to explicitly link libc?
  44971. +#
  44972. +case "x$archive_cmds_need_lc" in
  44973. +x|xyes)
  44974. + # Assume -lc should be added
  44975. + archive_cmds_need_lc=yes
  44976. +
  44977. + if test "$enable_shared" = yes && test "$GCC" = yes; then
  44978. + case $archive_cmds in
  44979. + *'~'*)
  44980. + # FIXME: we may have to deal with multi-command sequences.
  44981. ;;
  44982. - "")
  44983. - # If it fails, then pretend we aren't using GCC.
  44984. - ac_prog=ld
  44985. - ;;
  44986. - *)
  44987. - # If it is relative, then search for the first ld in PATH.
  44988. - with_gnu_ld=unknown
  44989. - ;;
  44990. - esac
  44991. -elif test "$with_gnu_ld" = yes; then
  44992. - { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
  44993. -$as_echo_n "checking for GNU ld... " >&6; }
  44994. -else
  44995. - { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  44996. -$as_echo_n "checking for non-GNU ld... " >&6; }
  44997. -fi
  44998. -if test "${lt_cv_path_LD+set}" = set; then
  44999. - $as_echo_n "(cached) " >&6
  45000. -else
  45001. - if test -z "$LD"; then
  45002. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  45003. - for ac_dir in $PATH; do
  45004. - IFS="$lt_save_ifs"
  45005. - test -z "$ac_dir" && ac_dir=.
  45006. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  45007. - lt_cv_path_LD="$ac_dir/$ac_prog"
  45008. - # Check to see if the program is GNU ld. I'd rather use --version,
  45009. - # but apparently some variants of GNU ld only accept -v.
  45010. - # Break only if it was the GNU/non-GNU ld that we prefer.
  45011. - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  45012. - *GNU* | *'with BFD'*)
  45013. - test "$with_gnu_ld" != no && break
  45014. - ;;
  45015. - *)
  45016. - test "$with_gnu_ld" != yes && break
  45017. - ;;
  45018. - esac
  45019. - fi
  45020. - done
  45021. - IFS="$lt_save_ifs"
  45022. -else
  45023. - lt_cv_path_LD="$LD" # Let the user override the test with a path.
  45024. -fi
  45025. -fi
  45026. + '$CC '*)
  45027. + # Test whether the compiler implicitly links with -lc since on some
  45028. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  45029. + # to ld, don't add -lc before -lgcc.
  45030. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  45031. +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  45032. + $RM conftest*
  45033. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  45034. -LD="$lt_cv_path_LD"
  45035. -if test -n "$LD"; then
  45036. - { $as_echo "$as_me:$LINENO: result: $LD" >&5
  45037. -$as_echo "$LD" >&6; }
  45038. -else
  45039. - { $as_echo "$as_me:$LINENO: result: no" >&5
  45040. -$as_echo "no" >&6; }
  45041. -fi
  45042. -test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  45043. -$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  45044. - { (exit 1); exit 1; }; }
  45045. -{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  45046. -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  45047. -if test "${lt_cv_prog_gnu_ld+set}" = set; then
  45048. - $as_echo_n "(cached) " >&6
  45049. -else
  45050. - # I'd rather use --version here, but apparently some GNU lds only accept -v.
  45051. -case `$LD -v 2>&1 </dev/null` in
  45052. -*GNU* | *'with BFD'*)
  45053. - lt_cv_prog_gnu_ld=yes
  45054. - ;;
  45055. -*)
  45056. - lt_cv_prog_gnu_ld=no
  45057. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  45058. + (eval $ac_compile) 2>&5
  45059. + ac_status=$?
  45060. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  45061. + test $ac_status = 0; } 2>conftest.err; then
  45062. + soname=conftest
  45063. + lib=conftest
  45064. + libobjs=conftest.$ac_objext
  45065. + deplibs=
  45066. + wl=$lt_prog_compiler_wl
  45067. + pic_flag=$lt_prog_compiler_pic
  45068. + compiler_flags=-v
  45069. + linker_flags=-v
  45070. + verstring=
  45071. + output_objdir=.
  45072. + libname=conftest
  45073. + lt_save_allow_undefined_flag=$allow_undefined_flag
  45074. + allow_undefined_flag=
  45075. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  45076. + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  45077. + ac_status=$?
  45078. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  45079. + test $ac_status = 0; }
  45080. + then
  45081. + archive_cmds_need_lc=no
  45082. + else
  45083. + archive_cmds_need_lc=yes
  45084. + fi
  45085. + allow_undefined_flag=$lt_save_allow_undefined_flag
  45086. + else
  45087. + cat conftest.err 1>&5
  45088. + fi
  45089. + $RM conftest*
  45090. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
  45091. +$as_echo "$archive_cmds_need_lc" >&6; }
  45092. + ;;
  45093. + esac
  45094. + fi
  45095. ;;
  45096. esac
  45097. -fi
  45098. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  45099. -$as_echo "$lt_cv_prog_gnu_ld" >&6; }
  45100. -with_gnu_ld=$lt_cv_prog_gnu_ld
  45101. - # Check if GNU C++ uses GNU ld as the underlying linker, since the
  45102. - # archiving commands below assume that GNU ld is being used.
  45103. - if test "$with_gnu_ld" = yes; then
  45104. - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  45105. - archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  45106. - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
  45107. - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  45108. - # If archive_cmds runs LD, not CC, wlarc should be empty
  45109. - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  45110. - # investigate it a little bit more. (MM)
  45111. - wlarc='${wl}'
  45112. - # ancient GNU ld didn't support --whole-archive et. al.
  45113. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
  45114. - grep 'no-whole-archive' > /dev/null; then
  45115. - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  45116. - else
  45117. - whole_archive_flag_spec_CXX=
  45118. - fi
  45119. - else
  45120. - with_gnu_ld=no
  45121. - wlarc=
  45122. - # A generic and very simple default shared library creation
  45123. - # command for GNU C++ for the case where it uses the native
  45124. - # linker, instead of GNU ld. If possible, this setting should
  45125. - # overridden to take advantage of the native linker features on
  45126. - # the platform it is being used on.
  45127. - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  45128. - fi
  45129. - # Commands to make compiler produce verbose output that lists
  45130. - # what "hidden" libraries, object files and flags are used when
  45131. - # linking a shared library.
  45132. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  45133. -else
  45134. - GXX=no
  45135. - with_gnu_ld=no
  45136. - wlarc=
  45137. -fi
  45138. -# PORTME: fill in a description of your system's C++ link characteristics
  45139. -{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  45140. -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  45141. -ld_shlibs_CXX=yes
  45142. -case $host_os in
  45143. - aix3*)
  45144. - # FIXME: insert proper C++ library support
  45145. - ld_shlibs_CXX=no
  45146. - ;;
  45147. - aix[4-9]*)
  45148. - if test "$host_cpu" = ia64; then
  45149. - # On IA64, the linker does run time linking by default, so we don't
  45150. - # have to do anything special.
  45151. - aix_use_runtimelinking=no
  45152. - exp_sym_flag='-Bexport'
  45153. - no_entry_flag=""
  45154. - else
  45155. - aix_use_runtimelinking=no
  45156. - # Test if we are trying to use run time linking or normal
  45157. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  45158. - # need to do runtime linking.
  45159. - case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  45160. - for ld_flag in $LDFLAGS; do
  45161. - case $ld_flag in
  45162. - *-brtl*)
  45163. - aix_use_runtimelinking=yes
  45164. - break
  45165. - ;;
  45166. - esac
  45167. - done
  45168. - ;;
  45169. - esac
  45170. - exp_sym_flag='-bexport'
  45171. - no_entry_flag='-bnoentry'
  45172. - fi
  45173. - # When large executables or shared objects are built, AIX ld can
  45174. - # have problems creating the table of contents. If linking a library
  45175. - # or program results in "error TOC overflow" add -mminimal-toc to
  45176. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  45177. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  45178. -
  45179. - archive_cmds_CXX=''
  45180. - hardcode_direct_CXX=yes
  45181. - hardcode_libdir_separator_CXX=':'
  45182. - link_all_deplibs_CXX=yes
  45183. - if test "$GXX" = yes; then
  45184. - case $host_os in aix4.[012]|aix4.[012].*)
  45185. - # We only want to do this on AIX 4.2 and lower, the check
  45186. - # below for broken collect2 doesn't work under 4.3+
  45187. - collect2name=`${CC} -print-prog-name=collect2`
  45188. - if test -f "$collect2name" && \
  45189. - strings "$collect2name" | grep resolve_lib_name >/dev/null
  45190. - then
  45191. - # We have reworked collect2
  45192. - :
  45193. - else
  45194. - # We have old collect2
  45195. - hardcode_direct_CXX=unsupported
  45196. - # It fails to find uninstalled libraries when the uninstalled
  45197. - # path is not listed in the libpath. Setting hardcode_minus_L
  45198. - # to unsupported forces relinking
  45199. - hardcode_minus_L_CXX=yes
  45200. - hardcode_libdir_flag_spec_CXX='-L$libdir'
  45201. - hardcode_libdir_separator_CXX=
  45202. - fi
  45203. - ;;
  45204. - esac
  45205. - shared_flag='-shared'
  45206. - if test "$aix_use_runtimelinking" = yes; then
  45207. - shared_flag="$shared_flag "'${wl}-G'
  45208. - fi
  45209. - else
  45210. - # not using gcc
  45211. - if test "$host_cpu" = ia64; then
  45212. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  45213. - # chokes on -Wl,-G. The following line is correct:
  45214. - shared_flag='-G'
  45215. - else
  45216. - if test "$aix_use_runtimelinking" = yes; then
  45217. - shared_flag='${wl}-G'
  45218. - else
  45219. - shared_flag='${wl}-bM:SRE'
  45220. - fi
  45221. - fi
  45222. - fi
  45223. - # It seems that -bexpall does not export symbols beginning with
  45224. - # underscore (_), so it is better to generate a list of symbols to export.
  45225. - always_export_symbols_CXX=yes
  45226. - if test "$aix_use_runtimelinking" = yes; then
  45227. - # Warning - without using the other runtime loading flags (-brtl),
  45228. - # -berok will link without error, but may produce a broken library.
  45229. - allow_undefined_flag_CXX='-berok'
  45230. - # Determine the default libpath from the value encoded in an empty executable.
  45231. - cat >conftest.$ac_ext <<_ACEOF
  45232. -/* confdefs.h. */
  45233. -_ACEOF
  45234. -cat confdefs.h >>conftest.$ac_ext
  45235. -cat >>conftest.$ac_ext <<_ACEOF
  45236. -/* end confdefs.h. */
  45237. -int
  45238. -main ()
  45239. -{
  45240. - ;
  45241. - return 0;
  45242. -}
  45243. -_ACEOF
  45244. -rm -f conftest.$ac_objext conftest$ac_exeext
  45245. -if { (ac_try="$ac_link"
  45246. -case "(($ac_try" in
  45247. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  45248. - *) ac_try_echo=$ac_try;;
  45249. -esac
  45250. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  45251. -$as_echo "$ac_try_echo") >&5
  45252. - (eval "$ac_link") 2>conftest.er1
  45253. - ac_status=$?
  45254. - grep -v '^ *+' conftest.er1 >conftest.err
  45255. - rm -f conftest.er1
  45256. - cat conftest.err >&5
  45257. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  45258. - (exit $ac_status); } && {
  45259. - test -z "$ac_cxx_werror_flag" ||
  45260. - test ! -s conftest.err
  45261. - } && test -s conftest$ac_exeext && {
  45262. - test "$cross_compiling" = yes ||
  45263. - $as_test_x conftest$ac_exeext
  45264. - }; then
  45265. -lt_aix_libpath_sed='
  45266. - /Import File Strings/,/^$/ {
  45267. - /^0/ {
  45268. - s/^0 *\(.*\)$/\1/
  45269. - p
  45270. - }
  45271. - }'
  45272. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  45273. -# Check for a 64-bit object if we didn't find anything.
  45274. -if test -z "$aix_libpath"; then
  45275. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  45276. -fi
  45277. -else
  45278. - $as_echo "$as_me: failed program was:" >&5
  45279. -sed 's/^/| /' conftest.$ac_ext >&5
  45280. -fi
  45281. -rm -rf conftest.dSYM
  45282. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  45283. - conftest$ac_exeext conftest.$ac_ext
  45284. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  45285. - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  45286. - archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  45287. - else
  45288. - if test "$host_cpu" = ia64; then
  45289. - hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
  45290. - allow_undefined_flag_CXX="-z nodefs"
  45291. - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  45292. - else
  45293. - # Determine the default libpath from the value encoded in an empty executable.
  45294. - cat >conftest.$ac_ext <<_ACEOF
  45295. -/* confdefs.h. */
  45296. -_ACEOF
  45297. -cat confdefs.h >>conftest.$ac_ext
  45298. -cat >>conftest.$ac_ext <<_ACEOF
  45299. -/* end confdefs.h. */
  45300. -int
  45301. -main ()
  45302. -{
  45303. - ;
  45304. - return 0;
  45305. -}
  45306. -_ACEOF
  45307. -rm -f conftest.$ac_objext conftest$ac_exeext
  45308. -if { (ac_try="$ac_link"
  45309. -case "(($ac_try" in
  45310. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  45311. - *) ac_try_echo=$ac_try;;
  45312. -esac
  45313. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  45314. -$as_echo "$ac_try_echo") >&5
  45315. - (eval "$ac_link") 2>conftest.er1
  45316. - ac_status=$?
  45317. - grep -v '^ *+' conftest.er1 >conftest.err
  45318. - rm -f conftest.er1
  45319. - cat conftest.err >&5
  45320. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  45321. - (exit $ac_status); } && {
  45322. - test -z "$ac_cxx_werror_flag" ||
  45323. - test ! -s conftest.err
  45324. - } && test -s conftest$ac_exeext && {
  45325. - test "$cross_compiling" = yes ||
  45326. - $as_test_x conftest$ac_exeext
  45327. - }; then
  45328. -lt_aix_libpath_sed='
  45329. - /Import File Strings/,/^$/ {
  45330. - /^0/ {
  45331. - s/^0 *\(.*\)$/\1/
  45332. - p
  45333. - }
  45334. - }'
  45335. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  45336. -# Check for a 64-bit object if we didn't find anything.
  45337. -if test -z "$aix_libpath"; then
  45338. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  45339. -fi
  45340. -else
  45341. - $as_echo "$as_me: failed program was:" >&5
  45342. -sed 's/^/| /' conftest.$ac_ext >&5
  45343. -fi
  45344. -rm -rf conftest.dSYM
  45345. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  45346. - conftest$ac_exeext conftest.$ac_ext
  45347. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  45348. - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  45349. - # Warning - without using the other run time loading flags,
  45350. - # -berok will link without error, but may produce a broken library.
  45351. - no_undefined_flag_CXX=' ${wl}-bernotok'
  45352. - allow_undefined_flag_CXX=' ${wl}-berok'
  45353. - # Exported symbols can be pulled into shared objects from archives
  45354. - whole_archive_flag_spec_CXX='$convenience'
  45355. - archive_cmds_need_lc_CXX=yes
  45356. - # This is similar to how AIX traditionally builds its shared libraries.
  45357. - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  45358. - fi
  45359. - fi
  45360. - ;;
  45361. - beos*)
  45362. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  45363. - allow_undefined_flag_CXX=unsupported
  45364. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  45365. - # support --undefined. This deserves some investigation. FIXME
  45366. - archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  45367. - else
  45368. - ld_shlibs_CXX=no
  45369. - fi
  45370. - ;;
  45371. - chorus*)
  45372. - case $cc_basename in
  45373. - *)
  45374. - # FIXME: insert proper C++ library support
  45375. - ld_shlibs_CXX=no
  45376. - ;;
  45377. - esac
  45378. - ;;
  45379. - cygwin* | mingw* | pw32*)
  45380. - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
  45381. - # as there is no search path for DLLs.
  45382. - hardcode_libdir_flag_spec_CXX='-L$libdir'
  45383. - allow_undefined_flag_CXX=unsupported
  45384. - always_export_symbols_CXX=no
  45385. - enable_shared_with_static_runtimes_CXX=yes
  45386. -
  45387. - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  45388. - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  45389. - # If the export-symbols file already is a .def file (1st line
  45390. - # is EXPORTS), use it as is; otherwise, prepend...
  45391. - archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  45392. - cp $export_symbols $output_objdir/$soname.def;
  45393. - else
  45394. - echo EXPORTS > $output_objdir/$soname.def;
  45395. - cat $export_symbols >> $output_objdir/$soname.def;
  45396. - fi~
  45397. - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  45398. - else
  45399. - ld_shlibs_CXX=no
  45400. - fi
  45401. - ;;
  45402. - darwin* | rhapsody*)
  45403. - archive_cmds_need_lc_CXX=no
  45404. - hardcode_direct_CXX=no
  45405. - hardcode_automatic_CXX=yes
  45406. - hardcode_shlibpath_var_CXX=unsupported
  45407. - whole_archive_flag_spec_CXX=''
  45408. - link_all_deplibs_CXX=yes
  45409. - allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
  45410. - if test "$GXX" = yes ; then
  45411. - output_verbose_link_cmd='echo'
  45412. - archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  45413. - module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  45414. - archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  45415. - module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  45416. - if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  45417. - archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
  45418. - archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
  45419. - fi
  45420. - else
  45421. - case $cc_basename in
  45422. - xlc*)
  45423. - output_verbose_link_cmd='echo'
  45424. - archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
  45425. - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  45426. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  45427. - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  45428. - module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  45429. - ;;
  45430. - *)
  45431. - ld_shlibs_CXX=no
  45432. - ;;
  45433. - esac
  45434. - fi
  45435. - ;;
  45436. - dgux*)
  45437. - case $cc_basename in
  45438. - ec++*)
  45439. - # FIXME: insert proper C++ library support
  45440. - ld_shlibs_CXX=no
  45441. - ;;
  45442. - ghcx*)
  45443. - # Green Hills C++ Compiler
  45444. - # FIXME: insert proper C++ library support
  45445. - ld_shlibs_CXX=no
  45446. - ;;
  45447. - *)
  45448. - # FIXME: insert proper C++ library support
  45449. - ld_shlibs_CXX=no
  45450. - ;;
  45451. - esac
  45452. - ;;
  45453. - freebsd[12]*)
  45454. - # C++ shared libraries reported to be fairly broken before switch to ELF
  45455. - ld_shlibs_CXX=no
  45456. - ;;
  45457. - freebsd-elf*)
  45458. - archive_cmds_need_lc_CXX=no
  45459. - ;;
  45460. - freebsd* | dragonfly*)
  45461. - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  45462. - # conventions
  45463. - ld_shlibs_CXX=yes
  45464. - ;;
  45465. - gnu*)
  45466. - ;;
  45467. - hpux9*)
  45468. - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  45469. - hardcode_libdir_separator_CXX=:
  45470. - export_dynamic_flag_spec_CXX='${wl}-E'
  45471. - hardcode_direct_CXX=yes
  45472. - hardcode_minus_L_CXX=yes # Not in the search PATH,
  45473. - # but as the default
  45474. - # location of the library.
  45475. -
  45476. - case $cc_basename in
  45477. - CC*)
  45478. - # FIXME: insert proper C++ library support
  45479. - ld_shlibs_CXX=no
  45480. - ;;
  45481. - aCC*)
  45482. - archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  45483. - # Commands to make compiler produce verbose output that lists
  45484. - # what "hidden" libraries, object files and flags are used when
  45485. - # linking a shared library.
  45486. - #
  45487. - # There doesn't appear to be a way to prevent this compiler from
  45488. - # explicitly linking system object files so we need to strip them
  45489. - # from the output so that they don't get included in the library
  45490. - # dependencies.
  45491. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  45492. - ;;
  45493. - *)
  45494. - if test "$GXX" = yes; then
  45495. - archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  45496. - else
  45497. - # FIXME: insert proper C++ library support
  45498. - ld_shlibs_CXX=no
  45499. - fi
  45500. - ;;
  45501. - esac
  45502. - ;;
  45503. - hpux10*|hpux11*)
  45504. - if test $with_gnu_ld = no; then
  45505. - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  45506. - hardcode_libdir_separator_CXX=:
  45507. - case $host_cpu in
  45508. - hppa*64*|ia64*) ;;
  45509. - *)
  45510. - export_dynamic_flag_spec_CXX='${wl}-E'
  45511. - ;;
  45512. - esac
  45513. - fi
  45514. - case $host_cpu in
  45515. - hppa*64*|ia64*)
  45516. - hardcode_direct_CXX=no
  45517. - hardcode_shlibpath_var_CXX=no
  45518. - ;;
  45519. - *)
  45520. - hardcode_direct_CXX=yes
  45521. - hardcode_minus_L_CXX=yes # Not in the search PATH,
  45522. - # but as the default
  45523. - # location of the library.
  45524. - ;;
  45525. - esac
  45526. - case $cc_basename in
  45527. - CC*)
  45528. - # FIXME: insert proper C++ library support
  45529. - ld_shlibs_CXX=no
  45530. - ;;
  45531. - aCC*)
  45532. - case $host_cpu in
  45533. - hppa*64*)
  45534. - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  45535. - ;;
  45536. - ia64*)
  45537. - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  45538. - ;;
  45539. - *)
  45540. - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  45541. - ;;
  45542. - esac
  45543. - # Commands to make compiler produce verbose output that lists
  45544. - # what "hidden" libraries, object files and flags are used when
  45545. - # linking a shared library.
  45546. - #
  45547. - # There doesn't appear to be a way to prevent this compiler from
  45548. - # explicitly linking system object files so we need to strip them
  45549. - # from the output so that they don't get included in the library
  45550. - # dependencies.
  45551. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  45552. - ;;
  45553. - *)
  45554. - if test "$GXX" = yes; then
  45555. - if test $with_gnu_ld = no; then
  45556. - case $host_cpu in
  45557. - hppa*64*)
  45558. - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  45559. - ;;
  45560. - ia64*)
  45561. - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  45562. - ;;
  45563. - *)
  45564. - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  45565. - ;;
  45566. - esac
  45567. - fi
  45568. - else
  45569. - # FIXME: insert proper C++ library support
  45570. - ld_shlibs_CXX=no
  45571. - fi
  45572. - ;;
  45573. - esac
  45574. - ;;
  45575. - interix[3-9]*)
  45576. - hardcode_direct_CXX=no
  45577. - hardcode_shlibpath_var_CXX=no
  45578. - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  45579. - export_dynamic_flag_spec_CXX='${wl}-E'
  45580. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  45581. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  45582. - # default) and relocated if they conflict, which is a slow very memory
  45583. - # consuming and fragmenting process. To avoid this, we pick a random,
  45584. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  45585. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  45586. - archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  45587. - archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  45588. - ;;
  45589. - irix5* | irix6*)
  45590. - case $cc_basename in
  45591. - CC*)
  45592. - # SGI C++
  45593. - archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  45594. -
  45595. - # Archives containing C++ object files must be created using
  45596. - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  45597. - # necessary to make sure instantiated templates are included
  45598. - # in the archive.
  45599. - old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
  45600. - ;;
  45601. - *)
  45602. - if test "$GXX" = yes; then
  45603. - if test "$with_gnu_ld" = no; then
  45604. - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  45605. - else
  45606. - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
  45607. - fi
  45608. - fi
  45609. - link_all_deplibs_CXX=yes
  45610. - ;;
  45611. - esac
  45612. - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  45613. - hardcode_libdir_separator_CXX=:
  45614. - ;;
  45615. - linux* | k*bsd*-gnu)
  45616. - case $cc_basename in
  45617. - KCC*)
  45618. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  45619. -
  45620. - # KCC will only create a shared library if the output file
  45621. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  45622. - # to its proper name (with version) after linking.
  45623. - archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  45624. - archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
  45625. - # Commands to make compiler produce verbose output that lists
  45626. - # what "hidden" libraries, object files and flags are used when
  45627. - # linking a shared library.
  45628. - #
  45629. - # There doesn't appear to be a way to prevent this compiler from
  45630. - # explicitly linking system object files so we need to strip them
  45631. - # from the output so that they don't get included in the library
  45632. - # dependencies.
  45633. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  45634. -
  45635. - hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
  45636. - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  45637. -
  45638. - # Archives containing C++ object files must be created using
  45639. - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  45640. - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
  45641. - ;;
  45642. - icpc*)
  45643. - # Intel C++
  45644. - with_gnu_ld=yes
  45645. - # version 8.0 and above of icpc choke on multiply defined symbols
  45646. - # if we add $predep_objects and $postdep_objects, however 7.1 and
  45647. - # earlier do not add the objects themselves.
  45648. - case `$CC -V 2>&1` in
  45649. - *"Version 7."*)
  45650. - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  45651. - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  45652. - ;;
  45653. - *) # Version 8.0 or newer
  45654. - tmp_idyn=
  45655. - case $host_cpu in
  45656. - ia64*) tmp_idyn=' -i_dynamic';;
  45657. - esac
  45658. - archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  45659. - archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  45660. - ;;
  45661. - esac
  45662. - archive_cmds_need_lc_CXX=no
  45663. - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  45664. - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  45665. - whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  45666. - ;;
  45667. - pgCC* | pgcpp*)
  45668. - # Portland Group C++ compiler
  45669. - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  45670. - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  45671. -
  45672. - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
  45673. - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  45674. - whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  45675. - ;;
  45676. - cxx*)
  45677. - # Compaq C++
  45678. - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  45679. - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
  45680. - runpath_var=LD_RUN_PATH
  45681. - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
  45682. - hardcode_libdir_separator_CXX=:
  45683. - # Commands to make compiler produce verbose output that lists
  45684. - # what "hidden" libraries, object files and flags are used when
  45685. - # linking a shared library.
  45686. - #
  45687. - # There doesn't appear to be a way to prevent this compiler from
  45688. - # explicitly linking system object files so we need to strip them
  45689. - # from the output so that they don't get included in the library
  45690. - # dependencies.
  45691. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  45692. - ;;
  45693. - *)
  45694. - case `$CC -V 2>&1 | sed 5q` in
  45695. - *Sun\ C*)
  45696. - # Sun C++ 5.9
  45697. - no_undefined_flag_CXX=' -zdefs'
  45698. - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  45699. - archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
  45700. - hardcode_libdir_flag_spec_CXX='-R$libdir'
  45701. - whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  45702. - # Not sure whether something based on
  45703. - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  45704. - # would be better.
  45705. - output_verbose_link_cmd='echo'
  45706. -
  45707. - # Archives containing C++ object files must be created using
  45708. - # "CC -xar", where "CC" is the Sun C++ compiler. This is
  45709. - # necessary to make sure instantiated templates are included
  45710. - # in the archive.
  45711. - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
  45712. - ;;
  45713. - esac
  45714. - ;;
  45715. - esac
  45716. - ;;
  45717. - lynxos*)
  45718. - # FIXME: insert proper C++ library support
  45719. - ld_shlibs_CXX=no
  45720. - ;;
  45721. - m88k*)
  45722. - # FIXME: insert proper C++ library support
  45723. - ld_shlibs_CXX=no
  45724. - ;;
  45725. - mvs*)
  45726. - case $cc_basename in
  45727. - cxx*)
  45728. - # FIXME: insert proper C++ library support
  45729. - ld_shlibs_CXX=no
  45730. - ;;
  45731. - *)
  45732. - # FIXME: insert proper C++ library support
  45733. - ld_shlibs_CXX=no
  45734. - ;;
  45735. - esac
  45736. - ;;
  45737. - netbsd*)
  45738. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  45739. - archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  45740. - wlarc=
  45741. - hardcode_libdir_flag_spec_CXX='-R$libdir'
  45742. - hardcode_direct_CXX=yes
  45743. - hardcode_shlibpath_var_CXX=no
  45744. - fi
  45745. - # Workaround some broken pre-1.5 toolchains
  45746. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  45747. - ;;
  45748. - openbsd2*)
  45749. - # C++ shared libraries are fairly broken
  45750. - ld_shlibs_CXX=no
  45751. - ;;
  45752. - openbsd*)
  45753. - if test -f /usr/libexec/ld.so; then
  45754. - hardcode_direct_CXX=yes
  45755. - hardcode_shlibpath_var_CXX=no
  45756. - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  45757. - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  45758. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  45759. - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
  45760. - export_dynamic_flag_spec_CXX='${wl}-E'
  45761. - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  45762. - fi
  45763. - output_verbose_link_cmd='echo'
  45764. - else
  45765. - ld_shlibs_CXX=no
  45766. - fi
  45767. - ;;
  45768. - osf3*)
  45769. - case $cc_basename in
  45770. - KCC*)
  45771. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  45772. -
  45773. - # KCC will only create a shared library if the output file
  45774. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  45775. - # to its proper name (with version) after linking.
  45776. - archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  45777. - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  45778. - hardcode_libdir_separator_CXX=:
  45779. - # Archives containing C++ object files must be created using
  45780. - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  45781. - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
  45782. - ;;
  45783. - RCC*)
  45784. - # Rational C++ 2.4.1
  45785. - # FIXME: insert proper C++ library support
  45786. - ld_shlibs_CXX=no
  45787. - ;;
  45788. - cxx*)
  45789. - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  45790. - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  45791. -
  45792. - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  45793. - hardcode_libdir_separator_CXX=:
  45794. -
  45795. - # Commands to make compiler produce verbose output that lists
  45796. - # what "hidden" libraries, object files and flags are used when
  45797. - # linking a shared library.
  45798. - #
  45799. - # There doesn't appear to be a way to prevent this compiler from
  45800. - # explicitly linking system object files so we need to strip them
  45801. - # from the output so that they don't get included in the library
  45802. - # dependencies.
  45803. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  45804. - ;;
  45805. - *)
  45806. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  45807. - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  45808. - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  45809. - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  45810. - hardcode_libdir_separator_CXX=:
  45811. - # Commands to make compiler produce verbose output that lists
  45812. - # what "hidden" libraries, object files and flags are used when
  45813. - # linking a shared library.
  45814. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  45815. - else
  45816. - # FIXME: insert proper C++ library support
  45817. - ld_shlibs_CXX=no
  45818. - fi
  45819. - ;;
  45820. - esac
  45821. - ;;
  45822. - osf4* | osf5*)
  45823. - case $cc_basename in
  45824. - KCC*)
  45825. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  45826. -
  45827. - # KCC will only create a shared library if the output file
  45828. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  45829. - # to its proper name (with version) after linking.
  45830. - archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  45831. - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  45832. - hardcode_libdir_separator_CXX=:
  45833. - # Archives containing C++ object files must be created using
  45834. - # the KAI C++ compiler.
  45835. - old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
  45836. - ;;
  45837. - RCC*)
  45838. - # Rational C++ 2.4.1
  45839. - # FIXME: insert proper C++ library support
  45840. - ld_shlibs_CXX=no
  45841. - ;;
  45842. - cxx*)
  45843. - allow_undefined_flag_CXX=' -expect_unresolved \*'
  45844. - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  45845. - archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  45846. - echo "-hidden">> $lib.exp~
  45847. - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
  45848. - $rm $lib.exp'
  45849. -
  45850. - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
  45851. - hardcode_libdir_separator_CXX=:
  45852. -
  45853. - # Commands to make compiler produce verbose output that lists
  45854. - # what "hidden" libraries, object files and flags are used when
  45855. - # linking a shared library.
  45856. - #
  45857. - # There doesn't appear to be a way to prevent this compiler from
  45858. - # explicitly linking system object files so we need to strip them
  45859. - # from the output so that they don't get included in the library
  45860. - # dependencies.
  45861. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
  45862. - ;;
  45863. - *)
  45864. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  45865. - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  45866. - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  45867. - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  45868. - hardcode_libdir_separator_CXX=:
  45869. - # Commands to make compiler produce verbose output that lists
  45870. - # what "hidden" libraries, object files and flags are used when
  45871. - # linking a shared library.
  45872. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  45873. - else
  45874. - # FIXME: insert proper C++ library support
  45875. - ld_shlibs_CXX=no
  45876. - fi
  45877. - ;;
  45878. - esac
  45879. - ;;
  45880. - psos*)
  45881. - # FIXME: insert proper C++ library support
  45882. - ld_shlibs_CXX=no
  45883. - ;;
  45884. - sunos4*)
  45885. - case $cc_basename in
  45886. - CC*)
  45887. - # Sun C++ 4.x
  45888. - # FIXME: insert proper C++ library support
  45889. - ld_shlibs_CXX=no
  45890. - ;;
  45891. - lcc*)
  45892. - # Lucid
  45893. - # FIXME: insert proper C++ library support
  45894. - ld_shlibs_CXX=no
  45895. - ;;
  45896. - *)
  45897. - # FIXME: insert proper C++ library support
  45898. - ld_shlibs_CXX=no
  45899. - ;;
  45900. - esac
  45901. - ;;
  45902. - solaris*)
  45903. - case $cc_basename in
  45904. - CC*)
  45905. - # Sun C++ 4.2, 5.x and Centerline C++
  45906. - archive_cmds_need_lc_CXX=yes
  45907. - no_undefined_flag_CXX=' -zdefs'
  45908. - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  45909. - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  45910. - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  45911. - hardcode_libdir_flag_spec_CXX='-R$libdir'
  45912. - hardcode_shlibpath_var_CXX=no
  45913. - case $host_os in
  45914. - solaris2.[0-5] | solaris2.[0-5].*) ;;
  45915. - *)
  45916. - # The compiler driver will combine and reorder linker options,
  45917. - # but understands `-z linker_flag'.
  45918. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  45919. - whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
  45920. - ;;
  45921. - esac
  45922. - link_all_deplibs_CXX=yes
  45923. - output_verbose_link_cmd='echo'
  45924. - # Archives containing C++ object files must be created using
  45925. - # "CC -xar", where "CC" is the Sun C++ compiler. This is
  45926. - # necessary to make sure instantiated templates are included
  45927. - # in the archive.
  45928. - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
  45929. - ;;
  45930. - gcx*)
  45931. - # Green Hills C++ Compiler
  45932. - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  45933. - # The C++ compiler must be used to create the archive.
  45934. - old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  45935. - ;;
  45936. - *)
  45937. - # GNU C++ compiler with Solaris linker
  45938. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  45939. - no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
  45940. - if $CC --version | grep -v '^2\.7' > /dev/null; then
  45941. - archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  45942. - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  45943. - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  45944. - # Commands to make compiler produce verbose output that lists
  45945. - # what "hidden" libraries, object files and flags are used when
  45946. - # linking a shared library.
  45947. - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
  45948. - else
  45949. - # g++ 2.7 appears to require `-G' NOT `-shared' on this
  45950. - # platform.
  45951. - archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  45952. - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  45953. - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  45954. - # Commands to make compiler produce verbose output that lists
  45955. - # what "hidden" libraries, object files and flags are used when
  45956. - # linking a shared library.
  45957. - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
  45958. - fi
  45959. - hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
  45960. - case $host_os in
  45961. - solaris2.[0-5] | solaris2.[0-5].*) ;;
  45962. - *)
  45963. - whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  45964. - ;;
  45965. - esac
  45966. - fi
  45967. - ;;
  45968. - esac
  45969. - ;;
  45970. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  45971. - no_undefined_flag_CXX='${wl}-z,text'
  45972. - archive_cmds_need_lc_CXX=no
  45973. - hardcode_shlibpath_var_CXX=no
  45974. - runpath_var='LD_RUN_PATH'
  45975. -
  45976. - case $cc_basename in
  45977. - CC*)
  45978. - archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  45979. - archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  45980. - ;;
  45981. - *)
  45982. - archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  45983. - archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  45984. - ;;
  45985. - esac
  45986. - ;;
  45987. - sysv5* | sco3.2v5* | sco5v6*)
  45988. - # Note: We can NOT use -z defs as we might desire, because we do not
  45989. - # link with -lc, and that would cause any symbols used from libc to
  45990. - # always be unresolved, which means just about no library would
  45991. - # ever link correctly. If we're not using GNU ld we use -z text
  45992. - # though, which does catch some bad symbols but isn't as heavy-handed
  45993. - # as -z defs.
  45994. - # For security reasons, it is highly recommended that you always
  45995. - # use absolute paths for naming shared libraries, and exclude the
  45996. - # DT_RUNPATH tag from executables and libraries. But doing so
  45997. - # requires that you compile everything twice, which is a pain.
  45998. - # So that behaviour is only enabled if SCOABSPATH is set to a
  45999. - # non-empty value in the environment. Most likely only useful for
  46000. - # creating official distributions of packages.
  46001. - # This is a hack until libtool officially supports absolute path
  46002. - # names for shared libraries.
  46003. - no_undefined_flag_CXX='${wl}-z,text'
  46004. - allow_undefined_flag_CXX='${wl}-z,nodefs'
  46005. - archive_cmds_need_lc_CXX=no
  46006. - hardcode_shlibpath_var_CXX=no
  46007. - hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  46008. - hardcode_libdir_separator_CXX=':'
  46009. - link_all_deplibs_CXX=yes
  46010. - export_dynamic_flag_spec_CXX='${wl}-Bexport'
  46011. - runpath_var='LD_RUN_PATH'
  46012. -
  46013. - case $cc_basename in
  46014. - CC*)
  46015. - archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  46016. - archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  46017. - ;;
  46018. - *)
  46019. - archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  46020. - archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  46021. - ;;
  46022. - esac
  46023. - ;;
  46024. - tandem*)
  46025. - case $cc_basename in
  46026. - NCC*)
  46027. - # NonStop-UX NCC 3.20
  46028. - # FIXME: insert proper C++ library support
  46029. - ld_shlibs_CXX=no
  46030. - ;;
  46031. - *)
  46032. - # FIXME: insert proper C++ library support
  46033. - ld_shlibs_CXX=no
  46034. - ;;
  46035. - esac
  46036. - ;;
  46037. - vxworks*)
  46038. - # FIXME: insert proper C++ library support
  46039. - ld_shlibs_CXX=no
  46040. - ;;
  46041. - *)
  46042. - # FIXME: insert proper C++ library support
  46043. - ld_shlibs_CXX=no
  46044. - ;;
  46045. -esac
  46046. -{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
  46047. -$as_echo "$ld_shlibs_CXX" >&6; }
  46048. -test "$ld_shlibs_CXX" = no && can_build_shared=no
  46049. -GCC_CXX="$GXX"
  46050. -LD_CXX="$LD"
  46051. -cat > conftest.$ac_ext <<EOF
  46052. -class Foo
  46053. -{
  46054. -public:
  46055. - Foo (void) { a = 0; }
  46056. -private:
  46057. - int a;
  46058. -};
  46059. -EOF
  46060. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  46061. - (eval $ac_compile) 2>&5
  46062. - ac_status=$?
  46063. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  46064. - (exit $ac_status); }; then
  46065. - # Parse the compiler output and extract the necessary
  46066. - # objects, libraries and library flags.
  46067. - # Sentinel used to keep track of whether or not we are before
  46068. - # the conftest object file.
  46069. - pre_test_object_deps_done=no
  46070. - # The `*' in the case matches for architectures that use `case' in
  46071. - # $output_verbose_cmd can trigger glob expansion during the loop
  46072. - # eval without this substitution.
  46073. - output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
  46074. - for p in `eval $output_verbose_link_cmd`; do
  46075. - case $p in
  46076. - -L* | -R* | -l*)
  46077. - # Some compilers place space between "-{L,R}" and the path.
  46078. - # Remove the space.
  46079. - if test $p = "-L" \
  46080. - || test $p = "-R"; then
  46081. - prev=$p
  46082. - continue
  46083. - else
  46084. - prev=
  46085. - fi
  46086. - if test "$pre_test_object_deps_done" = no; then
  46087. - case $p in
  46088. - -L* | -R*)
  46089. - # Internal compiler library paths should come after those
  46090. - # provided the user. The postdeps already come after the
  46091. - # user supplied libs so there is no need to process them.
  46092. - if test -z "$compiler_lib_search_path_CXX"; then
  46093. - compiler_lib_search_path_CXX="${prev}${p}"
  46094. - else
  46095. - compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
  46096. - fi
  46097. - ;;
  46098. - # The "-l" case would never come before the object being
  46099. - # linked, so don't bother handling this case.
  46100. - esac
  46101. - else
  46102. - if test -z "$postdeps_CXX"; then
  46103. - postdeps_CXX="${prev}${p}"
  46104. - else
  46105. - postdeps_CXX="${postdeps_CXX} ${prev}${p}"
  46106. - fi
  46107. - fi
  46108. - ;;
  46109. - *.$objext)
  46110. - # This assumes that the test object file only shows up
  46111. - # once in the compiler output.
  46112. - if test "$p" = "conftest.$objext"; then
  46113. - pre_test_object_deps_done=yes
  46114. - continue
  46115. - fi
  46116. - if test "$pre_test_object_deps_done" = no; then
  46117. - if test -z "$predep_objects_CXX"; then
  46118. - predep_objects_CXX="$p"
  46119. - else
  46120. - predep_objects_CXX="$predep_objects_CXX $p"
  46121. - fi
  46122. - else
  46123. - if test -z "$postdep_objects_CXX"; then
  46124. - postdep_objects_CXX="$p"
  46125. - else
  46126. - postdep_objects_CXX="$postdep_objects_CXX $p"
  46127. - fi
  46128. - fi
  46129. - ;;
  46130. - *) ;; # Ignore the rest.
  46131. - esac
  46132. - done
  46133. - # Clean up.
  46134. - rm -f a.out a.exe
  46135. -else
  46136. - echo "libtool.m4: error: problem compiling CXX test program"
  46137. -fi
  46138. -$rm -f confest.$objext
  46139. -compiler_lib_search_dirs_CXX=
  46140. -if test -n "$compiler_lib_search_path_CXX"; then
  46141. - compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  46142. -fi
  46143. -# PORTME: override above test on systems where it is broken
  46144. -case $host_os in
  46145. -interix[3-9]*)
  46146. - # Interix 3.5 installs completely hosed .la files for C++, so rather than
  46147. - # hack all around it, let's just trust "g++" to DTRT.
  46148. - predep_objects_CXX=
  46149. - postdep_objects_CXX=
  46150. - postdeps_CXX=
  46151. - ;;
  46152. -linux*)
  46153. - case `$CC -V 2>&1 | sed 5q` in
  46154. - *Sun\ C*)
  46155. - # Sun C++ 5.9
  46156. - #
  46157. - # The more standards-conforming stlport4 library is
  46158. - # incompatible with the Cstd library. Avoid specifying
  46159. - # it if it's in CXXFLAGS. Ignore libCrun as
  46160. - # -library=stlport4 depends on it.
  46161. - case " $CXX $CXXFLAGS " in
  46162. - *" -library=stlport4 "*)
  46163. - solaris_use_stlport4=yes
  46164. - ;;
  46165. - esac
  46166. - if test "$solaris_use_stlport4" != yes; then
  46167. - postdeps_CXX='-library=Cstd -library=Crun'
  46168. - fi
  46169. - ;;
  46170. - esac
  46171. - ;;
  46172. -solaris*)
  46173. - case $cc_basename in
  46174. - CC*)
  46175. - # The more standards-conforming stlport4 library is
  46176. - # incompatible with the Cstd library. Avoid specifying
  46177. - # it if it's in CXXFLAGS. Ignore libCrun as
  46178. - # -library=stlport4 depends on it.
  46179. - case " $CXX $CXXFLAGS " in
  46180. - *" -library=stlport4 "*)
  46181. - solaris_use_stlport4=yes
  46182. - ;;
  46183. - esac
  46184. - # Adding this requires a known-good setup of shared libraries for
  46185. - # Sun compiler versions before 5.6, else PIC objects from an old
  46186. - # archive will be linked into the output, leading to subtle bugs.
  46187. - if test "$solaris_use_stlport4" != yes; then
  46188. - postdeps_CXX='-library=Cstd -library=Crun'
  46189. - fi
  46190. - ;;
  46191. - esac
  46192. - ;;
  46193. -esac
  46194. -case " $postdeps_CXX " in
  46195. -*" -lc "*) archive_cmds_need_lc_CXX=no ;;
  46196. -esac
  46197. -lt_prog_compiler_wl_CXX=
  46198. -lt_prog_compiler_pic_CXX=
  46199. -lt_prog_compiler_static_CXX=
  46200. -{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  46201. -$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  46202. - # C++ specific cases for pic, static, wl, etc.
  46203. - if test "$GXX" = yes; then
  46204. - lt_prog_compiler_wl_CXX='-Wl,'
  46205. - lt_prog_compiler_static_CXX='-static'
  46206. - case $host_os in
  46207. - aix*)
  46208. - # All AIX code is PIC.
  46209. - if test "$host_cpu" = ia64; then
  46210. - # AIX 5 now supports IA64 processor
  46211. - lt_prog_compiler_static_CXX='-Bstatic'
  46212. - fi
  46213. - ;;
  46214. - amigaos*)
  46215. - # FIXME: we need at least 68020 code to build shared libraries, but
  46216. - # adding the `-m68020' flag to GCC prevents building anything better,
  46217. - # like `-m68040'.
  46218. - lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
  46219. - ;;
  46220. - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  46221. - # PIC is the default for these OSes.
  46222. - ;;
  46223. - mingw* | cygwin* | os2* | pw32*)
  46224. - # This hack is so that the source file can tell whether it is being
  46225. - # built for inclusion in a dll (and should export symbols for example).
  46226. - # Although the cygwin gcc ignores -fPIC, still need this for old-style
  46227. - # (--disable-auto-import) libraries
  46228. - lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
  46229. - ;;
  46230. - darwin* | rhapsody*)
  46231. - # PIC is the default on this platform
  46232. - # Common symbols not allowed in MH_DYLIB files
  46233. - lt_prog_compiler_pic_CXX='-fno-common'
  46234. - ;;
  46235. - *djgpp*)
  46236. - # DJGPP does not support shared libraries at all
  46237. - lt_prog_compiler_pic_CXX=
  46238. - ;;
  46239. - interix[3-9]*)
  46240. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  46241. - # Instead, we relocate shared libraries at runtime.
  46242. - ;;
  46243. - sysv4*MP*)
  46244. - if test -d /usr/nec; then
  46245. - lt_prog_compiler_pic_CXX=-Kconform_pic
  46246. - fi
  46247. - ;;
  46248. - hpux*)
  46249. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  46250. - # not for PA HP-UX.
  46251. - case $host_cpu in
  46252. - hppa*64*|ia64*)
  46253. - ;;
  46254. - *)
  46255. - lt_prog_compiler_pic_CXX='-fPIC'
  46256. - ;;
  46257. - esac
  46258. - ;;
  46259. - *)
  46260. - lt_prog_compiler_pic_CXX='-fPIC'
  46261. - ;;
  46262. - esac
  46263. +
  46264. +
  46265. +
  46266. +
  46267. +
  46268. +
  46269. +
  46270. +
  46271. +
  46272. +
  46273. +
  46274. +
  46275. +
  46276. +
  46277. +
  46278. +
  46279. +
  46280. +
  46281. +
  46282. +
  46283. +
  46284. +
  46285. +
  46286. +
  46287. +
  46288. +
  46289. +
  46290. +
  46291. +
  46292. +
  46293. +
  46294. +
  46295. +
  46296. +
  46297. +
  46298. +
  46299. +
  46300. +
  46301. +
  46302. +
  46303. +
  46304. +
  46305. +
  46306. +
  46307. +
  46308. +
  46309. +
  46310. +
  46311. +
  46312. +
  46313. +
  46314. +
  46315. +
  46316. +
  46317. +
  46318. +
  46319. +
  46320. +
  46321. +
  46322. +
  46323. +
  46324. +
  46325. +
  46326. +
  46327. +
  46328. +
  46329. +
  46330. +
  46331. +
  46332. +
  46333. +
  46334. +
  46335. +
  46336. +
  46337. +
  46338. +
  46339. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  46340. +$as_echo_n "checking dynamic linker characteristics... " >&6; }
  46341. +
  46342. +if test "$GCC" = yes; then
  46343. + case $host_os in
  46344. + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  46345. + *) lt_awk_arg="/^libraries:/" ;;
  46346. + esac
  46347. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  46348. + if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  46349. + # if the path contains ";" then we assume it to be the separator
  46350. + # otherwise default to the standard path separator (i.e. ":") - it is
  46351. + # assumed that no part of a normal pathname contains ";" but that should
  46352. + # okay in the real world where ";" in dirpaths is itself problematic.
  46353. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  46354. else
  46355. - case $host_os in
  46356. - aix[4-9]*)
  46357. - # All AIX code is PIC.
  46358. - if test "$host_cpu" = ia64; then
  46359. - # AIX 5 now supports IA64 processor
  46360. - lt_prog_compiler_static_CXX='-Bstatic'
  46361. - else
  46362. - lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
  46363. - fi
  46364. - ;;
  46365. - chorus*)
  46366. - case $cc_basename in
  46367. - cxch68*)
  46368. - # Green Hills C++ Compiler
  46369. - # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
  46370. - ;;
  46371. - esac
  46372. - ;;
  46373. - darwin*)
  46374. - # PIC is the default on this platform
  46375. - # Common symbols not allowed in MH_DYLIB files
  46376. - case $cc_basename in
  46377. - xlc*)
  46378. - lt_prog_compiler_pic_CXX='-qnocommon'
  46379. - lt_prog_compiler_wl_CXX='-Wl,'
  46380. - ;;
  46381. - esac
  46382. - ;;
  46383. - dgux*)
  46384. - case $cc_basename in
  46385. - ec++*)
  46386. - lt_prog_compiler_pic_CXX='-KPIC'
  46387. - ;;
  46388. - ghcx*)
  46389. - # Green Hills C++ Compiler
  46390. - lt_prog_compiler_pic_CXX='-pic'
  46391. - ;;
  46392. - *)
  46393. - ;;
  46394. - esac
  46395. - ;;
  46396. - freebsd* | dragonfly*)
  46397. - # FreeBSD uses GNU C++
  46398. - ;;
  46399. - hpux9* | hpux10* | hpux11*)
  46400. - case $cc_basename in
  46401. - CC*)
  46402. - lt_prog_compiler_wl_CXX='-Wl,'
  46403. - lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
  46404. - if test "$host_cpu" != ia64; then
  46405. - lt_prog_compiler_pic_CXX='+Z'
  46406. - fi
  46407. - ;;
  46408. - aCC*)
  46409. - lt_prog_compiler_wl_CXX='-Wl,'
  46410. - lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
  46411. - case $host_cpu in
  46412. - hppa*64*|ia64*)
  46413. - # +Z the default
  46414. - ;;
  46415. - *)
  46416. - lt_prog_compiler_pic_CXX='+Z'
  46417. - ;;
  46418. - esac
  46419. - ;;
  46420. - *)
  46421. - ;;
  46422. - esac
  46423. - ;;
  46424. - interix*)
  46425. - # This is c89, which is MS Visual C++ (no shared libs)
  46426. - # Anyone wants to do a port?
  46427. - ;;
  46428. - irix5* | irix6* | nonstopux*)
  46429. - case $cc_basename in
  46430. - CC*)
  46431. - lt_prog_compiler_wl_CXX='-Wl,'
  46432. - lt_prog_compiler_static_CXX='-non_shared'
  46433. - # CC pic flag -KPIC is the default.
  46434. - ;;
  46435. - *)
  46436. - ;;
  46437. - esac
  46438. - ;;
  46439. - linux* | k*bsd*-gnu)
  46440. - case $cc_basename in
  46441. - KCC*)
  46442. - # KAI C++ Compiler
  46443. - lt_prog_compiler_wl_CXX='--backend -Wl,'
  46444. - lt_prog_compiler_pic_CXX='-fPIC'
  46445. - ;;
  46446. - icpc* | ecpc*)
  46447. - # Intel C++
  46448. - lt_prog_compiler_wl_CXX='-Wl,'
  46449. - lt_prog_compiler_pic_CXX='-KPIC'
  46450. - lt_prog_compiler_static_CXX='-static'
  46451. - ;;
  46452. - pgCC* | pgcpp*)
  46453. - # Portland Group C++ compiler.
  46454. - lt_prog_compiler_wl_CXX='-Wl,'
  46455. - lt_prog_compiler_pic_CXX='-fpic'
  46456. - lt_prog_compiler_static_CXX='-Bstatic'
  46457. - ;;
  46458. - cxx*)
  46459. - # Compaq C++
  46460. - # Make sure the PIC flag is empty. It appears that all Alpha
  46461. - # Linux and Compaq Tru64 Unix objects are PIC.
  46462. - lt_prog_compiler_pic_CXX=
  46463. - lt_prog_compiler_static_CXX='-non_shared'
  46464. - ;;
  46465. - *)
  46466. - case `$CC -V 2>&1 | sed 5q` in
  46467. - *Sun\ C*)
  46468. - # Sun C++ 5.9
  46469. - lt_prog_compiler_pic_CXX='-KPIC'
  46470. - lt_prog_compiler_static_CXX='-Bstatic'
  46471. - lt_prog_compiler_wl_CXX='-Qoption ld '
  46472. - ;;
  46473. - esac
  46474. - ;;
  46475. - esac
  46476. - ;;
  46477. - lynxos*)
  46478. - ;;
  46479. - m88k*)
  46480. - ;;
  46481. - mvs*)
  46482. - case $cc_basename in
  46483. - cxx*)
  46484. - lt_prog_compiler_pic_CXX='-W c,exportall'
  46485. - ;;
  46486. - *)
  46487. - ;;
  46488. - esac
  46489. - ;;
  46490. - netbsd*)
  46491. - ;;
  46492. - osf3* | osf4* | osf5*)
  46493. - case $cc_basename in
  46494. - KCC*)
  46495. - lt_prog_compiler_wl_CXX='--backend -Wl,'
  46496. - ;;
  46497. - RCC*)
  46498. - # Rational C++ 2.4.1
  46499. - lt_prog_compiler_pic_CXX='-pic'
  46500. - ;;
  46501. - cxx*)
  46502. - # Digital/Compaq C++
  46503. - lt_prog_compiler_wl_CXX='-Wl,'
  46504. - # Make sure the PIC flag is empty. It appears that all Alpha
  46505. - # Linux and Compaq Tru64 Unix objects are PIC.
  46506. - lt_prog_compiler_pic_CXX=
  46507. - lt_prog_compiler_static_CXX='-non_shared'
  46508. - ;;
  46509. - *)
  46510. - ;;
  46511. - esac
  46512. - ;;
  46513. - psos*)
  46514. - ;;
  46515. - solaris*)
  46516. - case $cc_basename in
  46517. - CC*)
  46518. - # Sun C++ 4.2, 5.x and Centerline C++
  46519. - lt_prog_compiler_pic_CXX='-KPIC'
  46520. - lt_prog_compiler_static_CXX='-Bstatic'
  46521. - lt_prog_compiler_wl_CXX='-Qoption ld '
  46522. - ;;
  46523. - gcx*)
  46524. - # Green Hills C++ Compiler
  46525. - lt_prog_compiler_pic_CXX='-PIC'
  46526. - ;;
  46527. - *)
  46528. - ;;
  46529. - esac
  46530. - ;;
  46531. - sunos4*)
  46532. - case $cc_basename in
  46533. - CC*)
  46534. - # Sun C++ 4.x
  46535. - lt_prog_compiler_pic_CXX='-pic'
  46536. - lt_prog_compiler_static_CXX='-Bstatic'
  46537. - ;;
  46538. - lcc*)
  46539. - # Lucid
  46540. - lt_prog_compiler_pic_CXX='-pic'
  46541. - ;;
  46542. - *)
  46543. - ;;
  46544. - esac
  46545. - ;;
  46546. - tandem*)
  46547. - case $cc_basename in
  46548. - NCC*)
  46549. - # NonStop-UX NCC 3.20
  46550. - lt_prog_compiler_pic_CXX='-KPIC'
  46551. - ;;
  46552. - *)
  46553. - ;;
  46554. - esac
  46555. - ;;
  46556. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  46557. - case $cc_basename in
  46558. - CC*)
  46559. - lt_prog_compiler_wl_CXX='-Wl,'
  46560. - lt_prog_compiler_pic_CXX='-KPIC'
  46561. - lt_prog_compiler_static_CXX='-Bstatic'
  46562. - ;;
  46563. - esac
  46564. - ;;
  46565. - vxworks*)
  46566. - ;;
  46567. - *)
  46568. - lt_prog_compiler_can_build_shared_CXX=no
  46569. - ;;
  46570. - esac
  46571. - fi
  46572. -
  46573. -{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
  46574. -$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
  46575. -
  46576. -#
  46577. -# Check to make sure the PIC flag actually works.
  46578. -#
  46579. -if test -n "$lt_prog_compiler_pic_CXX"; then
  46580. -
  46581. -{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
  46582. -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
  46583. -if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
  46584. - $as_echo_n "(cached) " >&6
  46585. -else
  46586. - lt_cv_prog_compiler_pic_works_CXX=no
  46587. - ac_outfile=conftest.$ac_objext
  46588. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  46589. - lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
  46590. - # Insert the option either (1) after the last *FLAGS variable, or
  46591. - # (2) before a word containing "conftest.", or (3) at the end.
  46592. - # Note that $ac_compile itself does not contain backslashes and begins
  46593. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  46594. - # The option is referenced via a variable to avoid confusing sed.
  46595. - lt_compile=`echo "$ac_compile" | $SED \
  46596. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  46597. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  46598. - -e 's:$: $lt_compiler_flag:'`
  46599. - (eval echo "\"\$as_me:13471: $lt_compile\"" >&5)
  46600. - (eval "$lt_compile" 2>conftest.err)
  46601. - ac_status=$?
  46602. - cat conftest.err >&5
  46603. - echo "$as_me:13475: \$? = $ac_status" >&5
  46604. - if (exit $ac_status) && test -s "$ac_outfile"; then
  46605. - # The compiler can only warn and ignore the option if not recognized
  46606. - # So say no if there are warnings other than the usual output.
  46607. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  46608. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  46609. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  46610. - lt_cv_prog_compiler_pic_works_CXX=yes
  46611. - fi
  46612. - fi
  46613. - $rm conftest*
  46614. -
  46615. -fi
  46616. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
  46617. -$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
  46618. -
  46619. -if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
  46620. - case $lt_prog_compiler_pic_CXX in
  46621. - "" | " "*) ;;
  46622. - *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
  46623. - esac
  46624. -else
  46625. - lt_prog_compiler_pic_CXX=
  46626. - lt_prog_compiler_can_build_shared_CXX=no
  46627. -fi
  46628. -
  46629. -fi
  46630. -case $host_os in
  46631. - # For platforms which do not support PIC, -DPIC is meaningless:
  46632. - *djgpp*)
  46633. - lt_prog_compiler_pic_CXX=
  46634. - ;;
  46635. - *)
  46636. - lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
  46637. - ;;
  46638. -esac
  46639. -
  46640. -#
  46641. -# Check to make sure the static flag actually works.
  46642. -#
  46643. -wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
  46644. -{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  46645. -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  46646. -if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
  46647. - $as_echo_n "(cached) " >&6
  46648. -else
  46649. - lt_cv_prog_compiler_static_works_CXX=no
  46650. - save_LDFLAGS="$LDFLAGS"
  46651. - LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  46652. - echo "$lt_simple_link_test_code" > conftest.$ac_ext
  46653. - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  46654. - # The linker can only warn and ignore the option if not recognized
  46655. - # So say no if there are warnings
  46656. - if test -s conftest.err; then
  46657. - # Append any errors to the config.log.
  46658. - cat conftest.err 1>&5
  46659. - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  46660. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  46661. - if diff conftest.exp conftest.er2 >/dev/null; then
  46662. - lt_cv_prog_compiler_static_works_CXX=yes
  46663. - fi
  46664. - else
  46665. - lt_cv_prog_compiler_static_works_CXX=yes
  46666. - fi
  46667. - fi
  46668. - $rm -r conftest*
  46669. - LDFLAGS="$save_LDFLAGS"
  46670. -
  46671. -fi
  46672. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
  46673. -$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
  46674. -
  46675. -if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
  46676. - :
  46677. -else
  46678. - lt_prog_compiler_static_CXX=
  46679. -fi
  46680. -
  46681. -
  46682. -{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  46683. -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  46684. -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
  46685. - $as_echo_n "(cached) " >&6
  46686. -else
  46687. - lt_cv_prog_compiler_c_o_CXX=no
  46688. - $rm -r conftest 2>/dev/null
  46689. - mkdir conftest
  46690. - cd conftest
  46691. - mkdir out
  46692. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  46693. -
  46694. - lt_compiler_flag="-o out/conftest2.$ac_objext"
  46695. - # Insert the option either (1) after the last *FLAGS variable, or
  46696. - # (2) before a word containing "conftest.", or (3) at the end.
  46697. - # Note that $ac_compile itself does not contain backslashes and begins
  46698. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  46699. - lt_compile=`echo "$ac_compile" | $SED \
  46700. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  46701. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  46702. - -e 's:$: $lt_compiler_flag:'`
  46703. - (eval echo "\"\$as_me:13575: $lt_compile\"" >&5)
  46704. - (eval "$lt_compile" 2>out/conftest.err)
  46705. - ac_status=$?
  46706. - cat out/conftest.err >&5
  46707. - echo "$as_me:13579: \$? = $ac_status" >&5
  46708. - if (exit $ac_status) && test -s out/conftest2.$ac_objext
  46709. - then
  46710. - # The compiler can only warn and ignore the option if not recognized
  46711. - # So say no if there are warnings
  46712. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  46713. - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  46714. - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  46715. - lt_cv_prog_compiler_c_o_CXX=yes
  46716. - fi
  46717. - fi
  46718. - chmod u+w . 2>&5
  46719. - $rm conftest*
  46720. - # SGI C++ compiler will create directory out/ii_files/ for
  46721. - # template instantiation
  46722. - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  46723. - $rm out/* && rmdir out
  46724. - cd ..
  46725. - rmdir conftest
  46726. - $rm conftest*
  46727. -
  46728. -fi
  46729. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  46730. -$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
  46731. -
  46732. -
  46733. -hard_links="nottested"
  46734. -if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
  46735. - # do not overwrite the value of need_locks provided by the user
  46736. - { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  46737. -$as_echo_n "checking if we can lock with hard links... " >&6; }
  46738. - hard_links=yes
  46739. - $rm conftest*
  46740. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  46741. - touch conftest.a
  46742. - ln conftest.a conftest.b 2>&5 || hard_links=no
  46743. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  46744. - { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
  46745. -$as_echo "$hard_links" >&6; }
  46746. - if test "$hard_links" = no; then
  46747. - { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  46748. -$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  46749. - need_locks=warn
  46750. - fi
  46751. -else
  46752. - need_locks=no
  46753. -fi
  46754. -
  46755. -{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  46756. -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  46757. -
  46758. - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  46759. - case $host_os in
  46760. - aix[4-9]*)
  46761. - # If we're using GNU nm, then we don't want the "-C" option.
  46762. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  46763. - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  46764. - export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
  46765. - else
  46766. - export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
  46767. - fi
  46768. - ;;
  46769. - pw32*)
  46770. - export_symbols_cmds_CXX="$ltdll_cmds"
  46771. - ;;
  46772. - cygwin* | mingw*)
  46773. - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  46774. - ;;
  46775. - *)
  46776. - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  46777. - ;;
  46778. - esac
  46779. - exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  46780. -
  46781. -{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
  46782. -$as_echo "$ld_shlibs_CXX" >&6; }
  46783. -test "$ld_shlibs_CXX" = no && can_build_shared=no
  46784. -
  46785. -#
  46786. -# Do we need to explicitly link libc?
  46787. -#
  46788. -case "x$archive_cmds_need_lc_CXX" in
  46789. -x|xyes)
  46790. - # Assume -lc should be added
  46791. - archive_cmds_need_lc_CXX=yes
  46792. -
  46793. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  46794. - case $archive_cmds_CXX in
  46795. - *'~'*)
  46796. - # FIXME: we may have to deal with multi-command sequences.
  46797. - ;;
  46798. - '$CC '*)
  46799. - # Test whether the compiler implicitly links with -lc since on some
  46800. - # systems, -lgcc has to come before -lc. If gcc already passes -lc
  46801. - # to ld, don't add -lc before -lgcc.
  46802. - { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  46803. -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  46804. - $rm conftest*
  46805. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  46806. -
  46807. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  46808. - (eval $ac_compile) 2>&5
  46809. - ac_status=$?
  46810. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  46811. - (exit $ac_status); } 2>conftest.err; then
  46812. - soname=conftest
  46813. - lib=conftest
  46814. - libobjs=conftest.$ac_objext
  46815. - deplibs=
  46816. - wl=$lt_prog_compiler_wl_CXX
  46817. - pic_flag=$lt_prog_compiler_pic_CXX
  46818. - compiler_flags=-v
  46819. - linker_flags=-v
  46820. - verstring=
  46821. - output_objdir=.
  46822. - libname=conftest
  46823. - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
  46824. - allow_undefined_flag_CXX=
  46825. - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
  46826. - (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
  46827. - ac_status=$?
  46828. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  46829. - (exit $ac_status); }
  46830. - then
  46831. - archive_cmds_need_lc_CXX=no
  46832. - else
  46833. - archive_cmds_need_lc_CXX=yes
  46834. - fi
  46835. - allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
  46836. - else
  46837. - cat conftest.err 1>&5
  46838. - fi
  46839. - $rm conftest*
  46840. - { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
  46841. -$as_echo "$archive_cmds_need_lc_CXX" >&6; }
  46842. - ;;
  46843. - esac
  46844. - fi
  46845. - ;;
  46846. -esac
  46847. -
  46848. -{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  46849. -$as_echo_n "checking dynamic linker characteristics... " >&6; }
  46850. -library_names_spec=
  46851. -libname_spec='lib$name'
  46852. -soname_spec=
  46853. -shrext_cmds=".so"
  46854. -postinstall_cmds=
  46855. -postuninstall_cmds=
  46856. -finish_cmds=
  46857. -finish_eval=
  46858. -shlibpath_var=
  46859. -shlibpath_overrides_runpath=unknown
  46860. -version_type=none
  46861. -dynamic_linker="$host_os ld.so"
  46862. -sys_lib_dlsearch_path_spec="/lib /usr/lib"
  46863. -
  46864. -need_lib_prefix=unknown
  46865. -hardcode_into_libs=no
  46866. -
  46867. -# when you set need_version to no, make sure it does not cause -set_version
  46868. -# flags to be left without arguments
  46869. -need_version=unknown
  46870. -
  46871. -case $host_os in
  46872. -aix3*)
  46873. - version_type=linux
  46874. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  46875. - shlibpath_var=LIBPATH
  46876. -
  46877. - # AIX 3 has no versioning support, so we append a major version to the name.
  46878. - soname_spec='${libname}${release}${shared_ext}$major'
  46879. - ;;
  46880. -
  46881. -aix[4-9]*)
  46882. - version_type=linux
  46883. - need_lib_prefix=no
  46884. - need_version=no
  46885. - hardcode_into_libs=yes
  46886. - if test "$host_cpu" = ia64; then
  46887. - # AIX 5 supports IA64
  46888. - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  46889. - shlibpath_var=LD_LIBRARY_PATH
  46890. - else
  46891. - # With GCC up to 2.95.x, collect2 would create an import file
  46892. - # for dependence libraries. The import file would start with
  46893. - # the line `#! .'. This would cause the generated library to
  46894. - # depend on `.', always an invalid library. This was fixed in
  46895. - # development snapshots of GCC prior to 3.0.
  46896. - case $host_os in
  46897. - aix4 | aix4.[01] | aix4.[01].*)
  46898. - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  46899. - echo ' yes '
  46900. - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  46901. - :
  46902. - else
  46903. - can_build_shared=no
  46904. - fi
  46905. - ;;
  46906. - esac
  46907. - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  46908. - # soname into executable. Probably we can add versioning support to
  46909. - # collect2, so additional links can be useful in future.
  46910. - if test "$aix_use_runtimelinking" = yes; then
  46911. - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  46912. - # instead of lib<name>.a to let people know that these are not
  46913. - # typical AIX shared libraries.
  46914. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  46915. - else
  46916. - # We preserve .a as extension for shared libraries through AIX4.2
  46917. - # and later when we are not doing run time linking.
  46918. - library_names_spec='${libname}${release}.a $libname.a'
  46919. - soname_spec='${libname}${release}${shared_ext}$major'
  46920. - fi
  46921. - shlibpath_var=LIBPATH
  46922. - fi
  46923. - ;;
  46924. -
  46925. -amigaos*)
  46926. - library_names_spec='$libname.ixlibrary $libname.a'
  46927. - # Create ${libname}_ixlibrary.a entries in /sys/libs.
  46928. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  46929. - ;;
  46930. -
  46931. -beos*)
  46932. - library_names_spec='${libname}${shared_ext}'
  46933. - dynamic_linker="$host_os ld.so"
  46934. - shlibpath_var=LIBRARY_PATH
  46935. - ;;
  46936. -
  46937. -bsdi[45]*)
  46938. - version_type=linux
  46939. - need_version=no
  46940. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  46941. - soname_spec='${libname}${release}${shared_ext}$major'
  46942. - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  46943. - shlibpath_var=LD_LIBRARY_PATH
  46944. - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  46945. - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  46946. - # the default ld.so.conf also contains /usr/contrib/lib and
  46947. - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  46948. - # libtool to hard-code these into programs
  46949. - ;;
  46950. -
  46951. -cygwin* | mingw* | pw32*)
  46952. - version_type=windows
  46953. - shrext_cmds=".dll"
  46954. - need_version=no
  46955. - need_lib_prefix=no
  46956. -
  46957. - case $GCC,$host_os in
  46958. - yes,cygwin* | yes,mingw* | yes,pw32*)
  46959. - library_names_spec='$libname.dll.a'
  46960. - # DLL is installed to $(libdir)/../bin by postinstall_cmds
  46961. - postinstall_cmds='base_file=`basename \${file}`~
  46962. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  46963. - dldir=$destdir/`dirname \$dlpath`~
  46964. - test -d \$dldir || mkdir -p \$dldir~
  46965. - $install_prog $dir/$dlname \$dldir/$dlname~
  46966. - chmod a+x \$dldir/$dlname'
  46967. - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  46968. - dlpath=$dir/\$dldll~
  46969. - $rm \$dlpath'
  46970. - shlibpath_overrides_runpath=yes
  46971. -
  46972. - case $host_os in
  46973. - cygwin*)
  46974. - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  46975. - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  46976. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  46977. - ;;
  46978. - mingw*)
  46979. - # MinGW DLLs use traditional 'lib' prefix
  46980. - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  46981. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  46982. - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
  46983. - # It is most probably a Windows format PATH printed by
  46984. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  46985. - # path with ; separators, and with drive letters. We can handle the
  46986. - # drive letters (cygwin fileutils understands them), so leave them,
  46987. - # especially as we might pass files found there to a mingw objdump,
  46988. - # which wouldn't understand a cygwinified path. Ahh.
  46989. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  46990. - else
  46991. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  46992. - fi
  46993. - ;;
  46994. - pw32*)
  46995. - # pw32 DLLs use 'pw' prefix rather than 'lib'
  46996. - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  46997. - ;;
  46998. - esac
  46999. - ;;
  47000. -
  47001. - *)
  47002. - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  47003. - ;;
  47004. - esac
  47005. - dynamic_linker='Win32 ld.exe'
  47006. - # FIXME: first we should search . and the directory the executable is in
  47007. - shlibpath_var=PATH
  47008. - ;;
  47009. -
  47010. -darwin* | rhapsody*)
  47011. - dynamic_linker="$host_os dyld"
  47012. - version_type=darwin
  47013. - need_lib_prefix=no
  47014. - need_version=no
  47015. - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  47016. - soname_spec='${libname}${release}${major}$shared_ext'
  47017. - shlibpath_overrides_runpath=yes
  47018. - shlibpath_var=DYLD_LIBRARY_PATH
  47019. - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  47020. -
  47021. - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  47022. - ;;
  47023. -
  47024. -dgux*)
  47025. - version_type=linux
  47026. - need_lib_prefix=no
  47027. - need_version=no
  47028. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  47029. - soname_spec='${libname}${release}${shared_ext}$major'
  47030. - shlibpath_var=LD_LIBRARY_PATH
  47031. - ;;
  47032. -
  47033. -freebsd1*)
  47034. - dynamic_linker=no
  47035. - ;;
  47036. -
  47037. -freebsd* | dragonfly*)
  47038. - # DragonFly does not have aout. When/if they implement a new
  47039. - # versioning mechanism, adjust this.
  47040. - if test -x /usr/bin/objformat; then
  47041. - objformat=`/usr/bin/objformat`
  47042. - else
  47043. - case $host_os in
  47044. - freebsd[123]*) objformat=aout ;;
  47045. - *) objformat=elf ;;
  47046. - esac
  47047. - fi
  47048. - version_type=freebsd-$objformat
  47049. - case $version_type in
  47050. - freebsd-elf*)
  47051. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  47052. - need_version=no
  47053. - need_lib_prefix=no
  47054. - ;;
  47055. - freebsd-*)
  47056. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  47057. - need_version=yes
  47058. - ;;
  47059. - esac
  47060. - shlibpath_var=LD_LIBRARY_PATH
  47061. - case $host_os in
  47062. - freebsd2*)
  47063. - shlibpath_overrides_runpath=yes
  47064. - ;;
  47065. - freebsd3.[01]* | freebsdelf3.[01]*)
  47066. - shlibpath_overrides_runpath=yes
  47067. - hardcode_into_libs=yes
  47068. - ;;
  47069. - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  47070. - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  47071. - shlibpath_overrides_runpath=no
  47072. - hardcode_into_libs=yes
  47073. - ;;
  47074. - *) # from 4.6 on, and DragonFly
  47075. - shlibpath_overrides_runpath=yes
  47076. - hardcode_into_libs=yes
  47077. - ;;
  47078. - esac
  47079. - ;;
  47080. -
  47081. -gnu*)
  47082. - version_type=linux
  47083. - need_lib_prefix=no
  47084. - need_version=no
  47085. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  47086. - soname_spec='${libname}${release}${shared_ext}$major'
  47087. - shlibpath_var=LD_LIBRARY_PATH
  47088. - hardcode_into_libs=yes
  47089. - ;;
  47090. -
  47091. -hpux9* | hpux10* | hpux11*)
  47092. - # Give a soname corresponding to the major version so that dld.sl refuses to
  47093. - # link against other versions.
  47094. - version_type=sunos
  47095. - need_lib_prefix=no
  47096. - need_version=no
  47097. - case $host_cpu in
  47098. - ia64*)
  47099. - shrext_cmds='.so'
  47100. - hardcode_into_libs=yes
  47101. - dynamic_linker="$host_os dld.so"
  47102. - shlibpath_var=LD_LIBRARY_PATH
  47103. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  47104. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47105. - soname_spec='${libname}${release}${shared_ext}$major'
  47106. - if test "X$HPUX_IA64_MODE" = X32; then
  47107. - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  47108. - else
  47109. - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  47110. - fi
  47111. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  47112. - ;;
  47113. - hppa*64*)
  47114. - shrext_cmds='.sl'
  47115. - hardcode_into_libs=yes
  47116. - dynamic_linker="$host_os dld.sl"
  47117. - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  47118. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  47119. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47120. - soname_spec='${libname}${release}${shared_ext}$major'
  47121. - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  47122. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  47123. - ;;
  47124. - *)
  47125. - shrext_cmds='.sl'
  47126. - dynamic_linker="$host_os dld.sl"
  47127. - shlibpath_var=SHLIB_PATH
  47128. - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  47129. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47130. - soname_spec='${libname}${release}${shared_ext}$major'
  47131. - ;;
  47132. - esac
  47133. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  47134. - postinstall_cmds='chmod 555 $lib'
  47135. - ;;
  47136. -
  47137. -interix[3-9]*)
  47138. - version_type=linux
  47139. - need_lib_prefix=no
  47140. - need_version=no
  47141. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  47142. - soname_spec='${libname}${release}${shared_ext}$major'
  47143. - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  47144. - shlibpath_var=LD_LIBRARY_PATH
  47145. - shlibpath_overrides_runpath=no
  47146. - hardcode_into_libs=yes
  47147. - ;;
  47148. -
  47149. -irix5* | irix6* | nonstopux*)
  47150. - case $host_os in
  47151. - nonstopux*) version_type=nonstopux ;;
  47152. - *)
  47153. - if test "$lt_cv_prog_gnu_ld" = yes; then
  47154. - version_type=linux
  47155. - else
  47156. - version_type=irix
  47157. - fi ;;
  47158. - esac
  47159. - need_lib_prefix=no
  47160. - need_version=no
  47161. - soname_spec='${libname}${release}${shared_ext}$major'
  47162. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  47163. - case $host_os in
  47164. - irix5* | nonstopux*)
  47165. - libsuff= shlibsuff=
  47166. - ;;
  47167. - *)
  47168. - case $LD in # libtool.m4 will add one of these switches to LD
  47169. - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  47170. - libsuff= shlibsuff= libmagic=32-bit;;
  47171. - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  47172. - libsuff=32 shlibsuff=N32 libmagic=N32;;
  47173. - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  47174. - libsuff=64 shlibsuff=64 libmagic=64-bit;;
  47175. - *) libsuff= shlibsuff= libmagic=never-match;;
  47176. - esac
  47177. - ;;
  47178. - esac
  47179. - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  47180. - shlibpath_overrides_runpath=no
  47181. - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  47182. - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  47183. - hardcode_into_libs=yes
  47184. - ;;
  47185. -
  47186. -# No shared lib support for Linux oldld, aout, or coff.
  47187. -linux*oldld* | linux*aout* | linux*coff*)
  47188. - dynamic_linker=no
  47189. - ;;
  47190. -
  47191. -# This must be Linux ELF.
  47192. -linux* | k*bsd*-gnu)
  47193. - version_type=linux
  47194. - need_lib_prefix=no
  47195. - need_version=no
  47196. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47197. - soname_spec='${libname}${release}${shared_ext}$major'
  47198. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  47199. - shlibpath_var=LD_LIBRARY_PATH
  47200. - shlibpath_overrides_runpath=no
  47201. - # This implies no fast_install, which is unacceptable.
  47202. - # Some rework will be needed to allow for fast_install
  47203. - # before this can be enabled.
  47204. - hardcode_into_libs=yes
  47205. -
  47206. - # Append ld.so.conf contents to the search path
  47207. - if test -f /etc/ld.so.conf; then
  47208. - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  47209. - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  47210. - fi
  47211. -
  47212. - # We used to test for /lib/ld.so.1 and disable shared libraries on
  47213. - # powerpc, because MkLinux only supported shared libraries with the
  47214. - # GNU dynamic linker. Since this was broken with cross compilers,
  47215. - # most powerpc-linux boxes support dynamic linking these days and
  47216. - # people can always --disable-shared, the test was removed, and we
  47217. - # assume the GNU/Linux dynamic linker is in use.
  47218. - dynamic_linker='GNU/Linux ld.so'
  47219. - ;;
  47220. -
  47221. -netbsd*)
  47222. - version_type=sunos
  47223. - need_lib_prefix=no
  47224. - need_version=no
  47225. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  47226. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  47227. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  47228. - dynamic_linker='NetBSD (a.out) ld.so'
  47229. - else
  47230. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  47231. - soname_spec='${libname}${release}${shared_ext}$major'
  47232. - dynamic_linker='NetBSD ld.elf_so'
  47233. - fi
  47234. - shlibpath_var=LD_LIBRARY_PATH
  47235. - shlibpath_overrides_runpath=yes
  47236. - hardcode_into_libs=yes
  47237. - ;;
  47238. -
  47239. -newsos6)
  47240. - version_type=linux
  47241. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47242. - shlibpath_var=LD_LIBRARY_PATH
  47243. - shlibpath_overrides_runpath=yes
  47244. - ;;
  47245. -
  47246. -nto-qnx*)
  47247. - version_type=linux
  47248. - need_lib_prefix=no
  47249. - need_version=no
  47250. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47251. - soname_spec='${libname}${release}${shared_ext}$major'
  47252. - shlibpath_var=LD_LIBRARY_PATH
  47253. - shlibpath_overrides_runpath=yes
  47254. - ;;
  47255. -
  47256. -openbsd*)
  47257. - version_type=sunos
  47258. - sys_lib_dlsearch_path_spec="/usr/lib"
  47259. - need_lib_prefix=no
  47260. - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  47261. - case $host_os in
  47262. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  47263. - *) need_version=no ;;
  47264. - esac
  47265. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  47266. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  47267. - shlibpath_var=LD_LIBRARY_PATH
  47268. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  47269. - case $host_os in
  47270. - openbsd2.[89] | openbsd2.[89].*)
  47271. - shlibpath_overrides_runpath=no
  47272. - ;;
  47273. - *)
  47274. - shlibpath_overrides_runpath=yes
  47275. - ;;
  47276. - esac
  47277. - else
  47278. - shlibpath_overrides_runpath=yes
  47279. - fi
  47280. - ;;
  47281. -
  47282. -os2*)
  47283. - libname_spec='$name'
  47284. - shrext_cmds=".dll"
  47285. - need_lib_prefix=no
  47286. - library_names_spec='$libname${shared_ext} $libname.a'
  47287. - dynamic_linker='OS/2 ld.exe'
  47288. - shlibpath_var=LIBPATH
  47289. - ;;
  47290. -
  47291. -osf3* | osf4* | osf5*)
  47292. - version_type=osf
  47293. - need_lib_prefix=no
  47294. - need_version=no
  47295. - soname_spec='${libname}${release}${shared_ext}$major'
  47296. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47297. - shlibpath_var=LD_LIBRARY_PATH
  47298. - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  47299. - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  47300. - ;;
  47301. -
  47302. -rdos*)
  47303. - dynamic_linker=no
  47304. - ;;
  47305. -
  47306. -solaris*)
  47307. - version_type=linux
  47308. - need_lib_prefix=no
  47309. - need_version=no
  47310. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47311. - soname_spec='${libname}${release}${shared_ext}$major'
  47312. - shlibpath_var=LD_LIBRARY_PATH
  47313. - shlibpath_overrides_runpath=yes
  47314. - hardcode_into_libs=yes
  47315. - # ldd complains unless libraries are executable
  47316. - postinstall_cmds='chmod +x $lib'
  47317. - ;;
  47318. -
  47319. -sunos4*)
  47320. - version_type=sunos
  47321. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  47322. - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  47323. - shlibpath_var=LD_LIBRARY_PATH
  47324. - shlibpath_overrides_runpath=yes
  47325. - if test "$with_gnu_ld" = yes; then
  47326. - need_lib_prefix=no
  47327. - fi
  47328. - need_version=yes
  47329. - ;;
  47330. -
  47331. -sysv4 | sysv4.3*)
  47332. - version_type=linux
  47333. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47334. - soname_spec='${libname}${release}${shared_ext}$major'
  47335. - shlibpath_var=LD_LIBRARY_PATH
  47336. - case $host_vendor in
  47337. - sni)
  47338. - shlibpath_overrides_runpath=no
  47339. - need_lib_prefix=no
  47340. - export_dynamic_flag_spec='${wl}-Blargedynsym'
  47341. - runpath_var=LD_RUN_PATH
  47342. - ;;
  47343. - siemens)
  47344. - need_lib_prefix=no
  47345. - ;;
  47346. - motorola)
  47347. - need_lib_prefix=no
  47348. - need_version=no
  47349. - shlibpath_overrides_runpath=no
  47350. - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  47351. - ;;
  47352. - esac
  47353. - ;;
  47354. -
  47355. -sysv4*MP*)
  47356. - if test -d /usr/nec ;then
  47357. - version_type=linux
  47358. - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  47359. - soname_spec='$libname${shared_ext}.$major'
  47360. - shlibpath_var=LD_LIBRARY_PATH
  47361. - fi
  47362. - ;;
  47363. -
  47364. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  47365. - version_type=freebsd-elf
  47366. - need_lib_prefix=no
  47367. - need_version=no
  47368. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  47369. - soname_spec='${libname}${release}${shared_ext}$major'
  47370. - shlibpath_var=LD_LIBRARY_PATH
  47371. - hardcode_into_libs=yes
  47372. - if test "$with_gnu_ld" = yes; then
  47373. - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  47374. - shlibpath_overrides_runpath=no
  47375. - else
  47376. - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  47377. - shlibpath_overrides_runpath=yes
  47378. - case $host_os in
  47379. - sco3.2v5*)
  47380. - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  47381. - ;;
  47382. - esac
  47383. - fi
  47384. - sys_lib_dlsearch_path_spec='/usr/lib'
  47385. - ;;
  47386. -
  47387. -uts4*)
  47388. - version_type=linux
  47389. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47390. - soname_spec='${libname}${release}${shared_ext}$major'
  47391. - shlibpath_var=LD_LIBRARY_PATH
  47392. - ;;
  47393. -
  47394. -*)
  47395. - dynamic_linker=no
  47396. - ;;
  47397. -esac
  47398. -{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  47399. -$as_echo "$dynamic_linker" >&6; }
  47400. -test "$dynamic_linker" = no && can_build_shared=no
  47401. -
  47402. -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  47403. - $as_echo_n "(cached) " >&6
  47404. -else
  47405. - lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
  47406. -fi
  47407. -
  47408. -sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  47409. -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  47410. - $as_echo_n "(cached) " >&6
  47411. -else
  47412. - lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
  47413. -fi
  47414. -
  47415. -sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  47416. -
  47417. -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  47418. -if test "$GCC" = yes; then
  47419. - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  47420. -fi
  47421. -
  47422. -{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  47423. -$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  47424. -hardcode_action_CXX=
  47425. -if test -n "$hardcode_libdir_flag_spec_CXX" || \
  47426. - test -n "$runpath_var_CXX" || \
  47427. - test "X$hardcode_automatic_CXX" = "Xyes" ; then
  47428. -
  47429. - # We can hardcode non-existant directories.
  47430. - if test "$hardcode_direct_CXX" != no &&
  47431. - # If the only mechanism to avoid hardcoding is shlibpath_var, we
  47432. - # have to relink, otherwise we might link with an installed library
  47433. - # when we should be linking with a yet-to-be-installed one
  47434. - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
  47435. - test "$hardcode_minus_L_CXX" != no; then
  47436. - # Linking always hardcodes the temporary library directory.
  47437. - hardcode_action_CXX=relink
  47438. - else
  47439. - # We can link without hardcoding, and we can hardcode nonexisting dirs.
  47440. - hardcode_action_CXX=immediate
  47441. - fi
  47442. -else
  47443. - # We cannot hardcode anything, or else we can only hardcode existing
  47444. - # directories.
  47445. - hardcode_action_CXX=unsupported
  47446. -fi
  47447. -{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
  47448. -$as_echo "$hardcode_action_CXX" >&6; }
  47449. -
  47450. -if test "$hardcode_action_CXX" = relink; then
  47451. - # Fast installation is not supported
  47452. - enable_fast_install=no
  47453. -elif test "$shlibpath_overrides_runpath" = yes ||
  47454. - test "$enable_shared" = no; then
  47455. - # Fast installation is not necessary
  47456. - enable_fast_install=needless
  47457. -fi
  47458. -
  47459. -
  47460. -# The else clause should only fire when bootstrapping the
  47461. -# libtool distribution, otherwise you forgot to ship ltmain.sh
  47462. -# with your package, and you will get complaints that there are
  47463. -# no rules to generate ltmain.sh.
  47464. -if test -f "$ltmain"; then
  47465. - # See if we are running on zsh, and set the options which allow our commands through
  47466. - # without removal of \ escapes.
  47467. - if test -n "${ZSH_VERSION+set}" ; then
  47468. - setopt NO_GLOB_SUBST
  47469. - fi
  47470. - # Now quote all the things that may contain metacharacters while being
  47471. - # careful not to overquote the AC_SUBSTed values. We take copies of the
  47472. - # variables and quote the copies for generation of the libtool script.
  47473. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  47474. - SED SHELL STRIP \
  47475. - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  47476. - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  47477. - deplibs_check_method reload_flag reload_cmds need_locks \
  47478. - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  47479. - lt_cv_sys_global_symbol_to_c_name_address \
  47480. - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  47481. - old_postinstall_cmds old_postuninstall_cmds \
  47482. - compiler_CXX \
  47483. - CC_CXX \
  47484. - LD_CXX \
  47485. - lt_prog_compiler_wl_CXX \
  47486. - lt_prog_compiler_pic_CXX \
  47487. - lt_prog_compiler_static_CXX \
  47488. - lt_prog_compiler_no_builtin_flag_CXX \
  47489. - export_dynamic_flag_spec_CXX \
  47490. - thread_safe_flag_spec_CXX \
  47491. - whole_archive_flag_spec_CXX \
  47492. - enable_shared_with_static_runtimes_CXX \
  47493. - old_archive_cmds_CXX \
  47494. - old_archive_from_new_cmds_CXX \
  47495. - predep_objects_CXX \
  47496. - postdep_objects_CXX \
  47497. - predeps_CXX \
  47498. - postdeps_CXX \
  47499. - compiler_lib_search_path_CXX \
  47500. - compiler_lib_search_dirs_CXX \
  47501. - archive_cmds_CXX \
  47502. - archive_expsym_cmds_CXX \
  47503. - postinstall_cmds_CXX \
  47504. - postuninstall_cmds_CXX \
  47505. - old_archive_from_expsyms_cmds_CXX \
  47506. - allow_undefined_flag_CXX \
  47507. - no_undefined_flag_CXX \
  47508. - export_symbols_cmds_CXX \
  47509. - hardcode_libdir_flag_spec_CXX \
  47510. - hardcode_libdir_flag_spec_ld_CXX \
  47511. - hardcode_libdir_separator_CXX \
  47512. - hardcode_automatic_CXX \
  47513. - module_cmds_CXX \
  47514. - module_expsym_cmds_CXX \
  47515. - lt_cv_prog_compiler_c_o_CXX \
  47516. - fix_srcfile_path_CXX \
  47517. - exclude_expsyms_CXX \
  47518. - include_expsyms_CXX; do
  47519. -
  47520. - case $var in
  47521. - old_archive_cmds_CXX | \
  47522. - old_archive_from_new_cmds_CXX | \
  47523. - archive_cmds_CXX | \
  47524. - archive_expsym_cmds_CXX | \
  47525. - module_cmds_CXX | \
  47526. - module_expsym_cmds_CXX | \
  47527. - old_archive_from_expsyms_cmds_CXX | \
  47528. - export_symbols_cmds_CXX | \
  47529. - extract_expsyms_cmds | reload_cmds | finish_cmds | \
  47530. - postinstall_cmds | postuninstall_cmds | \
  47531. - old_postinstall_cmds | old_postuninstall_cmds | \
  47532. - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  47533. - # Double-quote double-evaled strings.
  47534. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  47535. - ;;
  47536. - *)
  47537. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  47538. - ;;
  47539. - esac
  47540. - done
  47541. -
  47542. - case $lt_echo in
  47543. - *'\$0 --fallback-echo"')
  47544. - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  47545. - ;;
  47546. - esac
  47547. -
  47548. -cfgfile="$ofile"
  47549. -
  47550. - cat <<__EOF__ >> "$cfgfile"
  47551. -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
  47552. -
  47553. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  47554. -
  47555. -# Shell to use when invoking shell scripts.
  47556. -SHELL=$lt_SHELL
  47557. -
  47558. -# Whether or not to build shared libraries.
  47559. -build_libtool_libs=$enable_shared
  47560. -
  47561. -# Whether or not to build static libraries.
  47562. -build_old_libs=$enable_static
  47563. -
  47564. -# Whether or not to add -lc for building shared libraries.
  47565. -build_libtool_need_lc=$archive_cmds_need_lc_CXX
  47566. -
  47567. -# Whether or not to disallow shared libs when runtime libs are static
  47568. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
  47569. -
  47570. -# Whether or not to optimize for fast installation.
  47571. -fast_install=$enable_fast_install
  47572. -
  47573. -# The host system.
  47574. -host_alias=$host_alias
  47575. -host=$host
  47576. -host_os=$host_os
  47577. -
  47578. -# The build system.
  47579. -build_alias=$build_alias
  47580. -build=$build
  47581. -build_os=$build_os
  47582. -
  47583. -# An echo program that does not interpret backslashes.
  47584. -echo=$lt_echo
  47585. -
  47586. -# The archiver.
  47587. -AR=$lt_AR
  47588. -AR_FLAGS=$lt_AR_FLAGS
  47589. -
  47590. -# A C compiler.
  47591. -LTCC=$lt_LTCC
  47592. -
  47593. -# LTCC compiler flags.
  47594. -LTCFLAGS=$lt_LTCFLAGS
  47595. -
  47596. -# A language-specific compiler.
  47597. -CC=$lt_compiler_CXX
  47598. -
  47599. -# Is the compiler the GNU C compiler?
  47600. -with_gcc=$GCC_CXX
  47601. -
  47602. -# An ERE matcher.
  47603. -EGREP=$lt_EGREP
  47604. -
  47605. -# The linker used to build libraries.
  47606. -LD=$lt_LD_CXX
  47607. -
  47608. -# Whether we need hard or soft links.
  47609. -LN_S=$lt_LN_S
  47610. -
  47611. -# A BSD-compatible nm program.
  47612. -NM=$lt_NM
  47613. -
  47614. -# A symbol stripping program
  47615. -STRIP=$lt_STRIP
  47616. -
  47617. -# Used to examine libraries when file_magic_cmd begins "file"
  47618. -MAGIC_CMD=$MAGIC_CMD
  47619. -
  47620. -# Used on cygwin: DLL creation program.
  47621. -DLLTOOL="$DLLTOOL"
  47622. -
  47623. -# Used on cygwin: object dumper.
  47624. -OBJDUMP="$OBJDUMP"
  47625. -
  47626. -# Used on cygwin: assembler.
  47627. -AS="$AS"
  47628. -
  47629. -# The name of the directory that contains temporary libtool files.
  47630. -objdir=$objdir
  47631. -
  47632. -# How to create reloadable object files.
  47633. -reload_flag=$lt_reload_flag
  47634. -reload_cmds=$lt_reload_cmds
  47635. -
  47636. -# How to pass a linker flag through the compiler.
  47637. -wl=$lt_lt_prog_compiler_wl_CXX
  47638. -
  47639. -# Object file suffix (normally "o").
  47640. -objext="$ac_objext"
  47641. -
  47642. -# Old archive suffix (normally "a").
  47643. -libext="$libext"
  47644. -
  47645. -# Shared library suffix (normally ".so").
  47646. -shrext_cmds='$shrext_cmds'
  47647. -
  47648. -# Executable file suffix (normally "").
  47649. -exeext="$exeext"
  47650. -
  47651. -# Additional compiler flags for building library objects.
  47652. -pic_flag=$lt_lt_prog_compiler_pic_CXX
  47653. -pic_mode=$pic_mode
  47654. -
  47655. -# What is the maximum length of a command?
  47656. -max_cmd_len=$lt_cv_sys_max_cmd_len
  47657. -
  47658. -# Does compiler simultaneously support -c and -o options?
  47659. -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
  47660. -
  47661. -# Must we lock files when doing compilation?
  47662. -need_locks=$lt_need_locks
  47663. -
  47664. -# Do we need the lib prefix for modules?
  47665. -need_lib_prefix=$need_lib_prefix
  47666. -
  47667. -# Do we need a version for libraries?
  47668. -need_version=$need_version
  47669. -
  47670. -# Whether dlopen is supported.
  47671. -dlopen_support=$enable_dlopen
  47672. -
  47673. -# Whether dlopen of programs is supported.
  47674. -dlopen_self=$enable_dlopen_self
  47675. -
  47676. -# Whether dlopen of statically linked programs is supported.
  47677. -dlopen_self_static=$enable_dlopen_self_static
  47678. -
  47679. -# Compiler flag to prevent dynamic linking.
  47680. -link_static_flag=$lt_lt_prog_compiler_static_CXX
  47681. -
  47682. -# Compiler flag to turn off builtin functions.
  47683. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
  47684. -
  47685. -# Compiler flag to allow reflexive dlopens.
  47686. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
  47687. -
  47688. -# Compiler flag to generate shared objects directly from archives.
  47689. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
  47690. -
  47691. -# Compiler flag to generate thread-safe objects.
  47692. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
  47693. -
  47694. -# Library versioning type.
  47695. -version_type=$version_type
  47696. -
  47697. -# Format of library name prefix.
  47698. -libname_spec=$lt_libname_spec
  47699. -
  47700. -# List of archive names. First name is the real one, the rest are links.
  47701. -# The last name is the one that the linker finds with -lNAME.
  47702. -library_names_spec=$lt_library_names_spec
  47703. -
  47704. -# The coded name of the library, if different from the real name.
  47705. -soname_spec=$lt_soname_spec
  47706. -
  47707. -# Commands used to build and install an old-style archive.
  47708. -RANLIB=$lt_RANLIB
  47709. -old_archive_cmds=$lt_old_archive_cmds_CXX
  47710. -old_postinstall_cmds=$lt_old_postinstall_cmds
  47711. -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  47712. -
  47713. -# Create an old-style archive from a shared archive.
  47714. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
  47715. -
  47716. -# Create a temporary old-style archive to link instead of a shared archive.
  47717. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
  47718. -
  47719. -# Commands used to build and install a shared archive.
  47720. -archive_cmds=$lt_archive_cmds_CXX
  47721. -archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
  47722. -postinstall_cmds=$lt_postinstall_cmds
  47723. -postuninstall_cmds=$lt_postuninstall_cmds
  47724. -
  47725. -# Commands used to build a loadable module (assumed same as above if empty)
  47726. -module_cmds=$lt_module_cmds_CXX
  47727. -module_expsym_cmds=$lt_module_expsym_cmds_CXX
  47728. -
  47729. -# Commands to strip libraries.
  47730. -old_striplib=$lt_old_striplib
  47731. -striplib=$lt_striplib
  47732. -
  47733. -# Dependencies to place before the objects being linked to create a
  47734. -# shared library.
  47735. -predep_objects=$lt_predep_objects_CXX
  47736. -
  47737. -# Dependencies to place after the objects being linked to create a
  47738. -# shared library.
  47739. -postdep_objects=$lt_postdep_objects_CXX
  47740. -
  47741. -# Dependencies to place before the objects being linked to create a
  47742. -# shared library.
  47743. -predeps=$lt_predeps_CXX
  47744. -
  47745. -# Dependencies to place after the objects being linked to create a
  47746. -# shared library.
  47747. -postdeps=$lt_postdeps_CXX
  47748. -
  47749. -# The directories searched by this compiler when creating a shared
  47750. -# library
  47751. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
  47752. -
  47753. -# The library search path used internally by the compiler when linking
  47754. -# a shared library.
  47755. -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
  47756. -
  47757. -# Method to check whether dependent libraries are shared objects.
  47758. -deplibs_check_method=$lt_deplibs_check_method
  47759. -
  47760. -# Command to use when deplibs_check_method == file_magic.
  47761. -file_magic_cmd=$lt_file_magic_cmd
  47762. -
  47763. -# Flag that allows shared libraries with undefined symbols to be built.
  47764. -allow_undefined_flag=$lt_allow_undefined_flag_CXX
  47765. -
  47766. -# Flag that forces no undefined symbols.
  47767. -no_undefined_flag=$lt_no_undefined_flag_CXX
  47768. -
  47769. -# Commands used to finish a libtool library installation in a directory.
  47770. -finish_cmds=$lt_finish_cmds
  47771. -
  47772. -# Same as above, but a single script fragment to be evaled but not shown.
  47773. -finish_eval=$lt_finish_eval
  47774. -
  47775. -# Take the output of nm and produce a listing of raw symbols and C names.
  47776. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  47777. -
  47778. -# Transform the output of nm in a proper C declaration
  47779. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  47780. -
  47781. -# Transform the output of nm in a C name address pair
  47782. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  47783. -
  47784. -# This is the shared library runtime path variable.
  47785. -runpath_var=$runpath_var
  47786. -
  47787. -# This is the shared library path variable.
  47788. -shlibpath_var=$shlibpath_var
  47789. -
  47790. -# Is shlibpath searched before the hard-coded library search path?
  47791. -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  47792. -
  47793. -# How to hardcode a shared library path into an executable.
  47794. -hardcode_action=$hardcode_action_CXX
  47795. -
  47796. -# Whether we should hardcode library paths into libraries.
  47797. -hardcode_into_libs=$hardcode_into_libs
  47798. -
  47799. -# Flag to hardcode \$libdir into a binary during linking.
  47800. -# This must work even if \$libdir does not exist.
  47801. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
  47802. -
  47803. -# If ld is used when linking, flag to hardcode \$libdir into
  47804. -# a binary during linking. This must work even if \$libdir does
  47805. -# not exist.
  47806. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
  47807. -
  47808. -# Whether we need a single -rpath flag with a separated argument.
  47809. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
  47810. -
  47811. -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  47812. -# resulting binary.
  47813. -hardcode_direct=$hardcode_direct_CXX
  47814. -
  47815. -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  47816. -# resulting binary.
  47817. -hardcode_minus_L=$hardcode_minus_L_CXX
  47818. -
  47819. -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  47820. -# the resulting binary.
  47821. -hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
  47822. -
  47823. -# Set to yes if building a shared library automatically hardcodes DIR into the library
  47824. -# and all subsequent libraries and executables linked against it.
  47825. -hardcode_automatic=$hardcode_automatic_CXX
  47826. -
  47827. -# Variables whose values should be saved in libtool wrapper scripts and
  47828. -# restored at relink time.
  47829. -variables_saved_for_relink="$variables_saved_for_relink"
  47830. -
  47831. -# Whether libtool must link a program against all its dependency libraries.
  47832. -link_all_deplibs=$link_all_deplibs_CXX
  47833. -
  47834. -# Compile-time system search path for libraries
  47835. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  47836. -
  47837. -# Run-time system search path for libraries
  47838. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  47839. -
  47840. -# Fix the shell variable \$srcfile for the compiler.
  47841. -fix_srcfile_path=$lt_fix_srcfile_path
  47842. -
  47843. -# Set to yes if exported symbols are required.
  47844. -always_export_symbols=$always_export_symbols_CXX
  47845. -
  47846. -# The commands to list exported symbols.
  47847. -export_symbols_cmds=$lt_export_symbols_cmds_CXX
  47848. -
  47849. -# The commands to extract the exported symbol list from a shared archive.
  47850. -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  47851. -
  47852. -# Symbols that should not be listed in the preloaded symbols.
  47853. -exclude_expsyms=$lt_exclude_expsyms_CXX
  47854. -
  47855. -# Symbols that must always be exported.
  47856. -include_expsyms=$lt_include_expsyms_CXX
  47857. -
  47858. -# ### END LIBTOOL TAG CONFIG: $tagname
  47859. -
  47860. -__EOF__
  47861. -
  47862. -
  47863. -else
  47864. - # If there is no Makefile yet, we rely on a make rule to execute
  47865. - # `config.status --recheck' to rerun these tests and create the
  47866. - # libtool script then.
  47867. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  47868. - if test -f "$ltmain_in"; then
  47869. - test -f Makefile && make "$ltmain"
  47870. - fi
  47871. -fi
  47872. -
  47873. -
  47874. -ac_ext=c
  47875. -ac_cpp='$CPP $CPPFLAGS'
  47876. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  47877. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  47878. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  47879. -
  47880. -CC=$lt_save_CC
  47881. -LDCXX=$LD
  47882. -LD=$lt_save_LD
  47883. -GCC=$lt_save_GCC
  47884. -with_gnu_ldcxx=$with_gnu_ld
  47885. -with_gnu_ld=$lt_save_with_gnu_ld
  47886. -lt_cv_path_LDCXX=$lt_cv_path_LD
  47887. -lt_cv_path_LD=$lt_save_path_LD
  47888. -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  47889. -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  47890. -
  47891. - else
  47892. - tagname=""
  47893. - fi
  47894. - ;;
  47895. -
  47896. - F77)
  47897. - if test -n "$F77" && test "X$F77" != "Xno"; then
  47898. -
  47899. -ac_ext=f
  47900. -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
  47901. -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  47902. -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
  47903. -
  47904. -
  47905. -archive_cmds_need_lc_F77=no
  47906. -allow_undefined_flag_F77=
  47907. -always_export_symbols_F77=no
  47908. -archive_expsym_cmds_F77=
  47909. -export_dynamic_flag_spec_F77=
  47910. -hardcode_direct_F77=no
  47911. -hardcode_libdir_flag_spec_F77=
  47912. -hardcode_libdir_flag_spec_ld_F77=
  47913. -hardcode_libdir_separator_F77=
  47914. -hardcode_minus_L_F77=no
  47915. -hardcode_automatic_F77=no
  47916. -module_cmds_F77=
  47917. -module_expsym_cmds_F77=
  47918. -link_all_deplibs_F77=unknown
  47919. -old_archive_cmds_F77=$old_archive_cmds
  47920. -no_undefined_flag_F77=
  47921. -whole_archive_flag_spec_F77=
  47922. -enable_shared_with_static_runtimes_F77=no
  47923. -
  47924. -# Source file extension for f77 test sources.
  47925. -ac_ext=f
  47926. -
  47927. -# Object file extension for compiled f77 test sources.
  47928. -objext=o
  47929. -objext_F77=$objext
  47930. -
  47931. -# Code to be used in simple compile tests
  47932. -lt_simple_compile_test_code="\
  47933. - subroutine t
  47934. - return
  47935. - end
  47936. -"
  47937. -
  47938. -# Code to be used in simple link tests
  47939. -lt_simple_link_test_code="\
  47940. - program t
  47941. - end
  47942. -"
  47943. -
  47944. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  47945. -
  47946. -# If no C compiler was specified, use CC.
  47947. -LTCC=${LTCC-"$CC"}
  47948. -
  47949. -# If no C compiler flags were specified, use CFLAGS.
  47950. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  47951. -
  47952. -# Allow CC to be a program name with arguments.
  47953. -compiler=$CC
  47954. -
  47955. -
  47956. -# save warnings/boilerplate of simple test code
  47957. -ac_outfile=conftest.$ac_objext
  47958. -echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  47959. -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  47960. -_lt_compiler_boilerplate=`cat conftest.err`
  47961. -$rm conftest*
  47962. -
  47963. -ac_outfile=conftest.$ac_objext
  47964. -echo "$lt_simple_link_test_code" >conftest.$ac_ext
  47965. -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  47966. -_lt_linker_boilerplate=`cat conftest.err`
  47967. -$rm -r conftest*
  47968. -
  47969. -
  47970. -# Allow CC to be a program name with arguments.
  47971. -lt_save_CC="$CC"
  47972. -CC=${F77-"f77"}
  47973. -compiler=$CC
  47974. -compiler_F77=$CC
  47975. -for cc_temp in $compiler""; do
  47976. - case $cc_temp in
  47977. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  47978. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  47979. - \-*) ;;
  47980. - *) break;;
  47981. - esac
  47982. -done
  47983. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  47984. -
  47985. -
  47986. -{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
  47987. -$as_echo_n "checking if libtool supports shared libraries... " >&6; }
  47988. -{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
  47989. -$as_echo "$can_build_shared" >&6; }
  47990. -
  47991. -{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
  47992. -$as_echo_n "checking whether to build shared libraries... " >&6; }
  47993. -test "$can_build_shared" = "no" && enable_shared=no
  47994. -
  47995. -# On AIX, shared libraries and static libraries use the same namespace, and
  47996. -# are all built from PIC.
  47997. -case $host_os in
  47998. -aix3*)
  47999. - test "$enable_shared" = yes && enable_static=no
  48000. - if test -n "$RANLIB"; then
  48001. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  48002. - postinstall_cmds='$RANLIB $lib'
  48003. - fi
  48004. - ;;
  48005. -aix[4-9]*)
  48006. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  48007. - test "$enable_shared" = yes && enable_static=no
  48008. - fi
  48009. - ;;
  48010. -esac
  48011. -{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
  48012. -$as_echo "$enable_shared" >&6; }
  48013. -
  48014. -{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
  48015. -$as_echo_n "checking whether to build static libraries... " >&6; }
  48016. -# Make sure either enable_shared or enable_static is yes.
  48017. -test "$enable_shared" = yes || enable_static=yes
  48018. -{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
  48019. -$as_echo "$enable_static" >&6; }
  48020. -
  48021. -GCC_F77="$G77"
  48022. -LD_F77="$LD"
  48023. -
  48024. -lt_prog_compiler_wl_F77=
  48025. -lt_prog_compiler_pic_F77=
  48026. -lt_prog_compiler_static_F77=
  48027. -
  48028. -{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  48029. -$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  48030. -
  48031. - if test "$GCC" = yes; then
  48032. - lt_prog_compiler_wl_F77='-Wl,'
  48033. - lt_prog_compiler_static_F77='-static'
  48034. -
  48035. - case $host_os in
  48036. - aix*)
  48037. - # All AIX code is PIC.
  48038. - if test "$host_cpu" = ia64; then
  48039. - # AIX 5 now supports IA64 processor
  48040. - lt_prog_compiler_static_F77='-Bstatic'
  48041. - fi
  48042. - ;;
  48043. -
  48044. - amigaos*)
  48045. - # FIXME: we need at least 68020 code to build shared libraries, but
  48046. - # adding the `-m68020' flag to GCC prevents building anything better,
  48047. - # like `-m68040'.
  48048. - lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
  48049. - ;;
  48050. -
  48051. - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  48052. - # PIC is the default for these OSes.
  48053. - ;;
  48054. -
  48055. - mingw* | cygwin* | pw32* | os2*)
  48056. - # This hack is so that the source file can tell whether it is being
  48057. - # built for inclusion in a dll (and should export symbols for example).
  48058. - # Although the cygwin gcc ignores -fPIC, still need this for old-style
  48059. - # (--disable-auto-import) libraries
  48060. - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
  48061. - ;;
  48062. -
  48063. - darwin* | rhapsody*)
  48064. - # PIC is the default on this platform
  48065. - # Common symbols not allowed in MH_DYLIB files
  48066. - lt_prog_compiler_pic_F77='-fno-common'
  48067. - ;;
  48068. -
  48069. - interix[3-9]*)
  48070. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  48071. - # Instead, we relocate shared libraries at runtime.
  48072. - ;;
  48073. -
  48074. - msdosdjgpp*)
  48075. - # Just because we use GCC doesn't mean we suddenly get shared libraries
  48076. - # on systems that don't support them.
  48077. - lt_prog_compiler_can_build_shared_F77=no
  48078. - enable_shared=no
  48079. - ;;
  48080. -
  48081. - sysv4*MP*)
  48082. - if test -d /usr/nec; then
  48083. - lt_prog_compiler_pic_F77=-Kconform_pic
  48084. - fi
  48085. - ;;
  48086. -
  48087. - hpux*)
  48088. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  48089. - # not for PA HP-UX.
  48090. - case $host_cpu in
  48091. - hppa*64*|ia64*)
  48092. - # +Z the default
  48093. - ;;
  48094. - *)
  48095. - lt_prog_compiler_pic_F77='-fPIC'
  48096. - ;;
  48097. - esac
  48098. - ;;
  48099. -
  48100. - *)
  48101. - lt_prog_compiler_pic_F77='-fPIC'
  48102. - ;;
  48103. - esac
  48104. - else
  48105. - # PORTME Check for flag to pass linker flags through the system compiler.
  48106. - case $host_os in
  48107. - aix*)
  48108. - lt_prog_compiler_wl_F77='-Wl,'
  48109. - if test "$host_cpu" = ia64; then
  48110. - # AIX 5 now supports IA64 processor
  48111. - lt_prog_compiler_static_F77='-Bstatic'
  48112. - else
  48113. - lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
  48114. - fi
  48115. - ;;
  48116. - darwin*)
  48117. - # PIC is the default on this platform
  48118. - # Common symbols not allowed in MH_DYLIB files
  48119. - case $cc_basename in
  48120. - xlc*)
  48121. - lt_prog_compiler_pic_F77='-qnocommon'
  48122. - lt_prog_compiler_wl_F77='-Wl,'
  48123. - ;;
  48124. - esac
  48125. - ;;
  48126. -
  48127. - mingw* | cygwin* | pw32* | os2*)
  48128. - # This hack is so that the source file can tell whether it is being
  48129. - # built for inclusion in a dll (and should export symbols for example).
  48130. - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
  48131. - ;;
  48132. -
  48133. - hpux9* | hpux10* | hpux11*)
  48134. - lt_prog_compiler_wl_F77='-Wl,'
  48135. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  48136. - # not for PA HP-UX.
  48137. - case $host_cpu in
  48138. - hppa*64*|ia64*)
  48139. - # +Z the default
  48140. - ;;
  48141. - *)
  48142. - lt_prog_compiler_pic_F77='+Z'
  48143. - ;;
  48144. - esac
  48145. - # Is there a better lt_prog_compiler_static that works with the bundled CC?
  48146. - lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
  48147. - ;;
  48148. -
  48149. - irix5* | irix6* | nonstopux*)
  48150. - lt_prog_compiler_wl_F77='-Wl,'
  48151. - # PIC (with -KPIC) is the default.
  48152. - lt_prog_compiler_static_F77='-non_shared'
  48153. - ;;
  48154. -
  48155. - newsos6)
  48156. - lt_prog_compiler_pic_F77='-KPIC'
  48157. - lt_prog_compiler_static_F77='-Bstatic'
  48158. - ;;
  48159. -
  48160. - linux* | k*bsd*-gnu)
  48161. - case $cc_basename in
  48162. - icc* | ecc*)
  48163. - lt_prog_compiler_wl_F77='-Wl,'
  48164. - lt_prog_compiler_pic_F77='-KPIC'
  48165. - lt_prog_compiler_static_F77='-static'
  48166. - ;;
  48167. - pgcc* | pgf77* | pgf90* | pgf95*)
  48168. - # Portland Group compilers (*not* the Pentium gcc compiler,
  48169. - # which looks to be a dead project)
  48170. - lt_prog_compiler_wl_F77='-Wl,'
  48171. - lt_prog_compiler_pic_F77='-fpic'
  48172. - lt_prog_compiler_static_F77='-Bstatic'
  48173. - ;;
  48174. - ccc*)
  48175. - lt_prog_compiler_wl_F77='-Wl,'
  48176. - # All Alpha code is PIC.
  48177. - lt_prog_compiler_static_F77='-non_shared'
  48178. - ;;
  48179. - *)
  48180. - case `$CC -V 2>&1 | sed 5q` in
  48181. - *Sun\ C*)
  48182. - # Sun C 5.9
  48183. - lt_prog_compiler_pic_F77='-KPIC'
  48184. - lt_prog_compiler_static_F77='-Bstatic'
  48185. - lt_prog_compiler_wl_F77='-Wl,'
  48186. - ;;
  48187. - *Sun\ F*)
  48188. - # Sun Fortran 8.3 passes all unrecognized flags to the linker
  48189. - lt_prog_compiler_pic_F77='-KPIC'
  48190. - lt_prog_compiler_static_F77='-Bstatic'
  48191. - lt_prog_compiler_wl_F77=''
  48192. - ;;
  48193. - esac
  48194. - ;;
  48195. - esac
  48196. - ;;
  48197. -
  48198. - osf3* | osf4* | osf5*)
  48199. - lt_prog_compiler_wl_F77='-Wl,'
  48200. - # All OSF/1 code is PIC.
  48201. - lt_prog_compiler_static_F77='-non_shared'
  48202. - ;;
  48203. -
  48204. - rdos*)
  48205. - lt_prog_compiler_static_F77='-non_shared'
  48206. - ;;
  48207. -
  48208. - solaris*)
  48209. - lt_prog_compiler_pic_F77='-KPIC'
  48210. - lt_prog_compiler_static_F77='-Bstatic'
  48211. - case $cc_basename in
  48212. - f77* | f90* | f95*)
  48213. - lt_prog_compiler_wl_F77='-Qoption ld ';;
  48214. - *)
  48215. - lt_prog_compiler_wl_F77='-Wl,';;
  48216. - esac
  48217. - ;;
  48218. -
  48219. - sunos4*)
  48220. - lt_prog_compiler_wl_F77='-Qoption ld '
  48221. - lt_prog_compiler_pic_F77='-PIC'
  48222. - lt_prog_compiler_static_F77='-Bstatic'
  48223. - ;;
  48224. -
  48225. - sysv4 | sysv4.2uw2* | sysv4.3*)
  48226. - lt_prog_compiler_wl_F77='-Wl,'
  48227. - lt_prog_compiler_pic_F77='-KPIC'
  48228. - lt_prog_compiler_static_F77='-Bstatic'
  48229. - ;;
  48230. -
  48231. - sysv4*MP*)
  48232. - if test -d /usr/nec ;then
  48233. - lt_prog_compiler_pic_F77='-Kconform_pic'
  48234. - lt_prog_compiler_static_F77='-Bstatic'
  48235. - fi
  48236. - ;;
  48237. -
  48238. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  48239. - lt_prog_compiler_wl_F77='-Wl,'
  48240. - lt_prog_compiler_pic_F77='-KPIC'
  48241. - lt_prog_compiler_static_F77='-Bstatic'
  48242. - ;;
  48243. -
  48244. - unicos*)
  48245. - lt_prog_compiler_wl_F77='-Wl,'
  48246. - lt_prog_compiler_can_build_shared_F77=no
  48247. - ;;
  48248. -
  48249. - uts4*)
  48250. - lt_prog_compiler_pic_F77='-pic'
  48251. - lt_prog_compiler_static_F77='-Bstatic'
  48252. - ;;
  48253. -
  48254. - *)
  48255. - lt_prog_compiler_can_build_shared_F77=no
  48256. - ;;
  48257. - esac
  48258. - fi
  48259. -
  48260. -{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
  48261. -$as_echo "$lt_prog_compiler_pic_F77" >&6; }
  48262. -
  48263. -#
  48264. -# Check to make sure the PIC flag actually works.
  48265. -#
  48266. -if test -n "$lt_prog_compiler_pic_F77"; then
  48267. -
  48268. -{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
  48269. -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
  48270. -if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
  48271. - $as_echo_n "(cached) " >&6
  48272. -else
  48273. - lt_cv_prog_compiler_pic_works_F77=no
  48274. - ac_outfile=conftest.$ac_objext
  48275. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  48276. - lt_compiler_flag="$lt_prog_compiler_pic_F77"
  48277. - # Insert the option either (1) after the last *FLAGS variable, or
  48278. - # (2) before a word containing "conftest.", or (3) at the end.
  48279. - # Note that $ac_compile itself does not contain backslashes and begins
  48280. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  48281. - # The option is referenced via a variable to avoid confusing sed.
  48282. - lt_compile=`echo "$ac_compile" | $SED \
  48283. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  48284. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  48285. - -e 's:$: $lt_compiler_flag:'`
  48286. - (eval echo "\"\$as_me:15158: $lt_compile\"" >&5)
  48287. - (eval "$lt_compile" 2>conftest.err)
  48288. - ac_status=$?
  48289. - cat conftest.err >&5
  48290. - echo "$as_me:15162: \$? = $ac_status" >&5
  48291. - if (exit $ac_status) && test -s "$ac_outfile"; then
  48292. - # The compiler can only warn and ignore the option if not recognized
  48293. - # So say no if there are warnings other than the usual output.
  48294. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  48295. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  48296. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  48297. - lt_cv_prog_compiler_pic_works_F77=yes
  48298. - fi
  48299. - fi
  48300. - $rm conftest*
  48301. -
  48302. -fi
  48303. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
  48304. -$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
  48305. -
  48306. -if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
  48307. - case $lt_prog_compiler_pic_F77 in
  48308. - "" | " "*) ;;
  48309. - *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
  48310. - esac
  48311. -else
  48312. - lt_prog_compiler_pic_F77=
  48313. - lt_prog_compiler_can_build_shared_F77=no
  48314. -fi
  48315. -
  48316. -fi
  48317. -case $host_os in
  48318. - # For platforms which do not support PIC, -DPIC is meaningless:
  48319. - *djgpp*)
  48320. - lt_prog_compiler_pic_F77=
  48321. - ;;
  48322. - *)
  48323. - lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
  48324. - ;;
  48325. -esac
  48326. -
  48327. -#
  48328. -# Check to make sure the static flag actually works.
  48329. -#
  48330. -wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
  48331. -{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  48332. -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  48333. -if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
  48334. - $as_echo_n "(cached) " >&6
  48335. -else
  48336. - lt_cv_prog_compiler_static_works_F77=no
  48337. - save_LDFLAGS="$LDFLAGS"
  48338. - LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  48339. - echo "$lt_simple_link_test_code" > conftest.$ac_ext
  48340. - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  48341. - # The linker can only warn and ignore the option if not recognized
  48342. - # So say no if there are warnings
  48343. - if test -s conftest.err; then
  48344. - # Append any errors to the config.log.
  48345. - cat conftest.err 1>&5
  48346. - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  48347. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  48348. - if diff conftest.exp conftest.er2 >/dev/null; then
  48349. - lt_cv_prog_compiler_static_works_F77=yes
  48350. - fi
  48351. - else
  48352. - lt_cv_prog_compiler_static_works_F77=yes
  48353. - fi
  48354. - fi
  48355. - $rm -r conftest*
  48356. - LDFLAGS="$save_LDFLAGS"
  48357. -
  48358. -fi
  48359. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
  48360. -$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
  48361. -
  48362. -if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
  48363. - :
  48364. -else
  48365. - lt_prog_compiler_static_F77=
  48366. -fi
  48367. -
  48368. -
  48369. -{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  48370. -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  48371. -if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
  48372. - $as_echo_n "(cached) " >&6
  48373. -else
  48374. - lt_cv_prog_compiler_c_o_F77=no
  48375. - $rm -r conftest 2>/dev/null
  48376. - mkdir conftest
  48377. - cd conftest
  48378. - mkdir out
  48379. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  48380. -
  48381. - lt_compiler_flag="-o out/conftest2.$ac_objext"
  48382. - # Insert the option either (1) after the last *FLAGS variable, or
  48383. - # (2) before a word containing "conftest.", or (3) at the end.
  48384. - # Note that $ac_compile itself does not contain backslashes and begins
  48385. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  48386. - lt_compile=`echo "$ac_compile" | $SED \
  48387. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  48388. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  48389. - -e 's:$: $lt_compiler_flag:'`
  48390. - (eval echo "\"\$as_me:15262: $lt_compile\"" >&5)
  48391. - (eval "$lt_compile" 2>out/conftest.err)
  48392. - ac_status=$?
  48393. - cat out/conftest.err >&5
  48394. - echo "$as_me:15266: \$? = $ac_status" >&5
  48395. - if (exit $ac_status) && test -s out/conftest2.$ac_objext
  48396. - then
  48397. - # The compiler can only warn and ignore the option if not recognized
  48398. - # So say no if there are warnings
  48399. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  48400. - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  48401. - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  48402. - lt_cv_prog_compiler_c_o_F77=yes
  48403. - fi
  48404. - fi
  48405. - chmod u+w . 2>&5
  48406. - $rm conftest*
  48407. - # SGI C++ compiler will create directory out/ii_files/ for
  48408. - # template instantiation
  48409. - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  48410. - $rm out/* && rmdir out
  48411. - cd ..
  48412. - rmdir conftest
  48413. - $rm conftest*
  48414. -
  48415. -fi
  48416. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
  48417. -$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
  48418. -
  48419. -
  48420. -hard_links="nottested"
  48421. -if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
  48422. - # do not overwrite the value of need_locks provided by the user
  48423. - { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  48424. -$as_echo_n "checking if we can lock with hard links... " >&6; }
  48425. - hard_links=yes
  48426. - $rm conftest*
  48427. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  48428. - touch conftest.a
  48429. - ln conftest.a conftest.b 2>&5 || hard_links=no
  48430. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  48431. - { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
  48432. -$as_echo "$hard_links" >&6; }
  48433. - if test "$hard_links" = no; then
  48434. - { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  48435. -$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  48436. - need_locks=warn
  48437. - fi
  48438. -else
  48439. - need_locks=no
  48440. -fi
  48441. -
  48442. -{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  48443. -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  48444. -
  48445. - runpath_var=
  48446. - allow_undefined_flag_F77=
  48447. - enable_shared_with_static_runtimes_F77=no
  48448. - archive_cmds_F77=
  48449. - archive_expsym_cmds_F77=
  48450. - old_archive_From_new_cmds_F77=
  48451. - old_archive_from_expsyms_cmds_F77=
  48452. - export_dynamic_flag_spec_F77=
  48453. - whole_archive_flag_spec_F77=
  48454. - thread_safe_flag_spec_F77=
  48455. - hardcode_libdir_flag_spec_F77=
  48456. - hardcode_libdir_flag_spec_ld_F77=
  48457. - hardcode_libdir_separator_F77=
  48458. - hardcode_direct_F77=no
  48459. - hardcode_minus_L_F77=no
  48460. - hardcode_shlibpath_var_F77=unsupported
  48461. - link_all_deplibs_F77=unknown
  48462. - hardcode_automatic_F77=no
  48463. - module_cmds_F77=
  48464. - module_expsym_cmds_F77=
  48465. - always_export_symbols_F77=no
  48466. - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  48467. - # include_expsyms should be a list of space-separated symbols to be *always*
  48468. - # included in the symbol list
  48469. - include_expsyms_F77=
  48470. - # exclude_expsyms can be an extended regexp of symbols to exclude
  48471. - # it will be wrapped by ` (' and `)$', so one must not match beginning or
  48472. - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  48473. - # as well as any symbol that contains `d'.
  48474. - exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  48475. - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  48476. - # platforms (ab)use it in PIC code, but their linkers get confused if
  48477. - # the symbol is explicitly referenced. Since portable code cannot
  48478. - # rely on this symbol name, it's probably fine to never include it in
  48479. - # preloaded symbol tables.
  48480. - # Exclude shared library initialization/finalization symbols.
  48481. - extract_expsyms_cmds=
  48482. - # Just being paranoid about ensuring that cc_basename is set.
  48483. - for cc_temp in $compiler""; do
  48484. - case $cc_temp in
  48485. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  48486. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  48487. - \-*) ;;
  48488. - *) break;;
  48489. - esac
  48490. -done
  48491. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  48492. -
  48493. - case $host_os in
  48494. - cygwin* | mingw* | pw32*)
  48495. - # FIXME: the MSVC++ port hasn't been tested in a loooong time
  48496. - # When not using gcc, we currently assume that we are using
  48497. - # Microsoft Visual C++.
  48498. - if test "$GCC" != yes; then
  48499. - with_gnu_ld=no
  48500. - fi
  48501. - ;;
  48502. - interix*)
  48503. - # we just hope/assume this is gcc and not c89 (= MSVC++)
  48504. - with_gnu_ld=yes
  48505. - ;;
  48506. - openbsd*)
  48507. - with_gnu_ld=no
  48508. - ;;
  48509. - esac
  48510. -
  48511. - ld_shlibs_F77=yes
  48512. - if test "$with_gnu_ld" = yes; then
  48513. - # If archive_cmds runs LD, not CC, wlarc should be empty
  48514. - wlarc='${wl}'
  48515. -
  48516. - # Set some defaults for GNU ld with shared library support. These
  48517. - # are reset later if shared libraries are not supported. Putting them
  48518. - # here allows them to be overridden if necessary.
  48519. - runpath_var=LD_RUN_PATH
  48520. - hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
  48521. - export_dynamic_flag_spec_F77='${wl}--export-dynamic'
  48522. - # ancient GNU ld didn't support --whole-archive et. al.
  48523. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
  48524. - whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  48525. - else
  48526. - whole_archive_flag_spec_F77=
  48527. - fi
  48528. - supports_anon_versioning=no
  48529. - case `$LD -v 2>/dev/null` in
  48530. - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  48531. - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  48532. - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  48533. - *\ 2.11.*) ;; # other 2.11 versions
  48534. - *) supports_anon_versioning=yes ;;
  48535. - esac
  48536. -
  48537. - # See if GNU ld supports shared libraries.
  48538. - case $host_os in
  48539. - aix[3-9]*)
  48540. - # On AIX/PPC, the GNU linker is very broken
  48541. - if test "$host_cpu" != ia64; then
  48542. - ld_shlibs_F77=no
  48543. - cat <<EOF 1>&2
  48544. -
  48545. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  48546. -*** to be unable to reliably create shared libraries on AIX.
  48547. -*** Therefore, libtool is disabling shared libraries support. If you
  48548. -*** really care for shared libraries, you may want to modify your PATH
  48549. -*** so that a non-GNU linker is found, and then restart.
  48550. -
  48551. -EOF
  48552. - fi
  48553. - ;;
  48554. -
  48555. - amigaos*)
  48556. - archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  48557. - hardcode_libdir_flag_spec_F77='-L$libdir'
  48558. - hardcode_minus_L_F77=yes
  48559. -
  48560. - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  48561. - # that the semantics of dynamic libraries on AmigaOS, at least up
  48562. - # to version 4, is to share data among multiple programs linked
  48563. - # with the same dynamic library. Since this doesn't match the
  48564. - # behavior of shared libraries on other platforms, we can't use
  48565. - # them.
  48566. - ld_shlibs_F77=no
  48567. - ;;
  48568. -
  48569. - beos*)
  48570. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  48571. - allow_undefined_flag_F77=unsupported
  48572. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  48573. - # support --undefined. This deserves some investigation. FIXME
  48574. - archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  48575. - else
  48576. - ld_shlibs_F77=no
  48577. - fi
  48578. - ;;
  48579. -
  48580. - cygwin* | mingw* | pw32*)
  48581. - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
  48582. - # as there is no search path for DLLs.
  48583. - hardcode_libdir_flag_spec_F77='-L$libdir'
  48584. - allow_undefined_flag_F77=unsupported
  48585. - always_export_symbols_F77=no
  48586. - enable_shared_with_static_runtimes_F77=yes
  48587. - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  48588. -
  48589. - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  48590. - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  48591. - # If the export-symbols file already is a .def file (1st line
  48592. - # is EXPORTS), use it as is; otherwise, prepend...
  48593. - archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  48594. - cp $export_symbols $output_objdir/$soname.def;
  48595. - else
  48596. - echo EXPORTS > $output_objdir/$soname.def;
  48597. - cat $export_symbols >> $output_objdir/$soname.def;
  48598. - fi~
  48599. - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  48600. - else
  48601. - ld_shlibs_F77=no
  48602. - fi
  48603. - ;;
  48604. -
  48605. - interix[3-9]*)
  48606. - hardcode_direct_F77=no
  48607. - hardcode_shlibpath_var_F77=no
  48608. - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
  48609. - export_dynamic_flag_spec_F77='${wl}-E'
  48610. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  48611. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  48612. - # default) and relocated if they conflict, which is a slow very memory
  48613. - # consuming and fragmenting process. To avoid this, we pick a random,
  48614. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  48615. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  48616. - archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  48617. - archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  48618. - ;;
  48619. -
  48620. - gnu* | linux* | k*bsd*-gnu)
  48621. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  48622. - tmp_addflag=
  48623. - case $cc_basename,$host_cpu in
  48624. - pgcc*) # Portland Group C compiler
  48625. - whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  48626. - tmp_addflag=' $pic_flag'
  48627. - ;;
  48628. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  48629. - whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  48630. - tmp_addflag=' $pic_flag -Mnomain' ;;
  48631. - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  48632. - tmp_addflag=' -i_dynamic' ;;
  48633. - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  48634. - tmp_addflag=' -i_dynamic -nofor_main' ;;
  48635. - ifc* | ifort*) # Intel Fortran compiler
  48636. - tmp_addflag=' -nofor_main' ;;
  48637. - esac
  48638. - case `$CC -V 2>&1 | sed 5q` in
  48639. - *Sun\ C*) # Sun C 5.9
  48640. - whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  48641. - tmp_sharedflag='-G' ;;
  48642. - *Sun\ F*) # Sun Fortran 8.3
  48643. - tmp_sharedflag='-G' ;;
  48644. - *)
  48645. - tmp_sharedflag='-shared' ;;
  48646. - esac
  48647. - archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  48648. -
  48649. - if test $supports_anon_versioning = yes; then
  48650. - archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
  48651. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  48652. - $echo "local: *; };" >> $output_objdir/$libname.ver~
  48653. - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  48654. - fi
  48655. - else
  48656. - ld_shlibs_F77=no
  48657. - fi
  48658. - ;;
  48659. -
  48660. - netbsd*)
  48661. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  48662. - archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  48663. - wlarc=
  48664. - else
  48665. - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  48666. - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  48667. - fi
  48668. - ;;
  48669. -
  48670. - solaris*)
  48671. - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  48672. - ld_shlibs_F77=no
  48673. - cat <<EOF 1>&2
  48674. -
  48675. -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  48676. -*** create shared libraries on Solaris systems. Therefore, libtool
  48677. -*** is disabling shared libraries support. We urge you to upgrade GNU
  48678. -*** binutils to release 2.9.1 or newer. Another option is to modify
  48679. -*** your PATH or compiler configuration so that the native linker is
  48680. -*** used, and then restart.
  48681. -
  48682. -EOF
  48683. - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  48684. - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  48685. - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  48686. - else
  48687. - ld_shlibs_F77=no
  48688. - fi
  48689. - ;;
  48690. -
  48691. - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  48692. - case `$LD -v 2>&1` in
  48693. - *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  48694. - ld_shlibs_F77=no
  48695. - cat <<_LT_EOF 1>&2
  48696. -
  48697. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  48698. -*** reliably create shared libraries on SCO systems. Therefore, libtool
  48699. -*** is disabling shared libraries support. We urge you to upgrade GNU
  48700. -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  48701. -*** your PATH or compiler configuration so that the native linker is
  48702. -*** used, and then restart.
  48703. -
  48704. -_LT_EOF
  48705. - ;;
  48706. - *)
  48707. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  48708. - hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  48709. - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
  48710. - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
  48711. - else
  48712. - ld_shlibs_F77=no
  48713. - fi
  48714. - ;;
  48715. - esac
  48716. - ;;
  48717. -
  48718. - sunos4*)
  48719. - archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  48720. - wlarc=
  48721. - hardcode_direct_F77=yes
  48722. - hardcode_shlibpath_var_F77=no
  48723. - ;;
  48724. -
  48725. - *)
  48726. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  48727. - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  48728. - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  48729. - else
  48730. - ld_shlibs_F77=no
  48731. - fi
  48732. - ;;
  48733. - esac
  48734. -
  48735. - if test "$ld_shlibs_F77" = no; then
  48736. - runpath_var=
  48737. - hardcode_libdir_flag_spec_F77=
  48738. - export_dynamic_flag_spec_F77=
  48739. - whole_archive_flag_spec_F77=
  48740. - fi
  48741. - else
  48742. - # PORTME fill in a description of your system's linker (not GNU ld)
  48743. - case $host_os in
  48744. - aix3*)
  48745. - allow_undefined_flag_F77=unsupported
  48746. - always_export_symbols_F77=yes
  48747. - archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  48748. - # Note: this linker hardcodes the directories in LIBPATH if there
  48749. - # are no directories specified by -L.
  48750. - hardcode_minus_L_F77=yes
  48751. - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  48752. - # Neither direct hardcoding nor static linking is supported with a
  48753. - # broken collect2.
  48754. - hardcode_direct_F77=unsupported
  48755. - fi
  48756. - ;;
  48757. -
  48758. - aix[4-9]*)
  48759. - if test "$host_cpu" = ia64; then
  48760. - # On IA64, the linker does run time linking by default, so we don't
  48761. - # have to do anything special.
  48762. - aix_use_runtimelinking=no
  48763. - exp_sym_flag='-Bexport'
  48764. - no_entry_flag=""
  48765. - else
  48766. - # If we're using GNU nm, then we don't want the "-C" option.
  48767. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  48768. - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  48769. - export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
  48770. - else
  48771. - export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
  48772. - fi
  48773. - aix_use_runtimelinking=no
  48774. -
  48775. - # Test if we are trying to use run time linking or normal
  48776. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  48777. - # need to do runtime linking.
  48778. - case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  48779. - for ld_flag in $LDFLAGS; do
  48780. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  48781. - aix_use_runtimelinking=yes
  48782. - break
  48783. - fi
  48784. - done
  48785. - ;;
  48786. - esac
  48787. -
  48788. - exp_sym_flag='-bexport'
  48789. - no_entry_flag='-bnoentry'
  48790. - fi
  48791. -
  48792. - # When large executables or shared objects are built, AIX ld can
  48793. - # have problems creating the table of contents. If linking a library
  48794. - # or program results in "error TOC overflow" add -mminimal-toc to
  48795. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  48796. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  48797. -
  48798. - archive_cmds_F77=''
  48799. - hardcode_direct_F77=yes
  48800. - hardcode_libdir_separator_F77=':'
  48801. - link_all_deplibs_F77=yes
  48802. -
  48803. - if test "$GCC" = yes; then
  48804. - case $host_os in aix4.[012]|aix4.[012].*)
  48805. - # We only want to do this on AIX 4.2 and lower, the check
  48806. - # below for broken collect2 doesn't work under 4.3+
  48807. - collect2name=`${CC} -print-prog-name=collect2`
  48808. - if test -f "$collect2name" && \
  48809. - strings "$collect2name" | grep resolve_lib_name >/dev/null
  48810. - then
  48811. - # We have reworked collect2
  48812. - :
  48813. - else
  48814. - # We have old collect2
  48815. - hardcode_direct_F77=unsupported
  48816. - # It fails to find uninstalled libraries when the uninstalled
  48817. - # path is not listed in the libpath. Setting hardcode_minus_L
  48818. - # to unsupported forces relinking
  48819. - hardcode_minus_L_F77=yes
  48820. - hardcode_libdir_flag_spec_F77='-L$libdir'
  48821. - hardcode_libdir_separator_F77=
  48822. - fi
  48823. - ;;
  48824. - esac
  48825. - shared_flag='-shared'
  48826. - if test "$aix_use_runtimelinking" = yes; then
  48827. - shared_flag="$shared_flag "'${wl}-G'
  48828. - fi
  48829. - else
  48830. - # not using gcc
  48831. - if test "$host_cpu" = ia64; then
  48832. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  48833. - # chokes on -Wl,-G. The following line is correct:
  48834. - shared_flag='-G'
  48835. - else
  48836. - if test "$aix_use_runtimelinking" = yes; then
  48837. - shared_flag='${wl}-G'
  48838. - else
  48839. - shared_flag='${wl}-bM:SRE'
  48840. - fi
  48841. - fi
  48842. - fi
  48843. -
  48844. - # It seems that -bexpall does not export symbols beginning with
  48845. - # underscore (_), so it is better to generate a list of symbols to export.
  48846. - always_export_symbols_F77=yes
  48847. - if test "$aix_use_runtimelinking" = yes; then
  48848. - # Warning - without using the other runtime loading flags (-brtl),
  48849. - # -berok will link without error, but may produce a broken library.
  48850. - allow_undefined_flag_F77='-berok'
  48851. - # Determine the default libpath from the value encoded in an empty executable.
  48852. - cat >conftest.$ac_ext <<_ACEOF
  48853. - program main
  48854. -
  48855. - end
  48856. -_ACEOF
  48857. -rm -f conftest.$ac_objext conftest$ac_exeext
  48858. -if { (ac_try="$ac_link"
  48859. -case "(($ac_try" in
  48860. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  48861. - *) ac_try_echo=$ac_try;;
  48862. -esac
  48863. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  48864. -$as_echo "$ac_try_echo") >&5
  48865. - (eval "$ac_link") 2>conftest.er1
  48866. - ac_status=$?
  48867. - grep -v '^ *+' conftest.er1 >conftest.err
  48868. - rm -f conftest.er1
  48869. - cat conftest.err >&5
  48870. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  48871. - (exit $ac_status); } && {
  48872. - test -z "$ac_f77_werror_flag" ||
  48873. - test ! -s conftest.err
  48874. - } && test -s conftest$ac_exeext && {
  48875. - test "$cross_compiling" = yes ||
  48876. - $as_test_x conftest$ac_exeext
  48877. - }; then
  48878. -
  48879. -lt_aix_libpath_sed='
  48880. - /Import File Strings/,/^$/ {
  48881. - /^0/ {
  48882. - s/^0 *\(.*\)$/\1/
  48883. - p
  48884. - }
  48885. - }'
  48886. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  48887. -# Check for a 64-bit object if we didn't find anything.
  48888. -if test -z "$aix_libpath"; then
  48889. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  48890. -fi
  48891. -else
  48892. - $as_echo "$as_me: failed program was:" >&5
  48893. -sed 's/^/| /' conftest.$ac_ext >&5
  48894. -
  48895. -
  48896. -fi
  48897. -
  48898. -rm -rf conftest.dSYM
  48899. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  48900. - conftest$ac_exeext conftest.$ac_ext
  48901. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  48902. -
  48903. - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
  48904. - archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  48905. - else
  48906. - if test "$host_cpu" = ia64; then
  48907. - hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
  48908. - allow_undefined_flag_F77="-z nodefs"
  48909. - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  48910. - else
  48911. - # Determine the default libpath from the value encoded in an empty executable.
  48912. - cat >conftest.$ac_ext <<_ACEOF
  48913. - program main
  48914. -
  48915. - end
  48916. -_ACEOF
  48917. -rm -f conftest.$ac_objext conftest$ac_exeext
  48918. -if { (ac_try="$ac_link"
  48919. -case "(($ac_try" in
  48920. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  48921. - *) ac_try_echo=$ac_try;;
  48922. -esac
  48923. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  48924. -$as_echo "$ac_try_echo") >&5
  48925. - (eval "$ac_link") 2>conftest.er1
  48926. - ac_status=$?
  48927. - grep -v '^ *+' conftest.er1 >conftest.err
  48928. - rm -f conftest.er1
  48929. - cat conftest.err >&5
  48930. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  48931. - (exit $ac_status); } && {
  48932. - test -z "$ac_f77_werror_flag" ||
  48933. - test ! -s conftest.err
  48934. - } && test -s conftest$ac_exeext && {
  48935. - test "$cross_compiling" = yes ||
  48936. - $as_test_x conftest$ac_exeext
  48937. - }; then
  48938. -
  48939. -lt_aix_libpath_sed='
  48940. - /Import File Strings/,/^$/ {
  48941. - /^0/ {
  48942. - s/^0 *\(.*\)$/\1/
  48943. - p
  48944. - }
  48945. - }'
  48946. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  48947. -# Check for a 64-bit object if we didn't find anything.
  48948. -if test -z "$aix_libpath"; then
  48949. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  48950. -fi
  48951. -else
  48952. - $as_echo "$as_me: failed program was:" >&5
  48953. -sed 's/^/| /' conftest.$ac_ext >&5
  48954. -
  48955. -
  48956. -fi
  48957. -
  48958. -rm -rf conftest.dSYM
  48959. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  48960. - conftest$ac_exeext conftest.$ac_ext
  48961. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  48962. -
  48963. - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
  48964. - # Warning - without using the other run time loading flags,
  48965. - # -berok will link without error, but may produce a broken library.
  48966. - no_undefined_flag_F77=' ${wl}-bernotok'
  48967. - allow_undefined_flag_F77=' ${wl}-berok'
  48968. - # Exported symbols can be pulled into shared objects from archives
  48969. - whole_archive_flag_spec_F77='$convenience'
  48970. - archive_cmds_need_lc_F77=yes
  48971. - # This is similar to how AIX traditionally builds its shared libraries.
  48972. - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  48973. - fi
  48974. - fi
  48975. - ;;
  48976. -
  48977. - amigaos*)
  48978. - archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  48979. - hardcode_libdir_flag_spec_F77='-L$libdir'
  48980. - hardcode_minus_L_F77=yes
  48981. - # see comment about different semantics on the GNU ld section
  48982. - ld_shlibs_F77=no
  48983. - ;;
  48984. -
  48985. - bsdi[45]*)
  48986. - export_dynamic_flag_spec_F77=-rdynamic
  48987. - ;;
  48988. -
  48989. - cygwin* | mingw* | pw32*)
  48990. - # When not using gcc, we currently assume that we are using
  48991. - # Microsoft Visual C++.
  48992. - # hardcode_libdir_flag_spec is actually meaningless, as there is
  48993. - # no search path for DLLs.
  48994. - hardcode_libdir_flag_spec_F77=' '
  48995. - allow_undefined_flag_F77=unsupported
  48996. - # Tell ltmain to make .lib files, not .a files.
  48997. - libext=lib
  48998. - # Tell ltmain to make .dll files, not .so files.
  48999. - shrext_cmds=".dll"
  49000. - # FIXME: Setting linknames here is a bad hack.
  49001. - archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
  49002. - # The linker will automatically build a .lib file if we build a DLL.
  49003. - old_archive_From_new_cmds_F77='true'
  49004. - # FIXME: Should let the user specify the lib program.
  49005. - old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
  49006. - fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
  49007. - enable_shared_with_static_runtimes_F77=yes
  49008. - ;;
  49009. -
  49010. - darwin* | rhapsody*)
  49011. - case $host_os in
  49012. - rhapsody* | darwin1.[012])
  49013. - allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
  49014. - ;;
  49015. - *) # Darwin 1.3 on
  49016. - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  49017. - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  49018. - else
  49019. - case ${MACOSX_DEPLOYMENT_TARGET} in
  49020. - 10.[012])
  49021. - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  49022. - ;;
  49023. - 10.*)
  49024. - allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
  49025. - ;;
  49026. - esac
  49027. - fi
  49028. - ;;
  49029. - esac
  49030. - archive_cmds_need_lc_F77=no
  49031. - hardcode_direct_F77=no
  49032. - hardcode_automatic_F77=yes
  49033. - hardcode_shlibpath_var_F77=unsupported
  49034. - whole_archive_flag_spec_F77=''
  49035. - link_all_deplibs_F77=yes
  49036. - if test "$GCC" = yes ; then
  49037. - output_verbose_link_cmd='echo'
  49038. - archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  49039. - module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  49040. - archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  49041. - module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  49042. - else
  49043. - case $cc_basename in
  49044. - xlc*)
  49045. - output_verbose_link_cmd='echo'
  49046. - archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
  49047. - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  49048. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  49049. - archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  49050. - module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  49051. - ;;
  49052. - *)
  49053. - ld_shlibs_F77=no
  49054. - ;;
  49055. - esac
  49056. - fi
  49057. - ;;
  49058. -
  49059. - dgux*)
  49060. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  49061. - hardcode_libdir_flag_spec_F77='-L$libdir'
  49062. - hardcode_shlibpath_var_F77=no
  49063. - ;;
  49064. -
  49065. - freebsd1*)
  49066. - ld_shlibs_F77=no
  49067. - ;;
  49068. -
  49069. - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  49070. - # support. Future versions do this automatically, but an explicit c++rt0.o
  49071. - # does not break anything, and helps significantly (at the cost of a little
  49072. - # extra space).
  49073. - freebsd2.2*)
  49074. - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  49075. - hardcode_libdir_flag_spec_F77='-R$libdir'
  49076. - hardcode_direct_F77=yes
  49077. - hardcode_shlibpath_var_F77=no
  49078. - ;;
  49079. -
  49080. - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  49081. - freebsd2*)
  49082. - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  49083. - hardcode_direct_F77=yes
  49084. - hardcode_minus_L_F77=yes
  49085. - hardcode_shlibpath_var_F77=no
  49086. - ;;
  49087. -
  49088. - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  49089. - freebsd* | dragonfly*)
  49090. - archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  49091. - hardcode_libdir_flag_spec_F77='-R$libdir'
  49092. - hardcode_direct_F77=yes
  49093. - hardcode_shlibpath_var_F77=no
  49094. - ;;
  49095. -
  49096. - hpux9*)
  49097. - if test "$GCC" = yes; then
  49098. - archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  49099. - else
  49100. - archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  49101. - fi
  49102. - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
  49103. - hardcode_libdir_separator_F77=:
  49104. - hardcode_direct_F77=yes
  49105. -
  49106. - # hardcode_minus_L: Not really in the search PATH,
  49107. - # but as the default location of the library.
  49108. - hardcode_minus_L_F77=yes
  49109. - export_dynamic_flag_spec_F77='${wl}-E'
  49110. - ;;
  49111. -
  49112. - hpux10*)
  49113. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  49114. - archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  49115. - else
  49116. - archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  49117. - fi
  49118. - if test "$with_gnu_ld" = no; then
  49119. - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
  49120. - hardcode_libdir_separator_F77=:
  49121. -
  49122. - hardcode_direct_F77=yes
  49123. - export_dynamic_flag_spec_F77='${wl}-E'
  49124. -
  49125. - # hardcode_minus_L: Not really in the search PATH,
  49126. - # but as the default location of the library.
  49127. - hardcode_minus_L_F77=yes
  49128. - fi
  49129. - ;;
  49130. -
  49131. - hpux11*)
  49132. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  49133. - case $host_cpu in
  49134. - hppa*64*)
  49135. - archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  49136. - ;;
  49137. - ia64*)
  49138. - archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  49139. - ;;
  49140. - *)
  49141. - archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  49142. - ;;
  49143. - esac
  49144. - else
  49145. - case $host_cpu in
  49146. - hppa*64*)
  49147. - archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  49148. - ;;
  49149. - ia64*)
  49150. - archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  49151. - ;;
  49152. - *)
  49153. - archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  49154. - ;;
  49155. - esac
  49156. - fi
  49157. - if test "$with_gnu_ld" = no; then
  49158. - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
  49159. - hardcode_libdir_separator_F77=:
  49160. -
  49161. - case $host_cpu in
  49162. - hppa*64*|ia64*)
  49163. - hardcode_libdir_flag_spec_ld_F77='+b $libdir'
  49164. - hardcode_direct_F77=no
  49165. - hardcode_shlibpath_var_F77=no
  49166. - ;;
  49167. - *)
  49168. - hardcode_direct_F77=yes
  49169. - export_dynamic_flag_spec_F77='${wl}-E'
  49170. -
  49171. - # hardcode_minus_L: Not really in the search PATH,
  49172. - # but as the default location of the library.
  49173. - hardcode_minus_L_F77=yes
  49174. - ;;
  49175. - esac
  49176. - fi
  49177. - ;;
  49178. -
  49179. - irix5* | irix6* | nonstopux*)
  49180. - if test "$GCC" = yes; then
  49181. - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  49182. - else
  49183. - archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  49184. - hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
  49185. - fi
  49186. - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
  49187. - hardcode_libdir_separator_F77=:
  49188. - link_all_deplibs_F77=yes
  49189. - ;;
  49190. -
  49191. - netbsd*)
  49192. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  49193. - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  49194. - else
  49195. - archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  49196. - fi
  49197. - hardcode_libdir_flag_spec_F77='-R$libdir'
  49198. - hardcode_direct_F77=yes
  49199. - hardcode_shlibpath_var_F77=no
  49200. - ;;
  49201. -
  49202. - newsos6)
  49203. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  49204. - hardcode_direct_F77=yes
  49205. - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
  49206. - hardcode_libdir_separator_F77=:
  49207. - hardcode_shlibpath_var_F77=no
  49208. - ;;
  49209. -
  49210. - openbsd*)
  49211. - if test -f /usr/libexec/ld.so; then
  49212. - hardcode_direct_F77=yes
  49213. - hardcode_shlibpath_var_F77=no
  49214. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  49215. - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  49216. - archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  49217. - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
  49218. - export_dynamic_flag_spec_F77='${wl}-E'
  49219. - else
  49220. - case $host_os in
  49221. - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  49222. - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  49223. - hardcode_libdir_flag_spec_F77='-R$libdir'
  49224. - ;;
  49225. - *)
  49226. - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  49227. - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
  49228. - ;;
  49229. - esac
  49230. - fi
  49231. - else
  49232. - ld_shlibs_F77=no
  49233. - fi
  49234. - ;;
  49235. -
  49236. - os2*)
  49237. - hardcode_libdir_flag_spec_F77='-L$libdir'
  49238. - hardcode_minus_L_F77=yes
  49239. - allow_undefined_flag_F77=unsupported
  49240. - archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  49241. - old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  49242. - ;;
  49243. -
  49244. - osf3*)
  49245. - if test "$GCC" = yes; then
  49246. - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
  49247. - archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  49248. - else
  49249. - allow_undefined_flag_F77=' -expect_unresolved \*'
  49250. - archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  49251. - fi
  49252. - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
  49253. - hardcode_libdir_separator_F77=:
  49254. - ;;
  49255. -
  49256. - osf4* | osf5*) # as osf3* with the addition of -msym flag
  49257. - if test "$GCC" = yes; then
  49258. - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
  49259. - archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  49260. - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
  49261. - else
  49262. - allow_undefined_flag_F77=' -expect_unresolved \*'
  49263. - archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  49264. - archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
  49265. - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
  49266. -
  49267. - # Both c and cxx compiler support -rpath directly
  49268. - hardcode_libdir_flag_spec_F77='-rpath $libdir'
  49269. - fi
  49270. - hardcode_libdir_separator_F77=:
  49271. - ;;
  49272. -
  49273. - solaris*)
  49274. - no_undefined_flag_F77=' -z text'
  49275. - if test "$GCC" = yes; then
  49276. - wlarc='${wl}'
  49277. - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  49278. - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  49279. - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
  49280. - else
  49281. - wlarc=''
  49282. - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  49283. - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  49284. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  49285. - fi
  49286. - hardcode_libdir_flag_spec_F77='-R$libdir'
  49287. - hardcode_shlibpath_var_F77=no
  49288. - case $host_os in
  49289. - solaris2.[0-5] | solaris2.[0-5].*) ;;
  49290. - *)
  49291. - # The compiler driver will combine and reorder linker options,
  49292. - # but understands `-z linker_flag'. GCC discards it without `$wl',
  49293. - # but is careful enough not to reorder.
  49294. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  49295. - if test "$GCC" = yes; then
  49296. - whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  49297. - else
  49298. - whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
  49299. - fi
  49300. - ;;
  49301. - esac
  49302. - link_all_deplibs_F77=yes
  49303. - ;;
  49304. -
  49305. - sunos4*)
  49306. - if test "x$host_vendor" = xsequent; then
  49307. - # Use $CC to link under sequent, because it throws in some extra .o
  49308. - # files that make .init and .fini sections work.
  49309. - archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  49310. - else
  49311. - archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  49312. - fi
  49313. - hardcode_libdir_flag_spec_F77='-L$libdir'
  49314. - hardcode_direct_F77=yes
  49315. - hardcode_minus_L_F77=yes
  49316. - hardcode_shlibpath_var_F77=no
  49317. - ;;
  49318. -
  49319. - sysv4)
  49320. - case $host_vendor in
  49321. - sni)
  49322. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  49323. - hardcode_direct_F77=yes # is this really true???
  49324. - ;;
  49325. - siemens)
  49326. - ## LD is ld it makes a PLAMLIB
  49327. - ## CC just makes a GrossModule.
  49328. - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  49329. - reload_cmds_F77='$CC -r -o $output$reload_objs'
  49330. - hardcode_direct_F77=no
  49331. - ;;
  49332. - motorola)
  49333. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  49334. - hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
  49335. - ;;
  49336. - esac
  49337. - runpath_var='LD_RUN_PATH'
  49338. - hardcode_shlibpath_var_F77=no
  49339. - ;;
  49340. -
  49341. - sysv4.3*)
  49342. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  49343. - hardcode_shlibpath_var_F77=no
  49344. - export_dynamic_flag_spec_F77='-Bexport'
  49345. - ;;
  49346. -
  49347. - sysv4*MP*)
  49348. - if test -d /usr/nec; then
  49349. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  49350. - hardcode_shlibpath_var_F77=no
  49351. - runpath_var=LD_RUN_PATH
  49352. - hardcode_runpath_var=yes
  49353. - ld_shlibs_F77=yes
  49354. - fi
  49355. - ;;
  49356. -
  49357. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  49358. - no_undefined_flag_F77='${wl}-z,text'
  49359. - archive_cmds_need_lc_F77=no
  49360. - hardcode_shlibpath_var_F77=no
  49361. - runpath_var='LD_RUN_PATH'
  49362. -
  49363. - if test "$GCC" = yes; then
  49364. - archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  49365. - archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  49366. - else
  49367. - archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  49368. - archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  49369. - fi
  49370. - ;;
  49371. -
  49372. - sysv5* | sco3.2v5* | sco5v6*)
  49373. - # Note: We can NOT use -z defs as we might desire, because we do not
  49374. - # link with -lc, and that would cause any symbols used from libc to
  49375. - # always be unresolved, which means just about no library would
  49376. - # ever link correctly. If we're not using GNU ld we use -z text
  49377. - # though, which does catch some bad symbols but isn't as heavy-handed
  49378. - # as -z defs.
  49379. - no_undefined_flag_F77='${wl}-z,text'
  49380. - allow_undefined_flag_F77='${wl}-z,nodefs'
  49381. - archive_cmds_need_lc_F77=no
  49382. - hardcode_shlibpath_var_F77=no
  49383. - hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  49384. - hardcode_libdir_separator_F77=':'
  49385. - link_all_deplibs_F77=yes
  49386. - export_dynamic_flag_spec_F77='${wl}-Bexport'
  49387. - runpath_var='LD_RUN_PATH'
  49388. -
  49389. - if test "$GCC" = yes; then
  49390. - archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  49391. - archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  49392. - else
  49393. - archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  49394. - archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  49395. - fi
  49396. - ;;
  49397. -
  49398. - uts4*)
  49399. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  49400. - hardcode_libdir_flag_spec_F77='-L$libdir'
  49401. - hardcode_shlibpath_var_F77=no
  49402. - ;;
  49403. -
  49404. - *)
  49405. - ld_shlibs_F77=no
  49406. - ;;
  49407. - esac
  49408. - fi
  49409. -
  49410. -{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
  49411. -$as_echo "$ld_shlibs_F77" >&6; }
  49412. -test "$ld_shlibs_F77" = no && can_build_shared=no
  49413. -
  49414. -#
  49415. -# Do we need to explicitly link libc?
  49416. -#
  49417. -case "x$archive_cmds_need_lc_F77" in
  49418. -x|xyes)
  49419. - # Assume -lc should be added
  49420. - archive_cmds_need_lc_F77=yes
  49421. -
  49422. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  49423. - case $archive_cmds_F77 in
  49424. - *'~'*)
  49425. - # FIXME: we may have to deal with multi-command sequences.
  49426. - ;;
  49427. - '$CC '*)
  49428. - # Test whether the compiler implicitly links with -lc since on some
  49429. - # systems, -lgcc has to come before -lc. If gcc already passes -lc
  49430. - # to ld, don't add -lc before -lgcc.
  49431. - { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  49432. -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  49433. - $rm conftest*
  49434. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  49435. -
  49436. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  49437. - (eval $ac_compile) 2>&5
  49438. - ac_status=$?
  49439. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  49440. - (exit $ac_status); } 2>conftest.err; then
  49441. - soname=conftest
  49442. - lib=conftest
  49443. - libobjs=conftest.$ac_objext
  49444. - deplibs=
  49445. - wl=$lt_prog_compiler_wl_F77
  49446. - pic_flag=$lt_prog_compiler_pic_F77
  49447. - compiler_flags=-v
  49448. - linker_flags=-v
  49449. - verstring=
  49450. - output_objdir=.
  49451. - libname=conftest
  49452. - lt_save_allow_undefined_flag=$allow_undefined_flag_F77
  49453. - allow_undefined_flag_F77=
  49454. - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
  49455. - (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
  49456. - ac_status=$?
  49457. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  49458. - (exit $ac_status); }
  49459. - then
  49460. - archive_cmds_need_lc_F77=no
  49461. - else
  49462. - archive_cmds_need_lc_F77=yes
  49463. - fi
  49464. - allow_undefined_flag_F77=$lt_save_allow_undefined_flag
  49465. - else
  49466. - cat conftest.err 1>&5
  49467. - fi
  49468. - $rm conftest*
  49469. - { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
  49470. -$as_echo "$archive_cmds_need_lc_F77" >&6; }
  49471. - ;;
  49472. - esac
  49473. - fi
  49474. - ;;
  49475. -esac
  49476. -
  49477. -{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  49478. -$as_echo_n "checking dynamic linker characteristics... " >&6; }
  49479. -library_names_spec=
  49480. -libname_spec='lib$name'
  49481. -soname_spec=
  49482. -shrext_cmds=".so"
  49483. -postinstall_cmds=
  49484. -postuninstall_cmds=
  49485. -finish_cmds=
  49486. -finish_eval=
  49487. -shlibpath_var=
  49488. -shlibpath_overrides_runpath=unknown
  49489. -version_type=none
  49490. -dynamic_linker="$host_os ld.so"
  49491. -sys_lib_dlsearch_path_spec="/lib /usr/lib"
  49492. -
  49493. -need_lib_prefix=unknown
  49494. -hardcode_into_libs=no
  49495. -
  49496. -# when you set need_version to no, make sure it does not cause -set_version
  49497. -# flags to be left without arguments
  49498. -need_version=unknown
  49499. -
  49500. -case $host_os in
  49501. -aix3*)
  49502. - version_type=linux
  49503. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  49504. - shlibpath_var=LIBPATH
  49505. -
  49506. - # AIX 3 has no versioning support, so we append a major version to the name.
  49507. - soname_spec='${libname}${release}${shared_ext}$major'
  49508. - ;;
  49509. -
  49510. -aix[4-9]*)
  49511. - version_type=linux
  49512. - need_lib_prefix=no
  49513. - need_version=no
  49514. - hardcode_into_libs=yes
  49515. - if test "$host_cpu" = ia64; then
  49516. - # AIX 5 supports IA64
  49517. - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  49518. - shlibpath_var=LD_LIBRARY_PATH
  49519. - else
  49520. - # With GCC up to 2.95.x, collect2 would create an import file
  49521. - # for dependence libraries. The import file would start with
  49522. - # the line `#! .'. This would cause the generated library to
  49523. - # depend on `.', always an invalid library. This was fixed in
  49524. - # development snapshots of GCC prior to 3.0.
  49525. - case $host_os in
  49526. - aix4 | aix4.[01] | aix4.[01].*)
  49527. - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  49528. - echo ' yes '
  49529. - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  49530. - :
  49531. - else
  49532. - can_build_shared=no
  49533. - fi
  49534. - ;;
  49535. - esac
  49536. - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  49537. - # soname into executable. Probably we can add versioning support to
  49538. - # collect2, so additional links can be useful in future.
  49539. - if test "$aix_use_runtimelinking" = yes; then
  49540. - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  49541. - # instead of lib<name>.a to let people know that these are not
  49542. - # typical AIX shared libraries.
  49543. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  49544. - else
  49545. - # We preserve .a as extension for shared libraries through AIX4.2
  49546. - # and later when we are not doing run time linking.
  49547. - library_names_spec='${libname}${release}.a $libname.a'
  49548. - soname_spec='${libname}${release}${shared_ext}$major'
  49549. - fi
  49550. - shlibpath_var=LIBPATH
  49551. - fi
  49552. - ;;
  49553. -
  49554. -amigaos*)
  49555. - library_names_spec='$libname.ixlibrary $libname.a'
  49556. - # Create ${libname}_ixlibrary.a entries in /sys/libs.
  49557. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  49558. - ;;
  49559. -
  49560. -beos*)
  49561. - library_names_spec='${libname}${shared_ext}'
  49562. - dynamic_linker="$host_os ld.so"
  49563. - shlibpath_var=LIBRARY_PATH
  49564. - ;;
  49565. -
  49566. -bsdi[45]*)
  49567. - version_type=linux
  49568. - need_version=no
  49569. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  49570. - soname_spec='${libname}${release}${shared_ext}$major'
  49571. - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  49572. - shlibpath_var=LD_LIBRARY_PATH
  49573. - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  49574. - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  49575. - # the default ld.so.conf also contains /usr/contrib/lib and
  49576. - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  49577. - # libtool to hard-code these into programs
  49578. - ;;
  49579. -
  49580. -cygwin* | mingw* | pw32*)
  49581. - version_type=windows
  49582. - shrext_cmds=".dll"
  49583. - need_version=no
  49584. - need_lib_prefix=no
  49585. -
  49586. - case $GCC,$host_os in
  49587. - yes,cygwin* | yes,mingw* | yes,pw32*)
  49588. - library_names_spec='$libname.dll.a'
  49589. - # DLL is installed to $(libdir)/../bin by postinstall_cmds
  49590. - postinstall_cmds='base_file=`basename \${file}`~
  49591. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  49592. - dldir=$destdir/`dirname \$dlpath`~
  49593. - test -d \$dldir || mkdir -p \$dldir~
  49594. - $install_prog $dir/$dlname \$dldir/$dlname~
  49595. - chmod a+x \$dldir/$dlname'
  49596. - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  49597. - dlpath=$dir/\$dldll~
  49598. - $rm \$dlpath'
  49599. - shlibpath_overrides_runpath=yes
  49600. -
  49601. - case $host_os in
  49602. - cygwin*)
  49603. - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  49604. - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  49605. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  49606. - ;;
  49607. - mingw*)
  49608. - # MinGW DLLs use traditional 'lib' prefix
  49609. - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  49610. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  49611. - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
  49612. - # It is most probably a Windows format PATH printed by
  49613. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  49614. - # path with ; separators, and with drive letters. We can handle the
  49615. - # drive letters (cygwin fileutils understands them), so leave them,
  49616. - # especially as we might pass files found there to a mingw objdump,
  49617. - # which wouldn't understand a cygwinified path. Ahh.
  49618. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  49619. - else
  49620. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  49621. - fi
  49622. - ;;
  49623. - pw32*)
  49624. - # pw32 DLLs use 'pw' prefix rather than 'lib'
  49625. - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  49626. - ;;
  49627. - esac
  49628. - ;;
  49629. -
  49630. - *)
  49631. - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  49632. - ;;
  49633. - esac
  49634. - dynamic_linker='Win32 ld.exe'
  49635. - # FIXME: first we should search . and the directory the executable is in
  49636. - shlibpath_var=PATH
  49637. - ;;
  49638. -
  49639. -darwin* | rhapsody*)
  49640. - dynamic_linker="$host_os dyld"
  49641. - version_type=darwin
  49642. - need_lib_prefix=no
  49643. - need_version=no
  49644. - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  49645. - soname_spec='${libname}${release}${major}$shared_ext'
  49646. - shlibpath_overrides_runpath=yes
  49647. - shlibpath_var=DYLD_LIBRARY_PATH
  49648. - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  49649. -
  49650. - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  49651. - ;;
  49652. -
  49653. -dgux*)
  49654. - version_type=linux
  49655. - need_lib_prefix=no
  49656. - need_version=no
  49657. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  49658. - soname_spec='${libname}${release}${shared_ext}$major'
  49659. - shlibpath_var=LD_LIBRARY_PATH
  49660. - ;;
  49661. -
  49662. -freebsd1*)
  49663. - dynamic_linker=no
  49664. - ;;
  49665. -
  49666. -freebsd* | dragonfly*)
  49667. - # DragonFly does not have aout. When/if they implement a new
  49668. - # versioning mechanism, adjust this.
  49669. - if test -x /usr/bin/objformat; then
  49670. - objformat=`/usr/bin/objformat`
  49671. - else
  49672. - case $host_os in
  49673. - freebsd[123]*) objformat=aout ;;
  49674. - *) objformat=elf ;;
  49675. - esac
  49676. - fi
  49677. - version_type=freebsd-$objformat
  49678. - case $version_type in
  49679. - freebsd-elf*)
  49680. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  49681. - need_version=no
  49682. - need_lib_prefix=no
  49683. - ;;
  49684. - freebsd-*)
  49685. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  49686. - need_version=yes
  49687. - ;;
  49688. - esac
  49689. - shlibpath_var=LD_LIBRARY_PATH
  49690. - case $host_os in
  49691. - freebsd2*)
  49692. - shlibpath_overrides_runpath=yes
  49693. - ;;
  49694. - freebsd3.[01]* | freebsdelf3.[01]*)
  49695. - shlibpath_overrides_runpath=yes
  49696. - hardcode_into_libs=yes
  49697. - ;;
  49698. - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  49699. - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  49700. - shlibpath_overrides_runpath=no
  49701. - hardcode_into_libs=yes
  49702. - ;;
  49703. - *) # from 4.6 on, and DragonFly
  49704. - shlibpath_overrides_runpath=yes
  49705. - hardcode_into_libs=yes
  49706. - ;;
  49707. - esac
  49708. - ;;
  49709. -
  49710. -gnu*)
  49711. - version_type=linux
  49712. - need_lib_prefix=no
  49713. - need_version=no
  49714. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  49715. - soname_spec='${libname}${release}${shared_ext}$major'
  49716. - shlibpath_var=LD_LIBRARY_PATH
  49717. - hardcode_into_libs=yes
  49718. - ;;
  49719. -
  49720. -hpux9* | hpux10* | hpux11*)
  49721. - # Give a soname corresponding to the major version so that dld.sl refuses to
  49722. - # link against other versions.
  49723. - version_type=sunos
  49724. - need_lib_prefix=no
  49725. - need_version=no
  49726. - case $host_cpu in
  49727. - ia64*)
  49728. - shrext_cmds='.so'
  49729. - hardcode_into_libs=yes
  49730. - dynamic_linker="$host_os dld.so"
  49731. - shlibpath_var=LD_LIBRARY_PATH
  49732. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  49733. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  49734. - soname_spec='${libname}${release}${shared_ext}$major'
  49735. - if test "X$HPUX_IA64_MODE" = X32; then
  49736. - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  49737. - else
  49738. - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  49739. - fi
  49740. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  49741. - ;;
  49742. - hppa*64*)
  49743. - shrext_cmds='.sl'
  49744. - hardcode_into_libs=yes
  49745. - dynamic_linker="$host_os dld.sl"
  49746. - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  49747. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  49748. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  49749. - soname_spec='${libname}${release}${shared_ext}$major'
  49750. - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  49751. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  49752. - ;;
  49753. - *)
  49754. - shrext_cmds='.sl'
  49755. - dynamic_linker="$host_os dld.sl"
  49756. - shlibpath_var=SHLIB_PATH
  49757. - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  49758. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  49759. - soname_spec='${libname}${release}${shared_ext}$major'
  49760. - ;;
  49761. - esac
  49762. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  49763. - postinstall_cmds='chmod 555 $lib'
  49764. - ;;
  49765. -
  49766. -interix[3-9]*)
  49767. - version_type=linux
  49768. - need_lib_prefix=no
  49769. - need_version=no
  49770. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  49771. - soname_spec='${libname}${release}${shared_ext}$major'
  49772. - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  49773. - shlibpath_var=LD_LIBRARY_PATH
  49774. - shlibpath_overrides_runpath=no
  49775. - hardcode_into_libs=yes
  49776. - ;;
  49777. -
  49778. -irix5* | irix6* | nonstopux*)
  49779. - case $host_os in
  49780. - nonstopux*) version_type=nonstopux ;;
  49781. - *)
  49782. - if test "$lt_cv_prog_gnu_ld" = yes; then
  49783. - version_type=linux
  49784. - else
  49785. - version_type=irix
  49786. - fi ;;
  49787. - esac
  49788. - need_lib_prefix=no
  49789. - need_version=no
  49790. - soname_spec='${libname}${release}${shared_ext}$major'
  49791. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  49792. - case $host_os in
  49793. - irix5* | nonstopux*)
  49794. - libsuff= shlibsuff=
  49795. - ;;
  49796. - *)
  49797. - case $LD in # libtool.m4 will add one of these switches to LD
  49798. - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  49799. - libsuff= shlibsuff= libmagic=32-bit;;
  49800. - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  49801. - libsuff=32 shlibsuff=N32 libmagic=N32;;
  49802. - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  49803. - libsuff=64 shlibsuff=64 libmagic=64-bit;;
  49804. - *) libsuff= shlibsuff= libmagic=never-match;;
  49805. - esac
  49806. - ;;
  49807. - esac
  49808. - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  49809. - shlibpath_overrides_runpath=no
  49810. - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  49811. - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  49812. - hardcode_into_libs=yes
  49813. - ;;
  49814. -
  49815. -# No shared lib support for Linux oldld, aout, or coff.
  49816. -linux*oldld* | linux*aout* | linux*coff*)
  49817. - dynamic_linker=no
  49818. - ;;
  49819. -
  49820. -# This must be Linux ELF.
  49821. -linux* | k*bsd*-gnu)
  49822. - version_type=linux
  49823. - need_lib_prefix=no
  49824. - need_version=no
  49825. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  49826. - soname_spec='${libname}${release}${shared_ext}$major'
  49827. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  49828. - shlibpath_var=LD_LIBRARY_PATH
  49829. - shlibpath_overrides_runpath=no
  49830. - # This implies no fast_install, which is unacceptable.
  49831. - # Some rework will be needed to allow for fast_install
  49832. - # before this can be enabled.
  49833. - hardcode_into_libs=yes
  49834. -
  49835. - # Append ld.so.conf contents to the search path
  49836. - if test -f /etc/ld.so.conf; then
  49837. - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  49838. - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  49839. - fi
  49840. -
  49841. - # We used to test for /lib/ld.so.1 and disable shared libraries on
  49842. - # powerpc, because MkLinux only supported shared libraries with the
  49843. - # GNU dynamic linker. Since this was broken with cross compilers,
  49844. - # most powerpc-linux boxes support dynamic linking these days and
  49845. - # people can always --disable-shared, the test was removed, and we
  49846. - # assume the GNU/Linux dynamic linker is in use.
  49847. - dynamic_linker='GNU/Linux ld.so'
  49848. - ;;
  49849. -
  49850. -netbsd*)
  49851. - version_type=sunos
  49852. - need_lib_prefix=no
  49853. - need_version=no
  49854. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  49855. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  49856. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  49857. - dynamic_linker='NetBSD (a.out) ld.so'
  49858. - else
  49859. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  49860. - soname_spec='${libname}${release}${shared_ext}$major'
  49861. - dynamic_linker='NetBSD ld.elf_so'
  49862. - fi
  49863. - shlibpath_var=LD_LIBRARY_PATH
  49864. - shlibpath_overrides_runpath=yes
  49865. - hardcode_into_libs=yes
  49866. - ;;
  49867. -
  49868. -newsos6)
  49869. - version_type=linux
  49870. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  49871. - shlibpath_var=LD_LIBRARY_PATH
  49872. - shlibpath_overrides_runpath=yes
  49873. - ;;
  49874. -
  49875. -nto-qnx*)
  49876. - version_type=linux
  49877. - need_lib_prefix=no
  49878. - need_version=no
  49879. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  49880. - soname_spec='${libname}${release}${shared_ext}$major'
  49881. - shlibpath_var=LD_LIBRARY_PATH
  49882. - shlibpath_overrides_runpath=yes
  49883. - ;;
  49884. -
  49885. -openbsd*)
  49886. - version_type=sunos
  49887. - sys_lib_dlsearch_path_spec="/usr/lib"
  49888. - need_lib_prefix=no
  49889. - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  49890. - case $host_os in
  49891. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  49892. - *) need_version=no ;;
  49893. - esac
  49894. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  49895. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  49896. - shlibpath_var=LD_LIBRARY_PATH
  49897. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  49898. - case $host_os in
  49899. - openbsd2.[89] | openbsd2.[89].*)
  49900. - shlibpath_overrides_runpath=no
  49901. - ;;
  49902. - *)
  49903. - shlibpath_overrides_runpath=yes
  49904. - ;;
  49905. - esac
  49906. - else
  49907. - shlibpath_overrides_runpath=yes
  49908. - fi
  49909. - ;;
  49910. -
  49911. -os2*)
  49912. - libname_spec='$name'
  49913. - shrext_cmds=".dll"
  49914. - need_lib_prefix=no
  49915. - library_names_spec='$libname${shared_ext} $libname.a'
  49916. - dynamic_linker='OS/2 ld.exe'
  49917. - shlibpath_var=LIBPATH
  49918. - ;;
  49919. -
  49920. -osf3* | osf4* | osf5*)
  49921. - version_type=osf
  49922. - need_lib_prefix=no
  49923. - need_version=no
  49924. - soname_spec='${libname}${release}${shared_ext}$major'
  49925. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  49926. - shlibpath_var=LD_LIBRARY_PATH
  49927. - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  49928. - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  49929. - ;;
  49930. -
  49931. -rdos*)
  49932. - dynamic_linker=no
  49933. - ;;
  49934. -
  49935. -solaris*)
  49936. - version_type=linux
  49937. - need_lib_prefix=no
  49938. - need_version=no
  49939. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  49940. - soname_spec='${libname}${release}${shared_ext}$major'
  49941. - shlibpath_var=LD_LIBRARY_PATH
  49942. - shlibpath_overrides_runpath=yes
  49943. - hardcode_into_libs=yes
  49944. - # ldd complains unless libraries are executable
  49945. - postinstall_cmds='chmod +x $lib'
  49946. - ;;
  49947. -
  49948. -sunos4*)
  49949. - version_type=sunos
  49950. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  49951. - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  49952. - shlibpath_var=LD_LIBRARY_PATH
  49953. - shlibpath_overrides_runpath=yes
  49954. - if test "$with_gnu_ld" = yes; then
  49955. - need_lib_prefix=no
  49956. - fi
  49957. - need_version=yes
  49958. - ;;
  49959. -
  49960. -sysv4 | sysv4.3*)
  49961. - version_type=linux
  49962. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  49963. - soname_spec='${libname}${release}${shared_ext}$major'
  49964. - shlibpath_var=LD_LIBRARY_PATH
  49965. - case $host_vendor in
  49966. - sni)
  49967. - shlibpath_overrides_runpath=no
  49968. - need_lib_prefix=no
  49969. - export_dynamic_flag_spec='${wl}-Blargedynsym'
  49970. - runpath_var=LD_RUN_PATH
  49971. - ;;
  49972. - siemens)
  49973. - need_lib_prefix=no
  49974. - ;;
  49975. - motorola)
  49976. - need_lib_prefix=no
  49977. - need_version=no
  49978. - shlibpath_overrides_runpath=no
  49979. - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  49980. - ;;
  49981. - esac
  49982. - ;;
  49983. -
  49984. -sysv4*MP*)
  49985. - if test -d /usr/nec ;then
  49986. - version_type=linux
  49987. - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  49988. - soname_spec='$libname${shared_ext}.$major'
  49989. - shlibpath_var=LD_LIBRARY_PATH
  49990. - fi
  49991. - ;;
  49992. -
  49993. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  49994. - version_type=freebsd-elf
  49995. - need_lib_prefix=no
  49996. - need_version=no
  49997. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  49998. - soname_spec='${libname}${release}${shared_ext}$major'
  49999. - shlibpath_var=LD_LIBRARY_PATH
  50000. - hardcode_into_libs=yes
  50001. - if test "$with_gnu_ld" = yes; then
  50002. - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  50003. - shlibpath_overrides_runpath=no
  50004. - else
  50005. - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  50006. - shlibpath_overrides_runpath=yes
  50007. - case $host_os in
  50008. - sco3.2v5*)
  50009. - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  50010. - ;;
  50011. - esac
  50012. - fi
  50013. - sys_lib_dlsearch_path_spec='/usr/lib'
  50014. - ;;
  50015. -
  50016. -uts4*)
  50017. - version_type=linux
  50018. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  50019. - soname_spec='${libname}${release}${shared_ext}$major'
  50020. - shlibpath_var=LD_LIBRARY_PATH
  50021. - ;;
  50022. -
  50023. -*)
  50024. - dynamic_linker=no
  50025. - ;;
  50026. -esac
  50027. -{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  50028. -$as_echo "$dynamic_linker" >&6; }
  50029. -test "$dynamic_linker" = no && can_build_shared=no
  50030. -
  50031. -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  50032. - $as_echo_n "(cached) " >&6
  50033. -else
  50034. - lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
  50035. -fi
  50036. -
  50037. -sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  50038. -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  50039. - $as_echo_n "(cached) " >&6
  50040. -else
  50041. - lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
  50042. -fi
  50043. -
  50044. -sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  50045. -
  50046. -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  50047. -if test "$GCC" = yes; then
  50048. - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  50049. -fi
  50050. -
  50051. -{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  50052. -$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  50053. -hardcode_action_F77=
  50054. -if test -n "$hardcode_libdir_flag_spec_F77" || \
  50055. - test -n "$runpath_var_F77" || \
  50056. - test "X$hardcode_automatic_F77" = "Xyes" ; then
  50057. -
  50058. - # We can hardcode non-existant directories.
  50059. - if test "$hardcode_direct_F77" != no &&
  50060. - # If the only mechanism to avoid hardcoding is shlibpath_var, we
  50061. - # have to relink, otherwise we might link with an installed library
  50062. - # when we should be linking with a yet-to-be-installed one
  50063. - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
  50064. - test "$hardcode_minus_L_F77" != no; then
  50065. - # Linking always hardcodes the temporary library directory.
  50066. - hardcode_action_F77=relink
  50067. - else
  50068. - # We can link without hardcoding, and we can hardcode nonexisting dirs.
  50069. - hardcode_action_F77=immediate
  50070. - fi
  50071. -else
  50072. - # We cannot hardcode anything, or else we can only hardcode existing
  50073. - # directories.
  50074. - hardcode_action_F77=unsupported
  50075. -fi
  50076. -{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
  50077. -$as_echo "$hardcode_action_F77" >&6; }
  50078. -
  50079. -if test "$hardcode_action_F77" = relink; then
  50080. - # Fast installation is not supported
  50081. - enable_fast_install=no
  50082. -elif test "$shlibpath_overrides_runpath" = yes ||
  50083. - test "$enable_shared" = no; then
  50084. - # Fast installation is not necessary
  50085. - enable_fast_install=needless
  50086. -fi
  50087. -
  50088. -
  50089. -# The else clause should only fire when bootstrapping the
  50090. -# libtool distribution, otherwise you forgot to ship ltmain.sh
  50091. -# with your package, and you will get complaints that there are
  50092. -# no rules to generate ltmain.sh.
  50093. -if test -f "$ltmain"; then
  50094. - # See if we are running on zsh, and set the options which allow our commands through
  50095. - # without removal of \ escapes.
  50096. - if test -n "${ZSH_VERSION+set}" ; then
  50097. - setopt NO_GLOB_SUBST
  50098. - fi
  50099. - # Now quote all the things that may contain metacharacters while being
  50100. - # careful not to overquote the AC_SUBSTed values. We take copies of the
  50101. - # variables and quote the copies for generation of the libtool script.
  50102. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  50103. - SED SHELL STRIP \
  50104. - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  50105. - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  50106. - deplibs_check_method reload_flag reload_cmds need_locks \
  50107. - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  50108. - lt_cv_sys_global_symbol_to_c_name_address \
  50109. - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  50110. - old_postinstall_cmds old_postuninstall_cmds \
  50111. - compiler_F77 \
  50112. - CC_F77 \
  50113. - LD_F77 \
  50114. - lt_prog_compiler_wl_F77 \
  50115. - lt_prog_compiler_pic_F77 \
  50116. - lt_prog_compiler_static_F77 \
  50117. - lt_prog_compiler_no_builtin_flag_F77 \
  50118. - export_dynamic_flag_spec_F77 \
  50119. - thread_safe_flag_spec_F77 \
  50120. - whole_archive_flag_spec_F77 \
  50121. - enable_shared_with_static_runtimes_F77 \
  50122. - old_archive_cmds_F77 \
  50123. - old_archive_from_new_cmds_F77 \
  50124. - predep_objects_F77 \
  50125. - postdep_objects_F77 \
  50126. - predeps_F77 \
  50127. - postdeps_F77 \
  50128. - compiler_lib_search_path_F77 \
  50129. - compiler_lib_search_dirs_F77 \
  50130. - archive_cmds_F77 \
  50131. - archive_expsym_cmds_F77 \
  50132. - postinstall_cmds_F77 \
  50133. - postuninstall_cmds_F77 \
  50134. - old_archive_from_expsyms_cmds_F77 \
  50135. - allow_undefined_flag_F77 \
  50136. - no_undefined_flag_F77 \
  50137. - export_symbols_cmds_F77 \
  50138. - hardcode_libdir_flag_spec_F77 \
  50139. - hardcode_libdir_flag_spec_ld_F77 \
  50140. - hardcode_libdir_separator_F77 \
  50141. - hardcode_automatic_F77 \
  50142. - module_cmds_F77 \
  50143. - module_expsym_cmds_F77 \
  50144. - lt_cv_prog_compiler_c_o_F77 \
  50145. - fix_srcfile_path_F77 \
  50146. - exclude_expsyms_F77 \
  50147. - include_expsyms_F77; do
  50148. -
  50149. - case $var in
  50150. - old_archive_cmds_F77 | \
  50151. - old_archive_from_new_cmds_F77 | \
  50152. - archive_cmds_F77 | \
  50153. - archive_expsym_cmds_F77 | \
  50154. - module_cmds_F77 | \
  50155. - module_expsym_cmds_F77 | \
  50156. - old_archive_from_expsyms_cmds_F77 | \
  50157. - export_symbols_cmds_F77 | \
  50158. - extract_expsyms_cmds | reload_cmds | finish_cmds | \
  50159. - postinstall_cmds | postuninstall_cmds | \
  50160. - old_postinstall_cmds | old_postuninstall_cmds | \
  50161. - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  50162. - # Double-quote double-evaled strings.
  50163. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  50164. - ;;
  50165. - *)
  50166. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  50167. - ;;
  50168. - esac
  50169. - done
  50170. -
  50171. - case $lt_echo in
  50172. - *'\$0 --fallback-echo"')
  50173. - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  50174. - ;;
  50175. - esac
  50176. -
  50177. -cfgfile="$ofile"
  50178. -
  50179. - cat <<__EOF__ >> "$cfgfile"
  50180. -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
  50181. -
  50182. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  50183. -
  50184. -# Shell to use when invoking shell scripts.
  50185. -SHELL=$lt_SHELL
  50186. -
  50187. -# Whether or not to build shared libraries.
  50188. -build_libtool_libs=$enable_shared
  50189. -
  50190. -# Whether or not to build static libraries.
  50191. -build_old_libs=$enable_static
  50192. -
  50193. -# Whether or not to add -lc for building shared libraries.
  50194. -build_libtool_need_lc=$archive_cmds_need_lc_F77
  50195. -
  50196. -# Whether or not to disallow shared libs when runtime libs are static
  50197. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
  50198. -
  50199. -# Whether or not to optimize for fast installation.
  50200. -fast_install=$enable_fast_install
  50201. -
  50202. -# The host system.
  50203. -host_alias=$host_alias
  50204. -host=$host
  50205. -host_os=$host_os
  50206. -
  50207. -# The build system.
  50208. -build_alias=$build_alias
  50209. -build=$build
  50210. -build_os=$build_os
  50211. -
  50212. -# An echo program that does not interpret backslashes.
  50213. -echo=$lt_echo
  50214. -
  50215. -# The archiver.
  50216. -AR=$lt_AR
  50217. -AR_FLAGS=$lt_AR_FLAGS
  50218. -
  50219. -# A C compiler.
  50220. -LTCC=$lt_LTCC
  50221. -
  50222. -# LTCC compiler flags.
  50223. -LTCFLAGS=$lt_LTCFLAGS
  50224. -
  50225. -# A language-specific compiler.
  50226. -CC=$lt_compiler_F77
  50227. -
  50228. -# Is the compiler the GNU C compiler?
  50229. -with_gcc=$GCC_F77
  50230. -
  50231. -# An ERE matcher.
  50232. -EGREP=$lt_EGREP
  50233. -
  50234. -# The linker used to build libraries.
  50235. -LD=$lt_LD_F77
  50236. -
  50237. -# Whether we need hard or soft links.
  50238. -LN_S=$lt_LN_S
  50239. -
  50240. -# A BSD-compatible nm program.
  50241. -NM=$lt_NM
  50242. -
  50243. -# A symbol stripping program
  50244. -STRIP=$lt_STRIP
  50245. -
  50246. -# Used to examine libraries when file_magic_cmd begins "file"
  50247. -MAGIC_CMD=$MAGIC_CMD
  50248. -
  50249. -# Used on cygwin: DLL creation program.
  50250. -DLLTOOL="$DLLTOOL"
  50251. -
  50252. -# Used on cygwin: object dumper.
  50253. -OBJDUMP="$OBJDUMP"
  50254. -
  50255. -# Used on cygwin: assembler.
  50256. -AS="$AS"
  50257. -
  50258. -# The name of the directory that contains temporary libtool files.
  50259. -objdir=$objdir
  50260. -
  50261. -# How to create reloadable object files.
  50262. -reload_flag=$lt_reload_flag
  50263. -reload_cmds=$lt_reload_cmds
  50264. -
  50265. -# How to pass a linker flag through the compiler.
  50266. -wl=$lt_lt_prog_compiler_wl_F77
  50267. -
  50268. -# Object file suffix (normally "o").
  50269. -objext="$ac_objext"
  50270. -
  50271. -# Old archive suffix (normally "a").
  50272. -libext="$libext"
  50273. -
  50274. -# Shared library suffix (normally ".so").
  50275. -shrext_cmds='$shrext_cmds'
  50276. -
  50277. -# Executable file suffix (normally "").
  50278. -exeext="$exeext"
  50279. -
  50280. -# Additional compiler flags for building library objects.
  50281. -pic_flag=$lt_lt_prog_compiler_pic_F77
  50282. -pic_mode=$pic_mode
  50283. -
  50284. -# What is the maximum length of a command?
  50285. -max_cmd_len=$lt_cv_sys_max_cmd_len
  50286. -
  50287. -# Does compiler simultaneously support -c and -o options?
  50288. -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
  50289. -
  50290. -# Must we lock files when doing compilation?
  50291. -need_locks=$lt_need_locks
  50292. -
  50293. -# Do we need the lib prefix for modules?
  50294. -need_lib_prefix=$need_lib_prefix
  50295. -
  50296. -# Do we need a version for libraries?
  50297. -need_version=$need_version
  50298. -
  50299. -# Whether dlopen is supported.
  50300. -dlopen_support=$enable_dlopen
  50301. -
  50302. -# Whether dlopen of programs is supported.
  50303. -dlopen_self=$enable_dlopen_self
  50304. -
  50305. -# Whether dlopen of statically linked programs is supported.
  50306. -dlopen_self_static=$enable_dlopen_self_static
  50307. -
  50308. -# Compiler flag to prevent dynamic linking.
  50309. -link_static_flag=$lt_lt_prog_compiler_static_F77
  50310. -
  50311. -# Compiler flag to turn off builtin functions.
  50312. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
  50313. -
  50314. -# Compiler flag to allow reflexive dlopens.
  50315. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
  50316. -
  50317. -# Compiler flag to generate shared objects directly from archives.
  50318. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
  50319. -
  50320. -# Compiler flag to generate thread-safe objects.
  50321. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
  50322. -
  50323. -# Library versioning type.
  50324. -version_type=$version_type
  50325. -
  50326. -# Format of library name prefix.
  50327. -libname_spec=$lt_libname_spec
  50328. -
  50329. -# List of archive names. First name is the real one, the rest are links.
  50330. -# The last name is the one that the linker finds with -lNAME.
  50331. -library_names_spec=$lt_library_names_spec
  50332. -
  50333. -# The coded name of the library, if different from the real name.
  50334. -soname_spec=$lt_soname_spec
  50335. -
  50336. -# Commands used to build and install an old-style archive.
  50337. -RANLIB=$lt_RANLIB
  50338. -old_archive_cmds=$lt_old_archive_cmds_F77
  50339. -old_postinstall_cmds=$lt_old_postinstall_cmds
  50340. -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  50341. -
  50342. -# Create an old-style archive from a shared archive.
  50343. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
  50344. -
  50345. -# Create a temporary old-style archive to link instead of a shared archive.
  50346. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
  50347. -
  50348. -# Commands used to build and install a shared archive.
  50349. -archive_cmds=$lt_archive_cmds_F77
  50350. -archive_expsym_cmds=$lt_archive_expsym_cmds_F77
  50351. -postinstall_cmds=$lt_postinstall_cmds
  50352. -postuninstall_cmds=$lt_postuninstall_cmds
  50353. -
  50354. -# Commands used to build a loadable module (assumed same as above if empty)
  50355. -module_cmds=$lt_module_cmds_F77
  50356. -module_expsym_cmds=$lt_module_expsym_cmds_F77
  50357. -
  50358. -# Commands to strip libraries.
  50359. -old_striplib=$lt_old_striplib
  50360. -striplib=$lt_striplib
  50361. -
  50362. -# Dependencies to place before the objects being linked to create a
  50363. -# shared library.
  50364. -predep_objects=$lt_predep_objects_F77
  50365. -
  50366. -# Dependencies to place after the objects being linked to create a
  50367. -# shared library.
  50368. -postdep_objects=$lt_postdep_objects_F77
  50369. -
  50370. -# Dependencies to place before the objects being linked to create a
  50371. -# shared library.
  50372. -predeps=$lt_predeps_F77
  50373. -
  50374. -# Dependencies to place after the objects being linked to create a
  50375. -# shared library.
  50376. -postdeps=$lt_postdeps_F77
  50377. -
  50378. -# The directories searched by this compiler when creating a shared
  50379. -# library
  50380. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
  50381. -
  50382. -# The library search path used internally by the compiler when linking
  50383. -# a shared library.
  50384. -compiler_lib_search_path=$lt_compiler_lib_search_path_F77
  50385. -
  50386. -# Method to check whether dependent libraries are shared objects.
  50387. -deplibs_check_method=$lt_deplibs_check_method
  50388. -
  50389. -# Command to use when deplibs_check_method == file_magic.
  50390. -file_magic_cmd=$lt_file_magic_cmd
  50391. -
  50392. -# Flag that allows shared libraries with undefined symbols to be built.
  50393. -allow_undefined_flag=$lt_allow_undefined_flag_F77
  50394. -
  50395. -# Flag that forces no undefined symbols.
  50396. -no_undefined_flag=$lt_no_undefined_flag_F77
  50397. -
  50398. -# Commands used to finish a libtool library installation in a directory.
  50399. -finish_cmds=$lt_finish_cmds
  50400. -
  50401. -# Same as above, but a single script fragment to be evaled but not shown.
  50402. -finish_eval=$lt_finish_eval
  50403. -
  50404. -# Take the output of nm and produce a listing of raw symbols and C names.
  50405. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  50406. -
  50407. -# Transform the output of nm in a proper C declaration
  50408. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  50409. -
  50410. -# Transform the output of nm in a C name address pair
  50411. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  50412. -
  50413. -# This is the shared library runtime path variable.
  50414. -runpath_var=$runpath_var
  50415. -
  50416. -# This is the shared library path variable.
  50417. -shlibpath_var=$shlibpath_var
  50418. -
  50419. -# Is shlibpath searched before the hard-coded library search path?
  50420. -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  50421. -
  50422. -# How to hardcode a shared library path into an executable.
  50423. -hardcode_action=$hardcode_action_F77
  50424. -
  50425. -# Whether we should hardcode library paths into libraries.
  50426. -hardcode_into_libs=$hardcode_into_libs
  50427. -
  50428. -# Flag to hardcode \$libdir into a binary during linking.
  50429. -# This must work even if \$libdir does not exist.
  50430. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
  50431. -
  50432. -# If ld is used when linking, flag to hardcode \$libdir into
  50433. -# a binary during linking. This must work even if \$libdir does
  50434. -# not exist.
  50435. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
  50436. -
  50437. -# Whether we need a single -rpath flag with a separated argument.
  50438. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
  50439. -
  50440. -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  50441. -# resulting binary.
  50442. -hardcode_direct=$hardcode_direct_F77
  50443. -
  50444. -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  50445. -# resulting binary.
  50446. -hardcode_minus_L=$hardcode_minus_L_F77
  50447. -
  50448. -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  50449. -# the resulting binary.
  50450. -hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
  50451. -
  50452. -# Set to yes if building a shared library automatically hardcodes DIR into the library
  50453. -# and all subsequent libraries and executables linked against it.
  50454. -hardcode_automatic=$hardcode_automatic_F77
  50455. -
  50456. -# Variables whose values should be saved in libtool wrapper scripts and
  50457. -# restored at relink time.
  50458. -variables_saved_for_relink="$variables_saved_for_relink"
  50459. -
  50460. -# Whether libtool must link a program against all its dependency libraries.
  50461. -link_all_deplibs=$link_all_deplibs_F77
  50462. -
  50463. -# Compile-time system search path for libraries
  50464. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  50465. -
  50466. -# Run-time system search path for libraries
  50467. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  50468. -
  50469. -# Fix the shell variable \$srcfile for the compiler.
  50470. -fix_srcfile_path=$lt_fix_srcfile_path
  50471. -
  50472. -# Set to yes if exported symbols are required.
  50473. -always_export_symbols=$always_export_symbols_F77
  50474. -
  50475. -# The commands to list exported symbols.
  50476. -export_symbols_cmds=$lt_export_symbols_cmds_F77
  50477. -
  50478. -# The commands to extract the exported symbol list from a shared archive.
  50479. -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  50480. -
  50481. -# Symbols that should not be listed in the preloaded symbols.
  50482. -exclude_expsyms=$lt_exclude_expsyms_F77
  50483. -
  50484. -# Symbols that must always be exported.
  50485. -include_expsyms=$lt_include_expsyms_F77
  50486. -
  50487. -# ### END LIBTOOL TAG CONFIG: $tagname
  50488. -
  50489. -__EOF__
  50490. -
  50491. -
  50492. -else
  50493. - # If there is no Makefile yet, we rely on a make rule to execute
  50494. - # `config.status --recheck' to rerun these tests and create the
  50495. - # libtool script then.
  50496. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  50497. - if test -f "$ltmain_in"; then
  50498. - test -f Makefile && make "$ltmain"
  50499. - fi
  50500. -fi
  50501. -
  50502. -
  50503. -ac_ext=c
  50504. -ac_cpp='$CPP $CPPFLAGS'
  50505. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  50506. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  50507. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  50508. -
  50509. -CC="$lt_save_CC"
  50510. -
  50511. - else
  50512. - tagname=""
  50513. - fi
  50514. - ;;
  50515. -
  50516. - GCJ)
  50517. - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
  50518. -
  50519. -
  50520. -# Source file extension for Java test sources.
  50521. -ac_ext=java
  50522. -
  50523. -# Object file extension for compiled Java test sources.
  50524. -objext=o
  50525. -objext_GCJ=$objext
  50526. -
  50527. -# Code to be used in simple compile tests
  50528. -lt_simple_compile_test_code="class foo {}"
  50529. -
  50530. -# Code to be used in simple link tests
  50531. -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
  50532. -
  50533. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  50534. -
  50535. -# If no C compiler was specified, use CC.
  50536. -LTCC=${LTCC-"$CC"}
  50537. -
  50538. -# If no C compiler flags were specified, use CFLAGS.
  50539. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  50540. -
  50541. -# Allow CC to be a program name with arguments.
  50542. -compiler=$CC
  50543. -
  50544. -
  50545. -# save warnings/boilerplate of simple test code
  50546. -ac_outfile=conftest.$ac_objext
  50547. -echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  50548. -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  50549. -_lt_compiler_boilerplate=`cat conftest.err`
  50550. -$rm conftest*
  50551. -
  50552. -ac_outfile=conftest.$ac_objext
  50553. -echo "$lt_simple_link_test_code" >conftest.$ac_ext
  50554. -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  50555. -_lt_linker_boilerplate=`cat conftest.err`
  50556. -$rm -r conftest*
  50557. -
  50558. -
  50559. -# Allow CC to be a program name with arguments.
  50560. -lt_save_CC="$CC"
  50561. -CC=${GCJ-"gcj"}
  50562. -compiler=$CC
  50563. -compiler_GCJ=$CC
  50564. -for cc_temp in $compiler""; do
  50565. - case $cc_temp in
  50566. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  50567. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  50568. - \-*) ;;
  50569. - *) break;;
  50570. - esac
  50571. -done
  50572. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  50573. -
  50574. -
  50575. -# GCJ did not exist at the time GCC didn't implicitly link libc in.
  50576. -archive_cmds_need_lc_GCJ=no
  50577. -
  50578. -old_archive_cmds_GCJ=$old_archive_cmds
  50579. -
  50580. -
  50581. -lt_prog_compiler_no_builtin_flag_GCJ=
  50582. -
  50583. -if test "$GCC" = yes; then
  50584. - lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
  50585. -
  50586. -
  50587. -{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  50588. -$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  50589. -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
  50590. - $as_echo_n "(cached) " >&6
  50591. -else
  50592. - lt_cv_prog_compiler_rtti_exceptions=no
  50593. - ac_outfile=conftest.$ac_objext
  50594. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  50595. - lt_compiler_flag="-fno-rtti -fno-exceptions"
  50596. - # Insert the option either (1) after the last *FLAGS variable, or
  50597. - # (2) before a word containing "conftest.", or (3) at the end.
  50598. - # Note that $ac_compile itself does not contain backslashes and begins
  50599. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  50600. - # The option is referenced via a variable to avoid confusing sed.
  50601. - lt_compile=`echo "$ac_compile" | $SED \
  50602. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  50603. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  50604. - -e 's:$: $lt_compiler_flag:'`
  50605. - (eval echo "\"\$as_me:17477: $lt_compile\"" >&5)
  50606. - (eval "$lt_compile" 2>conftest.err)
  50607. - ac_status=$?
  50608. - cat conftest.err >&5
  50609. - echo "$as_me:17481: \$? = $ac_status" >&5
  50610. - if (exit $ac_status) && test -s "$ac_outfile"; then
  50611. - # The compiler can only warn and ignore the option if not recognized
  50612. - # So say no if there are warnings other than the usual output.
  50613. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  50614. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  50615. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  50616. - lt_cv_prog_compiler_rtti_exceptions=yes
  50617. - fi
  50618. - fi
  50619. - $rm conftest*
  50620. -
  50621. -fi
  50622. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  50623. -$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  50624. -
  50625. -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  50626. - lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
  50627. -else
  50628. - :
  50629. -fi
  50630. -
  50631. -fi
  50632. -
  50633. -lt_prog_compiler_wl_GCJ=
  50634. -lt_prog_compiler_pic_GCJ=
  50635. -lt_prog_compiler_static_GCJ=
  50636. -
  50637. -{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  50638. -$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  50639. -
  50640. - if test "$GCC" = yes; then
  50641. - lt_prog_compiler_wl_GCJ='-Wl,'
  50642. - lt_prog_compiler_static_GCJ='-static'
  50643. -
  50644. - case $host_os in
  50645. - aix*)
  50646. - # All AIX code is PIC.
  50647. - if test "$host_cpu" = ia64; then
  50648. - # AIX 5 now supports IA64 processor
  50649. - lt_prog_compiler_static_GCJ='-Bstatic'
  50650. - fi
  50651. - ;;
  50652. -
  50653. - amigaos*)
  50654. - # FIXME: we need at least 68020 code to build shared libraries, but
  50655. - # adding the `-m68020' flag to GCC prevents building anything better,
  50656. - # like `-m68040'.
  50657. - lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
  50658. - ;;
  50659. -
  50660. - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  50661. - # PIC is the default for these OSes.
  50662. - ;;
  50663. -
  50664. - mingw* | cygwin* | pw32* | os2*)
  50665. - # This hack is so that the source file can tell whether it is being
  50666. - # built for inclusion in a dll (and should export symbols for example).
  50667. - # Although the cygwin gcc ignores -fPIC, still need this for old-style
  50668. - # (--disable-auto-import) libraries
  50669. -
  50670. - ;;
  50671. -
  50672. - darwin* | rhapsody*)
  50673. - # PIC is the default on this platform
  50674. - # Common symbols not allowed in MH_DYLIB files
  50675. - lt_prog_compiler_pic_GCJ='-fno-common'
  50676. - ;;
  50677. -
  50678. - interix[3-9]*)
  50679. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  50680. - # Instead, we relocate shared libraries at runtime.
  50681. - ;;
  50682. -
  50683. - msdosdjgpp*)
  50684. - # Just because we use GCC doesn't mean we suddenly get shared libraries
  50685. - # on systems that don't support them.
  50686. - lt_prog_compiler_can_build_shared_GCJ=no
  50687. - enable_shared=no
  50688. - ;;
  50689. -
  50690. - sysv4*MP*)
  50691. - if test -d /usr/nec; then
  50692. - lt_prog_compiler_pic_GCJ=-Kconform_pic
  50693. - fi
  50694. - ;;
  50695. -
  50696. - hpux*)
  50697. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  50698. - # not for PA HP-UX.
  50699. - case $host_cpu in
  50700. - hppa*64*|ia64*)
  50701. - # +Z the default
  50702. - ;;
  50703. - *)
  50704. - lt_prog_compiler_pic_GCJ='-fPIC'
  50705. - ;;
  50706. - esac
  50707. - ;;
  50708. -
  50709. - *)
  50710. - lt_prog_compiler_pic_GCJ='-fPIC'
  50711. - ;;
  50712. - esac
  50713. - else
  50714. - # PORTME Check for flag to pass linker flags through the system compiler.
  50715. - case $host_os in
  50716. - aix*)
  50717. - lt_prog_compiler_wl_GCJ='-Wl,'
  50718. - if test "$host_cpu" = ia64; then
  50719. - # AIX 5 now supports IA64 processor
  50720. - lt_prog_compiler_static_GCJ='-Bstatic'
  50721. - else
  50722. - lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
  50723. - fi
  50724. - ;;
  50725. - darwin*)
  50726. - # PIC is the default on this platform
  50727. - # Common symbols not allowed in MH_DYLIB files
  50728. - case $cc_basename in
  50729. - xlc*)
  50730. - lt_prog_compiler_pic_GCJ='-qnocommon'
  50731. - lt_prog_compiler_wl_GCJ='-Wl,'
  50732. - ;;
  50733. - esac
  50734. - ;;
  50735. -
  50736. - mingw* | cygwin* | pw32* | os2*)
  50737. - # This hack is so that the source file can tell whether it is being
  50738. - # built for inclusion in a dll (and should export symbols for example).
  50739. -
  50740. - ;;
  50741. -
  50742. - hpux9* | hpux10* | hpux11*)
  50743. - lt_prog_compiler_wl_GCJ='-Wl,'
  50744. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  50745. - # not for PA HP-UX.
  50746. - case $host_cpu in
  50747. - hppa*64*|ia64*)
  50748. - # +Z the default
  50749. - ;;
  50750. - *)
  50751. - lt_prog_compiler_pic_GCJ='+Z'
  50752. - ;;
  50753. - esac
  50754. - # Is there a better lt_prog_compiler_static that works with the bundled CC?
  50755. - lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
  50756. - ;;
  50757. -
  50758. - irix5* | irix6* | nonstopux*)
  50759. - lt_prog_compiler_wl_GCJ='-Wl,'
  50760. - # PIC (with -KPIC) is the default.
  50761. - lt_prog_compiler_static_GCJ='-non_shared'
  50762. - ;;
  50763. -
  50764. - newsos6)
  50765. - lt_prog_compiler_pic_GCJ='-KPIC'
  50766. - lt_prog_compiler_static_GCJ='-Bstatic'
  50767. - ;;
  50768. -
  50769. - linux* | k*bsd*-gnu)
  50770. - case $cc_basename in
  50771. - icc* | ecc*)
  50772. - lt_prog_compiler_wl_GCJ='-Wl,'
  50773. - lt_prog_compiler_pic_GCJ='-KPIC'
  50774. - lt_prog_compiler_static_GCJ='-static'
  50775. - ;;
  50776. - pgcc* | pgf77* | pgf90* | pgf95*)
  50777. - # Portland Group compilers (*not* the Pentium gcc compiler,
  50778. - # which looks to be a dead project)
  50779. - lt_prog_compiler_wl_GCJ='-Wl,'
  50780. - lt_prog_compiler_pic_GCJ='-fpic'
  50781. - lt_prog_compiler_static_GCJ='-Bstatic'
  50782. - ;;
  50783. - ccc*)
  50784. - lt_prog_compiler_wl_GCJ='-Wl,'
  50785. - # All Alpha code is PIC.
  50786. - lt_prog_compiler_static_GCJ='-non_shared'
  50787. - ;;
  50788. - *)
  50789. - case `$CC -V 2>&1 | sed 5q` in
  50790. - *Sun\ C*)
  50791. - # Sun C 5.9
  50792. - lt_prog_compiler_pic_GCJ='-KPIC'
  50793. - lt_prog_compiler_static_GCJ='-Bstatic'
  50794. - lt_prog_compiler_wl_GCJ='-Wl,'
  50795. - ;;
  50796. - *Sun\ F*)
  50797. - # Sun Fortran 8.3 passes all unrecognized flags to the linker
  50798. - lt_prog_compiler_pic_GCJ='-KPIC'
  50799. - lt_prog_compiler_static_GCJ='-Bstatic'
  50800. - lt_prog_compiler_wl_GCJ=''
  50801. - ;;
  50802. - esac
  50803. - ;;
  50804. - esac
  50805. - ;;
  50806. -
  50807. - osf3* | osf4* | osf5*)
  50808. - lt_prog_compiler_wl_GCJ='-Wl,'
  50809. - # All OSF/1 code is PIC.
  50810. - lt_prog_compiler_static_GCJ='-non_shared'
  50811. - ;;
  50812. -
  50813. - rdos*)
  50814. - lt_prog_compiler_static_GCJ='-non_shared'
  50815. - ;;
  50816. -
  50817. - solaris*)
  50818. - lt_prog_compiler_pic_GCJ='-KPIC'
  50819. - lt_prog_compiler_static_GCJ='-Bstatic'
  50820. - case $cc_basename in
  50821. - f77* | f90* | f95*)
  50822. - lt_prog_compiler_wl_GCJ='-Qoption ld ';;
  50823. - *)
  50824. - lt_prog_compiler_wl_GCJ='-Wl,';;
  50825. - esac
  50826. - ;;
  50827. -
  50828. - sunos4*)
  50829. - lt_prog_compiler_wl_GCJ='-Qoption ld '
  50830. - lt_prog_compiler_pic_GCJ='-PIC'
  50831. - lt_prog_compiler_static_GCJ='-Bstatic'
  50832. - ;;
  50833. -
  50834. - sysv4 | sysv4.2uw2* | sysv4.3*)
  50835. - lt_prog_compiler_wl_GCJ='-Wl,'
  50836. - lt_prog_compiler_pic_GCJ='-KPIC'
  50837. - lt_prog_compiler_static_GCJ='-Bstatic'
  50838. - ;;
  50839. -
  50840. - sysv4*MP*)
  50841. - if test -d /usr/nec ;then
  50842. - lt_prog_compiler_pic_GCJ='-Kconform_pic'
  50843. - lt_prog_compiler_static_GCJ='-Bstatic'
  50844. - fi
  50845. - ;;
  50846. -
  50847. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  50848. - lt_prog_compiler_wl_GCJ='-Wl,'
  50849. - lt_prog_compiler_pic_GCJ='-KPIC'
  50850. - lt_prog_compiler_static_GCJ='-Bstatic'
  50851. - ;;
  50852. -
  50853. - unicos*)
  50854. - lt_prog_compiler_wl_GCJ='-Wl,'
  50855. - lt_prog_compiler_can_build_shared_GCJ=no
  50856. - ;;
  50857. -
  50858. - uts4*)
  50859. - lt_prog_compiler_pic_GCJ='-pic'
  50860. - lt_prog_compiler_static_GCJ='-Bstatic'
  50861. - ;;
  50862. -
  50863. - *)
  50864. - lt_prog_compiler_can_build_shared_GCJ=no
  50865. - ;;
  50866. - esac
  50867. - fi
  50868. -
  50869. -{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
  50870. -$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
  50871. -
  50872. -#
  50873. -# Check to make sure the PIC flag actually works.
  50874. -#
  50875. -if test -n "$lt_prog_compiler_pic_GCJ"; then
  50876. -
  50877. -{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
  50878. -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
  50879. -if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
  50880. - $as_echo_n "(cached) " >&6
  50881. -else
  50882. - lt_cv_prog_compiler_pic_works_GCJ=no
  50883. - ac_outfile=conftest.$ac_objext
  50884. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  50885. - lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
  50886. - # Insert the option either (1) after the last *FLAGS variable, or
  50887. - # (2) before a word containing "conftest.", or (3) at the end.
  50888. - # Note that $ac_compile itself does not contain backslashes and begins
  50889. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  50890. - # The option is referenced via a variable to avoid confusing sed.
  50891. - lt_compile=`echo "$ac_compile" | $SED \
  50892. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  50893. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  50894. - -e 's:$: $lt_compiler_flag:'`
  50895. - (eval echo "\"\$as_me:17767: $lt_compile\"" >&5)
  50896. - (eval "$lt_compile" 2>conftest.err)
  50897. - ac_status=$?
  50898. - cat conftest.err >&5
  50899. - echo "$as_me:17771: \$? = $ac_status" >&5
  50900. - if (exit $ac_status) && test -s "$ac_outfile"; then
  50901. - # The compiler can only warn and ignore the option if not recognized
  50902. - # So say no if there are warnings other than the usual output.
  50903. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  50904. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  50905. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  50906. - lt_cv_prog_compiler_pic_works_GCJ=yes
  50907. - fi
  50908. - fi
  50909. - $rm conftest*
  50910. -
  50911. -fi
  50912. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
  50913. -$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
  50914. -
  50915. -if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
  50916. - case $lt_prog_compiler_pic_GCJ in
  50917. - "" | " "*) ;;
  50918. - *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
  50919. - esac
  50920. -else
  50921. - lt_prog_compiler_pic_GCJ=
  50922. - lt_prog_compiler_can_build_shared_GCJ=no
  50923. -fi
  50924. -
  50925. -fi
  50926. -case $host_os in
  50927. - # For platforms which do not support PIC, -DPIC is meaningless:
  50928. - *djgpp*)
  50929. - lt_prog_compiler_pic_GCJ=
  50930. - ;;
  50931. - *)
  50932. - lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
  50933. - ;;
  50934. -esac
  50935. -
  50936. -#
  50937. -# Check to make sure the static flag actually works.
  50938. -#
  50939. -wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
  50940. -{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  50941. -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  50942. -if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
  50943. - $as_echo_n "(cached) " >&6
  50944. -else
  50945. - lt_cv_prog_compiler_static_works_GCJ=no
  50946. - save_LDFLAGS="$LDFLAGS"
  50947. - LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  50948. - echo "$lt_simple_link_test_code" > conftest.$ac_ext
  50949. - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  50950. - # The linker can only warn and ignore the option if not recognized
  50951. - # So say no if there are warnings
  50952. - if test -s conftest.err; then
  50953. - # Append any errors to the config.log.
  50954. - cat conftest.err 1>&5
  50955. - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  50956. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  50957. - if diff conftest.exp conftest.er2 >/dev/null; then
  50958. - lt_cv_prog_compiler_static_works_GCJ=yes
  50959. - fi
  50960. - else
  50961. - lt_cv_prog_compiler_static_works_GCJ=yes
  50962. - fi
  50963. - fi
  50964. - $rm -r conftest*
  50965. - LDFLAGS="$save_LDFLAGS"
  50966. -
  50967. -fi
  50968. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
  50969. -$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
  50970. -
  50971. -if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
  50972. - :
  50973. -else
  50974. - lt_prog_compiler_static_GCJ=
  50975. -fi
  50976. -
  50977. -
  50978. -{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  50979. -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  50980. -if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
  50981. - $as_echo_n "(cached) " >&6
  50982. -else
  50983. - lt_cv_prog_compiler_c_o_GCJ=no
  50984. - $rm -r conftest 2>/dev/null
  50985. - mkdir conftest
  50986. - cd conftest
  50987. - mkdir out
  50988. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  50989. -
  50990. - lt_compiler_flag="-o out/conftest2.$ac_objext"
  50991. - # Insert the option either (1) after the last *FLAGS variable, or
  50992. - # (2) before a word containing "conftest.", or (3) at the end.
  50993. - # Note that $ac_compile itself does not contain backslashes and begins
  50994. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  50995. - lt_compile=`echo "$ac_compile" | $SED \
  50996. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  50997. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  50998. - -e 's:$: $lt_compiler_flag:'`
  50999. - (eval echo "\"\$as_me:17871: $lt_compile\"" >&5)
  51000. - (eval "$lt_compile" 2>out/conftest.err)
  51001. - ac_status=$?
  51002. - cat out/conftest.err >&5
  51003. - echo "$as_me:17875: \$? = $ac_status" >&5
  51004. - if (exit $ac_status) && test -s out/conftest2.$ac_objext
  51005. - then
  51006. - # The compiler can only warn and ignore the option if not recognized
  51007. - # So say no if there are warnings
  51008. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  51009. - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  51010. - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  51011. - lt_cv_prog_compiler_c_o_GCJ=yes
  51012. - fi
  51013. - fi
  51014. - chmod u+w . 2>&5
  51015. - $rm conftest*
  51016. - # SGI C++ compiler will create directory out/ii_files/ for
  51017. - # template instantiation
  51018. - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  51019. - $rm out/* && rmdir out
  51020. - cd ..
  51021. - rmdir conftest
  51022. - $rm conftest*
  51023. -
  51024. -fi
  51025. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
  51026. -$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
  51027. -
  51028. -
  51029. -hard_links="nottested"
  51030. -if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
  51031. - # do not overwrite the value of need_locks provided by the user
  51032. - { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  51033. -$as_echo_n "checking if we can lock with hard links... " >&6; }
  51034. - hard_links=yes
  51035. - $rm conftest*
  51036. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  51037. - touch conftest.a
  51038. - ln conftest.a conftest.b 2>&5 || hard_links=no
  51039. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  51040. - { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
  51041. -$as_echo "$hard_links" >&6; }
  51042. - if test "$hard_links" = no; then
  51043. - { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  51044. -$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  51045. - need_locks=warn
  51046. - fi
  51047. -else
  51048. - need_locks=no
  51049. -fi
  51050. -
  51051. -{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  51052. -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  51053. -
  51054. - runpath_var=
  51055. - allow_undefined_flag_GCJ=
  51056. - enable_shared_with_static_runtimes_GCJ=no
  51057. - archive_cmds_GCJ=
  51058. - archive_expsym_cmds_GCJ=
  51059. - old_archive_From_new_cmds_GCJ=
  51060. - old_archive_from_expsyms_cmds_GCJ=
  51061. - export_dynamic_flag_spec_GCJ=
  51062. - whole_archive_flag_spec_GCJ=
  51063. - thread_safe_flag_spec_GCJ=
  51064. - hardcode_libdir_flag_spec_GCJ=
  51065. - hardcode_libdir_flag_spec_ld_GCJ=
  51066. - hardcode_libdir_separator_GCJ=
  51067. - hardcode_direct_GCJ=no
  51068. - hardcode_minus_L_GCJ=no
  51069. - hardcode_shlibpath_var_GCJ=unsupported
  51070. - link_all_deplibs_GCJ=unknown
  51071. - hardcode_automatic_GCJ=no
  51072. - module_cmds_GCJ=
  51073. - module_expsym_cmds_GCJ=
  51074. - always_export_symbols_GCJ=no
  51075. - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  51076. - # include_expsyms should be a list of space-separated symbols to be *always*
  51077. - # included in the symbol list
  51078. - include_expsyms_GCJ=
  51079. - # exclude_expsyms can be an extended regexp of symbols to exclude
  51080. - # it will be wrapped by ` (' and `)$', so one must not match beginning or
  51081. - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  51082. - # as well as any symbol that contains `d'.
  51083. - exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  51084. - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  51085. - # platforms (ab)use it in PIC code, but their linkers get confused if
  51086. - # the symbol is explicitly referenced. Since portable code cannot
  51087. - # rely on this symbol name, it's probably fine to never include it in
  51088. - # preloaded symbol tables.
  51089. - # Exclude shared library initialization/finalization symbols.
  51090. - extract_expsyms_cmds=
  51091. - # Just being paranoid about ensuring that cc_basename is set.
  51092. - for cc_temp in $compiler""; do
  51093. - case $cc_temp in
  51094. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  51095. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  51096. - \-*) ;;
  51097. - *) break;;
  51098. - esac
  51099. -done
  51100. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  51101. -
  51102. - case $host_os in
  51103. - cygwin* | mingw* | pw32*)
  51104. - # FIXME: the MSVC++ port hasn't been tested in a loooong time
  51105. - # When not using gcc, we currently assume that we are using
  51106. - # Microsoft Visual C++.
  51107. - if test "$GCC" != yes; then
  51108. - with_gnu_ld=no
  51109. - fi
  51110. - ;;
  51111. - interix*)
  51112. - # we just hope/assume this is gcc and not c89 (= MSVC++)
  51113. - with_gnu_ld=yes
  51114. - ;;
  51115. - openbsd*)
  51116. - with_gnu_ld=no
  51117. - ;;
  51118. - esac
  51119. -
  51120. - ld_shlibs_GCJ=yes
  51121. - if test "$with_gnu_ld" = yes; then
  51122. - # If archive_cmds runs LD, not CC, wlarc should be empty
  51123. - wlarc='${wl}'
  51124. -
  51125. - # Set some defaults for GNU ld with shared library support. These
  51126. - # are reset later if shared libraries are not supported. Putting them
  51127. - # here allows them to be overridden if necessary.
  51128. - runpath_var=LD_RUN_PATH
  51129. - hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
  51130. - export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
  51131. - # ancient GNU ld didn't support --whole-archive et. al.
  51132. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
  51133. - whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  51134. - else
  51135. - whole_archive_flag_spec_GCJ=
  51136. - fi
  51137. - supports_anon_versioning=no
  51138. - case `$LD -v 2>/dev/null` in
  51139. - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  51140. - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  51141. - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  51142. - *\ 2.11.*) ;; # other 2.11 versions
  51143. - *) supports_anon_versioning=yes ;;
  51144. - esac
  51145. -
  51146. - # See if GNU ld supports shared libraries.
  51147. - case $host_os in
  51148. - aix[3-9]*)
  51149. - # On AIX/PPC, the GNU linker is very broken
  51150. - if test "$host_cpu" != ia64; then
  51151. - ld_shlibs_GCJ=no
  51152. - cat <<EOF 1>&2
  51153. -
  51154. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  51155. -*** to be unable to reliably create shared libraries on AIX.
  51156. -*** Therefore, libtool is disabling shared libraries support. If you
  51157. -*** really care for shared libraries, you may want to modify your PATH
  51158. -*** so that a non-GNU linker is found, and then restart.
  51159. -
  51160. -EOF
  51161. - fi
  51162. - ;;
  51163. -
  51164. - amigaos*)
  51165. - archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  51166. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  51167. - hardcode_minus_L_GCJ=yes
  51168. -
  51169. - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  51170. - # that the semantics of dynamic libraries on AmigaOS, at least up
  51171. - # to version 4, is to share data among multiple programs linked
  51172. - # with the same dynamic library. Since this doesn't match the
  51173. - # behavior of shared libraries on other platforms, we can't use
  51174. - # them.
  51175. - ld_shlibs_GCJ=no
  51176. - ;;
  51177. -
  51178. - beos*)
  51179. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  51180. - allow_undefined_flag_GCJ=unsupported
  51181. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  51182. - # support --undefined. This deserves some investigation. FIXME
  51183. - archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  51184. - else
  51185. - ld_shlibs_GCJ=no
  51186. - fi
  51187. - ;;
  51188. -
  51189. - cygwin* | mingw* | pw32*)
  51190. - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
  51191. - # as there is no search path for DLLs.
  51192. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  51193. - allow_undefined_flag_GCJ=unsupported
  51194. - always_export_symbols_GCJ=no
  51195. - enable_shared_with_static_runtimes_GCJ=yes
  51196. - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  51197. -
  51198. - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  51199. - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  51200. - # If the export-symbols file already is a .def file (1st line
  51201. - # is EXPORTS), use it as is; otherwise, prepend...
  51202. - archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  51203. - cp $export_symbols $output_objdir/$soname.def;
  51204. - else
  51205. - echo EXPORTS > $output_objdir/$soname.def;
  51206. - cat $export_symbols >> $output_objdir/$soname.def;
  51207. - fi~
  51208. - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  51209. - else
  51210. - ld_shlibs_GCJ=no
  51211. - fi
  51212. - ;;
  51213. -
  51214. - interix[3-9]*)
  51215. - hardcode_direct_GCJ=no
  51216. - hardcode_shlibpath_var_GCJ=no
  51217. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
  51218. - export_dynamic_flag_spec_GCJ='${wl}-E'
  51219. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  51220. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  51221. - # default) and relocated if they conflict, which is a slow very memory
  51222. - # consuming and fragmenting process. To avoid this, we pick a random,
  51223. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  51224. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  51225. - archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  51226. - archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  51227. - ;;
  51228. -
  51229. - gnu* | linux* | k*bsd*-gnu)
  51230. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  51231. - tmp_addflag=
  51232. - case $cc_basename,$host_cpu in
  51233. - pgcc*) # Portland Group C compiler
  51234. - whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  51235. - tmp_addflag=' $pic_flag'
  51236. - ;;
  51237. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  51238. - whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  51239. - tmp_addflag=' $pic_flag -Mnomain' ;;
  51240. - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  51241. - tmp_addflag=' -i_dynamic' ;;
  51242. - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  51243. - tmp_addflag=' -i_dynamic -nofor_main' ;;
  51244. - ifc* | ifort*) # Intel Fortran compiler
  51245. - tmp_addflag=' -nofor_main' ;;
  51246. - esac
  51247. - case `$CC -V 2>&1 | sed 5q` in
  51248. - *Sun\ C*) # Sun C 5.9
  51249. - whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  51250. - tmp_sharedflag='-G' ;;
  51251. - *Sun\ F*) # Sun Fortran 8.3
  51252. - tmp_sharedflag='-G' ;;
  51253. - *)
  51254. - tmp_sharedflag='-shared' ;;
  51255. - esac
  51256. - archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  51257. -
  51258. - if test $supports_anon_versioning = yes; then
  51259. - archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
  51260. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  51261. - $echo "local: *; };" >> $output_objdir/$libname.ver~
  51262. - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  51263. - fi
  51264. - else
  51265. - ld_shlibs_GCJ=no
  51266. - fi
  51267. - ;;
  51268. -
  51269. - netbsd*)
  51270. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  51271. - archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  51272. - wlarc=
  51273. - else
  51274. - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  51275. - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  51276. - fi
  51277. - ;;
  51278. -
  51279. - solaris*)
  51280. - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  51281. - ld_shlibs_GCJ=no
  51282. - cat <<EOF 1>&2
  51283. -
  51284. -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  51285. -*** create shared libraries on Solaris systems. Therefore, libtool
  51286. -*** is disabling shared libraries support. We urge you to upgrade GNU
  51287. -*** binutils to release 2.9.1 or newer. Another option is to modify
  51288. -*** your PATH or compiler configuration so that the native linker is
  51289. -*** used, and then restart.
  51290. -
  51291. -EOF
  51292. - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  51293. - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  51294. - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  51295. - else
  51296. - ld_shlibs_GCJ=no
  51297. - fi
  51298. - ;;
  51299. -
  51300. - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  51301. - case `$LD -v 2>&1` in
  51302. - *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  51303. - ld_shlibs_GCJ=no
  51304. - cat <<_LT_EOF 1>&2
  51305. -
  51306. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  51307. -*** reliably create shared libraries on SCO systems. Therefore, libtool
  51308. -*** is disabling shared libraries support. We urge you to upgrade GNU
  51309. -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  51310. -*** your PATH or compiler configuration so that the native linker is
  51311. -*** used, and then restart.
  51312. -
  51313. -_LT_EOF
  51314. - ;;
  51315. - *)
  51316. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  51317. - hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  51318. - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
  51319. - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
  51320. - else
  51321. - ld_shlibs_GCJ=no
  51322. - fi
  51323. - ;;
  51324. - esac
  51325. - ;;
  51326. -
  51327. - sunos4*)
  51328. - archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  51329. - wlarc=
  51330. - hardcode_direct_GCJ=yes
  51331. - hardcode_shlibpath_var_GCJ=no
  51332. - ;;
  51333. -
  51334. - *)
  51335. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  51336. - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  51337. - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  51338. - else
  51339. - ld_shlibs_GCJ=no
  51340. - fi
  51341. - ;;
  51342. - esac
  51343. -
  51344. - if test "$ld_shlibs_GCJ" = no; then
  51345. - runpath_var=
  51346. - hardcode_libdir_flag_spec_GCJ=
  51347. - export_dynamic_flag_spec_GCJ=
  51348. - whole_archive_flag_spec_GCJ=
  51349. - fi
  51350. - else
  51351. - # PORTME fill in a description of your system's linker (not GNU ld)
  51352. - case $host_os in
  51353. - aix3*)
  51354. - allow_undefined_flag_GCJ=unsupported
  51355. - always_export_symbols_GCJ=yes
  51356. - archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  51357. - # Note: this linker hardcodes the directories in LIBPATH if there
  51358. - # are no directories specified by -L.
  51359. - hardcode_minus_L_GCJ=yes
  51360. - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  51361. - # Neither direct hardcoding nor static linking is supported with a
  51362. - # broken collect2.
  51363. - hardcode_direct_GCJ=unsupported
  51364. - fi
  51365. - ;;
  51366. -
  51367. - aix[4-9]*)
  51368. - if test "$host_cpu" = ia64; then
  51369. - # On IA64, the linker does run time linking by default, so we don't
  51370. - # have to do anything special.
  51371. - aix_use_runtimelinking=no
  51372. - exp_sym_flag='-Bexport'
  51373. - no_entry_flag=""
  51374. - else
  51375. - # If we're using GNU nm, then we don't want the "-C" option.
  51376. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  51377. - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  51378. - export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
  51379. - else
  51380. - export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
  51381. - fi
  51382. - aix_use_runtimelinking=no
  51383. -
  51384. - # Test if we are trying to use run time linking or normal
  51385. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  51386. - # need to do runtime linking.
  51387. - case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  51388. - for ld_flag in $LDFLAGS; do
  51389. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  51390. - aix_use_runtimelinking=yes
  51391. - break
  51392. - fi
  51393. - done
  51394. - ;;
  51395. - esac
  51396. -
  51397. - exp_sym_flag='-bexport'
  51398. - no_entry_flag='-bnoentry'
  51399. - fi
  51400. -
  51401. - # When large executables or shared objects are built, AIX ld can
  51402. - # have problems creating the table of contents. If linking a library
  51403. - # or program results in "error TOC overflow" add -mminimal-toc to
  51404. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  51405. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  51406. -
  51407. - archive_cmds_GCJ=''
  51408. - hardcode_direct_GCJ=yes
  51409. - hardcode_libdir_separator_GCJ=':'
  51410. - link_all_deplibs_GCJ=yes
  51411. -
  51412. - if test "$GCC" = yes; then
  51413. - case $host_os in aix4.[012]|aix4.[012].*)
  51414. - # We only want to do this on AIX 4.2 and lower, the check
  51415. - # below for broken collect2 doesn't work under 4.3+
  51416. - collect2name=`${CC} -print-prog-name=collect2`
  51417. - if test -f "$collect2name" && \
  51418. - strings "$collect2name" | grep resolve_lib_name >/dev/null
  51419. - then
  51420. - # We have reworked collect2
  51421. - :
  51422. - else
  51423. - # We have old collect2
  51424. - hardcode_direct_GCJ=unsupported
  51425. - # It fails to find uninstalled libraries when the uninstalled
  51426. - # path is not listed in the libpath. Setting hardcode_minus_L
  51427. - # to unsupported forces relinking
  51428. - hardcode_minus_L_GCJ=yes
  51429. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  51430. - hardcode_libdir_separator_GCJ=
  51431. - fi
  51432. - ;;
  51433. - esac
  51434. - shared_flag='-shared'
  51435. - if test "$aix_use_runtimelinking" = yes; then
  51436. - shared_flag="$shared_flag "'${wl}-G'
  51437. - fi
  51438. - else
  51439. - # not using gcc
  51440. - if test "$host_cpu" = ia64; then
  51441. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  51442. - # chokes on -Wl,-G. The following line is correct:
  51443. - shared_flag='-G'
  51444. - else
  51445. - if test "$aix_use_runtimelinking" = yes; then
  51446. - shared_flag='${wl}-G'
  51447. - else
  51448. - shared_flag='${wl}-bM:SRE'
  51449. - fi
  51450. - fi
  51451. - fi
  51452. -
  51453. - # It seems that -bexpall does not export symbols beginning with
  51454. - # underscore (_), so it is better to generate a list of symbols to export.
  51455. - always_export_symbols_GCJ=yes
  51456. - if test "$aix_use_runtimelinking" = yes; then
  51457. - # Warning - without using the other runtime loading flags (-brtl),
  51458. - # -berok will link without error, but may produce a broken library.
  51459. - allow_undefined_flag_GCJ='-berok'
  51460. - # Determine the default libpath from the value encoded in an empty executable.
  51461. - cat >conftest.$ac_ext <<_ACEOF
  51462. -/* confdefs.h. */
  51463. -_ACEOF
  51464. -cat confdefs.h >>conftest.$ac_ext
  51465. -cat >>conftest.$ac_ext <<_ACEOF
  51466. -/* end confdefs.h. */
  51467. -
  51468. -int
  51469. -main ()
  51470. -{
  51471. -
  51472. - ;
  51473. - return 0;
  51474. -}
  51475. -_ACEOF
  51476. -rm -f conftest.$ac_objext conftest$ac_exeext
  51477. -if { (ac_try="$ac_link"
  51478. -case "(($ac_try" in
  51479. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  51480. - *) ac_try_echo=$ac_try;;
  51481. -esac
  51482. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  51483. -$as_echo "$ac_try_echo") >&5
  51484. - (eval "$ac_link") 2>conftest.er1
  51485. - ac_status=$?
  51486. - grep -v '^ *+' conftest.er1 >conftest.err
  51487. - rm -f conftest.er1
  51488. - cat conftest.err >&5
  51489. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  51490. - (exit $ac_status); } && {
  51491. - test -z "$ac_c_werror_flag" ||
  51492. - test ! -s conftest.err
  51493. - } && test -s conftest$ac_exeext && {
  51494. - test "$cross_compiling" = yes ||
  51495. - $as_test_x conftest$ac_exeext
  51496. - }; then
  51497. -
  51498. -lt_aix_libpath_sed='
  51499. - /Import File Strings/,/^$/ {
  51500. - /^0/ {
  51501. - s/^0 *\(.*\)$/\1/
  51502. - p
  51503. - }
  51504. - }'
  51505. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  51506. -# Check for a 64-bit object if we didn't find anything.
  51507. -if test -z "$aix_libpath"; then
  51508. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  51509. -fi
  51510. -else
  51511. - $as_echo "$as_me: failed program was:" >&5
  51512. -sed 's/^/| /' conftest.$ac_ext >&5
  51513. -
  51514. -
  51515. -fi
  51516. -
  51517. -rm -rf conftest.dSYM
  51518. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  51519. - conftest$ac_exeext conftest.$ac_ext
  51520. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  51521. -
  51522. - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
  51523. - archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  51524. - else
  51525. - if test "$host_cpu" = ia64; then
  51526. - hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
  51527. - allow_undefined_flag_GCJ="-z nodefs"
  51528. - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  51529. - else
  51530. - # Determine the default libpath from the value encoded in an empty executable.
  51531. - cat >conftest.$ac_ext <<_ACEOF
  51532. -/* confdefs.h. */
  51533. -_ACEOF
  51534. -cat confdefs.h >>conftest.$ac_ext
  51535. -cat >>conftest.$ac_ext <<_ACEOF
  51536. -/* end confdefs.h. */
  51537. -
  51538. -int
  51539. -main ()
  51540. -{
  51541. -
  51542. - ;
  51543. - return 0;
  51544. -}
  51545. -_ACEOF
  51546. -rm -f conftest.$ac_objext conftest$ac_exeext
  51547. -if { (ac_try="$ac_link"
  51548. -case "(($ac_try" in
  51549. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  51550. - *) ac_try_echo=$ac_try;;
  51551. -esac
  51552. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  51553. -$as_echo "$ac_try_echo") >&5
  51554. - (eval "$ac_link") 2>conftest.er1
  51555. - ac_status=$?
  51556. - grep -v '^ *+' conftest.er1 >conftest.err
  51557. - rm -f conftest.er1
  51558. - cat conftest.err >&5
  51559. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  51560. - (exit $ac_status); } && {
  51561. - test -z "$ac_c_werror_flag" ||
  51562. - test ! -s conftest.err
  51563. - } && test -s conftest$ac_exeext && {
  51564. - test "$cross_compiling" = yes ||
  51565. - $as_test_x conftest$ac_exeext
  51566. - }; then
  51567. -
  51568. -lt_aix_libpath_sed='
  51569. - /Import File Strings/,/^$/ {
  51570. - /^0/ {
  51571. - s/^0 *\(.*\)$/\1/
  51572. - p
  51573. - }
  51574. - }'
  51575. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  51576. -# Check for a 64-bit object if we didn't find anything.
  51577. -if test -z "$aix_libpath"; then
  51578. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  51579. -fi
  51580. -else
  51581. - $as_echo "$as_me: failed program was:" >&5
  51582. -sed 's/^/| /' conftest.$ac_ext >&5
  51583. -
  51584. -
  51585. -fi
  51586. -
  51587. -rm -rf conftest.dSYM
  51588. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  51589. - conftest$ac_exeext conftest.$ac_ext
  51590. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  51591. -
  51592. - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
  51593. - # Warning - without using the other run time loading flags,
  51594. - # -berok will link without error, but may produce a broken library.
  51595. - no_undefined_flag_GCJ=' ${wl}-bernotok'
  51596. - allow_undefined_flag_GCJ=' ${wl}-berok'
  51597. - # Exported symbols can be pulled into shared objects from archives
  51598. - whole_archive_flag_spec_GCJ='$convenience'
  51599. - archive_cmds_need_lc_GCJ=yes
  51600. - # This is similar to how AIX traditionally builds its shared libraries.
  51601. - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  51602. - fi
  51603. - fi
  51604. - ;;
  51605. -
  51606. - amigaos*)
  51607. - archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  51608. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  51609. - hardcode_minus_L_GCJ=yes
  51610. - # see comment about different semantics on the GNU ld section
  51611. - ld_shlibs_GCJ=no
  51612. - ;;
  51613. -
  51614. - bsdi[45]*)
  51615. - export_dynamic_flag_spec_GCJ=-rdynamic
  51616. - ;;
  51617. -
  51618. - cygwin* | mingw* | pw32*)
  51619. - # When not using gcc, we currently assume that we are using
  51620. - # Microsoft Visual C++.
  51621. - # hardcode_libdir_flag_spec is actually meaningless, as there is
  51622. - # no search path for DLLs.
  51623. - hardcode_libdir_flag_spec_GCJ=' '
  51624. - allow_undefined_flag_GCJ=unsupported
  51625. - # Tell ltmain to make .lib files, not .a files.
  51626. - libext=lib
  51627. - # Tell ltmain to make .dll files, not .so files.
  51628. - shrext_cmds=".dll"
  51629. - # FIXME: Setting linknames here is a bad hack.
  51630. - archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
  51631. - # The linker will automatically build a .lib file if we build a DLL.
  51632. - old_archive_From_new_cmds_GCJ='true'
  51633. - # FIXME: Should let the user specify the lib program.
  51634. - old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
  51635. - fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
  51636. - enable_shared_with_static_runtimes_GCJ=yes
  51637. - ;;
  51638. -
  51639. - darwin* | rhapsody*)
  51640. - case $host_os in
  51641. - rhapsody* | darwin1.[012])
  51642. - allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
  51643. - ;;
  51644. - *) # Darwin 1.3 on
  51645. - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  51646. - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  51647. - else
  51648. - case ${MACOSX_DEPLOYMENT_TARGET} in
  51649. - 10.[012])
  51650. - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  51651. - ;;
  51652. - 10.*)
  51653. - allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
  51654. - ;;
  51655. - esac
  51656. - fi
  51657. - ;;
  51658. - esac
  51659. - archive_cmds_need_lc_GCJ=no
  51660. - hardcode_direct_GCJ=no
  51661. - hardcode_automatic_GCJ=yes
  51662. - hardcode_shlibpath_var_GCJ=unsupported
  51663. - whole_archive_flag_spec_GCJ=''
  51664. - link_all_deplibs_GCJ=yes
  51665. - if test "$GCC" = yes ; then
  51666. - output_verbose_link_cmd='echo'
  51667. - archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  51668. - module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  51669. - archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  51670. - module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  51671. - else
  51672. - case $cc_basename in
  51673. - xlc*)
  51674. - output_verbose_link_cmd='echo'
  51675. - archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
  51676. - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  51677. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  51678. - archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  51679. - module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  51680. - ;;
  51681. - *)
  51682. - ld_shlibs_GCJ=no
  51683. - ;;
  51684. - esac
  51685. - fi
  51686. - ;;
  51687. -
  51688. - dgux*)
  51689. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  51690. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  51691. - hardcode_shlibpath_var_GCJ=no
  51692. - ;;
  51693. -
  51694. - freebsd1*)
  51695. - ld_shlibs_GCJ=no
  51696. - ;;
  51697. -
  51698. - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  51699. - # support. Future versions do this automatically, but an explicit c++rt0.o
  51700. - # does not break anything, and helps significantly (at the cost of a little
  51701. - # extra space).
  51702. - freebsd2.2*)
  51703. - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  51704. - hardcode_libdir_flag_spec_GCJ='-R$libdir'
  51705. - hardcode_direct_GCJ=yes
  51706. - hardcode_shlibpath_var_GCJ=no
  51707. - ;;
  51708. -
  51709. - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  51710. - freebsd2*)
  51711. - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  51712. - hardcode_direct_GCJ=yes
  51713. - hardcode_minus_L_GCJ=yes
  51714. - hardcode_shlibpath_var_GCJ=no
  51715. - ;;
  51716. -
  51717. - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  51718. - freebsd* | dragonfly*)
  51719. - archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  51720. - hardcode_libdir_flag_spec_GCJ='-R$libdir'
  51721. - hardcode_direct_GCJ=yes
  51722. - hardcode_shlibpath_var_GCJ=no
  51723. - ;;
  51724. -
  51725. - hpux9*)
  51726. - if test "$GCC" = yes; then
  51727. - archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  51728. - else
  51729. - archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  51730. - fi
  51731. - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
  51732. - hardcode_libdir_separator_GCJ=:
  51733. - hardcode_direct_GCJ=yes
  51734. -
  51735. - # hardcode_minus_L: Not really in the search PATH,
  51736. - # but as the default location of the library.
  51737. - hardcode_minus_L_GCJ=yes
  51738. - export_dynamic_flag_spec_GCJ='${wl}-E'
  51739. - ;;
  51740. -
  51741. - hpux10*)
  51742. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  51743. - archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  51744. - else
  51745. - archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  51746. - fi
  51747. - if test "$with_gnu_ld" = no; then
  51748. - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
  51749. - hardcode_libdir_separator_GCJ=:
  51750. -
  51751. - hardcode_direct_GCJ=yes
  51752. - export_dynamic_flag_spec_GCJ='${wl}-E'
  51753. -
  51754. - # hardcode_minus_L: Not really in the search PATH,
  51755. - # but as the default location of the library.
  51756. - hardcode_minus_L_GCJ=yes
  51757. - fi
  51758. - ;;
  51759. -
  51760. - hpux11*)
  51761. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  51762. - case $host_cpu in
  51763. - hppa*64*)
  51764. - archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  51765. - ;;
  51766. - ia64*)
  51767. - archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  51768. - ;;
  51769. - *)
  51770. - archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  51771. - ;;
  51772. - esac
  51773. - else
  51774. - case $host_cpu in
  51775. - hppa*64*)
  51776. - archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  51777. - ;;
  51778. - ia64*)
  51779. - archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  51780. - ;;
  51781. - *)
  51782. - archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  51783. - ;;
  51784. - esac
  51785. - fi
  51786. - if test "$with_gnu_ld" = no; then
  51787. - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
  51788. - hardcode_libdir_separator_GCJ=:
  51789. -
  51790. - case $host_cpu in
  51791. - hppa*64*|ia64*)
  51792. - hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
  51793. - hardcode_direct_GCJ=no
  51794. - hardcode_shlibpath_var_GCJ=no
  51795. - ;;
  51796. - *)
  51797. - hardcode_direct_GCJ=yes
  51798. - export_dynamic_flag_spec_GCJ='${wl}-E'
  51799. -
  51800. - # hardcode_minus_L: Not really in the search PATH,
  51801. - # but as the default location of the library.
  51802. - hardcode_minus_L_GCJ=yes
  51803. - ;;
  51804. - esac
  51805. - fi
  51806. - ;;
  51807. -
  51808. - irix5* | irix6* | nonstopux*)
  51809. - if test "$GCC" = yes; then
  51810. - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  51811. - else
  51812. - archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  51813. - hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
  51814. - fi
  51815. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
  51816. - hardcode_libdir_separator_GCJ=:
  51817. - link_all_deplibs_GCJ=yes
  51818. - ;;
  51819. -
  51820. - netbsd*)
  51821. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  51822. - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  51823. - else
  51824. - archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  51825. - fi
  51826. - hardcode_libdir_flag_spec_GCJ='-R$libdir'
  51827. - hardcode_direct_GCJ=yes
  51828. - hardcode_shlibpath_var_GCJ=no
  51829. - ;;
  51830. -
  51831. - newsos6)
  51832. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  51833. - hardcode_direct_GCJ=yes
  51834. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
  51835. - hardcode_libdir_separator_GCJ=:
  51836. - hardcode_shlibpath_var_GCJ=no
  51837. - ;;
  51838. -
  51839. - openbsd*)
  51840. - if test -f /usr/libexec/ld.so; then
  51841. - hardcode_direct_GCJ=yes
  51842. - hardcode_shlibpath_var_GCJ=no
  51843. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  51844. - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  51845. - archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  51846. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
  51847. - export_dynamic_flag_spec_GCJ='${wl}-E'
  51848. - else
  51849. - case $host_os in
  51850. - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  51851. - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  51852. - hardcode_libdir_flag_spec_GCJ='-R$libdir'
  51853. - ;;
  51854. - *)
  51855. - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  51856. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
  51857. - ;;
  51858. - esac
  51859. - fi
  51860. - else
  51861. - ld_shlibs_GCJ=no
  51862. - fi
  51863. - ;;
  51864. -
  51865. - os2*)
  51866. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  51867. - hardcode_minus_L_GCJ=yes
  51868. - allow_undefined_flag_GCJ=unsupported
  51869. - archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  51870. - old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  51871. - ;;
  51872. -
  51873. - osf3*)
  51874. - if test "$GCC" = yes; then
  51875. - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
  51876. - archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  51877. - else
  51878. - allow_undefined_flag_GCJ=' -expect_unresolved \*'
  51879. - archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  51880. - fi
  51881. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
  51882. - hardcode_libdir_separator_GCJ=:
  51883. - ;;
  51884. -
  51885. - osf4* | osf5*) # as osf3* with the addition of -msym flag
  51886. - if test "$GCC" = yes; then
  51887. - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
  51888. - archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  51889. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
  51890. - else
  51891. - allow_undefined_flag_GCJ=' -expect_unresolved \*'
  51892. - archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  51893. - archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
  51894. - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
  51895. -
  51896. - # Both c and cxx compiler support -rpath directly
  51897. - hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
  51898. - fi
  51899. - hardcode_libdir_separator_GCJ=:
  51900. - ;;
  51901. -
  51902. - solaris*)
  51903. - no_undefined_flag_GCJ=' -z text'
  51904. - if test "$GCC" = yes; then
  51905. - wlarc='${wl}'
  51906. - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  51907. - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  51908. - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
  51909. - else
  51910. - wlarc=''
  51911. - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  51912. - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  51913. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  51914. - fi
  51915. - hardcode_libdir_flag_spec_GCJ='-R$libdir'
  51916. - hardcode_shlibpath_var_GCJ=no
  51917. - case $host_os in
  51918. - solaris2.[0-5] | solaris2.[0-5].*) ;;
  51919. - *)
  51920. - # The compiler driver will combine and reorder linker options,
  51921. - # but understands `-z linker_flag'. GCC discards it without `$wl',
  51922. - # but is careful enough not to reorder.
  51923. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  51924. - if test "$GCC" = yes; then
  51925. - whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  51926. - else
  51927. - whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
  51928. - fi
  51929. - ;;
  51930. - esac
  51931. - link_all_deplibs_GCJ=yes
  51932. - ;;
  51933. -
  51934. - sunos4*)
  51935. - if test "x$host_vendor" = xsequent; then
  51936. - # Use $CC to link under sequent, because it throws in some extra .o
  51937. - # files that make .init and .fini sections work.
  51938. - archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  51939. - else
  51940. - archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  51941. - fi
  51942. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  51943. - hardcode_direct_GCJ=yes
  51944. - hardcode_minus_L_GCJ=yes
  51945. - hardcode_shlibpath_var_GCJ=no
  51946. - ;;
  51947. -
  51948. - sysv4)
  51949. - case $host_vendor in
  51950. - sni)
  51951. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  51952. - hardcode_direct_GCJ=yes # is this really true???
  51953. - ;;
  51954. - siemens)
  51955. - ## LD is ld it makes a PLAMLIB
  51956. - ## CC just makes a GrossModule.
  51957. - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  51958. - reload_cmds_GCJ='$CC -r -o $output$reload_objs'
  51959. - hardcode_direct_GCJ=no
  51960. - ;;
  51961. - motorola)
  51962. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  51963. - hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
  51964. - ;;
  51965. - esac
  51966. - runpath_var='LD_RUN_PATH'
  51967. - hardcode_shlibpath_var_GCJ=no
  51968. - ;;
  51969. -
  51970. - sysv4.3*)
  51971. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  51972. - hardcode_shlibpath_var_GCJ=no
  51973. - export_dynamic_flag_spec_GCJ='-Bexport'
  51974. - ;;
  51975. -
  51976. - sysv4*MP*)
  51977. - if test -d /usr/nec; then
  51978. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  51979. - hardcode_shlibpath_var_GCJ=no
  51980. - runpath_var=LD_RUN_PATH
  51981. - hardcode_runpath_var=yes
  51982. - ld_shlibs_GCJ=yes
  51983. - fi
  51984. - ;;
  51985. -
  51986. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  51987. - no_undefined_flag_GCJ='${wl}-z,text'
  51988. - archive_cmds_need_lc_GCJ=no
  51989. - hardcode_shlibpath_var_GCJ=no
  51990. - runpath_var='LD_RUN_PATH'
  51991. -
  51992. - if test "$GCC" = yes; then
  51993. - archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  51994. - archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  51995. - else
  51996. - archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  51997. - archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  51998. - fi
  51999. - ;;
  52000. -
  52001. - sysv5* | sco3.2v5* | sco5v6*)
  52002. - # Note: We can NOT use -z defs as we might desire, because we do not
  52003. - # link with -lc, and that would cause any symbols used from libc to
  52004. - # always be unresolved, which means just about no library would
  52005. - # ever link correctly. If we're not using GNU ld we use -z text
  52006. - # though, which does catch some bad symbols but isn't as heavy-handed
  52007. - # as -z defs.
  52008. - no_undefined_flag_GCJ='${wl}-z,text'
  52009. - allow_undefined_flag_GCJ='${wl}-z,nodefs'
  52010. - archive_cmds_need_lc_GCJ=no
  52011. - hardcode_shlibpath_var_GCJ=no
  52012. - hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  52013. - hardcode_libdir_separator_GCJ=':'
  52014. - link_all_deplibs_GCJ=yes
  52015. - export_dynamic_flag_spec_GCJ='${wl}-Bexport'
  52016. - runpath_var='LD_RUN_PATH'
  52017. -
  52018. - if test "$GCC" = yes; then
  52019. - archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  52020. - archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  52021. - else
  52022. - archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  52023. - archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  52024. - fi
  52025. - ;;
  52026. -
  52027. - uts4*)
  52028. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  52029. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  52030. - hardcode_shlibpath_var_GCJ=no
  52031. - ;;
  52032. -
  52033. - *)
  52034. - ld_shlibs_GCJ=no
  52035. - ;;
  52036. - esac
  52037. - fi
  52038. -
  52039. -{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
  52040. -$as_echo "$ld_shlibs_GCJ" >&6; }
  52041. -test "$ld_shlibs_GCJ" = no && can_build_shared=no
  52042. -
  52043. -#
  52044. -# Do we need to explicitly link libc?
  52045. -#
  52046. -case "x$archive_cmds_need_lc_GCJ" in
  52047. -x|xyes)
  52048. - # Assume -lc should be added
  52049. - archive_cmds_need_lc_GCJ=yes
  52050. -
  52051. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  52052. - case $archive_cmds_GCJ in
  52053. - *'~'*)
  52054. - # FIXME: we may have to deal with multi-command sequences.
  52055. - ;;
  52056. - '$CC '*)
  52057. - # Test whether the compiler implicitly links with -lc since on some
  52058. - # systems, -lgcc has to come before -lc. If gcc already passes -lc
  52059. - # to ld, don't add -lc before -lgcc.
  52060. - { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  52061. -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  52062. - $rm conftest*
  52063. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  52064. -
  52065. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  52066. - (eval $ac_compile) 2>&5
  52067. - ac_status=$?
  52068. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  52069. - (exit $ac_status); } 2>conftest.err; then
  52070. - soname=conftest
  52071. - lib=conftest
  52072. - libobjs=conftest.$ac_objext
  52073. - deplibs=
  52074. - wl=$lt_prog_compiler_wl_GCJ
  52075. - pic_flag=$lt_prog_compiler_pic_GCJ
  52076. - compiler_flags=-v
  52077. - linker_flags=-v
  52078. - verstring=
  52079. - output_objdir=.
  52080. - libname=conftest
  52081. - lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
  52082. - allow_undefined_flag_GCJ=
  52083. - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
  52084. - (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
  52085. - ac_status=$?
  52086. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  52087. - (exit $ac_status); }
  52088. - then
  52089. - archive_cmds_need_lc_GCJ=no
  52090. - else
  52091. - archive_cmds_need_lc_GCJ=yes
  52092. - fi
  52093. - allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
  52094. - else
  52095. - cat conftest.err 1>&5
  52096. - fi
  52097. - $rm conftest*
  52098. - { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
  52099. -$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
  52100. - ;;
  52101. - esac
  52102. - fi
  52103. - ;;
  52104. -esac
  52105. -
  52106. -{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  52107. -$as_echo_n "checking dynamic linker characteristics... " >&6; }
  52108. -library_names_spec=
  52109. -libname_spec='lib$name'
  52110. -soname_spec=
  52111. -shrext_cmds=".so"
  52112. -postinstall_cmds=
  52113. -postuninstall_cmds=
  52114. -finish_cmds=
  52115. -finish_eval=
  52116. -shlibpath_var=
  52117. -shlibpath_overrides_runpath=unknown
  52118. -version_type=none
  52119. -dynamic_linker="$host_os ld.so"
  52120. -sys_lib_dlsearch_path_spec="/lib /usr/lib"
  52121. -
  52122. -need_lib_prefix=unknown
  52123. -hardcode_into_libs=no
  52124. -
  52125. -# when you set need_version to no, make sure it does not cause -set_version
  52126. -# flags to be left without arguments
  52127. -need_version=unknown
  52128. -
  52129. -case $host_os in
  52130. -aix3*)
  52131. - version_type=linux
  52132. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  52133. - shlibpath_var=LIBPATH
  52134. -
  52135. - # AIX 3 has no versioning support, so we append a major version to the name.
  52136. - soname_spec='${libname}${release}${shared_ext}$major'
  52137. - ;;
  52138. -
  52139. -aix[4-9]*)
  52140. - version_type=linux
  52141. - need_lib_prefix=no
  52142. - need_version=no
  52143. - hardcode_into_libs=yes
  52144. - if test "$host_cpu" = ia64; then
  52145. - # AIX 5 supports IA64
  52146. - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  52147. - shlibpath_var=LD_LIBRARY_PATH
  52148. - else
  52149. - # With GCC up to 2.95.x, collect2 would create an import file
  52150. - # for dependence libraries. The import file would start with
  52151. - # the line `#! .'. This would cause the generated library to
  52152. - # depend on `.', always an invalid library. This was fixed in
  52153. - # development snapshots of GCC prior to 3.0.
  52154. - case $host_os in
  52155. - aix4 | aix4.[01] | aix4.[01].*)
  52156. - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  52157. - echo ' yes '
  52158. - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  52159. - :
  52160. - else
  52161. - can_build_shared=no
  52162. - fi
  52163. - ;;
  52164. - esac
  52165. - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  52166. - # soname into executable. Probably we can add versioning support to
  52167. - # collect2, so additional links can be useful in future.
  52168. - if test "$aix_use_runtimelinking" = yes; then
  52169. - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  52170. - # instead of lib<name>.a to let people know that these are not
  52171. - # typical AIX shared libraries.
  52172. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  52173. - else
  52174. - # We preserve .a as extension for shared libraries through AIX4.2
  52175. - # and later when we are not doing run time linking.
  52176. - library_names_spec='${libname}${release}.a $libname.a'
  52177. - soname_spec='${libname}${release}${shared_ext}$major'
  52178. - fi
  52179. - shlibpath_var=LIBPATH
  52180. - fi
  52181. - ;;
  52182. -
  52183. -amigaos*)
  52184. - library_names_spec='$libname.ixlibrary $libname.a'
  52185. - # Create ${libname}_ixlibrary.a entries in /sys/libs.
  52186. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  52187. - ;;
  52188. -
  52189. -beos*)
  52190. - library_names_spec='${libname}${shared_ext}'
  52191. - dynamic_linker="$host_os ld.so"
  52192. - shlibpath_var=LIBRARY_PATH
  52193. - ;;
  52194. -
  52195. -bsdi[45]*)
  52196. - version_type=linux
  52197. - need_version=no
  52198. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  52199. - soname_spec='${libname}${release}${shared_ext}$major'
  52200. - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  52201. - shlibpath_var=LD_LIBRARY_PATH
  52202. - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  52203. - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  52204. - # the default ld.so.conf also contains /usr/contrib/lib and
  52205. - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  52206. - # libtool to hard-code these into programs
  52207. - ;;
  52208. -
  52209. -cygwin* | mingw* | pw32*)
  52210. - version_type=windows
  52211. - shrext_cmds=".dll"
  52212. - need_version=no
  52213. - need_lib_prefix=no
  52214. -
  52215. - case $GCC,$host_os in
  52216. - yes,cygwin* | yes,mingw* | yes,pw32*)
  52217. - library_names_spec='$libname.dll.a'
  52218. - # DLL is installed to $(libdir)/../bin by postinstall_cmds
  52219. - postinstall_cmds='base_file=`basename \${file}`~
  52220. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  52221. - dldir=$destdir/`dirname \$dlpath`~
  52222. - test -d \$dldir || mkdir -p \$dldir~
  52223. - $install_prog $dir/$dlname \$dldir/$dlname~
  52224. - chmod a+x \$dldir/$dlname'
  52225. - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  52226. - dlpath=$dir/\$dldll~
  52227. - $rm \$dlpath'
  52228. - shlibpath_overrides_runpath=yes
  52229. -
  52230. - case $host_os in
  52231. - cygwin*)
  52232. - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  52233. - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  52234. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  52235. - ;;
  52236. - mingw*)
  52237. - # MinGW DLLs use traditional 'lib' prefix
  52238. - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  52239. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  52240. - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
  52241. - # It is most probably a Windows format PATH printed by
  52242. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  52243. - # path with ; separators, and with drive letters. We can handle the
  52244. - # drive letters (cygwin fileutils understands them), so leave them,
  52245. - # especially as we might pass files found there to a mingw objdump,
  52246. - # which wouldn't understand a cygwinified path. Ahh.
  52247. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  52248. - else
  52249. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  52250. - fi
  52251. - ;;
  52252. - pw32*)
  52253. - # pw32 DLLs use 'pw' prefix rather than 'lib'
  52254. - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  52255. - ;;
  52256. - esac
  52257. - ;;
  52258. -
  52259. - *)
  52260. - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  52261. - ;;
  52262. - esac
  52263. - dynamic_linker='Win32 ld.exe'
  52264. - # FIXME: first we should search . and the directory the executable is in
  52265. - shlibpath_var=PATH
  52266. - ;;
  52267. -
  52268. -darwin* | rhapsody*)
  52269. - dynamic_linker="$host_os dyld"
  52270. - version_type=darwin
  52271. - need_lib_prefix=no
  52272. - need_version=no
  52273. - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  52274. - soname_spec='${libname}${release}${major}$shared_ext'
  52275. - shlibpath_overrides_runpath=yes
  52276. - shlibpath_var=DYLD_LIBRARY_PATH
  52277. - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  52278. -
  52279. - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  52280. - ;;
  52281. -
  52282. -dgux*)
  52283. - version_type=linux
  52284. - need_lib_prefix=no
  52285. - need_version=no
  52286. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  52287. - soname_spec='${libname}${release}${shared_ext}$major'
  52288. - shlibpath_var=LD_LIBRARY_PATH
  52289. - ;;
  52290. -
  52291. -freebsd1*)
  52292. - dynamic_linker=no
  52293. - ;;
  52294. -
  52295. -freebsd* | dragonfly*)
  52296. - # DragonFly does not have aout. When/if they implement a new
  52297. - # versioning mechanism, adjust this.
  52298. - if test -x /usr/bin/objformat; then
  52299. - objformat=`/usr/bin/objformat`
  52300. - else
  52301. - case $host_os in
  52302. - freebsd[123]*) objformat=aout ;;
  52303. - *) objformat=elf ;;
  52304. - esac
  52305. - fi
  52306. - version_type=freebsd-$objformat
  52307. - case $version_type in
  52308. - freebsd-elf*)
  52309. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  52310. - need_version=no
  52311. - need_lib_prefix=no
  52312. - ;;
  52313. - freebsd-*)
  52314. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  52315. - need_version=yes
  52316. - ;;
  52317. - esac
  52318. - shlibpath_var=LD_LIBRARY_PATH
  52319. - case $host_os in
  52320. - freebsd2*)
  52321. - shlibpath_overrides_runpath=yes
  52322. - ;;
  52323. - freebsd3.[01]* | freebsdelf3.[01]*)
  52324. - shlibpath_overrides_runpath=yes
  52325. - hardcode_into_libs=yes
  52326. - ;;
  52327. - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  52328. - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  52329. - shlibpath_overrides_runpath=no
  52330. - hardcode_into_libs=yes
  52331. - ;;
  52332. - *) # from 4.6 on, and DragonFly
  52333. - shlibpath_overrides_runpath=yes
  52334. - hardcode_into_libs=yes
  52335. - ;;
  52336. - esac
  52337. - ;;
  52338. -
  52339. -gnu*)
  52340. - version_type=linux
  52341. - need_lib_prefix=no
  52342. - need_version=no
  52343. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  52344. - soname_spec='${libname}${release}${shared_ext}$major'
  52345. - shlibpath_var=LD_LIBRARY_PATH
  52346. - hardcode_into_libs=yes
  52347. - ;;
  52348. -
  52349. -hpux9* | hpux10* | hpux11*)
  52350. - # Give a soname corresponding to the major version so that dld.sl refuses to
  52351. - # link against other versions.
  52352. - version_type=sunos
  52353. - need_lib_prefix=no
  52354. - need_version=no
  52355. - case $host_cpu in
  52356. - ia64*)
  52357. - shrext_cmds='.so'
  52358. - hardcode_into_libs=yes
  52359. - dynamic_linker="$host_os dld.so"
  52360. - shlibpath_var=LD_LIBRARY_PATH
  52361. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  52362. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  52363. - soname_spec='${libname}${release}${shared_ext}$major'
  52364. - if test "X$HPUX_IA64_MODE" = X32; then
  52365. - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  52366. - else
  52367. - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  52368. - fi
  52369. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  52370. - ;;
  52371. - hppa*64*)
  52372. - shrext_cmds='.sl'
  52373. - hardcode_into_libs=yes
  52374. - dynamic_linker="$host_os dld.sl"
  52375. - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  52376. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  52377. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  52378. - soname_spec='${libname}${release}${shared_ext}$major'
  52379. - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  52380. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  52381. - ;;
  52382. - *)
  52383. - shrext_cmds='.sl'
  52384. - dynamic_linker="$host_os dld.sl"
  52385. - shlibpath_var=SHLIB_PATH
  52386. - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  52387. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  52388. - soname_spec='${libname}${release}${shared_ext}$major'
  52389. - ;;
  52390. - esac
  52391. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  52392. - postinstall_cmds='chmod 555 $lib'
  52393. - ;;
  52394. -
  52395. -interix[3-9]*)
  52396. - version_type=linux
  52397. - need_lib_prefix=no
  52398. - need_version=no
  52399. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  52400. - soname_spec='${libname}${release}${shared_ext}$major'
  52401. - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  52402. - shlibpath_var=LD_LIBRARY_PATH
  52403. - shlibpath_overrides_runpath=no
  52404. - hardcode_into_libs=yes
  52405. - ;;
  52406. -
  52407. -irix5* | irix6* | nonstopux*)
  52408. - case $host_os in
  52409. - nonstopux*) version_type=nonstopux ;;
  52410. - *)
  52411. - if test "$lt_cv_prog_gnu_ld" = yes; then
  52412. - version_type=linux
  52413. - else
  52414. - version_type=irix
  52415. - fi ;;
  52416. - esac
  52417. - need_lib_prefix=no
  52418. - need_version=no
  52419. - soname_spec='${libname}${release}${shared_ext}$major'
  52420. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  52421. - case $host_os in
  52422. - irix5* | nonstopux*)
  52423. - libsuff= shlibsuff=
  52424. - ;;
  52425. - *)
  52426. - case $LD in # libtool.m4 will add one of these switches to LD
  52427. - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  52428. - libsuff= shlibsuff= libmagic=32-bit;;
  52429. - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  52430. - libsuff=32 shlibsuff=N32 libmagic=N32;;
  52431. - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  52432. - libsuff=64 shlibsuff=64 libmagic=64-bit;;
  52433. - *) libsuff= shlibsuff= libmagic=never-match;;
  52434. - esac
  52435. - ;;
  52436. - esac
  52437. - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  52438. - shlibpath_overrides_runpath=no
  52439. - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  52440. - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  52441. - hardcode_into_libs=yes
  52442. - ;;
  52443. -
  52444. -# No shared lib support for Linux oldld, aout, or coff.
  52445. -linux*oldld* | linux*aout* | linux*coff*)
  52446. - dynamic_linker=no
  52447. - ;;
  52448. -
  52449. -# This must be Linux ELF.
  52450. -linux* | k*bsd*-gnu)
  52451. - version_type=linux
  52452. - need_lib_prefix=no
  52453. - need_version=no
  52454. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  52455. - soname_spec='${libname}${release}${shared_ext}$major'
  52456. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  52457. - shlibpath_var=LD_LIBRARY_PATH
  52458. - shlibpath_overrides_runpath=no
  52459. - # This implies no fast_install, which is unacceptable.
  52460. - # Some rework will be needed to allow for fast_install
  52461. - # before this can be enabled.
  52462. - hardcode_into_libs=yes
  52463. -
  52464. - # Append ld.so.conf contents to the search path
  52465. - if test -f /etc/ld.so.conf; then
  52466. - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  52467. - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  52468. - fi
  52469. -
  52470. - # We used to test for /lib/ld.so.1 and disable shared libraries on
  52471. - # powerpc, because MkLinux only supported shared libraries with the
  52472. - # GNU dynamic linker. Since this was broken with cross compilers,
  52473. - # most powerpc-linux boxes support dynamic linking these days and
  52474. - # people can always --disable-shared, the test was removed, and we
  52475. - # assume the GNU/Linux dynamic linker is in use.
  52476. - dynamic_linker='GNU/Linux ld.so'
  52477. - ;;
  52478. -
  52479. -netbsd*)
  52480. - version_type=sunos
  52481. - need_lib_prefix=no
  52482. - need_version=no
  52483. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  52484. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  52485. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  52486. - dynamic_linker='NetBSD (a.out) ld.so'
  52487. - else
  52488. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  52489. - soname_spec='${libname}${release}${shared_ext}$major'
  52490. - dynamic_linker='NetBSD ld.elf_so'
  52491. - fi
  52492. - shlibpath_var=LD_LIBRARY_PATH
  52493. - shlibpath_overrides_runpath=yes
  52494. - hardcode_into_libs=yes
  52495. - ;;
  52496. -
  52497. -newsos6)
  52498. - version_type=linux
  52499. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  52500. - shlibpath_var=LD_LIBRARY_PATH
  52501. - shlibpath_overrides_runpath=yes
  52502. - ;;
  52503. -
  52504. -nto-qnx*)
  52505. - version_type=linux
  52506. - need_lib_prefix=no
  52507. - need_version=no
  52508. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  52509. - soname_spec='${libname}${release}${shared_ext}$major'
  52510. - shlibpath_var=LD_LIBRARY_PATH
  52511. - shlibpath_overrides_runpath=yes
  52512. - ;;
  52513. -
  52514. -openbsd*)
  52515. - version_type=sunos
  52516. - sys_lib_dlsearch_path_spec="/usr/lib"
  52517. - need_lib_prefix=no
  52518. - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  52519. - case $host_os in
  52520. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  52521. - *) need_version=no ;;
  52522. - esac
  52523. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  52524. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  52525. - shlibpath_var=LD_LIBRARY_PATH
  52526. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  52527. - case $host_os in
  52528. - openbsd2.[89] | openbsd2.[89].*)
  52529. - shlibpath_overrides_runpath=no
  52530. - ;;
  52531. - *)
  52532. - shlibpath_overrides_runpath=yes
  52533. - ;;
  52534. - esac
  52535. - else
  52536. - shlibpath_overrides_runpath=yes
  52537. - fi
  52538. - ;;
  52539. -
  52540. -os2*)
  52541. - libname_spec='$name'
  52542. - shrext_cmds=".dll"
  52543. - need_lib_prefix=no
  52544. - library_names_spec='$libname${shared_ext} $libname.a'
  52545. - dynamic_linker='OS/2 ld.exe'
  52546. - shlibpath_var=LIBPATH
  52547. - ;;
  52548. -
  52549. -osf3* | osf4* | osf5*)
  52550. - version_type=osf
  52551. - need_lib_prefix=no
  52552. - need_version=no
  52553. - soname_spec='${libname}${release}${shared_ext}$major'
  52554. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  52555. - shlibpath_var=LD_LIBRARY_PATH
  52556. - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  52557. - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  52558. - ;;
  52559. -
  52560. -rdos*)
  52561. - dynamic_linker=no
  52562. - ;;
  52563. -
  52564. -solaris*)
  52565. - version_type=linux
  52566. - need_lib_prefix=no
  52567. - need_version=no
  52568. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  52569. - soname_spec='${libname}${release}${shared_ext}$major'
  52570. - shlibpath_var=LD_LIBRARY_PATH
  52571. - shlibpath_overrides_runpath=yes
  52572. - hardcode_into_libs=yes
  52573. - # ldd complains unless libraries are executable
  52574. - postinstall_cmds='chmod +x $lib'
  52575. - ;;
  52576. -
  52577. -sunos4*)
  52578. - version_type=sunos
  52579. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  52580. - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  52581. - shlibpath_var=LD_LIBRARY_PATH
  52582. - shlibpath_overrides_runpath=yes
  52583. - if test "$with_gnu_ld" = yes; then
  52584. - need_lib_prefix=no
  52585. - fi
  52586. - need_version=yes
  52587. - ;;
  52588. -
  52589. -sysv4 | sysv4.3*)
  52590. - version_type=linux
  52591. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  52592. - soname_spec='${libname}${release}${shared_ext}$major'
  52593. - shlibpath_var=LD_LIBRARY_PATH
  52594. - case $host_vendor in
  52595. - sni)
  52596. - shlibpath_overrides_runpath=no
  52597. - need_lib_prefix=no
  52598. - export_dynamic_flag_spec='${wl}-Blargedynsym'
  52599. - runpath_var=LD_RUN_PATH
  52600. - ;;
  52601. - siemens)
  52602. - need_lib_prefix=no
  52603. - ;;
  52604. - motorola)
  52605. - need_lib_prefix=no
  52606. - need_version=no
  52607. - shlibpath_overrides_runpath=no
  52608. - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  52609. - ;;
  52610. - esac
  52611. - ;;
  52612. -
  52613. -sysv4*MP*)
  52614. - if test -d /usr/nec ;then
  52615. - version_type=linux
  52616. - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  52617. - soname_spec='$libname${shared_ext}.$major'
  52618. - shlibpath_var=LD_LIBRARY_PATH
  52619. - fi
  52620. - ;;
  52621. -
  52622. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  52623. - version_type=freebsd-elf
  52624. - need_lib_prefix=no
  52625. - need_version=no
  52626. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  52627. - soname_spec='${libname}${release}${shared_ext}$major'
  52628. - shlibpath_var=LD_LIBRARY_PATH
  52629. - hardcode_into_libs=yes
  52630. - if test "$with_gnu_ld" = yes; then
  52631. - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  52632. - shlibpath_overrides_runpath=no
  52633. - else
  52634. - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  52635. - shlibpath_overrides_runpath=yes
  52636. - case $host_os in
  52637. - sco3.2v5*)
  52638. - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  52639. - ;;
  52640. - esac
  52641. - fi
  52642. - sys_lib_dlsearch_path_spec='/usr/lib'
  52643. - ;;
  52644. -
  52645. -uts4*)
  52646. - version_type=linux
  52647. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  52648. - soname_spec='${libname}${release}${shared_ext}$major'
  52649. - shlibpath_var=LD_LIBRARY_PATH
  52650. - ;;
  52651. -
  52652. -*)
  52653. - dynamic_linker=no
  52654. - ;;
  52655. -esac
  52656. -{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  52657. -$as_echo "$dynamic_linker" >&6; }
  52658. -test "$dynamic_linker" = no && can_build_shared=no
  52659. -
  52660. -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  52661. - $as_echo_n "(cached) " >&6
  52662. -else
  52663. - lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
  52664. -fi
  52665. -
  52666. -sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  52667. -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  52668. - $as_echo_n "(cached) " >&6
  52669. -else
  52670. - lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
  52671. -fi
  52672. -
  52673. -sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  52674. -
  52675. -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  52676. -if test "$GCC" = yes; then
  52677. - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  52678. -fi
  52679. -
  52680. -{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  52681. -$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  52682. -hardcode_action_GCJ=
  52683. -if test -n "$hardcode_libdir_flag_spec_GCJ" || \
  52684. - test -n "$runpath_var_GCJ" || \
  52685. - test "X$hardcode_automatic_GCJ" = "Xyes" ; then
  52686. -
  52687. - # We can hardcode non-existant directories.
  52688. - if test "$hardcode_direct_GCJ" != no &&
  52689. - # If the only mechanism to avoid hardcoding is shlibpath_var, we
  52690. - # have to relink, otherwise we might link with an installed library
  52691. - # when we should be linking with a yet-to-be-installed one
  52692. - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
  52693. - test "$hardcode_minus_L_GCJ" != no; then
  52694. - # Linking always hardcodes the temporary library directory.
  52695. - hardcode_action_GCJ=relink
  52696. - else
  52697. - # We can link without hardcoding, and we can hardcode nonexisting dirs.
  52698. - hardcode_action_GCJ=immediate
  52699. - fi
  52700. -else
  52701. - # We cannot hardcode anything, or else we can only hardcode existing
  52702. - # directories.
  52703. - hardcode_action_GCJ=unsupported
  52704. -fi
  52705. -{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
  52706. -$as_echo "$hardcode_action_GCJ" >&6; }
  52707. -
  52708. -if test "$hardcode_action_GCJ" = relink; then
  52709. - # Fast installation is not supported
  52710. - enable_fast_install=no
  52711. -elif test "$shlibpath_overrides_runpath" = yes ||
  52712. - test "$enable_shared" = no; then
  52713. - # Fast installation is not necessary
  52714. - enable_fast_install=needless
  52715. -fi
  52716. -
  52717. -
  52718. -# The else clause should only fire when bootstrapping the
  52719. -# libtool distribution, otherwise you forgot to ship ltmain.sh
  52720. -# with your package, and you will get complaints that there are
  52721. -# no rules to generate ltmain.sh.
  52722. -if test -f "$ltmain"; then
  52723. - # See if we are running on zsh, and set the options which allow our commands through
  52724. - # without removal of \ escapes.
  52725. - if test -n "${ZSH_VERSION+set}" ; then
  52726. - setopt NO_GLOB_SUBST
  52727. - fi
  52728. - # Now quote all the things that may contain metacharacters while being
  52729. - # careful not to overquote the AC_SUBSTed values. We take copies of the
  52730. - # variables and quote the copies for generation of the libtool script.
  52731. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  52732. - SED SHELL STRIP \
  52733. - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  52734. - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  52735. - deplibs_check_method reload_flag reload_cmds need_locks \
  52736. - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  52737. - lt_cv_sys_global_symbol_to_c_name_address \
  52738. - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  52739. - old_postinstall_cmds old_postuninstall_cmds \
  52740. - compiler_GCJ \
  52741. - CC_GCJ \
  52742. - LD_GCJ \
  52743. - lt_prog_compiler_wl_GCJ \
  52744. - lt_prog_compiler_pic_GCJ \
  52745. - lt_prog_compiler_static_GCJ \
  52746. - lt_prog_compiler_no_builtin_flag_GCJ \
  52747. - export_dynamic_flag_spec_GCJ \
  52748. - thread_safe_flag_spec_GCJ \
  52749. - whole_archive_flag_spec_GCJ \
  52750. - enable_shared_with_static_runtimes_GCJ \
  52751. - old_archive_cmds_GCJ \
  52752. - old_archive_from_new_cmds_GCJ \
  52753. - predep_objects_GCJ \
  52754. - postdep_objects_GCJ \
  52755. - predeps_GCJ \
  52756. - postdeps_GCJ \
  52757. - compiler_lib_search_path_GCJ \
  52758. - compiler_lib_search_dirs_GCJ \
  52759. - archive_cmds_GCJ \
  52760. - archive_expsym_cmds_GCJ \
  52761. - postinstall_cmds_GCJ \
  52762. - postuninstall_cmds_GCJ \
  52763. - old_archive_from_expsyms_cmds_GCJ \
  52764. - allow_undefined_flag_GCJ \
  52765. - no_undefined_flag_GCJ \
  52766. - export_symbols_cmds_GCJ \
  52767. - hardcode_libdir_flag_spec_GCJ \
  52768. - hardcode_libdir_flag_spec_ld_GCJ \
  52769. - hardcode_libdir_separator_GCJ \
  52770. - hardcode_automatic_GCJ \
  52771. - module_cmds_GCJ \
  52772. - module_expsym_cmds_GCJ \
  52773. - lt_cv_prog_compiler_c_o_GCJ \
  52774. - fix_srcfile_path_GCJ \
  52775. - exclude_expsyms_GCJ \
  52776. - include_expsyms_GCJ; do
  52777. -
  52778. - case $var in
  52779. - old_archive_cmds_GCJ | \
  52780. - old_archive_from_new_cmds_GCJ | \
  52781. - archive_cmds_GCJ | \
  52782. - archive_expsym_cmds_GCJ | \
  52783. - module_cmds_GCJ | \
  52784. - module_expsym_cmds_GCJ | \
  52785. - old_archive_from_expsyms_cmds_GCJ | \
  52786. - export_symbols_cmds_GCJ | \
  52787. - extract_expsyms_cmds | reload_cmds | finish_cmds | \
  52788. - postinstall_cmds | postuninstall_cmds | \
  52789. - old_postinstall_cmds | old_postuninstall_cmds | \
  52790. - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  52791. - # Double-quote double-evaled strings.
  52792. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  52793. - ;;
  52794. - *)
  52795. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  52796. - ;;
  52797. - esac
  52798. - done
  52799. -
  52800. - case $lt_echo in
  52801. - *'\$0 --fallback-echo"')
  52802. - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  52803. - ;;
  52804. - esac
  52805. -
  52806. -cfgfile="$ofile"
  52807. -
  52808. - cat <<__EOF__ >> "$cfgfile"
  52809. -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
  52810. -
  52811. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  52812. -
  52813. -# Shell to use when invoking shell scripts.
  52814. -SHELL=$lt_SHELL
  52815. -
  52816. -# Whether or not to build shared libraries.
  52817. -build_libtool_libs=$enable_shared
  52818. -
  52819. -# Whether or not to build static libraries.
  52820. -build_old_libs=$enable_static
  52821. -
  52822. -# Whether or not to add -lc for building shared libraries.
  52823. -build_libtool_need_lc=$archive_cmds_need_lc_GCJ
  52824. -
  52825. -# Whether or not to disallow shared libs when runtime libs are static
  52826. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
  52827. -
  52828. -# Whether or not to optimize for fast installation.
  52829. -fast_install=$enable_fast_install
  52830. -
  52831. -# The host system.
  52832. -host_alias=$host_alias
  52833. -host=$host
  52834. -host_os=$host_os
  52835. -
  52836. -# The build system.
  52837. -build_alias=$build_alias
  52838. -build=$build
  52839. -build_os=$build_os
  52840. -
  52841. -# An echo program that does not interpret backslashes.
  52842. -echo=$lt_echo
  52843. -
  52844. -# The archiver.
  52845. -AR=$lt_AR
  52846. -AR_FLAGS=$lt_AR_FLAGS
  52847. -
  52848. -# A C compiler.
  52849. -LTCC=$lt_LTCC
  52850. -
  52851. -# LTCC compiler flags.
  52852. -LTCFLAGS=$lt_LTCFLAGS
  52853. -
  52854. -# A language-specific compiler.
  52855. -CC=$lt_compiler_GCJ
  52856. -
  52857. -# Is the compiler the GNU C compiler?
  52858. -with_gcc=$GCC_GCJ
  52859. -
  52860. -# An ERE matcher.
  52861. -EGREP=$lt_EGREP
  52862. -
  52863. -# The linker used to build libraries.
  52864. -LD=$lt_LD_GCJ
  52865. -
  52866. -# Whether we need hard or soft links.
  52867. -LN_S=$lt_LN_S
  52868. -
  52869. -# A BSD-compatible nm program.
  52870. -NM=$lt_NM
  52871. -
  52872. -# A symbol stripping program
  52873. -STRIP=$lt_STRIP
  52874. -
  52875. -# Used to examine libraries when file_magic_cmd begins "file"
  52876. -MAGIC_CMD=$MAGIC_CMD
  52877. -
  52878. -# Used on cygwin: DLL creation program.
  52879. -DLLTOOL="$DLLTOOL"
  52880. -
  52881. -# Used on cygwin: object dumper.
  52882. -OBJDUMP="$OBJDUMP"
  52883. -
  52884. -# Used on cygwin: assembler.
  52885. -AS="$AS"
  52886. -
  52887. -# The name of the directory that contains temporary libtool files.
  52888. -objdir=$objdir
  52889. -
  52890. -# How to create reloadable object files.
  52891. -reload_flag=$lt_reload_flag
  52892. -reload_cmds=$lt_reload_cmds
  52893. -
  52894. -# How to pass a linker flag through the compiler.
  52895. -wl=$lt_lt_prog_compiler_wl_GCJ
  52896. -
  52897. -# Object file suffix (normally "o").
  52898. -objext="$ac_objext"
  52899. -
  52900. -# Old archive suffix (normally "a").
  52901. -libext="$libext"
  52902. -
  52903. -# Shared library suffix (normally ".so").
  52904. -shrext_cmds='$shrext_cmds'
  52905. -
  52906. -# Executable file suffix (normally "").
  52907. -exeext="$exeext"
  52908. -
  52909. -# Additional compiler flags for building library objects.
  52910. -pic_flag=$lt_lt_prog_compiler_pic_GCJ
  52911. -pic_mode=$pic_mode
  52912. -
  52913. -# What is the maximum length of a command?
  52914. -max_cmd_len=$lt_cv_sys_max_cmd_len
  52915. -
  52916. -# Does compiler simultaneously support -c and -o options?
  52917. -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
  52918. -
  52919. -# Must we lock files when doing compilation?
  52920. -need_locks=$lt_need_locks
  52921. -
  52922. -# Do we need the lib prefix for modules?
  52923. -need_lib_prefix=$need_lib_prefix
  52924. -
  52925. -# Do we need a version for libraries?
  52926. -need_version=$need_version
  52927. -
  52928. -# Whether dlopen is supported.
  52929. -dlopen_support=$enable_dlopen
  52930. -
  52931. -# Whether dlopen of programs is supported.
  52932. -dlopen_self=$enable_dlopen_self
  52933. -
  52934. -# Whether dlopen of statically linked programs is supported.
  52935. -dlopen_self_static=$enable_dlopen_self_static
  52936. -
  52937. -# Compiler flag to prevent dynamic linking.
  52938. -link_static_flag=$lt_lt_prog_compiler_static_GCJ
  52939. -
  52940. -# Compiler flag to turn off builtin functions.
  52941. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
  52942. -
  52943. -# Compiler flag to allow reflexive dlopens.
  52944. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
  52945. -
  52946. -# Compiler flag to generate shared objects directly from archives.
  52947. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
  52948. -
  52949. -# Compiler flag to generate thread-safe objects.
  52950. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
  52951. -
  52952. -# Library versioning type.
  52953. -version_type=$version_type
  52954. -
  52955. -# Format of library name prefix.
  52956. -libname_spec=$lt_libname_spec
  52957. -
  52958. -# List of archive names. First name is the real one, the rest are links.
  52959. -# The last name is the one that the linker finds with -lNAME.
  52960. -library_names_spec=$lt_library_names_spec
  52961. -
  52962. -# The coded name of the library, if different from the real name.
  52963. -soname_spec=$lt_soname_spec
  52964. -
  52965. -# Commands used to build and install an old-style archive.
  52966. -RANLIB=$lt_RANLIB
  52967. -old_archive_cmds=$lt_old_archive_cmds_GCJ
  52968. -old_postinstall_cmds=$lt_old_postinstall_cmds
  52969. -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  52970. -
  52971. -# Create an old-style archive from a shared archive.
  52972. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
  52973. -
  52974. -# Create a temporary old-style archive to link instead of a shared archive.
  52975. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
  52976. -
  52977. -# Commands used to build and install a shared archive.
  52978. -archive_cmds=$lt_archive_cmds_GCJ
  52979. -archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
  52980. -postinstall_cmds=$lt_postinstall_cmds
  52981. -postuninstall_cmds=$lt_postuninstall_cmds
  52982. -
  52983. -# Commands used to build a loadable module (assumed same as above if empty)
  52984. -module_cmds=$lt_module_cmds_GCJ
  52985. -module_expsym_cmds=$lt_module_expsym_cmds_GCJ
  52986. -
  52987. -# Commands to strip libraries.
  52988. -old_striplib=$lt_old_striplib
  52989. -striplib=$lt_striplib
  52990. -
  52991. -# Dependencies to place before the objects being linked to create a
  52992. -# shared library.
  52993. -predep_objects=$lt_predep_objects_GCJ
  52994. -
  52995. -# Dependencies to place after the objects being linked to create a
  52996. -# shared library.
  52997. -postdep_objects=$lt_postdep_objects_GCJ
  52998. -
  52999. -# Dependencies to place before the objects being linked to create a
  53000. -# shared library.
  53001. -predeps=$lt_predeps_GCJ
  53002. -
  53003. -# Dependencies to place after the objects being linked to create a
  53004. -# shared library.
  53005. -postdeps=$lt_postdeps_GCJ
  53006. -
  53007. -# The directories searched by this compiler when creating a shared
  53008. -# library
  53009. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
  53010. -
  53011. -# The library search path used internally by the compiler when linking
  53012. -# a shared library.
  53013. -compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
  53014. -
  53015. -# Method to check whether dependent libraries are shared objects.
  53016. -deplibs_check_method=$lt_deplibs_check_method
  53017. -
  53018. -# Command to use when deplibs_check_method == file_magic.
  53019. -file_magic_cmd=$lt_file_magic_cmd
  53020. -
  53021. -# Flag that allows shared libraries with undefined symbols to be built.
  53022. -allow_undefined_flag=$lt_allow_undefined_flag_GCJ
  53023. -
  53024. -# Flag that forces no undefined symbols.
  53025. -no_undefined_flag=$lt_no_undefined_flag_GCJ
  53026. -
  53027. -# Commands used to finish a libtool library installation in a directory.
  53028. -finish_cmds=$lt_finish_cmds
  53029. -
  53030. -# Same as above, but a single script fragment to be evaled but not shown.
  53031. -finish_eval=$lt_finish_eval
  53032. -
  53033. -# Take the output of nm and produce a listing of raw symbols and C names.
  53034. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  53035. -
  53036. -# Transform the output of nm in a proper C declaration
  53037. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  53038. -
  53039. -# Transform the output of nm in a C name address pair
  53040. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  53041. -
  53042. -# This is the shared library runtime path variable.
  53043. -runpath_var=$runpath_var
  53044. -
  53045. -# This is the shared library path variable.
  53046. -shlibpath_var=$shlibpath_var
  53047. -
  53048. -# Is shlibpath searched before the hard-coded library search path?
  53049. -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  53050. -
  53051. -# How to hardcode a shared library path into an executable.
  53052. -hardcode_action=$hardcode_action_GCJ
  53053. -
  53054. -# Whether we should hardcode library paths into libraries.
  53055. -hardcode_into_libs=$hardcode_into_libs
  53056. -
  53057. -# Flag to hardcode \$libdir into a binary during linking.
  53058. -# This must work even if \$libdir does not exist.
  53059. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
  53060. -
  53061. -# If ld is used when linking, flag to hardcode \$libdir into
  53062. -# a binary during linking. This must work even if \$libdir does
  53063. -# not exist.
  53064. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
  53065. -
  53066. -# Whether we need a single -rpath flag with a separated argument.
  53067. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
  53068. -
  53069. -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  53070. -# resulting binary.
  53071. -hardcode_direct=$hardcode_direct_GCJ
  53072. -
  53073. -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  53074. -# resulting binary.
  53075. -hardcode_minus_L=$hardcode_minus_L_GCJ
  53076. -
  53077. -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  53078. -# the resulting binary.
  53079. -hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
  53080. -
  53081. -# Set to yes if building a shared library automatically hardcodes DIR into the library
  53082. -# and all subsequent libraries and executables linked against it.
  53083. -hardcode_automatic=$hardcode_automatic_GCJ
  53084. -
  53085. -# Variables whose values should be saved in libtool wrapper scripts and
  53086. -# restored at relink time.
  53087. -variables_saved_for_relink="$variables_saved_for_relink"
  53088. -
  53089. -# Whether libtool must link a program against all its dependency libraries.
  53090. -link_all_deplibs=$link_all_deplibs_GCJ
  53091. -
  53092. -# Compile-time system search path for libraries
  53093. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  53094. -
  53095. -# Run-time system search path for libraries
  53096. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  53097. -
  53098. -# Fix the shell variable \$srcfile for the compiler.
  53099. -fix_srcfile_path=$lt_fix_srcfile_path
  53100. -
  53101. -# Set to yes if exported symbols are required.
  53102. -always_export_symbols=$always_export_symbols_GCJ
  53103. -
  53104. -# The commands to list exported symbols.
  53105. -export_symbols_cmds=$lt_export_symbols_cmds_GCJ
  53106. -
  53107. -# The commands to extract the exported symbol list from a shared archive.
  53108. -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  53109. -
  53110. -# Symbols that should not be listed in the preloaded symbols.
  53111. -exclude_expsyms=$lt_exclude_expsyms_GCJ
  53112. -
  53113. -# Symbols that must always be exported.
  53114. -include_expsyms=$lt_include_expsyms_GCJ
  53115. -
  53116. -# ### END LIBTOOL TAG CONFIG: $tagname
  53117. -
  53118. -__EOF__
  53119. -
  53120. -
  53121. -else
  53122. - # If there is no Makefile yet, we rely on a make rule to execute
  53123. - # `config.status --recheck' to rerun these tests and create the
  53124. - # libtool script then.
  53125. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  53126. - if test -f "$ltmain_in"; then
  53127. - test -f Makefile && make "$ltmain"
  53128. - fi
  53129. -fi
  53130. -
  53131. -
  53132. -ac_ext=c
  53133. -ac_cpp='$CPP $CPPFLAGS'
  53134. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  53135. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  53136. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  53137. -
  53138. -CC="$lt_save_CC"
  53139. -
  53140. - else
  53141. - tagname=""
  53142. - fi
  53143. - ;;
  53144. -
  53145. - RC)
  53146. -
  53147. -
  53148. -# Source file extension for RC test sources.
  53149. -ac_ext=rc
  53150. -
  53151. -# Object file extension for compiled RC test sources.
  53152. -objext=o
  53153. -objext_RC=$objext
  53154. -
  53155. -# Code to be used in simple compile tests
  53156. -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
  53157. -
  53158. -# Code to be used in simple link tests
  53159. -lt_simple_link_test_code="$lt_simple_compile_test_code"
  53160. -
  53161. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  53162. -
  53163. -# If no C compiler was specified, use CC.
  53164. -LTCC=${LTCC-"$CC"}
  53165. -
  53166. -# If no C compiler flags were specified, use CFLAGS.
  53167. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  53168. -
  53169. -# Allow CC to be a program name with arguments.
  53170. -compiler=$CC
  53171. -
  53172. -
  53173. -# save warnings/boilerplate of simple test code
  53174. -ac_outfile=conftest.$ac_objext
  53175. -echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  53176. -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  53177. -_lt_compiler_boilerplate=`cat conftest.err`
  53178. -$rm conftest*
  53179. -
  53180. -ac_outfile=conftest.$ac_objext
  53181. -echo "$lt_simple_link_test_code" >conftest.$ac_ext
  53182. -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  53183. -_lt_linker_boilerplate=`cat conftest.err`
  53184. -$rm -r conftest*
  53185. -
  53186. -
  53187. -# Allow CC to be a program name with arguments.
  53188. -lt_save_CC="$CC"
  53189. -CC=${RC-"windres"}
  53190. -compiler=$CC
  53191. -compiler_RC=$CC
  53192. -for cc_temp in $compiler""; do
  53193. - case $cc_temp in
  53194. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  53195. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  53196. - \-*) ;;
  53197. - *) break;;
  53198. - esac
  53199. -done
  53200. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  53201. -
  53202. -lt_cv_prog_compiler_c_o_RC=yes
  53203. -
  53204. -# The else clause should only fire when bootstrapping the
  53205. -# libtool distribution, otherwise you forgot to ship ltmain.sh
  53206. -# with your package, and you will get complaints that there are
  53207. -# no rules to generate ltmain.sh.
  53208. -if test -f "$ltmain"; then
  53209. - # See if we are running on zsh, and set the options which allow our commands through
  53210. - # without removal of \ escapes.
  53211. - if test -n "${ZSH_VERSION+set}" ; then
  53212. - setopt NO_GLOB_SUBST
  53213. - fi
  53214. - # Now quote all the things that may contain metacharacters while being
  53215. - # careful not to overquote the AC_SUBSTed values. We take copies of the
  53216. - # variables and quote the copies for generation of the libtool script.
  53217. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  53218. - SED SHELL STRIP \
  53219. - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  53220. - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  53221. - deplibs_check_method reload_flag reload_cmds need_locks \
  53222. - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  53223. - lt_cv_sys_global_symbol_to_c_name_address \
  53224. - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  53225. - old_postinstall_cmds old_postuninstall_cmds \
  53226. - compiler_RC \
  53227. - CC_RC \
  53228. - LD_RC \
  53229. - lt_prog_compiler_wl_RC \
  53230. - lt_prog_compiler_pic_RC \
  53231. - lt_prog_compiler_static_RC \
  53232. - lt_prog_compiler_no_builtin_flag_RC \
  53233. - export_dynamic_flag_spec_RC \
  53234. - thread_safe_flag_spec_RC \
  53235. - whole_archive_flag_spec_RC \
  53236. - enable_shared_with_static_runtimes_RC \
  53237. - old_archive_cmds_RC \
  53238. - old_archive_from_new_cmds_RC \
  53239. - predep_objects_RC \
  53240. - postdep_objects_RC \
  53241. - predeps_RC \
  53242. - postdeps_RC \
  53243. - compiler_lib_search_path_RC \
  53244. - compiler_lib_search_dirs_RC \
  53245. - archive_cmds_RC \
  53246. - archive_expsym_cmds_RC \
  53247. - postinstall_cmds_RC \
  53248. - postuninstall_cmds_RC \
  53249. - old_archive_from_expsyms_cmds_RC \
  53250. - allow_undefined_flag_RC \
  53251. - no_undefined_flag_RC \
  53252. - export_symbols_cmds_RC \
  53253. - hardcode_libdir_flag_spec_RC \
  53254. - hardcode_libdir_flag_spec_ld_RC \
  53255. - hardcode_libdir_separator_RC \
  53256. - hardcode_automatic_RC \
  53257. - module_cmds_RC \
  53258. - module_expsym_cmds_RC \
  53259. - lt_cv_prog_compiler_c_o_RC \
  53260. - fix_srcfile_path_RC \
  53261. - exclude_expsyms_RC \
  53262. - include_expsyms_RC; do
  53263. -
  53264. - case $var in
  53265. - old_archive_cmds_RC | \
  53266. - old_archive_from_new_cmds_RC | \
  53267. - archive_cmds_RC | \
  53268. - archive_expsym_cmds_RC | \
  53269. - module_cmds_RC | \
  53270. - module_expsym_cmds_RC | \
  53271. - old_archive_from_expsyms_cmds_RC | \
  53272. - export_symbols_cmds_RC | \
  53273. - extract_expsyms_cmds | reload_cmds | finish_cmds | \
  53274. - postinstall_cmds | postuninstall_cmds | \
  53275. - old_postinstall_cmds | old_postuninstall_cmds | \
  53276. - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  53277. - # Double-quote double-evaled strings.
  53278. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  53279. - ;;
  53280. - *)
  53281. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  53282. - ;;
  53283. - esac
  53284. - done
  53285. -
  53286. - case $lt_echo in
  53287. - *'\$0 --fallback-echo"')
  53288. - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  53289. - ;;
  53290. - esac
  53291. -
  53292. -cfgfile="$ofile"
  53293. -
  53294. - cat <<__EOF__ >> "$cfgfile"
  53295. -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
  53296. -
  53297. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  53298. -
  53299. -# Shell to use when invoking shell scripts.
  53300. -SHELL=$lt_SHELL
  53301. -
  53302. -# Whether or not to build shared libraries.
  53303. -build_libtool_libs=$enable_shared
  53304. -
  53305. -# Whether or not to build static libraries.
  53306. -build_old_libs=$enable_static
  53307. -
  53308. -# Whether or not to add -lc for building shared libraries.
  53309. -build_libtool_need_lc=$archive_cmds_need_lc_RC
  53310. -
  53311. -# Whether or not to disallow shared libs when runtime libs are static
  53312. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
  53313. -
  53314. -# Whether or not to optimize for fast installation.
  53315. -fast_install=$enable_fast_install
  53316. -
  53317. -# The host system.
  53318. -host_alias=$host_alias
  53319. -host=$host
  53320. -host_os=$host_os
  53321. -
  53322. -# The build system.
  53323. -build_alias=$build_alias
  53324. -build=$build
  53325. -build_os=$build_os
  53326. -
  53327. -# An echo program that does not interpret backslashes.
  53328. -echo=$lt_echo
  53329. -
  53330. -# The archiver.
  53331. -AR=$lt_AR
  53332. -AR_FLAGS=$lt_AR_FLAGS
  53333. -
  53334. -# A C compiler.
  53335. -LTCC=$lt_LTCC
  53336. -
  53337. -# LTCC compiler flags.
  53338. -LTCFLAGS=$lt_LTCFLAGS
  53339. -
  53340. -# A language-specific compiler.
  53341. -CC=$lt_compiler_RC
  53342. -
  53343. -# Is the compiler the GNU C compiler?
  53344. -with_gcc=$GCC_RC
  53345. -
  53346. -# An ERE matcher.
  53347. -EGREP=$lt_EGREP
  53348. -
  53349. -# The linker used to build libraries.
  53350. -LD=$lt_LD_RC
  53351. -
  53352. -# Whether we need hard or soft links.
  53353. -LN_S=$lt_LN_S
  53354. -
  53355. -# A BSD-compatible nm program.
  53356. -NM=$lt_NM
  53357. -
  53358. -# A symbol stripping program
  53359. -STRIP=$lt_STRIP
  53360. -
  53361. -# Used to examine libraries when file_magic_cmd begins "file"
  53362. -MAGIC_CMD=$MAGIC_CMD
  53363. -
  53364. -# Used on cygwin: DLL creation program.
  53365. -DLLTOOL="$DLLTOOL"
  53366. -
  53367. -# Used on cygwin: object dumper.
  53368. -OBJDUMP="$OBJDUMP"
  53369. -
  53370. -# Used on cygwin: assembler.
  53371. -AS="$AS"
  53372. -
  53373. -# The name of the directory that contains temporary libtool files.
  53374. -objdir=$objdir
  53375. -
  53376. -# How to create reloadable object files.
  53377. -reload_flag=$lt_reload_flag
  53378. -reload_cmds=$lt_reload_cmds
  53379. -
  53380. -# How to pass a linker flag through the compiler.
  53381. -wl=$lt_lt_prog_compiler_wl_RC
  53382. -
  53383. -# Object file suffix (normally "o").
  53384. -objext="$ac_objext"
  53385. -
  53386. -# Old archive suffix (normally "a").
  53387. -libext="$libext"
  53388. -
  53389. -# Shared library suffix (normally ".so").
  53390. -shrext_cmds='$shrext_cmds'
  53391. -
  53392. -# Executable file suffix (normally "").
  53393. -exeext="$exeext"
  53394. -
  53395. -# Additional compiler flags for building library objects.
  53396. -pic_flag=$lt_lt_prog_compiler_pic_RC
  53397. -pic_mode=$pic_mode
  53398. -
  53399. -# What is the maximum length of a command?
  53400. -max_cmd_len=$lt_cv_sys_max_cmd_len
  53401. -
  53402. -# Does compiler simultaneously support -c and -o options?
  53403. -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
  53404. -
  53405. -# Must we lock files when doing compilation?
  53406. -need_locks=$lt_need_locks
  53407. -
  53408. -# Do we need the lib prefix for modules?
  53409. -need_lib_prefix=$need_lib_prefix
  53410. -
  53411. -# Do we need a version for libraries?
  53412. -need_version=$need_version
  53413. -
  53414. -# Whether dlopen is supported.
  53415. -dlopen_support=$enable_dlopen
  53416. -
  53417. -# Whether dlopen of programs is supported.
  53418. -dlopen_self=$enable_dlopen_self
  53419. -
  53420. -# Whether dlopen of statically linked programs is supported.
  53421. -dlopen_self_static=$enable_dlopen_self_static
  53422. -
  53423. -# Compiler flag to prevent dynamic linking.
  53424. -link_static_flag=$lt_lt_prog_compiler_static_RC
  53425. -
  53426. -# Compiler flag to turn off builtin functions.
  53427. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
  53428. -
  53429. -# Compiler flag to allow reflexive dlopens.
  53430. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
  53431. -
  53432. -# Compiler flag to generate shared objects directly from archives.
  53433. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
  53434. -
  53435. -# Compiler flag to generate thread-safe objects.
  53436. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
  53437. -
  53438. -# Library versioning type.
  53439. -version_type=$version_type
  53440. -
  53441. -# Format of library name prefix.
  53442. -libname_spec=$lt_libname_spec
  53443. -
  53444. -# List of archive names. First name is the real one, the rest are links.
  53445. -# The last name is the one that the linker finds with -lNAME.
  53446. -library_names_spec=$lt_library_names_spec
  53447. -
  53448. -# The coded name of the library, if different from the real name.
  53449. -soname_spec=$lt_soname_spec
  53450. -
  53451. -# Commands used to build and install an old-style archive.
  53452. -RANLIB=$lt_RANLIB
  53453. -old_archive_cmds=$lt_old_archive_cmds_RC
  53454. -old_postinstall_cmds=$lt_old_postinstall_cmds
  53455. -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  53456. -
  53457. -# Create an old-style archive from a shared archive.
  53458. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
  53459. -
  53460. -# Create a temporary old-style archive to link instead of a shared archive.
  53461. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
  53462. -
  53463. -# Commands used to build and install a shared archive.
  53464. -archive_cmds=$lt_archive_cmds_RC
  53465. -archive_expsym_cmds=$lt_archive_expsym_cmds_RC
  53466. -postinstall_cmds=$lt_postinstall_cmds
  53467. -postuninstall_cmds=$lt_postuninstall_cmds
  53468. -
  53469. -# Commands used to build a loadable module (assumed same as above if empty)
  53470. -module_cmds=$lt_module_cmds_RC
  53471. -module_expsym_cmds=$lt_module_expsym_cmds_RC
  53472. -
  53473. -# Commands to strip libraries.
  53474. -old_striplib=$lt_old_striplib
  53475. -striplib=$lt_striplib
  53476. -
  53477. -# Dependencies to place before the objects being linked to create a
  53478. -# shared library.
  53479. -predep_objects=$lt_predep_objects_RC
  53480. -
  53481. -# Dependencies to place after the objects being linked to create a
  53482. -# shared library.
  53483. -postdep_objects=$lt_postdep_objects_RC
  53484. -
  53485. -# Dependencies to place before the objects being linked to create a
  53486. -# shared library.
  53487. -predeps=$lt_predeps_RC
  53488. -
  53489. -# Dependencies to place after the objects being linked to create a
  53490. -# shared library.
  53491. -postdeps=$lt_postdeps_RC
  53492. -
  53493. -# The directories searched by this compiler when creating a shared
  53494. -# library
  53495. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
  53496. -
  53497. -# The library search path used internally by the compiler when linking
  53498. -# a shared library.
  53499. -compiler_lib_search_path=$lt_compiler_lib_search_path_RC
  53500. -
  53501. -# Method to check whether dependent libraries are shared objects.
  53502. -deplibs_check_method=$lt_deplibs_check_method
  53503. -
  53504. -# Command to use when deplibs_check_method == file_magic.
  53505. -file_magic_cmd=$lt_file_magic_cmd
  53506. -
  53507. -# Flag that allows shared libraries with undefined symbols to be built.
  53508. -allow_undefined_flag=$lt_allow_undefined_flag_RC
  53509. -
  53510. -# Flag that forces no undefined symbols.
  53511. -no_undefined_flag=$lt_no_undefined_flag_RC
  53512. -
  53513. -# Commands used to finish a libtool library installation in a directory.
  53514. -finish_cmds=$lt_finish_cmds
  53515. -
  53516. -# Same as above, but a single script fragment to be evaled but not shown.
  53517. -finish_eval=$lt_finish_eval
  53518. -
  53519. -# Take the output of nm and produce a listing of raw symbols and C names.
  53520. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  53521. -
  53522. -# Transform the output of nm in a proper C declaration
  53523. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  53524. -
  53525. -# Transform the output of nm in a C name address pair
  53526. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  53527. -
  53528. -# This is the shared library runtime path variable.
  53529. -runpath_var=$runpath_var
  53530. -
  53531. -# This is the shared library path variable.
  53532. -shlibpath_var=$shlibpath_var
  53533. -
  53534. -# Is shlibpath searched before the hard-coded library search path?
  53535. -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  53536. -
  53537. -# How to hardcode a shared library path into an executable.
  53538. -hardcode_action=$hardcode_action_RC
  53539. -
  53540. -# Whether we should hardcode library paths into libraries.
  53541. -hardcode_into_libs=$hardcode_into_libs
  53542. -
  53543. -# Flag to hardcode \$libdir into a binary during linking.
  53544. -# This must work even if \$libdir does not exist.
  53545. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
  53546. -
  53547. -# If ld is used when linking, flag to hardcode \$libdir into
  53548. -# a binary during linking. This must work even if \$libdir does
  53549. -# not exist.
  53550. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
  53551. -
  53552. -# Whether we need a single -rpath flag with a separated argument.
  53553. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
  53554. -
  53555. -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  53556. -# resulting binary.
  53557. -hardcode_direct=$hardcode_direct_RC
  53558. -
  53559. -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  53560. -# resulting binary.
  53561. -hardcode_minus_L=$hardcode_minus_L_RC
  53562. -
  53563. -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  53564. -# the resulting binary.
  53565. -hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
  53566. -
  53567. -# Set to yes if building a shared library automatically hardcodes DIR into the library
  53568. -# and all subsequent libraries and executables linked against it.
  53569. -hardcode_automatic=$hardcode_automatic_RC
  53570. -
  53571. -# Variables whose values should be saved in libtool wrapper scripts and
  53572. -# restored at relink time.
  53573. -variables_saved_for_relink="$variables_saved_for_relink"
  53574. -
  53575. -# Whether libtool must link a program against all its dependency libraries.
  53576. -link_all_deplibs=$link_all_deplibs_RC
  53577. -
  53578. -# Compile-time system search path for libraries
  53579. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  53580. -
  53581. -# Run-time system search path for libraries
  53582. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  53583. -
  53584. -# Fix the shell variable \$srcfile for the compiler.
  53585. -fix_srcfile_path=$lt_fix_srcfile_path
  53586. -
  53587. -# Set to yes if exported symbols are required.
  53588. -always_export_symbols=$always_export_symbols_RC
  53589. -
  53590. -# The commands to list exported symbols.
  53591. -export_symbols_cmds=$lt_export_symbols_cmds_RC
  53592. -
  53593. -# The commands to extract the exported symbol list from a shared archive.
  53594. -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  53595. -
  53596. -# Symbols that should not be listed in the preloaded symbols.
  53597. -exclude_expsyms=$lt_exclude_expsyms_RC
  53598. -
  53599. -# Symbols that must always be exported.
  53600. -include_expsyms=$lt_include_expsyms_RC
  53601. -
  53602. -# ### END LIBTOOL TAG CONFIG: $tagname
  53603. -
  53604. -__EOF__
  53605. -
  53606. -
  53607. -else
  53608. - # If there is no Makefile yet, we rely on a make rule to execute
  53609. - # `config.status --recheck' to rerun these tests and create the
  53610. - # libtool script then.
  53611. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  53612. - if test -f "$ltmain_in"; then
  53613. - test -f Makefile && make "$ltmain"
  53614. - fi
  53615. -fi
  53616. -
  53617. -
  53618. -ac_ext=c
  53619. -ac_cpp='$CPP $CPPFLAGS'
  53620. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  53621. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  53622. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  53623. -
  53624. -CC="$lt_save_CC"
  53625. -
  53626. - ;;
  53627. -
  53628. - *)
  53629. - { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
  53630. -$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
  53631. - { (exit 1); exit 1; }; }
  53632. - ;;
  53633. - esac
  53634. -
  53635. - # Append the new tag name to the list of available tags.
  53636. - if test -n "$tagname" ; then
  53637. - available_tags="$available_tags $tagname"
  53638. - fi
  53639. - fi
  53640. - done
  53641. - IFS="$lt_save_ifs"
  53642. -
  53643. - # Now substitute the updated list of available tags.
  53644. - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
  53645. - mv "${ofile}T" "$ofile"
  53646. - chmod +x "$ofile"
  53647. - else
  53648. - rm -f "${ofile}T"
  53649. - { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
  53650. -$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
  53651. - { (exit 1); exit 1; }; }
  53652. - fi
  53653. -fi
  53654. -
  53655. -
  53656. -
  53657. -# This can be used to rebuild libtool when needed
  53658. -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
  53659. -
  53660. -# Always use our own libtool.
  53661. -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  53662. -
  53663. -# Prevent multiple expansion
  53664. -
  53665. -
  53666. -
  53667. -
  53668. -
  53669. -
  53670. -
  53671. -
  53672. -
  53673. -
  53674. -
  53675. -
  53676. -
  53677. -
  53678. -
  53679. -
  53680. -
  53681. -
  53682. -
  53683. -
  53684. -LIBADD_DL=
  53685. -
  53686. -ac_ext=c
  53687. -ac_cpp='$CPP $CPPFLAGS'
  53688. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  53689. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  53690. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  53691. -
  53692. -
  53693. -{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
  53694. -$as_echo_n "checking for shl_load... " >&6; }
  53695. -if test "${ac_cv_func_shl_load+set}" = set; then
  53696. - $as_echo_n "(cached) " >&6
  53697. -else
  53698. - cat >conftest.$ac_ext <<_ACEOF
  53699. -/* confdefs.h. */
  53700. -_ACEOF
  53701. -cat confdefs.h >>conftest.$ac_ext
  53702. -cat >>conftest.$ac_ext <<_ACEOF
  53703. -/* end confdefs.h. */
  53704. -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
  53705. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  53706. -#define shl_load innocuous_shl_load
  53707. -
  53708. -/* System header to define __stub macros and hopefully few prototypes,
  53709. - which can conflict with char shl_load (); below.
  53710. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  53711. - <limits.h> exists even on freestanding compilers. */
  53712. -
  53713. -#ifdef __STDC__
  53714. -# include <limits.h>
  53715. -#else
  53716. -# include <assert.h>
  53717. -#endif
  53718. -
  53719. -#undef shl_load
  53720. -
  53721. -/* Override any GCC internal prototype to avoid an error.
  53722. - Use char because int might match the return type of a GCC
  53723. - builtin and then its argument prototype would still apply. */
  53724. -#ifdef __cplusplus
  53725. -extern "C"
  53726. -#endif
  53727. -char shl_load ();
  53728. -/* The GNU C library defines this for functions which it implements
  53729. - to always fail with ENOSYS. Some functions are actually named
  53730. - something starting with __ and the normal name is an alias. */
  53731. -#if defined __stub_shl_load || defined __stub___shl_load
  53732. -choke me
  53733. -#endif
  53734. -
  53735. -int
  53736. -main ()
  53737. -{
  53738. -return shl_load ();
  53739. - ;
  53740. - return 0;
  53741. -}
  53742. -_ACEOF
  53743. -rm -f conftest.$ac_objext conftest$ac_exeext
  53744. -if { (ac_try="$ac_link"
  53745. -case "(($ac_try" in
  53746. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  53747. - *) ac_try_echo=$ac_try;;
  53748. -esac
  53749. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  53750. -$as_echo "$ac_try_echo") >&5
  53751. - (eval "$ac_link") 2>conftest.er1
  53752. - ac_status=$?
  53753. - grep -v '^ *+' conftest.er1 >conftest.err
  53754. - rm -f conftest.er1
  53755. - cat conftest.err >&5
  53756. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  53757. - (exit $ac_status); } && {
  53758. - test -z "$ac_c_werror_flag" ||
  53759. - test ! -s conftest.err
  53760. - } && test -s conftest$ac_exeext && {
  53761. - test "$cross_compiling" = yes ||
  53762. - $as_test_x conftest$ac_exeext
  53763. - }; then
  53764. - ac_cv_func_shl_load=yes
  53765. -else
  53766. - $as_echo "$as_me: failed program was:" >&5
  53767. -sed 's/^/| /' conftest.$ac_ext >&5
  53768. -
  53769. - ac_cv_func_shl_load=no
  53770. -fi
  53771. -
  53772. -rm -rf conftest.dSYM
  53773. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  53774. - conftest$ac_exeext conftest.$ac_ext
  53775. -fi
  53776. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
  53777. -$as_echo "$ac_cv_func_shl_load" >&6; }
  53778. -if test $ac_cv_func_shl_load = yes; then
  53779. -
  53780. -cat >>confdefs.h <<\_ACEOF
  53781. -#define HAVE_SHL_LOAD 1
  53782. -_ACEOF
  53783. -
  53784. -else
  53785. - { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
  53786. -$as_echo_n "checking for shl_load in -ldld... " >&6; }
  53787. -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
  53788. - $as_echo_n "(cached) " >&6
  53789. -else
  53790. - ac_check_lib_save_LIBS=$LIBS
  53791. -LIBS="-ldld $LIBS"
  53792. -cat >conftest.$ac_ext <<_ACEOF
  53793. -/* confdefs.h. */
  53794. -_ACEOF
  53795. -cat confdefs.h >>conftest.$ac_ext
  53796. -cat >>conftest.$ac_ext <<_ACEOF
  53797. -/* end confdefs.h. */
  53798. -
  53799. -/* Override any GCC internal prototype to avoid an error.
  53800. - Use char because int might match the return type of a GCC
  53801. - builtin and then its argument prototype would still apply. */
  53802. -#ifdef __cplusplus
  53803. -extern "C"
  53804. -#endif
  53805. -char shl_load ();
  53806. -int
  53807. -main ()
  53808. -{
  53809. -return shl_load ();
  53810. - ;
  53811. - return 0;
  53812. -}
  53813. -_ACEOF
  53814. -rm -f conftest.$ac_objext conftest$ac_exeext
  53815. -if { (ac_try="$ac_link"
  53816. -case "(($ac_try" in
  53817. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  53818. - *) ac_try_echo=$ac_try;;
  53819. -esac
  53820. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  53821. -$as_echo "$ac_try_echo") >&5
  53822. - (eval "$ac_link") 2>conftest.er1
  53823. - ac_status=$?
  53824. - grep -v '^ *+' conftest.er1 >conftest.err
  53825. - rm -f conftest.er1
  53826. - cat conftest.err >&5
  53827. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  53828. - (exit $ac_status); } && {
  53829. - test -z "$ac_c_werror_flag" ||
  53830. - test ! -s conftest.err
  53831. - } && test -s conftest$ac_exeext && {
  53832. - test "$cross_compiling" = yes ||
  53833. - $as_test_x conftest$ac_exeext
  53834. - }; then
  53835. - ac_cv_lib_dld_shl_load=yes
  53836. -else
  53837. - $as_echo "$as_me: failed program was:" >&5
  53838. -sed 's/^/| /' conftest.$ac_ext >&5
  53839. -
  53840. - ac_cv_lib_dld_shl_load=no
  53841. -fi
  53842. -
  53843. -rm -rf conftest.dSYM
  53844. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  53845. - conftest$ac_exeext conftest.$ac_ext
  53846. -LIBS=$ac_check_lib_save_LIBS
  53847. -fi
  53848. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  53849. -$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  53850. -if test $ac_cv_lib_dld_shl_load = yes; then
  53851. -
  53852. -cat >>confdefs.h <<\_ACEOF
  53853. -#define HAVE_SHL_LOAD 1
  53854. -_ACEOF
  53855. -
  53856. - LIBADD_DL="$LIBADD_DL -ldld"
  53857. -else
  53858. - { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  53859. -$as_echo_n "checking for dlopen in -ldl... " >&6; }
  53860. -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  53861. - $as_echo_n "(cached) " >&6
  53862. -else
  53863. - ac_check_lib_save_LIBS=$LIBS
  53864. -LIBS="-ldl $LIBS"
  53865. -cat >conftest.$ac_ext <<_ACEOF
  53866. -/* confdefs.h. */
  53867. -_ACEOF
  53868. -cat confdefs.h >>conftest.$ac_ext
  53869. -cat >>conftest.$ac_ext <<_ACEOF
  53870. -/* end confdefs.h. */
  53871. -
  53872. -/* Override any GCC internal prototype to avoid an error.
  53873. - Use char because int might match the return type of a GCC
  53874. - builtin and then its argument prototype would still apply. */
  53875. -#ifdef __cplusplus
  53876. -extern "C"
  53877. -#endif
  53878. -char dlopen ();
  53879. -int
  53880. -main ()
  53881. -{
  53882. -return dlopen ();
  53883. - ;
  53884. - return 0;
  53885. -}
  53886. -_ACEOF
  53887. -rm -f conftest.$ac_objext conftest$ac_exeext
  53888. -if { (ac_try="$ac_link"
  53889. -case "(($ac_try" in
  53890. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  53891. - *) ac_try_echo=$ac_try;;
  53892. -esac
  53893. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  53894. -$as_echo "$ac_try_echo") >&5
  53895. - (eval "$ac_link") 2>conftest.er1
  53896. - ac_status=$?
  53897. - grep -v '^ *+' conftest.er1 >conftest.err
  53898. - rm -f conftest.er1
  53899. - cat conftest.err >&5
  53900. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  53901. - (exit $ac_status); } && {
  53902. - test -z "$ac_c_werror_flag" ||
  53903. - test ! -s conftest.err
  53904. - } && test -s conftest$ac_exeext && {
  53905. - test "$cross_compiling" = yes ||
  53906. - $as_test_x conftest$ac_exeext
  53907. - }; then
  53908. - ac_cv_lib_dl_dlopen=yes
  53909. -else
  53910. - $as_echo "$as_me: failed program was:" >&5
  53911. -sed 's/^/| /' conftest.$ac_ext >&5
  53912. -
  53913. - ac_cv_lib_dl_dlopen=no
  53914. -fi
  53915. -
  53916. -rm -rf conftest.dSYM
  53917. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  53918. - conftest$ac_exeext conftest.$ac_ext
  53919. -LIBS=$ac_check_lib_save_LIBS
  53920. -fi
  53921. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  53922. -$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  53923. -if test $ac_cv_lib_dl_dlopen = yes; then
  53924. -
  53925. -cat >>confdefs.h <<\_ACEOF
  53926. -#define HAVE_LIBDL 1
  53927. -_ACEOF
  53928. -
  53929. - LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
  53930. -else
  53931. - cat >conftest.$ac_ext <<_ACEOF
  53932. -/* confdefs.h. */
  53933. -_ACEOF
  53934. -cat confdefs.h >>conftest.$ac_ext
  53935. -cat >>conftest.$ac_ext <<_ACEOF
  53936. -/* end confdefs.h. */
  53937. -#if HAVE_DLFCN_H
  53938. -# include <dlfcn.h>
  53939. -#endif
  53940. -
  53941. -int
  53942. -main ()
  53943. -{
  53944. -dlopen(0, 0);
  53945. - ;
  53946. - return 0;
  53947. -}
  53948. -_ACEOF
  53949. -rm -f conftest.$ac_objext conftest$ac_exeext
  53950. -if { (ac_try="$ac_link"
  53951. -case "(($ac_try" in
  53952. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  53953. - *) ac_try_echo=$ac_try;;
  53954. -esac
  53955. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  53956. -$as_echo "$ac_try_echo") >&5
  53957. - (eval "$ac_link") 2>conftest.er1
  53958. - ac_status=$?
  53959. - grep -v '^ *+' conftest.er1 >conftest.err
  53960. - rm -f conftest.er1
  53961. - cat conftest.err >&5
  53962. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  53963. - (exit $ac_status); } && {
  53964. - test -z "$ac_c_werror_flag" ||
  53965. - test ! -s conftest.err
  53966. - } && test -s conftest$ac_exeext && {
  53967. - test "$cross_compiling" = yes ||
  53968. - $as_test_x conftest$ac_exeext
  53969. - }; then
  53970. -
  53971. -cat >>confdefs.h <<\_ACEOF
  53972. -#define HAVE_LIBDL 1
  53973. -_ACEOF
  53974. - libltdl_cv_func_dlopen="yes"
  53975. -else
  53976. - $as_echo "$as_me: failed program was:" >&5
  53977. -sed 's/^/| /' conftest.$ac_ext >&5
  53978. -
  53979. - { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
  53980. -$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  53981. -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
  53982. - $as_echo_n "(cached) " >&6
  53983. -else
  53984. - ac_check_lib_save_LIBS=$LIBS
  53985. -LIBS="-lsvld $LIBS"
  53986. -cat >conftest.$ac_ext <<_ACEOF
  53987. -/* confdefs.h. */
  53988. -_ACEOF
  53989. -cat confdefs.h >>conftest.$ac_ext
  53990. -cat >>conftest.$ac_ext <<_ACEOF
  53991. -/* end confdefs.h. */
  53992. -
  53993. -/* Override any GCC internal prototype to avoid an error.
  53994. - Use char because int might match the return type of a GCC
  53995. - builtin and then its argument prototype would still apply. */
  53996. -#ifdef __cplusplus
  53997. -extern "C"
  53998. -#endif
  53999. -char dlopen ();
  54000. -int
  54001. -main ()
  54002. -{
  54003. -return dlopen ();
  54004. - ;
  54005. - return 0;
  54006. -}
  54007. -_ACEOF
  54008. -rm -f conftest.$ac_objext conftest$ac_exeext
  54009. -if { (ac_try="$ac_link"
  54010. -case "(($ac_try" in
  54011. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  54012. - *) ac_try_echo=$ac_try;;
  54013. -esac
  54014. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  54015. -$as_echo "$ac_try_echo") >&5
  54016. - (eval "$ac_link") 2>conftest.er1
  54017. - ac_status=$?
  54018. - grep -v '^ *+' conftest.er1 >conftest.err
  54019. - rm -f conftest.er1
  54020. - cat conftest.err >&5
  54021. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  54022. - (exit $ac_status); } && {
  54023. - test -z "$ac_c_werror_flag" ||
  54024. - test ! -s conftest.err
  54025. - } && test -s conftest$ac_exeext && {
  54026. - test "$cross_compiling" = yes ||
  54027. - $as_test_x conftest$ac_exeext
  54028. - }; then
  54029. - ac_cv_lib_svld_dlopen=yes
  54030. -else
  54031. - $as_echo "$as_me: failed program was:" >&5
  54032. -sed 's/^/| /' conftest.$ac_ext >&5
  54033. -
  54034. - ac_cv_lib_svld_dlopen=no
  54035. -fi
  54036. -
  54037. -rm -rf conftest.dSYM
  54038. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  54039. - conftest$ac_exeext conftest.$ac_ext
  54040. -LIBS=$ac_check_lib_save_LIBS
  54041. -fi
  54042. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
  54043. -$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  54044. -if test $ac_cv_lib_svld_dlopen = yes; then
  54045. -
  54046. -cat >>confdefs.h <<\_ACEOF
  54047. -#define HAVE_LIBDL 1
  54048. -_ACEOF
  54049. -
  54050. - LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
  54051. -else
  54052. - { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
  54053. -$as_echo_n "checking for dld_link in -ldld... " >&6; }
  54054. -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
  54055. - $as_echo_n "(cached) " >&6
  54056. -else
  54057. - ac_check_lib_save_LIBS=$LIBS
  54058. -LIBS="-ldld $LIBS"
  54059. -cat >conftest.$ac_ext <<_ACEOF
  54060. -/* confdefs.h. */
  54061. -_ACEOF
  54062. -cat confdefs.h >>conftest.$ac_ext
  54063. -cat >>conftest.$ac_ext <<_ACEOF
  54064. -/* end confdefs.h. */
  54065. -
  54066. -/* Override any GCC internal prototype to avoid an error.
  54067. - Use char because int might match the return type of a GCC
  54068. - builtin and then its argument prototype would still apply. */
  54069. -#ifdef __cplusplus
  54070. -extern "C"
  54071. -#endif
  54072. -char dld_link ();
  54073. -int
  54074. -main ()
  54075. -{
  54076. -return dld_link ();
  54077. - ;
  54078. - return 0;
  54079. -}
  54080. -_ACEOF
  54081. -rm -f conftest.$ac_objext conftest$ac_exeext
  54082. -if { (ac_try="$ac_link"
  54083. -case "(($ac_try" in
  54084. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  54085. - *) ac_try_echo=$ac_try;;
  54086. -esac
  54087. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  54088. -$as_echo "$ac_try_echo") >&5
  54089. - (eval "$ac_link") 2>conftest.er1
  54090. - ac_status=$?
  54091. - grep -v '^ *+' conftest.er1 >conftest.err
  54092. - rm -f conftest.er1
  54093. - cat conftest.err >&5
  54094. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  54095. - (exit $ac_status); } && {
  54096. - test -z "$ac_c_werror_flag" ||
  54097. - test ! -s conftest.err
  54098. - } && test -s conftest$ac_exeext && {
  54099. - test "$cross_compiling" = yes ||
  54100. - $as_test_x conftest$ac_exeext
  54101. - }; then
  54102. - ac_cv_lib_dld_dld_link=yes
  54103. -else
  54104. - $as_echo "$as_me: failed program was:" >&5
  54105. -sed 's/^/| /' conftest.$ac_ext >&5
  54106. -
  54107. - ac_cv_lib_dld_dld_link=no
  54108. -fi
  54109. -
  54110. -rm -rf conftest.dSYM
  54111. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  54112. - conftest$ac_exeext conftest.$ac_ext
  54113. -LIBS=$ac_check_lib_save_LIBS
  54114. -fi
  54115. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
  54116. -$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  54117. -if test $ac_cv_lib_dld_dld_link = yes; then
  54118. -
  54119. -cat >>confdefs.h <<\_ACEOF
  54120. -#define HAVE_DLD 1
  54121. -_ACEOF
  54122. -
  54123. - LIBADD_DL="$LIBADD_DL -ldld"
  54124. -else
  54125. - { $as_echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
  54126. -$as_echo_n "checking for _dyld_func_lookup... " >&6; }
  54127. -if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
  54128. - $as_echo_n "(cached) " >&6
  54129. -else
  54130. - cat >conftest.$ac_ext <<_ACEOF
  54131. -/* confdefs.h. */
  54132. -_ACEOF
  54133. -cat confdefs.h >>conftest.$ac_ext
  54134. -cat >>conftest.$ac_ext <<_ACEOF
  54135. -/* end confdefs.h. */
  54136. -/* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
  54137. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  54138. -#define _dyld_func_lookup innocuous__dyld_func_lookup
  54139. -
  54140. -/* System header to define __stub macros and hopefully few prototypes,
  54141. - which can conflict with char _dyld_func_lookup (); below.
  54142. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  54143. - <limits.h> exists even on freestanding compilers. */
  54144. -
  54145. -#ifdef __STDC__
  54146. -# include <limits.h>
  54147. -#else
  54148. -# include <assert.h>
  54149. -#endif
  54150. -
  54151. -#undef _dyld_func_lookup
  54152. -
  54153. -/* Override any GCC internal prototype to avoid an error.
  54154. - Use char because int might match the return type of a GCC
  54155. - builtin and then its argument prototype would still apply. */
  54156. -#ifdef __cplusplus
  54157. -extern "C"
  54158. -#endif
  54159. -char _dyld_func_lookup ();
  54160. -/* The GNU C library defines this for functions which it implements
  54161. - to always fail with ENOSYS. Some functions are actually named
  54162. - something starting with __ and the normal name is an alias. */
  54163. -#if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
  54164. -choke me
  54165. -#endif
  54166. -
  54167. -int
  54168. -main ()
  54169. -{
  54170. -return _dyld_func_lookup ();
  54171. - ;
  54172. - return 0;
  54173. -}
  54174. -_ACEOF
  54175. -rm -f conftest.$ac_objext conftest$ac_exeext
  54176. -if { (ac_try="$ac_link"
  54177. -case "(($ac_try" in
  54178. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  54179. - *) ac_try_echo=$ac_try;;
  54180. -esac
  54181. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  54182. -$as_echo "$ac_try_echo") >&5
  54183. - (eval "$ac_link") 2>conftest.er1
  54184. - ac_status=$?
  54185. - grep -v '^ *+' conftest.er1 >conftest.err
  54186. - rm -f conftest.er1
  54187. - cat conftest.err >&5
  54188. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  54189. - (exit $ac_status); } && {
  54190. - test -z "$ac_c_werror_flag" ||
  54191. - test ! -s conftest.err
  54192. - } && test -s conftest$ac_exeext && {
  54193. - test "$cross_compiling" = yes ||
  54194. - $as_test_x conftest$ac_exeext
  54195. - }; then
  54196. - ac_cv_func__dyld_func_lookup=yes
  54197. -else
  54198. - $as_echo "$as_me: failed program was:" >&5
  54199. -sed 's/^/| /' conftest.$ac_ext >&5
  54200. -
  54201. - ac_cv_func__dyld_func_lookup=no
  54202. -fi
  54203. -
  54204. -rm -rf conftest.dSYM
  54205. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  54206. - conftest$ac_exeext conftest.$ac_ext
  54207. -fi
  54208. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
  54209. -$as_echo "$ac_cv_func__dyld_func_lookup" >&6; }
  54210. -if test $ac_cv_func__dyld_func_lookup = yes; then
  54211. -
  54212. -cat >>confdefs.h <<\_ACEOF
  54213. -#define HAVE_DYLD 1
  54214. -_ACEOF
  54215. -
  54216. -fi
  54217. -
  54218. -
  54219. -fi
  54220. -
  54221. -
  54222. -fi
  54223. -
  54224. -
  54225. -fi
  54226. -
  54227. -rm -rf conftest.dSYM
  54228. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  54229. - conftest$ac_exeext conftest.$ac_ext
  54230. -
  54231. -fi
  54232. -
  54233. -
  54234. -fi
  54235. -
  54236. -
  54237. -fi
  54238. -
  54239. -
  54240. -if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
  54241. -then
  54242. - lt_save_LIBS="$LIBS"
  54243. - LIBS="$LIBS $LIBADD_DL"
  54244. -
  54245. -for ac_func in dlerror
  54246. -do
  54247. -as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  54248. -{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  54249. -$as_echo_n "checking for $ac_func... " >&6; }
  54250. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  54251. - $as_echo_n "(cached) " >&6
  54252. -else
  54253. - cat >conftest.$ac_ext <<_ACEOF
  54254. -/* confdefs.h. */
  54255. -_ACEOF
  54256. -cat confdefs.h >>conftest.$ac_ext
  54257. -cat >>conftest.$ac_ext <<_ACEOF
  54258. -/* end confdefs.h. */
  54259. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  54260. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  54261. -#define $ac_func innocuous_$ac_func
  54262. -
  54263. -/* System header to define __stub macros and hopefully few prototypes,
  54264. - which can conflict with char $ac_func (); below.
  54265. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  54266. - <limits.h> exists even on freestanding compilers. */
  54267. -
  54268. -#ifdef __STDC__
  54269. -# include <limits.h>
  54270. -#else
  54271. -# include <assert.h>
  54272. -#endif
  54273. -
  54274. -#undef $ac_func
  54275. -
  54276. -/* Override any GCC internal prototype to avoid an error.
  54277. - Use char because int might match the return type of a GCC
  54278. - builtin and then its argument prototype would still apply. */
  54279. -#ifdef __cplusplus
  54280. -extern "C"
  54281. -#endif
  54282. -char $ac_func ();
  54283. -/* The GNU C library defines this for functions which it implements
  54284. - to always fail with ENOSYS. Some functions are actually named
  54285. - something starting with __ and the normal name is an alias. */
  54286. -#if defined __stub_$ac_func || defined __stub___$ac_func
  54287. -choke me
  54288. -#endif
  54289. -
  54290. -int
  54291. -main ()
  54292. -{
  54293. -return $ac_func ();
  54294. - ;
  54295. - return 0;
  54296. -}
  54297. -_ACEOF
  54298. -rm -f conftest.$ac_objext conftest$ac_exeext
  54299. -if { (ac_try="$ac_link"
  54300. -case "(($ac_try" in
  54301. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  54302. - *) ac_try_echo=$ac_try;;
  54303. -esac
  54304. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  54305. -$as_echo "$ac_try_echo") >&5
  54306. - (eval "$ac_link") 2>conftest.er1
  54307. - ac_status=$?
  54308. - grep -v '^ *+' conftest.er1 >conftest.err
  54309. - rm -f conftest.er1
  54310. - cat conftest.err >&5
  54311. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  54312. - (exit $ac_status); } && {
  54313. - test -z "$ac_c_werror_flag" ||
  54314. - test ! -s conftest.err
  54315. - } && test -s conftest$ac_exeext && {
  54316. - test "$cross_compiling" = yes ||
  54317. - $as_test_x conftest$ac_exeext
  54318. - }; then
  54319. - eval "$as_ac_var=yes"
  54320. -else
  54321. - $as_echo "$as_me: failed program was:" >&5
  54322. -sed 's/^/| /' conftest.$ac_ext >&5
  54323. -
  54324. - eval "$as_ac_var=no"
  54325. -fi
  54326. -
  54327. -rm -rf conftest.dSYM
  54328. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  54329. - conftest$ac_exeext conftest.$ac_ext
  54330. -fi
  54331. -ac_res=`eval 'as_val=${'$as_ac_var'}
  54332. - $as_echo "$as_val"'`
  54333. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  54334. -$as_echo "$ac_res" >&6; }
  54335. -if test `eval 'as_val=${'$as_ac_var'}
  54336. - $as_echo "$as_val"'` = yes; then
  54337. - cat >>confdefs.h <<_ACEOF
  54338. -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  54339. -_ACEOF
  54340. -
  54341. -fi
  54342. -done
  54343. -
  54344. - LIBS="$lt_save_LIBS"
  54345. -fi
  54346. -ac_ext=c
  54347. -ac_cpp='$CPP $CPPFLAGS'
  54348. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  54349. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  54350. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  54351. -
  54352. -
  54353. -if test -n "$ac_tool_prefix"; then
  54354. - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  54355. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  54356. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  54357. -$as_echo_n "checking for $ac_word... " >&6; }
  54358. -if test "${ac_cv_prog_RANLIB+set}" = set; then
  54359. - $as_echo_n "(cached) " >&6
  54360. -else
  54361. - if test -n "$RANLIB"; then
  54362. - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  54363. -else
  54364. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  54365. -for as_dir in $PATH
  54366. -do
  54367. - IFS=$as_save_IFS
  54368. - test -z "$as_dir" && as_dir=.
  54369. - for ac_exec_ext in '' $ac_executable_extensions; do
  54370. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  54371. - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  54372. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  54373. - break 2
  54374. - fi
  54375. -done
  54376. -done
  54377. -IFS=$as_save_IFS
  54378. -
  54379. -fi
  54380. -fi
  54381. -RANLIB=$ac_cv_prog_RANLIB
  54382. -if test -n "$RANLIB"; then
  54383. - { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
  54384. -$as_echo "$RANLIB" >&6; }
  54385. -else
  54386. - { $as_echo "$as_me:$LINENO: result: no" >&5
  54387. -$as_echo "no" >&6; }
  54388. -fi
  54389. -
  54390. -
  54391. -fi
  54392. -if test -z "$ac_cv_prog_RANLIB"; then
  54393. - ac_ct_RANLIB=$RANLIB
  54394. - # Extract the first word of "ranlib", so it can be a program name with args.
  54395. -set dummy ranlib; ac_word=$2
  54396. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  54397. -$as_echo_n "checking for $ac_word... " >&6; }
  54398. -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  54399. - $as_echo_n "(cached) " >&6
  54400. -else
  54401. - if test -n "$ac_ct_RANLIB"; then
  54402. - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  54403. -else
  54404. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  54405. -for as_dir in $PATH
  54406. -do
  54407. - IFS=$as_save_IFS
  54408. - test -z "$as_dir" && as_dir=.
  54409. - for ac_exec_ext in '' $ac_executable_extensions; do
  54410. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  54411. - ac_cv_prog_ac_ct_RANLIB="ranlib"
  54412. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  54413. - break 2
  54414. - fi
  54415. -done
  54416. -done
  54417. -IFS=$as_save_IFS
  54418. -
  54419. -fi
  54420. -fi
  54421. -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  54422. -if test -n "$ac_ct_RANLIB"; then
  54423. - { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  54424. -$as_echo "$ac_ct_RANLIB" >&6; }
  54425. -else
  54426. - { $as_echo "$as_me:$LINENO: result: no" >&5
  54427. -$as_echo "no" >&6; }
  54428. -fi
  54429. -
  54430. - if test "x$ac_ct_RANLIB" = x; then
  54431. - RANLIB=":"
  54432. - else
  54433. - case $cross_compiling:$ac_tool_warned in
  54434. -yes:)
  54435. -{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  54436. -whose name does not start with the host triplet. If you think this
  54437. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  54438. -$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  54439. -whose name does not start with the host triplet. If you think this
  54440. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  54441. -ac_tool_warned=yes ;;
  54442. -esac
  54443. - RANLIB=$ac_ct_RANLIB
  54444. - fi
  54445. -else
  54446. - RANLIB="$ac_cv_prog_RANLIB"
  54447. -fi
  54448. -
  54449. -
  54450. -
  54451. -CRYPTLIB=''
  54452. -REGEXLIB='' # -lregex
  54453. -LIBREGEX='' # libregex.a
  54454. -
  54455. -
  54456. -
  54457. -
  54458. -if test -z "$EXEEXT"; then
  54459. - CGIEXT=".cgi"
  54460. -else
  54461. - # automake automatically adds .exe when installing binaries
  54462. - CGIEXT=""
  54463. -fi
  54464. -
  54465. -
  54466. -case "$host_os" in
  54467. -mingw|mingw32|cygwin|cygwin32)
  54468. - if true; then
  54469. - ENABLE_WIN32SPECIFIC_TRUE=
  54470. - ENABLE_WIN32SPECIFIC_FALSE='#'
  54471. -else
  54472. - ENABLE_WIN32SPECIFIC_TRUE='#'
  54473. - ENABLE_WIN32SPECIFIC_FALSE=
  54474. -fi
  54475. -
  54476. - ;;
  54477. -*)
  54478. - if false; then
  54479. - ENABLE_WIN32SPECIFIC_TRUE=
  54480. - ENABLE_WIN32SPECIFIC_FALSE='#'
  54481. -else
  54482. - ENABLE_WIN32SPECIFIC_TRUE='#'
  54483. - ENABLE_WIN32SPECIFIC_FALSE=
  54484. -fi
  54485. -
  54486. - ;;
  54487. -esac
  54488. -
  54489. -case "$host_os" in
  54490. -mingw|mingw32)
  54491. - # Extract the first word of "psapi.dll", so it can be a program name with args.
  54492. -set dummy psapi.dll; ac_word=$2
  54493. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  54494. -$as_echo_n "checking for $ac_word... " >&6; }
  54495. -if test "${ac_cv_path_WIN32_PSAPI+set}" = set; then
  54496. - $as_echo_n "(cached) " >&6
  54497. -else
  54498. - case $WIN32_PSAPI in
  54499. - [\\/]* | ?:[\\/]*)
  54500. - ac_cv_path_WIN32_PSAPI="$WIN32_PSAPI" # Let the user override the test with a path.
  54501. - ;;
  54502. - *)
  54503. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  54504. -for as_dir in $PATH
  54505. -do
  54506. - IFS=$as_save_IFS
  54507. - test -z "$as_dir" && as_dir=.
  54508. - for ac_exec_ext in '' $ac_executable_extensions; do
  54509. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  54510. - ac_cv_path_WIN32_PSAPI="$as_dir/$ac_word$ac_exec_ext"
  54511. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  54512. - break 2
  54513. - fi
  54514. -done
  54515. -done
  54516. -IFS=$as_save_IFS
  54517. -
  54518. - test -z "$ac_cv_path_WIN32_PSAPI" && ac_cv_path_WIN32_PSAPI="none"
  54519. - ;;
  54520. -esac
  54521. -fi
  54522. -WIN32_PSAPI=$ac_cv_path_WIN32_PSAPI
  54523. -if test -n "$WIN32_PSAPI"; then
  54524. - { $as_echo "$as_me:$LINENO: result: $WIN32_PSAPI" >&5
  54525. -$as_echo "$WIN32_PSAPI" >&6; }
  54526. -else
  54527. - { $as_echo "$as_me:$LINENO: result: no" >&5
  54528. -$as_echo "no" >&6; }
  54529. -fi
  54530. -
  54531. -
  54532. - CFLAGS="$CFLAGS -mthreads"
  54533. - CXXFLAGS="$CXXFLAGS -mthreads"
  54534. - if test "$ac_cv_path_WIN32_PSAPI" = "none"; then
  54535. - echo "PSAPI.DLL is recommended to run Squid on Windows NT Platform"
  54536. - echo "Please see PSAPI.DLL section on doc/win32-relnotes.html."
  54537. - else
  54538. -
  54539. -cat >>confdefs.h <<\_ACEOF
  54540. -#define HAVE_WIN32_PSAPI 1
  54541. -_ACEOF
  54542. -
  54543. - LIBS="$LIBS -lpsapi"
  54544. - fi
  54545. - MINGW_LIBS="-lmingwex"
  54546. - if true; then
  54547. - USE_IPC_WIN32_TRUE=
  54548. - USE_IPC_WIN32_FALSE='#'
  54549. -else
  54550. - USE_IPC_WIN32_TRUE='#'
  54551. - USE_IPC_WIN32_FALSE=
  54552. -fi
  54553. -
  54554. -
  54555. - ;;
  54556. -*)
  54557. - if false; then
  54558. - USE_IPC_WIN32_TRUE=
  54559. - USE_IPC_WIN32_FALSE='#'
  54560. -else
  54561. - USE_IPC_WIN32_TRUE='#'
  54562. - USE_IPC_WIN32_FALSE=
  54563. -fi
  54564. -
  54565. - ;;
  54566. -esac
  54567. -
  54568. -if test -z "$CACHE_HTTP_PORT"; then
  54569. - CACHE_HTTP_PORT="3128"
  54570. -fi
  54571. -if test -z "$CACHE_ICP_PORT"; then
  54572. - CACHE_ICP_PORT="3130"
  54573. -fi
  54574. -
  54575. -
  54576. -cat >>confdefs.h <<_ACEOF
  54577. -#define CACHE_HTTP_PORT $CACHE_HTTP_PORT
  54578. -_ACEOF
  54579. -
  54580. -
  54581. -
  54582. -cat >>confdefs.h <<_ACEOF
  54583. -#define CACHE_ICP_PORT $CACHE_ICP_PORT
  54584. -_ACEOF
  54585. -
  54586. -
  54587. -
  54588. -
  54589. -cat >>confdefs.h <<_ACEOF
  54590. -#define CONFIG_HOST_TYPE "$host"
  54591. -_ACEOF
  54592. -
  54593. -
  54594. -
  54595. -cat >>confdefs.h <<_ACEOF
  54596. -#define SQUID_CONFIGURE_OPTIONS "$ac_configure_args"
  54597. -_ACEOF
  54598. -
  54599. -
  54600. -CACHE_EFFECTIVE_USER="nobody"
  54601. -
  54602. -# Check whether --with-default-user was given.
  54603. -if test "${with_default_user+set}" = set; then
  54604. - withval=$with_default_user; CACHE_EFFECTIVE_USER="$withval"
  54605. -
  54606. -fi
  54607. -
  54608. -
  54609. -
  54610. -case "$host" in
  54611. - mab-next-nextstep3)
  54612. - CC="$CC -arch m68k -arch i486 -arch hppa -arch sparc"
  54613. - ;;
  54614. -esac
  54615. -
  54616. -if test "$GCC" = "yes"; then
  54617. - GCCVER=`$CC -v 2>&1 | awk '$2 == "version" {print $3}'`
  54618. - GCCVER2=`echo $GCCVER | awk '{print $1 * 100}'`
  54619. - case "$host" in
  54620. - i386-*-freebsd*)
  54621. - if test $GCCVER2 -lt 300 ; then
  54622. - echo "ERROR: GCC $GCCVER causes a coredump on $host"
  54623. - echo "ERROR: Try a more recent GCC version"
  54624. - sleep 5
  54625. - fi
  54626. - ;;
  54627. - esac
  54628. - unset GCCVER
  54629. - unset GCCVER2
  54630. -fi
  54631. -
  54632. -if test -z "$PRESET_CFLAGS"; then
  54633. - if test "$GCC" = "yes"; then
  54634. - case "$host" in
  54635. - *-sun-sunos*)
  54636. - # sunos has too many warnings for this to be useful
  54637. - # motorola too
  54638. - ;;
  54639. - *m88k*)
  54640. - # Motorola cc/ld does not like -02 but is ok on -O
  54641. - CFLAGS=`echo $CFLAGS | sed -e 's/-O0-9/-O/'`
  54642. - ;;
  54643. - *)
  54644. - CFLAGS="-Wall $CFLAGS"
  54645. - ;;
  54646. - esac
  54647. - else
  54648. - case "$host" in
  54649. - *mips-sgi-irix6.*)
  54650. - # suggested by Rafael Seidl <rafaels@cthulhu.engr.sgi.com>
  54651. - CFLAGS="-O3 -OPT:Olimit=0:space=OFF \
  54652. - -woff 1009,1014,1110,1116,1183,1185,1188,1204,1230,1233,1355 \
  54653. - -Wl,-woff,85,-woff,84,-woff,134 \
  54654. - -nostdinc -I/usr/include -D_BSD_SIGNALS $CFLAGS"
  54655. - CXXFLAGS="-O3 -OPT:Olimit=0:space=OFF \
  54656. - -woff 1009,1014,1110,1116,1183,1185,1188,1204,1230,1233,1355 \
  54657. - -Wl,-woff,85,-woff,84,-woff,134 \
  54658. - -nostdinc -I/usr/include -D_BSD_SIGNALS $CXXFLAGS"
  54659. - ;;
  54660. - alpha-dec-osf4.*)
  54661. - # Mogul says DEC compilers take both -g and -O2
  54662. - CFLAGS=`echo $CFLAGS | sed -e 's/-g/-g3/'`
  54663. - CFLAGS="-O2 $CFLAGS"
  54664. - ;;
  54665. - *)
  54666. - ;;
  54667. - esac
  54668. - fi
  54669. -fi
  54670. -
  54671. -if test "$GCC" = "yes"; then
  54672. - case "$host_os" in
  54673. - mingw|mingw32)
  54674. - SQUID_CFLAGS="-Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments"
  54675. - ;;
  54676. - *)
  54677. - SQUID_CFLAGS="-Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments"
  54678. - ;;
  54679. - esac
  54680. - SQUID_CXXFLAGS="-Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments"
  54681. -else
  54682. - SQUID_CFLAGS=
  54683. - SQUID_CXXFLAGS=
  54684. -fi
  54685. -
  54686. -
  54687. -
  54688. -
  54689. - { $as_echo "$as_me:$LINENO: checking whether compiler accepts -fhuge-objects" >&5
  54690. -$as_echo_n "checking whether compiler accepts -fhuge-objects... " >&6; }
  54691. - if test "${ac_cv_test_checkforhugeobjects+set}" = set; then
  54692. - $as_echo_n "(cached) " >&6
  54693. -else
  54694. -
  54695. - ac_cv_test_checkforhugeobjects=`echo "int main(int argc, char **argv) { int foo; }" > conftest.cc
  54696. -${CXX} -Werror -fhuge-objects -o conftest.bin conftest.cc 2>/dev/null
  54697. -res=$?
  54698. -rm -f conftest.*
  54699. -echo yes
  54700. -exit $res`
  54701. - if [ $? -ne 0 ]
  54702. - then ac_cv_test_checkforhugeobjects=no
  54703. - else if [ -z "$ac_cv_test_checkforhugeobjects" ]
  54704. - then ac_cv_test_checkforhugeobjects=yes
  54705. - fi ; fi
  54706. -
  54707. -fi
  54708. - # end of CACHE_VAL
  54709. - { $as_echo "$as_me:$LINENO: result: ${ac_cv_test_checkforhugeobjects}" >&5
  54710. -$as_echo "${ac_cv_test_checkforhugeobjects}" >&6; }
  54711. -
  54712. - if test "X${ac_cv_test_checkforhugeobjects}" != Xno
  54713. - then
  54714. - HUGE_OBJECT_FLAG="-fhuge-objects"
  54715. - else
  54716. - HUGE_OBJECT_FLAG=""
  54717. - fi
  54718. -
  54719. -SQUID_CXXFLAGS="$SQUID_CXXFLAGS $HUGE_OBJECT_FLAG"
  54720. -
  54721. -if test -z "$PRESET_LDFLAGS"; then
  54722. - if test "$GCC" = "yes"; then
  54723. - case "$host" in
  54724. - *mips-sgi-irix6.*)
  54725. - # Silence Linker warnings 84, 85 and 134
  54726. - LDFLAGS="-Wl,-woff,85 -Wl,-woff,84 -Wl,-woff,134 $LDFLAGS"
  54727. - ;;
  54728. - *)
  54729. - # nothing
  54730. - ;;
  54731. - esac
  54732. - else
  54733. - case "$host" in
  54734. - *)
  54735. - # nothing
  54736. - ;;
  54737. - esac
  54738. - fi
  54739. -fi
  54740. -
  54741. -# Check whether --enable-gnuregex was given.
  54742. -if test "${enable_gnuregex+set}" = set; then
  54743. - enableval=$enable_gnuregex; USE_GNUREGEX=$enableval
  54744. -fi
  54745. -
  54746. -
  54747. -SquidInline="yes"
  54748. -
  54749. -# Check whether --enable-optimizations was given.
  54750. -if test "${enable_optimizations+set}" = set; then
  54751. - enableval=$enable_optimizations; if test "$enableval" = "no" ; then
  54752. - echo "Disabling compiler optimizations (-O flag)"
  54753. - CFLAGS="`echo $CFLAGS | sed -e 's/-O[0-9]*//'`"
  54754. - CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-O[0-9]*//'`"
  54755. - SquidInline="no"
  54756. - fi
  54757. -
  54758. -fi
  54759. -
  54760. -
  54761. -# Check whether --enable-inline was given.
  54762. -if test "${enable_inline+set}" = set; then
  54763. - enableval=$enable_inline; if test "$enableval" = "no" ; then
  54764. - SquidInline="no"
  54765. - fi
  54766. -
  54767. -fi
  54768. -
  54769. -
  54770. -if test "$SquidInline" = "yes" ; then
  54771. -
  54772. -cat >>confdefs.h <<\_ACEOF
  54773. -#define _SQUID_INLINE_ inline
  54774. -_ACEOF
  54775. -
  54776. -
  54777. -cat >>confdefs.h <<\_ACEOF
  54778. -#define _USE_INLINE_ /**/
  54779. -_ACEOF
  54780. -
  54781. -else
  54782. - echo "Inlining optimization disabled"
  54783. -
  54784. -cat >>confdefs.h <<\_ACEOF
  54785. -#define _SQUID_INLINE_ /**/
  54786. -_ACEOF
  54787. -
  54788. -fi
  54789. -
  54790. -# Check whether --enable-debug-cbdata was given.
  54791. -if test "${enable_debug_cbdata+set}" = set; then
  54792. - enableval=$enable_debug_cbdata; if test "$enableval" = "yes" ; then
  54793. - echo "cbdata debugging enabled"
  54794. -
  54795. -cat >>confdefs.h <<\_ACEOF
  54796. -#define CBDATA_DEBUG 1
  54797. -_ACEOF
  54798. -
  54799. - fi
  54800. -
  54801. -fi
  54802. -
  54803. -
  54804. -
  54805. -
  54806. -# Check whether --enable-xmalloc-statistics was given.
  54807. -if test "${enable_xmalloc_statistics+set}" = set; then
  54808. - enableval=$enable_xmalloc_statistics; if test "$enableval" = "yes" ; then
  54809. - echo "Malloc statistics enabled"
  54810. -
  54811. -cat >>confdefs.h <<\_ACEOF
  54812. -#define XMALLOC_STATISTICS 1
  54813. -_ACEOF
  54814. -
  54815. - fi
  54816. -
  54817. -fi
  54818. -
  54819. -
  54820. -use_carp=1
  54821. -# Check whether --enable-carp was given.
  54822. -if test "${enable_carp+set}" = set; then
  54823. - enableval=$enable_carp; if test "$enableval" = "no" ; then
  54824. - echo "CARP disabled"
  54825. - use_carp=0
  54826. - fi
  54827. -
  54828. -fi
  54829. -
  54830. -if test $use_carp = 1; then
  54831. -
  54832. -cat >>confdefs.h <<\_ACEOF
  54833. -#define USE_CARP 1
  54834. -_ACEOF
  54835. -
  54836. -fi
  54837. -
  54838. -# Check whether --enable-async-io was given.
  54839. -if test "${enable_async_io+set}" = set; then
  54840. - enableval=$enable_async_io; case $enableval in
  54841. - yes)
  54842. - with_pthreads="yes"
  54843. - STORE_MODULES="ufs aufs"
  54844. - ;;
  54845. - no)
  54846. - ;;
  54847. - *)
  54848. - aufs_io_threads=$enableval
  54849. - with_pthreads="yes"
  54850. - STORE_MODULES="ufs aufs"
  54851. - ;;
  54852. - esac
  54853. -
  54854. -fi
  54855. -
  54856. -
  54857. -
  54858. -# Check whether --with-aufs-threads was given.
  54859. -if test "${with_aufs_threads+set}" = set; then
  54860. - withval=$with_aufs_threads; case $withval in
  54861. - [0-9]*)
  54862. - aufs_io_threads=$withval
  54863. - ;;
  54864. - *)
  54865. - echo "ERROR: Invalid --with-aufs-threads argument"
  54866. - exit 1
  54867. - ;;
  54868. - esac
  54869. -
  54870. -fi
  54871. -
  54872. -if test "$aufs_io_threads"; then
  54873. - echo "With $aufs_io_threads aufs threads"
  54874. -
  54875. -cat >>confdefs.h <<_ACEOF
  54876. -#define AUFS_IO_THREADS $aufs_io_threads
  54877. -_ACEOF
  54878. -
  54879. -fi
  54880. -
  54881. -
  54882. -# Check whether --with-pthreads was given.
  54883. -if test "${with_pthreads+set}" = set; then
  54884. - withval=$with_pthreads;
  54885. -fi
  54886. -
  54887. -if test "$with_pthreads" = "yes"; then
  54888. - echo "With pthreads"
  54889. -fi
  54890. -
  54891. -
  54892. -# Check whether --with-aio was given.
  54893. -if test "${with_aio+set}" = set; then
  54894. - withval=$with_aio;
  54895. -fi
  54896. -
  54897. -if test "$with_aio" = "yes"; then
  54898. - echo "With aio"
  54899. -fi
  54900. -
  54901. -
  54902. -# Check whether --with-dl was given.
  54903. -if test "${with_dl+set}" = set; then
  54904. - withval=$with_dl;
  54905. -fi
  54906. -
  54907. -if test "$with_dl" = "yes"; then
  54908. - echo "With dl"
  54909. -fi
  54910. -
  54911. -# Check whether --enable-storeio was given.
  54912. -if test "${enable_storeio+set}" = set; then
  54913. - enableval=$enable_storeio; case $enableval in
  54914. - yes)
  54915. - for dir in $srcdir/src/fs/*; do
  54916. - module="`basename $dir`"
  54917. - if test -d "$dir" && test "$module" != CVS && test "$module" != coss; then
  54918. - STORE_MODULES="$STORE_MODULES $module"
  54919. - fi
  54920. - done
  54921. - ;;
  54922. - no)
  54923. - ;;
  54924. - *)
  54925. - STORE_MODULES="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
  54926. - ;;
  54927. - esac
  54928. -
  54929. -else
  54930. - if test -z "$STORE_MODULES"; then
  54931. - STORE_MODULES="ufs"
  54932. - fi
  54933. -
  54934. -fi
  54935. -
  54936. -if test -n "$STORE_MODULES"; then
  54937. - for module in $STORE_MODULES; do
  54938. - if test -d $srcdir/src/fs/$module; then
  54939. - :
  54940. - else
  54941. - echo "ERROR: storeio $module does not exists"
  54942. - exit 1
  54943. - fi
  54944. - done
  54945. - echo "Store modules built: $STORE_MODULES"
  54946. - STORE_LINKOBJS=
  54947. - for module in $STORE_MODULES; do
  54948. - STORE_LINKOBJS="$STORE_LINKOBJS fs/${module}/StoreFS${module}.o"
  54949. - done
  54950. -fi
  54951. -UFS_FOUND=
  54952. -NEED_UFS=
  54953. -NEED_BLOCKING=
  54954. -NEED_DISKDAEMON=
  54955. -NEED_DISKTHREADS=
  54956. -NEED_AIO=
  54957. -STORE_TESTS=
  54958. -for fs in $STORE_MODULES none; do
  54959. - case "$fs" in
  54960. - diskd)
  54961. - NEED_UFS="true"
  54962. - NEED_BLOCKING="true"
  54963. - NEED_DISKDAEMON="true"
  54964. - ;;
  54965. - aufs)
  54966. - NEED_UFS="true"
  54967. - NEED_BLOCKING="true"
  54968. - NEED_DISKTHREADS="true"
  54969. - ;;
  54970. - coss)
  54971. - NEED_AIO="true"
  54972. - STORE_TESTS="$STORE_TESTS tests/testCoss$EXEEXT"
  54973. - ;;
  54974. - null)
  54975. - STORE_TESTS="$STORE_TESTS tests/testNull$EXEEXT"
  54976. - ;;
  54977. - ufs)
  54978. - UFS_FOUND="true"
  54979. - STORE_TESTS="$STORE_TESTS tests/testUfs$EXEEXT"
  54980. - esac
  54981. -done
  54982. -STORE_OBJS=
  54983. -STORE_LIBS=
  54984. -for fs in $STORE_MODULES; do
  54985. - case "$fs" in
  54986. - diskd);;
  54987. - aufs);;
  54988. - *)
  54989. - STORE_OBJS="$STORE_OBJS fs/lib${fs}.a"
  54990. - STORE_LIBS="$STORE_LIBS lib${fs}.a"
  54991. - ;;
  54992. - esac
  54993. -done
  54994. -
  54995. -if test -z "$UFS_FOUND" && test -n "$NEED_UFS"; then
  54996. - echo "adding UFS, as it contains core logic for diskd and aufs"
  54997. - STORE_OBJS="$STORE_OBJS fs/libufs.a"
  54998. - STORE_LIBS="$STORE_LIBS libufs.a"
  54999. - STORE_MODULES="$STORE_MODULES ufs"
  55000. - STORE_LINKOBJS="$STORE_LINKOBJS fs/ufs/StoreFSufs.o"
  55001. - STORE_TESTS="$STORE_TESTS tests/testUfs$EXEEXT"
  55002. -fi
  55003. -
  55004. -
  55005. -
  55006. -
  55007. -
  55008. -
  55009. -# Check whether --enable-disk-io was given.
  55010. -if test "${enable_disk_io+set}" = set; then
  55011. - enableval=$enable_disk_io; case $enableval in
  55012. - yes)
  55013. - for dir in $srcdir/src/DiskIO/*; do
  55014. - module="`basename $dir`"
  55015. - if test -d "$dir" && test "$module" != CVS; then
  55016. - DISK_MODULES="$DISK_MODULES $module"
  55017. - fi
  55018. - done
  55019. - ;;
  55020. - no)
  55021. - ;;
  55022. - *)
  55023. - DISK_MODULES="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
  55024. - ;;
  55025. - esac
  55026. -
  55027. -else
  55028. - if test -z "$DISK_MODULES"; then
  55029. - DISK_MODULES="Blocking"
  55030. - fi
  55031. -
  55032. -fi
  55033. -
  55034. -if test -n "$DISK_MODULES"; then
  55035. - for module in $DISK_MODULES; do
  55036. - if test -d $srcdir/src/DiskIO/$module; then
  55037. - :
  55038. - else
  55039. - echo "ERROR: disk-io $module does not exists"
  55040. - exit 1
  55041. - fi
  55042. - done
  55043. - DISK_LIBS="lib`echo $DISK_MODULES|sed -e 's% %.a lib%g'`.a"
  55044. - DISK_LINKOBJS=
  55045. - for module in $DISK_MODULES; do
  55046. - DISK_LINKOBJS="$DISK_LINKOBJS DiskIO/${module}/${module}DiskIOModule.o"
  55047. - done
  55048. -fi
  55049. -for fs in $DISK_MODULES none; do
  55050. - case "$fs" in
  55051. - DiskDaemon)
  55052. - DISK_PROGRAMS="$DISK_PROGRAMS DiskIO/DiskDaemon/diskd"
  55053. - FOUND_DISKDAEMON="true"
  55054. - ;;
  55055. - DiskThreads)
  55056. - FOUND_DISKTHREADS="true"
  55057. - ;;
  55058. - AIO)
  55059. - FOUND_AIO="true"
  55060. - ;;
  55061. - Blocking)
  55062. - FOUND_BLOCKING="true"
  55063. - esac
  55064. -done
  55065. -
  55066. -if test -z "$FOUND_BLOCKING" && test -n "$NEED_BLOCKING"; then
  55067. - echo "adding Blocking, as it is used by an active, legacy Store Module"
  55068. - DISK_LIBS="$DISK_LIBS libBlocking.a"
  55069. - DISK_MODULES="$DISK_MODULES Blocking"
  55070. - DISK_LINKOBJS="$DISK_LINKOBJS DiskIO/Blocking/BlockingDiskIOModule.o"
  55071. -fi
  55072. -
  55073. -if test -z "$FOUND_DISKDAEMON" && test -n "$NEED_DISKDAEMON"; then
  55074. - echo "adding DiskDaemon, as it is used by an active, legacy Store Module"
  55075. - DISK_LIBS="$DISK_LIBS libDiskDaemon.a"
  55076. - DISK_MODULES="$DISK_MODULES DiskDaemon"
  55077. - DISK_PROGRAMS="$DISK_PROGRAMS DiskIO/DiskDaemon/diskd"
  55078. - DISK_LINKOBJS="$DISK_LINKOBJS DiskIO/DiskDaemon/DiskDaemonDiskIOModule.o"
  55079. -fi
  55080. -
  55081. -if test -z "$FOUND_DISKTHREADS" && test -n "$NEED_DISKTHREADS"; then
  55082. - echo "adding DiskThreads, as it is used by an active, legacy Store Module"
  55083. - DISK_LIBS="$DISK_LIBS libDiskThreads.a"
  55084. - DISK_MODULES="$DISK_MODULES DiskThreads"
  55085. - DISK_LINKOBJS="$DISK_LINKOBJS DiskIO/DiskThreads/DiskThreadsDiskIOModule.o"
  55086. -fi
  55087. -
  55088. -if test -z "$FOUND_AIO" && test -n "$NEED_AIO"; then
  55089. - echo "adding AIO, as it is used by an active, legacy Store Module"
  55090. - DISK_LIBS="$DISK_LIBS libAIO.a"
  55091. - DISK_MODULES="$DISK_MODULES AIO"
  55092. - DISK_LINKOBJS="$DISK_LINKOBJS DiskIO/AIO/AIODiskIOModule.o"
  55093. -fi
  55094. -echo "IO Modules built: $DISK_MODULES"
  55095. -USE_AIOPS_WIN32=0
  55096. -USE_AIO_WIN32=0
  55097. -for fs in $DISK_MODULES none; do
  55098. - case "$fs" in
  55099. - DiskThreads)
  55100. - if test -z "$with_pthreads"; then
  55101. - case "$host_os" in
  55102. - mingw|mingw32)
  55103. - USE_AIOPS_WIN32=1
  55104. - echo "DiskThreads IO Module used, Windows threads support automatically enabled"
  55105. - ;;
  55106. - *)
  55107. - echo "DiskThreads IO Module used, pthreads support automatically enabled"
  55108. - with_pthreads=yes
  55109. - ;;
  55110. - esac
  55111. - fi
  55112. - ;;
  55113. - AIO)
  55114. - if test -z "$with_aio"; then
  55115. - case "$host_os" in
  55116. - mingw|mingw32)
  55117. - USE_AIO_WIN32=1
  55118. - echo "Aio IO Module used, Windows overlapped I/O support automatically enabled"
  55119. - ;;
  55120. - *)
  55121. - echo "Aio IO Module used, aio support automatically enabled"
  55122. - with_aio=yes
  55123. - ;;
  55124. - esac
  55125. - fi
  55126. - ;;
  55127. - esac
  55128. -done
  55129. -
  55130. -
  55131. -
  55132. -
  55133. - if test "$USE_AIOPS_WIN32" = 1; then
  55134. - USE_AIOPS_WIN32_TRUE=
  55135. - USE_AIOPS_WIN32_FALSE='#'
  55136. -else
  55137. - USE_AIOPS_WIN32_TRUE='#'
  55138. - USE_AIOPS_WIN32_FALSE=
  55139. -fi
  55140. -
  55141. - if test "$USE_AIO_WIN32" = 1; then
  55142. - USE_AIO_WIN32_TRUE=
  55143. - USE_AIO_WIN32_FALSE='#'
  55144. -else
  55145. - USE_AIO_WIN32_TRUE='#'
  55146. - USE_AIO_WIN32_FALSE=
  55147. -fi
  55148. -
  55149. -
  55150. -# Check whether --enable-removal-policies was given.
  55151. -if test "${enable_removal_policies+set}" = set; then
  55152. - enableval=$enable_removal_policies; case $enableval in
  55153. - yes)
  55154. - for dir in $srcdir/src/repl/*; do
  55155. - module="`basename $dir`"
  55156. - if test -d "$dir" && test "$module" != CVS; then
  55157. - REPL_POLICIES="$REPL_POLICIES $module"
  55158. - fi
  55159. - done
  55160. - ;;
  55161. - no)
  55162. - ;;
  55163. - *)
  55164. - REPL_POLICIES="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
  55165. - ;;
  55166. - esac
  55167. -
  55168. -else
  55169. - if test -z "$REPL_POLICIES"; then
  55170. - REPL_POLICIES="lru"
  55171. - fi
  55172. -
  55173. -fi
  55174. -
  55175. -if test -n "$REPL_POLICIES"; then
  55176. - for module in $REPL_POLICIES; do
  55177. - if test -d $srcdir/src/repl/$module; then
  55178. - :
  55179. - else
  55180. - echo "ERROR: Removal policy $module does not exists"
  55181. - exit 1
  55182. - fi
  55183. - done
  55184. - echo "Removal policies built: $REPL_POLICIES"
  55185. - REPL_OBJS="repl/lib`echo $REPL_POLICIES|sed -e 's% %.a repl/lib%g'`.a"
  55186. - REPL_LIBS="`echo $REPL_OBJS|sed -e 's%repl/%%g'`"
  55187. -fi
  55188. -
  55189. -
  55190. -
  55191. -
  55192. - if false; then
  55193. - ENABLE_PINGER_TRUE=
  55194. - ENABLE_PINGER_FALSE='#'
  55195. -else
  55196. - ENABLE_PINGER_TRUE='#'
  55197. - ENABLE_PINGER_FALSE=
  55198. -fi
  55199. -
  55200. -# Check whether --enable-icmp was given.
  55201. -if test "${enable_icmp+set}" = set; then
  55202. - enableval=$enable_icmp; if test "$enableval" = "yes" ; then
  55203. - echo "ICMP enabled"
  55204. -
  55205. -cat >>confdefs.h <<\_ACEOF
  55206. -#define USE_ICMP 1
  55207. -_ACEOF
  55208. -
  55209. - if true; then
  55210. - ENABLE_PINGER_TRUE=
  55211. - ENABLE_PINGER_FALSE='#'
  55212. -else
  55213. - ENABLE_PINGER_TRUE='#'
  55214. - ENABLE_PINGER_FALSE=
  55215. -fi
  55216. -
  55217. - fi
  55218. -
  55219. -fi
  55220. -
  55221. -
  55222. - if false; then
  55223. - USE_DELAY_POOLS_TRUE=
  55224. - USE_DELAY_POOLS_FALSE='#'
  55225. -else
  55226. - USE_DELAY_POOLS_TRUE='#'
  55227. - USE_DELAY_POOLS_FALSE=
  55228. -fi
  55229. -
  55230. -# Check whether --enable-delay-pools was given.
  55231. -if test "${enable_delay_pools+set}" = set; then
  55232. - enableval=$enable_delay_pools; if test "$enableval" = "yes" ; then
  55233. - echo "Delay pools enabled"
  55234. -
  55235. -cat >>confdefs.h <<\_ACEOF
  55236. -#define DELAY_POOLS 1
  55237. -_ACEOF
  55238. -
  55239. - if true; then
  55240. - USE_DELAY_POOLS_TRUE=
  55241. - USE_DELAY_POOLS_FALSE='#'
  55242. -else
  55243. - USE_DELAY_POOLS_TRUE='#'
  55244. - USE_DELAY_POOLS_FALSE=
  55245. -fi
  55246. -
  55247. - fi
  55248. -
  55249. -fi
  55250. -
  55251. -
  55252. - if false; then
  55253. - USE_ESI_TRUE=
  55254. - USE_ESI_FALSE='#'
  55255. -else
  55256. - USE_ESI_TRUE='#'
  55257. - USE_ESI_FALSE=
  55258. -fi
  55259. -
  55260. -# Check whether --enable-esi was given.
  55261. -if test "${enable_esi+set}" = set; then
  55262. - enableval=$enable_esi; use_esi=$enableval
  55263. -else
  55264. - use_esi=no
  55265. -fi
  55266. -
  55267. -if test "$use_esi" = "yes" ; then
  55268. -
  55269. -cat >>confdefs.h <<\_ACEOF
  55270. -#define USE_SQUID_ESI 1
  55271. -_ACEOF
  55272. -
  55273. - if true; then
  55274. - USE_ESI_TRUE=
  55275. - USE_ESI_FALSE='#'
  55276. -else
  55277. - USE_ESI_TRUE='#'
  55278. - USE_ESI_FALSE=
  55279. -fi
  55280. -
  55281. - XTRA_LIBS="$XTRA_LIBS -lexpat -lxml2"
  55282. -else
  55283. -
  55284. -cat >>confdefs.h <<\_ACEOF
  55285. -#define USE_SQUID_ESI 0
  55286. -_ACEOF
  55287. -
  55288. -fi
  55289. -
  55290. - if false; then
  55291. - USE_ICAP_CLIENT_TRUE=
  55292. - USE_ICAP_CLIENT_FALSE='#'
  55293. -else
  55294. - USE_ICAP_CLIENT_TRUE='#'
  55295. - USE_ICAP_CLIENT_FALSE=
  55296. -fi
  55297. -
  55298. -# Check whether --enable-icap-client was given.
  55299. -if test "${enable_icap_client+set}" = set; then
  55300. - enableval=$enable_icap_client; use_icap_client=$enableval
  55301. -else
  55302. - use_icap_client=no
  55303. -fi
  55304. -
  55305. -if test "$use_icap_client" = "yes" ; then
  55306. -
  55307. -cat >>confdefs.h <<\_ACEOF
  55308. -#define ICAP_CLIENT 1
  55309. -_ACEOF
  55310. -
  55311. - if true; then
  55312. - USE_ICAP_CLIENT_TRUE=
  55313. - USE_ICAP_CLIENT_FALSE='#'
  55314. -else
  55315. - USE_ICAP_CLIENT_TRUE='#'
  55316. - USE_ICAP_CLIENT_FALSE=
  55317. -fi
  55318. -
  55319. - ICAP_LIBS="ICAP/libicap.a"
  55320. -else
  55321. -
  55322. -cat >>confdefs.h <<\_ACEOF
  55323. -#define ICAP_CLIENT 0
  55324. -_ACEOF
  55325. -
  55326. - ICAP_LIBS=""
  55327. -fi
  55328. -
  55329. -
  55330. -
  55331. -# Check whether --enable-useragent-log was given.
  55332. -if test "${enable_useragent_log+set}" = set; then
  55333. - enableval=$enable_useragent_log; if test "$enableval" = "yes" ; then
  55334. - echo "User-Agent logging enabled"
  55335. -
  55336. -cat >>confdefs.h <<\_ACEOF
  55337. -#define USE_USERAGENT_LOG 1
  55338. -_ACEOF
  55339. -
  55340. - fi
  55341. -
  55342. -fi
  55343. -
  55344. -
  55345. -# Check whether --enable-referer-log was given.
  55346. -if test "${enable_referer_log+set}" = set; then
  55347. - enableval=$enable_referer_log; if test "$enableval" = "yes" ; then
  55348. - echo "Referer logging enabled"
  55349. -
  55350. -cat >>confdefs.h <<\_ACEOF
  55351. -#define USE_REFERER_LOG 1
  55352. -_ACEOF
  55353. -
  55354. - fi
  55355. -
  55356. -fi
  55357. -
  55358. -
  55359. -USE_WCCP=1
  55360. -# Check whether --enable-wccp was given.
  55361. -if test "${enable_wccp+set}" = set; then
  55362. - enableval=$enable_wccp; if test "$enableval" = "no" ; then
  55363. - echo "Web Cache Coordination Protocol disabled"
  55364. - USE_WCCP=0
  55365. - fi
  55366. -
  55367. -fi
  55368. -
  55369. -if test $USE_WCCP = 1; then
  55370. -
  55371. -cat >>confdefs.h <<\_ACEOF
  55372. -#define USE_WCCP 1
  55373. -_ACEOF
  55374. -
  55375. -fi
  55376. -
  55377. -USE_WCCPv2=1
  55378. -# Check whether --enable-wccpv2 was given.
  55379. -if test "${enable_wccpv2+set}" = set; then
  55380. - enableval=$enable_wccpv2; if test "$enableval" = "no" ; then
  55381. - echo "Web Cache Coordination V2 Protocol disabled"
  55382. - USE_WCCPv2=0
  55383. - fi
  55384. -
  55385. -fi
  55386. -
  55387. -if test $USE_WCCPv2 = 1; then
  55388. -
  55389. -cat >>confdefs.h <<\_ACEOF
  55390. -#define USE_WCCPv2 1
  55391. -_ACEOF
  55392. -
  55393. -fi
  55394. -
  55395. -# Check whether --enable-kill-parent-hack was given.
  55396. -if test "${enable_kill_parent_hack+set}" = set; then
  55397. - enableval=$enable_kill_parent_hack; if test "$enableval" = "yes" ; then
  55398. - echo "Kill parent on shutdown"
  55399. -
  55400. -cat >>confdefs.h <<\_ACEOF
  55401. -#define KILL_PARENT_OPT 1
  55402. -_ACEOF
  55403. -
  55404. - fi
  55405. -
  55406. -fi
  55407. -
  55408. -
  55409. -USE_SNMP=true
  55410. -# Check whether --enable-snmp was given.
  55411. -if test "${enable_snmp+set}" = set; then
  55412. - enableval=$enable_snmp; if test "$enableval" = "no" ; then
  55413. - echo "SNMP monitoring disabled"
  55414. - USE_SNMP=
  55415. - fi
  55416. -
  55417. -fi
  55418. -
  55419. -if test x"$USE_SNMP" = xtrue; then
  55420. -
  55421. -cat >>confdefs.h <<\_ACEOF
  55422. -#define SQUID_SNMP 1
  55423. -_ACEOF
  55424. -
  55425. - SNMPLIB='../snmplib/libsnmp.a'
  55426. - makesnmplib=snmplib
  55427. -fi
  55428. - if test x$USE_SNMP = xtrue; then
  55429. - USE_SNMP_TRUE=
  55430. - USE_SNMP_FALSE='#'
  55431. -else
  55432. - USE_SNMP_TRUE='#'
  55433. - USE_SNMP_FALSE=
  55434. -fi
  55435. -
  55436. -
  55437. -
  55438. -
  55439. -# Check whether --enable-cachemgr-hostname was given.
  55440. -if test "${enable_cachemgr_hostname+set}" = set; then
  55441. - enableval=$enable_cachemgr_hostname; case $enableval in
  55442. - yes)
  55443. -
  55444. -cat >>confdefs.h <<\_ACEOF
  55445. -#define CACHEMGR_HOSTNAME getfullhostname()
  55446. -_ACEOF
  55447. -
  55448. - echo "Cachemgr default hostname == host where cachemgr runs"
  55449. - ;;
  55450. - no)
  55451. - : # Nothing to do..
  55452. - ;;
  55453. - *)
  55454. - cat >>confdefs.h <<_ACEOF
  55455. -#define CACHEMGR_HOSTNAME "${enableval}"
  55456. -_ACEOF
  55457. -
  55458. - echo "Cachemgr default hostname set to ${enableval}"
  55459. - ;;
  55460. - esac
  55461. -
  55462. -fi
  55463. -
  55464. -
  55465. - if false; then
  55466. - ENABLE_ARP_ACL_TRUE=
  55467. - ENABLE_ARP_ACL_FALSE='#'
  55468. -else
  55469. - ENABLE_ARP_ACL_TRUE='#'
  55470. - ENABLE_ARP_ACL_FALSE=
  55471. -fi
  55472. -
  55473. -# Check whether --enable-arp-acl was given.
  55474. -if test "${enable_arp_acl+set}" = set; then
  55475. - enableval=$enable_arp_acl; if test "$enableval" = "yes" ; then
  55476. - echo "ARP ACL lists enabled (ether address)"
  55477. - case "$host" in
  55478. - *-linux-*)
  55479. - ;;
  55480. - *-solaris*)
  55481. - ;;
  55482. - *-freebsd*)
  55483. - ;;
  55484. - *-openbsd*)
  55485. - ;;
  55486. - *-netbsd*)
  55487. - ;;
  55488. - *-cygwin*)
  55489. - LIBS="$LIBS -liphlpapi"
  55490. - ;;
  55491. - *-mingw*)
  55492. - LIBS="$LIBS -liphlpapi"
  55493. - ;;
  55494. - *)
  55495. - echo "WARNING: ARP ACL support probably won't work on $host."
  55496. - sleep 10
  55497. - ;;
  55498. - esac
  55499. -
  55500. -cat >>confdefs.h <<\_ACEOF
  55501. -#define USE_ARP_ACL 1
  55502. -_ACEOF
  55503. -
  55504. - if true; then
  55505. - ENABLE_ARP_ACL_TRUE=
  55506. - ENABLE_ARP_ACL_FALSE='#'
  55507. -else
  55508. - ENABLE_ARP_ACL_TRUE='#'
  55509. - ENABLE_ARP_ACL_FALSE=
  55510. -fi
  55511. -
  55512. - fi
  55513. -
  55514. -fi
  55515. -
  55516. -
  55517. -USE_HTCP=true
  55518. - if false; then
  55519. - ENABLE_HTCP_TRUE=
  55520. - ENABLE_HTCP_FALSE='#'
  55521. -else
  55522. - ENABLE_HTCP_TRUE='#'
  55523. - ENABLE_HTCP_FALSE=
  55524. -fi
  55525. -
  55526. -# Check whether --enable-htcp was given.
  55527. -if test "${enable_htcp+set}" = set; then
  55528. - enableval=$enable_htcp; if test "$enableval" = "no" ; then
  55529. - echo "HTCP support disabled"
  55530. - fi
  55531. -
  55532. -fi
  55533. -
  55534. -if test x$USE_HTCP = xtrue; then
  55535. -
  55536. -cat >>confdefs.h <<\_ACEOF
  55537. -#define USE_HTCP 1
  55538. -_ACEOF
  55539. -
  55540. -fi
  55541. - if test x$USE_HTCP = xtrue; then
  55542. - ENABLE_HTCP_TRUE=
  55543. - ENABLE_HTCP_FALSE='#'
  55544. -else
  55545. - ENABLE_HTCP_TRUE='#'
  55546. - ENABLE_HTCP_FALSE=
  55547. -fi
  55548. -
  55549. -
  55550. - if false; then
  55551. - ENABLE_SSL_TRUE=
  55552. - ENABLE_SSL_FALSE='#'
  55553. -else
  55554. - ENABLE_SSL_TRUE='#'
  55555. - ENABLE_SSL_FALSE=
  55556. -fi
  55557. -
  55558. -
  55559. -# Check whether --enable-ssl was given.
  55560. -if test "${enable_ssl+set}" = set; then
  55561. - enableval=$enable_ssl; if test "$enableval" != "no"; then
  55562. - echo "SSL gatewaying using OpenSSL enabled"
  55563. -
  55564. -cat >>confdefs.h <<\_ACEOF
  55565. -#define USE_SSL 1
  55566. -_ACEOF
  55567. -
  55568. - if true; then
  55569. - ENABLE_SSL_TRUE=
  55570. - ENABLE_SSL_FALSE='#'
  55571. -else
  55572. - ENABLE_SSL_TRUE='#'
  55573. - ENABLE_SSL_FALSE=
  55574. -fi
  55575. -
  55576. - case "$host_os" in
  55577. - mingw|mingw32)
  55578. - SSLLIB='-lssleay32 -leay32 -lgdi32'
  55579. - ;;
  55580. - *)
  55581. - SSLLIB='-lssl -lcrypto'
  55582. - ;;
  55583. - esac
  55584. - USE_OPENSSL=1
  55585. - fi
  55586. -
  55587. -fi
  55588. -
  55589. -
  55590. -
  55591. -# Check whether --with-openssl was given.
  55592. -if test "${with_openssl+set}" = set; then
  55593. - withval=$with_openssl;
  55594. - case "$with_openssl" in
  55595. - yes)
  55596. - USE_OPENSSL=1
  55597. - ;;
  55598. - no)
  55599. - USE_OPENSSL=
  55600. - ;;
  55601. - *)
  55602. - SSLLIBDIR="$with_openssl/lib"
  55603. - CPPFLAGS="-I$with_openssl/include $CPPFLAGS"
  55604. - USE_OPENSSL=1
  55605. - esac
  55606. -
  55607. -fi
  55608. -
  55609. -if test -n "$USE_OPENSSL"; then
  55610. - echo "Using OpenSSL MD5 implementation"
  55611. -
  55612. -cat >>confdefs.h <<\_ACEOF
  55613. -#define USE_OPENSSL 1
  55614. -_ACEOF
  55615. -
  55616. - if test -z "$SSLLIB"; then
  55617. - SSLLIB="-lcrypto" # for MD5 routines
  55618. - fi
  55619. - if test -d /usr/kerberos/include && test -z "$SSLLIBDIR" && test -f /usr/include/openssl/kssl.h; then
  55620. - echo "OpenSSL depends on Kerberos"
  55621. - SSLLIBDIR="/usr/kerberos/lib"
  55622. - CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include"
  55623. - fi
  55624. -fi
  55625. -if test -n "$SSLLIBDIR"; then
  55626. - SSLLIB="-L$SSLLIBDIR $SSLLIB"
  55627. -fi
  55628. -
  55629. -
  55630. -
  55631. -# Check whether --enable-forw-via-db was given.
  55632. -if test "${enable_forw_via_db+set}" = set; then
  55633. - enableval=$enable_forw_via_db; if test "$enableval" = "yes" ; then
  55634. - echo "FORW-VIA enabled"
  55635. -
  55636. -cat >>confdefs.h <<\_ACEOF
  55637. -#define FORW_VIA_DB 1
  55638. -_ACEOF
  55639. -
  55640. - fi
  55641. -
  55642. -fi
  55643. -
  55644. -
  55645. -# Check whether --enable-cache-digests was given.
  55646. -if test "${enable_cache_digests+set}" = set; then
  55647. - enableval=$enable_cache_digests; if test "$enableval" = "yes" ; then
  55648. - echo "USE_CACHE_DIGESTS enabled"
  55649. -
  55650. -cat >>confdefs.h <<\_ACEOF
  55651. -#define USE_CACHE_DIGESTS 1
  55652. -_ACEOF
  55653. -
  55654. - fi
  55655. -
  55656. -fi
  55657. -
  55658. -
  55659. -# Check whether --enable-default-err-language was given.
  55660. -if test "${enable_default_err_language+set}" = set; then
  55661. - enableval=$enable_default_err_language;
  55662. - if test -d $srcdir/errors/$enableval; then
  55663. - ERR_DEFAULT_LANGUAGE=$enableval
  55664. - else
  55665. - echo "ERROR! Unknown language $enableval, see errors/ directory"
  55666. - exit 1
  55667. - fi
  55668. -
  55669. -else
  55670. - ERR_DEFAULT_LANGUAGE="templates"
  55671. -fi
  55672. -
  55673. -
  55674. -
  55675. -# Check whether --enable-err-languages was given.
  55676. -if test "${enable_err_languages+set}" = set; then
  55677. - enableval=$enable_err_languages;
  55678. - for l in $enableval; do
  55679. - if test -d $srcdir/errors/$l; then :; else
  55680. - echo "ERROR! Unknown language $$l, see errors/"
  55681. - exit 1
  55682. - fi
  55683. - done
  55684. - ERR_LANGUAGES=$enableval
  55685. -
  55686. -else
  55687. -
  55688. - ERR_LANGUAGES=
  55689. - for l in $srcdir/errors/*; do
  55690. - if test -f $l/ERR_ACCESS_DENIED; then
  55691. - ERR_LANGUAGES="$ERR_LANGUAGES `basename $l`"
  55692. - fi
  55693. - done
  55694. -
  55695. -fi
  55696. -
  55697. -
  55698. -
  55699. -
  55700. -# Check whether --with-coss-membuf-size was given.
  55701. -if test "${with_coss_membuf_size+set}" = set; then
  55702. - withval=$with_coss_membuf_size; if test "$with_coss_membuf_size"; then
  55703. - echo "Setting COSS membuf size to $with_coss_membuf_size bytes"
  55704. -
  55705. -cat >>confdefs.h <<_ACEOF
  55706. -#define COSS_MEMBUF_SZ $with_coss_membuf_size
  55707. -_ACEOF
  55708. -
  55709. - fi
  55710. -
  55711. -fi
  55712. -
  55713. -
  55714. -
  55715. -disable_poll=
  55716. -# Check whether --enable-poll was given.
  55717. -if test "${enable_poll+set}" = set; then
  55718. - enableval=$enable_poll;
  55719. - case "$enableval" in
  55720. - yes)
  55721. - echo "Forcing poll() to be enabled"
  55722. - SELECT_TYPE="poll"
  55723. - ;;
  55724. - no)
  55725. - echo "Forcing poll() to be disabled"
  55726. - disable_poll=true
  55727. - ;;
  55728. - esac
  55729. -
  55730. -fi
  55731. -
  55732. -
  55733. -disable_select=
  55734. -# Check whether --enable-select was given.
  55735. -if test "${enable_select+set}" = set; then
  55736. - enableval=$enable_select;
  55737. - case "$enableval" in
  55738. - yes)
  55739. - echo "Forcing select() to be enabled"
  55740. - SELECT_TYPE="select"
  55741. - ;;
  55742. - no)
  55743. - echo "Forcing select() to be disabled"
  55744. - disable_select=true
  55745. - ;;
  55746. - esac
  55747. -
  55748. -fi
  55749. -
  55750. -
  55751. -disable_kqueue=true
  55752. -# Check whether --enable-kqueue was given.
  55753. -if test "${enable_kqueue+set}" = set; then
  55754. - enableval=$enable_kqueue;
  55755. - case "$enableval" in
  55756. - yes)
  55757. - echo "Forcing kqueue() to be enabled"
  55758. - SELECT_TYPE="kqueue"
  55759. - ;;
  55760. - no)
  55761. - echo "Forcing kqueue() to be disabled"
  55762. - disable_kqueue=true
  55763. - ;;
  55764. -esac
  55765. -
  55766. -fi
  55767. -
  55768. -
  55769. -disable_epoll=
  55770. -# Check whether --enable-epoll was given.
  55771. -if test "${enable_epoll+set}" = set; then
  55772. - enableval=$enable_epoll;
  55773. - case "$enableval" in
  55774. - yes)
  55775. - echo "Forcing epoll() to be enabled"
  55776. - SELECT_TYPE="epoll"
  55777. - ;;
  55778. - no)
  55779. - echo "Forcing epoll() to be disabled"
  55780. - disable_epoll=true
  55781. - ;;
  55782. -esac
  55783. -
  55784. -fi
  55785. -
  55786. -
  55787. -
  55788. -http_violations=1
  55789. -# Check whether --enable-http-violations was given.
  55790. -if test "${enable_http_violations+set}" = set; then
  55791. - enableval=$enable_http_violations; if test "$enableval" = "no" ; then
  55792. - echo "Disabling HTTP Violations"
  55793. - http_violations=0
  55794. - fi
  55795. -
  55796. -fi
  55797. -
  55798. -if test $http_violations = 1; then
  55799. -
  55800. -cat >>confdefs.h <<\_ACEOF
  55801. -#define HTTP_VIOLATIONS 1
  55802. -_ACEOF
  55803. -
  55804. -else
  55805. - cat >>confdefs.h <<\_ACEOF
  55806. -#define HTTP_VIOLATIONS 0
  55807. -_ACEOF
  55808. -
  55809. -fi
  55810. -
  55811. -# Check whether --enable-ipfw-transparent was given.
  55812. -if test "${enable_ipfw_transparent+set}" = set; then
  55813. - enableval=$enable_ipfw_transparent; if test "$enableval" = "yes" ; then
  55814. - echo "IPFW Transparent Proxy enabled"
  55815. -
  55816. -cat >>confdefs.h <<\_ACEOF
  55817. -#define IPFW_TRANSPARENT 1
  55818. -_ACEOF
  55819. -
  55820. - IPFW_TRANSPARENT="yes"
  55821. - else
  55822. -
  55823. -cat >>confdefs.h <<\_ACEOF
  55824. -#define IPFW_TRANSPARENT 0
  55825. -_ACEOF
  55826. -
  55827. - fi
  55828. -
  55829. -fi
  55830. -
  55831. -
  55832. -# Check whether --enable-ipf-transparent was given.
  55833. -if test "${enable_ipf_transparent+set}" = set; then
  55834. - enableval=$enable_ipf_transparent; if test "$enableval" = "yes" ; then
  55835. - echo "IP-Filter Transparent Proxy enabled"
  55836. -
  55837. -cat >>confdefs.h <<\_ACEOF
  55838. -#define IPF_TRANSPARENT 1
  55839. -_ACEOF
  55840. -
  55841. - IPF_TRANSPARENT="yes"
  55842. - else
  55843. -
  55844. -cat >>confdefs.h <<\_ACEOF
  55845. -#define IPF_TRANSPARENT 0
  55846. -_ACEOF
  55847. -
  55848. - fi
  55849. -
  55850. -fi
  55851. -
  55852. -
  55853. -# Check whether --enable-pf-transparent was given.
  55854. -if test "${enable_pf_transparent+set}" = set; then
  55855. - enableval=$enable_pf_transparent; if test "$enableval" = "yes" ; then
  55856. - echo "PF Transparent Proxy enabled"
  55857. -
  55858. -cat >>confdefs.h <<\_ACEOF
  55859. -#define PF_TRANSPARENT 1
  55860. -_ACEOF
  55861. -
  55862. - PF_TRANSPARENT="yes"
  55863. - else
  55864. -
  55865. -cat >>confdefs.h <<\_ACEOF
  55866. -#define PF_TRANSPARENT 0
  55867. -_ACEOF
  55868. -
  55869. - fi
  55870. -
  55871. -fi
  55872. -
  55873. -
  55874. -# Check whether --enable-linux-netfilter was given.
  55875. -if test "${enable_linux_netfilter+set}" = set; then
  55876. - enableval=$enable_linux_netfilter; if test "$enableval" = "yes" ; then
  55877. - echo "Linux (Netfilter) Transparent Proxy enabled"
  55878. -
  55879. -cat >>confdefs.h <<\_ACEOF
  55880. -#define LINUX_NETFILTER 1
  55881. -_ACEOF
  55882. -
  55883. - LINUX_NETFILTER="yes"
  55884. - else
  55885. -
  55886. -cat >>confdefs.h <<\_ACEOF
  55887. -#define LINUX_NETFILTER 0
  55888. -_ACEOF
  55889. -
  55890. - fi
  55891. -
  55892. -fi
  55893. -
  55894. -
  55895. -buildmodel=""
  55896. -needlargefiles=
  55897. -
  55898. -
  55899. -# Check whether --with-large-files was given.
  55900. -if test "${with_large_files+set}" = set; then
  55901. - withval=$with_large_files; if test "$withval" = yes; then
  55902. - needlargefiles=1
  55903. - fi
  55904. -
  55905. -fi
  55906. -
  55907. -
  55908. -
  55909. -# Check whether --with-build-environment was given.
  55910. -if test "${with_build_environment+set}" = set; then
  55911. - withval=$with_build_environment; case "$withval" in
  55912. - yes|no)
  55913. - echo "--with-build-environment expects a build environment string as used by getconf"
  55914. - exit 1
  55915. - ;;
  55916. - *)
  55917. - buildmodel="$withval"
  55918. - ;;
  55919. - esac
  55920. -
  55921. -fi
  55922. -
  55923. -
  55924. -if test $needlargefiles && test -z "$buildmodel"; then
  55925. - for model in POSIX_V6_LPBIG_OFFBIG XBS5_LPBIG_OFFBIG POSIX_V6_LP64_OFF64 XBS5_LP64_OFF64 POSIX_V6_ILP32_OFFBIG XBS5_ILP32_OFFBIG; do
  55926. - if test "`getconf _$model 2>/dev/null || true`" = 1 || test "`getconf $model 2>/dev/null || true`" ; then
  55927. - buildmodel=$model
  55928. - break
  55929. - fi
  55930. - done
  55931. - if test -z "$buildmodel"; then
  55932. - echo "WARNING: No suitable build environment found for large files. Trying to use _FILE_OFFSET_BITS=64"
  55933. - sleep 1
  55934. - fi
  55935. -fi
  55936. -case "$buildmodel" in
  55937. -default|"")
  55938. - if test "$needlargefiles"; then
  55939. - echo "Enabling -D_FILE_OFFSET_BITS=64"
  55940. - CFLAGS="-D_FILE_OFFSET_BITS=64 $CFLAGS"
  55941. - CXXFLAGS="-D_FILE_OFFSET_BITS=64 $CXXFLAGS"
  55942. - fi
  55943. - ;;
  55944. -*)
  55945. - echo "Using $buildmodel build environment"
  55946. - if test "`getconf _$buildmodel 2>/dev/null || true`" = 1 || test "`getconf $buildmodel 2>/dev/null || true`" ; then
  55947. - : # All fine
  55948. - else
  55949. - echo "ERROR: Build environment $buildmodel not known to getconf."
  55950. - exit 1
  55951. - fi
  55952. - CFLAGS="`getconf ${buildmodel}_CFLAGS` $CFLAGS"
  55953. - CXXFLAGS="`getconf ${buildmodel}_CFLAGS` $CXXFLAGS"
  55954. - LIBS="`getconf ${buildmodel}_LIBS` $LIBS"
  55955. - LDFLAGS="`getconf ${buildmodel}_LDFLAGS` $LDFLAGS"
  55956. - case "$host" in
  55957. - *-solaris*)
  55958. - if test "$GCC" = "yes"; then
  55959. - echo "Removing -Xa for gcc/g++ on $host"
  55960. - CFLAGS="`echo $CFLAGS | sed -e 's/-Xa//'`"
  55961. - CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-Xa//'`"
  55962. - echo "Replacing -xarch=generic64 with -m64 for gcc/g++ on $host"
  55963. - CFLAGS="`echo $CFLAGS | sed -e 's/-xarch=generic64/-m64/'`"
  55964. - CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-xarch=generic64/-m64/'`"
  55965. - LDFLAGS="`echo $LDFLAGS | sed -e 's/-xarch=generic64//'`"
  55966. - fi
  55967. - echo "Removing -Usun on $host"
  55968. - CFLAGS="`echo $CFLAGS | sed -e 's/-Usun//'`"
  55969. - CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-Usun//'`"
  55970. - ;;
  55971. - *-sgi-irix6.*)
  55972. - if test "$GCC" = "yes"; then
  55973. - CFLAGS="`echo $CFLAGS | sed -e 's/-n32/-mabi=n32/'`"
  55974. - CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-n32/-mabi=n32/'`"
  55975. - LDFLAGS="`echo $LDFLAGS | sed -e 's/-n32//'`"
  55976. - CFLAGS="`echo $CFLAGS | sed -e 's/-64/-mabi=64/'`"
  55977. - CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-64/-mabi=64/'`"
  55978. - LDFLAGS="`echo $LDFLAGS | sed -e 's/-64//'`"
  55979. - fi
  55980. - ;;
  55981. - *)
  55982. - ;;
  55983. - esac
  55984. - ;;
  55985. -esac
  55986. -
  55987. -# Check whether --enable-linux-tproxy was given.
  55988. -if test "${enable_linux_tproxy+set}" = set; then
  55989. - enableval=$enable_linux_tproxy; if test "$enableval" = "yes" ; then
  55990. - echo "Linux Netfilter/TPROXY enabled"
  55991. -
  55992. -cat >>confdefs.h <<\_ACEOF
  55993. -#define LINUX_TPROXY 1
  55994. -_ACEOF
  55995. -
  55996. - LINUX_TPROXY="yes"
  55997. - if test -z "$LINUX_NETFILTER"; then
  55998. - echo "Linux-Netfilter Transparent Proxy automatically enabled"
  55999. - LINUX_NETFILTER="yes"
  56000. - fi
  56001. - else
  56002. -
  56003. -cat >>confdefs.h <<\_ACEOF
  56004. -#define LINUX_TPROXY2 0
  56005. -_ACEOF
  56006. -
  56007. - fi
  56008. -
  56009. -fi
  56010. -
  56011. -
  56012. - if false; then
  56013. - MAKE_LEAKFINDER_TRUE=
  56014. - MAKE_LEAKFINDER_FALSE='#'
  56015. -else
  56016. - MAKE_LEAKFINDER_TRUE='#'
  56017. - MAKE_LEAKFINDER_FALSE=
  56018. -fi
  56019. -
  56020. -# Check whether --enable-leakfinder was given.
  56021. -if test "${enable_leakfinder+set}" = set; then
  56022. - enableval=$enable_leakfinder; if test "$enableval" = "yes" ; then
  56023. - echo "Leak-Finding enabled"
  56024. -
  56025. -cat >>confdefs.h <<\_ACEOF
  56026. -#define USE_LEAKFINDER 1
  56027. -_ACEOF
  56028. -
  56029. - USE_LEAKFINDER="yes"
  56030. - if true; then
  56031. - MAKE_LEAKFINDER_TRUE=
  56032. - MAKE_LEAKFINDER_FALSE='#'
  56033. -else
  56034. - MAKE_LEAKFINDER_TRUE='#'
  56035. - MAKE_LEAKFINDER_FALSE=
  56036. -fi
  56037. -
  56038. - fi
  56039. -
  56040. -fi
  56041. -
  56042. -
  56043. -use_ident=1
  56044. -# Check whether --enable-ident-lookups was given.
  56045. -if test "${enable_ident_lookups+set}" = set; then
  56046. - enableval=$enable_ident_lookups; if test "$enableval" = "no" ; then
  56047. - echo "Disabling Ident Lookups"
  56048. - use_ident=0
  56049. - fi
  56050. -
  56051. -fi
  56052. -
  56053. -if test $use_ident = 1; then
  56054. -
  56055. -cat >>confdefs.h <<\_ACEOF
  56056. -#define USE_IDENT 1
  56057. -_ACEOF
  56058. -
  56059. - if true; then
  56060. - ENABLE_IDENT_TRUE=
  56061. - ENABLE_IDENT_FALSE='#'
  56062. -else
  56063. - ENABLE_IDENT_TRUE='#'
  56064. - ENABLE_IDENT_FALSE=
  56065. -fi
  56066. -
  56067. -else
  56068. - cat >>confdefs.h <<\_ACEOF
  56069. -#define USE_IDENT 0
  56070. -_ACEOF
  56071. -
  56072. - if false; then
  56073. - ENABLE_IDENT_TRUE=
  56074. - ENABLE_IDENT_FALSE='#'
  56075. -else
  56076. - ENABLE_IDENT_TRUE='#'
  56077. - ENABLE_IDENT_FALSE=
  56078. -fi
  56079. -
  56080. -fi
  56081. -
  56082. - if false; then
  56083. - USE_DNSSERVER_TRUE=
  56084. - USE_DNSSERVER_FALSE='#'
  56085. -else
  56086. - USE_DNSSERVER_TRUE='#'
  56087. - USE_DNSSERVER_FALSE=
  56088. -fi
  56089. -
  56090. -use_dnsserver=
  56091. -# Check whether --enable-internal-dns was given.
  56092. -if test "${enable_internal_dns+set}" = set; then
  56093. - enableval=$enable_internal_dns; if test "$enableval" = "no" ; then
  56094. - echo "Disabling Internal DNS queries"
  56095. - use_dnsserver="yes"
  56096. - fi
  56097. -
  56098. -fi
  56099. -
  56100. -if test "$use_dnsserver" = "yes"; then
  56101. -
  56102. -cat >>confdefs.h <<\_ACEOF
  56103. -#define USE_DNSSERVERS 1
  56104. -_ACEOF
  56105. -
  56106. - if true; then
  56107. - USE_DNSSERVER_TRUE=
  56108. - USE_DNSSERVER_FALSE='#'
  56109. -else
  56110. - USE_DNSSERVER_TRUE='#'
  56111. - USE_DNSSERVER_FALSE=
  56112. -fi
  56113. -
  56114. -fi
  56115. -
  56116. -# Check whether --enable-default-hostsfile was given.
  56117. -if test "${enable_default_hostsfile+set}" = set; then
  56118. - enableval=$enable_default_hostsfile;
  56119. - if test "$enableval" != "none" ; then
  56120. - if test -f $enableval; then
  56121. - OPT_DEFAULT_HOSTS=$enableval
  56122. - else
  56123. - echo "Warning Unable to find $enableval"
  56124. - sleep 5
  56125. - fi
  56126. - else
  56127. - OPT_DEFAULT_HOSTS="none"
  56128. - fi
  56129. - echo "Default hosts file set to: $enableval"
  56130. -
  56131. -else
  56132. - OPT_DEFAULT_HOSTS="/etc/hosts"
  56133. -fi
  56134. -
  56135. -
  56136. -
  56137. -# Check whether --enable-auth was given.
  56138. -if test "${enable_auth+set}" = set; then
  56139. - enableval=$enable_auth; case $enableval in
  56140. - yes)
  56141. - for dir in $srcdir/src/auth/*; do
  56142. - module="`basename $dir`"
  56143. - if test -d "$dir" && test "$module" != CVS; then
  56144. - AUTH_MODULES="$AUTH_MODULES $module"
  56145. - fi
  56146. - done
  56147. - ;;
  56148. - no)
  56149. - ;;
  56150. - *)
  56151. - AUTH_MODULES="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
  56152. - ;;
  56153. - esac
  56154. -
  56155. -else
  56156. - if test -z "$AUTH_MODULES"; then
  56157. - AUTH_MODULES="ntlm basic digest negotiate"
  56158. - fi
  56159. -
  56160. -fi
  56161. -
  56162. -if test -n "$AUTH_MODULES"; then
  56163. - for module in $AUTH_MODULES; do
  56164. - if test -d $srcdir/src/auth/$module; then
  56165. - :
  56166. - else
  56167. - echo "ERROR: Auth scheme $module does not exists"
  56168. - exit 1
  56169. - fi
  56170. - eval AUTH_MODULE_${module}=yes
  56171. - done
  56172. - echo "Auth scheme modules built: $AUTH_MODULES"
  56173. - AUTH_OBJS="auth/lib`echo $AUTH_MODULES|sed -e 's% %.a auth/lib%g'`.a"
  56174. - AUTH_LIBS="`echo $AUTH_OBJS|sed -e 's%auth/%%g'`"
  56175. -else
  56176. - echo "Auth scheme modules built: None"
  56177. -fi
  56178. -AUTH_LINKOBJS=
  56179. -for module in $AUTH_MODULES; do
  56180. - AUTH_LINKOBJS="$AUTH_LINKOBJS auth/${module}/${module}Scheme.o"
  56181. -done
  56182. -
  56183. -
  56184. -
  56185. -
  56186. -
  56187. -test -n "$AUTH_MODULE_basic" &&
  56188. -cat >>confdefs.h <<\_ACEOF
  56189. -#define HAVE_AUTH_MODULE_BASIC 1
  56190. -_ACEOF
  56191. -
  56192. -test -n "$AUTH_MODULE_digest" &&
  56193. -cat >>confdefs.h <<\_ACEOF
  56194. -#define HAVE_AUTH_MODULE_DIGEST 1
  56195. -_ACEOF
  56196. -
  56197. -test -n "$AUTH_MODULE_ntlm" &&
  56198. -cat >>confdefs.h <<\_ACEOF
  56199. -#define HAVE_AUTH_MODULE_NTLM 1
  56200. -_ACEOF
  56201. -
  56202. -test -n "$AUTH_MODULE_negotiate" &&
  56203. -cat >>confdefs.h <<\_ACEOF
  56204. -#define HAVE_AUTH_MODULE_NEGOTIATE 1
  56205. -_ACEOF
  56206. -
  56207. -
  56208. -if test -n "$AUTH_MODULE_basic"; then
  56209. - BASIC_AUTH_HELPERS="all"
  56210. -fi
  56211. -# Check whether --enable-basic-auth-helpers was given.
  56212. -if test "${enable_basic_auth_helpers+set}" = set; then
  56213. - enableval=$enable_basic_auth_helpers; case "$enableval" in
  56214. - yes)
  56215. - BASIC_AUTH_HELPERS="all"
  56216. - ;;
  56217. - no)
  56218. - BASIC_AUTH_HELPERS=""
  56219. - ;;
  56220. - *)
  56221. - if test -z "$AUTH_MODULE_basic"; then
  56222. - echo "WARNING: Basic auth helpers selected without the basic scheme enabled"
  56223. - sleep 15
  56224. - fi
  56225. - BASIC_AUTH_HELPERS="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
  56226. - ;;
  56227. - esac
  56228. -
  56229. -fi
  56230. -
  56231. -if test "$BASIC_AUTH_HELPERS" = "all" ; then
  56232. - BASIC_AUTH_HELPERS=""
  56233. - for dir in $srcdir/helpers/basic_auth/*; do
  56234. - helper="`basename $dir`"
  56235. - if test -f $dir/config.test && sh $dir/config.test "$@"; then
  56236. - BASIC_AUTH_HELPERS="$BASIC_AUTH_HELPERS $helper"
  56237. - fi
  56238. - done
  56239. -fi
  56240. -if test -n "$BASIC_AUTH_HELPERS"; then
  56241. - for helper in $BASIC_AUTH_HELPERS; do
  56242. - if test -d $srcdir/helpers/basic_auth/$helper; then
  56243. - case $helper in
  56244. - SASL)
  56245. - require_sasl=yes
  56246. - ;;
  56247. - esac
  56248. - else
  56249. - echo "ERROR: Basic auth helper $helper does not exists"
  56250. - exit 1
  56251. - fi
  56252. - done
  56253. - echo "Basic auth helpers built: $BASIC_AUTH_HELPERS"
  56254. -fi
  56255. -
  56256. -
  56257. -if test -n "$AUTH_MODULE_ntlm"; then
  56258. - NTLM_AUTH_HELPERS="all"
  56259. -fi
  56260. -# Check whether --enable-ntlm-auth-helpers was given.
  56261. -if test "${enable_ntlm_auth_helpers+set}" = set; then
  56262. - enableval=$enable_ntlm_auth_helpers; case "$enableval" in
  56263. - yes)
  56264. - NTLM_AUTH_HELPERS="all"
  56265. - ;;
  56266. - no)
  56267. - NTLM_AUTH_HELPERS=""
  56268. - ;;
  56269. - *)
  56270. - NTLM_AUTH_HELPERS="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
  56271. - ;;
  56272. - esac
  56273. -
  56274. -fi
  56275. -
  56276. -if test "$NTLM_AUTH_HELPERS" = "all" ; then
  56277. - NTLM_AUTH_HELPERS=""
  56278. - for dir in $srcdir/helpers/ntlm_auth/*; do
  56279. - helper="`basename $dir`"
  56280. - if test -f $dir/config.test && sh $dir/config.test "$@"; then
  56281. - NTLM_AUTH_HELPERS="$NTLM_AUTH_HELPERS $helper"
  56282. - fi
  56283. - done
  56284. -fi
  56285. -if test -n "$NTLM_AUTH_HELPERS"; then
  56286. - for helper in $NTLM_AUTH_HELPERS; do
  56287. - if test -d $srcdir/helpers/ntlm_auth/$helper; then
  56288. - :
  56289. - else
  56290. - echo "ERROR: NTLM Auth helper $helper does not exists"
  56291. - exit 1
  56292. - fi
  56293. - done
  56294. - echo "NTLM auth helpers built: $NTLM_AUTH_HELPERS"
  56295. -fi
  56296. -
  56297. -
  56298. -if test -n "$AUTH_MODULE_negotiate"; then
  56299. - NEGOTIATE_AUTH_HELPERS="all"
  56300. -fi
  56301. -# Check whether --enable-negotiate-auth-helpers was given.
  56302. -if test "${enable_negotiate_auth_helpers+set}" = set; then
  56303. - enableval=$enable_negotiate_auth_helpers; case "$enableval" in
  56304. - yes)
  56305. - NEGOTIATE_AUTH_HELPERS="all"
  56306. - ;;
  56307. - no)
  56308. - NEGOTIATE_AUTH_HELPERS=""
  56309. - ;;
  56310. - *)
  56311. - NEGOTIATE_AUTH_HELPERS="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
  56312. - ;;
  56313. - esac
  56314. -
  56315. -fi
  56316. -
  56317. -if test "$NEGOTIATE_AUTH_HELPERS" = "all" ; then
  56318. - NEGOTIATE_AUTH_HELPERS=""
  56319. - for dir in $srcdir/helpers/negotiate_auth/*; do
  56320. - helper="`basename $dir`"
  56321. - if test -f $dir/config.test && sh $dir/config.test "$@"; then
  56322. - NEGOTIATE_AUTH_HELPERS="$NEGOTIATE_AUTH_HELPERS $helper"
  56323. - fi
  56324. - done
  56325. -fi
  56326. -if test -n "$NEGOTIATE_AUTH_HELPERS"; then
  56327. - for helper in $NEGOTIATE_AUTH_HELPERS; do
  56328. - if test -d $srcdir/helpers/negotiate_auth/$helper; then
  56329. - :
  56330. - else
  56331. - echo "ERROR: Negotiate Auth helper $helper does not exists"
  56332. - exit 1
  56333. - fi
  56334. - done
  56335. - echo "Negotiate auth helpers built: $NEGOTIATE_AUTH_HELPERS"
  56336. -fi
  56337. -
  56338. -
  56339. -if test -n "$AUTH_MODULE_digest"; then
  56340. - DIGEST_AUTH_HELPERS=all
  56341. -fi
  56342. -# Check whether --enable-digest-auth-helpers was given.
  56343. -if test "${enable_digest_auth_helpers+set}" = set; then
  56344. - enableval=$enable_digest_auth_helpers; case "$enableval" in
  56345. - yes)
  56346. - DIGEST_AUTH_HELPERS="all"
  56347. - ;;
  56348. - no)
  56349. - DIGEST_AUTH_HELPERS=""
  56350. - ;;
  56351. - *)
  56352. - DIGEST_AUTH_HELPERS="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
  56353. - ;;
  56354. - esac
  56355. -
  56356. -fi
  56357. -
  56358. -if test "$DIGEST_AUTH_HELPERS" = "all" ; then
  56359. - DIGEST_AUTH_HELPERS=""
  56360. - for dir in $srcdir/helpers/digest_auth/*; do
  56361. - helper="`basename $dir`"
  56362. - if test -f $dir/config.test && sh $dir/config.test "$@"; then
  56363. - DIGEST_AUTH_HELPERS="$DIGEST_AUTH_HELPERS $helper"
  56364. - fi
  56365. - done
  56366. -fi
  56367. -if test -n "$DIGEST_AUTH_HELPERS"; then
  56368. - for helper in $DIGEST_AUTH_HELPERS; do
  56369. - if test -f $srcdir/helpers/digest_auth/$helper/Makefile.in; then
  56370. - :
  56371. - else
  56372. - echo "ERROR: digest auth helper $helper does not exists"
  56373. - exit 1
  56374. - fi
  56375. - done
  56376. - echo "Digest auth helpers built: $DIGEST_AUTH_HELPERS"
  56377. -fi
  56378. -
  56379. -
  56380. -if `echo "$NEGOTIATE_AUTH_HELPERS" | $EGREP "squid_kerb_auth|all" >/dev/null`; then
  56381. - # Extract the first word of "krb5-config", so it can be a program name with args.
  56382. -set dummy krb5-config; ac_word=$2
  56383. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  56384. -$as_echo_n "checking for $ac_word... " >&6; }
  56385. -if test "${ac_cv_prog_ac_krb5_config+set}" = set; then
  56386. - $as_echo_n "(cached) " >&6
  56387. -else
  56388. - if test -n "$ac_krb5_config"; then
  56389. - ac_cv_prog_ac_krb5_config="$ac_krb5_config" # Let the user override the test.
  56390. -else
  56391. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  56392. -for as_dir in $PATH
  56393. -do
  56394. - IFS=$as_save_IFS
  56395. - test -z "$as_dir" && as_dir=.
  56396. - for ac_exec_ext in '' $ac_executable_extensions; do
  56397. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  56398. - ac_cv_prog_ac_krb5_config="yes"
  56399. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  56400. - break 2
  56401. - fi
  56402. -done
  56403. -done
  56404. -IFS=$as_save_IFS
  56405. -
  56406. - test -z "$ac_cv_prog_ac_krb5_config" && ac_cv_prog_ac_krb5_config="no"
  56407. -fi
  56408. -fi
  56409. -ac_krb5_config=$ac_cv_prog_ac_krb5_config
  56410. -if test -n "$ac_krb5_config"; then
  56411. - { $as_echo "$as_me:$LINENO: result: $ac_krb5_config" >&5
  56412. -$as_echo "$ac_krb5_config" >&6; }
  56413. -else
  56414. - { $as_echo "$as_me:$LINENO: result: no" >&5
  56415. -$as_echo "no" >&6; }
  56416. -fi
  56417. -
  56418. -
  56419. - if test "x$ac_krb5_config" = "xyes" ; then
  56420. - ac_heimdal=`krb5-config --version 2>/dev/null | grep -i heimdal`
  56421. - ac_solaris=`krb5-config --version 2>/dev/null | grep -i solaris`
  56422. - if test "x$ac_heimdal" != "x" ; then
  56423. -
  56424. -cat >>confdefs.h <<\_ACEOF
  56425. -#define HAVE_HEIMDAL_KERBEROS 1
  56426. -_ACEOF
  56427. -
  56428. - else
  56429. -
  56430. -cat >>confdefs.h <<\_ACEOF
  56431. -#define HAVE_MIT_KERBEROS 1
  56432. -_ACEOF
  56433. -
  56434. - fi
  56435. - if test "x$ac_solaris" != "x" ; then
  56436. - KRB5INCS="-I/usr/include/gssapi"
  56437. - KRB5LIBS="-L/usr/lib -R/usr/lib -lgss -lresolv -lsocket -lnsl"
  56438. - else
  56439. - KRB5INCS=`krb5-config --cflags gssapi 2>/dev/null`
  56440. - KRB5LIBS=`krb5-config --libs gssapi 2>/dev/null`
  56441. - fi
  56442. -
  56443. -
  56444. -
  56445. -
  56446. -for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_krb5.h gssapi/gssapi_generic.h
  56447. -do
  56448. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  56449. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  56450. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  56451. -$as_echo_n "checking for $ac_header... " >&6; }
  56452. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  56453. - $as_echo_n "(cached) " >&6
  56454. -fi
  56455. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  56456. - $as_echo "$as_val"'`
  56457. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  56458. -$as_echo "$ac_res" >&6; }
  56459. -else
  56460. - # Is the header compilable?
  56461. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  56462. -$as_echo_n "checking $ac_header usability... " >&6; }
  56463. -cat >conftest.$ac_ext <<_ACEOF
  56464. -/* confdefs.h. */
  56465. -_ACEOF
  56466. -cat confdefs.h >>conftest.$ac_ext
  56467. -cat >>conftest.$ac_ext <<_ACEOF
  56468. -/* end confdefs.h. */
  56469. -$ac_includes_default
  56470. -#include <$ac_header>
  56471. -_ACEOF
  56472. -rm -f conftest.$ac_objext
  56473. -if { (ac_try="$ac_compile"
  56474. -case "(($ac_try" in
  56475. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  56476. - *) ac_try_echo=$ac_try;;
  56477. -esac
  56478. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  56479. -$as_echo "$ac_try_echo") >&5
  56480. - (eval "$ac_compile") 2>conftest.er1
  56481. - ac_status=$?
  56482. - grep -v '^ *+' conftest.er1 >conftest.err
  56483. - rm -f conftest.er1
  56484. - cat conftest.err >&5
  56485. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  56486. - (exit $ac_status); } && {
  56487. - test -z "$ac_c_werror_flag" ||
  56488. - test ! -s conftest.err
  56489. - } && test -s conftest.$ac_objext; then
  56490. - ac_header_compiler=yes
  56491. -else
  56492. - $as_echo "$as_me: failed program was:" >&5
  56493. -sed 's/^/| /' conftest.$ac_ext >&5
  56494. -
  56495. - ac_header_compiler=no
  56496. -fi
  56497. -
  56498. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  56499. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  56500. -$as_echo "$ac_header_compiler" >&6; }
  56501. -
  56502. -# Is the header present?
  56503. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  56504. -$as_echo_n "checking $ac_header presence... " >&6; }
  56505. -cat >conftest.$ac_ext <<_ACEOF
  56506. -/* confdefs.h. */
  56507. -_ACEOF
  56508. -cat confdefs.h >>conftest.$ac_ext
  56509. -cat >>conftest.$ac_ext <<_ACEOF
  56510. -/* end confdefs.h. */
  56511. -#include <$ac_header>
  56512. -_ACEOF
  56513. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  56514. -case "(($ac_try" in
  56515. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  56516. - *) ac_try_echo=$ac_try;;
  56517. -esac
  56518. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  56519. -$as_echo "$ac_try_echo") >&5
  56520. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  56521. - ac_status=$?
  56522. - grep -v '^ *+' conftest.er1 >conftest.err
  56523. - rm -f conftest.er1
  56524. - cat conftest.err >&5
  56525. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  56526. - (exit $ac_status); } >/dev/null && {
  56527. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  56528. - test ! -s conftest.err
  56529. - }; then
  56530. - ac_header_preproc=yes
  56531. -else
  56532. - $as_echo "$as_me: failed program was:" >&5
  56533. -sed 's/^/| /' conftest.$ac_ext >&5
  56534. -
  56535. - ac_header_preproc=no
  56536. -fi
  56537. -
  56538. -rm -f conftest.err conftest.$ac_ext
  56539. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  56540. -$as_echo "$ac_header_preproc" >&6; }
  56541. -
  56542. -# So? What about this header?
  56543. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  56544. - yes:no: )
  56545. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  56546. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  56547. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  56548. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  56549. - ac_header_preproc=yes
  56550. - ;;
  56551. - no:yes:* )
  56552. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  56553. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  56554. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  56555. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  56556. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  56557. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  56558. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  56559. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  56560. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  56561. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  56562. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  56563. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  56564. - ( cat <<\_ASBOX
  56565. -## ----------------------------------------------- ##
  56566. -## Report this to http://www.squid-cache.org/bugs/ ##
  56567. -## ----------------------------------------------- ##
  56568. -_ASBOX
  56569. - ) | sed "s/^/$as_me: WARNING: /" >&2
  56570. - ;;
  56571. -esac
  56572. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  56573. -$as_echo_n "checking for $ac_header... " >&6; }
  56574. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  56575. - $as_echo_n "(cached) " >&6
  56576. -else
  56577. - eval "$as_ac_Header=\$ac_header_preproc"
  56578. -fi
  56579. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  56580. - $as_echo "$as_val"'`
  56581. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  56582. -$as_echo "$ac_res" >&6; }
  56583. -
  56584. -fi
  56585. -if test `eval 'as_val=${'$as_ac_Header'}
  56586. - $as_echo "$as_val"'` = yes; then
  56587. - cat >>confdefs.h <<_ACEOF
  56588. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  56589. -_ACEOF
  56590. -
  56591. -fi
  56592. -
  56593. -done
  56594. -
  56595. - fi
  56596. - old_CPPFLAGS=$CPPFLAGS
  56597. - CPPFLAGS="$CPPFLAGS $KRB5INCS"
  56598. - old_LIBS=$LIBS
  56599. - LIBS="$LIBS $KRB5LIBS"
  56600. - { $as_echo "$as_me:$LINENO: checking for SPNEGO support" >&5
  56601. -$as_echo_n "checking for SPNEGO support... " >&6; }
  56602. -if test "${ac_cv_have_spnego+set}" = set; then
  56603. - $as_echo_n "(cached) " >&6
  56604. -else
  56605. -
  56606. - if test "$cross_compiling" = yes; then
  56607. - { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  56608. -See \`config.log' for more details." >&5
  56609. -$as_echo "$as_me: error: cannot run test program while cross compiling
  56610. -See \`config.log' for more details." >&2;}
  56611. - { (exit 1); exit 1; }; }
  56612. -else
  56613. - cat >conftest.$ac_ext <<_ACEOF
  56614. -/* confdefs.h. */
  56615. -_ACEOF
  56616. -cat confdefs.h >>conftest.$ac_ext
  56617. -cat >>conftest.$ac_ext <<_ACEOF
  56618. -/* end confdefs.h. */
  56619. -
  56620. -#ifdef HAVE_HEIMDAL_KERBEROS
  56621. -#ifdef HAVE_GSSAPI_GSSAPI_H
  56622. -#include <gssapi/gssapi.h>
  56623. -#elif defined(HAVE_GSSAPI_H)
  56624. -#include <gssapi.h>
  56625. -#endif
  56626. -#else
  56627. -#ifdef HAVE_GSSAPI_GSSAPI_H
  56628. -#include <gssapi/gssapi.h>
  56629. -#elif defined(HAVE_GSSAPI_H)
  56630. -#include <gssapi.h>
  56631. -#endif
  56632. -#ifdef HAVE_GSSAPI_GSSAPI_KRB5_H
  56633. -#include <gssapi/gssapi_krb5.h>
  56634. -#endif
  56635. -#ifdef HAVE_GSSAPI_GSSAPI_GENERIC_H
  56636. -#include <gssapi/gssapi_generic.h>
  56637. -#endif
  56638. -#endif
  56639. -#include <string.h>
  56640. -int main(int argc, char *argv[]) {
  56641. - OM_uint32 major_status,minor_status;
  56642. - gss_OID_set gss_mech_set;
  56643. - int i;
  56644. -
  56645. -static gss_OID_desc _gss_mech_spnego = {6, (void *)"\x2b\x06\x01\x05\x05\x02"};
  56646. -gss_OID gss_mech_spnego = &_gss_mech_spnego;
  56647. -
  56648. - major_status = gss_indicate_mechs( &minor_status, &gss_mech_set);
  56649. -
  56650. - for (i=0;i<gss_mech_set->count;i++) {
  56651. - if (!memcmp(gss_mech_set->elements[i].elements,gss_mech_spnego->elements,gss_mech_set->elements[i].length)) {
  56652. - return 0;
  56653. - }
  56654. - }
  56655. -
  56656. - return 1;
  56657. -}
  56658. -_ACEOF
  56659. -rm -f conftest$ac_exeext
  56660. -if { (ac_try="$ac_link"
  56661. -case "(($ac_try" in
  56662. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  56663. - *) ac_try_echo=$ac_try;;
  56664. -esac
  56665. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  56666. -$as_echo "$ac_try_echo") >&5
  56667. - (eval "$ac_link") 2>&5
  56668. - ac_status=$?
  56669. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  56670. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  56671. - { (case "(($ac_try" in
  56672. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  56673. - *) ac_try_echo=$ac_try;;
  56674. -esac
  56675. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  56676. -$as_echo "$ac_try_echo") >&5
  56677. - (eval "$ac_try") 2>&5
  56678. - ac_status=$?
  56679. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  56680. - (exit $ac_status); }; }; then
  56681. - ac_cv_have_spnego=yes
  56682. -else
  56683. - $as_echo "$as_me: program exited with status $ac_status" >&5
  56684. -$as_echo "$as_me: failed program was:" >&5
  56685. -sed 's/^/| /' conftest.$ac_ext >&5
  56686. -
  56687. -( exit $ac_status )
  56688. -ac_cv_have_spnego=no
  56689. -fi
  56690. -rm -rf conftest.dSYM
  56691. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  56692. -fi
  56693. -
  56694. -
  56695. -fi
  56696. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_spnego" >&5
  56697. -$as_echo "$ac_cv_have_spnego" >&6; }
  56698. - LIBS=$old_LIBS
  56699. - CPPFLAGS=$old_CPPFLAGS
  56700. - if test x"$ac_cv_have_spnego" = x"yes"; then
  56701. -
  56702. -cat >>confdefs.h <<\_ACEOF
  56703. -#define HAVE_SPNEGO 1
  56704. -_ACEOF
  56705. -
  56706. - fi
  56707. -
  56708. -
  56709. -fi
  56710. - if test x"$ac_cv_have_spnego" = x"yes" ; then
  56711. - HAVE_SPNEGO_TRUE=
  56712. - HAVE_SPNEGO_FALSE='#'
  56713. -else
  56714. - HAVE_SPNEGO_TRUE='#'
  56715. - HAVE_SPNEGO_FALSE=
  56716. -fi
  56717. -
  56718. -
  56719. -# Check whether --enable-ntlm-fail-open was given.
  56720. -if test "${enable_ntlm_fail_open+set}" = set; then
  56721. - enableval=$enable_ntlm_fail_open; if test "$enableval" = "yes" ; then
  56722. -
  56723. -cat >>confdefs.h <<\_ACEOF
  56724. -#define NTLM_FAIL_OPEN 1
  56725. -_ACEOF
  56726. -
  56727. - fi
  56728. -
  56729. -fi
  56730. -
  56731. -
  56732. -EXTERNAL_ACL_HELPERS=all
  56733. -# Check whether --enable-external-acl-helpers was given.
  56734. -if test "${enable_external_acl_helpers+set}" = set; then
  56735. - enableval=$enable_external_acl_helpers; case "$enableval" in
  56736. - yes)
  56737. - EXTERNAL_ACL_HELPERS=all
  56738. - ;;
  56739. - no)
  56740. - EXTERNAL_ACL_HELPERS=""
  56741. - ;;
  56742. - *)
  56743. - EXTERNAL_ACL_HELPERS="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
  56744. - ;;
  56745. - esac
  56746. -
  56747. -fi
  56748. -
  56749. -if test "$EXTERNAL_ACL_HELPERS" = "all" ; then
  56750. - EXTERNAL_ACL_HELPERS=""
  56751. - for dir in $srcdir/helpers/external_acl/*; do
  56752. - helper="`basename $dir`"
  56753. - if test -f $dir/config.test && sh $dir/config.test "$@"; then
  56754. - EXTERNAL_ACL_HELPERS="$EXTERNAL_ACL_HELPERS $helper"
  56755. - fi
  56756. - done
  56757. -fi
  56758. -if test -n "$EXTERNAL_ACL_HELPERS"; then
  56759. - for helper in $EXTERNAL_ACL_HELPERS; do
  56760. - if test -f $srcdir/helpers/external_acl/$helper/Makefile.in; then
  56761. - :
  56762. - else
  56763. - echo "ERROR: external acl helper $helper does not exists"
  56764. - exit 1
  56765. - fi
  56766. - done
  56767. - echo "External acl helpers built: $EXTERNAL_ACL_HELPERS"
  56768. -fi
  56769. -
  56770. -
  56771. -
  56772. -# Check whether --with-valgrind-debug was given.
  56773. -if test "${with_valgrind_debug+set}" = set; then
  56774. - withval=$with_valgrind_debug; case $withval in
  56775. - yes)
  56776. - valgrind=1
  56777. - ;;
  56778. - no)
  56779. - valgrind=
  56780. - ;;
  56781. - *)
  56782. - CPPFLAGS="$CPPFLAGS -I${enableval}/include"
  56783. - valgrind=1
  56784. - ;;
  56785. - esac
  56786. - if test $valgrind; then
  56787. -
  56788. -cat >>confdefs.h <<\_ACEOF
  56789. -#define WITH_VALGRIND 1
  56790. -_ACEOF
  56791. -
  56792. - echo "Valgrind debug support enabled"
  56793. - fi
  56794. -
  56795. -fi
  56796. -
  56797. -
  56798. -# Check whether --enable-mempools was given.
  56799. -if test "${enable_mempools+set}" = set; then
  56800. - enableval=$enable_mempools; if test "$enableval" = "no" ; then
  56801. - echo "memPools disabled"
  56802. -
  56803. -cat >>confdefs.h <<\_ACEOF
  56804. -#define DISABLE_POOLS 1
  56805. -_ACEOF
  56806. -
  56807. - else
  56808. -
  56809. -cat >>confdefs.h <<\_ACEOF
  56810. -#define DISABLE_POOLS 0
  56811. -_ACEOF
  56812. -
  56813. - fi
  56814. -
  56815. -else
  56816. -
  56817. -cat >>confdefs.h <<\_ACEOF
  56818. -#define DISABLE_POOLS 0
  56819. -_ACEOF
  56820. -
  56821. -
  56822. -fi
  56823. -
  56824. -
  56825. -# Check whether --enable-win32-service was given.
  56826. -if test "${enable_win32_service+set}" = set; then
  56827. - enableval=$enable_win32_service; if test "$enableval" = "yes" ; then
  56828. - echo "Enabling WIN32 run service mode"
  56829. -
  56830. -cat >>confdefs.h <<\_ACEOF
  56831. -#define USE_WIN32_SERVICE 1
  56832. -_ACEOF
  56833. -
  56834. - fi
  56835. -
  56836. -fi
  56837. -
  56838. -
  56839. -
  56840. -if test "$require_sasl" = "yes"; then
  56841. -
  56842. -
  56843. -for ac_header in sasl/sasl.h sasl.h
  56844. -do
  56845. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  56846. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  56847. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  56848. -$as_echo_n "checking for $ac_header... " >&6; }
  56849. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  56850. - $as_echo_n "(cached) " >&6
  56851. -fi
  56852. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  56853. - $as_echo "$as_val"'`
  56854. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  56855. -$as_echo "$ac_res" >&6; }
  56856. -else
  56857. - # Is the header compilable?
  56858. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  56859. -$as_echo_n "checking $ac_header usability... " >&6; }
  56860. -cat >conftest.$ac_ext <<_ACEOF
  56861. -/* confdefs.h. */
  56862. -_ACEOF
  56863. -cat confdefs.h >>conftest.$ac_ext
  56864. -cat >>conftest.$ac_ext <<_ACEOF
  56865. -/* end confdefs.h. */
  56866. -$ac_includes_default
  56867. -#include <$ac_header>
  56868. -_ACEOF
  56869. -rm -f conftest.$ac_objext
  56870. -if { (ac_try="$ac_compile"
  56871. -case "(($ac_try" in
  56872. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  56873. - *) ac_try_echo=$ac_try;;
  56874. -esac
  56875. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  56876. -$as_echo "$ac_try_echo") >&5
  56877. - (eval "$ac_compile") 2>conftest.er1
  56878. - ac_status=$?
  56879. - grep -v '^ *+' conftest.er1 >conftest.err
  56880. - rm -f conftest.er1
  56881. - cat conftest.err >&5
  56882. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  56883. - (exit $ac_status); } && {
  56884. - test -z "$ac_c_werror_flag" ||
  56885. - test ! -s conftest.err
  56886. - } && test -s conftest.$ac_objext; then
  56887. - ac_header_compiler=yes
  56888. -else
  56889. - $as_echo "$as_me: failed program was:" >&5
  56890. -sed 's/^/| /' conftest.$ac_ext >&5
  56891. -
  56892. - ac_header_compiler=no
  56893. -fi
  56894. -
  56895. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  56896. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  56897. -$as_echo "$ac_header_compiler" >&6; }
  56898. -
  56899. -# Is the header present?
  56900. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  56901. -$as_echo_n "checking $ac_header presence... " >&6; }
  56902. -cat >conftest.$ac_ext <<_ACEOF
  56903. -/* confdefs.h. */
  56904. -_ACEOF
  56905. -cat confdefs.h >>conftest.$ac_ext
  56906. -cat >>conftest.$ac_ext <<_ACEOF
  56907. -/* end confdefs.h. */
  56908. -#include <$ac_header>
  56909. -_ACEOF
  56910. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  56911. -case "(($ac_try" in
  56912. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  56913. - *) ac_try_echo=$ac_try;;
  56914. -esac
  56915. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  56916. -$as_echo "$ac_try_echo") >&5
  56917. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  56918. - ac_status=$?
  56919. - grep -v '^ *+' conftest.er1 >conftest.err
  56920. - rm -f conftest.er1
  56921. - cat conftest.err >&5
  56922. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  56923. - (exit $ac_status); } >/dev/null && {
  56924. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  56925. - test ! -s conftest.err
  56926. - }; then
  56927. - ac_header_preproc=yes
  56928. -else
  56929. - $as_echo "$as_me: failed program was:" >&5
  56930. -sed 's/^/| /' conftest.$ac_ext >&5
  56931. -
  56932. - ac_header_preproc=no
  56933. -fi
  56934. -
  56935. -rm -f conftest.err conftest.$ac_ext
  56936. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  56937. -$as_echo "$ac_header_preproc" >&6; }
  56938. -
  56939. -# So? What about this header?
  56940. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  56941. - yes:no: )
  56942. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  56943. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  56944. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  56945. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  56946. - ac_header_preproc=yes
  56947. - ;;
  56948. - no:yes:* )
  56949. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  56950. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  56951. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  56952. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  56953. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  56954. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  56955. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  56956. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  56957. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  56958. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  56959. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  56960. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  56961. - ( cat <<\_ASBOX
  56962. -## ----------------------------------------------- ##
  56963. -## Report this to http://www.squid-cache.org/bugs/ ##
  56964. -## ----------------------------------------------- ##
  56965. -_ASBOX
  56966. - ) | sed "s/^/$as_me: WARNING: /" >&2
  56967. - ;;
  56968. -esac
  56969. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  56970. -$as_echo_n "checking for $ac_header... " >&6; }
  56971. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  56972. - $as_echo_n "(cached) " >&6
  56973. -else
  56974. - eval "$as_ac_Header=\$ac_header_preproc"
  56975. -fi
  56976. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  56977. - $as_echo "$as_val"'`
  56978. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  56979. -$as_echo "$ac_res" >&6; }
  56980. -
  56981. -fi
  56982. -if test `eval 'as_val=${'$as_ac_Header'}
  56983. - $as_echo "$as_val"'` = yes; then
  56984. - cat >>confdefs.h <<_ACEOF
  56985. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  56986. -_ACEOF
  56987. -
  56988. -fi
  56989. -
  56990. -done
  56991. -
  56992. - if test "$ac_cv_header_sasl_sasl_h" = "yes"; then
  56993. - echo "using SASL2"
  56994. - LIBSASL="-lsasl2"
  56995. - else
  56996. - if test "$ac_cv_header_sasl_h" = "yes"; then
  56997. - echo "using SASL"
  56998. - LIBSASL="-lsasl"
  56999. - else
  57000. - echo "ERROR: Neither SASL nor SASL2 found"
  57001. - exit 1
  57002. - fi
  57003. - fi
  57004. -
  57005. -fi
  57006. -
  57007. -# Check whether --enable-unlinkd was given.
  57008. -if test "${enable_unlinkd+set}" = set; then
  57009. - enableval=$enable_unlinkd; if test "$enableval" = "no" ; then
  57010. - use_unlinkd=no
  57011. - else
  57012. - use_unlinkd=yes
  57013. - fi
  57014. -
  57015. -else
  57016. -
  57017. - # Here we should probably use some magic depending on the selected
  57018. - # storage models
  57019. - use_unlinkd=yes
  57020. -
  57021. -fi
  57022. -
  57023. -if test "$use_unlinkd" = "yes"; then
  57024. - echo "unlinkd enabled"
  57025. -
  57026. -cat >>confdefs.h <<\_ACEOF
  57027. -#define USE_UNLINKD 1
  57028. -_ACEOF
  57029. -
  57030. - if true; then
  57031. - ENABLE_UNLINKD_TRUE=
  57032. - ENABLE_UNLINKD_FALSE='#'
  57033. -else
  57034. - ENABLE_UNLINKD_TRUE='#'
  57035. - ENABLE_UNLINKD_FALSE=
  57036. -fi
  57037. -
  57038. -else
  57039. - echo "unlinkd disabled"
  57040. - if false; then
  57041. - ENABLE_UNLINKD_TRUE=
  57042. - ENABLE_UNLINKD_FALSE='#'
  57043. -else
  57044. - ENABLE_UNLINKD_TRUE='#'
  57045. - ENABLE_UNLINKD_FALSE=
  57046. -fi
  57047. -
  57048. -fi
  57049. -
  57050. -# Check whether --enable-stacktraces was given.
  57051. -if test "${enable_stacktraces+set}" = set; then
  57052. - enableval=$enable_stacktraces; if test "$enableval" = "yes" ; then
  57053. - echo "Enabling automatic stack backtraces on fatal errors"
  57054. -
  57055. -cat >>confdefs.h <<\_ACEOF
  57056. -#define PRINT_STACK_TRACE 1
  57057. -_ACEOF
  57058. -
  57059. - fi
  57060. -
  57061. -fi
  57062. -
  57063. -
  57064. - if false; then
  57065. - ENABLE_XPROF_STATS_TRUE=
  57066. - ENABLE_XPROF_STATS_FALSE='#'
  57067. -else
  57068. - ENABLE_XPROF_STATS_TRUE='#'
  57069. - ENABLE_XPROF_STATS_FALSE=
  57070. -fi
  57071. -
  57072. -# Check whether --enable-cpu-profiling was given.
  57073. -if test "${enable_cpu_profiling+set}" = set; then
  57074. - enableval=$enable_cpu_profiling; if test "$enableval" = "yes" ; then
  57075. - echo "Enabling cpu-profiling"
  57076. -
  57077. -cat >>confdefs.h <<\_ACEOF
  57078. -#define USE_XPROF_STATS 1
  57079. -_ACEOF
  57080. -
  57081. - if true; then
  57082. - ENABLE_XPROF_STATS_TRUE=
  57083. - ENABLE_XPROF_STATS_FALSE='#'
  57084. -else
  57085. - ENABLE_XPROF_STATS_TRUE='#'
  57086. - ENABLE_XPROF_STATS_FALSE=
  57087. -fi
  57088. -
  57089. - fi
  57090. -
  57091. -fi
  57092. -
  57093. -
  57094. -# Check whether --enable-x_accelerator_vary was given.
  57095. -if test "${enable_x_accelerator_vary+set}" = set; then
  57096. - enableval=$enable_x_accelerator_vary; if test "$enableval" = "yes" ; then
  57097. - echo "Enabling support for X-Accelerator-Vary"
  57098. -
  57099. -cat >>confdefs.h <<\_ACEOF
  57100. -#define X_ACCELERATOR_VARY 1
  57101. -_ACEOF
  57102. -
  57103. - fi
  57104. -
  57105. -fi
  57106. -
  57107. -
  57108. -
  57109. -# Check whether --with-filedescriptors was given.
  57110. -if test "${with_filedescriptors+set}" = set; then
  57111. - withval=$with_filedescriptors; squid_filedescriptors_num=$withval
  57112. -fi
  57113. -
  57114. -
  57115. -# Extract the first word of "cppunit-config", so it can be a program name with args.
  57116. -set dummy cppunit-config; ac_word=$2
  57117. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  57118. -$as_echo_n "checking for $ac_word... " >&6; }
  57119. -if test "${ac_cv_path_CPPUNITCONFIG+set}" = set; then
  57120. - $as_echo_n "(cached) " >&6
  57121. -else
  57122. - case $CPPUNITCONFIG in
  57123. - [\\/]* | ?:[\\/]*)
  57124. - ac_cv_path_CPPUNITCONFIG="$CPPUNITCONFIG" # Let the user override the test with a path.
  57125. - ;;
  57126. - *)
  57127. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  57128. -for as_dir in $PATH
  57129. -do
  57130. - IFS=$as_save_IFS
  57131. - test -z "$as_dir" && as_dir=.
  57132. - for ac_exec_ext in '' $ac_executable_extensions; do
  57133. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  57134. - ac_cv_path_CPPUNITCONFIG="$as_dir/$ac_word$ac_exec_ext"
  57135. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  57136. - break 2
  57137. - fi
  57138. -done
  57139. -done
  57140. -IFS=$as_save_IFS
  57141. -
  57142. - test -z "$ac_cv_path_CPPUNITCONFIG" && ac_cv_path_CPPUNITCONFIG="false"
  57143. - ;;
  57144. -esac
  57145. -fi
  57146. -CPPUNITCONFIG=$ac_cv_path_CPPUNITCONFIG
  57147. -if test -n "$CPPUNITCONFIG"; then
  57148. - { $as_echo "$as_me:$LINENO: result: $CPPUNITCONFIG" >&5
  57149. -$as_echo "$CPPUNITCONFIG" >&6; }
  57150. -else
  57151. - { $as_echo "$as_me:$LINENO: result: no" >&5
  57152. -$as_echo "no" >&6; }
  57153. -fi
  57154. -
  57155. -
  57156. -if $CPPUNITCONFIG --help >/dev/null; then
  57157. - echo "using system installed cppunit"
  57158. - SQUID_CPPUNIT_LIBS="`$CPPUNITCONFIG --libs`"
  57159. - SQUID_CPPUNIT_LA=''
  57160. - SQUID_CPPUNIT_INC="`$CPPUNITCONFIG --cflags`"
  57161. -else
  57162. - echo "cppunit does not appear to be installed. squid does not require this, but code testing with 'make check' will fail."
  57163. - SQUID_CPPUNIT_LA=''
  57164. - SQUID_CPPUNIT_LIBS=''
  57165. - SQUID_CPPUNIT_INC=''
  57166. -fi
  57167. -
  57168. -
  57169. -# Check whether --with-cppunit-basedir was given.
  57170. -if test "${with_cppunit_basedir+set}" = set; then
  57171. - withval=$with_cppunit_basedir; if test -f $withval/include/cppunit/TestCase.h; then
  57172. - echo "Using cppunit includes from $withval"
  57173. - SQUID_CPPUNIT_INC="-I${withval}/include"
  57174. - else
  57175. - echo "ERROR: Cannot find cppunit at $withval"
  57176. - exit 1
  57177. - fi
  57178. - if test -f $withval/lib/libcppunit.la; then
  57179. - echo "Using cppunit lib from $withval"
  57180. - SQUID_CPPUNIT_LA="${withval}/lib/libcppunit.la"
  57181. - SQUID_CPPUNIT_LIBS='$(SQUID_CPPUNIT_LA)'
  57182. - else
  57183. - echo "ERROR: Cannot find cppunit at $withval"
  57184. - exit 1
  57185. - fi
  57186. -
  57187. -fi
  57188. -
  57189. -
  57190. -
  57191. -
  57192. -
  57193. -# Force some compilers to use ANSI features
  57194. -#
  57195. -case "$host" in
  57196. - alpha-dec-osf*)
  57197. - if test "$ac_cv_prog_CC" = "cc" ; then
  57198. - echo "adding '-std1' to cc args for $host"
  57199. - CC="cc -std1";
  57200. - ac_cv_prog_CC="$CC"
  57201. - fi
  57202. - ;;
  57203. - *-hp-hpux*)
  57204. - if test "$ac_cv_prog_CC" = "cc" ; then
  57205. - echo "adding '-Ae' to cc args for $host"
  57206. - CC="cc -Ae";
  57207. - ac_cv_prog_CC="$CC"
  57208. - fi
  57209. - ;;
  57210. -esac
  57211. -
  57212. -ac_ext=c
  57213. -ac_cpp='$CPP $CPPFLAGS'
  57214. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  57215. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  57216. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  57217. -{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  57218. -$as_echo_n "checking how to run the C preprocessor... " >&6; }
  57219. -# On Suns, sometimes $CPP names a directory.
  57220. -if test -n "$CPP" && test -d "$CPP"; then
  57221. - CPP=
  57222. -fi
  57223. -if test -z "$CPP"; then
  57224. - if test "${ac_cv_prog_CPP+set}" = set; then
  57225. - $as_echo_n "(cached) " >&6
  57226. -else
  57227. - # Double quotes because CPP needs to be expanded
  57228. - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  57229. - do
  57230. - ac_preproc_ok=false
  57231. -for ac_c_preproc_warn_flag in '' yes
  57232. -do
  57233. - # Use a header file that comes with gcc, so configuring glibc
  57234. - # with a fresh cross-compiler works.
  57235. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  57236. - # <limits.h> exists even on freestanding compilers.
  57237. - # On the NeXT, cc -E runs the code through the compiler's parser,
  57238. - # not just through cpp. "Syntax error" is here to catch this case.
  57239. - cat >conftest.$ac_ext <<_ACEOF
  57240. -/* confdefs.h. */
  57241. -_ACEOF
  57242. -cat confdefs.h >>conftest.$ac_ext
  57243. -cat >>conftest.$ac_ext <<_ACEOF
  57244. -/* end confdefs.h. */
  57245. -#ifdef __STDC__
  57246. -# include <limits.h>
  57247. -#else
  57248. -# include <assert.h>
  57249. -#endif
  57250. - Syntax error
  57251. -_ACEOF
  57252. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  57253. -case "(($ac_try" in
  57254. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  57255. - *) ac_try_echo=$ac_try;;
  57256. -esac
  57257. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  57258. -$as_echo "$ac_try_echo") >&5
  57259. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  57260. - ac_status=$?
  57261. - grep -v '^ *+' conftest.er1 >conftest.err
  57262. - rm -f conftest.er1
  57263. - cat conftest.err >&5
  57264. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  57265. - (exit $ac_status); } >/dev/null && {
  57266. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  57267. - test ! -s conftest.err
  57268. - }; then
  57269. - :
  57270. -else
  57271. - $as_echo "$as_me: failed program was:" >&5
  57272. -sed 's/^/| /' conftest.$ac_ext >&5
  57273. -
  57274. - # Broken: fails on valid input.
  57275. -continue
  57276. -fi
  57277. -
  57278. -rm -f conftest.err conftest.$ac_ext
  57279. -
  57280. - # OK, works on sane cases. Now check whether nonexistent headers
  57281. - # can be detected and how.
  57282. - cat >conftest.$ac_ext <<_ACEOF
  57283. -/* confdefs.h. */
  57284. -_ACEOF
  57285. -cat confdefs.h >>conftest.$ac_ext
  57286. -cat >>conftest.$ac_ext <<_ACEOF
  57287. -/* end confdefs.h. */
  57288. -#include <ac_nonexistent.h>
  57289. -_ACEOF
  57290. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  57291. -case "(($ac_try" in
  57292. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  57293. - *) ac_try_echo=$ac_try;;
  57294. -esac
  57295. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  57296. -$as_echo "$ac_try_echo") >&5
  57297. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  57298. - ac_status=$?
  57299. - grep -v '^ *+' conftest.er1 >conftest.err
  57300. - rm -f conftest.er1
  57301. - cat conftest.err >&5
  57302. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  57303. - (exit $ac_status); } >/dev/null && {
  57304. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  57305. - test ! -s conftest.err
  57306. - }; then
  57307. - # Broken: success on invalid input.
  57308. -continue
  57309. -else
  57310. - $as_echo "$as_me: failed program was:" >&5
  57311. -sed 's/^/| /' conftest.$ac_ext >&5
  57312. -
  57313. - # Passes both tests.
  57314. -ac_preproc_ok=:
  57315. -break
  57316. -fi
  57317. -
  57318. -rm -f conftest.err conftest.$ac_ext
  57319. -
  57320. -done
  57321. -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  57322. -rm -f conftest.err conftest.$ac_ext
  57323. -if $ac_preproc_ok; then
  57324. - break
  57325. -fi
  57326. -
  57327. - done
  57328. - ac_cv_prog_CPP=$CPP
  57329. -
  57330. -fi
  57331. - CPP=$ac_cv_prog_CPP
  57332. -else
  57333. - ac_cv_prog_CPP=$CPP
  57334. -fi
  57335. -{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
  57336. -$as_echo "$CPP" >&6; }
  57337. -ac_preproc_ok=false
  57338. -for ac_c_preproc_warn_flag in '' yes
  57339. -do
  57340. - # Use a header file that comes with gcc, so configuring glibc
  57341. - # with a fresh cross-compiler works.
  57342. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  57343. - # <limits.h> exists even on freestanding compilers.
  57344. - # On the NeXT, cc -E runs the code through the compiler's parser,
  57345. - # not just through cpp. "Syntax error" is here to catch this case.
  57346. - cat >conftest.$ac_ext <<_ACEOF
  57347. -/* confdefs.h. */
  57348. -_ACEOF
  57349. -cat confdefs.h >>conftest.$ac_ext
  57350. -cat >>conftest.$ac_ext <<_ACEOF
  57351. -/* end confdefs.h. */
  57352. -#ifdef __STDC__
  57353. -# include <limits.h>
  57354. -#else
  57355. -# include <assert.h>
  57356. -#endif
  57357. - Syntax error
  57358. -_ACEOF
  57359. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  57360. -case "(($ac_try" in
  57361. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  57362. - *) ac_try_echo=$ac_try;;
  57363. -esac
  57364. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  57365. -$as_echo "$ac_try_echo") >&5
  57366. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  57367. - ac_status=$?
  57368. - grep -v '^ *+' conftest.er1 >conftest.err
  57369. - rm -f conftest.er1
  57370. - cat conftest.err >&5
  57371. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  57372. - (exit $ac_status); } >/dev/null && {
  57373. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  57374. - test ! -s conftest.err
  57375. - }; then
  57376. - :
  57377. -else
  57378. - $as_echo "$as_me: failed program was:" >&5
  57379. -sed 's/^/| /' conftest.$ac_ext >&5
  57380. -
  57381. - # Broken: fails on valid input.
  57382. -continue
  57383. -fi
  57384. -
  57385. -rm -f conftest.err conftest.$ac_ext
  57386. -
  57387. - # OK, works on sane cases. Now check whether nonexistent headers
  57388. - # can be detected and how.
  57389. - cat >conftest.$ac_ext <<_ACEOF
  57390. -/* confdefs.h. */
  57391. -_ACEOF
  57392. -cat confdefs.h >>conftest.$ac_ext
  57393. -cat >>conftest.$ac_ext <<_ACEOF
  57394. -/* end confdefs.h. */
  57395. -#include <ac_nonexistent.h>
  57396. -_ACEOF
  57397. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  57398. -case "(($ac_try" in
  57399. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  57400. - *) ac_try_echo=$ac_try;;
  57401. -esac
  57402. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  57403. -$as_echo "$ac_try_echo") >&5
  57404. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  57405. - ac_status=$?
  57406. - grep -v '^ *+' conftest.er1 >conftest.err
  57407. - rm -f conftest.er1
  57408. - cat conftest.err >&5
  57409. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  57410. - (exit $ac_status); } >/dev/null && {
  57411. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  57412. - test ! -s conftest.err
  57413. - }; then
  57414. - # Broken: success on invalid input.
  57415. -continue
  57416. -else
  57417. - $as_echo "$as_me: failed program was:" >&5
  57418. -sed 's/^/| /' conftest.$ac_ext >&5
  57419. -
  57420. - # Passes both tests.
  57421. -ac_preproc_ok=:
  57422. -break
  57423. -fi
  57424. -
  57425. -rm -f conftest.err conftest.$ac_ext
  57426. -
  57427. -done
  57428. -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  57429. -rm -f conftest.err conftest.$ac_ext
  57430. -if $ac_preproc_ok; then
  57431. - :
  57432. -else
  57433. - { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  57434. -See \`config.log' for more details." >&5
  57435. -$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  57436. -See \`config.log' for more details." >&2;}
  57437. - { (exit 1); exit 1; }; }
  57438. -fi
  57439. -
  57440. -ac_ext=c
  57441. -ac_cpp='$CPP $CPPFLAGS'
  57442. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  57443. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  57444. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  57445. -
  57446. -# Find a good install program. We prefer a C program (faster),
  57447. -# so one script is as good as another. But avoid the broken or
  57448. -# incompatible versions:
  57449. -# SysV /etc/install, /usr/sbin/install
  57450. -# SunOS /usr/etc/install
  57451. -# IRIX /sbin/install
  57452. -# AIX /bin/install
  57453. -# AmigaOS /C/install, which installs bootblocks on floppy discs
  57454. -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  57455. -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  57456. -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  57457. -# OS/2's system install, which has a completely different semantic
  57458. -# ./install, which can be erroneously created by make from ./install.sh.
  57459. -# Reject install programs that cannot install multiple files.
  57460. -{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  57461. -$as_echo_n "checking for a BSD-compatible install... " >&6; }
  57462. -if test -z "$INSTALL"; then
  57463. -if test "${ac_cv_path_install+set}" = set; then
  57464. - $as_echo_n "(cached) " >&6
  57465. -else
  57466. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  57467. -for as_dir in $PATH
  57468. -do
  57469. - IFS=$as_save_IFS
  57470. - test -z "$as_dir" && as_dir=.
  57471. - # Account for people who put trailing slashes in PATH elements.
  57472. -case $as_dir/ in
  57473. - ./ | .// | /cC/* | \
  57474. - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  57475. - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  57476. - /usr/ucb/* ) ;;
  57477. - *)
  57478. - # OSF1 and SCO ODT 3.0 have their own names for install.
  57479. - # Don't use installbsd from OSF since it installs stuff as root
  57480. - # by default.
  57481. - for ac_prog in ginstall scoinst install; do
  57482. - for ac_exec_ext in '' $ac_executable_extensions; do
  57483. - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  57484. - if test $ac_prog = install &&
  57485. - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  57486. - # AIX install. It has an incompatible calling convention.
  57487. - :
  57488. - elif test $ac_prog = install &&
  57489. - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  57490. - # program-specific install script used by HP pwplus--don't use.
  57491. - :
  57492. - else
  57493. - rm -rf conftest.one conftest.two conftest.dir
  57494. - echo one > conftest.one
  57495. - echo two > conftest.two
  57496. - mkdir conftest.dir
  57497. - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  57498. - test -s conftest.one && test -s conftest.two &&
  57499. - test -s conftest.dir/conftest.one &&
  57500. - test -s conftest.dir/conftest.two
  57501. - then
  57502. - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  57503. - break 3
  57504. - fi
  57505. - fi
  57506. - fi
  57507. - done
  57508. - done
  57509. - ;;
  57510. -esac
  57511. -
  57512. -done
  57513. -IFS=$as_save_IFS
  57514. -
  57515. -rm -rf conftest.one conftest.two conftest.dir
  57516. -
  57517. -fi
  57518. - if test "${ac_cv_path_install+set}" = set; then
  57519. - INSTALL=$ac_cv_path_install
  57520. - else
  57521. - # As a last resort, use the slow shell script. Don't cache a
  57522. - # value for INSTALL within a source directory, because that will
  57523. - # break other packages using the cache if that directory is
  57524. - # removed, or if the value is a relative name.
  57525. - INSTALL=$ac_install_sh
  57526. - fi
  57527. -fi
  57528. -{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  57529. -$as_echo "$INSTALL" >&6; }
  57530. -
  57531. -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  57532. -# It thinks the first close brace ends the variable substitution.
  57533. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  57534. -
  57535. -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  57536. -
  57537. -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  57538. -
  57539. -{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
  57540. -$as_echo_n "checking whether ln -s works... " >&6; }
  57541. -LN_S=$as_ln_s
  57542. -if test "$LN_S" = "ln -s"; then
  57543. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  57544. -$as_echo "yes" >&6; }
  57545. -else
  57546. - { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  57547. -$as_echo "no, using $LN_S" >&6; }
  57548. -fi
  57549. -
  57550. -# Extract the first word of "sh", so it can be a program name with args.
  57551. -set dummy sh; ac_word=$2
  57552. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  57553. -$as_echo_n "checking for $ac_word... " >&6; }
  57554. -if test "${ac_cv_path_SH+set}" = set; then
  57555. - $as_echo_n "(cached) " >&6
  57556. -else
  57557. - case $SH in
  57558. - [\\/]* | ?:[\\/]*)
  57559. - ac_cv_path_SH="$SH" # Let the user override the test with a path.
  57560. - ;;
  57561. - *)
  57562. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  57563. -for as_dir in $PATH
  57564. -do
  57565. - IFS=$as_save_IFS
  57566. - test -z "$as_dir" && as_dir=.
  57567. - for ac_exec_ext in '' $ac_executable_extensions; do
  57568. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  57569. - ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
  57570. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  57571. - break 2
  57572. - fi
  57573. -done
  57574. -done
  57575. -IFS=$as_save_IFS
  57576. -
  57577. - test -z "$ac_cv_path_SH" && ac_cv_path_SH="/bin/sh"
  57578. - ;;
  57579. -esac
  57580. -fi
  57581. -SH=$ac_cv_path_SH
  57582. -if test -n "$SH"; then
  57583. - { $as_echo "$as_me:$LINENO: result: $SH" >&5
  57584. -$as_echo "$SH" >&6; }
  57585. -else
  57586. - { $as_echo "$as_me:$LINENO: result: no" >&5
  57587. -$as_echo "no" >&6; }
  57588. -fi
  57589. -
  57590. -
  57591. -# Extract the first word of "false", so it can be a program name with args.
  57592. -set dummy false; ac_word=$2
  57593. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  57594. -$as_echo_n "checking for $ac_word... " >&6; }
  57595. -if test "${ac_cv_path_FALSE+set}" = set; then
  57596. - $as_echo_n "(cached) " >&6
  57597. -else
  57598. - case $FALSE in
  57599. - [\\/]* | ?:[\\/]*)
  57600. - ac_cv_path_FALSE="$FALSE" # Let the user override the test with a path.
  57601. - ;;
  57602. - *)
  57603. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  57604. -for as_dir in $PATH
  57605. -do
  57606. - IFS=$as_save_IFS
  57607. - test -z "$as_dir" && as_dir=.
  57608. - for ac_exec_ext in '' $ac_executable_extensions; do
  57609. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  57610. - ac_cv_path_FALSE="$as_dir/$ac_word$ac_exec_ext"
  57611. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  57612. - break 2
  57613. - fi
  57614. -done
  57615. -done
  57616. -IFS=$as_save_IFS
  57617. -
  57618. - test -z "$ac_cv_path_FALSE" && ac_cv_path_FALSE="/usr/bin/false"
  57619. - ;;
  57620. -esac
  57621. -fi
  57622. -FALSE=$ac_cv_path_FALSE
  57623. -if test -n "$FALSE"; then
  57624. - { $as_echo "$as_me:$LINENO: result: $FALSE" >&5
  57625. -$as_echo "$FALSE" >&6; }
  57626. -else
  57627. - { $as_echo "$as_me:$LINENO: result: no" >&5
  57628. -$as_echo "no" >&6; }
  57629. -fi
  57630. -
  57631. -
  57632. -# Extract the first word of "true", so it can be a program name with args.
  57633. -set dummy true; ac_word=$2
  57634. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  57635. -$as_echo_n "checking for $ac_word... " >&6; }
  57636. -if test "${ac_cv_path_TRUE+set}" = set; then
  57637. - $as_echo_n "(cached) " >&6
  57638. -else
  57639. - case $TRUE in
  57640. - [\\/]* | ?:[\\/]*)
  57641. - ac_cv_path_TRUE="$TRUE" # Let the user override the test with a path.
  57642. - ;;
  57643. - *)
  57644. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  57645. -for as_dir in $PATH
  57646. -do
  57647. - IFS=$as_save_IFS
  57648. - test -z "$as_dir" && as_dir=.
  57649. - for ac_exec_ext in '' $ac_executable_extensions; do
  57650. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  57651. - ac_cv_path_TRUE="$as_dir/$ac_word$ac_exec_ext"
  57652. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  57653. - break 2
  57654. - fi
  57655. -done
  57656. -done
  57657. -IFS=$as_save_IFS
  57658. -
  57659. - test -z "$ac_cv_path_TRUE" && ac_cv_path_TRUE="/usr/bin/true"
  57660. - ;;
  57661. -esac
  57662. -fi
  57663. -TRUE=$ac_cv_path_TRUE
  57664. -if test -n "$TRUE"; then
  57665. - { $as_echo "$as_me:$LINENO: result: $TRUE" >&5
  57666. -$as_echo "$TRUE" >&6; }
  57667. -else
  57668. - { $as_echo "$as_me:$LINENO: result: no" >&5
  57669. -$as_echo "no" >&6; }
  57670. -fi
  57671. -
  57672. -
  57673. -# Extract the first word of "mv", so it can be a program name with args.
  57674. -set dummy mv; ac_word=$2
  57675. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  57676. -$as_echo_n "checking for $ac_word... " >&6; }
  57677. -if test "${ac_cv_path_MV+set}" = set; then
  57678. - $as_echo_n "(cached) " >&6
  57679. -else
  57680. - case $MV in
  57681. - [\\/]* | ?:[\\/]*)
  57682. - ac_cv_path_MV="$MV" # Let the user override the test with a path.
  57683. - ;;
  57684. - *)
  57685. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  57686. -for as_dir in $PATH
  57687. -do
  57688. - IFS=$as_save_IFS
  57689. - test -z "$as_dir" && as_dir=.
  57690. - for ac_exec_ext in '' $ac_executable_extensions; do
  57691. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  57692. - ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
  57693. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  57694. - break 2
  57695. - fi
  57696. -done
  57697. -done
  57698. -IFS=$as_save_IFS
  57699. -
  57700. - test -z "$ac_cv_path_MV" && ac_cv_path_MV="$FALSE"
  57701. - ;;
  57702. -esac
  57703. -fi
  57704. -MV=$ac_cv_path_MV
  57705. -if test -n "$MV"; then
  57706. - { $as_echo "$as_me:$LINENO: result: $MV" >&5
  57707. -$as_echo "$MV" >&6; }
  57708. -else
  57709. - { $as_echo "$as_me:$LINENO: result: no" >&5
  57710. -$as_echo "no" >&6; }
  57711. -fi
  57712. -
  57713. -
  57714. -# Extract the first word of "mkdir", so it can be a program name with args.
  57715. -set dummy mkdir; ac_word=$2
  57716. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  57717. -$as_echo_n "checking for $ac_word... " >&6; }
  57718. -if test "${ac_cv_path_MKDIR+set}" = set; then
  57719. - $as_echo_n "(cached) " >&6
  57720. -else
  57721. - case $MKDIR in
  57722. - [\\/]* | ?:[\\/]*)
  57723. - ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
  57724. - ;;
  57725. - *)
  57726. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  57727. -for as_dir in $PATH
  57728. -do
  57729. - IFS=$as_save_IFS
  57730. - test -z "$as_dir" && as_dir=.
  57731. - for ac_exec_ext in '' $ac_executable_extensions; do
  57732. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  57733. - ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
  57734. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  57735. - break 2
  57736. - fi
  57737. -done
  57738. -done
  57739. -IFS=$as_save_IFS
  57740. -
  57741. - test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="$FALSE"
  57742. - ;;
  57743. -esac
  57744. -fi
  57745. -MKDIR=$ac_cv_path_MKDIR
  57746. -if test -n "$MKDIR"; then
  57747. - { $as_echo "$as_me:$LINENO: result: $MKDIR" >&5
  57748. -$as_echo "$MKDIR" >&6; }
  57749. -else
  57750. - { $as_echo "$as_me:$LINENO: result: no" >&5
  57751. -$as_echo "no" >&6; }
  57752. -fi
  57753. -
  57754. -
  57755. -# Extract the first word of "ln", so it can be a program name with args.
  57756. -set dummy ln; ac_word=$2
  57757. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  57758. -$as_echo_n "checking for $ac_word... " >&6; }
  57759. -if test "${ac_cv_path_LN+set}" = set; then
  57760. - $as_echo_n "(cached) " >&6
  57761. -else
  57762. - case $LN in
  57763. - [\\/]* | ?:[\\/]*)
  57764. - ac_cv_path_LN="$LN" # Let the user override the test with a path.
  57765. - ;;
  57766. - *)
  57767. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  57768. -for as_dir in $PATH
  57769. -do
  57770. - IFS=$as_save_IFS
  57771. - test -z "$as_dir" && as_dir=.
  57772. - for ac_exec_ext in '' $ac_executable_extensions; do
  57773. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  57774. - ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
  57775. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  57776. - break 2
  57777. - fi
  57778. -done
  57779. -done
  57780. -IFS=$as_save_IFS
  57781. -
  57782. - test -z "$ac_cv_path_LN" && ac_cv_path_LN="cp"
  57783. - ;;
  57784. -esac
  57785. -fi
  57786. -LN=$ac_cv_path_LN
  57787. -if test -n "$LN"; then
  57788. - { $as_echo "$as_me:$LINENO: result: $LN" >&5
  57789. -$as_echo "$LN" >&6; }
  57790. -else
  57791. - { $as_echo "$as_me:$LINENO: result: no" >&5
  57792. -$as_echo "no" >&6; }
  57793. -fi
  57794. -
  57795. -
  57796. -# Extract the first word of "perl", so it can be a program name with args.
  57797. -set dummy perl; ac_word=$2
  57798. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  57799. -$as_echo_n "checking for $ac_word... " >&6; }
  57800. -if test "${ac_cv_path_PERL+set}" = set; then
  57801. - $as_echo_n "(cached) " >&6
  57802. -else
  57803. - case $PERL in
  57804. - [\\/]* | ?:[\\/]*)
  57805. - ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
  57806. - ;;
  57807. - *)
  57808. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  57809. -for as_dir in $PATH
  57810. -do
  57811. - IFS=$as_save_IFS
  57812. - test -z "$as_dir" && as_dir=.
  57813. - for ac_exec_ext in '' $ac_executable_extensions; do
  57814. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  57815. - ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
  57816. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  57817. - break 2
  57818. - fi
  57819. -done
  57820. -done
  57821. -IFS=$as_save_IFS
  57822. -
  57823. - test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="none"
  57824. - ;;
  57825. -esac
  57826. -fi
  57827. -PERL=$ac_cv_path_PERL
  57828. -if test -n "$PERL"; then
  57829. - { $as_echo "$as_me:$LINENO: result: $PERL" >&5
  57830. -$as_echo "$PERL" >&6; }
  57831. -else
  57832. - { $as_echo "$as_me:$LINENO: result: no" >&5
  57833. -$as_echo "no" >&6; }
  57834. -fi
  57835. -
  57836. -
  57837. -# Extract the first word of "ar", so it can be a program name with args.
  57838. -set dummy ar; ac_word=$2
  57839. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  57840. -$as_echo_n "checking for $ac_word... " >&6; }
  57841. -if test "${ac_cv_path_AR+set}" = set; then
  57842. - $as_echo_n "(cached) " >&6
  57843. -else
  57844. - case $AR in
  57845. - [\\/]* | ?:[\\/]*)
  57846. - ac_cv_path_AR="$AR" # Let the user override the test with a path.
  57847. - ;;
  57848. - *)
  57849. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  57850. -for as_dir in $PATH
  57851. -do
  57852. - IFS=$as_save_IFS
  57853. - test -z "$as_dir" && as_dir=.
  57854. - for ac_exec_ext in '' $ac_executable_extensions; do
  57855. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  57856. - ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
  57857. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  57858. - break 2
  57859. - fi
  57860. -done
  57861. -done
  57862. -IFS=$as_save_IFS
  57863. -
  57864. - test -z "$ac_cv_path_AR" && ac_cv_path_AR="$FALSE"
  57865. - ;;
  57866. -esac
  57867. -fi
  57868. -AR=$ac_cv_path_AR
  57869. -if test -n "$AR"; then
  57870. - { $as_echo "$as_me:$LINENO: result: $AR" >&5
  57871. -$as_echo "$AR" >&6; }
  57872. -else
  57873. - { $as_echo "$as_me:$LINENO: result: no" >&5
  57874. -$as_echo "no" >&6; }
  57875. -fi
  57876. -
  57877. -
  57878. -
  57879. -# Extract the first word of "rm", so it can be a program name with args.
  57880. -set dummy rm; ac_word=$2
  57881. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  57882. -$as_echo_n "checking for $ac_word... " >&6; }
  57883. -if test "${ac_cv_path_RM+set}" = set; then
  57884. - $as_echo_n "(cached) " >&6
  57885. -else
  57886. - case $RM in
  57887. - [\\/]* | ?:[\\/]*)
  57888. - ac_cv_path_RM="$RM" # Let the user override the test with a path.
  57889. - ;;
  57890. - *)
  57891. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  57892. -for as_dir in $PATH
  57893. -do
  57894. - IFS=$as_save_IFS
  57895. - test -z "$as_dir" && as_dir=.
  57896. - for ac_exec_ext in '' $ac_executable_extensions; do
  57897. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  57898. - ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
  57899. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  57900. - break 2
  57901. - fi
  57902. -done
  57903. -done
  57904. -IFS=$as_save_IFS
  57905. -
  57906. - test -z "$ac_cv_path_RM" && ac_cv_path_RM="$FALSE"
  57907. - ;;
  57908. -esac
  57909. -fi
  57910. -RM=$ac_cv_path_RM
  57911. -if test -n "$RM"; then
  57912. - { $as_echo "$as_me:$LINENO: result: $RM" >&5
  57913. -$as_echo "$RM" >&6; }
  57914. -else
  57915. - { $as_echo "$as_me:$LINENO: result: no" >&5
  57916. -$as_echo "no" >&6; }
  57917. -fi
  57918. -
  57919. -
  57920. -RM="$RM -f"
  57921. -
  57922. -if test "$ac_cv_path_PERL" = "none"; then
  57923. - echo "Perl is required to compile Squid"
  57924. - echo "Please install Perl and then re-run configure"
  57925. - exit 1
  57926. -fi
  57927. -
  57928. -case "$host" in
  57929. - *-hp-hpux*)
  57930. - echo "Disabling 'ranlib' for HP-UX..."
  57931. - RANLIB=":"
  57932. - ;;
  57933. -esac
  57934. -
  57935. -AR_R="$AR r"
  57936. -case "$host" in
  57937. - *-next-nextstep3)
  57938. - AR="libtool -o"
  57939. - ;;
  57940. -esac
  57941. -
  57942. -
  57943. -
  57944. -
  57945. -
  57946. -
  57947. -
  57948. -ac_header_dirent=no
  57949. -for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
  57950. - as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
  57951. -{ $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
  57952. -$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
  57953. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  57954. - $as_echo_n "(cached) " >&6
  57955. -else
  57956. - cat >conftest.$ac_ext <<_ACEOF
  57957. -/* confdefs.h. */
  57958. -_ACEOF
  57959. -cat confdefs.h >>conftest.$ac_ext
  57960. -cat >>conftest.$ac_ext <<_ACEOF
  57961. -/* end confdefs.h. */
  57962. -#include <sys/types.h>
  57963. -#include <$ac_hdr>
  57964. -
  57965. -int
  57966. -main ()
  57967. -{
  57968. -if ((DIR *) 0)
  57969. -return 0;
  57970. - ;
  57971. - return 0;
  57972. -}
  57973. -_ACEOF
  57974. -rm -f conftest.$ac_objext
  57975. -if { (ac_try="$ac_compile"
  57976. -case "(($ac_try" in
  57977. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  57978. - *) ac_try_echo=$ac_try;;
  57979. -esac
  57980. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  57981. -$as_echo "$ac_try_echo") >&5
  57982. - (eval "$ac_compile") 2>conftest.er1
  57983. - ac_status=$?
  57984. - grep -v '^ *+' conftest.er1 >conftest.err
  57985. - rm -f conftest.er1
  57986. - cat conftest.err >&5
  57987. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  57988. - (exit $ac_status); } && {
  57989. - test -z "$ac_c_werror_flag" ||
  57990. - test ! -s conftest.err
  57991. - } && test -s conftest.$ac_objext; then
  57992. - eval "$as_ac_Header=yes"
  57993. -else
  57994. - $as_echo "$as_me: failed program was:" >&5
  57995. -sed 's/^/| /' conftest.$ac_ext >&5
  57996. -
  57997. - eval "$as_ac_Header=no"
  57998. -fi
  57999. -
  58000. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  58001. -fi
  58002. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  58003. - $as_echo "$as_val"'`
  58004. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  58005. -$as_echo "$ac_res" >&6; }
  58006. -if test `eval 'as_val=${'$as_ac_Header'}
  58007. - $as_echo "$as_val"'` = yes; then
  58008. - cat >>confdefs.h <<_ACEOF
  58009. -#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
  58010. -_ACEOF
  58011. -
  58012. -ac_header_dirent=$ac_hdr; break
  58013. -fi
  58014. -
  58015. -done
  58016. -# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  58017. -if test $ac_header_dirent = dirent.h; then
  58018. - { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
  58019. -$as_echo_n "checking for library containing opendir... " >&6; }
  58020. -if test "${ac_cv_search_opendir+set}" = set; then
  58021. - $as_echo_n "(cached) " >&6
  58022. -else
  58023. - ac_func_search_save_LIBS=$LIBS
  58024. -cat >conftest.$ac_ext <<_ACEOF
  58025. -/* confdefs.h. */
  58026. -_ACEOF
  58027. -cat confdefs.h >>conftest.$ac_ext
  58028. -cat >>conftest.$ac_ext <<_ACEOF
  58029. -/* end confdefs.h. */
  58030. -
  58031. -/* Override any GCC internal prototype to avoid an error.
  58032. - Use char because int might match the return type of a GCC
  58033. - builtin and then its argument prototype would still apply. */
  58034. -#ifdef __cplusplus
  58035. -extern "C"
  58036. -#endif
  58037. -char opendir ();
  58038. -int
  58039. -main ()
  58040. -{
  58041. -return opendir ();
  58042. - ;
  58043. - return 0;
  58044. -}
  58045. -_ACEOF
  58046. -for ac_lib in '' dir; do
  58047. - if test -z "$ac_lib"; then
  58048. - ac_res="none required"
  58049. - else
  58050. - ac_res=-l$ac_lib
  58051. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  58052. - fi
  58053. - rm -f conftest.$ac_objext conftest$ac_exeext
  58054. -if { (ac_try="$ac_link"
  58055. -case "(($ac_try" in
  58056. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  58057. - *) ac_try_echo=$ac_try;;
  58058. -esac
  58059. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  58060. -$as_echo "$ac_try_echo") >&5
  58061. - (eval "$ac_link") 2>conftest.er1
  58062. - ac_status=$?
  58063. - grep -v '^ *+' conftest.er1 >conftest.err
  58064. - rm -f conftest.er1
  58065. - cat conftest.err >&5
  58066. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  58067. - (exit $ac_status); } && {
  58068. - test -z "$ac_c_werror_flag" ||
  58069. - test ! -s conftest.err
  58070. - } && test -s conftest$ac_exeext && {
  58071. - test "$cross_compiling" = yes ||
  58072. - $as_test_x conftest$ac_exeext
  58073. - }; then
  58074. - ac_cv_search_opendir=$ac_res
  58075. -else
  58076. - $as_echo "$as_me: failed program was:" >&5
  58077. -sed 's/^/| /' conftest.$ac_ext >&5
  58078. -
  58079. -
  58080. -fi
  58081. -
  58082. -rm -rf conftest.dSYM
  58083. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  58084. - conftest$ac_exeext
  58085. - if test "${ac_cv_search_opendir+set}" = set; then
  58086. - break
  58087. -fi
  58088. -done
  58089. -if test "${ac_cv_search_opendir+set}" = set; then
  58090. - :
  58091. -else
  58092. - ac_cv_search_opendir=no
  58093. -fi
  58094. -rm conftest.$ac_ext
  58095. -LIBS=$ac_func_search_save_LIBS
  58096. -fi
  58097. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  58098. -$as_echo "$ac_cv_search_opendir" >&6; }
  58099. -ac_res=$ac_cv_search_opendir
  58100. -if test "$ac_res" != no; then
  58101. - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  58102. -
  58103. -fi
  58104. -
  58105. -else
  58106. - { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
  58107. -$as_echo_n "checking for library containing opendir... " >&6; }
  58108. -if test "${ac_cv_search_opendir+set}" = set; then
  58109. - $as_echo_n "(cached) " >&6
  58110. -else
  58111. - ac_func_search_save_LIBS=$LIBS
  58112. -cat >conftest.$ac_ext <<_ACEOF
  58113. -/* confdefs.h. */
  58114. -_ACEOF
  58115. -cat confdefs.h >>conftest.$ac_ext
  58116. -cat >>conftest.$ac_ext <<_ACEOF
  58117. -/* end confdefs.h. */
  58118. -
  58119. -/* Override any GCC internal prototype to avoid an error.
  58120. - Use char because int might match the return type of a GCC
  58121. - builtin and then its argument prototype would still apply. */
  58122. -#ifdef __cplusplus
  58123. -extern "C"
  58124. -#endif
  58125. -char opendir ();
  58126. -int
  58127. -main ()
  58128. -{
  58129. -return opendir ();
  58130. - ;
  58131. - return 0;
  58132. -}
  58133. -_ACEOF
  58134. -for ac_lib in '' x; do
  58135. - if test -z "$ac_lib"; then
  58136. - ac_res="none required"
  58137. - else
  58138. - ac_res=-l$ac_lib
  58139. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  58140. - fi
  58141. - rm -f conftest.$ac_objext conftest$ac_exeext
  58142. -if { (ac_try="$ac_link"
  58143. -case "(($ac_try" in
  58144. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  58145. - *) ac_try_echo=$ac_try;;
  58146. -esac
  58147. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  58148. -$as_echo "$ac_try_echo") >&5
  58149. - (eval "$ac_link") 2>conftest.er1
  58150. - ac_status=$?
  58151. - grep -v '^ *+' conftest.er1 >conftest.err
  58152. - rm -f conftest.er1
  58153. - cat conftest.err >&5
  58154. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  58155. - (exit $ac_status); } && {
  58156. - test -z "$ac_c_werror_flag" ||
  58157. - test ! -s conftest.err
  58158. - } && test -s conftest$ac_exeext && {
  58159. - test "$cross_compiling" = yes ||
  58160. - $as_test_x conftest$ac_exeext
  58161. - }; then
  58162. - ac_cv_search_opendir=$ac_res
  58163. -else
  58164. - $as_echo "$as_me: failed program was:" >&5
  58165. -sed 's/^/| /' conftest.$ac_ext >&5
  58166. -
  58167. -
  58168. -fi
  58169. -
  58170. -rm -rf conftest.dSYM
  58171. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  58172. - conftest$ac_exeext
  58173. - if test "${ac_cv_search_opendir+set}" = set; then
  58174. - break
  58175. -fi
  58176. -done
  58177. -if test "${ac_cv_search_opendir+set}" = set; then
  58178. - :
  58179. -else
  58180. - ac_cv_search_opendir=no
  58181. -fi
  58182. -rm conftest.$ac_ext
  58183. -LIBS=$ac_func_search_save_LIBS
  58184. -fi
  58185. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  58186. -$as_echo "$ac_cv_search_opendir" >&6; }
  58187. -ac_res=$ac_cv_search_opendir
  58188. -if test "$ac_res" != no; then
  58189. - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  58190. -
  58191. -fi
  58192. -
  58193. -fi
  58194. -
  58195. -{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  58196. -$as_echo_n "checking for ANSI C header files... " >&6; }
  58197. -if test "${ac_cv_header_stdc+set}" = set; then
  58198. - $as_echo_n "(cached) " >&6
  58199. -else
  58200. - cat >conftest.$ac_ext <<_ACEOF
  58201. -/* confdefs.h. */
  58202. -_ACEOF
  58203. -cat confdefs.h >>conftest.$ac_ext
  58204. -cat >>conftest.$ac_ext <<_ACEOF
  58205. -/* end confdefs.h. */
  58206. -#include <stdlib.h>
  58207. -#include <stdarg.h>
  58208. -#include <string.h>
  58209. -#include <float.h>
  58210. -
  58211. -int
  58212. -main ()
  58213. -{
  58214. -
  58215. - ;
  58216. - return 0;
  58217. -}
  58218. -_ACEOF
  58219. -rm -f conftest.$ac_objext
  58220. -if { (ac_try="$ac_compile"
  58221. -case "(($ac_try" in
  58222. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  58223. - *) ac_try_echo=$ac_try;;
  58224. -esac
  58225. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  58226. -$as_echo "$ac_try_echo") >&5
  58227. - (eval "$ac_compile") 2>conftest.er1
  58228. - ac_status=$?
  58229. - grep -v '^ *+' conftest.er1 >conftest.err
  58230. - rm -f conftest.er1
  58231. - cat conftest.err >&5
  58232. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  58233. - (exit $ac_status); } && {
  58234. - test -z "$ac_c_werror_flag" ||
  58235. - test ! -s conftest.err
  58236. - } && test -s conftest.$ac_objext; then
  58237. - ac_cv_header_stdc=yes
  58238. -else
  58239. - $as_echo "$as_me: failed program was:" >&5
  58240. -sed 's/^/| /' conftest.$ac_ext >&5
  58241. -
  58242. - ac_cv_header_stdc=no
  58243. -fi
  58244. -
  58245. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  58246. -
  58247. -if test $ac_cv_header_stdc = yes; then
  58248. - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  58249. - cat >conftest.$ac_ext <<_ACEOF
  58250. -/* confdefs.h. */
  58251. -_ACEOF
  58252. -cat confdefs.h >>conftest.$ac_ext
  58253. -cat >>conftest.$ac_ext <<_ACEOF
  58254. -/* end confdefs.h. */
  58255. -#include <string.h>
  58256. -
  58257. -_ACEOF
  58258. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  58259. - $EGREP "memchr" >/dev/null 2>&1; then
  58260. - :
  58261. -else
  58262. - ac_cv_header_stdc=no
  58263. -fi
  58264. -rm -f conftest*
  58265. -
  58266. -fi
  58267. -
  58268. -if test $ac_cv_header_stdc = yes; then
  58269. - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  58270. - cat >conftest.$ac_ext <<_ACEOF
  58271. -/* confdefs.h. */
  58272. -_ACEOF
  58273. -cat confdefs.h >>conftest.$ac_ext
  58274. -cat >>conftest.$ac_ext <<_ACEOF
  58275. -/* end confdefs.h. */
  58276. -#include <stdlib.h>
  58277. -
  58278. -_ACEOF
  58279. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  58280. - $EGREP "free" >/dev/null 2>&1; then
  58281. - :
  58282. -else
  58283. - ac_cv_header_stdc=no
  58284. -fi
  58285. -rm -f conftest*
  58286. -
  58287. -fi
  58288. -
  58289. -if test $ac_cv_header_stdc = yes; then
  58290. - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  58291. - if test "$cross_compiling" = yes; then
  58292. - :
  58293. -else
  58294. - cat >conftest.$ac_ext <<_ACEOF
  58295. -/* confdefs.h. */
  58296. -_ACEOF
  58297. -cat confdefs.h >>conftest.$ac_ext
  58298. -cat >>conftest.$ac_ext <<_ACEOF
  58299. -/* end confdefs.h. */
  58300. -#include <ctype.h>
  58301. -#include <stdlib.h>
  58302. -#if ((' ' & 0x0FF) == 0x020)
  58303. -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  58304. -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  58305. -#else
  58306. -# define ISLOWER(c) \
  58307. - (('a' <= (c) && (c) <= 'i') \
  58308. - || ('j' <= (c) && (c) <= 'r') \
  58309. - || ('s' <= (c) && (c) <= 'z'))
  58310. -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  58311. -#endif
  58312. -
  58313. -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  58314. -int
  58315. -main ()
  58316. -{
  58317. - int i;
  58318. - for (i = 0; i < 256; i++)
  58319. - if (XOR (islower (i), ISLOWER (i))
  58320. - || toupper (i) != TOUPPER (i))
  58321. - return 2;
  58322. - return 0;
  58323. -}
  58324. -_ACEOF
  58325. -rm -f conftest$ac_exeext
  58326. -if { (ac_try="$ac_link"
  58327. -case "(($ac_try" in
  58328. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  58329. - *) ac_try_echo=$ac_try;;
  58330. -esac
  58331. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  58332. -$as_echo "$ac_try_echo") >&5
  58333. - (eval "$ac_link") 2>&5
  58334. - ac_status=$?
  58335. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  58336. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  58337. - { (case "(($ac_try" in
  58338. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  58339. - *) ac_try_echo=$ac_try;;
  58340. -esac
  58341. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  58342. -$as_echo "$ac_try_echo") >&5
  58343. - (eval "$ac_try") 2>&5
  58344. - ac_status=$?
  58345. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  58346. - (exit $ac_status); }; }; then
  58347. - :
  58348. -else
  58349. - $as_echo "$as_me: program exited with status $ac_status" >&5
  58350. -$as_echo "$as_me: failed program was:" >&5
  58351. -sed 's/^/| /' conftest.$ac_ext >&5
  58352. -
  58353. -( exit $ac_status )
  58354. -ac_cv_header_stdc=no
  58355. -fi
  58356. -rm -rf conftest.dSYM
  58357. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  58358. -fi
  58359. -
  58360. -
  58361. -fi
  58362. -fi
  58363. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  58364. -$as_echo "$ac_cv_header_stdc" >&6; }
  58365. -if test $ac_cv_header_stdc = yes; then
  58366. -
  58367. -cat >>confdefs.h <<\_ACEOF
  58368. -#define STDC_HEADERS 1
  58369. -_ACEOF
  58370. -
  58371. -fi
  58372. -
  58373. -
  58374. -
  58375. -
  58376. -
  58377. -
  58378. -
  58379. -
  58380. -
  58381. -
  58382. -
  58383. -
  58384. -
  58385. -
  58386. -
  58387. -
  58388. -
  58389. -
  58390. -
  58391. -
  58392. -
  58393. -
  58394. -
  58395. -
  58396. -
  58397. -
  58398. -
  58399. -
  58400. -
  58401. -
  58402. -
  58403. -
  58404. -
  58405. -
  58406. -
  58407. -
  58408. -
  58409. -
  58410. -
  58411. -
  58412. -
  58413. -
  58414. -
  58415. -
  58416. -
  58417. -
  58418. -
  58419. -
  58420. -
  58421. -
  58422. -
  58423. -
  58424. -
  58425. -
  58426. -
  58427. -
  58428. -
  58429. -
  58430. -
  58431. -
  58432. -
  58433. -
  58434. -
  58435. -
  58436. -
  58437. -
  58438. -
  58439. -
  58440. -
  58441. -
  58442. -
  58443. -
  58444. -
  58445. -
  58446. -
  58447. -
  58448. -
  58449. -
  58450. -
  58451. -
  58452. -
  58453. -
  58454. -
  58455. -for ac_header in \
  58456. - arpa/inet.h \
  58457. - arpa/nameser.h \
  58458. - assert.h \
  58459. - bstring.h \
  58460. - crypt.h \
  58461. - ctype.h \
  58462. - errno.h \
  58463. - execinfo.h \
  58464. - fcntl.h \
  58465. - fnmatch.h \
  58466. - getopt.h \
  58467. - glob.h \
  58468. - gnumalloc.h \
  58469. - grp.h \
  58470. - ip_compat.h \
  58471. - ip_fil_compat.h \
  58472. - ip_fil.h \
  58473. - ip_nat.h \
  58474. - ipl.h \
  58475. - libc.h \
  58476. - limits.h \
  58477. - linux/types.h \
  58478. - machine/byte_swap.h \
  58479. - malloc.h \
  58480. - math.h \
  58481. - memory.h \
  58482. - mount.h \
  58483. - netdb.h \
  58484. - netinet/in.h \
  58485. - netinet/ip_fil_compat.h \
  58486. - netinet/tcp.h \
  58487. - openssl/err.h \
  58488. - openssl/md5.h \
  58489. - openssl/ssl.h \
  58490. - openssl/engine.h \
  58491. - paths.h \
  58492. - poll.h \
  58493. - pwd.h \
  58494. - shadow.h \
  58495. - regex.h \
  58496. - sched.h \
  58497. - signal.h \
  58498. - stdarg.h \
  58499. - stddef.h \
  58500. - stdio.h \
  58501. - stdlib.h \
  58502. - string.h \
  58503. - strings.h \
  58504. - sys/bitypes.h \
  58505. - sys/bswap.h \
  58506. - sys/endian.h \
  58507. - sys/file.h \
  58508. - sys/ioctl.h \
  58509. - sys/param.h \
  58510. - sys/prctl.h \
  58511. - sys/md5.h \
  58512. - sys/msg.h \
  58513. - sys/resource.h \
  58514. - sys/select.h\
  58515. - sys/socket.h \
  58516. - sys/stat.h \
  58517. - sys/statvfs.h \
  58518. - syscall.h \
  58519. - sys/syscall.h \
  58520. - sys/time.h \
  58521. - sys/types.h \
  58522. - sys/un.h \
  58523. - sys/vfs.h \
  58524. - sys/wait.h \
  58525. - syslog.h \
  58526. - time.h \
  58527. - unistd.h \
  58528. - utime.h \
  58529. - varargs.h \
  58530. - byteswap.h \
  58531. - glib.h \
  58532. - stdint.h \
  58533. - inttypes.h \
  58534. - grp.h \
  58535. - db.h \
  58536. - db_185.h
  58537. -
  58538. -do
  58539. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  58540. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  58541. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  58542. -$as_echo_n "checking for $ac_header... " >&6; }
  58543. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  58544. - $as_echo_n "(cached) " >&6
  58545. -fi
  58546. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  58547. - $as_echo "$as_val"'`
  58548. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  58549. -$as_echo "$ac_res" >&6; }
  58550. -else
  58551. - # Is the header compilable?
  58552. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  58553. -$as_echo_n "checking $ac_header usability... " >&6; }
  58554. -cat >conftest.$ac_ext <<_ACEOF
  58555. -/* confdefs.h. */
  58556. -_ACEOF
  58557. -cat confdefs.h >>conftest.$ac_ext
  58558. -cat >>conftest.$ac_ext <<_ACEOF
  58559. -/* end confdefs.h. */
  58560. -$ac_includes_default
  58561. -#include <$ac_header>
  58562. -_ACEOF
  58563. -rm -f conftest.$ac_objext
  58564. -if { (ac_try="$ac_compile"
  58565. -case "(($ac_try" in
  58566. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  58567. - *) ac_try_echo=$ac_try;;
  58568. -esac
  58569. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  58570. -$as_echo "$ac_try_echo") >&5
  58571. - (eval "$ac_compile") 2>conftest.er1
  58572. - ac_status=$?
  58573. - grep -v '^ *+' conftest.er1 >conftest.err
  58574. - rm -f conftest.er1
  58575. - cat conftest.err >&5
  58576. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  58577. - (exit $ac_status); } && {
  58578. - test -z "$ac_c_werror_flag" ||
  58579. - test ! -s conftest.err
  58580. - } && test -s conftest.$ac_objext; then
  58581. - ac_header_compiler=yes
  58582. -else
  58583. - $as_echo "$as_me: failed program was:" >&5
  58584. -sed 's/^/| /' conftest.$ac_ext >&5
  58585. -
  58586. - ac_header_compiler=no
  58587. -fi
  58588. -
  58589. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  58590. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  58591. -$as_echo "$ac_header_compiler" >&6; }
  58592. -
  58593. -# Is the header present?
  58594. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  58595. -$as_echo_n "checking $ac_header presence... " >&6; }
  58596. -cat >conftest.$ac_ext <<_ACEOF
  58597. -/* confdefs.h. */
  58598. -_ACEOF
  58599. -cat confdefs.h >>conftest.$ac_ext
  58600. -cat >>conftest.$ac_ext <<_ACEOF
  58601. -/* end confdefs.h. */
  58602. -#include <$ac_header>
  58603. -_ACEOF
  58604. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  58605. -case "(($ac_try" in
  58606. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  58607. - *) ac_try_echo=$ac_try;;
  58608. -esac
  58609. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  58610. -$as_echo "$ac_try_echo") >&5
  58611. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  58612. - ac_status=$?
  58613. - grep -v '^ *+' conftest.er1 >conftest.err
  58614. - rm -f conftest.er1
  58615. - cat conftest.err >&5
  58616. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  58617. - (exit $ac_status); } >/dev/null && {
  58618. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  58619. - test ! -s conftest.err
  58620. - }; then
  58621. - ac_header_preproc=yes
  58622. -else
  58623. - $as_echo "$as_me: failed program was:" >&5
  58624. -sed 's/^/| /' conftest.$ac_ext >&5
  58625. -
  58626. - ac_header_preproc=no
  58627. -fi
  58628. -
  58629. -rm -f conftest.err conftest.$ac_ext
  58630. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  58631. -$as_echo "$ac_header_preproc" >&6; }
  58632. -
  58633. -# So? What about this header?
  58634. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  58635. - yes:no: )
  58636. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  58637. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  58638. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  58639. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  58640. - ac_header_preproc=yes
  58641. - ;;
  58642. - no:yes:* )
  58643. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  58644. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  58645. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  58646. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  58647. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  58648. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  58649. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  58650. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  58651. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  58652. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  58653. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  58654. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  58655. - ( cat <<\_ASBOX
  58656. -## ----------------------------------------------- ##
  58657. -## Report this to http://www.squid-cache.org/bugs/ ##
  58658. -## ----------------------------------------------- ##
  58659. -_ASBOX
  58660. - ) | sed "s/^/$as_me: WARNING: /" >&2
  58661. - ;;
  58662. -esac
  58663. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  58664. -$as_echo_n "checking for $ac_header... " >&6; }
  58665. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  58666. - $as_echo_n "(cached) " >&6
  58667. -else
  58668. - eval "$as_ac_Header=\$ac_header_preproc"
  58669. -fi
  58670. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  58671. - $as_echo "$as_val"'`
  58672. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  58673. -$as_echo "$ac_res" >&6; }
  58674. -
  58675. -fi
  58676. -if test `eval 'as_val=${'$as_ac_Header'}
  58677. - $as_echo "$as_val"'` = yes; then
  58678. - cat >>confdefs.h <<_ACEOF
  58679. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  58680. -_ACEOF
  58681. -
  58682. -fi
  58683. -
  58684. -done
  58685. -
  58686. -
  58687. -
  58688. -
  58689. -for ac_header in linux/netfilter_ipv4.h \
  58690. - linux/netfilter_ipv4/ip_tproxy.h \
  58691. -
  58692. -do
  58693. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  58694. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  58695. -$as_echo_n "checking for $ac_header... " >&6; }
  58696. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  58697. - $as_echo_n "(cached) " >&6
  58698. -else
  58699. - cat >conftest.$ac_ext <<_ACEOF
  58700. -/* confdefs.h. */
  58701. -_ACEOF
  58702. -cat confdefs.h >>conftest.$ac_ext
  58703. -cat >>conftest.$ac_ext <<_ACEOF
  58704. -/* end confdefs.h. */
  58705. -
  58706. -/* What a mess.. many systems have added the (now standard) bit types
  58707. - * in their own ways, so we need to scan a wide variety of headers to
  58708. - * find them..
  58709. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  58710. - */
  58711. -#if HAVE_SYS_TYPES_H
  58712. -#include <sys/types.h>
  58713. -#endif
  58714. -#if STDC_HEADERS
  58715. -#include <stdlib.h>
  58716. -#include <stddef.h>
  58717. -#endif
  58718. -#if HAVE_INTTYPES_H
  58719. -#include <inttypes.h>
  58720. -#endif
  58721. -#if HAVE_SYS_BITYPES_H
  58722. -#include <sys/bitypes.h>
  58723. -#endif
  58724. -#if HAVE_SYS_SELECT_H
  58725. -#include <sys/select.h>
  58726. -#endif
  58727. -#if HAVE_NETINET_IN_SYSTM_H
  58728. -#include <netinet/in_systm.h>
  58729. -#endif
  58730. -
  58731. -#if HAVE_LIMITS_H
  58732. -#include <limits.h>
  58733. -#endif
  58734. -/* Netfilter ip(6)tables v1.4.0 has broken headers */
  58735. -#if HAVE_NETINET_IN_H
  58736. -#include <netinet/in.h>
  58737. -#endif
  58738. -
  58739. -
  58740. -#include <$ac_header>
  58741. -_ACEOF
  58742. -rm -f conftest.$ac_objext
  58743. -if { (ac_try="$ac_compile"
  58744. -case "(($ac_try" in
  58745. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  58746. - *) ac_try_echo=$ac_try;;
  58747. -esac
  58748. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  58749. -$as_echo "$ac_try_echo") >&5
  58750. - (eval "$ac_compile") 2>conftest.er1
  58751. - ac_status=$?
  58752. - grep -v '^ *+' conftest.er1 >conftest.err
  58753. - rm -f conftest.er1
  58754. - cat conftest.err >&5
  58755. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  58756. - (exit $ac_status); } && {
  58757. - test -z "$ac_c_werror_flag" ||
  58758. - test ! -s conftest.err
  58759. - } && test -s conftest.$ac_objext; then
  58760. - eval "$as_ac_Header=yes"
  58761. -else
  58762. - $as_echo "$as_me: failed program was:" >&5
  58763. -sed 's/^/| /' conftest.$ac_ext >&5
  58764. -
  58765. - eval "$as_ac_Header=no"
  58766. -fi
  58767. -
  58768. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  58769. -fi
  58770. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  58771. - $as_echo "$as_val"'`
  58772. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  58773. -$as_echo "$ac_res" >&6; }
  58774. -if test `eval 'as_val=${'$as_ac_Header'}
  58775. - $as_echo "$as_val"'` = yes; then
  58776. - cat >>confdefs.h <<_ACEOF
  58777. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  58778. -_ACEOF
  58779. -
  58780. -fi
  58781. -
  58782. -done
  58783. -
  58784. -
  58785. -
  58786. -
  58787. -
  58788. -
  58789. -
  58790. -
  58791. -
  58792. -
  58793. -
  58794. -
  58795. -
  58796. -
  58797. -
  58798. -
  58799. -for ac_header in \
  58800. - net/if.h \
  58801. - netinet/if_ether.h\
  58802. - netinet/in.h \
  58803. - netinet/ip.h\
  58804. - netinet/ip_compat.h\
  58805. - netinet/ip_fil_compat.h\
  58806. - netinet/ip_fil.h\
  58807. - netinet/ip_icmp.h\
  58808. - netinet/ipl.h \
  58809. - netinet/ip_nat.h\
  58810. - net/pf/pfvar.h \
  58811. - net/pfvar.h \
  58812. - sys/mount.h\
  58813. - resolv.h
  58814. -do
  58815. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  58816. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  58817. -$as_echo_n "checking for $ac_header... " >&6; }
  58818. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  58819. - $as_echo_n "(cached) " >&6
  58820. -else
  58821. - cat >conftest.$ac_ext <<_ACEOF
  58822. -/* confdefs.h. */
  58823. -_ACEOF
  58824. -cat confdefs.h >>conftest.$ac_ext
  58825. -cat >>conftest.$ac_ext <<_ACEOF
  58826. -/* end confdefs.h. */
  58827. -
  58828. -
  58829. -/* What a mess.. many systems have added the (now standard) bit types
  58830. - * in their own ways, so we need to scan a wide variety of headers to
  58831. - * find them..
  58832. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  58833. - */
  58834. -#if HAVE_SYS_TYPES_H
  58835. -#include <sys/types.h>
  58836. -#endif
  58837. -#if STDC_HEADERS
  58838. -#include <stdlib.h>
  58839. -#include <stddef.h>
  58840. -#endif
  58841. -#if HAVE_INTTYPES_H
  58842. -#include <inttypes.h>
  58843. -#endif
  58844. -#if HAVE_SYS_BITYPES_H
  58845. -#include <sys/bitypes.h>
  58846. -#endif
  58847. -#if HAVE_SYS_SELECT_H
  58848. -#include <sys/select.h>
  58849. -#endif
  58850. -#if HAVE_NETINET_IN_SYSTM_H
  58851. -#include <netinet/in_systm.h>
  58852. -#endif
  58853. -
  58854. -#if HAVE_SYS_TIME_H
  58855. -#include <sys/time.h>
  58856. -#endif
  58857. -#if HAVE_SYS_SOCKET_H
  58858. -#include <sys/socket.h>
  58859. -#endif
  58860. -#if HAVE_NETINET_IN_H
  58861. -#include <netinet/in.h>
  58862. -#endif
  58863. -#if HAVE_NETINET_IP_H
  58864. -#include <netinet/ip.h>
  58865. -#endif
  58866. -#if HAVE_NETINET_IP_COMPAT_H
  58867. -#include <netinet/ip_compat.h>
  58868. -#endif
  58869. -#if HAVE_NET_IF_H
  58870. -#include <net/if.h>
  58871. -#endif
  58872. -#if HAVE_NETINET_IP_FIL_H
  58873. -#include <netinet/ip_fil.h>
  58874. -#endif
  58875. -#if HAVE_SYS_PARAM_H
  58876. -#include <sys/param.h>
  58877. -#endif
  58878. -
  58879. -
  58880. -#include <$ac_header>
  58881. -_ACEOF
  58882. -rm -f conftest.$ac_objext
  58883. -if { (ac_try="$ac_compile"
  58884. -case "(($ac_try" in
  58885. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  58886. - *) ac_try_echo=$ac_try;;
  58887. -esac
  58888. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  58889. -$as_echo "$ac_try_echo") >&5
  58890. - (eval "$ac_compile") 2>conftest.er1
  58891. - ac_status=$?
  58892. - grep -v '^ *+' conftest.er1 >conftest.err
  58893. - rm -f conftest.er1
  58894. - cat conftest.err >&5
  58895. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  58896. - (exit $ac_status); } && {
  58897. - test -z "$ac_c_werror_flag" ||
  58898. - test ! -s conftest.err
  58899. - } && test -s conftest.$ac_objext; then
  58900. - eval "$as_ac_Header=yes"
  58901. -else
  58902. - $as_echo "$as_me: failed program was:" >&5
  58903. -sed 's/^/| /' conftest.$ac_ext >&5
  58904. -
  58905. - eval "$as_ac_Header=no"
  58906. -fi
  58907. -
  58908. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  58909. -fi
  58910. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  58911. - $as_echo "$as_val"'`
  58912. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  58913. -$as_echo "$ac_res" >&6; }
  58914. -if test `eval 'as_val=${'$as_ac_Header'}
  58915. - $as_echo "$as_val"'` = yes; then
  58916. - cat >>confdefs.h <<_ACEOF
  58917. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  58918. -_ACEOF
  58919. -
  58920. -fi
  58921. -
  58922. -done
  58923. -
  58924. -
  58925. -
  58926. -for ac_header in libxml/parser.h
  58927. -do
  58928. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  58929. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  58930. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  58931. -$as_echo_n "checking for $ac_header... " >&6; }
  58932. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  58933. - $as_echo_n "(cached) " >&6
  58934. -fi
  58935. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  58936. - $as_echo "$as_val"'`
  58937. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  58938. -$as_echo "$ac_res" >&6; }
  58939. -else
  58940. - # Is the header compilable?
  58941. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  58942. -$as_echo_n "checking $ac_header usability... " >&6; }
  58943. -cat >conftest.$ac_ext <<_ACEOF
  58944. -/* confdefs.h. */
  58945. -_ACEOF
  58946. -cat confdefs.h >>conftest.$ac_ext
  58947. -cat >>conftest.$ac_ext <<_ACEOF
  58948. -/* end confdefs.h. */
  58949. -$ac_includes_default
  58950. -#include <$ac_header>
  58951. -_ACEOF
  58952. -rm -f conftest.$ac_objext
  58953. -if { (ac_try="$ac_compile"
  58954. -case "(($ac_try" in
  58955. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  58956. - *) ac_try_echo=$ac_try;;
  58957. -esac
  58958. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  58959. -$as_echo "$ac_try_echo") >&5
  58960. - (eval "$ac_compile") 2>conftest.er1
  58961. - ac_status=$?
  58962. - grep -v '^ *+' conftest.er1 >conftest.err
  58963. - rm -f conftest.er1
  58964. - cat conftest.err >&5
  58965. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  58966. - (exit $ac_status); } && {
  58967. - test -z "$ac_c_werror_flag" ||
  58968. - test ! -s conftest.err
  58969. - } && test -s conftest.$ac_objext; then
  58970. - ac_header_compiler=yes
  58971. -else
  58972. - $as_echo "$as_me: failed program was:" >&5
  58973. -sed 's/^/| /' conftest.$ac_ext >&5
  58974. -
  58975. - ac_header_compiler=no
  58976. -fi
  58977. -
  58978. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  58979. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  58980. -$as_echo "$ac_header_compiler" >&6; }
  58981. -
  58982. -# Is the header present?
  58983. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  58984. -$as_echo_n "checking $ac_header presence... " >&6; }
  58985. -cat >conftest.$ac_ext <<_ACEOF
  58986. -/* confdefs.h. */
  58987. -_ACEOF
  58988. -cat confdefs.h >>conftest.$ac_ext
  58989. -cat >>conftest.$ac_ext <<_ACEOF
  58990. -/* end confdefs.h. */
  58991. -#include <$ac_header>
  58992. -_ACEOF
  58993. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  58994. -case "(($ac_try" in
  58995. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  58996. - *) ac_try_echo=$ac_try;;
  58997. -esac
  58998. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  58999. -$as_echo "$ac_try_echo") >&5
  59000. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  59001. - ac_status=$?
  59002. - grep -v '^ *+' conftest.er1 >conftest.err
  59003. - rm -f conftest.er1
  59004. - cat conftest.err >&5
  59005. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  59006. - (exit $ac_status); } >/dev/null && {
  59007. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  59008. - test ! -s conftest.err
  59009. - }; then
  59010. - ac_header_preproc=yes
  59011. -else
  59012. - $as_echo "$as_me: failed program was:" >&5
  59013. -sed 's/^/| /' conftest.$ac_ext >&5
  59014. -
  59015. - ac_header_preproc=no
  59016. -fi
  59017. -
  59018. -rm -f conftest.err conftest.$ac_ext
  59019. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  59020. -$as_echo "$ac_header_preproc" >&6; }
  59021. -
  59022. -# So? What about this header?
  59023. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  59024. - yes:no: )
  59025. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  59026. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  59027. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  59028. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  59029. - ac_header_preproc=yes
  59030. - ;;
  59031. - no:yes:* )
  59032. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  59033. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  59034. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  59035. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  59036. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  59037. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  59038. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  59039. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  59040. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  59041. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  59042. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  59043. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  59044. - ( cat <<\_ASBOX
  59045. -## ----------------------------------------------- ##
  59046. -## Report this to http://www.squid-cache.org/bugs/ ##
  59047. -## ----------------------------------------------- ##
  59048. -_ASBOX
  59049. - ) | sed "s/^/$as_me: WARNING: /" >&2
  59050. - ;;
  59051. -esac
  59052. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  59053. -$as_echo_n "checking for $ac_header... " >&6; }
  59054. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  59055. - $as_echo_n "(cached) " >&6
  59056. -else
  59057. - eval "$as_ac_Header=\$ac_header_preproc"
  59058. -fi
  59059. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  59060. - $as_echo "$as_val"'`
  59061. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  59062. -$as_echo "$ac_res" >&6; }
  59063. -
  59064. -fi
  59065. -if test `eval 'as_val=${'$as_ac_Header'}
  59066. - $as_echo "$as_val"'` = yes; then
  59067. - cat >>confdefs.h <<_ACEOF
  59068. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  59069. -_ACEOF
  59070. -
  59071. -else
  59072. -
  59073. - SAVED_CPPFLAGS="$CPPFLAGS"
  59074. - CPPFLAGS="-I/usr/include/libxml2 $CPPFLAGS"
  59075. - unset ac_cv_header_libxml_parser_h
  59076. -
  59077. -for ac_header in libxml/parser.h
  59078. -do
  59079. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  59080. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  59081. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  59082. -$as_echo_n "checking for $ac_header... " >&6; }
  59083. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  59084. - $as_echo_n "(cached) " >&6
  59085. -fi
  59086. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  59087. - $as_echo "$as_val"'`
  59088. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  59089. -$as_echo "$ac_res" >&6; }
  59090. -else
  59091. - # Is the header compilable?
  59092. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  59093. -$as_echo_n "checking $ac_header usability... " >&6; }
  59094. -cat >conftest.$ac_ext <<_ACEOF
  59095. -/* confdefs.h. */
  59096. -_ACEOF
  59097. -cat confdefs.h >>conftest.$ac_ext
  59098. -cat >>conftest.$ac_ext <<_ACEOF
  59099. -/* end confdefs.h. */
  59100. -$ac_includes_default
  59101. -#include <$ac_header>
  59102. -_ACEOF
  59103. -rm -f conftest.$ac_objext
  59104. -if { (ac_try="$ac_compile"
  59105. -case "(($ac_try" in
  59106. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  59107. - *) ac_try_echo=$ac_try;;
  59108. -esac
  59109. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  59110. -$as_echo "$ac_try_echo") >&5
  59111. - (eval "$ac_compile") 2>conftest.er1
  59112. - ac_status=$?
  59113. - grep -v '^ *+' conftest.er1 >conftest.err
  59114. - rm -f conftest.er1
  59115. - cat conftest.err >&5
  59116. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  59117. - (exit $ac_status); } && {
  59118. - test -z "$ac_c_werror_flag" ||
  59119. - test ! -s conftest.err
  59120. - } && test -s conftest.$ac_objext; then
  59121. - ac_header_compiler=yes
  59122. -else
  59123. - $as_echo "$as_me: failed program was:" >&5
  59124. -sed 's/^/| /' conftest.$ac_ext >&5
  59125. -
  59126. - ac_header_compiler=no
  59127. -fi
  59128. -
  59129. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  59130. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  59131. -$as_echo "$ac_header_compiler" >&6; }
  59132. -
  59133. -# Is the header present?
  59134. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  59135. -$as_echo_n "checking $ac_header presence... " >&6; }
  59136. -cat >conftest.$ac_ext <<_ACEOF
  59137. -/* confdefs.h. */
  59138. -_ACEOF
  59139. -cat confdefs.h >>conftest.$ac_ext
  59140. -cat >>conftest.$ac_ext <<_ACEOF
  59141. -/* end confdefs.h. */
  59142. -#include <$ac_header>
  59143. -_ACEOF
  59144. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  59145. -case "(($ac_try" in
  59146. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  59147. - *) ac_try_echo=$ac_try;;
  59148. -esac
  59149. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  59150. -$as_echo "$ac_try_echo") >&5
  59151. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  59152. - ac_status=$?
  59153. - grep -v '^ *+' conftest.er1 >conftest.err
  59154. - rm -f conftest.er1
  59155. - cat conftest.err >&5
  59156. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  59157. - (exit $ac_status); } >/dev/null && {
  59158. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  59159. - test ! -s conftest.err
  59160. - }; then
  59161. - ac_header_preproc=yes
  59162. -else
  59163. - $as_echo "$as_me: failed program was:" >&5
  59164. -sed 's/^/| /' conftest.$ac_ext >&5
  59165. -
  59166. - ac_header_preproc=no
  59167. -fi
  59168. -
  59169. -rm -f conftest.err conftest.$ac_ext
  59170. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  59171. -$as_echo "$ac_header_preproc" >&6; }
  59172. -
  59173. -# So? What about this header?
  59174. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  59175. - yes:no: )
  59176. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  59177. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  59178. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  59179. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  59180. - ac_header_preproc=yes
  59181. - ;;
  59182. - no:yes:* )
  59183. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  59184. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  59185. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  59186. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  59187. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  59188. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  59189. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  59190. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  59191. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  59192. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  59193. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  59194. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  59195. - ( cat <<\_ASBOX
  59196. -## ----------------------------------------------- ##
  59197. -## Report this to http://www.squid-cache.org/bugs/ ##
  59198. -## ----------------------------------------------- ##
  59199. -_ASBOX
  59200. - ) | sed "s/^/$as_me: WARNING: /" >&2
  59201. - ;;
  59202. -esac
  59203. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  59204. -$as_echo_n "checking for $ac_header... " >&6; }
  59205. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  59206. - $as_echo_n "(cached) " >&6
  59207. -else
  59208. - eval "$as_ac_Header=\$ac_header_preproc"
  59209. -fi
  59210. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  59211. - $as_echo "$as_val"'`
  59212. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  59213. -$as_echo "$ac_res" >&6; }
  59214. -
  59215. -fi
  59216. -if test `eval 'as_val=${'$as_ac_Header'}
  59217. - $as_echo "$as_val"'` = yes; then
  59218. - cat >>confdefs.h <<_ACEOF
  59219. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  59220. -_ACEOF
  59221. - ac_cv_libxml2_include=yes
  59222. -fi
  59223. -
  59224. -done
  59225. -
  59226. - CPPFLAGS="$SAVED_CPPFLAGS"
  59227. -
  59228. -fi
  59229. -
  59230. -done
  59231. -
  59232. -if test "x$ac_cv_libxml2_include" = "xyes"; then
  59233. - SQUID_CXXFLAGS="-I/usr/include/libxml2 $SQUID_CXXFLAGS"
  59234. -fi
  59235. -
  59236. -{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  59237. -$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  59238. -if test "${ac_cv_c_const+set}" = set; then
  59239. - $as_echo_n "(cached) " >&6
  59240. -else
  59241. - cat >conftest.$ac_ext <<_ACEOF
  59242. -/* confdefs.h. */
  59243. -_ACEOF
  59244. -cat confdefs.h >>conftest.$ac_ext
  59245. -cat >>conftest.$ac_ext <<_ACEOF
  59246. -/* end confdefs.h. */
  59247. -
  59248. -int
  59249. -main ()
  59250. -{
  59251. -/* FIXME: Include the comments suggested by Paul. */
  59252. -#ifndef __cplusplus
  59253. - /* Ultrix mips cc rejects this. */
  59254. - typedef int charset[2];
  59255. - const charset cs;
  59256. - /* SunOS 4.1.1 cc rejects this. */
  59257. - char const *const *pcpcc;
  59258. - char **ppc;
  59259. - /* NEC SVR4.0.2 mips cc rejects this. */
  59260. - struct point {int x, y;};
  59261. - static struct point const zero = {0,0};
  59262. - /* AIX XL C 1.02.0.0 rejects this.
  59263. - It does not let you subtract one const X* pointer from another in
  59264. - an arm of an if-expression whose if-part is not a constant
  59265. - expression */
  59266. - const char *g = "string";
  59267. - pcpcc = &g + (g ? g-g : 0);
  59268. - /* HPUX 7.0 cc rejects these. */
  59269. - ++pcpcc;
  59270. - ppc = (char**) pcpcc;
  59271. - pcpcc = (char const *const *) ppc;
  59272. - { /* SCO 3.2v4 cc rejects this. */
  59273. - char *t;
  59274. - char const *s = 0 ? (char *) 0 : (char const *) 0;
  59275. -
  59276. - *t++ = 0;
  59277. - if (s) return 0;
  59278. - }
  59279. - { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  59280. - int x[] = {25, 17};
  59281. - const int *foo = &x[0];
  59282. - ++foo;
  59283. - }
  59284. - { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  59285. - typedef const int *iptr;
  59286. - iptr p = 0;
  59287. - ++p;
  59288. - }
  59289. - { /* AIX XL C 1.02.0.0 rejects this saying
  59290. - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  59291. - struct s { int j; const int *ap[3]; };
  59292. - struct s *b; b->j = 5;
  59293. - }
  59294. - { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  59295. - const int foo = 10;
  59296. - if (!foo) return 0;
  59297. - }
  59298. - return !cs[0] && !zero.x;
  59299. -#endif
  59300. -
  59301. - ;
  59302. - return 0;
  59303. -}
  59304. -_ACEOF
  59305. -rm -f conftest.$ac_objext
  59306. -if { (ac_try="$ac_compile"
  59307. -case "(($ac_try" in
  59308. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  59309. - *) ac_try_echo=$ac_try;;
  59310. -esac
  59311. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  59312. -$as_echo "$ac_try_echo") >&5
  59313. - (eval "$ac_compile") 2>conftest.er1
  59314. - ac_status=$?
  59315. - grep -v '^ *+' conftest.er1 >conftest.err
  59316. - rm -f conftest.er1
  59317. - cat conftest.err >&5
  59318. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  59319. - (exit $ac_status); } && {
  59320. - test -z "$ac_c_werror_flag" ||
  59321. - test ! -s conftest.err
  59322. - } && test -s conftest.$ac_objext; then
  59323. - ac_cv_c_const=yes
  59324. -else
  59325. - $as_echo "$as_me: failed program was:" >&5
  59326. -sed 's/^/| /' conftest.$ac_ext >&5
  59327. -
  59328. - ac_cv_c_const=no
  59329. -fi
  59330. -
  59331. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  59332. -fi
  59333. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  59334. -$as_echo "$ac_cv_c_const" >&6; }
  59335. -if test $ac_cv_c_const = no; then
  59336. -
  59337. -cat >>confdefs.h <<\_ACEOF
  59338. -#define const /**/
  59339. -_ACEOF
  59340. -
  59341. -fi
  59342. -
  59343. -
  59344. - { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
  59345. -$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  59346. -if test "${ac_cv_c_bigendian+set}" = set; then
  59347. - $as_echo_n "(cached) " >&6
  59348. -else
  59349. - ac_cv_c_bigendian=unknown
  59350. - # See if __BIG_ENDIAN__ or __LITTLE_ENDIAN__ is defined.
  59351. - cat >conftest.$ac_ext <<_ACEOF
  59352. -/* confdefs.h. */
  59353. -_ACEOF
  59354. -cat confdefs.h >>conftest.$ac_ext
  59355. -cat >>conftest.$ac_ext <<_ACEOF
  59356. -/* end confdefs.h. */
  59357. -#if ! (defined __BIG_ENDIAN__ || defined __LITTLE_ENDIAN__)
  59358. - neither is defined;
  59359. - #endif
  59360. - typedef int dummy;
  59361. -
  59362. -_ACEOF
  59363. -rm -f conftest.$ac_objext
  59364. -if { (ac_try="$ac_compile"
  59365. -case "(($ac_try" in
  59366. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  59367. - *) ac_try_echo=$ac_try;;
  59368. -esac
  59369. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  59370. -$as_echo "$ac_try_echo") >&5
  59371. - (eval "$ac_compile") 2>conftest.er1
  59372. - ac_status=$?
  59373. - grep -v '^ *+' conftest.er1 >conftest.err
  59374. - rm -f conftest.er1
  59375. - cat conftest.err >&5
  59376. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  59377. - (exit $ac_status); } && {
  59378. - test -z "$ac_c_werror_flag" ||
  59379. - test ! -s conftest.err
  59380. - } && test -s conftest.$ac_objext; then
  59381. - ac_cv_c_bigendian=universal
  59382. -else
  59383. - $as_echo "$as_me: failed program was:" >&5
  59384. -sed 's/^/| /' conftest.$ac_ext >&5
  59385. -
  59386. -
  59387. -fi
  59388. -
  59389. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  59390. - if test $ac_cv_c_bigendian = unknown; then
  59391. - # See if sys/param.h defines the BYTE_ORDER macro.
  59392. - cat >conftest.$ac_ext <<_ACEOF
  59393. -/* confdefs.h. */
  59394. -_ACEOF
  59395. -cat confdefs.h >>conftest.$ac_ext
  59396. -cat >>conftest.$ac_ext <<_ACEOF
  59397. -/* end confdefs.h. */
  59398. -#include <sys/types.h>
  59399. - #include <sys/param.h>
  59400. -
  59401. -int
  59402. -main ()
  59403. -{
  59404. -#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  59405. - && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  59406. - && LITTLE_ENDIAN)
  59407. - bogus endian macros
  59408. - #endif
  59409. -
  59410. - ;
  59411. - return 0;
  59412. -}
  59413. -_ACEOF
  59414. -rm -f conftest.$ac_objext
  59415. -if { (ac_try="$ac_compile"
  59416. -case "(($ac_try" in
  59417. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  59418. - *) ac_try_echo=$ac_try;;
  59419. -esac
  59420. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  59421. -$as_echo "$ac_try_echo") >&5
  59422. - (eval "$ac_compile") 2>conftest.er1
  59423. - ac_status=$?
  59424. - grep -v '^ *+' conftest.er1 >conftest.err
  59425. - rm -f conftest.er1
  59426. - cat conftest.err >&5
  59427. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  59428. - (exit $ac_status); } && {
  59429. - test -z "$ac_c_werror_flag" ||
  59430. - test ! -s conftest.err
  59431. - } && test -s conftest.$ac_objext; then
  59432. - # It does; now see whether it defined to BIG_ENDIAN or not.
  59433. - cat >conftest.$ac_ext <<_ACEOF
  59434. -/* confdefs.h. */
  59435. -_ACEOF
  59436. -cat confdefs.h >>conftest.$ac_ext
  59437. -cat >>conftest.$ac_ext <<_ACEOF
  59438. -/* end confdefs.h. */
  59439. -#include <sys/types.h>
  59440. - #include <sys/param.h>
  59441. -
  59442. -int
  59443. -main ()
  59444. -{
  59445. -#if BYTE_ORDER != BIG_ENDIAN
  59446. - not big endian
  59447. - #endif
  59448. -
  59449. - ;
  59450. - return 0;
  59451. -}
  59452. -_ACEOF
  59453. -rm -f conftest.$ac_objext
  59454. -if { (ac_try="$ac_compile"
  59455. -case "(($ac_try" in
  59456. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  59457. - *) ac_try_echo=$ac_try;;
  59458. -esac
  59459. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  59460. -$as_echo "$ac_try_echo") >&5
  59461. - (eval "$ac_compile") 2>conftest.er1
  59462. - ac_status=$?
  59463. - grep -v '^ *+' conftest.er1 >conftest.err
  59464. - rm -f conftest.er1
  59465. - cat conftest.err >&5
  59466. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  59467. - (exit $ac_status); } && {
  59468. - test -z "$ac_c_werror_flag" ||
  59469. - test ! -s conftest.err
  59470. - } && test -s conftest.$ac_objext; then
  59471. - ac_cv_c_bigendian=yes
  59472. -else
  59473. - $as_echo "$as_me: failed program was:" >&5
  59474. -sed 's/^/| /' conftest.$ac_ext >&5
  59475. -
  59476. - ac_cv_c_bigendian=no
  59477. -fi
  59478. -
  59479. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  59480. -else
  59481. - $as_echo "$as_me: failed program was:" >&5
  59482. -sed 's/^/| /' conftest.$ac_ext >&5
  59483. -
  59484. -
  59485. -fi
  59486. -
  59487. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  59488. - fi
  59489. - if test $ac_cv_c_bigendian = unknown; then
  59490. - # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  59491. - cat >conftest.$ac_ext <<_ACEOF
  59492. -/* confdefs.h. */
  59493. -_ACEOF
  59494. -cat confdefs.h >>conftest.$ac_ext
  59495. -cat >>conftest.$ac_ext <<_ACEOF
  59496. -/* end confdefs.h. */
  59497. -#include <limits.h>
  59498. -
  59499. -int
  59500. -main ()
  59501. -{
  59502. -#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  59503. - bogus endian macros
  59504. - #endif
  59505. -
  59506. - ;
  59507. - return 0;
  59508. -}
  59509. -_ACEOF
  59510. -rm -f conftest.$ac_objext
  59511. -if { (ac_try="$ac_compile"
  59512. -case "(($ac_try" in
  59513. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  59514. - *) ac_try_echo=$ac_try;;
  59515. -esac
  59516. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  59517. -$as_echo "$ac_try_echo") >&5
  59518. - (eval "$ac_compile") 2>conftest.er1
  59519. - ac_status=$?
  59520. - grep -v '^ *+' conftest.er1 >conftest.err
  59521. - rm -f conftest.er1
  59522. - cat conftest.err >&5
  59523. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  59524. - (exit $ac_status); } && {
  59525. - test -z "$ac_c_werror_flag" ||
  59526. - test ! -s conftest.err
  59527. - } && test -s conftest.$ac_objext; then
  59528. - # It does; now see whether it defined to _BIG_ENDIAN or not.
  59529. - cat >conftest.$ac_ext <<_ACEOF
  59530. -/* confdefs.h. */
  59531. -_ACEOF
  59532. -cat confdefs.h >>conftest.$ac_ext
  59533. -cat >>conftest.$ac_ext <<_ACEOF
  59534. -/* end confdefs.h. */
  59535. -#include <limits.h>
  59536. -
  59537. -int
  59538. -main ()
  59539. -{
  59540. -#ifndef _BIG_ENDIAN
  59541. - not big endian
  59542. - #endif
  59543. -
  59544. - ;
  59545. - return 0;
  59546. -}
  59547. -_ACEOF
  59548. -rm -f conftest.$ac_objext
  59549. -if { (ac_try="$ac_compile"
  59550. -case "(($ac_try" in
  59551. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  59552. - *) ac_try_echo=$ac_try;;
  59553. -esac
  59554. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  59555. -$as_echo "$ac_try_echo") >&5
  59556. - (eval "$ac_compile") 2>conftest.er1
  59557. - ac_status=$?
  59558. - grep -v '^ *+' conftest.er1 >conftest.err
  59559. - rm -f conftest.er1
  59560. - cat conftest.err >&5
  59561. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  59562. - (exit $ac_status); } && {
  59563. - test -z "$ac_c_werror_flag" ||
  59564. - test ! -s conftest.err
  59565. - } && test -s conftest.$ac_objext; then
  59566. - ac_cv_c_bigendian=yes
  59567. -else
  59568. - $as_echo "$as_me: failed program was:" >&5
  59569. -sed 's/^/| /' conftest.$ac_ext >&5
  59570. -
  59571. - ac_cv_c_bigendian=no
  59572. -fi
  59573. -
  59574. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  59575. -else
  59576. - $as_echo "$as_me: failed program was:" >&5
  59577. -sed 's/^/| /' conftest.$ac_ext >&5
  59578. -
  59579. -
  59580. -fi
  59581. -
  59582. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  59583. - fi
  59584. - if test $ac_cv_c_bigendian = unknown; then
  59585. - # Compile a test program.
  59586. - if test "$cross_compiling" = yes; then
  59587. - # Try to guess by grepping values from an object file.
  59588. - cat >conftest.$ac_ext <<_ACEOF
  59589. -/* confdefs.h. */
  59590. -_ACEOF
  59591. -cat confdefs.h >>conftest.$ac_ext
  59592. -cat >>conftest.$ac_ext <<_ACEOF
  59593. -/* end confdefs.h. */
  59594. -short int ascii_mm[] =
  59595. - { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  59596. - short int ascii_ii[] =
  59597. - { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  59598. - int use_ascii (int i) {
  59599. - return ascii_mm[i] + ascii_ii[i];
  59600. - }
  59601. - short int ebcdic_ii[] =
  59602. - { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  59603. - short int ebcdic_mm[] =
  59604. - { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  59605. - int use_ebcdic (int i) {
  59606. - return ebcdic_mm[i] + ebcdic_ii[i];
  59607. - }
  59608. - extern int foo;
  59609. -
  59610. -int
  59611. -main ()
  59612. -{
  59613. -return use_ascii (foo) == use_ebcdic (foo);
  59614. - ;
  59615. - return 0;
  59616. -}
  59617. -_ACEOF
  59618. -rm -f conftest.$ac_objext
  59619. -if { (ac_try="$ac_compile"
  59620. -case "(($ac_try" in
  59621. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  59622. - *) ac_try_echo=$ac_try;;
  59623. -esac
  59624. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  59625. -$as_echo "$ac_try_echo") >&5
  59626. - (eval "$ac_compile") 2>conftest.er1
  59627. - ac_status=$?
  59628. - grep -v '^ *+' conftest.er1 >conftest.err
  59629. - rm -f conftest.er1
  59630. - cat conftest.err >&5
  59631. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  59632. - (exit $ac_status); } && {
  59633. - test -z "$ac_c_werror_flag" ||
  59634. - test ! -s conftest.err
  59635. - } && test -s conftest.$ac_objext; then
  59636. - if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  59637. - ac_cv_c_bigendian=yes
  59638. - fi
  59639. - if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  59640. - if test "$ac_cv_c_bigendian" = unknown; then
  59641. - ac_cv_c_bigendian=no
  59642. - else
  59643. - # finding both strings is unlikely to happen, but who knows?
  59644. - ac_cv_c_bigendian=unknown
  59645. - fi
  59646. - fi
  59647. -else
  59648. - $as_echo "$as_me: failed program was:" >&5
  59649. -sed 's/^/| /' conftest.$ac_ext >&5
  59650. -
  59651. -
  59652. -fi
  59653. -
  59654. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  59655. -else
  59656. - cat >conftest.$ac_ext <<_ACEOF
  59657. -/* confdefs.h. */
  59658. -_ACEOF
  59659. -cat confdefs.h >>conftest.$ac_ext
  59660. -cat >>conftest.$ac_ext <<_ACEOF
  59661. -/* end confdefs.h. */
  59662. -$ac_includes_default
  59663. -int
  59664. -main ()
  59665. -{
  59666. -
  59667. - /* Are we little or big endian? From Harbison&Steele. */
  59668. - union
  59669. - {
  59670. - long int l;
  59671. - char c[sizeof (long int)];
  59672. - } u;
  59673. - u.l = 1;
  59674. - return u.c[sizeof (long int) - 1] == 1;
  59675. -
  59676. - ;
  59677. - return 0;
  59678. -}
  59679. -_ACEOF
  59680. -rm -f conftest$ac_exeext
  59681. -if { (ac_try="$ac_link"
  59682. -case "(($ac_try" in
  59683. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  59684. - *) ac_try_echo=$ac_try;;
  59685. -esac
  59686. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  59687. -$as_echo "$ac_try_echo") >&5
  59688. - (eval "$ac_link") 2>&5
  59689. - ac_status=$?
  59690. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  59691. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  59692. - { (case "(($ac_try" in
  59693. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  59694. - *) ac_try_echo=$ac_try;;
  59695. -esac
  59696. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  59697. -$as_echo "$ac_try_echo") >&5
  59698. - (eval "$ac_try") 2>&5
  59699. - ac_status=$?
  59700. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  59701. - (exit $ac_status); }; }; then
  59702. - ac_cv_c_bigendian=no
  59703. -else
  59704. - $as_echo "$as_me: program exited with status $ac_status" >&5
  59705. -$as_echo "$as_me: failed program was:" >&5
  59706. -sed 's/^/| /' conftest.$ac_ext >&5
  59707. -
  59708. -( exit $ac_status )
  59709. -ac_cv_c_bigendian=yes
  59710. -fi
  59711. -rm -rf conftest.dSYM
  59712. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  59713. -fi
  59714. -
  59715. -
  59716. - fi
  59717. -fi
  59718. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
  59719. -$as_echo "$ac_cv_c_bigendian" >&6; }
  59720. - case $ac_cv_c_bigendian in #(
  59721. - yes)
  59722. - cat >>confdefs.h <<\_ACEOF
  59723. -#define WORDS_BIGENDIAN 1
  59724. -_ACEOF
  59725. -;; #(
  59726. - no)
  59727. - ;; #(
  59728. - universal)
  59729. - ;; #(
  59730. - *)
  59731. - { { $as_echo "$as_me:$LINENO: error: unknown endianness
  59732. - presetting ac_cv_c_bigendian=no (or yes) will help" >&5
  59733. -$as_echo "$as_me: error: unknown endianness
  59734. - presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
  59735. - { (exit 1); exit 1; }; } ;;
  59736. - esac
  59737. -
  59738. -
  59739. -{ $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
  59740. -$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
  59741. -if test "${ac_cv_struct_tm+set}" = set; then
  59742. - $as_echo_n "(cached) " >&6
  59743. -else
  59744. - cat >conftest.$ac_ext <<_ACEOF
  59745. -/* confdefs.h. */
  59746. -_ACEOF
  59747. -cat confdefs.h >>conftest.$ac_ext
  59748. -cat >>conftest.$ac_ext <<_ACEOF
  59749. -/* end confdefs.h. */
  59750. -#include <sys/types.h>
  59751. -#include <time.h>
  59752. -
  59753. -int
  59754. -main ()
  59755. -{
  59756. -struct tm tm;
  59757. - int *p = &tm.tm_sec;
  59758. - return !p;
  59759. - ;
  59760. - return 0;
  59761. -}
  59762. -_ACEOF
  59763. -rm -f conftest.$ac_objext
  59764. -if { (ac_try="$ac_compile"
  59765. -case "(($ac_try" in
  59766. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  59767. - *) ac_try_echo=$ac_try;;
  59768. -esac
  59769. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  59770. -$as_echo "$ac_try_echo") >&5
  59771. - (eval "$ac_compile") 2>conftest.er1
  59772. - ac_status=$?
  59773. - grep -v '^ *+' conftest.er1 >conftest.err
  59774. - rm -f conftest.er1
  59775. - cat conftest.err >&5
  59776. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  59777. - (exit $ac_status); } && {
  59778. - test -z "$ac_c_werror_flag" ||
  59779. - test ! -s conftest.err
  59780. - } && test -s conftest.$ac_objext; then
  59781. - ac_cv_struct_tm=time.h
  59782. -else
  59783. - $as_echo "$as_me: failed program was:" >&5
  59784. -sed 's/^/| /' conftest.$ac_ext >&5
  59785. -
  59786. - ac_cv_struct_tm=sys/time.h
  59787. -fi
  59788. -
  59789. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  59790. -fi
  59791. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
  59792. -$as_echo "$ac_cv_struct_tm" >&6; }
  59793. -if test $ac_cv_struct_tm = sys/time.h; then
  59794. -
  59795. -cat >>confdefs.h <<\_ACEOF
  59796. -#define TM_IN_SYS_TIME 1
  59797. -_ACEOF
  59798. -
  59799. -fi
  59800. -
  59801. -{ $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
  59802. -$as_echo_n "checking for struct tm.tm_gmtoff... " >&6; }
  59803. -if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
  59804. - $as_echo_n "(cached) " >&6
  59805. -else
  59806. - cat >conftest.$ac_ext <<_ACEOF
  59807. -/* confdefs.h. */
  59808. -_ACEOF
  59809. -cat confdefs.h >>conftest.$ac_ext
  59810. -cat >>conftest.$ac_ext <<_ACEOF
  59811. -/* end confdefs.h. */
  59812. -
  59813. -#if TM_IN_SYS_TIME
  59814. -#if HAVE_SYS_TIME_H
  59815. -#include <sys/time.h>
  59816. -#endif
  59817. -#elif HAVE_TIME_H
  59818. -#include <time.h>
  59819. -#endif
  59820. -
  59821. -
  59822. -int
  59823. -main ()
  59824. -{
  59825. -static struct tm ac_aggr;
  59826. -if (ac_aggr.tm_gmtoff)
  59827. -return 0;
  59828. - ;
  59829. - return 0;
  59830. -}
  59831. -_ACEOF
  59832. -rm -f conftest.$ac_objext
  59833. -if { (ac_try="$ac_compile"
  59834. -case "(($ac_try" in
  59835. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  59836. - *) ac_try_echo=$ac_try;;
  59837. -esac
  59838. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  59839. -$as_echo "$ac_try_echo") >&5
  59840. - (eval "$ac_compile") 2>conftest.er1
  59841. - ac_status=$?
  59842. - grep -v '^ *+' conftest.er1 >conftest.err
  59843. - rm -f conftest.er1
  59844. - cat conftest.err >&5
  59845. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  59846. - (exit $ac_status); } && {
  59847. - test -z "$ac_c_werror_flag" ||
  59848. - test ! -s conftest.err
  59849. - } && test -s conftest.$ac_objext; then
  59850. - ac_cv_member_struct_tm_tm_gmtoff=yes
  59851. -else
  59852. - $as_echo "$as_me: failed program was:" >&5
  59853. -sed 's/^/| /' conftest.$ac_ext >&5
  59854. -
  59855. - cat >conftest.$ac_ext <<_ACEOF
  59856. -/* confdefs.h. */
  59857. -_ACEOF
  59858. -cat confdefs.h >>conftest.$ac_ext
  59859. -cat >>conftest.$ac_ext <<_ACEOF
  59860. -/* end confdefs.h. */
  59861. -
  59862. -#if TM_IN_SYS_TIME
  59863. -#if HAVE_SYS_TIME_H
  59864. -#include <sys/time.h>
  59865. -#endif
  59866. -#elif HAVE_TIME_H
  59867. -#include <time.h>
  59868. -#endif
  59869. -
  59870. -
  59871. -int
  59872. -main ()
  59873. -{
  59874. -static struct tm ac_aggr;
  59875. -if (sizeof ac_aggr.tm_gmtoff)
  59876. -return 0;
  59877. - ;
  59878. - return 0;
  59879. -}
  59880. -_ACEOF
  59881. -rm -f conftest.$ac_objext
  59882. -if { (ac_try="$ac_compile"
  59883. -case "(($ac_try" in
  59884. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  59885. - *) ac_try_echo=$ac_try;;
  59886. -esac
  59887. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  59888. -$as_echo "$ac_try_echo") >&5
  59889. - (eval "$ac_compile") 2>conftest.er1
  59890. - ac_status=$?
  59891. - grep -v '^ *+' conftest.er1 >conftest.err
  59892. - rm -f conftest.er1
  59893. - cat conftest.err >&5
  59894. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  59895. - (exit $ac_status); } && {
  59896. - test -z "$ac_c_werror_flag" ||
  59897. - test ! -s conftest.err
  59898. - } && test -s conftest.$ac_objext; then
  59899. - ac_cv_member_struct_tm_tm_gmtoff=yes
  59900. -else
  59901. - $as_echo "$as_me: failed program was:" >&5
  59902. -sed 's/^/| /' conftest.$ac_ext >&5
  59903. -
  59904. - ac_cv_member_struct_tm_tm_gmtoff=no
  59905. -fi
  59906. -
  59907. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  59908. -fi
  59909. -
  59910. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  59911. -fi
  59912. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
  59913. -$as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
  59914. -if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
  59915. -
  59916. -cat >>confdefs.h <<_ACEOF
  59917. -#define HAVE_STRUCT_TM_TM_GMTOFF 1
  59918. -_ACEOF
  59919. -
  59920. -
  59921. -fi
  59922. -
  59923. -
  59924. -{ $as_echo "$as_me:$LINENO: checking for struct mallinfo" >&5
  59925. -$as_echo_n "checking for struct mallinfo... " >&6; }
  59926. -if test "${ac_cv_type_struct_mallinfo+set}" = set; then
  59927. - $as_echo_n "(cached) " >&6
  59928. -else
  59929. - ac_cv_type_struct_mallinfo=no
  59930. -cat >conftest.$ac_ext <<_ACEOF
  59931. -/* confdefs.h. */
  59932. -_ACEOF
  59933. -cat confdefs.h >>conftest.$ac_ext
  59934. -cat >>conftest.$ac_ext <<_ACEOF
  59935. -/* end confdefs.h. */
  59936. -
  59937. -#if HAVE_SYS_TYPES_H
  59938. -#include <sys/types.h>
  59939. -#endif
  59940. -#if HAVE_MALLOC_H
  59941. -#include <malloc.h>
  59942. -#endif
  59943. -
  59944. -int
  59945. -main ()
  59946. -{
  59947. -if (sizeof (struct mallinfo))
  59948. - return 0;
  59949. - ;
  59950. - return 0;
  59951. -}
  59952. -_ACEOF
  59953. -rm -f conftest.$ac_objext
  59954. -if { (ac_try="$ac_compile"
  59955. -case "(($ac_try" in
  59956. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  59957. - *) ac_try_echo=$ac_try;;
  59958. -esac
  59959. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  59960. -$as_echo "$ac_try_echo") >&5
  59961. - (eval "$ac_compile") 2>conftest.er1
  59962. - ac_status=$?
  59963. - grep -v '^ *+' conftest.er1 >conftest.err
  59964. - rm -f conftest.er1
  59965. - cat conftest.err >&5
  59966. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  59967. - (exit $ac_status); } && {
  59968. - test -z "$ac_c_werror_flag" ||
  59969. - test ! -s conftest.err
  59970. - } && test -s conftest.$ac_objext; then
  59971. - cat >conftest.$ac_ext <<_ACEOF
  59972. -/* confdefs.h. */
  59973. -_ACEOF
  59974. -cat confdefs.h >>conftest.$ac_ext
  59975. -cat >>conftest.$ac_ext <<_ACEOF
  59976. -/* end confdefs.h. */
  59977. -
  59978. -#if HAVE_SYS_TYPES_H
  59979. -#include <sys/types.h>
  59980. -#endif
  59981. -#if HAVE_MALLOC_H
  59982. -#include <malloc.h>
  59983. -#endif
  59984. -
  59985. -int
  59986. -main ()
  59987. -{
  59988. -if (sizeof ((struct mallinfo)))
  59989. - return 0;
  59990. - ;
  59991. - return 0;
  59992. -}
  59993. -_ACEOF
  59994. -rm -f conftest.$ac_objext
  59995. -if { (ac_try="$ac_compile"
  59996. -case "(($ac_try" in
  59997. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  59998. - *) ac_try_echo=$ac_try;;
  59999. -esac
  60000. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  60001. -$as_echo "$ac_try_echo") >&5
  60002. - (eval "$ac_compile") 2>conftest.er1
  60003. - ac_status=$?
  60004. - grep -v '^ *+' conftest.er1 >conftest.err
  60005. - rm -f conftest.er1
  60006. - cat conftest.err >&5
  60007. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  60008. - (exit $ac_status); } && {
  60009. - test -z "$ac_c_werror_flag" ||
  60010. - test ! -s conftest.err
  60011. - } && test -s conftest.$ac_objext; then
  60012. - :
  60013. -else
  60014. - $as_echo "$as_me: failed program was:" >&5
  60015. -sed 's/^/| /' conftest.$ac_ext >&5
  60016. -
  60017. - ac_cv_type_struct_mallinfo=yes
  60018. -fi
  60019. -
  60020. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  60021. -else
  60022. - $as_echo "$as_me: failed program was:" >&5
  60023. -sed 's/^/| /' conftest.$ac_ext >&5
  60024. -
  60025. -
  60026. -fi
  60027. -
  60028. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  60029. -fi
  60030. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_mallinfo" >&5
  60031. -$as_echo "$ac_cv_type_struct_mallinfo" >&6; }
  60032. -if test $ac_cv_type_struct_mallinfo = yes; then
  60033. -
  60034. -cat >>confdefs.h <<\_ACEOF
  60035. -#define HAVE_STRUCT_MALLINFO 1
  60036. -_ACEOF
  60037. -
  60038. -fi
  60039. -
  60040. -
  60041. -{ $as_echo "$as_me:$LINENO: checking for struct mallinfo.mxfast" >&5
  60042. -$as_echo_n "checking for struct mallinfo.mxfast... " >&6; }
  60043. -if test "${ac_cv_member_struct_mallinfo_mxfast+set}" = set; then
  60044. - $as_echo_n "(cached) " >&6
  60045. -else
  60046. - cat >conftest.$ac_ext <<_ACEOF
  60047. -/* confdefs.h. */
  60048. -_ACEOF
  60049. -cat confdefs.h >>conftest.$ac_ext
  60050. -cat >>conftest.$ac_ext <<_ACEOF
  60051. -/* end confdefs.h. */
  60052. -
  60053. -#if HAVE_SYS_TYPES_H
  60054. -#include <sys/types.h>
  60055. -#endif
  60056. -#if HAVE_MALLOC_H
  60057. -#include <malloc.h>
  60058. -#endif
  60059. -
  60060. -int
  60061. -main ()
  60062. -{
  60063. -static struct mallinfo ac_aggr;
  60064. -if (ac_aggr.mxfast)
  60065. -return 0;
  60066. - ;
  60067. - return 0;
  60068. -}
  60069. -_ACEOF
  60070. -rm -f conftest.$ac_objext
  60071. -if { (ac_try="$ac_compile"
  60072. -case "(($ac_try" in
  60073. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  60074. - *) ac_try_echo=$ac_try;;
  60075. -esac
  60076. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  60077. -$as_echo "$ac_try_echo") >&5
  60078. - (eval "$ac_compile") 2>conftest.er1
  60079. - ac_status=$?
  60080. - grep -v '^ *+' conftest.er1 >conftest.err
  60081. - rm -f conftest.er1
  60082. - cat conftest.err >&5
  60083. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  60084. - (exit $ac_status); } && {
  60085. - test -z "$ac_c_werror_flag" ||
  60086. - test ! -s conftest.err
  60087. - } && test -s conftest.$ac_objext; then
  60088. - ac_cv_member_struct_mallinfo_mxfast=yes
  60089. -else
  60090. - $as_echo "$as_me: failed program was:" >&5
  60091. -sed 's/^/| /' conftest.$ac_ext >&5
  60092. -
  60093. - cat >conftest.$ac_ext <<_ACEOF
  60094. -/* confdefs.h. */
  60095. -_ACEOF
  60096. -cat confdefs.h >>conftest.$ac_ext
  60097. -cat >>conftest.$ac_ext <<_ACEOF
  60098. -/* end confdefs.h. */
  60099. -
  60100. -#if HAVE_SYS_TYPES_H
  60101. -#include <sys/types.h>
  60102. -#endif
  60103. -#if HAVE_MALLOC_H
  60104. -#include <malloc.h>
  60105. -#endif
  60106. -
  60107. -int
  60108. -main ()
  60109. -{
  60110. -static struct mallinfo ac_aggr;
  60111. -if (sizeof ac_aggr.mxfast)
  60112. -return 0;
  60113. - ;
  60114. - return 0;
  60115. -}
  60116. -_ACEOF
  60117. -rm -f conftest.$ac_objext
  60118. -if { (ac_try="$ac_compile"
  60119. -case "(($ac_try" in
  60120. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  60121. - *) ac_try_echo=$ac_try;;
  60122. -esac
  60123. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  60124. -$as_echo "$ac_try_echo") >&5
  60125. - (eval "$ac_compile") 2>conftest.er1
  60126. - ac_status=$?
  60127. - grep -v '^ *+' conftest.er1 >conftest.err
  60128. - rm -f conftest.er1
  60129. - cat conftest.err >&5
  60130. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  60131. - (exit $ac_status); } && {
  60132. - test -z "$ac_c_werror_flag" ||
  60133. - test ! -s conftest.err
  60134. - } && test -s conftest.$ac_objext; then
  60135. - ac_cv_member_struct_mallinfo_mxfast=yes
  60136. -else
  60137. - $as_echo "$as_me: failed program was:" >&5
  60138. -sed 's/^/| /' conftest.$ac_ext >&5
  60139. -
  60140. - ac_cv_member_struct_mallinfo_mxfast=no
  60141. -fi
  60142. -
  60143. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  60144. -fi
  60145. -
  60146. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  60147. -fi
  60148. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_mallinfo_mxfast" >&5
  60149. -$as_echo "$ac_cv_member_struct_mallinfo_mxfast" >&6; }
  60150. -if test $ac_cv_member_struct_mallinfo_mxfast = yes; then
  60151. -
  60152. -cat >>confdefs.h <<_ACEOF
  60153. -#define HAVE_STRUCT_MALLINFO_MXFAST 1
  60154. -_ACEOF
  60155. -
  60156. -
  60157. -fi
  60158. -
  60159. -
  60160. -case "$host_os" in
  60161. - mingw|mingw32)
  60162. - cat >>confdefs.h <<\_ACEOF
  60163. -#define HAVE_STRUCT_RUSAGE 1
  60164. -_ACEOF
  60165. -
  60166. - ac_cv_func_getrusage='yes'
  60167. - echo "Using own rusage on Windows."
  60168. - ;;
  60169. - *)
  60170. - { $as_echo "$as_me:$LINENO: checking for struct rusage" >&5
  60171. -$as_echo_n "checking for struct rusage... " >&6; }
  60172. -if test "${ac_cv_type_struct_rusage+set}" = set; then
  60173. - $as_echo_n "(cached) " >&6
  60174. -else
  60175. - ac_cv_type_struct_rusage=no
  60176. -cat >conftest.$ac_ext <<_ACEOF
  60177. -/* confdefs.h. */
  60178. -_ACEOF
  60179. -cat confdefs.h >>conftest.$ac_ext
  60180. -cat >>conftest.$ac_ext <<_ACEOF
  60181. -/* end confdefs.h. */
  60182. -
  60183. -#if HAVE_SYS_TIME_H
  60184. -#include <sys/time.h>
  60185. -#endif
  60186. -#if HAVE_SYS_RESOURCE_H
  60187. -#include <sys/resource.h>
  60188. -#endif
  60189. -
  60190. -int
  60191. -main ()
  60192. -{
  60193. -if (sizeof (struct rusage))
  60194. - return 0;
  60195. - ;
  60196. - return 0;
  60197. -}
  60198. -_ACEOF
  60199. -rm -f conftest.$ac_objext
  60200. -if { (ac_try="$ac_compile"
  60201. -case "(($ac_try" in
  60202. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  60203. - *) ac_try_echo=$ac_try;;
  60204. -esac
  60205. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  60206. -$as_echo "$ac_try_echo") >&5
  60207. - (eval "$ac_compile") 2>conftest.er1
  60208. - ac_status=$?
  60209. - grep -v '^ *+' conftest.er1 >conftest.err
  60210. - rm -f conftest.er1
  60211. - cat conftest.err >&5
  60212. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  60213. - (exit $ac_status); } && {
  60214. - test -z "$ac_c_werror_flag" ||
  60215. - test ! -s conftest.err
  60216. - } && test -s conftest.$ac_objext; then
  60217. - cat >conftest.$ac_ext <<_ACEOF
  60218. -/* confdefs.h. */
  60219. -_ACEOF
  60220. -cat confdefs.h >>conftest.$ac_ext
  60221. -cat >>conftest.$ac_ext <<_ACEOF
  60222. -/* end confdefs.h. */
  60223. -
  60224. -#if HAVE_SYS_TIME_H
  60225. -#include <sys/time.h>
  60226. -#endif
  60227. -#if HAVE_SYS_RESOURCE_H
  60228. -#include <sys/resource.h>
  60229. -#endif
  60230. -
  60231. -int
  60232. -main ()
  60233. -{
  60234. -if (sizeof ((struct rusage)))
  60235. - return 0;
  60236. - ;
  60237. - return 0;
  60238. -}
  60239. -_ACEOF
  60240. -rm -f conftest.$ac_objext
  60241. -if { (ac_try="$ac_compile"
  60242. -case "(($ac_try" in
  60243. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  60244. - *) ac_try_echo=$ac_try;;
  60245. -esac
  60246. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  60247. -$as_echo "$ac_try_echo") >&5
  60248. - (eval "$ac_compile") 2>conftest.er1
  60249. - ac_status=$?
  60250. - grep -v '^ *+' conftest.er1 >conftest.err
  60251. - rm -f conftest.er1
  60252. - cat conftest.err >&5
  60253. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  60254. - (exit $ac_status); } && {
  60255. - test -z "$ac_c_werror_flag" ||
  60256. - test ! -s conftest.err
  60257. - } && test -s conftest.$ac_objext; then
  60258. - :
  60259. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  60260. + fi
  60261. + # Ok, now we have the path, separated by spaces, we can step through it
  60262. + # and add multilib dir if necessary.
  60263. + lt_tmp_lt_search_path_spec=
  60264. + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  60265. + for lt_sys_path in $lt_search_path_spec; do
  60266. + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  60267. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  60268. + else
  60269. + test -d "$lt_sys_path" && \
  60270. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  60271. + fi
  60272. + done
  60273. + lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  60274. +BEGIN {RS=" "; FS="/|\n";} {
  60275. + lt_foo="";
  60276. + lt_count=0;
  60277. + for (lt_i = NF; lt_i > 0; lt_i--) {
  60278. + if ($lt_i != "" && $lt_i != ".") {
  60279. + if ($lt_i == "..") {
  60280. + lt_count++;
  60281. + } else {
  60282. + if (lt_count == 0) {
  60283. + lt_foo="/" $lt_i lt_foo;
  60284. + } else {
  60285. + lt_count--;
  60286. + }
  60287. + }
  60288. + }
  60289. + }
  60290. + if (lt_foo != "") { lt_freq[lt_foo]++; }
  60291. + if (lt_freq[lt_foo] == 1) { print lt_foo; }
  60292. +}'`
  60293. + sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  60294. else
  60295. - $as_echo "$as_me: failed program was:" >&5
  60296. -sed 's/^/| /' conftest.$ac_ext >&5
  60297. -
  60298. - ac_cv_type_struct_rusage=yes
  60299. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  60300. fi
  60301. +library_names_spec=
  60302. +libname_spec='lib$name'
  60303. +soname_spec=
  60304. +shrext_cmds=".so"
  60305. +postinstall_cmds=
  60306. +postuninstall_cmds=
  60307. +finish_cmds=
  60308. +finish_eval=
  60309. +shlibpath_var=
  60310. +shlibpath_overrides_runpath=unknown
  60311. +version_type=none
  60312. +dynamic_linker="$host_os ld.so"
  60313. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  60314. +need_lib_prefix=unknown
  60315. +hardcode_into_libs=no
  60316. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  60317. -else
  60318. - $as_echo "$as_me: failed program was:" >&5
  60319. -sed 's/^/| /' conftest.$ac_ext >&5
  60320. -
  60321. -
  60322. -fi
  60323. +# when you set need_version to no, make sure it does not cause -set_version
  60324. +# flags to be left without arguments
  60325. +need_version=unknown
  60326. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  60327. -fi
  60328. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_rusage" >&5
  60329. -$as_echo "$ac_cv_type_struct_rusage" >&6; }
  60330. -if test $ac_cv_type_struct_rusage = yes; then
  60331. +case $host_os in
  60332. +aix3*)
  60333. + version_type=linux
  60334. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  60335. + shlibpath_var=LIBPATH
  60336. -cat >>confdefs.h <<\_ACEOF
  60337. -#define HAVE_STRUCT_RUSAGE 1
  60338. -_ACEOF
  60339. + # AIX 3 has no versioning support, so we append a major version to the name.
  60340. + soname_spec='${libname}${release}${shared_ext}$major'
  60341. + ;;
  60342. -fi
  60343. +aix[4-9]*)
  60344. + version_type=linux
  60345. + need_lib_prefix=no
  60346. + need_version=no
  60347. + hardcode_into_libs=yes
  60348. + if test "$host_cpu" = ia64; then
  60349. + # AIX 5 supports IA64
  60350. + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  60351. + shlibpath_var=LD_LIBRARY_PATH
  60352. + else
  60353. + # With GCC up to 2.95.x, collect2 would create an import file
  60354. + # for dependence libraries. The import file would start with
  60355. + # the line `#! .'. This would cause the generated library to
  60356. + # depend on `.', always an invalid library. This was fixed in
  60357. + # development snapshots of GCC prior to 3.0.
  60358. + case $host_os in
  60359. + aix4 | aix4.[01] | aix4.[01].*)
  60360. + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  60361. + echo ' yes '
  60362. + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  60363. + :
  60364. + else
  60365. + can_build_shared=no
  60366. + fi
  60367. + ;;
  60368. + esac
  60369. + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  60370. + # soname into executable. Probably we can add versioning support to
  60371. + # collect2, so additional links can be useful in future.
  60372. + if test "$aix_use_runtimelinking" = yes; then
  60373. + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  60374. + # instead of lib<name>.a to let people know that these are not
  60375. + # typical AIX shared libraries.
  60376. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  60377. + else
  60378. + # We preserve .a as extension for shared libraries through AIX4.2
  60379. + # and later when we are not doing run time linking.
  60380. + library_names_spec='${libname}${release}.a $libname.a'
  60381. + soname_spec='${libname}${release}${shared_ext}$major'
  60382. + fi
  60383. + shlibpath_var=LIBPATH
  60384. + fi
  60385. + ;;
  60386. +amigaos*)
  60387. + case $host_cpu in
  60388. + powerpc)
  60389. + # Since July 2007 AmigaOS4 officially supports .so libraries.
  60390. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  60391. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  60392. ;;
  60393. -esac
  60394. -
  60395. -{ $as_echo "$as_me:$LINENO: checking for struct iphdr.ip_hl" >&5
  60396. -$as_echo_n "checking for struct iphdr.ip_hl... " >&6; }
  60397. -if test "${ac_cv_member_struct_iphdr_ip_hl+set}" = set; then
  60398. - $as_echo_n "(cached) " >&6
  60399. -else
  60400. - cat >conftest.$ac_ext <<_ACEOF
  60401. -/* confdefs.h. */
  60402. -_ACEOF
  60403. -cat confdefs.h >>conftest.$ac_ext
  60404. -cat >>conftest.$ac_ext <<_ACEOF
  60405. -/* end confdefs.h. */
  60406. -
  60407. -#if HAVE_SYS_TYPES_H
  60408. -#include <sys/types.h>
  60409. -#endif
  60410. -#include <netinet/in.h>
  60411. -#include <netinet/in_systm.h>
  60412. -#include <netinet/ip.h>
  60413. -#if defined (__linux__) || defined (__CYGWIN__)
  60414. -#define ip_hl ihl
  60415. -#endif
  60416. -#ifndef __linux__
  60417. -#ifndef __CYGWIN__
  60418. -#define iphdr ip
  60419. -#endif
  60420. -#endif
  60421. + m68k)
  60422. + library_names_spec='$libname.ixlibrary $libname.a'
  60423. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  60424. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  60425. + ;;
  60426. + esac
  60427. + ;;
  60428. -int
  60429. -main ()
  60430. -{
  60431. -static struct iphdr ac_aggr;
  60432. -if (ac_aggr.ip_hl)
  60433. -return 0;
  60434. - ;
  60435. - return 0;
  60436. -}
  60437. -_ACEOF
  60438. -rm -f conftest.$ac_objext
  60439. -if { (ac_try="$ac_compile"
  60440. -case "(($ac_try" in
  60441. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  60442. - *) ac_try_echo=$ac_try;;
  60443. -esac
  60444. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  60445. -$as_echo "$ac_try_echo") >&5
  60446. - (eval "$ac_compile") 2>conftest.er1
  60447. - ac_status=$?
  60448. - grep -v '^ *+' conftest.er1 >conftest.err
  60449. - rm -f conftest.er1
  60450. - cat conftest.err >&5
  60451. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  60452. - (exit $ac_status); } && {
  60453. - test -z "$ac_c_werror_flag" ||
  60454. - test ! -s conftest.err
  60455. - } && test -s conftest.$ac_objext; then
  60456. - ac_cv_member_struct_iphdr_ip_hl=yes
  60457. -else
  60458. - $as_echo "$as_me: failed program was:" >&5
  60459. -sed 's/^/| /' conftest.$ac_ext >&5
  60460. +beos*)
  60461. + library_names_spec='${libname}${shared_ext}'
  60462. + dynamic_linker="$host_os ld.so"
  60463. + shlibpath_var=LIBRARY_PATH
  60464. + ;;
  60465. - cat >conftest.$ac_ext <<_ACEOF
  60466. -/* confdefs.h. */
  60467. -_ACEOF
  60468. -cat confdefs.h >>conftest.$ac_ext
  60469. -cat >>conftest.$ac_ext <<_ACEOF
  60470. -/* end confdefs.h. */
  60471. +bsdi[45]*)
  60472. + version_type=linux
  60473. + need_version=no
  60474. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  60475. + soname_spec='${libname}${release}${shared_ext}$major'
  60476. + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  60477. + shlibpath_var=LD_LIBRARY_PATH
  60478. + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  60479. + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  60480. + # the default ld.so.conf also contains /usr/contrib/lib and
  60481. + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  60482. + # libtool to hard-code these into programs
  60483. + ;;
  60484. -#if HAVE_SYS_TYPES_H
  60485. -#include <sys/types.h>
  60486. -#endif
  60487. -#include <netinet/in.h>
  60488. -#include <netinet/in_systm.h>
  60489. -#include <netinet/ip.h>
  60490. -#if defined (__linux__) || defined (__CYGWIN__)
  60491. -#define ip_hl ihl
  60492. -#endif
  60493. -#ifndef __linux__
  60494. -#ifndef __CYGWIN__
  60495. -#define iphdr ip
  60496. -#endif
  60497. -#endif
  60498. +cygwin* | mingw* | pw32* | cegcc*)
  60499. + version_type=windows
  60500. + shrext_cmds=".dll"
  60501. + need_version=no
  60502. + need_lib_prefix=no
  60503. -int
  60504. -main ()
  60505. -{
  60506. -static struct iphdr ac_aggr;
  60507. -if (sizeof ac_aggr.ip_hl)
  60508. -return 0;
  60509. - ;
  60510. - return 0;
  60511. -}
  60512. -_ACEOF
  60513. -rm -f conftest.$ac_objext
  60514. -if { (ac_try="$ac_compile"
  60515. -case "(($ac_try" in
  60516. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  60517. - *) ac_try_echo=$ac_try;;
  60518. -esac
  60519. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  60520. -$as_echo "$ac_try_echo") >&5
  60521. - (eval "$ac_compile") 2>conftest.er1
  60522. - ac_status=$?
  60523. - grep -v '^ *+' conftest.er1 >conftest.err
  60524. - rm -f conftest.er1
  60525. - cat conftest.err >&5
  60526. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  60527. - (exit $ac_status); } && {
  60528. - test -z "$ac_c_werror_flag" ||
  60529. - test ! -s conftest.err
  60530. - } && test -s conftest.$ac_objext; then
  60531. - ac_cv_member_struct_iphdr_ip_hl=yes
  60532. -else
  60533. - $as_echo "$as_me: failed program was:" >&5
  60534. -sed 's/^/| /' conftest.$ac_ext >&5
  60535. + case $GCC,$host_os in
  60536. + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  60537. + library_names_spec='$libname.dll.a'
  60538. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  60539. + postinstall_cmds='base_file=`basename \${file}`~
  60540. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  60541. + dldir=$destdir/`dirname \$dlpath`~
  60542. + test -d \$dldir || mkdir -p \$dldir~
  60543. + $install_prog $dir/$dlname \$dldir/$dlname~
  60544. + chmod a+x \$dldir/$dlname~
  60545. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  60546. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  60547. + fi'
  60548. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  60549. + dlpath=$dir/\$dldll~
  60550. + $RM \$dlpath'
  60551. + shlibpath_overrides_runpath=yes
  60552. - ac_cv_member_struct_iphdr_ip_hl=no
  60553. -fi
  60554. + case $host_os in
  60555. + cygwin*)
  60556. + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  60557. + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  60558. + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  60559. + ;;
  60560. + mingw* | cegcc*)
  60561. + # MinGW DLLs use traditional 'lib' prefix
  60562. + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  60563. + sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  60564. + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  60565. + # It is most probably a Windows format PATH printed by
  60566. + # mingw gcc, but we are running on Cygwin. Gcc prints its search
  60567. + # path with ; separators, and with drive letters. We can handle the
  60568. + # drive letters (cygwin fileutils understands them), so leave them,
  60569. + # especially as we might pass files found there to a mingw objdump,
  60570. + # which wouldn't understand a cygwinified path. Ahh.
  60571. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  60572. + else
  60573. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  60574. + fi
  60575. + ;;
  60576. + pw32*)
  60577. + # pw32 DLLs use 'pw' prefix rather than 'lib'
  60578. + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  60579. + ;;
  60580. + esac
  60581. + ;;
  60582. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  60583. -fi
  60584. + *)
  60585. + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  60586. + ;;
  60587. + esac
  60588. + dynamic_linker='Win32 ld.exe'
  60589. + # FIXME: first we should search . and the directory the executable is in
  60590. + shlibpath_var=PATH
  60591. + ;;
  60592. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  60593. -fi
  60594. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_iphdr_ip_hl" >&5
  60595. -$as_echo "$ac_cv_member_struct_iphdr_ip_hl" >&6; }
  60596. -if test $ac_cv_member_struct_iphdr_ip_hl = yes; then
  60597. +darwin* | rhapsody*)
  60598. + dynamic_linker="$host_os dyld"
  60599. + version_type=darwin
  60600. + need_lib_prefix=no
  60601. + need_version=no
  60602. + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  60603. + soname_spec='${libname}${release}${major}$shared_ext'
  60604. + shlibpath_overrides_runpath=yes
  60605. + shlibpath_var=DYLD_LIBRARY_PATH
  60606. + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  60607. -cat >>confdefs.h <<_ACEOF
  60608. -#define HAVE_STRUCT_IPHDR_IP_HL 1
  60609. -_ACEOF
  60610. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  60611. + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  60612. + ;;
  60613. +dgux*)
  60614. + version_type=linux
  60615. + need_lib_prefix=no
  60616. + need_version=no
  60617. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  60618. + soname_spec='${libname}${release}${shared_ext}$major'
  60619. + shlibpath_var=LD_LIBRARY_PATH
  60620. + ;;
  60621. -fi
  60622. +freebsd1*)
  60623. + dynamic_linker=no
  60624. + ;;
  60625. +freebsd* | dragonfly*)
  60626. + # DragonFly does not have aout. When/if they implement a new
  60627. + # versioning mechanism, adjust this.
  60628. + if test -x /usr/bin/objformat; then
  60629. + objformat=`/usr/bin/objformat`
  60630. + else
  60631. + case $host_os in
  60632. + freebsd[123]*) objformat=aout ;;
  60633. + *) objformat=elf ;;
  60634. + esac
  60635. + fi
  60636. + version_type=freebsd-$objformat
  60637. + case $version_type in
  60638. + freebsd-elf*)
  60639. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  60640. + need_version=no
  60641. + need_lib_prefix=no
  60642. + ;;
  60643. + freebsd-*)
  60644. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  60645. + need_version=yes
  60646. + ;;
  60647. + esac
  60648. + shlibpath_var=LD_LIBRARY_PATH
  60649. + case $host_os in
  60650. + freebsd2*)
  60651. + shlibpath_overrides_runpath=yes
  60652. + ;;
  60653. + freebsd3.[01]* | freebsdelf3.[01]*)
  60654. + shlibpath_overrides_runpath=yes
  60655. + hardcode_into_libs=yes
  60656. + ;;
  60657. + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  60658. + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  60659. + shlibpath_overrides_runpath=no
  60660. + hardcode_into_libs=yes
  60661. + ;;
  60662. + *) # from 4.6 on, and DragonFly
  60663. + shlibpath_overrides_runpath=yes
  60664. + hardcode_into_libs=yes
  60665. + ;;
  60666. + esac
  60667. + ;;
  60668. -# The cast to long int works around a bug in the HP C Compiler
  60669. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  60670. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  60671. -# This bug is HP SR number 8606223364.
  60672. -{ $as_echo "$as_me:$LINENO: checking size of void *" >&5
  60673. -$as_echo_n "checking size of void *... " >&6; }
  60674. -if test "${ac_cv_sizeof_void_p+set}" = set; then
  60675. - $as_echo_n "(cached) " >&6
  60676. -else
  60677. - if test "$cross_compiling" = yes; then
  60678. - # Depending upon the size, compute the lo and hi bounds.
  60679. -cat >conftest.$ac_ext <<_ACEOF
  60680. -/* confdefs.h. */
  60681. -_ACEOF
  60682. -cat confdefs.h >>conftest.$ac_ext
  60683. -cat >>conftest.$ac_ext <<_ACEOF
  60684. -/* end confdefs.h. */
  60685. -$ac_includes_default
  60686. -int
  60687. -main ()
  60688. -{
  60689. -static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
  60690. -test_array [0] = 0
  60691. +gnu*)
  60692. + version_type=linux
  60693. + need_lib_prefix=no
  60694. + need_version=no
  60695. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  60696. + soname_spec='${libname}${release}${shared_ext}$major'
  60697. + shlibpath_var=LD_LIBRARY_PATH
  60698. + hardcode_into_libs=yes
  60699. + ;;
  60700. - ;
  60701. - return 0;
  60702. -}
  60703. -_ACEOF
  60704. -rm -f conftest.$ac_objext
  60705. -if { (ac_try="$ac_compile"
  60706. -case "(($ac_try" in
  60707. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  60708. - *) ac_try_echo=$ac_try;;
  60709. -esac
  60710. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  60711. -$as_echo "$ac_try_echo") >&5
  60712. - (eval "$ac_compile") 2>conftest.er1
  60713. - ac_status=$?
  60714. - grep -v '^ *+' conftest.er1 >conftest.err
  60715. - rm -f conftest.er1
  60716. - cat conftest.err >&5
  60717. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  60718. - (exit $ac_status); } && {
  60719. - test -z "$ac_c_werror_flag" ||
  60720. - test ! -s conftest.err
  60721. - } && test -s conftest.$ac_objext; then
  60722. - ac_lo=0 ac_mid=0
  60723. - while :; do
  60724. - cat >conftest.$ac_ext <<_ACEOF
  60725. -/* confdefs.h. */
  60726. -_ACEOF
  60727. -cat confdefs.h >>conftest.$ac_ext
  60728. -cat >>conftest.$ac_ext <<_ACEOF
  60729. -/* end confdefs.h. */
  60730. -$ac_includes_default
  60731. -int
  60732. -main ()
  60733. -{
  60734. -static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
  60735. -test_array [0] = 0
  60736. +hpux9* | hpux10* | hpux11*)
  60737. + # Give a soname corresponding to the major version so that dld.sl refuses to
  60738. + # link against other versions.
  60739. + version_type=sunos
  60740. + need_lib_prefix=no
  60741. + need_version=no
  60742. + case $host_cpu in
  60743. + ia64*)
  60744. + shrext_cmds='.so'
  60745. + hardcode_into_libs=yes
  60746. + dynamic_linker="$host_os dld.so"
  60747. + shlibpath_var=LD_LIBRARY_PATH
  60748. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  60749. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  60750. + soname_spec='${libname}${release}${shared_ext}$major'
  60751. + if test "X$HPUX_IA64_MODE" = X32; then
  60752. + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  60753. + else
  60754. + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  60755. + fi
  60756. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  60757. + ;;
  60758. + hppa*64*)
  60759. + shrext_cmds='.sl'
  60760. + hardcode_into_libs=yes
  60761. + dynamic_linker="$host_os dld.sl"
  60762. + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  60763. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  60764. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  60765. + soname_spec='${libname}${release}${shared_ext}$major'
  60766. + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  60767. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  60768. + ;;
  60769. + *)
  60770. + shrext_cmds='.sl'
  60771. + dynamic_linker="$host_os dld.sl"
  60772. + shlibpath_var=SHLIB_PATH
  60773. + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  60774. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  60775. + soname_spec='${libname}${release}${shared_ext}$major'
  60776. + ;;
  60777. + esac
  60778. + # HP-UX runs *really* slowly unless shared libraries are mode 555.
  60779. + postinstall_cmds='chmod 555 $lib'
  60780. + ;;
  60781. - ;
  60782. - return 0;
  60783. -}
  60784. -_ACEOF
  60785. -rm -f conftest.$ac_objext
  60786. -if { (ac_try="$ac_compile"
  60787. -case "(($ac_try" in
  60788. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  60789. - *) ac_try_echo=$ac_try;;
  60790. -esac
  60791. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  60792. -$as_echo "$ac_try_echo") >&5
  60793. - (eval "$ac_compile") 2>conftest.er1
  60794. - ac_status=$?
  60795. - grep -v '^ *+' conftest.er1 >conftest.err
  60796. - rm -f conftest.er1
  60797. - cat conftest.err >&5
  60798. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  60799. - (exit $ac_status); } && {
  60800. - test -z "$ac_c_werror_flag" ||
  60801. - test ! -s conftest.err
  60802. - } && test -s conftest.$ac_objext; then
  60803. - ac_hi=$ac_mid; break
  60804. -else
  60805. - $as_echo "$as_me: failed program was:" >&5
  60806. -sed 's/^/| /' conftest.$ac_ext >&5
  60807. +interix[3-9]*)
  60808. + version_type=linux
  60809. + need_lib_prefix=no
  60810. + need_version=no
  60811. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  60812. + soname_spec='${libname}${release}${shared_ext}$major'
  60813. + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  60814. + shlibpath_var=LD_LIBRARY_PATH
  60815. + shlibpath_overrides_runpath=no
  60816. + hardcode_into_libs=yes
  60817. + ;;
  60818. - ac_lo=`expr $ac_mid + 1`
  60819. - if test $ac_lo -le $ac_mid; then
  60820. - ac_lo= ac_hi=
  60821. - break
  60822. - fi
  60823. - ac_mid=`expr 2 '*' $ac_mid + 1`
  60824. -fi
  60825. +irix5* | irix6* | nonstopux*)
  60826. + case $host_os in
  60827. + nonstopux*) version_type=nonstopux ;;
  60828. + *)
  60829. + if test "$lt_cv_prog_gnu_ld" = yes; then
  60830. + version_type=linux
  60831. + else
  60832. + version_type=irix
  60833. + fi ;;
  60834. + esac
  60835. + need_lib_prefix=no
  60836. + need_version=no
  60837. + soname_spec='${libname}${release}${shared_ext}$major'
  60838. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  60839. + case $host_os in
  60840. + irix5* | nonstopux*)
  60841. + libsuff= shlibsuff=
  60842. + ;;
  60843. + *)
  60844. + case $LD in # libtool.m4 will add one of these switches to LD
  60845. + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  60846. + libsuff= shlibsuff= libmagic=32-bit;;
  60847. + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  60848. + libsuff=32 shlibsuff=N32 libmagic=N32;;
  60849. + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  60850. + libsuff=64 shlibsuff=64 libmagic=64-bit;;
  60851. + *) libsuff= shlibsuff= libmagic=never-match;;
  60852. + esac
  60853. + ;;
  60854. + esac
  60855. + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  60856. + shlibpath_overrides_runpath=no
  60857. + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  60858. + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  60859. + hardcode_into_libs=yes
  60860. + ;;
  60861. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  60862. - done
  60863. -else
  60864. - $as_echo "$as_me: failed program was:" >&5
  60865. -sed 's/^/| /' conftest.$ac_ext >&5
  60866. +# No shared lib support for Linux oldld, aout, or coff.
  60867. +linux*oldld* | linux*aout* | linux*coff*)
  60868. + dynamic_linker=no
  60869. + ;;
  60870. - cat >conftest.$ac_ext <<_ACEOF
  60871. -/* confdefs.h. */
  60872. -_ACEOF
  60873. -cat confdefs.h >>conftest.$ac_ext
  60874. -cat >>conftest.$ac_ext <<_ACEOF
  60875. +# This must be Linux ELF.
  60876. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  60877. + version_type=linux
  60878. + need_lib_prefix=no
  60879. + need_version=no
  60880. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  60881. + soname_spec='${libname}${release}${shared_ext}$major'
  60882. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  60883. + shlibpath_var=LD_LIBRARY_PATH
  60884. + shlibpath_overrides_runpath=no
  60885. + # Some binutils ld are patched to set DT_RUNPATH
  60886. + save_LDFLAGS=$LDFLAGS
  60887. + save_libdir=$libdir
  60888. + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  60889. + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  60890. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  60891. /* end confdefs.h. */
  60892. -$ac_includes_default
  60893. -int
  60894. -main ()
  60895. -{
  60896. -static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
  60897. -test_array [0] = 0
  60898. - ;
  60899. - return 0;
  60900. -}
  60901. -_ACEOF
  60902. -rm -f conftest.$ac_objext
  60903. -if { (ac_try="$ac_compile"
  60904. -case "(($ac_try" in
  60905. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  60906. - *) ac_try_echo=$ac_try;;
  60907. -esac
  60908. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  60909. -$as_echo "$ac_try_echo") >&5
  60910. - (eval "$ac_compile") 2>conftest.er1
  60911. - ac_status=$?
  60912. - grep -v '^ *+' conftest.er1 >conftest.err
  60913. - rm -f conftest.er1
  60914. - cat conftest.err >&5
  60915. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  60916. - (exit $ac_status); } && {
  60917. - test -z "$ac_c_werror_flag" ||
  60918. - test ! -s conftest.err
  60919. - } && test -s conftest.$ac_objext; then
  60920. - ac_hi=-1 ac_mid=-1
  60921. - while :; do
  60922. - cat >conftest.$ac_ext <<_ACEOF
  60923. -/* confdefs.h. */
  60924. -_ACEOF
  60925. -cat confdefs.h >>conftest.$ac_ext
  60926. -cat >>conftest.$ac_ext <<_ACEOF
  60927. -/* end confdefs.h. */
  60928. -$ac_includes_default
  60929. int
  60930. main ()
  60931. {
  60932. -static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
  60933. -test_array [0] = 0
  60934. ;
  60935. return 0;
  60936. }
  60937. _ACEOF
  60938. -rm -f conftest.$ac_objext
  60939. -if { (ac_try="$ac_compile"
  60940. -case "(($ac_try" in
  60941. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  60942. - *) ac_try_echo=$ac_try;;
  60943. -esac
  60944. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  60945. -$as_echo "$ac_try_echo") >&5
  60946. - (eval "$ac_compile") 2>conftest.er1
  60947. - ac_status=$?
  60948. - grep -v '^ *+' conftest.er1 >conftest.err
  60949. - rm -f conftest.er1
  60950. - cat conftest.err >&5
  60951. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  60952. - (exit $ac_status); } && {
  60953. - test -z "$ac_c_werror_flag" ||
  60954. - test ! -s conftest.err
  60955. - } && test -s conftest.$ac_objext; then
  60956. - ac_lo=$ac_mid; break
  60957. -else
  60958. - $as_echo "$as_me: failed program was:" >&5
  60959. -sed 's/^/| /' conftest.$ac_ext >&5
  60960. -
  60961. - ac_hi=`expr '(' $ac_mid ')' - 1`
  60962. - if test $ac_mid -le $ac_hi; then
  60963. - ac_lo= ac_hi=
  60964. - break
  60965. - fi
  60966. - ac_mid=`expr 2 '*' $ac_mid`
  60967. -fi
  60968. -
  60969. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  60970. - done
  60971. -else
  60972. - $as_echo "$as_me: failed program was:" >&5
  60973. -sed 's/^/| /' conftest.$ac_ext >&5
  60974. -
  60975. - ac_lo= ac_hi=
  60976. +if ac_fn_c_try_link "$LINENO"; then :
  60977. + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  60978. + shlibpath_overrides_runpath=yes
  60979. fi
  60980. -
  60981. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  60982. fi
  60983. +rm -f core conftest.err conftest.$ac_objext \
  60984. + conftest$ac_exeext conftest.$ac_ext
  60985. + LDFLAGS=$save_LDFLAGS
  60986. + libdir=$save_libdir
  60987. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  60988. -# Binary search between lo and hi bounds.
  60989. -while test "x$ac_lo" != "x$ac_hi"; do
  60990. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  60991. - cat >conftest.$ac_ext <<_ACEOF
  60992. -/* confdefs.h. */
  60993. -_ACEOF
  60994. -cat confdefs.h >>conftest.$ac_ext
  60995. -cat >>conftest.$ac_ext <<_ACEOF
  60996. -/* end confdefs.h. */
  60997. -$ac_includes_default
  60998. -int
  60999. -main ()
  61000. -{
  61001. -static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
  61002. -test_array [0] = 0
  61003. + # This implies no fast_install, which is unacceptable.
  61004. + # Some rework will be needed to allow for fast_install
  61005. + # before this can be enabled.
  61006. + hardcode_into_libs=yes
  61007. - ;
  61008. - return 0;
  61009. -}
  61010. -_ACEOF
  61011. -rm -f conftest.$ac_objext
  61012. -if { (ac_try="$ac_compile"
  61013. -case "(($ac_try" in
  61014. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  61015. - *) ac_try_echo=$ac_try;;
  61016. -esac
  61017. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  61018. -$as_echo "$ac_try_echo") >&5
  61019. - (eval "$ac_compile") 2>conftest.er1
  61020. - ac_status=$?
  61021. - grep -v '^ *+' conftest.er1 >conftest.err
  61022. - rm -f conftest.er1
  61023. - cat conftest.err >&5
  61024. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  61025. - (exit $ac_status); } && {
  61026. - test -z "$ac_c_werror_flag" ||
  61027. - test ! -s conftest.err
  61028. - } && test -s conftest.$ac_objext; then
  61029. - ac_hi=$ac_mid
  61030. -else
  61031. - $as_echo "$as_me: failed program was:" >&5
  61032. -sed 's/^/| /' conftest.$ac_ext >&5
  61033. + # Append ld.so.conf contents to the search path
  61034. + if test -f /etc/ld.so.conf; then
  61035. + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  61036. + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  61037. + fi
  61038. - ac_lo=`expr '(' $ac_mid ')' + 1`
  61039. -fi
  61040. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  61041. + # powerpc, because MkLinux only supported shared libraries with the
  61042. + # GNU dynamic linker. Since this was broken with cross compilers,
  61043. + # most powerpc-linux boxes support dynamic linking these days and
  61044. + # people can always --disable-shared, the test was removed, and we
  61045. + # assume the GNU/Linux dynamic linker is in use.
  61046. + dynamic_linker='GNU/Linux ld.so'
  61047. + ;;
  61048. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  61049. -done
  61050. -case $ac_lo in
  61051. -?*) ac_cv_sizeof_void_p=$ac_lo;;
  61052. -'') if test "$ac_cv_type_void_p" = yes; then
  61053. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  61054. -See \`config.log' for more details." >&5
  61055. -$as_echo "$as_me: error: cannot compute sizeof (void *)
  61056. -See \`config.log' for more details." >&2;}
  61057. - { (exit 77); exit 77; }; }
  61058. - else
  61059. - ac_cv_sizeof_void_p=0
  61060. - fi ;;
  61061. -esac
  61062. -else
  61063. - cat >conftest.$ac_ext <<_ACEOF
  61064. -/* confdefs.h. */
  61065. -_ACEOF
  61066. -cat confdefs.h >>conftest.$ac_ext
  61067. -cat >>conftest.$ac_ext <<_ACEOF
  61068. -/* end confdefs.h. */
  61069. -$ac_includes_default
  61070. -static long int longval () { return (long int) (sizeof (void *)); }
  61071. -static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
  61072. -#include <stdio.h>
  61073. -#include <stdlib.h>
  61074. -int
  61075. -main ()
  61076. -{
  61077. +netbsdelf*-gnu)
  61078. + version_type=linux
  61079. + need_lib_prefix=no
  61080. + need_version=no
  61081. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  61082. + soname_spec='${libname}${release}${shared_ext}$major'
  61083. + shlibpath_var=LD_LIBRARY_PATH
  61084. + shlibpath_overrides_runpath=no
  61085. + hardcode_into_libs=yes
  61086. + dynamic_linker='NetBSD ld.elf_so'
  61087. + ;;
  61088. - FILE *f = fopen ("conftest.val", "w");
  61089. - if (! f)
  61090. - return 1;
  61091. - if (((long int) (sizeof (void *))) < 0)
  61092. - {
  61093. - long int i = longval ();
  61094. - if (i != ((long int) (sizeof (void *))))
  61095. - return 1;
  61096. - fprintf (f, "%ld", i);
  61097. - }
  61098. +netbsd*)
  61099. + version_type=sunos
  61100. + need_lib_prefix=no
  61101. + need_version=no
  61102. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  61103. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  61104. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  61105. + dynamic_linker='NetBSD (a.out) ld.so'
  61106. else
  61107. - {
  61108. - unsigned long int i = ulongval ();
  61109. - if (i != ((long int) (sizeof (void *))))
  61110. - return 1;
  61111. - fprintf (f, "%lu", i);
  61112. - }
  61113. - /* Do not output a trailing newline, as this causes \r\n confusion
  61114. - on some platforms. */
  61115. - return ferror (f) || fclose (f) != 0;
  61116. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  61117. + soname_spec='${libname}${release}${shared_ext}$major'
  61118. + dynamic_linker='NetBSD ld.elf_so'
  61119. + fi
  61120. + shlibpath_var=LD_LIBRARY_PATH
  61121. + shlibpath_overrides_runpath=yes
  61122. + hardcode_into_libs=yes
  61123. + ;;
  61124. - ;
  61125. - return 0;
  61126. -}
  61127. -_ACEOF
  61128. -rm -f conftest$ac_exeext
  61129. -if { (ac_try="$ac_link"
  61130. -case "(($ac_try" in
  61131. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  61132. - *) ac_try_echo=$ac_try;;
  61133. -esac
  61134. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  61135. -$as_echo "$ac_try_echo") >&5
  61136. - (eval "$ac_link") 2>&5
  61137. - ac_status=$?
  61138. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  61139. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  61140. - { (case "(($ac_try" in
  61141. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  61142. - *) ac_try_echo=$ac_try;;
  61143. -esac
  61144. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  61145. -$as_echo "$ac_try_echo") >&5
  61146. - (eval "$ac_try") 2>&5
  61147. - ac_status=$?
  61148. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  61149. - (exit $ac_status); }; }; then
  61150. - ac_cv_sizeof_void_p=`cat conftest.val`
  61151. -else
  61152. - $as_echo "$as_me: program exited with status $ac_status" >&5
  61153. -$as_echo "$as_me: failed program was:" >&5
  61154. -sed 's/^/| /' conftest.$ac_ext >&5
  61155. +newsos6)
  61156. + version_type=linux
  61157. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  61158. + shlibpath_var=LD_LIBRARY_PATH
  61159. + shlibpath_overrides_runpath=yes
  61160. + ;;
  61161. -( exit $ac_status )
  61162. -if test "$ac_cv_type_void_p" = yes; then
  61163. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  61164. -See \`config.log' for more details." >&5
  61165. -$as_echo "$as_me: error: cannot compute sizeof (void *)
  61166. -See \`config.log' for more details." >&2;}
  61167. - { (exit 77); exit 77; }; }
  61168. - else
  61169. - ac_cv_sizeof_void_p=0
  61170. - fi
  61171. -fi
  61172. -rm -rf conftest.dSYM
  61173. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  61174. -fi
  61175. -rm -f conftest.val
  61176. -fi
  61177. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
  61178. -$as_echo "$ac_cv_sizeof_void_p" >&6; }
  61179. +*nto* | *qnx*)
  61180. + version_type=qnx
  61181. + need_lib_prefix=no
  61182. + need_version=no
  61183. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  61184. + soname_spec='${libname}${release}${shared_ext}$major'
  61185. + shlibpath_var=LD_LIBRARY_PATH
  61186. + shlibpath_overrides_runpath=no
  61187. + hardcode_into_libs=yes
  61188. + dynamic_linker='ldqnx.so'
  61189. + ;;
  61190. +openbsd*)
  61191. + version_type=sunos
  61192. + sys_lib_dlsearch_path_spec="/usr/lib"
  61193. + need_lib_prefix=no
  61194. + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  61195. + case $host_os in
  61196. + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  61197. + *) need_version=no ;;
  61198. + esac
  61199. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  61200. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  61201. + shlibpath_var=LD_LIBRARY_PATH
  61202. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  61203. + case $host_os in
  61204. + openbsd2.[89] | openbsd2.[89].*)
  61205. + shlibpath_overrides_runpath=no
  61206. + ;;
  61207. + *)
  61208. + shlibpath_overrides_runpath=yes
  61209. + ;;
  61210. + esac
  61211. + else
  61212. + shlibpath_overrides_runpath=yes
  61213. + fi
  61214. + ;;
  61215. +os2*)
  61216. + libname_spec='$name'
  61217. + shrext_cmds=".dll"
  61218. + need_lib_prefix=no
  61219. + library_names_spec='$libname${shared_ext} $libname.a'
  61220. + dynamic_linker='OS/2 ld.exe'
  61221. + shlibpath_var=LIBPATH
  61222. + ;;
  61223. -cat >>confdefs.h <<_ACEOF
  61224. -#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  61225. -_ACEOF
  61226. +osf3* | osf4* | osf5*)
  61227. + version_type=osf
  61228. + need_lib_prefix=no
  61229. + need_version=no
  61230. + soname_spec='${libname}${release}${shared_ext}$major'
  61231. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  61232. + shlibpath_var=LD_LIBRARY_PATH
  61233. + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  61234. + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  61235. + ;;
  61236. +rdos*)
  61237. + dynamic_linker=no
  61238. + ;;
  61239. +solaris*)
  61240. + version_type=linux
  61241. + need_lib_prefix=no
  61242. + need_version=no
  61243. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  61244. + soname_spec='${libname}${release}${shared_ext}$major'
  61245. + shlibpath_var=LD_LIBRARY_PATH
  61246. + shlibpath_overrides_runpath=yes
  61247. + hardcode_into_libs=yes
  61248. + # ldd complains unless libraries are executable
  61249. + postinstall_cmds='chmod +x $lib'
  61250. + ;;
  61251. -{ $as_echo "$as_me:$LINENO: checking for int8_t" >&5
  61252. -$as_echo_n "checking for int8_t... " >&6; }
  61253. -if test "${ac_cv_type_int8_t+set}" = set; then
  61254. - $as_echo_n "(cached) " >&6
  61255. -else
  61256. - ac_cv_type_int8_t=no
  61257. -cat >conftest.$ac_ext <<_ACEOF
  61258. -/* confdefs.h. */
  61259. -_ACEOF
  61260. -cat confdefs.h >>conftest.$ac_ext
  61261. -cat >>conftest.$ac_ext <<_ACEOF
  61262. -/* end confdefs.h. */
  61263. +sunos4*)
  61264. + version_type=sunos
  61265. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  61266. + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  61267. + shlibpath_var=LD_LIBRARY_PATH
  61268. + shlibpath_overrides_runpath=yes
  61269. + if test "$with_gnu_ld" = yes; then
  61270. + need_lib_prefix=no
  61271. + fi
  61272. + need_version=yes
  61273. + ;;
  61274. -/* What a mess.. many systems have added the (now standard) bit types
  61275. - * in their own ways, so we need to scan a wide variety of headers to
  61276. - * find them..
  61277. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  61278. - */
  61279. -#if HAVE_SYS_TYPES_H
  61280. -#include <sys/types.h>
  61281. -#endif
  61282. -#if STDC_HEADERS
  61283. -#include <stdlib.h>
  61284. -#include <stddef.h>
  61285. -#endif
  61286. -#if HAVE_INTTYPES_H
  61287. -#include <inttypes.h>
  61288. -#endif
  61289. -#if HAVE_SYS_BITYPES_H
  61290. -#include <sys/bitypes.h>
  61291. -#endif
  61292. -#if HAVE_SYS_SELECT_H
  61293. -#include <sys/select.h>
  61294. -#endif
  61295. -#if HAVE_NETINET_IN_SYSTM_H
  61296. -#include <netinet/in_systm.h>
  61297. -#endif
  61298. +sysv4 | sysv4.3*)
  61299. + version_type=linux
  61300. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  61301. + soname_spec='${libname}${release}${shared_ext}$major'
  61302. + shlibpath_var=LD_LIBRARY_PATH
  61303. + case $host_vendor in
  61304. + sni)
  61305. + shlibpath_overrides_runpath=no
  61306. + need_lib_prefix=no
  61307. + runpath_var=LD_RUN_PATH
  61308. + ;;
  61309. + siemens)
  61310. + need_lib_prefix=no
  61311. + ;;
  61312. + motorola)
  61313. + need_lib_prefix=no
  61314. + need_version=no
  61315. + shlibpath_overrides_runpath=no
  61316. + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  61317. + ;;
  61318. + esac
  61319. + ;;
  61320. +sysv4*MP*)
  61321. + if test -d /usr/nec ;then
  61322. + version_type=linux
  61323. + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  61324. + soname_spec='$libname${shared_ext}.$major'
  61325. + shlibpath_var=LD_LIBRARY_PATH
  61326. + fi
  61327. + ;;
  61328. -int
  61329. -main ()
  61330. -{
  61331. -if (sizeof (int8_t))
  61332. - return 0;
  61333. - ;
  61334. - return 0;
  61335. -}
  61336. -_ACEOF
  61337. -rm -f conftest.$ac_objext
  61338. -if { (ac_try="$ac_compile"
  61339. -case "(($ac_try" in
  61340. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  61341. - *) ac_try_echo=$ac_try;;
  61342. -esac
  61343. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  61344. -$as_echo "$ac_try_echo") >&5
  61345. - (eval "$ac_compile") 2>conftest.er1
  61346. - ac_status=$?
  61347. - grep -v '^ *+' conftest.er1 >conftest.err
  61348. - rm -f conftest.er1
  61349. - cat conftest.err >&5
  61350. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  61351. - (exit $ac_status); } && {
  61352. - test -z "$ac_c_werror_flag" ||
  61353. - test ! -s conftest.err
  61354. - } && test -s conftest.$ac_objext; then
  61355. - cat >conftest.$ac_ext <<_ACEOF
  61356. -/* confdefs.h. */
  61357. -_ACEOF
  61358. -cat confdefs.h >>conftest.$ac_ext
  61359. -cat >>conftest.$ac_ext <<_ACEOF
  61360. -/* end confdefs.h. */
  61361. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  61362. + version_type=freebsd-elf
  61363. + need_lib_prefix=no
  61364. + need_version=no
  61365. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  61366. + soname_spec='${libname}${release}${shared_ext}$major'
  61367. + shlibpath_var=LD_LIBRARY_PATH
  61368. + shlibpath_overrides_runpath=yes
  61369. + hardcode_into_libs=yes
  61370. + if test "$with_gnu_ld" = yes; then
  61371. + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  61372. + else
  61373. + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  61374. + case $host_os in
  61375. + sco3.2v5*)
  61376. + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  61377. + ;;
  61378. + esac
  61379. + fi
  61380. + sys_lib_dlsearch_path_spec='/usr/lib'
  61381. + ;;
  61382. -/* What a mess.. many systems have added the (now standard) bit types
  61383. - * in their own ways, so we need to scan a wide variety of headers to
  61384. - * find them..
  61385. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  61386. - */
  61387. -#if HAVE_SYS_TYPES_H
  61388. -#include <sys/types.h>
  61389. -#endif
  61390. -#if STDC_HEADERS
  61391. -#include <stdlib.h>
  61392. -#include <stddef.h>
  61393. -#endif
  61394. -#if HAVE_INTTYPES_H
  61395. -#include <inttypes.h>
  61396. -#endif
  61397. -#if HAVE_SYS_BITYPES_H
  61398. -#include <sys/bitypes.h>
  61399. -#endif
  61400. -#if HAVE_SYS_SELECT_H
  61401. -#include <sys/select.h>
  61402. -#endif
  61403. -#if HAVE_NETINET_IN_SYSTM_H
  61404. -#include <netinet/in_systm.h>
  61405. -#endif
  61406. +tpf*)
  61407. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  61408. + version_type=linux
  61409. + need_lib_prefix=no
  61410. + need_version=no
  61411. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  61412. + shlibpath_var=LD_LIBRARY_PATH
  61413. + shlibpath_overrides_runpath=no
  61414. + hardcode_into_libs=yes
  61415. + ;;
  61416. +uts4*)
  61417. + version_type=linux
  61418. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  61419. + soname_spec='${libname}${release}${shared_ext}$major'
  61420. + shlibpath_var=LD_LIBRARY_PATH
  61421. + ;;
  61422. -int
  61423. -main ()
  61424. -{
  61425. -if (sizeof ((int8_t)))
  61426. - return 0;
  61427. - ;
  61428. - return 0;
  61429. -}
  61430. -_ACEOF
  61431. -rm -f conftest.$ac_objext
  61432. -if { (ac_try="$ac_compile"
  61433. -case "(($ac_try" in
  61434. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  61435. - *) ac_try_echo=$ac_try;;
  61436. +*)
  61437. + dynamic_linker=no
  61438. + ;;
  61439. esac
  61440. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  61441. -$as_echo "$ac_try_echo") >&5
  61442. - (eval "$ac_compile") 2>conftest.er1
  61443. - ac_status=$?
  61444. - grep -v '^ *+' conftest.er1 >conftest.err
  61445. - rm -f conftest.er1
  61446. - cat conftest.err >&5
  61447. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  61448. - (exit $ac_status); } && {
  61449. - test -z "$ac_c_werror_flag" ||
  61450. - test ! -s conftest.err
  61451. - } && test -s conftest.$ac_objext; then
  61452. - :
  61453. -else
  61454. - $as_echo "$as_me: failed program was:" >&5
  61455. -sed 's/^/| /' conftest.$ac_ext >&5
  61456. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  61457. +$as_echo "$dynamic_linker" >&6; }
  61458. +test "$dynamic_linker" = no && can_build_shared=no
  61459. - ac_cv_type_int8_t=yes
  61460. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  61461. +if test "$GCC" = yes; then
  61462. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  61463. fi
  61464. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  61465. -else
  61466. - $as_echo "$as_me: failed program was:" >&5
  61467. -sed 's/^/| /' conftest.$ac_ext >&5
  61468. +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  61469. + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  61470. +fi
  61471. +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  61472. + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  61473. +fi
  61474. +
  61475. +
  61476. +
  61477. +
  61478. +
  61479. +
  61480. +
  61481. +
  61482. +
  61483. +
  61484. +
  61485. +
  61486. +
  61487. +
  61488. +
  61489. -fi
  61490. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  61491. -fi
  61492. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
  61493. -$as_echo "$ac_cv_type_int8_t" >&6; }
  61494. -if test $ac_cv_type_int8_t = yes; then
  61495. - # The cast to long int works around a bug in the HP C Compiler
  61496. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  61497. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  61498. -# This bug is HP SR number 8606223364.
  61499. -{ $as_echo "$as_me:$LINENO: checking size of int8_t" >&5
  61500. -$as_echo_n "checking size of int8_t... " >&6; }
  61501. -if test "${ac_cv_sizeof_int8_t+set}" = set; then
  61502. - $as_echo_n "(cached) " >&6
  61503. -else
  61504. - if test "$cross_compiling" = yes; then
  61505. - # Depending upon the size, compute the lo and hi bounds.
  61506. -cat >conftest.$ac_ext <<_ACEOF
  61507. -/* confdefs.h. */
  61508. -_ACEOF
  61509. -cat confdefs.h >>conftest.$ac_ext
  61510. -cat >>conftest.$ac_ext <<_ACEOF
  61511. -/* end confdefs.h. */
  61512. -#include <stdio.h>
  61513. -/* What a mess.. many systems have added the (now standard) bit types
  61514. - * in their own ways, so we need to scan a wide variety of headers to
  61515. - * find them..
  61516. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  61517. - */
  61518. -#if HAVE_SYS_TYPES_H
  61519. -#include <sys/types.h>
  61520. -#endif
  61521. -#if STDC_HEADERS
  61522. -#include <stdlib.h>
  61523. -#include <stddef.h>
  61524. -#endif
  61525. -#if HAVE_INTTYPES_H
  61526. -#include <inttypes.h>
  61527. -#endif
  61528. -#if HAVE_SYS_BITYPES_H
  61529. -#include <sys/bitypes.h>
  61530. -#endif
  61531. -#if HAVE_SYS_SELECT_H
  61532. -#include <sys/select.h>
  61533. -#endif
  61534. -#if HAVE_NETINET_IN_SYSTM_H
  61535. -#include <netinet/in_systm.h>
  61536. -#endif
  61537. -int
  61538. -main ()
  61539. -{
  61540. -static int test_array [1 - 2 * !(((long int) (sizeof (int8_t))) >= 0)];
  61541. -test_array [0] = 0
  61542. - ;
  61543. - return 0;
  61544. -}
  61545. -_ACEOF
  61546. -rm -f conftest.$ac_objext
  61547. -if { (ac_try="$ac_compile"
  61548. -case "(($ac_try" in
  61549. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  61550. - *) ac_try_echo=$ac_try;;
  61551. -esac
  61552. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  61553. -$as_echo "$ac_try_echo") >&5
  61554. - (eval "$ac_compile") 2>conftest.er1
  61555. - ac_status=$?
  61556. - grep -v '^ *+' conftest.er1 >conftest.err
  61557. - rm -f conftest.er1
  61558. - cat conftest.err >&5
  61559. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  61560. - (exit $ac_status); } && {
  61561. - test -z "$ac_c_werror_flag" ||
  61562. - test ! -s conftest.err
  61563. - } && test -s conftest.$ac_objext; then
  61564. - ac_lo=0 ac_mid=0
  61565. - while :; do
  61566. - cat >conftest.$ac_ext <<_ACEOF
  61567. -/* confdefs.h. */
  61568. -_ACEOF
  61569. -cat confdefs.h >>conftest.$ac_ext
  61570. -cat >>conftest.$ac_ext <<_ACEOF
  61571. -/* end confdefs.h. */
  61572. -#include <stdio.h>
  61573. -/* What a mess.. many systems have added the (now standard) bit types
  61574. - * in their own ways, so we need to scan a wide variety of headers to
  61575. - * find them..
  61576. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  61577. - */
  61578. -#if HAVE_SYS_TYPES_H
  61579. -#include <sys/types.h>
  61580. -#endif
  61581. -#if STDC_HEADERS
  61582. -#include <stdlib.h>
  61583. -#include <stddef.h>
  61584. -#endif
  61585. -#if HAVE_INTTYPES_H
  61586. -#include <inttypes.h>
  61587. -#endif
  61588. -#if HAVE_SYS_BITYPES_H
  61589. -#include <sys/bitypes.h>
  61590. -#endif
  61591. -#if HAVE_SYS_SELECT_H
  61592. -#include <sys/select.h>
  61593. -#endif
  61594. -#if HAVE_NETINET_IN_SYSTM_H
  61595. -#include <netinet/in_systm.h>
  61596. -#endif
  61597. -int
  61598. -main ()
  61599. -{
  61600. -static int test_array [1 - 2 * !(((long int) (sizeof (int8_t))) <= $ac_mid)];
  61601. -test_array [0] = 0
  61602. - ;
  61603. - return 0;
  61604. -}
  61605. -_ACEOF
  61606. -rm -f conftest.$ac_objext
  61607. -if { (ac_try="$ac_compile"
  61608. -case "(($ac_try" in
  61609. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  61610. - *) ac_try_echo=$ac_try;;
  61611. -esac
  61612. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  61613. -$as_echo "$ac_try_echo") >&5
  61614. - (eval "$ac_compile") 2>conftest.er1
  61615. - ac_status=$?
  61616. - grep -v '^ *+' conftest.er1 >conftest.err
  61617. - rm -f conftest.er1
  61618. - cat conftest.err >&5
  61619. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  61620. - (exit $ac_status); } && {
  61621. - test -z "$ac_c_werror_flag" ||
  61622. - test ! -s conftest.err
  61623. - } && test -s conftest.$ac_objext; then
  61624. - ac_hi=$ac_mid; break
  61625. -else
  61626. - $as_echo "$as_me: failed program was:" >&5
  61627. -sed 's/^/| /' conftest.$ac_ext >&5
  61628. - ac_lo=`expr $ac_mid + 1`
  61629. - if test $ac_lo -le $ac_mid; then
  61630. - ac_lo= ac_hi=
  61631. - break
  61632. - fi
  61633. - ac_mid=`expr 2 '*' $ac_mid + 1`
  61634. -fi
  61635. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  61636. - done
  61637. -else
  61638. - $as_echo "$as_me: failed program was:" >&5
  61639. -sed 's/^/| /' conftest.$ac_ext >&5
  61640. - cat >conftest.$ac_ext <<_ACEOF
  61641. -/* confdefs.h. */
  61642. -_ACEOF
  61643. -cat confdefs.h >>conftest.$ac_ext
  61644. -cat >>conftest.$ac_ext <<_ACEOF
  61645. -/* end confdefs.h. */
  61646. -#include <stdio.h>
  61647. -/* What a mess.. many systems have added the (now standard) bit types
  61648. - * in their own ways, so we need to scan a wide variety of headers to
  61649. - * find them..
  61650. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  61651. - */
  61652. -#if HAVE_SYS_TYPES_H
  61653. -#include <sys/types.h>
  61654. -#endif
  61655. -#if STDC_HEADERS
  61656. -#include <stdlib.h>
  61657. -#include <stddef.h>
  61658. -#endif
  61659. -#if HAVE_INTTYPES_H
  61660. -#include <inttypes.h>
  61661. -#endif
  61662. -#if HAVE_SYS_BITYPES_H
  61663. -#include <sys/bitypes.h>
  61664. -#endif
  61665. -#if HAVE_SYS_SELECT_H
  61666. -#include <sys/select.h>
  61667. -#endif
  61668. -#if HAVE_NETINET_IN_SYSTM_H
  61669. -#include <netinet/in_systm.h>
  61670. -#endif
  61671. -int
  61672. -main ()
  61673. -{
  61674. -static int test_array [1 - 2 * !(((long int) (sizeof (int8_t))) < 0)];
  61675. -test_array [0] = 0
  61676. - ;
  61677. - return 0;
  61678. -}
  61679. -_ACEOF
  61680. -rm -f conftest.$ac_objext
  61681. -if { (ac_try="$ac_compile"
  61682. -case "(($ac_try" in
  61683. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  61684. - *) ac_try_echo=$ac_try;;
  61685. -esac
  61686. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  61687. -$as_echo "$ac_try_echo") >&5
  61688. - (eval "$ac_compile") 2>conftest.er1
  61689. - ac_status=$?
  61690. - grep -v '^ *+' conftest.er1 >conftest.err
  61691. - rm -f conftest.er1
  61692. - cat conftest.err >&5
  61693. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  61694. - (exit $ac_status); } && {
  61695. - test -z "$ac_c_werror_flag" ||
  61696. - test ! -s conftest.err
  61697. - } && test -s conftest.$ac_objext; then
  61698. - ac_hi=-1 ac_mid=-1
  61699. - while :; do
  61700. - cat >conftest.$ac_ext <<_ACEOF
  61701. -/* confdefs.h. */
  61702. -_ACEOF
  61703. -cat confdefs.h >>conftest.$ac_ext
  61704. -cat >>conftest.$ac_ext <<_ACEOF
  61705. -/* end confdefs.h. */
  61706. -#include <stdio.h>
  61707. -/* What a mess.. many systems have added the (now standard) bit types
  61708. - * in their own ways, so we need to scan a wide variety of headers to
  61709. - * find them..
  61710. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  61711. - */
  61712. -#if HAVE_SYS_TYPES_H
  61713. -#include <sys/types.h>
  61714. -#endif
  61715. -#if STDC_HEADERS
  61716. -#include <stdlib.h>
  61717. -#include <stddef.h>
  61718. -#endif
  61719. -#if HAVE_INTTYPES_H
  61720. -#include <inttypes.h>
  61721. -#endif
  61722. -#if HAVE_SYS_BITYPES_H
  61723. -#include <sys/bitypes.h>
  61724. -#endif
  61725. -#if HAVE_SYS_SELECT_H
  61726. -#include <sys/select.h>
  61727. -#endif
  61728. -#if HAVE_NETINET_IN_SYSTM_H
  61729. -#include <netinet/in_systm.h>
  61730. -#endif
  61731. -int
  61732. -main ()
  61733. -{
  61734. -static int test_array [1 - 2 * !(((long int) (sizeof (int8_t))) >= $ac_mid)];
  61735. -test_array [0] = 0
  61736. - ;
  61737. - return 0;
  61738. -}
  61739. -_ACEOF
  61740. -rm -f conftest.$ac_objext
  61741. -if { (ac_try="$ac_compile"
  61742. -case "(($ac_try" in
  61743. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  61744. - *) ac_try_echo=$ac_try;;
  61745. -esac
  61746. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  61747. -$as_echo "$ac_try_echo") >&5
  61748. - (eval "$ac_compile") 2>conftest.er1
  61749. - ac_status=$?
  61750. - grep -v '^ *+' conftest.er1 >conftest.err
  61751. - rm -f conftest.er1
  61752. - cat conftest.err >&5
  61753. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  61754. - (exit $ac_status); } && {
  61755. - test -z "$ac_c_werror_flag" ||
  61756. - test ! -s conftest.err
  61757. - } && test -s conftest.$ac_objext; then
  61758. - ac_lo=$ac_mid; break
  61759. -else
  61760. - $as_echo "$as_me: failed program was:" >&5
  61761. -sed 's/^/| /' conftest.$ac_ext >&5
  61762. - ac_hi=`expr '(' $ac_mid ')' - 1`
  61763. - if test $ac_mid -le $ac_hi; then
  61764. - ac_lo= ac_hi=
  61765. - break
  61766. - fi
  61767. - ac_mid=`expr 2 '*' $ac_mid`
  61768. -fi
  61769. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  61770. - done
  61771. -else
  61772. - $as_echo "$as_me: failed program was:" >&5
  61773. -sed 's/^/| /' conftest.$ac_ext >&5
  61774. - ac_lo= ac_hi=
  61775. -fi
  61776. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  61777. -fi
  61778. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  61779. -# Binary search between lo and hi bounds.
  61780. -while test "x$ac_lo" != "x$ac_hi"; do
  61781. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  61782. - cat >conftest.$ac_ext <<_ACEOF
  61783. -/* confdefs.h. */
  61784. -_ACEOF
  61785. -cat confdefs.h >>conftest.$ac_ext
  61786. -cat >>conftest.$ac_ext <<_ACEOF
  61787. -/* end confdefs.h. */
  61788. -#include <stdio.h>
  61789. -/* What a mess.. many systems have added the (now standard) bit types
  61790. - * in their own ways, so we need to scan a wide variety of headers to
  61791. - * find them..
  61792. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  61793. - */
  61794. -#if HAVE_SYS_TYPES_H
  61795. -#include <sys/types.h>
  61796. -#endif
  61797. -#if STDC_HEADERS
  61798. -#include <stdlib.h>
  61799. -#include <stddef.h>
  61800. -#endif
  61801. -#if HAVE_INTTYPES_H
  61802. -#include <inttypes.h>
  61803. -#endif
  61804. -#if HAVE_SYS_BITYPES_H
  61805. -#include <sys/bitypes.h>
  61806. -#endif
  61807. -#if HAVE_SYS_SELECT_H
  61808. -#include <sys/select.h>
  61809. -#endif
  61810. -#if HAVE_NETINET_IN_SYSTM_H
  61811. -#include <netinet/in_systm.h>
  61812. -#endif
  61813. -int
  61814. -main ()
  61815. -{
  61816. -static int test_array [1 - 2 * !(((long int) (sizeof (int8_t))) <= $ac_mid)];
  61817. -test_array [0] = 0
  61818. - ;
  61819. - return 0;
  61820. -}
  61821. -_ACEOF
  61822. -rm -f conftest.$ac_objext
  61823. -if { (ac_try="$ac_compile"
  61824. -case "(($ac_try" in
  61825. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  61826. - *) ac_try_echo=$ac_try;;
  61827. -esac
  61828. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  61829. -$as_echo "$ac_try_echo") >&5
  61830. - (eval "$ac_compile") 2>conftest.er1
  61831. - ac_status=$?
  61832. - grep -v '^ *+' conftest.er1 >conftest.err
  61833. - rm -f conftest.er1
  61834. - cat conftest.err >&5
  61835. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  61836. - (exit $ac_status); } && {
  61837. - test -z "$ac_c_werror_flag" ||
  61838. - test ! -s conftest.err
  61839. - } && test -s conftest.$ac_objext; then
  61840. - ac_hi=$ac_mid
  61841. -else
  61842. - $as_echo "$as_me: failed program was:" >&5
  61843. -sed 's/^/| /' conftest.$ac_ext >&5
  61844. - ac_lo=`expr '(' $ac_mid ')' + 1`
  61845. -fi
  61846. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  61847. -done
  61848. -case $ac_lo in
  61849. -?*) ac_cv_sizeof_int8_t=$ac_lo;;
  61850. -'') if test "$ac_cv_type_int8_t" = yes; then
  61851. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int8_t)
  61852. -See \`config.log' for more details." >&5
  61853. -$as_echo "$as_me: error: cannot compute sizeof (int8_t)
  61854. -See \`config.log' for more details." >&2;}
  61855. - { (exit 77); exit 77; }; }
  61856. - else
  61857. - ac_cv_sizeof_int8_t=0
  61858. - fi ;;
  61859. -esac
  61860. -else
  61861. - cat >conftest.$ac_ext <<_ACEOF
  61862. -/* confdefs.h. */
  61863. -_ACEOF
  61864. -cat confdefs.h >>conftest.$ac_ext
  61865. -cat >>conftest.$ac_ext <<_ACEOF
  61866. -/* end confdefs.h. */
  61867. -#include <stdio.h>
  61868. -/* What a mess.. many systems have added the (now standard) bit types
  61869. - * in their own ways, so we need to scan a wide variety of headers to
  61870. - * find them..
  61871. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  61872. - */
  61873. -#if HAVE_SYS_TYPES_H
  61874. -#include <sys/types.h>
  61875. -#endif
  61876. -#if STDC_HEADERS
  61877. -#include <stdlib.h>
  61878. -#include <stddef.h>
  61879. -#endif
  61880. -#if HAVE_INTTYPES_H
  61881. -#include <inttypes.h>
  61882. -#endif
  61883. -#if HAVE_SYS_BITYPES_H
  61884. -#include <sys/bitypes.h>
  61885. -#endif
  61886. -#if HAVE_SYS_SELECT_H
  61887. -#include <sys/select.h>
  61888. -#endif
  61889. -#if HAVE_NETINET_IN_SYSTM_H
  61890. -#include <netinet/in_systm.h>
  61891. -#endif
  61892. -static long int longval () { return (long int) (sizeof (int8_t)); }
  61893. -static unsigned long int ulongval () { return (long int) (sizeof (int8_t)); }
  61894. -#include <stdio.h>
  61895. -#include <stdlib.h>
  61896. -int
  61897. -main ()
  61898. -{
  61899. - FILE *f = fopen ("conftest.val", "w");
  61900. - if (! f)
  61901. - return 1;
  61902. - if (((long int) (sizeof (int8_t))) < 0)
  61903. - {
  61904. - long int i = longval ();
  61905. - if (i != ((long int) (sizeof (int8_t))))
  61906. - return 1;
  61907. - fprintf (f, "%ld", i);
  61908. - }
  61909. - else
  61910. - {
  61911. - unsigned long int i = ulongval ();
  61912. - if (i != ((long int) (sizeof (int8_t))))
  61913. - return 1;
  61914. - fprintf (f, "%lu", i);
  61915. - }
  61916. - /* Do not output a trailing newline, as this causes \r\n confusion
  61917. - on some platforms. */
  61918. - return ferror (f) || fclose (f) != 0;
  61919. - ;
  61920. - return 0;
  61921. -}
  61922. -_ACEOF
  61923. -rm -f conftest$ac_exeext
  61924. -if { (ac_try="$ac_link"
  61925. -case "(($ac_try" in
  61926. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  61927. - *) ac_try_echo=$ac_try;;
  61928. -esac
  61929. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  61930. -$as_echo "$ac_try_echo") >&5
  61931. - (eval "$ac_link") 2>&5
  61932. - ac_status=$?
  61933. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  61934. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  61935. - { (case "(($ac_try" in
  61936. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  61937. - *) ac_try_echo=$ac_try;;
  61938. -esac
  61939. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  61940. -$as_echo "$ac_try_echo") >&5
  61941. - (eval "$ac_try") 2>&5
  61942. - ac_status=$?
  61943. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  61944. - (exit $ac_status); }; }; then
  61945. - ac_cv_sizeof_int8_t=`cat conftest.val`
  61946. -else
  61947. - $as_echo "$as_me: program exited with status $ac_status" >&5
  61948. -$as_echo "$as_me: failed program was:" >&5
  61949. -sed 's/^/| /' conftest.$ac_ext >&5
  61950. -( exit $ac_status )
  61951. -if test "$ac_cv_type_int8_t" = yes; then
  61952. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int8_t)
  61953. -See \`config.log' for more details." >&5
  61954. -$as_echo "$as_me: error: cannot compute sizeof (int8_t)
  61955. -See \`config.log' for more details." >&2;}
  61956. - { (exit 77); exit 77; }; }
  61957. - else
  61958. - ac_cv_sizeof_int8_t=0
  61959. - fi
  61960. -fi
  61961. -rm -rf conftest.dSYM
  61962. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  61963. -fi
  61964. -rm -f conftest.val
  61965. -fi
  61966. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int8_t" >&5
  61967. -$as_echo "$ac_cv_sizeof_int8_t" >&6; }
  61968. -cat >>confdefs.h <<_ACEOF
  61969. -#define SIZEOF_INT8_T $ac_cv_sizeof_int8_t
  61970. -_ACEOF
  61971. -cat >>confdefs.h <<\_ACEOF
  61972. -#define HAVE_INT8_T 1
  61973. -_ACEOF
  61974. -fi
  61975. -{ $as_echo "$as_me:$LINENO: checking for char" >&5
  61976. -$as_echo_n "checking for char... " >&6; }
  61977. -if test "${ac_cv_type_char+set}" = set; then
  61978. - $as_echo_n "(cached) " >&6
  61979. -else
  61980. - ac_cv_type_char=no
  61981. -cat >conftest.$ac_ext <<_ACEOF
  61982. -/* confdefs.h. */
  61983. -_ACEOF
  61984. -cat confdefs.h >>conftest.$ac_ext
  61985. -cat >>conftest.$ac_ext <<_ACEOF
  61986. -/* end confdefs.h. */
  61987. -/* What a mess.. many systems have added the (now standard) bit types
  61988. - * in their own ways, so we need to scan a wide variety of headers to
  61989. - * find them..
  61990. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  61991. - */
  61992. -#if HAVE_SYS_TYPES_H
  61993. -#include <sys/types.h>
  61994. -#endif
  61995. -#if STDC_HEADERS
  61996. -#include <stdlib.h>
  61997. -#include <stddef.h>
  61998. -#endif
  61999. -#if HAVE_INTTYPES_H
  62000. -#include <inttypes.h>
  62001. -#endif
  62002. -#if HAVE_SYS_BITYPES_H
  62003. -#include <sys/bitypes.h>
  62004. -#endif
  62005. -#if HAVE_SYS_SELECT_H
  62006. -#include <sys/select.h>
  62007. -#endif
  62008. -#if HAVE_NETINET_IN_SYSTM_H
  62009. -#include <netinet/in_systm.h>
  62010. -#endif
  62011. -int
  62012. -main ()
  62013. -{
  62014. -if (sizeof (char))
  62015. - return 0;
  62016. - ;
  62017. - return 0;
  62018. -}
  62019. -_ACEOF
  62020. -rm -f conftest.$ac_objext
  62021. -if { (ac_try="$ac_compile"
  62022. -case "(($ac_try" in
  62023. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  62024. - *) ac_try_echo=$ac_try;;
  62025. -esac
  62026. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  62027. -$as_echo "$ac_try_echo") >&5
  62028. - (eval "$ac_compile") 2>conftest.er1
  62029. - ac_status=$?
  62030. - grep -v '^ *+' conftest.er1 >conftest.err
  62031. - rm -f conftest.er1
  62032. - cat conftest.err >&5
  62033. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  62034. - (exit $ac_status); } && {
  62035. - test -z "$ac_c_werror_flag" ||
  62036. - test ! -s conftest.err
  62037. - } && test -s conftest.$ac_objext; then
  62038. - cat >conftest.$ac_ext <<_ACEOF
  62039. -/* confdefs.h. */
  62040. -_ACEOF
  62041. -cat confdefs.h >>conftest.$ac_ext
  62042. -cat >>conftest.$ac_ext <<_ACEOF
  62043. -/* end confdefs.h. */
  62044. -/* What a mess.. many systems have added the (now standard) bit types
  62045. - * in their own ways, so we need to scan a wide variety of headers to
  62046. - * find them..
  62047. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  62048. - */
  62049. -#if HAVE_SYS_TYPES_H
  62050. -#include <sys/types.h>
  62051. -#endif
  62052. -#if STDC_HEADERS
  62053. -#include <stdlib.h>
  62054. -#include <stddef.h>
  62055. -#endif
  62056. -#if HAVE_INTTYPES_H
  62057. -#include <inttypes.h>
  62058. -#endif
  62059. -#if HAVE_SYS_BITYPES_H
  62060. -#include <sys/bitypes.h>
  62061. -#endif
  62062. -#if HAVE_SYS_SELECT_H
  62063. -#include <sys/select.h>
  62064. -#endif
  62065. -#if HAVE_NETINET_IN_SYSTM_H
  62066. -#include <netinet/in_systm.h>
  62067. -#endif
  62068. -int
  62069. -main ()
  62070. -{
  62071. -if (sizeof ((char)))
  62072. - return 0;
  62073. - ;
  62074. - return 0;
  62075. -}
  62076. -_ACEOF
  62077. -rm -f conftest.$ac_objext
  62078. -if { (ac_try="$ac_compile"
  62079. -case "(($ac_try" in
  62080. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  62081. - *) ac_try_echo=$ac_try;;
  62082. -esac
  62083. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  62084. -$as_echo "$ac_try_echo") >&5
  62085. - (eval "$ac_compile") 2>conftest.er1
  62086. - ac_status=$?
  62087. - grep -v '^ *+' conftest.er1 >conftest.err
  62088. - rm -f conftest.er1
  62089. - cat conftest.err >&5
  62090. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  62091. - (exit $ac_status); } && {
  62092. - test -z "$ac_c_werror_flag" ||
  62093. - test ! -s conftest.err
  62094. - } && test -s conftest.$ac_objext; then
  62095. - :
  62096. -else
  62097. - $as_echo "$as_me: failed program was:" >&5
  62098. -sed 's/^/| /' conftest.$ac_ext >&5
  62099. - ac_cv_type_char=yes
  62100. -fi
  62101. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  62102. -else
  62103. - $as_echo "$as_me: failed program was:" >&5
  62104. -sed 's/^/| /' conftest.$ac_ext >&5
  62105. -fi
  62106. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  62107. +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  62108. +hardcode_action=
  62109. +if test -n "$hardcode_libdir_flag_spec" ||
  62110. + test -n "$runpath_var" ||
  62111. + test "X$hardcode_automatic" = "Xyes" ; then
  62112. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  62113. + # We can hardcode non-existent directories.
  62114. + if test "$hardcode_direct" != no &&
  62115. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  62116. + # have to relink, otherwise we might link with an installed library
  62117. + # when we should be linking with a yet-to-be-installed one
  62118. + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  62119. + test "$hardcode_minus_L" != no; then
  62120. + # Linking always hardcodes the temporary library directory.
  62121. + hardcode_action=relink
  62122. + else
  62123. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  62124. + hardcode_action=immediate
  62125. + fi
  62126. +else
  62127. + # We cannot hardcode anything, or else we can only hardcode existing
  62128. + # directories.
  62129. + hardcode_action=unsupported
  62130. fi
  62131. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
  62132. -$as_echo "$ac_cv_type_char" >&6; }
  62133. -if test $ac_cv_type_char = yes; then
  62134. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  62135. +$as_echo "$hardcode_action" >&6; }
  62136. - # The cast to long int works around a bug in the HP C Compiler
  62137. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  62138. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  62139. -# This bug is HP SR number 8606223364.
  62140. -{ $as_echo "$as_me:$LINENO: checking size of char" >&5
  62141. -$as_echo_n "checking size of char... " >&6; }
  62142. -if test "${ac_cv_sizeof_char+set}" = set; then
  62143. - $as_echo_n "(cached) " >&6
  62144. -else
  62145. - if test "$cross_compiling" = yes; then
  62146. - # Depending upon the size, compute the lo and hi bounds.
  62147. -cat >conftest.$ac_ext <<_ACEOF
  62148. -/* confdefs.h. */
  62149. -_ACEOF
  62150. -cat confdefs.h >>conftest.$ac_ext
  62151. -cat >>conftest.$ac_ext <<_ACEOF
  62152. -/* end confdefs.h. */
  62153. +if test "$hardcode_action" = relink ||
  62154. + test "$inherit_rpath" = yes; then
  62155. + # Fast installation is not supported
  62156. + enable_fast_install=no
  62157. +elif test "$shlibpath_overrides_runpath" = yes ||
  62158. + test "$enable_shared" = no; then
  62159. + # Fast installation is not necessary
  62160. + enable_fast_install=needless
  62161. +fi
  62162. -#include <stdio.h>
  62163. -/* What a mess.. many systems have added the (now standard) bit types
  62164. - * in their own ways, so we need to scan a wide variety of headers to
  62165. - * find them..
  62166. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  62167. - */
  62168. -#if HAVE_SYS_TYPES_H
  62169. -#include <sys/types.h>
  62170. -#endif
  62171. -#if STDC_HEADERS
  62172. -#include <stdlib.h>
  62173. -#include <stddef.h>
  62174. -#endif
  62175. -#if HAVE_INTTYPES_H
  62176. -#include <inttypes.h>
  62177. -#endif
  62178. -#if HAVE_SYS_BITYPES_H
  62179. -#include <sys/bitypes.h>
  62180. -#endif
  62181. -#if HAVE_SYS_SELECT_H
  62182. -#include <sys/select.h>
  62183. -#endif
  62184. -#if HAVE_NETINET_IN_SYSTM_H
  62185. -#include <netinet/in_systm.h>
  62186. -#endif
  62187. -int
  62188. -main ()
  62189. -{
  62190. -static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= 0)];
  62191. -test_array [0] = 0
  62192. - ;
  62193. - return 0;
  62194. -}
  62195. -_ACEOF
  62196. -rm -f conftest.$ac_objext
  62197. -if { (ac_try="$ac_compile"
  62198. -case "(($ac_try" in
  62199. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  62200. - *) ac_try_echo=$ac_try;;
  62201. -esac
  62202. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  62203. -$as_echo "$ac_try_echo") >&5
  62204. - (eval "$ac_compile") 2>conftest.er1
  62205. - ac_status=$?
  62206. - grep -v '^ *+' conftest.er1 >conftest.err
  62207. - rm -f conftest.er1
  62208. - cat conftest.err >&5
  62209. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  62210. - (exit $ac_status); } && {
  62211. - test -z "$ac_c_werror_flag" ||
  62212. - test ! -s conftest.err
  62213. - } && test -s conftest.$ac_objext; then
  62214. - ac_lo=0 ac_mid=0
  62215. - while :; do
  62216. - cat >conftest.$ac_ext <<_ACEOF
  62217. -/* confdefs.h. */
  62218. -_ACEOF
  62219. -cat confdefs.h >>conftest.$ac_ext
  62220. -cat >>conftest.$ac_ext <<_ACEOF
  62221. -/* end confdefs.h. */
  62222. + if test "x$enable_dlopen" != xyes; then
  62223. + enable_dlopen=unknown
  62224. + enable_dlopen_self=unknown
  62225. + enable_dlopen_self_static=unknown
  62226. +else
  62227. + lt_cv_dlopen=no
  62228. + lt_cv_dlopen_libs=
  62229. -#include <stdio.h>
  62230. + case $host_os in
  62231. + beos*)
  62232. + lt_cv_dlopen="load_add_on"
  62233. + lt_cv_dlopen_libs=
  62234. + lt_cv_dlopen_self=yes
  62235. + ;;
  62236. -/* What a mess.. many systems have added the (now standard) bit types
  62237. - * in their own ways, so we need to scan a wide variety of headers to
  62238. - * find them..
  62239. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  62240. - */
  62241. -#if HAVE_SYS_TYPES_H
  62242. -#include <sys/types.h>
  62243. -#endif
  62244. -#if STDC_HEADERS
  62245. -#include <stdlib.h>
  62246. -#include <stddef.h>
  62247. -#endif
  62248. -#if HAVE_INTTYPES_H
  62249. -#include <inttypes.h>
  62250. -#endif
  62251. -#if HAVE_SYS_BITYPES_H
  62252. -#include <sys/bitypes.h>
  62253. -#endif
  62254. -#if HAVE_SYS_SELECT_H
  62255. -#include <sys/select.h>
  62256. -#endif
  62257. -#if HAVE_NETINET_IN_SYSTM_H
  62258. -#include <netinet/in_systm.h>
  62259. -#endif
  62260. + mingw* | pw32* | cegcc*)
  62261. + lt_cv_dlopen="LoadLibrary"
  62262. + lt_cv_dlopen_libs=
  62263. + ;;
  62264. + cygwin*)
  62265. + lt_cv_dlopen="dlopen"
  62266. + lt_cv_dlopen_libs=
  62267. + ;;
  62268. + darwin*)
  62269. + # if libdl is installed we need to link against it
  62270. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  62271. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  62272. +if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  62273. + $as_echo_n "(cached) " >&6
  62274. +else
  62275. + ac_check_lib_save_LIBS=$LIBS
  62276. +LIBS="-ldl $LIBS"
  62277. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62278. +/* end confdefs.h. */
  62279. +/* Override any GCC internal prototype to avoid an error.
  62280. + Use char because int might match the return type of a GCC
  62281. + builtin and then its argument prototype would still apply. */
  62282. +#ifdef __cplusplus
  62283. +extern "C"
  62284. +#endif
  62285. +char dlopen ();
  62286. int
  62287. main ()
  62288. {
  62289. -static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)];
  62290. -test_array [0] = 0
  62291. -
  62292. +return dlopen ();
  62293. ;
  62294. return 0;
  62295. }
  62296. _ACEOF
  62297. -rm -f conftest.$ac_objext
  62298. -if { (ac_try="$ac_compile"
  62299. -case "(($ac_try" in
  62300. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  62301. - *) ac_try_echo=$ac_try;;
  62302. -esac
  62303. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  62304. -$as_echo "$ac_try_echo") >&5
  62305. - (eval "$ac_compile") 2>conftest.er1
  62306. - ac_status=$?
  62307. - grep -v '^ *+' conftest.er1 >conftest.err
  62308. - rm -f conftest.er1
  62309. - cat conftest.err >&5
  62310. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  62311. - (exit $ac_status); } && {
  62312. - test -z "$ac_c_werror_flag" ||
  62313. - test ! -s conftest.err
  62314. - } && test -s conftest.$ac_objext; then
  62315. - ac_hi=$ac_mid; break
  62316. +if ac_fn_c_try_link "$LINENO"; then :
  62317. + ac_cv_lib_dl_dlopen=yes
  62318. else
  62319. - $as_echo "$as_me: failed program was:" >&5
  62320. -sed 's/^/| /' conftest.$ac_ext >&5
  62321. -
  62322. - ac_lo=`expr $ac_mid + 1`
  62323. - if test $ac_lo -le $ac_mid; then
  62324. - ac_lo= ac_hi=
  62325. - break
  62326. - fi
  62327. - ac_mid=`expr 2 '*' $ac_mid + 1`
  62328. + ac_cv_lib_dl_dlopen=no
  62329. fi
  62330. -
  62331. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  62332. - done
  62333. +rm -f core conftest.err conftest.$ac_objext \
  62334. + conftest$ac_exeext conftest.$ac_ext
  62335. +LIBS=$ac_check_lib_save_LIBS
  62336. +fi
  62337. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  62338. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  62339. +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  62340. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  62341. else
  62342. - $as_echo "$as_me: failed program was:" >&5
  62343. -sed 's/^/| /' conftest.$ac_ext >&5
  62344. - cat >conftest.$ac_ext <<_ACEOF
  62345. -/* confdefs.h. */
  62346. -_ACEOF
  62347. -cat confdefs.h >>conftest.$ac_ext
  62348. -cat >>conftest.$ac_ext <<_ACEOF
  62349. -/* end confdefs.h. */
  62350. -
  62351. -#include <stdio.h>
  62352. + lt_cv_dlopen="dyld"
  62353. + lt_cv_dlopen_libs=
  62354. + lt_cv_dlopen_self=yes
  62355. -/* What a mess.. many systems have added the (now standard) bit types
  62356. - * in their own ways, so we need to scan a wide variety of headers to
  62357. - * find them..
  62358. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  62359. - */
  62360. -#if HAVE_SYS_TYPES_H
  62361. -#include <sys/types.h>
  62362. -#endif
  62363. -#if STDC_HEADERS
  62364. -#include <stdlib.h>
  62365. -#include <stddef.h>
  62366. -#endif
  62367. -#if HAVE_INTTYPES_H
  62368. -#include <inttypes.h>
  62369. -#endif
  62370. -#if HAVE_SYS_BITYPES_H
  62371. -#include <sys/bitypes.h>
  62372. -#endif
  62373. -#if HAVE_SYS_SELECT_H
  62374. -#include <sys/select.h>
  62375. -#endif
  62376. -#if HAVE_NETINET_IN_SYSTM_H
  62377. -#include <netinet/in_systm.h>
  62378. -#endif
  62379. +fi
  62380. + ;;
  62381. + *)
  62382. + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  62383. +if test "x$ac_cv_func_shl_load" = x""yes; then :
  62384. + lt_cv_dlopen="shl_load"
  62385. +else
  62386. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  62387. +$as_echo_n "checking for shl_load in -ldld... " >&6; }
  62388. +if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
  62389. + $as_echo_n "(cached) " >&6
  62390. +else
  62391. + ac_check_lib_save_LIBS=$LIBS
  62392. +LIBS="-ldld $LIBS"
  62393. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62394. +/* end confdefs.h. */
  62395. +/* Override any GCC internal prototype to avoid an error.
  62396. + Use char because int might match the return type of a GCC
  62397. + builtin and then its argument prototype would still apply. */
  62398. +#ifdef __cplusplus
  62399. +extern "C"
  62400. +#endif
  62401. +char shl_load ();
  62402. int
  62403. main ()
  62404. {
  62405. -static int test_array [1 - 2 * !(((long int) (sizeof (char))) < 0)];
  62406. -test_array [0] = 0
  62407. -
  62408. +return shl_load ();
  62409. ;
  62410. return 0;
  62411. }
  62412. _ACEOF
  62413. -rm -f conftest.$ac_objext
  62414. -if { (ac_try="$ac_compile"
  62415. -case "(($ac_try" in
  62416. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  62417. - *) ac_try_echo=$ac_try;;
  62418. -esac
  62419. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  62420. -$as_echo "$ac_try_echo") >&5
  62421. - (eval "$ac_compile") 2>conftest.er1
  62422. - ac_status=$?
  62423. - grep -v '^ *+' conftest.er1 >conftest.err
  62424. - rm -f conftest.er1
  62425. - cat conftest.err >&5
  62426. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  62427. - (exit $ac_status); } && {
  62428. - test -z "$ac_c_werror_flag" ||
  62429. - test ! -s conftest.err
  62430. - } && test -s conftest.$ac_objext; then
  62431. - ac_hi=-1 ac_mid=-1
  62432. - while :; do
  62433. - cat >conftest.$ac_ext <<_ACEOF
  62434. -/* confdefs.h. */
  62435. -_ACEOF
  62436. -cat confdefs.h >>conftest.$ac_ext
  62437. -cat >>conftest.$ac_ext <<_ACEOF
  62438. +if ac_fn_c_try_link "$LINENO"; then :
  62439. + ac_cv_lib_dld_shl_load=yes
  62440. +else
  62441. + ac_cv_lib_dld_shl_load=no
  62442. +fi
  62443. +rm -f core conftest.err conftest.$ac_objext \
  62444. + conftest$ac_exeext conftest.$ac_ext
  62445. +LIBS=$ac_check_lib_save_LIBS
  62446. +fi
  62447. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  62448. +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  62449. +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
  62450. + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  62451. +else
  62452. + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  62453. +if test "x$ac_cv_func_dlopen" = x""yes; then :
  62454. + lt_cv_dlopen="dlopen"
  62455. +else
  62456. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  62457. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  62458. +if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  62459. + $as_echo_n "(cached) " >&6
  62460. +else
  62461. + ac_check_lib_save_LIBS=$LIBS
  62462. +LIBS="-ldl $LIBS"
  62463. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62464. /* end confdefs.h. */
  62465. -#include <stdio.h>
  62466. -
  62467. -/* What a mess.. many systems have added the (now standard) bit types
  62468. - * in their own ways, so we need to scan a wide variety of headers to
  62469. - * find them..
  62470. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  62471. - */
  62472. -#if HAVE_SYS_TYPES_H
  62473. -#include <sys/types.h>
  62474. -#endif
  62475. -#if STDC_HEADERS
  62476. -#include <stdlib.h>
  62477. -#include <stddef.h>
  62478. -#endif
  62479. -#if HAVE_INTTYPES_H
  62480. -#include <inttypes.h>
  62481. -#endif
  62482. -#if HAVE_SYS_BITYPES_H
  62483. -#include <sys/bitypes.h>
  62484. -#endif
  62485. -#if HAVE_SYS_SELECT_H
  62486. -#include <sys/select.h>
  62487. -#endif
  62488. -#if HAVE_NETINET_IN_SYSTM_H
  62489. -#include <netinet/in_systm.h>
  62490. +/* Override any GCC internal prototype to avoid an error.
  62491. + Use char because int might match the return type of a GCC
  62492. + builtin and then its argument prototype would still apply. */
  62493. +#ifdef __cplusplus
  62494. +extern "C"
  62495. #endif
  62496. -
  62497. -
  62498. -
  62499. +char dlopen ();
  62500. int
  62501. main ()
  62502. {
  62503. -static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= $ac_mid)];
  62504. -test_array [0] = 0
  62505. -
  62506. +return dlopen ();
  62507. ;
  62508. return 0;
  62509. }
  62510. _ACEOF
  62511. -rm -f conftest.$ac_objext
  62512. -if { (ac_try="$ac_compile"
  62513. -case "(($ac_try" in
  62514. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  62515. - *) ac_try_echo=$ac_try;;
  62516. -esac
  62517. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  62518. -$as_echo "$ac_try_echo") >&5
  62519. - (eval "$ac_compile") 2>conftest.er1
  62520. - ac_status=$?
  62521. - grep -v '^ *+' conftest.er1 >conftest.err
  62522. - rm -f conftest.er1
  62523. - cat conftest.err >&5
  62524. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  62525. - (exit $ac_status); } && {
  62526. - test -z "$ac_c_werror_flag" ||
  62527. - test ! -s conftest.err
  62528. - } && test -s conftest.$ac_objext; then
  62529. - ac_lo=$ac_mid; break
  62530. -else
  62531. - $as_echo "$as_me: failed program was:" >&5
  62532. -sed 's/^/| /' conftest.$ac_ext >&5
  62533. -
  62534. - ac_hi=`expr '(' $ac_mid ')' - 1`
  62535. - if test $ac_mid -le $ac_hi; then
  62536. - ac_lo= ac_hi=
  62537. - break
  62538. - fi
  62539. - ac_mid=`expr 2 '*' $ac_mid`
  62540. -fi
  62541. -
  62542. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  62543. - done
  62544. +if ac_fn_c_try_link "$LINENO"; then :
  62545. + ac_cv_lib_dl_dlopen=yes
  62546. else
  62547. - $as_echo "$as_me: failed program was:" >&5
  62548. -sed 's/^/| /' conftest.$ac_ext >&5
  62549. -
  62550. - ac_lo= ac_hi=
  62551. + ac_cv_lib_dl_dlopen=no
  62552. fi
  62553. -
  62554. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  62555. +rm -f core conftest.err conftest.$ac_objext \
  62556. + conftest$ac_exeext conftest.$ac_ext
  62557. +LIBS=$ac_check_lib_save_LIBS
  62558. fi
  62559. -
  62560. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  62561. -# Binary search between lo and hi bounds.
  62562. -while test "x$ac_lo" != "x$ac_hi"; do
  62563. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  62564. - cat >conftest.$ac_ext <<_ACEOF
  62565. -/* confdefs.h. */
  62566. -_ACEOF
  62567. -cat confdefs.h >>conftest.$ac_ext
  62568. -cat >>conftest.$ac_ext <<_ACEOF
  62569. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  62570. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  62571. +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  62572. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  62573. +else
  62574. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  62575. +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  62576. +if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
  62577. + $as_echo_n "(cached) " >&6
  62578. +else
  62579. + ac_check_lib_save_LIBS=$LIBS
  62580. +LIBS="-lsvld $LIBS"
  62581. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62582. /* end confdefs.h. */
  62583. -#include <stdio.h>
  62584. -
  62585. -/* What a mess.. many systems have added the (now standard) bit types
  62586. - * in their own ways, so we need to scan a wide variety of headers to
  62587. - * find them..
  62588. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  62589. - */
  62590. -#if HAVE_SYS_TYPES_H
  62591. -#include <sys/types.h>
  62592. -#endif
  62593. -#if STDC_HEADERS
  62594. -#include <stdlib.h>
  62595. -#include <stddef.h>
  62596. -#endif
  62597. -#if HAVE_INTTYPES_H
  62598. -#include <inttypes.h>
  62599. -#endif
  62600. -#if HAVE_SYS_BITYPES_H
  62601. -#include <sys/bitypes.h>
  62602. -#endif
  62603. -#if HAVE_SYS_SELECT_H
  62604. -#include <sys/select.h>
  62605. -#endif
  62606. -#if HAVE_NETINET_IN_SYSTM_H
  62607. -#include <netinet/in_systm.h>
  62608. +/* Override any GCC internal prototype to avoid an error.
  62609. + Use char because int might match the return type of a GCC
  62610. + builtin and then its argument prototype would still apply. */
  62611. +#ifdef __cplusplus
  62612. +extern "C"
  62613. #endif
  62614. -
  62615. -
  62616. -
  62617. +char dlopen ();
  62618. int
  62619. main ()
  62620. {
  62621. -static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)];
  62622. -test_array [0] = 0
  62623. -
  62624. +return dlopen ();
  62625. ;
  62626. return 0;
  62627. }
  62628. _ACEOF
  62629. -rm -f conftest.$ac_objext
  62630. -if { (ac_try="$ac_compile"
  62631. -case "(($ac_try" in
  62632. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  62633. - *) ac_try_echo=$ac_try;;
  62634. -esac
  62635. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  62636. -$as_echo "$ac_try_echo") >&5
  62637. - (eval "$ac_compile") 2>conftest.er1
  62638. - ac_status=$?
  62639. - grep -v '^ *+' conftest.er1 >conftest.err
  62640. - rm -f conftest.er1
  62641. - cat conftest.err >&5
  62642. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  62643. - (exit $ac_status); } && {
  62644. - test -z "$ac_c_werror_flag" ||
  62645. - test ! -s conftest.err
  62646. - } && test -s conftest.$ac_objext; then
  62647. - ac_hi=$ac_mid
  62648. +if ac_fn_c_try_link "$LINENO"; then :
  62649. + ac_cv_lib_svld_dlopen=yes
  62650. else
  62651. - $as_echo "$as_me: failed program was:" >&5
  62652. -sed 's/^/| /' conftest.$ac_ext >&5
  62653. -
  62654. - ac_lo=`expr '(' $ac_mid ')' + 1`
  62655. + ac_cv_lib_svld_dlopen=no
  62656. fi
  62657. -
  62658. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  62659. -done
  62660. -case $ac_lo in
  62661. -?*) ac_cv_sizeof_char=$ac_lo;;
  62662. -'') if test "$ac_cv_type_char" = yes; then
  62663. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char)
  62664. -See \`config.log' for more details." >&5
  62665. -$as_echo "$as_me: error: cannot compute sizeof (char)
  62666. -See \`config.log' for more details." >&2;}
  62667. - { (exit 77); exit 77; }; }
  62668. - else
  62669. - ac_cv_sizeof_char=0
  62670. - fi ;;
  62671. -esac
  62672. +rm -f core conftest.err conftest.$ac_objext \
  62673. + conftest$ac_exeext conftest.$ac_ext
  62674. +LIBS=$ac_check_lib_save_LIBS
  62675. +fi
  62676. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  62677. +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  62678. +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
  62679. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  62680. else
  62681. - cat >conftest.$ac_ext <<_ACEOF
  62682. -/* confdefs.h. */
  62683. -_ACEOF
  62684. -cat confdefs.h >>conftest.$ac_ext
  62685. -cat >>conftest.$ac_ext <<_ACEOF
  62686. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  62687. +$as_echo_n "checking for dld_link in -ldld... " >&6; }
  62688. +if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
  62689. + $as_echo_n "(cached) " >&6
  62690. +else
  62691. + ac_check_lib_save_LIBS=$LIBS
  62692. +LIBS="-ldld $LIBS"
  62693. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62694. /* end confdefs.h. */
  62695. -#include <stdio.h>
  62696. -
  62697. -/* What a mess.. many systems have added the (now standard) bit types
  62698. - * in their own ways, so we need to scan a wide variety of headers to
  62699. - * find them..
  62700. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  62701. - */
  62702. -#if HAVE_SYS_TYPES_H
  62703. -#include <sys/types.h>
  62704. -#endif
  62705. -#if STDC_HEADERS
  62706. -#include <stdlib.h>
  62707. -#include <stddef.h>
  62708. -#endif
  62709. -#if HAVE_INTTYPES_H
  62710. -#include <inttypes.h>
  62711. -#endif
  62712. -#if HAVE_SYS_BITYPES_H
  62713. -#include <sys/bitypes.h>
  62714. -#endif
  62715. -#if HAVE_SYS_SELECT_H
  62716. -#include <sys/select.h>
  62717. -#endif
  62718. -#if HAVE_NETINET_IN_SYSTM_H
  62719. -#include <netinet/in_systm.h>
  62720. +/* Override any GCC internal prototype to avoid an error.
  62721. + Use char because int might match the return type of a GCC
  62722. + builtin and then its argument prototype would still apply. */
  62723. +#ifdef __cplusplus
  62724. +extern "C"
  62725. #endif
  62726. -
  62727. -
  62728. -
  62729. -static long int longval () { return (long int) (sizeof (char)); }
  62730. -static unsigned long int ulongval () { return (long int) (sizeof (char)); }
  62731. -#include <stdio.h>
  62732. -#include <stdlib.h>
  62733. +char dld_link ();
  62734. int
  62735. main ()
  62736. {
  62737. -
  62738. - FILE *f = fopen ("conftest.val", "w");
  62739. - if (! f)
  62740. - return 1;
  62741. - if (((long int) (sizeof (char))) < 0)
  62742. - {
  62743. - long int i = longval ();
  62744. - if (i != ((long int) (sizeof (char))))
  62745. - return 1;
  62746. - fprintf (f, "%ld", i);
  62747. - }
  62748. - else
  62749. - {
  62750. - unsigned long int i = ulongval ();
  62751. - if (i != ((long int) (sizeof (char))))
  62752. - return 1;
  62753. - fprintf (f, "%lu", i);
  62754. - }
  62755. - /* Do not output a trailing newline, as this causes \r\n confusion
  62756. - on some platforms. */
  62757. - return ferror (f) || fclose (f) != 0;
  62758. -
  62759. +return dld_link ();
  62760. ;
  62761. return 0;
  62762. }
  62763. _ACEOF
  62764. -rm -f conftest$ac_exeext
  62765. -if { (ac_try="$ac_link"
  62766. -case "(($ac_try" in
  62767. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  62768. - *) ac_try_echo=$ac_try;;
  62769. -esac
  62770. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  62771. -$as_echo "$ac_try_echo") >&5
  62772. - (eval "$ac_link") 2>&5
  62773. - ac_status=$?
  62774. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  62775. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  62776. - { (case "(($ac_try" in
  62777. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  62778. - *) ac_try_echo=$ac_try;;
  62779. -esac
  62780. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  62781. -$as_echo "$ac_try_echo") >&5
  62782. - (eval "$ac_try") 2>&5
  62783. - ac_status=$?
  62784. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  62785. - (exit $ac_status); }; }; then
  62786. - ac_cv_sizeof_char=`cat conftest.val`
  62787. +if ac_fn_c_try_link "$LINENO"; then :
  62788. + ac_cv_lib_dld_dld_link=yes
  62789. else
  62790. - $as_echo "$as_me: program exited with status $ac_status" >&5
  62791. -$as_echo "$as_me: failed program was:" >&5
  62792. -sed 's/^/| /' conftest.$ac_ext >&5
  62793. -
  62794. -( exit $ac_status )
  62795. -if test "$ac_cv_type_char" = yes; then
  62796. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char)
  62797. -See \`config.log' for more details." >&5
  62798. -$as_echo "$as_me: error: cannot compute sizeof (char)
  62799. -See \`config.log' for more details." >&2;}
  62800. - { (exit 77); exit 77; }; }
  62801. - else
  62802. - ac_cv_sizeof_char=0
  62803. - fi
  62804. + ac_cv_lib_dld_dld_link=no
  62805. fi
  62806. -rm -rf conftest.dSYM
  62807. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  62808. +rm -f core conftest.err conftest.$ac_objext \
  62809. + conftest$ac_exeext conftest.$ac_ext
  62810. +LIBS=$ac_check_lib_save_LIBS
  62811. fi
  62812. -rm -f conftest.val
  62813. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  62814. +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  62815. +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
  62816. + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  62817. fi
  62818. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
  62819. -$as_echo "$ac_cv_sizeof_char" >&6; }
  62820. +fi
  62821. -cat >>confdefs.h <<_ACEOF
  62822. -#define SIZEOF_CHAR $ac_cv_sizeof_char
  62823. -_ACEOF
  62824. +fi
  62825. -cat >>confdefs.h <<\_ACEOF
  62826. -#define HAVE_CHAR 1
  62827. -_ACEOF
  62828. +fi
  62829. +
  62830. +
  62831. +fi
  62832. fi
  62833. + ;;
  62834. + esac
  62835. +
  62836. + if test "x$lt_cv_dlopen" != xno; then
  62837. + enable_dlopen=yes
  62838. + else
  62839. + enable_dlopen=no
  62840. + fi
  62841. +
  62842. + case $lt_cv_dlopen in
  62843. + dlopen)
  62844. + save_CPPFLAGS="$CPPFLAGS"
  62845. + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  62846. +
  62847. + save_LDFLAGS="$LDFLAGS"
  62848. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  62849. -{ $as_echo "$as_me:$LINENO: checking for u_int8_t" >&5
  62850. -$as_echo_n "checking for u_int8_t... " >&6; }
  62851. -if test "${ac_cv_type_u_int8_t+set}" = set; then
  62852. + save_LIBS="$LIBS"
  62853. + LIBS="$lt_cv_dlopen_libs $LIBS"
  62854. +
  62855. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  62856. +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
  62857. +if test "${lt_cv_dlopen_self+set}" = set; then :
  62858. $as_echo_n "(cached) " >&6
  62859. else
  62860. - ac_cv_type_u_int8_t=no
  62861. -cat >conftest.$ac_ext <<_ACEOF
  62862. -/* confdefs.h. */
  62863. -_ACEOF
  62864. -cat confdefs.h >>conftest.$ac_ext
  62865. -cat >>conftest.$ac_ext <<_ACEOF
  62866. -/* end confdefs.h. */
  62867. + if test "$cross_compiling" = yes; then :
  62868. + lt_cv_dlopen_self=cross
  62869. +else
  62870. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  62871. + lt_status=$lt_dlunknown
  62872. + cat > conftest.$ac_ext <<_LT_EOF
  62873. +#line 12112 "configure"
  62874. +#include "confdefs.h"
  62875. -/* What a mess.. many systems have added the (now standard) bit types
  62876. - * in their own ways, so we need to scan a wide variety of headers to
  62877. - * find them..
  62878. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  62879. - */
  62880. -#if HAVE_SYS_TYPES_H
  62881. -#include <sys/types.h>
  62882. -#endif
  62883. -#if STDC_HEADERS
  62884. -#include <stdlib.h>
  62885. -#include <stddef.h>
  62886. -#endif
  62887. -#if HAVE_INTTYPES_H
  62888. -#include <inttypes.h>
  62889. -#endif
  62890. -#if HAVE_SYS_BITYPES_H
  62891. -#include <sys/bitypes.h>
  62892. -#endif
  62893. -#if HAVE_SYS_SELECT_H
  62894. -#include <sys/select.h>
  62895. -#endif
  62896. -#if HAVE_NETINET_IN_SYSTM_H
  62897. -#include <netinet/in_systm.h>
  62898. +#if HAVE_DLFCN_H
  62899. +#include <dlfcn.h>
  62900. #endif
  62901. +#include <stdio.h>
  62902. -int
  62903. -main ()
  62904. -{
  62905. -if (sizeof (u_int8_t))
  62906. - return 0;
  62907. - ;
  62908. - return 0;
  62909. -}
  62910. -_ACEOF
  62911. -rm -f conftest.$ac_objext
  62912. -if { (ac_try="$ac_compile"
  62913. -case "(($ac_try" in
  62914. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  62915. - *) ac_try_echo=$ac_try;;
  62916. -esac
  62917. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  62918. -$as_echo "$ac_try_echo") >&5
  62919. - (eval "$ac_compile") 2>conftest.er1
  62920. - ac_status=$?
  62921. - grep -v '^ *+' conftest.er1 >conftest.err
  62922. - rm -f conftest.er1
  62923. - cat conftest.err >&5
  62924. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  62925. - (exit $ac_status); } && {
  62926. - test -z "$ac_c_werror_flag" ||
  62927. - test ! -s conftest.err
  62928. - } && test -s conftest.$ac_objext; then
  62929. - cat >conftest.$ac_ext <<_ACEOF
  62930. -/* confdefs.h. */
  62931. -_ACEOF
  62932. -cat confdefs.h >>conftest.$ac_ext
  62933. -cat >>conftest.$ac_ext <<_ACEOF
  62934. -/* end confdefs.h. */
  62935. -
  62936. -/* What a mess.. many systems have added the (now standard) bit types
  62937. - * in their own ways, so we need to scan a wide variety of headers to
  62938. - * find them..
  62939. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  62940. - */
  62941. -#if HAVE_SYS_TYPES_H
  62942. -#include <sys/types.h>
  62943. -#endif
  62944. -#if STDC_HEADERS
  62945. -#include <stdlib.h>
  62946. -#include <stddef.h>
  62947. -#endif
  62948. -#if HAVE_INTTYPES_H
  62949. -#include <inttypes.h>
  62950. -#endif
  62951. -#if HAVE_SYS_BITYPES_H
  62952. -#include <sys/bitypes.h>
  62953. -#endif
  62954. -#if HAVE_SYS_SELECT_H
  62955. -#include <sys/select.h>
  62956. -#endif
  62957. -#if HAVE_NETINET_IN_SYSTM_H
  62958. -#include <netinet/in_systm.h>
  62959. +#ifdef RTLD_GLOBAL
  62960. +# define LT_DLGLOBAL RTLD_GLOBAL
  62961. +#else
  62962. +# ifdef DL_GLOBAL
  62963. +# define LT_DLGLOBAL DL_GLOBAL
  62964. +# else
  62965. +# define LT_DLGLOBAL 0
  62966. +# endif
  62967. #endif
  62968. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  62969. + find out it does not work in some platform. */
  62970. +#ifndef LT_DLLAZY_OR_NOW
  62971. +# ifdef RTLD_LAZY
  62972. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  62973. +# else
  62974. +# ifdef DL_LAZY
  62975. +# define LT_DLLAZY_OR_NOW DL_LAZY
  62976. +# else
  62977. +# ifdef RTLD_NOW
  62978. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  62979. +# else
  62980. +# ifdef DL_NOW
  62981. +# define LT_DLLAZY_OR_NOW DL_NOW
  62982. +# else
  62983. +# define LT_DLLAZY_OR_NOW 0
  62984. +# endif
  62985. +# endif
  62986. +# endif
  62987. +# endif
  62988. +#endif
  62989. -int
  62990. -main ()
  62991. +void fnord() { int i=42;}
  62992. +int main ()
  62993. {
  62994. -if (sizeof ((u_int8_t)))
  62995. - return 0;
  62996. - ;
  62997. - return 0;
  62998. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  62999. + int status = $lt_dlunknown;
  63000. +
  63001. + if (self)
  63002. + {
  63003. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  63004. + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  63005. + /* dlclose (self); */
  63006. + }
  63007. + else
  63008. + puts (dlerror ());
  63009. +
  63010. + return status;
  63011. }
  63012. -_ACEOF
  63013. -rm -f conftest.$ac_objext
  63014. -if { (ac_try="$ac_compile"
  63015. -case "(($ac_try" in
  63016. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  63017. - *) ac_try_echo=$ac_try;;
  63018. -esac
  63019. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  63020. -$as_echo "$ac_try_echo") >&5
  63021. - (eval "$ac_compile") 2>conftest.er1
  63022. +_LT_EOF
  63023. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  63024. + (eval $ac_link) 2>&5
  63025. ac_status=$?
  63026. - grep -v '^ *+' conftest.er1 >conftest.err
  63027. - rm -f conftest.er1
  63028. - cat conftest.err >&5
  63029. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  63030. - (exit $ac_status); } && {
  63031. - test -z "$ac_c_werror_flag" ||
  63032. - test ! -s conftest.err
  63033. - } && test -s conftest.$ac_objext; then
  63034. - :
  63035. -else
  63036. - $as_echo "$as_me: failed program was:" >&5
  63037. -sed 's/^/| /' conftest.$ac_ext >&5
  63038. -
  63039. - ac_cv_type_u_int8_t=yes
  63040. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  63041. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  63042. + (./conftest; exit; ) >&5 2>/dev/null
  63043. + lt_status=$?
  63044. + case x$lt_status in
  63045. + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  63046. + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  63047. + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  63048. + esac
  63049. + else :
  63050. + # compilation failed
  63051. + lt_cv_dlopen_self=no
  63052. + fi
  63053. fi
  63054. +rm -fr conftest*
  63055. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  63056. -else
  63057. - $as_echo "$as_me: failed program was:" >&5
  63058. -sed 's/^/| /' conftest.$ac_ext >&5
  63059. -
  63060. -
  63061. -fi
  63062. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  63063. fi
  63064. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
  63065. -$as_echo "$ac_cv_type_u_int8_t" >&6; }
  63066. -if test $ac_cv_type_u_int8_t = yes; then
  63067. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  63068. +$as_echo "$lt_cv_dlopen_self" >&6; }
  63069. - # The cast to long int works around a bug in the HP C Compiler
  63070. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  63071. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  63072. -# This bug is HP SR number 8606223364.
  63073. -{ $as_echo "$as_me:$LINENO: checking size of u_int8_t" >&5
  63074. -$as_echo_n "checking size of u_int8_t... " >&6; }
  63075. -if test "${ac_cv_sizeof_u_int8_t+set}" = set; then
  63076. + if test "x$lt_cv_dlopen_self" = xyes; then
  63077. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  63078. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  63079. +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  63080. +if test "${lt_cv_dlopen_self_static+set}" = set; then :
  63081. $as_echo_n "(cached) " >&6
  63082. else
  63083. - if test "$cross_compiling" = yes; then
  63084. - # Depending upon the size, compute the lo and hi bounds.
  63085. -cat >conftest.$ac_ext <<_ACEOF
  63086. -/* confdefs.h. */
  63087. -_ACEOF
  63088. -cat confdefs.h >>conftest.$ac_ext
  63089. -cat >>conftest.$ac_ext <<_ACEOF
  63090. -/* end confdefs.h. */
  63091. + if test "$cross_compiling" = yes; then :
  63092. + lt_cv_dlopen_self_static=cross
  63093. +else
  63094. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  63095. + lt_status=$lt_dlunknown
  63096. + cat > conftest.$ac_ext <<_LT_EOF
  63097. +#line 12208 "configure"
  63098. +#include "confdefs.h"
  63099. +
  63100. +#if HAVE_DLFCN_H
  63101. +#include <dlfcn.h>
  63102. +#endif
  63103. #include <stdio.h>
  63104. -/* What a mess.. many systems have added the (now standard) bit types
  63105. - * in their own ways, so we need to scan a wide variety of headers to
  63106. - * find them..
  63107. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  63108. - */
  63109. -#if HAVE_SYS_TYPES_H
  63110. -#include <sys/types.h>
  63111. -#endif
  63112. -#if STDC_HEADERS
  63113. -#include <stdlib.h>
  63114. -#include <stddef.h>
  63115. -#endif
  63116. -#if HAVE_INTTYPES_H
  63117. -#include <inttypes.h>
  63118. -#endif
  63119. -#if HAVE_SYS_BITYPES_H
  63120. -#include <sys/bitypes.h>
  63121. -#endif
  63122. -#if HAVE_SYS_SELECT_H
  63123. -#include <sys/select.h>
  63124. -#endif
  63125. -#if HAVE_NETINET_IN_SYSTM_H
  63126. -#include <netinet/in_systm.h>
  63127. +#ifdef RTLD_GLOBAL
  63128. +# define LT_DLGLOBAL RTLD_GLOBAL
  63129. +#else
  63130. +# ifdef DL_GLOBAL
  63131. +# define LT_DLGLOBAL DL_GLOBAL
  63132. +# else
  63133. +# define LT_DLGLOBAL 0
  63134. +# endif
  63135. #endif
  63136. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  63137. + find out it does not work in some platform. */
  63138. +#ifndef LT_DLLAZY_OR_NOW
  63139. +# ifdef RTLD_LAZY
  63140. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  63141. +# else
  63142. +# ifdef DL_LAZY
  63143. +# define LT_DLLAZY_OR_NOW DL_LAZY
  63144. +# else
  63145. +# ifdef RTLD_NOW
  63146. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  63147. +# else
  63148. +# ifdef DL_NOW
  63149. +# define LT_DLLAZY_OR_NOW DL_NOW
  63150. +# else
  63151. +# define LT_DLLAZY_OR_NOW 0
  63152. +# endif
  63153. +# endif
  63154. +# endif
  63155. +# endif
  63156. +#endif
  63157. -
  63158. -int
  63159. -main ()
  63160. +void fnord() { int i=42;}
  63161. +int main ()
  63162. {
  63163. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int8_t))) >= 0)];
  63164. -test_array [0] = 0
  63165. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  63166. + int status = $lt_dlunknown;
  63167. - ;
  63168. - return 0;
  63169. + if (self)
  63170. + {
  63171. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  63172. + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  63173. + /* dlclose (self); */
  63174. + }
  63175. + else
  63176. + puts (dlerror ());
  63177. +
  63178. + return status;
  63179. }
  63180. -_ACEOF
  63181. -rm -f conftest.$ac_objext
  63182. -if { (ac_try="$ac_compile"
  63183. -case "(($ac_try" in
  63184. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  63185. - *) ac_try_echo=$ac_try;;
  63186. -esac
  63187. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  63188. -$as_echo "$ac_try_echo") >&5
  63189. - (eval "$ac_compile") 2>conftest.er1
  63190. +_LT_EOF
  63191. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  63192. + (eval $ac_link) 2>&5
  63193. ac_status=$?
  63194. - grep -v '^ *+' conftest.er1 >conftest.err
  63195. - rm -f conftest.er1
  63196. - cat conftest.err >&5
  63197. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  63198. - (exit $ac_status); } && {
  63199. - test -z "$ac_c_werror_flag" ||
  63200. - test ! -s conftest.err
  63201. - } && test -s conftest.$ac_objext; then
  63202. - ac_lo=0 ac_mid=0
  63203. - while :; do
  63204. - cat >conftest.$ac_ext <<_ACEOF
  63205. -/* confdefs.h. */
  63206. -_ACEOF
  63207. -cat confdefs.h >>conftest.$ac_ext
  63208. -cat >>conftest.$ac_ext <<_ACEOF
  63209. -/* end confdefs.h. */
  63210. -
  63211. -#include <stdio.h>
  63212. -
  63213. -/* What a mess.. many systems have added the (now standard) bit types
  63214. - * in their own ways, so we need to scan a wide variety of headers to
  63215. - * find them..
  63216. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  63217. - */
  63218. -#if HAVE_SYS_TYPES_H
  63219. -#include <sys/types.h>
  63220. -#endif
  63221. -#if STDC_HEADERS
  63222. -#include <stdlib.h>
  63223. -#include <stddef.h>
  63224. -#endif
  63225. -#if HAVE_INTTYPES_H
  63226. -#include <inttypes.h>
  63227. -#endif
  63228. -#if HAVE_SYS_BITYPES_H
  63229. -#include <sys/bitypes.h>
  63230. -#endif
  63231. -#if HAVE_SYS_SELECT_H
  63232. -#include <sys/select.h>
  63233. -#endif
  63234. -#if HAVE_NETINET_IN_SYSTM_H
  63235. -#include <netinet/in_systm.h>
  63236. -#endif
  63237. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  63238. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  63239. + (./conftest; exit; ) >&5 2>/dev/null
  63240. + lt_status=$?
  63241. + case x$lt_status in
  63242. + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  63243. + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  63244. + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  63245. + esac
  63246. + else :
  63247. + # compilation failed
  63248. + lt_cv_dlopen_self_static=no
  63249. + fi
  63250. +fi
  63251. +rm -fr conftest*
  63252. +fi
  63253. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  63254. +$as_echo "$lt_cv_dlopen_self_static" >&6; }
  63255. + fi
  63256. -int
  63257. -main ()
  63258. -{
  63259. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int8_t))) <= $ac_mid)];
  63260. -test_array [0] = 0
  63261. + CPPFLAGS="$save_CPPFLAGS"
  63262. + LDFLAGS="$save_LDFLAGS"
  63263. + LIBS="$save_LIBS"
  63264. + ;;
  63265. + esac
  63266. - ;
  63267. - return 0;
  63268. -}
  63269. -_ACEOF
  63270. -rm -f conftest.$ac_objext
  63271. -if { (ac_try="$ac_compile"
  63272. -case "(($ac_try" in
  63273. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  63274. - *) ac_try_echo=$ac_try;;
  63275. -esac
  63276. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  63277. -$as_echo "$ac_try_echo") >&5
  63278. - (eval "$ac_compile") 2>conftest.er1
  63279. - ac_status=$?
  63280. - grep -v '^ *+' conftest.er1 >conftest.err
  63281. - rm -f conftest.er1
  63282. - cat conftest.err >&5
  63283. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  63284. - (exit $ac_status); } && {
  63285. - test -z "$ac_c_werror_flag" ||
  63286. - test ! -s conftest.err
  63287. - } && test -s conftest.$ac_objext; then
  63288. - ac_hi=$ac_mid; break
  63289. -else
  63290. - $as_echo "$as_me: failed program was:" >&5
  63291. -sed 's/^/| /' conftest.$ac_ext >&5
  63292. + case $lt_cv_dlopen_self in
  63293. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  63294. + *) enable_dlopen_self=unknown ;;
  63295. + esac
  63296. - ac_lo=`expr $ac_mid + 1`
  63297. - if test $ac_lo -le $ac_mid; then
  63298. - ac_lo= ac_hi=
  63299. - break
  63300. - fi
  63301. - ac_mid=`expr 2 '*' $ac_mid + 1`
  63302. + case $lt_cv_dlopen_self_static in
  63303. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  63304. + *) enable_dlopen_self_static=unknown ;;
  63305. + esac
  63306. fi
  63307. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  63308. - done
  63309. -else
  63310. - $as_echo "$as_me: failed program was:" >&5
  63311. -sed 's/^/| /' conftest.$ac_ext >&5
  63312. - cat >conftest.$ac_ext <<_ACEOF
  63313. -/* confdefs.h. */
  63314. -_ACEOF
  63315. -cat confdefs.h >>conftest.$ac_ext
  63316. -cat >>conftest.$ac_ext <<_ACEOF
  63317. -/* end confdefs.h. */
  63318. -#include <stdio.h>
  63319. -/* What a mess.. many systems have added the (now standard) bit types
  63320. - * in their own ways, so we need to scan a wide variety of headers to
  63321. - * find them..
  63322. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  63323. - */
  63324. -#if HAVE_SYS_TYPES_H
  63325. -#include <sys/types.h>
  63326. -#endif
  63327. -#if STDC_HEADERS
  63328. -#include <stdlib.h>
  63329. -#include <stddef.h>
  63330. -#endif
  63331. -#if HAVE_INTTYPES_H
  63332. -#include <inttypes.h>
  63333. -#endif
  63334. -#if HAVE_SYS_BITYPES_H
  63335. -#include <sys/bitypes.h>
  63336. -#endif
  63337. -#if HAVE_SYS_SELECT_H
  63338. -#include <sys/select.h>
  63339. -#endif
  63340. -#if HAVE_NETINET_IN_SYSTM_H
  63341. -#include <netinet/in_systm.h>
  63342. -#endif
  63343. -int
  63344. -main ()
  63345. -{
  63346. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int8_t))) < 0)];
  63347. -test_array [0] = 0
  63348. - ;
  63349. - return 0;
  63350. -}
  63351. -_ACEOF
  63352. -rm -f conftest.$ac_objext
  63353. -if { (ac_try="$ac_compile"
  63354. -case "(($ac_try" in
  63355. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  63356. - *) ac_try_echo=$ac_try;;
  63357. -esac
  63358. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  63359. -$as_echo "$ac_try_echo") >&5
  63360. - (eval "$ac_compile") 2>conftest.er1
  63361. - ac_status=$?
  63362. - grep -v '^ *+' conftest.er1 >conftest.err
  63363. - rm -f conftest.er1
  63364. - cat conftest.err >&5
  63365. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  63366. - (exit $ac_status); } && {
  63367. - test -z "$ac_c_werror_flag" ||
  63368. - test ! -s conftest.err
  63369. - } && test -s conftest.$ac_objext; then
  63370. - ac_hi=-1 ac_mid=-1
  63371. - while :; do
  63372. - cat >conftest.$ac_ext <<_ACEOF
  63373. -/* confdefs.h. */
  63374. -_ACEOF
  63375. -cat confdefs.h >>conftest.$ac_ext
  63376. -cat >>conftest.$ac_ext <<_ACEOF
  63377. -/* end confdefs.h. */
  63378. -#include <stdio.h>
  63379. -/* What a mess.. many systems have added the (now standard) bit types
  63380. - * in their own ways, so we need to scan a wide variety of headers to
  63381. - * find them..
  63382. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  63383. - */
  63384. -#if HAVE_SYS_TYPES_H
  63385. -#include <sys/types.h>
  63386. -#endif
  63387. -#if STDC_HEADERS
  63388. -#include <stdlib.h>
  63389. -#include <stddef.h>
  63390. -#endif
  63391. -#if HAVE_INTTYPES_H
  63392. -#include <inttypes.h>
  63393. -#endif
  63394. -#if HAVE_SYS_BITYPES_H
  63395. -#include <sys/bitypes.h>
  63396. -#endif
  63397. -#if HAVE_SYS_SELECT_H
  63398. -#include <sys/select.h>
  63399. -#endif
  63400. -#if HAVE_NETINET_IN_SYSTM_H
  63401. -#include <netinet/in_systm.h>
  63402. -#endif
  63403. -int
  63404. -main ()
  63405. -{
  63406. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int8_t))) >= $ac_mid)];
  63407. -test_array [0] = 0
  63408. - ;
  63409. - return 0;
  63410. -}
  63411. -_ACEOF
  63412. -rm -f conftest.$ac_objext
  63413. -if { (ac_try="$ac_compile"
  63414. -case "(($ac_try" in
  63415. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  63416. - *) ac_try_echo=$ac_try;;
  63417. -esac
  63418. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  63419. -$as_echo "$ac_try_echo") >&5
  63420. - (eval "$ac_compile") 2>conftest.er1
  63421. - ac_status=$?
  63422. - grep -v '^ *+' conftest.er1 >conftest.err
  63423. - rm -f conftest.er1
  63424. - cat conftest.err >&5
  63425. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  63426. - (exit $ac_status); } && {
  63427. - test -z "$ac_c_werror_flag" ||
  63428. - test ! -s conftest.err
  63429. - } && test -s conftest.$ac_objext; then
  63430. - ac_lo=$ac_mid; break
  63431. -else
  63432. - $as_echo "$as_me: failed program was:" >&5
  63433. -sed 's/^/| /' conftest.$ac_ext >&5
  63434. - ac_hi=`expr '(' $ac_mid ')' - 1`
  63435. - if test $ac_mid -le $ac_hi; then
  63436. - ac_lo= ac_hi=
  63437. - break
  63438. - fi
  63439. - ac_mid=`expr 2 '*' $ac_mid`
  63440. -fi
  63441. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  63442. - done
  63443. -else
  63444. - $as_echo "$as_me: failed program was:" >&5
  63445. -sed 's/^/| /' conftest.$ac_ext >&5
  63446. - ac_lo= ac_hi=
  63447. +striplib=
  63448. +old_striplib=
  63449. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  63450. +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
  63451. +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  63452. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  63453. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  63454. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  63455. +$as_echo "yes" >&6; }
  63456. +else
  63457. +# FIXME - insert some real tests, host_os isn't really good enough
  63458. + case $host_os in
  63459. + darwin*)
  63460. + if test -n "$STRIP" ; then
  63461. + striplib="$STRIP -x"
  63462. + old_striplib="$STRIP -S"
  63463. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  63464. +$as_echo "yes" >&6; }
  63465. + else
  63466. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  63467. +$as_echo "no" >&6; }
  63468. + fi
  63469. + ;;
  63470. + *)
  63471. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  63472. +$as_echo "no" >&6; }
  63473. + ;;
  63474. + esac
  63475. fi
  63476. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  63477. -fi
  63478. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  63479. -# Binary search between lo and hi bounds.
  63480. -while test "x$ac_lo" != "x$ac_hi"; do
  63481. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  63482. - cat >conftest.$ac_ext <<_ACEOF
  63483. -/* confdefs.h. */
  63484. -_ACEOF
  63485. -cat confdefs.h >>conftest.$ac_ext
  63486. -cat >>conftest.$ac_ext <<_ACEOF
  63487. -/* end confdefs.h. */
  63488. -#include <stdio.h>
  63489. -/* What a mess.. many systems have added the (now standard) bit types
  63490. - * in their own ways, so we need to scan a wide variety of headers to
  63491. - * find them..
  63492. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  63493. - */
  63494. -#if HAVE_SYS_TYPES_H
  63495. -#include <sys/types.h>
  63496. -#endif
  63497. -#if STDC_HEADERS
  63498. -#include <stdlib.h>
  63499. -#include <stddef.h>
  63500. -#endif
  63501. -#if HAVE_INTTYPES_H
  63502. -#include <inttypes.h>
  63503. -#endif
  63504. -#if HAVE_SYS_BITYPES_H
  63505. -#include <sys/bitypes.h>
  63506. -#endif
  63507. -#if HAVE_SYS_SELECT_H
  63508. -#include <sys/select.h>
  63509. -#endif
  63510. -#if HAVE_NETINET_IN_SYSTM_H
  63511. -#include <netinet/in_systm.h>
  63512. -#endif
  63513. -int
  63514. -main ()
  63515. -{
  63516. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int8_t))) <= $ac_mid)];
  63517. -test_array [0] = 0
  63518. - ;
  63519. - return 0;
  63520. -}
  63521. -_ACEOF
  63522. -rm -f conftest.$ac_objext
  63523. -if { (ac_try="$ac_compile"
  63524. -case "(($ac_try" in
  63525. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  63526. - *) ac_try_echo=$ac_try;;
  63527. -esac
  63528. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  63529. -$as_echo "$ac_try_echo") >&5
  63530. - (eval "$ac_compile") 2>conftest.er1
  63531. - ac_status=$?
  63532. - grep -v '^ *+' conftest.er1 >conftest.err
  63533. - rm -f conftest.er1
  63534. - cat conftest.err >&5
  63535. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  63536. - (exit $ac_status); } && {
  63537. - test -z "$ac_c_werror_flag" ||
  63538. - test ! -s conftest.err
  63539. - } && test -s conftest.$ac_objext; then
  63540. - ac_hi=$ac_mid
  63541. -else
  63542. - $as_echo "$as_me: failed program was:" >&5
  63543. -sed 's/^/| /' conftest.$ac_ext >&5
  63544. - ac_lo=`expr '(' $ac_mid ')' + 1`
  63545. -fi
  63546. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  63547. -done
  63548. -case $ac_lo in
  63549. -?*) ac_cv_sizeof_u_int8_t=$ac_lo;;
  63550. -'') if test "$ac_cv_type_u_int8_t" = yes; then
  63551. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (u_int8_t)
  63552. -See \`config.log' for more details." >&5
  63553. -$as_echo "$as_me: error: cannot compute sizeof (u_int8_t)
  63554. -See \`config.log' for more details." >&2;}
  63555. - { (exit 77); exit 77; }; }
  63556. - else
  63557. - ac_cv_sizeof_u_int8_t=0
  63558. - fi ;;
  63559. -esac
  63560. -else
  63561. - cat >conftest.$ac_ext <<_ACEOF
  63562. -/* confdefs.h. */
  63563. -_ACEOF
  63564. -cat confdefs.h >>conftest.$ac_ext
  63565. -cat >>conftest.$ac_ext <<_ACEOF
  63566. -/* end confdefs.h. */
  63567. -#include <stdio.h>
  63568. -/* What a mess.. many systems have added the (now standard) bit types
  63569. - * in their own ways, so we need to scan a wide variety of headers to
  63570. - * find them..
  63571. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  63572. - */
  63573. -#if HAVE_SYS_TYPES_H
  63574. -#include <sys/types.h>
  63575. -#endif
  63576. -#if STDC_HEADERS
  63577. -#include <stdlib.h>
  63578. -#include <stddef.h>
  63579. -#endif
  63580. -#if HAVE_INTTYPES_H
  63581. -#include <inttypes.h>
  63582. -#endif
  63583. -#if HAVE_SYS_BITYPES_H
  63584. -#include <sys/bitypes.h>
  63585. -#endif
  63586. -#if HAVE_SYS_SELECT_H
  63587. -#include <sys/select.h>
  63588. -#endif
  63589. -#if HAVE_NETINET_IN_SYSTM_H
  63590. -#include <netinet/in_systm.h>
  63591. -#endif
  63592. + # Report which library types will actually be built
  63593. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  63594. +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
  63595. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  63596. +$as_echo "$can_build_shared" >&6; }
  63597. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  63598. +$as_echo_n "checking whether to build shared libraries... " >&6; }
  63599. + test "$can_build_shared" = "no" && enable_shared=no
  63600. + # On AIX, shared libraries and static libraries use the same namespace, and
  63601. + # are all built from PIC.
  63602. + case $host_os in
  63603. + aix3*)
  63604. + test "$enable_shared" = yes && enable_static=no
  63605. + if test -n "$RANLIB"; then
  63606. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  63607. + postinstall_cmds='$RANLIB $lib'
  63608. + fi
  63609. + ;;
  63610. -static long int longval () { return (long int) (sizeof (u_int8_t)); }
  63611. -static unsigned long int ulongval () { return (long int) (sizeof (u_int8_t)); }
  63612. -#include <stdio.h>
  63613. -#include <stdlib.h>
  63614. -int
  63615. -main ()
  63616. -{
  63617. + aix[4-9]*)
  63618. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  63619. + test "$enable_shared" = yes && enable_static=no
  63620. + fi
  63621. + ;;
  63622. + esac
  63623. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  63624. +$as_echo "$enable_shared" >&6; }
  63625. - FILE *f = fopen ("conftest.val", "w");
  63626. - if (! f)
  63627. - return 1;
  63628. - if (((long int) (sizeof (u_int8_t))) < 0)
  63629. - {
  63630. - long int i = longval ();
  63631. - if (i != ((long int) (sizeof (u_int8_t))))
  63632. - return 1;
  63633. - fprintf (f, "%ld", i);
  63634. - }
  63635. - else
  63636. - {
  63637. - unsigned long int i = ulongval ();
  63638. - if (i != ((long int) (sizeof (u_int8_t))))
  63639. - return 1;
  63640. - fprintf (f, "%lu", i);
  63641. - }
  63642. - /* Do not output a trailing newline, as this causes \r\n confusion
  63643. - on some platforms. */
  63644. - return ferror (f) || fclose (f) != 0;
  63645. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  63646. +$as_echo_n "checking whether to build static libraries... " >&6; }
  63647. + # Make sure either enable_shared or enable_static is yes.
  63648. + test "$enable_shared" = yes || enable_static=yes
  63649. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  63650. +$as_echo "$enable_static" >&6; }
  63651. - ;
  63652. - return 0;
  63653. -}
  63654. -_ACEOF
  63655. -rm -f conftest$ac_exeext
  63656. -if { (ac_try="$ac_link"
  63657. -case "(($ac_try" in
  63658. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  63659. - *) ac_try_echo=$ac_try;;
  63660. -esac
  63661. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  63662. -$as_echo "$ac_try_echo") >&5
  63663. - (eval "$ac_link") 2>&5
  63664. - ac_status=$?
  63665. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  63666. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  63667. - { (case "(($ac_try" in
  63668. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  63669. - *) ac_try_echo=$ac_try;;
  63670. -esac
  63671. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  63672. -$as_echo "$ac_try_echo") >&5
  63673. - (eval "$ac_try") 2>&5
  63674. - ac_status=$?
  63675. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  63676. - (exit $ac_status); }; }; then
  63677. - ac_cv_sizeof_u_int8_t=`cat conftest.val`
  63678. -else
  63679. - $as_echo "$as_me: program exited with status $ac_status" >&5
  63680. -$as_echo "$as_me: failed program was:" >&5
  63681. -sed 's/^/| /' conftest.$ac_ext >&5
  63682. -( exit $ac_status )
  63683. -if test "$ac_cv_type_u_int8_t" = yes; then
  63684. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (u_int8_t)
  63685. -See \`config.log' for more details." >&5
  63686. -$as_echo "$as_me: error: cannot compute sizeof (u_int8_t)
  63687. -See \`config.log' for more details." >&2;}
  63688. - { (exit 77); exit 77; }; }
  63689. - else
  63690. - ac_cv_sizeof_u_int8_t=0
  63691. - fi
  63692. -fi
  63693. -rm -rf conftest.dSYM
  63694. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  63695. -fi
  63696. -rm -f conftest.val
  63697. -fi
  63698. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_u_int8_t" >&5
  63699. -$as_echo "$ac_cv_sizeof_u_int8_t" >&6; }
  63700. +fi
  63701. +ac_ext=c
  63702. +ac_cpp='$CPP $CPPFLAGS'
  63703. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  63704. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  63705. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  63706. +
  63707. +CC="$lt_save_CC"
  63708. +
  63709. +
  63710. +ac_ext=cpp
  63711. +ac_cpp='$CXXCPP $CPPFLAGS'
  63712. +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  63713. +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  63714. +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  63715. +
  63716. +archive_cmds_need_lc_CXX=no
  63717. +allow_undefined_flag_CXX=
  63718. +always_export_symbols_CXX=no
  63719. +archive_expsym_cmds_CXX=
  63720. +compiler_needs_object_CXX=no
  63721. +export_dynamic_flag_spec_CXX=
  63722. +hardcode_direct_CXX=no
  63723. +hardcode_direct_absolute_CXX=no
  63724. +hardcode_libdir_flag_spec_CXX=
  63725. +hardcode_libdir_flag_spec_ld_CXX=
  63726. +hardcode_libdir_separator_CXX=
  63727. +hardcode_minus_L_CXX=no
  63728. +hardcode_shlibpath_var_CXX=unsupported
  63729. +hardcode_automatic_CXX=no
  63730. +inherit_rpath_CXX=no
  63731. +module_cmds_CXX=
  63732. +module_expsym_cmds_CXX=
  63733. +link_all_deplibs_CXX=unknown
  63734. +old_archive_cmds_CXX=$old_archive_cmds
  63735. +no_undefined_flag_CXX=
  63736. +whole_archive_flag_spec_CXX=
  63737. +enable_shared_with_static_runtimes_CXX=no
  63738. +
  63739. +# Source file extension for C++ test sources.
  63740. +ac_ext=cpp
  63741. +
  63742. +# Object file extension for compiled C++ test sources.
  63743. +objext=o
  63744. +objext_CXX=$objext
  63745. +
  63746. +# No sense in running all these tests if we already determined that
  63747. +# the CXX compiler isn't working. Some variables (like enable_shared)
  63748. +# are currently assumed to apply to all compilers on this platform,
  63749. +# and will be corrupted by setting them based on a non-working compiler.
  63750. +if test "$_lt_caught_CXX_error" != yes; then
  63751. + # Code to be used in simple compile tests
  63752. + lt_simple_compile_test_code="int some_variable = 0;"
  63753. +
  63754. + # Code to be used in simple link tests
  63755. + lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
  63756. -cat >>confdefs.h <<_ACEOF
  63757. -#define SIZEOF_U_INT8_T $ac_cv_sizeof_u_int8_t
  63758. -_ACEOF
  63759. + # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  63760. -cat >>confdefs.h <<\_ACEOF
  63761. -#define HAVE_U_INT8_T 1
  63762. -_ACEOF
  63763. -fi
  63764. +# If no C compiler was specified, use CC.
  63765. +LTCC=${LTCC-"$CC"}
  63766. -{ $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
  63767. -$as_echo_n "checking for uint8_t... " >&6; }
  63768. -if test "${ac_cv_type_uint8_t+set}" = set; then
  63769. - $as_echo_n "(cached) " >&6
  63770. -else
  63771. - ac_cv_type_uint8_t=no
  63772. -cat >conftest.$ac_ext <<_ACEOF
  63773. -/* confdefs.h. */
  63774. -_ACEOF
  63775. -cat confdefs.h >>conftest.$ac_ext
  63776. -cat >>conftest.$ac_ext <<_ACEOF
  63777. -/* end confdefs.h. */
  63778. +# If no C compiler flags were specified, use CFLAGS.
  63779. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  63780. -/* What a mess.. many systems have added the (now standard) bit types
  63781. - * in their own ways, so we need to scan a wide variety of headers to
  63782. - * find them..
  63783. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  63784. - */
  63785. -#if HAVE_SYS_TYPES_H
  63786. -#include <sys/types.h>
  63787. -#endif
  63788. -#if STDC_HEADERS
  63789. -#include <stdlib.h>
  63790. -#include <stddef.h>
  63791. -#endif
  63792. -#if HAVE_INTTYPES_H
  63793. -#include <inttypes.h>
  63794. -#endif
  63795. -#if HAVE_SYS_BITYPES_H
  63796. -#include <sys/bitypes.h>
  63797. -#endif
  63798. -#if HAVE_SYS_SELECT_H
  63799. -#include <sys/select.h>
  63800. -#endif
  63801. -#if HAVE_NETINET_IN_SYSTM_H
  63802. -#include <netinet/in_systm.h>
  63803. -#endif
  63804. +# Allow CC to be a program name with arguments.
  63805. +compiler=$CC
  63806. -int
  63807. -main ()
  63808. -{
  63809. -if (sizeof (uint8_t))
  63810. - return 0;
  63811. - ;
  63812. - return 0;
  63813. -}
  63814. -_ACEOF
  63815. -rm -f conftest.$ac_objext
  63816. -if { (ac_try="$ac_compile"
  63817. -case "(($ac_try" in
  63818. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  63819. - *) ac_try_echo=$ac_try;;
  63820. -esac
  63821. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  63822. -$as_echo "$ac_try_echo") >&5
  63823. - (eval "$ac_compile") 2>conftest.er1
  63824. - ac_status=$?
  63825. - grep -v '^ *+' conftest.er1 >conftest.err
  63826. - rm -f conftest.er1
  63827. - cat conftest.err >&5
  63828. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  63829. - (exit $ac_status); } && {
  63830. - test -z "$ac_c_werror_flag" ||
  63831. - test ! -s conftest.err
  63832. - } && test -s conftest.$ac_objext; then
  63833. - cat >conftest.$ac_ext <<_ACEOF
  63834. -/* confdefs.h. */
  63835. -_ACEOF
  63836. -cat confdefs.h >>conftest.$ac_ext
  63837. -cat >>conftest.$ac_ext <<_ACEOF
  63838. -/* end confdefs.h. */
  63839. + # save warnings/boilerplate of simple test code
  63840. + ac_outfile=conftest.$ac_objext
  63841. +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  63842. +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  63843. +_lt_compiler_boilerplate=`cat conftest.err`
  63844. +$RM conftest*
  63845. -/* What a mess.. many systems have added the (now standard) bit types
  63846. - * in their own ways, so we need to scan a wide variety of headers to
  63847. - * find them..
  63848. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  63849. - */
  63850. -#if HAVE_SYS_TYPES_H
  63851. -#include <sys/types.h>
  63852. -#endif
  63853. -#if STDC_HEADERS
  63854. -#include <stdlib.h>
  63855. -#include <stddef.h>
  63856. -#endif
  63857. -#if HAVE_INTTYPES_H
  63858. -#include <inttypes.h>
  63859. -#endif
  63860. -#if HAVE_SYS_BITYPES_H
  63861. -#include <sys/bitypes.h>
  63862. -#endif
  63863. -#if HAVE_SYS_SELECT_H
  63864. -#include <sys/select.h>
  63865. -#endif
  63866. -#if HAVE_NETINET_IN_SYSTM_H
  63867. -#include <netinet/in_systm.h>
  63868. -#endif
  63869. + ac_outfile=conftest.$ac_objext
  63870. +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  63871. +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  63872. +_lt_linker_boilerplate=`cat conftest.err`
  63873. +$RM -r conftest*
  63874. -int
  63875. -main ()
  63876. -{
  63877. -if (sizeof ((uint8_t)))
  63878. - return 0;
  63879. - ;
  63880. - return 0;
  63881. -}
  63882. -_ACEOF
  63883. -rm -f conftest.$ac_objext
  63884. -if { (ac_try="$ac_compile"
  63885. -case "(($ac_try" in
  63886. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  63887. - *) ac_try_echo=$ac_try;;
  63888. -esac
  63889. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  63890. -$as_echo "$ac_try_echo") >&5
  63891. - (eval "$ac_compile") 2>conftest.er1
  63892. - ac_status=$?
  63893. - grep -v '^ *+' conftest.er1 >conftest.err
  63894. - rm -f conftest.er1
  63895. - cat conftest.err >&5
  63896. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  63897. - (exit $ac_status); } && {
  63898. - test -z "$ac_c_werror_flag" ||
  63899. - test ! -s conftest.err
  63900. - } && test -s conftest.$ac_objext; then
  63901. - :
  63902. -else
  63903. - $as_echo "$as_me: failed program was:" >&5
  63904. -sed 's/^/| /' conftest.$ac_ext >&5
  63905. + # Allow CC to be a program name with arguments.
  63906. + lt_save_CC=$CC
  63907. + lt_save_LD=$LD
  63908. + lt_save_GCC=$GCC
  63909. + GCC=$GXX
  63910. + lt_save_with_gnu_ld=$with_gnu_ld
  63911. + lt_save_path_LD=$lt_cv_path_LD
  63912. + if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  63913. + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  63914. + else
  63915. + $as_unset lt_cv_prog_gnu_ld
  63916. + fi
  63917. + if test -n "${lt_cv_path_LDCXX+set}"; then
  63918. + lt_cv_path_LD=$lt_cv_path_LDCXX
  63919. + else
  63920. + $as_unset lt_cv_path_LD
  63921. + fi
  63922. + test -z "${LDCXX+set}" || LD=$LDCXX
  63923. + CC=${CXX-"c++"}
  63924. + compiler=$CC
  63925. + compiler_CXX=$CC
  63926. + for cc_temp in $compiler""; do
  63927. + case $cc_temp in
  63928. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  63929. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  63930. + \-*) ;;
  63931. + *) break;;
  63932. + esac
  63933. +done
  63934. +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  63935. - ac_cv_type_uint8_t=yes
  63936. -fi
  63937. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  63938. -else
  63939. - $as_echo "$as_me: failed program was:" >&5
  63940. -sed 's/^/| /' conftest.$ac_ext >&5
  63941. + if test -n "$compiler"; then
  63942. + # We don't want -fno-exception when compiling C++ code, so set the
  63943. + # no_builtin_flag separately
  63944. + if test "$GXX" = yes; then
  63945. + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
  63946. + else
  63947. + lt_prog_compiler_no_builtin_flag_CXX=
  63948. + fi
  63949. +
  63950. + if test "$GXX" = yes; then
  63951. + # Set up default GNU C++ configuration
  63952. +
  63953. +# Check whether --with-gnu-ld was given.
  63954. +if test "${with_gnu_ld+set}" = set; then :
  63955. + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  63956. +else
  63957. + with_gnu_ld=no
  63958. fi
  63959. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  63960. +ac_prog=ld
  63961. +if test "$GCC" = yes; then
  63962. + # Check if gcc -print-prog-name=ld gives a path.
  63963. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  63964. +$as_echo_n "checking for ld used by $CC... " >&6; }
  63965. + case $host in
  63966. + *-*-mingw*)
  63967. + # gcc leaves a trailing carriage return which upsets mingw
  63968. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  63969. + *)
  63970. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  63971. + esac
  63972. + case $ac_prog in
  63973. + # Accept absolute paths.
  63974. + [\\/]* | ?:[\\/]*)
  63975. + re_direlt='/[^/][^/]*/\.\./'
  63976. + # Canonicalize the pathname of ld
  63977. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  63978. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  63979. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  63980. + done
  63981. + test -z "$LD" && LD="$ac_prog"
  63982. + ;;
  63983. + "")
  63984. + # If it fails, then pretend we aren't using GCC.
  63985. + ac_prog=ld
  63986. + ;;
  63987. + *)
  63988. + # If it is relative, then search for the first ld in PATH.
  63989. + with_gnu_ld=unknown
  63990. + ;;
  63991. + esac
  63992. +elif test "$with_gnu_ld" = yes; then
  63993. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  63994. +$as_echo_n "checking for GNU ld... " >&6; }
  63995. +else
  63996. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  63997. +$as_echo_n "checking for non-GNU ld... " >&6; }
  63998. +fi
  63999. +if test "${lt_cv_path_LD+set}" = set; then :
  64000. + $as_echo_n "(cached) " >&6
  64001. +else
  64002. + if test -z "$LD"; then
  64003. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  64004. + for ac_dir in $PATH; do
  64005. + IFS="$lt_save_ifs"
  64006. + test -z "$ac_dir" && ac_dir=.
  64007. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  64008. + lt_cv_path_LD="$ac_dir/$ac_prog"
  64009. + # Check to see if the program is GNU ld. I'd rather use --version,
  64010. + # but apparently some variants of GNU ld only accept -v.
  64011. + # Break only if it was the GNU/non-GNU ld that we prefer.
  64012. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  64013. + *GNU* | *'with BFD'*)
  64014. + test "$with_gnu_ld" != no && break
  64015. + ;;
  64016. + *)
  64017. + test "$with_gnu_ld" != yes && break
  64018. + ;;
  64019. + esac
  64020. + fi
  64021. + done
  64022. + IFS="$lt_save_ifs"
  64023. +else
  64024. + lt_cv_path_LD="$LD" # Let the user override the test with a path.
  64025. +fi
  64026. fi
  64027. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
  64028. -$as_echo "$ac_cv_type_uint8_t" >&6; }
  64029. -if test $ac_cv_type_uint8_t = yes; then
  64030. - # The cast to long int works around a bug in the HP C Compiler
  64031. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  64032. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  64033. -# This bug is HP SR number 8606223364.
  64034. -{ $as_echo "$as_me:$LINENO: checking size of uint8_t" >&5
  64035. -$as_echo_n "checking size of uint8_t... " >&6; }
  64036. -if test "${ac_cv_sizeof_uint8_t+set}" = set; then
  64037. +LD="$lt_cv_path_LD"
  64038. +if test -n "$LD"; then
  64039. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  64040. +$as_echo "$LD" >&6; }
  64041. +else
  64042. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  64043. +$as_echo "no" >&6; }
  64044. +fi
  64045. +test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
  64046. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  64047. +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  64048. +if test "${lt_cv_prog_gnu_ld+set}" = set; then :
  64049. $as_echo_n "(cached) " >&6
  64050. else
  64051. - if test "$cross_compiling" = yes; then
  64052. - # Depending upon the size, compute the lo and hi bounds.
  64053. -cat >conftest.$ac_ext <<_ACEOF
  64054. -/* confdefs.h. */
  64055. -_ACEOF
  64056. -cat confdefs.h >>conftest.$ac_ext
  64057. -cat >>conftest.$ac_ext <<_ACEOF
  64058. -/* end confdefs.h. */
  64059. + # I'd rather use --version here, but apparently some GNU lds only accept -v.
  64060. +case `$LD -v 2>&1 </dev/null` in
  64061. +*GNU* | *'with BFD'*)
  64062. + lt_cv_prog_gnu_ld=yes
  64063. + ;;
  64064. +*)
  64065. + lt_cv_prog_gnu_ld=no
  64066. + ;;
  64067. +esac
  64068. +fi
  64069. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  64070. +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
  64071. +with_gnu_ld=$lt_cv_prog_gnu_ld
  64072. +
  64073. +
  64074. -#include <stdio.h>
  64075. -/* What a mess.. many systems have added the (now standard) bit types
  64076. - * in their own ways, so we need to scan a wide variety of headers to
  64077. - * find them..
  64078. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  64079. - */
  64080. -#if HAVE_SYS_TYPES_H
  64081. -#include <sys/types.h>
  64082. -#endif
  64083. -#if STDC_HEADERS
  64084. -#include <stdlib.h>
  64085. -#include <stddef.h>
  64086. -#endif
  64087. -#if HAVE_INTTYPES_H
  64088. -#include <inttypes.h>
  64089. -#endif
  64090. -#if HAVE_SYS_BITYPES_H
  64091. -#include <sys/bitypes.h>
  64092. -#endif
  64093. -#if HAVE_SYS_SELECT_H
  64094. -#include <sys/select.h>
  64095. -#endif
  64096. -#if HAVE_NETINET_IN_SYSTM_H
  64097. -#include <netinet/in_systm.h>
  64098. -#endif
  64099. -int
  64100. -main ()
  64101. -{
  64102. -static int test_array [1 - 2 * !(((long int) (sizeof (uint8_t))) >= 0)];
  64103. -test_array [0] = 0
  64104. + # Check if GNU C++ uses GNU ld as the underlying linker, since the
  64105. + # archiving commands below assume that GNU ld is being used.
  64106. + if test "$with_gnu_ld" = yes; then
  64107. + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  64108. + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  64109. +
  64110. + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  64111. + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  64112. +
  64113. + # If archive_cmds runs LD, not CC, wlarc should be empty
  64114. + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  64115. + # investigate it a little bit more. (MM)
  64116. + wlarc='${wl}'
  64117. +
  64118. + # ancient GNU ld didn't support --whole-archive et. al.
  64119. + if eval "`$CC -print-prog-name=ld` --help 2>&1" |
  64120. + $GREP 'no-whole-archive' > /dev/null; then
  64121. + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  64122. + else
  64123. + whole_archive_flag_spec_CXX=
  64124. + fi
  64125. + else
  64126. + with_gnu_ld=no
  64127. + wlarc=
  64128. - ;
  64129. - return 0;
  64130. -}
  64131. -_ACEOF
  64132. -rm -f conftest.$ac_objext
  64133. -if { (ac_try="$ac_compile"
  64134. -case "(($ac_try" in
  64135. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  64136. - *) ac_try_echo=$ac_try;;
  64137. -esac
  64138. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  64139. -$as_echo "$ac_try_echo") >&5
  64140. - (eval "$ac_compile") 2>conftest.er1
  64141. - ac_status=$?
  64142. - grep -v '^ *+' conftest.er1 >conftest.err
  64143. - rm -f conftest.er1
  64144. - cat conftest.err >&5
  64145. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  64146. - (exit $ac_status); } && {
  64147. - test -z "$ac_c_werror_flag" ||
  64148. - test ! -s conftest.err
  64149. - } && test -s conftest.$ac_objext; then
  64150. - ac_lo=0 ac_mid=0
  64151. - while :; do
  64152. - cat >conftest.$ac_ext <<_ACEOF
  64153. -/* confdefs.h. */
  64154. -_ACEOF
  64155. -cat confdefs.h >>conftest.$ac_ext
  64156. -cat >>conftest.$ac_ext <<_ACEOF
  64157. -/* end confdefs.h. */
  64158. + # A generic and very simple default shared library creation
  64159. + # command for GNU C++ for the case where it uses the native
  64160. + # linker, instead of GNU ld. If possible, this setting should
  64161. + # overridden to take advantage of the native linker features on
  64162. + # the platform it is being used on.
  64163. + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  64164. + fi
  64165. -#include <stdio.h>
  64166. + # Commands to make compiler produce verbose output that lists
  64167. + # what "hidden" libraries, object files and flags are used when
  64168. + # linking a shared library.
  64169. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  64170. -/* What a mess.. many systems have added the (now standard) bit types
  64171. - * in their own ways, so we need to scan a wide variety of headers to
  64172. - * find them..
  64173. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  64174. - */
  64175. -#if HAVE_SYS_TYPES_H
  64176. -#include <sys/types.h>
  64177. -#endif
  64178. -#if STDC_HEADERS
  64179. -#include <stdlib.h>
  64180. -#include <stddef.h>
  64181. -#endif
  64182. -#if HAVE_INTTYPES_H
  64183. -#include <inttypes.h>
  64184. -#endif
  64185. -#if HAVE_SYS_BITYPES_H
  64186. -#include <sys/bitypes.h>
  64187. -#endif
  64188. -#if HAVE_SYS_SELECT_H
  64189. -#include <sys/select.h>
  64190. -#endif
  64191. -#if HAVE_NETINET_IN_SYSTM_H
  64192. -#include <netinet/in_systm.h>
  64193. -#endif
  64194. + else
  64195. + GXX=no
  64196. + with_gnu_ld=no
  64197. + wlarc=
  64198. + fi
  64199. +
  64200. + # PORTME: fill in a description of your system's C++ link characteristics
  64201. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  64202. +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  64203. + ld_shlibs_CXX=yes
  64204. + case $host_os in
  64205. + aix3*)
  64206. + # FIXME: insert proper C++ library support
  64207. + ld_shlibs_CXX=no
  64208. + ;;
  64209. + aix[4-9]*)
  64210. + if test "$host_cpu" = ia64; then
  64211. + # On IA64, the linker does run time linking by default, so we don't
  64212. + # have to do anything special.
  64213. + aix_use_runtimelinking=no
  64214. + exp_sym_flag='-Bexport'
  64215. + no_entry_flag=""
  64216. + else
  64217. + aix_use_runtimelinking=no
  64218. +
  64219. + # Test if we are trying to use run time linking or normal
  64220. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  64221. + # need to do runtime linking.
  64222. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  64223. + for ld_flag in $LDFLAGS; do
  64224. + case $ld_flag in
  64225. + *-brtl*)
  64226. + aix_use_runtimelinking=yes
  64227. + break
  64228. + ;;
  64229. + esac
  64230. + done
  64231. + ;;
  64232. + esac
  64233. + exp_sym_flag='-bexport'
  64234. + no_entry_flag='-bnoentry'
  64235. + fi
  64236. +
  64237. + # When large executables or shared objects are built, AIX ld can
  64238. + # have problems creating the table of contents. If linking a library
  64239. + # or program results in "error TOC overflow" add -mminimal-toc to
  64240. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  64241. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  64242. +
  64243. + archive_cmds_CXX=''
  64244. + hardcode_direct_CXX=yes
  64245. + hardcode_direct_absolute_CXX=yes
  64246. + hardcode_libdir_separator_CXX=':'
  64247. + link_all_deplibs_CXX=yes
  64248. + file_list_spec_CXX='${wl}-f,'
  64249. +
  64250. + if test "$GXX" = yes; then
  64251. + case $host_os in aix4.[012]|aix4.[012].*)
  64252. + # We only want to do this on AIX 4.2 and lower, the check
  64253. + # below for broken collect2 doesn't work under 4.3+
  64254. + collect2name=`${CC} -print-prog-name=collect2`
  64255. + if test -f "$collect2name" &&
  64256. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  64257. + then
  64258. + # We have reworked collect2
  64259. + :
  64260. + else
  64261. + # We have old collect2
  64262. + hardcode_direct_CXX=unsupported
  64263. + # It fails to find uninstalled libraries when the uninstalled
  64264. + # path is not listed in the libpath. Setting hardcode_minus_L
  64265. + # to unsupported forces relinking
  64266. + hardcode_minus_L_CXX=yes
  64267. + hardcode_libdir_flag_spec_CXX='-L$libdir'
  64268. + hardcode_libdir_separator_CXX=
  64269. + fi
  64270. + esac
  64271. + shared_flag='-shared'
  64272. + if test "$aix_use_runtimelinking" = yes; then
  64273. + shared_flag="$shared_flag "'${wl}-G'
  64274. + fi
  64275. + else
  64276. + # not using gcc
  64277. + if test "$host_cpu" = ia64; then
  64278. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  64279. + # chokes on -Wl,-G. The following line is correct:
  64280. + shared_flag='-G'
  64281. + else
  64282. + if test "$aix_use_runtimelinking" = yes; then
  64283. + shared_flag='${wl}-G'
  64284. + else
  64285. + shared_flag='${wl}-bM:SRE'
  64286. + fi
  64287. + fi
  64288. + fi
  64289. + export_dynamic_flag_spec_CXX='${wl}-bexpall'
  64290. + # It seems that -bexpall does not export symbols beginning with
  64291. + # underscore (_), so it is better to generate a list of symbols to
  64292. + # export.
  64293. + always_export_symbols_CXX=yes
  64294. + if test "$aix_use_runtimelinking" = yes; then
  64295. + # Warning - without using the other runtime loading flags (-brtl),
  64296. + # -berok will link without error, but may produce a broken library.
  64297. + allow_undefined_flag_CXX='-berok'
  64298. + # Determine the default libpath from the value encoded in an empty
  64299. + # executable.
  64300. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  64301. +/* end confdefs.h. */
  64302. int
  64303. main ()
  64304. {
  64305. -static int test_array [1 - 2 * !(((long int) (sizeof (uint8_t))) <= $ac_mid)];
  64306. -test_array [0] = 0
  64307. ;
  64308. return 0;
  64309. }
  64310. _ACEOF
  64311. -rm -f conftest.$ac_objext
  64312. -if { (ac_try="$ac_compile"
  64313. -case "(($ac_try" in
  64314. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  64315. - *) ac_try_echo=$ac_try;;
  64316. -esac
  64317. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  64318. -$as_echo "$ac_try_echo") >&5
  64319. - (eval "$ac_compile") 2>conftest.er1
  64320. - ac_status=$?
  64321. - grep -v '^ *+' conftest.er1 >conftest.err
  64322. - rm -f conftest.er1
  64323. - cat conftest.err >&5
  64324. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  64325. - (exit $ac_status); } && {
  64326. - test -z "$ac_c_werror_flag" ||
  64327. - test ! -s conftest.err
  64328. - } && test -s conftest.$ac_objext; then
  64329. - ac_hi=$ac_mid; break
  64330. -else
  64331. - $as_echo "$as_me: failed program was:" >&5
  64332. -sed 's/^/| /' conftest.$ac_ext >&5
  64333. +if ac_fn_cxx_try_link "$LINENO"; then :
  64334. - ac_lo=`expr $ac_mid + 1`
  64335. - if test $ac_lo -le $ac_mid; then
  64336. - ac_lo= ac_hi=
  64337. - break
  64338. - fi
  64339. - ac_mid=`expr 2 '*' $ac_mid + 1`
  64340. +lt_aix_libpath_sed='
  64341. + /Import File Strings/,/^$/ {
  64342. + /^0/ {
  64343. + s/^0 *\(.*\)$/\1/
  64344. + p
  64345. + }
  64346. + }'
  64347. +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  64348. +# Check for a 64-bit object if we didn't find anything.
  64349. +if test -z "$aix_libpath"; then
  64350. + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  64351. fi
  64352. +fi
  64353. +rm -f core conftest.err conftest.$ac_objext \
  64354. + conftest$ac_exeext conftest.$ac_ext
  64355. +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  64356. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  64357. - done
  64358. -else
  64359. - $as_echo "$as_me: failed program was:" >&5
  64360. -sed 's/^/| /' conftest.$ac_ext >&5
  64361. + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  64362. - cat >conftest.$ac_ext <<_ACEOF
  64363. -/* confdefs.h. */
  64364. -_ACEOF
  64365. -cat confdefs.h >>conftest.$ac_ext
  64366. -cat >>conftest.$ac_ext <<_ACEOF
  64367. + archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  64368. + else
  64369. + if test "$host_cpu" = ia64; then
  64370. + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
  64371. + allow_undefined_flag_CXX="-z nodefs"
  64372. + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  64373. + else
  64374. + # Determine the default libpath from the value encoded in an
  64375. + # empty executable.
  64376. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  64377. /* end confdefs.h. */
  64378. -#include <stdio.h>
  64379. -
  64380. -/* What a mess.. many systems have added the (now standard) bit types
  64381. - * in their own ways, so we need to scan a wide variety of headers to
  64382. - * find them..
  64383. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  64384. - */
  64385. -#if HAVE_SYS_TYPES_H
  64386. -#include <sys/types.h>
  64387. -#endif
  64388. -#if STDC_HEADERS
  64389. -#include <stdlib.h>
  64390. -#include <stddef.h>
  64391. -#endif
  64392. -#if HAVE_INTTYPES_H
  64393. -#include <inttypes.h>
  64394. -#endif
  64395. -#if HAVE_SYS_BITYPES_H
  64396. -#include <sys/bitypes.h>
  64397. -#endif
  64398. -#if HAVE_SYS_SELECT_H
  64399. -#include <sys/select.h>
  64400. -#endif
  64401. -#if HAVE_NETINET_IN_SYSTM_H
  64402. -#include <netinet/in_systm.h>
  64403. -#endif
  64404. -
  64405. -
  64406. -
  64407. int
  64408. main ()
  64409. {
  64410. -static int test_array [1 - 2 * !(((long int) (sizeof (uint8_t))) < 0)];
  64411. -test_array [0] = 0
  64412. ;
  64413. return 0;
  64414. }
  64415. _ACEOF
  64416. -rm -f conftest.$ac_objext
  64417. -if { (ac_try="$ac_compile"
  64418. -case "(($ac_try" in
  64419. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  64420. - *) ac_try_echo=$ac_try;;
  64421. -esac
  64422. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  64423. -$as_echo "$ac_try_echo") >&5
  64424. - (eval "$ac_compile") 2>conftest.er1
  64425. - ac_status=$?
  64426. - grep -v '^ *+' conftest.er1 >conftest.err
  64427. - rm -f conftest.er1
  64428. - cat conftest.err >&5
  64429. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  64430. - (exit $ac_status); } && {
  64431. - test -z "$ac_c_werror_flag" ||
  64432. - test ! -s conftest.err
  64433. - } && test -s conftest.$ac_objext; then
  64434. - ac_hi=-1 ac_mid=-1
  64435. - while :; do
  64436. - cat >conftest.$ac_ext <<_ACEOF
  64437. -/* confdefs.h. */
  64438. -_ACEOF
  64439. -cat confdefs.h >>conftest.$ac_ext
  64440. -cat >>conftest.$ac_ext <<_ACEOF
  64441. -/* end confdefs.h. */
  64442. +if ac_fn_cxx_try_link "$LINENO"; then :
  64443. -#include <stdio.h>
  64444. +lt_aix_libpath_sed='
  64445. + /Import File Strings/,/^$/ {
  64446. + /^0/ {
  64447. + s/^0 *\(.*\)$/\1/
  64448. + p
  64449. + }
  64450. + }'
  64451. +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  64452. +# Check for a 64-bit object if we didn't find anything.
  64453. +if test -z "$aix_libpath"; then
  64454. + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  64455. +fi
  64456. +fi
  64457. +rm -f core conftest.err conftest.$ac_objext \
  64458. + conftest$ac_exeext conftest.$ac_ext
  64459. +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  64460. -/* What a mess.. many systems have added the (now standard) bit types
  64461. - * in their own ways, so we need to scan a wide variety of headers to
  64462. - * find them..
  64463. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  64464. - */
  64465. -#if HAVE_SYS_TYPES_H
  64466. -#include <sys/types.h>
  64467. -#endif
  64468. -#if STDC_HEADERS
  64469. -#include <stdlib.h>
  64470. -#include <stddef.h>
  64471. -#endif
  64472. -#if HAVE_INTTYPES_H
  64473. -#include <inttypes.h>
  64474. -#endif
  64475. -#if HAVE_SYS_BITYPES_H
  64476. -#include <sys/bitypes.h>
  64477. -#endif
  64478. -#if HAVE_SYS_SELECT_H
  64479. -#include <sys/select.h>
  64480. -#endif
  64481. -#if HAVE_NETINET_IN_SYSTM_H
  64482. -#include <netinet/in_systm.h>
  64483. -#endif
  64484. + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  64485. + # Warning - without using the other run time loading flags,
  64486. + # -berok will link without error, but may produce a broken library.
  64487. + no_undefined_flag_CXX=' ${wl}-bernotok'
  64488. + allow_undefined_flag_CXX=' ${wl}-berok'
  64489. + # Exported symbols can be pulled into shared objects from archives
  64490. + whole_archive_flag_spec_CXX='$convenience'
  64491. + archive_cmds_need_lc_CXX=yes
  64492. + # This is similar to how AIX traditionally builds its shared
  64493. + # libraries.
  64494. + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  64495. + fi
  64496. + fi
  64497. + ;;
  64498. + beos*)
  64499. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  64500. + allow_undefined_flag_CXX=unsupported
  64501. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  64502. + # support --undefined. This deserves some investigation. FIXME
  64503. + archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  64504. + else
  64505. + ld_shlibs_CXX=no
  64506. + fi
  64507. + ;;
  64508. + chorus*)
  64509. + case $cc_basename in
  64510. + *)
  64511. + # FIXME: insert proper C++ library support
  64512. + ld_shlibs_CXX=no
  64513. + ;;
  64514. + esac
  64515. + ;;
  64516. -int
  64517. -main ()
  64518. -{
  64519. -static int test_array [1 - 2 * !(((long int) (sizeof (uint8_t))) >= $ac_mid)];
  64520. -test_array [0] = 0
  64521. + cygwin* | mingw* | pw32* | cegcc*)
  64522. + # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
  64523. + # as there is no search path for DLLs.
  64524. + hardcode_libdir_flag_spec_CXX='-L$libdir'
  64525. + allow_undefined_flag_CXX=unsupported
  64526. + always_export_symbols_CXX=no
  64527. + enable_shared_with_static_runtimes_CXX=yes
  64528. +
  64529. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  64530. + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  64531. + # If the export-symbols file already is a .def file (1st line
  64532. + # is EXPORTS), use it as is; otherwise, prepend...
  64533. + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  64534. + cp $export_symbols $output_objdir/$soname.def;
  64535. + else
  64536. + echo EXPORTS > $output_objdir/$soname.def;
  64537. + cat $export_symbols >> $output_objdir/$soname.def;
  64538. + fi~
  64539. + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  64540. + else
  64541. + ld_shlibs_CXX=no
  64542. + fi
  64543. + ;;
  64544. + darwin* | rhapsody*)
  64545. - ;
  64546. - return 0;
  64547. -}
  64548. -_ACEOF
  64549. -rm -f conftest.$ac_objext
  64550. -if { (ac_try="$ac_compile"
  64551. -case "(($ac_try" in
  64552. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  64553. - *) ac_try_echo=$ac_try;;
  64554. -esac
  64555. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  64556. -$as_echo "$ac_try_echo") >&5
  64557. - (eval "$ac_compile") 2>conftest.er1
  64558. - ac_status=$?
  64559. - grep -v '^ *+' conftest.er1 >conftest.err
  64560. - rm -f conftest.er1
  64561. - cat conftest.err >&5
  64562. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  64563. - (exit $ac_status); } && {
  64564. - test -z "$ac_c_werror_flag" ||
  64565. - test ! -s conftest.err
  64566. - } && test -s conftest.$ac_objext; then
  64567. - ac_lo=$ac_mid; break
  64568. -else
  64569. - $as_echo "$as_me: failed program was:" >&5
  64570. -sed 's/^/| /' conftest.$ac_ext >&5
  64571. - ac_hi=`expr '(' $ac_mid ')' - 1`
  64572. - if test $ac_mid -le $ac_hi; then
  64573. - ac_lo= ac_hi=
  64574. - break
  64575. - fi
  64576. - ac_mid=`expr 2 '*' $ac_mid`
  64577. -fi
  64578. + archive_cmds_need_lc_CXX=no
  64579. + hardcode_direct_CXX=no
  64580. + hardcode_automatic_CXX=yes
  64581. + hardcode_shlibpath_var_CXX=unsupported
  64582. + whole_archive_flag_spec_CXX=''
  64583. + link_all_deplibs_CXX=yes
  64584. + allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
  64585. + case $cc_basename in
  64586. + ifort*) _lt_dar_can_shared=yes ;;
  64587. + *) _lt_dar_can_shared=$GCC ;;
  64588. + esac
  64589. + if test "$_lt_dar_can_shared" = "yes"; then
  64590. + output_verbose_link_cmd=echo
  64591. + archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  64592. + module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  64593. + archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  64594. + module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  64595. + if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  64596. + archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
  64597. + archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
  64598. + fi
  64599. +
  64600. + else
  64601. + ld_shlibs_CXX=no
  64602. + fi
  64603. +
  64604. + ;;
  64605. +
  64606. + dgux*)
  64607. + case $cc_basename in
  64608. + ec++*)
  64609. + # FIXME: insert proper C++ library support
  64610. + ld_shlibs_CXX=no
  64611. + ;;
  64612. + ghcx*)
  64613. + # Green Hills C++ Compiler
  64614. + # FIXME: insert proper C++ library support
  64615. + ld_shlibs_CXX=no
  64616. + ;;
  64617. + *)
  64618. + # FIXME: insert proper C++ library support
  64619. + ld_shlibs_CXX=no
  64620. + ;;
  64621. + esac
  64622. + ;;
  64623. +
  64624. + freebsd[12]*)
  64625. + # C++ shared libraries reported to be fairly broken before
  64626. + # switch to ELF
  64627. + ld_shlibs_CXX=no
  64628. + ;;
  64629. +
  64630. + freebsd-elf*)
  64631. + archive_cmds_need_lc_CXX=no
  64632. + ;;
  64633. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  64634. - done
  64635. -else
  64636. - $as_echo "$as_me: failed program was:" >&5
  64637. -sed 's/^/| /' conftest.$ac_ext >&5
  64638. + freebsd* | dragonfly*)
  64639. + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  64640. + # conventions
  64641. + ld_shlibs_CXX=yes
  64642. + ;;
  64643. - ac_lo= ac_hi=
  64644. -fi
  64645. + gnu*)
  64646. + ;;
  64647. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  64648. -fi
  64649. + hpux9*)
  64650. + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  64651. + hardcode_libdir_separator_CXX=:
  64652. + export_dynamic_flag_spec_CXX='${wl}-E'
  64653. + hardcode_direct_CXX=yes
  64654. + hardcode_minus_L_CXX=yes # Not in the search PATH,
  64655. + # but as the default
  64656. + # location of the library.
  64657. +
  64658. + case $cc_basename in
  64659. + CC*)
  64660. + # FIXME: insert proper C++ library support
  64661. + ld_shlibs_CXX=no
  64662. + ;;
  64663. + aCC*)
  64664. + archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  64665. + # Commands to make compiler produce verbose output that lists
  64666. + # what "hidden" libraries, object files and flags are used when
  64667. + # linking a shared library.
  64668. + #
  64669. + # There doesn't appear to be a way to prevent this compiler from
  64670. + # explicitly linking system object files so we need to strip them
  64671. + # from the output so that they don't get included in the library
  64672. + # dependencies.
  64673. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  64674. + ;;
  64675. + *)
  64676. + if test "$GXX" = yes; then
  64677. + archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  64678. + else
  64679. + # FIXME: insert proper C++ library support
  64680. + ld_shlibs_CXX=no
  64681. + fi
  64682. + ;;
  64683. + esac
  64684. + ;;
  64685. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  64686. -# Binary search between lo and hi bounds.
  64687. -while test "x$ac_lo" != "x$ac_hi"; do
  64688. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  64689. - cat >conftest.$ac_ext <<_ACEOF
  64690. -/* confdefs.h. */
  64691. -_ACEOF
  64692. -cat confdefs.h >>conftest.$ac_ext
  64693. -cat >>conftest.$ac_ext <<_ACEOF
  64694. -/* end confdefs.h. */
  64695. + hpux10*|hpux11*)
  64696. + if test $with_gnu_ld = no; then
  64697. + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  64698. + hardcode_libdir_separator_CXX=:
  64699. -#include <stdio.h>
  64700. + case $host_cpu in
  64701. + hppa*64*|ia64*)
  64702. + ;;
  64703. + *)
  64704. + export_dynamic_flag_spec_CXX='${wl}-E'
  64705. + ;;
  64706. + esac
  64707. + fi
  64708. + case $host_cpu in
  64709. + hppa*64*|ia64*)
  64710. + hardcode_direct_CXX=no
  64711. + hardcode_shlibpath_var_CXX=no
  64712. + ;;
  64713. + *)
  64714. + hardcode_direct_CXX=yes
  64715. + hardcode_direct_absolute_CXX=yes
  64716. + hardcode_minus_L_CXX=yes # Not in the search PATH,
  64717. + # but as the default
  64718. + # location of the library.
  64719. + ;;
  64720. + esac
  64721. -/* What a mess.. many systems have added the (now standard) bit types
  64722. - * in their own ways, so we need to scan a wide variety of headers to
  64723. - * find them..
  64724. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  64725. - */
  64726. -#if HAVE_SYS_TYPES_H
  64727. -#include <sys/types.h>
  64728. -#endif
  64729. -#if STDC_HEADERS
  64730. -#include <stdlib.h>
  64731. -#include <stddef.h>
  64732. -#endif
  64733. -#if HAVE_INTTYPES_H
  64734. -#include <inttypes.h>
  64735. -#endif
  64736. -#if HAVE_SYS_BITYPES_H
  64737. -#include <sys/bitypes.h>
  64738. -#endif
  64739. -#if HAVE_SYS_SELECT_H
  64740. -#include <sys/select.h>
  64741. -#endif
  64742. -#if HAVE_NETINET_IN_SYSTM_H
  64743. -#include <netinet/in_systm.h>
  64744. -#endif
  64745. + case $cc_basename in
  64746. + CC*)
  64747. + # FIXME: insert proper C++ library support
  64748. + ld_shlibs_CXX=no
  64749. + ;;
  64750. + aCC*)
  64751. + case $host_cpu in
  64752. + hppa*64*)
  64753. + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  64754. + ;;
  64755. + ia64*)
  64756. + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  64757. + ;;
  64758. + *)
  64759. + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  64760. + ;;
  64761. + esac
  64762. + # Commands to make compiler produce verbose output that lists
  64763. + # what "hidden" libraries, object files and flags are used when
  64764. + # linking a shared library.
  64765. + #
  64766. + # There doesn't appear to be a way to prevent this compiler from
  64767. + # explicitly linking system object files so we need to strip them
  64768. + # from the output so that they don't get included in the library
  64769. + # dependencies.
  64770. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  64771. + ;;
  64772. + *)
  64773. + if test "$GXX" = yes; then
  64774. + if test $with_gnu_ld = no; then
  64775. + case $host_cpu in
  64776. + hppa*64*)
  64777. + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  64778. + ;;
  64779. + ia64*)
  64780. + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  64781. + ;;
  64782. + *)
  64783. + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  64784. + ;;
  64785. + esac
  64786. + fi
  64787. + else
  64788. + # FIXME: insert proper C++ library support
  64789. + ld_shlibs_CXX=no
  64790. + fi
  64791. + ;;
  64792. + esac
  64793. + ;;
  64794. + interix[3-9]*)
  64795. + hardcode_direct_CXX=no
  64796. + hardcode_shlibpath_var_CXX=no
  64797. + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  64798. + export_dynamic_flag_spec_CXX='${wl}-E'
  64799. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  64800. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  64801. + # default) and relocated if they conflict, which is a slow very memory
  64802. + # consuming and fragmenting process. To avoid this, we pick a random,
  64803. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  64804. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  64805. + archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  64806. + archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  64807. + ;;
  64808. + irix5* | irix6*)
  64809. + case $cc_basename in
  64810. + CC*)
  64811. + # SGI C++
  64812. + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  64813. +
  64814. + # Archives containing C++ object files must be created using
  64815. + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  64816. + # necessary to make sure instantiated templates are included
  64817. + # in the archive.
  64818. + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
  64819. + ;;
  64820. + *)
  64821. + if test "$GXX" = yes; then
  64822. + if test "$with_gnu_ld" = no; then
  64823. + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  64824. + else
  64825. + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
  64826. + fi
  64827. + fi
  64828. + link_all_deplibs_CXX=yes
  64829. + ;;
  64830. + esac
  64831. + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  64832. + hardcode_libdir_separator_CXX=:
  64833. + inherit_rpath_CXX=yes
  64834. + ;;
  64835. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  64836. + case $cc_basename in
  64837. + KCC*)
  64838. + # Kuck and Associates, Inc. (KAI) C++ Compiler
  64839. +
  64840. + # KCC will only create a shared library if the output file
  64841. + # ends with ".so" (or ".sl" for HP-UX), so rename the library
  64842. + # to its proper name (with version) after linking.
  64843. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  64844. + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
  64845. + # Commands to make compiler produce verbose output that lists
  64846. + # what "hidden" libraries, object files and flags are used when
  64847. + # linking a shared library.
  64848. + #
  64849. + # There doesn't appear to be a way to prevent this compiler from
  64850. + # explicitly linking system object files so we need to strip them
  64851. + # from the output so that they don't get included in the library
  64852. + # dependencies.
  64853. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  64854. +
  64855. + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  64856. + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  64857. +
  64858. + # Archives containing C++ object files must be created using
  64859. + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  64860. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
  64861. + ;;
  64862. + icpc* | ecpc* )
  64863. + # Intel C++
  64864. + with_gnu_ld=yes
  64865. + # version 8.0 and above of icpc choke on multiply defined symbols
  64866. + # if we add $predep_objects and $postdep_objects, however 7.1 and
  64867. + # earlier do not add the objects themselves.
  64868. + case `$CC -V 2>&1` in
  64869. + *"Version 7."*)
  64870. + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  64871. + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  64872. + ;;
  64873. + *) # Version 8.0 or newer
  64874. + tmp_idyn=
  64875. + case $host_cpu in
  64876. + ia64*) tmp_idyn=' -i_dynamic';;
  64877. + esac
  64878. + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  64879. + archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  64880. + ;;
  64881. + esac
  64882. + archive_cmds_need_lc_CXX=no
  64883. + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  64884. + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  64885. + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  64886. + ;;
  64887. + pgCC* | pgcpp*)
  64888. + # Portland Group C++ compiler
  64889. + case `$CC -V` in
  64890. + *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
  64891. + prelink_cmds_CXX='tpldir=Template.dir~
  64892. + rm -rf $tpldir~
  64893. + $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  64894. + compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
  64895. + old_archive_cmds_CXX='tpldir=Template.dir~
  64896. + rm -rf $tpldir~
  64897. + $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  64898. + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
  64899. + $RANLIB $oldlib'
  64900. + archive_cmds_CXX='tpldir=Template.dir~
  64901. + rm -rf $tpldir~
  64902. + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  64903. + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  64904. + archive_expsym_cmds_CXX='tpldir=Template.dir~
  64905. + rm -rf $tpldir~
  64906. + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  64907. + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  64908. + ;;
  64909. + *) # Version 6 will use weak symbols
  64910. + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  64911. + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  64912. + ;;
  64913. + esac
  64914. -int
  64915. -main ()
  64916. -{
  64917. -static int test_array [1 - 2 * !(((long int) (sizeof (uint8_t))) <= $ac_mid)];
  64918. -test_array [0] = 0
  64919. + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
  64920. + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  64921. + whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  64922. + ;;
  64923. + cxx*)
  64924. + # Compaq C++
  64925. + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  64926. + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
  64927. - ;
  64928. - return 0;
  64929. -}
  64930. -_ACEOF
  64931. -rm -f conftest.$ac_objext
  64932. -if { (ac_try="$ac_compile"
  64933. -case "(($ac_try" in
  64934. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  64935. - *) ac_try_echo=$ac_try;;
  64936. -esac
  64937. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  64938. -$as_echo "$ac_try_echo") >&5
  64939. - (eval "$ac_compile") 2>conftest.er1
  64940. - ac_status=$?
  64941. - grep -v '^ *+' conftest.er1 >conftest.err
  64942. - rm -f conftest.er1
  64943. - cat conftest.err >&5
  64944. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  64945. - (exit $ac_status); } && {
  64946. - test -z "$ac_c_werror_flag" ||
  64947. - test ! -s conftest.err
  64948. - } && test -s conftest.$ac_objext; then
  64949. - ac_hi=$ac_mid
  64950. -else
  64951. - $as_echo "$as_me: failed program was:" >&5
  64952. -sed 's/^/| /' conftest.$ac_ext >&5
  64953. + runpath_var=LD_RUN_PATH
  64954. + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
  64955. + hardcode_libdir_separator_CXX=:
  64956. - ac_lo=`expr '(' $ac_mid ')' + 1`
  64957. -fi
  64958. + # Commands to make compiler produce verbose output that lists
  64959. + # what "hidden" libraries, object files and flags are used when
  64960. + # linking a shared library.
  64961. + #
  64962. + # There doesn't appear to be a way to prevent this compiler from
  64963. + # explicitly linking system object files so we need to strip them
  64964. + # from the output so that they don't get included in the library
  64965. + # dependencies.
  64966. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  64967. + ;;
  64968. + xl*)
  64969. + # IBM XL 8.0 on PPC, with GNU ld
  64970. + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  64971. + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  64972. + archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  64973. + if test "x$supports_anon_versioning" = xyes; then
  64974. + archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
  64975. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  64976. + echo "local: *; };" >> $output_objdir/$libname.ver~
  64977. + $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  64978. + fi
  64979. + ;;
  64980. + *)
  64981. + case `$CC -V 2>&1 | sed 5q` in
  64982. + *Sun\ C*)
  64983. + # Sun C++ 5.9
  64984. + no_undefined_flag_CXX=' -zdefs'
  64985. + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  64986. + archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
  64987. + hardcode_libdir_flag_spec_CXX='-R$libdir'
  64988. + whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  64989. + compiler_needs_object_CXX=yes
  64990. +
  64991. + # Not sure whether something based on
  64992. + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  64993. + # would be better.
  64994. + output_verbose_link_cmd='echo'
  64995. +
  64996. + # Archives containing C++ object files must be created using
  64997. + # "CC -xar", where "CC" is the Sun C++ compiler. This is
  64998. + # necessary to make sure instantiated templates are included
  64999. + # in the archive.
  65000. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
  65001. + ;;
  65002. + esac
  65003. + ;;
  65004. + esac
  65005. + ;;
  65006. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  65007. -done
  65008. -case $ac_lo in
  65009. -?*) ac_cv_sizeof_uint8_t=$ac_lo;;
  65010. -'') if test "$ac_cv_type_uint8_t" = yes; then
  65011. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (uint8_t)
  65012. -See \`config.log' for more details." >&5
  65013. -$as_echo "$as_me: error: cannot compute sizeof (uint8_t)
  65014. -See \`config.log' for more details." >&2;}
  65015. - { (exit 77); exit 77; }; }
  65016. - else
  65017. - ac_cv_sizeof_uint8_t=0
  65018. - fi ;;
  65019. -esac
  65020. -else
  65021. - cat >conftest.$ac_ext <<_ACEOF
  65022. -/* confdefs.h. */
  65023. -_ACEOF
  65024. -cat confdefs.h >>conftest.$ac_ext
  65025. -cat >>conftest.$ac_ext <<_ACEOF
  65026. -/* end confdefs.h. */
  65027. + lynxos*)
  65028. + # FIXME: insert proper C++ library support
  65029. + ld_shlibs_CXX=no
  65030. + ;;
  65031. -#include <stdio.h>
  65032. + m88k*)
  65033. + # FIXME: insert proper C++ library support
  65034. + ld_shlibs_CXX=no
  65035. + ;;
  65036. -/* What a mess.. many systems have added the (now standard) bit types
  65037. - * in their own ways, so we need to scan a wide variety of headers to
  65038. - * find them..
  65039. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  65040. - */
  65041. -#if HAVE_SYS_TYPES_H
  65042. -#include <sys/types.h>
  65043. -#endif
  65044. -#if STDC_HEADERS
  65045. -#include <stdlib.h>
  65046. -#include <stddef.h>
  65047. -#endif
  65048. -#if HAVE_INTTYPES_H
  65049. -#include <inttypes.h>
  65050. -#endif
  65051. -#if HAVE_SYS_BITYPES_H
  65052. -#include <sys/bitypes.h>
  65053. -#endif
  65054. -#if HAVE_SYS_SELECT_H
  65055. -#include <sys/select.h>
  65056. -#endif
  65057. -#if HAVE_NETINET_IN_SYSTM_H
  65058. -#include <netinet/in_systm.h>
  65059. -#endif
  65060. + mvs*)
  65061. + case $cc_basename in
  65062. + cxx*)
  65063. + # FIXME: insert proper C++ library support
  65064. + ld_shlibs_CXX=no
  65065. + ;;
  65066. + *)
  65067. + # FIXME: insert proper C++ library support
  65068. + ld_shlibs_CXX=no
  65069. + ;;
  65070. + esac
  65071. + ;;
  65072. + netbsd*)
  65073. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  65074. + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  65075. + wlarc=
  65076. + hardcode_libdir_flag_spec_CXX='-R$libdir'
  65077. + hardcode_direct_CXX=yes
  65078. + hardcode_shlibpath_var_CXX=no
  65079. + fi
  65080. + # Workaround some broken pre-1.5 toolchains
  65081. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  65082. + ;;
  65083. + *nto* | *qnx*)
  65084. + ld_shlibs_CXX=yes
  65085. + ;;
  65086. -static long int longval () { return (long int) (sizeof (uint8_t)); }
  65087. -static unsigned long int ulongval () { return (long int) (sizeof (uint8_t)); }
  65088. -#include <stdio.h>
  65089. -#include <stdlib.h>
  65090. -int
  65091. -main ()
  65092. -{
  65093. + openbsd2*)
  65094. + # C++ shared libraries are fairly broken
  65095. + ld_shlibs_CXX=no
  65096. + ;;
  65097. - FILE *f = fopen ("conftest.val", "w");
  65098. - if (! f)
  65099. - return 1;
  65100. - if (((long int) (sizeof (uint8_t))) < 0)
  65101. - {
  65102. - long int i = longval ();
  65103. - if (i != ((long int) (sizeof (uint8_t))))
  65104. - return 1;
  65105. - fprintf (f, "%ld", i);
  65106. - }
  65107. - else
  65108. - {
  65109. - unsigned long int i = ulongval ();
  65110. - if (i != ((long int) (sizeof (uint8_t))))
  65111. - return 1;
  65112. - fprintf (f, "%lu", i);
  65113. - }
  65114. - /* Do not output a trailing newline, as this causes \r\n confusion
  65115. - on some platforms. */
  65116. - return ferror (f) || fclose (f) != 0;
  65117. + openbsd*)
  65118. + if test -f /usr/libexec/ld.so; then
  65119. + hardcode_direct_CXX=yes
  65120. + hardcode_shlibpath_var_CXX=no
  65121. + hardcode_direct_absolute_CXX=yes
  65122. + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  65123. + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  65124. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  65125. + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
  65126. + export_dynamic_flag_spec_CXX='${wl}-E'
  65127. + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  65128. + fi
  65129. + output_verbose_link_cmd=echo
  65130. + else
  65131. + ld_shlibs_CXX=no
  65132. + fi
  65133. + ;;
  65134. - ;
  65135. - return 0;
  65136. -}
  65137. -_ACEOF
  65138. -rm -f conftest$ac_exeext
  65139. -if { (ac_try="$ac_link"
  65140. -case "(($ac_try" in
  65141. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  65142. - *) ac_try_echo=$ac_try;;
  65143. -esac
  65144. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  65145. -$as_echo "$ac_try_echo") >&5
  65146. - (eval "$ac_link") 2>&5
  65147. - ac_status=$?
  65148. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  65149. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  65150. - { (case "(($ac_try" in
  65151. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  65152. - *) ac_try_echo=$ac_try;;
  65153. -esac
  65154. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  65155. -$as_echo "$ac_try_echo") >&5
  65156. - (eval "$ac_try") 2>&5
  65157. - ac_status=$?
  65158. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  65159. - (exit $ac_status); }; }; then
  65160. - ac_cv_sizeof_uint8_t=`cat conftest.val`
  65161. -else
  65162. - $as_echo "$as_me: program exited with status $ac_status" >&5
  65163. -$as_echo "$as_me: failed program was:" >&5
  65164. -sed 's/^/| /' conftest.$ac_ext >&5
  65165. + osf3* | osf4* | osf5*)
  65166. + case $cc_basename in
  65167. + KCC*)
  65168. + # Kuck and Associates, Inc. (KAI) C++ Compiler
  65169. +
  65170. + # KCC will only create a shared library if the output file
  65171. + # ends with ".so" (or ".sl" for HP-UX), so rename the library
  65172. + # to its proper name (with version) after linking.
  65173. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  65174. +
  65175. + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  65176. + hardcode_libdir_separator_CXX=:
  65177. +
  65178. + # Archives containing C++ object files must be created using
  65179. + # the KAI C++ compiler.
  65180. + case $host in
  65181. + osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
  65182. + *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
  65183. + esac
  65184. + ;;
  65185. + RCC*)
  65186. + # Rational C++ 2.4.1
  65187. + # FIXME: insert proper C++ library support
  65188. + ld_shlibs_CXX=no
  65189. + ;;
  65190. + cxx*)
  65191. + case $host in
  65192. + osf3*)
  65193. + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  65194. + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  65195. + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  65196. + ;;
  65197. + *)
  65198. + allow_undefined_flag_CXX=' -expect_unresolved \*'
  65199. + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  65200. + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  65201. + echo "-hidden">> $lib.exp~
  65202. + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
  65203. + $RM $lib.exp'
  65204. + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
  65205. + ;;
  65206. + esac
  65207. -( exit $ac_status )
  65208. -if test "$ac_cv_type_uint8_t" = yes; then
  65209. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (uint8_t)
  65210. -See \`config.log' for more details." >&5
  65211. -$as_echo "$as_me: error: cannot compute sizeof (uint8_t)
  65212. -See \`config.log' for more details." >&2;}
  65213. - { (exit 77); exit 77; }; }
  65214. - else
  65215. - ac_cv_sizeof_uint8_t=0
  65216. - fi
  65217. -fi
  65218. -rm -rf conftest.dSYM
  65219. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  65220. -fi
  65221. -rm -f conftest.val
  65222. -fi
  65223. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_uint8_t" >&5
  65224. -$as_echo "$ac_cv_sizeof_uint8_t" >&6; }
  65225. + hardcode_libdir_separator_CXX=:
  65226. +
  65227. + # Commands to make compiler produce verbose output that lists
  65228. + # what "hidden" libraries, object files and flags are used when
  65229. + # linking a shared library.
  65230. + #
  65231. + # There doesn't appear to be a way to prevent this compiler from
  65232. + # explicitly linking system object files so we need to strip them
  65233. + # from the output so that they don't get included in the library
  65234. + # dependencies.
  65235. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  65236. + ;;
  65237. + *)
  65238. + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  65239. + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  65240. + case $host in
  65241. + osf3*)
  65242. + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  65243. + ;;
  65244. + *)
  65245. + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  65246. + ;;
  65247. + esac
  65248. +
  65249. + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  65250. + hardcode_libdir_separator_CXX=:
  65251. +
  65252. + # Commands to make compiler produce verbose output that lists
  65253. + # what "hidden" libraries, object files and flags are used when
  65254. + # linking a shared library.
  65255. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  65256. +
  65257. + else
  65258. + # FIXME: insert proper C++ library support
  65259. + ld_shlibs_CXX=no
  65260. + fi
  65261. + ;;
  65262. + esac
  65263. + ;;
  65264. + psos*)
  65265. + # FIXME: insert proper C++ library support
  65266. + ld_shlibs_CXX=no
  65267. + ;;
  65268. + sunos4*)
  65269. + case $cc_basename in
  65270. + CC*)
  65271. + # Sun C++ 4.x
  65272. + # FIXME: insert proper C++ library support
  65273. + ld_shlibs_CXX=no
  65274. + ;;
  65275. + lcc*)
  65276. + # Lucid
  65277. + # FIXME: insert proper C++ library support
  65278. + ld_shlibs_CXX=no
  65279. + ;;
  65280. + *)
  65281. + # FIXME: insert proper C++ library support
  65282. + ld_shlibs_CXX=no
  65283. + ;;
  65284. + esac
  65285. + ;;
  65286. -cat >>confdefs.h <<_ACEOF
  65287. -#define SIZEOF_UINT8_T $ac_cv_sizeof_uint8_t
  65288. -_ACEOF
  65289. + solaris*)
  65290. + case $cc_basename in
  65291. + CC*)
  65292. + # Sun C++ 4.2, 5.x and Centerline C++
  65293. + archive_cmds_need_lc_CXX=yes
  65294. + no_undefined_flag_CXX=' -zdefs'
  65295. + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  65296. + archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  65297. + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  65298. +
  65299. + hardcode_libdir_flag_spec_CXX='-R$libdir'
  65300. + hardcode_shlibpath_var_CXX=no
  65301. + case $host_os in
  65302. + solaris2.[0-5] | solaris2.[0-5].*) ;;
  65303. + *)
  65304. + # The compiler driver will combine and reorder linker options,
  65305. + # but understands `-z linker_flag'.
  65306. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  65307. + whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
  65308. + ;;
  65309. + esac
  65310. + link_all_deplibs_CXX=yes
  65311. + output_verbose_link_cmd='echo'
  65312. + # Archives containing C++ object files must be created using
  65313. + # "CC -xar", where "CC" is the Sun C++ compiler. This is
  65314. + # necessary to make sure instantiated templates are included
  65315. + # in the archive.
  65316. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
  65317. + ;;
  65318. + gcx*)
  65319. + # Green Hills C++ Compiler
  65320. + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  65321. -cat >>confdefs.h <<\_ACEOF
  65322. -#define HAVE_UINT8_T 1
  65323. -_ACEOF
  65324. + # The C++ compiler must be used to create the archive.
  65325. + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  65326. + ;;
  65327. + *)
  65328. + # GNU C++ compiler with Solaris linker
  65329. + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  65330. + no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
  65331. + if $CC --version | $GREP -v '^2\.7' > /dev/null; then
  65332. + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  65333. + archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  65334. + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  65335. +
  65336. + # Commands to make compiler produce verbose output that lists
  65337. + # what "hidden" libraries, object files and flags are used when
  65338. + # linking a shared library.
  65339. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  65340. + else
  65341. + # g++ 2.7 appears to require `-G' NOT `-shared' on this
  65342. + # platform.
  65343. + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  65344. + archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  65345. + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  65346. +
  65347. + # Commands to make compiler produce verbose output that lists
  65348. + # what "hidden" libraries, object files and flags are used when
  65349. + # linking a shared library.
  65350. + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  65351. + fi
  65352. + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
  65353. + case $host_os in
  65354. + solaris2.[0-5] | solaris2.[0-5].*) ;;
  65355. + *)
  65356. + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  65357. + ;;
  65358. + esac
  65359. + fi
  65360. + ;;
  65361. + esac
  65362. + ;;
  65363. -fi
  65364. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  65365. + no_undefined_flag_CXX='${wl}-z,text'
  65366. + archive_cmds_need_lc_CXX=no
  65367. + hardcode_shlibpath_var_CXX=no
  65368. + runpath_var='LD_RUN_PATH'
  65369. + case $cc_basename in
  65370. + CC*)
  65371. + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  65372. + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  65373. + ;;
  65374. + *)
  65375. + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  65376. + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  65377. + ;;
  65378. + esac
  65379. + ;;
  65380. -{ $as_echo "$as_me:$LINENO: checking for int16_t" >&5
  65381. -$as_echo_n "checking for int16_t... " >&6; }
  65382. -if test "${ac_cv_type_int16_t+set}" = set; then
  65383. - $as_echo_n "(cached) " >&6
  65384. -else
  65385. - ac_cv_type_int16_t=no
  65386. -cat >conftest.$ac_ext <<_ACEOF
  65387. -/* confdefs.h. */
  65388. -_ACEOF
  65389. -cat confdefs.h >>conftest.$ac_ext
  65390. -cat >>conftest.$ac_ext <<_ACEOF
  65391. -/* end confdefs.h. */
  65392. + sysv5* | sco3.2v5* | sco5v6*)
  65393. + # Note: We can NOT use -z defs as we might desire, because we do not
  65394. + # link with -lc, and that would cause any symbols used from libc to
  65395. + # always be unresolved, which means just about no library would
  65396. + # ever link correctly. If we're not using GNU ld we use -z text
  65397. + # though, which does catch some bad symbols but isn't as heavy-handed
  65398. + # as -z defs.
  65399. + no_undefined_flag_CXX='${wl}-z,text'
  65400. + allow_undefined_flag_CXX='${wl}-z,nodefs'
  65401. + archive_cmds_need_lc_CXX=no
  65402. + hardcode_shlibpath_var_CXX=no
  65403. + hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
  65404. + hardcode_libdir_separator_CXX=':'
  65405. + link_all_deplibs_CXX=yes
  65406. + export_dynamic_flag_spec_CXX='${wl}-Bexport'
  65407. + runpath_var='LD_RUN_PATH'
  65408. -/* What a mess.. many systems have added the (now standard) bit types
  65409. - * in their own ways, so we need to scan a wide variety of headers to
  65410. - * find them..
  65411. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  65412. - */
  65413. -#if HAVE_SYS_TYPES_H
  65414. -#include <sys/types.h>
  65415. -#endif
  65416. -#if STDC_HEADERS
  65417. -#include <stdlib.h>
  65418. -#include <stddef.h>
  65419. -#endif
  65420. -#if HAVE_INTTYPES_H
  65421. -#include <inttypes.h>
  65422. -#endif
  65423. -#if HAVE_SYS_BITYPES_H
  65424. -#include <sys/bitypes.h>
  65425. -#endif
  65426. -#if HAVE_SYS_SELECT_H
  65427. -#include <sys/select.h>
  65428. -#endif
  65429. -#if HAVE_NETINET_IN_SYSTM_H
  65430. -#include <netinet/in_systm.h>
  65431. -#endif
  65432. + case $cc_basename in
  65433. + CC*)
  65434. + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  65435. + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  65436. + ;;
  65437. + *)
  65438. + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  65439. + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  65440. + ;;
  65441. + esac
  65442. + ;;
  65443. + tandem*)
  65444. + case $cc_basename in
  65445. + NCC*)
  65446. + # NonStop-UX NCC 3.20
  65447. + # FIXME: insert proper C++ library support
  65448. + ld_shlibs_CXX=no
  65449. + ;;
  65450. + *)
  65451. + # FIXME: insert proper C++ library support
  65452. + ld_shlibs_CXX=no
  65453. + ;;
  65454. + esac
  65455. + ;;
  65456. -int
  65457. -main ()
  65458. -{
  65459. -if (sizeof (int16_t))
  65460. - return 0;
  65461. - ;
  65462. - return 0;
  65463. -}
  65464. -_ACEOF
  65465. -rm -f conftest.$ac_objext
  65466. -if { (ac_try="$ac_compile"
  65467. -case "(($ac_try" in
  65468. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  65469. - *) ac_try_echo=$ac_try;;
  65470. -esac
  65471. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  65472. -$as_echo "$ac_try_echo") >&5
  65473. - (eval "$ac_compile") 2>conftest.er1
  65474. - ac_status=$?
  65475. - grep -v '^ *+' conftest.er1 >conftest.err
  65476. - rm -f conftest.er1
  65477. - cat conftest.err >&5
  65478. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  65479. - (exit $ac_status); } && {
  65480. - test -z "$ac_c_werror_flag" ||
  65481. - test ! -s conftest.err
  65482. - } && test -s conftest.$ac_objext; then
  65483. - cat >conftest.$ac_ext <<_ACEOF
  65484. -/* confdefs.h. */
  65485. -_ACEOF
  65486. -cat confdefs.h >>conftest.$ac_ext
  65487. -cat >>conftest.$ac_ext <<_ACEOF
  65488. -/* end confdefs.h. */
  65489. + vxworks*)
  65490. + # FIXME: insert proper C++ library support
  65491. + ld_shlibs_CXX=no
  65492. + ;;
  65493. -/* What a mess.. many systems have added the (now standard) bit types
  65494. - * in their own ways, so we need to scan a wide variety of headers to
  65495. - * find them..
  65496. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  65497. - */
  65498. -#if HAVE_SYS_TYPES_H
  65499. -#include <sys/types.h>
  65500. -#endif
  65501. -#if STDC_HEADERS
  65502. -#include <stdlib.h>
  65503. -#include <stddef.h>
  65504. -#endif
  65505. -#if HAVE_INTTYPES_H
  65506. -#include <inttypes.h>
  65507. -#endif
  65508. -#if HAVE_SYS_BITYPES_H
  65509. -#include <sys/bitypes.h>
  65510. -#endif
  65511. -#if HAVE_SYS_SELECT_H
  65512. -#include <sys/select.h>
  65513. -#endif
  65514. -#if HAVE_NETINET_IN_SYSTM_H
  65515. -#include <netinet/in_systm.h>
  65516. -#endif
  65517. + *)
  65518. + # FIXME: insert proper C++ library support
  65519. + ld_shlibs_CXX=no
  65520. + ;;
  65521. + esac
  65522. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
  65523. +$as_echo "$ld_shlibs_CXX" >&6; }
  65524. + test "$ld_shlibs_CXX" = no && can_build_shared=no
  65525. -int
  65526. -main ()
  65527. -{
  65528. -if (sizeof ((int16_t)))
  65529. - return 0;
  65530. - ;
  65531. - return 0;
  65532. -}
  65533. -_ACEOF
  65534. -rm -f conftest.$ac_objext
  65535. -if { (ac_try="$ac_compile"
  65536. -case "(($ac_try" in
  65537. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  65538. - *) ac_try_echo=$ac_try;;
  65539. -esac
  65540. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  65541. -$as_echo "$ac_try_echo") >&5
  65542. - (eval "$ac_compile") 2>conftest.er1
  65543. - ac_status=$?
  65544. - grep -v '^ *+' conftest.er1 >conftest.err
  65545. - rm -f conftest.er1
  65546. - cat conftest.err >&5
  65547. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  65548. - (exit $ac_status); } && {
  65549. - test -z "$ac_c_werror_flag" ||
  65550. - test ! -s conftest.err
  65551. - } && test -s conftest.$ac_objext; then
  65552. - :
  65553. -else
  65554. - $as_echo "$as_me: failed program was:" >&5
  65555. -sed 's/^/| /' conftest.$ac_ext >&5
  65556. + GCC_CXX="$GXX"
  65557. + LD_CXX="$LD"
  65558. - ac_cv_type_int16_t=yes
  65559. -fi
  65560. + ## CAVEAT EMPTOR:
  65561. + ## There is no encapsulation within the following macros, do not change
  65562. + ## the running order or otherwise move them around unless you know exactly
  65563. + ## what you are doing...
  65564. + # Dependencies to place before and after the object being linked:
  65565. +predep_objects_CXX=
  65566. +postdep_objects_CXX=
  65567. +predeps_CXX=
  65568. +postdeps_CXX=
  65569. +compiler_lib_search_path_CXX=
  65570. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  65571. -else
  65572. - $as_echo "$as_me: failed program was:" >&5
  65573. -sed 's/^/| /' conftest.$ac_ext >&5
  65574. +cat > conftest.$ac_ext <<_LT_EOF
  65575. +class Foo
  65576. +{
  65577. +public:
  65578. + Foo (void) { a = 0; }
  65579. +private:
  65580. + int a;
  65581. +};
  65582. +_LT_EOF
  65583. +if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  65584. + (eval $ac_compile) 2>&5
  65585. + ac_status=$?
  65586. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  65587. + test $ac_status = 0; }; then
  65588. + # Parse the compiler output and extract the necessary
  65589. + # objects, libraries and library flags.
  65590. -fi
  65591. + # Sentinel used to keep track of whether or not we are before
  65592. + # the conftest object file.
  65593. + pre_test_object_deps_done=no
  65594. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  65595. -fi
  65596. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
  65597. -$as_echo "$ac_cv_type_int16_t" >&6; }
  65598. -if test $ac_cv_type_int16_t = yes; then
  65599. + for p in `eval "$output_verbose_link_cmd"`; do
  65600. + case $p in
  65601. - # The cast to long int works around a bug in the HP C Compiler
  65602. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  65603. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  65604. -# This bug is HP SR number 8606223364.
  65605. -{ $as_echo "$as_me:$LINENO: checking size of int16_t" >&5
  65606. -$as_echo_n "checking size of int16_t... " >&6; }
  65607. -if test "${ac_cv_sizeof_int16_t+set}" = set; then
  65608. - $as_echo_n "(cached) " >&6
  65609. -else
  65610. - if test "$cross_compiling" = yes; then
  65611. - # Depending upon the size, compute the lo and hi bounds.
  65612. -cat >conftest.$ac_ext <<_ACEOF
  65613. -/* confdefs.h. */
  65614. -_ACEOF
  65615. -cat confdefs.h >>conftest.$ac_ext
  65616. -cat >>conftest.$ac_ext <<_ACEOF
  65617. -/* end confdefs.h. */
  65618. + -L* | -R* | -l*)
  65619. + # Some compilers place space between "-{L,R}" and the path.
  65620. + # Remove the space.
  65621. + if test $p = "-L" ||
  65622. + test $p = "-R"; then
  65623. + prev=$p
  65624. + continue
  65625. + else
  65626. + prev=
  65627. + fi
  65628. -#include <stdio.h>
  65629. + if test "$pre_test_object_deps_done" = no; then
  65630. + case $p in
  65631. + -L* | -R*)
  65632. + # Internal compiler library paths should come after those
  65633. + # provided the user. The postdeps already come after the
  65634. + # user supplied libs so there is no need to process them.
  65635. + if test -z "$compiler_lib_search_path_CXX"; then
  65636. + compiler_lib_search_path_CXX="${prev}${p}"
  65637. + else
  65638. + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
  65639. + fi
  65640. + ;;
  65641. + # The "-l" case would never come before the object being
  65642. + # linked, so don't bother handling this case.
  65643. + esac
  65644. + else
  65645. + if test -z "$postdeps_CXX"; then
  65646. + postdeps_CXX="${prev}${p}"
  65647. + else
  65648. + postdeps_CXX="${postdeps_CXX} ${prev}${p}"
  65649. + fi
  65650. + fi
  65651. + ;;
  65652. -/* What a mess.. many systems have added the (now standard) bit types
  65653. - * in their own ways, so we need to scan a wide variety of headers to
  65654. - * find them..
  65655. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  65656. - */
  65657. -#if HAVE_SYS_TYPES_H
  65658. -#include <sys/types.h>
  65659. -#endif
  65660. -#if STDC_HEADERS
  65661. -#include <stdlib.h>
  65662. -#include <stddef.h>
  65663. -#endif
  65664. -#if HAVE_INTTYPES_H
  65665. -#include <inttypes.h>
  65666. -#endif
  65667. -#if HAVE_SYS_BITYPES_H
  65668. -#include <sys/bitypes.h>
  65669. -#endif
  65670. -#if HAVE_SYS_SELECT_H
  65671. -#include <sys/select.h>
  65672. -#endif
  65673. -#if HAVE_NETINET_IN_SYSTM_H
  65674. -#include <netinet/in_systm.h>
  65675. -#endif
  65676. + *.$objext)
  65677. + # This assumes that the test object file only shows up
  65678. + # once in the compiler output.
  65679. + if test "$p" = "conftest.$objext"; then
  65680. + pre_test_object_deps_done=yes
  65681. + continue
  65682. + fi
  65683. +
  65684. + if test "$pre_test_object_deps_done" = no; then
  65685. + if test -z "$predep_objects_CXX"; then
  65686. + predep_objects_CXX="$p"
  65687. + else
  65688. + predep_objects_CXX="$predep_objects_CXX $p"
  65689. + fi
  65690. + else
  65691. + if test -z "$postdep_objects_CXX"; then
  65692. + postdep_objects_CXX="$p"
  65693. + else
  65694. + postdep_objects_CXX="$postdep_objects_CXX $p"
  65695. + fi
  65696. + fi
  65697. + ;;
  65698. + *) ;; # Ignore the rest.
  65699. + esac
  65700. + done
  65701. -int
  65702. -main ()
  65703. -{
  65704. -static int test_array [1 - 2 * !(((long int) (sizeof (int16_t))) >= 0)];
  65705. -test_array [0] = 0
  65706. + # Clean up.
  65707. + rm -f a.out a.exe
  65708. +else
  65709. + echo "libtool.m4: error: problem compiling CXX test program"
  65710. +fi
  65711. - ;
  65712. - return 0;
  65713. -}
  65714. -_ACEOF
  65715. -rm -f conftest.$ac_objext
  65716. -if { (ac_try="$ac_compile"
  65717. -case "(($ac_try" in
  65718. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  65719. - *) ac_try_echo=$ac_try;;
  65720. -esac
  65721. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  65722. -$as_echo "$ac_try_echo") >&5
  65723. - (eval "$ac_compile") 2>conftest.er1
  65724. - ac_status=$?
  65725. - grep -v '^ *+' conftest.er1 >conftest.err
  65726. - rm -f conftest.er1
  65727. - cat conftest.err >&5
  65728. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  65729. - (exit $ac_status); } && {
  65730. - test -z "$ac_c_werror_flag" ||
  65731. - test ! -s conftest.err
  65732. - } && test -s conftest.$ac_objext; then
  65733. - ac_lo=0 ac_mid=0
  65734. - while :; do
  65735. - cat >conftest.$ac_ext <<_ACEOF
  65736. -/* confdefs.h. */
  65737. -_ACEOF
  65738. -cat confdefs.h >>conftest.$ac_ext
  65739. -cat >>conftest.$ac_ext <<_ACEOF
  65740. -/* end confdefs.h. */
  65741. +$RM -f confest.$objext
  65742. -#include <stdio.h>
  65743. +# PORTME: override above test on systems where it is broken
  65744. +case $host_os in
  65745. +interix[3-9]*)
  65746. + # Interix 3.5 installs completely hosed .la files for C++, so rather than
  65747. + # hack all around it, let's just trust "g++" to DTRT.
  65748. + predep_objects_CXX=
  65749. + postdep_objects_CXX=
  65750. + postdeps_CXX=
  65751. + ;;
  65752. -/* What a mess.. many systems have added the (now standard) bit types
  65753. - * in their own ways, so we need to scan a wide variety of headers to
  65754. - * find them..
  65755. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  65756. - */
  65757. -#if HAVE_SYS_TYPES_H
  65758. -#include <sys/types.h>
  65759. -#endif
  65760. -#if STDC_HEADERS
  65761. -#include <stdlib.h>
  65762. -#include <stddef.h>
  65763. -#endif
  65764. -#if HAVE_INTTYPES_H
  65765. -#include <inttypes.h>
  65766. -#endif
  65767. -#if HAVE_SYS_BITYPES_H
  65768. -#include <sys/bitypes.h>
  65769. -#endif
  65770. -#if HAVE_SYS_SELECT_H
  65771. -#include <sys/select.h>
  65772. -#endif
  65773. -#if HAVE_NETINET_IN_SYSTM_H
  65774. -#include <netinet/in_systm.h>
  65775. -#endif
  65776. +linux*)
  65777. + case `$CC -V 2>&1 | sed 5q` in
  65778. + *Sun\ C*)
  65779. + # Sun C++ 5.9
  65780. + # The more standards-conforming stlport4 library is
  65781. + # incompatible with the Cstd library. Avoid specifying
  65782. + # it if it's in CXXFLAGS. Ignore libCrun as
  65783. + # -library=stlport4 depends on it.
  65784. + case " $CXX $CXXFLAGS " in
  65785. + *" -library=stlport4 "*)
  65786. + solaris_use_stlport4=yes
  65787. + ;;
  65788. + esac
  65789. + if test "$solaris_use_stlport4" != yes; then
  65790. + postdeps_CXX='-library=Cstd -library=Crun'
  65791. + fi
  65792. + ;;
  65793. + esac
  65794. + ;;
  65795. -int
  65796. -main ()
  65797. -{
  65798. -static int test_array [1 - 2 * !(((long int) (sizeof (int16_t))) <= $ac_mid)];
  65799. -test_array [0] = 0
  65800. +solaris*)
  65801. + case $cc_basename in
  65802. + CC*)
  65803. + # The more standards-conforming stlport4 library is
  65804. + # incompatible with the Cstd library. Avoid specifying
  65805. + # it if it's in CXXFLAGS. Ignore libCrun as
  65806. + # -library=stlport4 depends on it.
  65807. + case " $CXX $CXXFLAGS " in
  65808. + *" -library=stlport4 "*)
  65809. + solaris_use_stlport4=yes
  65810. + ;;
  65811. + esac
  65812. - ;
  65813. - return 0;
  65814. -}
  65815. -_ACEOF
  65816. -rm -f conftest.$ac_objext
  65817. -if { (ac_try="$ac_compile"
  65818. -case "(($ac_try" in
  65819. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  65820. - *) ac_try_echo=$ac_try;;
  65821. + # Adding this requires a known-good setup of shared libraries for
  65822. + # Sun compiler versions before 5.6, else PIC objects from an old
  65823. + # archive will be linked into the output, leading to subtle bugs.
  65824. + if test "$solaris_use_stlport4" != yes; then
  65825. + postdeps_CXX='-library=Cstd -library=Crun'
  65826. + fi
  65827. + ;;
  65828. + esac
  65829. + ;;
  65830. esac
  65831. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  65832. -$as_echo "$ac_try_echo") >&5
  65833. - (eval "$ac_compile") 2>conftest.er1
  65834. - ac_status=$?
  65835. - grep -v '^ *+' conftest.er1 >conftest.err
  65836. - rm -f conftest.er1
  65837. - cat conftest.err >&5
  65838. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  65839. - (exit $ac_status); } && {
  65840. - test -z "$ac_c_werror_flag" ||
  65841. - test ! -s conftest.err
  65842. - } && test -s conftest.$ac_objext; then
  65843. - ac_hi=$ac_mid; break
  65844. -else
  65845. - $as_echo "$as_me: failed program was:" >&5
  65846. -sed 's/^/| /' conftest.$ac_ext >&5
  65847. - ac_lo=`expr $ac_mid + 1`
  65848. - if test $ac_lo -le $ac_mid; then
  65849. - ac_lo= ac_hi=
  65850. - break
  65851. - fi
  65852. - ac_mid=`expr 2 '*' $ac_mid + 1`
  65853. +
  65854. +case " $postdeps_CXX " in
  65855. +*" -lc "*) archive_cmds_need_lc_CXX=no ;;
  65856. +esac
  65857. + compiler_lib_search_dirs_CXX=
  65858. +if test -n "${compiler_lib_search_path_CXX}"; then
  65859. + compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  65860. fi
  65861. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  65862. - done
  65863. -else
  65864. - $as_echo "$as_me: failed program was:" >&5
  65865. -sed 's/^/| /' conftest.$ac_ext >&5
  65866. - cat >conftest.$ac_ext <<_ACEOF
  65867. -/* confdefs.h. */
  65868. -_ACEOF
  65869. -cat confdefs.h >>conftest.$ac_ext
  65870. -cat >>conftest.$ac_ext <<_ACEOF
  65871. -/* end confdefs.h. */
  65872. -#include <stdio.h>
  65873. -/* What a mess.. many systems have added the (now standard) bit types
  65874. - * in their own ways, so we need to scan a wide variety of headers to
  65875. - * find them..
  65876. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  65877. - */
  65878. -#if HAVE_SYS_TYPES_H
  65879. -#include <sys/types.h>
  65880. -#endif
  65881. -#if STDC_HEADERS
  65882. -#include <stdlib.h>
  65883. -#include <stddef.h>
  65884. -#endif
  65885. -#if HAVE_INTTYPES_H
  65886. -#include <inttypes.h>
  65887. -#endif
  65888. -#if HAVE_SYS_BITYPES_H
  65889. -#include <sys/bitypes.h>
  65890. -#endif
  65891. -#if HAVE_SYS_SELECT_H
  65892. -#include <sys/select.h>
  65893. -#endif
  65894. -#if HAVE_NETINET_IN_SYSTM_H
  65895. -#include <netinet/in_systm.h>
  65896. -#endif
  65897. -int
  65898. -main ()
  65899. -{
  65900. -static int test_array [1 - 2 * !(((long int) (sizeof (int16_t))) < 0)];
  65901. -test_array [0] = 0
  65902. - ;
  65903. - return 0;
  65904. -}
  65905. -_ACEOF
  65906. -rm -f conftest.$ac_objext
  65907. -if { (ac_try="$ac_compile"
  65908. -case "(($ac_try" in
  65909. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  65910. - *) ac_try_echo=$ac_try;;
  65911. -esac
  65912. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  65913. -$as_echo "$ac_try_echo") >&5
  65914. - (eval "$ac_compile") 2>conftest.er1
  65915. - ac_status=$?
  65916. - grep -v '^ *+' conftest.er1 >conftest.err
  65917. - rm -f conftest.er1
  65918. - cat conftest.err >&5
  65919. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  65920. - (exit $ac_status); } && {
  65921. - test -z "$ac_c_werror_flag" ||
  65922. - test ! -s conftest.err
  65923. - } && test -s conftest.$ac_objext; then
  65924. - ac_hi=-1 ac_mid=-1
  65925. - while :; do
  65926. - cat >conftest.$ac_ext <<_ACEOF
  65927. -/* confdefs.h. */
  65928. -_ACEOF
  65929. -cat confdefs.h >>conftest.$ac_ext
  65930. -cat >>conftest.$ac_ext <<_ACEOF
  65931. -/* end confdefs.h. */
  65932. -#include <stdio.h>
  65933. -/* What a mess.. many systems have added the (now standard) bit types
  65934. - * in their own ways, so we need to scan a wide variety of headers to
  65935. - * find them..
  65936. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  65937. - */
  65938. -#if HAVE_SYS_TYPES_H
  65939. -#include <sys/types.h>
  65940. -#endif
  65941. -#if STDC_HEADERS
  65942. -#include <stdlib.h>
  65943. -#include <stddef.h>
  65944. -#endif
  65945. -#if HAVE_INTTYPES_H
  65946. -#include <inttypes.h>
  65947. -#endif
  65948. -#if HAVE_SYS_BITYPES_H
  65949. -#include <sys/bitypes.h>
  65950. -#endif
  65951. -#if HAVE_SYS_SELECT_H
  65952. -#include <sys/select.h>
  65953. -#endif
  65954. -#if HAVE_NETINET_IN_SYSTM_H
  65955. -#include <netinet/in_systm.h>
  65956. -#endif
  65957. -int
  65958. -main ()
  65959. -{
  65960. -static int test_array [1 - 2 * !(((long int) (sizeof (int16_t))) >= $ac_mid)];
  65961. -test_array [0] = 0
  65962. - ;
  65963. - return 0;
  65964. -}
  65965. -_ACEOF
  65966. -rm -f conftest.$ac_objext
  65967. -if { (ac_try="$ac_compile"
  65968. -case "(($ac_try" in
  65969. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  65970. - *) ac_try_echo=$ac_try;;
  65971. -esac
  65972. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  65973. -$as_echo "$ac_try_echo") >&5
  65974. - (eval "$ac_compile") 2>conftest.er1
  65975. - ac_status=$?
  65976. - grep -v '^ *+' conftest.er1 >conftest.err
  65977. - rm -f conftest.er1
  65978. - cat conftest.err >&5
  65979. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  65980. - (exit $ac_status); } && {
  65981. - test -z "$ac_c_werror_flag" ||
  65982. - test ! -s conftest.err
  65983. - } && test -s conftest.$ac_objext; then
  65984. - ac_lo=$ac_mid; break
  65985. -else
  65986. - $as_echo "$as_me: failed program was:" >&5
  65987. -sed 's/^/| /' conftest.$ac_ext >&5
  65988. - ac_hi=`expr '(' $ac_mid ')' - 1`
  65989. - if test $ac_mid -le $ac_hi; then
  65990. - ac_lo= ac_hi=
  65991. - break
  65992. - fi
  65993. - ac_mid=`expr 2 '*' $ac_mid`
  65994. -fi
  65995. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  65996. - done
  65997. -else
  65998. - $as_echo "$as_me: failed program was:" >&5
  65999. -sed 's/^/| /' conftest.$ac_ext >&5
  66000. - ac_lo= ac_hi=
  66001. -fi
  66002. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  66003. -fi
  66004. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  66005. -# Binary search between lo and hi bounds.
  66006. -while test "x$ac_lo" != "x$ac_hi"; do
  66007. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  66008. - cat >conftest.$ac_ext <<_ACEOF
  66009. -/* confdefs.h. */
  66010. -_ACEOF
  66011. -cat confdefs.h >>conftest.$ac_ext
  66012. -cat >>conftest.$ac_ext <<_ACEOF
  66013. -/* end confdefs.h. */
  66014. -#include <stdio.h>
  66015. -/* What a mess.. many systems have added the (now standard) bit types
  66016. - * in their own ways, so we need to scan a wide variety of headers to
  66017. - * find them..
  66018. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  66019. - */
  66020. -#if HAVE_SYS_TYPES_H
  66021. -#include <sys/types.h>
  66022. -#endif
  66023. -#if STDC_HEADERS
  66024. -#include <stdlib.h>
  66025. -#include <stddef.h>
  66026. -#endif
  66027. -#if HAVE_INTTYPES_H
  66028. -#include <inttypes.h>
  66029. -#endif
  66030. -#if HAVE_SYS_BITYPES_H
  66031. -#include <sys/bitypes.h>
  66032. -#endif
  66033. -#if HAVE_SYS_SELECT_H
  66034. -#include <sys/select.h>
  66035. -#endif
  66036. -#if HAVE_NETINET_IN_SYSTM_H
  66037. -#include <netinet/in_systm.h>
  66038. -#endif
  66039. -int
  66040. -main ()
  66041. -{
  66042. -static int test_array [1 - 2 * !(((long int) (sizeof (int16_t))) <= $ac_mid)];
  66043. -test_array [0] = 0
  66044. - ;
  66045. - return 0;
  66046. -}
  66047. -_ACEOF
  66048. -rm -f conftest.$ac_objext
  66049. -if { (ac_try="$ac_compile"
  66050. -case "(($ac_try" in
  66051. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  66052. - *) ac_try_echo=$ac_try;;
  66053. -esac
  66054. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  66055. -$as_echo "$ac_try_echo") >&5
  66056. - (eval "$ac_compile") 2>conftest.er1
  66057. - ac_status=$?
  66058. - grep -v '^ *+' conftest.er1 >conftest.err
  66059. - rm -f conftest.er1
  66060. - cat conftest.err >&5
  66061. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  66062. - (exit $ac_status); } && {
  66063. - test -z "$ac_c_werror_flag" ||
  66064. - test ! -s conftest.err
  66065. - } && test -s conftest.$ac_objext; then
  66066. - ac_hi=$ac_mid
  66067. -else
  66068. - $as_echo "$as_me: failed program was:" >&5
  66069. -sed 's/^/| /' conftest.$ac_ext >&5
  66070. - ac_lo=`expr '(' $ac_mid ')' + 1`
  66071. -fi
  66072. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  66073. -done
  66074. -case $ac_lo in
  66075. -?*) ac_cv_sizeof_int16_t=$ac_lo;;
  66076. -'') if test "$ac_cv_type_int16_t" = yes; then
  66077. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int16_t)
  66078. -See \`config.log' for more details." >&5
  66079. -$as_echo "$as_me: error: cannot compute sizeof (int16_t)
  66080. -See \`config.log' for more details." >&2;}
  66081. - { (exit 77); exit 77; }; }
  66082. - else
  66083. - ac_cv_sizeof_int16_t=0
  66084. - fi ;;
  66085. -esac
  66086. -else
  66087. - cat >conftest.$ac_ext <<_ACEOF
  66088. -/* confdefs.h. */
  66089. -_ACEOF
  66090. -cat confdefs.h >>conftest.$ac_ext
  66091. -cat >>conftest.$ac_ext <<_ACEOF
  66092. -/* end confdefs.h. */
  66093. -#include <stdio.h>
  66094. -/* What a mess.. many systems have added the (now standard) bit types
  66095. - * in their own ways, so we need to scan a wide variety of headers to
  66096. - * find them..
  66097. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  66098. - */
  66099. -#if HAVE_SYS_TYPES_H
  66100. -#include <sys/types.h>
  66101. -#endif
  66102. -#if STDC_HEADERS
  66103. -#include <stdlib.h>
  66104. -#include <stddef.h>
  66105. -#endif
  66106. -#if HAVE_INTTYPES_H
  66107. -#include <inttypes.h>
  66108. -#endif
  66109. -#if HAVE_SYS_BITYPES_H
  66110. -#include <sys/bitypes.h>
  66111. -#endif
  66112. -#if HAVE_SYS_SELECT_H
  66113. -#include <sys/select.h>
  66114. -#endif
  66115. -#if HAVE_NETINET_IN_SYSTM_H
  66116. -#include <netinet/in_systm.h>
  66117. -#endif
  66118. + lt_prog_compiler_wl_CXX=
  66119. +lt_prog_compiler_pic_CXX=
  66120. +lt_prog_compiler_static_CXX=
  66121. +
  66122. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  66123. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  66124. +
  66125. + # C++ specific cases for pic, static, wl, etc.
  66126. + if test "$GXX" = yes; then
  66127. + lt_prog_compiler_wl_CXX='-Wl,'
  66128. + lt_prog_compiler_static_CXX='-static'
  66129. +
  66130. + case $host_os in
  66131. + aix*)
  66132. + # All AIX code is PIC.
  66133. + if test "$host_cpu" = ia64; then
  66134. + # AIX 5 now supports IA64 processor
  66135. + lt_prog_compiler_static_CXX='-Bstatic'
  66136. + fi
  66137. + ;;
  66138. -static long int longval () { return (long int) (sizeof (int16_t)); }
  66139. -static unsigned long int ulongval () { return (long int) (sizeof (int16_t)); }
  66140. -#include <stdio.h>
  66141. -#include <stdlib.h>
  66142. -int
  66143. -main ()
  66144. -{
  66145. + amigaos*)
  66146. + case $host_cpu in
  66147. + powerpc)
  66148. + # see comment about AmigaOS4 .so support
  66149. + lt_prog_compiler_pic_CXX='-fPIC'
  66150. + ;;
  66151. + m68k)
  66152. + # FIXME: we need at least 68020 code to build shared libraries, but
  66153. + # adding the `-m68020' flag to GCC prevents building anything better,
  66154. + # like `-m68040'.
  66155. + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
  66156. + ;;
  66157. + esac
  66158. + ;;
  66159. - FILE *f = fopen ("conftest.val", "w");
  66160. - if (! f)
  66161. - return 1;
  66162. - if (((long int) (sizeof (int16_t))) < 0)
  66163. - {
  66164. - long int i = longval ();
  66165. - if (i != ((long int) (sizeof (int16_t))))
  66166. - return 1;
  66167. - fprintf (f, "%ld", i);
  66168. - }
  66169. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  66170. + # PIC is the default for these OSes.
  66171. + ;;
  66172. + mingw* | cygwin* | os2* | pw32* | cegcc*)
  66173. + # This hack is so that the source file can tell whether it is being
  66174. + # built for inclusion in a dll (and should export symbols for example).
  66175. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  66176. + # (--disable-auto-import) libraries
  66177. + lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
  66178. + ;;
  66179. + darwin* | rhapsody*)
  66180. + # PIC is the default on this platform
  66181. + # Common symbols not allowed in MH_DYLIB files
  66182. + lt_prog_compiler_pic_CXX='-fno-common'
  66183. + ;;
  66184. + *djgpp*)
  66185. + # DJGPP does not support shared libraries at all
  66186. + lt_prog_compiler_pic_CXX=
  66187. + ;;
  66188. + interix[3-9]*)
  66189. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  66190. + # Instead, we relocate shared libraries at runtime.
  66191. + ;;
  66192. + sysv4*MP*)
  66193. + if test -d /usr/nec; then
  66194. + lt_prog_compiler_pic_CXX=-Kconform_pic
  66195. + fi
  66196. + ;;
  66197. + hpux*)
  66198. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  66199. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  66200. + # sets the default TLS model and affects inlining.
  66201. + case $host_cpu in
  66202. + hppa*64*)
  66203. + ;;
  66204. + *)
  66205. + lt_prog_compiler_pic_CXX='-fPIC'
  66206. + ;;
  66207. + esac
  66208. + ;;
  66209. + *qnx* | *nto*)
  66210. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  66211. + # it will coredump.
  66212. + lt_prog_compiler_pic_CXX='-fPIC -shared'
  66213. + ;;
  66214. + *)
  66215. + lt_prog_compiler_pic_CXX='-fPIC'
  66216. + ;;
  66217. + esac
  66218. else
  66219. - {
  66220. - unsigned long int i = ulongval ();
  66221. - if (i != ((long int) (sizeof (int16_t))))
  66222. - return 1;
  66223. - fprintf (f, "%lu", i);
  66224. - }
  66225. - /* Do not output a trailing newline, as this causes \r\n confusion
  66226. - on some platforms. */
  66227. - return ferror (f) || fclose (f) != 0;
  66228. + case $host_os in
  66229. + aix[4-9]*)
  66230. + # All AIX code is PIC.
  66231. + if test "$host_cpu" = ia64; then
  66232. + # AIX 5 now supports IA64 processor
  66233. + lt_prog_compiler_static_CXX='-Bstatic'
  66234. + else
  66235. + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
  66236. + fi
  66237. + ;;
  66238. + chorus*)
  66239. + case $cc_basename in
  66240. + cxch68*)
  66241. + # Green Hills C++ Compiler
  66242. + # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
  66243. + ;;
  66244. + esac
  66245. + ;;
  66246. + dgux*)
  66247. + case $cc_basename in
  66248. + ec++*)
  66249. + lt_prog_compiler_pic_CXX='-KPIC'
  66250. + ;;
  66251. + ghcx*)
  66252. + # Green Hills C++ Compiler
  66253. + lt_prog_compiler_pic_CXX='-pic'
  66254. + ;;
  66255. + *)
  66256. + ;;
  66257. + esac
  66258. + ;;
  66259. + freebsd* | dragonfly*)
  66260. + # FreeBSD uses GNU C++
  66261. + ;;
  66262. + hpux9* | hpux10* | hpux11*)
  66263. + case $cc_basename in
  66264. + CC*)
  66265. + lt_prog_compiler_wl_CXX='-Wl,'
  66266. + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
  66267. + if test "$host_cpu" != ia64; then
  66268. + lt_prog_compiler_pic_CXX='+Z'
  66269. + fi
  66270. + ;;
  66271. + aCC*)
  66272. + lt_prog_compiler_wl_CXX='-Wl,'
  66273. + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
  66274. + case $host_cpu in
  66275. + hppa*64*|ia64*)
  66276. + # +Z the default
  66277. + ;;
  66278. + *)
  66279. + lt_prog_compiler_pic_CXX='+Z'
  66280. + ;;
  66281. + esac
  66282. + ;;
  66283. + *)
  66284. + ;;
  66285. + esac
  66286. + ;;
  66287. + interix*)
  66288. + # This is c89, which is MS Visual C++ (no shared libs)
  66289. + # Anyone wants to do a port?
  66290. + ;;
  66291. + irix5* | irix6* | nonstopux*)
  66292. + case $cc_basename in
  66293. + CC*)
  66294. + lt_prog_compiler_wl_CXX='-Wl,'
  66295. + lt_prog_compiler_static_CXX='-non_shared'
  66296. + # CC pic flag -KPIC is the default.
  66297. + ;;
  66298. + *)
  66299. + ;;
  66300. + esac
  66301. + ;;
  66302. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  66303. + case $cc_basename in
  66304. + KCC*)
  66305. + # KAI C++ Compiler
  66306. + lt_prog_compiler_wl_CXX='--backend -Wl,'
  66307. + lt_prog_compiler_pic_CXX='-fPIC'
  66308. + ;;
  66309. + ecpc* )
  66310. + # old Intel C++ for x86_64 which still supported -KPIC.
  66311. + lt_prog_compiler_wl_CXX='-Wl,'
  66312. + lt_prog_compiler_pic_CXX='-KPIC'
  66313. + lt_prog_compiler_static_CXX='-static'
  66314. + ;;
  66315. + icpc* )
  66316. + # Intel C++, used to be incompatible with GCC.
  66317. + # ICC 10 doesn't accept -KPIC any more.
  66318. + lt_prog_compiler_wl_CXX='-Wl,'
  66319. + lt_prog_compiler_pic_CXX='-fPIC'
  66320. + lt_prog_compiler_static_CXX='-static'
  66321. + ;;
  66322. + pgCC* | pgcpp*)
  66323. + # Portland Group C++ compiler
  66324. + lt_prog_compiler_wl_CXX='-Wl,'
  66325. + lt_prog_compiler_pic_CXX='-fpic'
  66326. + lt_prog_compiler_static_CXX='-Bstatic'
  66327. + ;;
  66328. + cxx*)
  66329. + # Compaq C++
  66330. + # Make sure the PIC flag is empty. It appears that all Alpha
  66331. + # Linux and Compaq Tru64 Unix objects are PIC.
  66332. + lt_prog_compiler_pic_CXX=
  66333. + lt_prog_compiler_static_CXX='-non_shared'
  66334. + ;;
  66335. + xlc* | xlC*)
  66336. + # IBM XL 8.0 on PPC
  66337. + lt_prog_compiler_wl_CXX='-Wl,'
  66338. + lt_prog_compiler_pic_CXX='-qpic'
  66339. + lt_prog_compiler_static_CXX='-qstaticlink'
  66340. + ;;
  66341. + *)
  66342. + case `$CC -V 2>&1 | sed 5q` in
  66343. + *Sun\ C*)
  66344. + # Sun C++ 5.9
  66345. + lt_prog_compiler_pic_CXX='-KPIC'
  66346. + lt_prog_compiler_static_CXX='-Bstatic'
  66347. + lt_prog_compiler_wl_CXX='-Qoption ld '
  66348. + ;;
  66349. + esac
  66350. + ;;
  66351. + esac
  66352. + ;;
  66353. + lynxos*)
  66354. + ;;
  66355. + m88k*)
  66356. + ;;
  66357. + mvs*)
  66358. + case $cc_basename in
  66359. + cxx*)
  66360. + lt_prog_compiler_pic_CXX='-W c,exportall'
  66361. + ;;
  66362. + *)
  66363. + ;;
  66364. + esac
  66365. + ;;
  66366. + netbsd* | netbsdelf*-gnu)
  66367. + ;;
  66368. + *qnx* | *nto*)
  66369. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  66370. + # it will coredump.
  66371. + lt_prog_compiler_pic_CXX='-fPIC -shared'
  66372. + ;;
  66373. + osf3* | osf4* | osf5*)
  66374. + case $cc_basename in
  66375. + KCC*)
  66376. + lt_prog_compiler_wl_CXX='--backend -Wl,'
  66377. + ;;
  66378. + RCC*)
  66379. + # Rational C++ 2.4.1
  66380. + lt_prog_compiler_pic_CXX='-pic'
  66381. + ;;
  66382. + cxx*)
  66383. + # Digital/Compaq C++
  66384. + lt_prog_compiler_wl_CXX='-Wl,'
  66385. + # Make sure the PIC flag is empty. It appears that all Alpha
  66386. + # Linux and Compaq Tru64 Unix objects are PIC.
  66387. + lt_prog_compiler_pic_CXX=
  66388. + lt_prog_compiler_static_CXX='-non_shared'
  66389. + ;;
  66390. + *)
  66391. + ;;
  66392. + esac
  66393. + ;;
  66394. + psos*)
  66395. + ;;
  66396. + solaris*)
  66397. + case $cc_basename in
  66398. + CC*)
  66399. + # Sun C++ 4.2, 5.x and Centerline C++
  66400. + lt_prog_compiler_pic_CXX='-KPIC'
  66401. + lt_prog_compiler_static_CXX='-Bstatic'
  66402. + lt_prog_compiler_wl_CXX='-Qoption ld '
  66403. + ;;
  66404. + gcx*)
  66405. + # Green Hills C++ Compiler
  66406. + lt_prog_compiler_pic_CXX='-PIC'
  66407. + ;;
  66408. + *)
  66409. + ;;
  66410. + esac
  66411. + ;;
  66412. + sunos4*)
  66413. + case $cc_basename in
  66414. + CC*)
  66415. + # Sun C++ 4.x
  66416. + lt_prog_compiler_pic_CXX='-pic'
  66417. + lt_prog_compiler_static_CXX='-Bstatic'
  66418. + ;;
  66419. + lcc*)
  66420. + # Lucid
  66421. + lt_prog_compiler_pic_CXX='-pic'
  66422. + ;;
  66423. + *)
  66424. + ;;
  66425. + esac
  66426. + ;;
  66427. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  66428. + case $cc_basename in
  66429. + CC*)
  66430. + lt_prog_compiler_wl_CXX='-Wl,'
  66431. + lt_prog_compiler_pic_CXX='-KPIC'
  66432. + lt_prog_compiler_static_CXX='-Bstatic'
  66433. + ;;
  66434. + esac
  66435. + ;;
  66436. + tandem*)
  66437. + case $cc_basename in
  66438. + NCC*)
  66439. + # NonStop-UX NCC 3.20
  66440. + lt_prog_compiler_pic_CXX='-KPIC'
  66441. + ;;
  66442. + *)
  66443. + ;;
  66444. + esac
  66445. + ;;
  66446. + vxworks*)
  66447. + ;;
  66448. + *)
  66449. + lt_prog_compiler_can_build_shared_CXX=no
  66450. + ;;
  66451. + esac
  66452. + fi
  66453. - ;
  66454. - return 0;
  66455. -}
  66456. -_ACEOF
  66457. -rm -f conftest$ac_exeext
  66458. -if { (ac_try="$ac_link"
  66459. -case "(($ac_try" in
  66460. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  66461. - *) ac_try_echo=$ac_try;;
  66462. -esac
  66463. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  66464. -$as_echo "$ac_try_echo") >&5
  66465. - (eval "$ac_link") 2>&5
  66466. - ac_status=$?
  66467. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  66468. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  66469. - { (case "(($ac_try" in
  66470. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  66471. - *) ac_try_echo=$ac_try;;
  66472. +case $host_os in
  66473. + # For platforms which do not support PIC, -DPIC is meaningless:
  66474. + *djgpp*)
  66475. + lt_prog_compiler_pic_CXX=
  66476. + ;;
  66477. + *)
  66478. + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
  66479. + ;;
  66480. esac
  66481. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  66482. -$as_echo "$ac_try_echo") >&5
  66483. - (eval "$ac_try") 2>&5
  66484. - ac_status=$?
  66485. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  66486. - (exit $ac_status); }; }; then
  66487. - ac_cv_sizeof_int16_t=`cat conftest.val`
  66488. -else
  66489. - $as_echo "$as_me: program exited with status $ac_status" >&5
  66490. -$as_echo "$as_me: failed program was:" >&5
  66491. -sed 's/^/| /' conftest.$ac_ext >&5
  66492. -
  66493. -( exit $ac_status )
  66494. -if test "$ac_cv_type_int16_t" = yes; then
  66495. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int16_t)
  66496. -See \`config.log' for more details." >&5
  66497. -$as_echo "$as_me: error: cannot compute sizeof (int16_t)
  66498. -See \`config.log' for more details." >&2;}
  66499. - { (exit 77); exit 77; }; }
  66500. - else
  66501. - ac_cv_sizeof_int16_t=0
  66502. - fi
  66503. -fi
  66504. -rm -rf conftest.dSYM
  66505. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  66506. -fi
  66507. -rm -f conftest.val
  66508. -fi
  66509. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int16_t" >&5
  66510. -$as_echo "$ac_cv_sizeof_int16_t" >&6; }
  66511. -
  66512. -
  66513. -
  66514. -cat >>confdefs.h <<_ACEOF
  66515. -#define SIZEOF_INT16_T $ac_cv_sizeof_int16_t
  66516. -_ACEOF
  66517. -
  66518. -
  66519. -
  66520. -cat >>confdefs.h <<\_ACEOF
  66521. -#define HAVE_INT16_T 1
  66522. -_ACEOF
  66523. -
  66524. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
  66525. +$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
  66526. -fi
  66527. -{ $as_echo "$as_me:$LINENO: checking for short" >&5
  66528. -$as_echo_n "checking for short... " >&6; }
  66529. -if test "${ac_cv_type_short+set}" = set; then
  66530. +#
  66531. +# Check to make sure the PIC flag actually works.
  66532. +#
  66533. +if test -n "$lt_prog_compiler_pic_CXX"; then
  66534. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
  66535. +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
  66536. +if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
  66537. $as_echo_n "(cached) " >&6
  66538. else
  66539. - ac_cv_type_short=no
  66540. -cat >conftest.$ac_ext <<_ACEOF
  66541. -/* confdefs.h. */
  66542. -_ACEOF
  66543. -cat confdefs.h >>conftest.$ac_ext
  66544. -cat >>conftest.$ac_ext <<_ACEOF
  66545. -/* end confdefs.h. */
  66546. -
  66547. -/* What a mess.. many systems have added the (now standard) bit types
  66548. - * in their own ways, so we need to scan a wide variety of headers to
  66549. - * find them..
  66550. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  66551. - */
  66552. -#if HAVE_SYS_TYPES_H
  66553. -#include <sys/types.h>
  66554. -#endif
  66555. -#if STDC_HEADERS
  66556. -#include <stdlib.h>
  66557. -#include <stddef.h>
  66558. -#endif
  66559. -#if HAVE_INTTYPES_H
  66560. -#include <inttypes.h>
  66561. -#endif
  66562. -#if HAVE_SYS_BITYPES_H
  66563. -#include <sys/bitypes.h>
  66564. -#endif
  66565. -#if HAVE_SYS_SELECT_H
  66566. -#include <sys/select.h>
  66567. -#endif
  66568. -#if HAVE_NETINET_IN_SYSTM_H
  66569. -#include <netinet/in_systm.h>
  66570. -#endif
  66571. -
  66572. -
  66573. -int
  66574. -main ()
  66575. -{
  66576. -if (sizeof (short))
  66577. - return 0;
  66578. - ;
  66579. - return 0;
  66580. -}
  66581. -_ACEOF
  66582. -rm -f conftest.$ac_objext
  66583. -if { (ac_try="$ac_compile"
  66584. -case "(($ac_try" in
  66585. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  66586. - *) ac_try_echo=$ac_try;;
  66587. -esac
  66588. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  66589. -$as_echo "$ac_try_echo") >&5
  66590. - (eval "$ac_compile") 2>conftest.er1
  66591. - ac_status=$?
  66592. - grep -v '^ *+' conftest.er1 >conftest.err
  66593. - rm -f conftest.er1
  66594. - cat conftest.err >&5
  66595. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  66596. - (exit $ac_status); } && {
  66597. - test -z "$ac_c_werror_flag" ||
  66598. - test ! -s conftest.err
  66599. - } && test -s conftest.$ac_objext; then
  66600. - cat >conftest.$ac_ext <<_ACEOF
  66601. -/* confdefs.h. */
  66602. -_ACEOF
  66603. -cat confdefs.h >>conftest.$ac_ext
  66604. -cat >>conftest.$ac_ext <<_ACEOF
  66605. -/* end confdefs.h. */
  66606. -
  66607. -/* What a mess.. many systems have added the (now standard) bit types
  66608. - * in their own ways, so we need to scan a wide variety of headers to
  66609. - * find them..
  66610. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  66611. - */
  66612. -#if HAVE_SYS_TYPES_H
  66613. -#include <sys/types.h>
  66614. -#endif
  66615. -#if STDC_HEADERS
  66616. -#include <stdlib.h>
  66617. -#include <stddef.h>
  66618. -#endif
  66619. -#if HAVE_INTTYPES_H
  66620. -#include <inttypes.h>
  66621. -#endif
  66622. -#if HAVE_SYS_BITYPES_H
  66623. -#include <sys/bitypes.h>
  66624. -#endif
  66625. -#if HAVE_SYS_SELECT_H
  66626. -#include <sys/select.h>
  66627. -#endif
  66628. -#if HAVE_NETINET_IN_SYSTM_H
  66629. -#include <netinet/in_systm.h>
  66630. -#endif
  66631. + lt_cv_prog_compiler_pic_works_CXX=no
  66632. + ac_outfile=conftest.$ac_objext
  66633. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  66634. + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
  66635. + # Insert the option either (1) after the last *FLAGS variable, or
  66636. + # (2) before a word containing "conftest.", or (3) at the end.
  66637. + # Note that $ac_compile itself does not contain backslashes and begins
  66638. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  66639. + # The option is referenced via a variable to avoid confusing sed.
  66640. + lt_compile=`echo "$ac_compile" | $SED \
  66641. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  66642. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  66643. + -e 's:$: $lt_compiler_flag:'`
  66644. + (eval echo "\"\$as_me:14164: $lt_compile\"" >&5)
  66645. + (eval "$lt_compile" 2>conftest.err)
  66646. + ac_status=$?
  66647. + cat conftest.err >&5
  66648. + echo "$as_me:14168: \$? = $ac_status" >&5
  66649. + if (exit $ac_status) && test -s "$ac_outfile"; then
  66650. + # The compiler can only warn and ignore the option if not recognized
  66651. + # So say no if there are warnings other than the usual output.
  66652. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  66653. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  66654. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  66655. + lt_cv_prog_compiler_pic_works_CXX=yes
  66656. + fi
  66657. + fi
  66658. + $RM conftest*
  66659. +fi
  66660. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
  66661. +$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
  66662. -int
  66663. -main ()
  66664. -{
  66665. -if (sizeof ((short)))
  66666. - return 0;
  66667. - ;
  66668. - return 0;
  66669. -}
  66670. -_ACEOF
  66671. -rm -f conftest.$ac_objext
  66672. -if { (ac_try="$ac_compile"
  66673. -case "(($ac_try" in
  66674. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  66675. - *) ac_try_echo=$ac_try;;
  66676. -esac
  66677. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  66678. -$as_echo "$ac_try_echo") >&5
  66679. - (eval "$ac_compile") 2>conftest.er1
  66680. - ac_status=$?
  66681. - grep -v '^ *+' conftest.er1 >conftest.err
  66682. - rm -f conftest.er1
  66683. - cat conftest.err >&5
  66684. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  66685. - (exit $ac_status); } && {
  66686. - test -z "$ac_c_werror_flag" ||
  66687. - test ! -s conftest.err
  66688. - } && test -s conftest.$ac_objext; then
  66689. - :
  66690. +if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
  66691. + case $lt_prog_compiler_pic_CXX in
  66692. + "" | " "*) ;;
  66693. + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
  66694. + esac
  66695. else
  66696. - $as_echo "$as_me: failed program was:" >&5
  66697. -sed 's/^/| /' conftest.$ac_ext >&5
  66698. + lt_prog_compiler_pic_CXX=
  66699. + lt_prog_compiler_can_build_shared_CXX=no
  66700. +fi
  66701. - ac_cv_type_short=yes
  66702. fi
  66703. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  66704. +
  66705. +
  66706. +#
  66707. +# Check to make sure the static flag actually works.
  66708. +#
  66709. +wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
  66710. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  66711. +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  66712. +if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
  66713. + $as_echo_n "(cached) " >&6
  66714. else
  66715. - $as_echo "$as_me: failed program was:" >&5
  66716. -sed 's/^/| /' conftest.$ac_ext >&5
  66717. + lt_cv_prog_compiler_static_works_CXX=no
  66718. + save_LDFLAGS="$LDFLAGS"
  66719. + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  66720. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  66721. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  66722. + # The linker can only warn and ignore the option if not recognized
  66723. + # So say no if there are warnings
  66724. + if test -s conftest.err; then
  66725. + # Append any errors to the config.log.
  66726. + cat conftest.err 1>&5
  66727. + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  66728. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  66729. + if diff conftest.exp conftest.er2 >/dev/null; then
  66730. + lt_cv_prog_compiler_static_works_CXX=yes
  66731. + fi
  66732. + else
  66733. + lt_cv_prog_compiler_static_works_CXX=yes
  66734. + fi
  66735. + fi
  66736. + $RM -r conftest*
  66737. + LDFLAGS="$save_LDFLAGS"
  66738. +fi
  66739. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
  66740. +$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
  66741. +if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
  66742. + :
  66743. +else
  66744. + lt_prog_compiler_static_CXX=
  66745. fi
  66746. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  66747. +
  66748. +
  66749. +
  66750. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  66751. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  66752. +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
  66753. + $as_echo_n "(cached) " >&6
  66754. +else
  66755. + lt_cv_prog_compiler_c_o_CXX=no
  66756. + $RM -r conftest 2>/dev/null
  66757. + mkdir conftest
  66758. + cd conftest
  66759. + mkdir out
  66760. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  66761. +
  66762. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  66763. + # Insert the option either (1) after the last *FLAGS variable, or
  66764. + # (2) before a word containing "conftest.", or (3) at the end.
  66765. + # Note that $ac_compile itself does not contain backslashes and begins
  66766. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  66767. + lt_compile=`echo "$ac_compile" | $SED \
  66768. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  66769. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  66770. + -e 's:$: $lt_compiler_flag:'`
  66771. + (eval echo "\"\$as_me:14263: $lt_compile\"" >&5)
  66772. + (eval "$lt_compile" 2>out/conftest.err)
  66773. + ac_status=$?
  66774. + cat out/conftest.err >&5
  66775. + echo "$as_me:14267: \$? = $ac_status" >&5
  66776. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  66777. + then
  66778. + # The compiler can only warn and ignore the option if not recognized
  66779. + # So say no if there are warnings
  66780. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  66781. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  66782. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  66783. + lt_cv_prog_compiler_c_o_CXX=yes
  66784. + fi
  66785. + fi
  66786. + chmod u+w . 2>&5
  66787. + $RM conftest*
  66788. + # SGI C++ compiler will create directory out/ii_files/ for
  66789. + # template instantiation
  66790. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  66791. + $RM out/* && rmdir out
  66792. + cd ..
  66793. + $RM -r conftest
  66794. + $RM conftest*
  66795. +
  66796. fi
  66797. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
  66798. -$as_echo "$ac_cv_type_short" >&6; }
  66799. -if test $ac_cv_type_short = yes; then
  66800. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  66801. +$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
  66802. - # The cast to long int works around a bug in the HP C Compiler
  66803. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  66804. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  66805. -# This bug is HP SR number 8606223364.
  66806. -{ $as_echo "$as_me:$LINENO: checking size of short" >&5
  66807. -$as_echo_n "checking size of short... " >&6; }
  66808. -if test "${ac_cv_sizeof_short+set}" = set; then
  66809. +
  66810. +
  66811. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  66812. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  66813. +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
  66814. $as_echo_n "(cached) " >&6
  66815. else
  66816. - if test "$cross_compiling" = yes; then
  66817. - # Depending upon the size, compute the lo and hi bounds.
  66818. -cat >conftest.$ac_ext <<_ACEOF
  66819. -/* confdefs.h. */
  66820. -_ACEOF
  66821. -cat confdefs.h >>conftest.$ac_ext
  66822. -cat >>conftest.$ac_ext <<_ACEOF
  66823. -/* end confdefs.h. */
  66824. + lt_cv_prog_compiler_c_o_CXX=no
  66825. + $RM -r conftest 2>/dev/null
  66826. + mkdir conftest
  66827. + cd conftest
  66828. + mkdir out
  66829. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  66830. -#include <stdio.h>
  66831. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  66832. + # Insert the option either (1) after the last *FLAGS variable, or
  66833. + # (2) before a word containing "conftest.", or (3) at the end.
  66834. + # Note that $ac_compile itself does not contain backslashes and begins
  66835. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  66836. + lt_compile=`echo "$ac_compile" | $SED \
  66837. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  66838. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  66839. + -e 's:$: $lt_compiler_flag:'`
  66840. + (eval echo "\"\$as_me:14315: $lt_compile\"" >&5)
  66841. + (eval "$lt_compile" 2>out/conftest.err)
  66842. + ac_status=$?
  66843. + cat out/conftest.err >&5
  66844. + echo "$as_me:14319: \$? = $ac_status" >&5
  66845. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  66846. + then
  66847. + # The compiler can only warn and ignore the option if not recognized
  66848. + # So say no if there are warnings
  66849. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  66850. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  66851. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  66852. + lt_cv_prog_compiler_c_o_CXX=yes
  66853. + fi
  66854. + fi
  66855. + chmod u+w . 2>&5
  66856. + $RM conftest*
  66857. + # SGI C++ compiler will create directory out/ii_files/ for
  66858. + # template instantiation
  66859. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  66860. + $RM out/* && rmdir out
  66861. + cd ..
  66862. + $RM -r conftest
  66863. + $RM conftest*
  66864. -/* What a mess.. many systems have added the (now standard) bit types
  66865. - * in their own ways, so we need to scan a wide variety of headers to
  66866. - * find them..
  66867. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  66868. - */
  66869. -#if HAVE_SYS_TYPES_H
  66870. -#include <sys/types.h>
  66871. -#endif
  66872. -#if STDC_HEADERS
  66873. -#include <stdlib.h>
  66874. -#include <stddef.h>
  66875. -#endif
  66876. -#if HAVE_INTTYPES_H
  66877. -#include <inttypes.h>
  66878. -#endif
  66879. -#if HAVE_SYS_BITYPES_H
  66880. -#include <sys/bitypes.h>
  66881. -#endif
  66882. -#if HAVE_SYS_SELECT_H
  66883. -#include <sys/select.h>
  66884. -#endif
  66885. -#if HAVE_NETINET_IN_SYSTM_H
  66886. -#include <netinet/in_systm.h>
  66887. -#endif
  66888. +fi
  66889. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  66890. +$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
  66891. -int
  66892. -main ()
  66893. -{
  66894. -static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= 0)];
  66895. -test_array [0] = 0
  66896. - ;
  66897. - return 0;
  66898. -}
  66899. -_ACEOF
  66900. -rm -f conftest.$ac_objext
  66901. -if { (ac_try="$ac_compile"
  66902. -case "(($ac_try" in
  66903. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  66904. - *) ac_try_echo=$ac_try;;
  66905. -esac
  66906. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  66907. -$as_echo "$ac_try_echo") >&5
  66908. - (eval "$ac_compile") 2>conftest.er1
  66909. - ac_status=$?
  66910. - grep -v '^ *+' conftest.er1 >conftest.err
  66911. - rm -f conftest.er1
  66912. - cat conftest.err >&5
  66913. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  66914. - (exit $ac_status); } && {
  66915. - test -z "$ac_c_werror_flag" ||
  66916. - test ! -s conftest.err
  66917. - } && test -s conftest.$ac_objext; then
  66918. - ac_lo=0 ac_mid=0
  66919. - while :; do
  66920. - cat >conftest.$ac_ext <<_ACEOF
  66921. -/* confdefs.h. */
  66922. -_ACEOF
  66923. -cat confdefs.h >>conftest.$ac_ext
  66924. -cat >>conftest.$ac_ext <<_ACEOF
  66925. -/* end confdefs.h. */
  66926. +hard_links="nottested"
  66927. +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
  66928. + # do not overwrite the value of need_locks provided by the user
  66929. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  66930. +$as_echo_n "checking if we can lock with hard links... " >&6; }
  66931. + hard_links=yes
  66932. + $RM conftest*
  66933. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  66934. + touch conftest.a
  66935. + ln conftest.a conftest.b 2>&5 || hard_links=no
  66936. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  66937. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  66938. +$as_echo "$hard_links" >&6; }
  66939. + if test "$hard_links" = no; then
  66940. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  66941. +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  66942. + need_locks=warn
  66943. + fi
  66944. +else
  66945. + need_locks=no
  66946. +fi
  66947. -#include <stdio.h>
  66948. -/* What a mess.. many systems have added the (now standard) bit types
  66949. - * in their own ways, so we need to scan a wide variety of headers to
  66950. - * find them..
  66951. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  66952. - */
  66953. -#if HAVE_SYS_TYPES_H
  66954. -#include <sys/types.h>
  66955. -#endif
  66956. -#if STDC_HEADERS
  66957. -#include <stdlib.h>
  66958. -#include <stddef.h>
  66959. -#endif
  66960. -#if HAVE_INTTYPES_H
  66961. -#include <inttypes.h>
  66962. -#endif
  66963. -#if HAVE_SYS_BITYPES_H
  66964. -#include <sys/bitypes.h>
  66965. -#endif
  66966. -#if HAVE_SYS_SELECT_H
  66967. -#include <sys/select.h>
  66968. -#endif
  66969. -#if HAVE_NETINET_IN_SYSTM_H
  66970. -#include <netinet/in_systm.h>
  66971. -#endif
  66972. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  66973. +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  66974. +
  66975. + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  66976. + case $host_os in
  66977. + aix[4-9]*)
  66978. + # If we're using GNU nm, then we don't want the "-C" option.
  66979. + # -C means demangle to AIX nm, but means don't demangle with GNU nm
  66980. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  66981. + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  66982. + else
  66983. + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  66984. + fi
  66985. + ;;
  66986. + pw32*)
  66987. + export_symbols_cmds_CXX="$ltdll_cmds"
  66988. + ;;
  66989. + cygwin* | mingw* | cegcc*)
  66990. + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  66991. + ;;
  66992. + linux* | k*bsd*-gnu)
  66993. + link_all_deplibs_CXX=no
  66994. + ;;
  66995. + *)
  66996. + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  66997. + ;;
  66998. + esac
  66999. + exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  67000. +
  67001. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
  67002. +$as_echo "$ld_shlibs_CXX" >&6; }
  67003. +test "$ld_shlibs_CXX" = no && can_build_shared=no
  67004. +with_gnu_ld_CXX=$with_gnu_ld
  67005. -int
  67006. -main ()
  67007. -{
  67008. -static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
  67009. -test_array [0] = 0
  67010. - ;
  67011. - return 0;
  67012. -}
  67013. -_ACEOF
  67014. -rm -f conftest.$ac_objext
  67015. -if { (ac_try="$ac_compile"
  67016. -case "(($ac_try" in
  67017. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  67018. - *) ac_try_echo=$ac_try;;
  67019. -esac
  67020. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  67021. -$as_echo "$ac_try_echo") >&5
  67022. - (eval "$ac_compile") 2>conftest.er1
  67023. - ac_status=$?
  67024. - grep -v '^ *+' conftest.er1 >conftest.err
  67025. - rm -f conftest.er1
  67026. - cat conftest.err >&5
  67027. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  67028. - (exit $ac_status); } && {
  67029. - test -z "$ac_c_werror_flag" ||
  67030. - test ! -s conftest.err
  67031. - } && test -s conftest.$ac_objext; then
  67032. - ac_hi=$ac_mid; break
  67033. -else
  67034. - $as_echo "$as_me: failed program was:" >&5
  67035. -sed 's/^/| /' conftest.$ac_ext >&5
  67036. - ac_lo=`expr $ac_mid + 1`
  67037. - if test $ac_lo -le $ac_mid; then
  67038. - ac_lo= ac_hi=
  67039. - break
  67040. - fi
  67041. - ac_mid=`expr 2 '*' $ac_mid + 1`
  67042. -fi
  67043. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  67044. - done
  67045. -else
  67046. - $as_echo "$as_me: failed program was:" >&5
  67047. -sed 's/^/| /' conftest.$ac_ext >&5
  67048. - cat >conftest.$ac_ext <<_ACEOF
  67049. -/* confdefs.h. */
  67050. -_ACEOF
  67051. -cat confdefs.h >>conftest.$ac_ext
  67052. -cat >>conftest.$ac_ext <<_ACEOF
  67053. -/* end confdefs.h. */
  67054. -#include <stdio.h>
  67055. +#
  67056. +# Do we need to explicitly link libc?
  67057. +#
  67058. +case "x$archive_cmds_need_lc_CXX" in
  67059. +x|xyes)
  67060. + # Assume -lc should be added
  67061. + archive_cmds_need_lc_CXX=yes
  67062. +
  67063. + if test "$enable_shared" = yes && test "$GCC" = yes; then
  67064. + case $archive_cmds_CXX in
  67065. + *'~'*)
  67066. + # FIXME: we may have to deal with multi-command sequences.
  67067. + ;;
  67068. + '$CC '*)
  67069. + # Test whether the compiler implicitly links with -lc since on some
  67070. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  67071. + # to ld, don't add -lc before -lgcc.
  67072. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  67073. +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  67074. + $RM conftest*
  67075. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  67076. +
  67077. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  67078. + (eval $ac_compile) 2>&5
  67079. + ac_status=$?
  67080. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  67081. + test $ac_status = 0; } 2>conftest.err; then
  67082. + soname=conftest
  67083. + lib=conftest
  67084. + libobjs=conftest.$ac_objext
  67085. + deplibs=
  67086. + wl=$lt_prog_compiler_wl_CXX
  67087. + pic_flag=$lt_prog_compiler_pic_CXX
  67088. + compiler_flags=-v
  67089. + linker_flags=-v
  67090. + verstring=
  67091. + output_objdir=.
  67092. + libname=conftest
  67093. + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
  67094. + allow_undefined_flag_CXX=
  67095. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  67096. + (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  67097. + ac_status=$?
  67098. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  67099. + test $ac_status = 0; }
  67100. + then
  67101. + archive_cmds_need_lc_CXX=no
  67102. + else
  67103. + archive_cmds_need_lc_CXX=yes
  67104. + fi
  67105. + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
  67106. + else
  67107. + cat conftest.err 1>&5
  67108. + fi
  67109. + $RM conftest*
  67110. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
  67111. +$as_echo "$archive_cmds_need_lc_CXX" >&6; }
  67112. + ;;
  67113. + esac
  67114. + fi
  67115. + ;;
  67116. +esac
  67117. -/* What a mess.. many systems have added the (now standard) bit types
  67118. - * in their own ways, so we need to scan a wide variety of headers to
  67119. - * find them..
  67120. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  67121. - */
  67122. -#if HAVE_SYS_TYPES_H
  67123. -#include <sys/types.h>
  67124. -#endif
  67125. -#if STDC_HEADERS
  67126. -#include <stdlib.h>
  67127. -#include <stddef.h>
  67128. -#endif
  67129. -#if HAVE_INTTYPES_H
  67130. -#include <inttypes.h>
  67131. -#endif
  67132. -#if HAVE_SYS_BITYPES_H
  67133. -#include <sys/bitypes.h>
  67134. -#endif
  67135. -#if HAVE_SYS_SELECT_H
  67136. -#include <sys/select.h>
  67137. -#endif
  67138. -#if HAVE_NETINET_IN_SYSTM_H
  67139. -#include <netinet/in_systm.h>
  67140. -#endif
  67141. -int
  67142. -main ()
  67143. -{
  67144. -static int test_array [1 - 2 * !(((long int) (sizeof (short))) < 0)];
  67145. -test_array [0] = 0
  67146. - ;
  67147. - return 0;
  67148. -}
  67149. -_ACEOF
  67150. -rm -f conftest.$ac_objext
  67151. -if { (ac_try="$ac_compile"
  67152. -case "(($ac_try" in
  67153. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  67154. - *) ac_try_echo=$ac_try;;
  67155. -esac
  67156. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  67157. -$as_echo "$ac_try_echo") >&5
  67158. - (eval "$ac_compile") 2>conftest.er1
  67159. - ac_status=$?
  67160. - grep -v '^ *+' conftest.er1 >conftest.err
  67161. - rm -f conftest.er1
  67162. - cat conftest.err >&5
  67163. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  67164. - (exit $ac_status); } && {
  67165. - test -z "$ac_c_werror_flag" ||
  67166. - test ! -s conftest.err
  67167. - } && test -s conftest.$ac_objext; then
  67168. - ac_hi=-1 ac_mid=-1
  67169. - while :; do
  67170. - cat >conftest.$ac_ext <<_ACEOF
  67171. -/* confdefs.h. */
  67172. -_ACEOF
  67173. -cat confdefs.h >>conftest.$ac_ext
  67174. -cat >>conftest.$ac_ext <<_ACEOF
  67175. -/* end confdefs.h. */
  67176. -#include <stdio.h>
  67177. -/* What a mess.. many systems have added the (now standard) bit types
  67178. - * in their own ways, so we need to scan a wide variety of headers to
  67179. - * find them..
  67180. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  67181. - */
  67182. -#if HAVE_SYS_TYPES_H
  67183. -#include <sys/types.h>
  67184. -#endif
  67185. -#if STDC_HEADERS
  67186. -#include <stdlib.h>
  67187. -#include <stddef.h>
  67188. -#endif
  67189. -#if HAVE_INTTYPES_H
  67190. -#include <inttypes.h>
  67191. -#endif
  67192. -#if HAVE_SYS_BITYPES_H
  67193. -#include <sys/bitypes.h>
  67194. -#endif
  67195. -#if HAVE_SYS_SELECT_H
  67196. -#include <sys/select.h>
  67197. -#endif
  67198. -#if HAVE_NETINET_IN_SYSTM_H
  67199. -#include <netinet/in_systm.h>
  67200. -#endif
  67201. -int
  67202. -main ()
  67203. -{
  67204. -static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= $ac_mid)];
  67205. -test_array [0] = 0
  67206. - ;
  67207. - return 0;
  67208. -}
  67209. -_ACEOF
  67210. -rm -f conftest.$ac_objext
  67211. -if { (ac_try="$ac_compile"
  67212. -case "(($ac_try" in
  67213. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  67214. - *) ac_try_echo=$ac_try;;
  67215. -esac
  67216. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  67217. -$as_echo "$ac_try_echo") >&5
  67218. - (eval "$ac_compile") 2>conftest.er1
  67219. - ac_status=$?
  67220. - grep -v '^ *+' conftest.er1 >conftest.err
  67221. - rm -f conftest.er1
  67222. - cat conftest.err >&5
  67223. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  67224. - (exit $ac_status); } && {
  67225. - test -z "$ac_c_werror_flag" ||
  67226. - test ! -s conftest.err
  67227. - } && test -s conftest.$ac_objext; then
  67228. - ac_lo=$ac_mid; break
  67229. -else
  67230. - $as_echo "$as_me: failed program was:" >&5
  67231. -sed 's/^/| /' conftest.$ac_ext >&5
  67232. - ac_hi=`expr '(' $ac_mid ')' - 1`
  67233. - if test $ac_mid -le $ac_hi; then
  67234. - ac_lo= ac_hi=
  67235. - break
  67236. - fi
  67237. - ac_mid=`expr 2 '*' $ac_mid`
  67238. -fi
  67239. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  67240. - done
  67241. -else
  67242. - $as_echo "$as_me: failed program was:" >&5
  67243. -sed 's/^/| /' conftest.$ac_ext >&5
  67244. - ac_lo= ac_hi=
  67245. -fi
  67246. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  67247. -fi
  67248. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  67249. -# Binary search between lo and hi bounds.
  67250. -while test "x$ac_lo" != "x$ac_hi"; do
  67251. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  67252. - cat >conftest.$ac_ext <<_ACEOF
  67253. -/* confdefs.h. */
  67254. -_ACEOF
  67255. -cat confdefs.h >>conftest.$ac_ext
  67256. -cat >>conftest.$ac_ext <<_ACEOF
  67257. -/* end confdefs.h. */
  67258. -#include <stdio.h>
  67259. -/* What a mess.. many systems have added the (now standard) bit types
  67260. - * in their own ways, so we need to scan a wide variety of headers to
  67261. - * find them..
  67262. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  67263. - */
  67264. -#if HAVE_SYS_TYPES_H
  67265. -#include <sys/types.h>
  67266. -#endif
  67267. -#if STDC_HEADERS
  67268. -#include <stdlib.h>
  67269. -#include <stddef.h>
  67270. -#endif
  67271. -#if HAVE_INTTYPES_H
  67272. -#include <inttypes.h>
  67273. -#endif
  67274. -#if HAVE_SYS_BITYPES_H
  67275. -#include <sys/bitypes.h>
  67276. -#endif
  67277. -#if HAVE_SYS_SELECT_H
  67278. -#include <sys/select.h>
  67279. -#endif
  67280. -#if HAVE_NETINET_IN_SYSTM_H
  67281. -#include <netinet/in_systm.h>
  67282. -#endif
  67283. -int
  67284. -main ()
  67285. -{
  67286. -static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
  67287. -test_array [0] = 0
  67288. - ;
  67289. - return 0;
  67290. -}
  67291. -_ACEOF
  67292. -rm -f conftest.$ac_objext
  67293. -if { (ac_try="$ac_compile"
  67294. -case "(($ac_try" in
  67295. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  67296. - *) ac_try_echo=$ac_try;;
  67297. -esac
  67298. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  67299. -$as_echo "$ac_try_echo") >&5
  67300. - (eval "$ac_compile") 2>conftest.er1
  67301. - ac_status=$?
  67302. - grep -v '^ *+' conftest.er1 >conftest.err
  67303. - rm -f conftest.er1
  67304. - cat conftest.err >&5
  67305. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  67306. - (exit $ac_status); } && {
  67307. - test -z "$ac_c_werror_flag" ||
  67308. - test ! -s conftest.err
  67309. - } && test -s conftest.$ac_objext; then
  67310. - ac_hi=$ac_mid
  67311. -else
  67312. - $as_echo "$as_me: failed program was:" >&5
  67313. -sed 's/^/| /' conftest.$ac_ext >&5
  67314. - ac_lo=`expr '(' $ac_mid ')' + 1`
  67315. -fi
  67316. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  67317. -done
  67318. -case $ac_lo in
  67319. -?*) ac_cv_sizeof_short=$ac_lo;;
  67320. -'') if test "$ac_cv_type_short" = yes; then
  67321. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
  67322. -See \`config.log' for more details." >&5
  67323. -$as_echo "$as_me: error: cannot compute sizeof (short)
  67324. -See \`config.log' for more details." >&2;}
  67325. - { (exit 77); exit 77; }; }
  67326. - else
  67327. - ac_cv_sizeof_short=0
  67328. - fi ;;
  67329. -esac
  67330. -else
  67331. - cat >conftest.$ac_ext <<_ACEOF
  67332. -/* confdefs.h. */
  67333. -_ACEOF
  67334. -cat confdefs.h >>conftest.$ac_ext
  67335. -cat >>conftest.$ac_ext <<_ACEOF
  67336. -/* end confdefs.h. */
  67337. -#include <stdio.h>
  67338. -/* What a mess.. many systems have added the (now standard) bit types
  67339. - * in their own ways, so we need to scan a wide variety of headers to
  67340. - * find them..
  67341. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  67342. - */
  67343. -#if HAVE_SYS_TYPES_H
  67344. -#include <sys/types.h>
  67345. -#endif
  67346. -#if STDC_HEADERS
  67347. -#include <stdlib.h>
  67348. -#include <stddef.h>
  67349. -#endif
  67350. -#if HAVE_INTTYPES_H
  67351. -#include <inttypes.h>
  67352. -#endif
  67353. -#if HAVE_SYS_BITYPES_H
  67354. -#include <sys/bitypes.h>
  67355. -#endif
  67356. -#if HAVE_SYS_SELECT_H
  67357. -#include <sys/select.h>
  67358. -#endif
  67359. -#if HAVE_NETINET_IN_SYSTM_H
  67360. -#include <netinet/in_systm.h>
  67361. -#endif
  67362. -static long int longval () { return (long int) (sizeof (short)); }
  67363. -static unsigned long int ulongval () { return (long int) (sizeof (short)); }
  67364. -#include <stdio.h>
  67365. -#include <stdlib.h>
  67366. -int
  67367. -main ()
  67368. -{
  67369. - FILE *f = fopen ("conftest.val", "w");
  67370. - if (! f)
  67371. - return 1;
  67372. - if (((long int) (sizeof (short))) < 0)
  67373. - {
  67374. - long int i = longval ();
  67375. - if (i != ((long int) (sizeof (short))))
  67376. - return 1;
  67377. - fprintf (f, "%ld", i);
  67378. - }
  67379. - else
  67380. - {
  67381. - unsigned long int i = ulongval ();
  67382. - if (i != ((long int) (sizeof (short))))
  67383. - return 1;
  67384. - fprintf (f, "%lu", i);
  67385. - }
  67386. - /* Do not output a trailing newline, as this causes \r\n confusion
  67387. - on some platforms. */
  67388. - return ferror (f) || fclose (f) != 0;
  67389. - ;
  67390. - return 0;
  67391. -}
  67392. -_ACEOF
  67393. -rm -f conftest$ac_exeext
  67394. -if { (ac_try="$ac_link"
  67395. -case "(($ac_try" in
  67396. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  67397. - *) ac_try_echo=$ac_try;;
  67398. -esac
  67399. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  67400. -$as_echo "$ac_try_echo") >&5
  67401. - (eval "$ac_link") 2>&5
  67402. - ac_status=$?
  67403. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  67404. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  67405. - { (case "(($ac_try" in
  67406. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  67407. - *) ac_try_echo=$ac_try;;
  67408. -esac
  67409. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  67410. -$as_echo "$ac_try_echo") >&5
  67411. - (eval "$ac_try") 2>&5
  67412. - ac_status=$?
  67413. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  67414. - (exit $ac_status); }; }; then
  67415. - ac_cv_sizeof_short=`cat conftest.val`
  67416. -else
  67417. - $as_echo "$as_me: program exited with status $ac_status" >&5
  67418. -$as_echo "$as_me: failed program was:" >&5
  67419. -sed 's/^/| /' conftest.$ac_ext >&5
  67420. -( exit $ac_status )
  67421. -if test "$ac_cv_type_short" = yes; then
  67422. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
  67423. -See \`config.log' for more details." >&5
  67424. -$as_echo "$as_me: error: cannot compute sizeof (short)
  67425. -See \`config.log' for more details." >&2;}
  67426. - { (exit 77); exit 77; }; }
  67427. - else
  67428. - ac_cv_sizeof_short=0
  67429. - fi
  67430. -fi
  67431. -rm -rf conftest.dSYM
  67432. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  67433. -fi
  67434. -rm -f conftest.val
  67435. -fi
  67436. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
  67437. -$as_echo "$ac_cv_sizeof_short" >&6; }
  67438. -cat >>confdefs.h <<_ACEOF
  67439. -#define SIZEOF_SHORT $ac_cv_sizeof_short
  67440. -_ACEOF
  67441. -cat >>confdefs.h <<\_ACEOF
  67442. -#define HAVE_SHORT 1
  67443. -_ACEOF
  67444. -fi
  67445. -{ $as_echo "$as_me:$LINENO: checking for int" >&5
  67446. -$as_echo_n "checking for int... " >&6; }
  67447. -if test "${ac_cv_type_int+set}" = set; then
  67448. - $as_echo_n "(cached) " >&6
  67449. -else
  67450. - ac_cv_type_int=no
  67451. -cat >conftest.$ac_ext <<_ACEOF
  67452. -/* confdefs.h. */
  67453. -_ACEOF
  67454. -cat confdefs.h >>conftest.$ac_ext
  67455. -cat >>conftest.$ac_ext <<_ACEOF
  67456. -/* end confdefs.h. */
  67457. -/* What a mess.. many systems have added the (now standard) bit types
  67458. - * in their own ways, so we need to scan a wide variety of headers to
  67459. - * find them..
  67460. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  67461. - */
  67462. -#if HAVE_SYS_TYPES_H
  67463. -#include <sys/types.h>
  67464. -#endif
  67465. -#if STDC_HEADERS
  67466. -#include <stdlib.h>
  67467. -#include <stddef.h>
  67468. -#endif
  67469. -#if HAVE_INTTYPES_H
  67470. -#include <inttypes.h>
  67471. -#endif
  67472. -#if HAVE_SYS_BITYPES_H
  67473. -#include <sys/bitypes.h>
  67474. -#endif
  67475. -#if HAVE_SYS_SELECT_H
  67476. -#include <sys/select.h>
  67477. -#endif
  67478. -#if HAVE_NETINET_IN_SYSTM_H
  67479. -#include <netinet/in_systm.h>
  67480. -#endif
  67481. -int
  67482. -main ()
  67483. -{
  67484. -if (sizeof (int))
  67485. - return 0;
  67486. - ;
  67487. - return 0;
  67488. -}
  67489. -_ACEOF
  67490. -rm -f conftest.$ac_objext
  67491. -if { (ac_try="$ac_compile"
  67492. -case "(($ac_try" in
  67493. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  67494. - *) ac_try_echo=$ac_try;;
  67495. -esac
  67496. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  67497. -$as_echo "$ac_try_echo") >&5
  67498. - (eval "$ac_compile") 2>conftest.er1
  67499. - ac_status=$?
  67500. - grep -v '^ *+' conftest.er1 >conftest.err
  67501. - rm -f conftest.er1
  67502. - cat conftest.err >&5
  67503. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  67504. - (exit $ac_status); } && {
  67505. - test -z "$ac_c_werror_flag" ||
  67506. - test ! -s conftest.err
  67507. - } && test -s conftest.$ac_objext; then
  67508. - cat >conftest.$ac_ext <<_ACEOF
  67509. -/* confdefs.h. */
  67510. -_ACEOF
  67511. -cat confdefs.h >>conftest.$ac_ext
  67512. -cat >>conftest.$ac_ext <<_ACEOF
  67513. -/* end confdefs.h. */
  67514. -/* What a mess.. many systems have added the (now standard) bit types
  67515. - * in their own ways, so we need to scan a wide variety of headers to
  67516. - * find them..
  67517. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  67518. - */
  67519. -#if HAVE_SYS_TYPES_H
  67520. -#include <sys/types.h>
  67521. -#endif
  67522. -#if STDC_HEADERS
  67523. -#include <stdlib.h>
  67524. -#include <stddef.h>
  67525. -#endif
  67526. -#if HAVE_INTTYPES_H
  67527. -#include <inttypes.h>
  67528. -#endif
  67529. -#if HAVE_SYS_BITYPES_H
  67530. -#include <sys/bitypes.h>
  67531. -#endif
  67532. -#if HAVE_SYS_SELECT_H
  67533. -#include <sys/select.h>
  67534. -#endif
  67535. -#if HAVE_NETINET_IN_SYSTM_H
  67536. -#include <netinet/in_systm.h>
  67537. -#endif
  67538. -int
  67539. -main ()
  67540. -{
  67541. -if (sizeof ((int)))
  67542. - return 0;
  67543. - ;
  67544. - return 0;
  67545. -}
  67546. -_ACEOF
  67547. -rm -f conftest.$ac_objext
  67548. -if { (ac_try="$ac_compile"
  67549. -case "(($ac_try" in
  67550. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  67551. - *) ac_try_echo=$ac_try;;
  67552. -esac
  67553. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  67554. -$as_echo "$ac_try_echo") >&5
  67555. - (eval "$ac_compile") 2>conftest.er1
  67556. - ac_status=$?
  67557. - grep -v '^ *+' conftest.er1 >conftest.err
  67558. - rm -f conftest.er1
  67559. - cat conftest.err >&5
  67560. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  67561. - (exit $ac_status); } && {
  67562. - test -z "$ac_c_werror_flag" ||
  67563. - test ! -s conftest.err
  67564. - } && test -s conftest.$ac_objext; then
  67565. - :
  67566. -else
  67567. - $as_echo "$as_me: failed program was:" >&5
  67568. -sed 's/^/| /' conftest.$ac_ext >&5
  67569. - ac_cv_type_int=yes
  67570. -fi
  67571. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  67572. -else
  67573. - $as_echo "$as_me: failed program was:" >&5
  67574. -sed 's/^/| /' conftest.$ac_ext >&5
  67575. -fi
  67576. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  67577. -fi
  67578. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
  67579. -$as_echo "$ac_cv_type_int" >&6; }
  67580. -if test $ac_cv_type_int = yes; then
  67581. - # The cast to long int works around a bug in the HP C Compiler
  67582. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  67583. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  67584. -# This bug is HP SR number 8606223364.
  67585. -{ $as_echo "$as_me:$LINENO: checking size of int" >&5
  67586. -$as_echo_n "checking size of int... " >&6; }
  67587. -if test "${ac_cv_sizeof_int+set}" = set; then
  67588. - $as_echo_n "(cached) " >&6
  67589. -else
  67590. - if test "$cross_compiling" = yes; then
  67591. - # Depending upon the size, compute the lo and hi bounds.
  67592. -cat >conftest.$ac_ext <<_ACEOF
  67593. -/* confdefs.h. */
  67594. -_ACEOF
  67595. -cat confdefs.h >>conftest.$ac_ext
  67596. -cat >>conftest.$ac_ext <<_ACEOF
  67597. -/* end confdefs.h. */
  67598. -#include <stdio.h>
  67599. -/* What a mess.. many systems have added the (now standard) bit types
  67600. - * in their own ways, so we need to scan a wide variety of headers to
  67601. - * find them..
  67602. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  67603. - */
  67604. -#if HAVE_SYS_TYPES_H
  67605. -#include <sys/types.h>
  67606. -#endif
  67607. -#if STDC_HEADERS
  67608. -#include <stdlib.h>
  67609. -#include <stddef.h>
  67610. -#endif
  67611. -#if HAVE_INTTYPES_H
  67612. -#include <inttypes.h>
  67613. -#endif
  67614. -#if HAVE_SYS_BITYPES_H
  67615. -#include <sys/bitypes.h>
  67616. -#endif
  67617. -#if HAVE_SYS_SELECT_H
  67618. -#include <sys/select.h>
  67619. -#endif
  67620. -#if HAVE_NETINET_IN_SYSTM_H
  67621. -#include <netinet/in_systm.h>
  67622. -#endif
  67623. -int
  67624. -main ()
  67625. -{
  67626. -static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
  67627. -test_array [0] = 0
  67628. - ;
  67629. - return 0;
  67630. -}
  67631. -_ACEOF
  67632. -rm -f conftest.$ac_objext
  67633. -if { (ac_try="$ac_compile"
  67634. -case "(($ac_try" in
  67635. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  67636. - *) ac_try_echo=$ac_try;;
  67637. -esac
  67638. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  67639. -$as_echo "$ac_try_echo") >&5
  67640. - (eval "$ac_compile") 2>conftest.er1
  67641. - ac_status=$?
  67642. - grep -v '^ *+' conftest.er1 >conftest.err
  67643. - rm -f conftest.er1
  67644. - cat conftest.err >&5
  67645. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  67646. - (exit $ac_status); } && {
  67647. - test -z "$ac_c_werror_flag" ||
  67648. - test ! -s conftest.err
  67649. - } && test -s conftest.$ac_objext; then
  67650. - ac_lo=0 ac_mid=0
  67651. - while :; do
  67652. - cat >conftest.$ac_ext <<_ACEOF
  67653. -/* confdefs.h. */
  67654. -_ACEOF
  67655. -cat confdefs.h >>conftest.$ac_ext
  67656. -cat >>conftest.$ac_ext <<_ACEOF
  67657. -/* end confdefs.h. */
  67658. -#include <stdio.h>
  67659. -/* What a mess.. many systems have added the (now standard) bit types
  67660. - * in their own ways, so we need to scan a wide variety of headers to
  67661. - * find them..
  67662. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  67663. - */
  67664. -#if HAVE_SYS_TYPES_H
  67665. -#include <sys/types.h>
  67666. -#endif
  67667. -#if STDC_HEADERS
  67668. -#include <stdlib.h>
  67669. -#include <stddef.h>
  67670. -#endif
  67671. -#if HAVE_INTTYPES_H
  67672. -#include <inttypes.h>
  67673. -#endif
  67674. -#if HAVE_SYS_BITYPES_H
  67675. -#include <sys/bitypes.h>
  67676. -#endif
  67677. -#if HAVE_SYS_SELECT_H
  67678. -#include <sys/select.h>
  67679. -#endif
  67680. -#if HAVE_NETINET_IN_SYSTM_H
  67681. -#include <netinet/in_systm.h>
  67682. -#endif
  67683. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  67684. +$as_echo_n "checking dynamic linker characteristics... " >&6; }
  67685. +
  67686. +library_names_spec=
  67687. +libname_spec='lib$name'
  67688. +soname_spec=
  67689. +shrext_cmds=".so"
  67690. +postinstall_cmds=
  67691. +postuninstall_cmds=
  67692. +finish_cmds=
  67693. +finish_eval=
  67694. +shlibpath_var=
  67695. +shlibpath_overrides_runpath=unknown
  67696. +version_type=none
  67697. +dynamic_linker="$host_os ld.so"
  67698. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  67699. +need_lib_prefix=unknown
  67700. +hardcode_into_libs=no
  67701. +
  67702. +# when you set need_version to no, make sure it does not cause -set_version
  67703. +# flags to be left without arguments
  67704. +need_version=unknown
  67705. +
  67706. +case $host_os in
  67707. +aix3*)
  67708. + version_type=linux
  67709. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  67710. + shlibpath_var=LIBPATH
  67711. +
  67712. + # AIX 3 has no versioning support, so we append a major version to the name.
  67713. + soname_spec='${libname}${release}${shared_ext}$major'
  67714. + ;;
  67715. +
  67716. +aix[4-9]*)
  67717. + version_type=linux
  67718. + need_lib_prefix=no
  67719. + need_version=no
  67720. + hardcode_into_libs=yes
  67721. + if test "$host_cpu" = ia64; then
  67722. + # AIX 5 supports IA64
  67723. + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  67724. + shlibpath_var=LD_LIBRARY_PATH
  67725. + else
  67726. + # With GCC up to 2.95.x, collect2 would create an import file
  67727. + # for dependence libraries. The import file would start with
  67728. + # the line `#! .'. This would cause the generated library to
  67729. + # depend on `.', always an invalid library. This was fixed in
  67730. + # development snapshots of GCC prior to 3.0.
  67731. + case $host_os in
  67732. + aix4 | aix4.[01] | aix4.[01].*)
  67733. + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  67734. + echo ' yes '
  67735. + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  67736. + :
  67737. + else
  67738. + can_build_shared=no
  67739. + fi
  67740. + ;;
  67741. + esac
  67742. + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  67743. + # soname into executable. Probably we can add versioning support to
  67744. + # collect2, so additional links can be useful in future.
  67745. + if test "$aix_use_runtimelinking" = yes; then
  67746. + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  67747. + # instead of lib<name>.a to let people know that these are not
  67748. + # typical AIX shared libraries.
  67749. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  67750. + else
  67751. + # We preserve .a as extension for shared libraries through AIX4.2
  67752. + # and later when we are not doing run time linking.
  67753. + library_names_spec='${libname}${release}.a $libname.a'
  67754. + soname_spec='${libname}${release}${shared_ext}$major'
  67755. + fi
  67756. + shlibpath_var=LIBPATH
  67757. + fi
  67758. + ;;
  67759. +
  67760. +amigaos*)
  67761. + case $host_cpu in
  67762. + powerpc)
  67763. + # Since July 2007 AmigaOS4 officially supports .so libraries.
  67764. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  67765. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  67766. + ;;
  67767. + m68k)
  67768. + library_names_spec='$libname.ixlibrary $libname.a'
  67769. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  67770. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  67771. + ;;
  67772. + esac
  67773. + ;;
  67774. +
  67775. +beos*)
  67776. + library_names_spec='${libname}${shared_ext}'
  67777. + dynamic_linker="$host_os ld.so"
  67778. + shlibpath_var=LIBRARY_PATH
  67779. + ;;
  67780. -int
  67781. -main ()
  67782. -{
  67783. -static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
  67784. -test_array [0] = 0
  67785. +bsdi[45]*)
  67786. + version_type=linux
  67787. + need_version=no
  67788. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  67789. + soname_spec='${libname}${release}${shared_ext}$major'
  67790. + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  67791. + shlibpath_var=LD_LIBRARY_PATH
  67792. + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  67793. + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  67794. + # the default ld.so.conf also contains /usr/contrib/lib and
  67795. + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  67796. + # libtool to hard-code these into programs
  67797. + ;;
  67798. - ;
  67799. - return 0;
  67800. -}
  67801. -_ACEOF
  67802. -rm -f conftest.$ac_objext
  67803. -if { (ac_try="$ac_compile"
  67804. -case "(($ac_try" in
  67805. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  67806. - *) ac_try_echo=$ac_try;;
  67807. -esac
  67808. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  67809. -$as_echo "$ac_try_echo") >&5
  67810. - (eval "$ac_compile") 2>conftest.er1
  67811. - ac_status=$?
  67812. - grep -v '^ *+' conftest.er1 >conftest.err
  67813. - rm -f conftest.er1
  67814. - cat conftest.err >&5
  67815. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  67816. - (exit $ac_status); } && {
  67817. - test -z "$ac_c_werror_flag" ||
  67818. - test ! -s conftest.err
  67819. - } && test -s conftest.$ac_objext; then
  67820. - ac_hi=$ac_mid; break
  67821. -else
  67822. - $as_echo "$as_me: failed program was:" >&5
  67823. -sed 's/^/| /' conftest.$ac_ext >&5
  67824. +cygwin* | mingw* | pw32* | cegcc*)
  67825. + version_type=windows
  67826. + shrext_cmds=".dll"
  67827. + need_version=no
  67828. + need_lib_prefix=no
  67829. - ac_lo=`expr $ac_mid + 1`
  67830. - if test $ac_lo -le $ac_mid; then
  67831. - ac_lo= ac_hi=
  67832. - break
  67833. - fi
  67834. - ac_mid=`expr 2 '*' $ac_mid + 1`
  67835. -fi
  67836. + case $GCC,$host_os in
  67837. + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  67838. + library_names_spec='$libname.dll.a'
  67839. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  67840. + postinstall_cmds='base_file=`basename \${file}`~
  67841. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  67842. + dldir=$destdir/`dirname \$dlpath`~
  67843. + test -d \$dldir || mkdir -p \$dldir~
  67844. + $install_prog $dir/$dlname \$dldir/$dlname~
  67845. + chmod a+x \$dldir/$dlname~
  67846. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  67847. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  67848. + fi'
  67849. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  67850. + dlpath=$dir/\$dldll~
  67851. + $RM \$dlpath'
  67852. + shlibpath_overrides_runpath=yes
  67853. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  67854. - done
  67855. -else
  67856. - $as_echo "$as_me: failed program was:" >&5
  67857. -sed 's/^/| /' conftest.$ac_ext >&5
  67858. + case $host_os in
  67859. + cygwin*)
  67860. + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  67861. + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  67862. + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  67863. + ;;
  67864. + mingw* | cegcc*)
  67865. + # MinGW DLLs use traditional 'lib' prefix
  67866. + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  67867. + sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  67868. + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  67869. + # It is most probably a Windows format PATH printed by
  67870. + # mingw gcc, but we are running on Cygwin. Gcc prints its search
  67871. + # path with ; separators, and with drive letters. We can handle the
  67872. + # drive letters (cygwin fileutils understands them), so leave them,
  67873. + # especially as we might pass files found there to a mingw objdump,
  67874. + # which wouldn't understand a cygwinified path. Ahh.
  67875. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  67876. + else
  67877. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  67878. + fi
  67879. + ;;
  67880. + pw32*)
  67881. + # pw32 DLLs use 'pw' prefix rather than 'lib'
  67882. + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  67883. + ;;
  67884. + esac
  67885. + ;;
  67886. - cat >conftest.$ac_ext <<_ACEOF
  67887. -/* confdefs.h. */
  67888. -_ACEOF
  67889. -cat confdefs.h >>conftest.$ac_ext
  67890. -cat >>conftest.$ac_ext <<_ACEOF
  67891. -/* end confdefs.h. */
  67892. + *)
  67893. + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  67894. + ;;
  67895. + esac
  67896. + dynamic_linker='Win32 ld.exe'
  67897. + # FIXME: first we should search . and the directory the executable is in
  67898. + shlibpath_var=PATH
  67899. + ;;
  67900. -#include <stdio.h>
  67901. +darwin* | rhapsody*)
  67902. + dynamic_linker="$host_os dyld"
  67903. + version_type=darwin
  67904. + need_lib_prefix=no
  67905. + need_version=no
  67906. + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  67907. + soname_spec='${libname}${release}${major}$shared_ext'
  67908. + shlibpath_overrides_runpath=yes
  67909. + shlibpath_var=DYLD_LIBRARY_PATH
  67910. + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  67911. -/* What a mess.. many systems have added the (now standard) bit types
  67912. - * in their own ways, so we need to scan a wide variety of headers to
  67913. - * find them..
  67914. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  67915. - */
  67916. -#if HAVE_SYS_TYPES_H
  67917. -#include <sys/types.h>
  67918. -#endif
  67919. -#if STDC_HEADERS
  67920. -#include <stdlib.h>
  67921. -#include <stddef.h>
  67922. -#endif
  67923. -#if HAVE_INTTYPES_H
  67924. -#include <inttypes.h>
  67925. -#endif
  67926. -#if HAVE_SYS_BITYPES_H
  67927. -#include <sys/bitypes.h>
  67928. -#endif
  67929. -#if HAVE_SYS_SELECT_H
  67930. -#include <sys/select.h>
  67931. -#endif
  67932. -#if HAVE_NETINET_IN_SYSTM_H
  67933. -#include <netinet/in_systm.h>
  67934. -#endif
  67935. + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  67936. + ;;
  67937. +
  67938. +dgux*)
  67939. + version_type=linux
  67940. + need_lib_prefix=no
  67941. + need_version=no
  67942. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  67943. + soname_spec='${libname}${release}${shared_ext}$major'
  67944. + shlibpath_var=LD_LIBRARY_PATH
  67945. + ;;
  67946. +freebsd1*)
  67947. + dynamic_linker=no
  67948. + ;;
  67949. +freebsd* | dragonfly*)
  67950. + # DragonFly does not have aout. When/if they implement a new
  67951. + # versioning mechanism, adjust this.
  67952. + if test -x /usr/bin/objformat; then
  67953. + objformat=`/usr/bin/objformat`
  67954. + else
  67955. + case $host_os in
  67956. + freebsd[123]*) objformat=aout ;;
  67957. + *) objformat=elf ;;
  67958. + esac
  67959. + fi
  67960. + version_type=freebsd-$objformat
  67961. + case $version_type in
  67962. + freebsd-elf*)
  67963. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  67964. + need_version=no
  67965. + need_lib_prefix=no
  67966. + ;;
  67967. + freebsd-*)
  67968. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  67969. + need_version=yes
  67970. + ;;
  67971. + esac
  67972. + shlibpath_var=LD_LIBRARY_PATH
  67973. + case $host_os in
  67974. + freebsd2*)
  67975. + shlibpath_overrides_runpath=yes
  67976. + ;;
  67977. + freebsd3.[01]* | freebsdelf3.[01]*)
  67978. + shlibpath_overrides_runpath=yes
  67979. + hardcode_into_libs=yes
  67980. + ;;
  67981. + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  67982. + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  67983. + shlibpath_overrides_runpath=no
  67984. + hardcode_into_libs=yes
  67985. + ;;
  67986. + *) # from 4.6 on, and DragonFly
  67987. + shlibpath_overrides_runpath=yes
  67988. + hardcode_into_libs=yes
  67989. + ;;
  67990. + esac
  67991. + ;;
  67992. -int
  67993. -main ()
  67994. -{
  67995. -static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
  67996. -test_array [0] = 0
  67997. +gnu*)
  67998. + version_type=linux
  67999. + need_lib_prefix=no
  68000. + need_version=no
  68001. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  68002. + soname_spec='${libname}${release}${shared_ext}$major'
  68003. + shlibpath_var=LD_LIBRARY_PATH
  68004. + hardcode_into_libs=yes
  68005. + ;;
  68006. - ;
  68007. - return 0;
  68008. -}
  68009. -_ACEOF
  68010. -rm -f conftest.$ac_objext
  68011. -if { (ac_try="$ac_compile"
  68012. -case "(($ac_try" in
  68013. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  68014. - *) ac_try_echo=$ac_try;;
  68015. -esac
  68016. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  68017. -$as_echo "$ac_try_echo") >&5
  68018. - (eval "$ac_compile") 2>conftest.er1
  68019. - ac_status=$?
  68020. - grep -v '^ *+' conftest.er1 >conftest.err
  68021. - rm -f conftest.er1
  68022. - cat conftest.err >&5
  68023. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  68024. - (exit $ac_status); } && {
  68025. - test -z "$ac_c_werror_flag" ||
  68026. - test ! -s conftest.err
  68027. - } && test -s conftest.$ac_objext; then
  68028. - ac_hi=-1 ac_mid=-1
  68029. - while :; do
  68030. - cat >conftest.$ac_ext <<_ACEOF
  68031. -/* confdefs.h. */
  68032. -_ACEOF
  68033. -cat confdefs.h >>conftest.$ac_ext
  68034. -cat >>conftest.$ac_ext <<_ACEOF
  68035. -/* end confdefs.h. */
  68036. +hpux9* | hpux10* | hpux11*)
  68037. + # Give a soname corresponding to the major version so that dld.sl refuses to
  68038. + # link against other versions.
  68039. + version_type=sunos
  68040. + need_lib_prefix=no
  68041. + need_version=no
  68042. + case $host_cpu in
  68043. + ia64*)
  68044. + shrext_cmds='.so'
  68045. + hardcode_into_libs=yes
  68046. + dynamic_linker="$host_os dld.so"
  68047. + shlibpath_var=LD_LIBRARY_PATH
  68048. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  68049. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  68050. + soname_spec='${libname}${release}${shared_ext}$major'
  68051. + if test "X$HPUX_IA64_MODE" = X32; then
  68052. + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  68053. + else
  68054. + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  68055. + fi
  68056. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  68057. + ;;
  68058. + hppa*64*)
  68059. + shrext_cmds='.sl'
  68060. + hardcode_into_libs=yes
  68061. + dynamic_linker="$host_os dld.sl"
  68062. + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  68063. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  68064. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  68065. + soname_spec='${libname}${release}${shared_ext}$major'
  68066. + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  68067. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  68068. + ;;
  68069. + *)
  68070. + shrext_cmds='.sl'
  68071. + dynamic_linker="$host_os dld.sl"
  68072. + shlibpath_var=SHLIB_PATH
  68073. + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  68074. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  68075. + soname_spec='${libname}${release}${shared_ext}$major'
  68076. + ;;
  68077. + esac
  68078. + # HP-UX runs *really* slowly unless shared libraries are mode 555.
  68079. + postinstall_cmds='chmod 555 $lib'
  68080. + ;;
  68081. -#include <stdio.h>
  68082. +interix[3-9]*)
  68083. + version_type=linux
  68084. + need_lib_prefix=no
  68085. + need_version=no
  68086. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  68087. + soname_spec='${libname}${release}${shared_ext}$major'
  68088. + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  68089. + shlibpath_var=LD_LIBRARY_PATH
  68090. + shlibpath_overrides_runpath=no
  68091. + hardcode_into_libs=yes
  68092. + ;;
  68093. -/* What a mess.. many systems have added the (now standard) bit types
  68094. - * in their own ways, so we need to scan a wide variety of headers to
  68095. - * find them..
  68096. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  68097. - */
  68098. -#if HAVE_SYS_TYPES_H
  68099. -#include <sys/types.h>
  68100. -#endif
  68101. -#if STDC_HEADERS
  68102. -#include <stdlib.h>
  68103. -#include <stddef.h>
  68104. -#endif
  68105. -#if HAVE_INTTYPES_H
  68106. -#include <inttypes.h>
  68107. -#endif
  68108. -#if HAVE_SYS_BITYPES_H
  68109. -#include <sys/bitypes.h>
  68110. -#endif
  68111. -#if HAVE_SYS_SELECT_H
  68112. -#include <sys/select.h>
  68113. -#endif
  68114. -#if HAVE_NETINET_IN_SYSTM_H
  68115. -#include <netinet/in_systm.h>
  68116. -#endif
  68117. +irix5* | irix6* | nonstopux*)
  68118. + case $host_os in
  68119. + nonstopux*) version_type=nonstopux ;;
  68120. + *)
  68121. + if test "$lt_cv_prog_gnu_ld" = yes; then
  68122. + version_type=linux
  68123. + else
  68124. + version_type=irix
  68125. + fi ;;
  68126. + esac
  68127. + need_lib_prefix=no
  68128. + need_version=no
  68129. + soname_spec='${libname}${release}${shared_ext}$major'
  68130. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  68131. + case $host_os in
  68132. + irix5* | nonstopux*)
  68133. + libsuff= shlibsuff=
  68134. + ;;
  68135. + *)
  68136. + case $LD in # libtool.m4 will add one of these switches to LD
  68137. + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  68138. + libsuff= shlibsuff= libmagic=32-bit;;
  68139. + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  68140. + libsuff=32 shlibsuff=N32 libmagic=N32;;
  68141. + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  68142. + libsuff=64 shlibsuff=64 libmagic=64-bit;;
  68143. + *) libsuff= shlibsuff= libmagic=never-match;;
  68144. + esac
  68145. + ;;
  68146. + esac
  68147. + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  68148. + shlibpath_overrides_runpath=no
  68149. + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  68150. + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  68151. + hardcode_into_libs=yes
  68152. + ;;
  68153. +# No shared lib support for Linux oldld, aout, or coff.
  68154. +linux*oldld* | linux*aout* | linux*coff*)
  68155. + dynamic_linker=no
  68156. + ;;
  68157. +# This must be Linux ELF.
  68158. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  68159. + version_type=linux
  68160. + need_lib_prefix=no
  68161. + need_version=no
  68162. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  68163. + soname_spec='${libname}${release}${shared_ext}$major'
  68164. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  68165. + shlibpath_var=LD_LIBRARY_PATH
  68166. + shlibpath_overrides_runpath=no
  68167. + # Some binutils ld are patched to set DT_RUNPATH
  68168. + save_LDFLAGS=$LDFLAGS
  68169. + save_libdir=$libdir
  68170. + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
  68171. + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
  68172. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  68173. +/* end confdefs.h. */
  68174. int
  68175. main ()
  68176. {
  68177. -static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
  68178. -test_array [0] = 0
  68179. ;
  68180. return 0;
  68181. }
  68182. _ACEOF
  68183. -rm -f conftest.$ac_objext
  68184. -if { (ac_try="$ac_compile"
  68185. -case "(($ac_try" in
  68186. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  68187. - *) ac_try_echo=$ac_try;;
  68188. -esac
  68189. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  68190. -$as_echo "$ac_try_echo") >&5
  68191. - (eval "$ac_compile") 2>conftest.er1
  68192. - ac_status=$?
  68193. - grep -v '^ *+' conftest.er1 >conftest.err
  68194. - rm -f conftest.er1
  68195. - cat conftest.err >&5
  68196. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  68197. - (exit $ac_status); } && {
  68198. - test -z "$ac_c_werror_flag" ||
  68199. - test ! -s conftest.err
  68200. - } && test -s conftest.$ac_objext; then
  68201. - ac_lo=$ac_mid; break
  68202. -else
  68203. - $as_echo "$as_me: failed program was:" >&5
  68204. -sed 's/^/| /' conftest.$ac_ext >&5
  68205. -
  68206. - ac_hi=`expr '(' $ac_mid ')' - 1`
  68207. - if test $ac_mid -le $ac_hi; then
  68208. - ac_lo= ac_hi=
  68209. - break
  68210. - fi
  68211. - ac_mid=`expr 2 '*' $ac_mid`
  68212. +if ac_fn_cxx_try_link "$LINENO"; then :
  68213. + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  68214. + shlibpath_overrides_runpath=yes
  68215. fi
  68216. -
  68217. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  68218. - done
  68219. -else
  68220. - $as_echo "$as_me: failed program was:" >&5
  68221. -sed 's/^/| /' conftest.$ac_ext >&5
  68222. -
  68223. - ac_lo= ac_hi=
  68224. fi
  68225. +rm -f core conftest.err conftest.$ac_objext \
  68226. + conftest$ac_exeext conftest.$ac_ext
  68227. + LDFLAGS=$save_LDFLAGS
  68228. + libdir=$save_libdir
  68229. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  68230. -fi
  68231. + # This implies no fast_install, which is unacceptable.
  68232. + # Some rework will be needed to allow for fast_install
  68233. + # before this can be enabled.
  68234. + hardcode_into_libs=yes
  68235. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  68236. -# Binary search between lo and hi bounds.
  68237. -while test "x$ac_lo" != "x$ac_hi"; do
  68238. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  68239. - cat >conftest.$ac_ext <<_ACEOF
  68240. -/* confdefs.h. */
  68241. -_ACEOF
  68242. -cat confdefs.h >>conftest.$ac_ext
  68243. -cat >>conftest.$ac_ext <<_ACEOF
  68244. -/* end confdefs.h. */
  68245. + # Append ld.so.conf contents to the search path
  68246. + if test -f /etc/ld.so.conf; then
  68247. + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  68248. + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  68249. + fi
  68250. -#include <stdio.h>
  68251. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  68252. + # powerpc, because MkLinux only supported shared libraries with the
  68253. + # GNU dynamic linker. Since this was broken with cross compilers,
  68254. + # most powerpc-linux boxes support dynamic linking these days and
  68255. + # people can always --disable-shared, the test was removed, and we
  68256. + # assume the GNU/Linux dynamic linker is in use.
  68257. + dynamic_linker='GNU/Linux ld.so'
  68258. + ;;
  68259. -/* What a mess.. many systems have added the (now standard) bit types
  68260. - * in their own ways, so we need to scan a wide variety of headers to
  68261. - * find them..
  68262. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  68263. - */
  68264. -#if HAVE_SYS_TYPES_H
  68265. -#include <sys/types.h>
  68266. -#endif
  68267. -#if STDC_HEADERS
  68268. -#include <stdlib.h>
  68269. -#include <stddef.h>
  68270. -#endif
  68271. -#if HAVE_INTTYPES_H
  68272. -#include <inttypes.h>
  68273. -#endif
  68274. -#if HAVE_SYS_BITYPES_H
  68275. -#include <sys/bitypes.h>
  68276. -#endif
  68277. -#if HAVE_SYS_SELECT_H
  68278. -#include <sys/select.h>
  68279. -#endif
  68280. -#if HAVE_NETINET_IN_SYSTM_H
  68281. -#include <netinet/in_systm.h>
  68282. -#endif
  68283. +netbsdelf*-gnu)
  68284. + version_type=linux
  68285. + need_lib_prefix=no
  68286. + need_version=no
  68287. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  68288. + soname_spec='${libname}${release}${shared_ext}$major'
  68289. + shlibpath_var=LD_LIBRARY_PATH
  68290. + shlibpath_overrides_runpath=no
  68291. + hardcode_into_libs=yes
  68292. + dynamic_linker='NetBSD ld.elf_so'
  68293. + ;;
  68294. +netbsd*)
  68295. + version_type=sunos
  68296. + need_lib_prefix=no
  68297. + need_version=no
  68298. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  68299. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  68300. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  68301. + dynamic_linker='NetBSD (a.out) ld.so'
  68302. + else
  68303. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  68304. + soname_spec='${libname}${release}${shared_ext}$major'
  68305. + dynamic_linker='NetBSD ld.elf_so'
  68306. + fi
  68307. + shlibpath_var=LD_LIBRARY_PATH
  68308. + shlibpath_overrides_runpath=yes
  68309. + hardcode_into_libs=yes
  68310. + ;;
  68311. +newsos6)
  68312. + version_type=linux
  68313. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  68314. + shlibpath_var=LD_LIBRARY_PATH
  68315. + shlibpath_overrides_runpath=yes
  68316. + ;;
  68317. -int
  68318. -main ()
  68319. -{
  68320. -static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
  68321. -test_array [0] = 0
  68322. +*nto* | *qnx*)
  68323. + version_type=qnx
  68324. + need_lib_prefix=no
  68325. + need_version=no
  68326. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  68327. + soname_spec='${libname}${release}${shared_ext}$major'
  68328. + shlibpath_var=LD_LIBRARY_PATH
  68329. + shlibpath_overrides_runpath=no
  68330. + hardcode_into_libs=yes
  68331. + dynamic_linker='ldqnx.so'
  68332. + ;;
  68333. - ;
  68334. - return 0;
  68335. -}
  68336. -_ACEOF
  68337. -rm -f conftest.$ac_objext
  68338. -if { (ac_try="$ac_compile"
  68339. -case "(($ac_try" in
  68340. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  68341. - *) ac_try_echo=$ac_try;;
  68342. -esac
  68343. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  68344. -$as_echo "$ac_try_echo") >&5
  68345. - (eval "$ac_compile") 2>conftest.er1
  68346. - ac_status=$?
  68347. - grep -v '^ *+' conftest.er1 >conftest.err
  68348. - rm -f conftest.er1
  68349. - cat conftest.err >&5
  68350. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  68351. - (exit $ac_status); } && {
  68352. - test -z "$ac_c_werror_flag" ||
  68353. - test ! -s conftest.err
  68354. - } && test -s conftest.$ac_objext; then
  68355. - ac_hi=$ac_mid
  68356. -else
  68357. - $as_echo "$as_me: failed program was:" >&5
  68358. -sed 's/^/| /' conftest.$ac_ext >&5
  68359. +openbsd*)
  68360. + version_type=sunos
  68361. + sys_lib_dlsearch_path_spec="/usr/lib"
  68362. + need_lib_prefix=no
  68363. + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  68364. + case $host_os in
  68365. + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  68366. + *) need_version=no ;;
  68367. + esac
  68368. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  68369. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  68370. + shlibpath_var=LD_LIBRARY_PATH
  68371. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  68372. + case $host_os in
  68373. + openbsd2.[89] | openbsd2.[89].*)
  68374. + shlibpath_overrides_runpath=no
  68375. + ;;
  68376. + *)
  68377. + shlibpath_overrides_runpath=yes
  68378. + ;;
  68379. + esac
  68380. + else
  68381. + shlibpath_overrides_runpath=yes
  68382. + fi
  68383. + ;;
  68384. - ac_lo=`expr '(' $ac_mid ')' + 1`
  68385. -fi
  68386. +os2*)
  68387. + libname_spec='$name'
  68388. + shrext_cmds=".dll"
  68389. + need_lib_prefix=no
  68390. + library_names_spec='$libname${shared_ext} $libname.a'
  68391. + dynamic_linker='OS/2 ld.exe'
  68392. + shlibpath_var=LIBPATH
  68393. + ;;
  68394. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  68395. -done
  68396. -case $ac_lo in
  68397. -?*) ac_cv_sizeof_int=$ac_lo;;
  68398. -'') if test "$ac_cv_type_int" = yes; then
  68399. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
  68400. -See \`config.log' for more details." >&5
  68401. -$as_echo "$as_me: error: cannot compute sizeof (int)
  68402. -See \`config.log' for more details." >&2;}
  68403. - { (exit 77); exit 77; }; }
  68404. - else
  68405. - ac_cv_sizeof_int=0
  68406. - fi ;;
  68407. -esac
  68408. -else
  68409. - cat >conftest.$ac_ext <<_ACEOF
  68410. -/* confdefs.h. */
  68411. -_ACEOF
  68412. -cat confdefs.h >>conftest.$ac_ext
  68413. -cat >>conftest.$ac_ext <<_ACEOF
  68414. -/* end confdefs.h. */
  68415. +osf3* | osf4* | osf5*)
  68416. + version_type=osf
  68417. + need_lib_prefix=no
  68418. + need_version=no
  68419. + soname_spec='${libname}${release}${shared_ext}$major'
  68420. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  68421. + shlibpath_var=LD_LIBRARY_PATH
  68422. + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  68423. + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  68424. + ;;
  68425. -#include <stdio.h>
  68426. +rdos*)
  68427. + dynamic_linker=no
  68428. + ;;
  68429. -/* What a mess.. many systems have added the (now standard) bit types
  68430. - * in their own ways, so we need to scan a wide variety of headers to
  68431. - * find them..
  68432. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  68433. - */
  68434. -#if HAVE_SYS_TYPES_H
  68435. -#include <sys/types.h>
  68436. -#endif
  68437. -#if STDC_HEADERS
  68438. -#include <stdlib.h>
  68439. -#include <stddef.h>
  68440. -#endif
  68441. -#if HAVE_INTTYPES_H
  68442. -#include <inttypes.h>
  68443. -#endif
  68444. -#if HAVE_SYS_BITYPES_H
  68445. -#include <sys/bitypes.h>
  68446. -#endif
  68447. -#if HAVE_SYS_SELECT_H
  68448. -#include <sys/select.h>
  68449. -#endif
  68450. -#if HAVE_NETINET_IN_SYSTM_H
  68451. -#include <netinet/in_systm.h>
  68452. -#endif
  68453. +solaris*)
  68454. + version_type=linux
  68455. + need_lib_prefix=no
  68456. + need_version=no
  68457. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  68458. + soname_spec='${libname}${release}${shared_ext}$major'
  68459. + shlibpath_var=LD_LIBRARY_PATH
  68460. + shlibpath_overrides_runpath=yes
  68461. + hardcode_into_libs=yes
  68462. + # ldd complains unless libraries are executable
  68463. + postinstall_cmds='chmod +x $lib'
  68464. + ;;
  68465. +sunos4*)
  68466. + version_type=sunos
  68467. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  68468. + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  68469. + shlibpath_var=LD_LIBRARY_PATH
  68470. + shlibpath_overrides_runpath=yes
  68471. + if test "$with_gnu_ld" = yes; then
  68472. + need_lib_prefix=no
  68473. + fi
  68474. + need_version=yes
  68475. + ;;
  68476. +sysv4 | sysv4.3*)
  68477. + version_type=linux
  68478. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  68479. + soname_spec='${libname}${release}${shared_ext}$major'
  68480. + shlibpath_var=LD_LIBRARY_PATH
  68481. + case $host_vendor in
  68482. + sni)
  68483. + shlibpath_overrides_runpath=no
  68484. + need_lib_prefix=no
  68485. + runpath_var=LD_RUN_PATH
  68486. + ;;
  68487. + siemens)
  68488. + need_lib_prefix=no
  68489. + ;;
  68490. + motorola)
  68491. + need_lib_prefix=no
  68492. + need_version=no
  68493. + shlibpath_overrides_runpath=no
  68494. + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  68495. + ;;
  68496. + esac
  68497. + ;;
  68498. -static long int longval () { return (long int) (sizeof (int)); }
  68499. -static unsigned long int ulongval () { return (long int) (sizeof (int)); }
  68500. -#include <stdio.h>
  68501. -#include <stdlib.h>
  68502. -int
  68503. -main ()
  68504. -{
  68505. +sysv4*MP*)
  68506. + if test -d /usr/nec ;then
  68507. + version_type=linux
  68508. + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  68509. + soname_spec='$libname${shared_ext}.$major'
  68510. + shlibpath_var=LD_LIBRARY_PATH
  68511. + fi
  68512. + ;;
  68513. - FILE *f = fopen ("conftest.val", "w");
  68514. - if (! f)
  68515. - return 1;
  68516. - if (((long int) (sizeof (int))) < 0)
  68517. - {
  68518. - long int i = longval ();
  68519. - if (i != ((long int) (sizeof (int))))
  68520. - return 1;
  68521. - fprintf (f, "%ld", i);
  68522. - }
  68523. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  68524. + version_type=freebsd-elf
  68525. + need_lib_prefix=no
  68526. + need_version=no
  68527. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  68528. + soname_spec='${libname}${release}${shared_ext}$major'
  68529. + shlibpath_var=LD_LIBRARY_PATH
  68530. + shlibpath_overrides_runpath=yes
  68531. + hardcode_into_libs=yes
  68532. + if test "$with_gnu_ld" = yes; then
  68533. + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  68534. else
  68535. - {
  68536. - unsigned long int i = ulongval ();
  68537. - if (i != ((long int) (sizeof (int))))
  68538. - return 1;
  68539. - fprintf (f, "%lu", i);
  68540. - }
  68541. - /* Do not output a trailing newline, as this causes \r\n confusion
  68542. - on some platforms. */
  68543. - return ferror (f) || fclose (f) != 0;
  68544. + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  68545. + case $host_os in
  68546. + sco3.2v5*)
  68547. + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  68548. + ;;
  68549. + esac
  68550. + fi
  68551. + sys_lib_dlsearch_path_spec='/usr/lib'
  68552. + ;;
  68553. - ;
  68554. - return 0;
  68555. -}
  68556. -_ACEOF
  68557. -rm -f conftest$ac_exeext
  68558. -if { (ac_try="$ac_link"
  68559. -case "(($ac_try" in
  68560. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  68561. - *) ac_try_echo=$ac_try;;
  68562. -esac
  68563. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  68564. -$as_echo "$ac_try_echo") >&5
  68565. - (eval "$ac_link") 2>&5
  68566. - ac_status=$?
  68567. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  68568. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  68569. - { (case "(($ac_try" in
  68570. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  68571. - *) ac_try_echo=$ac_try;;
  68572. +tpf*)
  68573. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  68574. + version_type=linux
  68575. + need_lib_prefix=no
  68576. + need_version=no
  68577. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  68578. + shlibpath_var=LD_LIBRARY_PATH
  68579. + shlibpath_overrides_runpath=no
  68580. + hardcode_into_libs=yes
  68581. + ;;
  68582. +
  68583. +uts4*)
  68584. + version_type=linux
  68585. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  68586. + soname_spec='${libname}${release}${shared_ext}$major'
  68587. + shlibpath_var=LD_LIBRARY_PATH
  68588. + ;;
  68589. +
  68590. +*)
  68591. + dynamic_linker=no
  68592. + ;;
  68593. esac
  68594. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  68595. -$as_echo "$ac_try_echo") >&5
  68596. - (eval "$ac_try") 2>&5
  68597. - ac_status=$?
  68598. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  68599. - (exit $ac_status); }; }; then
  68600. - ac_cv_sizeof_int=`cat conftest.val`
  68601. -else
  68602. - $as_echo "$as_me: program exited with status $ac_status" >&5
  68603. -$as_echo "$as_me: failed program was:" >&5
  68604. -sed 's/^/| /' conftest.$ac_ext >&5
  68605. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  68606. +$as_echo "$dynamic_linker" >&6; }
  68607. +test "$dynamic_linker" = no && can_build_shared=no
  68608. -( exit $ac_status )
  68609. -if test "$ac_cv_type_int" = yes; then
  68610. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
  68611. -See \`config.log' for more details." >&5
  68612. -$as_echo "$as_me: error: cannot compute sizeof (int)
  68613. -See \`config.log' for more details." >&2;}
  68614. - { (exit 77); exit 77; }; }
  68615. - else
  68616. - ac_cv_sizeof_int=0
  68617. - fi
  68618. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  68619. +if test "$GCC" = yes; then
  68620. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  68621. fi
  68622. -rm -rf conftest.dSYM
  68623. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  68624. +
  68625. +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  68626. + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  68627. fi
  68628. -rm -f conftest.val
  68629. +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  68630. + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  68631. fi
  68632. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
  68633. -$as_echo "$ac_cv_sizeof_int" >&6; }
  68634. -cat >>confdefs.h <<_ACEOF
  68635. -#define SIZEOF_INT $ac_cv_sizeof_int
  68636. -_ACEOF
  68637. -cat >>confdefs.h <<\_ACEOF
  68638. -#define HAVE_INT 1
  68639. -_ACEOF
  68640. -fi
  68641. -{ $as_echo "$as_me:$LINENO: checking for u_int16_t" >&5
  68642. -$as_echo_n "checking for u_int16_t... " >&6; }
  68643. -if test "${ac_cv_type_u_int16_t+set}" = set; then
  68644. - $as_echo_n "(cached) " >&6
  68645. -else
  68646. - ac_cv_type_u_int16_t=no
  68647. -cat >conftest.$ac_ext <<_ACEOF
  68648. -/* confdefs.h. */
  68649. -_ACEOF
  68650. -cat confdefs.h >>conftest.$ac_ext
  68651. -cat >>conftest.$ac_ext <<_ACEOF
  68652. -/* end confdefs.h. */
  68653. -/* What a mess.. many systems have added the (now standard) bit types
  68654. - * in their own ways, so we need to scan a wide variety of headers to
  68655. - * find them..
  68656. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  68657. - */
  68658. -#if HAVE_SYS_TYPES_H
  68659. -#include <sys/types.h>
  68660. -#endif
  68661. -#if STDC_HEADERS
  68662. -#include <stdlib.h>
  68663. -#include <stddef.h>
  68664. -#endif
  68665. -#if HAVE_INTTYPES_H
  68666. -#include <inttypes.h>
  68667. -#endif
  68668. -#if HAVE_SYS_BITYPES_H
  68669. -#include <sys/bitypes.h>
  68670. -#endif
  68671. -#if HAVE_SYS_SELECT_H
  68672. -#include <sys/select.h>
  68673. -#endif
  68674. -#if HAVE_NETINET_IN_SYSTM_H
  68675. -#include <netinet/in_systm.h>
  68676. -#endif
  68677. -int
  68678. -main ()
  68679. -{
  68680. -if (sizeof (u_int16_t))
  68681. - return 0;
  68682. - ;
  68683. - return 0;
  68684. -}
  68685. -_ACEOF
  68686. -rm -f conftest.$ac_objext
  68687. -if { (ac_try="$ac_compile"
  68688. -case "(($ac_try" in
  68689. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  68690. - *) ac_try_echo=$ac_try;;
  68691. -esac
  68692. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  68693. -$as_echo "$ac_try_echo") >&5
  68694. - (eval "$ac_compile") 2>conftest.er1
  68695. - ac_status=$?
  68696. - grep -v '^ *+' conftest.er1 >conftest.err
  68697. - rm -f conftest.er1
  68698. - cat conftest.err >&5
  68699. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  68700. - (exit $ac_status); } && {
  68701. - test -z "$ac_c_werror_flag" ||
  68702. - test ! -s conftest.err
  68703. - } && test -s conftest.$ac_objext; then
  68704. - cat >conftest.$ac_ext <<_ACEOF
  68705. -/* confdefs.h. */
  68706. -_ACEOF
  68707. -cat confdefs.h >>conftest.$ac_ext
  68708. -cat >>conftest.$ac_ext <<_ACEOF
  68709. -/* end confdefs.h. */
  68710. -/* What a mess.. many systems have added the (now standard) bit types
  68711. - * in their own ways, so we need to scan a wide variety of headers to
  68712. - * find them..
  68713. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  68714. - */
  68715. -#if HAVE_SYS_TYPES_H
  68716. -#include <sys/types.h>
  68717. -#endif
  68718. -#if STDC_HEADERS
  68719. -#include <stdlib.h>
  68720. -#include <stddef.h>
  68721. -#endif
  68722. -#if HAVE_INTTYPES_H
  68723. -#include <inttypes.h>
  68724. -#endif
  68725. -#if HAVE_SYS_BITYPES_H
  68726. -#include <sys/bitypes.h>
  68727. -#endif
  68728. -#if HAVE_SYS_SELECT_H
  68729. -#include <sys/select.h>
  68730. -#endif
  68731. -#if HAVE_NETINET_IN_SYSTM_H
  68732. -#include <netinet/in_systm.h>
  68733. -#endif
  68734. -int
  68735. -main ()
  68736. -{
  68737. -if (sizeof ((u_int16_t)))
  68738. - return 0;
  68739. - ;
  68740. - return 0;
  68741. -}
  68742. -_ACEOF
  68743. -rm -f conftest.$ac_objext
  68744. -if { (ac_try="$ac_compile"
  68745. -case "(($ac_try" in
  68746. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  68747. - *) ac_try_echo=$ac_try;;
  68748. -esac
  68749. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  68750. -$as_echo "$ac_try_echo") >&5
  68751. - (eval "$ac_compile") 2>conftest.er1
  68752. - ac_status=$?
  68753. - grep -v '^ *+' conftest.er1 >conftest.err
  68754. - rm -f conftest.er1
  68755. - cat conftest.err >&5
  68756. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  68757. - (exit $ac_status); } && {
  68758. - test -z "$ac_c_werror_flag" ||
  68759. - test ! -s conftest.err
  68760. - } && test -s conftest.$ac_objext; then
  68761. - :
  68762. -else
  68763. - $as_echo "$as_me: failed program was:" >&5
  68764. -sed 's/^/| /' conftest.$ac_ext >&5
  68765. - ac_cv_type_u_int16_t=yes
  68766. -fi
  68767. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  68768. -else
  68769. - $as_echo "$as_me: failed program was:" >&5
  68770. -sed 's/^/| /' conftest.$ac_ext >&5
  68771. -fi
  68772. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  68773. -fi
  68774. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
  68775. -$as_echo "$ac_cv_type_u_int16_t" >&6; }
  68776. -if test $ac_cv_type_u_int16_t = yes; then
  68777. - # The cast to long int works around a bug in the HP C Compiler
  68778. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  68779. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  68780. -# This bug is HP SR number 8606223364.
  68781. -{ $as_echo "$as_me:$LINENO: checking size of u_int16_t" >&5
  68782. -$as_echo_n "checking size of u_int16_t... " >&6; }
  68783. -if test "${ac_cv_sizeof_u_int16_t+set}" = set; then
  68784. - $as_echo_n "(cached) " >&6
  68785. -else
  68786. - if test "$cross_compiling" = yes; then
  68787. - # Depending upon the size, compute the lo and hi bounds.
  68788. -cat >conftest.$ac_ext <<_ACEOF
  68789. -/* confdefs.h. */
  68790. -_ACEOF
  68791. -cat confdefs.h >>conftest.$ac_ext
  68792. -cat >>conftest.$ac_ext <<_ACEOF
  68793. -/* end confdefs.h. */
  68794. -#include <stdio.h>
  68795. -/* What a mess.. many systems have added the (now standard) bit types
  68796. - * in their own ways, so we need to scan a wide variety of headers to
  68797. - * find them..
  68798. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  68799. - */
  68800. -#if HAVE_SYS_TYPES_H
  68801. -#include <sys/types.h>
  68802. -#endif
  68803. -#if STDC_HEADERS
  68804. -#include <stdlib.h>
  68805. -#include <stddef.h>
  68806. -#endif
  68807. -#if HAVE_INTTYPES_H
  68808. -#include <inttypes.h>
  68809. -#endif
  68810. -#if HAVE_SYS_BITYPES_H
  68811. -#include <sys/bitypes.h>
  68812. -#endif
  68813. -#if HAVE_SYS_SELECT_H
  68814. -#include <sys/select.h>
  68815. -#endif
  68816. -#if HAVE_NETINET_IN_SYSTM_H
  68817. -#include <netinet/in_systm.h>
  68818. -#endif
  68819. -int
  68820. -main ()
  68821. -{
  68822. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int16_t))) >= 0)];
  68823. -test_array [0] = 0
  68824. - ;
  68825. - return 0;
  68826. -}
  68827. -_ACEOF
  68828. -rm -f conftest.$ac_objext
  68829. -if { (ac_try="$ac_compile"
  68830. -case "(($ac_try" in
  68831. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  68832. - *) ac_try_echo=$ac_try;;
  68833. -esac
  68834. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  68835. -$as_echo "$ac_try_echo") >&5
  68836. - (eval "$ac_compile") 2>conftest.er1
  68837. - ac_status=$?
  68838. - grep -v '^ *+' conftest.er1 >conftest.err
  68839. - rm -f conftest.er1
  68840. - cat conftest.err >&5
  68841. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  68842. - (exit $ac_status); } && {
  68843. - test -z "$ac_c_werror_flag" ||
  68844. - test ! -s conftest.err
  68845. - } && test -s conftest.$ac_objext; then
  68846. - ac_lo=0 ac_mid=0
  68847. - while :; do
  68848. - cat >conftest.$ac_ext <<_ACEOF
  68849. -/* confdefs.h. */
  68850. -_ACEOF
  68851. -cat confdefs.h >>conftest.$ac_ext
  68852. -cat >>conftest.$ac_ext <<_ACEOF
  68853. -/* end confdefs.h. */
  68854. -#include <stdio.h>
  68855. -/* What a mess.. many systems have added the (now standard) bit types
  68856. - * in their own ways, so we need to scan a wide variety of headers to
  68857. - * find them..
  68858. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  68859. - */
  68860. -#if HAVE_SYS_TYPES_H
  68861. -#include <sys/types.h>
  68862. -#endif
  68863. -#if STDC_HEADERS
  68864. -#include <stdlib.h>
  68865. -#include <stddef.h>
  68866. -#endif
  68867. -#if HAVE_INTTYPES_H
  68868. -#include <inttypes.h>
  68869. -#endif
  68870. -#if HAVE_SYS_BITYPES_H
  68871. -#include <sys/bitypes.h>
  68872. -#endif
  68873. -#if HAVE_SYS_SELECT_H
  68874. -#include <sys/select.h>
  68875. -#endif
  68876. -#if HAVE_NETINET_IN_SYSTM_H
  68877. -#include <netinet/in_systm.h>
  68878. -#endif
  68879. -int
  68880. -main ()
  68881. -{
  68882. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int16_t))) <= $ac_mid)];
  68883. -test_array [0] = 0
  68884. - ;
  68885. - return 0;
  68886. -}
  68887. -_ACEOF
  68888. -rm -f conftest.$ac_objext
  68889. -if { (ac_try="$ac_compile"
  68890. -case "(($ac_try" in
  68891. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  68892. - *) ac_try_echo=$ac_try;;
  68893. -esac
  68894. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  68895. -$as_echo "$ac_try_echo") >&5
  68896. - (eval "$ac_compile") 2>conftest.er1
  68897. - ac_status=$?
  68898. - grep -v '^ *+' conftest.er1 >conftest.err
  68899. - rm -f conftest.er1
  68900. - cat conftest.err >&5
  68901. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  68902. - (exit $ac_status); } && {
  68903. - test -z "$ac_c_werror_flag" ||
  68904. - test ! -s conftest.err
  68905. - } && test -s conftest.$ac_objext; then
  68906. - ac_hi=$ac_mid; break
  68907. +
  68908. +
  68909. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  68910. +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  68911. +hardcode_action_CXX=
  68912. +if test -n "$hardcode_libdir_flag_spec_CXX" ||
  68913. + test -n "$runpath_var_CXX" ||
  68914. + test "X$hardcode_automatic_CXX" = "Xyes" ; then
  68915. +
  68916. + # We can hardcode non-existent directories.
  68917. + if test "$hardcode_direct_CXX" != no &&
  68918. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  68919. + # have to relink, otherwise we might link with an installed library
  68920. + # when we should be linking with a yet-to-be-installed one
  68921. + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
  68922. + test "$hardcode_minus_L_CXX" != no; then
  68923. + # Linking always hardcodes the temporary library directory.
  68924. + hardcode_action_CXX=relink
  68925. + else
  68926. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  68927. + hardcode_action_CXX=immediate
  68928. + fi
  68929. else
  68930. - $as_echo "$as_me: failed program was:" >&5
  68931. -sed 's/^/| /' conftest.$ac_ext >&5
  68932. + # We cannot hardcode anything, or else we can only hardcode existing
  68933. + # directories.
  68934. + hardcode_action_CXX=unsupported
  68935. +fi
  68936. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
  68937. +$as_echo "$hardcode_action_CXX" >&6; }
  68938. +
  68939. +if test "$hardcode_action_CXX" = relink ||
  68940. + test "$inherit_rpath_CXX" = yes; then
  68941. + # Fast installation is not supported
  68942. + enable_fast_install=no
  68943. +elif test "$shlibpath_overrides_runpath" = yes ||
  68944. + test "$enable_shared" = no; then
  68945. + # Fast installation is not necessary
  68946. + enable_fast_install=needless
  68947. +fi
  68948. +
  68949. +
  68950. +
  68951. +
  68952. +
  68953. +
  68954. +
  68955. + fi # test -n "$compiler"
  68956. +
  68957. + CC=$lt_save_CC
  68958. + LDCXX=$LD
  68959. + LD=$lt_save_LD
  68960. + GCC=$lt_save_GCC
  68961. + with_gnu_ld=$lt_save_with_gnu_ld
  68962. + lt_cv_path_LDCXX=$lt_cv_path_LD
  68963. + lt_cv_path_LD=$lt_save_path_LD
  68964. + lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  68965. + lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  68966. +fi # test "$_lt_caught_CXX_error" != yes
  68967. +
  68968. +ac_ext=c
  68969. +ac_cpp='$CPP $CPPFLAGS'
  68970. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  68971. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  68972. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  68973. - ac_lo=`expr $ac_mid + 1`
  68974. - if test $ac_lo -le $ac_mid; then
  68975. - ac_lo= ac_hi=
  68976. - break
  68977. - fi
  68978. - ac_mid=`expr 2 '*' $ac_mid + 1`
  68979. -fi
  68980. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  68981. - done
  68982. -else
  68983. - $as_echo "$as_me: failed program was:" >&5
  68984. -sed 's/^/| /' conftest.$ac_ext >&5
  68985. - cat >conftest.$ac_ext <<_ACEOF
  68986. -/* confdefs.h. */
  68987. -_ACEOF
  68988. -cat confdefs.h >>conftest.$ac_ext
  68989. -cat >>conftest.$ac_ext <<_ACEOF
  68990. -/* end confdefs.h. */
  68991. -#include <stdio.h>
  68992. -/* What a mess.. many systems have added the (now standard) bit types
  68993. - * in their own ways, so we need to scan a wide variety of headers to
  68994. - * find them..
  68995. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  68996. - */
  68997. -#if HAVE_SYS_TYPES_H
  68998. -#include <sys/types.h>
  68999. -#endif
  69000. -#if STDC_HEADERS
  69001. -#include <stdlib.h>
  69002. -#include <stddef.h>
  69003. -#endif
  69004. -#if HAVE_INTTYPES_H
  69005. -#include <inttypes.h>
  69006. -#endif
  69007. -#if HAVE_SYS_BITYPES_H
  69008. -#include <sys/bitypes.h>
  69009. -#endif
  69010. -#if HAVE_SYS_SELECT_H
  69011. -#include <sys/select.h>
  69012. -#endif
  69013. -#if HAVE_NETINET_IN_SYSTM_H
  69014. -#include <netinet/in_systm.h>
  69015. -#endif
  69016. -int
  69017. -main ()
  69018. -{
  69019. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int16_t))) < 0)];
  69020. -test_array [0] = 0
  69021. - ;
  69022. - return 0;
  69023. -}
  69024. -_ACEOF
  69025. -rm -f conftest.$ac_objext
  69026. -if { (ac_try="$ac_compile"
  69027. -case "(($ac_try" in
  69028. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  69029. - *) ac_try_echo=$ac_try;;
  69030. -esac
  69031. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  69032. -$as_echo "$ac_try_echo") >&5
  69033. - (eval "$ac_compile") 2>conftest.er1
  69034. - ac_status=$?
  69035. - grep -v '^ *+' conftest.er1 >conftest.err
  69036. - rm -f conftest.er1
  69037. - cat conftest.err >&5
  69038. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  69039. - (exit $ac_status); } && {
  69040. - test -z "$ac_c_werror_flag" ||
  69041. - test ! -s conftest.err
  69042. - } && test -s conftest.$ac_objext; then
  69043. - ac_hi=-1 ac_mid=-1
  69044. - while :; do
  69045. - cat >conftest.$ac_ext <<_ACEOF
  69046. -/* confdefs.h. */
  69047. -_ACEOF
  69048. -cat confdefs.h >>conftest.$ac_ext
  69049. -cat >>conftest.$ac_ext <<_ACEOF
  69050. -/* end confdefs.h. */
  69051. -#include <stdio.h>
  69052. -/* What a mess.. many systems have added the (now standard) bit types
  69053. - * in their own ways, so we need to scan a wide variety of headers to
  69054. - * find them..
  69055. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  69056. - */
  69057. -#if HAVE_SYS_TYPES_H
  69058. -#include <sys/types.h>
  69059. -#endif
  69060. -#if STDC_HEADERS
  69061. -#include <stdlib.h>
  69062. -#include <stddef.h>
  69063. -#endif
  69064. -#if HAVE_INTTYPES_H
  69065. -#include <inttypes.h>
  69066. -#endif
  69067. -#if HAVE_SYS_BITYPES_H
  69068. -#include <sys/bitypes.h>
  69069. -#endif
  69070. -#if HAVE_SYS_SELECT_H
  69071. -#include <sys/select.h>
  69072. -#endif
  69073. -#if HAVE_NETINET_IN_SYSTM_H
  69074. -#include <netinet/in_systm.h>
  69075. -#endif
  69076. + ac_config_commands="$ac_config_commands libtool"
  69077. -int
  69078. -main ()
  69079. -{
  69080. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int16_t))) >= $ac_mid)];
  69081. -test_array [0] = 0
  69082. - ;
  69083. - return 0;
  69084. -}
  69085. -_ACEOF
  69086. -rm -f conftest.$ac_objext
  69087. -if { (ac_try="$ac_compile"
  69088. -case "(($ac_try" in
  69089. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  69090. - *) ac_try_echo=$ac_try;;
  69091. -esac
  69092. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  69093. -$as_echo "$ac_try_echo") >&5
  69094. - (eval "$ac_compile") 2>conftest.er1
  69095. - ac_status=$?
  69096. - grep -v '^ *+' conftest.er1 >conftest.err
  69097. - rm -f conftest.er1
  69098. - cat conftest.err >&5
  69099. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  69100. - (exit $ac_status); } && {
  69101. - test -z "$ac_c_werror_flag" ||
  69102. - test ! -s conftest.err
  69103. - } && test -s conftest.$ac_objext; then
  69104. - ac_lo=$ac_mid; break
  69105. -else
  69106. - $as_echo "$as_me: failed program was:" >&5
  69107. -sed 's/^/| /' conftest.$ac_ext >&5
  69108. - ac_hi=`expr '(' $ac_mid ')' - 1`
  69109. - if test $ac_mid -le $ac_hi; then
  69110. - ac_lo= ac_hi=
  69111. - break
  69112. - fi
  69113. - ac_mid=`expr 2 '*' $ac_mid`
  69114. -fi
  69115. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  69116. - done
  69117. -else
  69118. - $as_echo "$as_me: failed program was:" >&5
  69119. -sed 's/^/| /' conftest.$ac_ext >&5
  69120. +# Only expand once:
  69121. - ac_lo= ac_hi=
  69122. -fi
  69123. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  69124. -fi
  69125. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  69126. -# Binary search between lo and hi bounds.
  69127. -while test "x$ac_lo" != "x$ac_hi"; do
  69128. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  69129. - cat >conftest.$ac_ext <<_ACEOF
  69130. -/* confdefs.h. */
  69131. -_ACEOF
  69132. -cat confdefs.h >>conftest.$ac_ext
  69133. -cat >>conftest.$ac_ext <<_ACEOF
  69134. -/* end confdefs.h. */
  69135. +LT_DLLOADERS=
  69136. -#include <stdio.h>
  69137. -/* What a mess.. many systems have added the (now standard) bit types
  69138. - * in their own ways, so we need to scan a wide variety of headers to
  69139. - * find them..
  69140. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  69141. - */
  69142. -#if HAVE_SYS_TYPES_H
  69143. -#include <sys/types.h>
  69144. -#endif
  69145. -#if STDC_HEADERS
  69146. -#include <stdlib.h>
  69147. -#include <stddef.h>
  69148. -#endif
  69149. -#if HAVE_INTTYPES_H
  69150. -#include <inttypes.h>
  69151. -#endif
  69152. -#if HAVE_SYS_BITYPES_H
  69153. -#include <sys/bitypes.h>
  69154. -#endif
  69155. -#if HAVE_SYS_SELECT_H
  69156. -#include <sys/select.h>
  69157. -#endif
  69158. -#if HAVE_NETINET_IN_SYSTM_H
  69159. -#include <netinet/in_systm.h>
  69160. -#endif
  69161. +ac_ext=c
  69162. +ac_cpp='$CPP $CPPFLAGS'
  69163. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  69164. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  69165. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  69166. +LIBADD_DLOPEN=
  69167. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
  69168. +$as_echo_n "checking for library containing dlopen... " >&6; }
  69169. +if test "${ac_cv_search_dlopen+set}" = set; then :
  69170. + $as_echo_n "(cached) " >&6
  69171. +else
  69172. + ac_func_search_save_LIBS=$LIBS
  69173. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69174. +/* end confdefs.h. */
  69175. +/* Override any GCC internal prototype to avoid an error.
  69176. + Use char because int might match the return type of a GCC
  69177. + builtin and then its argument prototype would still apply. */
  69178. +#ifdef __cplusplus
  69179. +extern "C"
  69180. +#endif
  69181. +char dlopen ();
  69182. int
  69183. main ()
  69184. {
  69185. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int16_t))) <= $ac_mid)];
  69186. -test_array [0] = 0
  69187. -
  69188. +return dlopen ();
  69189. ;
  69190. return 0;
  69191. }
  69192. _ACEOF
  69193. -rm -f conftest.$ac_objext
  69194. -if { (ac_try="$ac_compile"
  69195. -case "(($ac_try" in
  69196. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  69197. - *) ac_try_echo=$ac_try;;
  69198. -esac
  69199. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  69200. -$as_echo "$ac_try_echo") >&5
  69201. - (eval "$ac_compile") 2>conftest.er1
  69202. - ac_status=$?
  69203. - grep -v '^ *+' conftest.er1 >conftest.err
  69204. - rm -f conftest.er1
  69205. - cat conftest.err >&5
  69206. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  69207. - (exit $ac_status); } && {
  69208. - test -z "$ac_c_werror_flag" ||
  69209. - test ! -s conftest.err
  69210. - } && test -s conftest.$ac_objext; then
  69211. - ac_hi=$ac_mid
  69212. -else
  69213. - $as_echo "$as_me: failed program was:" >&5
  69214. -sed 's/^/| /' conftest.$ac_ext >&5
  69215. -
  69216. - ac_lo=`expr '(' $ac_mid ')' + 1`
  69217. +for ac_lib in '' dl; do
  69218. + if test -z "$ac_lib"; then
  69219. + ac_res="none required"
  69220. + else
  69221. + ac_res=-l$ac_lib
  69222. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  69223. + fi
  69224. + if ac_fn_c_try_link "$LINENO"; then :
  69225. + ac_cv_search_dlopen=$ac_res
  69226. +fi
  69227. +rm -f core conftest.err conftest.$ac_objext \
  69228. + conftest$ac_exeext
  69229. + if test "${ac_cv_search_dlopen+set}" = set; then :
  69230. + break
  69231. fi
  69232. -
  69233. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  69234. done
  69235. -case $ac_lo in
  69236. -?*) ac_cv_sizeof_u_int16_t=$ac_lo;;
  69237. -'') if test "$ac_cv_type_u_int16_t" = yes; then
  69238. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (u_int16_t)
  69239. -See \`config.log' for more details." >&5
  69240. -$as_echo "$as_me: error: cannot compute sizeof (u_int16_t)
  69241. -See \`config.log' for more details." >&2;}
  69242. - { (exit 77); exit 77; }; }
  69243. - else
  69244. - ac_cv_sizeof_u_int16_t=0
  69245. - fi ;;
  69246. -esac
  69247. +if test "${ac_cv_search_dlopen+set}" = set; then :
  69248. +
  69249. else
  69250. - cat >conftest.$ac_ext <<_ACEOF
  69251. -/* confdefs.h. */
  69252. -_ACEOF
  69253. -cat confdefs.h >>conftest.$ac_ext
  69254. -cat >>conftest.$ac_ext <<_ACEOF
  69255. -/* end confdefs.h. */
  69256. + ac_cv_search_dlopen=no
  69257. +fi
  69258. +rm conftest.$ac_ext
  69259. +LIBS=$ac_func_search_save_LIBS
  69260. +fi
  69261. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
  69262. +$as_echo "$ac_cv_search_dlopen" >&6; }
  69263. +ac_res=$ac_cv_search_dlopen
  69264. +if test "$ac_res" != no; then :
  69265. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  69266. -#include <stdio.h>
  69267. +$as_echo "#define HAVE_LIBDL 1" >>confdefs.h
  69268. -/* What a mess.. many systems have added the (now standard) bit types
  69269. - * in their own ways, so we need to scan a wide variety of headers to
  69270. - * find them..
  69271. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  69272. - */
  69273. -#if HAVE_SYS_TYPES_H
  69274. -#include <sys/types.h>
  69275. -#endif
  69276. -#if STDC_HEADERS
  69277. -#include <stdlib.h>
  69278. -#include <stddef.h>
  69279. -#endif
  69280. -#if HAVE_INTTYPES_H
  69281. -#include <inttypes.h>
  69282. -#endif
  69283. -#if HAVE_SYS_BITYPES_H
  69284. -#include <sys/bitypes.h>
  69285. -#endif
  69286. -#if HAVE_SYS_SELECT_H
  69287. -#include <sys/select.h>
  69288. -#endif
  69289. -#if HAVE_NETINET_IN_SYSTM_H
  69290. -#include <netinet/in_systm.h>
  69291. + if test "$ac_cv_search_dlopen" != "none required" ; then
  69292. + LIBADD_DLOPEN="-ldl"
  69293. + fi
  69294. + libltdl_cv_lib_dl_dlopen="yes"
  69295. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
  69296. +else
  69297. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69298. +/* end confdefs.h. */
  69299. +#if HAVE_DLFCN_H
  69300. +# include <dlfcn.h>
  69301. #endif
  69302. -
  69303. -
  69304. -static long int longval () { return (long int) (sizeof (u_int16_t)); }
  69305. -static unsigned long int ulongval () { return (long int) (sizeof (u_int16_t)); }
  69306. -#include <stdio.h>
  69307. -#include <stdlib.h>
  69308. int
  69309. main ()
  69310. {
  69311. +dlopen(0, 0);
  69312. + ;
  69313. + return 0;
  69314. +}
  69315. +_ACEOF
  69316. +if ac_fn_c_try_link "$LINENO"; then :
  69317. - FILE *f = fopen ("conftest.val", "w");
  69318. - if (! f)
  69319. - return 1;
  69320. - if (((long int) (sizeof (u_int16_t))) < 0)
  69321. - {
  69322. - long int i = longval ();
  69323. - if (i != ((long int) (sizeof (u_int16_t))))
  69324. - return 1;
  69325. - fprintf (f, "%ld", i);
  69326. - }
  69327. - else
  69328. - {
  69329. - unsigned long int i = ulongval ();
  69330. - if (i != ((long int) (sizeof (u_int16_t))))
  69331. - return 1;
  69332. - fprintf (f, "%lu", i);
  69333. - }
  69334. - /* Do not output a trailing newline, as this causes \r\n confusion
  69335. - on some platforms. */
  69336. - return ferror (f) || fclose (f) != 0;
  69337. +$as_echo "#define HAVE_LIBDL 1" >>confdefs.h
  69338. +
  69339. + libltdl_cv_func_dlopen="yes"
  69340. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
  69341. +else
  69342. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  69343. +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  69344. +if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
  69345. + $as_echo_n "(cached) " >&6
  69346. +else
  69347. + ac_check_lib_save_LIBS=$LIBS
  69348. +LIBS="-lsvld $LIBS"
  69349. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69350. +/* end confdefs.h. */
  69351. +/* Override any GCC internal prototype to avoid an error.
  69352. + Use char because int might match the return type of a GCC
  69353. + builtin and then its argument prototype would still apply. */
  69354. +#ifdef __cplusplus
  69355. +extern "C"
  69356. +#endif
  69357. +char dlopen ();
  69358. +int
  69359. +main ()
  69360. +{
  69361. +return dlopen ();
  69362. ;
  69363. return 0;
  69364. }
  69365. _ACEOF
  69366. -rm -f conftest$ac_exeext
  69367. -if { (ac_try="$ac_link"
  69368. -case "(($ac_try" in
  69369. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  69370. - *) ac_try_echo=$ac_try;;
  69371. -esac
  69372. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  69373. -$as_echo "$ac_try_echo") >&5
  69374. - (eval "$ac_link") 2>&5
  69375. - ac_status=$?
  69376. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  69377. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  69378. - { (case "(($ac_try" in
  69379. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  69380. - *) ac_try_echo=$ac_try;;
  69381. -esac
  69382. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  69383. -$as_echo "$ac_try_echo") >&5
  69384. - (eval "$ac_try") 2>&5
  69385. - ac_status=$?
  69386. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  69387. - (exit $ac_status); }; }; then
  69388. - ac_cv_sizeof_u_int16_t=`cat conftest.val`
  69389. +if ac_fn_c_try_link "$LINENO"; then :
  69390. + ac_cv_lib_svld_dlopen=yes
  69391. else
  69392. - $as_echo "$as_me: program exited with status $ac_status" >&5
  69393. -$as_echo "$as_me: failed program was:" >&5
  69394. -sed 's/^/| /' conftest.$ac_ext >&5
  69395. -
  69396. -( exit $ac_status )
  69397. -if test "$ac_cv_type_u_int16_t" = yes; then
  69398. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (u_int16_t)
  69399. -See \`config.log' for more details." >&5
  69400. -$as_echo "$as_me: error: cannot compute sizeof (u_int16_t)
  69401. -See \`config.log' for more details." >&2;}
  69402. - { (exit 77); exit 77; }; }
  69403. - else
  69404. - ac_cv_sizeof_u_int16_t=0
  69405. - fi
  69406. -fi
  69407. -rm -rf conftest.dSYM
  69408. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  69409. + ac_cv_lib_svld_dlopen=no
  69410. fi
  69411. -rm -f conftest.val
  69412. +rm -f core conftest.err conftest.$ac_objext \
  69413. + conftest$ac_exeext conftest.$ac_ext
  69414. +LIBS=$ac_check_lib_save_LIBS
  69415. fi
  69416. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_u_int16_t" >&5
  69417. -$as_echo "$ac_cv_sizeof_u_int16_t" >&6; }
  69418. -
  69419. -
  69420. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  69421. +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  69422. +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
  69423. -cat >>confdefs.h <<_ACEOF
  69424. -#define SIZEOF_U_INT16_T $ac_cv_sizeof_u_int16_t
  69425. -_ACEOF
  69426. +$as_echo "#define HAVE_LIBDL 1" >>confdefs.h
  69427. + LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
  69428. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
  69429. +fi
  69430. +fi
  69431. +rm -f core conftest.err conftest.$ac_objext \
  69432. + conftest$ac_exeext conftest.$ac_ext
  69433. +fi
  69434. -cat >>confdefs.h <<\_ACEOF
  69435. -#define HAVE_U_INT16_T 1
  69436. +if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
  69437. +then
  69438. + lt_save_LIBS="$LIBS"
  69439. + LIBS="$LIBS $LIBADD_DLOPEN"
  69440. + for ac_func in dlerror
  69441. +do :
  69442. + ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
  69443. +if test "x$ac_cv_func_dlerror" = x""yes; then :
  69444. + cat >>confdefs.h <<_ACEOF
  69445. +#define HAVE_DLERROR 1
  69446. _ACEOF
  69447. +fi
  69448. +done
  69449. + LIBS="$lt_save_LIBS"
  69450. fi
  69451. -{ $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
  69452. -$as_echo_n "checking for uint16_t... " >&6; }
  69453. -if test "${ac_cv_type_uint16_t+set}" = set; then
  69454. +LIBADD_SHL_LOAD=
  69455. +ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  69456. +if test "x$ac_cv_func_shl_load" = x""yes; then :
  69457. +
  69458. +$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
  69459. +
  69460. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
  69461. +else
  69462. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  69463. +$as_echo_n "checking for shl_load in -ldld... " >&6; }
  69464. +if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
  69465. $as_echo_n "(cached) " >&6
  69466. else
  69467. - ac_cv_type_uint16_t=no
  69468. -cat >conftest.$ac_ext <<_ACEOF
  69469. -/* confdefs.h. */
  69470. -_ACEOF
  69471. -cat confdefs.h >>conftest.$ac_ext
  69472. -cat >>conftest.$ac_ext <<_ACEOF
  69473. + ac_check_lib_save_LIBS=$LIBS
  69474. +LIBS="-ldld $LIBS"
  69475. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69476. /* end confdefs.h. */
  69477. -/* What a mess.. many systems have added the (now standard) bit types
  69478. - * in their own ways, so we need to scan a wide variety of headers to
  69479. - * find them..
  69480. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  69481. - */
  69482. -#if HAVE_SYS_TYPES_H
  69483. -#include <sys/types.h>
  69484. -#endif
  69485. -#if STDC_HEADERS
  69486. -#include <stdlib.h>
  69487. -#include <stddef.h>
  69488. -#endif
  69489. -#if HAVE_INTTYPES_H
  69490. -#include <inttypes.h>
  69491. -#endif
  69492. -#if HAVE_SYS_BITYPES_H
  69493. -#include <sys/bitypes.h>
  69494. -#endif
  69495. -#if HAVE_SYS_SELECT_H
  69496. -#include <sys/select.h>
  69497. -#endif
  69498. -#if HAVE_NETINET_IN_SYSTM_H
  69499. -#include <netinet/in_systm.h>
  69500. +/* Override any GCC internal prototype to avoid an error.
  69501. + Use char because int might match the return type of a GCC
  69502. + builtin and then its argument prototype would still apply. */
  69503. +#ifdef __cplusplus
  69504. +extern "C"
  69505. #endif
  69506. -
  69507. -
  69508. +char shl_load ();
  69509. int
  69510. main ()
  69511. {
  69512. -if (sizeof (uint16_t))
  69513. - return 0;
  69514. +return shl_load ();
  69515. ;
  69516. return 0;
  69517. }
  69518. _ACEOF
  69519. -rm -f conftest.$ac_objext
  69520. -if { (ac_try="$ac_compile"
  69521. -case "(($ac_try" in
  69522. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  69523. - *) ac_try_echo=$ac_try;;
  69524. -esac
  69525. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  69526. -$as_echo "$ac_try_echo") >&5
  69527. - (eval "$ac_compile") 2>conftest.er1
  69528. - ac_status=$?
  69529. - grep -v '^ *+' conftest.er1 >conftest.err
  69530. - rm -f conftest.er1
  69531. - cat conftest.err >&5
  69532. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  69533. - (exit $ac_status); } && {
  69534. - test -z "$ac_c_werror_flag" ||
  69535. - test ! -s conftest.err
  69536. - } && test -s conftest.$ac_objext; then
  69537. - cat >conftest.$ac_ext <<_ACEOF
  69538. -/* confdefs.h. */
  69539. +if ac_fn_c_try_link "$LINENO"; then :
  69540. + ac_cv_lib_dld_shl_load=yes
  69541. +else
  69542. + ac_cv_lib_dld_shl_load=no
  69543. +fi
  69544. +rm -f core conftest.err conftest.$ac_objext \
  69545. + conftest$ac_exeext conftest.$ac_ext
  69546. +LIBS=$ac_check_lib_save_LIBS
  69547. +fi
  69548. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  69549. +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  69550. +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
  69551. +
  69552. +$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
  69553. +
  69554. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
  69555. + LIBADD_SHL_LOAD="-ldld"
  69556. +fi
  69557. +
  69558. +fi
  69559. +
  69560. +
  69561. +
  69562. +case $host_os in
  69563. +darwin[1567].*)
  69564. +# We only want this for pre-Mac OS X 10.4.
  69565. + ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
  69566. +if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then :
  69567. +
  69568. +$as_echo "#define HAVE_DYLD 1" >>confdefs.h
  69569. +
  69570. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
  69571. +fi
  69572. +
  69573. + ;;
  69574. +beos*)
  69575. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
  69576. + ;;
  69577. +cygwin* | mingw* | os2* | pw32*)
  69578. + ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
  69579. +"
  69580. +if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then :
  69581. + ac_have_decl=1
  69582. +else
  69583. + ac_have_decl=0
  69584. +fi
  69585. +
  69586. +cat >>confdefs.h <<_ACEOF
  69587. +#define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
  69588. _ACEOF
  69589. -cat confdefs.h >>conftest.$ac_ext
  69590. -cat >>conftest.$ac_ext <<_ACEOF
  69591. -/* end confdefs.h. */
  69592. -/* What a mess.. many systems have added the (now standard) bit types
  69593. - * in their own ways, so we need to scan a wide variety of headers to
  69594. - * find them..
  69595. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  69596. - */
  69597. -#if HAVE_SYS_TYPES_H
  69598. -#include <sys/types.h>
  69599. -#endif
  69600. -#if STDC_HEADERS
  69601. -#include <stdlib.h>
  69602. -#include <stddef.h>
  69603. -#endif
  69604. -#if HAVE_INTTYPES_H
  69605. -#include <inttypes.h>
  69606. -#endif
  69607. -#if HAVE_SYS_BITYPES_H
  69608. -#include <sys/bitypes.h>
  69609. -#endif
  69610. -#if HAVE_SYS_SELECT_H
  69611. -#include <sys/select.h>
  69612. -#endif
  69613. -#if HAVE_NETINET_IN_SYSTM_H
  69614. -#include <netinet/in_systm.h>
  69615. -#endif
  69616. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
  69617. + ;;
  69618. +esac
  69619. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  69620. +$as_echo_n "checking for dld_link in -ldld... " >&6; }
  69621. +if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
  69622. + $as_echo_n "(cached) " >&6
  69623. +else
  69624. + ac_check_lib_save_LIBS=$LIBS
  69625. +LIBS="-ldld $LIBS"
  69626. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69627. +/* end confdefs.h. */
  69628. +/* Override any GCC internal prototype to avoid an error.
  69629. + Use char because int might match the return type of a GCC
  69630. + builtin and then its argument prototype would still apply. */
  69631. +#ifdef __cplusplus
  69632. +extern "C"
  69633. +#endif
  69634. +char dld_link ();
  69635. int
  69636. main ()
  69637. {
  69638. -if (sizeof ((uint16_t)))
  69639. - return 0;
  69640. +return dld_link ();
  69641. ;
  69642. return 0;
  69643. }
  69644. _ACEOF
  69645. -rm -f conftest.$ac_objext
  69646. -if { (ac_try="$ac_compile"
  69647. -case "(($ac_try" in
  69648. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  69649. - *) ac_try_echo=$ac_try;;
  69650. -esac
  69651. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  69652. -$as_echo "$ac_try_echo") >&5
  69653. - (eval "$ac_compile") 2>conftest.er1
  69654. - ac_status=$?
  69655. - grep -v '^ *+' conftest.er1 >conftest.err
  69656. - rm -f conftest.er1
  69657. - cat conftest.err >&5
  69658. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  69659. - (exit $ac_status); } && {
  69660. - test -z "$ac_c_werror_flag" ||
  69661. - test ! -s conftest.err
  69662. - } && test -s conftest.$ac_objext; then
  69663. - :
  69664. +if ac_fn_c_try_link "$LINENO"; then :
  69665. + ac_cv_lib_dld_dld_link=yes
  69666. else
  69667. - $as_echo "$as_me: failed program was:" >&5
  69668. -sed 's/^/| /' conftest.$ac_ext >&5
  69669. + ac_cv_lib_dld_dld_link=no
  69670. +fi
  69671. +rm -f core conftest.err conftest.$ac_objext \
  69672. + conftest$ac_exeext conftest.$ac_ext
  69673. +LIBS=$ac_check_lib_save_LIBS
  69674. +fi
  69675. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  69676. +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  69677. +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
  69678. +
  69679. +$as_echo "#define HAVE_DLD 1" >>confdefs.h
  69680. +
  69681. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
  69682. +fi
  69683. +
  69684. +
  69685. +
  69686. +
  69687. +LT_DLPREOPEN=
  69688. +if test -n "$LT_DLLOADERS"
  69689. +then
  69690. + for lt_loader in $LT_DLLOADERS; do
  69691. + LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
  69692. + done
  69693. +
  69694. +$as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
  69695. +
  69696. +fi
  69697. +
  69698. +
  69699. +LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
  69700. +
  69701. +
  69702. +ac_ext=c
  69703. +ac_cpp='$CPP $CPPFLAGS'
  69704. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  69705. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  69706. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  69707. +
  69708. +
  69709. +if test -n "$ac_tool_prefix"; then
  69710. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  69711. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  69712. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  69713. +$as_echo_n "checking for $ac_word... " >&6; }
  69714. +if test "${ac_cv_prog_RANLIB+set}" = set; then :
  69715. + $as_echo_n "(cached) " >&6
  69716. +else
  69717. + if test -n "$RANLIB"; then
  69718. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  69719. +else
  69720. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  69721. +for as_dir in $PATH
  69722. +do
  69723. + IFS=$as_save_IFS
  69724. + test -z "$as_dir" && as_dir=.
  69725. + for ac_exec_ext in '' $ac_executable_extensions; do
  69726. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  69727. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  69728. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  69729. + break 2
  69730. + fi
  69731. +done
  69732. + done
  69733. +IFS=$as_save_IFS
  69734. +
  69735. +fi
  69736. +fi
  69737. +RANLIB=$ac_cv_prog_RANLIB
  69738. +if test -n "$RANLIB"; then
  69739. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  69740. +$as_echo "$RANLIB" >&6; }
  69741. +else
  69742. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  69743. +$as_echo "no" >&6; }
  69744. +fi
  69745. +
  69746. +
  69747. +fi
  69748. +if test -z "$ac_cv_prog_RANLIB"; then
  69749. + ac_ct_RANLIB=$RANLIB
  69750. + # Extract the first word of "ranlib", so it can be a program name with args.
  69751. +set dummy ranlib; ac_word=$2
  69752. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  69753. +$as_echo_n "checking for $ac_word... " >&6; }
  69754. +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  69755. + $as_echo_n "(cached) " >&6
  69756. +else
  69757. + if test -n "$ac_ct_RANLIB"; then
  69758. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  69759. +else
  69760. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  69761. +for as_dir in $PATH
  69762. +do
  69763. + IFS=$as_save_IFS
  69764. + test -z "$as_dir" && as_dir=.
  69765. + for ac_exec_ext in '' $ac_executable_extensions; do
  69766. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  69767. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  69768. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  69769. + break 2
  69770. + fi
  69771. +done
  69772. + done
  69773. +IFS=$as_save_IFS
  69774. - ac_cv_type_uint16_t=yes
  69775. fi
  69776. -
  69777. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  69778. +fi
  69779. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  69780. +if test -n "$ac_ct_RANLIB"; then
  69781. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  69782. +$as_echo "$ac_ct_RANLIB" >&6; }
  69783. else
  69784. - $as_echo "$as_me: failed program was:" >&5
  69785. -sed 's/^/| /' conftest.$ac_ext >&5
  69786. -
  69787. -
  69788. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  69789. +$as_echo "no" >&6; }
  69790. fi
  69791. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  69792. + if test "x$ac_ct_RANLIB" = x; then
  69793. + RANLIB=":"
  69794. + else
  69795. + case $cross_compiling:$ac_tool_warned in
  69796. +yes:)
  69797. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  69798. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  69799. +ac_tool_warned=yes ;;
  69800. +esac
  69801. + RANLIB=$ac_ct_RANLIB
  69802. + fi
  69803. +else
  69804. + RANLIB="$ac_cv_prog_RANLIB"
  69805. fi
  69806. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
  69807. -$as_echo "$ac_cv_type_uint16_t" >&6; }
  69808. -if test $ac_cv_type_uint16_t = yes; then
  69809. - # The cast to long int works around a bug in the HP C Compiler
  69810. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  69811. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  69812. -# This bug is HP SR number 8606223364.
  69813. -{ $as_echo "$as_me:$LINENO: checking size of uint16_t" >&5
  69814. -$as_echo_n "checking size of uint16_t... " >&6; }
  69815. -if test "${ac_cv_sizeof_uint16_t+set}" = set; then
  69816. - $as_echo_n "(cached) " >&6
  69817. -else
  69818. - if test "$cross_compiling" = yes; then
  69819. - # Depending upon the size, compute the lo and hi bounds.
  69820. -cat >conftest.$ac_ext <<_ACEOF
  69821. -/* confdefs.h. */
  69822. -_ACEOF
  69823. -cat confdefs.h >>conftest.$ac_ext
  69824. -cat >>conftest.$ac_ext <<_ACEOF
  69825. -/* end confdefs.h. */
  69826. -#include <stdio.h>
  69827. -/* What a mess.. many systems have added the (now standard) bit types
  69828. - * in their own ways, so we need to scan a wide variety of headers to
  69829. - * find them..
  69830. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  69831. - */
  69832. -#if HAVE_SYS_TYPES_H
  69833. -#include <sys/types.h>
  69834. -#endif
  69835. -#if STDC_HEADERS
  69836. -#include <stdlib.h>
  69837. -#include <stddef.h>
  69838. -#endif
  69839. -#if HAVE_INTTYPES_H
  69840. -#include <inttypes.h>
  69841. -#endif
  69842. -#if HAVE_SYS_BITYPES_H
  69843. -#include <sys/bitypes.h>
  69844. -#endif
  69845. -#if HAVE_SYS_SELECT_H
  69846. -#include <sys/select.h>
  69847. -#endif
  69848. -#if HAVE_NETINET_IN_SYSTM_H
  69849. -#include <netinet/in_systm.h>
  69850. -#endif
  69851. +CRYPTLIB=''
  69852. +REGEXLIB='' # -lregex
  69853. +LIBREGEX='' # libregex.a
  69854. -int
  69855. -main ()
  69856. -{
  69857. -static int test_array [1 - 2 * !(((long int) (sizeof (uint16_t))) >= 0)];
  69858. -test_array [0] = 0
  69859. - ;
  69860. - return 0;
  69861. -}
  69862. -_ACEOF
  69863. -rm -f conftest.$ac_objext
  69864. -if { (ac_try="$ac_compile"
  69865. -case "(($ac_try" in
  69866. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  69867. - *) ac_try_echo=$ac_try;;
  69868. -esac
  69869. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  69870. -$as_echo "$ac_try_echo") >&5
  69871. - (eval "$ac_compile") 2>conftest.er1
  69872. - ac_status=$?
  69873. - grep -v '^ *+' conftest.er1 >conftest.err
  69874. - rm -f conftest.er1
  69875. - cat conftest.err >&5
  69876. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  69877. - (exit $ac_status); } && {
  69878. - test -z "$ac_c_werror_flag" ||
  69879. - test ! -s conftest.err
  69880. - } && test -s conftest.$ac_objext; then
  69881. - ac_lo=0 ac_mid=0
  69882. - while :; do
  69883. - cat >conftest.$ac_ext <<_ACEOF
  69884. -/* confdefs.h. */
  69885. -_ACEOF
  69886. -cat confdefs.h >>conftest.$ac_ext
  69887. -cat >>conftest.$ac_ext <<_ACEOF
  69888. -/* end confdefs.h. */
  69889. +if test -z "$EXEEXT"; then
  69890. + CGIEXT=".cgi"
  69891. +else
  69892. + # automake automatically adds .exe when installing binaries
  69893. + CGIEXT=""
  69894. +fi
  69895. -#include <stdio.h>
  69896. -/* What a mess.. many systems have added the (now standard) bit types
  69897. - * in their own ways, so we need to scan a wide variety of headers to
  69898. - * find them..
  69899. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  69900. - */
  69901. -#if HAVE_SYS_TYPES_H
  69902. -#include <sys/types.h>
  69903. -#endif
  69904. -#if STDC_HEADERS
  69905. -#include <stdlib.h>
  69906. -#include <stddef.h>
  69907. -#endif
  69908. -#if HAVE_INTTYPES_H
  69909. -#include <inttypes.h>
  69910. -#endif
  69911. -#if HAVE_SYS_BITYPES_H
  69912. -#include <sys/bitypes.h>
  69913. -#endif
  69914. -#if HAVE_SYS_SELECT_H
  69915. -#include <sys/select.h>
  69916. -#endif
  69917. -#if HAVE_NETINET_IN_SYSTM_H
  69918. -#include <netinet/in_systm.h>
  69919. -#endif
  69920. +case "$host_os" in
  69921. +mingw|mingw32|cygwin|cygwin32)
  69922. + if true; then
  69923. + ENABLE_WIN32SPECIFIC_TRUE=
  69924. + ENABLE_WIN32SPECIFIC_FALSE='#'
  69925. +else
  69926. + ENABLE_WIN32SPECIFIC_TRUE='#'
  69927. + ENABLE_WIN32SPECIFIC_FALSE=
  69928. +fi
  69929. + ;;
  69930. +*)
  69931. + if false; then
  69932. + ENABLE_WIN32SPECIFIC_TRUE=
  69933. + ENABLE_WIN32SPECIFIC_FALSE='#'
  69934. +else
  69935. + ENABLE_WIN32SPECIFIC_TRUE='#'
  69936. + ENABLE_WIN32SPECIFIC_FALSE=
  69937. +fi
  69938. + ;;
  69939. +esac
  69940. -int
  69941. -main ()
  69942. -{
  69943. -static int test_array [1 - 2 * !(((long int) (sizeof (uint16_t))) <= $ac_mid)];
  69944. -test_array [0] = 0
  69945. +case "$host_os" in
  69946. +mingw|mingw32)
  69947. + # Extract the first word of "psapi.dll", so it can be a program name with args.
  69948. +set dummy psapi.dll; ac_word=$2
  69949. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  69950. +$as_echo_n "checking for $ac_word... " >&6; }
  69951. +if test "${ac_cv_path_WIN32_PSAPI+set}" = set; then :
  69952. + $as_echo_n "(cached) " >&6
  69953. +else
  69954. + case $WIN32_PSAPI in
  69955. + [\\/]* | ?:[\\/]*)
  69956. + ac_cv_path_WIN32_PSAPI="$WIN32_PSAPI" # Let the user override the test with a path.
  69957. + ;;
  69958. + *)
  69959. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  69960. +for as_dir in $PATH
  69961. +do
  69962. + IFS=$as_save_IFS
  69963. + test -z "$as_dir" && as_dir=.
  69964. + for ac_exec_ext in '' $ac_executable_extensions; do
  69965. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  69966. + ac_cv_path_WIN32_PSAPI="$as_dir/$ac_word$ac_exec_ext"
  69967. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  69968. + break 2
  69969. + fi
  69970. +done
  69971. + done
  69972. +IFS=$as_save_IFS
  69973. - ;
  69974. - return 0;
  69975. -}
  69976. -_ACEOF
  69977. -rm -f conftest.$ac_objext
  69978. -if { (ac_try="$ac_compile"
  69979. -case "(($ac_try" in
  69980. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  69981. - *) ac_try_echo=$ac_try;;
  69982. + test -z "$ac_cv_path_WIN32_PSAPI" && ac_cv_path_WIN32_PSAPI="none"
  69983. + ;;
  69984. esac
  69985. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  69986. -$as_echo "$ac_try_echo") >&5
  69987. - (eval "$ac_compile") 2>conftest.er1
  69988. - ac_status=$?
  69989. - grep -v '^ *+' conftest.er1 >conftest.err
  69990. - rm -f conftest.er1
  69991. - cat conftest.err >&5
  69992. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  69993. - (exit $ac_status); } && {
  69994. - test -z "$ac_c_werror_flag" ||
  69995. - test ! -s conftest.err
  69996. - } && test -s conftest.$ac_objext; then
  69997. - ac_hi=$ac_mid; break
  69998. +fi
  69999. +WIN32_PSAPI=$ac_cv_path_WIN32_PSAPI
  70000. +if test -n "$WIN32_PSAPI"; then
  70001. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIN32_PSAPI" >&5
  70002. +$as_echo "$WIN32_PSAPI" >&6; }
  70003. else
  70004. - $as_echo "$as_me: failed program was:" >&5
  70005. -sed 's/^/| /' conftest.$ac_ext >&5
  70006. -
  70007. - ac_lo=`expr $ac_mid + 1`
  70008. - if test $ac_lo -le $ac_mid; then
  70009. - ac_lo= ac_hi=
  70010. - break
  70011. - fi
  70012. - ac_mid=`expr 2 '*' $ac_mid + 1`
  70013. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  70014. +$as_echo "no" >&6; }
  70015. fi
  70016. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  70017. - done
  70018. -else
  70019. - $as_echo "$as_me: failed program was:" >&5
  70020. -sed 's/^/| /' conftest.$ac_ext >&5
  70021. - cat >conftest.$ac_ext <<_ACEOF
  70022. -/* confdefs.h. */
  70023. -_ACEOF
  70024. -cat confdefs.h >>conftest.$ac_ext
  70025. -cat >>conftest.$ac_ext <<_ACEOF
  70026. -/* end confdefs.h. */
  70027. + CFLAGS="$CFLAGS -mthreads"
  70028. + CXXFLAGS="$CXXFLAGS -mthreads"
  70029. + if test "$ac_cv_path_WIN32_PSAPI" = "none"; then
  70030. + echo "PSAPI.DLL is recommended to run Squid on Windows NT Platform"
  70031. + echo "Please see PSAPI.DLL section on doc/win32-relnotes.html."
  70032. + else
  70033. -#include <stdio.h>
  70034. +$as_echo "#define HAVE_WIN32_PSAPI 1" >>confdefs.h
  70035. -/* What a mess.. many systems have added the (now standard) bit types
  70036. - * in their own ways, so we need to scan a wide variety of headers to
  70037. - * find them..
  70038. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  70039. - */
  70040. -#if HAVE_SYS_TYPES_H
  70041. -#include <sys/types.h>
  70042. -#endif
  70043. -#if STDC_HEADERS
  70044. -#include <stdlib.h>
  70045. -#include <stddef.h>
  70046. -#endif
  70047. -#if HAVE_INTTYPES_H
  70048. -#include <inttypes.h>
  70049. -#endif
  70050. -#if HAVE_SYS_BITYPES_H
  70051. -#include <sys/bitypes.h>
  70052. -#endif
  70053. -#if HAVE_SYS_SELECT_H
  70054. -#include <sys/select.h>
  70055. -#endif
  70056. -#if HAVE_NETINET_IN_SYSTM_H
  70057. -#include <netinet/in_systm.h>
  70058. -#endif
  70059. + LIBS="$LIBS -lpsapi"
  70060. + fi
  70061. + MINGW_LIBS="-lmingwex"
  70062. + if true; then
  70063. + USE_IPC_WIN32_TRUE=
  70064. + USE_IPC_WIN32_FALSE='#'
  70065. +else
  70066. + USE_IPC_WIN32_TRUE='#'
  70067. + USE_IPC_WIN32_FALSE=
  70068. +fi
  70069. +
  70070. +
  70071. + ;;
  70072. +*)
  70073. + if false; then
  70074. + USE_IPC_WIN32_TRUE=
  70075. + USE_IPC_WIN32_FALSE='#'
  70076. +else
  70077. + USE_IPC_WIN32_TRUE='#'
  70078. + USE_IPC_WIN32_FALSE=
  70079. +fi
  70080. + ;;
  70081. +esac
  70082. +if test -z "$CACHE_HTTP_PORT"; then
  70083. + CACHE_HTTP_PORT="3128"
  70084. +fi
  70085. +if test -z "$CACHE_ICP_PORT"; then
  70086. + CACHE_ICP_PORT="3130"
  70087. +fi
  70088. -int
  70089. -main ()
  70090. -{
  70091. -static int test_array [1 - 2 * !(((long int) (sizeof (uint16_t))) < 0)];
  70092. -test_array [0] = 0
  70093. - ;
  70094. - return 0;
  70095. -}
  70096. +cat >>confdefs.h <<_ACEOF
  70097. +#define CACHE_HTTP_PORT $CACHE_HTTP_PORT
  70098. _ACEOF
  70099. -rm -f conftest.$ac_objext
  70100. -if { (ac_try="$ac_compile"
  70101. -case "(($ac_try" in
  70102. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  70103. - *) ac_try_echo=$ac_try;;
  70104. -esac
  70105. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  70106. -$as_echo "$ac_try_echo") >&5
  70107. - (eval "$ac_compile") 2>conftest.er1
  70108. - ac_status=$?
  70109. - grep -v '^ *+' conftest.er1 >conftest.err
  70110. - rm -f conftest.er1
  70111. - cat conftest.err >&5
  70112. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  70113. - (exit $ac_status); } && {
  70114. - test -z "$ac_c_werror_flag" ||
  70115. - test ! -s conftest.err
  70116. - } && test -s conftest.$ac_objext; then
  70117. - ac_hi=-1 ac_mid=-1
  70118. - while :; do
  70119. - cat >conftest.$ac_ext <<_ACEOF
  70120. -/* confdefs.h. */
  70121. +
  70122. +
  70123. +
  70124. +cat >>confdefs.h <<_ACEOF
  70125. +#define CACHE_ICP_PORT $CACHE_ICP_PORT
  70126. _ACEOF
  70127. -cat confdefs.h >>conftest.$ac_ext
  70128. -cat >>conftest.$ac_ext <<_ACEOF
  70129. -/* end confdefs.h. */
  70130. -#include <stdio.h>
  70131. -/* What a mess.. many systems have added the (now standard) bit types
  70132. - * in their own ways, so we need to scan a wide variety of headers to
  70133. - * find them..
  70134. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  70135. - */
  70136. -#if HAVE_SYS_TYPES_H
  70137. -#include <sys/types.h>
  70138. -#endif
  70139. -#if STDC_HEADERS
  70140. -#include <stdlib.h>
  70141. -#include <stddef.h>
  70142. -#endif
  70143. -#if HAVE_INTTYPES_H
  70144. -#include <inttypes.h>
  70145. -#endif
  70146. -#if HAVE_SYS_BITYPES_H
  70147. -#include <sys/bitypes.h>
  70148. -#endif
  70149. -#if HAVE_SYS_SELECT_H
  70150. -#include <sys/select.h>
  70151. -#endif
  70152. -#if HAVE_NETINET_IN_SYSTM_H
  70153. -#include <netinet/in_systm.h>
  70154. -#endif
  70155. +cat >>confdefs.h <<_ACEOF
  70156. +#define CONFIG_HOST_TYPE "$host"
  70157. +_ACEOF
  70158. -int
  70159. -main ()
  70160. -{
  70161. -static int test_array [1 - 2 * !(((long int) (sizeof (uint16_t))) >= $ac_mid)];
  70162. -test_array [0] = 0
  70163. - ;
  70164. - return 0;
  70165. -}
  70166. +
  70167. +cat >>confdefs.h <<_ACEOF
  70168. +#define SQUID_CONFIGURE_OPTIONS "$ac_configure_args"
  70169. _ACEOF
  70170. -rm -f conftest.$ac_objext
  70171. -if { (ac_try="$ac_compile"
  70172. -case "(($ac_try" in
  70173. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  70174. - *) ac_try_echo=$ac_try;;
  70175. +
  70176. +
  70177. +CACHE_EFFECTIVE_USER="nobody"
  70178. +
  70179. +# Check whether --with-default-user was given.
  70180. +if test "${with_default_user+set}" = set; then :
  70181. + withval=$with_default_user; CACHE_EFFECTIVE_USER="$withval"
  70182. +
  70183. +fi
  70184. +
  70185. +
  70186. +
  70187. +case "$host" in
  70188. + mab-next-nextstep3)
  70189. + CC="$CC -arch m68k -arch i486 -arch hppa -arch sparc"
  70190. + ;;
  70191. esac
  70192. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  70193. -$as_echo "$ac_try_echo") >&5
  70194. - (eval "$ac_compile") 2>conftest.er1
  70195. - ac_status=$?
  70196. - grep -v '^ *+' conftest.er1 >conftest.err
  70197. - rm -f conftest.er1
  70198. - cat conftest.err >&5
  70199. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  70200. - (exit $ac_status); } && {
  70201. - test -z "$ac_c_werror_flag" ||
  70202. - test ! -s conftest.err
  70203. - } && test -s conftest.$ac_objext; then
  70204. - ac_lo=$ac_mid; break
  70205. -else
  70206. - $as_echo "$as_me: failed program was:" >&5
  70207. -sed 's/^/| /' conftest.$ac_ext >&5
  70208. - ac_hi=`expr '(' $ac_mid ')' - 1`
  70209. - if test $ac_mid -le $ac_hi; then
  70210. - ac_lo= ac_hi=
  70211. - break
  70212. - fi
  70213. - ac_mid=`expr 2 '*' $ac_mid`
  70214. +if test "$GCC" = "yes"; then
  70215. + GCCVER=`$CC -v 2>&1 | awk '$2 == "version" {print $3}'`
  70216. + GCCVER2=`echo $GCCVER | awk '{print $1 * 100}'`
  70217. + case "$host" in
  70218. + i386-*-freebsd*)
  70219. + if test $GCCVER2 -lt 300 ; then
  70220. + echo "ERROR: GCC $GCCVER causes a coredump on $host"
  70221. + echo "ERROR: Try a more recent GCC version"
  70222. + sleep 5
  70223. + fi
  70224. + ;;
  70225. + esac
  70226. + unset GCCVER
  70227. + unset GCCVER2
  70228. fi
  70229. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  70230. - done
  70231. -else
  70232. - $as_echo "$as_me: failed program was:" >&5
  70233. -sed 's/^/| /' conftest.$ac_ext >&5
  70234. +if test -z "$PRESET_CFLAGS"; then
  70235. + if test "$GCC" = "yes"; then
  70236. + case "$host" in
  70237. + *-sun-sunos*)
  70238. + # sunos has too many warnings for this to be useful
  70239. + # motorola too
  70240. + ;;
  70241. + *m88k*)
  70242. + # Motorola cc/ld does not like -02 but is ok on -O
  70243. + CFLAGS=`echo $CFLAGS | sed -e 's/-O0-9/-O/'`
  70244. + ;;
  70245. + *)
  70246. + CFLAGS="-Wall $CFLAGS"
  70247. + ;;
  70248. + esac
  70249. + else
  70250. + case "$host" in
  70251. + *mips-sgi-irix6.*)
  70252. + # suggested by Rafael Seidl <rafaels@cthulhu.engr.sgi.com>
  70253. + CFLAGS="-O3 -OPT:Olimit=0:space=OFF \
  70254. + -woff 1009,1014,1110,1116,1183,1185,1188,1204,1230,1233,1355 \
  70255. + -Wl,-woff,85,-woff,84,-woff,134 \
  70256. + -nostdinc -I/usr/include -D_BSD_SIGNALS $CFLAGS"
  70257. + CXXFLAGS="-O3 -OPT:Olimit=0:space=OFF \
  70258. + -woff 1009,1014,1110,1116,1183,1185,1188,1204,1230,1233,1355 \
  70259. + -Wl,-woff,85,-woff,84,-woff,134 \
  70260. + -nostdinc -I/usr/include -D_BSD_SIGNALS $CXXFLAGS"
  70261. + ;;
  70262. + alpha-dec-osf4.*)
  70263. + # Mogul says DEC compilers take both -g and -O2
  70264. + CFLAGS=`echo $CFLAGS | sed -e 's/-g/-g3/'`
  70265. + CFLAGS="-O2 $CFLAGS"
  70266. + ;;
  70267. + *)
  70268. + ;;
  70269. + esac
  70270. + fi
  70271. +fi
  70272. - ac_lo= ac_hi=
  70273. +if test "$GCC" = "yes"; then
  70274. + case "$host_os" in
  70275. + mingw|mingw32)
  70276. + SQUID_CFLAGS="-Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments"
  70277. + ;;
  70278. + *)
  70279. + SQUID_CFLAGS="-Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments"
  70280. + ;;
  70281. + esac
  70282. + SQUID_CXXFLAGS="-Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments"
  70283. +else
  70284. + SQUID_CFLAGS=
  70285. + SQUID_CXXFLAGS=
  70286. fi
  70287. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  70288. +
  70289. +
  70290. +
  70291. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts -fhuge-objects" >&5
  70292. +$as_echo_n "checking whether compiler accepts -fhuge-objects... " >&6; }
  70293. + if test "${ac_cv_test_checkforhugeobjects+set}" = set; then :
  70294. + $as_echo_n "(cached) " >&6
  70295. +else
  70296. +
  70297. + ac_cv_test_checkforhugeobjects=`echo "int main(int argc, char **argv) { int foo; }" > conftest.cc
  70298. +${CXX} -Werror -fhuge-objects -o conftest.bin conftest.cc 2>/dev/null
  70299. +res=$?
  70300. +rm -f conftest.*
  70301. +echo yes
  70302. +exit $res`
  70303. + if [ $? -ne 0 ]
  70304. + then ac_cv_test_checkforhugeobjects=no
  70305. + else if [ -z "$ac_cv_test_checkforhugeobjects" ]
  70306. + then ac_cv_test_checkforhugeobjects=yes
  70307. + fi ; fi
  70308. +
  70309. fi
  70310. + # end of CACHE_VAL
  70311. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_test_checkforhugeobjects}" >&5
  70312. +$as_echo "${ac_cv_test_checkforhugeobjects}" >&6; }
  70313. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  70314. -# Binary search between lo and hi bounds.
  70315. -while test "x$ac_lo" != "x$ac_hi"; do
  70316. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  70317. - cat >conftest.$ac_ext <<_ACEOF
  70318. -/* confdefs.h. */
  70319. -_ACEOF
  70320. -cat confdefs.h >>conftest.$ac_ext
  70321. -cat >>conftest.$ac_ext <<_ACEOF
  70322. -/* end confdefs.h. */
  70323. + if test "X${ac_cv_test_checkforhugeobjects}" != Xno
  70324. + then
  70325. + HUGE_OBJECT_FLAG="-fhuge-objects"
  70326. + else
  70327. + HUGE_OBJECT_FLAG=""
  70328. + fi
  70329. -#include <stdio.h>
  70330. +SQUID_CXXFLAGS="$SQUID_CXXFLAGS $HUGE_OBJECT_FLAG"
  70331. -/* What a mess.. many systems have added the (now standard) bit types
  70332. - * in their own ways, so we need to scan a wide variety of headers to
  70333. - * find them..
  70334. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  70335. - */
  70336. -#if HAVE_SYS_TYPES_H
  70337. -#include <sys/types.h>
  70338. -#endif
  70339. -#if STDC_HEADERS
  70340. -#include <stdlib.h>
  70341. -#include <stddef.h>
  70342. -#endif
  70343. -#if HAVE_INTTYPES_H
  70344. -#include <inttypes.h>
  70345. -#endif
  70346. -#if HAVE_SYS_BITYPES_H
  70347. -#include <sys/bitypes.h>
  70348. -#endif
  70349. -#if HAVE_SYS_SELECT_H
  70350. -#include <sys/select.h>
  70351. -#endif
  70352. -#if HAVE_NETINET_IN_SYSTM_H
  70353. -#include <netinet/in_systm.h>
  70354. -#endif
  70355. +if test -z "$PRESET_LDFLAGS"; then
  70356. + if test "$GCC" = "yes"; then
  70357. + case "$host" in
  70358. + *mips-sgi-irix6.*)
  70359. + # Silence Linker warnings 84, 85 and 134
  70360. + LDFLAGS="-Wl,-woff,85 -Wl,-woff,84 -Wl,-woff,134 $LDFLAGS"
  70361. + ;;
  70362. + *)
  70363. + # nothing
  70364. + ;;
  70365. + esac
  70366. + else
  70367. + case "$host" in
  70368. + *)
  70369. + # nothing
  70370. + ;;
  70371. + esac
  70372. + fi
  70373. +fi
  70374. +# Check whether --enable-gnuregex was given.
  70375. +if test "${enable_gnuregex+set}" = set; then :
  70376. + enableval=$enable_gnuregex; USE_GNUREGEX=$enableval
  70377. +fi
  70378. -int
  70379. -main ()
  70380. -{
  70381. -static int test_array [1 - 2 * !(((long int) (sizeof (uint16_t))) <= $ac_mid)];
  70382. -test_array [0] = 0
  70383. +SquidInline="yes"
  70384. - ;
  70385. - return 0;
  70386. -}
  70387. -_ACEOF
  70388. -rm -f conftest.$ac_objext
  70389. -if { (ac_try="$ac_compile"
  70390. -case "(($ac_try" in
  70391. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  70392. - *) ac_try_echo=$ac_try;;
  70393. -esac
  70394. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  70395. -$as_echo "$ac_try_echo") >&5
  70396. - (eval "$ac_compile") 2>conftest.er1
  70397. - ac_status=$?
  70398. - grep -v '^ *+' conftest.er1 >conftest.err
  70399. - rm -f conftest.er1
  70400. - cat conftest.err >&5
  70401. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  70402. - (exit $ac_status); } && {
  70403. - test -z "$ac_c_werror_flag" ||
  70404. - test ! -s conftest.err
  70405. - } && test -s conftest.$ac_objext; then
  70406. - ac_hi=$ac_mid
  70407. -else
  70408. - $as_echo "$as_me: failed program was:" >&5
  70409. -sed 's/^/| /' conftest.$ac_ext >&5
  70410. +# Check whether --enable-optimizations was given.
  70411. +if test "${enable_optimizations+set}" = set; then :
  70412. + enableval=$enable_optimizations; if test "$enableval" = "no" ; then
  70413. + echo "Disabling compiler optimizations (-O flag)"
  70414. + CFLAGS="`echo $CFLAGS | sed -e 's/-O[0-9]*//'`"
  70415. + CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-O[0-9]*//'`"
  70416. + SquidInline="no"
  70417. + fi
  70418. - ac_lo=`expr '(' $ac_mid ')' + 1`
  70419. fi
  70420. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  70421. -done
  70422. -case $ac_lo in
  70423. -?*) ac_cv_sizeof_uint16_t=$ac_lo;;
  70424. -'') if test "$ac_cv_type_uint16_t" = yes; then
  70425. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (uint16_t)
  70426. -See \`config.log' for more details." >&5
  70427. -$as_echo "$as_me: error: cannot compute sizeof (uint16_t)
  70428. -See \`config.log' for more details." >&2;}
  70429. - { (exit 77); exit 77; }; }
  70430. - else
  70431. - ac_cv_sizeof_uint16_t=0
  70432. - fi ;;
  70433. -esac
  70434. -else
  70435. - cat >conftest.$ac_ext <<_ACEOF
  70436. -/* confdefs.h. */
  70437. -_ACEOF
  70438. -cat confdefs.h >>conftest.$ac_ext
  70439. -cat >>conftest.$ac_ext <<_ACEOF
  70440. -/* end confdefs.h. */
  70441. -#include <stdio.h>
  70442. +# Check whether --enable-inline was given.
  70443. +if test "${enable_inline+set}" = set; then :
  70444. + enableval=$enable_inline; if test "$enableval" = "no" ; then
  70445. + SquidInline="no"
  70446. + fi
  70447. -/* What a mess.. many systems have added the (now standard) bit types
  70448. - * in their own ways, so we need to scan a wide variety of headers to
  70449. - * find them..
  70450. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  70451. - */
  70452. -#if HAVE_SYS_TYPES_H
  70453. -#include <sys/types.h>
  70454. -#endif
  70455. -#if STDC_HEADERS
  70456. -#include <stdlib.h>
  70457. -#include <stddef.h>
  70458. -#endif
  70459. -#if HAVE_INTTYPES_H
  70460. -#include <inttypes.h>
  70461. -#endif
  70462. -#if HAVE_SYS_BITYPES_H
  70463. -#include <sys/bitypes.h>
  70464. -#endif
  70465. -#if HAVE_SYS_SELECT_H
  70466. -#include <sys/select.h>
  70467. -#endif
  70468. -#if HAVE_NETINET_IN_SYSTM_H
  70469. -#include <netinet/in_systm.h>
  70470. -#endif
  70471. +fi
  70472. +if test "$SquidInline" = "yes" ; then
  70473. -static long int longval () { return (long int) (sizeof (uint16_t)); }
  70474. -static unsigned long int ulongval () { return (long int) (sizeof (uint16_t)); }
  70475. -#include <stdio.h>
  70476. -#include <stdlib.h>
  70477. -int
  70478. -main ()
  70479. -{
  70480. +$as_echo "#define _SQUID_INLINE_ inline" >>confdefs.h
  70481. - FILE *f = fopen ("conftest.val", "w");
  70482. - if (! f)
  70483. - return 1;
  70484. - if (((long int) (sizeof (uint16_t))) < 0)
  70485. - {
  70486. - long int i = longval ();
  70487. - if (i != ((long int) (sizeof (uint16_t))))
  70488. - return 1;
  70489. - fprintf (f, "%ld", i);
  70490. - }
  70491. - else
  70492. - {
  70493. - unsigned long int i = ulongval ();
  70494. - if (i != ((long int) (sizeof (uint16_t))))
  70495. - return 1;
  70496. - fprintf (f, "%lu", i);
  70497. - }
  70498. - /* Do not output a trailing newline, as this causes \r\n confusion
  70499. - on some platforms. */
  70500. - return ferror (f) || fclose (f) != 0;
  70501. - ;
  70502. - return 0;
  70503. -}
  70504. -_ACEOF
  70505. -rm -f conftest$ac_exeext
  70506. -if { (ac_try="$ac_link"
  70507. -case "(($ac_try" in
  70508. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  70509. - *) ac_try_echo=$ac_try;;
  70510. -esac
  70511. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  70512. -$as_echo "$ac_try_echo") >&5
  70513. - (eval "$ac_link") 2>&5
  70514. - ac_status=$?
  70515. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  70516. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  70517. - { (case "(($ac_try" in
  70518. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  70519. - *) ac_try_echo=$ac_try;;
  70520. -esac
  70521. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  70522. -$as_echo "$ac_try_echo") >&5
  70523. - (eval "$ac_try") 2>&5
  70524. - ac_status=$?
  70525. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  70526. - (exit $ac_status); }; }; then
  70527. - ac_cv_sizeof_uint16_t=`cat conftest.val`
  70528. +$as_echo "#define _USE_INLINE_ /**/" >>confdefs.h
  70529. +
  70530. else
  70531. - $as_echo "$as_me: program exited with status $ac_status" >&5
  70532. -$as_echo "$as_me: failed program was:" >&5
  70533. -sed 's/^/| /' conftest.$ac_ext >&5
  70534. + echo "Inlining optimization disabled"
  70535. +
  70536. +$as_echo "#define _SQUID_INLINE_ /**/" >>confdefs.h
  70537. -( exit $ac_status )
  70538. -if test "$ac_cv_type_uint16_t" = yes; then
  70539. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (uint16_t)
  70540. -See \`config.log' for more details." >&5
  70541. -$as_echo "$as_me: error: cannot compute sizeof (uint16_t)
  70542. -See \`config.log' for more details." >&2;}
  70543. - { (exit 77); exit 77; }; }
  70544. - else
  70545. - ac_cv_sizeof_uint16_t=0
  70546. - fi
  70547. -fi
  70548. -rm -rf conftest.dSYM
  70549. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  70550. -fi
  70551. -rm -f conftest.val
  70552. fi
  70553. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_uint16_t" >&5
  70554. -$as_echo "$ac_cv_sizeof_uint16_t" >&6; }
  70555. +# Check whether --enable-debug-cbdata was given.
  70556. +if test "${enable_debug_cbdata+set}" = set; then :
  70557. + enableval=$enable_debug_cbdata; if test "$enableval" = "yes" ; then
  70558. + echo "cbdata debugging enabled"
  70559. +$as_echo "#define CBDATA_DEBUG 1" >>confdefs.h
  70560. -cat >>confdefs.h <<_ACEOF
  70561. -#define SIZEOF_UINT16_T $ac_cv_sizeof_uint16_t
  70562. -_ACEOF
  70563. + fi
  70564. +fi
  70565. -cat >>confdefs.h <<\_ACEOF
  70566. -#define HAVE_UINT16_T 1
  70567. -_ACEOF
  70568. -fi
  70569. +# Check whether --enable-xmalloc-statistics was given.
  70570. +if test "${enable_xmalloc_statistics+set}" = set; then :
  70571. + enableval=$enable_xmalloc_statistics; if test "$enableval" = "yes" ; then
  70572. + echo "Malloc statistics enabled"
  70573. +$as_echo "#define XMALLOC_STATISTICS 1" >>confdefs.h
  70574. -{ $as_echo "$as_me:$LINENO: checking for int32_t" >&5
  70575. -$as_echo_n "checking for int32_t... " >&6; }
  70576. -if test "${ac_cv_type_int32_t+set}" = set; then
  70577. - $as_echo_n "(cached) " >&6
  70578. -else
  70579. - ac_cv_type_int32_t=no
  70580. -cat >conftest.$ac_ext <<_ACEOF
  70581. -/* confdefs.h. */
  70582. -_ACEOF
  70583. -cat confdefs.h >>conftest.$ac_ext
  70584. -cat >>conftest.$ac_ext <<_ACEOF
  70585. -/* end confdefs.h. */
  70586. + fi
  70587. -/* What a mess.. many systems have added the (now standard) bit types
  70588. - * in their own ways, so we need to scan a wide variety of headers to
  70589. - * find them..
  70590. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  70591. - */
  70592. -#if HAVE_SYS_TYPES_H
  70593. -#include <sys/types.h>
  70594. -#endif
  70595. -#if STDC_HEADERS
  70596. -#include <stdlib.h>
  70597. -#include <stddef.h>
  70598. -#endif
  70599. -#if HAVE_INTTYPES_H
  70600. -#include <inttypes.h>
  70601. -#endif
  70602. -#if HAVE_SYS_BITYPES_H
  70603. -#include <sys/bitypes.h>
  70604. -#endif
  70605. -#if HAVE_SYS_SELECT_H
  70606. -#include <sys/select.h>
  70607. -#endif
  70608. -#if HAVE_NETINET_IN_SYSTM_H
  70609. -#include <netinet/in_systm.h>
  70610. -#endif
  70611. +fi
  70612. -int
  70613. -main ()
  70614. -{
  70615. -if (sizeof (int32_t))
  70616. - return 0;
  70617. - ;
  70618. - return 0;
  70619. -}
  70620. -_ACEOF
  70621. -rm -f conftest.$ac_objext
  70622. -if { (ac_try="$ac_compile"
  70623. -case "(($ac_try" in
  70624. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  70625. - *) ac_try_echo=$ac_try;;
  70626. -esac
  70627. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  70628. -$as_echo "$ac_try_echo") >&5
  70629. - (eval "$ac_compile") 2>conftest.er1
  70630. - ac_status=$?
  70631. - grep -v '^ *+' conftest.er1 >conftest.err
  70632. - rm -f conftest.er1
  70633. - cat conftest.err >&5
  70634. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  70635. - (exit $ac_status); } && {
  70636. - test -z "$ac_c_werror_flag" ||
  70637. - test ! -s conftest.err
  70638. - } && test -s conftest.$ac_objext; then
  70639. - cat >conftest.$ac_ext <<_ACEOF
  70640. -/* confdefs.h. */
  70641. -_ACEOF
  70642. -cat confdefs.h >>conftest.$ac_ext
  70643. -cat >>conftest.$ac_ext <<_ACEOF
  70644. -/* end confdefs.h. */
  70645. +use_carp=1
  70646. +# Check whether --enable-carp was given.
  70647. +if test "${enable_carp+set}" = set; then :
  70648. + enableval=$enable_carp; if test "$enableval" = "no" ; then
  70649. + echo "CARP disabled"
  70650. + use_carp=0
  70651. + fi
  70652. -/* What a mess.. many systems have added the (now standard) bit types
  70653. - * in their own ways, so we need to scan a wide variety of headers to
  70654. - * find them..
  70655. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  70656. - */
  70657. -#if HAVE_SYS_TYPES_H
  70658. -#include <sys/types.h>
  70659. -#endif
  70660. -#if STDC_HEADERS
  70661. -#include <stdlib.h>
  70662. -#include <stddef.h>
  70663. -#endif
  70664. -#if HAVE_INTTYPES_H
  70665. -#include <inttypes.h>
  70666. -#endif
  70667. -#if HAVE_SYS_BITYPES_H
  70668. -#include <sys/bitypes.h>
  70669. -#endif
  70670. -#if HAVE_SYS_SELECT_H
  70671. -#include <sys/select.h>
  70672. -#endif
  70673. -#if HAVE_NETINET_IN_SYSTM_H
  70674. -#include <netinet/in_systm.h>
  70675. -#endif
  70676. +fi
  70677. +if test $use_carp = 1; then
  70678. -int
  70679. -main ()
  70680. -{
  70681. -if (sizeof ((int32_t)))
  70682. - return 0;
  70683. - ;
  70684. - return 0;
  70685. -}
  70686. -_ACEOF
  70687. -rm -f conftest.$ac_objext
  70688. -if { (ac_try="$ac_compile"
  70689. -case "(($ac_try" in
  70690. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  70691. - *) ac_try_echo=$ac_try;;
  70692. -esac
  70693. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  70694. -$as_echo "$ac_try_echo") >&5
  70695. - (eval "$ac_compile") 2>conftest.er1
  70696. - ac_status=$?
  70697. - grep -v '^ *+' conftest.er1 >conftest.err
  70698. - rm -f conftest.er1
  70699. - cat conftest.err >&5
  70700. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  70701. - (exit $ac_status); } && {
  70702. - test -z "$ac_c_werror_flag" ||
  70703. - test ! -s conftest.err
  70704. - } && test -s conftest.$ac_objext; then
  70705. - :
  70706. -else
  70707. - $as_echo "$as_me: failed program was:" >&5
  70708. -sed 's/^/| /' conftest.$ac_ext >&5
  70709. +$as_echo "#define USE_CARP 1" >>confdefs.h
  70710. - ac_cv_type_int32_t=yes
  70711. fi
  70712. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  70713. -else
  70714. - $as_echo "$as_me: failed program was:" >&5
  70715. -sed 's/^/| /' conftest.$ac_ext >&5
  70716. +# Check whether --enable-async-io was given.
  70717. +if test "${enable_async_io+set}" = set; then :
  70718. + enableval=$enable_async_io; case $enableval in
  70719. + yes)
  70720. + with_pthreads="yes"
  70721. + STORE_MODULES="ufs aufs"
  70722. + ;;
  70723. + no)
  70724. + ;;
  70725. + *)
  70726. + aufs_io_threads=$enableval
  70727. + with_pthreads="yes"
  70728. + STORE_MODULES="ufs aufs"
  70729. + ;;
  70730. + esac
  70731. +
  70732. +fi
  70733. +
  70734. +# Check whether --with-aufs-threads was given.
  70735. +if test "${with_aufs_threads+set}" = set; then :
  70736. + withval=$with_aufs_threads; case $withval in
  70737. + [0-9]*)
  70738. + aufs_io_threads=$withval
  70739. + ;;
  70740. + *)
  70741. + echo "ERROR: Invalid --with-aufs-threads argument"
  70742. + exit 1
  70743. + ;;
  70744. + esac
  70745. +
  70746. fi
  70747. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  70748. -fi
  70749. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
  70750. -$as_echo "$ac_cv_type_int32_t" >&6; }
  70751. -if test $ac_cv_type_int32_t = yes; then
  70752. +if test "$aufs_io_threads"; then
  70753. + echo "With $aufs_io_threads aufs threads"
  70754. - # The cast to long int works around a bug in the HP C Compiler
  70755. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  70756. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  70757. -# This bug is HP SR number 8606223364.
  70758. -{ $as_echo "$as_me:$LINENO: checking size of int32_t" >&5
  70759. -$as_echo_n "checking size of int32_t... " >&6; }
  70760. -if test "${ac_cv_sizeof_int32_t+set}" = set; then
  70761. - $as_echo_n "(cached) " >&6
  70762. -else
  70763. - if test "$cross_compiling" = yes; then
  70764. - # Depending upon the size, compute the lo and hi bounds.
  70765. -cat >conftest.$ac_ext <<_ACEOF
  70766. -/* confdefs.h. */
  70767. +cat >>confdefs.h <<_ACEOF
  70768. +#define AUFS_IO_THREADS $aufs_io_threads
  70769. _ACEOF
  70770. -cat confdefs.h >>conftest.$ac_ext
  70771. -cat >>conftest.$ac_ext <<_ACEOF
  70772. -/* end confdefs.h. */
  70773. -#include <stdio.h>
  70774. +fi
  70775. -/* What a mess.. many systems have added the (now standard) bit types
  70776. - * in their own ways, so we need to scan a wide variety of headers to
  70777. - * find them..
  70778. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  70779. - */
  70780. -#if HAVE_SYS_TYPES_H
  70781. -#include <sys/types.h>
  70782. -#endif
  70783. -#if STDC_HEADERS
  70784. -#include <stdlib.h>
  70785. -#include <stddef.h>
  70786. -#endif
  70787. -#if HAVE_INTTYPES_H
  70788. -#include <inttypes.h>
  70789. -#endif
  70790. -#if HAVE_SYS_BITYPES_H
  70791. -#include <sys/bitypes.h>
  70792. -#endif
  70793. -#if HAVE_SYS_SELECT_H
  70794. -#include <sys/select.h>
  70795. -#endif
  70796. -#if HAVE_NETINET_IN_SYSTM_H
  70797. -#include <netinet/in_systm.h>
  70798. -#endif
  70799. +# Check whether --with-pthreads was given.
  70800. +if test "${with_pthreads+set}" = set; then :
  70801. + withval=$with_pthreads;
  70802. +fi
  70803. +if test "$with_pthreads" = "yes"; then
  70804. + echo "With pthreads"
  70805. +fi
  70806. -int
  70807. -main ()
  70808. -{
  70809. -static int test_array [1 - 2 * !(((long int) (sizeof (int32_t))) >= 0)];
  70810. -test_array [0] = 0
  70811. - ;
  70812. - return 0;
  70813. -}
  70814. -_ACEOF
  70815. -rm -f conftest.$ac_objext
  70816. -if { (ac_try="$ac_compile"
  70817. -case "(($ac_try" in
  70818. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  70819. - *) ac_try_echo=$ac_try;;
  70820. -esac
  70821. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  70822. -$as_echo "$ac_try_echo") >&5
  70823. - (eval "$ac_compile") 2>conftest.er1
  70824. - ac_status=$?
  70825. - grep -v '^ *+' conftest.er1 >conftest.err
  70826. - rm -f conftest.er1
  70827. - cat conftest.err >&5
  70828. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  70829. - (exit $ac_status); } && {
  70830. - test -z "$ac_c_werror_flag" ||
  70831. - test ! -s conftest.err
  70832. - } && test -s conftest.$ac_objext; then
  70833. - ac_lo=0 ac_mid=0
  70834. - while :; do
  70835. - cat >conftest.$ac_ext <<_ACEOF
  70836. -/* confdefs.h. */
  70837. -_ACEOF
  70838. -cat confdefs.h >>conftest.$ac_ext
  70839. -cat >>conftest.$ac_ext <<_ACEOF
  70840. -/* end confdefs.h. */
  70841. +# Check whether --with-aio was given.
  70842. +if test "${with_aio+set}" = set; then :
  70843. + withval=$with_aio;
  70844. +fi
  70845. -#include <stdio.h>
  70846. +if test "$with_aio" = "yes"; then
  70847. + echo "With aio"
  70848. +fi
  70849. -/* What a mess.. many systems have added the (now standard) bit types
  70850. - * in their own ways, so we need to scan a wide variety of headers to
  70851. - * find them..
  70852. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  70853. - */
  70854. -#if HAVE_SYS_TYPES_H
  70855. -#include <sys/types.h>
  70856. -#endif
  70857. -#if STDC_HEADERS
  70858. -#include <stdlib.h>
  70859. -#include <stddef.h>
  70860. -#endif
  70861. -#if HAVE_INTTYPES_H
  70862. -#include <inttypes.h>
  70863. -#endif
  70864. -#if HAVE_SYS_BITYPES_H
  70865. -#include <sys/bitypes.h>
  70866. -#endif
  70867. -#if HAVE_SYS_SELECT_H
  70868. -#include <sys/select.h>
  70869. -#endif
  70870. -#if HAVE_NETINET_IN_SYSTM_H
  70871. -#include <netinet/in_systm.h>
  70872. -#endif
  70873. +# Check whether --with-dl was given.
  70874. +if test "${with_dl+set}" = set; then :
  70875. + withval=$with_dl;
  70876. +fi
  70877. +if test "$with_dl" = "yes"; then
  70878. + echo "With dl"
  70879. +fi
  70880. -int
  70881. -main ()
  70882. -{
  70883. -static int test_array [1 - 2 * !(((long int) (sizeof (int32_t))) <= $ac_mid)];
  70884. -test_array [0] = 0
  70885. +# Check whether --enable-storeio was given.
  70886. +if test "${enable_storeio+set}" = set; then :
  70887. + enableval=$enable_storeio; case $enableval in
  70888. + yes)
  70889. + for dir in $srcdir/src/fs/*; do
  70890. + module="`basename $dir`"
  70891. + if test -d "$dir" && test "$module" != CVS && test "$module" != coss; then
  70892. + STORE_MODULES="$STORE_MODULES $module"
  70893. + fi
  70894. + done
  70895. + ;;
  70896. + no)
  70897. + ;;
  70898. + *)
  70899. + STORE_MODULES="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
  70900. + ;;
  70901. + esac
  70902. - ;
  70903. - return 0;
  70904. -}
  70905. -_ACEOF
  70906. -rm -f conftest.$ac_objext
  70907. -if { (ac_try="$ac_compile"
  70908. -case "(($ac_try" in
  70909. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  70910. - *) ac_try_echo=$ac_try;;
  70911. -esac
  70912. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  70913. -$as_echo "$ac_try_echo") >&5
  70914. - (eval "$ac_compile") 2>conftest.er1
  70915. - ac_status=$?
  70916. - grep -v '^ *+' conftest.er1 >conftest.err
  70917. - rm -f conftest.er1
  70918. - cat conftest.err >&5
  70919. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  70920. - (exit $ac_status); } && {
  70921. - test -z "$ac_c_werror_flag" ||
  70922. - test ! -s conftest.err
  70923. - } && test -s conftest.$ac_objext; then
  70924. - ac_hi=$ac_mid; break
  70925. else
  70926. - $as_echo "$as_me: failed program was:" >&5
  70927. -sed 's/^/| /' conftest.$ac_ext >&5
  70928. + if test -z "$STORE_MODULES"; then
  70929. + STORE_MODULES="ufs"
  70930. + fi
  70931. - ac_lo=`expr $ac_mid + 1`
  70932. - if test $ac_lo -le $ac_mid; then
  70933. - ac_lo= ac_hi=
  70934. - break
  70935. - fi
  70936. - ac_mid=`expr 2 '*' $ac_mid + 1`
  70937. fi
  70938. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  70939. - done
  70940. -else
  70941. - $as_echo "$as_me: failed program was:" >&5
  70942. -sed 's/^/| /' conftest.$ac_ext >&5
  70943. +if test -n "$STORE_MODULES"; then
  70944. + for module in $STORE_MODULES; do
  70945. + if test -d $srcdir/src/fs/$module; then
  70946. + :
  70947. + else
  70948. + echo "ERROR: storeio $module does not exists"
  70949. + exit 1
  70950. + fi
  70951. + done
  70952. + echo "Store modules built: $STORE_MODULES"
  70953. + STORE_LINKOBJS=
  70954. + for module in $STORE_MODULES; do
  70955. + STORE_LINKOBJS="$STORE_LINKOBJS fs/${module}/StoreFS${module}.o"
  70956. + done
  70957. +fi
  70958. +UFS_FOUND=
  70959. +NEED_UFS=
  70960. +NEED_BLOCKING=
  70961. +NEED_DISKDAEMON=
  70962. +NEED_DISKTHREADS=
  70963. +NEED_AIO=
  70964. +STORE_TESTS=
  70965. +for fs in $STORE_MODULES none; do
  70966. + case "$fs" in
  70967. + diskd)
  70968. + NEED_UFS="true"
  70969. + NEED_BLOCKING="true"
  70970. + NEED_DISKDAEMON="true"
  70971. + ;;
  70972. + aufs)
  70973. + NEED_UFS="true"
  70974. + NEED_BLOCKING="true"
  70975. + NEED_DISKTHREADS="true"
  70976. + ;;
  70977. + coss)
  70978. + NEED_AIO="true"
  70979. + STORE_TESTS="$STORE_TESTS tests/testCoss$EXEEXT"
  70980. + ;;
  70981. + null)
  70982. + STORE_TESTS="$STORE_TESTS tests/testNull$EXEEXT"
  70983. + ;;
  70984. + ufs)
  70985. + UFS_FOUND="true"
  70986. + STORE_TESTS="$STORE_TESTS tests/testUfs$EXEEXT"
  70987. + esac
  70988. +done
  70989. +STORE_OBJS=
  70990. +STORE_LIBS=
  70991. +for fs in $STORE_MODULES; do
  70992. + case "$fs" in
  70993. + diskd);;
  70994. + aufs);;
  70995. + *)
  70996. + STORE_OBJS="$STORE_OBJS fs/lib${fs}.a"
  70997. + STORE_LIBS="$STORE_LIBS lib${fs}.a"
  70998. + ;;
  70999. + esac
  71000. +done
  71001. - cat >conftest.$ac_ext <<_ACEOF
  71002. -/* confdefs.h. */
  71003. -_ACEOF
  71004. -cat confdefs.h >>conftest.$ac_ext
  71005. -cat >>conftest.$ac_ext <<_ACEOF
  71006. -/* end confdefs.h. */
  71007. +if test -z "$UFS_FOUND" && test -n "$NEED_UFS"; then
  71008. + echo "adding UFS, as it contains core logic for diskd and aufs"
  71009. + STORE_OBJS="$STORE_OBJS fs/libufs.a"
  71010. + STORE_LIBS="$STORE_LIBS libufs.a"
  71011. + STORE_MODULES="$STORE_MODULES ufs"
  71012. + STORE_LINKOBJS="$STORE_LINKOBJS fs/ufs/StoreFSufs.o"
  71013. + STORE_TESTS="$STORE_TESTS tests/testUfs$EXEEXT"
  71014. +fi
  71015. -#include <stdio.h>
  71016. -/* What a mess.. many systems have added the (now standard) bit types
  71017. - * in their own ways, so we need to scan a wide variety of headers to
  71018. - * find them..
  71019. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  71020. - */
  71021. -#if HAVE_SYS_TYPES_H
  71022. -#include <sys/types.h>
  71023. -#endif
  71024. -#if STDC_HEADERS
  71025. -#include <stdlib.h>
  71026. -#include <stddef.h>
  71027. -#endif
  71028. -#if HAVE_INTTYPES_H
  71029. -#include <inttypes.h>
  71030. -#endif
  71031. -#if HAVE_SYS_BITYPES_H
  71032. -#include <sys/bitypes.h>
  71033. -#endif
  71034. -#if HAVE_SYS_SELECT_H
  71035. -#include <sys/select.h>
  71036. -#endif
  71037. -#if HAVE_NETINET_IN_SYSTM_H
  71038. -#include <netinet/in_systm.h>
  71039. -#endif
  71040. -int
  71041. -main ()
  71042. -{
  71043. -static int test_array [1 - 2 * !(((long int) (sizeof (int32_t))) < 0)];
  71044. -test_array [0] = 0
  71045. - ;
  71046. - return 0;
  71047. -}
  71048. -_ACEOF
  71049. -rm -f conftest.$ac_objext
  71050. -if { (ac_try="$ac_compile"
  71051. -case "(($ac_try" in
  71052. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  71053. - *) ac_try_echo=$ac_try;;
  71054. -esac
  71055. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  71056. -$as_echo "$ac_try_echo") >&5
  71057. - (eval "$ac_compile") 2>conftest.er1
  71058. - ac_status=$?
  71059. - grep -v '^ *+' conftest.er1 >conftest.err
  71060. - rm -f conftest.er1
  71061. - cat conftest.err >&5
  71062. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  71063. - (exit $ac_status); } && {
  71064. - test -z "$ac_c_werror_flag" ||
  71065. - test ! -s conftest.err
  71066. - } && test -s conftest.$ac_objext; then
  71067. - ac_hi=-1 ac_mid=-1
  71068. - while :; do
  71069. - cat >conftest.$ac_ext <<_ACEOF
  71070. -/* confdefs.h. */
  71071. -_ACEOF
  71072. -cat confdefs.h >>conftest.$ac_ext
  71073. -cat >>conftest.$ac_ext <<_ACEOF
  71074. -/* end confdefs.h. */
  71075. +# Check whether --enable-disk-io was given.
  71076. +if test "${enable_disk_io+set}" = set; then :
  71077. + enableval=$enable_disk_io; case $enableval in
  71078. + yes)
  71079. + for dir in $srcdir/src/DiskIO/*; do
  71080. + module="`basename $dir`"
  71081. + if test -d "$dir" && test "$module" != CVS; then
  71082. + DISK_MODULES="$DISK_MODULES $module"
  71083. + fi
  71084. + done
  71085. + ;;
  71086. + no)
  71087. + ;;
  71088. + *)
  71089. + DISK_MODULES="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
  71090. + ;;
  71091. + esac
  71092. +
  71093. +else
  71094. + if test -z "$DISK_MODULES"; then
  71095. + DISK_MODULES="Blocking"
  71096. + fi
  71097. +
  71098. +fi
  71099. +
  71100. +if test -n "$DISK_MODULES"; then
  71101. + for module in $DISK_MODULES; do
  71102. + if test -d $srcdir/src/DiskIO/$module; then
  71103. + :
  71104. + else
  71105. + echo "ERROR: disk-io $module does not exists"
  71106. + exit 1
  71107. + fi
  71108. + done
  71109. + DISK_LIBS="lib`echo $DISK_MODULES|sed -e 's% %.a lib%g'`.a"
  71110. + DISK_LINKOBJS=
  71111. + for module in $DISK_MODULES; do
  71112. + DISK_LINKOBJS="$DISK_LINKOBJS DiskIO/${module}/${module}DiskIOModule.o"
  71113. + done
  71114. +fi
  71115. +for fs in $DISK_MODULES none; do
  71116. + case "$fs" in
  71117. + DiskDaemon)
  71118. + DISK_PROGRAMS="$DISK_PROGRAMS DiskIO/DiskDaemon/diskd"
  71119. + FOUND_DISKDAEMON="true"
  71120. + ;;
  71121. + DiskThreads)
  71122. + FOUND_DISKTHREADS="true"
  71123. + ;;
  71124. + AIO)
  71125. + FOUND_AIO="true"
  71126. + ;;
  71127. + Blocking)
  71128. + FOUND_BLOCKING="true"
  71129. + esac
  71130. +done
  71131. +
  71132. +if test -z "$FOUND_BLOCKING" && test -n "$NEED_BLOCKING"; then
  71133. + echo "adding Blocking, as it is used by an active, legacy Store Module"
  71134. + DISK_LIBS="$DISK_LIBS libBlocking.a"
  71135. + DISK_MODULES="$DISK_MODULES Blocking"
  71136. + DISK_LINKOBJS="$DISK_LINKOBJS DiskIO/Blocking/BlockingDiskIOModule.o"
  71137. +fi
  71138. -#include <stdio.h>
  71139. +if test -z "$FOUND_DISKDAEMON" && test -n "$NEED_DISKDAEMON"; then
  71140. + echo "adding DiskDaemon, as it is used by an active, legacy Store Module"
  71141. + DISK_LIBS="$DISK_LIBS libDiskDaemon.a"
  71142. + DISK_MODULES="$DISK_MODULES DiskDaemon"
  71143. + DISK_PROGRAMS="$DISK_PROGRAMS DiskIO/DiskDaemon/diskd"
  71144. + DISK_LINKOBJS="$DISK_LINKOBJS DiskIO/DiskDaemon/DiskDaemonDiskIOModule.o"
  71145. +fi
  71146. -/* What a mess.. many systems have added the (now standard) bit types
  71147. - * in their own ways, so we need to scan a wide variety of headers to
  71148. - * find them..
  71149. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  71150. - */
  71151. -#if HAVE_SYS_TYPES_H
  71152. -#include <sys/types.h>
  71153. -#endif
  71154. -#if STDC_HEADERS
  71155. -#include <stdlib.h>
  71156. -#include <stddef.h>
  71157. -#endif
  71158. -#if HAVE_INTTYPES_H
  71159. -#include <inttypes.h>
  71160. -#endif
  71161. -#if HAVE_SYS_BITYPES_H
  71162. -#include <sys/bitypes.h>
  71163. -#endif
  71164. -#if HAVE_SYS_SELECT_H
  71165. -#include <sys/select.h>
  71166. -#endif
  71167. -#if HAVE_NETINET_IN_SYSTM_H
  71168. -#include <netinet/in_systm.h>
  71169. -#endif
  71170. +if test -z "$FOUND_DISKTHREADS" && test -n "$NEED_DISKTHREADS"; then
  71171. + echo "adding DiskThreads, as it is used by an active, legacy Store Module"
  71172. + DISK_LIBS="$DISK_LIBS libDiskThreads.a"
  71173. + DISK_MODULES="$DISK_MODULES DiskThreads"
  71174. + DISK_LINKOBJS="$DISK_LINKOBJS DiskIO/DiskThreads/DiskThreadsDiskIOModule.o"
  71175. +fi
  71176. +
  71177. +if test -z "$FOUND_AIO" && test -n "$NEED_AIO"; then
  71178. + echo "adding AIO, as it is used by an active, legacy Store Module"
  71179. + DISK_LIBS="$DISK_LIBS libAIO.a"
  71180. + DISK_MODULES="$DISK_MODULES AIO"
  71181. + DISK_LINKOBJS="$DISK_LINKOBJS DiskIO/AIO/AIODiskIOModule.o"
  71182. +fi
  71183. +echo "IO Modules built: $DISK_MODULES"
  71184. +USE_AIOPS_WIN32=0
  71185. +USE_AIO_WIN32=0
  71186. +for fs in $DISK_MODULES none; do
  71187. + case "$fs" in
  71188. + DiskThreads)
  71189. + if test -z "$with_pthreads"; then
  71190. + case "$host_os" in
  71191. + mingw|mingw32)
  71192. + USE_AIOPS_WIN32=1
  71193. + echo "DiskThreads IO Module used, Windows threads support automatically enabled"
  71194. + ;;
  71195. + *)
  71196. + echo "DiskThreads IO Module used, pthreads support automatically enabled"
  71197. + with_pthreads=yes
  71198. + ;;
  71199. + esac
  71200. + fi
  71201. + ;;
  71202. + AIO)
  71203. + if test -z "$with_aio"; then
  71204. + case "$host_os" in
  71205. + mingw|mingw32)
  71206. + USE_AIO_WIN32=1
  71207. + echo "Aio IO Module used, Windows overlapped I/O support automatically enabled"
  71208. + ;;
  71209. + *)
  71210. + echo "Aio IO Module used, aio support automatically enabled"
  71211. + with_aio=yes
  71212. + ;;
  71213. + esac
  71214. + fi
  71215. + ;;
  71216. + esac
  71217. +done
  71218. -int
  71219. -main ()
  71220. -{
  71221. -static int test_array [1 - 2 * !(((long int) (sizeof (int32_t))) >= $ac_mid)];
  71222. -test_array [0] = 0
  71223. - ;
  71224. - return 0;
  71225. -}
  71226. -_ACEOF
  71227. -rm -f conftest.$ac_objext
  71228. -if { (ac_try="$ac_compile"
  71229. -case "(($ac_try" in
  71230. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  71231. - *) ac_try_echo=$ac_try;;
  71232. -esac
  71233. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  71234. -$as_echo "$ac_try_echo") >&5
  71235. - (eval "$ac_compile") 2>conftest.er1
  71236. - ac_status=$?
  71237. - grep -v '^ *+' conftest.er1 >conftest.err
  71238. - rm -f conftest.er1
  71239. - cat conftest.err >&5
  71240. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  71241. - (exit $ac_status); } && {
  71242. - test -z "$ac_c_werror_flag" ||
  71243. - test ! -s conftest.err
  71244. - } && test -s conftest.$ac_objext; then
  71245. - ac_lo=$ac_mid; break
  71246. + if test "$USE_AIOPS_WIN32" = 1; then
  71247. + USE_AIOPS_WIN32_TRUE=
  71248. + USE_AIOPS_WIN32_FALSE='#'
  71249. else
  71250. - $as_echo "$as_me: failed program was:" >&5
  71251. -sed 's/^/| /' conftest.$ac_ext >&5
  71252. -
  71253. - ac_hi=`expr '(' $ac_mid ')' - 1`
  71254. - if test $ac_mid -le $ac_hi; then
  71255. - ac_lo= ac_hi=
  71256. - break
  71257. - fi
  71258. - ac_mid=`expr 2 '*' $ac_mid`
  71259. + USE_AIOPS_WIN32_TRUE='#'
  71260. + USE_AIOPS_WIN32_FALSE=
  71261. fi
  71262. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  71263. - done
  71264. + if test "$USE_AIO_WIN32" = 1; then
  71265. + USE_AIO_WIN32_TRUE=
  71266. + USE_AIO_WIN32_FALSE='#'
  71267. else
  71268. - $as_echo "$as_me: failed program was:" >&5
  71269. -sed 's/^/| /' conftest.$ac_ext >&5
  71270. -
  71271. - ac_lo= ac_hi=
  71272. + USE_AIO_WIN32_TRUE='#'
  71273. + USE_AIO_WIN32_FALSE=
  71274. fi
  71275. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  71276. -fi
  71277. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  71278. -# Binary search between lo and hi bounds.
  71279. -while test "x$ac_lo" != "x$ac_hi"; do
  71280. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  71281. - cat >conftest.$ac_ext <<_ACEOF
  71282. -/* confdefs.h. */
  71283. -_ACEOF
  71284. -cat confdefs.h >>conftest.$ac_ext
  71285. -cat >>conftest.$ac_ext <<_ACEOF
  71286. -/* end confdefs.h. */
  71287. +# Check whether --enable-removal-policies was given.
  71288. +if test "${enable_removal_policies+set}" = set; then :
  71289. + enableval=$enable_removal_policies; case $enableval in
  71290. + yes)
  71291. + for dir in $srcdir/src/repl/*; do
  71292. + module="`basename $dir`"
  71293. + if test -d "$dir" && test "$module" != CVS; then
  71294. + REPL_POLICIES="$REPL_POLICIES $module"
  71295. + fi
  71296. + done
  71297. + ;;
  71298. + no)
  71299. + ;;
  71300. + *)
  71301. + REPL_POLICIES="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
  71302. + ;;
  71303. + esac
  71304. -#include <stdio.h>
  71305. +else
  71306. + if test -z "$REPL_POLICIES"; then
  71307. + REPL_POLICIES="lru"
  71308. + fi
  71309. -/* What a mess.. many systems have added the (now standard) bit types
  71310. - * in their own ways, so we need to scan a wide variety of headers to
  71311. - * find them..
  71312. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  71313. - */
  71314. -#if HAVE_SYS_TYPES_H
  71315. -#include <sys/types.h>
  71316. -#endif
  71317. -#if STDC_HEADERS
  71318. -#include <stdlib.h>
  71319. -#include <stddef.h>
  71320. -#endif
  71321. -#if HAVE_INTTYPES_H
  71322. -#include <inttypes.h>
  71323. -#endif
  71324. -#if HAVE_SYS_BITYPES_H
  71325. -#include <sys/bitypes.h>
  71326. -#endif
  71327. -#if HAVE_SYS_SELECT_H
  71328. -#include <sys/select.h>
  71329. -#endif
  71330. -#if HAVE_NETINET_IN_SYSTM_H
  71331. -#include <netinet/in_systm.h>
  71332. -#endif
  71333. +fi
  71334. +
  71335. +if test -n "$REPL_POLICIES"; then
  71336. + for module in $REPL_POLICIES; do
  71337. + if test -d $srcdir/src/repl/$module; then
  71338. + :
  71339. + else
  71340. + echo "ERROR: Removal policy $module does not exists"
  71341. + exit 1
  71342. + fi
  71343. + done
  71344. + echo "Removal policies built: $REPL_POLICIES"
  71345. + REPL_OBJS="repl/lib`echo $REPL_POLICIES|sed -e 's% %.a repl/lib%g'`.a"
  71346. + REPL_LIBS="`echo $REPL_OBJS|sed -e 's%repl/%%g'`"
  71347. +fi
  71348. -int
  71349. -main ()
  71350. -{
  71351. -static int test_array [1 - 2 * !(((long int) (sizeof (int32_t))) <= $ac_mid)];
  71352. -test_array [0] = 0
  71353. - ;
  71354. - return 0;
  71355. -}
  71356. -_ACEOF
  71357. -rm -f conftest.$ac_objext
  71358. -if { (ac_try="$ac_compile"
  71359. -case "(($ac_try" in
  71360. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  71361. - *) ac_try_echo=$ac_try;;
  71362. -esac
  71363. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  71364. -$as_echo "$ac_try_echo") >&5
  71365. - (eval "$ac_compile") 2>conftest.er1
  71366. - ac_status=$?
  71367. - grep -v '^ *+' conftest.er1 >conftest.err
  71368. - rm -f conftest.er1
  71369. - cat conftest.err >&5
  71370. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  71371. - (exit $ac_status); } && {
  71372. - test -z "$ac_c_werror_flag" ||
  71373. - test ! -s conftest.err
  71374. - } && test -s conftest.$ac_objext; then
  71375. - ac_hi=$ac_mid
  71376. + if false; then
  71377. + ENABLE_PINGER_TRUE=
  71378. + ENABLE_PINGER_FALSE='#'
  71379. else
  71380. - $as_echo "$as_me: failed program was:" >&5
  71381. -sed 's/^/| /' conftest.$ac_ext >&5
  71382. -
  71383. - ac_lo=`expr '(' $ac_mid ')' + 1`
  71384. + ENABLE_PINGER_TRUE='#'
  71385. + ENABLE_PINGER_FALSE=
  71386. fi
  71387. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  71388. -done
  71389. -case $ac_lo in
  71390. -?*) ac_cv_sizeof_int32_t=$ac_lo;;
  71391. -'') if test "$ac_cv_type_int32_t" = yes; then
  71392. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int32_t)
  71393. -See \`config.log' for more details." >&5
  71394. -$as_echo "$as_me: error: cannot compute sizeof (int32_t)
  71395. -See \`config.log' for more details." >&2;}
  71396. - { (exit 77); exit 77; }; }
  71397. - else
  71398. - ac_cv_sizeof_int32_t=0
  71399. - fi ;;
  71400. -esac
  71401. +# Check whether --enable-icmp was given.
  71402. +if test "${enable_icmp+set}" = set; then :
  71403. + enableval=$enable_icmp; if test "$enableval" = "yes" ; then
  71404. + echo "ICMP enabled"
  71405. +
  71406. +$as_echo "#define USE_ICMP 1" >>confdefs.h
  71407. +
  71408. + if true; then
  71409. + ENABLE_PINGER_TRUE=
  71410. + ENABLE_PINGER_FALSE='#'
  71411. else
  71412. - cat >conftest.$ac_ext <<_ACEOF
  71413. -/* confdefs.h. */
  71414. -_ACEOF
  71415. -cat confdefs.h >>conftest.$ac_ext
  71416. -cat >>conftest.$ac_ext <<_ACEOF
  71417. -/* end confdefs.h. */
  71418. + ENABLE_PINGER_TRUE='#'
  71419. + ENABLE_PINGER_FALSE=
  71420. +fi
  71421. -#include <stdio.h>
  71422. + fi
  71423. -/* What a mess.. many systems have added the (now standard) bit types
  71424. - * in their own ways, so we need to scan a wide variety of headers to
  71425. - * find them..
  71426. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  71427. - */
  71428. -#if HAVE_SYS_TYPES_H
  71429. -#include <sys/types.h>
  71430. -#endif
  71431. -#if STDC_HEADERS
  71432. -#include <stdlib.h>
  71433. -#include <stddef.h>
  71434. -#endif
  71435. -#if HAVE_INTTYPES_H
  71436. -#include <inttypes.h>
  71437. -#endif
  71438. -#if HAVE_SYS_BITYPES_H
  71439. -#include <sys/bitypes.h>
  71440. -#endif
  71441. -#if HAVE_SYS_SELECT_H
  71442. -#include <sys/select.h>
  71443. -#endif
  71444. -#if HAVE_NETINET_IN_SYSTM_H
  71445. -#include <netinet/in_systm.h>
  71446. -#endif
  71447. +fi
  71448. + if false; then
  71449. + USE_DELAY_POOLS_TRUE=
  71450. + USE_DELAY_POOLS_FALSE='#'
  71451. +else
  71452. + USE_DELAY_POOLS_TRUE='#'
  71453. + USE_DELAY_POOLS_FALSE=
  71454. +fi
  71455. -static long int longval () { return (long int) (sizeof (int32_t)); }
  71456. -static unsigned long int ulongval () { return (long int) (sizeof (int32_t)); }
  71457. -#include <stdio.h>
  71458. -#include <stdlib.h>
  71459. -int
  71460. -main ()
  71461. -{
  71462. +# Check whether --enable-delay-pools was given.
  71463. +if test "${enable_delay_pools+set}" = set; then :
  71464. + enableval=$enable_delay_pools; if test "$enableval" = "yes" ; then
  71465. + echo "Delay pools enabled"
  71466. - FILE *f = fopen ("conftest.val", "w");
  71467. - if (! f)
  71468. - return 1;
  71469. - if (((long int) (sizeof (int32_t))) < 0)
  71470. - {
  71471. - long int i = longval ();
  71472. - if (i != ((long int) (sizeof (int32_t))))
  71473. - return 1;
  71474. - fprintf (f, "%ld", i);
  71475. - }
  71476. - else
  71477. - {
  71478. - unsigned long int i = ulongval ();
  71479. - if (i != ((long int) (sizeof (int32_t))))
  71480. - return 1;
  71481. - fprintf (f, "%lu", i);
  71482. - }
  71483. - /* Do not output a trailing newline, as this causes \r\n confusion
  71484. - on some platforms. */
  71485. - return ferror (f) || fclose (f) != 0;
  71486. +$as_echo "#define DELAY_POOLS 1" >>confdefs.h
  71487. - ;
  71488. - return 0;
  71489. -}
  71490. -_ACEOF
  71491. -rm -f conftest$ac_exeext
  71492. -if { (ac_try="$ac_link"
  71493. -case "(($ac_try" in
  71494. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  71495. - *) ac_try_echo=$ac_try;;
  71496. -esac
  71497. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  71498. -$as_echo "$ac_try_echo") >&5
  71499. - (eval "$ac_link") 2>&5
  71500. - ac_status=$?
  71501. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  71502. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  71503. - { (case "(($ac_try" in
  71504. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  71505. - *) ac_try_echo=$ac_try;;
  71506. -esac
  71507. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  71508. -$as_echo "$ac_try_echo") >&5
  71509. - (eval "$ac_try") 2>&5
  71510. - ac_status=$?
  71511. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  71512. - (exit $ac_status); }; }; then
  71513. - ac_cv_sizeof_int32_t=`cat conftest.val`
  71514. + if true; then
  71515. + USE_DELAY_POOLS_TRUE=
  71516. + USE_DELAY_POOLS_FALSE='#'
  71517. else
  71518. - $as_echo "$as_me: program exited with status $ac_status" >&5
  71519. -$as_echo "$as_me: failed program was:" >&5
  71520. -sed 's/^/| /' conftest.$ac_ext >&5
  71521. + USE_DELAY_POOLS_TRUE='#'
  71522. + USE_DELAY_POOLS_FALSE=
  71523. +fi
  71524. +
  71525. + fi
  71526. -( exit $ac_status )
  71527. -if test "$ac_cv_type_int32_t" = yes; then
  71528. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int32_t)
  71529. -See \`config.log' for more details." >&5
  71530. -$as_echo "$as_me: error: cannot compute sizeof (int32_t)
  71531. -See \`config.log' for more details." >&2;}
  71532. - { (exit 77); exit 77; }; }
  71533. - else
  71534. - ac_cv_sizeof_int32_t=0
  71535. - fi
  71536. fi
  71537. -rm -rf conftest.dSYM
  71538. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  71539. +
  71540. +
  71541. + if false; then
  71542. + USE_ESI_TRUE=
  71543. + USE_ESI_FALSE='#'
  71544. +else
  71545. + USE_ESI_TRUE='#'
  71546. + USE_ESI_FALSE=
  71547. fi
  71548. -rm -f conftest.val
  71549. +
  71550. +# Check whether --enable-esi was given.
  71551. +if test "${enable_esi+set}" = set; then :
  71552. + enableval=$enable_esi; use_esi=$enableval
  71553. +else
  71554. + use_esi=no
  71555. fi
  71556. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int32_t" >&5
  71557. -$as_echo "$ac_cv_sizeof_int32_t" >&6; }
  71558. +if test "$use_esi" = "yes" ; then
  71559. +$as_echo "#define USE_SQUID_ESI 1" >>confdefs.h
  71560. -cat >>confdefs.h <<_ACEOF
  71561. -#define SIZEOF_INT32_T $ac_cv_sizeof_int32_t
  71562. -_ACEOF
  71563. + if true; then
  71564. + USE_ESI_TRUE=
  71565. + USE_ESI_FALSE='#'
  71566. +else
  71567. + USE_ESI_TRUE='#'
  71568. + USE_ESI_FALSE=
  71569. +fi
  71570. + XTRA_LIBS="$XTRA_LIBS -lexpat -lxml2"
  71571. +else
  71572. +$as_echo "#define USE_SQUID_ESI 0" >>confdefs.h
  71573. -cat >>confdefs.h <<\_ACEOF
  71574. -#define HAVE_INT32_T 1
  71575. -_ACEOF
  71576. +fi
  71577. + if false; then
  71578. + USE_ICAP_CLIENT_TRUE=
  71579. + USE_ICAP_CLIENT_FALSE='#'
  71580. +else
  71581. + USE_ICAP_CLIENT_TRUE='#'
  71582. + USE_ICAP_CLIENT_FALSE=
  71583. +fi
  71584. +# Check whether --enable-icap-client was given.
  71585. +if test "${enable_icap_client+set}" = set; then :
  71586. + enableval=$enable_icap_client; use_icap_client=$enableval
  71587. +else
  71588. + use_icap_client=no
  71589. fi
  71590. +if test "$use_icap_client" = "yes" ; then
  71591. -{ $as_echo "$as_me:$LINENO: checking for long" >&5
  71592. -$as_echo_n "checking for long... " >&6; }
  71593. -if test "${ac_cv_type_long+set}" = set; then
  71594. - $as_echo_n "(cached) " >&6
  71595. +$as_echo "#define ICAP_CLIENT 1" >>confdefs.h
  71596. +
  71597. + if true; then
  71598. + USE_ICAP_CLIENT_TRUE=
  71599. + USE_ICAP_CLIENT_FALSE='#'
  71600. else
  71601. - ac_cv_type_long=no
  71602. -cat >conftest.$ac_ext <<_ACEOF
  71603. -/* confdefs.h. */
  71604. -_ACEOF
  71605. -cat confdefs.h >>conftest.$ac_ext
  71606. -cat >>conftest.$ac_ext <<_ACEOF
  71607. -/* end confdefs.h. */
  71608. + USE_ICAP_CLIENT_TRUE='#'
  71609. + USE_ICAP_CLIENT_FALSE=
  71610. +fi
  71611. -/* What a mess.. many systems have added the (now standard) bit types
  71612. - * in their own ways, so we need to scan a wide variety of headers to
  71613. - * find them..
  71614. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  71615. - */
  71616. -#if HAVE_SYS_TYPES_H
  71617. -#include <sys/types.h>
  71618. -#endif
  71619. -#if STDC_HEADERS
  71620. -#include <stdlib.h>
  71621. -#include <stddef.h>
  71622. -#endif
  71623. -#if HAVE_INTTYPES_H
  71624. -#include <inttypes.h>
  71625. -#endif
  71626. -#if HAVE_SYS_BITYPES_H
  71627. -#include <sys/bitypes.h>
  71628. -#endif
  71629. -#if HAVE_SYS_SELECT_H
  71630. -#include <sys/select.h>
  71631. -#endif
  71632. -#if HAVE_NETINET_IN_SYSTM_H
  71633. -#include <netinet/in_systm.h>
  71634. -#endif
  71635. + ICAP_LIBS="ICAP/libicap.a"
  71636. +else
  71637. +$as_echo "#define ICAP_CLIENT 0" >>confdefs.h
  71638. -int
  71639. -main ()
  71640. -{
  71641. -if (sizeof (long))
  71642. - return 0;
  71643. - ;
  71644. - return 0;
  71645. -}
  71646. -_ACEOF
  71647. -rm -f conftest.$ac_objext
  71648. -if { (ac_try="$ac_compile"
  71649. -case "(($ac_try" in
  71650. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  71651. - *) ac_try_echo=$ac_try;;
  71652. -esac
  71653. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  71654. -$as_echo "$ac_try_echo") >&5
  71655. - (eval "$ac_compile") 2>conftest.er1
  71656. - ac_status=$?
  71657. - grep -v '^ *+' conftest.er1 >conftest.err
  71658. - rm -f conftest.er1
  71659. - cat conftest.err >&5
  71660. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  71661. - (exit $ac_status); } && {
  71662. - test -z "$ac_c_werror_flag" ||
  71663. - test ! -s conftest.err
  71664. - } && test -s conftest.$ac_objext; then
  71665. - cat >conftest.$ac_ext <<_ACEOF
  71666. -/* confdefs.h. */
  71667. -_ACEOF
  71668. -cat confdefs.h >>conftest.$ac_ext
  71669. -cat >>conftest.$ac_ext <<_ACEOF
  71670. -/* end confdefs.h. */
  71671. + ICAP_LIBS=""
  71672. +fi
  71673. -/* What a mess.. many systems have added the (now standard) bit types
  71674. - * in their own ways, so we need to scan a wide variety of headers to
  71675. - * find them..
  71676. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  71677. - */
  71678. -#if HAVE_SYS_TYPES_H
  71679. -#include <sys/types.h>
  71680. -#endif
  71681. -#if STDC_HEADERS
  71682. -#include <stdlib.h>
  71683. -#include <stddef.h>
  71684. -#endif
  71685. -#if HAVE_INTTYPES_H
  71686. -#include <inttypes.h>
  71687. -#endif
  71688. -#if HAVE_SYS_BITYPES_H
  71689. -#include <sys/bitypes.h>
  71690. -#endif
  71691. -#if HAVE_SYS_SELECT_H
  71692. -#include <sys/select.h>
  71693. -#endif
  71694. -#if HAVE_NETINET_IN_SYSTM_H
  71695. -#include <netinet/in_systm.h>
  71696. -#endif
  71697. -int
  71698. -main ()
  71699. -{
  71700. -if (sizeof ((long)))
  71701. - return 0;
  71702. - ;
  71703. - return 0;
  71704. -}
  71705. -_ACEOF
  71706. -rm -f conftest.$ac_objext
  71707. -if { (ac_try="$ac_compile"
  71708. -case "(($ac_try" in
  71709. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  71710. - *) ac_try_echo=$ac_try;;
  71711. -esac
  71712. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  71713. -$as_echo "$ac_try_echo") >&5
  71714. - (eval "$ac_compile") 2>conftest.er1
  71715. - ac_status=$?
  71716. - grep -v '^ *+' conftest.er1 >conftest.err
  71717. - rm -f conftest.er1
  71718. - cat conftest.err >&5
  71719. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  71720. - (exit $ac_status); } && {
  71721. - test -z "$ac_c_werror_flag" ||
  71722. - test ! -s conftest.err
  71723. - } && test -s conftest.$ac_objext; then
  71724. - :
  71725. -else
  71726. - $as_echo "$as_me: failed program was:" >&5
  71727. -sed 's/^/| /' conftest.$ac_ext >&5
  71728. +# Check whether --enable-useragent-log was given.
  71729. +if test "${enable_useragent_log+set}" = set; then :
  71730. + enableval=$enable_useragent_log; if test "$enableval" = "yes" ; then
  71731. + echo "User-Agent logging enabled"
  71732. +
  71733. +$as_echo "#define USE_USERAGENT_LOG 1" >>confdefs.h
  71734. +
  71735. + fi
  71736. - ac_cv_type_long=yes
  71737. fi
  71738. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  71739. -else
  71740. - $as_echo "$as_me: failed program was:" >&5
  71741. -sed 's/^/| /' conftest.$ac_ext >&5
  71742. +# Check whether --enable-referer-log was given.
  71743. +if test "${enable_referer_log+set}" = set; then :
  71744. + enableval=$enable_referer_log; if test "$enableval" = "yes" ; then
  71745. + echo "Referer logging enabled"
  71746. +
  71747. +$as_echo "#define USE_REFERER_LOG 1" >>confdefs.h
  71748. +
  71749. + fi
  71750. fi
  71751. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  71752. +
  71753. +USE_WCCP=1
  71754. +# Check whether --enable-wccp was given.
  71755. +if test "${enable_wccp+set}" = set; then :
  71756. + enableval=$enable_wccp; if test "$enableval" = "no" ; then
  71757. + echo "Web Cache Coordination Protocol disabled"
  71758. + USE_WCCP=0
  71759. + fi
  71760. +
  71761. fi
  71762. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
  71763. -$as_echo "$ac_cv_type_long" >&6; }
  71764. -if test $ac_cv_type_long = yes; then
  71765. - # The cast to long int works around a bug in the HP C Compiler
  71766. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  71767. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  71768. -# This bug is HP SR number 8606223364.
  71769. -{ $as_echo "$as_me:$LINENO: checking size of long" >&5
  71770. -$as_echo_n "checking size of long... " >&6; }
  71771. -if test "${ac_cv_sizeof_long+set}" = set; then
  71772. - $as_echo_n "(cached) " >&6
  71773. -else
  71774. - if test "$cross_compiling" = yes; then
  71775. - # Depending upon the size, compute the lo and hi bounds.
  71776. -cat >conftest.$ac_ext <<_ACEOF
  71777. -/* confdefs.h. */
  71778. -_ACEOF
  71779. -cat confdefs.h >>conftest.$ac_ext
  71780. -cat >>conftest.$ac_ext <<_ACEOF
  71781. -/* end confdefs.h. */
  71782. +if test $USE_WCCP = 1; then
  71783. -#include <stdio.h>
  71784. +$as_echo "#define USE_WCCP 1" >>confdefs.h
  71785. -/* What a mess.. many systems have added the (now standard) bit types
  71786. - * in their own ways, so we need to scan a wide variety of headers to
  71787. - * find them..
  71788. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  71789. - */
  71790. -#if HAVE_SYS_TYPES_H
  71791. -#include <sys/types.h>
  71792. -#endif
  71793. -#if STDC_HEADERS
  71794. -#include <stdlib.h>
  71795. -#include <stddef.h>
  71796. -#endif
  71797. -#if HAVE_INTTYPES_H
  71798. -#include <inttypes.h>
  71799. -#endif
  71800. -#if HAVE_SYS_BITYPES_H
  71801. -#include <sys/bitypes.h>
  71802. -#endif
  71803. -#if HAVE_SYS_SELECT_H
  71804. -#include <sys/select.h>
  71805. -#endif
  71806. -#if HAVE_NETINET_IN_SYSTM_H
  71807. -#include <netinet/in_systm.h>
  71808. -#endif
  71809. +fi
  71810. +USE_WCCPv2=1
  71811. +# Check whether --enable-wccpv2 was given.
  71812. +if test "${enable_wccpv2+set}" = set; then :
  71813. + enableval=$enable_wccpv2; if test "$enableval" = "no" ; then
  71814. + echo "Web Cache Coordination V2 Protocol disabled"
  71815. + USE_WCCPv2=0
  71816. + fi
  71817. +fi
  71818. -int
  71819. -main ()
  71820. -{
  71821. -static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
  71822. -test_array [0] = 0
  71823. +if test $USE_WCCPv2 = 1; then
  71824. - ;
  71825. - return 0;
  71826. -}
  71827. -_ACEOF
  71828. -rm -f conftest.$ac_objext
  71829. -if { (ac_try="$ac_compile"
  71830. -case "(($ac_try" in
  71831. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  71832. - *) ac_try_echo=$ac_try;;
  71833. -esac
  71834. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  71835. -$as_echo "$ac_try_echo") >&5
  71836. - (eval "$ac_compile") 2>conftest.er1
  71837. - ac_status=$?
  71838. - grep -v '^ *+' conftest.er1 >conftest.err
  71839. - rm -f conftest.er1
  71840. - cat conftest.err >&5
  71841. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  71842. - (exit $ac_status); } && {
  71843. - test -z "$ac_c_werror_flag" ||
  71844. - test ! -s conftest.err
  71845. - } && test -s conftest.$ac_objext; then
  71846. - ac_lo=0 ac_mid=0
  71847. - while :; do
  71848. - cat >conftest.$ac_ext <<_ACEOF
  71849. -/* confdefs.h. */
  71850. -_ACEOF
  71851. -cat confdefs.h >>conftest.$ac_ext
  71852. -cat >>conftest.$ac_ext <<_ACEOF
  71853. -/* end confdefs.h. */
  71854. +$as_echo "#define USE_WCCPv2 1" >>confdefs.h
  71855. -#include <stdio.h>
  71856. +fi
  71857. -/* What a mess.. many systems have added the (now standard) bit types
  71858. - * in their own ways, so we need to scan a wide variety of headers to
  71859. - * find them..
  71860. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  71861. - */
  71862. -#if HAVE_SYS_TYPES_H
  71863. -#include <sys/types.h>
  71864. -#endif
  71865. -#if STDC_HEADERS
  71866. -#include <stdlib.h>
  71867. -#include <stddef.h>
  71868. -#endif
  71869. -#if HAVE_INTTYPES_H
  71870. -#include <inttypes.h>
  71871. -#endif
  71872. -#if HAVE_SYS_BITYPES_H
  71873. -#include <sys/bitypes.h>
  71874. -#endif
  71875. -#if HAVE_SYS_SELECT_H
  71876. -#include <sys/select.h>
  71877. -#endif
  71878. -#if HAVE_NETINET_IN_SYSTM_H
  71879. -#include <netinet/in_systm.h>
  71880. -#endif
  71881. +# Check whether --enable-kill-parent-hack was given.
  71882. +if test "${enable_kill_parent_hack+set}" = set; then :
  71883. + enableval=$enable_kill_parent_hack; if test "$enableval" = "yes" ; then
  71884. + echo "Kill parent on shutdown"
  71885. +$as_echo "#define KILL_PARENT_OPT 1" >>confdefs.h
  71886. + fi
  71887. -int
  71888. -main ()
  71889. -{
  71890. -static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
  71891. -test_array [0] = 0
  71892. +fi
  71893. - ;
  71894. - return 0;
  71895. -}
  71896. -_ACEOF
  71897. -rm -f conftest.$ac_objext
  71898. -if { (ac_try="$ac_compile"
  71899. -case "(($ac_try" in
  71900. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  71901. - *) ac_try_echo=$ac_try;;
  71902. -esac
  71903. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  71904. -$as_echo "$ac_try_echo") >&5
  71905. - (eval "$ac_compile") 2>conftest.er1
  71906. - ac_status=$?
  71907. - grep -v '^ *+' conftest.er1 >conftest.err
  71908. - rm -f conftest.er1
  71909. - cat conftest.err >&5
  71910. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  71911. - (exit $ac_status); } && {
  71912. - test -z "$ac_c_werror_flag" ||
  71913. - test ! -s conftest.err
  71914. - } && test -s conftest.$ac_objext; then
  71915. - ac_hi=$ac_mid; break
  71916. -else
  71917. - $as_echo "$as_me: failed program was:" >&5
  71918. -sed 's/^/| /' conftest.$ac_ext >&5
  71919. - ac_lo=`expr $ac_mid + 1`
  71920. - if test $ac_lo -le $ac_mid; then
  71921. - ac_lo= ac_hi=
  71922. - break
  71923. - fi
  71924. - ac_mid=`expr 2 '*' $ac_mid + 1`
  71925. +USE_SNMP=true
  71926. +# Check whether --enable-snmp was given.
  71927. +if test "${enable_snmp+set}" = set; then :
  71928. + enableval=$enable_snmp; if test "$enableval" = "no" ; then
  71929. + echo "SNMP monitoring disabled"
  71930. + USE_SNMP=
  71931. + fi
  71932. +
  71933. fi
  71934. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  71935. - done
  71936. +if test x"$USE_SNMP" = xtrue; then
  71937. +
  71938. +$as_echo "#define SQUID_SNMP 1" >>confdefs.h
  71939. +
  71940. + SNMPLIB='../snmplib/libsnmp.a'
  71941. + makesnmplib=snmplib
  71942. +fi
  71943. + if test x$USE_SNMP = xtrue; then
  71944. + USE_SNMP_TRUE=
  71945. + USE_SNMP_FALSE='#'
  71946. else
  71947. - $as_echo "$as_me: failed program was:" >&5
  71948. -sed 's/^/| /' conftest.$ac_ext >&5
  71949. + USE_SNMP_TRUE='#'
  71950. + USE_SNMP_FALSE=
  71951. +fi
  71952. +
  71953. - cat >conftest.$ac_ext <<_ACEOF
  71954. -/* confdefs.h. */
  71955. +
  71956. +
  71957. +# Check whether --enable-cachemgr-hostname was given.
  71958. +if test "${enable_cachemgr_hostname+set}" = set; then :
  71959. + enableval=$enable_cachemgr_hostname; case $enableval in
  71960. + yes)
  71961. +
  71962. +$as_echo "#define CACHEMGR_HOSTNAME getfullhostname()" >>confdefs.h
  71963. +
  71964. + echo "Cachemgr default hostname == host where cachemgr runs"
  71965. + ;;
  71966. + no)
  71967. + : # Nothing to do..
  71968. + ;;
  71969. + *)
  71970. + cat >>confdefs.h <<_ACEOF
  71971. +#define CACHEMGR_HOSTNAME "${enableval}"
  71972. _ACEOF
  71973. -cat confdefs.h >>conftest.$ac_ext
  71974. -cat >>conftest.$ac_ext <<_ACEOF
  71975. -/* end confdefs.h. */
  71976. -#include <stdio.h>
  71977. + echo "Cachemgr default hostname set to ${enableval}"
  71978. + ;;
  71979. + esac
  71980. -/* What a mess.. many systems have added the (now standard) bit types
  71981. - * in their own ways, so we need to scan a wide variety of headers to
  71982. - * find them..
  71983. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  71984. - */
  71985. -#if HAVE_SYS_TYPES_H
  71986. -#include <sys/types.h>
  71987. -#endif
  71988. -#if STDC_HEADERS
  71989. -#include <stdlib.h>
  71990. -#include <stddef.h>
  71991. -#endif
  71992. -#if HAVE_INTTYPES_H
  71993. -#include <inttypes.h>
  71994. -#endif
  71995. -#if HAVE_SYS_BITYPES_H
  71996. -#include <sys/bitypes.h>
  71997. -#endif
  71998. -#if HAVE_SYS_SELECT_H
  71999. -#include <sys/select.h>
  72000. -#endif
  72001. -#if HAVE_NETINET_IN_SYSTM_H
  72002. -#include <netinet/in_systm.h>
  72003. -#endif
  72004. +fi
  72005. +
  72006. +
  72007. + if false; then
  72008. + ENABLE_ARP_ACL_TRUE=
  72009. + ENABLE_ARP_ACL_FALSE='#'
  72010. +else
  72011. + ENABLE_ARP_ACL_TRUE='#'
  72012. + ENABLE_ARP_ACL_FALSE=
  72013. +fi
  72014. +
  72015. +# Check whether --enable-arp-acl was given.
  72016. +if test "${enable_arp_acl+set}" = set; then :
  72017. + enableval=$enable_arp_acl; if test "$enableval" = "yes" ; then
  72018. + echo "ARP ACL lists enabled (ether address)"
  72019. + case "$host" in
  72020. + *-linux-*)
  72021. + ;;
  72022. + *-solaris*)
  72023. + ;;
  72024. + *-freebsd*)
  72025. + ;;
  72026. + *-openbsd*)
  72027. + ;;
  72028. + *-netbsd*)
  72029. + ;;
  72030. + *-cygwin*)
  72031. + LIBS="$LIBS -liphlpapi"
  72032. + ;;
  72033. + *-mingw*)
  72034. + LIBS="$LIBS -liphlpapi"
  72035. + ;;
  72036. + *)
  72037. + echo "WARNING: ARP ACL support probably won't work on $host."
  72038. + sleep 10
  72039. + ;;
  72040. + esac
  72041. +$as_echo "#define USE_ARP_ACL 1" >>confdefs.h
  72042. + if true; then
  72043. + ENABLE_ARP_ACL_TRUE=
  72044. + ENABLE_ARP_ACL_FALSE='#'
  72045. +else
  72046. + ENABLE_ARP_ACL_TRUE='#'
  72047. + ENABLE_ARP_ACL_FALSE=
  72048. +fi
  72049. -int
  72050. -main ()
  72051. -{
  72052. -static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
  72053. -test_array [0] = 0
  72054. + fi
  72055. - ;
  72056. - return 0;
  72057. -}
  72058. -_ACEOF
  72059. -rm -f conftest.$ac_objext
  72060. -if { (ac_try="$ac_compile"
  72061. -case "(($ac_try" in
  72062. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  72063. - *) ac_try_echo=$ac_try;;
  72064. -esac
  72065. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  72066. -$as_echo "$ac_try_echo") >&5
  72067. - (eval "$ac_compile") 2>conftest.er1
  72068. - ac_status=$?
  72069. - grep -v '^ *+' conftest.er1 >conftest.err
  72070. - rm -f conftest.er1
  72071. - cat conftest.err >&5
  72072. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  72073. - (exit $ac_status); } && {
  72074. - test -z "$ac_c_werror_flag" ||
  72075. - test ! -s conftest.err
  72076. - } && test -s conftest.$ac_objext; then
  72077. - ac_hi=-1 ac_mid=-1
  72078. - while :; do
  72079. - cat >conftest.$ac_ext <<_ACEOF
  72080. -/* confdefs.h. */
  72081. -_ACEOF
  72082. -cat confdefs.h >>conftest.$ac_ext
  72083. -cat >>conftest.$ac_ext <<_ACEOF
  72084. -/* end confdefs.h. */
  72085. +fi
  72086. -#include <stdio.h>
  72087. -/* What a mess.. many systems have added the (now standard) bit types
  72088. - * in their own ways, so we need to scan a wide variety of headers to
  72089. - * find them..
  72090. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  72091. - */
  72092. -#if HAVE_SYS_TYPES_H
  72093. -#include <sys/types.h>
  72094. -#endif
  72095. -#if STDC_HEADERS
  72096. -#include <stdlib.h>
  72097. -#include <stddef.h>
  72098. -#endif
  72099. -#if HAVE_INTTYPES_H
  72100. -#include <inttypes.h>
  72101. -#endif
  72102. -#if HAVE_SYS_BITYPES_H
  72103. -#include <sys/bitypes.h>
  72104. -#endif
  72105. -#if HAVE_SYS_SELECT_H
  72106. -#include <sys/select.h>
  72107. -#endif
  72108. -#if HAVE_NETINET_IN_SYSTM_H
  72109. -#include <netinet/in_systm.h>
  72110. -#endif
  72111. +USE_HTCP=true
  72112. + if false; then
  72113. + ENABLE_HTCP_TRUE=
  72114. + ENABLE_HTCP_FALSE='#'
  72115. +else
  72116. + ENABLE_HTCP_TRUE='#'
  72117. + ENABLE_HTCP_FALSE=
  72118. +fi
  72119. +# Check whether --enable-htcp was given.
  72120. +if test "${enable_htcp+set}" = set; then :
  72121. + enableval=$enable_htcp; if test "$enableval" = "no" ; then
  72122. + echo "HTCP support disabled"
  72123. + fi
  72124. +fi
  72125. -int
  72126. -main ()
  72127. -{
  72128. -static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
  72129. -test_array [0] = 0
  72130. +if test x$USE_HTCP = xtrue; then
  72131. - ;
  72132. - return 0;
  72133. -}
  72134. -_ACEOF
  72135. -rm -f conftest.$ac_objext
  72136. -if { (ac_try="$ac_compile"
  72137. -case "(($ac_try" in
  72138. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  72139. - *) ac_try_echo=$ac_try;;
  72140. -esac
  72141. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  72142. -$as_echo "$ac_try_echo") >&5
  72143. - (eval "$ac_compile") 2>conftest.er1
  72144. - ac_status=$?
  72145. - grep -v '^ *+' conftest.er1 >conftest.err
  72146. - rm -f conftest.er1
  72147. - cat conftest.err >&5
  72148. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  72149. - (exit $ac_status); } && {
  72150. - test -z "$ac_c_werror_flag" ||
  72151. - test ! -s conftest.err
  72152. - } && test -s conftest.$ac_objext; then
  72153. - ac_lo=$ac_mid; break
  72154. -else
  72155. - $as_echo "$as_me: failed program was:" >&5
  72156. -sed 's/^/| /' conftest.$ac_ext >&5
  72157. +$as_echo "#define USE_HTCP 1" >>confdefs.h
  72158. - ac_hi=`expr '(' $ac_mid ')' - 1`
  72159. - if test $ac_mid -le $ac_hi; then
  72160. - ac_lo= ac_hi=
  72161. - break
  72162. - fi
  72163. - ac_mid=`expr 2 '*' $ac_mid`
  72164. fi
  72165. -
  72166. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  72167. - done
  72168. + if test x$USE_HTCP = xtrue; then
  72169. + ENABLE_HTCP_TRUE=
  72170. + ENABLE_HTCP_FALSE='#'
  72171. else
  72172. - $as_echo "$as_me: failed program was:" >&5
  72173. -sed 's/^/| /' conftest.$ac_ext >&5
  72174. + ENABLE_HTCP_TRUE='#'
  72175. + ENABLE_HTCP_FALSE=
  72176. +fi
  72177. +
  72178. - ac_lo= ac_hi=
  72179. + if false; then
  72180. + ENABLE_SSL_TRUE=
  72181. + ENABLE_SSL_FALSE='#'
  72182. +else
  72183. + ENABLE_SSL_TRUE='#'
  72184. + ENABLE_SSL_FALSE=
  72185. fi
  72186. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  72187. +
  72188. +# Check whether --enable-ssl was given.
  72189. +if test "${enable_ssl+set}" = set; then :
  72190. + enableval=$enable_ssl; if test "$enableval" != "no"; then
  72191. + echo "SSL gatewaying using OpenSSL enabled"
  72192. +
  72193. +$as_echo "#define USE_SSL 1" >>confdefs.h
  72194. +
  72195. + if true; then
  72196. + ENABLE_SSL_TRUE=
  72197. + ENABLE_SSL_FALSE='#'
  72198. +else
  72199. + ENABLE_SSL_TRUE='#'
  72200. + ENABLE_SSL_FALSE=
  72201. fi
  72202. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  72203. -# Binary search between lo and hi bounds.
  72204. -while test "x$ac_lo" != "x$ac_hi"; do
  72205. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  72206. - cat >conftest.$ac_ext <<_ACEOF
  72207. -/* confdefs.h. */
  72208. -_ACEOF
  72209. -cat confdefs.h >>conftest.$ac_ext
  72210. -cat >>conftest.$ac_ext <<_ACEOF
  72211. -/* end confdefs.h. */
  72212. + case "$host_os" in
  72213. + mingw|mingw32)
  72214. + SSLLIB='-lssleay32 -leay32 -lgdi32'
  72215. + ;;
  72216. + *)
  72217. + SSLLIB='-lssl -lcrypto'
  72218. + ;;
  72219. + esac
  72220. + USE_OPENSSL=1
  72221. + fi
  72222. -#include <stdio.h>
  72223. +fi
  72224. -/* What a mess.. many systems have added the (now standard) bit types
  72225. - * in their own ways, so we need to scan a wide variety of headers to
  72226. - * find them..
  72227. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  72228. - */
  72229. -#if HAVE_SYS_TYPES_H
  72230. -#include <sys/types.h>
  72231. -#endif
  72232. -#if STDC_HEADERS
  72233. -#include <stdlib.h>
  72234. -#include <stddef.h>
  72235. -#endif
  72236. -#if HAVE_INTTYPES_H
  72237. -#include <inttypes.h>
  72238. -#endif
  72239. -#if HAVE_SYS_BITYPES_H
  72240. -#include <sys/bitypes.h>
  72241. -#endif
  72242. -#if HAVE_SYS_SELECT_H
  72243. -#include <sys/select.h>
  72244. -#endif
  72245. -#if HAVE_NETINET_IN_SYSTM_H
  72246. -#include <netinet/in_systm.h>
  72247. -#endif
  72248. +# Check whether --with-openssl was given.
  72249. +if test "${with_openssl+set}" = set; then :
  72250. + withval=$with_openssl;
  72251. + case "$with_openssl" in
  72252. + yes)
  72253. + USE_OPENSSL=1
  72254. + ;;
  72255. + no)
  72256. + USE_OPENSSL=
  72257. + ;;
  72258. + *)
  72259. + SSLLIBDIR="$with_openssl/lib"
  72260. + CPPFLAGS="-I$with_openssl/include $CPPFLAGS"
  72261. + USE_OPENSSL=1
  72262. + esac
  72263. -int
  72264. -main ()
  72265. -{
  72266. -static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
  72267. -test_array [0] = 0
  72268. +fi
  72269. - ;
  72270. - return 0;
  72271. -}
  72272. -_ACEOF
  72273. -rm -f conftest.$ac_objext
  72274. -if { (ac_try="$ac_compile"
  72275. -case "(($ac_try" in
  72276. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  72277. - *) ac_try_echo=$ac_try;;
  72278. -esac
  72279. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  72280. -$as_echo "$ac_try_echo") >&5
  72281. - (eval "$ac_compile") 2>conftest.er1
  72282. - ac_status=$?
  72283. - grep -v '^ *+' conftest.er1 >conftest.err
  72284. - rm -f conftest.er1
  72285. - cat conftest.err >&5
  72286. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  72287. - (exit $ac_status); } && {
  72288. - test -z "$ac_c_werror_flag" ||
  72289. - test ! -s conftest.err
  72290. - } && test -s conftest.$ac_objext; then
  72291. - ac_hi=$ac_mid
  72292. -else
  72293. - $as_echo "$as_me: failed program was:" >&5
  72294. -sed 's/^/| /' conftest.$ac_ext >&5
  72295. +if test -n "$USE_OPENSSL"; then
  72296. + echo "Using OpenSSL MD5 implementation"
  72297. +
  72298. +$as_echo "#define USE_OPENSSL 1" >>confdefs.h
  72299. - ac_lo=`expr '(' $ac_mid ')' + 1`
  72300. + if test -z "$SSLLIB"; then
  72301. + SSLLIB="-lcrypto" # for MD5 routines
  72302. + fi
  72303. + if test -d /usr/kerberos/include && test -z "$SSLLIBDIR" && test -f /usr/include/openssl/kssl.h; then
  72304. + echo "OpenSSL depends on Kerberos"
  72305. + SSLLIBDIR="/usr/kerberos/lib"
  72306. + CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include"
  72307. + fi
  72308. +fi
  72309. +if test -n "$SSLLIBDIR"; then
  72310. + SSLLIB="-L$SSLLIBDIR $SSLLIB"
  72311. fi
  72312. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  72313. -done
  72314. -case $ac_lo in
  72315. -?*) ac_cv_sizeof_long=$ac_lo;;
  72316. -'') if test "$ac_cv_type_long" = yes; then
  72317. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
  72318. -See \`config.log' for more details." >&5
  72319. -$as_echo "$as_me: error: cannot compute sizeof (long)
  72320. -See \`config.log' for more details." >&2;}
  72321. - { (exit 77); exit 77; }; }
  72322. - else
  72323. - ac_cv_sizeof_long=0
  72324. - fi ;;
  72325. -esac
  72326. -else
  72327. - cat >conftest.$ac_ext <<_ACEOF
  72328. -/* confdefs.h. */
  72329. -_ACEOF
  72330. -cat confdefs.h >>conftest.$ac_ext
  72331. -cat >>conftest.$ac_ext <<_ACEOF
  72332. -/* end confdefs.h. */
  72333. -#include <stdio.h>
  72334. -/* What a mess.. many systems have added the (now standard) bit types
  72335. - * in their own ways, so we need to scan a wide variety of headers to
  72336. - * find them..
  72337. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  72338. - */
  72339. -#if HAVE_SYS_TYPES_H
  72340. -#include <sys/types.h>
  72341. -#endif
  72342. -#if STDC_HEADERS
  72343. -#include <stdlib.h>
  72344. -#include <stddef.h>
  72345. -#endif
  72346. -#if HAVE_INTTYPES_H
  72347. -#include <inttypes.h>
  72348. -#endif
  72349. -#if HAVE_SYS_BITYPES_H
  72350. -#include <sys/bitypes.h>
  72351. -#endif
  72352. -#if HAVE_SYS_SELECT_H
  72353. -#include <sys/select.h>
  72354. -#endif
  72355. -#if HAVE_NETINET_IN_SYSTM_H
  72356. -#include <netinet/in_systm.h>
  72357. -#endif
  72358. +# Check whether --enable-forw-via-db was given.
  72359. +if test "${enable_forw_via_db+set}" = set; then :
  72360. + enableval=$enable_forw_via_db; if test "$enableval" = "yes" ; then
  72361. + echo "FORW-VIA enabled"
  72362. +$as_echo "#define FORW_VIA_DB 1" >>confdefs.h
  72363. + fi
  72364. -static long int longval () { return (long int) (sizeof (long)); }
  72365. -static unsigned long int ulongval () { return (long int) (sizeof (long)); }
  72366. -#include <stdio.h>
  72367. -#include <stdlib.h>
  72368. -int
  72369. -main ()
  72370. -{
  72371. +fi
  72372. - FILE *f = fopen ("conftest.val", "w");
  72373. - if (! f)
  72374. - return 1;
  72375. - if (((long int) (sizeof (long))) < 0)
  72376. - {
  72377. - long int i = longval ();
  72378. - if (i != ((long int) (sizeof (long))))
  72379. - return 1;
  72380. - fprintf (f, "%ld", i);
  72381. - }
  72382. - else
  72383. - {
  72384. - unsigned long int i = ulongval ();
  72385. - if (i != ((long int) (sizeof (long))))
  72386. - return 1;
  72387. - fprintf (f, "%lu", i);
  72388. - }
  72389. - /* Do not output a trailing newline, as this causes \r\n confusion
  72390. - on some platforms. */
  72391. - return ferror (f) || fclose (f) != 0;
  72392. - ;
  72393. - return 0;
  72394. -}
  72395. -_ACEOF
  72396. -rm -f conftest$ac_exeext
  72397. -if { (ac_try="$ac_link"
  72398. -case "(($ac_try" in
  72399. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  72400. - *) ac_try_echo=$ac_try;;
  72401. -esac
  72402. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  72403. -$as_echo "$ac_try_echo") >&5
  72404. - (eval "$ac_link") 2>&5
  72405. - ac_status=$?
  72406. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  72407. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  72408. - { (case "(($ac_try" in
  72409. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  72410. - *) ac_try_echo=$ac_try;;
  72411. -esac
  72412. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  72413. -$as_echo "$ac_try_echo") >&5
  72414. - (eval "$ac_try") 2>&5
  72415. - ac_status=$?
  72416. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  72417. - (exit $ac_status); }; }; then
  72418. - ac_cv_sizeof_long=`cat conftest.val`
  72419. -else
  72420. - $as_echo "$as_me: program exited with status $ac_status" >&5
  72421. -$as_echo "$as_me: failed program was:" >&5
  72422. -sed 's/^/| /' conftest.$ac_ext >&5
  72423. +# Check whether --enable-cache-digests was given.
  72424. +if test "${enable_cache_digests+set}" = set; then :
  72425. + enableval=$enable_cache_digests; if test "$enableval" = "yes" ; then
  72426. + echo "USE_CACHE_DIGESTS enabled"
  72427. +
  72428. +$as_echo "#define USE_CACHE_DIGESTS 1" >>confdefs.h
  72429. +
  72430. + fi
  72431. -( exit $ac_status )
  72432. -if test "$ac_cv_type_long" = yes; then
  72433. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
  72434. -See \`config.log' for more details." >&5
  72435. -$as_echo "$as_me: error: cannot compute sizeof (long)
  72436. -See \`config.log' for more details." >&2;}
  72437. - { (exit 77); exit 77; }; }
  72438. - else
  72439. - ac_cv_sizeof_long=0
  72440. - fi
  72441. fi
  72442. -rm -rf conftest.dSYM
  72443. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  72444. +
  72445. +
  72446. +# Check whether --enable-default-err-language was given.
  72447. +if test "${enable_default_err_language+set}" = set; then :
  72448. + enableval=$enable_default_err_language;
  72449. + if test -d $srcdir/errors/$enableval; then
  72450. + ERR_DEFAULT_LANGUAGE=$enableval
  72451. + else
  72452. + echo "ERROR! Unknown language $enableval, see errors/ directory"
  72453. + exit 1
  72454. + fi
  72455. +
  72456. +else
  72457. + ERR_DEFAULT_LANGUAGE="templates"
  72458. fi
  72459. -rm -f conftest.val
  72460. +
  72461. +
  72462. +
  72463. +# Check whether --enable-err-languages was given.
  72464. +if test "${enable_err_languages+set}" = set; then :
  72465. + enableval=$enable_err_languages;
  72466. + for l in $enableval; do
  72467. + if test -d $srcdir/errors/$l; then :; else
  72468. + echo "ERROR! Unknown language $$l, see errors/"
  72469. + exit 1
  72470. + fi
  72471. + done
  72472. + ERR_LANGUAGES=$enableval
  72473. +
  72474. +else
  72475. +
  72476. + ERR_LANGUAGES=
  72477. + for l in $srcdir/errors/*; do
  72478. + if test -f $l/ERR_ACCESS_DENIED; then
  72479. + ERR_LANGUAGES="$ERR_LANGUAGES `basename $l`"
  72480. + fi
  72481. + done
  72482. +
  72483. fi
  72484. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
  72485. -$as_echo "$ac_cv_sizeof_long" >&6; }
  72486. +
  72487. +# Check whether --with-coss-membuf-size was given.
  72488. +if test "${with_coss_membuf_size+set}" = set; then :
  72489. + withval=$with_coss_membuf_size; if test "$with_coss_membuf_size"; then
  72490. + echo "Setting COSS membuf size to $with_coss_membuf_size bytes"
  72491. +
  72492. cat >>confdefs.h <<_ACEOF
  72493. -#define SIZEOF_LONG $ac_cv_sizeof_long
  72494. +#define COSS_MEMBUF_SZ $with_coss_membuf_size
  72495. _ACEOF
  72496. + fi
  72497. +fi
  72498. -cat >>confdefs.h <<\_ACEOF
  72499. -#define HAVE_LONG 1
  72500. -_ACEOF
  72501. +disable_poll=
  72502. +# Check whether --enable-poll was given.
  72503. +if test "${enable_poll+set}" = set; then :
  72504. + enableval=$enable_poll;
  72505. + case "$enableval" in
  72506. + yes)
  72507. + echo "Forcing poll() to be enabled"
  72508. + SELECT_TYPE="poll"
  72509. + ;;
  72510. + no)
  72511. + echo "Forcing poll() to be disabled"
  72512. + disable_poll=true
  72513. + ;;
  72514. + esac
  72515. +
  72516. fi
  72517. -{ $as_echo "$as_me:$LINENO: checking for u_int32_t" >&5
  72518. -$as_echo_n "checking for u_int32_t... " >&6; }
  72519. -if test "${ac_cv_type_u_int32_t+set}" = set; then
  72520. - $as_echo_n "(cached) " >&6
  72521. -else
  72522. - ac_cv_type_u_int32_t=no
  72523. -cat >conftest.$ac_ext <<_ACEOF
  72524. -/* confdefs.h. */
  72525. -_ACEOF
  72526. -cat confdefs.h >>conftest.$ac_ext
  72527. -cat >>conftest.$ac_ext <<_ACEOF
  72528. -/* end confdefs.h. */
  72529. +disable_select=
  72530. +# Check whether --enable-select was given.
  72531. +if test "${enable_select+set}" = set; then :
  72532. + enableval=$enable_select;
  72533. + case "$enableval" in
  72534. + yes)
  72535. + echo "Forcing select() to be enabled"
  72536. + SELECT_TYPE="select"
  72537. + ;;
  72538. + no)
  72539. + echo "Forcing select() to be disabled"
  72540. + disable_select=true
  72541. + ;;
  72542. + esac
  72543. -/* What a mess.. many systems have added the (now standard) bit types
  72544. - * in their own ways, so we need to scan a wide variety of headers to
  72545. - * find them..
  72546. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  72547. - */
  72548. -#if HAVE_SYS_TYPES_H
  72549. -#include <sys/types.h>
  72550. -#endif
  72551. -#if STDC_HEADERS
  72552. -#include <stdlib.h>
  72553. -#include <stddef.h>
  72554. -#endif
  72555. -#if HAVE_INTTYPES_H
  72556. -#include <inttypes.h>
  72557. -#endif
  72558. -#if HAVE_SYS_BITYPES_H
  72559. -#include <sys/bitypes.h>
  72560. -#endif
  72561. -#if HAVE_SYS_SELECT_H
  72562. -#include <sys/select.h>
  72563. -#endif
  72564. -#if HAVE_NETINET_IN_SYSTM_H
  72565. -#include <netinet/in_systm.h>
  72566. -#endif
  72567. +fi
  72568. -int
  72569. -main ()
  72570. -{
  72571. -if (sizeof (u_int32_t))
  72572. - return 0;
  72573. - ;
  72574. - return 0;
  72575. -}
  72576. -_ACEOF
  72577. -rm -f conftest.$ac_objext
  72578. -if { (ac_try="$ac_compile"
  72579. -case "(($ac_try" in
  72580. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  72581. - *) ac_try_echo=$ac_try;;
  72582. +disable_kqueue=true
  72583. +# Check whether --enable-kqueue was given.
  72584. +if test "${enable_kqueue+set}" = set; then :
  72585. + enableval=$enable_kqueue;
  72586. + case "$enableval" in
  72587. + yes)
  72588. + echo "Forcing kqueue() to be enabled"
  72589. + SELECT_TYPE="kqueue"
  72590. + ;;
  72591. + no)
  72592. + echo "Forcing kqueue() to be disabled"
  72593. + disable_kqueue=true
  72594. + ;;
  72595. esac
  72596. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  72597. -$as_echo "$ac_try_echo") >&5
  72598. - (eval "$ac_compile") 2>conftest.er1
  72599. - ac_status=$?
  72600. - grep -v '^ *+' conftest.er1 >conftest.err
  72601. - rm -f conftest.er1
  72602. - cat conftest.err >&5
  72603. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  72604. - (exit $ac_status); } && {
  72605. - test -z "$ac_c_werror_flag" ||
  72606. - test ! -s conftest.err
  72607. - } && test -s conftest.$ac_objext; then
  72608. - cat >conftest.$ac_ext <<_ACEOF
  72609. -/* confdefs.h. */
  72610. -_ACEOF
  72611. -cat confdefs.h >>conftest.$ac_ext
  72612. -cat >>conftest.$ac_ext <<_ACEOF
  72613. -/* end confdefs.h. */
  72614. -/* What a mess.. many systems have added the (now standard) bit types
  72615. - * in their own ways, so we need to scan a wide variety of headers to
  72616. - * find them..
  72617. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  72618. - */
  72619. -#if HAVE_SYS_TYPES_H
  72620. -#include <sys/types.h>
  72621. -#endif
  72622. -#if STDC_HEADERS
  72623. -#include <stdlib.h>
  72624. -#include <stddef.h>
  72625. -#endif
  72626. -#if HAVE_INTTYPES_H
  72627. -#include <inttypes.h>
  72628. -#endif
  72629. -#if HAVE_SYS_BITYPES_H
  72630. -#include <sys/bitypes.h>
  72631. -#endif
  72632. -#if HAVE_SYS_SELECT_H
  72633. -#include <sys/select.h>
  72634. -#endif
  72635. -#if HAVE_NETINET_IN_SYSTM_H
  72636. -#include <netinet/in_systm.h>
  72637. -#endif
  72638. +fi
  72639. -int
  72640. -main ()
  72641. -{
  72642. -if (sizeof ((u_int32_t)))
  72643. - return 0;
  72644. - ;
  72645. - return 0;
  72646. -}
  72647. -_ACEOF
  72648. -rm -f conftest.$ac_objext
  72649. -if { (ac_try="$ac_compile"
  72650. -case "(($ac_try" in
  72651. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  72652. - *) ac_try_echo=$ac_try;;
  72653. +disable_epoll=
  72654. +# Check whether --enable-epoll was given.
  72655. +if test "${enable_epoll+set}" = set; then :
  72656. + enableval=$enable_epoll;
  72657. + case "$enableval" in
  72658. + yes)
  72659. + echo "Forcing epoll() to be enabled"
  72660. + SELECT_TYPE="epoll"
  72661. + ;;
  72662. + no)
  72663. + echo "Forcing epoll() to be disabled"
  72664. + disable_epoll=true
  72665. + ;;
  72666. esac
  72667. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  72668. -$as_echo "$ac_try_echo") >&5
  72669. - (eval "$ac_compile") 2>conftest.er1
  72670. - ac_status=$?
  72671. - grep -v '^ *+' conftest.er1 >conftest.err
  72672. - rm -f conftest.er1
  72673. - cat conftest.err >&5
  72674. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  72675. - (exit $ac_status); } && {
  72676. - test -z "$ac_c_werror_flag" ||
  72677. - test ! -s conftest.err
  72678. - } && test -s conftest.$ac_objext; then
  72679. - :
  72680. -else
  72681. - $as_echo "$as_me: failed program was:" >&5
  72682. -sed 's/^/| /' conftest.$ac_ext >&5
  72683. - ac_cv_type_u_int32_t=yes
  72684. fi
  72685. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  72686. -else
  72687. - $as_echo "$as_me: failed program was:" >&5
  72688. -sed 's/^/| /' conftest.$ac_ext >&5
  72689. +http_violations=1
  72690. +# Check whether --enable-http-violations was given.
  72691. +if test "${enable_http_violations+set}" = set; then :
  72692. + enableval=$enable_http_violations; if test "$enableval" = "no" ; then
  72693. + echo "Disabling HTTP Violations"
  72694. + http_violations=0
  72695. + fi
  72696. +
  72697. +fi
  72698. +
  72699. +if test $http_violations = 1; then
  72700. +
  72701. +$as_echo "#define HTTP_VIOLATIONS 1" >>confdefs.h
  72702. +
  72703. +else
  72704. + $as_echo "#define HTTP_VIOLATIONS 0" >>confdefs.h
  72705. +
  72706. +fi
  72707. +
  72708. +# Check whether --enable-ipfw-transparent was given.
  72709. +if test "${enable_ipfw_transparent+set}" = set; then :
  72710. + enableval=$enable_ipfw_transparent; if test "$enableval" = "yes" ; then
  72711. + echo "IPFW Transparent Proxy enabled"
  72712. +
  72713. +$as_echo "#define IPFW_TRANSPARENT 1" >>confdefs.h
  72714. +
  72715. + IPFW_TRANSPARENT="yes"
  72716. + else
  72717. +
  72718. +$as_echo "#define IPFW_TRANSPARENT 0" >>confdefs.h
  72719. +
  72720. + fi
  72721. +
  72722. fi
  72723. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  72724. +
  72725. +# Check whether --enable-ipf-transparent was given.
  72726. +if test "${enable_ipf_transparent+set}" = set; then :
  72727. + enableval=$enable_ipf_transparent; if test "$enableval" = "yes" ; then
  72728. + echo "IP-Filter Transparent Proxy enabled"
  72729. +
  72730. +$as_echo "#define IPF_TRANSPARENT 1" >>confdefs.h
  72731. +
  72732. + IPF_TRANSPARENT="yes"
  72733. + else
  72734. +
  72735. +$as_echo "#define IPF_TRANSPARENT 0" >>confdefs.h
  72736. +
  72737. + fi
  72738. +
  72739. fi
  72740. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
  72741. -$as_echo "$ac_cv_type_u_int32_t" >&6; }
  72742. -if test $ac_cv_type_u_int32_t = yes; then
  72743. - # The cast to long int works around a bug in the HP C Compiler
  72744. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  72745. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  72746. -# This bug is HP SR number 8606223364.
  72747. -{ $as_echo "$as_me:$LINENO: checking size of u_int32_t" >&5
  72748. -$as_echo_n "checking size of u_int32_t... " >&6; }
  72749. -if test "${ac_cv_sizeof_u_int32_t+set}" = set; then
  72750. - $as_echo_n "(cached) " >&6
  72751. -else
  72752. - if test "$cross_compiling" = yes; then
  72753. - # Depending upon the size, compute the lo and hi bounds.
  72754. -cat >conftest.$ac_ext <<_ACEOF
  72755. -/* confdefs.h. */
  72756. -_ACEOF
  72757. -cat confdefs.h >>conftest.$ac_ext
  72758. -cat >>conftest.$ac_ext <<_ACEOF
  72759. -/* end confdefs.h. */
  72760. -#include <stdio.h>
  72761. +# Check whether --enable-pf-transparent was given.
  72762. +if test "${enable_pf_transparent+set}" = set; then :
  72763. + enableval=$enable_pf_transparent; if test "$enableval" = "yes" ; then
  72764. + echo "PF Transparent Proxy enabled"
  72765. -/* What a mess.. many systems have added the (now standard) bit types
  72766. - * in their own ways, so we need to scan a wide variety of headers to
  72767. - * find them..
  72768. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  72769. - */
  72770. -#if HAVE_SYS_TYPES_H
  72771. -#include <sys/types.h>
  72772. -#endif
  72773. -#if STDC_HEADERS
  72774. -#include <stdlib.h>
  72775. -#include <stddef.h>
  72776. -#endif
  72777. -#if HAVE_INTTYPES_H
  72778. -#include <inttypes.h>
  72779. -#endif
  72780. -#if HAVE_SYS_BITYPES_H
  72781. -#include <sys/bitypes.h>
  72782. -#endif
  72783. -#if HAVE_SYS_SELECT_H
  72784. -#include <sys/select.h>
  72785. -#endif
  72786. -#if HAVE_NETINET_IN_SYSTM_H
  72787. -#include <netinet/in_systm.h>
  72788. -#endif
  72789. +$as_echo "#define PF_TRANSPARENT 1" >>confdefs.h
  72790. + PF_TRANSPARENT="yes"
  72791. + else
  72792. +$as_echo "#define PF_TRANSPARENT 0" >>confdefs.h
  72793. -int
  72794. -main ()
  72795. -{
  72796. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int32_t))) >= 0)];
  72797. -test_array [0] = 0
  72798. + fi
  72799. - ;
  72800. - return 0;
  72801. -}
  72802. -_ACEOF
  72803. -rm -f conftest.$ac_objext
  72804. -if { (ac_try="$ac_compile"
  72805. -case "(($ac_try" in
  72806. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  72807. - *) ac_try_echo=$ac_try;;
  72808. -esac
  72809. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  72810. -$as_echo "$ac_try_echo") >&5
  72811. - (eval "$ac_compile") 2>conftest.er1
  72812. - ac_status=$?
  72813. - grep -v '^ *+' conftest.er1 >conftest.err
  72814. - rm -f conftest.er1
  72815. - cat conftest.err >&5
  72816. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  72817. - (exit $ac_status); } && {
  72818. - test -z "$ac_c_werror_flag" ||
  72819. - test ! -s conftest.err
  72820. - } && test -s conftest.$ac_objext; then
  72821. - ac_lo=0 ac_mid=0
  72822. - while :; do
  72823. - cat >conftest.$ac_ext <<_ACEOF
  72824. -/* confdefs.h. */
  72825. -_ACEOF
  72826. -cat confdefs.h >>conftest.$ac_ext
  72827. -cat >>conftest.$ac_ext <<_ACEOF
  72828. -/* end confdefs.h. */
  72829. +fi
  72830. -#include <stdio.h>
  72831. -/* What a mess.. many systems have added the (now standard) bit types
  72832. - * in their own ways, so we need to scan a wide variety of headers to
  72833. - * find them..
  72834. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  72835. - */
  72836. -#if HAVE_SYS_TYPES_H
  72837. -#include <sys/types.h>
  72838. -#endif
  72839. -#if STDC_HEADERS
  72840. -#include <stdlib.h>
  72841. -#include <stddef.h>
  72842. -#endif
  72843. -#if HAVE_INTTYPES_H
  72844. -#include <inttypes.h>
  72845. -#endif
  72846. -#if HAVE_SYS_BITYPES_H
  72847. -#include <sys/bitypes.h>
  72848. -#endif
  72849. -#if HAVE_SYS_SELECT_H
  72850. -#include <sys/select.h>
  72851. -#endif
  72852. -#if HAVE_NETINET_IN_SYSTM_H
  72853. -#include <netinet/in_systm.h>
  72854. -#endif
  72855. +# Check whether --enable-linux-netfilter was given.
  72856. +if test "${enable_linux_netfilter+set}" = set; then :
  72857. + enableval=$enable_linux_netfilter; if test "$enableval" = "yes" ; then
  72858. + echo "Linux (Netfilter) Transparent Proxy enabled"
  72859. +$as_echo "#define LINUX_NETFILTER 1" >>confdefs.h
  72860. + LINUX_NETFILTER="yes"
  72861. + else
  72862. -int
  72863. -main ()
  72864. -{
  72865. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int32_t))) <= $ac_mid)];
  72866. -test_array [0] = 0
  72867. +$as_echo "#define LINUX_NETFILTER 0" >>confdefs.h
  72868. - ;
  72869. - return 0;
  72870. -}
  72871. -_ACEOF
  72872. -rm -f conftest.$ac_objext
  72873. -if { (ac_try="$ac_compile"
  72874. -case "(($ac_try" in
  72875. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  72876. - *) ac_try_echo=$ac_try;;
  72877. -esac
  72878. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  72879. -$as_echo "$ac_try_echo") >&5
  72880. - (eval "$ac_compile") 2>conftest.er1
  72881. - ac_status=$?
  72882. - grep -v '^ *+' conftest.er1 >conftest.err
  72883. - rm -f conftest.er1
  72884. - cat conftest.err >&5
  72885. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  72886. - (exit $ac_status); } && {
  72887. - test -z "$ac_c_werror_flag" ||
  72888. - test ! -s conftest.err
  72889. - } && test -s conftest.$ac_objext; then
  72890. - ac_hi=$ac_mid; break
  72891. -else
  72892. - $as_echo "$as_me: failed program was:" >&5
  72893. -sed 's/^/| /' conftest.$ac_ext >&5
  72894. + fi
  72895. - ac_lo=`expr $ac_mid + 1`
  72896. - if test $ac_lo -le $ac_mid; then
  72897. - ac_lo= ac_hi=
  72898. - break
  72899. - fi
  72900. - ac_mid=`expr 2 '*' $ac_mid + 1`
  72901. fi
  72902. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  72903. - done
  72904. -else
  72905. - $as_echo "$as_me: failed program was:" >&5
  72906. -sed 's/^/| /' conftest.$ac_ext >&5
  72907. - cat >conftest.$ac_ext <<_ACEOF
  72908. -/* confdefs.h. */
  72909. -_ACEOF
  72910. -cat confdefs.h >>conftest.$ac_ext
  72911. -cat >>conftest.$ac_ext <<_ACEOF
  72912. -/* end confdefs.h. */
  72913. +buildmodel=""
  72914. +needlargefiles=
  72915. -#include <stdio.h>
  72916. -/* What a mess.. many systems have added the (now standard) bit types
  72917. - * in their own ways, so we need to scan a wide variety of headers to
  72918. - * find them..
  72919. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  72920. - */
  72921. -#if HAVE_SYS_TYPES_H
  72922. -#include <sys/types.h>
  72923. -#endif
  72924. -#if STDC_HEADERS
  72925. -#include <stdlib.h>
  72926. -#include <stddef.h>
  72927. -#endif
  72928. -#if HAVE_INTTYPES_H
  72929. -#include <inttypes.h>
  72930. -#endif
  72931. -#if HAVE_SYS_BITYPES_H
  72932. -#include <sys/bitypes.h>
  72933. -#endif
  72934. -#if HAVE_SYS_SELECT_H
  72935. -#include <sys/select.h>
  72936. -#endif
  72937. -#if HAVE_NETINET_IN_SYSTM_H
  72938. -#include <netinet/in_systm.h>
  72939. -#endif
  72940. +# Check whether --with-large-files was given.
  72941. +if test "${with_large_files+set}" = set; then :
  72942. + withval=$with_large_files; if test "$withval" = yes; then
  72943. + needlargefiles=1
  72944. + fi
  72945. +
  72946. +fi
  72947. +
  72948. +
  72949. +
  72950. +# Check whether --with-build-environment was given.
  72951. +if test "${with_build_environment+set}" = set; then :
  72952. + withval=$with_build_environment; case "$withval" in
  72953. + yes|no)
  72954. + echo "--with-build-environment expects a build environment string as used by getconf"
  72955. + exit 1
  72956. + ;;
  72957. + *)
  72958. + buildmodel="$withval"
  72959. + ;;
  72960. + esac
  72961. +
  72962. +fi
  72963. +
  72964. +
  72965. +if test $needlargefiles && test -z "$buildmodel"; then
  72966. + for model in POSIX_V6_LPBIG_OFFBIG XBS5_LPBIG_OFFBIG POSIX_V6_LP64_OFF64 XBS5_LP64_OFF64 POSIX_V6_ILP32_OFFBIG XBS5_ILP32_OFFBIG; do
  72967. + if test "`getconf _$model 2>/dev/null || true`" = 1 || test "`getconf $model 2>/dev/null || true`" ; then
  72968. + buildmodel=$model
  72969. + break
  72970. + fi
  72971. + done
  72972. + if test -z "$buildmodel"; then
  72973. + echo "WARNING: No suitable build environment found for large files. Trying to use _FILE_OFFSET_BITS=64"
  72974. + sleep 1
  72975. + fi
  72976. +fi
  72977. +case "$buildmodel" in
  72978. +default|"")
  72979. + if test "$needlargefiles"; then
  72980. + echo "Enabling -D_FILE_OFFSET_BITS=64"
  72981. + CFLAGS="-D_FILE_OFFSET_BITS=64 $CFLAGS"
  72982. + CXXFLAGS="-D_FILE_OFFSET_BITS=64 $CXXFLAGS"
  72983. + fi
  72984. + ;;
  72985. +*)
  72986. + echo "Using $buildmodel build environment"
  72987. + if test "`getconf _$buildmodel 2>/dev/null || true`" = 1 || test "`getconf $buildmodel 2>/dev/null || true`" ; then
  72988. + : # All fine
  72989. + else
  72990. + echo "ERROR: Build environment $buildmodel not known to getconf."
  72991. + exit 1
  72992. + fi
  72993. + CFLAGS="`getconf ${buildmodel}_CFLAGS` $CFLAGS"
  72994. + CXXFLAGS="`getconf ${buildmodel}_CFLAGS` $CXXFLAGS"
  72995. + LIBS="`getconf ${buildmodel}_LIBS` $LIBS"
  72996. + LDFLAGS="`getconf ${buildmodel}_LDFLAGS` $LDFLAGS"
  72997. + case "$host" in
  72998. + *-solaris*)
  72999. + if test "$GCC" = "yes"; then
  73000. + echo "Removing -Xa for gcc/g++ on $host"
  73001. + CFLAGS="`echo $CFLAGS | sed -e 's/-Xa//'`"
  73002. + CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-Xa//'`"
  73003. + echo "Replacing -xarch=generic64 with -m64 for gcc/g++ on $host"
  73004. + CFLAGS="`echo $CFLAGS | sed -e 's/-xarch=generic64/-m64/'`"
  73005. + CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-xarch=generic64/-m64/'`"
  73006. + LDFLAGS="`echo $LDFLAGS | sed -e 's/-xarch=generic64//'`"
  73007. + fi
  73008. + echo "Removing -Usun on $host"
  73009. + CFLAGS="`echo $CFLAGS | sed -e 's/-Usun//'`"
  73010. + CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-Usun//'`"
  73011. + ;;
  73012. + *-sgi-irix6.*)
  73013. + if test "$GCC" = "yes"; then
  73014. + CFLAGS="`echo $CFLAGS | sed -e 's/-n32/-mabi=n32/'`"
  73015. + CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-n32/-mabi=n32/'`"
  73016. + LDFLAGS="`echo $LDFLAGS | sed -e 's/-n32//'`"
  73017. + CFLAGS="`echo $CFLAGS | sed -e 's/-64/-mabi=64/'`"
  73018. + CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-64/-mabi=64/'`"
  73019. + LDFLAGS="`echo $LDFLAGS | sed -e 's/-64//'`"
  73020. + fi
  73021. + ;;
  73022. + *)
  73023. + ;;
  73024. + esac
  73025. + ;;
  73026. +esac
  73027. +# Check whether --enable-linux-tproxy was given.
  73028. +if test "${enable_linux_tproxy+set}" = set; then :
  73029. + enableval=$enable_linux_tproxy; if test "$enableval" = "yes" ; then
  73030. + echo "Linux Netfilter/TPROXY enabled"
  73031. +$as_echo "#define LINUX_TPROXY 1" >>confdefs.h
  73032. -int
  73033. -main ()
  73034. -{
  73035. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int32_t))) < 0)];
  73036. -test_array [0] = 0
  73037. + LINUX_TPROXY="yes"
  73038. + if test -z "$LINUX_NETFILTER"; then
  73039. + echo "Linux-Netfilter Transparent Proxy automatically enabled"
  73040. + LINUX_NETFILTER="yes"
  73041. + fi
  73042. + else
  73043. - ;
  73044. - return 0;
  73045. -}
  73046. -_ACEOF
  73047. -rm -f conftest.$ac_objext
  73048. -if { (ac_try="$ac_compile"
  73049. -case "(($ac_try" in
  73050. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  73051. - *) ac_try_echo=$ac_try;;
  73052. -esac
  73053. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  73054. -$as_echo "$ac_try_echo") >&5
  73055. - (eval "$ac_compile") 2>conftest.er1
  73056. - ac_status=$?
  73057. - grep -v '^ *+' conftest.er1 >conftest.err
  73058. - rm -f conftest.er1
  73059. - cat conftest.err >&5
  73060. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  73061. - (exit $ac_status); } && {
  73062. - test -z "$ac_c_werror_flag" ||
  73063. - test ! -s conftest.err
  73064. - } && test -s conftest.$ac_objext; then
  73065. - ac_hi=-1 ac_mid=-1
  73066. - while :; do
  73067. - cat >conftest.$ac_ext <<_ACEOF
  73068. -/* confdefs.h. */
  73069. -_ACEOF
  73070. -cat confdefs.h >>conftest.$ac_ext
  73071. -cat >>conftest.$ac_ext <<_ACEOF
  73072. -/* end confdefs.h. */
  73073. +$as_echo "#define LINUX_TPROXY2 0" >>confdefs.h
  73074. -#include <stdio.h>
  73075. + fi
  73076. +
  73077. +fi
  73078. -/* What a mess.. many systems have added the (now standard) bit types
  73079. - * in their own ways, so we need to scan a wide variety of headers to
  73080. - * find them..
  73081. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  73082. - */
  73083. -#if HAVE_SYS_TYPES_H
  73084. -#include <sys/types.h>
  73085. -#endif
  73086. -#if STDC_HEADERS
  73087. -#include <stdlib.h>
  73088. -#include <stddef.h>
  73089. -#endif
  73090. -#if HAVE_INTTYPES_H
  73091. -#include <inttypes.h>
  73092. -#endif
  73093. -#if HAVE_SYS_BITYPES_H
  73094. -#include <sys/bitypes.h>
  73095. -#endif
  73096. -#if HAVE_SYS_SELECT_H
  73097. -#include <sys/select.h>
  73098. -#endif
  73099. -#if HAVE_NETINET_IN_SYSTM_H
  73100. -#include <netinet/in_systm.h>
  73101. -#endif
  73102. + if false; then
  73103. + MAKE_LEAKFINDER_TRUE=
  73104. + MAKE_LEAKFINDER_FALSE='#'
  73105. +else
  73106. + MAKE_LEAKFINDER_TRUE='#'
  73107. + MAKE_LEAKFINDER_FALSE=
  73108. +fi
  73109. +# Check whether --enable-leakfinder was given.
  73110. +if test "${enable_leakfinder+set}" = set; then :
  73111. + enableval=$enable_leakfinder; if test "$enableval" = "yes" ; then
  73112. + echo "Leak-Finding enabled"
  73113. -int
  73114. -main ()
  73115. -{
  73116. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int32_t))) >= $ac_mid)];
  73117. -test_array [0] = 0
  73118. +$as_echo "#define USE_LEAKFINDER 1" >>confdefs.h
  73119. - ;
  73120. - return 0;
  73121. -}
  73122. -_ACEOF
  73123. -rm -f conftest.$ac_objext
  73124. -if { (ac_try="$ac_compile"
  73125. -case "(($ac_try" in
  73126. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  73127. - *) ac_try_echo=$ac_try;;
  73128. -esac
  73129. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  73130. -$as_echo "$ac_try_echo") >&5
  73131. - (eval "$ac_compile") 2>conftest.er1
  73132. - ac_status=$?
  73133. - grep -v '^ *+' conftest.er1 >conftest.err
  73134. - rm -f conftest.er1
  73135. - cat conftest.err >&5
  73136. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  73137. - (exit $ac_status); } && {
  73138. - test -z "$ac_c_werror_flag" ||
  73139. - test ! -s conftest.err
  73140. - } && test -s conftest.$ac_objext; then
  73141. - ac_lo=$ac_mid; break
  73142. + USE_LEAKFINDER="yes"
  73143. + if true; then
  73144. + MAKE_LEAKFINDER_TRUE=
  73145. + MAKE_LEAKFINDER_FALSE='#'
  73146. else
  73147. - $as_echo "$as_me: failed program was:" >&5
  73148. -sed 's/^/| /' conftest.$ac_ext >&5
  73149. -
  73150. - ac_hi=`expr '(' $ac_mid ')' - 1`
  73151. - if test $ac_mid -le $ac_hi; then
  73152. - ac_lo= ac_hi=
  73153. - break
  73154. - fi
  73155. - ac_mid=`expr 2 '*' $ac_mid`
  73156. + MAKE_LEAKFINDER_TRUE='#'
  73157. + MAKE_LEAKFINDER_FALSE=
  73158. fi
  73159. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  73160. - done
  73161. -else
  73162. - $as_echo "$as_me: failed program was:" >&5
  73163. -sed 's/^/| /' conftest.$ac_ext >&5
  73164. + fi
  73165. - ac_lo= ac_hi=
  73166. fi
  73167. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  73168. +
  73169. +use_ident=1
  73170. +# Check whether --enable-ident-lookups was given.
  73171. +if test "${enable_ident_lookups+set}" = set; then :
  73172. + enableval=$enable_ident_lookups; if test "$enableval" = "no" ; then
  73173. + echo "Disabling Ident Lookups"
  73174. + use_ident=0
  73175. + fi
  73176. +
  73177. fi
  73178. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  73179. -# Binary search between lo and hi bounds.
  73180. -while test "x$ac_lo" != "x$ac_hi"; do
  73181. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  73182. - cat >conftest.$ac_ext <<_ACEOF
  73183. -/* confdefs.h. */
  73184. -_ACEOF
  73185. -cat confdefs.h >>conftest.$ac_ext
  73186. -cat >>conftest.$ac_ext <<_ACEOF
  73187. -/* end confdefs.h. */
  73188. +if test $use_ident = 1; then
  73189. -#include <stdio.h>
  73190. +$as_echo "#define USE_IDENT 1" >>confdefs.h
  73191. -/* What a mess.. many systems have added the (now standard) bit types
  73192. - * in their own ways, so we need to scan a wide variety of headers to
  73193. - * find them..
  73194. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  73195. - */
  73196. -#if HAVE_SYS_TYPES_H
  73197. -#include <sys/types.h>
  73198. -#endif
  73199. -#if STDC_HEADERS
  73200. -#include <stdlib.h>
  73201. -#include <stddef.h>
  73202. -#endif
  73203. -#if HAVE_INTTYPES_H
  73204. -#include <inttypes.h>
  73205. -#endif
  73206. -#if HAVE_SYS_BITYPES_H
  73207. -#include <sys/bitypes.h>
  73208. -#endif
  73209. -#if HAVE_SYS_SELECT_H
  73210. -#include <sys/select.h>
  73211. -#endif
  73212. -#if HAVE_NETINET_IN_SYSTM_H
  73213. -#include <netinet/in_systm.h>
  73214. -#endif
  73215. + if true; then
  73216. + ENABLE_IDENT_TRUE=
  73217. + ENABLE_IDENT_FALSE='#'
  73218. +else
  73219. + ENABLE_IDENT_TRUE='#'
  73220. + ENABLE_IDENT_FALSE=
  73221. +fi
  73222. +else
  73223. + $as_echo "#define USE_IDENT 0" >>confdefs.h
  73224. + if false; then
  73225. + ENABLE_IDENT_TRUE=
  73226. + ENABLE_IDENT_FALSE='#'
  73227. +else
  73228. + ENABLE_IDENT_TRUE='#'
  73229. + ENABLE_IDENT_FALSE=
  73230. +fi
  73231. -int
  73232. -main ()
  73233. -{
  73234. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int32_t))) <= $ac_mid)];
  73235. -test_array [0] = 0
  73236. +fi
  73237. - ;
  73238. - return 0;
  73239. -}
  73240. -_ACEOF
  73241. -rm -f conftest.$ac_objext
  73242. -if { (ac_try="$ac_compile"
  73243. -case "(($ac_try" in
  73244. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  73245. - *) ac_try_echo=$ac_try;;
  73246. -esac
  73247. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  73248. -$as_echo "$ac_try_echo") >&5
  73249. - (eval "$ac_compile") 2>conftest.er1
  73250. - ac_status=$?
  73251. - grep -v '^ *+' conftest.er1 >conftest.err
  73252. - rm -f conftest.er1
  73253. - cat conftest.err >&5
  73254. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  73255. - (exit $ac_status); } && {
  73256. - test -z "$ac_c_werror_flag" ||
  73257. - test ! -s conftest.err
  73258. - } && test -s conftest.$ac_objext; then
  73259. - ac_hi=$ac_mid
  73260. + if false; then
  73261. + USE_DNSSERVER_TRUE=
  73262. + USE_DNSSERVER_FALSE='#'
  73263. else
  73264. - $as_echo "$as_me: failed program was:" >&5
  73265. -sed 's/^/| /' conftest.$ac_ext >&5
  73266. + USE_DNSSERVER_TRUE='#'
  73267. + USE_DNSSERVER_FALSE=
  73268. +fi
  73269. +
  73270. +use_dnsserver=
  73271. +# Check whether --enable-internal-dns was given.
  73272. +if test "${enable_internal_dns+set}" = set; then :
  73273. + enableval=$enable_internal_dns; if test "$enableval" = "no" ; then
  73274. + echo "Disabling Internal DNS queries"
  73275. + use_dnsserver="yes"
  73276. + fi
  73277. - ac_lo=`expr '(' $ac_mid ')' + 1`
  73278. fi
  73279. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  73280. -done
  73281. -case $ac_lo in
  73282. -?*) ac_cv_sizeof_u_int32_t=$ac_lo;;
  73283. -'') if test "$ac_cv_type_u_int32_t" = yes; then
  73284. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (u_int32_t)
  73285. -See \`config.log' for more details." >&5
  73286. -$as_echo "$as_me: error: cannot compute sizeof (u_int32_t)
  73287. -See \`config.log' for more details." >&2;}
  73288. - { (exit 77); exit 77; }; }
  73289. - else
  73290. - ac_cv_sizeof_u_int32_t=0
  73291. - fi ;;
  73292. -esac
  73293. +if test "$use_dnsserver" = "yes"; then
  73294. +
  73295. +$as_echo "#define USE_DNSSERVERS 1" >>confdefs.h
  73296. +
  73297. + if true; then
  73298. + USE_DNSSERVER_TRUE=
  73299. + USE_DNSSERVER_FALSE='#'
  73300. else
  73301. - cat >conftest.$ac_ext <<_ACEOF
  73302. -/* confdefs.h. */
  73303. -_ACEOF
  73304. -cat confdefs.h >>conftest.$ac_ext
  73305. -cat >>conftest.$ac_ext <<_ACEOF
  73306. -/* end confdefs.h. */
  73307. + USE_DNSSERVER_TRUE='#'
  73308. + USE_DNSSERVER_FALSE=
  73309. +fi
  73310. -#include <stdio.h>
  73311. +fi
  73312. -/* What a mess.. many systems have added the (now standard) bit types
  73313. - * in their own ways, so we need to scan a wide variety of headers to
  73314. - * find them..
  73315. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  73316. - */
  73317. -#if HAVE_SYS_TYPES_H
  73318. -#include <sys/types.h>
  73319. -#endif
  73320. -#if STDC_HEADERS
  73321. -#include <stdlib.h>
  73322. -#include <stddef.h>
  73323. -#endif
  73324. -#if HAVE_INTTYPES_H
  73325. -#include <inttypes.h>
  73326. -#endif
  73327. -#if HAVE_SYS_BITYPES_H
  73328. -#include <sys/bitypes.h>
  73329. -#endif
  73330. -#if HAVE_SYS_SELECT_H
  73331. -#include <sys/select.h>
  73332. -#endif
  73333. -#if HAVE_NETINET_IN_SYSTM_H
  73334. -#include <netinet/in_systm.h>
  73335. -#endif
  73336. +# Check whether --enable-default-hostsfile was given.
  73337. +if test "${enable_default_hostsfile+set}" = set; then :
  73338. + enableval=$enable_default_hostsfile;
  73339. + if test "$enableval" != "none" ; then
  73340. + if test -f $enableval; then
  73341. + OPT_DEFAULT_HOSTS=$enableval
  73342. + else
  73343. + echo "Warning Unable to find $enableval"
  73344. + sleep 5
  73345. + fi
  73346. + else
  73347. + OPT_DEFAULT_HOSTS="none"
  73348. + fi
  73349. + echo "Default hosts file set to: $enableval"
  73350. +else
  73351. + OPT_DEFAULT_HOSTS="/etc/hosts"
  73352. +fi
  73353. -static long int longval () { return (long int) (sizeof (u_int32_t)); }
  73354. -static unsigned long int ulongval () { return (long int) (sizeof (u_int32_t)); }
  73355. -#include <stdio.h>
  73356. -#include <stdlib.h>
  73357. -int
  73358. -main ()
  73359. -{
  73360. - FILE *f = fopen ("conftest.val", "w");
  73361. - if (! f)
  73362. - return 1;
  73363. - if (((long int) (sizeof (u_int32_t))) < 0)
  73364. - {
  73365. - long int i = longval ();
  73366. - if (i != ((long int) (sizeof (u_int32_t))))
  73367. - return 1;
  73368. - fprintf (f, "%ld", i);
  73369. - }
  73370. - else
  73371. - {
  73372. - unsigned long int i = ulongval ();
  73373. - if (i != ((long int) (sizeof (u_int32_t))))
  73374. - return 1;
  73375. - fprintf (f, "%lu", i);
  73376. - }
  73377. - /* Do not output a trailing newline, as this causes \r\n confusion
  73378. - on some platforms. */
  73379. - return ferror (f) || fclose (f) != 0;
  73380. +# Check whether --enable-auth was given.
  73381. +if test "${enable_auth+set}" = set; then :
  73382. + enableval=$enable_auth; case $enableval in
  73383. + yes)
  73384. + for dir in $srcdir/src/auth/*; do
  73385. + module="`basename $dir`"
  73386. + if test -d "$dir" && test "$module" != CVS; then
  73387. + AUTH_MODULES="$AUTH_MODULES $module"
  73388. + fi
  73389. + done
  73390. + ;;
  73391. + no)
  73392. + ;;
  73393. + *)
  73394. + AUTH_MODULES="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
  73395. + ;;
  73396. + esac
  73397. - ;
  73398. - return 0;
  73399. -}
  73400. -_ACEOF
  73401. -rm -f conftest$ac_exeext
  73402. -if { (ac_try="$ac_link"
  73403. -case "(($ac_try" in
  73404. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  73405. - *) ac_try_echo=$ac_try;;
  73406. -esac
  73407. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  73408. -$as_echo "$ac_try_echo") >&5
  73409. - (eval "$ac_link") 2>&5
  73410. - ac_status=$?
  73411. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  73412. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  73413. - { (case "(($ac_try" in
  73414. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  73415. - *) ac_try_echo=$ac_try;;
  73416. -esac
  73417. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  73418. -$as_echo "$ac_try_echo") >&5
  73419. - (eval "$ac_try") 2>&5
  73420. - ac_status=$?
  73421. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  73422. - (exit $ac_status); }; }; then
  73423. - ac_cv_sizeof_u_int32_t=`cat conftest.val`
  73424. else
  73425. - $as_echo "$as_me: program exited with status $ac_status" >&5
  73426. -$as_echo "$as_me: failed program was:" >&5
  73427. -sed 's/^/| /' conftest.$ac_ext >&5
  73428. + if test -z "$AUTH_MODULES"; then
  73429. + AUTH_MODULES="ntlm basic digest negotiate"
  73430. + fi
  73431. -( exit $ac_status )
  73432. -if test "$ac_cv_type_u_int32_t" = yes; then
  73433. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (u_int32_t)
  73434. -See \`config.log' for more details." >&5
  73435. -$as_echo "$as_me: error: cannot compute sizeof (u_int32_t)
  73436. -See \`config.log' for more details." >&2;}
  73437. - { (exit 77); exit 77; }; }
  73438. - else
  73439. - ac_cv_sizeof_u_int32_t=0
  73440. - fi
  73441. -fi
  73442. -rm -rf conftest.dSYM
  73443. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  73444. -fi
  73445. -rm -f conftest.val
  73446. fi
  73447. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_u_int32_t" >&5
  73448. -$as_echo "$ac_cv_sizeof_u_int32_t" >&6; }
  73449. +if test -n "$AUTH_MODULES"; then
  73450. + for module in $AUTH_MODULES; do
  73451. + if test -d $srcdir/src/auth/$module; then
  73452. + :
  73453. + else
  73454. + echo "ERROR: Auth scheme $module does not exists"
  73455. + exit 1
  73456. + fi
  73457. + eval AUTH_MODULE_${module}=yes
  73458. + done
  73459. + echo "Auth scheme modules built: $AUTH_MODULES"
  73460. + AUTH_OBJS="auth/lib`echo $AUTH_MODULES|sed -e 's% %.a auth/lib%g'`.a"
  73461. + AUTH_LIBS="`echo $AUTH_OBJS|sed -e 's%auth/%%g'`"
  73462. +else
  73463. + echo "Auth scheme modules built: None"
  73464. +fi
  73465. +AUTH_LINKOBJS=
  73466. +for module in $AUTH_MODULES; do
  73467. + AUTH_LINKOBJS="$AUTH_LINKOBJS auth/${module}/${module}Scheme.o"
  73468. +done
  73469. -cat >>confdefs.h <<_ACEOF
  73470. -#define SIZEOF_U_INT32_T $ac_cv_sizeof_u_int32_t
  73471. -_ACEOF
  73472. -cat >>confdefs.h <<\_ACEOF
  73473. -#define HAVE_U_INT32_T 1
  73474. -_ACEOF
  73475. +test -n "$AUTH_MODULE_basic" &&
  73476. +$as_echo "#define HAVE_AUTH_MODULE_BASIC 1" >>confdefs.h
  73477. +test -n "$AUTH_MODULE_digest" &&
  73478. +$as_echo "#define HAVE_AUTH_MODULE_DIGEST 1" >>confdefs.h
  73479. -fi
  73480. +test -n "$AUTH_MODULE_ntlm" &&
  73481. +$as_echo "#define HAVE_AUTH_MODULE_NTLM 1" >>confdefs.h
  73482. +test -n "$AUTH_MODULE_negotiate" &&
  73483. +$as_echo "#define HAVE_AUTH_MODULE_NEGOTIATE 1" >>confdefs.h
  73484. -{ $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
  73485. -$as_echo_n "checking for uint32_t... " >&6; }
  73486. -if test "${ac_cv_type_uint32_t+set}" = set; then
  73487. - $as_echo_n "(cached) " >&6
  73488. -else
  73489. - ac_cv_type_uint32_t=no
  73490. -cat >conftest.$ac_ext <<_ACEOF
  73491. -/* confdefs.h. */
  73492. -_ACEOF
  73493. -cat confdefs.h >>conftest.$ac_ext
  73494. -cat >>conftest.$ac_ext <<_ACEOF
  73495. -/* end confdefs.h. */
  73496. -/* What a mess.. many systems have added the (now standard) bit types
  73497. - * in their own ways, so we need to scan a wide variety of headers to
  73498. - * find them..
  73499. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  73500. - */
  73501. -#if HAVE_SYS_TYPES_H
  73502. -#include <sys/types.h>
  73503. -#endif
  73504. -#if STDC_HEADERS
  73505. -#include <stdlib.h>
  73506. -#include <stddef.h>
  73507. -#endif
  73508. -#if HAVE_INTTYPES_H
  73509. -#include <inttypes.h>
  73510. -#endif
  73511. -#if HAVE_SYS_BITYPES_H
  73512. -#include <sys/bitypes.h>
  73513. -#endif
  73514. -#if HAVE_SYS_SELECT_H
  73515. -#include <sys/select.h>
  73516. -#endif
  73517. -#if HAVE_NETINET_IN_SYSTM_H
  73518. -#include <netinet/in_systm.h>
  73519. -#endif
  73520. +if test -n "$AUTH_MODULE_basic"; then
  73521. + BASIC_AUTH_HELPERS="all"
  73522. +fi
  73523. +# Check whether --enable-basic-auth-helpers was given.
  73524. +if test "${enable_basic_auth_helpers+set}" = set; then :
  73525. + enableval=$enable_basic_auth_helpers; case "$enableval" in
  73526. + yes)
  73527. + BASIC_AUTH_HELPERS="all"
  73528. + ;;
  73529. + no)
  73530. + BASIC_AUTH_HELPERS=""
  73531. + ;;
  73532. + *)
  73533. + if test -z "$AUTH_MODULE_basic"; then
  73534. + echo "WARNING: Basic auth helpers selected without the basic scheme enabled"
  73535. + sleep 15
  73536. + fi
  73537. + BASIC_AUTH_HELPERS="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
  73538. + ;;
  73539. + esac
  73540. +fi
  73541. -int
  73542. -main ()
  73543. -{
  73544. -if (sizeof (uint32_t))
  73545. - return 0;
  73546. - ;
  73547. - return 0;
  73548. -}
  73549. -_ACEOF
  73550. -rm -f conftest.$ac_objext
  73551. -if { (ac_try="$ac_compile"
  73552. -case "(($ac_try" in
  73553. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  73554. - *) ac_try_echo=$ac_try;;
  73555. -esac
  73556. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  73557. -$as_echo "$ac_try_echo") >&5
  73558. - (eval "$ac_compile") 2>conftest.er1
  73559. - ac_status=$?
  73560. - grep -v '^ *+' conftest.er1 >conftest.err
  73561. - rm -f conftest.er1
  73562. - cat conftest.err >&5
  73563. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  73564. - (exit $ac_status); } && {
  73565. - test -z "$ac_c_werror_flag" ||
  73566. - test ! -s conftest.err
  73567. - } && test -s conftest.$ac_objext; then
  73568. - cat >conftest.$ac_ext <<_ACEOF
  73569. -/* confdefs.h. */
  73570. -_ACEOF
  73571. -cat confdefs.h >>conftest.$ac_ext
  73572. -cat >>conftest.$ac_ext <<_ACEOF
  73573. -/* end confdefs.h. */
  73574. +if test "$BASIC_AUTH_HELPERS" = "all" ; then
  73575. + BASIC_AUTH_HELPERS=""
  73576. + for dir in $srcdir/helpers/basic_auth/*; do
  73577. + helper="`basename $dir`"
  73578. + if test -f $dir/config.test && sh $dir/config.test "$@"; then
  73579. + BASIC_AUTH_HELPERS="$BASIC_AUTH_HELPERS $helper"
  73580. + fi
  73581. + done
  73582. +fi
  73583. +if test -n "$BASIC_AUTH_HELPERS"; then
  73584. + for helper in $BASIC_AUTH_HELPERS; do
  73585. + if test -d $srcdir/helpers/basic_auth/$helper; then
  73586. + case $helper in
  73587. + SASL)
  73588. + require_sasl=yes
  73589. + ;;
  73590. + esac
  73591. + else
  73592. + echo "ERROR: Basic auth helper $helper does not exists"
  73593. + exit 1
  73594. + fi
  73595. + done
  73596. + echo "Basic auth helpers built: $BASIC_AUTH_HELPERS"
  73597. +fi
  73598. -/* What a mess.. many systems have added the (now standard) bit types
  73599. - * in their own ways, so we need to scan a wide variety of headers to
  73600. - * find them..
  73601. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  73602. - */
  73603. -#if HAVE_SYS_TYPES_H
  73604. -#include <sys/types.h>
  73605. -#endif
  73606. -#if STDC_HEADERS
  73607. -#include <stdlib.h>
  73608. -#include <stddef.h>
  73609. -#endif
  73610. -#if HAVE_INTTYPES_H
  73611. -#include <inttypes.h>
  73612. -#endif
  73613. -#if HAVE_SYS_BITYPES_H
  73614. -#include <sys/bitypes.h>
  73615. -#endif
  73616. -#if HAVE_SYS_SELECT_H
  73617. -#include <sys/select.h>
  73618. -#endif
  73619. -#if HAVE_NETINET_IN_SYSTM_H
  73620. -#include <netinet/in_systm.h>
  73621. -#endif
  73622. +if test -n "$AUTH_MODULE_ntlm"; then
  73623. + NTLM_AUTH_HELPERS="all"
  73624. +fi
  73625. +# Check whether --enable-ntlm-auth-helpers was given.
  73626. +if test "${enable_ntlm_auth_helpers+set}" = set; then :
  73627. + enableval=$enable_ntlm_auth_helpers; case "$enableval" in
  73628. + yes)
  73629. + NTLM_AUTH_HELPERS="all"
  73630. + ;;
  73631. + no)
  73632. + NTLM_AUTH_HELPERS=""
  73633. + ;;
  73634. + *)
  73635. + NTLM_AUTH_HELPERS="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
  73636. + ;;
  73637. + esac
  73638. -int
  73639. -main ()
  73640. -{
  73641. -if (sizeof ((uint32_t)))
  73642. - return 0;
  73643. - ;
  73644. - return 0;
  73645. -}
  73646. -_ACEOF
  73647. -rm -f conftest.$ac_objext
  73648. -if { (ac_try="$ac_compile"
  73649. -case "(($ac_try" in
  73650. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  73651. - *) ac_try_echo=$ac_try;;
  73652. -esac
  73653. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  73654. -$as_echo "$ac_try_echo") >&5
  73655. - (eval "$ac_compile") 2>conftest.er1
  73656. - ac_status=$?
  73657. - grep -v '^ *+' conftest.er1 >conftest.err
  73658. - rm -f conftest.er1
  73659. - cat conftest.err >&5
  73660. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  73661. - (exit $ac_status); } && {
  73662. - test -z "$ac_c_werror_flag" ||
  73663. - test ! -s conftest.err
  73664. - } && test -s conftest.$ac_objext; then
  73665. - :
  73666. -else
  73667. - $as_echo "$as_me: failed program was:" >&5
  73668. -sed 's/^/| /' conftest.$ac_ext >&5
  73669. +fi
  73670. - ac_cv_type_uint32_t=yes
  73671. +if test "$NTLM_AUTH_HELPERS" = "all" ; then
  73672. + NTLM_AUTH_HELPERS=""
  73673. + for dir in $srcdir/helpers/ntlm_auth/*; do
  73674. + helper="`basename $dir`"
  73675. + if test -f $dir/config.test && sh $dir/config.test "$@"; then
  73676. + NTLM_AUTH_HELPERS="$NTLM_AUTH_HELPERS $helper"
  73677. + fi
  73678. + done
  73679. +fi
  73680. +if test -n "$NTLM_AUTH_HELPERS"; then
  73681. + for helper in $NTLM_AUTH_HELPERS; do
  73682. + if test -d $srcdir/helpers/ntlm_auth/$helper; then
  73683. + :
  73684. + else
  73685. + echo "ERROR: NTLM Auth helper $helper does not exists"
  73686. + exit 1
  73687. + fi
  73688. + done
  73689. + echo "NTLM auth helpers built: $NTLM_AUTH_HELPERS"
  73690. fi
  73691. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  73692. -else
  73693. - $as_echo "$as_me: failed program was:" >&5
  73694. -sed 's/^/| /' conftest.$ac_ext >&5
  73695. -
  73696. +if test -n "$AUTH_MODULE_negotiate"; then
  73697. + NEGOTIATE_AUTH_HELPERS="all"
  73698. fi
  73699. +# Check whether --enable-negotiate-auth-helpers was given.
  73700. +if test "${enable_negotiate_auth_helpers+set}" = set; then :
  73701. + enableval=$enable_negotiate_auth_helpers; case "$enableval" in
  73702. + yes)
  73703. + NEGOTIATE_AUTH_HELPERS="all"
  73704. + ;;
  73705. + no)
  73706. + NEGOTIATE_AUTH_HELPERS=""
  73707. + ;;
  73708. + *)
  73709. + NEGOTIATE_AUTH_HELPERS="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
  73710. + ;;
  73711. + esac
  73712. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  73713. fi
  73714. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
  73715. -$as_echo "$ac_cv_type_uint32_t" >&6; }
  73716. -if test $ac_cv_type_uint32_t = yes; then
  73717. -
  73718. - # The cast to long int works around a bug in the HP C Compiler
  73719. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  73720. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  73721. -# This bug is HP SR number 8606223364.
  73722. -{ $as_echo "$as_me:$LINENO: checking size of uint32_t" >&5
  73723. -$as_echo_n "checking size of uint32_t... " >&6; }
  73724. -if test "${ac_cv_sizeof_uint32_t+set}" = set; then
  73725. - $as_echo_n "(cached) " >&6
  73726. -else
  73727. - if test "$cross_compiling" = yes; then
  73728. - # Depending upon the size, compute the lo and hi bounds.
  73729. -cat >conftest.$ac_ext <<_ACEOF
  73730. -/* confdefs.h. */
  73731. -_ACEOF
  73732. -cat confdefs.h >>conftest.$ac_ext
  73733. -cat >>conftest.$ac_ext <<_ACEOF
  73734. -/* end confdefs.h. */
  73735. -
  73736. -#include <stdio.h>
  73737. -
  73738. -/* What a mess.. many systems have added the (now standard) bit types
  73739. - * in their own ways, so we need to scan a wide variety of headers to
  73740. - * find them..
  73741. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  73742. - */
  73743. -#if HAVE_SYS_TYPES_H
  73744. -#include <sys/types.h>
  73745. -#endif
  73746. -#if STDC_HEADERS
  73747. -#include <stdlib.h>
  73748. -#include <stddef.h>
  73749. -#endif
  73750. -#if HAVE_INTTYPES_H
  73751. -#include <inttypes.h>
  73752. -#endif
  73753. -#if HAVE_SYS_BITYPES_H
  73754. -#include <sys/bitypes.h>
  73755. -#endif
  73756. -#if HAVE_SYS_SELECT_H
  73757. -#include <sys/select.h>
  73758. -#endif
  73759. -#if HAVE_NETINET_IN_SYSTM_H
  73760. -#include <netinet/in_systm.h>
  73761. -#endif
  73762. +if test "$NEGOTIATE_AUTH_HELPERS" = "all" ; then
  73763. + NEGOTIATE_AUTH_HELPERS=""
  73764. + for dir in $srcdir/helpers/negotiate_auth/*; do
  73765. + helper="`basename $dir`"
  73766. + if test -f $dir/config.test && sh $dir/config.test "$@"; then
  73767. + NEGOTIATE_AUTH_HELPERS="$NEGOTIATE_AUTH_HELPERS $helper"
  73768. + fi
  73769. + done
  73770. +fi
  73771. +if test -n "$NEGOTIATE_AUTH_HELPERS"; then
  73772. + for helper in $NEGOTIATE_AUTH_HELPERS; do
  73773. + if test -d $srcdir/helpers/negotiate_auth/$helper; then
  73774. + :
  73775. + else
  73776. + echo "ERROR: Negotiate Auth helper $helper does not exists"
  73777. + exit 1
  73778. + fi
  73779. + done
  73780. + echo "Negotiate auth helpers built: $NEGOTIATE_AUTH_HELPERS"
  73781. +fi
  73782. -int
  73783. -main ()
  73784. -{
  73785. -static int test_array [1 - 2 * !(((long int) (sizeof (uint32_t))) >= 0)];
  73786. -test_array [0] = 0
  73787. -
  73788. - ;
  73789. - return 0;
  73790. -}
  73791. -_ACEOF
  73792. -rm -f conftest.$ac_objext
  73793. -if { (ac_try="$ac_compile"
  73794. -case "(($ac_try" in
  73795. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  73796. - *) ac_try_echo=$ac_try;;
  73797. -esac
  73798. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  73799. -$as_echo "$ac_try_echo") >&5
  73800. - (eval "$ac_compile") 2>conftest.er1
  73801. - ac_status=$?
  73802. - grep -v '^ *+' conftest.er1 >conftest.err
  73803. - rm -f conftest.er1
  73804. - cat conftest.err >&5
  73805. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  73806. - (exit $ac_status); } && {
  73807. - test -z "$ac_c_werror_flag" ||
  73808. - test ! -s conftest.err
  73809. - } && test -s conftest.$ac_objext; then
  73810. - ac_lo=0 ac_mid=0
  73811. - while :; do
  73812. - cat >conftest.$ac_ext <<_ACEOF
  73813. -/* confdefs.h. */
  73814. -_ACEOF
  73815. -cat confdefs.h >>conftest.$ac_ext
  73816. -cat >>conftest.$ac_ext <<_ACEOF
  73817. -/* end confdefs.h. */
  73818. -
  73819. -#include <stdio.h>
  73820. -
  73821. -/* What a mess.. many systems have added the (now standard) bit types
  73822. - * in their own ways, so we need to scan a wide variety of headers to
  73823. - * find them..
  73824. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  73825. - */
  73826. -#if HAVE_SYS_TYPES_H
  73827. -#include <sys/types.h>
  73828. -#endif
  73829. -#if STDC_HEADERS
  73830. -#include <stdlib.h>
  73831. -#include <stddef.h>
  73832. -#endif
  73833. -#if HAVE_INTTYPES_H
  73834. -#include <inttypes.h>
  73835. -#endif
  73836. -#if HAVE_SYS_BITYPES_H
  73837. -#include <sys/bitypes.h>
  73838. -#endif
  73839. -#if HAVE_SYS_SELECT_H
  73840. -#include <sys/select.h>
  73841. -#endif
  73842. -#if HAVE_NETINET_IN_SYSTM_H
  73843. -#include <netinet/in_systm.h>
  73844. -#endif
  73845. +if test -n "$AUTH_MODULE_digest"; then
  73846. + DIGEST_AUTH_HELPERS=all
  73847. +fi
  73848. +# Check whether --enable-digest-auth-helpers was given.
  73849. +if test "${enable_digest_auth_helpers+set}" = set; then :
  73850. + enableval=$enable_digest_auth_helpers; case "$enableval" in
  73851. + yes)
  73852. + DIGEST_AUTH_HELPERS="all"
  73853. + ;;
  73854. + no)
  73855. + DIGEST_AUTH_HELPERS=""
  73856. + ;;
  73857. + *)
  73858. + DIGEST_AUTH_HELPERS="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
  73859. + ;;
  73860. + esac
  73861. +fi
  73862. +if test "$DIGEST_AUTH_HELPERS" = "all" ; then
  73863. + DIGEST_AUTH_HELPERS=""
  73864. + for dir in $srcdir/helpers/digest_auth/*; do
  73865. + helper="`basename $dir`"
  73866. + if test -f $dir/config.test && sh $dir/config.test "$@"; then
  73867. + DIGEST_AUTH_HELPERS="$DIGEST_AUTH_HELPERS $helper"
  73868. + fi
  73869. + done
  73870. +fi
  73871. +if test -n "$DIGEST_AUTH_HELPERS"; then
  73872. + for helper in $DIGEST_AUTH_HELPERS; do
  73873. + if test -f $srcdir/helpers/digest_auth/$helper/Makefile.in; then
  73874. + :
  73875. + else
  73876. + echo "ERROR: digest auth helper $helper does not exists"
  73877. + exit 1
  73878. + fi
  73879. + done
  73880. + echo "Digest auth helpers built: $DIGEST_AUTH_HELPERS"
  73881. +fi
  73882. -int
  73883. -main ()
  73884. -{
  73885. -static int test_array [1 - 2 * !(((long int) (sizeof (uint32_t))) <= $ac_mid)];
  73886. -test_array [0] = 0
  73887. - ;
  73888. - return 0;
  73889. -}
  73890. -_ACEOF
  73891. -rm -f conftest.$ac_objext
  73892. -if { (ac_try="$ac_compile"
  73893. -case "(($ac_try" in
  73894. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  73895. - *) ac_try_echo=$ac_try;;
  73896. -esac
  73897. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  73898. -$as_echo "$ac_try_echo") >&5
  73899. - (eval "$ac_compile") 2>conftest.er1
  73900. - ac_status=$?
  73901. - grep -v '^ *+' conftest.er1 >conftest.err
  73902. - rm -f conftest.er1
  73903. - cat conftest.err >&5
  73904. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  73905. - (exit $ac_status); } && {
  73906. - test -z "$ac_c_werror_flag" ||
  73907. - test ! -s conftest.err
  73908. - } && test -s conftest.$ac_objext; then
  73909. - ac_hi=$ac_mid; break
  73910. +if `echo "$NEGOTIATE_AUTH_HELPERS" | $EGREP "squid_kerb_auth|all" >/dev/null`; then
  73911. + # Extract the first word of "krb5-config", so it can be a program name with args.
  73912. +set dummy krb5-config; ac_word=$2
  73913. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  73914. +$as_echo_n "checking for $ac_word... " >&6; }
  73915. +if test "${ac_cv_prog_ac_krb5_config+set}" = set; then :
  73916. + $as_echo_n "(cached) " >&6
  73917. else
  73918. - $as_echo "$as_me: failed program was:" >&5
  73919. -sed 's/^/| /' conftest.$ac_ext >&5
  73920. + if test -n "$ac_krb5_config"; then
  73921. + ac_cv_prog_ac_krb5_config="$ac_krb5_config" # Let the user override the test.
  73922. +else
  73923. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  73924. +for as_dir in $PATH
  73925. +do
  73926. + IFS=$as_save_IFS
  73927. + test -z "$as_dir" && as_dir=.
  73928. + for ac_exec_ext in '' $ac_executable_extensions; do
  73929. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  73930. + ac_cv_prog_ac_krb5_config="yes"
  73931. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  73932. + break 2
  73933. + fi
  73934. +done
  73935. + done
  73936. +IFS=$as_save_IFS
  73937. - ac_lo=`expr $ac_mid + 1`
  73938. - if test $ac_lo -le $ac_mid; then
  73939. - ac_lo= ac_hi=
  73940. - break
  73941. - fi
  73942. - ac_mid=`expr 2 '*' $ac_mid + 1`
  73943. + test -z "$ac_cv_prog_ac_krb5_config" && ac_cv_prog_ac_krb5_config="no"
  73944. fi
  73945. -
  73946. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  73947. - done
  73948. +fi
  73949. +ac_krb5_config=$ac_cv_prog_ac_krb5_config
  73950. +if test -n "$ac_krb5_config"; then
  73951. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_krb5_config" >&5
  73952. +$as_echo "$ac_krb5_config" >&6; }
  73953. else
  73954. - $as_echo "$as_me: failed program was:" >&5
  73955. -sed 's/^/| /' conftest.$ac_ext >&5
  73956. -
  73957. - cat >conftest.$ac_ext <<_ACEOF
  73958. -/* confdefs.h. */
  73959. -_ACEOF
  73960. -cat confdefs.h >>conftest.$ac_ext
  73961. -cat >>conftest.$ac_ext <<_ACEOF
  73962. -/* end confdefs.h. */
  73963. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  73964. +$as_echo "no" >&6; }
  73965. +fi
  73966. -#include <stdio.h>
  73967. -/* What a mess.. many systems have added the (now standard) bit types
  73968. - * in their own ways, so we need to scan a wide variety of headers to
  73969. - * find them..
  73970. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  73971. - */
  73972. -#if HAVE_SYS_TYPES_H
  73973. -#include <sys/types.h>
  73974. -#endif
  73975. -#if STDC_HEADERS
  73976. -#include <stdlib.h>
  73977. -#include <stddef.h>
  73978. -#endif
  73979. -#if HAVE_INTTYPES_H
  73980. -#include <inttypes.h>
  73981. -#endif
  73982. -#if HAVE_SYS_BITYPES_H
  73983. -#include <sys/bitypes.h>
  73984. -#endif
  73985. -#if HAVE_SYS_SELECT_H
  73986. -#include <sys/select.h>
  73987. -#endif
  73988. -#if HAVE_NETINET_IN_SYSTM_H
  73989. -#include <netinet/in_systm.h>
  73990. -#endif
  73991. + if test "x$ac_krb5_config" = "xyes" ; then
  73992. + ac_heimdal=`krb5-config --version 2>/dev/null | grep -i heimdal`
  73993. + ac_solaris=`krb5-config --version 2>/dev/null | grep -i solaris`
  73994. + if test "x$ac_heimdal" != "x" ; then
  73995. +$as_echo "#define HAVE_HEIMDAL_KERBEROS 1" >>confdefs.h
  73996. + else
  73997. -int
  73998. -main ()
  73999. -{
  74000. -static int test_array [1 - 2 * !(((long int) (sizeof (uint32_t))) < 0)];
  74001. -test_array [0] = 0
  74002. +$as_echo "#define HAVE_MIT_KERBEROS 1" >>confdefs.h
  74003. - ;
  74004. - return 0;
  74005. -}
  74006. -_ACEOF
  74007. -rm -f conftest.$ac_objext
  74008. -if { (ac_try="$ac_compile"
  74009. -case "(($ac_try" in
  74010. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  74011. - *) ac_try_echo=$ac_try;;
  74012. -esac
  74013. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  74014. -$as_echo "$ac_try_echo") >&5
  74015. - (eval "$ac_compile") 2>conftest.er1
  74016. - ac_status=$?
  74017. - grep -v '^ *+' conftest.er1 >conftest.err
  74018. - rm -f conftest.er1
  74019. - cat conftest.err >&5
  74020. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  74021. - (exit $ac_status); } && {
  74022. - test -z "$ac_c_werror_flag" ||
  74023. - test ! -s conftest.err
  74024. - } && test -s conftest.$ac_objext; then
  74025. - ac_hi=-1 ac_mid=-1
  74026. - while :; do
  74027. - cat >conftest.$ac_ext <<_ACEOF
  74028. -/* confdefs.h. */
  74029. + fi
  74030. + if test "x$ac_solaris" != "x" ; then
  74031. + KRB5INCS="-I/usr/include/gssapi"
  74032. + KRB5LIBS="-L/usr/lib -R/usr/lib -lgss -lresolv -lsocket -lnsl"
  74033. + else
  74034. + KRB5INCS=`krb5-config --cflags gssapi 2>/dev/null`
  74035. + KRB5LIBS=`krb5-config --libs gssapi 2>/dev/null`
  74036. + fi
  74037. + for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_krb5.h gssapi/gssapi_generic.h
  74038. +do :
  74039. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  74040. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  74041. +eval as_val=\$$as_ac_Header
  74042. + if test "x$as_val" = x""yes; then :
  74043. + cat >>confdefs.h <<_ACEOF
  74044. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  74045. _ACEOF
  74046. -cat confdefs.h >>conftest.$ac_ext
  74047. -cat >>conftest.$ac_ext <<_ACEOF
  74048. -/* end confdefs.h. */
  74049. -#include <stdio.h>
  74050. +fi
  74051. -/* What a mess.. many systems have added the (now standard) bit types
  74052. - * in their own ways, so we need to scan a wide variety of headers to
  74053. - * find them..
  74054. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  74055. - */
  74056. -#if HAVE_SYS_TYPES_H
  74057. -#include <sys/types.h>
  74058. -#endif
  74059. -#if STDC_HEADERS
  74060. -#include <stdlib.h>
  74061. -#include <stddef.h>
  74062. +done
  74063. +
  74064. + fi
  74065. + old_CPPFLAGS=$CPPFLAGS
  74066. + CPPFLAGS="$CPPFLAGS $KRB5INCS"
  74067. + old_LIBS=$LIBS
  74068. + LIBS="$LIBS $KRB5LIBS"
  74069. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPNEGO support" >&5
  74070. +$as_echo_n "checking for SPNEGO support... " >&6; }
  74071. +if test "${ac_cv_have_spnego+set}" = set; then :
  74072. + $as_echo_n "(cached) " >&6
  74073. +else
  74074. +
  74075. + if test "$cross_compiling" = yes; then :
  74076. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  74077. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  74078. +as_fn_error "cannot run test program while cross compiling
  74079. +See \`config.log' for more details." "$LINENO" 5; }
  74080. +else
  74081. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  74082. +/* end confdefs.h. */
  74083. +
  74084. +#ifdef HAVE_HEIMDAL_KERBEROS
  74085. +#ifdef HAVE_GSSAPI_GSSAPI_H
  74086. +#include <gssapi/gssapi.h>
  74087. +#elif defined(HAVE_GSSAPI_H)
  74088. +#include <gssapi.h>
  74089. #endif
  74090. -#if HAVE_INTTYPES_H
  74091. -#include <inttypes.h>
  74092. +#else
  74093. +#ifdef HAVE_GSSAPI_GSSAPI_H
  74094. +#include <gssapi/gssapi.h>
  74095. +#elif defined(HAVE_GSSAPI_H)
  74096. +#include <gssapi.h>
  74097. #endif
  74098. -#if HAVE_SYS_BITYPES_H
  74099. -#include <sys/bitypes.h>
  74100. +#ifdef HAVE_GSSAPI_GSSAPI_KRB5_H
  74101. +#include <gssapi/gssapi_krb5.h>
  74102. #endif
  74103. -#if HAVE_SYS_SELECT_H
  74104. -#include <sys/select.h>
  74105. +#ifdef HAVE_GSSAPI_GSSAPI_GENERIC_H
  74106. +#include <gssapi/gssapi_generic.h>
  74107. #endif
  74108. -#if HAVE_NETINET_IN_SYSTM_H
  74109. -#include <netinet/in_systm.h>
  74110. #endif
  74111. +#include <string.h>
  74112. +int main(int argc, char *argv[]) {
  74113. + OM_uint32 major_status,minor_status;
  74114. + gss_OID_set gss_mech_set;
  74115. + int i;
  74116. +static gss_OID_desc _gss_mech_spnego = {6, (void *)"\x2b\x06\x01\x05\x05\x02"};
  74117. +gss_OID gss_mech_spnego = &_gss_mech_spnego;
  74118. + major_status = gss_indicate_mechs( &minor_status, &gss_mech_set);
  74119. -int
  74120. -main ()
  74121. -{
  74122. -static int test_array [1 - 2 * !(((long int) (sizeof (uint32_t))) >= $ac_mid)];
  74123. -test_array [0] = 0
  74124. + for (i=0;i<gss_mech_set->count;i++) {
  74125. + if (!memcmp(gss_mech_set->elements[i].elements,gss_mech_spnego->elements,gss_mech_set->elements[i].length)) {
  74126. + return 0;
  74127. + }
  74128. + }
  74129. - ;
  74130. - return 0;
  74131. + return 1;
  74132. }
  74133. _ACEOF
  74134. -rm -f conftest.$ac_objext
  74135. -if { (ac_try="$ac_compile"
  74136. -case "(($ac_try" in
  74137. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  74138. - *) ac_try_echo=$ac_try;;
  74139. -esac
  74140. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  74141. -$as_echo "$ac_try_echo") >&5
  74142. - (eval "$ac_compile") 2>conftest.er1
  74143. - ac_status=$?
  74144. - grep -v '^ *+' conftest.er1 >conftest.err
  74145. - rm -f conftest.er1
  74146. - cat conftest.err >&5
  74147. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  74148. - (exit $ac_status); } && {
  74149. - test -z "$ac_c_werror_flag" ||
  74150. - test ! -s conftest.err
  74151. - } && test -s conftest.$ac_objext; then
  74152. - ac_lo=$ac_mid; break
  74153. +if ac_fn_c_try_run "$LINENO"; then :
  74154. + ac_cv_have_spnego=yes
  74155. else
  74156. - $as_echo "$as_me: failed program was:" >&5
  74157. -sed 's/^/| /' conftest.$ac_ext >&5
  74158. -
  74159. - ac_hi=`expr '(' $ac_mid ')' - 1`
  74160. - if test $ac_mid -le $ac_hi; then
  74161. - ac_lo= ac_hi=
  74162. - break
  74163. - fi
  74164. - ac_mid=`expr 2 '*' $ac_mid`
  74165. + ac_cv_have_spnego=no
  74166. fi
  74167. -
  74168. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  74169. - done
  74170. -else
  74171. - $as_echo "$as_me: failed program was:" >&5
  74172. -sed 's/^/| /' conftest.$ac_ext >&5
  74173. -
  74174. - ac_lo= ac_hi=
  74175. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  74176. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  74177. fi
  74178. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  74179. fi
  74180. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_spnego" >&5
  74181. +$as_echo "$ac_cv_have_spnego" >&6; }
  74182. + LIBS=$old_LIBS
  74183. + CPPFLAGS=$old_CPPFLAGS
  74184. + if test x"$ac_cv_have_spnego" = x"yes"; then
  74185. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  74186. -# Binary search between lo and hi bounds.
  74187. -while test "x$ac_lo" != "x$ac_hi"; do
  74188. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  74189. - cat >conftest.$ac_ext <<_ACEOF
  74190. -/* confdefs.h. */
  74191. -_ACEOF
  74192. -cat confdefs.h >>conftest.$ac_ext
  74193. -cat >>conftest.$ac_ext <<_ACEOF
  74194. -/* end confdefs.h. */
  74195. +$as_echo "#define HAVE_SPNEGO 1" >>confdefs.h
  74196. -#include <stdio.h>
  74197. + fi
  74198. -/* What a mess.. many systems have added the (now standard) bit types
  74199. - * in their own ways, so we need to scan a wide variety of headers to
  74200. - * find them..
  74201. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  74202. - */
  74203. -#if HAVE_SYS_TYPES_H
  74204. -#include <sys/types.h>
  74205. -#endif
  74206. -#if STDC_HEADERS
  74207. -#include <stdlib.h>
  74208. -#include <stddef.h>
  74209. -#endif
  74210. -#if HAVE_INTTYPES_H
  74211. -#include <inttypes.h>
  74212. -#endif
  74213. -#if HAVE_SYS_BITYPES_H
  74214. -#include <sys/bitypes.h>
  74215. -#endif
  74216. -#if HAVE_SYS_SELECT_H
  74217. -#include <sys/select.h>
  74218. -#endif
  74219. -#if HAVE_NETINET_IN_SYSTM_H
  74220. -#include <netinet/in_systm.h>
  74221. -#endif
  74222. +
  74223. +fi
  74224. + if test x"$ac_cv_have_spnego" = x"yes" ; then
  74225. + HAVE_SPNEGO_TRUE=
  74226. + HAVE_SPNEGO_FALSE='#'
  74227. +else
  74228. + HAVE_SPNEGO_TRUE='#'
  74229. + HAVE_SPNEGO_FALSE=
  74230. +fi
  74231. +# Check whether --enable-ntlm-fail-open was given.
  74232. +if test "${enable_ntlm_fail_open+set}" = set; then :
  74233. + enableval=$enable_ntlm_fail_open; if test "$enableval" = "yes" ; then
  74234. -int
  74235. -main ()
  74236. -{
  74237. -static int test_array [1 - 2 * !(((long int) (sizeof (uint32_t))) <= $ac_mid)];
  74238. -test_array [0] = 0
  74239. +$as_echo "#define NTLM_FAIL_OPEN 1" >>confdefs.h
  74240. - ;
  74241. - return 0;
  74242. -}
  74243. -_ACEOF
  74244. -rm -f conftest.$ac_objext
  74245. -if { (ac_try="$ac_compile"
  74246. -case "(($ac_try" in
  74247. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  74248. - *) ac_try_echo=$ac_try;;
  74249. -esac
  74250. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  74251. -$as_echo "$ac_try_echo") >&5
  74252. - (eval "$ac_compile") 2>conftest.er1
  74253. - ac_status=$?
  74254. - grep -v '^ *+' conftest.er1 >conftest.err
  74255. - rm -f conftest.er1
  74256. - cat conftest.err >&5
  74257. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  74258. - (exit $ac_status); } && {
  74259. - test -z "$ac_c_werror_flag" ||
  74260. - test ! -s conftest.err
  74261. - } && test -s conftest.$ac_objext; then
  74262. - ac_hi=$ac_mid
  74263. -else
  74264. - $as_echo "$as_me: failed program was:" >&5
  74265. -sed 's/^/| /' conftest.$ac_ext >&5
  74266. + fi
  74267. - ac_lo=`expr '(' $ac_mid ')' + 1`
  74268. fi
  74269. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  74270. -done
  74271. -case $ac_lo in
  74272. -?*) ac_cv_sizeof_uint32_t=$ac_lo;;
  74273. -'') if test "$ac_cv_type_uint32_t" = yes; then
  74274. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (uint32_t)
  74275. -See \`config.log' for more details." >&5
  74276. -$as_echo "$as_me: error: cannot compute sizeof (uint32_t)
  74277. -See \`config.log' for more details." >&2;}
  74278. - { (exit 77); exit 77; }; }
  74279. - else
  74280. - ac_cv_sizeof_uint32_t=0
  74281. - fi ;;
  74282. -esac
  74283. -else
  74284. - cat >conftest.$ac_ext <<_ACEOF
  74285. -/* confdefs.h. */
  74286. -_ACEOF
  74287. -cat confdefs.h >>conftest.$ac_ext
  74288. -cat >>conftest.$ac_ext <<_ACEOF
  74289. -/* end confdefs.h. */
  74290. -#include <stdio.h>
  74291. +EXTERNAL_ACL_HELPERS=all
  74292. +# Check whether --enable-external-acl-helpers was given.
  74293. +if test "${enable_external_acl_helpers+set}" = set; then :
  74294. + enableval=$enable_external_acl_helpers; case "$enableval" in
  74295. + yes)
  74296. + EXTERNAL_ACL_HELPERS=all
  74297. + ;;
  74298. + no)
  74299. + EXTERNAL_ACL_HELPERS=""
  74300. + ;;
  74301. + *)
  74302. + EXTERNAL_ACL_HELPERS="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
  74303. + ;;
  74304. + esac
  74305. -/* What a mess.. many systems have added the (now standard) bit types
  74306. - * in their own ways, so we need to scan a wide variety of headers to
  74307. - * find them..
  74308. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  74309. - */
  74310. -#if HAVE_SYS_TYPES_H
  74311. -#include <sys/types.h>
  74312. -#endif
  74313. -#if STDC_HEADERS
  74314. -#include <stdlib.h>
  74315. -#include <stddef.h>
  74316. -#endif
  74317. -#if HAVE_INTTYPES_H
  74318. -#include <inttypes.h>
  74319. -#endif
  74320. -#if HAVE_SYS_BITYPES_H
  74321. -#include <sys/bitypes.h>
  74322. -#endif
  74323. -#if HAVE_SYS_SELECT_H
  74324. -#include <sys/select.h>
  74325. -#endif
  74326. -#if HAVE_NETINET_IN_SYSTM_H
  74327. -#include <netinet/in_systm.h>
  74328. -#endif
  74329. +fi
  74330. +
  74331. +if test "$EXTERNAL_ACL_HELPERS" = "all" ; then
  74332. + EXTERNAL_ACL_HELPERS=""
  74333. + for dir in $srcdir/helpers/external_acl/*; do
  74334. + helper="`basename $dir`"
  74335. + if test -f $dir/config.test && sh $dir/config.test "$@"; then
  74336. + EXTERNAL_ACL_HELPERS="$EXTERNAL_ACL_HELPERS $helper"
  74337. + fi
  74338. + done
  74339. +fi
  74340. +if test -n "$EXTERNAL_ACL_HELPERS"; then
  74341. + for helper in $EXTERNAL_ACL_HELPERS; do
  74342. + if test -f $srcdir/helpers/external_acl/$helper/Makefile.in; then
  74343. + :
  74344. + else
  74345. + echo "ERROR: external acl helper $helper does not exists"
  74346. + exit 1
  74347. + fi
  74348. + done
  74349. + echo "External acl helpers built: $EXTERNAL_ACL_HELPERS"
  74350. +fi
  74351. -static long int longval () { return (long int) (sizeof (uint32_t)); }
  74352. -static unsigned long int ulongval () { return (long int) (sizeof (uint32_t)); }
  74353. -#include <stdio.h>
  74354. -#include <stdlib.h>
  74355. -int
  74356. -main ()
  74357. -{
  74358. +# Check whether --with-valgrind-debug was given.
  74359. +if test "${with_valgrind_debug+set}" = set; then :
  74360. + withval=$with_valgrind_debug; case $withval in
  74361. + yes)
  74362. + valgrind=1
  74363. + ;;
  74364. + no)
  74365. + valgrind=
  74366. + ;;
  74367. + *)
  74368. + CPPFLAGS="$CPPFLAGS -I${enableval}/include"
  74369. + valgrind=1
  74370. + ;;
  74371. + esac
  74372. + if test $valgrind; then
  74373. - FILE *f = fopen ("conftest.val", "w");
  74374. - if (! f)
  74375. - return 1;
  74376. - if (((long int) (sizeof (uint32_t))) < 0)
  74377. - {
  74378. - long int i = longval ();
  74379. - if (i != ((long int) (sizeof (uint32_t))))
  74380. - return 1;
  74381. - fprintf (f, "%ld", i);
  74382. - }
  74383. - else
  74384. - {
  74385. - unsigned long int i = ulongval ();
  74386. - if (i != ((long int) (sizeof (uint32_t))))
  74387. - return 1;
  74388. - fprintf (f, "%lu", i);
  74389. - }
  74390. - /* Do not output a trailing newline, as this causes \r\n confusion
  74391. - on some platforms. */
  74392. - return ferror (f) || fclose (f) != 0;
  74393. +$as_echo "#define WITH_VALGRIND 1" >>confdefs.h
  74394. - ;
  74395. - return 0;
  74396. -}
  74397. -_ACEOF
  74398. -rm -f conftest$ac_exeext
  74399. -if { (ac_try="$ac_link"
  74400. -case "(($ac_try" in
  74401. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  74402. - *) ac_try_echo=$ac_try;;
  74403. -esac
  74404. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  74405. -$as_echo "$ac_try_echo") >&5
  74406. - (eval "$ac_link") 2>&5
  74407. - ac_status=$?
  74408. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  74409. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  74410. - { (case "(($ac_try" in
  74411. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  74412. - *) ac_try_echo=$ac_try;;
  74413. -esac
  74414. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  74415. -$as_echo "$ac_try_echo") >&5
  74416. - (eval "$ac_try") 2>&5
  74417. - ac_status=$?
  74418. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  74419. - (exit $ac_status); }; }; then
  74420. - ac_cv_sizeof_uint32_t=`cat conftest.val`
  74421. -else
  74422. - $as_echo "$as_me: program exited with status $ac_status" >&5
  74423. -$as_echo "$as_me: failed program was:" >&5
  74424. -sed 's/^/| /' conftest.$ac_ext >&5
  74425. + echo "Valgrind debug support enabled"
  74426. + fi
  74427. -( exit $ac_status )
  74428. -if test "$ac_cv_type_uint32_t" = yes; then
  74429. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (uint32_t)
  74430. -See \`config.log' for more details." >&5
  74431. -$as_echo "$as_me: error: cannot compute sizeof (uint32_t)
  74432. -See \`config.log' for more details." >&2;}
  74433. - { (exit 77); exit 77; }; }
  74434. - else
  74435. - ac_cv_sizeof_uint32_t=0
  74436. - fi
  74437. -fi
  74438. -rm -rf conftest.dSYM
  74439. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  74440. fi
  74441. -rm -f conftest.val
  74442. -fi
  74443. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_uint32_t" >&5
  74444. -$as_echo "$ac_cv_sizeof_uint32_t" >&6; }
  74445. +# Check whether --enable-mempools was given.
  74446. +if test "${enable_mempools+set}" = set; then :
  74447. + enableval=$enable_mempools; if test "$enableval" = "no" ; then
  74448. + echo "memPools disabled"
  74449. -cat >>confdefs.h <<_ACEOF
  74450. -#define SIZEOF_UINT32_T $ac_cv_sizeof_uint32_t
  74451. -_ACEOF
  74452. +$as_echo "#define DISABLE_POOLS 1" >>confdefs.h
  74453. + else
  74454. +$as_echo "#define DISABLE_POOLS 0" >>confdefs.h
  74455. -cat >>confdefs.h <<\_ACEOF
  74456. -#define HAVE_UINT32_T 1
  74457. -_ACEOF
  74458. + fi
  74459. +
  74460. +else
  74461. +
  74462. +$as_echo "#define DISABLE_POOLS 0" >>confdefs.h
  74463. fi
  74464. -{ $as_echo "$as_me:$LINENO: checking for int64_t" >&5
  74465. -$as_echo_n "checking for int64_t... " >&6; }
  74466. -if test "${ac_cv_type_int64_t+set}" = set; then
  74467. - $as_echo_n "(cached) " >&6
  74468. -else
  74469. - ac_cv_type_int64_t=no
  74470. -cat >conftest.$ac_ext <<_ACEOF
  74471. -/* confdefs.h. */
  74472. -_ACEOF
  74473. -cat confdefs.h >>conftest.$ac_ext
  74474. -cat >>conftest.$ac_ext <<_ACEOF
  74475. -/* end confdefs.h. */
  74476. +# Check whether --enable-win32-service was given.
  74477. +if test "${enable_win32_service+set}" = set; then :
  74478. + enableval=$enable_win32_service; if test "$enableval" = "yes" ; then
  74479. + echo "Enabling WIN32 run service mode"
  74480. -/* What a mess.. many systems have added the (now standard) bit types
  74481. - * in their own ways, so we need to scan a wide variety of headers to
  74482. - * find them..
  74483. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  74484. - */
  74485. -#if HAVE_SYS_TYPES_H
  74486. -#include <sys/types.h>
  74487. -#endif
  74488. -#if STDC_HEADERS
  74489. -#include <stdlib.h>
  74490. -#include <stddef.h>
  74491. -#endif
  74492. -#if HAVE_INTTYPES_H
  74493. -#include <inttypes.h>
  74494. -#endif
  74495. -#if HAVE_SYS_BITYPES_H
  74496. -#include <sys/bitypes.h>
  74497. -#endif
  74498. -#if HAVE_SYS_SELECT_H
  74499. -#include <sys/select.h>
  74500. -#endif
  74501. -#if HAVE_NETINET_IN_SYSTM_H
  74502. -#include <netinet/in_systm.h>
  74503. -#endif
  74504. +$as_echo "#define USE_WIN32_SERVICE 1" >>confdefs.h
  74505. + fi
  74506. -int
  74507. -main ()
  74508. -{
  74509. -if (sizeof (int64_t))
  74510. - return 0;
  74511. - ;
  74512. - return 0;
  74513. -}
  74514. -_ACEOF
  74515. -rm -f conftest.$ac_objext
  74516. -if { (ac_try="$ac_compile"
  74517. -case "(($ac_try" in
  74518. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  74519. - *) ac_try_echo=$ac_try;;
  74520. -esac
  74521. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  74522. -$as_echo "$ac_try_echo") >&5
  74523. - (eval "$ac_compile") 2>conftest.er1
  74524. - ac_status=$?
  74525. - grep -v '^ *+' conftest.er1 >conftest.err
  74526. - rm -f conftest.er1
  74527. - cat conftest.err >&5
  74528. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  74529. - (exit $ac_status); } && {
  74530. - test -z "$ac_c_werror_flag" ||
  74531. - test ! -s conftest.err
  74532. - } && test -s conftest.$ac_objext; then
  74533. - cat >conftest.$ac_ext <<_ACEOF
  74534. -/* confdefs.h. */
  74535. -_ACEOF
  74536. -cat confdefs.h >>conftest.$ac_ext
  74537. -cat >>conftest.$ac_ext <<_ACEOF
  74538. -/* end confdefs.h. */
  74539. +fi
  74540. -/* What a mess.. many systems have added the (now standard) bit types
  74541. - * in their own ways, so we need to scan a wide variety of headers to
  74542. - * find them..
  74543. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  74544. - */
  74545. -#if HAVE_SYS_TYPES_H
  74546. -#include <sys/types.h>
  74547. -#endif
  74548. -#if STDC_HEADERS
  74549. -#include <stdlib.h>
  74550. -#include <stddef.h>
  74551. -#endif
  74552. -#if HAVE_INTTYPES_H
  74553. -#include <inttypes.h>
  74554. -#endif
  74555. -#if HAVE_SYS_BITYPES_H
  74556. -#include <sys/bitypes.h>
  74557. -#endif
  74558. -#if HAVE_SYS_SELECT_H
  74559. -#include <sys/select.h>
  74560. -#endif
  74561. -#if HAVE_NETINET_IN_SYSTM_H
  74562. -#include <netinet/in_systm.h>
  74563. -#endif
  74564. -int
  74565. -main ()
  74566. -{
  74567. -if (sizeof ((int64_t)))
  74568. - return 0;
  74569. - ;
  74570. - return 0;
  74571. -}
  74572. +if test "$require_sasl" = "yes"; then
  74573. + for ac_header in sasl/sasl.h sasl.h
  74574. +do :
  74575. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  74576. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  74577. +eval as_val=\$$as_ac_Header
  74578. + if test "x$as_val" = x""yes; then :
  74579. + cat >>confdefs.h <<_ACEOF
  74580. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  74581. _ACEOF
  74582. -rm -f conftest.$ac_objext
  74583. -if { (ac_try="$ac_compile"
  74584. -case "(($ac_try" in
  74585. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  74586. - *) ac_try_echo=$ac_try;;
  74587. -esac
  74588. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  74589. -$as_echo "$ac_try_echo") >&5
  74590. - (eval "$ac_compile") 2>conftest.er1
  74591. - ac_status=$?
  74592. - grep -v '^ *+' conftest.er1 >conftest.err
  74593. - rm -f conftest.er1
  74594. - cat conftest.err >&5
  74595. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  74596. - (exit $ac_status); } && {
  74597. - test -z "$ac_c_werror_flag" ||
  74598. - test ! -s conftest.err
  74599. - } && test -s conftest.$ac_objext; then
  74600. - :
  74601. -else
  74602. - $as_echo "$as_me: failed program was:" >&5
  74603. -sed 's/^/| /' conftest.$ac_ext >&5
  74604. - ac_cv_type_int64_t=yes
  74605. fi
  74606. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  74607. -else
  74608. - $as_echo "$as_me: failed program was:" >&5
  74609. -sed 's/^/| /' conftest.$ac_ext >&5
  74610. +done
  74611. + if test "$ac_cv_header_sasl_sasl_h" = "yes"; then
  74612. + echo "using SASL2"
  74613. + LIBSASL="-lsasl2"
  74614. + else
  74615. + if test "$ac_cv_header_sasl_h" = "yes"; then
  74616. + echo "using SASL"
  74617. + LIBSASL="-lsasl"
  74618. + else
  74619. + echo "ERROR: Neither SASL nor SASL2 found"
  74620. + exit 1
  74621. + fi
  74622. + fi
  74623. fi
  74624. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  74625. -fi
  74626. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
  74627. -$as_echo "$ac_cv_type_int64_t" >&6; }
  74628. -if test $ac_cv_type_int64_t = yes; then
  74629. +# Check whether --enable-unlinkd was given.
  74630. +if test "${enable_unlinkd+set}" = set; then :
  74631. + enableval=$enable_unlinkd; if test "$enableval" = "no" ; then
  74632. + use_unlinkd=no
  74633. + else
  74634. + use_unlinkd=yes
  74635. + fi
  74636. - # The cast to long int works around a bug in the HP C Compiler
  74637. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  74638. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  74639. -# This bug is HP SR number 8606223364.
  74640. -{ $as_echo "$as_me:$LINENO: checking size of int64_t" >&5
  74641. -$as_echo_n "checking size of int64_t... " >&6; }
  74642. -if test "${ac_cv_sizeof_int64_t+set}" = set; then
  74643. - $as_echo_n "(cached) " >&6
  74644. else
  74645. - if test "$cross_compiling" = yes; then
  74646. - # Depending upon the size, compute the lo and hi bounds.
  74647. -cat >conftest.$ac_ext <<_ACEOF
  74648. -/* confdefs.h. */
  74649. -_ACEOF
  74650. -cat confdefs.h >>conftest.$ac_ext
  74651. -cat >>conftest.$ac_ext <<_ACEOF
  74652. -/* end confdefs.h. */
  74653. -#include <stdio.h>
  74654. + # Here we should probably use some magic depending on the selected
  74655. + # storage models
  74656. + use_unlinkd=yes
  74657. -/* What a mess.. many systems have added the (now standard) bit types
  74658. - * in their own ways, so we need to scan a wide variety of headers to
  74659. - * find them..
  74660. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  74661. - */
  74662. -#if HAVE_SYS_TYPES_H
  74663. -#include <sys/types.h>
  74664. -#endif
  74665. -#if STDC_HEADERS
  74666. -#include <stdlib.h>
  74667. -#include <stddef.h>
  74668. -#endif
  74669. -#if HAVE_INTTYPES_H
  74670. -#include <inttypes.h>
  74671. -#endif
  74672. -#if HAVE_SYS_BITYPES_H
  74673. -#include <sys/bitypes.h>
  74674. -#endif
  74675. -#if HAVE_SYS_SELECT_H
  74676. -#include <sys/select.h>
  74677. -#endif
  74678. -#if HAVE_NETINET_IN_SYSTM_H
  74679. -#include <netinet/in_systm.h>
  74680. -#endif
  74681. +fi
  74682. +if test "$use_unlinkd" = "yes"; then
  74683. + echo "unlinkd enabled"
  74684. +$as_echo "#define USE_UNLINKD 1" >>confdefs.h
  74685. -int
  74686. -main ()
  74687. -{
  74688. -static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) >= 0)];
  74689. -test_array [0] = 0
  74690. + if true; then
  74691. + ENABLE_UNLINKD_TRUE=
  74692. + ENABLE_UNLINKD_FALSE='#'
  74693. +else
  74694. + ENABLE_UNLINKD_TRUE='#'
  74695. + ENABLE_UNLINKD_FALSE=
  74696. +fi
  74697. +
  74698. +else
  74699. + echo "unlinkd disabled"
  74700. + if false; then
  74701. + ENABLE_UNLINKD_TRUE=
  74702. + ENABLE_UNLINKD_FALSE='#'
  74703. +else
  74704. + ENABLE_UNLINKD_TRUE='#'
  74705. + ENABLE_UNLINKD_FALSE=
  74706. +fi
  74707. - ;
  74708. - return 0;
  74709. -}
  74710. -_ACEOF
  74711. -rm -f conftest.$ac_objext
  74712. -if { (ac_try="$ac_compile"
  74713. -case "(($ac_try" in
  74714. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  74715. - *) ac_try_echo=$ac_try;;
  74716. -esac
  74717. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  74718. -$as_echo "$ac_try_echo") >&5
  74719. - (eval "$ac_compile") 2>conftest.er1
  74720. - ac_status=$?
  74721. - grep -v '^ *+' conftest.er1 >conftest.err
  74722. - rm -f conftest.er1
  74723. - cat conftest.err >&5
  74724. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  74725. - (exit $ac_status); } && {
  74726. - test -z "$ac_c_werror_flag" ||
  74727. - test ! -s conftest.err
  74728. - } && test -s conftest.$ac_objext; then
  74729. - ac_lo=0 ac_mid=0
  74730. - while :; do
  74731. - cat >conftest.$ac_ext <<_ACEOF
  74732. -/* confdefs.h. */
  74733. -_ACEOF
  74734. -cat confdefs.h >>conftest.$ac_ext
  74735. -cat >>conftest.$ac_ext <<_ACEOF
  74736. -/* end confdefs.h. */
  74737. +fi
  74738. -#include <stdio.h>
  74739. +# Check whether --enable-stacktraces was given.
  74740. +if test "${enable_stacktraces+set}" = set; then :
  74741. + enableval=$enable_stacktraces; if test "$enableval" = "yes" ; then
  74742. + echo "Enabling automatic stack backtraces on fatal errors"
  74743. -/* What a mess.. many systems have added the (now standard) bit types
  74744. - * in their own ways, so we need to scan a wide variety of headers to
  74745. - * find them..
  74746. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  74747. - */
  74748. -#if HAVE_SYS_TYPES_H
  74749. -#include <sys/types.h>
  74750. -#endif
  74751. -#if STDC_HEADERS
  74752. -#include <stdlib.h>
  74753. -#include <stddef.h>
  74754. -#endif
  74755. -#if HAVE_INTTYPES_H
  74756. -#include <inttypes.h>
  74757. -#endif
  74758. -#if HAVE_SYS_BITYPES_H
  74759. -#include <sys/bitypes.h>
  74760. -#endif
  74761. -#if HAVE_SYS_SELECT_H
  74762. -#include <sys/select.h>
  74763. -#endif
  74764. -#if HAVE_NETINET_IN_SYSTM_H
  74765. -#include <netinet/in_systm.h>
  74766. -#endif
  74767. +$as_echo "#define PRINT_STACK_TRACE 1" >>confdefs.h
  74768. + fi
  74769. +fi
  74770. -int
  74771. -main ()
  74772. -{
  74773. -static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) <= $ac_mid)];
  74774. -test_array [0] = 0
  74775. - ;
  74776. - return 0;
  74777. -}
  74778. -_ACEOF
  74779. -rm -f conftest.$ac_objext
  74780. -if { (ac_try="$ac_compile"
  74781. -case "(($ac_try" in
  74782. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  74783. - *) ac_try_echo=$ac_try;;
  74784. -esac
  74785. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  74786. -$as_echo "$ac_try_echo") >&5
  74787. - (eval "$ac_compile") 2>conftest.er1
  74788. - ac_status=$?
  74789. - grep -v '^ *+' conftest.er1 >conftest.err
  74790. - rm -f conftest.er1
  74791. - cat conftest.err >&5
  74792. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  74793. - (exit $ac_status); } && {
  74794. - test -z "$ac_c_werror_flag" ||
  74795. - test ! -s conftest.err
  74796. - } && test -s conftest.$ac_objext; then
  74797. - ac_hi=$ac_mid; break
  74798. + if false; then
  74799. + ENABLE_XPROF_STATS_TRUE=
  74800. + ENABLE_XPROF_STATS_FALSE='#'
  74801. else
  74802. - $as_echo "$as_me: failed program was:" >&5
  74803. -sed 's/^/| /' conftest.$ac_ext >&5
  74804. -
  74805. - ac_lo=`expr $ac_mid + 1`
  74806. - if test $ac_lo -le $ac_mid; then
  74807. - ac_lo= ac_hi=
  74808. - break
  74809. - fi
  74810. - ac_mid=`expr 2 '*' $ac_mid + 1`
  74811. + ENABLE_XPROF_STATS_TRUE='#'
  74812. + ENABLE_XPROF_STATS_FALSE=
  74813. fi
  74814. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  74815. - done
  74816. +# Check whether --enable-cpu-profiling was given.
  74817. +if test "${enable_cpu_profiling+set}" = set; then :
  74818. + enableval=$enable_cpu_profiling; if test "$enableval" = "yes" ; then
  74819. + echo "Enabling cpu-profiling"
  74820. +
  74821. +$as_echo "#define USE_XPROF_STATS 1" >>confdefs.h
  74822. +
  74823. + if true; then
  74824. + ENABLE_XPROF_STATS_TRUE=
  74825. + ENABLE_XPROF_STATS_FALSE='#'
  74826. else
  74827. - $as_echo "$as_me: failed program was:" >&5
  74828. -sed 's/^/| /' conftest.$ac_ext >&5
  74829. + ENABLE_XPROF_STATS_TRUE='#'
  74830. + ENABLE_XPROF_STATS_FALSE=
  74831. +fi
  74832. - cat >conftest.$ac_ext <<_ACEOF
  74833. -/* confdefs.h. */
  74834. -_ACEOF
  74835. -cat confdefs.h >>conftest.$ac_ext
  74836. -cat >>conftest.$ac_ext <<_ACEOF
  74837. -/* end confdefs.h. */
  74838. + fi
  74839. -#include <stdio.h>
  74840. +fi
  74841. -/* What a mess.. many systems have added the (now standard) bit types
  74842. - * in their own ways, so we need to scan a wide variety of headers to
  74843. - * find them..
  74844. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  74845. - */
  74846. -#if HAVE_SYS_TYPES_H
  74847. -#include <sys/types.h>
  74848. -#endif
  74849. -#if STDC_HEADERS
  74850. -#include <stdlib.h>
  74851. -#include <stddef.h>
  74852. -#endif
  74853. -#if HAVE_INTTYPES_H
  74854. -#include <inttypes.h>
  74855. -#endif
  74856. -#if HAVE_SYS_BITYPES_H
  74857. -#include <sys/bitypes.h>
  74858. -#endif
  74859. -#if HAVE_SYS_SELECT_H
  74860. -#include <sys/select.h>
  74861. -#endif
  74862. -#if HAVE_NETINET_IN_SYSTM_H
  74863. -#include <netinet/in_systm.h>
  74864. -#endif
  74865. +# Check whether --enable-x_accelerator_vary was given.
  74866. +if test "${enable_x_accelerator_vary+set}" = set; then :
  74867. + enableval=$enable_x_accelerator_vary; if test "$enableval" = "yes" ; then
  74868. + echo "Enabling support for X-Accelerator-Vary"
  74869. +$as_echo "#define X_ACCELERATOR_VARY 1" >>confdefs.h
  74870. -int
  74871. -main ()
  74872. -{
  74873. -static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) < 0)];
  74874. -test_array [0] = 0
  74875. + fi
  74876. - ;
  74877. - return 0;
  74878. -}
  74879. -_ACEOF
  74880. -rm -f conftest.$ac_objext
  74881. -if { (ac_try="$ac_compile"
  74882. -case "(($ac_try" in
  74883. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  74884. - *) ac_try_echo=$ac_try;;
  74885. -esac
  74886. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  74887. -$as_echo "$ac_try_echo") >&5
  74888. - (eval "$ac_compile") 2>conftest.er1
  74889. - ac_status=$?
  74890. - grep -v '^ *+' conftest.er1 >conftest.err
  74891. - rm -f conftest.er1
  74892. - cat conftest.err >&5
  74893. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  74894. - (exit $ac_status); } && {
  74895. - test -z "$ac_c_werror_flag" ||
  74896. - test ! -s conftest.err
  74897. - } && test -s conftest.$ac_objext; then
  74898. - ac_hi=-1 ac_mid=-1
  74899. - while :; do
  74900. - cat >conftest.$ac_ext <<_ACEOF
  74901. -/* confdefs.h. */
  74902. -_ACEOF
  74903. -cat confdefs.h >>conftest.$ac_ext
  74904. -cat >>conftest.$ac_ext <<_ACEOF
  74905. -/* end confdefs.h. */
  74906. +fi
  74907. -#include <stdio.h>
  74908. -/* What a mess.. many systems have added the (now standard) bit types
  74909. - * in their own ways, so we need to scan a wide variety of headers to
  74910. - * find them..
  74911. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  74912. - */
  74913. -#if HAVE_SYS_TYPES_H
  74914. -#include <sys/types.h>
  74915. -#endif
  74916. -#if STDC_HEADERS
  74917. -#include <stdlib.h>
  74918. -#include <stddef.h>
  74919. -#endif
  74920. -#if HAVE_INTTYPES_H
  74921. -#include <inttypes.h>
  74922. -#endif
  74923. -#if HAVE_SYS_BITYPES_H
  74924. -#include <sys/bitypes.h>
  74925. -#endif
  74926. -#if HAVE_SYS_SELECT_H
  74927. -#include <sys/select.h>
  74928. -#endif
  74929. -#if HAVE_NETINET_IN_SYSTM_H
  74930. -#include <netinet/in_systm.h>
  74931. -#endif
  74932. +# Check whether --with-filedescriptors was given.
  74933. +if test "${with_filedescriptors+set}" = set; then :
  74934. + withval=$with_filedescriptors; squid_filedescriptors_num=$withval
  74935. +fi
  74936. -int
  74937. -main ()
  74938. -{
  74939. -static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) >= $ac_mid)];
  74940. -test_array [0] = 0
  74941. +# Extract the first word of "cppunit-config", so it can be a program name with args.
  74942. +set dummy cppunit-config; ac_word=$2
  74943. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  74944. +$as_echo_n "checking for $ac_word... " >&6; }
  74945. +if test "${ac_cv_path_CPPUNITCONFIG+set}" = set; then :
  74946. + $as_echo_n "(cached) " >&6
  74947. +else
  74948. + case $CPPUNITCONFIG in
  74949. + [\\/]* | ?:[\\/]*)
  74950. + ac_cv_path_CPPUNITCONFIG="$CPPUNITCONFIG" # Let the user override the test with a path.
  74951. + ;;
  74952. + *)
  74953. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  74954. +for as_dir in $PATH
  74955. +do
  74956. + IFS=$as_save_IFS
  74957. + test -z "$as_dir" && as_dir=.
  74958. + for ac_exec_ext in '' $ac_executable_extensions; do
  74959. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  74960. + ac_cv_path_CPPUNITCONFIG="$as_dir/$ac_word$ac_exec_ext"
  74961. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  74962. + break 2
  74963. + fi
  74964. +done
  74965. + done
  74966. +IFS=$as_save_IFS
  74967. - ;
  74968. - return 0;
  74969. -}
  74970. -_ACEOF
  74971. -rm -f conftest.$ac_objext
  74972. -if { (ac_try="$ac_compile"
  74973. -case "(($ac_try" in
  74974. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  74975. - *) ac_try_echo=$ac_try;;
  74976. + test -z "$ac_cv_path_CPPUNITCONFIG" && ac_cv_path_CPPUNITCONFIG="false"
  74977. + ;;
  74978. esac
  74979. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  74980. -$as_echo "$ac_try_echo") >&5
  74981. - (eval "$ac_compile") 2>conftest.er1
  74982. - ac_status=$?
  74983. - grep -v '^ *+' conftest.er1 >conftest.err
  74984. - rm -f conftest.er1
  74985. - cat conftest.err >&5
  74986. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  74987. - (exit $ac_status); } && {
  74988. - test -z "$ac_c_werror_flag" ||
  74989. - test ! -s conftest.err
  74990. - } && test -s conftest.$ac_objext; then
  74991. - ac_lo=$ac_mid; break
  74992. +fi
  74993. +CPPUNITCONFIG=$ac_cv_path_CPPUNITCONFIG
  74994. +if test -n "$CPPUNITCONFIG"; then
  74995. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNITCONFIG" >&5
  74996. +$as_echo "$CPPUNITCONFIG" >&6; }
  74997. else
  74998. - $as_echo "$as_me: failed program was:" >&5
  74999. -sed 's/^/| /' conftest.$ac_ext >&5
  75000. -
  75001. - ac_hi=`expr '(' $ac_mid ')' - 1`
  75002. - if test $ac_mid -le $ac_hi; then
  75003. - ac_lo= ac_hi=
  75004. - break
  75005. - fi
  75006. - ac_mid=`expr 2 '*' $ac_mid`
  75007. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  75008. +$as_echo "no" >&6; }
  75009. fi
  75010. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  75011. - done
  75012. +
  75013. +if $CPPUNITCONFIG --help >/dev/null; then
  75014. + echo "using system installed cppunit"
  75015. + SQUID_CPPUNIT_LIBS="`$CPPUNITCONFIG --libs`"
  75016. + SQUID_CPPUNIT_LA=''
  75017. + SQUID_CPPUNIT_INC="`$CPPUNITCONFIG --cflags`"
  75018. else
  75019. - $as_echo "$as_me: failed program was:" >&5
  75020. -sed 's/^/| /' conftest.$ac_ext >&5
  75021. + echo "cppunit does not appear to be installed. squid does not require this, but code testing with 'make check' will fail."
  75022. + SQUID_CPPUNIT_LA=''
  75023. + SQUID_CPPUNIT_LIBS=''
  75024. + SQUID_CPPUNIT_INC=''
  75025. +fi
  75026. +
  75027. +
  75028. +# Check whether --with-cppunit-basedir was given.
  75029. +if test "${with_cppunit_basedir+set}" = set; then :
  75030. + withval=$with_cppunit_basedir; if test -f $withval/include/cppunit/TestCase.h; then
  75031. + echo "Using cppunit includes from $withval"
  75032. + SQUID_CPPUNIT_INC="-I${withval}/include"
  75033. + else
  75034. + echo "ERROR: Cannot find cppunit at $withval"
  75035. + exit 1
  75036. + fi
  75037. + if test -f $withval/lib/libcppunit.la; then
  75038. + echo "Using cppunit lib from $withval"
  75039. + SQUID_CPPUNIT_LA="${withval}/lib/libcppunit.la"
  75040. + SQUID_CPPUNIT_LIBS='$(SQUID_CPPUNIT_LA)'
  75041. + else
  75042. + echo "ERROR: Cannot find cppunit at $withval"
  75043. + exit 1
  75044. + fi
  75045. - ac_lo= ac_hi=
  75046. fi
  75047. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  75048. -fi
  75049. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  75050. -# Binary search between lo and hi bounds.
  75051. -while test "x$ac_lo" != "x$ac_hi"; do
  75052. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  75053. - cat >conftest.$ac_ext <<_ACEOF
  75054. -/* confdefs.h. */
  75055. -_ACEOF
  75056. -cat confdefs.h >>conftest.$ac_ext
  75057. -cat >>conftest.$ac_ext <<_ACEOF
  75058. -/* end confdefs.h. */
  75059. -#include <stdio.h>
  75060. -/* What a mess.. many systems have added the (now standard) bit types
  75061. - * in their own ways, so we need to scan a wide variety of headers to
  75062. - * find them..
  75063. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  75064. - */
  75065. -#if HAVE_SYS_TYPES_H
  75066. -#include <sys/types.h>
  75067. -#endif
  75068. -#if STDC_HEADERS
  75069. -#include <stdlib.h>
  75070. -#include <stddef.h>
  75071. -#endif
  75072. -#if HAVE_INTTYPES_H
  75073. -#include <inttypes.h>
  75074. -#endif
  75075. -#if HAVE_SYS_BITYPES_H
  75076. -#include <sys/bitypes.h>
  75077. -#endif
  75078. -#if HAVE_SYS_SELECT_H
  75079. -#include <sys/select.h>
  75080. -#endif
  75081. -#if HAVE_NETINET_IN_SYSTM_H
  75082. -#include <netinet/in_systm.h>
  75083. -#endif
  75084. +# Force some compilers to use ANSI features
  75085. +#
  75086. +case "$host" in
  75087. + alpha-dec-osf*)
  75088. + if test "$ac_cv_prog_CC" = "cc" ; then
  75089. + echo "adding '-std1' to cc args for $host"
  75090. + CC="cc -std1";
  75091. + ac_cv_prog_CC="$CC"
  75092. + fi
  75093. + ;;
  75094. + *-hp-hpux*)
  75095. + if test "$ac_cv_prog_CC" = "cc" ; then
  75096. + echo "adding '-Ae' to cc args for $host"
  75097. + CC="cc -Ae";
  75098. + ac_cv_prog_CC="$CC"
  75099. + fi
  75100. + ;;
  75101. +esac
  75102. +HOSTCXX="g++"
  75103. -int
  75104. -main ()
  75105. -{
  75106. -static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) <= $ac_mid)];
  75107. -test_array [0] = 0
  75108. - ;
  75109. - return 0;
  75110. -}
  75111. +ac_ext=c
  75112. +ac_cpp='$CPP $CPPFLAGS'
  75113. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  75114. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  75115. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  75116. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  75117. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  75118. +# On Suns, sometimes $CPP names a directory.
  75119. +if test -n "$CPP" && test -d "$CPP"; then
  75120. + CPP=
  75121. +fi
  75122. +if test -z "$CPP"; then
  75123. + if test "${ac_cv_prog_CPP+set}" = set; then :
  75124. + $as_echo_n "(cached) " >&6
  75125. +else
  75126. + # Double quotes because CPP needs to be expanded
  75127. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  75128. + do
  75129. + ac_preproc_ok=false
  75130. +for ac_c_preproc_warn_flag in '' yes
  75131. +do
  75132. + # Use a header file that comes with gcc, so configuring glibc
  75133. + # with a fresh cross-compiler works.
  75134. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  75135. + # <limits.h> exists even on freestanding compilers.
  75136. + # On the NeXT, cc -E runs the code through the compiler's parser,
  75137. + # not just through cpp. "Syntax error" is here to catch this case.
  75138. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  75139. +/* end confdefs.h. */
  75140. +#ifdef __STDC__
  75141. +# include <limits.h>
  75142. +#else
  75143. +# include <assert.h>
  75144. +#endif
  75145. + Syntax error
  75146. _ACEOF
  75147. -rm -f conftest.$ac_objext
  75148. -if { (ac_try="$ac_compile"
  75149. -case "(($ac_try" in
  75150. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  75151. - *) ac_try_echo=$ac_try;;
  75152. -esac
  75153. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  75154. -$as_echo "$ac_try_echo") >&5
  75155. - (eval "$ac_compile") 2>conftest.er1
  75156. - ac_status=$?
  75157. - grep -v '^ *+' conftest.er1 >conftest.err
  75158. - rm -f conftest.er1
  75159. - cat conftest.err >&5
  75160. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  75161. - (exit $ac_status); } && {
  75162. - test -z "$ac_c_werror_flag" ||
  75163. - test ! -s conftest.err
  75164. - } && test -s conftest.$ac_objext; then
  75165. - ac_hi=$ac_mid
  75166. +if ac_fn_c_try_cpp "$LINENO"; then :
  75167. +
  75168. else
  75169. - $as_echo "$as_me: failed program was:" >&5
  75170. -sed 's/^/| /' conftest.$ac_ext >&5
  75171. + # Broken: fails on valid input.
  75172. +continue
  75173. +fi
  75174. +rm -f conftest.err conftest.$ac_ext
  75175. - ac_lo=`expr '(' $ac_mid ')' + 1`
  75176. + # OK, works on sane cases. Now check whether nonexistent headers
  75177. + # can be detected and how.
  75178. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  75179. +/* end confdefs.h. */
  75180. +#include <ac_nonexistent.h>
  75181. +_ACEOF
  75182. +if ac_fn_c_try_cpp "$LINENO"; then :
  75183. + # Broken: success on invalid input.
  75184. +continue
  75185. +else
  75186. + # Passes both tests.
  75187. +ac_preproc_ok=:
  75188. +break
  75189. fi
  75190. +rm -f conftest.err conftest.$ac_ext
  75191. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  75192. done
  75193. -case $ac_lo in
  75194. -?*) ac_cv_sizeof_int64_t=$ac_lo;;
  75195. -'') if test "$ac_cv_type_int64_t" = yes; then
  75196. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int64_t)
  75197. -See \`config.log' for more details." >&5
  75198. -$as_echo "$as_me: error: cannot compute sizeof (int64_t)
  75199. -See \`config.log' for more details." >&2;}
  75200. - { (exit 77); exit 77; }; }
  75201. - else
  75202. - ac_cv_sizeof_int64_t=0
  75203. - fi ;;
  75204. -esac
  75205. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  75206. +rm -f conftest.err conftest.$ac_ext
  75207. +if $ac_preproc_ok; then :
  75208. + break
  75209. +fi
  75210. +
  75211. + done
  75212. + ac_cv_prog_CPP=$CPP
  75213. +
  75214. +fi
  75215. + CPP=$ac_cv_prog_CPP
  75216. else
  75217. - cat >conftest.$ac_ext <<_ACEOF
  75218. -/* confdefs.h. */
  75219. -_ACEOF
  75220. -cat confdefs.h >>conftest.$ac_ext
  75221. -cat >>conftest.$ac_ext <<_ACEOF
  75222. + ac_cv_prog_CPP=$CPP
  75223. +fi
  75224. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  75225. +$as_echo "$CPP" >&6; }
  75226. +ac_preproc_ok=false
  75227. +for ac_c_preproc_warn_flag in '' yes
  75228. +do
  75229. + # Use a header file that comes with gcc, so configuring glibc
  75230. + # with a fresh cross-compiler works.
  75231. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  75232. + # <limits.h> exists even on freestanding compilers.
  75233. + # On the NeXT, cc -E runs the code through the compiler's parser,
  75234. + # not just through cpp. "Syntax error" is here to catch this case.
  75235. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  75236. /* end confdefs.h. */
  75237. +#ifdef __STDC__
  75238. +# include <limits.h>
  75239. +#else
  75240. +# include <assert.h>
  75241. +#endif
  75242. + Syntax error
  75243. +_ACEOF
  75244. +if ac_fn_c_try_cpp "$LINENO"; then :
  75245. -#include <stdio.h>
  75246. +else
  75247. + # Broken: fails on valid input.
  75248. +continue
  75249. +fi
  75250. +rm -f conftest.err conftest.$ac_ext
  75251. -/* What a mess.. many systems have added the (now standard) bit types
  75252. - * in their own ways, so we need to scan a wide variety of headers to
  75253. - * find them..
  75254. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  75255. - */
  75256. -#if HAVE_SYS_TYPES_H
  75257. -#include <sys/types.h>
  75258. -#endif
  75259. -#if STDC_HEADERS
  75260. -#include <stdlib.h>
  75261. -#include <stddef.h>
  75262. -#endif
  75263. -#if HAVE_INTTYPES_H
  75264. -#include <inttypes.h>
  75265. -#endif
  75266. -#if HAVE_SYS_BITYPES_H
  75267. -#include <sys/bitypes.h>
  75268. -#endif
  75269. -#if HAVE_SYS_SELECT_H
  75270. -#include <sys/select.h>
  75271. -#endif
  75272. -#if HAVE_NETINET_IN_SYSTM_H
  75273. -#include <netinet/in_systm.h>
  75274. -#endif
  75275. + # OK, works on sane cases. Now check whether nonexistent headers
  75276. + # can be detected and how.
  75277. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  75278. +/* end confdefs.h. */
  75279. +#include <ac_nonexistent.h>
  75280. +_ACEOF
  75281. +if ac_fn_c_try_cpp "$LINENO"; then :
  75282. + # Broken: success on invalid input.
  75283. +continue
  75284. +else
  75285. + # Passes both tests.
  75286. +ac_preproc_ok=:
  75287. +break
  75288. +fi
  75289. +rm -f conftest.err conftest.$ac_ext
  75290. +done
  75291. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  75292. +rm -f conftest.err conftest.$ac_ext
  75293. +if $ac_preproc_ok; then :
  75294. +else
  75295. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  75296. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  75297. +as_fn_error "C preprocessor \"$CPP\" fails sanity check
  75298. +See \`config.log' for more details." "$LINENO" 5; }
  75299. +fi
  75300. -static long int longval () { return (long int) (sizeof (int64_t)); }
  75301. -static unsigned long int ulongval () { return (long int) (sizeof (int64_t)); }
  75302. -#include <stdio.h>
  75303. -#include <stdlib.h>
  75304. -int
  75305. -main ()
  75306. -{
  75307. +ac_ext=c
  75308. +ac_cpp='$CPP $CPPFLAGS'
  75309. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  75310. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  75311. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  75312. - FILE *f = fopen ("conftest.val", "w");
  75313. - if (! f)
  75314. - return 1;
  75315. - if (((long int) (sizeof (int64_t))) < 0)
  75316. - {
  75317. - long int i = longval ();
  75318. - if (i != ((long int) (sizeof (int64_t))))
  75319. - return 1;
  75320. - fprintf (f, "%ld", i);
  75321. - }
  75322. - else
  75323. - {
  75324. - unsigned long int i = ulongval ();
  75325. - if (i != ((long int) (sizeof (int64_t))))
  75326. - return 1;
  75327. - fprintf (f, "%lu", i);
  75328. - }
  75329. - /* Do not output a trailing newline, as this causes \r\n confusion
  75330. - on some platforms. */
  75331. - return ferror (f) || fclose (f) != 0;
  75332. - ;
  75333. - return 0;
  75334. -}
  75335. -_ACEOF
  75336. -rm -f conftest$ac_exeext
  75337. -if { (ac_try="$ac_link"
  75338. -case "(($ac_try" in
  75339. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  75340. - *) ac_try_echo=$ac_try;;
  75341. -esac
  75342. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  75343. -$as_echo "$ac_try_echo") >&5
  75344. - (eval "$ac_link") 2>&5
  75345. - ac_status=$?
  75346. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  75347. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  75348. - { (case "(($ac_try" in
  75349. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  75350. - *) ac_try_echo=$ac_try;;
  75351. -esac
  75352. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  75353. -$as_echo "$ac_try_echo") >&5
  75354. - (eval "$ac_try") 2>&5
  75355. - ac_status=$?
  75356. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  75357. - (exit $ac_status); }; }; then
  75358. - ac_cv_sizeof_int64_t=`cat conftest.val`
  75359. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  75360. +$as_echo_n "checking whether ln -s works... " >&6; }
  75361. +LN_S=$as_ln_s
  75362. +if test "$LN_S" = "ln -s"; then
  75363. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  75364. +$as_echo "yes" >&6; }
  75365. +else
  75366. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  75367. +$as_echo "no, using $LN_S" >&6; }
  75368. +fi
  75369. +
  75370. +# Extract the first word of "sh", so it can be a program name with args.
  75371. +set dummy sh; ac_word=$2
  75372. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  75373. +$as_echo_n "checking for $ac_word... " >&6; }
  75374. +if test "${ac_cv_path_SH+set}" = set; then :
  75375. + $as_echo_n "(cached) " >&6
  75376. else
  75377. - $as_echo "$as_me: program exited with status $ac_status" >&5
  75378. -$as_echo "$as_me: failed program was:" >&5
  75379. -sed 's/^/| /' conftest.$ac_ext >&5
  75380. + case $SH in
  75381. + [\\/]* | ?:[\\/]*)
  75382. + ac_cv_path_SH="$SH" # Let the user override the test with a path.
  75383. + ;;
  75384. + *)
  75385. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  75386. +for as_dir in $PATH
  75387. +do
  75388. + IFS=$as_save_IFS
  75389. + test -z "$as_dir" && as_dir=.
  75390. + for ac_exec_ext in '' $ac_executable_extensions; do
  75391. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  75392. + ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
  75393. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  75394. + break 2
  75395. + fi
  75396. +done
  75397. + done
  75398. +IFS=$as_save_IFS
  75399. -( exit $ac_status )
  75400. -if test "$ac_cv_type_int64_t" = yes; then
  75401. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int64_t)
  75402. -See \`config.log' for more details." >&5
  75403. -$as_echo "$as_me: error: cannot compute sizeof (int64_t)
  75404. -See \`config.log' for more details." >&2;}
  75405. - { (exit 77); exit 77; }; }
  75406. - else
  75407. - ac_cv_sizeof_int64_t=0
  75408. - fi
  75409. -fi
  75410. -rm -rf conftest.dSYM
  75411. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  75412. + test -z "$ac_cv_path_SH" && ac_cv_path_SH="/bin/sh"
  75413. + ;;
  75414. +esac
  75415. fi
  75416. -rm -f conftest.val
  75417. +SH=$ac_cv_path_SH
  75418. +if test -n "$SH"; then
  75419. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SH" >&5
  75420. +$as_echo "$SH" >&6; }
  75421. +else
  75422. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  75423. +$as_echo "no" >&6; }
  75424. fi
  75425. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int64_t" >&5
  75426. -$as_echo "$ac_cv_sizeof_int64_t" >&6; }
  75427. -
  75428. -cat >>confdefs.h <<_ACEOF
  75429. -#define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
  75430. -_ACEOF
  75431. -
  75432. +# Extract the first word of "false", so it can be a program name with args.
  75433. +set dummy false; ac_word=$2
  75434. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  75435. +$as_echo_n "checking for $ac_word... " >&6; }
  75436. +if test "${ac_cv_path_FALSE+set}" = set; then :
  75437. + $as_echo_n "(cached) " >&6
  75438. +else
  75439. + case $FALSE in
  75440. + [\\/]* | ?:[\\/]*)
  75441. + ac_cv_path_FALSE="$FALSE" # Let the user override the test with a path.
  75442. + ;;
  75443. + *)
  75444. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  75445. +for as_dir in $PATH
  75446. +do
  75447. + IFS=$as_save_IFS
  75448. + test -z "$as_dir" && as_dir=.
  75449. + for ac_exec_ext in '' $ac_executable_extensions; do
  75450. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  75451. + ac_cv_path_FALSE="$as_dir/$ac_word$ac_exec_ext"
  75452. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  75453. + break 2
  75454. + fi
  75455. +done
  75456. + done
  75457. +IFS=$as_save_IFS
  75458. + test -z "$ac_cv_path_FALSE" && ac_cv_path_FALSE="/usr/bin/false"
  75459. + ;;
  75460. +esac
  75461. +fi
  75462. +FALSE=$ac_cv_path_FALSE
  75463. +if test -n "$FALSE"; then
  75464. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FALSE" >&5
  75465. +$as_echo "$FALSE" >&6; }
  75466. +else
  75467. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  75468. +$as_echo "no" >&6; }
  75469. +fi
  75470. -cat >>confdefs.h <<\_ACEOF
  75471. -#define HAVE_INT64_T 1
  75472. -_ACEOF
  75473. +# Extract the first word of "true", so it can be a program name with args.
  75474. +set dummy true; ac_word=$2
  75475. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  75476. +$as_echo_n "checking for $ac_word... " >&6; }
  75477. +if test "${ac_cv_path_TRUE+set}" = set; then :
  75478. + $as_echo_n "(cached) " >&6
  75479. +else
  75480. + case $TRUE in
  75481. + [\\/]* | ?:[\\/]*)
  75482. + ac_cv_path_TRUE="$TRUE" # Let the user override the test with a path.
  75483. + ;;
  75484. + *)
  75485. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  75486. +for as_dir in $PATH
  75487. +do
  75488. + IFS=$as_save_IFS
  75489. + test -z "$as_dir" && as_dir=.
  75490. + for ac_exec_ext in '' $ac_executable_extensions; do
  75491. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  75492. + ac_cv_path_TRUE="$as_dir/$ac_word$ac_exec_ext"
  75493. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  75494. + break 2
  75495. + fi
  75496. +done
  75497. + done
  75498. +IFS=$as_save_IFS
  75499. + test -z "$ac_cv_path_TRUE" && ac_cv_path_TRUE="/usr/bin/true"
  75500. + ;;
  75501. +esac
  75502. +fi
  75503. +TRUE=$ac_cv_path_TRUE
  75504. +if test -n "$TRUE"; then
  75505. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRUE" >&5
  75506. +$as_echo "$TRUE" >&6; }
  75507. +else
  75508. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  75509. +$as_echo "no" >&6; }
  75510. fi
  75511. -{ $as_echo "$as_me:$LINENO: checking for __int64" >&5
  75512. -$as_echo_n "checking for __int64... " >&6; }
  75513. -if test "${ac_cv_type___int64+set}" = set; then
  75514. +# Extract the first word of "mv", so it can be a program name with args.
  75515. +set dummy mv; ac_word=$2
  75516. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  75517. +$as_echo_n "checking for $ac_word... " >&6; }
  75518. +if test "${ac_cv_path_MV+set}" = set; then :
  75519. $as_echo_n "(cached) " >&6
  75520. else
  75521. - ac_cv_type___int64=no
  75522. -cat >conftest.$ac_ext <<_ACEOF
  75523. -/* confdefs.h. */
  75524. -_ACEOF
  75525. -cat confdefs.h >>conftest.$ac_ext
  75526. -cat >>conftest.$ac_ext <<_ACEOF
  75527. -/* end confdefs.h. */
  75528. + case $MV in
  75529. + [\\/]* | ?:[\\/]*)
  75530. + ac_cv_path_MV="$MV" # Let the user override the test with a path.
  75531. + ;;
  75532. + *)
  75533. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  75534. +for as_dir in $PATH
  75535. +do
  75536. + IFS=$as_save_IFS
  75537. + test -z "$as_dir" && as_dir=.
  75538. + for ac_exec_ext in '' $ac_executable_extensions; do
  75539. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  75540. + ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
  75541. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  75542. + break 2
  75543. + fi
  75544. +done
  75545. + done
  75546. +IFS=$as_save_IFS
  75547. -/* What a mess.. many systems have added the (now standard) bit types
  75548. - * in their own ways, so we need to scan a wide variety of headers to
  75549. - * find them..
  75550. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  75551. - */
  75552. -#if HAVE_SYS_TYPES_H
  75553. -#include <sys/types.h>
  75554. -#endif
  75555. -#if STDC_HEADERS
  75556. -#include <stdlib.h>
  75557. -#include <stddef.h>
  75558. -#endif
  75559. -#if HAVE_INTTYPES_H
  75560. -#include <inttypes.h>
  75561. -#endif
  75562. -#if HAVE_SYS_BITYPES_H
  75563. -#include <sys/bitypes.h>
  75564. -#endif
  75565. -#if HAVE_SYS_SELECT_H
  75566. -#include <sys/select.h>
  75567. -#endif
  75568. -#if HAVE_NETINET_IN_SYSTM_H
  75569. -#include <netinet/in_systm.h>
  75570. -#endif
  75571. + test -z "$ac_cv_path_MV" && ac_cv_path_MV="$FALSE"
  75572. + ;;
  75573. +esac
  75574. +fi
  75575. +MV=$ac_cv_path_MV
  75576. +if test -n "$MV"; then
  75577. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
  75578. +$as_echo "$MV" >&6; }
  75579. +else
  75580. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  75581. +$as_echo "no" >&6; }
  75582. +fi
  75583. -int
  75584. -main ()
  75585. -{
  75586. -if (sizeof (__int64))
  75587. - return 0;
  75588. - ;
  75589. - return 0;
  75590. -}
  75591. -_ACEOF
  75592. -rm -f conftest.$ac_objext
  75593. -if { (ac_try="$ac_compile"
  75594. -case "(($ac_try" in
  75595. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  75596. - *) ac_try_echo=$ac_try;;
  75597. +# Extract the first word of "mkdir", so it can be a program name with args.
  75598. +set dummy mkdir; ac_word=$2
  75599. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  75600. +$as_echo_n "checking for $ac_word... " >&6; }
  75601. +if test "${ac_cv_path_MKDIR+set}" = set; then :
  75602. + $as_echo_n "(cached) " >&6
  75603. +else
  75604. + case $MKDIR in
  75605. + [\\/]* | ?:[\\/]*)
  75606. + ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
  75607. + ;;
  75608. + *)
  75609. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  75610. +for as_dir in $PATH
  75611. +do
  75612. + IFS=$as_save_IFS
  75613. + test -z "$as_dir" && as_dir=.
  75614. + for ac_exec_ext in '' $ac_executable_extensions; do
  75615. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  75616. + ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
  75617. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  75618. + break 2
  75619. + fi
  75620. +done
  75621. + done
  75622. +IFS=$as_save_IFS
  75623. +
  75624. + test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="$FALSE"
  75625. + ;;
  75626. esac
  75627. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  75628. -$as_echo "$ac_try_echo") >&5
  75629. - (eval "$ac_compile") 2>conftest.er1
  75630. - ac_status=$?
  75631. - grep -v '^ *+' conftest.er1 >conftest.err
  75632. - rm -f conftest.er1
  75633. - cat conftest.err >&5
  75634. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  75635. - (exit $ac_status); } && {
  75636. - test -z "$ac_c_werror_flag" ||
  75637. - test ! -s conftest.err
  75638. - } && test -s conftest.$ac_objext; then
  75639. - cat >conftest.$ac_ext <<_ACEOF
  75640. -/* confdefs.h. */
  75641. -_ACEOF
  75642. -cat confdefs.h >>conftest.$ac_ext
  75643. -cat >>conftest.$ac_ext <<_ACEOF
  75644. -/* end confdefs.h. */
  75645. +fi
  75646. +MKDIR=$ac_cv_path_MKDIR
  75647. +if test -n "$MKDIR"; then
  75648. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
  75649. +$as_echo "$MKDIR" >&6; }
  75650. +else
  75651. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  75652. +$as_echo "no" >&6; }
  75653. +fi
  75654. -/* What a mess.. many systems have added the (now standard) bit types
  75655. - * in their own ways, so we need to scan a wide variety of headers to
  75656. - * find them..
  75657. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  75658. - */
  75659. -#if HAVE_SYS_TYPES_H
  75660. -#include <sys/types.h>
  75661. -#endif
  75662. -#if STDC_HEADERS
  75663. -#include <stdlib.h>
  75664. -#include <stddef.h>
  75665. -#endif
  75666. -#if HAVE_INTTYPES_H
  75667. -#include <inttypes.h>
  75668. -#endif
  75669. -#if HAVE_SYS_BITYPES_H
  75670. -#include <sys/bitypes.h>
  75671. -#endif
  75672. -#if HAVE_SYS_SELECT_H
  75673. -#include <sys/select.h>
  75674. -#endif
  75675. -#if HAVE_NETINET_IN_SYSTM_H
  75676. -#include <netinet/in_systm.h>
  75677. -#endif
  75678. +# Extract the first word of "ln", so it can be a program name with args.
  75679. +set dummy ln; ac_word=$2
  75680. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  75681. +$as_echo_n "checking for $ac_word... " >&6; }
  75682. +if test "${ac_cv_path_LN+set}" = set; then :
  75683. + $as_echo_n "(cached) " >&6
  75684. +else
  75685. + case $LN in
  75686. + [\\/]* | ?:[\\/]*)
  75687. + ac_cv_path_LN="$LN" # Let the user override the test with a path.
  75688. + ;;
  75689. + *)
  75690. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  75691. +for as_dir in $PATH
  75692. +do
  75693. + IFS=$as_save_IFS
  75694. + test -z "$as_dir" && as_dir=.
  75695. + for ac_exec_ext in '' $ac_executable_extensions; do
  75696. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  75697. + ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
  75698. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  75699. + break 2
  75700. + fi
  75701. +done
  75702. + done
  75703. +IFS=$as_save_IFS
  75704. -int
  75705. -main ()
  75706. -{
  75707. -if (sizeof ((__int64)))
  75708. - return 0;
  75709. - ;
  75710. - return 0;
  75711. -}
  75712. -_ACEOF
  75713. -rm -f conftest.$ac_objext
  75714. -if { (ac_try="$ac_compile"
  75715. -case "(($ac_try" in
  75716. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  75717. - *) ac_try_echo=$ac_try;;
  75718. + test -z "$ac_cv_path_LN" && ac_cv_path_LN="cp"
  75719. + ;;
  75720. esac
  75721. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  75722. -$as_echo "$ac_try_echo") >&5
  75723. - (eval "$ac_compile") 2>conftest.er1
  75724. - ac_status=$?
  75725. - grep -v '^ *+' conftest.er1 >conftest.err
  75726. - rm -f conftest.er1
  75727. - cat conftest.err >&5
  75728. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  75729. - (exit $ac_status); } && {
  75730. - test -z "$ac_c_werror_flag" ||
  75731. - test ! -s conftest.err
  75732. - } && test -s conftest.$ac_objext; then
  75733. - :
  75734. +fi
  75735. +LN=$ac_cv_path_LN
  75736. +if test -n "$LN"; then
  75737. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
  75738. +$as_echo "$LN" >&6; }
  75739. else
  75740. - $as_echo "$as_me: failed program was:" >&5
  75741. -sed 's/^/| /' conftest.$ac_ext >&5
  75742. -
  75743. - ac_cv_type___int64=yes
  75744. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  75745. +$as_echo "no" >&6; }
  75746. fi
  75747. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  75748. -else
  75749. - $as_echo "$as_me: failed program was:" >&5
  75750. -sed 's/^/| /' conftest.$ac_ext >&5
  75751. +# Extract the first word of "perl", so it can be a program name with args.
  75752. +set dummy perl; ac_word=$2
  75753. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  75754. +$as_echo_n "checking for $ac_word... " >&6; }
  75755. +if test "${ac_cv_path_PERL+set}" = set; then :
  75756. + $as_echo_n "(cached) " >&6
  75757. +else
  75758. + case $PERL in
  75759. + [\\/]* | ?:[\\/]*)
  75760. + ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
  75761. + ;;
  75762. + *)
  75763. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  75764. +for as_dir in $PATH
  75765. +do
  75766. + IFS=$as_save_IFS
  75767. + test -z "$as_dir" && as_dir=.
  75768. + for ac_exec_ext in '' $ac_executable_extensions; do
  75769. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  75770. + ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
  75771. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  75772. + break 2
  75773. + fi
  75774. +done
  75775. + done
  75776. +IFS=$as_save_IFS
  75777. + test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="none"
  75778. + ;;
  75779. +esac
  75780. +fi
  75781. +PERL=$ac_cv_path_PERL
  75782. +if test -n "$PERL"; then
  75783. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
  75784. +$as_echo "$PERL" >&6; }
  75785. +else
  75786. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  75787. +$as_echo "no" >&6; }
  75788. fi
  75789. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  75790. +
  75791. +# Extract the first word of "ar", so it can be a program name with args.
  75792. +set dummy ar; ac_word=$2
  75793. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  75794. +$as_echo_n "checking for $ac_word... " >&6; }
  75795. +if test "${ac_cv_path_AR+set}" = set; then :
  75796. + $as_echo_n "(cached) " >&6
  75797. +else
  75798. + case $AR in
  75799. + [\\/]* | ?:[\\/]*)
  75800. + ac_cv_path_AR="$AR" # Let the user override the test with a path.
  75801. + ;;
  75802. + *)
  75803. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  75804. +for as_dir in $PATH
  75805. +do
  75806. + IFS=$as_save_IFS
  75807. + test -z "$as_dir" && as_dir=.
  75808. + for ac_exec_ext in '' $ac_executable_extensions; do
  75809. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  75810. + ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
  75811. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  75812. + break 2
  75813. + fi
  75814. +done
  75815. + done
  75816. +IFS=$as_save_IFS
  75817. +
  75818. + test -z "$ac_cv_path_AR" && ac_cv_path_AR="$FALSE"
  75819. + ;;
  75820. +esac
  75821. +fi
  75822. +AR=$ac_cv_path_AR
  75823. +if test -n "$AR"; then
  75824. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  75825. +$as_echo "$AR" >&6; }
  75826. +else
  75827. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  75828. +$as_echo "no" >&6; }
  75829. fi
  75830. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type___int64" >&5
  75831. -$as_echo "$ac_cv_type___int64" >&6; }
  75832. -if test $ac_cv_type___int64 = yes; then
  75833. - # The cast to long int works around a bug in the HP C Compiler
  75834. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  75835. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  75836. -# This bug is HP SR number 8606223364.
  75837. -{ $as_echo "$as_me:$LINENO: checking size of __int64" >&5
  75838. -$as_echo_n "checking size of __int64... " >&6; }
  75839. -if test "${ac_cv_sizeof___int64+set}" = set; then
  75840. +
  75841. +
  75842. +# Extract the first word of "rm", so it can be a program name with args.
  75843. +set dummy rm; ac_word=$2
  75844. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  75845. +$as_echo_n "checking for $ac_word... " >&6; }
  75846. +if test "${ac_cv_path_RM+set}" = set; then :
  75847. $as_echo_n "(cached) " >&6
  75848. else
  75849. - if test "$cross_compiling" = yes; then
  75850. - # Depending upon the size, compute the lo and hi bounds.
  75851. -cat >conftest.$ac_ext <<_ACEOF
  75852. -/* confdefs.h. */
  75853. -_ACEOF
  75854. -cat confdefs.h >>conftest.$ac_ext
  75855. -cat >>conftest.$ac_ext <<_ACEOF
  75856. -/* end confdefs.h. */
  75857. + case $RM in
  75858. + [\\/]* | ?:[\\/]*)
  75859. + ac_cv_path_RM="$RM" # Let the user override the test with a path.
  75860. + ;;
  75861. + *)
  75862. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  75863. +for as_dir in $PATH
  75864. +do
  75865. + IFS=$as_save_IFS
  75866. + test -z "$as_dir" && as_dir=.
  75867. + for ac_exec_ext in '' $ac_executable_extensions; do
  75868. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  75869. + ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
  75870. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  75871. + break 2
  75872. + fi
  75873. +done
  75874. + done
  75875. +IFS=$as_save_IFS
  75876. -#include <stdio.h>
  75877. + test -z "$ac_cv_path_RM" && ac_cv_path_RM="$FALSE"
  75878. + ;;
  75879. +esac
  75880. +fi
  75881. +RM=$ac_cv_path_RM
  75882. +if test -n "$RM"; then
  75883. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
  75884. +$as_echo "$RM" >&6; }
  75885. +else
  75886. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  75887. +$as_echo "no" >&6; }
  75888. +fi
  75889. -/* What a mess.. many systems have added the (now standard) bit types
  75890. - * in their own ways, so we need to scan a wide variety of headers to
  75891. - * find them..
  75892. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  75893. - */
  75894. -#if HAVE_SYS_TYPES_H
  75895. -#include <sys/types.h>
  75896. -#endif
  75897. -#if STDC_HEADERS
  75898. -#include <stdlib.h>
  75899. -#include <stddef.h>
  75900. -#endif
  75901. -#if HAVE_INTTYPES_H
  75902. -#include <inttypes.h>
  75903. -#endif
  75904. -#if HAVE_SYS_BITYPES_H
  75905. -#include <sys/bitypes.h>
  75906. -#endif
  75907. -#if HAVE_SYS_SELECT_H
  75908. -#include <sys/select.h>
  75909. -#endif
  75910. -#if HAVE_NETINET_IN_SYSTM_H
  75911. -#include <netinet/in_systm.h>
  75912. -#endif
  75913. +RM="$RM -f"
  75914. +if test "$ac_cv_path_PERL" = "none"; then
  75915. + echo "Perl is required to compile Squid"
  75916. + echo "Please install Perl and then re-run configure"
  75917. + exit 1
  75918. +fi
  75919. -int
  75920. -main ()
  75921. -{
  75922. -static int test_array [1 - 2 * !(((long int) (sizeof (__int64))) >= 0)];
  75923. -test_array [0] = 0
  75924. +case "$host" in
  75925. + *-hp-hpux*)
  75926. + echo "Disabling 'ranlib' for HP-UX..."
  75927. + RANLIB=":"
  75928. + ;;
  75929. +esac
  75930. - ;
  75931. - return 0;
  75932. -}
  75933. -_ACEOF
  75934. -rm -f conftest.$ac_objext
  75935. -if { (ac_try="$ac_compile"
  75936. -case "(($ac_try" in
  75937. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  75938. - *) ac_try_echo=$ac_try;;
  75939. +AR_R="$AR r"
  75940. +case "$host" in
  75941. + *-next-nextstep3)
  75942. + AR="libtool -o"
  75943. + ;;
  75944. esac
  75945. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  75946. -$as_echo "$ac_try_echo") >&5
  75947. - (eval "$ac_compile") 2>conftest.er1
  75948. - ac_status=$?
  75949. - grep -v '^ *+' conftest.er1 >conftest.err
  75950. - rm -f conftest.er1
  75951. - cat conftest.err >&5
  75952. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  75953. - (exit $ac_status); } && {
  75954. - test -z "$ac_c_werror_flag" ||
  75955. - test ! -s conftest.err
  75956. - } && test -s conftest.$ac_objext; then
  75957. - ac_lo=0 ac_mid=0
  75958. - while :; do
  75959. - cat >conftest.$ac_ext <<_ACEOF
  75960. -/* confdefs.h. */
  75961. -_ACEOF
  75962. -cat confdefs.h >>conftest.$ac_ext
  75963. -cat >>conftest.$ac_ext <<_ACEOF
  75964. -/* end confdefs.h. */
  75965. -#include <stdio.h>
  75966. -/* What a mess.. many systems have added the (now standard) bit types
  75967. - * in their own ways, so we need to scan a wide variety of headers to
  75968. - * find them..
  75969. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  75970. - */
  75971. -#if HAVE_SYS_TYPES_H
  75972. +ac_header_dirent=no
  75973. +for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
  75974. + as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
  75975. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
  75976. +$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
  75977. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
  75978. + $as_echo_n "(cached) " >&6
  75979. +else
  75980. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  75981. +/* end confdefs.h. */
  75982. #include <sys/types.h>
  75983. -#endif
  75984. -#if STDC_HEADERS
  75985. -#include <stdlib.h>
  75986. -#include <stddef.h>
  75987. -#endif
  75988. -#if HAVE_INTTYPES_H
  75989. -#include <inttypes.h>
  75990. -#endif
  75991. -#if HAVE_SYS_BITYPES_H
  75992. -#include <sys/bitypes.h>
  75993. -#endif
  75994. -#if HAVE_SYS_SELECT_H
  75995. -#include <sys/select.h>
  75996. -#endif
  75997. -#if HAVE_NETINET_IN_SYSTM_H
  75998. -#include <netinet/in_systm.h>
  75999. -#endif
  76000. -
  76001. -
  76002. +#include <$ac_hdr>
  76003. int
  76004. main ()
  76005. {
  76006. -static int test_array [1 - 2 * !(((long int) (sizeof (__int64))) <= $ac_mid)];
  76007. -test_array [0] = 0
  76008. -
  76009. - ;
  76010. - return 0;
  76011. -}
  76012. -_ACEOF
  76013. -rm -f conftest.$ac_objext
  76014. -if { (ac_try="$ac_compile"
  76015. -case "(($ac_try" in
  76016. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  76017. - *) ac_try_echo=$ac_try;;
  76018. -esac
  76019. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  76020. -$as_echo "$ac_try_echo") >&5
  76021. - (eval "$ac_compile") 2>conftest.er1
  76022. - ac_status=$?
  76023. - grep -v '^ *+' conftest.er1 >conftest.err
  76024. - rm -f conftest.er1
  76025. - cat conftest.err >&5
  76026. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  76027. - (exit $ac_status); } && {
  76028. - test -z "$ac_c_werror_flag" ||
  76029. - test ! -s conftest.err
  76030. - } && test -s conftest.$ac_objext; then
  76031. - ac_hi=$ac_mid; break
  76032. +if ((DIR *) 0)
  76033. +return 0;
  76034. + ;
  76035. + return 0;
  76036. +}
  76037. +_ACEOF
  76038. +if ac_fn_c_try_compile "$LINENO"; then :
  76039. + eval "$as_ac_Header=yes"
  76040. else
  76041. - $as_echo "$as_me: failed program was:" >&5
  76042. -sed 's/^/| /' conftest.$ac_ext >&5
  76043. + eval "$as_ac_Header=no"
  76044. +fi
  76045. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  76046. +fi
  76047. +eval ac_res=\$$as_ac_Header
  76048. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  76049. +$as_echo "$ac_res" >&6; }
  76050. +eval as_val=\$$as_ac_Header
  76051. + if test "x$as_val" = x""yes; then :
  76052. + cat >>confdefs.h <<_ACEOF
  76053. +#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
  76054. +_ACEOF
  76055. - ac_lo=`expr $ac_mid + 1`
  76056. - if test $ac_lo -le $ac_mid; then
  76057. - ac_lo= ac_hi=
  76058. - break
  76059. - fi
  76060. - ac_mid=`expr 2 '*' $ac_mid + 1`
  76061. +ac_header_dirent=$ac_hdr; break
  76062. fi
  76063. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  76064. - done
  76065. +done
  76066. +# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  76067. +if test $ac_header_dirent = dirent.h; then
  76068. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
  76069. +$as_echo_n "checking for library containing opendir... " >&6; }
  76070. +if test "${ac_cv_search_opendir+set}" = set; then :
  76071. + $as_echo_n "(cached) " >&6
  76072. else
  76073. - $as_echo "$as_me: failed program was:" >&5
  76074. -sed 's/^/| /' conftest.$ac_ext >&5
  76075. -
  76076. - cat >conftest.$ac_ext <<_ACEOF
  76077. -/* confdefs.h. */
  76078. -_ACEOF
  76079. -cat confdefs.h >>conftest.$ac_ext
  76080. -cat >>conftest.$ac_ext <<_ACEOF
  76081. + ac_func_search_save_LIBS=$LIBS
  76082. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  76083. /* end confdefs.h. */
  76084. -#include <stdio.h>
  76085. -
  76086. -/* What a mess.. many systems have added the (now standard) bit types
  76087. - * in their own ways, so we need to scan a wide variety of headers to
  76088. - * find them..
  76089. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  76090. - */
  76091. -#if HAVE_SYS_TYPES_H
  76092. -#include <sys/types.h>
  76093. -#endif
  76094. -#if STDC_HEADERS
  76095. -#include <stdlib.h>
  76096. -#include <stddef.h>
  76097. -#endif
  76098. -#if HAVE_INTTYPES_H
  76099. -#include <inttypes.h>
  76100. -#endif
  76101. -#if HAVE_SYS_BITYPES_H
  76102. -#include <sys/bitypes.h>
  76103. -#endif
  76104. -#if HAVE_SYS_SELECT_H
  76105. -#include <sys/select.h>
  76106. -#endif
  76107. -#if HAVE_NETINET_IN_SYSTM_H
  76108. -#include <netinet/in_systm.h>
  76109. +/* Override any GCC internal prototype to avoid an error.
  76110. + Use char because int might match the return type of a GCC
  76111. + builtin and then its argument prototype would still apply. */
  76112. +#ifdef __cplusplus
  76113. +extern "C"
  76114. #endif
  76115. -
  76116. -
  76117. -
  76118. +char opendir ();
  76119. int
  76120. main ()
  76121. {
  76122. -static int test_array [1 - 2 * !(((long int) (sizeof (__int64))) < 0)];
  76123. -test_array [0] = 0
  76124. -
  76125. +return opendir ();
  76126. ;
  76127. return 0;
  76128. }
  76129. _ACEOF
  76130. -rm -f conftest.$ac_objext
  76131. -if { (ac_try="$ac_compile"
  76132. -case "(($ac_try" in
  76133. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  76134. - *) ac_try_echo=$ac_try;;
  76135. -esac
  76136. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  76137. -$as_echo "$ac_try_echo") >&5
  76138. - (eval "$ac_compile") 2>conftest.er1
  76139. - ac_status=$?
  76140. - grep -v '^ *+' conftest.er1 >conftest.err
  76141. - rm -f conftest.er1
  76142. - cat conftest.err >&5
  76143. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  76144. - (exit $ac_status); } && {
  76145. - test -z "$ac_c_werror_flag" ||
  76146. - test ! -s conftest.err
  76147. - } && test -s conftest.$ac_objext; then
  76148. - ac_hi=-1 ac_mid=-1
  76149. - while :; do
  76150. - cat >conftest.$ac_ext <<_ACEOF
  76151. -/* confdefs.h. */
  76152. -_ACEOF
  76153. -cat confdefs.h >>conftest.$ac_ext
  76154. -cat >>conftest.$ac_ext <<_ACEOF
  76155. -/* end confdefs.h. */
  76156. -
  76157. -#include <stdio.h>
  76158. +for ac_lib in '' dir; do
  76159. + if test -z "$ac_lib"; then
  76160. + ac_res="none required"
  76161. + else
  76162. + ac_res=-l$ac_lib
  76163. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  76164. + fi
  76165. + if ac_fn_c_try_link "$LINENO"; then :
  76166. + ac_cv_search_opendir=$ac_res
  76167. +fi
  76168. +rm -f core conftest.err conftest.$ac_objext \
  76169. + conftest$ac_exeext
  76170. + if test "${ac_cv_search_opendir+set}" = set; then :
  76171. + break
  76172. +fi
  76173. +done
  76174. +if test "${ac_cv_search_opendir+set}" = set; then :
  76175. -/* What a mess.. many systems have added the (now standard) bit types
  76176. - * in their own ways, so we need to scan a wide variety of headers to
  76177. - * find them..
  76178. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  76179. - */
  76180. -#if HAVE_SYS_TYPES_H
  76181. -#include <sys/types.h>
  76182. -#endif
  76183. -#if STDC_HEADERS
  76184. -#include <stdlib.h>
  76185. -#include <stddef.h>
  76186. -#endif
  76187. -#if HAVE_INTTYPES_H
  76188. -#include <inttypes.h>
  76189. -#endif
  76190. -#if HAVE_SYS_BITYPES_H
  76191. -#include <sys/bitypes.h>
  76192. -#endif
  76193. -#if HAVE_SYS_SELECT_H
  76194. -#include <sys/select.h>
  76195. -#endif
  76196. -#if HAVE_NETINET_IN_SYSTM_H
  76197. -#include <netinet/in_systm.h>
  76198. -#endif
  76199. +else
  76200. + ac_cv_search_opendir=no
  76201. +fi
  76202. +rm conftest.$ac_ext
  76203. +LIBS=$ac_func_search_save_LIBS
  76204. +fi
  76205. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
  76206. +$as_echo "$ac_cv_search_opendir" >&6; }
  76207. +ac_res=$ac_cv_search_opendir
  76208. +if test "$ac_res" != no; then :
  76209. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  76210. +fi
  76211. +else
  76212. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
  76213. +$as_echo_n "checking for library containing opendir... " >&6; }
  76214. +if test "${ac_cv_search_opendir+set}" = set; then :
  76215. + $as_echo_n "(cached) " >&6
  76216. +else
  76217. + ac_func_search_save_LIBS=$LIBS
  76218. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  76219. +/* end confdefs.h. */
  76220. +/* Override any GCC internal prototype to avoid an error.
  76221. + Use char because int might match the return type of a GCC
  76222. + builtin and then its argument prototype would still apply. */
  76223. +#ifdef __cplusplus
  76224. +extern "C"
  76225. +#endif
  76226. +char opendir ();
  76227. int
  76228. main ()
  76229. {
  76230. -static int test_array [1 - 2 * !(((long int) (sizeof (__int64))) >= $ac_mid)];
  76231. -test_array [0] = 0
  76232. -
  76233. +return opendir ();
  76234. ;
  76235. return 0;
  76236. }
  76237. _ACEOF
  76238. -rm -f conftest.$ac_objext
  76239. -if { (ac_try="$ac_compile"
  76240. -case "(($ac_try" in
  76241. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  76242. - *) ac_try_echo=$ac_try;;
  76243. -esac
  76244. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  76245. -$as_echo "$ac_try_echo") >&5
  76246. - (eval "$ac_compile") 2>conftest.er1
  76247. - ac_status=$?
  76248. - grep -v '^ *+' conftest.er1 >conftest.err
  76249. - rm -f conftest.er1
  76250. - cat conftest.err >&5
  76251. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  76252. - (exit $ac_status); } && {
  76253. - test -z "$ac_c_werror_flag" ||
  76254. - test ! -s conftest.err
  76255. - } && test -s conftest.$ac_objext; then
  76256. - ac_lo=$ac_mid; break
  76257. -else
  76258. - $as_echo "$as_me: failed program was:" >&5
  76259. -sed 's/^/| /' conftest.$ac_ext >&5
  76260. -
  76261. - ac_hi=`expr '(' $ac_mid ')' - 1`
  76262. - if test $ac_mid -le $ac_hi; then
  76263. - ac_lo= ac_hi=
  76264. - break
  76265. - fi
  76266. - ac_mid=`expr 2 '*' $ac_mid`
  76267. +for ac_lib in '' x; do
  76268. + if test -z "$ac_lib"; then
  76269. + ac_res="none required"
  76270. + else
  76271. + ac_res=-l$ac_lib
  76272. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  76273. + fi
  76274. + if ac_fn_c_try_link "$LINENO"; then :
  76275. + ac_cv_search_opendir=$ac_res
  76276. +fi
  76277. +rm -f core conftest.err conftest.$ac_objext \
  76278. + conftest$ac_exeext
  76279. + if test "${ac_cv_search_opendir+set}" = set; then :
  76280. + break
  76281. fi
  76282. +done
  76283. +if test "${ac_cv_search_opendir+set}" = set; then :
  76284. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  76285. - done
  76286. else
  76287. - $as_echo "$as_me: failed program was:" >&5
  76288. -sed 's/^/| /' conftest.$ac_ext >&5
  76289. + ac_cv_search_opendir=no
  76290. +fi
  76291. +rm conftest.$ac_ext
  76292. +LIBS=$ac_func_search_save_LIBS
  76293. +fi
  76294. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
  76295. +$as_echo "$ac_cv_search_opendir" >&6; }
  76296. +ac_res=$ac_cv_search_opendir
  76297. +if test "$ac_res" != no; then :
  76298. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  76299. - ac_lo= ac_hi=
  76300. fi
  76301. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  76302. fi
  76303. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  76304. -# Binary search between lo and hi bounds.
  76305. -while test "x$ac_lo" != "x$ac_hi"; do
  76306. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  76307. - cat >conftest.$ac_ext <<_ACEOF
  76308. -/* confdefs.h. */
  76309. -_ACEOF
  76310. -cat confdefs.h >>conftest.$ac_ext
  76311. -cat >>conftest.$ac_ext <<_ACEOF
  76312. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  76313. +$as_echo_n "checking for ANSI C header files... " >&6; }
  76314. +if test "${ac_cv_header_stdc+set}" = set; then :
  76315. + $as_echo_n "(cached) " >&6
  76316. +else
  76317. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  76318. /* end confdefs.h. */
  76319. -
  76320. -#include <stdio.h>
  76321. -
  76322. -/* What a mess.. many systems have added the (now standard) bit types
  76323. - * in their own ways, so we need to scan a wide variety of headers to
  76324. - * find them..
  76325. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  76326. - */
  76327. -#if HAVE_SYS_TYPES_H
  76328. -#include <sys/types.h>
  76329. -#endif
  76330. -#if STDC_HEADERS
  76331. #include <stdlib.h>
  76332. -#include <stddef.h>
  76333. -#endif
  76334. -#if HAVE_INTTYPES_H
  76335. -#include <inttypes.h>
  76336. -#endif
  76337. -#if HAVE_SYS_BITYPES_H
  76338. -#include <sys/bitypes.h>
  76339. -#endif
  76340. -#if HAVE_SYS_SELECT_H
  76341. -#include <sys/select.h>
  76342. -#endif
  76343. -#if HAVE_NETINET_IN_SYSTM_H
  76344. -#include <netinet/in_systm.h>
  76345. -#endif
  76346. -
  76347. -
  76348. +#include <stdarg.h>
  76349. +#include <string.h>
  76350. +#include <float.h>
  76351. int
  76352. main ()
  76353. {
  76354. -static int test_array [1 - 2 * !(((long int) (sizeof (__int64))) <= $ac_mid)];
  76355. -test_array [0] = 0
  76356. ;
  76357. return 0;
  76358. }
  76359. _ACEOF
  76360. -rm -f conftest.$ac_objext
  76361. -if { (ac_try="$ac_compile"
  76362. -case "(($ac_try" in
  76363. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  76364. - *) ac_try_echo=$ac_try;;
  76365. -esac
  76366. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  76367. -$as_echo "$ac_try_echo") >&5
  76368. - (eval "$ac_compile") 2>conftest.er1
  76369. - ac_status=$?
  76370. - grep -v '^ *+' conftest.er1 >conftest.err
  76371. - rm -f conftest.er1
  76372. - cat conftest.err >&5
  76373. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  76374. - (exit $ac_status); } && {
  76375. - test -z "$ac_c_werror_flag" ||
  76376. - test ! -s conftest.err
  76377. - } && test -s conftest.$ac_objext; then
  76378. - ac_hi=$ac_mid
  76379. +if ac_fn_c_try_compile "$LINENO"; then :
  76380. + ac_cv_header_stdc=yes
  76381. +else
  76382. + ac_cv_header_stdc=no
  76383. +fi
  76384. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  76385. +
  76386. +if test $ac_cv_header_stdc = yes; then
  76387. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  76388. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  76389. +/* end confdefs.h. */
  76390. +#include <string.h>
  76391. +
  76392. +_ACEOF
  76393. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  76394. + $EGREP "memchr" >/dev/null 2>&1; then :
  76395. +
  76396. +else
  76397. + ac_cv_header_stdc=no
  76398. +fi
  76399. +rm -f conftest*
  76400. +
  76401. +fi
  76402. +
  76403. +if test $ac_cv_header_stdc = yes; then
  76404. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  76405. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  76406. +/* end confdefs.h. */
  76407. +#include <stdlib.h>
  76408. +
  76409. +_ACEOF
  76410. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  76411. + $EGREP "free" >/dev/null 2>&1; then :
  76412. +
  76413. else
  76414. - $as_echo "$as_me: failed program was:" >&5
  76415. -sed 's/^/| /' conftest.$ac_ext >&5
  76416. + ac_cv_header_stdc=no
  76417. +fi
  76418. +rm -f conftest*
  76419. - ac_lo=`expr '(' $ac_mid ')' + 1`
  76420. fi
  76421. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  76422. -done
  76423. -case $ac_lo in
  76424. -?*) ac_cv_sizeof___int64=$ac_lo;;
  76425. -'') if test "$ac_cv_type___int64" = yes; then
  76426. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (__int64)
  76427. -See \`config.log' for more details." >&5
  76428. -$as_echo "$as_me: error: cannot compute sizeof (__int64)
  76429. -See \`config.log' for more details." >&2;}
  76430. - { (exit 77); exit 77; }; }
  76431. - else
  76432. - ac_cv_sizeof___int64=0
  76433. - fi ;;
  76434. -esac
  76435. +if test $ac_cv_header_stdc = yes; then
  76436. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  76437. + if test "$cross_compiling" = yes; then :
  76438. + :
  76439. else
  76440. - cat >conftest.$ac_ext <<_ACEOF
  76441. -/* confdefs.h. */
  76442. -_ACEOF
  76443. -cat confdefs.h >>conftest.$ac_ext
  76444. -cat >>conftest.$ac_ext <<_ACEOF
  76445. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  76446. /* end confdefs.h. */
  76447. -
  76448. -#include <stdio.h>
  76449. -
  76450. -/* What a mess.. many systems have added the (now standard) bit types
  76451. - * in their own ways, so we need to scan a wide variety of headers to
  76452. - * find them..
  76453. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  76454. - */
  76455. -#if HAVE_SYS_TYPES_H
  76456. -#include <sys/types.h>
  76457. -#endif
  76458. -#if STDC_HEADERS
  76459. +#include <ctype.h>
  76460. #include <stdlib.h>
  76461. -#include <stddef.h>
  76462. -#endif
  76463. -#if HAVE_INTTYPES_H
  76464. -#include <inttypes.h>
  76465. -#endif
  76466. -#if HAVE_SYS_BITYPES_H
  76467. -#include <sys/bitypes.h>
  76468. -#endif
  76469. -#if HAVE_SYS_SELECT_H
  76470. -#include <sys/select.h>
  76471. -#endif
  76472. -#if HAVE_NETINET_IN_SYSTM_H
  76473. -#include <netinet/in_systm.h>
  76474. +#if ((' ' & 0x0FF) == 0x020)
  76475. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  76476. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  76477. +#else
  76478. +# define ISLOWER(c) \
  76479. + (('a' <= (c) && (c) <= 'i') \
  76480. + || ('j' <= (c) && (c) <= 'r') \
  76481. + || ('s' <= (c) && (c) <= 'z'))
  76482. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  76483. #endif
  76484. -
  76485. -
  76486. -static long int longval () { return (long int) (sizeof (__int64)); }
  76487. -static unsigned long int ulongval () { return (long int) (sizeof (__int64)); }
  76488. -#include <stdio.h>
  76489. -#include <stdlib.h>
  76490. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  76491. int
  76492. main ()
  76493. {
  76494. -
  76495. - FILE *f = fopen ("conftest.val", "w");
  76496. - if (! f)
  76497. - return 1;
  76498. - if (((long int) (sizeof (__int64))) < 0)
  76499. - {
  76500. - long int i = longval ();
  76501. - if (i != ((long int) (sizeof (__int64))))
  76502. - return 1;
  76503. - fprintf (f, "%ld", i);
  76504. - }
  76505. - else
  76506. - {
  76507. - unsigned long int i = ulongval ();
  76508. - if (i != ((long int) (sizeof (__int64))))
  76509. - return 1;
  76510. - fprintf (f, "%lu", i);
  76511. - }
  76512. - /* Do not output a trailing newline, as this causes \r\n confusion
  76513. - on some platforms. */
  76514. - return ferror (f) || fclose (f) != 0;
  76515. -
  76516. - ;
  76517. + int i;
  76518. + for (i = 0; i < 256; i++)
  76519. + if (XOR (islower (i), ISLOWER (i))
  76520. + || toupper (i) != TOUPPER (i))
  76521. + return 2;
  76522. return 0;
  76523. }
  76524. _ACEOF
  76525. -rm -f conftest$ac_exeext
  76526. -if { (ac_try="$ac_link"
  76527. -case "(($ac_try" in
  76528. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  76529. - *) ac_try_echo=$ac_try;;
  76530. -esac
  76531. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  76532. -$as_echo "$ac_try_echo") >&5
  76533. - (eval "$ac_link") 2>&5
  76534. - ac_status=$?
  76535. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  76536. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  76537. - { (case "(($ac_try" in
  76538. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  76539. - *) ac_try_echo=$ac_try;;
  76540. -esac
  76541. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  76542. -$as_echo "$ac_try_echo") >&5
  76543. - (eval "$ac_try") 2>&5
  76544. - ac_status=$?
  76545. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  76546. - (exit $ac_status); }; }; then
  76547. - ac_cv_sizeof___int64=`cat conftest.val`
  76548. -else
  76549. - $as_echo "$as_me: program exited with status $ac_status" >&5
  76550. -$as_echo "$as_me: failed program was:" >&5
  76551. -sed 's/^/| /' conftest.$ac_ext >&5
  76552. +if ac_fn_c_try_run "$LINENO"; then :
  76553. -( exit $ac_status )
  76554. -if test "$ac_cv_type___int64" = yes; then
  76555. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (__int64)
  76556. -See \`config.log' for more details." >&5
  76557. -$as_echo "$as_me: error: cannot compute sizeof (__int64)
  76558. -See \`config.log' for more details." >&2;}
  76559. - { (exit 77); exit 77; }; }
  76560. - else
  76561. - ac_cv_sizeof___int64=0
  76562. - fi
  76563. -fi
  76564. -rm -rf conftest.dSYM
  76565. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  76566. +else
  76567. + ac_cv_header_stdc=no
  76568. fi
  76569. -rm -f conftest.val
  76570. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  76571. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  76572. fi
  76573. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof___int64" >&5
  76574. -$as_echo "$ac_cv_sizeof___int64" >&6; }
  76575. +fi
  76576. +fi
  76577. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  76578. +$as_echo "$ac_cv_header_stdc" >&6; }
  76579. +if test $ac_cv_header_stdc = yes; then
  76580. +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
  76581. -cat >>confdefs.h <<_ACEOF
  76582. -#define SIZEOF___INT64 $ac_cv_sizeof___int64
  76583. -_ACEOF
  76584. +fi
  76585. +for ac_header in \
  76586. + arpa/inet.h \
  76587. + arpa/nameser.h \
  76588. + assert.h \
  76589. + bstring.h \
  76590. + crypt.h \
  76591. + ctype.h \
  76592. + errno.h \
  76593. + execinfo.h \
  76594. + fcntl.h \
  76595. + fnmatch.h \
  76596. + getopt.h \
  76597. + glob.h \
  76598. + gnumalloc.h \
  76599. + grp.h \
  76600. + ip_compat.h \
  76601. + ip_fil_compat.h \
  76602. + ip_fil.h \
  76603. + ip_nat.h \
  76604. + ipl.h \
  76605. + libc.h \
  76606. + limits.h \
  76607. + linux/types.h \
  76608. + machine/byte_swap.h \
  76609. + malloc.h \
  76610. + math.h \
  76611. + memory.h \
  76612. + mount.h \
  76613. + netdb.h \
  76614. + netinet/in.h \
  76615. + netinet/ip_fil_compat.h \
  76616. + netinet/tcp.h \
  76617. + openssl/err.h \
  76618. + openssl/md5.h \
  76619. + openssl/ssl.h \
  76620. + openssl/engine.h \
  76621. + paths.h \
  76622. + poll.h \
  76623. + pwd.h \
  76624. + shadow.h \
  76625. + regex.h \
  76626. + sched.h \
  76627. + signal.h \
  76628. + stdarg.h \
  76629. + stddef.h \
  76630. + stdio.h \
  76631. + stdlib.h \
  76632. + string.h \
  76633. + strings.h \
  76634. + sys/bitypes.h \
  76635. + sys/bswap.h \
  76636. + sys/endian.h \
  76637. + sys/file.h \
  76638. + sys/ioctl.h \
  76639. + sys/param.h \
  76640. + sys/prctl.h \
  76641. + sys/md5.h \
  76642. + sys/msg.h \
  76643. + sys/resource.h \
  76644. + sys/select.h\
  76645. + sys/socket.h \
  76646. + sys/stat.h \
  76647. + sys/statvfs.h \
  76648. + syscall.h \
  76649. + sys/syscall.h \
  76650. + sys/time.h \
  76651. + sys/types.h \
  76652. + sys/un.h \
  76653. + sys/vfs.h \
  76654. + sys/wait.h \
  76655. + syslog.h \
  76656. + time.h \
  76657. + unistd.h \
  76658. + utime.h \
  76659. + varargs.h \
  76660. + byteswap.h \
  76661. + glib.h \
  76662. + stdint.h \
  76663. + inttypes.h \
  76664. + grp.h \
  76665. + db.h \
  76666. + db_185.h
  76667. -cat >>confdefs.h <<\_ACEOF
  76668. -#define HAVE___INT64 1
  76669. +do :
  76670. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  76671. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  76672. +eval as_val=\$$as_ac_Header
  76673. + if test "x$as_val" = x""yes; then :
  76674. + cat >>confdefs.h <<_ACEOF
  76675. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  76676. _ACEOF
  76677. -
  76678. fi
  76679. +done
  76680. -{ $as_echo "$as_me:$LINENO: checking for long long" >&5
  76681. -$as_echo_n "checking for long long... " >&6; }
  76682. -if test "${ac_cv_type_long_long+set}" = set; then
  76683. - $as_echo_n "(cached) " >&6
  76684. -else
  76685. - ac_cv_type_long_long=no
  76686. -cat >conftest.$ac_ext <<_ACEOF
  76687. -/* confdefs.h. */
  76688. -_ACEOF
  76689. -cat confdefs.h >>conftest.$ac_ext
  76690. -cat >>conftest.$ac_ext <<_ACEOF
  76691. -/* end confdefs.h. */
  76692. +for ac_header in linux/netfilter_ipv4.h \
  76693. + linux/netfilter_ipv4/ip_tproxy.h \
  76694. +
  76695. +do :
  76696. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  76697. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
  76698. /* What a mess.. many systems have added the (now standard) bit types
  76699. * in their own ways, so we need to scan a wide variety of headers to
  76700. * find them..
  76701. @@ -37977,40 +18972,44 @@
  76702. #include <netinet/in_systm.h>
  76703. #endif
  76704. +#if HAVE_LIMITS_H
  76705. +#include <limits.h>
  76706. +#endif
  76707. +/* Netfilter ip(6)tables v1.4.0 has broken headers */
  76708. +#if HAVE_NETINET_IN_H
  76709. +#include <netinet/in.h>
  76710. +#endif
  76711. -int
  76712. -main ()
  76713. -{
  76714. -if (sizeof (long long))
  76715. - return 0;
  76716. - ;
  76717. - return 0;
  76718. -}
  76719. -_ACEOF
  76720. -rm -f conftest.$ac_objext
  76721. -if { (ac_try="$ac_compile"
  76722. -case "(($ac_try" in
  76723. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  76724. - *) ac_try_echo=$ac_try;;
  76725. -esac
  76726. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  76727. -$as_echo "$ac_try_echo") >&5
  76728. - (eval "$ac_compile") 2>conftest.er1
  76729. - ac_status=$?
  76730. - grep -v '^ *+' conftest.er1 >conftest.err
  76731. - rm -f conftest.er1
  76732. - cat conftest.err >&5
  76733. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  76734. - (exit $ac_status); } && {
  76735. - test -z "$ac_c_werror_flag" ||
  76736. - test ! -s conftest.err
  76737. - } && test -s conftest.$ac_objext; then
  76738. - cat >conftest.$ac_ext <<_ACEOF
  76739. -/* confdefs.h. */
  76740. +"
  76741. +eval as_val=\$$as_ac_Header
  76742. + if test "x$as_val" = x""yes; then :
  76743. + cat >>confdefs.h <<_ACEOF
  76744. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  76745. _ACEOF
  76746. -cat confdefs.h >>conftest.$ac_ext
  76747. -cat >>conftest.$ac_ext <<_ACEOF
  76748. -/* end confdefs.h. */
  76749. +
  76750. +fi
  76751. +
  76752. +done
  76753. +
  76754. +
  76755. +for ac_header in \
  76756. + net/if.h \
  76757. + netinet/if_ether.h\
  76758. + netinet/in.h \
  76759. + netinet/ip.h\
  76760. + netinet/ip_compat.h\
  76761. + netinet/ip_fil_compat.h\
  76762. + netinet/ip_fil.h\
  76763. + netinet/ip_icmp.h\
  76764. + netinet/ipl.h \
  76765. + netinet/ip_nat.h\
  76766. + net/pf/pfvar.h \
  76767. + net/pfvar.h \
  76768. + sys/mount.h\
  76769. + resolv.h
  76770. +do :
  76771. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  76772. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
  76773. /* What a mess.. many systems have added the (now standard) bit types
  76774. * in their own ways, so we need to scan a wide variety of headers to
  76775. @@ -38037,607 +19036,558 @@
  76776. #include <netinet/in_systm.h>
  76777. #endif
  76778. +#if HAVE_SYS_TIME_H
  76779. +#include <sys/time.h>
  76780. +#endif
  76781. +#if HAVE_SYS_SOCKET_H
  76782. +#include <sys/socket.h>
  76783. +#endif
  76784. +#if HAVE_NETINET_IN_H
  76785. +#include <netinet/in.h>
  76786. +#endif
  76787. +#if HAVE_NETINET_IP_H
  76788. +#include <netinet/ip.h>
  76789. +#endif
  76790. +#if HAVE_NETINET_IP_COMPAT_H
  76791. +#include <netinet/ip_compat.h>
  76792. +#endif
  76793. +#if HAVE_NET_IF_H
  76794. +#include <net/if.h>
  76795. +#endif
  76796. +#if HAVE_NETINET_IP_FIL_H
  76797. +#include <netinet/ip_fil.h>
  76798. +#endif
  76799. +#if HAVE_SYS_PARAM_H
  76800. +#include <sys/param.h>
  76801. +#endif
  76802. +
  76803. +"
  76804. +eval as_val=\$$as_ac_Header
  76805. + if test "x$as_val" = x""yes; then :
  76806. + cat >>confdefs.h <<_ACEOF
  76807. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  76808. +_ACEOF
  76809. +
  76810. +fi
  76811. +
  76812. +done
  76813. +
  76814. +
  76815. +for ac_header in libxml/parser.h
  76816. +do :
  76817. + ac_fn_c_check_header_mongrel "$LINENO" "libxml/parser.h" "ac_cv_header_libxml_parser_h" "$ac_includes_default"
  76818. +if test "x$ac_cv_header_libxml_parser_h" = x""yes; then :
  76819. + cat >>confdefs.h <<_ACEOF
  76820. +#define HAVE_LIBXML_PARSER_H 1
  76821. +_ACEOF
  76822. +
  76823. +else
  76824. +
  76825. + SAVED_CPPFLAGS="$CPPFLAGS"
  76826. + CPPFLAGS="-I/usr/include/libxml2 $CPPFLAGS"
  76827. + unset ac_cv_header_libxml_parser_h
  76828. + for ac_header in libxml/parser.h
  76829. +do :
  76830. + ac_fn_c_check_header_mongrel "$LINENO" "libxml/parser.h" "ac_cv_header_libxml_parser_h" "$ac_includes_default"
  76831. +if test "x$ac_cv_header_libxml_parser_h" = x""yes; then :
  76832. + cat >>confdefs.h <<_ACEOF
  76833. +#define HAVE_LIBXML_PARSER_H 1
  76834. +_ACEOF
  76835. + ac_cv_libxml2_include=yes
  76836. +fi
  76837. +
  76838. +done
  76839. +
  76840. + CPPFLAGS="$SAVED_CPPFLAGS"
  76841. +
  76842. +fi
  76843. +
  76844. +done
  76845. +
  76846. +if test "x$ac_cv_libxml2_include" = "xyes"; then
  76847. + SQUID_CXXFLAGS="-I/usr/include/libxml2 $SQUID_CXXFLAGS"
  76848. +fi
  76849. +
  76850. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  76851. +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  76852. +if test "${ac_cv_c_const+set}" = set; then :
  76853. + $as_echo_n "(cached) " >&6
  76854. +else
  76855. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  76856. +/* end confdefs.h. */
  76857. int
  76858. main ()
  76859. {
  76860. -if (sizeof ((long long)))
  76861. - return 0;
  76862. +/* FIXME: Include the comments suggested by Paul. */
  76863. +#ifndef __cplusplus
  76864. + /* Ultrix mips cc rejects this. */
  76865. + typedef int charset[2];
  76866. + const charset cs;
  76867. + /* SunOS 4.1.1 cc rejects this. */
  76868. + char const *const *pcpcc;
  76869. + char **ppc;
  76870. + /* NEC SVR4.0.2 mips cc rejects this. */
  76871. + struct point {int x, y;};
  76872. + static struct point const zero = {0,0};
  76873. + /* AIX XL C 1.02.0.0 rejects this.
  76874. + It does not let you subtract one const X* pointer from another in
  76875. + an arm of an if-expression whose if-part is not a constant
  76876. + expression */
  76877. + const char *g = "string";
  76878. + pcpcc = &g + (g ? g-g : 0);
  76879. + /* HPUX 7.0 cc rejects these. */
  76880. + ++pcpcc;
  76881. + ppc = (char**) pcpcc;
  76882. + pcpcc = (char const *const *) ppc;
  76883. + { /* SCO 3.2v4 cc rejects this. */
  76884. + char *t;
  76885. + char const *s = 0 ? (char *) 0 : (char const *) 0;
  76886. +
  76887. + *t++ = 0;
  76888. + if (s) return 0;
  76889. + }
  76890. + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  76891. + int x[] = {25, 17};
  76892. + const int *foo = &x[0];
  76893. + ++foo;
  76894. + }
  76895. + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  76896. + typedef const int *iptr;
  76897. + iptr p = 0;
  76898. + ++p;
  76899. + }
  76900. + { /* AIX XL C 1.02.0.0 rejects this saying
  76901. + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  76902. + struct s { int j; const int *ap[3]; };
  76903. + struct s *b; b->j = 5;
  76904. + }
  76905. + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  76906. + const int foo = 10;
  76907. + if (!foo) return 0;
  76908. + }
  76909. + return !cs[0] && !zero.x;
  76910. +#endif
  76911. +
  76912. ;
  76913. return 0;
  76914. }
  76915. _ACEOF
  76916. -rm -f conftest.$ac_objext
  76917. -if { (ac_try="$ac_compile"
  76918. -case "(($ac_try" in
  76919. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  76920. - *) ac_try_echo=$ac_try;;
  76921. -esac
  76922. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  76923. -$as_echo "$ac_try_echo") >&5
  76924. - (eval "$ac_compile") 2>conftest.er1
  76925. - ac_status=$?
  76926. - grep -v '^ *+' conftest.er1 >conftest.err
  76927. - rm -f conftest.er1
  76928. - cat conftest.err >&5
  76929. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  76930. - (exit $ac_status); } && {
  76931. - test -z "$ac_c_werror_flag" ||
  76932. - test ! -s conftest.err
  76933. - } && test -s conftest.$ac_objext; then
  76934. - :
  76935. +if ac_fn_c_try_compile "$LINENO"; then :
  76936. + ac_cv_c_const=yes
  76937. else
  76938. - $as_echo "$as_me: failed program was:" >&5
  76939. -sed 's/^/| /' conftest.$ac_ext >&5
  76940. -
  76941. - ac_cv_type_long_long=yes
  76942. + ac_cv_c_const=no
  76943. fi
  76944. -
  76945. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  76946. -else
  76947. - $as_echo "$as_me: failed program was:" >&5
  76948. -sed 's/^/| /' conftest.$ac_ext >&5
  76949. -
  76950. -
  76951. fi
  76952. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  76953. +$as_echo "$ac_cv_c_const" >&6; }
  76954. +if test $ac_cv_c_const = no; then
  76955. +
  76956. +$as_echo "#define const /**/" >>confdefs.h
  76957. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  76958. fi
  76959. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
  76960. -$as_echo "$ac_cv_type_long_long" >&6; }
  76961. -if test $ac_cv_type_long_long = yes; then
  76962. - # The cast to long int works around a bug in the HP C Compiler
  76963. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  76964. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  76965. -# This bug is HP SR number 8606223364.
  76966. -{ $as_echo "$as_me:$LINENO: checking size of long long" >&5
  76967. -$as_echo_n "checking size of long long... " >&6; }
  76968. -if test "${ac_cv_sizeof_long_long+set}" = set; then
  76969. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  76970. +$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  76971. +if test "${ac_cv_c_bigendian+set}" = set; then :
  76972. $as_echo_n "(cached) " >&6
  76973. else
  76974. - if test "$cross_compiling" = yes; then
  76975. - # Depending upon the size, compute the lo and hi bounds.
  76976. -cat >conftest.$ac_ext <<_ACEOF
  76977. -/* confdefs.h. */
  76978. -_ACEOF
  76979. -cat confdefs.h >>conftest.$ac_ext
  76980. -cat >>conftest.$ac_ext <<_ACEOF
  76981. + ac_cv_c_bigendian=unknown
  76982. + # See if we're dealing with a universal compiler.
  76983. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  76984. /* end confdefs.h. */
  76985. +#ifndef __APPLE_CC__
  76986. + not a universal capable compiler
  76987. + #endif
  76988. + typedef int dummy;
  76989. -#include <stdio.h>
  76990. +_ACEOF
  76991. +if ac_fn_c_try_compile "$LINENO"; then :
  76992. -/* What a mess.. many systems have added the (now standard) bit types
  76993. - * in their own ways, so we need to scan a wide variety of headers to
  76994. - * find them..
  76995. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  76996. - */
  76997. -#if HAVE_SYS_TYPES_H
  76998. + # Check for potential -arch flags. It is not universal unless
  76999. + # there are at least two -arch flags with different values.
  77000. + ac_arch=
  77001. + ac_prev=
  77002. + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  77003. + if test -n "$ac_prev"; then
  77004. + case $ac_word in
  77005. + i?86 | x86_64 | ppc | ppc64)
  77006. + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  77007. + ac_arch=$ac_word
  77008. + else
  77009. + ac_cv_c_bigendian=universal
  77010. + break
  77011. + fi
  77012. + ;;
  77013. + esac
  77014. + ac_prev=
  77015. + elif test "x$ac_word" = "x-arch"; then
  77016. + ac_prev=arch
  77017. + fi
  77018. + done
  77019. +fi
  77020. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  77021. + if test $ac_cv_c_bigendian = unknown; then
  77022. + # See if sys/param.h defines the BYTE_ORDER macro.
  77023. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  77024. +/* end confdefs.h. */
  77025. #include <sys/types.h>
  77026. -#endif
  77027. -#if STDC_HEADERS
  77028. -#include <stdlib.h>
  77029. -#include <stddef.h>
  77030. -#endif
  77031. -#if HAVE_INTTYPES_H
  77032. -#include <inttypes.h>
  77033. -#endif
  77034. -#if HAVE_SYS_BITYPES_H
  77035. -#include <sys/bitypes.h>
  77036. -#endif
  77037. -#if HAVE_SYS_SELECT_H
  77038. -#include <sys/select.h>
  77039. -#endif
  77040. -#if HAVE_NETINET_IN_SYSTM_H
  77041. -#include <netinet/in_systm.h>
  77042. -#endif
  77043. -
  77044. -
  77045. + #include <sys/param.h>
  77046. int
  77047. main ()
  77048. {
  77049. -static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)];
  77050. -test_array [0] = 0
  77051. +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  77052. + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  77053. + && LITTLE_ENDIAN)
  77054. + bogus endian macros
  77055. + #endif
  77056. ;
  77057. return 0;
  77058. }
  77059. _ACEOF
  77060. -rm -f conftest.$ac_objext
  77061. -if { (ac_try="$ac_compile"
  77062. -case "(($ac_try" in
  77063. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  77064. - *) ac_try_echo=$ac_try;;
  77065. -esac
  77066. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  77067. -$as_echo "$ac_try_echo") >&5
  77068. - (eval "$ac_compile") 2>conftest.er1
  77069. - ac_status=$?
  77070. - grep -v '^ *+' conftest.er1 >conftest.err
  77071. - rm -f conftest.er1
  77072. - cat conftest.err >&5
  77073. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  77074. - (exit $ac_status); } && {
  77075. - test -z "$ac_c_werror_flag" ||
  77076. - test ! -s conftest.err
  77077. - } && test -s conftest.$ac_objext; then
  77078. - ac_lo=0 ac_mid=0
  77079. - while :; do
  77080. - cat >conftest.$ac_ext <<_ACEOF
  77081. -/* confdefs.h. */
  77082. -_ACEOF
  77083. -cat confdefs.h >>conftest.$ac_ext
  77084. -cat >>conftest.$ac_ext <<_ACEOF
  77085. +if ac_fn_c_try_compile "$LINENO"; then :
  77086. + # It does; now see whether it defined to BIG_ENDIAN or not.
  77087. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  77088. /* end confdefs.h. */
  77089. +#include <sys/types.h>
  77090. + #include <sys/param.h>
  77091. -#include <stdio.h>
  77092. +int
  77093. +main ()
  77094. +{
  77095. +#if BYTE_ORDER != BIG_ENDIAN
  77096. + not big endian
  77097. + #endif
  77098. -/* What a mess.. many systems have added the (now standard) bit types
  77099. - * in their own ways, so we need to scan a wide variety of headers to
  77100. - * find them..
  77101. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  77102. - */
  77103. -#if HAVE_SYS_TYPES_H
  77104. -#include <sys/types.h>
  77105. -#endif
  77106. -#if STDC_HEADERS
  77107. -#include <stdlib.h>
  77108. -#include <stddef.h>
  77109. -#endif
  77110. -#if HAVE_INTTYPES_H
  77111. -#include <inttypes.h>
  77112. -#endif
  77113. -#if HAVE_SYS_BITYPES_H
  77114. -#include <sys/bitypes.h>
  77115. -#endif
  77116. -#if HAVE_SYS_SELECT_H
  77117. -#include <sys/select.h>
  77118. -#endif
  77119. -#if HAVE_NETINET_IN_SYSTM_H
  77120. -#include <netinet/in_systm.h>
  77121. -#endif
  77122. + ;
  77123. + return 0;
  77124. +}
  77125. +_ACEOF
  77126. +if ac_fn_c_try_compile "$LINENO"; then :
  77127. + ac_cv_c_bigendian=yes
  77128. +else
  77129. + ac_cv_c_bigendian=no
  77130. +fi
  77131. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  77132. +fi
  77133. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  77134. + fi
  77135. + if test $ac_cv_c_bigendian = unknown; then
  77136. + # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  77137. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  77138. +/* end confdefs.h. */
  77139. +#include <limits.h>
  77140. +int
  77141. +main ()
  77142. +{
  77143. +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  77144. + bogus endian macros
  77145. + #endif
  77146. + ;
  77147. + return 0;
  77148. +}
  77149. +_ACEOF
  77150. +if ac_fn_c_try_compile "$LINENO"; then :
  77151. + # It does; now see whether it defined to _BIG_ENDIAN or not.
  77152. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  77153. +/* end confdefs.h. */
  77154. +#include <limits.h>
  77155. int
  77156. main ()
  77157. {
  77158. -static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
  77159. -test_array [0] = 0
  77160. +#ifndef _BIG_ENDIAN
  77161. + not big endian
  77162. + #endif
  77163. ;
  77164. return 0;
  77165. }
  77166. _ACEOF
  77167. -rm -f conftest.$ac_objext
  77168. -if { (ac_try="$ac_compile"
  77169. -case "(($ac_try" in
  77170. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  77171. - *) ac_try_echo=$ac_try;;
  77172. -esac
  77173. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  77174. -$as_echo "$ac_try_echo") >&5
  77175. - (eval "$ac_compile") 2>conftest.er1
  77176. - ac_status=$?
  77177. - grep -v '^ *+' conftest.er1 >conftest.err
  77178. - rm -f conftest.er1
  77179. - cat conftest.err >&5
  77180. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  77181. - (exit $ac_status); } && {
  77182. - test -z "$ac_c_werror_flag" ||
  77183. - test ! -s conftest.err
  77184. - } && test -s conftest.$ac_objext; then
  77185. - ac_hi=$ac_mid; break
  77186. +if ac_fn_c_try_compile "$LINENO"; then :
  77187. + ac_cv_c_bigendian=yes
  77188. else
  77189. - $as_echo "$as_me: failed program was:" >&5
  77190. -sed 's/^/| /' conftest.$ac_ext >&5
  77191. -
  77192. - ac_lo=`expr $ac_mid + 1`
  77193. - if test $ac_lo -le $ac_mid; then
  77194. - ac_lo= ac_hi=
  77195. - break
  77196. - fi
  77197. - ac_mid=`expr 2 '*' $ac_mid + 1`
  77198. + ac_cv_c_bigendian=no
  77199. fi
  77200. -
  77201. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  77202. - done
  77203. -else
  77204. - $as_echo "$as_me: failed program was:" >&5
  77205. -sed 's/^/| /' conftest.$ac_ext >&5
  77206. +fi
  77207. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  77208. + fi
  77209. + if test $ac_cv_c_bigendian = unknown; then
  77210. + # Compile a test program.
  77211. + if test "$cross_compiling" = yes; then :
  77212. + # Try to guess by grepping values from an object file.
  77213. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  77214. +/* end confdefs.h. */
  77215. +short int ascii_mm[] =
  77216. + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  77217. + short int ascii_ii[] =
  77218. + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  77219. + int use_ascii (int i) {
  77220. + return ascii_mm[i] + ascii_ii[i];
  77221. + }
  77222. + short int ebcdic_ii[] =
  77223. + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  77224. + short int ebcdic_mm[] =
  77225. + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  77226. + int use_ebcdic (int i) {
  77227. + return ebcdic_mm[i] + ebcdic_ii[i];
  77228. + }
  77229. + extern int foo;
  77230. - cat >conftest.$ac_ext <<_ACEOF
  77231. -/* confdefs.h. */
  77232. +int
  77233. +main ()
  77234. +{
  77235. +return use_ascii (foo) == use_ebcdic (foo);
  77236. + ;
  77237. + return 0;
  77238. +}
  77239. _ACEOF
  77240. -cat confdefs.h >>conftest.$ac_ext
  77241. -cat >>conftest.$ac_ext <<_ACEOF
  77242. +if ac_fn_c_try_compile "$LINENO"; then :
  77243. + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  77244. + ac_cv_c_bigendian=yes
  77245. + fi
  77246. + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  77247. + if test "$ac_cv_c_bigendian" = unknown; then
  77248. + ac_cv_c_bigendian=no
  77249. + else
  77250. + # finding both strings is unlikely to happen, but who knows?
  77251. + ac_cv_c_bigendian=unknown
  77252. + fi
  77253. + fi
  77254. +fi
  77255. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  77256. +else
  77257. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  77258. /* end confdefs.h. */
  77259. -
  77260. -#include <stdio.h>
  77261. -
  77262. -/* What a mess.. many systems have added the (now standard) bit types
  77263. - * in their own ways, so we need to scan a wide variety of headers to
  77264. - * find them..
  77265. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  77266. - */
  77267. -#if HAVE_SYS_TYPES_H
  77268. -#include <sys/types.h>
  77269. -#endif
  77270. -#if STDC_HEADERS
  77271. -#include <stdlib.h>
  77272. -#include <stddef.h>
  77273. -#endif
  77274. -#if HAVE_INTTYPES_H
  77275. -#include <inttypes.h>
  77276. -#endif
  77277. -#if HAVE_SYS_BITYPES_H
  77278. -#include <sys/bitypes.h>
  77279. -#endif
  77280. -#if HAVE_SYS_SELECT_H
  77281. -#include <sys/select.h>
  77282. -#endif
  77283. -#if HAVE_NETINET_IN_SYSTM_H
  77284. -#include <netinet/in_systm.h>
  77285. -#endif
  77286. -
  77287. -
  77288. -
  77289. +$ac_includes_default
  77290. int
  77291. main ()
  77292. {
  77293. -static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)];
  77294. -test_array [0] = 0
  77295. +
  77296. + /* Are we little or big endian? From Harbison&Steele. */
  77297. + union
  77298. + {
  77299. + long int l;
  77300. + char c[sizeof (long int)];
  77301. + } u;
  77302. + u.l = 1;
  77303. + return u.c[sizeof (long int) - 1] == 1;
  77304. ;
  77305. return 0;
  77306. }
  77307. _ACEOF
  77308. -rm -f conftest.$ac_objext
  77309. -if { (ac_try="$ac_compile"
  77310. -case "(($ac_try" in
  77311. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  77312. - *) ac_try_echo=$ac_try;;
  77313. -esac
  77314. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  77315. -$as_echo "$ac_try_echo") >&5
  77316. - (eval "$ac_compile") 2>conftest.er1
  77317. - ac_status=$?
  77318. - grep -v '^ *+' conftest.er1 >conftest.err
  77319. - rm -f conftest.er1
  77320. - cat conftest.err >&5
  77321. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  77322. - (exit $ac_status); } && {
  77323. - test -z "$ac_c_werror_flag" ||
  77324. - test ! -s conftest.err
  77325. - } && test -s conftest.$ac_objext; then
  77326. - ac_hi=-1 ac_mid=-1
  77327. - while :; do
  77328. - cat >conftest.$ac_ext <<_ACEOF
  77329. -/* confdefs.h. */
  77330. -_ACEOF
  77331. -cat confdefs.h >>conftest.$ac_ext
  77332. -cat >>conftest.$ac_ext <<_ACEOF
  77333. -/* end confdefs.h. */
  77334. +if ac_fn_c_try_run "$LINENO"; then :
  77335. + ac_cv_c_bigendian=no
  77336. +else
  77337. + ac_cv_c_bigendian=yes
  77338. +fi
  77339. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  77340. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  77341. +fi
  77342. -#include <stdio.h>
  77343. + fi
  77344. +fi
  77345. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  77346. +$as_echo "$ac_cv_c_bigendian" >&6; }
  77347. + case $ac_cv_c_bigendian in #(
  77348. + yes)
  77349. + $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
  77350. +;; #(
  77351. + no)
  77352. + ;; #(
  77353. + universal)
  77354. -/* What a mess.. many systems have added the (now standard) bit types
  77355. - * in their own ways, so we need to scan a wide variety of headers to
  77356. - * find them..
  77357. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  77358. - */
  77359. -#if HAVE_SYS_TYPES_H
  77360. -#include <sys/types.h>
  77361. -#endif
  77362. -#if STDC_HEADERS
  77363. -#include <stdlib.h>
  77364. -#include <stddef.h>
  77365. -#endif
  77366. -#if HAVE_INTTYPES_H
  77367. -#include <inttypes.h>
  77368. -#endif
  77369. -#if HAVE_SYS_BITYPES_H
  77370. -#include <sys/bitypes.h>
  77371. -#endif
  77372. -#if HAVE_SYS_SELECT_H
  77373. -#include <sys/select.h>
  77374. -#endif
  77375. -#if HAVE_NETINET_IN_SYSTM_H
  77376. -#include <netinet/in_systm.h>
  77377. -#endif
  77378. +$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  77379. +
  77380. + ;; #(
  77381. + *)
  77382. + as_fn_error "unknown endianness
  77383. + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  77384. + esac
  77385. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
  77386. +$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
  77387. +if test "${ac_cv_struct_tm+set}" = set; then :
  77388. + $as_echo_n "(cached) " >&6
  77389. +else
  77390. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  77391. +/* end confdefs.h. */
  77392. +#include <sys/types.h>
  77393. +#include <time.h>
  77394. int
  77395. main ()
  77396. {
  77397. -static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)];
  77398. -test_array [0] = 0
  77399. -
  77400. +struct tm tm;
  77401. + int *p = &tm.tm_sec;
  77402. + return !p;
  77403. ;
  77404. return 0;
  77405. }
  77406. _ACEOF
  77407. -rm -f conftest.$ac_objext
  77408. -if { (ac_try="$ac_compile"
  77409. -case "(($ac_try" in
  77410. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  77411. - *) ac_try_echo=$ac_try;;
  77412. -esac
  77413. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  77414. -$as_echo "$ac_try_echo") >&5
  77415. - (eval "$ac_compile") 2>conftest.er1
  77416. - ac_status=$?
  77417. - grep -v '^ *+' conftest.er1 >conftest.err
  77418. - rm -f conftest.er1
  77419. - cat conftest.err >&5
  77420. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  77421. - (exit $ac_status); } && {
  77422. - test -z "$ac_c_werror_flag" ||
  77423. - test ! -s conftest.err
  77424. - } && test -s conftest.$ac_objext; then
  77425. - ac_lo=$ac_mid; break
  77426. +if ac_fn_c_try_compile "$LINENO"; then :
  77427. + ac_cv_struct_tm=time.h
  77428. else
  77429. - $as_echo "$as_me: failed program was:" >&5
  77430. -sed 's/^/| /' conftest.$ac_ext >&5
  77431. -
  77432. - ac_hi=`expr '(' $ac_mid ')' - 1`
  77433. - if test $ac_mid -le $ac_hi; then
  77434. - ac_lo= ac_hi=
  77435. - break
  77436. - fi
  77437. - ac_mid=`expr 2 '*' $ac_mid`
  77438. + ac_cv_struct_tm=sys/time.h
  77439. fi
  77440. -
  77441. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  77442. - done
  77443. -else
  77444. - $as_echo "$as_me: failed program was:" >&5
  77445. -sed 's/^/| /' conftest.$ac_ext >&5
  77446. -
  77447. - ac_lo= ac_hi=
  77448. fi
  77449. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
  77450. +$as_echo "$ac_cv_struct_tm" >&6; }
  77451. +if test $ac_cv_struct_tm = sys/time.h; then
  77452. +
  77453. +$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
  77454. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  77455. fi
  77456. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  77457. -# Binary search between lo and hi bounds.
  77458. -while test "x$ac_lo" != "x$ac_hi"; do
  77459. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  77460. - cat >conftest.$ac_ext <<_ACEOF
  77461. -/* confdefs.h. */
  77462. +ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "
  77463. +#if TM_IN_SYS_TIME
  77464. +#if HAVE_SYS_TIME_H
  77465. +#include <sys/time.h>
  77466. +#endif
  77467. +#elif HAVE_TIME_H
  77468. +#include <time.h>
  77469. +#endif
  77470. +
  77471. +"
  77472. +if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then :
  77473. +
  77474. +cat >>confdefs.h <<_ACEOF
  77475. +#define HAVE_STRUCT_TM_TM_GMTOFF 1
  77476. _ACEOF
  77477. -cat confdefs.h >>conftest.$ac_ext
  77478. -cat >>conftest.$ac_ext <<_ACEOF
  77479. -/* end confdefs.h. */
  77480. -#include <stdio.h>
  77481. -/* What a mess.. many systems have added the (now standard) bit types
  77482. - * in their own ways, so we need to scan a wide variety of headers to
  77483. - * find them..
  77484. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  77485. - */
  77486. +fi
  77487. +
  77488. +
  77489. +ac_fn_c_check_type "$LINENO" "struct mallinfo" "ac_cv_type_struct_mallinfo" "
  77490. #if HAVE_SYS_TYPES_H
  77491. #include <sys/types.h>
  77492. #endif
  77493. -#if STDC_HEADERS
  77494. -#include <stdlib.h>
  77495. -#include <stddef.h>
  77496. -#endif
  77497. -#if HAVE_INTTYPES_H
  77498. -#include <inttypes.h>
  77499. -#endif
  77500. -#if HAVE_SYS_BITYPES_H
  77501. -#include <sys/bitypes.h>
  77502. +#if HAVE_MALLOC_H
  77503. +#include <malloc.h>
  77504. #endif
  77505. -#if HAVE_SYS_SELECT_H
  77506. -#include <sys/select.h>
  77507. +"
  77508. +if test "x$ac_cv_type_struct_mallinfo" = x""yes; then :
  77509. +
  77510. +$as_echo "#define HAVE_STRUCT_MALLINFO 1" >>confdefs.h
  77511. +
  77512. +fi
  77513. +
  77514. +
  77515. +ac_fn_c_check_member "$LINENO" "struct mallinfo" "mxfast" "ac_cv_member_struct_mallinfo_mxfast" "
  77516. +#if HAVE_SYS_TYPES_H
  77517. +#include <sys/types.h>
  77518. #endif
  77519. -#if HAVE_NETINET_IN_SYSTM_H
  77520. -#include <netinet/in_systm.h>
  77521. +#if HAVE_MALLOC_H
  77522. +#include <malloc.h>
  77523. #endif
  77524. +"
  77525. +if test "x$ac_cv_member_struct_mallinfo_mxfast" = x""yes; then :
  77526. +cat >>confdefs.h <<_ACEOF
  77527. +#define HAVE_STRUCT_MALLINFO_MXFAST 1
  77528. +_ACEOF
  77529. -int
  77530. -main ()
  77531. -{
  77532. -static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
  77533. -test_array [0] = 0
  77534. +fi
  77535. - ;
  77536. - return 0;
  77537. -}
  77538. -_ACEOF
  77539. -rm -f conftest.$ac_objext
  77540. -if { (ac_try="$ac_compile"
  77541. -case "(($ac_try" in
  77542. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  77543. - *) ac_try_echo=$ac_try;;
  77544. -esac
  77545. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  77546. -$as_echo "$ac_try_echo") >&5
  77547. - (eval "$ac_compile") 2>conftest.er1
  77548. - ac_status=$?
  77549. - grep -v '^ *+' conftest.er1 >conftest.err
  77550. - rm -f conftest.er1
  77551. - cat conftest.err >&5
  77552. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  77553. - (exit $ac_status); } && {
  77554. - test -z "$ac_c_werror_flag" ||
  77555. - test ! -s conftest.err
  77556. - } && test -s conftest.$ac_objext; then
  77557. - ac_hi=$ac_mid
  77558. -else
  77559. - $as_echo "$as_me: failed program was:" >&5
  77560. -sed 's/^/| /' conftest.$ac_ext >&5
  77561. - ac_lo=`expr '(' $ac_mid ')' + 1`
  77562. +case "$host_os" in
  77563. + mingw|mingw32)
  77564. + $as_echo "#define HAVE_STRUCT_RUSAGE 1" >>confdefs.h
  77565. +
  77566. + ac_cv_func_getrusage='yes'
  77567. + echo "Using own rusage on Windows."
  77568. + ;;
  77569. + *)
  77570. + ac_fn_c_check_type "$LINENO" "struct rusage" "ac_cv_type_struct_rusage" "
  77571. +#if HAVE_SYS_TIME_H
  77572. +#include <sys/time.h>
  77573. +#endif
  77574. +#if HAVE_SYS_RESOURCE_H
  77575. +#include <sys/resource.h>
  77576. +#endif
  77577. +"
  77578. +if test "x$ac_cv_type_struct_rusage" = x""yes; then :
  77579. +
  77580. +$as_echo "#define HAVE_STRUCT_RUSAGE 1" >>confdefs.h
  77581. +
  77582. fi
  77583. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  77584. -done
  77585. -case $ac_lo in
  77586. -?*) ac_cv_sizeof_long_long=$ac_lo;;
  77587. -'') if test "$ac_cv_type_long_long" = yes; then
  77588. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
  77589. -See \`config.log' for more details." >&5
  77590. -$as_echo "$as_me: error: cannot compute sizeof (long long)
  77591. -See \`config.log' for more details." >&2;}
  77592. - { (exit 77); exit 77; }; }
  77593. - else
  77594. - ac_cv_sizeof_long_long=0
  77595. - fi ;;
  77596. + ;;
  77597. esac
  77598. -else
  77599. - cat >conftest.$ac_ext <<_ACEOF
  77600. -/* confdefs.h. */
  77601. -_ACEOF
  77602. -cat confdefs.h >>conftest.$ac_ext
  77603. -cat >>conftest.$ac_ext <<_ACEOF
  77604. -/* end confdefs.h. */
  77605. -
  77606. -#include <stdio.h>
  77607. -/* What a mess.. many systems have added the (now standard) bit types
  77608. - * in their own ways, so we need to scan a wide variety of headers to
  77609. - * find them..
  77610. - * IMPORTANT: Keep include/squid_types.h syncronised with this list
  77611. - */
  77612. +ac_fn_c_check_member "$LINENO" "struct iphdr" "ip_hl" "ac_cv_member_struct_iphdr_ip_hl" "
  77613. #if HAVE_SYS_TYPES_H
  77614. #include <sys/types.h>
  77615. #endif
  77616. -#if STDC_HEADERS
  77617. -#include <stdlib.h>
  77618. -#include <stddef.h>
  77619. -#endif
  77620. -#if HAVE_INTTYPES_H
  77621. -#include <inttypes.h>
  77622. -#endif
  77623. -#if HAVE_SYS_BITYPES_H
  77624. -#include <sys/bitypes.h>
  77625. +#include <netinet/in.h>
  77626. +#include <netinet/in_systm.h>
  77627. +#include <netinet/ip.h>
  77628. +#if defined (__linux__) || defined (__CYGWIN__)
  77629. +#define ip_hl ihl
  77630. #endif
  77631. -#if HAVE_SYS_SELECT_H
  77632. -#include <sys/select.h>
  77633. +#ifndef __linux__
  77634. +#ifndef __CYGWIN__
  77635. +#define iphdr ip
  77636. #endif
  77637. -#if HAVE_NETINET_IN_SYSTM_H
  77638. -#include <netinet/in_systm.h>
  77639. #endif
  77640. +"
  77641. +if test "x$ac_cv_member_struct_iphdr_ip_hl" = x""yes; then :
  77642. +cat >>confdefs.h <<_ACEOF
  77643. +#define HAVE_STRUCT_IPHDR_IP_HL 1
  77644. +_ACEOF
  77645. -static long int longval () { return (long int) (sizeof (long long)); }
  77646. -static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
  77647. -#include <stdio.h>
  77648. -#include <stdlib.h>
  77649. -int
  77650. -main ()
  77651. -{
  77652. +fi
  77653. - FILE *f = fopen ("conftest.val", "w");
  77654. - if (! f)
  77655. - return 1;
  77656. - if (((long int) (sizeof (long long))) < 0)
  77657. - {
  77658. - long int i = longval ();
  77659. - if (i != ((long int) (sizeof (long long))))
  77660. - return 1;
  77661. - fprintf (f, "%ld", i);
  77662. - }
  77663. - else
  77664. - {
  77665. - unsigned long int i = ulongval ();
  77666. - if (i != ((long int) (sizeof (long long))))
  77667. - return 1;
  77668. - fprintf (f, "%lu", i);
  77669. - }
  77670. - /* Do not output a trailing newline, as this causes \r\n confusion
  77671. - on some platforms. */
  77672. - return ferror (f) || fclose (f) != 0;
  77673. - ;
  77674. - return 0;
  77675. -}
  77676. -_ACEOF
  77677. -rm -f conftest$ac_exeext
  77678. -if { (ac_try="$ac_link"
  77679. -case "(($ac_try" in
  77680. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  77681. - *) ac_try_echo=$ac_try;;
  77682. -esac
  77683. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  77684. -$as_echo "$ac_try_echo") >&5
  77685. - (eval "$ac_link") 2>&5
  77686. - ac_status=$?
  77687. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  77688. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  77689. - { (case "(($ac_try" in
  77690. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  77691. - *) ac_try_echo=$ac_try;;
  77692. -esac
  77693. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  77694. -$as_echo "$ac_try_echo") >&5
  77695. - (eval "$ac_try") 2>&5
  77696. - ac_status=$?
  77697. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  77698. - (exit $ac_status); }; }; then
  77699. - ac_cv_sizeof_long_long=`cat conftest.val`
  77700. +# The cast to long int works around a bug in the HP C Compiler
  77701. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  77702. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  77703. +# This bug is HP SR number 8606223364.
  77704. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
  77705. +$as_echo_n "checking size of void *... " >&6; }
  77706. +if test "${ac_cv_sizeof_void_p+set}" = set; then :
  77707. + $as_echo_n "(cached) " >&6
  77708. else
  77709. - $as_echo "$as_me: program exited with status $ac_status" >&5
  77710. -$as_echo "$as_me: failed program was:" >&5
  77711. -sed 's/^/| /' conftest.$ac_ext >&5
  77712. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
  77713. -( exit $ac_status )
  77714. -if test "$ac_cv_type_long_long" = yes; then
  77715. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
  77716. -See \`config.log' for more details." >&5
  77717. -$as_echo "$as_me: error: cannot compute sizeof (long long)
  77718. -See \`config.log' for more details." >&2;}
  77719. - { (exit 77); exit 77; }; }
  77720. +else
  77721. + if test "$ac_cv_type_void_p" = yes; then
  77722. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  77723. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  77724. +{ as_fn_set_status 77
  77725. +as_fn_error "cannot compute sizeof (void *)
  77726. +See \`config.log' for more details." "$LINENO" 5; }; }
  77727. else
  77728. - ac_cv_sizeof_long_long=0
  77729. + ac_cv_sizeof_void_p=0
  77730. fi
  77731. fi
  77732. -rm -rf conftest.dSYM
  77733. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  77734. -fi
  77735. -rm -f conftest.val
  77736. +
  77737. fi
  77738. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
  77739. -$as_echo "$ac_cv_sizeof_long_long" >&6; }
  77740. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
  77741. +$as_echo "$ac_cv_sizeof_void_p" >&6; }
  77742. cat >>confdefs.h <<_ACEOF
  77743. -#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
  77744. -_ACEOF
  77745. -
  77746. -
  77747. -
  77748. -cat >>confdefs.h <<\_ACEOF
  77749. -#define HAVE_LONG_LONG 1
  77750. +#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  77751. _ACEOF
  77752. -fi
  77753. -
  77754. -
  77755. -{ $as_echo "$as_me:$LINENO: checking for u_int64_t" >&5
  77756. -$as_echo_n "checking for u_int64_t... " >&6; }
  77757. -if test "${ac_cv_type_u_int64_t+set}" = set; then
  77758. - $as_echo_n "(cached) " >&6
  77759. -else
  77760. - ac_cv_type_u_int64_t=no
  77761. -cat >conftest.$ac_ext <<_ACEOF
  77762. -/* confdefs.h. */
  77763. -_ACEOF
  77764. -cat confdefs.h >>conftest.$ac_ext
  77765. -cat >>conftest.$ac_ext <<_ACEOF
  77766. -/* end confdefs.h. */
  77767. +ac_fn_c_check_type "$LINENO" "int8_t" "ac_cv_type_int8_t" "
  77768. /* What a mess.. many systems have added the (now standard) bit types
  77769. * in their own ways, so we need to scan a wide variety of headers to
  77770. * find them..
  77771. @@ -38663,40 +19613,20 @@
  77772. #include <netinet/in_systm.h>
  77773. #endif
  77774. +"
  77775. +if test "x$ac_cv_type_int8_t" = x""yes; then :
  77776. -int
  77777. -main ()
  77778. -{
  77779. -if (sizeof (u_int64_t))
  77780. - return 0;
  77781. - ;
  77782. - return 0;
  77783. -}
  77784. -_ACEOF
  77785. -rm -f conftest.$ac_objext
  77786. -if { (ac_try="$ac_compile"
  77787. -case "(($ac_try" in
  77788. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  77789. - *) ac_try_echo=$ac_try;;
  77790. -esac
  77791. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  77792. -$as_echo "$ac_try_echo") >&5
  77793. - (eval "$ac_compile") 2>conftest.er1
  77794. - ac_status=$?
  77795. - grep -v '^ *+' conftest.er1 >conftest.err
  77796. - rm -f conftest.er1
  77797. - cat conftest.err >&5
  77798. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  77799. - (exit $ac_status); } && {
  77800. - test -z "$ac_c_werror_flag" ||
  77801. - test ! -s conftest.err
  77802. - } && test -s conftest.$ac_objext; then
  77803. - cat >conftest.$ac_ext <<_ACEOF
  77804. -/* confdefs.h. */
  77805. -_ACEOF
  77806. -cat confdefs.h >>conftest.$ac_ext
  77807. -cat >>conftest.$ac_ext <<_ACEOF
  77808. -/* end confdefs.h. */
  77809. + # The cast to long int works around a bug in the HP C Compiler
  77810. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  77811. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  77812. +# This bug is HP SR number 8606223364.
  77813. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int8_t" >&5
  77814. +$as_echo_n "checking size of int8_t... " >&6; }
  77815. +if test "${ac_cv_sizeof_int8_t+set}" = set; then :
  77816. + $as_echo_n "(cached) " >&6
  77817. +else
  77818. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int8_t))" "ac_cv_sizeof_int8_t" "
  77819. +#include <stdio.h>
  77820. /* What a mess.. many systems have added the (now standard) bit types
  77821. * in their own ways, so we need to scan a wide variety of headers to
  77822. @@ -38724,75 +19654,39 @@
  77823. #endif
  77824. -int
  77825. -main ()
  77826. -{
  77827. -if (sizeof ((u_int64_t)))
  77828. - return 0;
  77829. - ;
  77830. - return 0;
  77831. -}
  77832. -_ACEOF
  77833. -rm -f conftest.$ac_objext
  77834. -if { (ac_try="$ac_compile"
  77835. -case "(($ac_try" in
  77836. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  77837. - *) ac_try_echo=$ac_try;;
  77838. -esac
  77839. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  77840. -$as_echo "$ac_try_echo") >&5
  77841. - (eval "$ac_compile") 2>conftest.er1
  77842. - ac_status=$?
  77843. - grep -v '^ *+' conftest.er1 >conftest.err
  77844. - rm -f conftest.er1
  77845. - cat conftest.err >&5
  77846. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  77847. - (exit $ac_status); } && {
  77848. - test -z "$ac_c_werror_flag" ||
  77849. - test ! -s conftest.err
  77850. - } && test -s conftest.$ac_objext; then
  77851. - :
  77852. +"; then :
  77853. +
  77854. else
  77855. - $as_echo "$as_me: failed program was:" >&5
  77856. -sed 's/^/| /' conftest.$ac_ext >&5
  77857. + if test "$ac_cv_type_int8_t" = yes; then
  77858. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  77859. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  77860. +{ as_fn_set_status 77
  77861. +as_fn_error "cannot compute sizeof (int8_t)
  77862. +See \`config.log' for more details." "$LINENO" 5; }; }
  77863. + else
  77864. + ac_cv_sizeof_int8_t=0
  77865. + fi
  77866. +fi
  77867. - ac_cv_type_u_int64_t=yes
  77868. fi
  77869. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int8_t" >&5
  77870. +$as_echo "$ac_cv_sizeof_int8_t" >&6; }
  77871. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  77872. -else
  77873. - $as_echo "$as_me: failed program was:" >&5
  77874. -sed 's/^/| /' conftest.$ac_ext >&5
  77875. -fi
  77876. +cat >>confdefs.h <<_ACEOF
  77877. +#define SIZEOF_INT8_T $ac_cv_sizeof_int8_t
  77878. +_ACEOF
  77879. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  77880. -fi
  77881. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
  77882. -$as_echo "$ac_cv_type_u_int64_t" >&6; }
  77883. -if test $ac_cv_type_u_int64_t = yes; then
  77884. - # The cast to long int works around a bug in the HP C Compiler
  77885. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  77886. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  77887. -# This bug is HP SR number 8606223364.
  77888. -{ $as_echo "$as_me:$LINENO: checking size of u_int64_t" >&5
  77889. -$as_echo_n "checking size of u_int64_t... " >&6; }
  77890. -if test "${ac_cv_sizeof_u_int64_t+set}" = set; then
  77891. - $as_echo_n "(cached) " >&6
  77892. -else
  77893. - if test "$cross_compiling" = yes; then
  77894. - # Depending upon the size, compute the lo and hi bounds.
  77895. -cat >conftest.$ac_ext <<_ACEOF
  77896. -/* confdefs.h. */
  77897. -_ACEOF
  77898. -cat confdefs.h >>conftest.$ac_ext
  77899. -cat >>conftest.$ac_ext <<_ACEOF
  77900. -/* end confdefs.h. */
  77901. -#include <stdio.h>
  77902. +$as_echo "#define HAVE_INT8_T 1" >>confdefs.h
  77903. +
  77904. +
  77905. +fi
  77906. +
  77907. +ac_fn_c_check_type "$LINENO" "char" "ac_cv_type_char" "
  77908. /* What a mess.. many systems have added the (now standard) bit types
  77909. * in their own ways, so we need to scan a wide variety of headers to
  77910. * find them..
  77911. @@ -38815,48 +19709,22 @@
  77912. #include <sys/select.h>
  77913. #endif
  77914. #if HAVE_NETINET_IN_SYSTM_H
  77915. -#include <netinet/in_systm.h>
  77916. -#endif
  77917. -
  77918. -
  77919. -
  77920. -int
  77921. -main ()
  77922. -{
  77923. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int64_t))) >= 0)];
  77924. -test_array [0] = 0
  77925. -
  77926. - ;
  77927. - return 0;
  77928. -}
  77929. -_ACEOF
  77930. -rm -f conftest.$ac_objext
  77931. -if { (ac_try="$ac_compile"
  77932. -case "(($ac_try" in
  77933. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  77934. - *) ac_try_echo=$ac_try;;
  77935. -esac
  77936. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  77937. -$as_echo "$ac_try_echo") >&5
  77938. - (eval "$ac_compile") 2>conftest.er1
  77939. - ac_status=$?
  77940. - grep -v '^ *+' conftest.er1 >conftest.err
  77941. - rm -f conftest.er1
  77942. - cat conftest.err >&5
  77943. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  77944. - (exit $ac_status); } && {
  77945. - test -z "$ac_c_werror_flag" ||
  77946. - test ! -s conftest.err
  77947. - } && test -s conftest.$ac_objext; then
  77948. - ac_lo=0 ac_mid=0
  77949. - while :; do
  77950. - cat >conftest.$ac_ext <<_ACEOF
  77951. -/* confdefs.h. */
  77952. -_ACEOF
  77953. -cat confdefs.h >>conftest.$ac_ext
  77954. -cat >>conftest.$ac_ext <<_ACEOF
  77955. -/* end confdefs.h. */
  77956. +#include <netinet/in_systm.h>
  77957. +#endif
  77958. +
  77959. +"
  77960. +if test "x$ac_cv_type_char" = x""yes; then :
  77961. + # The cast to long int works around a bug in the HP C Compiler
  77962. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  77963. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  77964. +# This bug is HP SR number 8606223364.
  77965. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
  77966. +$as_echo_n "checking size of char... " >&6; }
  77967. +if test "${ac_cv_sizeof_char+set}" = set; then :
  77968. + $as_echo_n "(cached) " >&6
  77969. +else
  77970. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "
  77971. #include <stdio.h>
  77972. /* What a mess.. many systems have added the (now standard) bit types
  77973. @@ -38885,63 +19753,39 @@
  77974. #endif
  77975. +"; then :
  77976. -int
  77977. -main ()
  77978. -{
  77979. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int64_t))) <= $ac_mid)];
  77980. -test_array [0] = 0
  77981. -
  77982. - ;
  77983. - return 0;
  77984. -}
  77985. -_ACEOF
  77986. -rm -f conftest.$ac_objext
  77987. -if { (ac_try="$ac_compile"
  77988. -case "(($ac_try" in
  77989. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  77990. - *) ac_try_echo=$ac_try;;
  77991. -esac
  77992. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  77993. -$as_echo "$ac_try_echo") >&5
  77994. - (eval "$ac_compile") 2>conftest.er1
  77995. - ac_status=$?
  77996. - grep -v '^ *+' conftest.er1 >conftest.err
  77997. - rm -f conftest.er1
  77998. - cat conftest.err >&5
  77999. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  78000. - (exit $ac_status); } && {
  78001. - test -z "$ac_c_werror_flag" ||
  78002. - test ! -s conftest.err
  78003. - } && test -s conftest.$ac_objext; then
  78004. - ac_hi=$ac_mid; break
  78005. else
  78006. - $as_echo "$as_me: failed program was:" >&5
  78007. -sed 's/^/| /' conftest.$ac_ext >&5
  78008. + if test "$ac_cv_type_char" = yes; then
  78009. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  78010. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  78011. +{ as_fn_set_status 77
  78012. +as_fn_error "cannot compute sizeof (char)
  78013. +See \`config.log' for more details." "$LINENO" 5; }; }
  78014. + else
  78015. + ac_cv_sizeof_char=0
  78016. + fi
  78017. +fi
  78018. - ac_lo=`expr $ac_mid + 1`
  78019. - if test $ac_lo -le $ac_mid; then
  78020. - ac_lo= ac_hi=
  78021. - break
  78022. - fi
  78023. - ac_mid=`expr 2 '*' $ac_mid + 1`
  78024. fi
  78025. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
  78026. +$as_echo "$ac_cv_sizeof_char" >&6; }
  78027. +
  78028. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  78029. - done
  78030. -else
  78031. - $as_echo "$as_me: failed program was:" >&5
  78032. -sed 's/^/| /' conftest.$ac_ext >&5
  78033. - cat >conftest.$ac_ext <<_ACEOF
  78034. -/* confdefs.h. */
  78035. +cat >>confdefs.h <<_ACEOF
  78036. +#define SIZEOF_CHAR $ac_cv_sizeof_char
  78037. _ACEOF
  78038. -cat confdefs.h >>conftest.$ac_ext
  78039. -cat >>conftest.$ac_ext <<_ACEOF
  78040. -/* end confdefs.h. */
  78041. -#include <stdio.h>
  78042. +
  78043. +$as_echo "#define HAVE_CHAR 1" >>confdefs.h
  78044. +
  78045. +
  78046. +fi
  78047. +
  78048. +
  78049. +ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "
  78050. /* What a mess.. many systems have added the (now standard) bit types
  78051. * in their own ways, so we need to scan a wide variety of headers to
  78052. * find them..
  78053. @@ -38967,45 +19811,19 @@
  78054. #include <netinet/in_systm.h>
  78055. #endif
  78056. +"
  78057. +if test "x$ac_cv_type_u_int8_t" = x""yes; then :
  78058. -
  78059. -int
  78060. -main ()
  78061. -{
  78062. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int64_t))) < 0)];
  78063. -test_array [0] = 0
  78064. -
  78065. - ;
  78066. - return 0;
  78067. -}
  78068. -_ACEOF
  78069. -rm -f conftest.$ac_objext
  78070. -if { (ac_try="$ac_compile"
  78071. -case "(($ac_try" in
  78072. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  78073. - *) ac_try_echo=$ac_try;;
  78074. -esac
  78075. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  78076. -$as_echo "$ac_try_echo") >&5
  78077. - (eval "$ac_compile") 2>conftest.er1
  78078. - ac_status=$?
  78079. - grep -v '^ *+' conftest.er1 >conftest.err
  78080. - rm -f conftest.er1
  78081. - cat conftest.err >&5
  78082. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  78083. - (exit $ac_status); } && {
  78084. - test -z "$ac_c_werror_flag" ||
  78085. - test ! -s conftest.err
  78086. - } && test -s conftest.$ac_objext; then
  78087. - ac_hi=-1 ac_mid=-1
  78088. - while :; do
  78089. - cat >conftest.$ac_ext <<_ACEOF
  78090. -/* confdefs.h. */
  78091. -_ACEOF
  78092. -cat confdefs.h >>conftest.$ac_ext
  78093. -cat >>conftest.$ac_ext <<_ACEOF
  78094. -/* end confdefs.h. */
  78095. -
  78096. + # The cast to long int works around a bug in the HP C Compiler
  78097. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  78098. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  78099. +# This bug is HP SR number 8606223364.
  78100. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of u_int8_t" >&5
  78101. +$as_echo_n "checking size of u_int8_t... " >&6; }
  78102. +if test "${ac_cv_sizeof_u_int8_t+set}" = set; then :
  78103. + $as_echo_n "(cached) " >&6
  78104. +else
  78105. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (u_int8_t))" "ac_cv_sizeof_u_int8_t" "
  78106. #include <stdio.h>
  78107. /* What a mess.. many systems have added the (now standard) bit types
  78108. @@ -39034,73 +19852,39 @@
  78109. #endif
  78110. +"; then :
  78111. -int
  78112. -main ()
  78113. -{
  78114. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int64_t))) >= $ac_mid)];
  78115. -test_array [0] = 0
  78116. -
  78117. - ;
  78118. - return 0;
  78119. -}
  78120. -_ACEOF
  78121. -rm -f conftest.$ac_objext
  78122. -if { (ac_try="$ac_compile"
  78123. -case "(($ac_try" in
  78124. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  78125. - *) ac_try_echo=$ac_try;;
  78126. -esac
  78127. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  78128. -$as_echo "$ac_try_echo") >&5
  78129. - (eval "$ac_compile") 2>conftest.er1
  78130. - ac_status=$?
  78131. - grep -v '^ *+' conftest.er1 >conftest.err
  78132. - rm -f conftest.er1
  78133. - cat conftest.err >&5
  78134. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  78135. - (exit $ac_status); } && {
  78136. - test -z "$ac_c_werror_flag" ||
  78137. - test ! -s conftest.err
  78138. - } && test -s conftest.$ac_objext; then
  78139. - ac_lo=$ac_mid; break
  78140. else
  78141. - $as_echo "$as_me: failed program was:" >&5
  78142. -sed 's/^/| /' conftest.$ac_ext >&5
  78143. -
  78144. - ac_hi=`expr '(' $ac_mid ')' - 1`
  78145. - if test $ac_mid -le $ac_hi; then
  78146. - ac_lo= ac_hi=
  78147. - break
  78148. - fi
  78149. - ac_mid=`expr 2 '*' $ac_mid`
  78150. + if test "$ac_cv_type_u_int8_t" = yes; then
  78151. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  78152. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  78153. +{ as_fn_set_status 77
  78154. +as_fn_error "cannot compute sizeof (u_int8_t)
  78155. +See \`config.log' for more details." "$LINENO" 5; }; }
  78156. + else
  78157. + ac_cv_sizeof_u_int8_t=0
  78158. + fi
  78159. fi
  78160. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  78161. - done
  78162. -else
  78163. - $as_echo "$as_me: failed program was:" >&5
  78164. -sed 's/^/| /' conftest.$ac_ext >&5
  78165. -
  78166. - ac_lo= ac_hi=
  78167. fi
  78168. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_u_int8_t" >&5
  78169. +$as_echo "$ac_cv_sizeof_u_int8_t" >&6; }
  78170. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  78171. -fi
  78172. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  78173. -# Binary search between lo and hi bounds.
  78174. -while test "x$ac_lo" != "x$ac_hi"; do
  78175. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  78176. - cat >conftest.$ac_ext <<_ACEOF
  78177. -/* confdefs.h. */
  78178. +
  78179. +cat >>confdefs.h <<_ACEOF
  78180. +#define SIZEOF_U_INT8_T $ac_cv_sizeof_u_int8_t
  78181. _ACEOF
  78182. -cat confdefs.h >>conftest.$ac_ext
  78183. -cat >>conftest.$ac_ext <<_ACEOF
  78184. -/* end confdefs.h. */
  78185. -#include <stdio.h>
  78186. +
  78187. +$as_echo "#define HAVE_U_INT8_T 1" >>confdefs.h
  78188. +
  78189. +
  78190. +fi
  78191. +
  78192. +
  78193. +ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "
  78194. /* What a mess.. many systems have added the (now standard) bit types
  78195. * in their own ways, so we need to scan a wide variety of headers to
  78196. * find them..
  78197. @@ -39126,66 +19910,19 @@
  78198. #include <netinet/in_systm.h>
  78199. #endif
  78200. +"
  78201. +if test "x$ac_cv_type_uint8_t" = x""yes; then :
  78202. -
  78203. -int
  78204. -main ()
  78205. -{
  78206. -static int test_array [1 - 2 * !(((long int) (sizeof (u_int64_t))) <= $ac_mid)];
  78207. -test_array [0] = 0
  78208. -
  78209. - ;
  78210. - return 0;
  78211. -}
  78212. -_ACEOF
  78213. -rm -f conftest.$ac_objext
  78214. -if { (ac_try="$ac_compile"
  78215. -case "(($ac_try" in
  78216. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  78217. - *) ac_try_echo=$ac_try;;
  78218. -esac
  78219. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  78220. -$as_echo "$ac_try_echo") >&5
  78221. - (eval "$ac_compile") 2>conftest.er1
  78222. - ac_status=$?
  78223. - grep -v '^ *+' conftest.er1 >conftest.err
  78224. - rm -f conftest.er1
  78225. - cat conftest.err >&5
  78226. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  78227. - (exit $ac_status); } && {
  78228. - test -z "$ac_c_werror_flag" ||
  78229. - test ! -s conftest.err
  78230. - } && test -s conftest.$ac_objext; then
  78231. - ac_hi=$ac_mid
  78232. -else
  78233. - $as_echo "$as_me: failed program was:" >&5
  78234. -sed 's/^/| /' conftest.$ac_ext >&5
  78235. -
  78236. - ac_lo=`expr '(' $ac_mid ')' + 1`
  78237. -fi
  78238. -
  78239. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  78240. -done
  78241. -case $ac_lo in
  78242. -?*) ac_cv_sizeof_u_int64_t=$ac_lo;;
  78243. -'') if test "$ac_cv_type_u_int64_t" = yes; then
  78244. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (u_int64_t)
  78245. -See \`config.log' for more details." >&5
  78246. -$as_echo "$as_me: error: cannot compute sizeof (u_int64_t)
  78247. -See \`config.log' for more details." >&2;}
  78248. - { (exit 77); exit 77; }; }
  78249. - else
  78250. - ac_cv_sizeof_u_int64_t=0
  78251. - fi ;;
  78252. -esac
  78253. + # The cast to long int works around a bug in the HP C Compiler
  78254. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  78255. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  78256. +# This bug is HP SR number 8606223364.
  78257. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uint8_t" >&5
  78258. +$as_echo_n "checking size of uint8_t... " >&6; }
  78259. +if test "${ac_cv_sizeof_uint8_t+set}" = set; then :
  78260. + $as_echo_n "(cached) " >&6
  78261. else
  78262. - cat >conftest.$ac_ext <<_ACEOF
  78263. -/* confdefs.h. */
  78264. -_ACEOF
  78265. -cat confdefs.h >>conftest.$ac_ext
  78266. -cat >>conftest.$ac_ext <<_ACEOF
  78267. -/* end confdefs.h. */
  78268. -
  78269. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uint8_t))" "ac_cv_sizeof_uint8_t" "
  78270. #include <stdio.h>
  78271. /* What a mess.. many systems have added the (now standard) bit types
  78272. @@ -39214,116 +19951,39 @@
  78273. #endif
  78274. +"; then :
  78275. -static long int longval () { return (long int) (sizeof (u_int64_t)); }
  78276. -static unsigned long int ulongval () { return (long int) (sizeof (u_int64_t)); }
  78277. -#include <stdio.h>
  78278. -#include <stdlib.h>
  78279. -int
  78280. -main ()
  78281. -{
  78282. -
  78283. - FILE *f = fopen ("conftest.val", "w");
  78284. - if (! f)
  78285. - return 1;
  78286. - if (((long int) (sizeof (u_int64_t))) < 0)
  78287. - {
  78288. - long int i = longval ();
  78289. - if (i != ((long int) (sizeof (u_int64_t))))
  78290. - return 1;
  78291. - fprintf (f, "%ld", i);
  78292. - }
  78293. - else
  78294. - {
  78295. - unsigned long int i = ulongval ();
  78296. - if (i != ((long int) (sizeof (u_int64_t))))
  78297. - return 1;
  78298. - fprintf (f, "%lu", i);
  78299. - }
  78300. - /* Do not output a trailing newline, as this causes \r\n confusion
  78301. - on some platforms. */
  78302. - return ferror (f) || fclose (f) != 0;
  78303. -
  78304. - ;
  78305. - return 0;
  78306. -}
  78307. -_ACEOF
  78308. -rm -f conftest$ac_exeext
  78309. -if { (ac_try="$ac_link"
  78310. -case "(($ac_try" in
  78311. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  78312. - *) ac_try_echo=$ac_try;;
  78313. -esac
  78314. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  78315. -$as_echo "$ac_try_echo") >&5
  78316. - (eval "$ac_link") 2>&5
  78317. - ac_status=$?
  78318. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  78319. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  78320. - { (case "(($ac_try" in
  78321. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  78322. - *) ac_try_echo=$ac_try;;
  78323. -esac
  78324. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  78325. -$as_echo "$ac_try_echo") >&5
  78326. - (eval "$ac_try") 2>&5
  78327. - ac_status=$?
  78328. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  78329. - (exit $ac_status); }; }; then
  78330. - ac_cv_sizeof_u_int64_t=`cat conftest.val`
  78331. else
  78332. - $as_echo "$as_me: program exited with status $ac_status" >&5
  78333. -$as_echo "$as_me: failed program was:" >&5
  78334. -sed 's/^/| /' conftest.$ac_ext >&5
  78335. -
  78336. -( exit $ac_status )
  78337. -if test "$ac_cv_type_u_int64_t" = yes; then
  78338. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (u_int64_t)
  78339. -See \`config.log' for more details." >&5
  78340. -$as_echo "$as_me: error: cannot compute sizeof (u_int64_t)
  78341. -See \`config.log' for more details." >&2;}
  78342. - { (exit 77); exit 77; }; }
  78343. + if test "$ac_cv_type_uint8_t" = yes; then
  78344. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  78345. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  78346. +{ as_fn_set_status 77
  78347. +as_fn_error "cannot compute sizeof (uint8_t)
  78348. +See \`config.log' for more details." "$LINENO" 5; }; }
  78349. else
  78350. - ac_cv_sizeof_u_int64_t=0
  78351. + ac_cv_sizeof_uint8_t=0
  78352. fi
  78353. fi
  78354. -rm -rf conftest.dSYM
  78355. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  78356. -fi
  78357. -rm -f conftest.val
  78358. +
  78359. fi
  78360. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_u_int64_t" >&5
  78361. -$as_echo "$ac_cv_sizeof_u_int64_t" >&6; }
  78362. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uint8_t" >&5
  78363. +$as_echo "$ac_cv_sizeof_uint8_t" >&6; }
  78364. cat >>confdefs.h <<_ACEOF
  78365. -#define SIZEOF_U_INT64_T $ac_cv_sizeof_u_int64_t
  78366. +#define SIZEOF_UINT8_T $ac_cv_sizeof_uint8_t
  78367. _ACEOF
  78368. -cat >>confdefs.h <<\_ACEOF
  78369. -#define HAVE_U_INT64_T 1
  78370. -_ACEOF
  78371. +$as_echo "#define HAVE_UINT8_T 1" >>confdefs.h
  78372. fi
  78373. -{ $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
  78374. -$as_echo_n "checking for uint64_t... " >&6; }
  78375. -if test "${ac_cv_type_uint64_t+set}" = set; then
  78376. - $as_echo_n "(cached) " >&6
  78377. -else
  78378. - ac_cv_type_uint64_t=no
  78379. -cat >conftest.$ac_ext <<_ACEOF
  78380. -/* confdefs.h. */
  78381. -_ACEOF
  78382. -cat confdefs.h >>conftest.$ac_ext
  78383. -cat >>conftest.$ac_ext <<_ACEOF
  78384. -/* end confdefs.h. */
  78385. -
  78386. +ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "
  78387. /* What a mess.. many systems have added the (now standard) bit types
  78388. * in their own ways, so we need to scan a wide variety of headers to
  78389. * find them..
  78390. @@ -39347,42 +20007,22 @@
  78391. #endif
  78392. #if HAVE_NETINET_IN_SYSTM_H
  78393. #include <netinet/in_systm.h>
  78394. -#endif
  78395. -
  78396. -
  78397. -int
  78398. -main ()
  78399. -{
  78400. -if (sizeof (uint64_t))
  78401. - return 0;
  78402. - ;
  78403. - return 0;
  78404. -}
  78405. -_ACEOF
  78406. -rm -f conftest.$ac_objext
  78407. -if { (ac_try="$ac_compile"
  78408. -case "(($ac_try" in
  78409. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  78410. - *) ac_try_echo=$ac_try;;
  78411. -esac
  78412. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  78413. -$as_echo "$ac_try_echo") >&5
  78414. - (eval "$ac_compile") 2>conftest.er1
  78415. - ac_status=$?
  78416. - grep -v '^ *+' conftest.er1 >conftest.err
  78417. - rm -f conftest.er1
  78418. - cat conftest.err >&5
  78419. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  78420. - (exit $ac_status); } && {
  78421. - test -z "$ac_c_werror_flag" ||
  78422. - test ! -s conftest.err
  78423. - } && test -s conftest.$ac_objext; then
  78424. - cat >conftest.$ac_ext <<_ACEOF
  78425. -/* confdefs.h. */
  78426. -_ACEOF
  78427. -cat confdefs.h >>conftest.$ac_ext
  78428. -cat >>conftest.$ac_ext <<_ACEOF
  78429. -/* end confdefs.h. */
  78430. +#endif
  78431. +
  78432. +"
  78433. +if test "x$ac_cv_type_int16_t" = x""yes; then :
  78434. +
  78435. + # The cast to long int works around a bug in the HP C Compiler
  78436. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  78437. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  78438. +# This bug is HP SR number 8606223364.
  78439. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int16_t" >&5
  78440. +$as_echo_n "checking size of int16_t... " >&6; }
  78441. +if test "${ac_cv_sizeof_int16_t+set}" = set; then :
  78442. + $as_echo_n "(cached) " >&6
  78443. +else
  78444. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int16_t))" "ac_cv_sizeof_int16_t" "
  78445. +#include <stdio.h>
  78446. /* What a mess.. many systems have added the (now standard) bit types
  78447. * in their own ways, so we need to scan a wide variety of headers to
  78448. @@ -39410,75 +20050,39 @@
  78449. #endif
  78450. -int
  78451. -main ()
  78452. -{
  78453. -if (sizeof ((uint64_t)))
  78454. - return 0;
  78455. - ;
  78456. - return 0;
  78457. -}
  78458. -_ACEOF
  78459. -rm -f conftest.$ac_objext
  78460. -if { (ac_try="$ac_compile"
  78461. -case "(($ac_try" in
  78462. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  78463. - *) ac_try_echo=$ac_try;;
  78464. -esac
  78465. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  78466. -$as_echo "$ac_try_echo") >&5
  78467. - (eval "$ac_compile") 2>conftest.er1
  78468. - ac_status=$?
  78469. - grep -v '^ *+' conftest.er1 >conftest.err
  78470. - rm -f conftest.er1
  78471. - cat conftest.err >&5
  78472. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  78473. - (exit $ac_status); } && {
  78474. - test -z "$ac_c_werror_flag" ||
  78475. - test ! -s conftest.err
  78476. - } && test -s conftest.$ac_objext; then
  78477. - :
  78478. +"; then :
  78479. +
  78480. else
  78481. - $as_echo "$as_me: failed program was:" >&5
  78482. -sed 's/^/| /' conftest.$ac_ext >&5
  78483. + if test "$ac_cv_type_int16_t" = yes; then
  78484. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  78485. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  78486. +{ as_fn_set_status 77
  78487. +as_fn_error "cannot compute sizeof (int16_t)
  78488. +See \`config.log' for more details." "$LINENO" 5; }; }
  78489. + else
  78490. + ac_cv_sizeof_int16_t=0
  78491. + fi
  78492. +fi
  78493. - ac_cv_type_uint64_t=yes
  78494. fi
  78495. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int16_t" >&5
  78496. +$as_echo "$ac_cv_sizeof_int16_t" >&6; }
  78497. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  78498. -else
  78499. - $as_echo "$as_me: failed program was:" >&5
  78500. -sed 's/^/| /' conftest.$ac_ext >&5
  78501. -fi
  78502. +cat >>confdefs.h <<_ACEOF
  78503. +#define SIZEOF_INT16_T $ac_cv_sizeof_int16_t
  78504. +_ACEOF
  78505. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  78506. -fi
  78507. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
  78508. -$as_echo "$ac_cv_type_uint64_t" >&6; }
  78509. -if test $ac_cv_type_uint64_t = yes; then
  78510. - # The cast to long int works around a bug in the HP C Compiler
  78511. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  78512. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  78513. -# This bug is HP SR number 8606223364.
  78514. -{ $as_echo "$as_me:$LINENO: checking size of uint64_t" >&5
  78515. -$as_echo_n "checking size of uint64_t... " >&6; }
  78516. -if test "${ac_cv_sizeof_uint64_t+set}" = set; then
  78517. - $as_echo_n "(cached) " >&6
  78518. -else
  78519. - if test "$cross_compiling" = yes; then
  78520. - # Depending upon the size, compute the lo and hi bounds.
  78521. -cat >conftest.$ac_ext <<_ACEOF
  78522. -/* confdefs.h. */
  78523. -_ACEOF
  78524. -cat confdefs.h >>conftest.$ac_ext
  78525. -cat >>conftest.$ac_ext <<_ACEOF
  78526. -/* end confdefs.h. */
  78527. -#include <stdio.h>
  78528. +$as_echo "#define HAVE_INT16_T 1" >>confdefs.h
  78529. +
  78530. +
  78531. +fi
  78532. +
  78533. +ac_fn_c_check_type "$LINENO" "short" "ac_cv_type_short" "
  78534. /* What a mess.. many systems have added the (now standard) bit types
  78535. * in their own ways, so we need to scan a wide variety of headers to
  78536. * find them..
  78537. @@ -39504,45 +20108,19 @@
  78538. #include <netinet/in_systm.h>
  78539. #endif
  78540. +"
  78541. +if test "x$ac_cv_type_short" = x""yes; then :
  78542. -
  78543. -int
  78544. -main ()
  78545. -{
  78546. -static int test_array [1 - 2 * !(((long int) (sizeof (uint64_t))) >= 0)];
  78547. -test_array [0] = 0
  78548. -
  78549. - ;
  78550. - return 0;
  78551. -}
  78552. -_ACEOF
  78553. -rm -f conftest.$ac_objext
  78554. -if { (ac_try="$ac_compile"
  78555. -case "(($ac_try" in
  78556. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  78557. - *) ac_try_echo=$ac_try;;
  78558. -esac
  78559. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  78560. -$as_echo "$ac_try_echo") >&5
  78561. - (eval "$ac_compile") 2>conftest.er1
  78562. - ac_status=$?
  78563. - grep -v '^ *+' conftest.er1 >conftest.err
  78564. - rm -f conftest.er1
  78565. - cat conftest.err >&5
  78566. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  78567. - (exit $ac_status); } && {
  78568. - test -z "$ac_c_werror_flag" ||
  78569. - test ! -s conftest.err
  78570. - } && test -s conftest.$ac_objext; then
  78571. - ac_lo=0 ac_mid=0
  78572. - while :; do
  78573. - cat >conftest.$ac_ext <<_ACEOF
  78574. -/* confdefs.h. */
  78575. -_ACEOF
  78576. -cat confdefs.h >>conftest.$ac_ext
  78577. -cat >>conftest.$ac_ext <<_ACEOF
  78578. -/* end confdefs.h. */
  78579. -
  78580. + # The cast to long int works around a bug in the HP C Compiler
  78581. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  78582. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  78583. +# This bug is HP SR number 8606223364.
  78584. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
  78585. +$as_echo_n "checking size of short... " >&6; }
  78586. +if test "${ac_cv_sizeof_short+set}" = set; then :
  78587. + $as_echo_n "(cached) " >&6
  78588. +else
  78589. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "
  78590. #include <stdio.h>
  78591. /* What a mess.. many systems have added the (now standard) bit types
  78592. @@ -39571,63 +20149,39 @@
  78593. #endif
  78594. +"; then :
  78595. -int
  78596. -main ()
  78597. -{
  78598. -static int test_array [1 - 2 * !(((long int) (sizeof (uint64_t))) <= $ac_mid)];
  78599. -test_array [0] = 0
  78600. -
  78601. - ;
  78602. - return 0;
  78603. -}
  78604. -_ACEOF
  78605. -rm -f conftest.$ac_objext
  78606. -if { (ac_try="$ac_compile"
  78607. -case "(($ac_try" in
  78608. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  78609. - *) ac_try_echo=$ac_try;;
  78610. -esac
  78611. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  78612. -$as_echo "$ac_try_echo") >&5
  78613. - (eval "$ac_compile") 2>conftest.er1
  78614. - ac_status=$?
  78615. - grep -v '^ *+' conftest.er1 >conftest.err
  78616. - rm -f conftest.er1
  78617. - cat conftest.err >&5
  78618. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  78619. - (exit $ac_status); } && {
  78620. - test -z "$ac_c_werror_flag" ||
  78621. - test ! -s conftest.err
  78622. - } && test -s conftest.$ac_objext; then
  78623. - ac_hi=$ac_mid; break
  78624. else
  78625. - $as_echo "$as_me: failed program was:" >&5
  78626. -sed 's/^/| /' conftest.$ac_ext >&5
  78627. + if test "$ac_cv_type_short" = yes; then
  78628. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  78629. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  78630. +{ as_fn_set_status 77
  78631. +as_fn_error "cannot compute sizeof (short)
  78632. +See \`config.log' for more details." "$LINENO" 5; }; }
  78633. + else
  78634. + ac_cv_sizeof_short=0
  78635. + fi
  78636. +fi
  78637. - ac_lo=`expr $ac_mid + 1`
  78638. - if test $ac_lo -le $ac_mid; then
  78639. - ac_lo= ac_hi=
  78640. - break
  78641. - fi
  78642. - ac_mid=`expr 2 '*' $ac_mid + 1`
  78643. fi
  78644. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
  78645. +$as_echo "$ac_cv_sizeof_short" >&6; }
  78646. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  78647. - done
  78648. -else
  78649. - $as_echo "$as_me: failed program was:" >&5
  78650. -sed 's/^/| /' conftest.$ac_ext >&5
  78651. - cat >conftest.$ac_ext <<_ACEOF
  78652. -/* confdefs.h. */
  78653. +
  78654. +cat >>confdefs.h <<_ACEOF
  78655. +#define SIZEOF_SHORT $ac_cv_sizeof_short
  78656. _ACEOF
  78657. -cat confdefs.h >>conftest.$ac_ext
  78658. -cat >>conftest.$ac_ext <<_ACEOF
  78659. -/* end confdefs.h. */
  78660. -#include <stdio.h>
  78661. +
  78662. +$as_echo "#define HAVE_SHORT 1" >>confdefs.h
  78663. +
  78664. +
  78665. +fi
  78666. +
  78667. +
  78668. +ac_fn_c_check_type "$LINENO" "int" "ac_cv_type_int" "
  78669. /* What a mess.. many systems have added the (now standard) bit types
  78670. * in their own ways, so we need to scan a wide variety of headers to
  78671. * find them..
  78672. @@ -39653,45 +20207,19 @@
  78673. #include <netinet/in_systm.h>
  78674. #endif
  78675. +"
  78676. +if test "x$ac_cv_type_int" = x""yes; then :
  78677. -
  78678. -int
  78679. -main ()
  78680. -{
  78681. -static int test_array [1 - 2 * !(((long int) (sizeof (uint64_t))) < 0)];
  78682. -test_array [0] = 0
  78683. -
  78684. - ;
  78685. - return 0;
  78686. -}
  78687. -_ACEOF
  78688. -rm -f conftest.$ac_objext
  78689. -if { (ac_try="$ac_compile"
  78690. -case "(($ac_try" in
  78691. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  78692. - *) ac_try_echo=$ac_try;;
  78693. -esac
  78694. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  78695. -$as_echo "$ac_try_echo") >&5
  78696. - (eval "$ac_compile") 2>conftest.er1
  78697. - ac_status=$?
  78698. - grep -v '^ *+' conftest.er1 >conftest.err
  78699. - rm -f conftest.er1
  78700. - cat conftest.err >&5
  78701. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  78702. - (exit $ac_status); } && {
  78703. - test -z "$ac_c_werror_flag" ||
  78704. - test ! -s conftest.err
  78705. - } && test -s conftest.$ac_objext; then
  78706. - ac_hi=-1 ac_mid=-1
  78707. - while :; do
  78708. - cat >conftest.$ac_ext <<_ACEOF
  78709. -/* confdefs.h. */
  78710. -_ACEOF
  78711. -cat confdefs.h >>conftest.$ac_ext
  78712. -cat >>conftest.$ac_ext <<_ACEOF
  78713. -/* end confdefs.h. */
  78714. -
  78715. + # The cast to long int works around a bug in the HP C Compiler
  78716. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  78717. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  78718. +# This bug is HP SR number 8606223364.
  78719. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
  78720. +$as_echo_n "checking size of int... " >&6; }
  78721. +if test "${ac_cv_sizeof_int+set}" = set; then :
  78722. + $as_echo_n "(cached) " >&6
  78723. +else
  78724. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "
  78725. #include <stdio.h>
  78726. /* What a mess.. many systems have added the (now standard) bit types
  78727. @@ -39720,73 +20248,39 @@
  78728. #endif
  78729. +"; then :
  78730. -int
  78731. -main ()
  78732. -{
  78733. -static int test_array [1 - 2 * !(((long int) (sizeof (uint64_t))) >= $ac_mid)];
  78734. -test_array [0] = 0
  78735. -
  78736. - ;
  78737. - return 0;
  78738. -}
  78739. -_ACEOF
  78740. -rm -f conftest.$ac_objext
  78741. -if { (ac_try="$ac_compile"
  78742. -case "(($ac_try" in
  78743. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  78744. - *) ac_try_echo=$ac_try;;
  78745. -esac
  78746. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  78747. -$as_echo "$ac_try_echo") >&5
  78748. - (eval "$ac_compile") 2>conftest.er1
  78749. - ac_status=$?
  78750. - grep -v '^ *+' conftest.er1 >conftest.err
  78751. - rm -f conftest.er1
  78752. - cat conftest.err >&5
  78753. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  78754. - (exit $ac_status); } && {
  78755. - test -z "$ac_c_werror_flag" ||
  78756. - test ! -s conftest.err
  78757. - } && test -s conftest.$ac_objext; then
  78758. - ac_lo=$ac_mid; break
  78759. else
  78760. - $as_echo "$as_me: failed program was:" >&5
  78761. -sed 's/^/| /' conftest.$ac_ext >&5
  78762. -
  78763. - ac_hi=`expr '(' $ac_mid ')' - 1`
  78764. - if test $ac_mid -le $ac_hi; then
  78765. - ac_lo= ac_hi=
  78766. - break
  78767. - fi
  78768. - ac_mid=`expr 2 '*' $ac_mid`
  78769. + if test "$ac_cv_type_int" = yes; then
  78770. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  78771. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  78772. +{ as_fn_set_status 77
  78773. +as_fn_error "cannot compute sizeof (int)
  78774. +See \`config.log' for more details." "$LINENO" 5; }; }
  78775. + else
  78776. + ac_cv_sizeof_int=0
  78777. + fi
  78778. fi
  78779. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  78780. - done
  78781. -else
  78782. - $as_echo "$as_me: failed program was:" >&5
  78783. -sed 's/^/| /' conftest.$ac_ext >&5
  78784. -
  78785. - ac_lo= ac_hi=
  78786. fi
  78787. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
  78788. +$as_echo "$ac_cv_sizeof_int" >&6; }
  78789. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  78790. -fi
  78791. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  78792. -# Binary search between lo and hi bounds.
  78793. -while test "x$ac_lo" != "x$ac_hi"; do
  78794. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  78795. - cat >conftest.$ac_ext <<_ACEOF
  78796. -/* confdefs.h. */
  78797. +
  78798. +cat >>confdefs.h <<_ACEOF
  78799. +#define SIZEOF_INT $ac_cv_sizeof_int
  78800. _ACEOF
  78801. -cat confdefs.h >>conftest.$ac_ext
  78802. -cat >>conftest.$ac_ext <<_ACEOF
  78803. -/* end confdefs.h. */
  78804. -#include <stdio.h>
  78805. +
  78806. +$as_echo "#define HAVE_INT 1" >>confdefs.h
  78807. +
  78808. +
  78809. +fi
  78810. +
  78811. +
  78812. +ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "
  78813. /* What a mess.. many systems have added the (now standard) bit types
  78814. * in their own ways, so we need to scan a wide variety of headers to
  78815. * find them..
  78816. @@ -39809,69 +20303,22 @@
  78817. #include <sys/select.h>
  78818. #endif
  78819. #if HAVE_NETINET_IN_SYSTM_H
  78820. -#include <netinet/in_systm.h>
  78821. -#endif
  78822. -
  78823. -
  78824. -
  78825. -int
  78826. -main ()
  78827. -{
  78828. -static int test_array [1 - 2 * !(((long int) (sizeof (uint64_t))) <= $ac_mid)];
  78829. -test_array [0] = 0
  78830. -
  78831. - ;
  78832. - return 0;
  78833. -}
  78834. -_ACEOF
  78835. -rm -f conftest.$ac_objext
  78836. -if { (ac_try="$ac_compile"
  78837. -case "(($ac_try" in
  78838. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  78839. - *) ac_try_echo=$ac_try;;
  78840. -esac
  78841. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  78842. -$as_echo "$ac_try_echo") >&5
  78843. - (eval "$ac_compile") 2>conftest.er1
  78844. - ac_status=$?
  78845. - grep -v '^ *+' conftest.er1 >conftest.err
  78846. - rm -f conftest.er1
  78847. - cat conftest.err >&5
  78848. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  78849. - (exit $ac_status); } && {
  78850. - test -z "$ac_c_werror_flag" ||
  78851. - test ! -s conftest.err
  78852. - } && test -s conftest.$ac_objext; then
  78853. - ac_hi=$ac_mid
  78854. -else
  78855. - $as_echo "$as_me: failed program was:" >&5
  78856. -sed 's/^/| /' conftest.$ac_ext >&5
  78857. -
  78858. - ac_lo=`expr '(' $ac_mid ')' + 1`
  78859. -fi
  78860. -
  78861. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  78862. -done
  78863. -case $ac_lo in
  78864. -?*) ac_cv_sizeof_uint64_t=$ac_lo;;
  78865. -'') if test "$ac_cv_type_uint64_t" = yes; then
  78866. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (uint64_t)
  78867. -See \`config.log' for more details." >&5
  78868. -$as_echo "$as_me: error: cannot compute sizeof (uint64_t)
  78869. -See \`config.log' for more details." >&2;}
  78870. - { (exit 77); exit 77; }; }
  78871. - else
  78872. - ac_cv_sizeof_uint64_t=0
  78873. - fi ;;
  78874. -esac
  78875. -else
  78876. - cat >conftest.$ac_ext <<_ACEOF
  78877. -/* confdefs.h. */
  78878. -_ACEOF
  78879. -cat confdefs.h >>conftest.$ac_ext
  78880. -cat >>conftest.$ac_ext <<_ACEOF
  78881. -/* end confdefs.h. */
  78882. +#include <netinet/in_systm.h>
  78883. +#endif
  78884. +
  78885. +"
  78886. +if test "x$ac_cv_type_u_int16_t" = x""yes; then :
  78887. + # The cast to long int works around a bug in the HP C Compiler
  78888. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  78889. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  78890. +# This bug is HP SR number 8606223364.
  78891. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of u_int16_t" >&5
  78892. +$as_echo_n "checking size of u_int16_t... " >&6; }
  78893. +if test "${ac_cv_sizeof_u_int16_t+set}" = set; then :
  78894. + $as_echo_n "(cached) " >&6
  78895. +else
  78896. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (u_int16_t))" "ac_cv_sizeof_u_int16_t" "
  78897. #include <stdio.h>
  78898. /* What a mess.. many systems have added the (now standard) bit types
  78899. @@ -39900,116 +20347,39 @@
  78900. #endif
  78901. +"; then :
  78902. -static long int longval () { return (long int) (sizeof (uint64_t)); }
  78903. -static unsigned long int ulongval () { return (long int) (sizeof (uint64_t)); }
  78904. -#include <stdio.h>
  78905. -#include <stdlib.h>
  78906. -int
  78907. -main ()
  78908. -{
  78909. -
  78910. - FILE *f = fopen ("conftest.val", "w");
  78911. - if (! f)
  78912. - return 1;
  78913. - if (((long int) (sizeof (uint64_t))) < 0)
  78914. - {
  78915. - long int i = longval ();
  78916. - if (i != ((long int) (sizeof (uint64_t))))
  78917. - return 1;
  78918. - fprintf (f, "%ld", i);
  78919. - }
  78920. - else
  78921. - {
  78922. - unsigned long int i = ulongval ();
  78923. - if (i != ((long int) (sizeof (uint64_t))))
  78924. - return 1;
  78925. - fprintf (f, "%lu", i);
  78926. - }
  78927. - /* Do not output a trailing newline, as this causes \r\n confusion
  78928. - on some platforms. */
  78929. - return ferror (f) || fclose (f) != 0;
  78930. -
  78931. - ;
  78932. - return 0;
  78933. -}
  78934. -_ACEOF
  78935. -rm -f conftest$ac_exeext
  78936. -if { (ac_try="$ac_link"
  78937. -case "(($ac_try" in
  78938. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  78939. - *) ac_try_echo=$ac_try;;
  78940. -esac
  78941. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  78942. -$as_echo "$ac_try_echo") >&5
  78943. - (eval "$ac_link") 2>&5
  78944. - ac_status=$?
  78945. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  78946. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  78947. - { (case "(($ac_try" in
  78948. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  78949. - *) ac_try_echo=$ac_try;;
  78950. -esac
  78951. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  78952. -$as_echo "$ac_try_echo") >&5
  78953. - (eval "$ac_try") 2>&5
  78954. - ac_status=$?
  78955. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  78956. - (exit $ac_status); }; }; then
  78957. - ac_cv_sizeof_uint64_t=`cat conftest.val`
  78958. else
  78959. - $as_echo "$as_me: program exited with status $ac_status" >&5
  78960. -$as_echo "$as_me: failed program was:" >&5
  78961. -sed 's/^/| /' conftest.$ac_ext >&5
  78962. -
  78963. -( exit $ac_status )
  78964. -if test "$ac_cv_type_uint64_t" = yes; then
  78965. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (uint64_t)
  78966. -See \`config.log' for more details." >&5
  78967. -$as_echo "$as_me: error: cannot compute sizeof (uint64_t)
  78968. -See \`config.log' for more details." >&2;}
  78969. - { (exit 77); exit 77; }; }
  78970. + if test "$ac_cv_type_u_int16_t" = yes; then
  78971. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  78972. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  78973. +{ as_fn_set_status 77
  78974. +as_fn_error "cannot compute sizeof (u_int16_t)
  78975. +See \`config.log' for more details." "$LINENO" 5; }; }
  78976. else
  78977. - ac_cv_sizeof_uint64_t=0
  78978. + ac_cv_sizeof_u_int16_t=0
  78979. fi
  78980. fi
  78981. -rm -rf conftest.dSYM
  78982. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  78983. -fi
  78984. -rm -f conftest.val
  78985. +
  78986. fi
  78987. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_uint64_t" >&5
  78988. -$as_echo "$ac_cv_sizeof_uint64_t" >&6; }
  78989. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_u_int16_t" >&5
  78990. +$as_echo "$ac_cv_sizeof_u_int16_t" >&6; }
  78991. cat >>confdefs.h <<_ACEOF
  78992. -#define SIZEOF_UINT64_T $ac_cv_sizeof_uint64_t
  78993. +#define SIZEOF_U_INT16_T $ac_cv_sizeof_u_int16_t
  78994. _ACEOF
  78995. -cat >>confdefs.h <<\_ACEOF
  78996. -#define HAVE_UINT64_T 1
  78997. -_ACEOF
  78998. +$as_echo "#define HAVE_U_INT16_T 1" >>confdefs.h
  78999. fi
  79000. -{ $as_echo "$as_me:$LINENO: checking for pad128_t" >&5
  79001. -$as_echo_n "checking for pad128_t... " >&6; }
  79002. -if test "${ac_cv_type_pad128_t+set}" = set; then
  79003. - $as_echo_n "(cached) " >&6
  79004. -else
  79005. - ac_cv_type_pad128_t=no
  79006. -cat >conftest.$ac_ext <<_ACEOF
  79007. -/* confdefs.h. */
  79008. -_ACEOF
  79009. -cat confdefs.h >>conftest.$ac_ext
  79010. -cat >>conftest.$ac_ext <<_ACEOF
  79011. -/* end confdefs.h. */
  79012. -
  79013. +ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "
  79014. /* What a mess.. many systems have added the (now standard) bit types
  79015. * in their own ways, so we need to scan a wide variety of headers to
  79016. * find them..
  79017. @@ -40035,40 +20405,20 @@
  79018. #include <netinet/in_systm.h>
  79019. #endif
  79020. +"
  79021. +if test "x$ac_cv_type_uint16_t" = x""yes; then :
  79022. -int
  79023. -main ()
  79024. -{
  79025. -if (sizeof (pad128_t))
  79026. - return 0;
  79027. - ;
  79028. - return 0;
  79029. -}
  79030. -_ACEOF
  79031. -rm -f conftest.$ac_objext
  79032. -if { (ac_try="$ac_compile"
  79033. -case "(($ac_try" in
  79034. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  79035. - *) ac_try_echo=$ac_try;;
  79036. -esac
  79037. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  79038. -$as_echo "$ac_try_echo") >&5
  79039. - (eval "$ac_compile") 2>conftest.er1
  79040. - ac_status=$?
  79041. - grep -v '^ *+' conftest.er1 >conftest.err
  79042. - rm -f conftest.er1
  79043. - cat conftest.err >&5
  79044. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  79045. - (exit $ac_status); } && {
  79046. - test -z "$ac_c_werror_flag" ||
  79047. - test ! -s conftest.err
  79048. - } && test -s conftest.$ac_objext; then
  79049. - cat >conftest.$ac_ext <<_ACEOF
  79050. -/* confdefs.h. */
  79051. -_ACEOF
  79052. -cat confdefs.h >>conftest.$ac_ext
  79053. -cat >>conftest.$ac_ext <<_ACEOF
  79054. -/* end confdefs.h. */
  79055. + # The cast to long int works around a bug in the HP C Compiler
  79056. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  79057. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  79058. +# This bug is HP SR number 8606223364.
  79059. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uint16_t" >&5
  79060. +$as_echo_n "checking size of uint16_t... " >&6; }
  79061. +if test "${ac_cv_sizeof_uint16_t+set}" = set; then :
  79062. + $as_echo_n "(cached) " >&6
  79063. +else
  79064. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uint16_t))" "ac_cv_sizeof_uint16_t" "
  79065. +#include <stdio.h>
  79066. /* What a mess.. many systems have added the (now standard) bit types
  79067. * in their own ways, so we need to scan a wide variety of headers to
  79068. @@ -40096,75 +20446,39 @@
  79069. #endif
  79070. -int
  79071. -main ()
  79072. -{
  79073. -if (sizeof ((pad128_t)))
  79074. - return 0;
  79075. - ;
  79076. - return 0;
  79077. -}
  79078. -_ACEOF
  79079. -rm -f conftest.$ac_objext
  79080. -if { (ac_try="$ac_compile"
  79081. -case "(($ac_try" in
  79082. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  79083. - *) ac_try_echo=$ac_try;;
  79084. -esac
  79085. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  79086. -$as_echo "$ac_try_echo") >&5
  79087. - (eval "$ac_compile") 2>conftest.er1
  79088. - ac_status=$?
  79089. - grep -v '^ *+' conftest.er1 >conftest.err
  79090. - rm -f conftest.er1
  79091. - cat conftest.err >&5
  79092. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  79093. - (exit $ac_status); } && {
  79094. - test -z "$ac_c_werror_flag" ||
  79095. - test ! -s conftest.err
  79096. - } && test -s conftest.$ac_objext; then
  79097. - :
  79098. +"; then :
  79099. +
  79100. else
  79101. - $as_echo "$as_me: failed program was:" >&5
  79102. -sed 's/^/| /' conftest.$ac_ext >&5
  79103. + if test "$ac_cv_type_uint16_t" = yes; then
  79104. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  79105. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  79106. +{ as_fn_set_status 77
  79107. +as_fn_error "cannot compute sizeof (uint16_t)
  79108. +See \`config.log' for more details." "$LINENO" 5; }; }
  79109. + else
  79110. + ac_cv_sizeof_uint16_t=0
  79111. + fi
  79112. +fi
  79113. - ac_cv_type_pad128_t=yes
  79114. fi
  79115. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uint16_t" >&5
  79116. +$as_echo "$ac_cv_sizeof_uint16_t" >&6; }
  79117. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  79118. -else
  79119. - $as_echo "$as_me: failed program was:" >&5
  79120. -sed 's/^/| /' conftest.$ac_ext >&5
  79121. -fi
  79122. +cat >>confdefs.h <<_ACEOF
  79123. +#define SIZEOF_UINT16_T $ac_cv_sizeof_uint16_t
  79124. +_ACEOF
  79125. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  79126. -fi
  79127. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pad128_t" >&5
  79128. -$as_echo "$ac_cv_type_pad128_t" >&6; }
  79129. -if test $ac_cv_type_pad128_t = yes; then
  79130. -cat >>confdefs.h <<\_ACEOF
  79131. -#define HAVE_PAD128_T 1
  79132. -_ACEOF
  79133. -fi
  79134. +$as_echo "#define HAVE_UINT16_T 1" >>confdefs.h
  79135. -{ $as_echo "$as_me:$LINENO: checking for upad128_t" >&5
  79136. -$as_echo_n "checking for upad128_t... " >&6; }
  79137. -if test "${ac_cv_type_upad128_t+set}" = set; then
  79138. - $as_echo_n "(cached) " >&6
  79139. -else
  79140. - ac_cv_type_upad128_t=no
  79141. -cat >conftest.$ac_ext <<_ACEOF
  79142. -/* confdefs.h. */
  79143. -_ACEOF
  79144. -cat confdefs.h >>conftest.$ac_ext
  79145. -cat >>conftest.$ac_ext <<_ACEOF
  79146. -/* end confdefs.h. */
  79147. +fi
  79148. +
  79149. +ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "
  79150. /* What a mess.. many systems have added the (now standard) bit types
  79151. * in their own ways, so we need to scan a wide variety of headers to
  79152. * find them..
  79153. @@ -40190,40 +20504,20 @@
  79154. #include <netinet/in_systm.h>
  79155. #endif
  79156. +"
  79157. +if test "x$ac_cv_type_int32_t" = x""yes; then :
  79158. -int
  79159. -main ()
  79160. -{
  79161. -if (sizeof (upad128_t))
  79162. - return 0;
  79163. - ;
  79164. - return 0;
  79165. -}
  79166. -_ACEOF
  79167. -rm -f conftest.$ac_objext
  79168. -if { (ac_try="$ac_compile"
  79169. -case "(($ac_try" in
  79170. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  79171. - *) ac_try_echo=$ac_try;;
  79172. -esac
  79173. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  79174. -$as_echo "$ac_try_echo") >&5
  79175. - (eval "$ac_compile") 2>conftest.er1
  79176. - ac_status=$?
  79177. - grep -v '^ *+' conftest.er1 >conftest.err
  79178. - rm -f conftest.er1
  79179. - cat conftest.err >&5
  79180. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  79181. - (exit $ac_status); } && {
  79182. - test -z "$ac_c_werror_flag" ||
  79183. - test ! -s conftest.err
  79184. - } && test -s conftest.$ac_objext; then
  79185. - cat >conftest.$ac_ext <<_ACEOF
  79186. -/* confdefs.h. */
  79187. -_ACEOF
  79188. -cat confdefs.h >>conftest.$ac_ext
  79189. -cat >>conftest.$ac_ext <<_ACEOF
  79190. -/* end confdefs.h. */
  79191. + # The cast to long int works around a bug in the HP C Compiler
  79192. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  79193. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  79194. +# This bug is HP SR number 8606223364.
  79195. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int32_t" >&5
  79196. +$as_echo_n "checking size of int32_t... " >&6; }
  79197. +if test "${ac_cv_sizeof_int32_t+set}" = set; then :
  79198. + $as_echo_n "(cached) " >&6
  79199. +else
  79200. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int32_t))" "ac_cv_sizeof_int32_t" "
  79201. +#include <stdio.h>
  79202. /* What a mess.. many systems have added the (now standard) bit types
  79203. * in their own ways, so we need to scan a wide variety of headers to
  79204. @@ -40251,75 +20545,39 @@
  79205. #endif
  79206. -int
  79207. -main ()
  79208. -{
  79209. -if (sizeof ((upad128_t)))
  79210. - return 0;
  79211. - ;
  79212. - return 0;
  79213. -}
  79214. -_ACEOF
  79215. -rm -f conftest.$ac_objext
  79216. -if { (ac_try="$ac_compile"
  79217. -case "(($ac_try" in
  79218. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  79219. - *) ac_try_echo=$ac_try;;
  79220. -esac
  79221. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  79222. -$as_echo "$ac_try_echo") >&5
  79223. - (eval "$ac_compile") 2>conftest.er1
  79224. - ac_status=$?
  79225. - grep -v '^ *+' conftest.er1 >conftest.err
  79226. - rm -f conftest.er1
  79227. - cat conftest.err >&5
  79228. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  79229. - (exit $ac_status); } && {
  79230. - test -z "$ac_c_werror_flag" ||
  79231. - test ! -s conftest.err
  79232. - } && test -s conftest.$ac_objext; then
  79233. - :
  79234. +"; then :
  79235. +
  79236. else
  79237. - $as_echo "$as_me: failed program was:" >&5
  79238. -sed 's/^/| /' conftest.$ac_ext >&5
  79239. + if test "$ac_cv_type_int32_t" = yes; then
  79240. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  79241. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  79242. +{ as_fn_set_status 77
  79243. +as_fn_error "cannot compute sizeof (int32_t)
  79244. +See \`config.log' for more details." "$LINENO" 5; }; }
  79245. + else
  79246. + ac_cv_sizeof_int32_t=0
  79247. + fi
  79248. +fi
  79249. - ac_cv_type_upad128_t=yes
  79250. fi
  79251. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int32_t" >&5
  79252. +$as_echo "$ac_cv_sizeof_int32_t" >&6; }
  79253. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  79254. -else
  79255. - $as_echo "$as_me: failed program was:" >&5
  79256. -sed 's/^/| /' conftest.$ac_ext >&5
  79257. -fi
  79258. +cat >>confdefs.h <<_ACEOF
  79259. +#define SIZEOF_INT32_T $ac_cv_sizeof_int32_t
  79260. +_ACEOF
  79261. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  79262. -fi
  79263. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_upad128_t" >&5
  79264. -$as_echo "$ac_cv_type_upad128_t" >&6; }
  79265. -if test $ac_cv_type_upad128_t = yes; then
  79266. -cat >>confdefs.h <<\_ACEOF
  79267. -#define HAVE_UPAD128_T 1
  79268. -_ACEOF
  79269. -fi
  79270. +$as_echo "#define HAVE_INT32_T 1" >>confdefs.h
  79271. -{ $as_echo "$as_me:$LINENO: checking for pid_t" >&5
  79272. -$as_echo_n "checking for pid_t... " >&6; }
  79273. -if test "${ac_cv_type_pid_t+set}" = set; then
  79274. - $as_echo_n "(cached) " >&6
  79275. -else
  79276. - ac_cv_type_pid_t=no
  79277. -cat >conftest.$ac_ext <<_ACEOF
  79278. -/* confdefs.h. */
  79279. -_ACEOF
  79280. -cat confdefs.h >>conftest.$ac_ext
  79281. -cat >>conftest.$ac_ext <<_ACEOF
  79282. -/* end confdefs.h. */
  79283. +fi
  79284. +
  79285. +ac_fn_c_check_type "$LINENO" "long" "ac_cv_type_long" "
  79286. /* What a mess.. many systems have added the (now standard) bit types
  79287. * in their own ways, so we need to scan a wide variety of headers to
  79288. * find them..
  79289. @@ -40345,40 +20603,20 @@
  79290. #include <netinet/in_systm.h>
  79291. #endif
  79292. +"
  79293. +if test "x$ac_cv_type_long" = x""yes; then :
  79294. -int
  79295. -main ()
  79296. -{
  79297. -if (sizeof (pid_t))
  79298. - return 0;
  79299. - ;
  79300. - return 0;
  79301. -}
  79302. -_ACEOF
  79303. -rm -f conftest.$ac_objext
  79304. -if { (ac_try="$ac_compile"
  79305. -case "(($ac_try" in
  79306. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  79307. - *) ac_try_echo=$ac_try;;
  79308. -esac
  79309. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  79310. -$as_echo "$ac_try_echo") >&5
  79311. - (eval "$ac_compile") 2>conftest.er1
  79312. - ac_status=$?
  79313. - grep -v '^ *+' conftest.er1 >conftest.err
  79314. - rm -f conftest.er1
  79315. - cat conftest.err >&5
  79316. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  79317. - (exit $ac_status); } && {
  79318. - test -z "$ac_c_werror_flag" ||
  79319. - test ! -s conftest.err
  79320. - } && test -s conftest.$ac_objext; then
  79321. - cat >conftest.$ac_ext <<_ACEOF
  79322. -/* confdefs.h. */
  79323. -_ACEOF
  79324. -cat confdefs.h >>conftest.$ac_ext
  79325. -cat >>conftest.$ac_ext <<_ACEOF
  79326. -/* end confdefs.h. */
  79327. + # The cast to long int works around a bug in the HP C Compiler
  79328. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  79329. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  79330. +# This bug is HP SR number 8606223364.
  79331. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
  79332. +$as_echo_n "checking size of long... " >&6; }
  79333. +if test "${ac_cv_sizeof_long+set}" = set; then :
  79334. + $as_echo_n "(cached) " >&6
  79335. +else
  79336. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "
  79337. +#include <stdio.h>
  79338. /* What a mess.. many systems have added the (now standard) bit types
  79339. * in their own ways, so we need to scan a wide variety of headers to
  79340. @@ -40402,78 +20640,43 @@
  79341. #include <sys/select.h>
  79342. #endif
  79343. #if HAVE_NETINET_IN_SYSTM_H
  79344. -#include <netinet/in_systm.h>
  79345. -#endif
  79346. -
  79347. -
  79348. -int
  79349. -main ()
  79350. -{
  79351. -if (sizeof ((pid_t)))
  79352. - return 0;
  79353. - ;
  79354. - return 0;
  79355. -}
  79356. -_ACEOF
  79357. -rm -f conftest.$ac_objext
  79358. -if { (ac_try="$ac_compile"
  79359. -case "(($ac_try" in
  79360. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  79361. - *) ac_try_echo=$ac_try;;
  79362. -esac
  79363. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  79364. -$as_echo "$ac_try_echo") >&5
  79365. - (eval "$ac_compile") 2>conftest.er1
  79366. - ac_status=$?
  79367. - grep -v '^ *+' conftest.er1 >conftest.err
  79368. - rm -f conftest.er1
  79369. - cat conftest.err >&5
  79370. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  79371. - (exit $ac_status); } && {
  79372. - test -z "$ac_c_werror_flag" ||
  79373. - test ! -s conftest.err
  79374. - } && test -s conftest.$ac_objext; then
  79375. - :
  79376. -else
  79377. - $as_echo "$as_me: failed program was:" >&5
  79378. -sed 's/^/| /' conftest.$ac_ext >&5
  79379. -
  79380. - ac_cv_type_pid_t=yes
  79381. -fi
  79382. +#include <netinet/in_systm.h>
  79383. +#endif
  79384. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  79385. -else
  79386. - $as_echo "$as_me: failed program was:" >&5
  79387. -sed 's/^/| /' conftest.$ac_ext >&5
  79388. +"; then :
  79389. +else
  79390. + if test "$ac_cv_type_long" = yes; then
  79391. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  79392. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  79393. +{ as_fn_set_status 77
  79394. +as_fn_error "cannot compute sizeof (long)
  79395. +See \`config.log' for more details." "$LINENO" 5; }; }
  79396. + else
  79397. + ac_cv_sizeof_long=0
  79398. + fi
  79399. fi
  79400. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  79401. fi
  79402. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
  79403. -$as_echo "$ac_cv_type_pid_t" >&6; }
  79404. -if test $ac_cv_type_pid_t = yes; then
  79405. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
  79406. +$as_echo "$ac_cv_sizeof_long" >&6; }
  79407. -cat >>confdefs.h <<\_ACEOF
  79408. -#define HAVE_PID_T 1
  79409. +
  79410. +
  79411. +cat >>confdefs.h <<_ACEOF
  79412. +#define SIZEOF_LONG $ac_cv_sizeof_long
  79413. _ACEOF
  79414. +
  79415. +
  79416. +$as_echo "#define HAVE_LONG 1" >>confdefs.h
  79417. +
  79418. +
  79419. fi
  79420. -{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
  79421. -$as_echo_n "checking for size_t... " >&6; }
  79422. -if test "${ac_cv_type_size_t+set}" = set; then
  79423. - $as_echo_n "(cached) " >&6
  79424. -else
  79425. - ac_cv_type_size_t=no
  79426. -cat >conftest.$ac_ext <<_ACEOF
  79427. -/* confdefs.h. */
  79428. -_ACEOF
  79429. -cat confdefs.h >>conftest.$ac_ext
  79430. -cat >>conftest.$ac_ext <<_ACEOF
  79431. -/* end confdefs.h. */
  79432. +ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "
  79433. /* What a mess.. many systems have added the (now standard) bit types
  79434. * in their own ways, so we need to scan a wide variety of headers to
  79435. * find them..
  79436. @@ -40499,40 +20702,20 @@
  79437. #include <netinet/in_systm.h>
  79438. #endif
  79439. +"
  79440. +if test "x$ac_cv_type_u_int32_t" = x""yes; then :
  79441. -int
  79442. -main ()
  79443. -{
  79444. -if (sizeof (size_t))
  79445. - return 0;
  79446. - ;
  79447. - return 0;
  79448. -}
  79449. -_ACEOF
  79450. -rm -f conftest.$ac_objext
  79451. -if { (ac_try="$ac_compile"
  79452. -case "(($ac_try" in
  79453. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  79454. - *) ac_try_echo=$ac_try;;
  79455. -esac
  79456. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  79457. -$as_echo "$ac_try_echo") >&5
  79458. - (eval "$ac_compile") 2>conftest.er1
  79459. - ac_status=$?
  79460. - grep -v '^ *+' conftest.er1 >conftest.err
  79461. - rm -f conftest.er1
  79462. - cat conftest.err >&5
  79463. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  79464. - (exit $ac_status); } && {
  79465. - test -z "$ac_c_werror_flag" ||
  79466. - test ! -s conftest.err
  79467. - } && test -s conftest.$ac_objext; then
  79468. - cat >conftest.$ac_ext <<_ACEOF
  79469. -/* confdefs.h. */
  79470. -_ACEOF
  79471. -cat confdefs.h >>conftest.$ac_ext
  79472. -cat >>conftest.$ac_ext <<_ACEOF
  79473. -/* end confdefs.h. */
  79474. + # The cast to long int works around a bug in the HP C Compiler
  79475. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  79476. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  79477. +# This bug is HP SR number 8606223364.
  79478. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of u_int32_t" >&5
  79479. +$as_echo_n "checking size of u_int32_t... " >&6; }
  79480. +if test "${ac_cv_sizeof_u_int32_t+set}" = set; then :
  79481. + $as_echo_n "(cached) " >&6
  79482. +else
  79483. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (u_int32_t))" "ac_cv_sizeof_u_int32_t" "
  79484. +#include <stdio.h>
  79485. /* What a mess.. many systems have added the (now standard) bit types
  79486. * in their own ways, so we need to scan a wide variety of headers to
  79487. @@ -40560,74 +20743,39 @@
  79488. #endif
  79489. -int
  79490. -main ()
  79491. -{
  79492. -if (sizeof ((size_t)))
  79493. - return 0;
  79494. - ;
  79495. - return 0;
  79496. -}
  79497. -_ACEOF
  79498. -rm -f conftest.$ac_objext
  79499. -if { (ac_try="$ac_compile"
  79500. -case "(($ac_try" in
  79501. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  79502. - *) ac_try_echo=$ac_try;;
  79503. -esac
  79504. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  79505. -$as_echo "$ac_try_echo") >&5
  79506. - (eval "$ac_compile") 2>conftest.er1
  79507. - ac_status=$?
  79508. - grep -v '^ *+' conftest.er1 >conftest.err
  79509. - rm -f conftest.er1
  79510. - cat conftest.err >&5
  79511. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  79512. - (exit $ac_status); } && {
  79513. - test -z "$ac_c_werror_flag" ||
  79514. - test ! -s conftest.err
  79515. - } && test -s conftest.$ac_objext; then
  79516. - :
  79517. +"; then :
  79518. +
  79519. else
  79520. - $as_echo "$as_me: failed program was:" >&5
  79521. -sed 's/^/| /' conftest.$ac_ext >&5
  79522. + if test "$ac_cv_type_u_int32_t" = yes; then
  79523. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  79524. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  79525. +{ as_fn_set_status 77
  79526. +as_fn_error "cannot compute sizeof (u_int32_t)
  79527. +See \`config.log' for more details." "$LINENO" 5; }; }
  79528. + else
  79529. + ac_cv_sizeof_u_int32_t=0
  79530. + fi
  79531. +fi
  79532. - ac_cv_type_size_t=yes
  79533. fi
  79534. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_u_int32_t" >&5
  79535. +$as_echo "$ac_cv_sizeof_u_int32_t" >&6; }
  79536. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  79537. -else
  79538. - $as_echo "$as_me: failed program was:" >&5
  79539. -sed 's/^/| /' conftest.$ac_ext >&5
  79540. -fi
  79541. +cat >>confdefs.h <<_ACEOF
  79542. +#define SIZEOF_U_INT32_T $ac_cv_sizeof_u_int32_t
  79543. +_ACEOF
  79544. +
  79545. +
  79546. +
  79547. +$as_echo "#define HAVE_U_INT32_T 1" >>confdefs.h
  79548. +
  79549. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  79550. fi
  79551. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
  79552. -$as_echo "$ac_cv_type_size_t" >&6; }
  79553. -if test $ac_cv_type_size_t = yes; then
  79554. - # The cast to long int works around a bug in the HP C Compiler
  79555. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  79556. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  79557. -# This bug is HP SR number 8606223364.
  79558. -{ $as_echo "$as_me:$LINENO: checking size of size_t" >&5
  79559. -$as_echo_n "checking size of size_t... " >&6; }
  79560. -if test "${ac_cv_sizeof_size_t+set}" = set; then
  79561. - $as_echo_n "(cached) " >&6
  79562. -else
  79563. - if test "$cross_compiling" = yes; then
  79564. - # Depending upon the size, compute the lo and hi bounds.
  79565. -cat >conftest.$ac_ext <<_ACEOF
  79566. -/* confdefs.h. */
  79567. -_ACEOF
  79568. -cat confdefs.h >>conftest.$ac_ext
  79569. -cat >>conftest.$ac_ext <<_ACEOF
  79570. -/* end confdefs.h. */
  79571. -#include <stdio.h>
  79572. +ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "
  79573. /* What a mess.. many systems have added the (now standard) bit types
  79574. * in their own ways, so we need to scan a wide variety of headers to
  79575. * find them..
  79576. @@ -40653,45 +20801,19 @@
  79577. #include <netinet/in_systm.h>
  79578. #endif
  79579. +"
  79580. +if test "x$ac_cv_type_uint32_t" = x""yes; then :
  79581. -
  79582. -int
  79583. -main ()
  79584. -{
  79585. -static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) >= 0)];
  79586. -test_array [0] = 0
  79587. -
  79588. - ;
  79589. - return 0;
  79590. -}
  79591. -_ACEOF
  79592. -rm -f conftest.$ac_objext
  79593. -if { (ac_try="$ac_compile"
  79594. -case "(($ac_try" in
  79595. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  79596. - *) ac_try_echo=$ac_try;;
  79597. -esac
  79598. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  79599. -$as_echo "$ac_try_echo") >&5
  79600. - (eval "$ac_compile") 2>conftest.er1
  79601. - ac_status=$?
  79602. - grep -v '^ *+' conftest.er1 >conftest.err
  79603. - rm -f conftest.er1
  79604. - cat conftest.err >&5
  79605. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  79606. - (exit $ac_status); } && {
  79607. - test -z "$ac_c_werror_flag" ||
  79608. - test ! -s conftest.err
  79609. - } && test -s conftest.$ac_objext; then
  79610. - ac_lo=0 ac_mid=0
  79611. - while :; do
  79612. - cat >conftest.$ac_ext <<_ACEOF
  79613. -/* confdefs.h. */
  79614. -_ACEOF
  79615. -cat confdefs.h >>conftest.$ac_ext
  79616. -cat >>conftest.$ac_ext <<_ACEOF
  79617. -/* end confdefs.h. */
  79618. -
  79619. + # The cast to long int works around a bug in the HP C Compiler
  79620. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  79621. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  79622. +# This bug is HP SR number 8606223364.
  79623. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uint32_t" >&5
  79624. +$as_echo_n "checking size of uint32_t... " >&6; }
  79625. +if test "${ac_cv_sizeof_uint32_t+set}" = set; then :
  79626. + $as_echo_n "(cached) " >&6
  79627. +else
  79628. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uint32_t))" "ac_cv_sizeof_uint32_t" "
  79629. #include <stdio.h>
  79630. /* What a mess.. many systems have added the (now standard) bit types
  79631. @@ -40720,63 +20842,39 @@
  79632. #endif
  79633. +"; then :
  79634. -int
  79635. -main ()
  79636. -{
  79637. -static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= $ac_mid)];
  79638. -test_array [0] = 0
  79639. -
  79640. - ;
  79641. - return 0;
  79642. -}
  79643. -_ACEOF
  79644. -rm -f conftest.$ac_objext
  79645. -if { (ac_try="$ac_compile"
  79646. -case "(($ac_try" in
  79647. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  79648. - *) ac_try_echo=$ac_try;;
  79649. -esac
  79650. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  79651. -$as_echo "$ac_try_echo") >&5
  79652. - (eval "$ac_compile") 2>conftest.er1
  79653. - ac_status=$?
  79654. - grep -v '^ *+' conftest.er1 >conftest.err
  79655. - rm -f conftest.er1
  79656. - cat conftest.err >&5
  79657. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  79658. - (exit $ac_status); } && {
  79659. - test -z "$ac_c_werror_flag" ||
  79660. - test ! -s conftest.err
  79661. - } && test -s conftest.$ac_objext; then
  79662. - ac_hi=$ac_mid; break
  79663. else
  79664. - $as_echo "$as_me: failed program was:" >&5
  79665. -sed 's/^/| /' conftest.$ac_ext >&5
  79666. + if test "$ac_cv_type_uint32_t" = yes; then
  79667. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  79668. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  79669. +{ as_fn_set_status 77
  79670. +as_fn_error "cannot compute sizeof (uint32_t)
  79671. +See \`config.log' for more details." "$LINENO" 5; }; }
  79672. + else
  79673. + ac_cv_sizeof_uint32_t=0
  79674. + fi
  79675. +fi
  79676. - ac_lo=`expr $ac_mid + 1`
  79677. - if test $ac_lo -le $ac_mid; then
  79678. - ac_lo= ac_hi=
  79679. - break
  79680. - fi
  79681. - ac_mid=`expr 2 '*' $ac_mid + 1`
  79682. fi
  79683. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uint32_t" >&5
  79684. +$as_echo "$ac_cv_sizeof_uint32_t" >&6; }
  79685. +
  79686. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  79687. - done
  79688. -else
  79689. - $as_echo "$as_me: failed program was:" >&5
  79690. -sed 's/^/| /' conftest.$ac_ext >&5
  79691. - cat >conftest.$ac_ext <<_ACEOF
  79692. -/* confdefs.h. */
  79693. +cat >>confdefs.h <<_ACEOF
  79694. +#define SIZEOF_UINT32_T $ac_cv_sizeof_uint32_t
  79695. _ACEOF
  79696. -cat confdefs.h >>conftest.$ac_ext
  79697. -cat >>conftest.$ac_ext <<_ACEOF
  79698. -/* end confdefs.h. */
  79699. -#include <stdio.h>
  79700. +
  79701. +$as_echo "#define HAVE_UINT32_T 1" >>confdefs.h
  79702. +
  79703. +
  79704. +fi
  79705. +
  79706. +
  79707. +ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "
  79708. /* What a mess.. many systems have added the (now standard) bit types
  79709. * in their own ways, so we need to scan a wide variety of headers to
  79710. * find them..
  79711. @@ -40802,45 +20900,19 @@
  79712. #include <netinet/in_systm.h>
  79713. #endif
  79714. +"
  79715. +if test "x$ac_cv_type_int64_t" = x""yes; then :
  79716. -
  79717. -int
  79718. -main ()
  79719. -{
  79720. -static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) < 0)];
  79721. -test_array [0] = 0
  79722. -
  79723. - ;
  79724. - return 0;
  79725. -}
  79726. -_ACEOF
  79727. -rm -f conftest.$ac_objext
  79728. -if { (ac_try="$ac_compile"
  79729. -case "(($ac_try" in
  79730. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  79731. - *) ac_try_echo=$ac_try;;
  79732. -esac
  79733. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  79734. -$as_echo "$ac_try_echo") >&5
  79735. - (eval "$ac_compile") 2>conftest.er1
  79736. - ac_status=$?
  79737. - grep -v '^ *+' conftest.er1 >conftest.err
  79738. - rm -f conftest.er1
  79739. - cat conftest.err >&5
  79740. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  79741. - (exit $ac_status); } && {
  79742. - test -z "$ac_c_werror_flag" ||
  79743. - test ! -s conftest.err
  79744. - } && test -s conftest.$ac_objext; then
  79745. - ac_hi=-1 ac_mid=-1
  79746. - while :; do
  79747. - cat >conftest.$ac_ext <<_ACEOF
  79748. -/* confdefs.h. */
  79749. -_ACEOF
  79750. -cat confdefs.h >>conftest.$ac_ext
  79751. -cat >>conftest.$ac_ext <<_ACEOF
  79752. -/* end confdefs.h. */
  79753. -
  79754. + # The cast to long int works around a bug in the HP C Compiler
  79755. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  79756. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  79757. +# This bug is HP SR number 8606223364.
  79758. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
  79759. +$as_echo_n "checking size of int64_t... " >&6; }
  79760. +if test "${ac_cv_sizeof_int64_t+set}" = set; then :
  79761. + $as_echo_n "(cached) " >&6
  79762. +else
  79763. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t" "
  79764. #include <stdio.h>
  79765. /* What a mess.. many systems have added the (now standard) bit types
  79766. @@ -40869,73 +20941,39 @@
  79767. #endif
  79768. +"; then :
  79769. -int
  79770. -main ()
  79771. -{
  79772. -static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) >= $ac_mid)];
  79773. -test_array [0] = 0
  79774. -
  79775. - ;
  79776. - return 0;
  79777. -}
  79778. -_ACEOF
  79779. -rm -f conftest.$ac_objext
  79780. -if { (ac_try="$ac_compile"
  79781. -case "(($ac_try" in
  79782. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  79783. - *) ac_try_echo=$ac_try;;
  79784. -esac
  79785. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  79786. -$as_echo "$ac_try_echo") >&5
  79787. - (eval "$ac_compile") 2>conftest.er1
  79788. - ac_status=$?
  79789. - grep -v '^ *+' conftest.er1 >conftest.err
  79790. - rm -f conftest.er1
  79791. - cat conftest.err >&5
  79792. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  79793. - (exit $ac_status); } && {
  79794. - test -z "$ac_c_werror_flag" ||
  79795. - test ! -s conftest.err
  79796. - } && test -s conftest.$ac_objext; then
  79797. - ac_lo=$ac_mid; break
  79798. else
  79799. - $as_echo "$as_me: failed program was:" >&5
  79800. -sed 's/^/| /' conftest.$ac_ext >&5
  79801. -
  79802. - ac_hi=`expr '(' $ac_mid ')' - 1`
  79803. - if test $ac_mid -le $ac_hi; then
  79804. - ac_lo= ac_hi=
  79805. - break
  79806. - fi
  79807. - ac_mid=`expr 2 '*' $ac_mid`
  79808. + if test "$ac_cv_type_int64_t" = yes; then
  79809. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  79810. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  79811. +{ as_fn_set_status 77
  79812. +as_fn_error "cannot compute sizeof (int64_t)
  79813. +See \`config.log' for more details." "$LINENO" 5; }; }
  79814. + else
  79815. + ac_cv_sizeof_int64_t=0
  79816. + fi
  79817. fi
  79818. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  79819. - done
  79820. -else
  79821. - $as_echo "$as_me: failed program was:" >&5
  79822. -sed 's/^/| /' conftest.$ac_ext >&5
  79823. -
  79824. - ac_lo= ac_hi=
  79825. fi
  79826. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
  79827. +$as_echo "$ac_cv_sizeof_int64_t" >&6; }
  79828. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  79829. -fi
  79830. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  79831. -# Binary search between lo and hi bounds.
  79832. -while test "x$ac_lo" != "x$ac_hi"; do
  79833. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  79834. - cat >conftest.$ac_ext <<_ACEOF
  79835. -/* confdefs.h. */
  79836. +
  79837. +cat >>confdefs.h <<_ACEOF
  79838. +#define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
  79839. _ACEOF
  79840. -cat confdefs.h >>conftest.$ac_ext
  79841. -cat >>conftest.$ac_ext <<_ACEOF
  79842. -/* end confdefs.h. */
  79843. -#include <stdio.h>
  79844. +
  79845. +$as_echo "#define HAVE_INT64_T 1" >>confdefs.h
  79846. +
  79847. +
  79848. +fi
  79849. +
  79850. +
  79851. +ac_fn_c_check_type "$LINENO" "__int64" "ac_cv_type___int64" "
  79852. /* What a mess.. many systems have added the (now standard) bit types
  79853. * in their own ways, so we need to scan a wide variety of headers to
  79854. * find them..
  79855. @@ -40961,66 +20999,19 @@
  79856. #include <netinet/in_systm.h>
  79857. #endif
  79858. +"
  79859. +if test "x$ac_cv_type___int64" = x""yes; then :
  79860. -
  79861. -int
  79862. -main ()
  79863. -{
  79864. -static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= $ac_mid)];
  79865. -test_array [0] = 0
  79866. -
  79867. - ;
  79868. - return 0;
  79869. -}
  79870. -_ACEOF
  79871. -rm -f conftest.$ac_objext
  79872. -if { (ac_try="$ac_compile"
  79873. -case "(($ac_try" in
  79874. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  79875. - *) ac_try_echo=$ac_try;;
  79876. -esac
  79877. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  79878. -$as_echo "$ac_try_echo") >&5
  79879. - (eval "$ac_compile") 2>conftest.er1
  79880. - ac_status=$?
  79881. - grep -v '^ *+' conftest.er1 >conftest.err
  79882. - rm -f conftest.er1
  79883. - cat conftest.err >&5
  79884. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  79885. - (exit $ac_status); } && {
  79886. - test -z "$ac_c_werror_flag" ||
  79887. - test ! -s conftest.err
  79888. - } && test -s conftest.$ac_objext; then
  79889. - ac_hi=$ac_mid
  79890. -else
  79891. - $as_echo "$as_me: failed program was:" >&5
  79892. -sed 's/^/| /' conftest.$ac_ext >&5
  79893. -
  79894. - ac_lo=`expr '(' $ac_mid ')' + 1`
  79895. -fi
  79896. -
  79897. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  79898. -done
  79899. -case $ac_lo in
  79900. -?*) ac_cv_sizeof_size_t=$ac_lo;;
  79901. -'') if test "$ac_cv_type_size_t" = yes; then
  79902. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
  79903. -See \`config.log' for more details." >&5
  79904. -$as_echo "$as_me: error: cannot compute sizeof (size_t)
  79905. -See \`config.log' for more details." >&2;}
  79906. - { (exit 77); exit 77; }; }
  79907. - else
  79908. - ac_cv_sizeof_size_t=0
  79909. - fi ;;
  79910. -esac
  79911. + # The cast to long int works around a bug in the HP C Compiler
  79912. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  79913. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  79914. +# This bug is HP SR number 8606223364.
  79915. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int64" >&5
  79916. +$as_echo_n "checking size of __int64... " >&6; }
  79917. +if test "${ac_cv_sizeof___int64+set}" = set; then :
  79918. + $as_echo_n "(cached) " >&6
  79919. else
  79920. - cat >conftest.$ac_ext <<_ACEOF
  79921. -/* confdefs.h. */
  79922. -_ACEOF
  79923. -cat confdefs.h >>conftest.$ac_ext
  79924. -cat >>conftest.$ac_ext <<_ACEOF
  79925. -/* end confdefs.h. */
  79926. -
  79927. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int64))" "ac_cv_sizeof___int64" "
  79928. #include <stdio.h>
  79929. /* What a mess.. many systems have added the (now standard) bit types
  79930. @@ -41049,114 +21040,39 @@
  79931. #endif
  79932. +"; then :
  79933. -static long int longval () { return (long int) (sizeof (size_t)); }
  79934. -static unsigned long int ulongval () { return (long int) (sizeof (size_t)); }
  79935. -#include <stdio.h>
  79936. -#include <stdlib.h>
  79937. -int
  79938. -main ()
  79939. -{
  79940. -
  79941. - FILE *f = fopen ("conftest.val", "w");
  79942. - if (! f)
  79943. - return 1;
  79944. - if (((long int) (sizeof (size_t))) < 0)
  79945. - {
  79946. - long int i = longval ();
  79947. - if (i != ((long int) (sizeof (size_t))))
  79948. - return 1;
  79949. - fprintf (f, "%ld", i);
  79950. - }
  79951. - else
  79952. - {
  79953. - unsigned long int i = ulongval ();
  79954. - if (i != ((long int) (sizeof (size_t))))
  79955. - return 1;
  79956. - fprintf (f, "%lu", i);
  79957. - }
  79958. - /* Do not output a trailing newline, as this causes \r\n confusion
  79959. - on some platforms. */
  79960. - return ferror (f) || fclose (f) != 0;
  79961. -
  79962. - ;
  79963. - return 0;
  79964. -}
  79965. -_ACEOF
  79966. -rm -f conftest$ac_exeext
  79967. -if { (ac_try="$ac_link"
  79968. -case "(($ac_try" in
  79969. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  79970. - *) ac_try_echo=$ac_try;;
  79971. -esac
  79972. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  79973. -$as_echo "$ac_try_echo") >&5
  79974. - (eval "$ac_link") 2>&5
  79975. - ac_status=$?
  79976. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  79977. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  79978. - { (case "(($ac_try" in
  79979. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  79980. - *) ac_try_echo=$ac_try;;
  79981. -esac
  79982. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  79983. -$as_echo "$ac_try_echo") >&5
  79984. - (eval "$ac_try") 2>&5
  79985. - ac_status=$?
  79986. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  79987. - (exit $ac_status); }; }; then
  79988. - ac_cv_sizeof_size_t=`cat conftest.val`
  79989. else
  79990. - $as_echo "$as_me: program exited with status $ac_status" >&5
  79991. -$as_echo "$as_me: failed program was:" >&5
  79992. -sed 's/^/| /' conftest.$ac_ext >&5
  79993. -
  79994. -( exit $ac_status )
  79995. -if test "$ac_cv_type_size_t" = yes; then
  79996. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
  79997. -See \`config.log' for more details." >&5
  79998. -$as_echo "$as_me: error: cannot compute sizeof (size_t)
  79999. -See \`config.log' for more details." >&2;}
  80000. - { (exit 77); exit 77; }; }
  80001. + if test "$ac_cv_type___int64" = yes; then
  80002. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  80003. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  80004. +{ as_fn_set_status 77
  80005. +as_fn_error "cannot compute sizeof (__int64)
  80006. +See \`config.log' for more details." "$LINENO" 5; }; }
  80007. else
  80008. - ac_cv_sizeof_size_t=0
  80009. + ac_cv_sizeof___int64=0
  80010. fi
  80011. fi
  80012. -rm -rf conftest.dSYM
  80013. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  80014. -fi
  80015. -rm -f conftest.val
  80016. +
  80017. fi
  80018. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
  80019. -$as_echo "$ac_cv_sizeof_size_t" >&6; }
  80020. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int64" >&5
  80021. +$as_echo "$ac_cv_sizeof___int64" >&6; }
  80022. cat >>confdefs.h <<_ACEOF
  80023. -#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
  80024. +#define SIZEOF___INT64 $ac_cv_sizeof___int64
  80025. _ACEOF
  80026. -cat >>confdefs.h <<\_ACEOF
  80027. -#define HAVE_SIZE_T 1
  80028. -_ACEOF
  80029. +$as_echo "#define HAVE___INT64 1" >>confdefs.h
  80030. +
  80031. fi
  80032. -{ $as_echo "$as_me:$LINENO: checking for ssize_t" >&5
  80033. -$as_echo_n "checking for ssize_t... " >&6; }
  80034. -if test "${ac_cv_type_ssize_t+set}" = set; then
  80035. - $as_echo_n "(cached) " >&6
  80036. -else
  80037. - ac_cv_type_ssize_t=no
  80038. -cat >conftest.$ac_ext <<_ACEOF
  80039. -/* confdefs.h. */
  80040. -_ACEOF
  80041. -cat confdefs.h >>conftest.$ac_ext
  80042. -cat >>conftest.$ac_ext <<_ACEOF
  80043. -/* end confdefs.h. */
  80044. +ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "
  80045. /* What a mess.. many systems have added the (now standard) bit types
  80046. * in their own ways, so we need to scan a wide variety of headers to
  80047. * find them..
  80048. @@ -41182,40 +21098,20 @@
  80049. #include <netinet/in_systm.h>
  80050. #endif
  80051. +"
  80052. +if test "x$ac_cv_type_long_long" = x""yes; then :
  80053. -int
  80054. -main ()
  80055. -{
  80056. -if (sizeof (ssize_t))
  80057. - return 0;
  80058. - ;
  80059. - return 0;
  80060. -}
  80061. -_ACEOF
  80062. -rm -f conftest.$ac_objext
  80063. -if { (ac_try="$ac_compile"
  80064. -case "(($ac_try" in
  80065. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  80066. - *) ac_try_echo=$ac_try;;
  80067. -esac
  80068. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  80069. -$as_echo "$ac_try_echo") >&5
  80070. - (eval "$ac_compile") 2>conftest.er1
  80071. - ac_status=$?
  80072. - grep -v '^ *+' conftest.er1 >conftest.err
  80073. - rm -f conftest.er1
  80074. - cat conftest.err >&5
  80075. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  80076. - (exit $ac_status); } && {
  80077. - test -z "$ac_c_werror_flag" ||
  80078. - test ! -s conftest.err
  80079. - } && test -s conftest.$ac_objext; then
  80080. - cat >conftest.$ac_ext <<_ACEOF
  80081. -/* confdefs.h. */
  80082. -_ACEOF
  80083. -cat confdefs.h >>conftest.$ac_ext
  80084. -cat >>conftest.$ac_ext <<_ACEOF
  80085. -/* end confdefs.h. */
  80086. + # The cast to long int works around a bug in the HP C Compiler
  80087. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  80088. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  80089. +# This bug is HP SR number 8606223364.
  80090. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
  80091. +$as_echo_n "checking size of long long... " >&6; }
  80092. +if test "${ac_cv_sizeof_long_long+set}" = set; then :
  80093. + $as_echo_n "(cached) " >&6
  80094. +else
  80095. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "
  80096. +#include <stdio.h>
  80097. /* What a mess.. many systems have added the (now standard) bit types
  80098. * in their own ways, so we need to scan a wide variety of headers to
  80099. @@ -41243,74 +21139,39 @@
  80100. #endif
  80101. -int
  80102. -main ()
  80103. -{
  80104. -if (sizeof ((ssize_t)))
  80105. - return 0;
  80106. - ;
  80107. - return 0;
  80108. -}
  80109. -_ACEOF
  80110. -rm -f conftest.$ac_objext
  80111. -if { (ac_try="$ac_compile"
  80112. -case "(($ac_try" in
  80113. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  80114. - *) ac_try_echo=$ac_try;;
  80115. -esac
  80116. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  80117. -$as_echo "$ac_try_echo") >&5
  80118. - (eval "$ac_compile") 2>conftest.er1
  80119. - ac_status=$?
  80120. - grep -v '^ *+' conftest.er1 >conftest.err
  80121. - rm -f conftest.er1
  80122. - cat conftest.err >&5
  80123. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  80124. - (exit $ac_status); } && {
  80125. - test -z "$ac_c_werror_flag" ||
  80126. - test ! -s conftest.err
  80127. - } && test -s conftest.$ac_objext; then
  80128. - :
  80129. +"; then :
  80130. +
  80131. else
  80132. - $as_echo "$as_me: failed program was:" >&5
  80133. -sed 's/^/| /' conftest.$ac_ext >&5
  80134. + if test "$ac_cv_type_long_long" = yes; then
  80135. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  80136. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  80137. +{ as_fn_set_status 77
  80138. +as_fn_error "cannot compute sizeof (long long)
  80139. +See \`config.log' for more details." "$LINENO" 5; }; }
  80140. + else
  80141. + ac_cv_sizeof_long_long=0
  80142. + fi
  80143. +fi
  80144. - ac_cv_type_ssize_t=yes
  80145. fi
  80146. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
  80147. +$as_echo "$ac_cv_sizeof_long_long" >&6; }
  80148. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  80149. -else
  80150. - $as_echo "$as_me: failed program was:" >&5
  80151. -sed 's/^/| /' conftest.$ac_ext >&5
  80152. -fi
  80153. +cat >>confdefs.h <<_ACEOF
  80154. +#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
  80155. +_ACEOF
  80156. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  80157. -fi
  80158. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
  80159. -$as_echo "$ac_cv_type_ssize_t" >&6; }
  80160. -if test $ac_cv_type_ssize_t = yes; then
  80161. -cat >>confdefs.h <<\_ACEOF
  80162. -#define HAVE_SSIZE_T 1
  80163. -_ACEOF
  80164. +
  80165. +$as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h
  80166. +
  80167. fi
  80168. -{ $as_echo "$as_me:$LINENO: checking for off_t" >&5
  80169. -$as_echo_n "checking for off_t... " >&6; }
  80170. -if test "${ac_cv_type_off_t+set}" = set; then
  80171. - $as_echo_n "(cached) " >&6
  80172. -else
  80173. - ac_cv_type_off_t=no
  80174. -cat >conftest.$ac_ext <<_ACEOF
  80175. -/* confdefs.h. */
  80176. -_ACEOF
  80177. -cat confdefs.h >>conftest.$ac_ext
  80178. -cat >>conftest.$ac_ext <<_ACEOF
  80179. -/* end confdefs.h. */
  80180. +ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "
  80181. /* What a mess.. many systems have added the (now standard) bit types
  80182. * in their own ways, so we need to scan a wide variety of headers to
  80183. * find them..
  80184. @@ -41336,40 +21197,20 @@
  80185. #include <netinet/in_systm.h>
  80186. #endif
  80187. +"
  80188. +if test "x$ac_cv_type_u_int64_t" = x""yes; then :
  80189. -int
  80190. -main ()
  80191. -{
  80192. -if (sizeof (off_t))
  80193. - return 0;
  80194. - ;
  80195. - return 0;
  80196. -}
  80197. -_ACEOF
  80198. -rm -f conftest.$ac_objext
  80199. -if { (ac_try="$ac_compile"
  80200. -case "(($ac_try" in
  80201. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  80202. - *) ac_try_echo=$ac_try;;
  80203. -esac
  80204. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  80205. -$as_echo "$ac_try_echo") >&5
  80206. - (eval "$ac_compile") 2>conftest.er1
  80207. - ac_status=$?
  80208. - grep -v '^ *+' conftest.er1 >conftest.err
  80209. - rm -f conftest.er1
  80210. - cat conftest.err >&5
  80211. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  80212. - (exit $ac_status); } && {
  80213. - test -z "$ac_c_werror_flag" ||
  80214. - test ! -s conftest.err
  80215. - } && test -s conftest.$ac_objext; then
  80216. - cat >conftest.$ac_ext <<_ACEOF
  80217. -/* confdefs.h. */
  80218. -_ACEOF
  80219. -cat confdefs.h >>conftest.$ac_ext
  80220. -cat >>conftest.$ac_ext <<_ACEOF
  80221. -/* end confdefs.h. */
  80222. + # The cast to long int works around a bug in the HP C Compiler
  80223. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  80224. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  80225. +# This bug is HP SR number 8606223364.
  80226. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of u_int64_t" >&5
  80227. +$as_echo_n "checking size of u_int64_t... " >&6; }
  80228. +if test "${ac_cv_sizeof_u_int64_t+set}" = set; then :
  80229. + $as_echo_n "(cached) " >&6
  80230. +else
  80231. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (u_int64_t))" "ac_cv_sizeof_u_int64_t" "
  80232. +#include <stdio.h>
  80233. /* What a mess.. many systems have added the (now standard) bit types
  80234. * in their own ways, so we need to scan a wide variety of headers to
  80235. @@ -41397,72 +21238,77 @@
  80236. #endif
  80237. -int
  80238. -main ()
  80239. -{
  80240. -if (sizeof ((off_t)))
  80241. - return 0;
  80242. - ;
  80243. - return 0;
  80244. -}
  80245. -_ACEOF
  80246. -rm -f conftest.$ac_objext
  80247. -if { (ac_try="$ac_compile"
  80248. -case "(($ac_try" in
  80249. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  80250. - *) ac_try_echo=$ac_try;;
  80251. -esac
  80252. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  80253. -$as_echo "$ac_try_echo") >&5
  80254. - (eval "$ac_compile") 2>conftest.er1
  80255. - ac_status=$?
  80256. - grep -v '^ *+' conftest.er1 >conftest.err
  80257. - rm -f conftest.er1
  80258. - cat conftest.err >&5
  80259. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  80260. - (exit $ac_status); } && {
  80261. - test -z "$ac_c_werror_flag" ||
  80262. - test ! -s conftest.err
  80263. - } && test -s conftest.$ac_objext; then
  80264. - :
  80265. +"; then :
  80266. +
  80267. else
  80268. - $as_echo "$as_me: failed program was:" >&5
  80269. -sed 's/^/| /' conftest.$ac_ext >&5
  80270. + if test "$ac_cv_type_u_int64_t" = yes; then
  80271. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  80272. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  80273. +{ as_fn_set_status 77
  80274. +as_fn_error "cannot compute sizeof (u_int64_t)
  80275. +See \`config.log' for more details." "$LINENO" 5; }; }
  80276. + else
  80277. + ac_cv_sizeof_u_int64_t=0
  80278. + fi
  80279. +fi
  80280. - ac_cv_type_off_t=yes
  80281. fi
  80282. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_u_int64_t" >&5
  80283. +$as_echo "$ac_cv_sizeof_u_int64_t" >&6; }
  80284. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  80285. -else
  80286. - $as_echo "$as_me: failed program was:" >&5
  80287. -sed 's/^/| /' conftest.$ac_ext >&5
  80288. -fi
  80289. +cat >>confdefs.h <<_ACEOF
  80290. +#define SIZEOF_U_INT64_T $ac_cv_sizeof_u_int64_t
  80291. +_ACEOF
  80292. +
  80293. +
  80294. +
  80295. +$as_echo "#define HAVE_U_INT64_T 1" >>confdefs.h
  80296. +
  80297. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  80298. fi
  80299. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
  80300. -$as_echo "$ac_cv_type_off_t" >&6; }
  80301. -if test $ac_cv_type_off_t = yes; then
  80302. - # The cast to long int works around a bug in the HP C Compiler
  80303. +
  80304. +
  80305. +ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "
  80306. +/* What a mess.. many systems have added the (now standard) bit types
  80307. + * in their own ways, so we need to scan a wide variety of headers to
  80308. + * find them..
  80309. + * IMPORTANT: Keep include/squid_types.h syncronised with this list
  80310. + */
  80311. +#if HAVE_SYS_TYPES_H
  80312. +#include <sys/types.h>
  80313. +#endif
  80314. +#if STDC_HEADERS
  80315. +#include <stdlib.h>
  80316. +#include <stddef.h>
  80317. +#endif
  80318. +#if HAVE_INTTYPES_H
  80319. +#include <inttypes.h>
  80320. +#endif
  80321. +#if HAVE_SYS_BITYPES_H
  80322. +#include <sys/bitypes.h>
  80323. +#endif
  80324. +#if HAVE_SYS_SELECT_H
  80325. +#include <sys/select.h>
  80326. +#endif
  80327. +#if HAVE_NETINET_IN_SYSTM_H
  80328. +#include <netinet/in_systm.h>
  80329. +#endif
  80330. +
  80331. +"
  80332. +if test "x$ac_cv_type_uint64_t" = x""yes; then :
  80333. +
  80334. + # The cast to long int works around a bug in the HP C Compiler
  80335. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  80336. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  80337. # This bug is HP SR number 8606223364.
  80338. -{ $as_echo "$as_me:$LINENO: checking size of off_t" >&5
  80339. -$as_echo_n "checking size of off_t... " >&6; }
  80340. -if test "${ac_cv_sizeof_off_t+set}" = set; then
  80341. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uint64_t" >&5
  80342. +$as_echo_n "checking size of uint64_t... " >&6; }
  80343. +if test "${ac_cv_sizeof_uint64_t+set}" = set; then :
  80344. $as_echo_n "(cached) " >&6
  80345. else
  80346. - if test "$cross_compiling" = yes; then
  80347. - # Depending upon the size, compute the lo and hi bounds.
  80348. -cat >conftest.$ac_ext <<_ACEOF
  80349. -/* confdefs.h. */
  80350. -_ACEOF
  80351. -cat confdefs.h >>conftest.$ac_ext
  80352. -cat >>conftest.$ac_ext <<_ACEOF
  80353. -/* end confdefs.h. */
  80354. -
  80355. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uint64_t))" "ac_cv_sizeof_uint64_t" "
  80356. #include <stdio.h>
  80357. /* What a mess.. many systems have added the (now standard) bit types
  80358. @@ -41491,46 +21337,39 @@
  80359. #endif
  80360. +"; then :
  80361. -int
  80362. -main ()
  80363. -{
  80364. -static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) >= 0)];
  80365. -test_array [0] = 0
  80366. +else
  80367. + if test "$ac_cv_type_uint64_t" = yes; then
  80368. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  80369. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  80370. +{ as_fn_set_status 77
  80371. +as_fn_error "cannot compute sizeof (uint64_t)
  80372. +See \`config.log' for more details." "$LINENO" 5; }; }
  80373. + else
  80374. + ac_cv_sizeof_uint64_t=0
  80375. + fi
  80376. +fi
  80377. - ;
  80378. - return 0;
  80379. -}
  80380. -_ACEOF
  80381. -rm -f conftest.$ac_objext
  80382. -if { (ac_try="$ac_compile"
  80383. -case "(($ac_try" in
  80384. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  80385. - *) ac_try_echo=$ac_try;;
  80386. -esac
  80387. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  80388. -$as_echo "$ac_try_echo") >&5
  80389. - (eval "$ac_compile") 2>conftest.er1
  80390. - ac_status=$?
  80391. - grep -v '^ *+' conftest.er1 >conftest.err
  80392. - rm -f conftest.er1
  80393. - cat conftest.err >&5
  80394. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  80395. - (exit $ac_status); } && {
  80396. - test -z "$ac_c_werror_flag" ||
  80397. - test ! -s conftest.err
  80398. - } && test -s conftest.$ac_objext; then
  80399. - ac_lo=0 ac_mid=0
  80400. - while :; do
  80401. - cat >conftest.$ac_ext <<_ACEOF
  80402. -/* confdefs.h. */
  80403. +fi
  80404. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uint64_t" >&5
  80405. +$as_echo "$ac_cv_sizeof_uint64_t" >&6; }
  80406. +
  80407. +
  80408. +
  80409. +cat >>confdefs.h <<_ACEOF
  80410. +#define SIZEOF_UINT64_T $ac_cv_sizeof_uint64_t
  80411. _ACEOF
  80412. -cat confdefs.h >>conftest.$ac_ext
  80413. -cat >>conftest.$ac_ext <<_ACEOF
  80414. -/* end confdefs.h. */
  80415. -#include <stdio.h>
  80416. +
  80417. +$as_echo "#define HAVE_UINT64_T 1" >>confdefs.h
  80418. +
  80419. +
  80420. +fi
  80421. +
  80422. +
  80423. +ac_fn_c_check_type "$LINENO" "pad128_t" "ac_cv_type_pad128_t" "
  80424. /* What a mess.. many systems have added the (now standard) bit types
  80425. * in their own ways, so we need to scan a wide variety of headers to
  80426. * find them..
  80427. @@ -41556,64 +21395,15 @@
  80428. #include <netinet/in_systm.h>
  80429. #endif
  80430. +"
  80431. +if test "x$ac_cv_type_pad128_t" = x""yes; then :
  80432. +$as_echo "#define HAVE_PAD128_T 1" >>confdefs.h
  80433. -int
  80434. -main ()
  80435. -{
  80436. -static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) <= $ac_mid)];
  80437. -test_array [0] = 0
  80438. -
  80439. - ;
  80440. - return 0;
  80441. -}
  80442. -_ACEOF
  80443. -rm -f conftest.$ac_objext
  80444. -if { (ac_try="$ac_compile"
  80445. -case "(($ac_try" in
  80446. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  80447. - *) ac_try_echo=$ac_try;;
  80448. -esac
  80449. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  80450. -$as_echo "$ac_try_echo") >&5
  80451. - (eval "$ac_compile") 2>conftest.er1
  80452. - ac_status=$?
  80453. - grep -v '^ *+' conftest.er1 >conftest.err
  80454. - rm -f conftest.er1
  80455. - cat conftest.err >&5
  80456. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  80457. - (exit $ac_status); } && {
  80458. - test -z "$ac_c_werror_flag" ||
  80459. - test ! -s conftest.err
  80460. - } && test -s conftest.$ac_objext; then
  80461. - ac_hi=$ac_mid; break
  80462. -else
  80463. - $as_echo "$as_me: failed program was:" >&5
  80464. -sed 's/^/| /' conftest.$ac_ext >&5
  80465. -
  80466. - ac_lo=`expr $ac_mid + 1`
  80467. - if test $ac_lo -le $ac_mid; then
  80468. - ac_lo= ac_hi=
  80469. - break
  80470. - fi
  80471. - ac_mid=`expr 2 '*' $ac_mid + 1`
  80472. fi
  80473. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  80474. - done
  80475. -else
  80476. - $as_echo "$as_me: failed program was:" >&5
  80477. -sed 's/^/| /' conftest.$ac_ext >&5
  80478. -
  80479. - cat >conftest.$ac_ext <<_ACEOF
  80480. -/* confdefs.h. */
  80481. -_ACEOF
  80482. -cat confdefs.h >>conftest.$ac_ext
  80483. -cat >>conftest.$ac_ext <<_ACEOF
  80484. -/* end confdefs.h. */
  80485. -
  80486. -#include <stdio.h>
  80487. +ac_fn_c_check_type "$LINENO" "upad128_t" "ac_cv_type_upad128_t" "
  80488. /* What a mess.. many systems have added the (now standard) bit types
  80489. * in their own ways, so we need to scan a wide variety of headers to
  80490. * find them..
  80491. @@ -41639,47 +21429,15 @@
  80492. #include <netinet/in_systm.h>
  80493. #endif
  80494. +"
  80495. +if test "x$ac_cv_type_upad128_t" = x""yes; then :
  80496. +$as_echo "#define HAVE_UPAD128_T 1" >>confdefs.h
  80497. -int
  80498. -main ()
  80499. -{
  80500. -static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) < 0)];
  80501. -test_array [0] = 0
  80502. -
  80503. - ;
  80504. - return 0;
  80505. -}
  80506. -_ACEOF
  80507. -rm -f conftest.$ac_objext
  80508. -if { (ac_try="$ac_compile"
  80509. -case "(($ac_try" in
  80510. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  80511. - *) ac_try_echo=$ac_try;;
  80512. -esac
  80513. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  80514. -$as_echo "$ac_try_echo") >&5
  80515. - (eval "$ac_compile") 2>conftest.er1
  80516. - ac_status=$?
  80517. - grep -v '^ *+' conftest.er1 >conftest.err
  80518. - rm -f conftest.er1
  80519. - cat conftest.err >&5
  80520. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  80521. - (exit $ac_status); } && {
  80522. - test -z "$ac_c_werror_flag" ||
  80523. - test ! -s conftest.err
  80524. - } && test -s conftest.$ac_objext; then
  80525. - ac_hi=-1 ac_mid=-1
  80526. - while :; do
  80527. - cat >conftest.$ac_ext <<_ACEOF
  80528. -/* confdefs.h. */
  80529. -_ACEOF
  80530. -cat confdefs.h >>conftest.$ac_ext
  80531. -cat >>conftest.$ac_ext <<_ACEOF
  80532. -/* end confdefs.h. */
  80533. +fi
  80534. -#include <stdio.h>
  80535. +ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "
  80536. /* What a mess.. many systems have added the (now standard) bit types
  80537. * in their own ways, so we need to scan a wide variety of headers to
  80538. * find them..
  80539. @@ -41705,74 +21463,14 @@
  80540. #include <netinet/in_systm.h>
  80541. #endif
  80542. +"
  80543. +if test "x$ac_cv_type_pid_t" = x""yes; then :
  80544. +$as_echo "#define HAVE_PID_T 1" >>confdefs.h
  80545. -int
  80546. -main ()
  80547. -{
  80548. -static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) >= $ac_mid)];
  80549. -test_array [0] = 0
  80550. -
  80551. - ;
  80552. - return 0;
  80553. -}
  80554. -_ACEOF
  80555. -rm -f conftest.$ac_objext
  80556. -if { (ac_try="$ac_compile"
  80557. -case "(($ac_try" in
  80558. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  80559. - *) ac_try_echo=$ac_try;;
  80560. -esac
  80561. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  80562. -$as_echo "$ac_try_echo") >&5
  80563. - (eval "$ac_compile") 2>conftest.er1
  80564. - ac_status=$?
  80565. - grep -v '^ *+' conftest.er1 >conftest.err
  80566. - rm -f conftest.er1
  80567. - cat conftest.err >&5
  80568. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  80569. - (exit $ac_status); } && {
  80570. - test -z "$ac_c_werror_flag" ||
  80571. - test ! -s conftest.err
  80572. - } && test -s conftest.$ac_objext; then
  80573. - ac_lo=$ac_mid; break
  80574. -else
  80575. - $as_echo "$as_me: failed program was:" >&5
  80576. -sed 's/^/| /' conftest.$ac_ext >&5
  80577. -
  80578. - ac_hi=`expr '(' $ac_mid ')' - 1`
  80579. - if test $ac_mid -le $ac_hi; then
  80580. - ac_lo= ac_hi=
  80581. - break
  80582. - fi
  80583. - ac_mid=`expr 2 '*' $ac_mid`
  80584. -fi
  80585. -
  80586. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  80587. - done
  80588. -else
  80589. - $as_echo "$as_me: failed program was:" >&5
  80590. -sed 's/^/| /' conftest.$ac_ext >&5
  80591. -
  80592. - ac_lo= ac_hi=
  80593. -fi
  80594. -
  80595. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  80596. fi
  80597. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  80598. -# Binary search between lo and hi bounds.
  80599. -while test "x$ac_lo" != "x$ac_hi"; do
  80600. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  80601. - cat >conftest.$ac_ext <<_ACEOF
  80602. -/* confdefs.h. */
  80603. -_ACEOF
  80604. -cat confdefs.h >>conftest.$ac_ext
  80605. -cat >>conftest.$ac_ext <<_ACEOF
  80606. -/* end confdefs.h. */
  80607. -
  80608. -#include <stdio.h>
  80609. -
  80610. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "
  80611. /* What a mess.. many systems have added the (now standard) bit types
  80612. * in their own ways, so we need to scan a wide variety of headers to
  80613. * find them..
  80614. @@ -41798,66 +21496,18 @@
  80615. #include <netinet/in_systm.h>
  80616. #endif
  80617. -
  80618. -
  80619. -int
  80620. -main ()
  80621. -{
  80622. -static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) <= $ac_mid)];
  80623. -test_array [0] = 0
  80624. -
  80625. - ;
  80626. - return 0;
  80627. -}
  80628. -_ACEOF
  80629. -rm -f conftest.$ac_objext
  80630. -if { (ac_try="$ac_compile"
  80631. -case "(($ac_try" in
  80632. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  80633. - *) ac_try_echo=$ac_try;;
  80634. -esac
  80635. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  80636. -$as_echo "$ac_try_echo") >&5
  80637. - (eval "$ac_compile") 2>conftest.er1
  80638. - ac_status=$?
  80639. - grep -v '^ *+' conftest.er1 >conftest.err
  80640. - rm -f conftest.er1
  80641. - cat conftest.err >&5
  80642. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  80643. - (exit $ac_status); } && {
  80644. - test -z "$ac_c_werror_flag" ||
  80645. - test ! -s conftest.err
  80646. - } && test -s conftest.$ac_objext; then
  80647. - ac_hi=$ac_mid
  80648. -else
  80649. - $as_echo "$as_me: failed program was:" >&5
  80650. -sed 's/^/| /' conftest.$ac_ext >&5
  80651. -
  80652. - ac_lo=`expr '(' $ac_mid ')' + 1`
  80653. -fi
  80654. -
  80655. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  80656. -done
  80657. -case $ac_lo in
  80658. -?*) ac_cv_sizeof_off_t=$ac_lo;;
  80659. -'') if test "$ac_cv_type_off_t" = yes; then
  80660. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
  80661. -See \`config.log' for more details." >&5
  80662. -$as_echo "$as_me: error: cannot compute sizeof (off_t)
  80663. -See \`config.log' for more details." >&2;}
  80664. - { (exit 77); exit 77; }; }
  80665. - else
  80666. - ac_cv_sizeof_off_t=0
  80667. - fi ;;
  80668. -esac
  80669. +"
  80670. +if test "x$ac_cv_type_size_t" = x""yes; then :
  80671. + # The cast to long int works around a bug in the HP C Compiler
  80672. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  80673. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  80674. +# This bug is HP SR number 8606223364.
  80675. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
  80676. +$as_echo_n "checking size of size_t... " >&6; }
  80677. +if test "${ac_cv_sizeof_size_t+set}" = set; then :
  80678. + $as_echo_n "(cached) " >&6
  80679. else
  80680. - cat >conftest.$ac_ext <<_ACEOF
  80681. -/* confdefs.h. */
  80682. -_ACEOF
  80683. -cat confdefs.h >>conftest.$ac_ext
  80684. -cat >>conftest.$ac_ext <<_ACEOF
  80685. -/* end confdefs.h. */
  80686. -
  80687. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "
  80688. #include <stdio.h>
  80689. /* What a mess.. many systems have added the (now standard) bit types
  80690. @@ -41886,114 +21536,70 @@
  80691. #endif
  80692. +"; then :
  80693. -static long int longval () { return (long int) (sizeof (off_t)); }
  80694. -static unsigned long int ulongval () { return (long int) (sizeof (off_t)); }
  80695. -#include <stdio.h>
  80696. -#include <stdlib.h>
  80697. -int
  80698. -main ()
  80699. -{
  80700. -
  80701. - FILE *f = fopen ("conftest.val", "w");
  80702. - if (! f)
  80703. - return 1;
  80704. - if (((long int) (sizeof (off_t))) < 0)
  80705. - {
  80706. - long int i = longval ();
  80707. - if (i != ((long int) (sizeof (off_t))))
  80708. - return 1;
  80709. - fprintf (f, "%ld", i);
  80710. - }
  80711. - else
  80712. - {
  80713. - unsigned long int i = ulongval ();
  80714. - if (i != ((long int) (sizeof (off_t))))
  80715. - return 1;
  80716. - fprintf (f, "%lu", i);
  80717. - }
  80718. - /* Do not output a trailing newline, as this causes \r\n confusion
  80719. - on some platforms. */
  80720. - return ferror (f) || fclose (f) != 0;
  80721. -
  80722. - ;
  80723. - return 0;
  80724. -}
  80725. -_ACEOF
  80726. -rm -f conftest$ac_exeext
  80727. -if { (ac_try="$ac_link"
  80728. -case "(($ac_try" in
  80729. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  80730. - *) ac_try_echo=$ac_try;;
  80731. -esac
  80732. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  80733. -$as_echo "$ac_try_echo") >&5
  80734. - (eval "$ac_link") 2>&5
  80735. - ac_status=$?
  80736. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  80737. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  80738. - { (case "(($ac_try" in
  80739. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  80740. - *) ac_try_echo=$ac_try;;
  80741. -esac
  80742. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  80743. -$as_echo "$ac_try_echo") >&5
  80744. - (eval "$ac_try") 2>&5
  80745. - ac_status=$?
  80746. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  80747. - (exit $ac_status); }; }; then
  80748. - ac_cv_sizeof_off_t=`cat conftest.val`
  80749. else
  80750. - $as_echo "$as_me: program exited with status $ac_status" >&5
  80751. -$as_echo "$as_me: failed program was:" >&5
  80752. -sed 's/^/| /' conftest.$ac_ext >&5
  80753. -
  80754. -( exit $ac_status )
  80755. -if test "$ac_cv_type_off_t" = yes; then
  80756. - { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
  80757. -See \`config.log' for more details." >&5
  80758. -$as_echo "$as_me: error: cannot compute sizeof (off_t)
  80759. -See \`config.log' for more details." >&2;}
  80760. - { (exit 77); exit 77; }; }
  80761. + if test "$ac_cv_type_size_t" = yes; then
  80762. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  80763. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  80764. +{ as_fn_set_status 77
  80765. +as_fn_error "cannot compute sizeof (size_t)
  80766. +See \`config.log' for more details." "$LINENO" 5; }; }
  80767. else
  80768. - ac_cv_sizeof_off_t=0
  80769. + ac_cv_sizeof_size_t=0
  80770. fi
  80771. fi
  80772. -rm -rf conftest.dSYM
  80773. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  80774. -fi
  80775. -rm -f conftest.val
  80776. +
  80777. fi
  80778. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
  80779. -$as_echo "$ac_cv_sizeof_off_t" >&6; }
  80780. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
  80781. +$as_echo "$ac_cv_sizeof_size_t" >&6; }
  80782. cat >>confdefs.h <<_ACEOF
  80783. -#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
  80784. +#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
  80785. _ACEOF
  80786. -cat >>confdefs.h <<\_ACEOF
  80787. -#define HAVE_OFF_T 1
  80788. -_ACEOF
  80789. +$as_echo "#define HAVE_SIZE_T 1" >>confdefs.h
  80790. +
  80791. +fi
  80792. +
  80793. +ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "
  80794. +/* What a mess.. many systems have added the (now standard) bit types
  80795. + * in their own ways, so we need to scan a wide variety of headers to
  80796. + * find them..
  80797. + * IMPORTANT: Keep include/squid_types.h syncronised with this list
  80798. + */
  80799. +#if HAVE_SYS_TYPES_H
  80800. +#include <sys/types.h>
  80801. +#endif
  80802. +#if STDC_HEADERS
  80803. +#include <stdlib.h>
  80804. +#include <stddef.h>
  80805. +#endif
  80806. +#if HAVE_INTTYPES_H
  80807. +#include <inttypes.h>
  80808. +#endif
  80809. +#if HAVE_SYS_BITYPES_H
  80810. +#include <sys/bitypes.h>
  80811. +#endif
  80812. +#if HAVE_SYS_SELECT_H
  80813. +#include <sys/select.h>
  80814. +#endif
  80815. +#if HAVE_NETINET_IN_SYSTM_H
  80816. +#include <netinet/in_systm.h>
  80817. +#endif
  80818. +
  80819. +"
  80820. +if test "x$ac_cv_type_ssize_t" = x""yes; then :
  80821. +
  80822. +$as_echo "#define HAVE_SSIZE_T 1" >>confdefs.h
  80823. fi
  80824. -{ $as_echo "$as_me:$LINENO: checking for mode_t" >&5
  80825. -$as_echo_n "checking for mode_t... " >&6; }
  80826. -if test "${ac_cv_type_mode_t+set}" = set; then
  80827. - $as_echo_n "(cached) " >&6
  80828. -else
  80829. - ac_cv_type_mode_t=no
  80830. -cat >conftest.$ac_ext <<_ACEOF
  80831. -/* confdefs.h. */
  80832. -_ACEOF
  80833. -cat confdefs.h >>conftest.$ac_ext
  80834. -cat >>conftest.$ac_ext <<_ACEOF
  80835. -/* end confdefs.h. */
  80836. -
  80837. +ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "
  80838. /* What a mess.. many systems have added the (now standard) bit types
  80839. * in their own ways, so we need to scan a wide variety of headers to
  80840. * find them..
  80841. @@ -42019,40 +21625,19 @@
  80842. #include <netinet/in_systm.h>
  80843. #endif
  80844. -
  80845. -int
  80846. -main ()
  80847. -{
  80848. -if (sizeof (mode_t))
  80849. - return 0;
  80850. - ;
  80851. - return 0;
  80852. -}
  80853. -_ACEOF
  80854. -rm -f conftest.$ac_objext
  80855. -if { (ac_try="$ac_compile"
  80856. -case "(($ac_try" in
  80857. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  80858. - *) ac_try_echo=$ac_try;;
  80859. -esac
  80860. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  80861. -$as_echo "$ac_try_echo") >&5
  80862. - (eval "$ac_compile") 2>conftest.er1
  80863. - ac_status=$?
  80864. - grep -v '^ *+' conftest.er1 >conftest.err
  80865. - rm -f conftest.er1
  80866. - cat conftest.err >&5
  80867. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  80868. - (exit $ac_status); } && {
  80869. - test -z "$ac_c_werror_flag" ||
  80870. - test ! -s conftest.err
  80871. - } && test -s conftest.$ac_objext; then
  80872. - cat >conftest.$ac_ext <<_ACEOF
  80873. -/* confdefs.h. */
  80874. -_ACEOF
  80875. -cat confdefs.h >>conftest.$ac_ext
  80876. -cat >>conftest.$ac_ext <<_ACEOF
  80877. -/* end confdefs.h. */
  80878. +"
  80879. +if test "x$ac_cv_type_off_t" = x""yes; then :
  80880. + # The cast to long int works around a bug in the HP C Compiler
  80881. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  80882. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  80883. +# This bug is HP SR number 8606223364.
  80884. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
  80885. +$as_echo_n "checking size of off_t... " >&6; }
  80886. +if test "${ac_cv_sizeof_off_t+set}" = set; then :
  80887. + $as_echo_n "(cached) " >&6
  80888. +else
  80889. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "
  80890. +#include <stdio.h>
  80891. /* What a mess.. many systems have added the (now standard) bit types
  80892. * in their own ways, so we need to scan a wide variety of headers to
  80893. @@ -42080,74 +21665,37 @@
  80894. #endif
  80895. -int
  80896. -main ()
  80897. -{
  80898. -if (sizeof ((mode_t)))
  80899. - return 0;
  80900. - ;
  80901. - return 0;
  80902. -}
  80903. -_ACEOF
  80904. -rm -f conftest.$ac_objext
  80905. -if { (ac_try="$ac_compile"
  80906. -case "(($ac_try" in
  80907. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  80908. - *) ac_try_echo=$ac_try;;
  80909. -esac
  80910. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  80911. -$as_echo "$ac_try_echo") >&5
  80912. - (eval "$ac_compile") 2>conftest.er1
  80913. - ac_status=$?
  80914. - grep -v '^ *+' conftest.er1 >conftest.err
  80915. - rm -f conftest.er1
  80916. - cat conftest.err >&5
  80917. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  80918. - (exit $ac_status); } && {
  80919. - test -z "$ac_c_werror_flag" ||
  80920. - test ! -s conftest.err
  80921. - } && test -s conftest.$ac_objext; then
  80922. - :
  80923. +"; then :
  80924. +
  80925. else
  80926. - $as_echo "$as_me: failed program was:" >&5
  80927. -sed 's/^/| /' conftest.$ac_ext >&5
  80928. + if test "$ac_cv_type_off_t" = yes; then
  80929. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  80930. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  80931. +{ as_fn_set_status 77
  80932. +as_fn_error "cannot compute sizeof (off_t)
  80933. +See \`config.log' for more details." "$LINENO" 5; }; }
  80934. + else
  80935. + ac_cv_sizeof_off_t=0
  80936. + fi
  80937. +fi
  80938. - ac_cv_type_mode_t=yes
  80939. fi
  80940. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
  80941. +$as_echo "$ac_cv_sizeof_off_t" >&6; }
  80942. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  80943. -else
  80944. - $as_echo "$as_me: failed program was:" >&5
  80945. -sed 's/^/| /' conftest.$ac_ext >&5
  80946. -fi
  80947. +cat >>confdefs.h <<_ACEOF
  80948. +#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
  80949. +_ACEOF
  80950. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  80951. -fi
  80952. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
  80953. -$as_echo "$ac_cv_type_mode_t" >&6; }
  80954. -if test $ac_cv_type_mode_t = yes; then
  80955. -cat >>confdefs.h <<\_ACEOF
  80956. -#define HAVE_MODE_T 1
  80957. -_ACEOF
  80958. -fi
  80959. +$as_echo "#define HAVE_OFF_T 1" >>confdefs.h
  80960. -{ $as_echo "$as_me:$LINENO: checking for fd_mask" >&5
  80961. -$as_echo_n "checking for fd_mask... " >&6; }
  80962. -if test "${ac_cv_type_fd_mask+set}" = set; then
  80963. - $as_echo_n "(cached) " >&6
  80964. -else
  80965. - ac_cv_type_fd_mask=no
  80966. -cat >conftest.$ac_ext <<_ACEOF
  80967. -/* confdefs.h. */
  80968. -_ACEOF
  80969. -cat confdefs.h >>conftest.$ac_ext
  80970. -cat >>conftest.$ac_ext <<_ACEOF
  80971. -/* end confdefs.h. */
  80972. +fi
  80973. +ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "
  80974. /* What a mess.. many systems have added the (now standard) bit types
  80975. * in their own ways, so we need to scan a wide variety of headers to
  80976. * find them..
  80977. @@ -42173,41 +21721,14 @@
  80978. #include <netinet/in_systm.h>
  80979. #endif
  80980. +"
  80981. +if test "x$ac_cv_type_mode_t" = x""yes; then :
  80982. +
  80983. +$as_echo "#define HAVE_MODE_T 1" >>confdefs.h
  80984. -int
  80985. -main ()
  80986. -{
  80987. -if (sizeof (fd_mask))
  80988. - return 0;
  80989. - ;
  80990. - return 0;
  80991. -}
  80992. -_ACEOF
  80993. -rm -f conftest.$ac_objext
  80994. -if { (ac_try="$ac_compile"
  80995. -case "(($ac_try" in
  80996. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  80997. - *) ac_try_echo=$ac_try;;
  80998. -esac
  80999. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  81000. -$as_echo "$ac_try_echo") >&5
  81001. - (eval "$ac_compile") 2>conftest.er1
  81002. - ac_status=$?
  81003. - grep -v '^ *+' conftest.er1 >conftest.err
  81004. - rm -f conftest.er1
  81005. - cat conftest.err >&5
  81006. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  81007. - (exit $ac_status); } && {
  81008. - test -z "$ac_c_werror_flag" ||
  81009. - test ! -s conftest.err
  81010. - } && test -s conftest.$ac_objext; then
  81011. - cat >conftest.$ac_ext <<_ACEOF
  81012. -/* confdefs.h. */
  81013. -_ACEOF
  81014. -cat confdefs.h >>conftest.$ac_ext
  81015. -cat >>conftest.$ac_ext <<_ACEOF
  81016. -/* end confdefs.h. */
  81017. +fi
  81018. +ac_fn_c_check_type "$LINENO" "fd_mask" "ac_cv_type_fd_mask" "
  81019. /* What a mess.. many systems have added the (now standard) bit types
  81020. * in their own ways, so we need to scan a wide variety of headers to
  81021. * find them..
  81022. @@ -42233,75 +21754,22 @@
  81023. #include <netinet/in_systm.h>
  81024. #endif
  81025. +"
  81026. +if test "x$ac_cv_type_fd_mask" = x""yes; then :
  81027. -int
  81028. -main ()
  81029. -{
  81030. -if (sizeof ((fd_mask)))
  81031. - return 0;
  81032. - ;
  81033. - return 0;
  81034. -}
  81035. -_ACEOF
  81036. -rm -f conftest.$ac_objext
  81037. -if { (ac_try="$ac_compile"
  81038. -case "(($ac_try" in
  81039. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  81040. - *) ac_try_echo=$ac_try;;
  81041. -esac
  81042. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  81043. -$as_echo "$ac_try_echo") >&5
  81044. - (eval "$ac_compile") 2>conftest.er1
  81045. - ac_status=$?
  81046. - grep -v '^ *+' conftest.er1 >conftest.err
  81047. - rm -f conftest.er1
  81048. - cat conftest.err >&5
  81049. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  81050. - (exit $ac_status); } && {
  81051. - test -z "$ac_c_werror_flag" ||
  81052. - test ! -s conftest.err
  81053. - } && test -s conftest.$ac_objext; then
  81054. - :
  81055. -else
  81056. - $as_echo "$as_me: failed program was:" >&5
  81057. -sed 's/^/| /' conftest.$ac_ext >&5
  81058. -
  81059. - ac_cv_type_fd_mask=yes
  81060. -fi
  81061. -
  81062. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  81063. -else
  81064. - $as_echo "$as_me: failed program was:" >&5
  81065. -sed 's/^/| /' conftest.$ac_ext >&5
  81066. -
  81067. -
  81068. -fi
  81069. -
  81070. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  81071. -fi
  81072. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_fd_mask" >&5
  81073. -$as_echo "$ac_cv_type_fd_mask" >&6; }
  81074. -if test $ac_cv_type_fd_mask = yes; then
  81075. -
  81076. -cat >>confdefs.h <<\_ACEOF
  81077. -#define HAVE_FD_MASK 1
  81078. -_ACEOF
  81079. +$as_echo "#define HAVE_FD_MASK 1" >>confdefs.h
  81080. fi
  81081. # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  81082. # for constant arguments. Useless!
  81083. -{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
  81084. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
  81085. $as_echo_n "checking for working alloca.h... " >&6; }
  81086. -if test "${ac_cv_working_alloca_h+set}" = set; then
  81087. +if test "${ac_cv_working_alloca_h+set}" = set; then :
  81088. $as_echo_n "(cached) " >&6
  81089. else
  81090. - cat >conftest.$ac_ext <<_ACEOF
  81091. -/* confdefs.h. */
  81092. -_ACEOF
  81093. -cat confdefs.h >>conftest.$ac_ext
  81094. -cat >>conftest.$ac_ext <<_ACEOF
  81095. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  81096. /* end confdefs.h. */
  81097. #include <alloca.h>
  81098. int
  81099. @@ -42313,59 +21781,28 @@
  81100. return 0;
  81101. }
  81102. _ACEOF
  81103. -rm -f conftest.$ac_objext conftest$ac_exeext
  81104. -if { (ac_try="$ac_link"
  81105. -case "(($ac_try" in
  81106. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  81107. - *) ac_try_echo=$ac_try;;
  81108. -esac
  81109. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  81110. -$as_echo "$ac_try_echo") >&5
  81111. - (eval "$ac_link") 2>conftest.er1
  81112. - ac_status=$?
  81113. - grep -v '^ *+' conftest.er1 >conftest.err
  81114. - rm -f conftest.er1
  81115. - cat conftest.err >&5
  81116. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  81117. - (exit $ac_status); } && {
  81118. - test -z "$ac_c_werror_flag" ||
  81119. - test ! -s conftest.err
  81120. - } && test -s conftest$ac_exeext && {
  81121. - test "$cross_compiling" = yes ||
  81122. - $as_test_x conftest$ac_exeext
  81123. - }; then
  81124. +if ac_fn_c_try_link "$LINENO"; then :
  81125. ac_cv_working_alloca_h=yes
  81126. else
  81127. - $as_echo "$as_me: failed program was:" >&5
  81128. -sed 's/^/| /' conftest.$ac_ext >&5
  81129. -
  81130. - ac_cv_working_alloca_h=no
  81131. + ac_cv_working_alloca_h=no
  81132. fi
  81133. -
  81134. -rm -rf conftest.dSYM
  81135. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  81136. - conftest$ac_exeext conftest.$ac_ext
  81137. +rm -f core conftest.err conftest.$ac_objext \
  81138. + conftest$ac_exeext conftest.$ac_ext
  81139. fi
  81140. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
  81141. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
  81142. $as_echo "$ac_cv_working_alloca_h" >&6; }
  81143. if test $ac_cv_working_alloca_h = yes; then
  81144. -cat >>confdefs.h <<\_ACEOF
  81145. -#define HAVE_ALLOCA_H 1
  81146. -_ACEOF
  81147. +$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
  81148. fi
  81149. -{ $as_echo "$as_me:$LINENO: checking for alloca" >&5
  81150. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
  81151. $as_echo_n "checking for alloca... " >&6; }
  81152. -if test "${ac_cv_func_alloca_works+set}" = set; then
  81153. +if test "${ac_cv_func_alloca_works+set}" = set; then :
  81154. $as_echo_n "(cached) " >&6
  81155. else
  81156. - cat >conftest.$ac_ext <<_ACEOF
  81157. -/* confdefs.h. */
  81158. -_ACEOF
  81159. -cat confdefs.h >>conftest.$ac_ext
  81160. -cat >>conftest.$ac_ext <<_ACEOF
  81161. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  81162. /* end confdefs.h. */
  81163. #ifdef __GNUC__
  81164. # define alloca __builtin_alloca
  81165. @@ -42397,47 +21834,20 @@
  81166. return 0;
  81167. }
  81168. _ACEOF
  81169. -rm -f conftest.$ac_objext conftest$ac_exeext
  81170. -if { (ac_try="$ac_link"
  81171. -case "(($ac_try" in
  81172. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  81173. - *) ac_try_echo=$ac_try;;
  81174. -esac
  81175. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  81176. -$as_echo "$ac_try_echo") >&5
  81177. - (eval "$ac_link") 2>conftest.er1
  81178. - ac_status=$?
  81179. - grep -v '^ *+' conftest.er1 >conftest.err
  81180. - rm -f conftest.er1
  81181. - cat conftest.err >&5
  81182. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  81183. - (exit $ac_status); } && {
  81184. - test -z "$ac_c_werror_flag" ||
  81185. - test ! -s conftest.err
  81186. - } && test -s conftest$ac_exeext && {
  81187. - test "$cross_compiling" = yes ||
  81188. - $as_test_x conftest$ac_exeext
  81189. - }; then
  81190. +if ac_fn_c_try_link "$LINENO"; then :
  81191. ac_cv_func_alloca_works=yes
  81192. else
  81193. - $as_echo "$as_me: failed program was:" >&5
  81194. -sed 's/^/| /' conftest.$ac_ext >&5
  81195. -
  81196. - ac_cv_func_alloca_works=no
  81197. + ac_cv_func_alloca_works=no
  81198. fi
  81199. -
  81200. -rm -rf conftest.dSYM
  81201. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  81202. - conftest$ac_exeext conftest.$ac_ext
  81203. +rm -f core conftest.err conftest.$ac_objext \
  81204. + conftest$ac_exeext conftest.$ac_ext
  81205. fi
  81206. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
  81207. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
  81208. $as_echo "$ac_cv_func_alloca_works" >&6; }
  81209. if test $ac_cv_func_alloca_works = yes; then
  81210. -cat >>confdefs.h <<\_ACEOF
  81211. -#define HAVE_ALLOCA 1
  81212. -_ACEOF
  81213. +$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
  81214. else
  81215. # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  81216. @@ -42447,21 +21857,15 @@
  81217. ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
  81218. -cat >>confdefs.h <<\_ACEOF
  81219. -#define C_ALLOCA 1
  81220. -_ACEOF
  81221. +$as_echo "#define C_ALLOCA 1" >>confdefs.h
  81222. -{ $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
  81223. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
  81224. $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
  81225. -if test "${ac_cv_os_cray+set}" = set; then
  81226. +if test "${ac_cv_os_cray+set}" = set; then :
  81227. $as_echo_n "(cached) " >&6
  81228. else
  81229. - cat >conftest.$ac_ext <<_ACEOF
  81230. -/* confdefs.h. */
  81231. -_ACEOF
  81232. -cat confdefs.h >>conftest.$ac_ext
  81233. -cat >>conftest.$ac_ext <<_ACEOF
  81234. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  81235. /* end confdefs.h. */
  81236. #if defined CRAY && ! defined CRAY2
  81237. webecray
  81238. @@ -42471,7 +21875,7 @@
  81239. _ACEOF
  81240. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  81241. - $EGREP "webecray" >/dev/null 2>&1; then
  81242. + $EGREP "webecray" >/dev/null 2>&1; then :
  81243. ac_cv_os_cray=yes
  81244. else
  81245. ac_cv_os_cray=no
  81246. @@ -42479,100 +21883,14 @@
  81247. rm -f conftest*
  81248. fi
  81249. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
  81250. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
  81251. $as_echo "$ac_cv_os_cray" >&6; }
  81252. if test $ac_cv_os_cray = yes; then
  81253. for ac_func in _getb67 GETB67 getb67; do
  81254. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  81255. -{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  81256. -$as_echo_n "checking for $ac_func... " >&6; }
  81257. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  81258. - $as_echo_n "(cached) " >&6
  81259. -else
  81260. - cat >conftest.$ac_ext <<_ACEOF
  81261. -/* confdefs.h. */
  81262. -_ACEOF
  81263. -cat confdefs.h >>conftest.$ac_ext
  81264. -cat >>conftest.$ac_ext <<_ACEOF
  81265. -/* end confdefs.h. */
  81266. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  81267. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  81268. -#define $ac_func innocuous_$ac_func
  81269. -
  81270. -/* System header to define __stub macros and hopefully few prototypes,
  81271. - which can conflict with char $ac_func (); below.
  81272. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  81273. - <limits.h> exists even on freestanding compilers. */
  81274. -
  81275. -#ifdef __STDC__
  81276. -# include <limits.h>
  81277. -#else
  81278. -# include <assert.h>
  81279. -#endif
  81280. -
  81281. -#undef $ac_func
  81282. -
  81283. -/* Override any GCC internal prototype to avoid an error.
  81284. - Use char because int might match the return type of a GCC
  81285. - builtin and then its argument prototype would still apply. */
  81286. -#ifdef __cplusplus
  81287. -extern "C"
  81288. -#endif
  81289. -char $ac_func ();
  81290. -/* The GNU C library defines this for functions which it implements
  81291. - to always fail with ENOSYS. Some functions are actually named
  81292. - something starting with __ and the normal name is an alias. */
  81293. -#if defined __stub_$ac_func || defined __stub___$ac_func
  81294. -choke me
  81295. -#endif
  81296. -
  81297. -int
  81298. -main ()
  81299. -{
  81300. -return $ac_func ();
  81301. - ;
  81302. - return 0;
  81303. -}
  81304. -_ACEOF
  81305. -rm -f conftest.$ac_objext conftest$ac_exeext
  81306. -if { (ac_try="$ac_link"
  81307. -case "(($ac_try" in
  81308. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  81309. - *) ac_try_echo=$ac_try;;
  81310. -esac
  81311. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  81312. -$as_echo "$ac_try_echo") >&5
  81313. - (eval "$ac_link") 2>conftest.er1
  81314. - ac_status=$?
  81315. - grep -v '^ *+' conftest.er1 >conftest.err
  81316. - rm -f conftest.er1
  81317. - cat conftest.err >&5
  81318. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  81319. - (exit $ac_status); } && {
  81320. - test -z "$ac_c_werror_flag" ||
  81321. - test ! -s conftest.err
  81322. - } && test -s conftest$ac_exeext && {
  81323. - test "$cross_compiling" = yes ||
  81324. - $as_test_x conftest$ac_exeext
  81325. - }; then
  81326. - eval "$as_ac_var=yes"
  81327. -else
  81328. - $as_echo "$as_me: failed program was:" >&5
  81329. -sed 's/^/| /' conftest.$ac_ext >&5
  81330. -
  81331. - eval "$as_ac_var=no"
  81332. -fi
  81333. -
  81334. -rm -rf conftest.dSYM
  81335. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  81336. - conftest$ac_exeext conftest.$ac_ext
  81337. -fi
  81338. -ac_res=`eval 'as_val=${'$as_ac_var'}
  81339. - $as_echo "$as_val"'`
  81340. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  81341. -$as_echo "$ac_res" >&6; }
  81342. -if test `eval 'as_val=${'$as_ac_var'}
  81343. - $as_echo "$as_val"'` = yes; then
  81344. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  81345. +eval as_val=\$$as_ac_var
  81346. + if test "x$as_val" = x""yes; then :
  81347. cat >>confdefs.h <<_ACEOF
  81348. #define CRAY_STACKSEG_END $ac_func
  81349. @@ -42584,19 +21902,15 @@
  81350. done
  81351. fi
  81352. -{ $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
  81353. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
  81354. $as_echo_n "checking stack direction for C alloca... " >&6; }
  81355. -if test "${ac_cv_c_stack_direction+set}" = set; then
  81356. +if test "${ac_cv_c_stack_direction+set}" = set; then :
  81357. $as_echo_n "(cached) " >&6
  81358. else
  81359. - if test "$cross_compiling" = yes; then
  81360. + if test "$cross_compiling" = yes; then :
  81361. ac_cv_c_stack_direction=0
  81362. else
  81363. - cat >conftest.$ac_ext <<_ACEOF
  81364. -/* confdefs.h. */
  81365. -_ACEOF
  81366. -cat confdefs.h >>conftest.$ac_ext
  81367. -cat >>conftest.$ac_ext <<_ACEOF
  81368. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  81369. /* end confdefs.h. */
  81370. $ac_includes_default
  81371. int
  81372. @@ -42617,48 +21931,20 @@
  81373. main ()
  81374. {
  81375. return find_stack_direction () < 0;
  81376. -}
  81377. -_ACEOF
  81378. -rm -f conftest$ac_exeext
  81379. -if { (ac_try="$ac_link"
  81380. -case "(($ac_try" in
  81381. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  81382. - *) ac_try_echo=$ac_try;;
  81383. -esac
  81384. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  81385. -$as_echo "$ac_try_echo") >&5
  81386. - (eval "$ac_link") 2>&5
  81387. - ac_status=$?
  81388. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  81389. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  81390. - { (case "(($ac_try" in
  81391. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  81392. - *) ac_try_echo=$ac_try;;
  81393. -esac
  81394. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  81395. -$as_echo "$ac_try_echo") >&5
  81396. - (eval "$ac_try") 2>&5
  81397. - ac_status=$?
  81398. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  81399. - (exit $ac_status); }; }; then
  81400. +}
  81401. +_ACEOF
  81402. +if ac_fn_c_try_run "$LINENO"; then :
  81403. ac_cv_c_stack_direction=1
  81404. else
  81405. - $as_echo "$as_me: program exited with status $ac_status" >&5
  81406. -$as_echo "$as_me: failed program was:" >&5
  81407. -sed 's/^/| /' conftest.$ac_ext >&5
  81408. -
  81409. -( exit $ac_status )
  81410. -ac_cv_c_stack_direction=-1
  81411. + ac_cv_c_stack_direction=-1
  81412. fi
  81413. -rm -rf conftest.dSYM
  81414. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  81415. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  81416. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  81417. fi
  81418. -
  81419. fi
  81420. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
  81421. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
  81422. $as_echo "$ac_cv_c_stack_direction" >&6; }
  81423. -
  81424. cat >>confdefs.h <<_ACEOF
  81425. #define STACK_DIRECTION $ac_cv_c_stack_direction
  81426. _ACEOF
  81427. @@ -42667,302 +21953,58 @@
  81428. fi
  81429. -{ $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
  81430. -$as_echo_n "checking for socklen_t... " >&6; }
  81431. -if test "${ac_cv_type_socklen_t+set}" = set; then
  81432. - $as_echo_n "(cached) " >&6
  81433. -else
  81434. - ac_cv_type_socklen_t=no
  81435. -cat >conftest.$ac_ext <<_ACEOF
  81436. -/* confdefs.h. */
  81437. -_ACEOF
  81438. -cat confdefs.h >>conftest.$ac_ext
  81439. -cat >>conftest.$ac_ext <<_ACEOF
  81440. -/* end confdefs.h. */
  81441. -
  81442. -#include <sys/types.h>
  81443. -#include <sys/socket.h>
  81444. -#if STDC_HEADERS
  81445. -#include <stdlib.h>
  81446. -#include <stddef.h>
  81447. -#endif
  81448. -
  81449. -int
  81450. -main ()
  81451. -{
  81452. -if (sizeof (socklen_t))
  81453. - return 0;
  81454. - ;
  81455. - return 0;
  81456. -}
  81457. -_ACEOF
  81458. -rm -f conftest.$ac_objext
  81459. -if { (ac_try="$ac_compile"
  81460. -case "(($ac_try" in
  81461. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  81462. - *) ac_try_echo=$ac_try;;
  81463. -esac
  81464. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  81465. -$as_echo "$ac_try_echo") >&5
  81466. - (eval "$ac_compile") 2>conftest.er1
  81467. - ac_status=$?
  81468. - grep -v '^ *+' conftest.er1 >conftest.err
  81469. - rm -f conftest.er1
  81470. - cat conftest.err >&5
  81471. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  81472. - (exit $ac_status); } && {
  81473. - test -z "$ac_c_werror_flag" ||
  81474. - test ! -s conftest.err
  81475. - } && test -s conftest.$ac_objext; then
  81476. - cat >conftest.$ac_ext <<_ACEOF
  81477. -/* confdefs.h. */
  81478. -_ACEOF
  81479. -cat confdefs.h >>conftest.$ac_ext
  81480. -cat >>conftest.$ac_ext <<_ACEOF
  81481. -/* end confdefs.h. */
  81482. -
  81483. +ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
  81484. #include <sys/types.h>
  81485. #include <sys/socket.h>
  81486. #if STDC_HEADERS
  81487. #include <stdlib.h>
  81488. #include <stddef.h>
  81489. #endif
  81490. +"
  81491. +if test "x$ac_cv_type_socklen_t" = x""yes; then :
  81492. -int
  81493. -main ()
  81494. -{
  81495. -if (sizeof ((socklen_t)))
  81496. - return 0;
  81497. - ;
  81498. - return 0;
  81499. -}
  81500. -_ACEOF
  81501. -rm -f conftest.$ac_objext
  81502. -if { (ac_try="$ac_compile"
  81503. -case "(($ac_try" in
  81504. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  81505. - *) ac_try_echo=$ac_try;;
  81506. -esac
  81507. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  81508. -$as_echo "$ac_try_echo") >&5
  81509. - (eval "$ac_compile") 2>conftest.er1
  81510. - ac_status=$?
  81511. - grep -v '^ *+' conftest.er1 >conftest.err
  81512. - rm -f conftest.er1
  81513. - cat conftest.err >&5
  81514. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  81515. - (exit $ac_status); } && {
  81516. - test -z "$ac_c_werror_flag" ||
  81517. - test ! -s conftest.err
  81518. - } && test -s conftest.$ac_objext; then
  81519. - :
  81520. -else
  81521. - $as_echo "$as_me: failed program was:" >&5
  81522. -sed 's/^/| /' conftest.$ac_ext >&5
  81523. -
  81524. - ac_cv_type_socklen_t=yes
  81525. -fi
  81526. -
  81527. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  81528. -else
  81529. - $as_echo "$as_me: failed program was:" >&5
  81530. -sed 's/^/| /' conftest.$ac_ext >&5
  81531. -
  81532. -
  81533. -fi
  81534. -
  81535. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  81536. -fi
  81537. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
  81538. -$as_echo "$ac_cv_type_socklen_t" >&6; }
  81539. -if test $ac_cv_type_socklen_t = yes; then
  81540. -
  81541. -cat >>confdefs.h <<\_ACEOF
  81542. -#define HAVE_SOCKLEN_T 1
  81543. -_ACEOF
  81544. +$as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
  81545. fi
  81546. use_caps=yes
  81547. # Check whether --enable-caps was given.
  81548. -if test "${enable_caps+set}" = set; then
  81549. +if test "${enable_caps+set}" = set; then :
  81550. enableval=$enable_caps; if test "x$enableval" = "xyes" ; then
  81551. - { $as_echo "$as_me:$LINENO: result: forced yes" >&5
  81552. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: forced yes" >&5
  81553. $as_echo "forced yes" >&6; }
  81554. else
  81555. - { $as_echo "$as_me:$LINENO: result: no" >&5
  81556. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  81557. $as_echo "no" >&6; }
  81558. use_caps=no
  81559. fi
  81560. else
  81561. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  81562. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  81563. $as_echo "yes" >&6; }
  81564. fi
  81565. if test "x$use_caps" = "xyes"; then
  81566. libcap_broken=1
  81567. -
  81568. -for ac_header in sys/capability.h
  81569. -do
  81570. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  81571. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  81572. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  81573. -$as_echo_n "checking for $ac_header... " >&6; }
  81574. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  81575. - $as_echo_n "(cached) " >&6
  81576. -fi
  81577. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  81578. - $as_echo "$as_val"'`
  81579. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  81580. -$as_echo "$ac_res" >&6; }
  81581. -else
  81582. - # Is the header compilable?
  81583. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  81584. -$as_echo_n "checking $ac_header usability... " >&6; }
  81585. -cat >conftest.$ac_ext <<_ACEOF
  81586. -/* confdefs.h. */
  81587. -_ACEOF
  81588. -cat confdefs.h >>conftest.$ac_ext
  81589. -cat >>conftest.$ac_ext <<_ACEOF
  81590. -/* end confdefs.h. */
  81591. -$ac_includes_default
  81592. -#include <$ac_header>
  81593. -_ACEOF
  81594. -rm -f conftest.$ac_objext
  81595. -if { (ac_try="$ac_compile"
  81596. -case "(($ac_try" in
  81597. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  81598. - *) ac_try_echo=$ac_try;;
  81599. -esac
  81600. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  81601. -$as_echo "$ac_try_echo") >&5
  81602. - (eval "$ac_compile") 2>conftest.er1
  81603. - ac_status=$?
  81604. - grep -v '^ *+' conftest.er1 >conftest.err
  81605. - rm -f conftest.er1
  81606. - cat conftest.err >&5
  81607. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  81608. - (exit $ac_status); } && {
  81609. - test -z "$ac_c_werror_flag" ||
  81610. - test ! -s conftest.err
  81611. - } && test -s conftest.$ac_objext; then
  81612. - ac_header_compiler=yes
  81613. -else
  81614. - $as_echo "$as_me: failed program was:" >&5
  81615. -sed 's/^/| /' conftest.$ac_ext >&5
  81616. -
  81617. - ac_header_compiler=no
  81618. -fi
  81619. -
  81620. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  81621. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  81622. -$as_echo "$ac_header_compiler" >&6; }
  81623. -
  81624. -# Is the header present?
  81625. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  81626. -$as_echo_n "checking $ac_header presence... " >&6; }
  81627. -cat >conftest.$ac_ext <<_ACEOF
  81628. -/* confdefs.h. */
  81629. -_ACEOF
  81630. -cat confdefs.h >>conftest.$ac_ext
  81631. -cat >>conftest.$ac_ext <<_ACEOF
  81632. -/* end confdefs.h. */
  81633. -#include <$ac_header>
  81634. -_ACEOF
  81635. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  81636. -case "(($ac_try" in
  81637. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  81638. - *) ac_try_echo=$ac_try;;
  81639. -esac
  81640. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  81641. -$as_echo "$ac_try_echo") >&5
  81642. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  81643. - ac_status=$?
  81644. - grep -v '^ *+' conftest.er1 >conftest.err
  81645. - rm -f conftest.er1
  81646. - cat conftest.err >&5
  81647. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  81648. - (exit $ac_status); } >/dev/null && {
  81649. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  81650. - test ! -s conftest.err
  81651. - }; then
  81652. - ac_header_preproc=yes
  81653. -else
  81654. - $as_echo "$as_me: failed program was:" >&5
  81655. -sed 's/^/| /' conftest.$ac_ext >&5
  81656. -
  81657. - ac_header_preproc=no
  81658. -fi
  81659. -
  81660. -rm -f conftest.err conftest.$ac_ext
  81661. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  81662. -$as_echo "$ac_header_preproc" >&6; }
  81663. -
  81664. -# So? What about this header?
  81665. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  81666. - yes:no: )
  81667. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  81668. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  81669. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  81670. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  81671. - ac_header_preproc=yes
  81672. - ;;
  81673. - no:yes:* )
  81674. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  81675. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  81676. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  81677. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  81678. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  81679. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  81680. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  81681. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  81682. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  81683. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  81684. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  81685. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  81686. - ( cat <<\_ASBOX
  81687. -## ----------------------------------------------- ##
  81688. -## Report this to http://www.squid-cache.org/bugs/ ##
  81689. -## ----------------------------------------------- ##
  81690. -_ASBOX
  81691. - ) | sed "s/^/$as_me: WARNING: /" >&2
  81692. - ;;
  81693. -esac
  81694. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  81695. -$as_echo_n "checking for $ac_header... " >&6; }
  81696. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  81697. - $as_echo_n "(cached) " >&6
  81698. -else
  81699. - eval "$as_ac_Header=\$ac_header_preproc"
  81700. -fi
  81701. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  81702. - $as_echo "$as_val"'`
  81703. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  81704. -$as_echo "$ac_res" >&6; }
  81705. -
  81706. -fi
  81707. -if test `eval 'as_val=${'$as_ac_Header'}
  81708. - $as_echo "$as_val"'` = yes; then
  81709. + for ac_header in sys/capability.h
  81710. +do :
  81711. + ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
  81712. +if test "x$ac_cv_header_sys_capability_h" = x""yes; then :
  81713. cat >>confdefs.h <<_ACEOF
  81714. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  81715. +#define HAVE_SYS_CAPABILITY_H 1
  81716. _ACEOF
  81717. fi
  81718. done
  81719. - { $as_echo "$as_me:$LINENO: checking for operational libcap2" >&5
  81720. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for operational libcap2" >&5
  81721. $as_echo_n "checking for operational libcap2... " >&6; }
  81722. -if { as_var=$libcap_broken; eval "test \"\${$as_var+set}\" = set"; }; then
  81723. +if { as_var=$libcap_broken; eval "test \"\${$as_var+set}\" = set"; }; then :
  81724. $as_echo_n "(cached) " >&6
  81725. else
  81726. - cat >conftest.$ac_ext <<_ACEOF
  81727. -/* confdefs.h. */
  81728. -_ACEOF
  81729. -cat confdefs.h >>conftest.$ac_ext
  81730. -cat >>conftest.$ac_ext <<_ACEOF
  81731. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  81732. /* end confdefs.h. */
  81733. #include <sys/capability.h>
  81734. int
  81735. @@ -42976,43 +22018,15 @@
  81736. return 0;
  81737. }
  81738. _ACEOF
  81739. -rm -f conftest.$ac_objext conftest$ac_exeext
  81740. -if { (ac_try="$ac_link"
  81741. -case "(($ac_try" in
  81742. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  81743. - *) ac_try_echo=$ac_try;;
  81744. -esac
  81745. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  81746. -$as_echo "$ac_try_echo") >&5
  81747. - (eval "$ac_link") 2>conftest.er1
  81748. - ac_status=$?
  81749. - grep -v '^ *+' conftest.er1 >conftest.err
  81750. - rm -f conftest.er1
  81751. - cat conftest.err >&5
  81752. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  81753. - (exit $ac_status); } && {
  81754. - test -z "$ac_c_werror_flag" ||
  81755. - test ! -s conftest.err
  81756. - } && test -s conftest$ac_exeext && {
  81757. - test "$cross_compiling" = yes ||
  81758. - $as_test_x conftest$ac_exeext
  81759. - }; then
  81760. +if ac_fn_c_try_link "$LINENO"; then :
  81761. libcap_broken=0
  81762. -else
  81763. - $as_echo "$as_me: failed program was:" >&5
  81764. -sed 's/^/| /' conftest.$ac_ext >&5
  81765. -
  81766. -
  81767. fi
  81768. -
  81769. -rm -rf conftest.dSYM
  81770. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  81771. - conftest$ac_exeext conftest.$ac_ext
  81772. +rm -f core conftest.err conftest.$ac_objext \
  81773. + conftest$ac_exeext conftest.$ac_ext
  81774. fi
  81775. -ac_res=`eval 'as_val=${'$libcap_broken'}
  81776. - $as_echo "$as_val"'`
  81777. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  81778. +eval ac_res=\$$libcap_broken
  81779. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  81780. $as_echo "$ac_res" >&6; }
  81781. cat >>confdefs.h <<_ACEOF
  81782. @@ -43021,128 +22035,25 @@
  81783. fi
  81784. -{ $as_echo "$as_me:$LINENO: checking for mtyp_t" >&5
  81785. -$as_echo_n "checking for mtyp_t... " >&6; }
  81786. -if test "${ac_cv_type_mtyp_t+set}" = set; then
  81787. - $as_echo_n "(cached) " >&6
  81788. -else
  81789. - ac_cv_type_mtyp_t=no
  81790. -cat >conftest.$ac_ext <<_ACEOF
  81791. -/* confdefs.h. */
  81792. -_ACEOF
  81793. -cat confdefs.h >>conftest.$ac_ext
  81794. -cat >>conftest.$ac_ext <<_ACEOF
  81795. -/* end confdefs.h. */
  81796. -#include <sys/types.h>
  81797. -#include <sys/ipc.h>
  81798. -#include <sys/msg.h>
  81799. -
  81800. -int
  81801. -main ()
  81802. -{
  81803. -if (sizeof (mtyp_t))
  81804. - return 0;
  81805. - ;
  81806. - return 0;
  81807. -}
  81808. -_ACEOF
  81809. -rm -f conftest.$ac_objext
  81810. -if { (ac_try="$ac_compile"
  81811. -case "(($ac_try" in
  81812. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  81813. - *) ac_try_echo=$ac_try;;
  81814. -esac
  81815. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  81816. -$as_echo "$ac_try_echo") >&5
  81817. - (eval "$ac_compile") 2>conftest.er1
  81818. - ac_status=$?
  81819. - grep -v '^ *+' conftest.er1 >conftest.err
  81820. - rm -f conftest.er1
  81821. - cat conftest.err >&5
  81822. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  81823. - (exit $ac_status); } && {
  81824. - test -z "$ac_c_werror_flag" ||
  81825. - test ! -s conftest.err
  81826. - } && test -s conftest.$ac_objext; then
  81827. - cat >conftest.$ac_ext <<_ACEOF
  81828. -/* confdefs.h. */
  81829. -_ACEOF
  81830. -cat confdefs.h >>conftest.$ac_ext
  81831. -cat >>conftest.$ac_ext <<_ACEOF
  81832. -/* end confdefs.h. */
  81833. -#include <sys/types.h>
  81834. +ac_fn_c_check_type "$LINENO" "mtyp_t" "ac_cv_type_mtyp_t" "#include <sys/types.h>
  81835. #include <sys/ipc.h>
  81836. #include <sys/msg.h>
  81837. +"
  81838. +if test "x$ac_cv_type_mtyp_t" = x""yes; then :
  81839. -int
  81840. -main ()
  81841. -{
  81842. -if (sizeof ((mtyp_t)))
  81843. - return 0;
  81844. - ;
  81845. - return 0;
  81846. -}
  81847. -_ACEOF
  81848. -rm -f conftest.$ac_objext
  81849. -if { (ac_try="$ac_compile"
  81850. -case "(($ac_try" in
  81851. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  81852. - *) ac_try_echo=$ac_try;;
  81853. -esac
  81854. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  81855. -$as_echo "$ac_try_echo") >&5
  81856. - (eval "$ac_compile") 2>conftest.er1
  81857. - ac_status=$?
  81858. - grep -v '^ *+' conftest.er1 >conftest.err
  81859. - rm -f conftest.er1
  81860. - cat conftest.err >&5
  81861. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  81862. - (exit $ac_status); } && {
  81863. - test -z "$ac_c_werror_flag" ||
  81864. - test ! -s conftest.err
  81865. - } && test -s conftest.$ac_objext; then
  81866. - :
  81867. -else
  81868. - $as_echo "$as_me: failed program was:" >&5
  81869. -sed 's/^/| /' conftest.$ac_ext >&5
  81870. -
  81871. - ac_cv_type_mtyp_t=yes
  81872. -fi
  81873. -
  81874. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  81875. -else
  81876. - $as_echo "$as_me: failed program was:" >&5
  81877. -sed 's/^/| /' conftest.$ac_ext >&5
  81878. -
  81879. -
  81880. -fi
  81881. -
  81882. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  81883. -fi
  81884. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_mtyp_t" >&5
  81885. -$as_echo "$ac_cv_type_mtyp_t" >&6; }
  81886. -if test $ac_cv_type_mtyp_t = yes; then
  81887. -
  81888. -cat >>confdefs.h <<\_ACEOF
  81889. -#define HAVE_MTYP_T 1
  81890. -_ACEOF
  81891. +$as_echo "#define HAVE_MTYP_T 1" >>confdefs.h
  81892. fi
  81893. -
  81894. -{ $as_echo "$as_me:$LINENO: checking for main in -lnsl" >&5
  81895. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
  81896. $as_echo_n "checking for main in -lnsl... " >&6; }
  81897. -if test "${ac_cv_lib_nsl_main+set}" = set; then
  81898. +if test "${ac_cv_lib_nsl_main+set}" = set; then :
  81899. $as_echo_n "(cached) " >&6
  81900. else
  81901. ac_check_lib_save_LIBS=$LIBS
  81902. LIBS="-lnsl $LIBS"
  81903. -cat >conftest.$ac_ext <<_ACEOF
  81904. -/* confdefs.h. */
  81905. -_ACEOF
  81906. -cat confdefs.h >>conftest.$ac_ext
  81907. -cat >>conftest.$ac_ext <<_ACEOF
  81908. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  81909. /* end confdefs.h. */
  81910. @@ -43154,43 +22065,18 @@
  81911. return 0;
  81912. }
  81913. _ACEOF
  81914. -rm -f conftest.$ac_objext conftest$ac_exeext
  81915. -if { (ac_try="$ac_link"
  81916. -case "(($ac_try" in
  81917. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  81918. - *) ac_try_echo=$ac_try;;
  81919. -esac
  81920. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  81921. -$as_echo "$ac_try_echo") >&5
  81922. - (eval "$ac_link") 2>conftest.er1
  81923. - ac_status=$?
  81924. - grep -v '^ *+' conftest.er1 >conftest.err
  81925. - rm -f conftest.er1
  81926. - cat conftest.err >&5
  81927. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  81928. - (exit $ac_status); } && {
  81929. - test -z "$ac_c_werror_flag" ||
  81930. - test ! -s conftest.err
  81931. - } && test -s conftest$ac_exeext && {
  81932. - test "$cross_compiling" = yes ||
  81933. - $as_test_x conftest$ac_exeext
  81934. - }; then
  81935. +if ac_fn_c_try_link "$LINENO"; then :
  81936. ac_cv_lib_nsl_main=yes
  81937. else
  81938. - $as_echo "$as_me: failed program was:" >&5
  81939. -sed 's/^/| /' conftest.$ac_ext >&5
  81940. -
  81941. - ac_cv_lib_nsl_main=no
  81942. + ac_cv_lib_nsl_main=no
  81943. fi
  81944. -
  81945. -rm -rf conftest.dSYM
  81946. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  81947. - conftest$ac_exeext conftest.$ac_ext
  81948. +rm -f core conftest.err conftest.$ac_objext \
  81949. + conftest$ac_exeext conftest.$ac_ext
  81950. LIBS=$ac_check_lib_save_LIBS
  81951. fi
  81952. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
  81953. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
  81954. $as_echo "$ac_cv_lib_nsl_main" >&6; }
  81955. -if test $ac_cv_lib_nsl_main = yes; then
  81956. +if test "x$ac_cv_lib_nsl_main" = x""yes; then :
  81957. cat >>confdefs.h <<_ACEOF
  81958. #define HAVE_LIBNSL 1
  81959. _ACEOF
  81960. @@ -43199,19 +22085,14 @@
  81961. fi
  81962. -
  81963. -{ $as_echo "$as_me:$LINENO: checking for main in -lsocket" >&5
  81964. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
  81965. $as_echo_n "checking for main in -lsocket... " >&6; }
  81966. -if test "${ac_cv_lib_socket_main+set}" = set; then
  81967. +if test "${ac_cv_lib_socket_main+set}" = set; then :
  81968. $as_echo_n "(cached) " >&6
  81969. else
  81970. ac_check_lib_save_LIBS=$LIBS
  81971. LIBS="-lsocket $LIBS"
  81972. -cat >conftest.$ac_ext <<_ACEOF
  81973. -/* confdefs.h. */
  81974. -_ACEOF
  81975. -cat confdefs.h >>conftest.$ac_ext
  81976. -cat >>conftest.$ac_ext <<_ACEOF
  81977. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  81978. /* end confdefs.h. */
  81979. @@ -43223,43 +22104,18 @@
  81980. return 0;
  81981. }
  81982. _ACEOF
  81983. -rm -f conftest.$ac_objext conftest$ac_exeext
  81984. -if { (ac_try="$ac_link"
  81985. -case "(($ac_try" in
  81986. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  81987. - *) ac_try_echo=$ac_try;;
  81988. -esac
  81989. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  81990. -$as_echo "$ac_try_echo") >&5
  81991. - (eval "$ac_link") 2>conftest.er1
  81992. - ac_status=$?
  81993. - grep -v '^ *+' conftest.er1 >conftest.err
  81994. - rm -f conftest.er1
  81995. - cat conftest.err >&5
  81996. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  81997. - (exit $ac_status); } && {
  81998. - test -z "$ac_c_werror_flag" ||
  81999. - test ! -s conftest.err
  82000. - } && test -s conftest$ac_exeext && {
  82001. - test "$cross_compiling" = yes ||
  82002. - $as_test_x conftest$ac_exeext
  82003. - }; then
  82004. +if ac_fn_c_try_link "$LINENO"; then :
  82005. ac_cv_lib_socket_main=yes
  82006. -else
  82007. - $as_echo "$as_me: failed program was:" >&5
  82008. -sed 's/^/| /' conftest.$ac_ext >&5
  82009. -
  82010. - ac_cv_lib_socket_main=no
  82011. +else
  82012. + ac_cv_lib_socket_main=no
  82013. fi
  82014. -
  82015. -rm -rf conftest.dSYM
  82016. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  82017. - conftest$ac_exeext conftest.$ac_ext
  82018. +rm -f core conftest.err conftest.$ac_objext \
  82019. + conftest$ac_exeext conftest.$ac_ext
  82020. LIBS=$ac_check_lib_save_LIBS
  82021. fi
  82022. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
  82023. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
  82024. $as_echo "$ac_cv_lib_socket_main" >&6; }
  82025. -if test $ac_cv_lib_socket_main = yes; then
  82026. +if test "x$ac_cv_lib_socket_main" = x""yes; then :
  82027. cat >>confdefs.h <<_ACEOF
  82028. #define HAVE_LIBSOCKET 1
  82029. _ACEOF
  82030. @@ -43270,16 +22126,12 @@
  82031. case "$host_os" in
  82032. mingw|mingw32)
  82033. - { $as_echo "$as_me:$LINENO: checking for winsock" >&5
  82034. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock" >&5
  82035. $as_echo_n "checking for winsock... " >&6; }
  82036. save_LIBS="$LIBS"
  82037. for curlib in ws2_32 wsock32; do
  82038. LIBS="$LIBS -l$curlib"
  82039. - cat >conftest.$ac_ext <<_ACEOF
  82040. -/* confdefs.h. */
  82041. -_ACEOF
  82042. -cat confdefs.h >>conftest.$ac_ext
  82043. -cat >>conftest.$ac_ext <<_ACEOF
  82044. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  82045. /* end confdefs.h. */
  82046. char __attribute__((stdcall)) socket(int,int,int);
  82047. @@ -43300,38 +22152,13 @@
  82048. return 0;
  82049. }
  82050. _ACEOF
  82051. -rm -f conftest.$ac_objext conftest$ac_exeext
  82052. -if { (ac_try="$ac_link"
  82053. -case "(($ac_try" in
  82054. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  82055. - *) ac_try_echo=$ac_try;;
  82056. -esac
  82057. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  82058. -$as_echo "$ac_try_echo") >&5
  82059. - (eval "$ac_link") 2>conftest.er1
  82060. - ac_status=$?
  82061. - grep -v '^ *+' conftest.er1 >conftest.err
  82062. - rm -f conftest.er1
  82063. - cat conftest.err >&5
  82064. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  82065. - (exit $ac_status); } && {
  82066. - test -z "$ac_c_werror_flag" ||
  82067. - test ! -s conftest.err
  82068. - } && test -s conftest$ac_exeext && {
  82069. - test "$cross_compiling" = yes ||
  82070. - $as_test_x conftest$ac_exeext
  82071. - }; then
  82072. +if ac_fn_c_try_link "$LINENO"; then :
  82073. have_winsock=yes
  82074. else
  82075. - $as_echo "$as_me: failed program was:" >&5
  82076. -sed 's/^/| /' conftest.$ac_ext >&5
  82077. -
  82078. - have_winsock=no
  82079. + have_winsock=no
  82080. fi
  82081. -
  82082. -rm -rf conftest.dSYM
  82083. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  82084. - conftest$ac_exeext conftest.$ac_ext
  82085. +rm -f core conftest.err conftest.$ac_objext \
  82086. + conftest$ac_exeext conftest.$ac_ext
  82087. if test $have_winsock = yes; then
  82088. ac_cv_func_select='yes'
  82089. @@ -43342,153 +22169,15 @@
  82090. fi
  82091. LIBS="$save_LIBS"
  82092. done
  82093. - { $as_echo "$as_me:$LINENO: result: $have_winsock" >&5
  82094. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_winsock" >&5
  82095. $as_echo "$have_winsock" >&6; }
  82096. if test $have_winsock = winsock2; then
  82097. -
  82098. -for ac_header in winsock2.h
  82099. -do
  82100. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  82101. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  82102. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  82103. -$as_echo_n "checking for $ac_header... " >&6; }
  82104. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  82105. - $as_echo_n "(cached) " >&6
  82106. -fi
  82107. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  82108. - $as_echo "$as_val"'`
  82109. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  82110. -$as_echo "$ac_res" >&6; }
  82111. -else
  82112. - # Is the header compilable?
  82113. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  82114. -$as_echo_n "checking $ac_header usability... " >&6; }
  82115. -cat >conftest.$ac_ext <<_ACEOF
  82116. -/* confdefs.h. */
  82117. -_ACEOF
  82118. -cat confdefs.h >>conftest.$ac_ext
  82119. -cat >>conftest.$ac_ext <<_ACEOF
  82120. -/* end confdefs.h. */
  82121. -$ac_includes_default
  82122. -#include <$ac_header>
  82123. -_ACEOF
  82124. -rm -f conftest.$ac_objext
  82125. -if { (ac_try="$ac_compile"
  82126. -case "(($ac_try" in
  82127. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  82128. - *) ac_try_echo=$ac_try;;
  82129. -esac
  82130. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  82131. -$as_echo "$ac_try_echo") >&5
  82132. - (eval "$ac_compile") 2>conftest.er1
  82133. - ac_status=$?
  82134. - grep -v '^ *+' conftest.er1 >conftest.err
  82135. - rm -f conftest.er1
  82136. - cat conftest.err >&5
  82137. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  82138. - (exit $ac_status); } && {
  82139. - test -z "$ac_c_werror_flag" ||
  82140. - test ! -s conftest.err
  82141. - } && test -s conftest.$ac_objext; then
  82142. - ac_header_compiler=yes
  82143. -else
  82144. - $as_echo "$as_me: failed program was:" >&5
  82145. -sed 's/^/| /' conftest.$ac_ext >&5
  82146. -
  82147. - ac_header_compiler=no
  82148. -fi
  82149. -
  82150. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  82151. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  82152. -$as_echo "$ac_header_compiler" >&6; }
  82153. -
  82154. -# Is the header present?
  82155. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  82156. -$as_echo_n "checking $ac_header presence... " >&6; }
  82157. -cat >conftest.$ac_ext <<_ACEOF
  82158. -/* confdefs.h. */
  82159. -_ACEOF
  82160. -cat confdefs.h >>conftest.$ac_ext
  82161. -cat >>conftest.$ac_ext <<_ACEOF
  82162. -/* end confdefs.h. */
  82163. -#include <$ac_header>
  82164. -_ACEOF
  82165. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  82166. -case "(($ac_try" in
  82167. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  82168. - *) ac_try_echo=$ac_try;;
  82169. -esac
  82170. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  82171. -$as_echo "$ac_try_echo") >&5
  82172. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  82173. - ac_status=$?
  82174. - grep -v '^ *+' conftest.er1 >conftest.err
  82175. - rm -f conftest.er1
  82176. - cat conftest.err >&5
  82177. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  82178. - (exit $ac_status); } >/dev/null && {
  82179. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  82180. - test ! -s conftest.err
  82181. - }; then
  82182. - ac_header_preproc=yes
  82183. -else
  82184. - $as_echo "$as_me: failed program was:" >&5
  82185. -sed 's/^/| /' conftest.$ac_ext >&5
  82186. -
  82187. - ac_header_preproc=no
  82188. -fi
  82189. -
  82190. -rm -f conftest.err conftest.$ac_ext
  82191. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  82192. -$as_echo "$ac_header_preproc" >&6; }
  82193. -
  82194. -# So? What about this header?
  82195. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  82196. - yes:no: )
  82197. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  82198. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  82199. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  82200. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  82201. - ac_header_preproc=yes
  82202. - ;;
  82203. - no:yes:* )
  82204. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  82205. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  82206. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  82207. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  82208. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  82209. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  82210. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  82211. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  82212. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  82213. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  82214. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  82215. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  82216. - ( cat <<\_ASBOX
  82217. -## ----------------------------------------------- ##
  82218. -## Report this to http://www.squid-cache.org/bugs/ ##
  82219. -## ----------------------------------------------- ##
  82220. -_ASBOX
  82221. - ) | sed "s/^/$as_me: WARNING: /" >&2
  82222. - ;;
  82223. -esac
  82224. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  82225. -$as_echo_n "checking for $ac_header... " >&6; }
  82226. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  82227. - $as_echo_n "(cached) " >&6
  82228. -else
  82229. - eval "$as_ac_Header=\$ac_header_preproc"
  82230. -fi
  82231. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  82232. - $as_echo "$as_val"'`
  82233. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  82234. -$as_echo "$ac_res" >&6; }
  82235. -
  82236. -fi
  82237. -if test `eval 'as_val=${'$as_ac_Header'}
  82238. - $as_echo "$as_val"'` = yes; then
  82239. + for ac_header in winsock2.h
  82240. +do :
  82241. + ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
  82242. +if test "x$ac_cv_header_winsock2_h" = x""yes; then :
  82243. cat >>confdefs.h <<_ACEOF
  82244. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  82245. +#define HAVE_WINSOCK2_H 1
  82246. _ACEOF
  82247. fi
  82248. @@ -43496,150 +22185,12 @@
  82249. done
  82250. else
  82251. -
  82252. -for ac_header in winsock.h
  82253. -do
  82254. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  82255. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  82256. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  82257. -$as_echo_n "checking for $ac_header... " >&6; }
  82258. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  82259. - $as_echo_n "(cached) " >&6
  82260. -fi
  82261. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  82262. - $as_echo "$as_val"'`
  82263. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  82264. -$as_echo "$ac_res" >&6; }
  82265. -else
  82266. - # Is the header compilable?
  82267. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  82268. -$as_echo_n "checking $ac_header usability... " >&6; }
  82269. -cat >conftest.$ac_ext <<_ACEOF
  82270. -/* confdefs.h. */
  82271. -_ACEOF
  82272. -cat confdefs.h >>conftest.$ac_ext
  82273. -cat >>conftest.$ac_ext <<_ACEOF
  82274. -/* end confdefs.h. */
  82275. -$ac_includes_default
  82276. -#include <$ac_header>
  82277. -_ACEOF
  82278. -rm -f conftest.$ac_objext
  82279. -if { (ac_try="$ac_compile"
  82280. -case "(($ac_try" in
  82281. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  82282. - *) ac_try_echo=$ac_try;;
  82283. -esac
  82284. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  82285. -$as_echo "$ac_try_echo") >&5
  82286. - (eval "$ac_compile") 2>conftest.er1
  82287. - ac_status=$?
  82288. - grep -v '^ *+' conftest.er1 >conftest.err
  82289. - rm -f conftest.er1
  82290. - cat conftest.err >&5
  82291. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  82292. - (exit $ac_status); } && {
  82293. - test -z "$ac_c_werror_flag" ||
  82294. - test ! -s conftest.err
  82295. - } && test -s conftest.$ac_objext; then
  82296. - ac_header_compiler=yes
  82297. -else
  82298. - $as_echo "$as_me: failed program was:" >&5
  82299. -sed 's/^/| /' conftest.$ac_ext >&5
  82300. -
  82301. - ac_header_compiler=no
  82302. -fi
  82303. -
  82304. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  82305. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  82306. -$as_echo "$ac_header_compiler" >&6; }
  82307. -
  82308. -# Is the header present?
  82309. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  82310. -$as_echo_n "checking $ac_header presence... " >&6; }
  82311. -cat >conftest.$ac_ext <<_ACEOF
  82312. -/* confdefs.h. */
  82313. -_ACEOF
  82314. -cat confdefs.h >>conftest.$ac_ext
  82315. -cat >>conftest.$ac_ext <<_ACEOF
  82316. -/* end confdefs.h. */
  82317. -#include <$ac_header>
  82318. -_ACEOF
  82319. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  82320. -case "(($ac_try" in
  82321. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  82322. - *) ac_try_echo=$ac_try;;
  82323. -esac
  82324. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  82325. -$as_echo "$ac_try_echo") >&5
  82326. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  82327. - ac_status=$?
  82328. - grep -v '^ *+' conftest.er1 >conftest.err
  82329. - rm -f conftest.er1
  82330. - cat conftest.err >&5
  82331. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  82332. - (exit $ac_status); } >/dev/null && {
  82333. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  82334. - test ! -s conftest.err
  82335. - }; then
  82336. - ac_header_preproc=yes
  82337. -else
  82338. - $as_echo "$as_me: failed program was:" >&5
  82339. -sed 's/^/| /' conftest.$ac_ext >&5
  82340. -
  82341. - ac_header_preproc=no
  82342. -fi
  82343. -
  82344. -rm -f conftest.err conftest.$ac_ext
  82345. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  82346. -$as_echo "$ac_header_preproc" >&6; }
  82347. -
  82348. -# So? What about this header?
  82349. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  82350. - yes:no: )
  82351. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  82352. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  82353. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  82354. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  82355. - ac_header_preproc=yes
  82356. - ;;
  82357. - no:yes:* )
  82358. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  82359. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  82360. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  82361. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  82362. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  82363. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  82364. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  82365. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  82366. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  82367. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  82368. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  82369. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  82370. - ( cat <<\_ASBOX
  82371. -## ----------------------------------------------- ##
  82372. -## Report this to http://www.squid-cache.org/bugs/ ##
  82373. -## ----------------------------------------------- ##
  82374. -_ASBOX
  82375. - ) | sed "s/^/$as_me: WARNING: /" >&2
  82376. - ;;
  82377. -esac
  82378. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  82379. -$as_echo_n "checking for $ac_header... " >&6; }
  82380. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  82381. - $as_echo_n "(cached) " >&6
  82382. -else
  82383. - eval "$as_ac_Header=\$ac_header_preproc"
  82384. -fi
  82385. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  82386. - $as_echo "$as_val"'`
  82387. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  82388. -$as_echo "$ac_res" >&6; }
  82389. -
  82390. -fi
  82391. -if test `eval 'as_val=${'$as_ac_Header'}
  82392. - $as_echo "$as_val"'` = yes; then
  82393. + for ac_header in winsock.h
  82394. +do :
  82395. + ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default"
  82396. +if test "x$ac_cv_header_winsock_h" = x""yes; then :
  82397. cat >>confdefs.h <<_ACEOF
  82398. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  82399. +#define HAVE_WINSOCK_H 1
  82400. _ACEOF
  82401. fi
  82402. @@ -43650,17 +22201,13 @@
  82403. ;;
  82404. esac
  82405. -{ $as_echo "$as_me:$LINENO: checking for unix domain sockets" >&5
  82406. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix domain sockets" >&5
  82407. $as_echo_n "checking for unix domain sockets... " >&6; }
  82408. -if test "${squid_cv_unixsocket+set}" = set; then
  82409. +if test "${squid_cv_unixsocket+set}" = set; then :
  82410. $as_echo_n "(cached) " >&6
  82411. else
  82412. - cat >conftest.$ac_ext <<_ACEOF
  82413. -/* confdefs.h. */
  82414. -_ACEOF
  82415. -cat confdefs.h >>conftest.$ac_ext
  82416. -cat >>conftest.$ac_ext <<_ACEOF
  82417. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  82418. /* end confdefs.h. */
  82419. #include <sys/types.h>
  82420. @@ -43679,57 +22226,29 @@
  82421. return 0;
  82422. }
  82423. _ACEOF
  82424. -rm -f conftest.$ac_objext
  82425. -if { (ac_try="$ac_compile"
  82426. -case "(($ac_try" in
  82427. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  82428. - *) ac_try_echo=$ac_try;;
  82429. -esac
  82430. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  82431. -$as_echo "$ac_try_echo") >&5
  82432. - (eval "$ac_compile") 2>conftest.er1
  82433. - ac_status=$?
  82434. - grep -v '^ *+' conftest.er1 >conftest.err
  82435. - rm -f conftest.er1
  82436. - cat conftest.err >&5
  82437. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  82438. - (exit $ac_status); } && {
  82439. - test -z "$ac_c_werror_flag" ||
  82440. - test ! -s conftest.err
  82441. - } && test -s conftest.$ac_objext; then
  82442. +if ac_fn_c_try_compile "$LINENO"; then :
  82443. squid_cv_unixsocket=yes
  82444. else
  82445. - $as_echo "$as_me: failed program was:" >&5
  82446. -sed 's/^/| /' conftest.$ac_ext >&5
  82447. -
  82448. - squid_cv_unixsocket=no
  82449. + squid_cv_unixsocket=no
  82450. fi
  82451. -
  82452. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  82453. fi
  82454. -{ $as_echo "$as_me:$LINENO: result: $squid_cv_unixsocket" >&5
  82455. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $squid_cv_unixsocket" >&5
  82456. $as_echo "$squid_cv_unixsocket" >&6; }
  82457. if test x"$squid_cv_unixsocket" = x"yes"; then
  82458. -cat >>confdefs.h <<\_ACEOF
  82459. -#define HAVE_UNIXSOCKET 1
  82460. -_ACEOF
  82461. +$as_echo "#define HAVE_UNIXSOCKET 1" >>confdefs.h
  82462. fi
  82463. -
  82464. -{ $as_echo "$as_me:$LINENO: checking for main in -lgnumalloc" >&5
  82465. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgnumalloc" >&5
  82466. $as_echo_n "checking for main in -lgnumalloc... " >&6; }
  82467. -if test "${ac_cv_lib_gnumalloc_main+set}" = set; then
  82468. +if test "${ac_cv_lib_gnumalloc_main+set}" = set; then :
  82469. $as_echo_n "(cached) " >&6
  82470. else
  82471. ac_check_lib_save_LIBS=$LIBS
  82472. LIBS="-lgnumalloc $LIBS"
  82473. -cat >conftest.$ac_ext <<_ACEOF
  82474. -/* confdefs.h. */
  82475. -_ACEOF
  82476. -cat confdefs.h >>conftest.$ac_ext
  82477. -cat >>conftest.$ac_ext <<_ACEOF
  82478. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  82479. /* end confdefs.h. */
  82480. @@ -43741,43 +22260,18 @@
  82481. return 0;
  82482. }
  82483. _ACEOF
  82484. -rm -f conftest.$ac_objext conftest$ac_exeext
  82485. -if { (ac_try="$ac_link"
  82486. -case "(($ac_try" in
  82487. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  82488. - *) ac_try_echo=$ac_try;;
  82489. -esac
  82490. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  82491. -$as_echo "$ac_try_echo") >&5
  82492. - (eval "$ac_link") 2>conftest.er1
  82493. - ac_status=$?
  82494. - grep -v '^ *+' conftest.er1 >conftest.err
  82495. - rm -f conftest.er1
  82496. - cat conftest.err >&5
  82497. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  82498. - (exit $ac_status); } && {
  82499. - test -z "$ac_c_werror_flag" ||
  82500. - test ! -s conftest.err
  82501. - } && test -s conftest$ac_exeext && {
  82502. - test "$cross_compiling" = yes ||
  82503. - $as_test_x conftest$ac_exeext
  82504. - }; then
  82505. +if ac_fn_c_try_link "$LINENO"; then :
  82506. ac_cv_lib_gnumalloc_main=yes
  82507. else
  82508. - $as_echo "$as_me: failed program was:" >&5
  82509. -sed 's/^/| /' conftest.$ac_ext >&5
  82510. -
  82511. - ac_cv_lib_gnumalloc_main=no
  82512. + ac_cv_lib_gnumalloc_main=no
  82513. fi
  82514. -
  82515. -rm -rf conftest.dSYM
  82516. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  82517. - conftest$ac_exeext conftest.$ac_ext
  82518. +rm -f core conftest.err conftest.$ac_objext \
  82519. + conftest$ac_exeext conftest.$ac_ext
  82520. LIBS=$ac_check_lib_save_LIBS
  82521. fi
  82522. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gnumalloc_main" >&5
  82523. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnumalloc_main" >&5
  82524. $as_echo "$ac_cv_lib_gnumalloc_main" >&6; }
  82525. -if test $ac_cv_lib_gnumalloc_main = yes; then
  82526. +if test "x$ac_cv_lib_gnumalloc_main" = x""yes; then :
  82527. cat >>confdefs.h <<_ACEOF
  82528. #define HAVE_LIBGNUMALLOC 1
  82529. _ACEOF
  82530. @@ -43801,19 +22295,14 @@
  82531. ;;
  82532. *)
  82533. -
  82534. -{ $as_echo "$as_me:$LINENO: checking for main in -lmalloc" >&5
  82535. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmalloc" >&5
  82536. $as_echo_n "checking for main in -lmalloc... " >&6; }
  82537. -if test "${ac_cv_lib_malloc_main+set}" = set; then
  82538. +if test "${ac_cv_lib_malloc_main+set}" = set; then :
  82539. $as_echo_n "(cached) " >&6
  82540. else
  82541. ac_check_lib_save_LIBS=$LIBS
  82542. LIBS="-lmalloc $LIBS"
  82543. -cat >conftest.$ac_ext <<_ACEOF
  82544. -/* confdefs.h. */
  82545. -_ACEOF
  82546. -cat confdefs.h >>conftest.$ac_ext
  82547. -cat >>conftest.$ac_ext <<_ACEOF
  82548. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  82549. /* end confdefs.h. */
  82550. @@ -43825,43 +22314,18 @@
  82551. return 0;
  82552. }
  82553. _ACEOF
  82554. -rm -f conftest.$ac_objext conftest$ac_exeext
  82555. -if { (ac_try="$ac_link"
  82556. -case "(($ac_try" in
  82557. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  82558. - *) ac_try_echo=$ac_try;;
  82559. -esac
  82560. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  82561. -$as_echo "$ac_try_echo") >&5
  82562. - (eval "$ac_link") 2>conftest.er1
  82563. - ac_status=$?
  82564. - grep -v '^ *+' conftest.er1 >conftest.err
  82565. - rm -f conftest.er1
  82566. - cat conftest.err >&5
  82567. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  82568. - (exit $ac_status); } && {
  82569. - test -z "$ac_c_werror_flag" ||
  82570. - test ! -s conftest.err
  82571. - } && test -s conftest$ac_exeext && {
  82572. - test "$cross_compiling" = yes ||
  82573. - $as_test_x conftest$ac_exeext
  82574. - }; then
  82575. +if ac_fn_c_try_link "$LINENO"; then :
  82576. ac_cv_lib_malloc_main=yes
  82577. else
  82578. - $as_echo "$as_me: failed program was:" >&5
  82579. -sed 's/^/| /' conftest.$ac_ext >&5
  82580. -
  82581. - ac_cv_lib_malloc_main=no
  82582. + ac_cv_lib_malloc_main=no
  82583. fi
  82584. -
  82585. -rm -rf conftest.dSYM
  82586. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  82587. - conftest$ac_exeext conftest.$ac_ext
  82588. +rm -f core conftest.err conftest.$ac_objext \
  82589. + conftest$ac_exeext conftest.$ac_ext
  82590. LIBS=$ac_check_lib_save_LIBS
  82591. fi
  82592. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_malloc_main" >&5
  82593. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_malloc_main" >&5
  82594. $as_echo "$ac_cv_lib_malloc_main" >&6; }
  82595. -if test $ac_cv_lib_malloc_main = yes; then
  82596. +if test "x$ac_cv_lib_malloc_main" = x""yes; then :
  82597. cat >>confdefs.h <<_ACEOF
  82598. #define HAVE_LIBMALLOC 1
  82599. _ACEOF
  82600. @@ -43874,19 +22338,14 @@
  82601. esac
  82602. fi
  82603. -
  82604. -{ $as_echo "$as_me:$LINENO: checking for main in -lbsd" >&5
  82605. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lbsd" >&5
  82606. $as_echo_n "checking for main in -lbsd... " >&6; }
  82607. -if test "${ac_cv_lib_bsd_main+set}" = set; then
  82608. +if test "${ac_cv_lib_bsd_main+set}" = set; then :
  82609. $as_echo_n "(cached) " >&6
  82610. else
  82611. ac_check_lib_save_LIBS=$LIBS
  82612. LIBS="-lbsd $LIBS"
  82613. -cat >conftest.$ac_ext <<_ACEOF
  82614. -/* confdefs.h. */
  82615. -_ACEOF
  82616. -cat confdefs.h >>conftest.$ac_ext
  82617. -cat >>conftest.$ac_ext <<_ACEOF
  82618. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  82619. /* end confdefs.h. */
  82620. @@ -43898,43 +22357,18 @@
  82621. return 0;
  82622. }
  82623. _ACEOF
  82624. -rm -f conftest.$ac_objext conftest$ac_exeext
  82625. -if { (ac_try="$ac_link"
  82626. -case "(($ac_try" in
  82627. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  82628. - *) ac_try_echo=$ac_try;;
  82629. -esac
  82630. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  82631. -$as_echo "$ac_try_echo") >&5
  82632. - (eval "$ac_link") 2>conftest.er1
  82633. - ac_status=$?
  82634. - grep -v '^ *+' conftest.er1 >conftest.err
  82635. - rm -f conftest.er1
  82636. - cat conftest.err >&5
  82637. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  82638. - (exit $ac_status); } && {
  82639. - test -z "$ac_c_werror_flag" ||
  82640. - test ! -s conftest.err
  82641. - } && test -s conftest$ac_exeext && {
  82642. - test "$cross_compiling" = yes ||
  82643. - $as_test_x conftest$ac_exeext
  82644. - }; then
  82645. +if ac_fn_c_try_link "$LINENO"; then :
  82646. ac_cv_lib_bsd_main=yes
  82647. else
  82648. - $as_echo "$as_me: failed program was:" >&5
  82649. -sed 's/^/| /' conftest.$ac_ext >&5
  82650. -
  82651. - ac_cv_lib_bsd_main=no
  82652. + ac_cv_lib_bsd_main=no
  82653. fi
  82654. -
  82655. -rm -rf conftest.dSYM
  82656. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  82657. - conftest$ac_exeext conftest.$ac_ext
  82658. +rm -f core conftest.err conftest.$ac_objext \
  82659. + conftest$ac_exeext conftest.$ac_ext
  82660. LIBS=$ac_check_lib_save_LIBS
  82661. fi
  82662. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_main" >&5
  82663. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_main" >&5
  82664. $as_echo "$ac_cv_lib_bsd_main" >&6; }
  82665. -if test $ac_cv_lib_bsd_main = yes; then
  82666. +if test "x$ac_cv_lib_bsd_main" = x""yes; then :
  82667. cat >>confdefs.h <<_ACEOF
  82668. #define HAVE_LIBBSD 1
  82669. _ACEOF
  82670. @@ -43943,18 +22377,14 @@
  82671. fi
  82672. -{ $as_echo "$as_me:$LINENO: checking for main in -lregex" >&5
  82673. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lregex" >&5
  82674. $as_echo_n "checking for main in -lregex... " >&6; }
  82675. -if test "${ac_cv_lib_regex_main+set}" = set; then
  82676. +if test "${ac_cv_lib_regex_main+set}" = set; then :
  82677. $as_echo_n "(cached) " >&6
  82678. else
  82679. ac_check_lib_save_LIBS=$LIBS
  82680. LIBS="-lregex $LIBS"
  82681. -cat >conftest.$ac_ext <<_ACEOF
  82682. -/* confdefs.h. */
  82683. -_ACEOF
  82684. -cat confdefs.h >>conftest.$ac_ext
  82685. -cat >>conftest.$ac_ext <<_ACEOF
  82686. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  82687. /* end confdefs.h. */
  82688. @@ -43966,59 +22396,29 @@
  82689. return 0;
  82690. }
  82691. _ACEOF
  82692. -rm -f conftest.$ac_objext conftest$ac_exeext
  82693. -if { (ac_try="$ac_link"
  82694. -case "(($ac_try" in
  82695. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  82696. - *) ac_try_echo=$ac_try;;
  82697. -esac
  82698. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  82699. -$as_echo "$ac_try_echo") >&5
  82700. - (eval "$ac_link") 2>conftest.er1
  82701. - ac_status=$?
  82702. - grep -v '^ *+' conftest.er1 >conftest.err
  82703. - rm -f conftest.er1
  82704. - cat conftest.err >&5
  82705. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  82706. - (exit $ac_status); } && {
  82707. - test -z "$ac_c_werror_flag" ||
  82708. - test ! -s conftest.err
  82709. - } && test -s conftest$ac_exeext && {
  82710. - test "$cross_compiling" = yes ||
  82711. - $as_test_x conftest$ac_exeext
  82712. - }; then
  82713. +if ac_fn_c_try_link "$LINENO"; then :
  82714. ac_cv_lib_regex_main=yes
  82715. else
  82716. - $as_echo "$as_me: failed program was:" >&5
  82717. -sed 's/^/| /' conftest.$ac_ext >&5
  82718. -
  82719. - ac_cv_lib_regex_main=no
  82720. + ac_cv_lib_regex_main=no
  82721. fi
  82722. -
  82723. -rm -rf conftest.dSYM
  82724. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  82725. - conftest$ac_exeext conftest.$ac_ext
  82726. +rm -f core conftest.err conftest.$ac_objext \
  82727. + conftest$ac_exeext conftest.$ac_ext
  82728. LIBS=$ac_check_lib_save_LIBS
  82729. fi
  82730. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_regex_main" >&5
  82731. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_regex_main" >&5
  82732. $as_echo "$ac_cv_lib_regex_main" >&6; }
  82733. -if test $ac_cv_lib_regex_main = yes; then
  82734. +if test "x$ac_cv_lib_regex_main" = x""yes; then :
  82735. REGEXLIB="-lregex"
  82736. fi
  82737. -
  82738. -{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbind" >&5
  82739. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbind" >&5
  82740. $as_echo_n "checking for gethostbyname in -lbind... " >&6; }
  82741. -if test "${ac_cv_lib_bind_gethostbyname+set}" = set; then
  82742. +if test "${ac_cv_lib_bind_gethostbyname+set}" = set; then :
  82743. $as_echo_n "(cached) " >&6
  82744. else
  82745. ac_check_lib_save_LIBS=$LIBS
  82746. LIBS="-lbind $LIBS"
  82747. -cat >conftest.$ac_ext <<_ACEOF
  82748. -/* confdefs.h. */
  82749. -_ACEOF
  82750. -cat confdefs.h >>conftest.$ac_ext
  82751. -cat >>conftest.$ac_ext <<_ACEOF
  82752. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  82753. /* end confdefs.h. */
  82754. /* Override any GCC internal prototype to avoid an error.
  82755. @@ -44036,43 +22436,18 @@
  82756. return 0;
  82757. }
  82758. _ACEOF
  82759. -rm -f conftest.$ac_objext conftest$ac_exeext
  82760. -if { (ac_try="$ac_link"
  82761. -case "(($ac_try" in
  82762. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  82763. - *) ac_try_echo=$ac_try;;
  82764. -esac
  82765. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  82766. -$as_echo "$ac_try_echo") >&5
  82767. - (eval "$ac_link") 2>conftest.er1
  82768. - ac_status=$?
  82769. - grep -v '^ *+' conftest.er1 >conftest.err
  82770. - rm -f conftest.er1
  82771. - cat conftest.err >&5
  82772. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  82773. - (exit $ac_status); } && {
  82774. - test -z "$ac_c_werror_flag" ||
  82775. - test ! -s conftest.err
  82776. - } && test -s conftest$ac_exeext && {
  82777. - test "$cross_compiling" = yes ||
  82778. - $as_test_x conftest$ac_exeext
  82779. - }; then
  82780. +if ac_fn_c_try_link "$LINENO"; then :
  82781. ac_cv_lib_bind_gethostbyname=yes
  82782. else
  82783. - $as_echo "$as_me: failed program was:" >&5
  82784. -sed 's/^/| /' conftest.$ac_ext >&5
  82785. -
  82786. - ac_cv_lib_bind_gethostbyname=no
  82787. + ac_cv_lib_bind_gethostbyname=no
  82788. fi
  82789. -
  82790. -rm -rf conftest.dSYM
  82791. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  82792. - conftest$ac_exeext conftest.$ac_ext
  82793. +rm -f core conftest.err conftest.$ac_objext \
  82794. + conftest$ac_exeext conftest.$ac_ext
  82795. LIBS=$ac_check_lib_save_LIBS
  82796. fi
  82797. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_gethostbyname" >&5
  82798. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_gethostbyname" >&5
  82799. $as_echo "$ac_cv_lib_bind_gethostbyname" >&6; }
  82800. -if test $ac_cv_lib_bind_gethostbyname = yes; then
  82801. +if test "x$ac_cv_lib_bind_gethostbyname" = x""yes; then :
  82802. cat >>confdefs.h <<_ACEOF
  82803. #define HAVE_LIBBIND 1
  82804. _ACEOF
  82805. @@ -44087,18 +22462,14 @@
  82806. echo "skipping libresolv checks for $host"
  82807. ;;
  82808. *)
  82809. - { $as_echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
  82810. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
  82811. $as_echo_n "checking for inet_aton in -lresolv... " >&6; }
  82812. -if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
  82813. +if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then :
  82814. $as_echo_n "(cached) " >&6
  82815. else
  82816. ac_check_lib_save_LIBS=$LIBS
  82817. LIBS="-lresolv $LIBS"
  82818. -cat >conftest.$ac_ext <<_ACEOF
  82819. -/* confdefs.h. */
  82820. -_ACEOF
  82821. -cat confdefs.h >>conftest.$ac_ext
  82822. -cat >>conftest.$ac_ext <<_ACEOF
  82823. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  82824. /* end confdefs.h. */
  82825. /* Override any GCC internal prototype to avoid an error.
  82826. @@ -44116,56 +22487,26 @@
  82827. return 0;
  82828. }
  82829. _ACEOF
  82830. -rm -f conftest.$ac_objext conftest$ac_exeext
  82831. -if { (ac_try="$ac_link"
  82832. -case "(($ac_try" in
  82833. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  82834. - *) ac_try_echo=$ac_try;;
  82835. -esac
  82836. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  82837. -$as_echo "$ac_try_echo") >&5
  82838. - (eval "$ac_link") 2>conftest.er1
  82839. - ac_status=$?
  82840. - grep -v '^ *+' conftest.er1 >conftest.err
  82841. - rm -f conftest.er1
  82842. - cat conftest.err >&5
  82843. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  82844. - (exit $ac_status); } && {
  82845. - test -z "$ac_c_werror_flag" ||
  82846. - test ! -s conftest.err
  82847. - } && test -s conftest$ac_exeext && {
  82848. - test "$cross_compiling" = yes ||
  82849. - $as_test_x conftest$ac_exeext
  82850. - }; then
  82851. +if ac_fn_c_try_link "$LINENO"; then :
  82852. ac_cv_lib_resolv_inet_aton=yes
  82853. else
  82854. - $as_echo "$as_me: failed program was:" >&5
  82855. -sed 's/^/| /' conftest.$ac_ext >&5
  82856. -
  82857. - ac_cv_lib_resolv_inet_aton=no
  82858. + ac_cv_lib_resolv_inet_aton=no
  82859. fi
  82860. -
  82861. -rm -rf conftest.dSYM
  82862. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  82863. - conftest$ac_exeext conftest.$ac_ext
  82864. +rm -f core conftest.err conftest.$ac_objext \
  82865. + conftest$ac_exeext conftest.$ac_ext
  82866. LIBS=$ac_check_lib_save_LIBS
  82867. fi
  82868. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
  82869. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
  82870. $as_echo "$ac_cv_lib_resolv_inet_aton" >&6; }
  82871. -if test $ac_cv_lib_resolv_inet_aton = yes; then
  82872. -
  82873. -{ $as_echo "$as_me:$LINENO: checking for inet_aton in -l44bsd" >&5
  82874. +if test "x$ac_cv_lib_resolv_inet_aton" = x""yes; then :
  82875. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l44bsd" >&5
  82876. $as_echo_n "checking for inet_aton in -l44bsd... " >&6; }
  82877. -if test "${ac_cv_lib_44bsd_inet_aton+set}" = set; then
  82878. +if test "${ac_cv_lib_44bsd_inet_aton+set}" = set; then :
  82879. $as_echo_n "(cached) " >&6
  82880. else
  82881. ac_check_lib_save_LIBS=$LIBS
  82882. LIBS="-l44bsd $LIBS"
  82883. -cat >conftest.$ac_ext <<_ACEOF
  82884. -/* confdefs.h. */
  82885. -_ACEOF
  82886. -cat confdefs.h >>conftest.$ac_ext
  82887. -cat >>conftest.$ac_ext <<_ACEOF
  82888. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  82889. /* end confdefs.h. */
  82890. /* Override any GCC internal prototype to avoid an error.
  82891. @@ -44183,43 +22524,18 @@
  82892. return 0;
  82893. }
  82894. _ACEOF
  82895. -rm -f conftest.$ac_objext conftest$ac_exeext
  82896. -if { (ac_try="$ac_link"
  82897. -case "(($ac_try" in
  82898. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  82899. - *) ac_try_echo=$ac_try;;
  82900. -esac
  82901. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  82902. -$as_echo "$ac_try_echo") >&5
  82903. - (eval "$ac_link") 2>conftest.er1
  82904. - ac_status=$?
  82905. - grep -v '^ *+' conftest.er1 >conftest.err
  82906. - rm -f conftest.er1
  82907. - cat conftest.err >&5
  82908. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  82909. - (exit $ac_status); } && {
  82910. - test -z "$ac_c_werror_flag" ||
  82911. - test ! -s conftest.err
  82912. - } && test -s conftest$ac_exeext && {
  82913. - test "$cross_compiling" = yes ||
  82914. - $as_test_x conftest$ac_exeext
  82915. - }; then
  82916. +if ac_fn_c_try_link "$LINENO"; then :
  82917. ac_cv_lib_44bsd_inet_aton=yes
  82918. else
  82919. - $as_echo "$as_me: failed program was:" >&5
  82920. -sed 's/^/| /' conftest.$ac_ext >&5
  82921. -
  82922. - ac_cv_lib_44bsd_inet_aton=no
  82923. + ac_cv_lib_44bsd_inet_aton=no
  82924. fi
  82925. -
  82926. -rm -rf conftest.dSYM
  82927. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  82928. - conftest$ac_exeext conftest.$ac_ext
  82929. +rm -f core conftest.err conftest.$ac_objext \
  82930. + conftest$ac_exeext conftest.$ac_ext
  82931. LIBS=$ac_check_lib_save_LIBS
  82932. fi
  82933. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_44bsd_inet_aton" >&5
  82934. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_44bsd_inet_aton" >&5
  82935. $as_echo "$ac_cv_lib_44bsd_inet_aton" >&6; }
  82936. -if test $ac_cv_lib_44bsd_inet_aton = yes; then
  82937. +if test "x$ac_cv_lib_44bsd_inet_aton" = x""yes; then :
  82938. cat >>confdefs.h <<_ACEOF
  82939. #define HAVE_LIB44BSD 1
  82940. _ACEOF
  82941. @@ -44230,19 +22546,14 @@
  82942. fi
  82943. -
  82944. -{ $as_echo "$as_me:$LINENO: checking for main in -lresolv" >&5
  82945. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lresolv" >&5
  82946. $as_echo_n "checking for main in -lresolv... " >&6; }
  82947. -if test "${ac_cv_lib_resolv_main+set}" = set; then
  82948. +if test "${ac_cv_lib_resolv_main+set}" = set; then :
  82949. $as_echo_n "(cached) " >&6
  82950. else
  82951. ac_check_lib_save_LIBS=$LIBS
  82952. LIBS="-lresolv $LIBS"
  82953. -cat >conftest.$ac_ext <<_ACEOF
  82954. -/* confdefs.h. */
  82955. -_ACEOF
  82956. -cat confdefs.h >>conftest.$ac_ext
  82957. -cat >>conftest.$ac_ext <<_ACEOF
  82958. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  82959. /* end confdefs.h. */
  82960. @@ -44254,43 +22565,18 @@
  82961. return 0;
  82962. }
  82963. _ACEOF
  82964. -rm -f conftest.$ac_objext conftest$ac_exeext
  82965. -if { (ac_try="$ac_link"
  82966. -case "(($ac_try" in
  82967. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  82968. - *) ac_try_echo=$ac_try;;
  82969. -esac
  82970. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  82971. -$as_echo "$ac_try_echo") >&5
  82972. - (eval "$ac_link") 2>conftest.er1
  82973. - ac_status=$?
  82974. - grep -v '^ *+' conftest.er1 >conftest.err
  82975. - rm -f conftest.er1
  82976. - cat conftest.err >&5
  82977. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  82978. - (exit $ac_status); } && {
  82979. - test -z "$ac_c_werror_flag" ||
  82980. - test ! -s conftest.err
  82981. - } && test -s conftest$ac_exeext && {
  82982. - test "$cross_compiling" = yes ||
  82983. - $as_test_x conftest$ac_exeext
  82984. - }; then
  82985. +if ac_fn_c_try_link "$LINENO"; then :
  82986. ac_cv_lib_resolv_main=yes
  82987. else
  82988. - $as_echo "$as_me: failed program was:" >&5
  82989. -sed 's/^/| /' conftest.$ac_ext >&5
  82990. -
  82991. - ac_cv_lib_resolv_main=no
  82992. + ac_cv_lib_resolv_main=no
  82993. fi
  82994. -
  82995. -rm -rf conftest.dSYM
  82996. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  82997. - conftest$ac_exeext conftest.$ac_ext
  82998. +rm -f core conftest.err conftest.$ac_objext \
  82999. + conftest$ac_exeext conftest.$ac_ext
  83000. LIBS=$ac_check_lib_save_LIBS
  83001. fi
  83002. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_main" >&5
  83003. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_main" >&5
  83004. $as_echo "$ac_cv_lib_resolv_main" >&6; }
  83005. -if test $ac_cv_lib_resolv_main = yes; then
  83006. +if test "x$ac_cv_lib_resolv_main" = x""yes; then :
  83007. cat >>confdefs.h <<_ACEOF
  83008. #define HAVE_LIBRESOLV 1
  83009. _ACEOF
  83010. @@ -44307,19 +22593,14 @@
  83011. echo "Use MSVCRT for math functions."
  83012. ;;
  83013. *)
  83014. -
  83015. -{ $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
  83016. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
  83017. $as_echo_n "checking for main in -lm... " >&6; }
  83018. -if test "${ac_cv_lib_m_main+set}" = set; then
  83019. +if test "${ac_cv_lib_m_main+set}" = set; then :
  83020. $as_echo_n "(cached) " >&6
  83021. else
  83022. ac_check_lib_save_LIBS=$LIBS
  83023. LIBS="-lm $LIBS"
  83024. -cat >conftest.$ac_ext <<_ACEOF
  83025. -/* confdefs.h. */
  83026. -_ACEOF
  83027. -cat confdefs.h >>conftest.$ac_ext
  83028. -cat >>conftest.$ac_ext <<_ACEOF
  83029. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  83030. /* end confdefs.h. */
  83031. @@ -44331,43 +22612,18 @@
  83032. return 0;
  83033. }
  83034. _ACEOF
  83035. -rm -f conftest.$ac_objext conftest$ac_exeext
  83036. -if { (ac_try="$ac_link"
  83037. -case "(($ac_try" in
  83038. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  83039. - *) ac_try_echo=$ac_try;;
  83040. -esac
  83041. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  83042. -$as_echo "$ac_try_echo") >&5
  83043. - (eval "$ac_link") 2>conftest.er1
  83044. - ac_status=$?
  83045. - grep -v '^ *+' conftest.er1 >conftest.err
  83046. - rm -f conftest.er1
  83047. - cat conftest.err >&5
  83048. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  83049. - (exit $ac_status); } && {
  83050. - test -z "$ac_c_werror_flag" ||
  83051. - test ! -s conftest.err
  83052. - } && test -s conftest$ac_exeext && {
  83053. - test "$cross_compiling" = yes ||
  83054. - $as_test_x conftest$ac_exeext
  83055. - }; then
  83056. +if ac_fn_c_try_link "$LINENO"; then :
  83057. ac_cv_lib_m_main=yes
  83058. else
  83059. - $as_echo "$as_me: failed program was:" >&5
  83060. -sed 's/^/| /' conftest.$ac_ext >&5
  83061. -
  83062. - ac_cv_lib_m_main=no
  83063. + ac_cv_lib_m_main=no
  83064. fi
  83065. -
  83066. -rm -rf conftest.dSYM
  83067. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  83068. - conftest$ac_exeext conftest.$ac_ext
  83069. +rm -f core conftest.err conftest.$ac_objext \
  83070. + conftest$ac_exeext conftest.$ac_ext
  83071. LIBS=$ac_check_lib_save_LIBS
  83072. fi
  83073. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
  83074. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
  83075. $as_echo "$ac_cv_lib_m_main" >&6; }
  83076. -if test $ac_cv_lib_m_main = yes; then
  83077. +if test "x$ac_cv_lib_m_main" = x""yes; then :
  83078. cat >>confdefs.h <<_ACEOF
  83079. #define HAVE_LIBM 1
  83080. _ACEOF
  83081. @@ -44379,18 +22635,14 @@
  83082. ;;
  83083. esac
  83084. -{ $as_echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
  83085. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
  83086. $as_echo_n "checking for crypt in -lcrypt... " >&6; }
  83087. -if test "${ac_cv_lib_crypt_crypt+set}" = set; then
  83088. +if test "${ac_cv_lib_crypt_crypt+set}" = set; then :
  83089. $as_echo_n "(cached) " >&6
  83090. else
  83091. ac_check_lib_save_LIBS=$LIBS
  83092. LIBS="-lcrypt $LIBS"
  83093. -cat >conftest.$ac_ext <<_ACEOF
  83094. -/* confdefs.h. */
  83095. -_ACEOF
  83096. -cat confdefs.h >>conftest.$ac_ext
  83097. -cat >>conftest.$ac_ext <<_ACEOF
  83098. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  83099. /* end confdefs.h. */
  83100. /* Override any GCC internal prototype to avoid an error.
  83101. @@ -44408,59 +22660,30 @@
  83102. return 0;
  83103. }
  83104. _ACEOF
  83105. -rm -f conftest.$ac_objext conftest$ac_exeext
  83106. -if { (ac_try="$ac_link"
  83107. -case "(($ac_try" in
  83108. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  83109. - *) ac_try_echo=$ac_try;;
  83110. -esac
  83111. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  83112. -$as_echo "$ac_try_echo") >&5
  83113. - (eval "$ac_link") 2>conftest.er1
  83114. - ac_status=$?
  83115. - grep -v '^ *+' conftest.er1 >conftest.err
  83116. - rm -f conftest.er1
  83117. - cat conftest.err >&5
  83118. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  83119. - (exit $ac_status); } && {
  83120. - test -z "$ac_c_werror_flag" ||
  83121. - test ! -s conftest.err
  83122. - } && test -s conftest$ac_exeext && {
  83123. - test "$cross_compiling" = yes ||
  83124. - $as_test_x conftest$ac_exeext
  83125. - }; then
  83126. +if ac_fn_c_try_link "$LINENO"; then :
  83127. ac_cv_lib_crypt_crypt=yes
  83128. else
  83129. - $as_echo "$as_me: failed program was:" >&5
  83130. -sed 's/^/| /' conftest.$ac_ext >&5
  83131. -
  83132. - ac_cv_lib_crypt_crypt=no
  83133. + ac_cv_lib_crypt_crypt=no
  83134. fi
  83135. -
  83136. -rm -rf conftest.dSYM
  83137. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  83138. - conftest$ac_exeext conftest.$ac_ext
  83139. +rm -f core conftest.err conftest.$ac_objext \
  83140. + conftest$ac_exeext conftest.$ac_ext
  83141. LIBS=$ac_check_lib_save_LIBS
  83142. fi
  83143. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
  83144. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
  83145. $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
  83146. -if test $ac_cv_lib_crypt_crypt = yes; then
  83147. +if test "x$ac_cv_lib_crypt_crypt" = x""yes; then :
  83148. CRYPTLIB="-lcrypt"
  83149. fi
  83150. -{ $as_echo "$as_me:$LINENO: checking for MD5Init in -lmd5" >&5
  83151. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5Init in -lmd5" >&5
  83152. $as_echo_n "checking for MD5Init in -lmd5... " >&6; }
  83153. -if test "${ac_cv_lib_md5_MD5Init+set}" = set; then
  83154. +if test "${ac_cv_lib_md5_MD5Init+set}" = set; then :
  83155. $as_echo_n "(cached) " >&6
  83156. else
  83157. ac_check_lib_save_LIBS=$LIBS
  83158. LIBS="-lmd5 $LIBS"
  83159. -cat >conftest.$ac_ext <<_ACEOF
  83160. -/* confdefs.h. */
  83161. -_ACEOF
  83162. -cat confdefs.h >>conftest.$ac_ext
  83163. -cat >>conftest.$ac_ext <<_ACEOF
  83164. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  83165. /* end confdefs.h. */
  83166. /* Override any GCC internal prototype to avoid an error.
  83167. @@ -44478,63 +22701,238 @@
  83168. return 0;
  83169. }
  83170. _ACEOF
  83171. -rm -f conftest.$ac_objext conftest$ac_exeext
  83172. -if { (ac_try="$ac_link"
  83173. -case "(($ac_try" in
  83174. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  83175. - *) ac_try_echo=$ac_try;;
  83176. -esac
  83177. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  83178. -$as_echo "$ac_try_echo") >&5
  83179. - (eval "$ac_link") 2>conftest.er1
  83180. - ac_status=$?
  83181. - grep -v '^ *+' conftest.er1 >conftest.err
  83182. - rm -f conftest.er1
  83183. - cat conftest.err >&5
  83184. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  83185. - (exit $ac_status); } && {
  83186. - test -z "$ac_c_werror_flag" ||
  83187. - test ! -s conftest.err
  83188. - } && test -s conftest$ac_exeext && {
  83189. - test "$cross_compiling" = yes ||
  83190. - $as_test_x conftest$ac_exeext
  83191. - }; then
  83192. +if ac_fn_c_try_link "$LINENO"; then :
  83193. ac_cv_lib_md5_MD5Init=yes
  83194. else
  83195. - $as_echo "$as_me: failed program was:" >&5
  83196. -sed 's/^/| /' conftest.$ac_ext >&5
  83197. -
  83198. - ac_cv_lib_md5_MD5Init=no
  83199. + ac_cv_lib_md5_MD5Init=no
  83200. +fi
  83201. +rm -f core conftest.err conftest.$ac_objext \
  83202. + conftest$ac_exeext conftest.$ac_ext
  83203. +LIBS=$ac_check_lib_save_LIBS
  83204. +fi
  83205. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_md5_MD5Init" >&5
  83206. +$as_echo "$ac_cv_lib_md5_MD5Init" >&6; }
  83207. +if test "x$ac_cv_lib_md5_MD5Init" = x""yes; then :
  83208. + CRYPTLIB="$CRYPTLIB -lmd5"
  83209. +fi
  83210. +
  83211. +
  83212. +
  83213. +
  83214. +if test "$with_dl" = "yes"; then
  83215. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  83216. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  83217. +if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  83218. + $as_echo_n "(cached) " >&6
  83219. +else
  83220. + ac_check_lib_save_LIBS=$LIBS
  83221. +LIBS="-ldl $LIBS"
  83222. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  83223. +/* end confdefs.h. */
  83224. +
  83225. +/* Override any GCC internal prototype to avoid an error.
  83226. + Use char because int might match the return type of a GCC
  83227. + builtin and then its argument prototype would still apply. */
  83228. +#ifdef __cplusplus
  83229. +extern "C"
  83230. +#endif
  83231. +char dlopen ();
  83232. +int
  83233. +main ()
  83234. +{
  83235. +return dlopen ();
  83236. + ;
  83237. + return 0;
  83238. +}
  83239. +_ACEOF
  83240. +if ac_fn_c_try_link "$LINENO"; then :
  83241. + ac_cv_lib_dl_dlopen=yes
  83242. +else
  83243. + ac_cv_lib_dl_dlopen=no
  83244. +fi
  83245. +rm -f core conftest.err conftest.$ac_objext \
  83246. + conftest$ac_exeext conftest.$ac_ext
  83247. +LIBS=$ac_check_lib_save_LIBS
  83248. +fi
  83249. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  83250. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  83251. +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  83252. + cat >>confdefs.h <<_ACEOF
  83253. +#define HAVE_LIBDL 1
  83254. +_ACEOF
  83255. +
  83256. + LIBS="-ldl $LIBS"
  83257. +
  83258. +fi
  83259. +
  83260. +fi
  83261. +
  83262. +if test "$with_pthreads" = "yes"; then
  83263. + SQUID_CFLAGS="$SQUID_CFLAGS -D_REENTRANT"
  83264. + SQUID_CXXFLAGS="$SQUID_CXXFLAGS -D_REENTRANT"
  83265. + case "$host" in
  83266. + i386-unknown-freebsd*)
  83267. + if test "$GCC" = "yes" ; then
  83268. + if test -z "$PRESET_LDFLAGS"; then
  83269. + LDFLAGS="$LDFLAGS -pthread"
  83270. + fi
  83271. + fi
  83272. + ;;
  83273. + *-solaris2.*)
  83274. + if test "$GCC" = "yes" ; then
  83275. + SQUID_CFLAGS="$SQUID_CFLAGS -pthreads"
  83276. + SQUID_CXXFLAGS="$SQUID_CXXFLAGS -pthreads"
  83277. + else
  83278. + SQUID_CFLAGS="$SQUID_CFLAGS -mt"
  83279. + SQUID_CXXFLAGS="$SQUID_CXXFLAGS -mt"
  83280. + fi
  83281. + ;;
  83282. + esac
  83283. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
  83284. +$as_echo_n "checking for main in -lpthread... " >&6; }
  83285. +if test "${ac_cv_lib_pthread_main+set}" = set; then :
  83286. + $as_echo_n "(cached) " >&6
  83287. +else
  83288. + ac_check_lib_save_LIBS=$LIBS
  83289. +LIBS="-lpthread $LIBS"
  83290. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  83291. +/* end confdefs.h. */
  83292. +
  83293. +
  83294. +int
  83295. +main ()
  83296. +{
  83297. +return main ();
  83298. + ;
  83299. + return 0;
  83300. +}
  83301. +_ACEOF
  83302. +if ac_fn_c_try_link "$LINENO"; then :
  83303. + ac_cv_lib_pthread_main=yes
  83304. +else
  83305. + ac_cv_lib_pthread_main=no
  83306. +fi
  83307. +rm -f core conftest.err conftest.$ac_objext \
  83308. + conftest$ac_exeext conftest.$ac_ext
  83309. +LIBS=$ac_check_lib_save_LIBS
  83310. +fi
  83311. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
  83312. +$as_echo "$ac_cv_lib_pthread_main" >&6; }
  83313. +if test "x$ac_cv_lib_pthread_main" = x""yes; then :
  83314. + cat >>confdefs.h <<_ACEOF
  83315. +#define HAVE_LIBPTHREAD 1
  83316. +_ACEOF
  83317. +
  83318. + LIBS="-lpthread $LIBS"
  83319. +
  83320. +fi
  83321. +
  83322. +fi
  83323. +
  83324. +if test "$with_aio" = "yes"; then
  83325. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aio_read in -lrt" >&5
  83326. +$as_echo_n "checking for aio_read in -lrt... " >&6; }
  83327. +if test "${ac_cv_lib_rt_aio_read+set}" = set; then :
  83328. + $as_echo_n "(cached) " >&6
  83329. +else
  83330. + ac_check_lib_save_LIBS=$LIBS
  83331. +LIBS="-lrt $LIBS"
  83332. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  83333. +/* end confdefs.h. */
  83334. +
  83335. +/* Override any GCC internal prototype to avoid an error.
  83336. + Use char because int might match the return type of a GCC
  83337. + builtin and then its argument prototype would still apply. */
  83338. +#ifdef __cplusplus
  83339. +extern "C"
  83340. +#endif
  83341. +char aio_read ();
  83342. +int
  83343. +main ()
  83344. +{
  83345. +return aio_read ();
  83346. + ;
  83347. + return 0;
  83348. +}
  83349. +_ACEOF
  83350. +if ac_fn_c_try_link "$LINENO"; then :
  83351. + ac_cv_lib_rt_aio_read=yes
  83352. +else
  83353. + ac_cv_lib_rt_aio_read=no
  83354. +fi
  83355. +rm -f core conftest.err conftest.$ac_objext \
  83356. + conftest$ac_exeext conftest.$ac_ext
  83357. +LIBS=$ac_check_lib_save_LIBS
  83358. +fi
  83359. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_aio_read" >&5
  83360. +$as_echo "$ac_cv_lib_rt_aio_read" >&6; }
  83361. +if test "x$ac_cv_lib_rt_aio_read" = x""yes; then :
  83362. + cat >>confdefs.h <<_ACEOF
  83363. +#define HAVE_LIBRT 1
  83364. +_ACEOF
  83365. +
  83366. + LIBS="-lrt $LIBS"
  83367. +
  83368. +else
  83369. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aio_read in -laio" >&5
  83370. +$as_echo_n "checking for aio_read in -laio... " >&6; }
  83371. +if test "${ac_cv_lib_aio_aio_read+set}" = set; then :
  83372. + $as_echo_n "(cached) " >&6
  83373. +else
  83374. + ac_check_lib_save_LIBS=$LIBS
  83375. +LIBS="-laio $LIBS"
  83376. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  83377. +/* end confdefs.h. */
  83378. +
  83379. +/* Override any GCC internal prototype to avoid an error.
  83380. + Use char because int might match the return type of a GCC
  83381. + builtin and then its argument prototype would still apply. */
  83382. +#ifdef __cplusplus
  83383. +extern "C"
  83384. +#endif
  83385. +char aio_read ();
  83386. +int
  83387. +main ()
  83388. +{
  83389. +return aio_read ();
  83390. + ;
  83391. + return 0;
  83392. +}
  83393. +_ACEOF
  83394. +if ac_fn_c_try_link "$LINENO"; then :
  83395. + ac_cv_lib_aio_aio_read=yes
  83396. +else
  83397. + ac_cv_lib_aio_aio_read=no
  83398. fi
  83399. -
  83400. -rm -rf conftest.dSYM
  83401. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  83402. - conftest$ac_exeext conftest.$ac_ext
  83403. +rm -f core conftest.err conftest.$ac_objext \
  83404. + conftest$ac_exeext conftest.$ac_ext
  83405. LIBS=$ac_check_lib_save_LIBS
  83406. fi
  83407. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_md5_MD5Init" >&5
  83408. -$as_echo "$ac_cv_lib_md5_MD5Init" >&6; }
  83409. -if test $ac_cv_lib_md5_MD5Init = yes; then
  83410. - CRYPTLIB="$CRYPTLIB -lmd5"
  83411. -fi
  83412. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aio_aio_read" >&5
  83413. +$as_echo "$ac_cv_lib_aio_aio_read" >&6; }
  83414. +if test "x$ac_cv_lib_aio_aio_read" = x""yes; then :
  83415. + cat >>confdefs.h <<_ACEOF
  83416. +#define HAVE_LIBAIO 1
  83417. +_ACEOF
  83418. + LIBS="-laio $LIBS"
  83419. +fi
  83420. +fi
  83421. -if test "$with_dl" = "yes"; then
  83422. +fi
  83423. -{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  83424. -$as_echo_n "checking for dlopen in -ldl... " >&6; }
  83425. -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  83426. +case "$host" in
  83427. + *-pc-sco3.2*)
  83428. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
  83429. +$as_echo_n "checking for strftime in -lintl... " >&6; }
  83430. +if test "${ac_cv_lib_intl_strftime+set}" = set; then :
  83431. $as_echo_n "(cached) " >&6
  83432. else
  83433. ac_check_lib_save_LIBS=$LIBS
  83434. -LIBS="-ldl $LIBS"
  83435. -cat >conftest.$ac_ext <<_ACEOF
  83436. -/* confdefs.h. */
  83437. -_ACEOF
  83438. -cat confdefs.h >>conftest.$ac_ext
  83439. -cat >>conftest.$ac_ext <<_ACEOF
  83440. +LIBS="-lintl $LIBS"
  83441. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  83442. /* end confdefs.h. */
  83443. /* Override any GCC internal prototype to avoid an error.
  83444. @@ -44543,96 +22941,53 @@
  83445. #ifdef __cplusplus
  83446. extern "C"
  83447. #endif
  83448. -char dlopen ();
  83449. +char strftime ();
  83450. int
  83451. main ()
  83452. {
  83453. -return dlopen ();
  83454. +return strftime ();
  83455. ;
  83456. return 0;
  83457. }
  83458. _ACEOF
  83459. -rm -f conftest.$ac_objext conftest$ac_exeext
  83460. -if { (ac_try="$ac_link"
  83461. -case "(($ac_try" in
  83462. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  83463. - *) ac_try_echo=$ac_try;;
  83464. -esac
  83465. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  83466. -$as_echo "$ac_try_echo") >&5
  83467. - (eval "$ac_link") 2>conftest.er1
  83468. - ac_status=$?
  83469. - grep -v '^ *+' conftest.er1 >conftest.err
  83470. - rm -f conftest.er1
  83471. - cat conftest.err >&5
  83472. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  83473. - (exit $ac_status); } && {
  83474. - test -z "$ac_c_werror_flag" ||
  83475. - test ! -s conftest.err
  83476. - } && test -s conftest$ac_exeext && {
  83477. - test "$cross_compiling" = yes ||
  83478. - $as_test_x conftest$ac_exeext
  83479. - }; then
  83480. - ac_cv_lib_dl_dlopen=yes
  83481. +if ac_fn_c_try_link "$LINENO"; then :
  83482. + ac_cv_lib_intl_strftime=yes
  83483. else
  83484. - $as_echo "$as_me: failed program was:" >&5
  83485. -sed 's/^/| /' conftest.$ac_ext >&5
  83486. -
  83487. - ac_cv_lib_dl_dlopen=no
  83488. + ac_cv_lib_intl_strftime=no
  83489. fi
  83490. -
  83491. -rm -rf conftest.dSYM
  83492. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  83493. - conftest$ac_exeext conftest.$ac_ext
  83494. +rm -f core conftest.err conftest.$ac_objext \
  83495. + conftest$ac_exeext conftest.$ac_ext
  83496. LIBS=$ac_check_lib_save_LIBS
  83497. fi
  83498. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  83499. -$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  83500. -if test $ac_cv_lib_dl_dlopen = yes; then
  83501. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
  83502. +$as_echo "$ac_cv_lib_intl_strftime" >&6; }
  83503. +if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
  83504. cat >>confdefs.h <<_ACEOF
  83505. -#define HAVE_LIBDL 1
  83506. +#define HAVE_LIBINTL 1
  83507. _ACEOF
  83508. - LIBS="-ldl $LIBS"
  83509. -
  83510. -fi
  83511. + LIBS="-lintl $LIBS"
  83512. fi
  83513. -if test "$with_pthreads" = "yes"; then
  83514. - SQUID_CFLAGS="$SQUID_CFLAGS -D_REENTRANT"
  83515. - SQUID_CXXFLAGS="$SQUID_CXXFLAGS -D_REENTRANT"
  83516. - case "$host" in
  83517. - i386-unknown-freebsd*)
  83518. - if test "$GCC" = "yes" ; then
  83519. - if test -z "$PRESET_LDFLAGS"; then
  83520. - LDFLAGS="$LDFLAGS -pthread"
  83521. - fi
  83522. - fi
  83523. - ;;
  83524. - *-solaris2.*)
  83525. - if test "$GCC" = "yes" ; then
  83526. - SQUID_CFLAGS="$SQUID_CFLAGS -pthreads"
  83527. - SQUID_CXXFLAGS="$SQUID_CXXFLAGS -pthreads"
  83528. - else
  83529. - SQUID_CFLAGS="$SQUID_CFLAGS -mt"
  83530. - SQUID_CXXFLAGS="$SQUID_CXXFLAGS -mt"
  83531. - fi
  83532. - ;;
  83533. - esac
  83534. + ;;
  83535. +esac
  83536. -{ $as_echo "$as_me:$LINENO: checking for main in -lpthread" >&5
  83537. -$as_echo_n "checking for main in -lpthread... " >&6; }
  83538. -if test "${ac_cv_lib_pthread_main+set}" = set; then
  83539. +case "$host_os" in
  83540. +mingw|mingw32)
  83541. + LIB_LDAP="-lwldap32"
  83542. + LIB_LBER=""
  83543. + ;;
  83544. +*)
  83545. + LIB_LDAP="-lldap"
  83546. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -llber" >&5
  83547. +$as_echo_n "checking for main in -llber... " >&6; }
  83548. +if test "${ac_cv_lib_lber_main+set}" = set; then :
  83549. $as_echo_n "(cached) " >&6
  83550. else
  83551. ac_check_lib_save_LIBS=$LIBS
  83552. -LIBS="-lpthread $LIBS"
  83553. -cat >conftest.$ac_ext <<_ACEOF
  83554. -/* confdefs.h. */
  83555. -_ACEOF
  83556. -cat confdefs.h >>conftest.$ac_ext
  83557. -cat >>conftest.$ac_ext <<_ACEOF
  83558. +LIBS="-llber $LIBS"
  83559. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  83560. /* end confdefs.h. */
  83561. @@ -44644,141 +22999,304 @@
  83562. return 0;
  83563. }
  83564. _ACEOF
  83565. -rm -f conftest.$ac_objext conftest$ac_exeext
  83566. -if { (ac_try="$ac_link"
  83567. -case "(($ac_try" in
  83568. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  83569. - *) ac_try_echo=$ac_try;;
  83570. +if ac_fn_c_try_link "$LINENO"; then :
  83571. + ac_cv_lib_lber_main=yes
  83572. +else
  83573. + ac_cv_lib_lber_main=no
  83574. +fi
  83575. +rm -f core conftest.err conftest.$ac_objext \
  83576. + conftest$ac_exeext conftest.$ac_ext
  83577. +LIBS=$ac_check_lib_save_LIBS
  83578. +fi
  83579. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_main" >&5
  83580. +$as_echo "$ac_cv_lib_lber_main" >&6; }
  83581. +if test "x$ac_cv_lib_lber_main" = x""yes; then :
  83582. + LIB_LBER="-llber"
  83583. +fi
  83584. +
  83585. + ;;
  83586. esac
  83587. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  83588. -$as_echo "$ac_try_echo") >&5
  83589. - (eval "$ac_link") 2>conftest.er1
  83590. - ac_status=$?
  83591. - grep -v '^ *+' conftest.er1 >conftest.err
  83592. - rm -f conftest.er1
  83593. - cat conftest.err >&5
  83594. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  83595. - (exit $ac_status); } && {
  83596. - test -z "$ac_c_werror_flag" ||
  83597. - test ! -s conftest.err
  83598. - } && test -s conftest$ac_exeext && {
  83599. - test "$cross_compiling" = yes ||
  83600. - $as_test_x conftest$ac_exeext
  83601. - }; then
  83602. - ac_cv_lib_pthread_main=yes
  83603. +
  83604. +
  83605. +
  83606. +DBLIB=
  83607. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if dbopen needs -ldb" >&5
  83608. +$as_echo_n "checking if dbopen needs -ldb... " >&6; }
  83609. +if test "${ac_cv_dbopen_libdb+set}" = set; then :
  83610. + $as_echo_n "(cached) " >&6
  83611. else
  83612. - $as_echo "$as_me: failed program was:" >&5
  83613. -sed 's/^/| /' conftest.$ac_ext >&5
  83614. - ac_cv_lib_pthread_main=no
  83615. +SAVED_LIBS="$LIBS"; LIBS="$LIBS -ldb"
  83616. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  83617. +/* end confdefs.h. */
  83618. +
  83619. +#if HAVE_SYS_TYPES_H
  83620. +#include <sys/types.h>
  83621. +#endif
  83622. +#if HAVE_LIMITS_H
  83623. +#include <limits.h>
  83624. +#endif
  83625. +#if HAVE_DB_185_H
  83626. +#include <db_185.h>
  83627. +#elif HAVE_DB_H
  83628. +#include <db.h>
  83629. +#endif
  83630. +int
  83631. +main ()
  83632. +{
  83633. +dbopen((void *)0L, 0, 0, DB_HASH, (void *)0L)
  83634. + ;
  83635. + return 0;
  83636. +}
  83637. +_ACEOF
  83638. +if ac_fn_c_try_link "$LINENO"; then :
  83639. + ac_cv_dbopen_libdb="yes"
  83640. +else
  83641. + ac_cv_dbopen_libdb="no"
  83642. +fi
  83643. +rm -f core conftest.err conftest.$ac_objext \
  83644. + conftest$ac_exeext conftest.$ac_ext
  83645. +LIBS="$SAVED_LIBS"
  83646. +
  83647. +fi
  83648. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_dbopen_libdb" >&5
  83649. +$as_echo "$ac_cv_dbopen_libdb" >&6; }
  83650. +if test $ac_cv_dbopen_libdb = yes; then
  83651. + LIB_DB="-ldb"
  83652. +fi
  83653. +
  83654. +
  83655. +case "$host" in
  83656. + i386-*-solaris2.*)
  83657. + if test "$GCC" = "yes"; then
  83658. + echo "Removing -O for gcc on $host"
  83659. + CFLAGS="`echo $CFLAGS | sed -e 's/-O[0-9]*//'`"
  83660. + fi
  83661. + ;;
  83662. + *-sgi-irix*)
  83663. + echo "Removing -lsocket for IRIX..."
  83664. + LIBS=`echo $LIBS | sed -e s/-lsocket//`
  83665. + echo "Removing -lnsl for IRIX..."
  83666. + LIBS=`echo $LIBS | sed -e s/-lnsl//`
  83667. + ac_cv_lib_nsl_main=no
  83668. + echo "Removing -lbsd for IRIX..."
  83669. + LIBS=`echo $LIBS | sed -e s/-lbsd//`
  83670. + ;;
  83671. + *-ibm-aix*)
  83672. + echo "Removing -lbsd for AIX..."
  83673. + LIBS=`echo $LIBS | sed -e s/-lbsd//`
  83674. + ;;
  83675. + *m88k*)
  83676. + SQUID_CFLAGS="$SQUID_CFLAGS -D_SQUID_MOTOROLA_"
  83677. + SQUID_CXXFLAGS="$SQUID_CXXFLAGS -D_SQUID_MOTOROLA_"
  83678. +
  83679. +$as_echo "#define GETTIMEOFDAY_NO_TZP 1" >>confdefs.h
  83680. +
  83681. + ;;
  83682. + *-*-solaris2.[0-4])
  83683. + $as_echo "#define GETTIMEOFDAY_NO_TZP 1" >>confdefs.h
  83684. +
  83685. + ;;
  83686. + *-sony-newsos[56]*)
  83687. + $as_echo "#define GETTIMEOFDAY_NO_TZP 1" >>confdefs.h
  83688. +
  83689. + ;;
  83690. +esac
  83691. +
  83692. +# Remove optimization for GCC 2.95.[123]
  83693. +# gcc -O[2] on *BSD and Linux (x86) causes pointers to magically become NULL
  83694. +if test "$GCC" = "yes"; then
  83695. + GCCVER=`$CC -v 2>&1 | awk '$2 == "version" {print $3}'`
  83696. + case "$GCCVER" in
  83697. + 2.95.[123])
  83698. + echo "Removing -O for gcc on $host with GCC $GCCVER"
  83699. + CFLAGS="`echo $CFLAGS | sed -e 's/-O[0-9]*//'`"
  83700. + ;;
  83701. + esac
  83702. +fi
  83703. +
  83704. +# Recommended by Balint Nagy Endre <bne@CareNet.hu>
  83705. +case "$host" in
  83706. + *-univel-sysv4.2MP)
  83707. + if test `uname -v` = "2.03"; then
  83708. + echo "disabling mallinfo for $host"
  83709. + ac_cv_func_mallinfo=no
  83710. + fi
  83711. + ;;
  83712. +esac
  83713. +
  83714. +# Disable poll() on certain platforms. Override by setting ac_cv_func_poll
  83715. +# when running configure.
  83716. +if test -z "$ac_cv_func_poll"; then
  83717. + case "$host" in
  83718. + alpha-dec-osf3.*)
  83719. + # John Kay (jkay@nlanr.net) 19970818
  83720. + echo "disabling poll for $host..."
  83721. + ac_cv_func_poll='no'
  83722. + ;;
  83723. + *-hp-hpux*.*)
  83724. + # Duane Wessels
  83725. + echo "disabling poll for $host..."
  83726. + ac_cv_func_poll='no'
  83727. + ;;
  83728. + *-linux-*)
  83729. + # Henrik Nordstrom (hno@squid-cache.org) 19980817
  83730. + # poll is problematic on Linux. We disable it
  83731. + # by default until Linux gets it right.
  83732. + rev=`uname -r | awk -F. '{printf "%03d%03d",$1,$2}'`
  83733. + if test $rev -lt 002002; then
  83734. + echo "disabling poll for $host < 2.2..."
  83735. + ac_cv_func_poll='no'
  83736. + fi
  83737. + ;;
  83738. + powerpc-ibm-aix4.1.*)
  83739. + # Mike Laster (mlaster@metavillage.com) 19981021
  83740. + echo "disabling poll for $host..."
  83741. + ac_cv_func_poll='no'
  83742. + ;;
  83743. + *-pc-sco3.2*)
  83744. + # Robert Side <rside@aiinc.bc.ca>
  83745. + # Mon, 18 Jan 1999 17:48:00 GMT
  83746. + echo "disabling poll for $host..."
  83747. + ac_cv_func_poll='no'
  83748. + ;;
  83749. + esac
  83750. fi
  83751. -rm -rf conftest.dSYM
  83752. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  83753. - conftest$ac_exeext conftest.$ac_ext
  83754. -LIBS=$ac_check_lib_save_LIBS
  83755. -fi
  83756. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
  83757. -$as_echo "$ac_cv_lib_pthread_main" >&6; }
  83758. -if test $ac_cv_lib_pthread_main = yes; then
  83759. +case "$host_os" in
  83760. +mingw|mingw32)
  83761. + ac_cv_func_statfs='yes'
  83762. + ;;
  83763. +esac
  83764. +
  83765. +for ac_func in \
  83766. + backtrace_symbols_fd \
  83767. + bcopy \
  83768. + bswap_16 \
  83769. + bswap_32 \
  83770. + bswap16 \
  83771. + bswap32 \
  83772. + fchmod \
  83773. + getdtablesize \
  83774. + getpagesize \
  83775. + getpass \
  83776. + getrlimit \
  83777. + getrusage \
  83778. + getspnam \
  83779. + gettimeofday \
  83780. + glob \
  83781. + htobe16 \
  83782. + htole16 \
  83783. + kqueue\
  83784. + lrand48 \
  83785. + mallinfo \
  83786. + mallocblksize \
  83787. + mallopt \
  83788. + memcpy \
  83789. + memmove \
  83790. + memset \
  83791. + mkstemp \
  83792. + mktime \
  83793. + mstats \
  83794. + poll \
  83795. + prctl \
  83796. + pthread_attr_setschedparam \
  83797. + pthread_attr_setscope \
  83798. + pthread_setschedparam \
  83799. + pthread_sigmask \
  83800. + putenv \
  83801. + random \
  83802. + regcomp \
  83803. + regexec \
  83804. + regfree \
  83805. + res_init \
  83806. + __res_init \
  83807. + rint \
  83808. + sbrk \
  83809. + select \
  83810. + seteuid \
  83811. + setgroups \
  83812. + setpgrp \
  83813. + setrlimit \
  83814. + setsid \
  83815. + sigaction \
  83816. + snprintf \
  83817. + socketpair \
  83818. + srand48 \
  83819. + srandom \
  83820. + statfs \
  83821. + sysconf \
  83822. + syslog \
  83823. + timegm \
  83824. + vsnprintf \
  83825. +
  83826. +do :
  83827. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  83828. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  83829. +eval as_val=\$$as_ac_var
  83830. + if test "x$as_val" = x""yes; then :
  83831. cat >>confdefs.h <<_ACEOF
  83832. -#define HAVE_LIBPTHREAD 1
  83833. +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  83834. _ACEOF
  83835. - LIBS="-lpthread $LIBS"
  83836. -
  83837. -fi
  83838. -
  83839. fi
  83840. +done
  83841. -if test "$with_aio" = "yes"; then
  83842. +for ac_func in \
  83843. + drand48 \
  83844. + initgroups \
  83845. + strerror \
  83846. + strsep \
  83847. + strtoll \
  83848. + tempnam \
  83849. -{ $as_echo "$as_me:$LINENO: checking for aio_read in -lrt" >&5
  83850. -$as_echo_n "checking for aio_read in -lrt... " >&6; }
  83851. -if test "${ac_cv_lib_rt_aio_read+set}" = set; then
  83852. - $as_echo_n "(cached) " >&6
  83853. -else
  83854. - ac_check_lib_save_LIBS=$LIBS
  83855. -LIBS="-lrt $LIBS"
  83856. -cat >conftest.$ac_ext <<_ACEOF
  83857. -/* confdefs.h. */
  83858. +do :
  83859. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  83860. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  83861. +eval as_val=\$$as_ac_var
  83862. + if test "x$as_val" = x""yes; then :
  83863. + cat >>confdefs.h <<_ACEOF
  83864. +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  83865. _ACEOF
  83866. -cat confdefs.h >>conftest.$ac_ext
  83867. -cat >>conftest.$ac_ext <<_ACEOF
  83868. -/* end confdefs.h. */
  83869. -/* Override any GCC internal prototype to avoid an error.
  83870. - Use char because int might match the return type of a GCC
  83871. - builtin and then its argument prototype would still apply. */
  83872. -#ifdef __cplusplus
  83873. -extern "C"
  83874. -#endif
  83875. -char aio_read ();
  83876. -int
  83877. -main ()
  83878. -{
  83879. -return aio_read ();
  83880. - ;
  83881. - return 0;
  83882. -}
  83883. -_ACEOF
  83884. -rm -f conftest.$ac_objext conftest$ac_exeext
  83885. -if { (ac_try="$ac_link"
  83886. -case "(($ac_try" in
  83887. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  83888. - *) ac_try_echo=$ac_try;;
  83889. -esac
  83890. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  83891. -$as_echo "$ac_try_echo") >&5
  83892. - (eval "$ac_link") 2>conftest.er1
  83893. - ac_status=$?
  83894. - grep -v '^ *+' conftest.er1 >conftest.err
  83895. - rm -f conftest.er1
  83896. - cat conftest.err >&5
  83897. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  83898. - (exit $ac_status); } && {
  83899. - test -z "$ac_c_werror_flag" ||
  83900. - test ! -s conftest.err
  83901. - } && test -s conftest$ac_exeext && {
  83902. - test "$cross_compiling" = yes ||
  83903. - $as_test_x conftest$ac_exeext
  83904. - }; then
  83905. - ac_cv_lib_rt_aio_read=yes
  83906. else
  83907. - $as_echo "$as_me: failed program was:" >&5
  83908. -sed 's/^/| /' conftest.$ac_ext >&5
  83909. + case " $LIBOBJS " in
  83910. + *" $ac_func.$ac_objext "* ) ;;
  83911. + *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
  83912. + ;;
  83913. +esac
  83914. - ac_cv_lib_rt_aio_read=no
  83915. fi
  83916. +done
  83917. -rm -rf conftest.dSYM
  83918. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  83919. - conftest$ac_exeext conftest.$ac_ext
  83920. -LIBS=$ac_check_lib_save_LIBS
  83921. -fi
  83922. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_aio_read" >&5
  83923. -$as_echo "$ac_cv_lib_rt_aio_read" >&6; }
  83924. -if test $ac_cv_lib_rt_aio_read = yes; then
  83925. +
  83926. +
  83927. +# check for crypt, may require -lcrypt
  83928. +SAVED_LIBS="$LIBS"
  83929. +LIBS="$LIBS $CRYPTLIB"
  83930. +for ac_func in crypt
  83931. +do :
  83932. + ac_fn_c_check_func "$LINENO" "crypt" "ac_cv_func_crypt"
  83933. +if test "x$ac_cv_func_crypt" = x""yes; then :
  83934. cat >>confdefs.h <<_ACEOF
  83935. -#define HAVE_LIBRT 1
  83936. +#define HAVE_CRYPT 1
  83937. _ACEOF
  83938. - LIBS="-lrt $LIBS"
  83939. +fi
  83940. +done
  83941. -else
  83942. +LIBS="$SAVED_LIBS"
  83943. -{ $as_echo "$as_me:$LINENO: checking for aio_read in -laio" >&5
  83944. -$as_echo_n "checking for aio_read in -laio... " >&6; }
  83945. -if test "${ac_cv_lib_aio_aio_read+set}" = set; then
  83946. +# Check for libepoll
  83947. +EPOLL_LIB=
  83948. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll_ctl in -lepoll" >&5
  83949. +$as_echo_n "checking for epoll_ctl in -lepoll... " >&6; }
  83950. +if test "${ac_cv_lib_epoll_epoll_ctl+set}" = set; then :
  83951. $as_echo_n "(cached) " >&6
  83952. else
  83953. ac_check_lib_save_LIBS=$LIBS
  83954. -LIBS="-laio $LIBS"
  83955. -cat >conftest.$ac_ext <<_ACEOF
  83956. -/* confdefs.h. */
  83957. -_ACEOF
  83958. -cat confdefs.h >>conftest.$ac_ext
  83959. -cat >>conftest.$ac_ext <<_ACEOF
  83960. +LIBS="-lepoll $LIBS"
  83961. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  83962. /* end confdefs.h. */
  83963. /* Override any GCC internal prototype to avoid an error.
  83964. @@ -44787,4573 +23305,4048 @@
  83965. #ifdef __cplusplus
  83966. extern "C"
  83967. #endif
  83968. -char aio_read ();
  83969. +char epoll_ctl ();
  83970. int
  83971. main ()
  83972. {
  83973. -return aio_read ();
  83974. +return epoll_ctl ();
  83975. ;
  83976. return 0;
  83977. }
  83978. _ACEOF
  83979. -rm -f conftest.$ac_objext conftest$ac_exeext
  83980. -if { (ac_try="$ac_link"
  83981. -case "(($ac_try" in
  83982. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  83983. - *) ac_try_echo=$ac_try;;
  83984. -esac
  83985. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  83986. -$as_echo "$ac_try_echo") >&5
  83987. - (eval "$ac_link") 2>conftest.er1
  83988. - ac_status=$?
  83989. - grep -v '^ *+' conftest.er1 >conftest.err
  83990. - rm -f conftest.er1
  83991. - cat conftest.err >&5
  83992. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  83993. - (exit $ac_status); } && {
  83994. - test -z "$ac_c_werror_flag" ||
  83995. - test ! -s conftest.err
  83996. - } && test -s conftest$ac_exeext && {
  83997. - test "$cross_compiling" = yes ||
  83998. - $as_test_x conftest$ac_exeext
  83999. - }; then
  84000. - ac_cv_lib_aio_aio_read=yes
  84001. +if ac_fn_c_try_link "$LINENO"; then :
  84002. + ac_cv_lib_epoll_epoll_ctl=yes
  84003. else
  84004. - $as_echo "$as_me: failed program was:" >&5
  84005. -sed 's/^/| /' conftest.$ac_ext >&5
  84006. -
  84007. - ac_cv_lib_aio_aio_read=no
  84008. + ac_cv_lib_epoll_epoll_ctl=no
  84009. fi
  84010. -
  84011. -rm -rf conftest.dSYM
  84012. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  84013. - conftest$ac_exeext conftest.$ac_ext
  84014. +rm -f core conftest.err conftest.$ac_objext \
  84015. + conftest$ac_exeext conftest.$ac_ext
  84016. LIBS=$ac_check_lib_save_LIBS
  84017. fi
  84018. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_aio_aio_read" >&5
  84019. -$as_echo "$ac_cv_lib_aio_aio_read" >&6; }
  84020. -if test $ac_cv_lib_aio_aio_read = yes; then
  84021. - cat >>confdefs.h <<_ACEOF
  84022. -#define HAVE_LIBAIO 1
  84023. -_ACEOF
  84024. -
  84025. - LIBS="-laio $LIBS"
  84026. -
  84027. -fi
  84028. -
  84029. -fi
  84030. -
  84031. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_epoll_epoll_ctl" >&5
  84032. +$as_echo "$ac_cv_lib_epoll_epoll_ctl" >&6; }
  84033. +if test "x$ac_cv_lib_epoll_epoll_ctl" = x""yes; then :
  84034. + EPOLL_LIBS="-lepoll"
  84035. fi
  84036. -case "$host" in
  84037. - *-pc-sco3.2*)
  84038. -
  84039. -{ $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
  84040. -$as_echo_n "checking for strftime in -lintl... " >&6; }
  84041. -if test "${ac_cv_lib_intl_strftime+set}" = set; then
  84042. - $as_echo_n "(cached) " >&6
  84043. -else
  84044. - ac_check_lib_save_LIBS=$LIBS
  84045. -LIBS="-lintl $LIBS"
  84046. -cat >conftest.$ac_ext <<_ACEOF
  84047. -/* confdefs.h. */
  84048. -_ACEOF
  84049. -cat confdefs.h >>conftest.$ac_ext
  84050. -cat >>conftest.$ac_ext <<_ACEOF
  84051. -/* end confdefs.h. */
  84052. -
  84053. -/* Override any GCC internal prototype to avoid an error.
  84054. - Use char because int might match the return type of a GCC
  84055. - builtin and then its argument prototype would still apply. */
  84056. -#ifdef __cplusplus
  84057. -extern "C"
  84058. -#endif
  84059. -char strftime ();
  84060. -int
  84061. -main ()
  84062. -{
  84063. -return strftime ();
  84064. - ;
  84065. - return 0;
  84066. -}
  84067. -_ACEOF
  84068. -rm -f conftest.$ac_objext conftest$ac_exeext
  84069. -if { (ac_try="$ac_link"
  84070. -case "(($ac_try" in
  84071. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  84072. - *) ac_try_echo=$ac_try;;
  84073. -esac
  84074. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  84075. -$as_echo "$ac_try_echo") >&5
  84076. - (eval "$ac_link") 2>conftest.er1
  84077. - ac_status=$?
  84078. - grep -v '^ *+' conftest.er1 >conftest.err
  84079. - rm -f conftest.er1
  84080. - cat conftest.err >&5
  84081. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  84082. - (exit $ac_status); } && {
  84083. - test -z "$ac_c_werror_flag" ||
  84084. - test ! -s conftest.err
  84085. - } && test -s conftest$ac_exeext && {
  84086. - test "$cross_compiling" = yes ||
  84087. - $as_test_x conftest$ac_exeext
  84088. - }; then
  84089. - ac_cv_lib_intl_strftime=yes
  84090. -else
  84091. - $as_echo "$as_me: failed program was:" >&5
  84092. -sed 's/^/| /' conftest.$ac_ext >&5
  84093. - ac_cv_lib_intl_strftime=no
  84094. -fi
  84095. -rm -rf conftest.dSYM
  84096. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  84097. - conftest$ac_exeext conftest.$ac_ext
  84098. -LIBS=$ac_check_lib_save_LIBS
  84099. -fi
  84100. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
  84101. -$as_echo "$ac_cv_lib_intl_strftime" >&6; }
  84102. -if test $ac_cv_lib_intl_strftime = yes; then
  84103. +# Check for epoll_ctl, may need -lepoll
  84104. +SAVED_LIBS="$LIBS"
  84105. +LIBS="$LIBS $LIB_EPOLL"
  84106. +for ac_func in epoll_ctl
  84107. +do :
  84108. + ac_fn_c_check_func "$LINENO" "epoll_ctl" "ac_cv_func_epoll_ctl"
  84109. +if test "x$ac_cv_func_epoll_ctl" = x""yes; then :
  84110. cat >>confdefs.h <<_ACEOF
  84111. -#define HAVE_LIBINTL 1
  84112. +#define HAVE_EPOLL_CTL 1
  84113. _ACEOF
  84114. - LIBS="-lintl $LIBS"
  84115. -
  84116. fi
  84117. +done
  84118. - ;;
  84119. -esac
  84120. +LIBS="$SAVED_LIBS"
  84121. -case "$host_os" in
  84122. -mingw|mingw32)
  84123. - LIB_LDAP="-lwldap32"
  84124. - LIB_LBER=""
  84125. - ;;
  84126. -*)
  84127. - LIB_LDAP="-lldap"
  84128. - { $as_echo "$as_me:$LINENO: checking for main in -llber" >&5
  84129. -$as_echo_n "checking for main in -llber... " >&6; }
  84130. -if test "${ac_cv_lib_lber_main+set}" = set; then
  84131. +if test $ac_cv_func_epoll_ctl = yes; then
  84132. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if epoll works" >&5
  84133. +$as_echo_n "checking if epoll works... " >&6; }
  84134. +if test "${ac_cv_epoll_works+set}" = set; then :
  84135. $as_echo_n "(cached) " >&6
  84136. else
  84137. - ac_check_lib_save_LIBS=$LIBS
  84138. -LIBS="-llber $LIBS"
  84139. -cat >conftest.$ac_ext <<_ACEOF
  84140. -/* confdefs.h. */
  84141. -_ACEOF
  84142. -cat confdefs.h >>conftest.$ac_ext
  84143. -cat >>conftest.$ac_ext <<_ACEOF
  84144. + if test "$cross_compiling" = yes; then :
  84145. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  84146. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  84147. +as_fn_error "cannot run test program while cross compiling
  84148. +See \`config.log' for more details." "$LINENO" 5; }
  84149. +else
  84150. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  84151. /* end confdefs.h. */
  84152. -
  84153. -int
  84154. -main ()
  84155. +#include <sys/epoll.h>
  84156. +#include <stdlib.h>
  84157. +#include <stdio.h>
  84158. +int main(int argc, char **argv)
  84159. {
  84160. -return main ();
  84161. - ;
  84162. - return 0;
  84163. + int fd = epoll_create(256);
  84164. + if (fd < 0) {
  84165. + perror("epoll_create:");
  84166. + exit(1);
  84167. + }
  84168. + exit(0);
  84169. }
  84170. +
  84171. _ACEOF
  84172. -rm -f conftest.$ac_objext conftest$ac_exeext
  84173. -if { (ac_try="$ac_link"
  84174. -case "(($ac_try" in
  84175. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  84176. - *) ac_try_echo=$ac_try;;
  84177. -esac
  84178. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  84179. -$as_echo "$ac_try_echo") >&5
  84180. - (eval "$ac_link") 2>conftest.er1
  84181. - ac_status=$?
  84182. - grep -v '^ *+' conftest.er1 >conftest.err
  84183. - rm -f conftest.er1
  84184. - cat conftest.err >&5
  84185. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  84186. - (exit $ac_status); } && {
  84187. - test -z "$ac_c_werror_flag" ||
  84188. - test ! -s conftest.err
  84189. - } && test -s conftest$ac_exeext && {
  84190. - test "$cross_compiling" = yes ||
  84191. - $as_test_x conftest$ac_exeext
  84192. - }; then
  84193. - ac_cv_lib_lber_main=yes
  84194. +if ac_fn_c_try_run "$LINENO"; then :
  84195. + ac_cv_epoll_works=yes
  84196. else
  84197. - $as_echo "$as_me: failed program was:" >&5
  84198. -sed 's/^/| /' conftest.$ac_ext >&5
  84199. -
  84200. - ac_cv_lib_lber_main=no
  84201. + ac_cv_epoll_works=no
  84202. +fi
  84203. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  84204. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  84205. fi
  84206. -rm -rf conftest.dSYM
  84207. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  84208. - conftest$ac_exeext conftest.$ac_ext
  84209. -LIBS=$ac_check_lib_save_LIBS
  84210. fi
  84211. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lber_main" >&5
  84212. -$as_echo "$ac_cv_lib_lber_main" >&6; }
  84213. -if test $ac_cv_lib_lber_main = yes; then
  84214. - LIB_LBER="-llber"
  84215. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_epoll_works" >&5
  84216. +$as_echo "$ac_cv_epoll_works" >&6; }
  84217. fi
  84218. - ;;
  84219. -esac
  84220. +if test -n "$SELECT_TYPE"; then
  84221. + : # Already decided above. Nothing to do here
  84222. +elif test -z "$disable_epoll" && test "$ac_cv_epoll_works" = "yes" ; then
  84223. + SELECT_TYPE="epoll"
  84224. +elif test -z "$disable_kqueue" && test "$ac_cv_func_kqueue" = "yes" ; then
  84225. + SELECT_TYPE="kqueue"
  84226. +elif test -z "$disable_poll" && test "$ac_cv_func_poll" = "yes" ; then
  84227. + SELECT_TYPE="poll"
  84228. +elif test -z "$disable_select" && test "$ac_cv_func_select" = "yes" ; then
  84229. + case "$host_os" in
  84230. + mingw|mingw32)
  84231. + SELECT_TYPE="select_win32"
  84232. + ;;
  84233. + *)
  84234. + SELECT_TYPE="select"
  84235. + ;;
  84236. + esac
  84237. +else
  84238. + echo "Eep! Can't find poll, kqueue, epoll, or select!"
  84239. + echo "I'll try select and hope for the best."
  84240. + SELECT_TYPE="select"
  84241. + $as_echo "#define USE_SELECT 1" >>confdefs.h
  84242. +
  84243. +fi
  84244. +
  84245. +echo "Using ${SELECT_TYPE} for the IO loop."
  84246. -DBLIB=
  84247. -{ $as_echo "$as_me:$LINENO: checking if dbopen needs -ldb" >&5
  84248. -$as_echo_n "checking if dbopen needs -ldb... " >&6; }
  84249. -if test "${ac_cv_dbopen_libdb+set}" = set; then
  84250. - $as_echo_n "(cached) " >&6
  84251. + if test $SELECT_TYPE = poll; then
  84252. + USE_POLL_TRUE=
  84253. + USE_POLL_FALSE='#'
  84254. else
  84255. + USE_POLL_TRUE='#'
  84256. + USE_POLL_FALSE=
  84257. +fi
  84258. -SAVED_LIBS="$LIBS"; LIBS="$LIBS -ldb"
  84259. - cat >conftest.$ac_ext <<_ACEOF
  84260. -/* confdefs.h. */
  84261. -_ACEOF
  84262. -cat confdefs.h >>conftest.$ac_ext
  84263. -cat >>conftest.$ac_ext <<_ACEOF
  84264. -/* end confdefs.h. */
  84265. + if test $SELECT_TYPE = epoll; then
  84266. + USE_EPOLL_TRUE=
  84267. + USE_EPOLL_FALSE='#'
  84268. +else
  84269. + USE_EPOLL_TRUE='#'
  84270. + USE_EPOLL_FALSE=
  84271. +fi
  84272. -#if HAVE_SYS_TYPES_H
  84273. -#include <sys/types.h>
  84274. -#endif
  84275. -#if HAVE_LIMITS_H
  84276. -#include <limits.h>
  84277. -#endif
  84278. -#if HAVE_DB_185_H
  84279. -#include <db_185.h>
  84280. -#elif HAVE_DB_H
  84281. -#include <db.h>
  84282. -#endif
  84283. -int
  84284. -main ()
  84285. -{
  84286. -dbopen((void *)0L, 0, 0, DB_HASH, (void *)0L)
  84287. - ;
  84288. - return 0;
  84289. -}
  84290. -_ACEOF
  84291. -rm -f conftest.$ac_objext conftest$ac_exeext
  84292. -if { (ac_try="$ac_link"
  84293. -case "(($ac_try" in
  84294. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  84295. - *) ac_try_echo=$ac_try;;
  84296. -esac
  84297. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  84298. -$as_echo "$ac_try_echo") >&5
  84299. - (eval "$ac_link") 2>conftest.er1
  84300. - ac_status=$?
  84301. - grep -v '^ *+' conftest.er1 >conftest.err
  84302. - rm -f conftest.er1
  84303. - cat conftest.err >&5
  84304. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  84305. - (exit $ac_status); } && {
  84306. - test -z "$ac_c_werror_flag" ||
  84307. - test ! -s conftest.err
  84308. - } && test -s conftest$ac_exeext && {
  84309. - test "$cross_compiling" = yes ||
  84310. - $as_test_x conftest$ac_exeext
  84311. - }; then
  84312. - ac_cv_dbopen_libdb="yes"
  84313. + if test $SELECT_TYPE = select; then
  84314. + USE_SELECT_TRUE=
  84315. + USE_SELECT_FALSE='#'
  84316. else
  84317. - $as_echo "$as_me: failed program was:" >&5
  84318. -sed 's/^/| /' conftest.$ac_ext >&5
  84319. + USE_SELECT_TRUE='#'
  84320. + USE_SELECT_FALSE=
  84321. +fi
  84322. - ac_cv_dbopen_libdb="no"
  84323. + if test $SELECT_TYPE = select_simple; then
  84324. + USE_SELECT_SIMPLE_TRUE=
  84325. + USE_SELECT_SIMPLE_FALSE='#'
  84326. +else
  84327. + USE_SELECT_SIMPLE_TRUE='#'
  84328. + USE_SELECT_SIMPLE_FALSE=
  84329. fi
  84330. -rm -rf conftest.dSYM
  84331. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  84332. - conftest$ac_exeext conftest.$ac_ext
  84333. -LIBS="$SAVED_LIBS"
  84334. + if test $SELECT_TYPE = select_win32; then
  84335. + USE_SELECT_WIN32_TRUE=
  84336. + USE_SELECT_WIN32_FALSE='#'
  84337. +else
  84338. + USE_SELECT_WIN32_TRUE='#'
  84339. + USE_SELECT_WIN32_FALSE=
  84340. +fi
  84341. + if test $SELECT_TYPE = kqueue; then
  84342. + USE_KQUEUE_TRUE=
  84343. + USE_KQUEUE_FALSE='#'
  84344. +else
  84345. + USE_KQUEUE_TRUE='#'
  84346. + USE_KQUEUE_FALSE=
  84347. fi
  84348. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_dbopen_libdb" >&5
  84349. -$as_echo "$ac_cv_dbopen_libdb" >&6; }
  84350. -if test $ac_cv_dbopen_libdb = yes; then
  84351. - LIB_DB="-ldb"
  84352. +
  84353. + if test $SELECT_TYPE = devpoll; then
  84354. + USE_DEVPOLL_TRUE=
  84355. + USE_DEVPOLL_FALSE='#'
  84356. +else
  84357. + USE_DEVPOLL_TRUE='#'
  84358. + USE_DEVPOLL_FALSE=
  84359. fi
  84360. -case "$host" in
  84361. - i386-*-solaris2.*)
  84362. - if test "$GCC" = "yes"; then
  84363. - echo "Removing -O for gcc on $host"
  84364. - CFLAGS="`echo $CFLAGS | sed -e 's/-O[0-9]*//'`"
  84365. - fi
  84366. - ;;
  84367. - *-sgi-irix*)
  84368. - echo "Removing -lsocket for IRIX..."
  84369. - LIBS=`echo $LIBS | sed -e s/-lsocket//`
  84370. - echo "Removing -lnsl for IRIX..."
  84371. - LIBS=`echo $LIBS | sed -e s/-lnsl//`
  84372. - ac_cv_lib_nsl_main=no
  84373. - echo "Removing -lbsd for IRIX..."
  84374. - LIBS=`echo $LIBS | sed -e s/-lbsd//`
  84375. - ;;
  84376. - *-ibm-aix*)
  84377. - echo "Removing -lbsd for AIX..."
  84378. - LIBS=`echo $LIBS | sed -e s/-lbsd//`
  84379. - ;;
  84380. - *m88k*)
  84381. - SQUID_CFLAGS="$SQUID_CFLAGS -D_SQUID_MOTOROLA_"
  84382. - SQUID_CXXFLAGS="$SQUID_CXXFLAGS -D_SQUID_MOTOROLA_"
  84383. +case $SELECT_TYPE in
  84384. +epoll)
  84385. -cat >>confdefs.h <<\_ACEOF
  84386. -#define GETTIMEOFDAY_NO_TZP 1
  84387. -_ACEOF
  84388. +$as_echo "#define USE_EPOLL 1" >>confdefs.h
  84389. - ;;
  84390. - *-*-solaris2.[0-4])
  84391. - cat >>confdefs.h <<\_ACEOF
  84392. -#define GETTIMEOFDAY_NO_TZP 1
  84393. -_ACEOF
  84394. + ;;
  84395. +poll)
  84396. - ;;
  84397. - *-sony-newsos[56]*)
  84398. - cat >>confdefs.h <<\_ACEOF
  84399. -#define GETTIMEOFDAY_NO_TZP 1
  84400. -_ACEOF
  84401. +$as_echo "#define USE_POLL 1" >>confdefs.h
  84402. - ;;
  84403. -esac
  84404. + ;;
  84405. +kqueue)
  84406. -# Remove optimization for GCC 2.95.[123]
  84407. -# gcc -O[2] on *BSD and Linux (x86) causes pointers to magically become NULL
  84408. -if test "$GCC" = "yes"; then
  84409. - GCCVER=`$CC -v 2>&1 | awk '$2 == "version" {print $3}'`
  84410. - case "$GCCVER" in
  84411. - 2.95.[123])
  84412. - echo "Removing -O for gcc on $host with GCC $GCCVER"
  84413. - CFLAGS="`echo $CFLAGS | sed -e 's/-O[0-9]*//'`"
  84414. - ;;
  84415. - esac
  84416. -fi
  84417. +$as_echo "#define USE_KQUEUE 1" >>confdefs.h
  84418. -# Recommended by Balint Nagy Endre <bne@CareNet.hu>
  84419. -case "$host" in
  84420. - *-univel-sysv4.2MP)
  84421. - if test `uname -v` = "2.03"; then
  84422. - echo "disabling mallinfo for $host"
  84423. - ac_cv_func_mallinfo=no
  84424. - fi
  84425. - ;;
  84426. + ;;
  84427. +select_win32)
  84428. +
  84429. +$as_echo "#define USE_SELECT_WIN32 1" >>confdefs.h
  84430. +
  84431. + ;;
  84432. +select)
  84433. +
  84434. +$as_echo "#define USE_SELECT 1" >>confdefs.h
  84435. +
  84436. + ;;
  84437. esac
  84438. -# Disable poll() on certain platforms. Override by setting ac_cv_func_poll
  84439. -# when running configure.
  84440. -if test -z "$ac_cv_func_poll"; then
  84441. - case "$host" in
  84442. - alpha-dec-osf3.*)
  84443. - # John Kay (jkay@nlanr.net) 19970818
  84444. - echo "disabling poll for $host..."
  84445. - ac_cv_func_poll='no'
  84446. - ;;
  84447. - *-hp-hpux*.*)
  84448. - # Duane Wessels
  84449. - echo "disabling poll for $host..."
  84450. - ac_cv_func_poll='no'
  84451. - ;;
  84452. - *-linux-*)
  84453. - # Henrik Nordstrom (hno@squid-cache.org) 19980817
  84454. - # poll is problematic on Linux. We disable it
  84455. - # by default until Linux gets it right.
  84456. - rev=`uname -r | awk -F. '{printf "%03d%03d",$1,$2}'`
  84457. - if test $rev -lt 002002; then
  84458. - echo "disabling poll for $host < 2.2..."
  84459. - ac_cv_func_poll='no'
  84460. - fi
  84461. - ;;
  84462. - powerpc-ibm-aix4.1.*)
  84463. - # Mike Laster (mlaster@metavillage.com) 19981021
  84464. - echo "disabling poll for $host..."
  84465. - ac_cv_func_poll='no'
  84466. - ;;
  84467. - *-pc-sco3.2*)
  84468. - # Robert Side <rside@aiinc.bc.ca>
  84469. - # Mon, 18 Jan 1999 17:48:00 GMT
  84470. - echo "disabling poll for $host..."
  84471. - ac_cv_func_poll='no'
  84472. - ;;
  84473. - esac
  84474. +
  84475. +
  84476. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if setresuid is implemented" >&5
  84477. +$as_echo_n "checking if setresuid is implemented... " >&6; }
  84478. +if test "${ac_cv_func_setresuid+set}" = set; then :
  84479. + $as_echo_n "(cached) " >&6
  84480. +else
  84481. + if test "$cross_compiling" = yes; then :
  84482. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  84483. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  84484. +as_fn_error "cannot run test program while cross compiling
  84485. +See \`config.log' for more details." "$LINENO" 5; }
  84486. +else
  84487. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  84488. +/* end confdefs.h. */
  84489. +
  84490. +#include <stdlib.h>
  84491. + int main() {
  84492. + if(setresuid(-1,-1,-1)) {
  84493. + perror("setresuid:");
  84494. + exit(1);
  84495. + }
  84496. + exit(0);
  84497. + }
  84498. +
  84499. +_ACEOF
  84500. +if ac_fn_c_try_run "$LINENO"; then :
  84501. + ac_cv_func_setresuid="yes"
  84502. +else
  84503. + ac_cv_func_setresuid="no"
  84504. +fi
  84505. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  84506. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  84507. fi
  84508. -case "$host_os" in
  84509. -mingw|mingw32)
  84510. - ac_cv_func_statfs='yes'
  84511. - ;;
  84512. -esac
  84513. +fi
  84514. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_setresuid" >&5
  84515. +$as_echo "$ac_cv_func_setresuid" >&6; }
  84516. +if test "$ac_cv_func_setresuid" = "yes" ; then
  84517. +
  84518. +$as_echo "#define HAVE_SETRESUID 1" >>confdefs.h
  84519. +
  84520. +fi
  84521. +
  84522. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnstr is well implemented" >&5
  84523. +$as_echo_n "checking if strnstr is well implemented... " >&6; }
  84524. +if test "${ac_cv_func_strnstr+set}" = set; then :
  84525. + $as_echo_n "(cached) " >&6
  84526. +else
  84527. + if test "$cross_compiling" = yes; then :
  84528. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  84529. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  84530. +as_fn_error "cannot run test program while cross compiling
  84531. +See \`config.log' for more details." "$LINENO" 5; }
  84532. +else
  84533. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  84534. +/* end confdefs.h. */
  84535. +
  84536. +#include <stdlib.h>
  84537. +#include <stdio.h>
  84538. +#include <string.h>
  84539. + // we expect this to succeed, or crash on over-run.
  84540. + // if it passes otherwise we may need a better check.
  84541. +int main(int argc, char **argv)
  84542. +{
  84543. + int size = 20;
  84544. + char *str = malloc(size);
  84545. + memset(str, 'x', size);
  84546. + strnstr(str, "fubar", size);
  84547. + return 0;
  84548. +}
  84549. +
  84550. +_ACEOF
  84551. +if ac_fn_c_try_run "$LINENO"; then :
  84552. + ac_cv_func_strnstr="yes"
  84553. +else
  84554. + ac_cv_func_strnstr="no"
  84555. +fi
  84556. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  84557. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  84558. +fi
  84559. +
  84560. +
  84561. +fi
  84562. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnstr" >&5
  84563. +$as_echo "$ac_cv_func_strnstr" >&6; }
  84564. +if test "$ac_cv_func_strnstr" = "yes" ; then
  84565. +
  84566. +$as_echo "#define HAVE_STRNSTR 1" >>confdefs.h
  84567. +else
  84568. +$as_echo "#define HAVE_STRNSTR 0" >>confdefs.h
  84569. +fi
  84570. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_copy is implemented" >&5
  84571. +$as_echo_n "checking if va_copy is implemented... " >&6; }
  84572. +if test "${ac_cv_func_va_copy+set}" = set; then :
  84573. + $as_echo_n "(cached) " >&6
  84574. +else
  84575. + if test "$cross_compiling" = yes; then :
  84576. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  84577. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  84578. +as_fn_error "cannot run test program while cross compiling
  84579. +See \`config.log' for more details." "$LINENO" 5; }
  84580. +else
  84581. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  84582. +/* end confdefs.h. */
  84583. + #include <stdarg.h>
  84584. + void f (int i, ...) {
  84585. + va_list args1, args2;
  84586. + va_start (args1, i);
  84587. + va_copy (args2, args1);
  84588. + if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
  84589. + exit (1);
  84590. + va_end (args1); va_end (args2);
  84591. + }
  84592. + int main() {
  84593. + f (0, 42);
  84594. + return 0;
  84595. + }
  84596. +_ACEOF
  84597. +if ac_fn_c_try_run "$LINENO"; then :
  84598. + ac_cv_func_va_copy="yes"
  84599. +else
  84600. + ac_cv_func_va_copy="no"
  84601. +fi
  84602. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  84603. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  84604. +fi
  84605. +fi
  84606. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_va_copy" >&5
  84607. +$as_echo "$ac_cv_func_va_copy" >&6; }
  84608. +if test "$ac_cv_func_va_copy" = "yes" ; then
  84609. +$as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
  84610. +fi
  84611. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if __va_copy is implemented" >&5
  84612. +$as_echo_n "checking if __va_copy is implemented... " >&6; }
  84613. +if test "${ac_cv_func___va_copy+set}" = set; then :
  84614. + $as_echo_n "(cached) " >&6
  84615. +else
  84616. + if test "$cross_compiling" = yes; then :
  84617. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  84618. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  84619. +as_fn_error "cannot run test program while cross compiling
  84620. +See \`config.log' for more details." "$LINENO" 5; }
  84621. +else
  84622. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  84623. +/* end confdefs.h. */
  84624. + #include <stdarg.h>
  84625. + void f (int i, ...) {
  84626. + va_list args1, args2;
  84627. + va_start (args1, i);
  84628. + __va_copy (args2, args1);
  84629. + if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
  84630. + exit (1);
  84631. + va_end (args1); va_end (args2);
  84632. + }
  84633. + int main() {
  84634. + f (0, 42);
  84635. + return 0;
  84636. + }
  84637. +_ACEOF
  84638. +if ac_fn_c_try_run "$LINENO"; then :
  84639. + ac_cv_func___va_copy="yes"
  84640. +else
  84641. + ac_cv_func___va_copy="no"
  84642. +fi
  84643. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  84644. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  84645. +fi
  84646. +fi
  84647. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func___va_copy" >&5
  84648. +$as_echo "$ac_cv_func___va_copy" >&6; }
  84649. +if test "$ac_cv_func___va_copy" = "yes" ; then
  84650. +$as_echo "#define HAVE___VA_COPY 1" >>confdefs.h
  84651. +fi
  84652. +if test "$IPF_TRANSPARENT" ; then
  84653. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IP-Filter header files are installed" >&5
  84654. +$as_echo_n "checking if IP-Filter header files are installed... " >&6; }
  84655. + # hold on to your hats...
  84656. + if test "$ac_cv_header_ip_compat_h" = "yes" ||
  84657. + test "$ac_cv_header_ip_fil_compat_h" = "yes" ||
  84658. + test "$ac_cv_header_netinet_ip_compat_h" = "yes" ||
  84659. + test "$ac_cv_header_netinet_ip_fil_compat_h" = "yes" ; then
  84660. + have_ipfilter_compat_header="yes"
  84661. + fi
  84662. + if test "x$have_ipfilter_compat_header" = "xyes" &&
  84663. + test "$ac_cv_header_ip_fil_h" = "yes" &&
  84664. + test "$ac_cv_header_ip_nat_h" = "yes" ; then
  84665. + IPF_TRANSPARENT="yes"
  84666. + $as_echo "#define IPF_TRANSPARENT 1" >>confdefs.h
  84667. + elif test "$have_ipfilter_compat_header" = "yes" &&
  84668. + test "$ac_cv_header_netinet_ip_fil_h" = "yes" &&
  84669. + test "$ac_cv_header_netinet_ip_nat_h" = "yes" ; then
  84670. + IPF_TRANSPARENT="yes"
  84671. + $as_echo "#define IPF_TRANSPARENT 1" >>confdefs.h
  84672. + else
  84673. + IPF_TRANSPARENT="no"
  84674. + $as_echo "#define IPF_TRANSPARENT 0" >>confdefs.h
  84675. + fi
  84676. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPF_TRANSPARENT" >&5
  84677. +$as_echo "$IPF_TRANSPARENT" >&6; }
  84678. +fi
  84679. +if test "$IPF_TRANSPARENT" = "no" ; then
  84680. + echo "WARNING: Cannot find necessary IP-Filter header files"
  84681. + echo " Transparent Proxy support WILL NOT be enabled"
  84682. + sleep 10
  84683. +elif test "$IPF_TRANSPARENT" = "yes" ; then
  84684. + case "$host" in
  84685. + *-solaris*)
  84686. + solrev=`uname -r | sh -c 'IFS=. read j n x; echo $n'`
  84687. + CFLAGS="-DSOLARIS2=$solrev $CFLAGS"
  84688. + CXXFLAGS="-DSOLARIS2=$solrev $CXXFLAGS"
  84689. + ;;
  84690. + *)
  84691. + ;;
  84692. + esac
  84693. +fi
  84694. +if test "$PF_TRANSPARENT" ; then
  84695. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if PF header file is installed" >&5
  84696. +$as_echo_n "checking if PF header file is installed... " >&6; }
  84697. + # hold on to your hats...
  84698. + if test "$ac_cv_header_net_pfvar_h" = "yes" || test "$ac_cv_header_net_pf_pfvar_h" = "yes"; then
  84699. + PF_TRANSPARENT="yes"
  84700. + $as_echo "#define PF_TRANSPARENT 1" >>confdefs.h
  84701. + else
  84702. + PF_TRANSPARENT="no"
  84703. + $as_echo "#define PF_TRANSPARENT 0" >>confdefs.h
  84704. + fi
  84705. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PF_TRANSPARENT" >&5
  84706. +$as_echo "$PF_TRANSPARENT" >&6; }
  84707. +fi
  84708. +if test "$PF_TRANSPARENT" = "no" ; then
  84709. + echo "WARNING: Cannot find necessary PF header file"
  84710. + echo " Transparent Proxy support WILL NOT be enabled"
  84711. + sleep 10
  84712. +fi
  84713. +if test "$LINUX_NETFILTER" ; then
  84714. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Linux (Netfilter) kernel header files are installed" >&5
  84715. +$as_echo_n "checking if Linux (Netfilter) kernel header files are installed... " >&6; }
  84716. + # hold on to your hats...
  84717. + if test "$ac_cv_header_linux_netfilter_ipv4_h" = "yes"; then
  84718. + LINUX_NETFILTER="yes"
  84719. + $as_echo "#define LINUX_NETFILTER 1" >>confdefs.h
  84720. + else
  84721. + LINUX_NETFILTER="no"
  84722. + $as_echo "#define LINUX_NETFILTER 0" >>confdefs.h
  84723. + fi
  84724. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINUX_NETFILTER" >&5
  84725. +$as_echo "$LINUX_NETFILTER" >&6; }
  84726. +fi
  84727. +if test "$LINUX_NETFILTER" = "no" ; then
  84728. + echo "WARNING: Cannot find necessary Linux kernel (Netfilter) header files"
  84729. + echo " Linux Transparent Proxy support WILL NOT be enabled"
  84730. + sleep 10
  84731. +fi
  84732. +if test "$LINUX_TPROXY" ; then
  84733. + if test "$use_caps" = "yes"; then
  84734. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if TPROXY header files are installed" >&5
  84735. +$as_echo_n "checking if TPROXY header files are installed... " >&6; }
  84736. + # hold on to your hats...
  84737. + if test "$ac_cv_header_linux_netfilter_ipv4_ip_tproxy_h" = "yes" && test "$LINUX_NETFILTER" = "yes"; then
  84738. + LINUX_TPROXY="yes"
  84739. +$as_echo "#define LINUX_TPROXY 1" >>confdefs.h
  84740. + else
  84741. + LINUX_TPROXY="no"
  84742. +$as_echo "#define LINUX_TPROXY 0" >>confdefs.h
  84743. + fi
  84744. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINUX_TPROXY" >&5
  84745. +$as_echo "$LINUX_TPROXY" >&6; }
  84746. + else
  84747. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing needed capabilities (libcap or libcap2) for TPROXY v2" >&5
  84748. +$as_echo "$as_me: WARNING: Missing needed capabilities (libcap or libcap2) for TPROXY v2" >&2;}
  84749. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Linux Transparent Proxy support WILL NOT be enabled" >&5
  84750. +$as_echo "$as_me: WARNING: Linux Transparent Proxy support WILL NOT be enabled" >&2;}
  84751. + LINUX_TPROXY="no"
  84752. + fi
  84753. +fi
  84754. +if test "$LINUX_TPROXY" = "no" && test "$LINUX_NETFILTER" = "yes"; then
  84755. + echo "WARNING: Cannot find TPROXY headers, you need to install the"
  84756. + echo "tproxy package from:"
  84757. + echo " - lynx http://www.balabit.com/downloads/tproxy/"
  84758. + echo "And libcap-dev or libcap2-dev"
  84759. + sleep 10
  84760. +fi
  84761. +if test -z "$USE_GNUREGEX" ; then
  84762. + case "$host" in
  84763. + *-sun-solaris2.[0-4])
  84764. + USE_GNUREGEX="yes"
  84765. + ;;
  84766. + *-next-nextstep*)
  84767. + USE_GNUREGEX="yes"
  84768. + ;;
  84769. + esac
  84770. +fi
  84771. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if GNUregex needs to be compiled" >&5
  84772. +$as_echo_n "checking if GNUregex needs to be compiled... " >&6; }
  84773. +if test -z "$USE_GNUREGEX"; then
  84774. +if test "$ac_cv_func_regcomp" = "no" || test "$USE_GNUREGEX" = "yes" ; then
  84775. + USE_GNUREGEX="yes"
  84776. +else
  84777. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  84778. +/* end confdefs.h. */
  84779. +#include <sys/types.h>
  84780. +#include <regex.h>
  84781. +int
  84782. +main ()
  84783. +{
  84784. +regex_t t; regcomp(&t,"",0);
  84785. + ;
  84786. + return 0;
  84787. +}
  84788. +_ACEOF
  84789. +if ac_fn_c_try_compile "$LINENO"; then :
  84790. + USE_GNUREGEX="no"
  84791. +else
  84792. + USE_GNUREGEX="yes"
  84793. +fi
  84794. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  84795. +fi
  84796. +fi
  84797. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_GNUREGEX" >&5
  84798. +$as_echo "$USE_GNUREGEX" >&6; }
  84799. +if test "$USE_GNUREGEX" = "yes"; then
  84800. + REGEXLIB="-lregex"
  84801. + LIBREGEX="libregex.a"
  84802. +$as_echo "#define USE_GNUREGEX 1" >>confdefs.h
  84803. +fi
  84804. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Default FD_SETSIZE value" >&5
  84805. +$as_echo_n "checking Default FD_SETSIZE value... " >&6; }
  84806. +if test "$cross_compiling" = yes; then :
  84807. + DEFAULT_FD_SETSIZE=256
  84808. +else
  84809. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  84810. +/* end confdefs.h. */
  84811. +#if HAVE_STDIO_H
  84812. +#include <stdio.h>
  84813. +#endif
  84814. +#if HAVE_UNISTD_H
  84815. +#include <unistd.h>
  84816. +#endif
  84817. +#if HAVE_SYS_TIME_H
  84818. +#include <sys/time.h>
  84819. +#endif
  84820. +#if HAVE_SYS_SELECT_H
  84821. +#include <sys/select.h>
  84822. +#endif
  84823. +#if HAVE_SYS_TYPES_H
  84824. +#include <sys/types.h>
  84825. +#endif
  84826. +#if HAVE_WINSOCK_H
  84827. +#include <winsock.h>
  84828. +#endif
  84829. +#if HAVE_WINSOCK2_H
  84830. +#include <winsock2.h>
  84831. +#endif
  84832. +main() {
  84833. + FILE *fp = fopen("conftestval", "w");
  84834. + fprintf (fp, "%d\n", FD_SETSIZE);
  84835. + exit(0);
  84836. +}
  84837. +_ACEOF
  84838. +if ac_fn_c_try_run "$LINENO"; then :
  84839. + DEFAULT_FD_SETSIZE=`cat conftestval`
  84840. +else
  84841. + DEFAULT_FD_SETSIZE=256
  84842. +fi
  84843. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  84844. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  84845. +fi
  84846. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEFAULT_FD_SETSIZE" >&5
  84847. +$as_echo "$DEFAULT_FD_SETSIZE" >&6; }
  84848. +cat >>confdefs.h <<_ACEOF
  84849. +#define DEFAULT_FD_SETSIZE $DEFAULT_FD_SETSIZE
  84850. +_ACEOF
  84851. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Maximum number of filedescriptors we can open" >&5
  84852. +$as_echo_n "checking Maximum number of filedescriptors we can open... " >&6; }
  84853. +TLDFLAGS="$LDFLAGS"
  84854. +if test -n "$squid_filedescriptors_num" ; then
  84855. + SQUID_MAXFD=$squid_filedescriptors_num
  84856. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SQUID_MAXFD (user-forced)" >&5
  84857. +$as_echo "$SQUID_MAXFD (user-forced)" >&6; }
  84858. +else
  84859. + case $host in
  84860. + i386-unknown-freebsd*)
  84861. + if echo "$LDFLAGS" | grep -q pthread; then
  84862. + LDFLAGS=`echo $LDFLAGS | sed -e "s/-pthread//"`
  84863. + fi
  84864. + esac
  84865. + if test "$cross_compiling" = yes; then :
  84866. + SQUID_MAXFD=256
  84867. +else
  84868. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  84869. +/* end confdefs.h. */
  84870. +#include <stdio.h>
  84871. +#include <unistd.h>
  84872. +#include <sys/time.h> /* needed on FreeBSD */
  84873. +#include <sys/param.h>
  84874. +#include <sys/resource.h>
  84875. +main() {
  84876. + FILE *fp;
  84877. + int i,j;
  84878. +#if defined(__CYGWIN32__) || defined (__CYGWIN__)
  84879. + /* getrlimit and sysconf returns bogous values on cygwin32.
  84880. + * Number of fds is virtually unlimited in cygwin (sys/param.h)
  84881. + * __CYGWIN32__ is deprecated.
  84882. + */
  84883. + i = NOFILE;
  84884. +#else
  84885. +#if HAVE_SETRLIMIT
  84886. + struct rlimit rl;
  84887. +#if defined(RLIMIT_NOFILE)
  84888. + if (getrlimit(RLIMIT_NOFILE, &rl) < 0) {
  84889. + perror("getrlimit: RLIMIT_NOFILE");
  84890. + } else {
  84891. +#if defined(__APPLE__)
  84892. + /* asking for more than OPEN_MAX fails on Leopard */
  84893. + rl.rlim_cur = (OPEN_MAX < rl.rlim_max ? OPEN_MAX : rl.rlim_max);
  84894. +#else
  84895. + rl.rlim_cur = rl.rlim_max; /* set it to the max */
  84896. +#endif
  84897. + if (setrlimit(RLIMIT_NOFILE, &rl) < 0) {
  84898. + perror("setrlimit: RLIMIT_NOFILE");
  84899. + }
  84900. + }
  84901. +#elif defined(RLIMIT_OFILE)
  84902. + if (getrlimit(RLIMIT_OFILE, &rl) < 0) {
  84903. + perror("getrlimit: RLIMIT_OFILE");
  84904. + } else {
  84905. + rl.rlim_cur = rl.rlim_max; /* set it to the max */
  84906. + if (setrlimit(RLIMIT_OFILE, &rl) < 0) {
  84907. + perror("setrlimit: RLIMIT_OFILE");
  84908. + }
  84909. + }
  84910. +#endif /* RLIMIT_NOFILE */
  84911. +#endif /* HAVE_SETRLIMIT */
  84912. + /* by starting at 2^14, we will never get higher
  84913. + than 2^15 for SQUID_MAXFD */
  84914. + i = j = 1<<14;
  84915. + while (j) {
  84916. + j >>= 1;
  84917. + if (dup2(0, i) < 0) {
  84918. + i -= j;
  84919. + } else {
  84920. + close(i);
  84921. + i += j;
  84922. + }
  84923. + }
  84924. + i++;
  84925. +#endif /* IF !DEF CYGWIN */
  84926. + fp = fopen("conftestval", "w");
  84927. + fprintf (fp, "%d\n", i & ~0x3F);
  84928. + exit(0);
  84929. +}
  84930. +_ACEOF
  84931. +if ac_fn_c_try_run "$LINENO"; then :
  84932. + SQUID_MAXFD=`cat conftestval`
  84933. +else
  84934. + SQUID_MAXFD=256
  84935. +fi
  84936. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  84937. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  84938. +fi
  84939. + case "$host_os" in
  84940. + mingw|mingw32)
  84941. + SQUID_MAXFD="2048"
  84942. + ;;
  84943. + esac
  84944. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SQUID_MAXFD" >&5
  84945. +$as_echo "$SQUID_MAXFD" >&6; }
  84946. +fi
  84947. +cat >>confdefs.h <<_ACEOF
  84948. +#define SQUID_MAXFD $SQUID_MAXFD
  84949. +_ACEOF
  84950. +if test "$SQUID_MAXFD" -lt 512 ; then
  84951. + echo "WARNING: $SQUID_MAXFD may not be enough filedescriptors if your"
  84952. + echo " cache will be very busy. Please see the FAQ page"
  84953. + echo " http://wiki.squid-cache.org/SquidFaq/TroubleShooting"
  84954. + echo " on how to increase your filedescriptor limit"
  84955. + sleep 10
  84956. +fi
  84957. +LDFLAGS="$TLDFLAGS"
  84958. +if test `expr $SQUID_MAXFD % 64` != 0; then
  84959. + echo "WARNING: $SQUID_MAXFD is not an multiple of 64. This may cause issues"
  84960. + echo " on certain platforms."
  84961. + sleep 10
  84962. +fi
  84963. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Default UDP send buffer size" >&5
  84964. +$as_echo_n "checking Default UDP send buffer size... " >&6; }
  84965. +if test "$cross_compiling" = yes; then :
  84966. + SQUID_DETECT_UDP_SO_SNDBUF=16384
  84967. +else
  84968. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  84969. +/* end confdefs.h. */
  84970. +#include <stdlib.h>
  84971. +#include <stdio.h>
  84972. +#include <sys/types.h>
  84973. +#if HAVE_SYS_SOCKET_H
  84974. +#include <sys/socket.h>
  84975. +#endif
  84976. +#if HAVE_NETINET_IN_H
  84977. +#include <netinet/in.h>
  84978. +#endif
  84979. +#if HAVE_WINSOCK_H
  84980. +#include <winsock.h>
  84981. +#endif
  84982. +#if HAVE_WINSOCK2_H
  84983. +#include <winsock2.h>
  84984. +#endif
  84985. +main ()
  84986. +{
  84987. + FILE *fp;
  84988. + int fd,val=0,len=sizeof(int);
  84989. +#if (defined(WIN32) || defined(__WIN32__) || defined(__WIN32)) && !(defined(__CYGWIN32__) || defined(__CYGWIN__))
  84990. + WSADATA wsaData;
  84991. + WSAStartup(2, &wsaData);
  84992. +#endif
  84993. + if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) exit(1);
  84994. + if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &val, &len) < 0) exit(1);
  84995. +#if (defined(WIN32) || defined(__WIN32__) || defined(__WIN32)) && !(defined(__CYGWIN32__) || defined(__CYGWIN__))
  84996. + WSACleanup();
  84997. +#endif
  84998. + if (val<=0) exit(1);
  84999. + fp = fopen("conftestval", "w");
  85000. + fprintf (fp, "%d\n", val);
  85001. + exit(0);
  85002. +}
  85003. +_ACEOF
  85004. +if ac_fn_c_try_run "$LINENO"; then :
  85005. + SQUID_DETECT_UDP_SO_SNDBUF=`cat conftestval`
  85006. +else
  85007. + SQUID_DETECT_UDP_SO_SNDBUF=16384
  85008. +fi
  85009. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  85010. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  85011. +fi
  85012. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SQUID_DETECT_UDP_SO_SNDBUF" >&5
  85013. +$as_echo "$SQUID_DETECT_UDP_SO_SNDBUF" >&6; }
  85014. +cat >>confdefs.h <<_ACEOF
  85015. +#define SQUID_DETECT_UDP_SO_SNDBUF $SQUID_DETECT_UDP_SO_SNDBUF
  85016. +_ACEOF
  85017. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Default UDP receive buffer size" >&5
  85018. +$as_echo_n "checking Default UDP receive buffer size... " >&6; }
  85019. +if test "$cross_compiling" = yes; then :
  85020. + SQUID_DETECT_UDP_SO_RCVBUF=16384
  85021. +else
  85022. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  85023. +/* end confdefs.h. */
  85024. -for ac_func in \
  85025. - backtrace_symbols_fd \
  85026. - bcopy \
  85027. - bswap_16 \
  85028. - bswap_32 \
  85029. - bswap16 \
  85030. - bswap32 \
  85031. - fchmod \
  85032. - getdtablesize \
  85033. - getpagesize \
  85034. - getpass \
  85035. - getrlimit \
  85036. - getrusage \
  85037. - getspnam \
  85038. - gettimeofday \
  85039. - glob \
  85040. - htobe16 \
  85041. - htole16 \
  85042. - kqueue\
  85043. - lrand48 \
  85044. - mallinfo \
  85045. - mallocblksize \
  85046. - mallopt \
  85047. - memcpy \
  85048. - memmove \
  85049. - memset \
  85050. - mkstemp \
  85051. - mktime \
  85052. - mstats \
  85053. - poll \
  85054. - prctl \
  85055. - pthread_attr_setschedparam \
  85056. - pthread_attr_setscope \
  85057. - pthread_setschedparam \
  85058. - pthread_sigmask \
  85059. - putenv \
  85060. - random \
  85061. - regcomp \
  85062. - regexec \
  85063. - regfree \
  85064. - res_init \
  85065. - __res_init \
  85066. - rint \
  85067. - sbrk \
  85068. - select \
  85069. - seteuid \
  85070. - setgroups \
  85071. - setpgrp \
  85072. - setrlimit \
  85073. - setsid \
  85074. - sigaction \
  85075. - snprintf \
  85076. - socketpair \
  85077. - srand48 \
  85078. - srandom \
  85079. - statfs \
  85080. - sysconf \
  85081. - syslog \
  85082. - timegm \
  85083. - vsnprintf \
  85084. +#include <stdlib.h>
  85085. +#include <stdio.h>
  85086. +#include <sys/types.h>
  85087. +#if HAVE_SYS_SOCKET_H
  85088. +#include <sys/socket.h>
  85089. +#endif
  85090. +#if HAVE_NETINET_IN_H
  85091. +#include <netinet/in.h>
  85092. +#endif
  85093. +#if HAVE_WINSOCK_H
  85094. +#include <winsock.h>
  85095. +#endif
  85096. +#if HAVE_WINSOCK2_H
  85097. +#include <winsock2.h>
  85098. +#endif
  85099. +main ()
  85100. +{
  85101. + FILE *fp;
  85102. + int fd,val=0,len=sizeof(int);
  85103. +#if (defined(WIN32) || defined(__WIN32__) || defined(__WIN32)) && !(defined(__CYGWIN32__) || defined(__CYGWIN__))
  85104. + WSADATA wsaData;
  85105. + WSAStartup(2, &wsaData);
  85106. +#endif
  85107. + if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) exit(1);
  85108. + if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &val, &len) < 0) exit(1);
  85109. +#if (defined(WIN32) || defined(__WIN32__) || defined(__WIN32)) && !(defined(__CYGWIN32__) || defined(__CYGWIN__))
  85110. + WSACleanup();
  85111. +#endif
  85112. + if (val <= 0) exit(1);
  85113. + fp = fopen("conftestval", "w");
  85114. + fprintf (fp, "%d\n", val);
  85115. + exit(0);
  85116. +}
  85117. -do
  85118. -as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  85119. -{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  85120. -$as_echo_n "checking for $ac_func... " >&6; }
  85121. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  85122. - $as_echo_n "(cached) " >&6
  85123. -else
  85124. - cat >conftest.$ac_ext <<_ACEOF
  85125. -/* confdefs.h. */
  85126. _ACEOF
  85127. -cat confdefs.h >>conftest.$ac_ext
  85128. -cat >>conftest.$ac_ext <<_ACEOF
  85129. -/* end confdefs.h. */
  85130. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  85131. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  85132. -#define $ac_func innocuous_$ac_func
  85133. +if ac_fn_c_try_run "$LINENO"; then :
  85134. + SQUID_DETECT_UDP_SO_RCVBUF=`cat conftestval`
  85135. +else
  85136. + SQUID_DETECT_UDP_SO_RCVBUF=16384
  85137. +fi
  85138. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  85139. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  85140. +fi
  85141. -/* System header to define __stub macros and hopefully few prototypes,
  85142. - which can conflict with char $ac_func (); below.
  85143. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  85144. - <limits.h> exists even on freestanding compilers. */
  85145. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SQUID_DETECT_UDP_SO_RCVBUF" >&5
  85146. +$as_echo "$SQUID_DETECT_UDP_SO_RCVBUF" >&6; }
  85147. -#ifdef __STDC__
  85148. -# include <limits.h>
  85149. -#else
  85150. -# include <assert.h>
  85151. -#endif
  85152. +cat >>confdefs.h <<_ACEOF
  85153. +#define SQUID_DETECT_UDP_SO_RCVBUF $SQUID_DETECT_UDP_SO_RCVBUF
  85154. +_ACEOF
  85155. -#undef $ac_func
  85156. -/* Override any GCC internal prototype to avoid an error.
  85157. - Use char because int might match the return type of a GCC
  85158. - builtin and then its argument prototype would still apply. */
  85159. -#ifdef __cplusplus
  85160. -extern "C"
  85161. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Default TCP send buffer size" >&5
  85162. +$as_echo_n "checking Default TCP send buffer size... " >&6; }
  85163. +if test "$cross_compiling" = yes; then :
  85164. + SQUID_TCP_SO_SNDBUF=16384
  85165. +else
  85166. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  85167. +/* end confdefs.h. */
  85168. +
  85169. +#include <stdlib.h>
  85170. +#include <stdio.h>
  85171. +#include <sys/types.h>
  85172. +#if HAVE_SYS_SOCKET_H
  85173. +#include <sys/socket.h>
  85174. #endif
  85175. -char $ac_func ();
  85176. -/* The GNU C library defines this for functions which it implements
  85177. - to always fail with ENOSYS. Some functions are actually named
  85178. - something starting with __ and the normal name is an alias. */
  85179. -#if defined __stub_$ac_func || defined __stub___$ac_func
  85180. -choke me
  85181. +#if HAVE_NETINET_IN_H
  85182. +#include <netinet/in.h>
  85183. +#endif
  85184. +#if HAVE_WINSOCK_H
  85185. +#include <winsock.h>
  85186. +#endif
  85187. +#if HAVE_WINSOCK2_H
  85188. +#include <winsock2.h>
  85189. #endif
  85190. -
  85191. -int
  85192. main ()
  85193. {
  85194. -return $ac_func ();
  85195. - ;
  85196. - return 0;
  85197. + FILE *fp;
  85198. + int fd,val=0,len=sizeof(int);
  85199. +#if (defined(WIN32) || defined(__WIN32__) || defined(__WIN32)) && !(defined(__CYGWIN32__) || defined(__CYGWIN__))
  85200. + WSADATA wsaData;
  85201. + WSAStartup(2, &wsaData);
  85202. +#endif
  85203. + if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) exit(1);
  85204. + if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &val, &len) < 0) exit(1);
  85205. +#if (defined(WIN32) || defined(__WIN32__) || defined(__WIN32)) && !(defined(__CYGWIN32__) || defined(__CYGWIN__))
  85206. + WSACleanup();
  85207. +#endif
  85208. + if (val <= 0) exit(1);
  85209. + fp = fopen("conftestval", "w");
  85210. + fprintf (fp, "%d\n", val);
  85211. + exit(0);
  85212. }
  85213. +
  85214. _ACEOF
  85215. -rm -f conftest.$ac_objext conftest$ac_exeext
  85216. -if { (ac_try="$ac_link"
  85217. -case "(($ac_try" in
  85218. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  85219. - *) ac_try_echo=$ac_try;;
  85220. -esac
  85221. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  85222. -$as_echo "$ac_try_echo") >&5
  85223. - (eval "$ac_link") 2>conftest.er1
  85224. - ac_status=$?
  85225. - grep -v '^ *+' conftest.er1 >conftest.err
  85226. - rm -f conftest.er1
  85227. - cat conftest.err >&5
  85228. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  85229. - (exit $ac_status); } && {
  85230. - test -z "$ac_c_werror_flag" ||
  85231. - test ! -s conftest.err
  85232. - } && test -s conftest$ac_exeext && {
  85233. - test "$cross_compiling" = yes ||
  85234. - $as_test_x conftest$ac_exeext
  85235. - }; then
  85236. - eval "$as_ac_var=yes"
  85237. +if ac_fn_c_try_run "$LINENO"; then :
  85238. + SQUID_TCP_SO_SNDBUF=`cat conftestval`
  85239. else
  85240. - $as_echo "$as_me: failed program was:" >&5
  85241. -sed 's/^/| /' conftest.$ac_ext >&5
  85242. -
  85243. - eval "$as_ac_var=no"
  85244. + SQUID_TCP_SO_SNDBUF=16384
  85245. fi
  85246. -
  85247. -rm -rf conftest.dSYM
  85248. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  85249. - conftest$ac_exeext conftest.$ac_ext
  85250. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  85251. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  85252. fi
  85253. -ac_res=`eval 'as_val=${'$as_ac_var'}
  85254. - $as_echo "$as_val"'`
  85255. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  85256. -$as_echo "$ac_res" >&6; }
  85257. -if test `eval 'as_val=${'$as_ac_var'}
  85258. - $as_echo "$as_val"'` = yes; then
  85259. - cat >>confdefs.h <<_ACEOF
  85260. -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  85261. -_ACEOF
  85262. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SQUID_TCP_SO_SNDBUF" >&5
  85263. +$as_echo "$SQUID_TCP_SO_SNDBUF" >&6; }
  85264. +if test $SQUID_TCP_SO_SNDBUF -gt 32768; then
  85265. + echo "Limiting send buffer size to 32K"
  85266. + SQUID_TCP_SO_SNDBUF=32768
  85267. fi
  85268. -done
  85269. -
  85270. -
  85271. -
  85272. -
  85273. -
  85274. +cat >>confdefs.h <<_ACEOF
  85275. +#define SQUID_TCP_SO_SNDBUF $SQUID_TCP_SO_SNDBUF
  85276. +_ACEOF
  85277. -for ac_func in \
  85278. - drand48 \
  85279. - initgroups \
  85280. - strerror \
  85281. - strsep \
  85282. - strtoll \
  85283. - tempnam \
  85284. -do
  85285. -as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  85286. -{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  85287. -$as_echo_n "checking for $ac_func... " >&6; }
  85288. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  85289. - $as_echo_n "(cached) " >&6
  85290. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Default TCP receive buffer size" >&5
  85291. +$as_echo_n "checking Default TCP receive buffer size... " >&6; }
  85292. +if test "$cross_compiling" = yes; then :
  85293. + SQUID_TCP_SO_RCVBUF=16384
  85294. else
  85295. - cat >conftest.$ac_ext <<_ACEOF
  85296. -/* confdefs.h. */
  85297. -_ACEOF
  85298. -cat confdefs.h >>conftest.$ac_ext
  85299. -cat >>conftest.$ac_ext <<_ACEOF
  85300. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  85301. /* end confdefs.h. */
  85302. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  85303. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  85304. -#define $ac_func innocuous_$ac_func
  85305. -
  85306. -/* System header to define __stub macros and hopefully few prototypes,
  85307. - which can conflict with char $ac_func (); below.
  85308. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  85309. - <limits.h> exists even on freestanding compilers. */
  85310. -#ifdef __STDC__
  85311. -# include <limits.h>
  85312. -#else
  85313. -# include <assert.h>
  85314. +#include <stdlib.h>
  85315. +#include <stdio.h>
  85316. +#include <sys/types.h>
  85317. +#if HAVE_SYS_SOCKET_H
  85318. +#include <sys/socket.h>
  85319. #endif
  85320. -
  85321. -#undef $ac_func
  85322. -
  85323. -/* Override any GCC internal prototype to avoid an error.
  85324. - Use char because int might match the return type of a GCC
  85325. - builtin and then its argument prototype would still apply. */
  85326. -#ifdef __cplusplus
  85327. -extern "C"
  85328. +#if HAVE_NETINET_IN_H
  85329. +#include <netinet/in.h>
  85330. #endif
  85331. -char $ac_func ();
  85332. -/* The GNU C library defines this for functions which it implements
  85333. - to always fail with ENOSYS. Some functions are actually named
  85334. - something starting with __ and the normal name is an alias. */
  85335. -#if defined __stub_$ac_func || defined __stub___$ac_func
  85336. -choke me
  85337. +#if HAVE_WINSOCK_H
  85338. +#include <winsock.h>
  85339. +#endif
  85340. +#if HAVE_WINSOCK2_H
  85341. +#include <winsock2.h>
  85342. #endif
  85343. -
  85344. -int
  85345. main ()
  85346. {
  85347. -return $ac_func ();
  85348. - ;
  85349. - return 0;
  85350. + FILE *fp;
  85351. + int fd,val=0,len=sizeof(int);
  85352. +#if (defined(WIN32) || defined(__WIN32__) || defined(__WIN32)) && !(defined(__CYGWIN32__) || defined(__CYGWIN__))
  85353. + WSADATA wsaData;
  85354. + WSAStartup(2, &wsaData);
  85355. +#endif
  85356. + if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) exit(1);
  85357. + if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &val, &len) < 0) exit(1);
  85358. +#if (defined(WIN32) || defined(__WIN32__) || defined(__WIN32)) && !(defined(__CYGWIN32__) || defined(__CYGWIN__))
  85359. + WSACleanup();
  85360. +#endif
  85361. + if (val <= 0) exit(1);
  85362. + fp = fopen("conftestval", "w");
  85363. + fprintf (fp, "%d\n", val);
  85364. + exit(0);
  85365. }
  85366. +
  85367. _ACEOF
  85368. -rm -f conftest.$ac_objext conftest$ac_exeext
  85369. -if { (ac_try="$ac_link"
  85370. -case "(($ac_try" in
  85371. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  85372. - *) ac_try_echo=$ac_try;;
  85373. -esac
  85374. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  85375. -$as_echo "$ac_try_echo") >&5
  85376. - (eval "$ac_link") 2>conftest.er1
  85377. - ac_status=$?
  85378. - grep -v '^ *+' conftest.er1 >conftest.err
  85379. - rm -f conftest.er1
  85380. - cat conftest.err >&5
  85381. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  85382. - (exit $ac_status); } && {
  85383. - test -z "$ac_c_werror_flag" ||
  85384. - test ! -s conftest.err
  85385. - } && test -s conftest$ac_exeext && {
  85386. - test "$cross_compiling" = yes ||
  85387. - $as_test_x conftest$ac_exeext
  85388. - }; then
  85389. - eval "$as_ac_var=yes"
  85390. +if ac_fn_c_try_run "$LINENO"; then :
  85391. + SQUID_TCP_SO_RCVBUF=`cat conftestval`
  85392. else
  85393. - $as_echo "$as_me: failed program was:" >&5
  85394. -sed 's/^/| /' conftest.$ac_ext >&5
  85395. -
  85396. - eval "$as_ac_var=no"
  85397. + SQUID_TCP_SO_RCVBUF=16384
  85398. fi
  85399. -
  85400. -rm -rf conftest.dSYM
  85401. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  85402. - conftest$ac_exeext conftest.$ac_ext
  85403. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  85404. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  85405. fi
  85406. -ac_res=`eval 'as_val=${'$as_ac_var'}
  85407. - $as_echo "$as_val"'`
  85408. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  85409. -$as_echo "$ac_res" >&6; }
  85410. -if test `eval 'as_val=${'$as_ac_var'}
  85411. - $as_echo "$as_val"'` = yes; then
  85412. - cat >>confdefs.h <<_ACEOF
  85413. -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  85414. -_ACEOF
  85415. -
  85416. -else
  85417. - case " $LIBOBJS " in
  85418. - *" $ac_func.$ac_objext "* ) ;;
  85419. - *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
  85420. - ;;
  85421. -esac
  85422. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SQUID_TCP_SO_RCVBUF" >&5
  85423. +$as_echo "$SQUID_TCP_SO_RCVBUF" >&6; }
  85424. +if test $SQUID_TCP_SO_RCVBUF -gt 65535; then
  85425. + echo "Limiting receive buffer size to 64K"
  85426. + SQUID_TCP_SO_RCVBUF=65535
  85427. fi
  85428. -done
  85429. -
  85430. +cat >>confdefs.h <<_ACEOF
  85431. +#define SQUID_TCP_SO_RCVBUF $SQUID_TCP_SO_RCVBUF
  85432. +_ACEOF
  85433. -# check for crypt, may require -lcrypt
  85434. -SAVED_LIBS="$LIBS"
  85435. -LIBS="$LIBS $CRYPTLIB"
  85436. -
  85437. -for ac_func in crypt
  85438. -do
  85439. -as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  85440. -{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  85441. -$as_echo_n "checking for $ac_func... " >&6; }
  85442. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  85443. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sys_errlist is already defined" >&5
  85444. +$as_echo_n "checking if sys_errlist is already defined... " >&6; }
  85445. +if test "${ac_cv_needs_sys_errlist+set}" = set; then :
  85446. $as_echo_n "(cached) " >&6
  85447. else
  85448. - cat >conftest.$ac_ext <<_ACEOF
  85449. -/* confdefs.h. */
  85450. -_ACEOF
  85451. -cat confdefs.h >>conftest.$ac_ext
  85452. -cat >>conftest.$ac_ext <<_ACEOF
  85453. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  85454. /* end confdefs.h. */
  85455. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  85456. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  85457. -#define $ac_func innocuous_$ac_func
  85458. -
  85459. -/* System header to define __stub macros and hopefully few prototypes,
  85460. - which can conflict with char $ac_func (); below.
  85461. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  85462. - <limits.h> exists even on freestanding compilers. */
  85463. -
  85464. -#ifdef __STDC__
  85465. -# include <limits.h>
  85466. -#else
  85467. -# include <assert.h>
  85468. -#endif
  85469. -
  85470. -#undef $ac_func
  85471. +#include <stdio.h>
  85472. +int
  85473. +main ()
  85474. +{
  85475. +char *s = sys_errlist;
  85476. + ;
  85477. + return 0;
  85478. +}
  85479. +_ACEOF
  85480. +if ac_fn_c_try_compile "$LINENO"; then :
  85481. + ac_cv_needs_sys_errlist="no"
  85482. +else
  85483. + ac_cv_needs_sys_errlist="yes"
  85484. +fi
  85485. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  85486. -/* Override any GCC internal prototype to avoid an error.
  85487. - Use char because int might match the return type of a GCC
  85488. - builtin and then its argument prototype would still apply. */
  85489. -#ifdef __cplusplus
  85490. -extern "C"
  85491. -#endif
  85492. -char $ac_func ();
  85493. -/* The GNU C library defines this for functions which it implements
  85494. - to always fail with ENOSYS. Some functions are actually named
  85495. - something starting with __ and the normal name is an alias. */
  85496. -#if defined __stub_$ac_func || defined __stub___$ac_func
  85497. -choke me
  85498. -#endif
  85499. +fi
  85500. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_needs_sys_errlist" >&5
  85501. +$as_echo "$ac_cv_needs_sys_errlist" >&6; }
  85502. +if test "$ac_cv_needs_sys_errlist" = "yes" ; then
  85503. +
  85504. +$as_echo "#define NEED_SYS_ERRLIST 1" >>confdefs.h
  85505. +
  85506. +fi
  85507. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libresolv _dns_ttl_ hack" >&5
  85508. +$as_echo_n "checking for libresolv _dns_ttl_ hack... " >&6; }
  85509. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  85510. +/* end confdefs.h. */
  85511. +extern int _dns_ttl_;
  85512. int
  85513. main ()
  85514. {
  85515. -return $ac_func ();
  85516. +return _dns_ttl_;
  85517. ;
  85518. return 0;
  85519. }
  85520. _ACEOF
  85521. -rm -f conftest.$ac_objext conftest$ac_exeext
  85522. -if { (ac_try="$ac_link"
  85523. -case "(($ac_try" in
  85524. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  85525. - *) ac_try_echo=$ac_try;;
  85526. -esac
  85527. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  85528. -$as_echo "$ac_try_echo") >&5
  85529. - (eval "$ac_link") 2>conftest.er1
  85530. - ac_status=$?
  85531. - grep -v '^ *+' conftest.er1 >conftest.err
  85532. - rm -f conftest.er1
  85533. - cat conftest.err >&5
  85534. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  85535. - (exit $ac_status); } && {
  85536. - test -z "$ac_c_werror_flag" ||
  85537. - test ! -s conftest.err
  85538. - } && test -s conftest$ac_exeext && {
  85539. - test "$cross_compiling" = yes ||
  85540. - $as_test_x conftest$ac_exeext
  85541. - }; then
  85542. - eval "$as_ac_var=yes"
  85543. -else
  85544. - $as_echo "$as_me: failed program was:" >&5
  85545. -sed 's/^/| /' conftest.$ac_ext >&5
  85546. +if ac_fn_c_try_link "$LINENO"; then :
  85547. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  85548. +$as_echo "yes" >&6; }
  85549. - eval "$as_ac_var=no"
  85550. -fi
  85551. +$as_echo "#define LIBRESOLV_DNS_TTL_HACK 1" >>confdefs.h
  85552. -rm -rf conftest.dSYM
  85553. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  85554. - conftest$ac_exeext conftest.$ac_ext
  85555. +else
  85556. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  85557. +$as_echo "no" >&6; }
  85558. fi
  85559. -ac_res=`eval 'as_val=${'$as_ac_var'}
  85560. - $as_echo "$as_val"'`
  85561. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  85562. -$as_echo "$ac_res" >&6; }
  85563. -if test `eval 'as_val=${'$as_ac_var'}
  85564. - $as_echo "$as_val"'` = yes; then
  85565. - cat >>confdefs.h <<_ACEOF
  85566. -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  85567. -_ACEOF
  85568. +rm -f core conftest.err conftest.$ac_objext \
  85569. + conftest$ac_exeext conftest.$ac_ext
  85570. -fi
  85571. -done
  85572. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa() actually works" >&5
  85573. +$as_echo_n "checking if inet_ntoa() actually works... " >&6; }
  85574. +if test "$cross_compiling" = yes; then :
  85575. + INET_NTOA_RESULT="broken"
  85576. +else
  85577. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  85578. +/* end confdefs.h. */
  85579. -LIBS="$SAVED_LIBS"
  85580. +#include <stdlib.h>
  85581. +#include <stdio.h>
  85582. +#include <sys/types.h>
  85583. +#include <netinet/in.h>
  85584. +#include <arpa/inet.h>
  85585. +main ()
  85586. +{
  85587. + FILE *fp;
  85588. + struct in_addr in;
  85589. + in.s_addr = inet_addr("1.2.3.4");
  85590. + fp = fopen("conftestval", "w");
  85591. + fprintf (fp, "%s\n", inet_ntoa(in));
  85592. + exit(0);
  85593. +}
  85594. -# Check for libepoll
  85595. -EPOLL_LIB=
  85596. -{ $as_echo "$as_me:$LINENO: checking for epoll_ctl in -lepoll" >&5
  85597. -$as_echo_n "checking for epoll_ctl in -lepoll... " >&6; }
  85598. -if test "${ac_cv_lib_epoll_epoll_ctl+set}" = set; then
  85599. - $as_echo_n "(cached) " >&6
  85600. -else
  85601. - ac_check_lib_save_LIBS=$LIBS
  85602. -LIBS="-lepoll $LIBS"
  85603. -cat >conftest.$ac_ext <<_ACEOF
  85604. -/* confdefs.h. */
  85605. _ACEOF
  85606. -cat confdefs.h >>conftest.$ac_ext
  85607. -cat >>conftest.$ac_ext <<_ACEOF
  85608. +if ac_fn_c_try_run "$LINENO"; then :
  85609. + INET_NTOA_RESULT=`cat conftestval`
  85610. +else
  85611. + INET_NTOA_RESULT="broken"
  85612. +fi
  85613. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  85614. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  85615. +fi
  85616. +
  85617. +if test "$INET_NTOA_RESULT" = "1.2.3.4" ; then
  85618. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
  85619. +$as_echo "\"yes\"" >&6; }
  85620. +else
  85621. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
  85622. +$as_echo "\"no\"" >&6; }
  85623. + case "$host_os" in
  85624. + mingw|mingw32)
  85625. + echo "Using Win32 resolver instead."
  85626. + ;;
  85627. + *)
  85628. + echo "Will use our own inet_ntoa()."
  85629. + case " $LIBOBJS " in
  85630. + *" inet_ntoa.$ac_objext "* ) ;;
  85631. + *) LIBOBJS="$LIBOBJS inet_ntoa.$ac_objext"
  85632. + ;;
  85633. +esac
  85634. +
  85635. +# echo "WARNING: This looks bad, and probably prevents Squid from working."
  85636. +# echo " If you're on IRIX and using GCC 2.8, you probably need"
  85637. +# echo " to use the IRIX C compiler instead."
  85638. +# sleep 10
  85639. + ;;
  85640. + esac
  85641. +fi
  85642. +
  85643. +if test "$ac_cv_header_sys_statvfs_h" = "yes" ; then
  85644. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working statvfs() interface" >&5
  85645. +$as_echo_n "checking for working statvfs() interface... " >&6; }
  85646. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  85647. /* end confdefs.h. */
  85648. -/* Override any GCC internal prototype to avoid an error.
  85649. - Use char because int might match the return type of a GCC
  85650. - builtin and then its argument prototype would still apply. */
  85651. -#ifdef __cplusplus
  85652. -extern "C"
  85653. -#endif
  85654. -char epoll_ctl ();
  85655. +#include <stdlib.h>
  85656. +#include <stdio.h>
  85657. +#include <sys/types.h>
  85658. +#include <sys/statvfs.h>
  85659. +
  85660. int
  85661. main ()
  85662. {
  85663. -return epoll_ctl ();
  85664. +
  85665. +struct statvfs sfs;
  85666. +sfs.f_blocks = sfs.f_bfree = sfs.f_frsize =
  85667. +sfs.f_files = sfs.f_ffree = 0;
  85668. +statvfs("/tmp", &sfs);
  85669. +
  85670. ;
  85671. return 0;
  85672. }
  85673. _ACEOF
  85674. -rm -f conftest.$ac_objext conftest$ac_exeext
  85675. -if { (ac_try="$ac_link"
  85676. -case "(($ac_try" in
  85677. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  85678. - *) ac_try_echo=$ac_try;;
  85679. -esac
  85680. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  85681. -$as_echo "$ac_try_echo") >&5
  85682. - (eval "$ac_link") 2>conftest.er1
  85683. - ac_status=$?
  85684. - grep -v '^ *+' conftest.er1 >conftest.err
  85685. - rm -f conftest.er1
  85686. - cat conftest.err >&5
  85687. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  85688. - (exit $ac_status); } && {
  85689. - test -z "$ac_c_werror_flag" ||
  85690. - test ! -s conftest.err
  85691. - } && test -s conftest$ac_exeext && {
  85692. - test "$cross_compiling" = yes ||
  85693. - $as_test_x conftest$ac_exeext
  85694. - }; then
  85695. - ac_cv_lib_epoll_epoll_ctl=yes
  85696. +if ac_fn_c_try_compile "$LINENO"; then :
  85697. + ac_cv_func_statvfs=yes
  85698. else
  85699. - $as_echo "$as_me: failed program was:" >&5
  85700. -sed 's/^/| /' conftest.$ac_ext >&5
  85701. -
  85702. - ac_cv_lib_epoll_epoll_ctl=no
  85703. + ac_cv_func_statvfs=no
  85704. fi
  85705. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  85706. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_statvfs" >&5
  85707. +$as_echo "$ac_cv_func_statvfs" >&6; }
  85708. +if test "$ac_cv_func_statvfs" = "yes" ; then
  85709. +
  85710. +$as_echo "#define HAVE_STATVFS 1" >>confdefs.h
  85711. -rm -rf conftest.dSYM
  85712. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  85713. - conftest$ac_exeext conftest.$ac_ext
  85714. -LIBS=$ac_check_lib_save_LIBS
  85715. fi
  85716. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_epoll_epoll_ctl" >&5
  85717. -$as_echo "$ac_cv_lib_epoll_epoll_ctl" >&6; }
  85718. -if test $ac_cv_lib_epoll_epoll_ctl = yes; then
  85719. - EPOLL_LIBS="-lepoll"
  85720. fi
  85721. -
  85722. -
  85723. -# Check for epoll_ctl, may need -lepoll
  85724. -SAVED_LIBS="$LIBS"
  85725. -LIBS="$LIBS $LIB_EPOLL"
  85726. -
  85727. -for ac_func in epoll_ctl
  85728. -do
  85729. -as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  85730. -{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  85731. -$as_echo_n "checking for $ac_func... " >&6; }
  85732. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  85733. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _res.nsaddr_list" >&5
  85734. +$as_echo_n "checking for _res.nsaddr_list... " >&6; }
  85735. +if test "${ac_cv_have_res_nsaddr_list+set}" = set; then :
  85736. $as_echo_n "(cached) " >&6
  85737. else
  85738. - cat >conftest.$ac_ext <<_ACEOF
  85739. -/* confdefs.h. */
  85740. -_ACEOF
  85741. -cat confdefs.h >>conftest.$ac_ext
  85742. -cat >>conftest.$ac_ext <<_ACEOF
  85743. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  85744. /* end confdefs.h. */
  85745. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  85746. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  85747. -#define $ac_func innocuous_$ac_func
  85748. -/* System header to define __stub macros and hopefully few prototypes,
  85749. - which can conflict with char $ac_func (); below.
  85750. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  85751. - <limits.h> exists even on freestanding compilers. */
  85752. -
  85753. -#ifdef __STDC__
  85754. -# include <limits.h>
  85755. -#else
  85756. -# include <assert.h>
  85757. +#if HAVE_SYS_TYPES_H
  85758. +#include <sys/types.h>
  85759. #endif
  85760. -
  85761. -#undef $ac_func
  85762. -
  85763. -/* Override any GCC internal prototype to avoid an error.
  85764. - Use char because int might match the return type of a GCC
  85765. - builtin and then its argument prototype would still apply. */
  85766. -#ifdef __cplusplus
  85767. -extern "C"
  85768. +#if HAVE_NETINET_IN_H
  85769. +#include <netinet/in.h>
  85770. #endif
  85771. -char $ac_func ();
  85772. -/* The GNU C library defines this for functions which it implements
  85773. - to always fail with ENOSYS. Some functions are actually named
  85774. - something starting with __ and the normal name is an alias. */
  85775. -#if defined __stub_$ac_func || defined __stub___$ac_func
  85776. -choke me
  85777. +#if HAVE_ARPA_INET_H
  85778. +#include <arpa/inet.h>
  85779. +#endif
  85780. +#if HAVE_ARPA_NAMESER_H
  85781. +#include <arpa/nameser.h>
  85782. +#endif
  85783. +#if HAVE_RESOLV_H
  85784. +#include <resolv.h>
  85785. #endif
  85786. int
  85787. main ()
  85788. {
  85789. -return $ac_func ();
  85790. +_res.nsaddr_list[0];
  85791. ;
  85792. return 0;
  85793. }
  85794. _ACEOF
  85795. -rm -f conftest.$ac_objext conftest$ac_exeext
  85796. -if { (ac_try="$ac_link"
  85797. -case "(($ac_try" in
  85798. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  85799. - *) ac_try_echo=$ac_try;;
  85800. -esac
  85801. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  85802. -$as_echo "$ac_try_echo") >&5
  85803. - (eval "$ac_link") 2>conftest.er1
  85804. - ac_status=$?
  85805. - grep -v '^ *+' conftest.er1 >conftest.err
  85806. - rm -f conftest.er1
  85807. - cat conftest.err >&5
  85808. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  85809. - (exit $ac_status); } && {
  85810. - test -z "$ac_c_werror_flag" ||
  85811. - test ! -s conftest.err
  85812. - } && test -s conftest$ac_exeext && {
  85813. - test "$cross_compiling" = yes ||
  85814. - $as_test_x conftest$ac_exeext
  85815. - }; then
  85816. - eval "$as_ac_var=yes"
  85817. +if ac_fn_c_try_compile "$LINENO"; then :
  85818. + ac_cv_have_res_nsaddr_list="yes"
  85819. else
  85820. - $as_echo "$as_me: failed program was:" >&5
  85821. -sed 's/^/| /' conftest.$ac_ext >&5
  85822. -
  85823. - eval "$as_ac_var=no"
  85824. + ac_cv_have_res_nsaddr_list="no"
  85825. fi
  85826. -
  85827. -rm -rf conftest.dSYM
  85828. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  85829. - conftest$ac_exeext conftest.$ac_ext
  85830. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  85831. fi
  85832. -ac_res=`eval 'as_val=${'$as_ac_var'}
  85833. - $as_echo "$as_val"'`
  85834. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  85835. -$as_echo "$ac_res" >&6; }
  85836. -if test `eval 'as_val=${'$as_ac_var'}
  85837. - $as_echo "$as_val"'` = yes; then
  85838. - cat >>confdefs.h <<_ACEOF
  85839. -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  85840. -_ACEOF
  85841. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_nsaddr_list" >&5
  85842. +$as_echo "$ac_cv_have_res_nsaddr_list" >&6; }
  85843. +if test $ac_cv_have_res_nsaddr_list = "yes" ; then
  85844. -fi
  85845. -done
  85846. +$as_echo "#define HAVE_RES_NSADDR_LIST 1" >>confdefs.h
  85847. -LIBS="$SAVED_LIBS"
  85848. +fi
  85849. -if test $ac_cv_func_epoll_ctl = yes; then
  85850. - { $as_echo "$as_me:$LINENO: checking if epoll works" >&5
  85851. -$as_echo_n "checking if epoll works... " >&6; }
  85852. -if test "${ac_cv_epoll_works+set}" = set; then
  85853. +if test $ac_cv_have_res_nsaddr_list = "no" ; then
  85854. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _res.ns_list" >&5
  85855. +$as_echo_n "checking for _res.ns_list... " >&6; }
  85856. +if test "${ac_cv_have_res_ns_list+set}" = set; then :
  85857. $as_echo_n "(cached) " >&6
  85858. else
  85859. - if test "$cross_compiling" = yes; then
  85860. - { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  85861. -See \`config.log' for more details." >&5
  85862. -$as_echo "$as_me: error: cannot run test program while cross compiling
  85863. -See \`config.log' for more details." >&2;}
  85864. - { (exit 1); exit 1; }; }
  85865. -else
  85866. - cat >conftest.$ac_ext <<_ACEOF
  85867. -/* confdefs.h. */
  85868. -_ACEOF
  85869. -cat confdefs.h >>conftest.$ac_ext
  85870. -cat >>conftest.$ac_ext <<_ACEOF
  85871. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  85872. /* end confdefs.h. */
  85873. -#include <sys/epoll.h>
  85874. -#include <stdlib.h>
  85875. -#include <stdio.h>
  85876. -int main(int argc, char **argv)
  85877. -{
  85878. - int fd = epoll_create(256);
  85879. - if (fd < 0) {
  85880. - perror("epoll_create:");
  85881. - exit(1);
  85882. - }
  85883. - exit(0);
  85884. -}
  85885. +#if HAVE_SYS_TYPES_H
  85886. +#include <sys/types.h>
  85887. +#endif
  85888. +#if HAVE_NETINET_IN_H
  85889. +#include <netinet/in.h>
  85890. +#endif
  85891. +#if HAVE_ARPA_INET_H
  85892. +#include <arpa/inet.h>
  85893. +#endif
  85894. +#if HAVE_ARPA_NAMESER_H
  85895. +#include <arpa/nameser.h>
  85896. +#endif
  85897. +#if HAVE_RESOLV_H
  85898. +#include <resolv.h>
  85899. +#endif
  85900. -_ACEOF
  85901. -rm -f conftest$ac_exeext
  85902. -if { (ac_try="$ac_link"
  85903. -case "(($ac_try" in
  85904. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  85905. - *) ac_try_echo=$ac_try;;
  85906. -esac
  85907. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  85908. -$as_echo "$ac_try_echo") >&5
  85909. - (eval "$ac_link") 2>&5
  85910. - ac_status=$?
  85911. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  85912. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  85913. - { (case "(($ac_try" in
  85914. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  85915. - *) ac_try_echo=$ac_try;;
  85916. -esac
  85917. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  85918. -$as_echo "$ac_try_echo") >&5
  85919. - (eval "$ac_try") 2>&5
  85920. - ac_status=$?
  85921. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  85922. - (exit $ac_status); }; }; then
  85923. - ac_cv_epoll_works=yes
  85924. +int
  85925. +main ()
  85926. +{
  85927. +_res.ns_list[0].addr;
  85928. + ;
  85929. + return 0;
  85930. +}
  85931. +_ACEOF
  85932. +if ac_fn_c_try_compile "$LINENO"; then :
  85933. + ac_cv_have_res_ns_list="yes"
  85934. else
  85935. - $as_echo "$as_me: program exited with status $ac_status" >&5
  85936. -$as_echo "$as_me: failed program was:" >&5
  85937. -sed 's/^/| /' conftest.$ac_ext >&5
  85938. -
  85939. -( exit $ac_status )
  85940. -ac_cv_epoll_works=no
  85941. + ac_cv_have_res_ns_list="no"
  85942. fi
  85943. -rm -rf conftest.dSYM
  85944. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  85945. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  85946. fi
  85947. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_ns_list" >&5
  85948. +$as_echo "$ac_cv_have_res_ns_list" >&6; }
  85949. +if test $ac_cv_have_res_ns_list = "yes" ; then
  85950. +$as_echo "#define HAVE_RES_NS_LIST 1" >>confdefs.h
  85951. fi
  85952. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_epoll_works" >&5
  85953. -$as_echo "$ac_cv_epoll_works" >&6; }
  85954. fi
  85955. +XTRA_OBJS=''
  85956. +if test "$ac_cv_lib_malloc_main" = "yes" ; then
  85957. + if test -r /usr/lib/debug/malloc.o ; then
  85958. + XTRA_OBJS="$XTRA_OBJS /usr/lib/debug/malloc.o"
  85959. + fi
  85960. + if test -r /usr/lib/debug/mallocmap.o ; then
  85961. + XTRA_OBJS="$XTRA_OBJS /usr/lib/debug/mallocmap.o"
  85962. + fi
  85963. +fi
  85964. -if test -n "$SELECT_TYPE"; then
  85965. - : # Already decided above. Nothing to do here
  85966. -elif test -z "$disable_epoll" && test "$ac_cv_epoll_works" = "yes" ; then
  85967. - SELECT_TYPE="epoll"
  85968. -elif test -z "$disable_kqueue" && test "$ac_cv_func_kqueue" = "yes" ; then
  85969. - SELECT_TYPE="kqueue"
  85970. -elif test -z "$disable_poll" && test "$ac_cv_func_poll" = "yes" ; then
  85971. - SELECT_TYPE="poll"
  85972. -elif test -z "$disable_select" && test "$ac_cv_func_select" = "yes" ; then
  85973. - case "$host_os" in
  85974. - mingw|mingw32)
  85975. - SELECT_TYPE="select_win32"
  85976. - ;;
  85977. - *)
  85978. - SELECT_TYPE="select"
  85979. - ;;
  85980. - esac
  85981. -else
  85982. - echo "Eep! Can't find poll, kqueue, epoll, or select!"
  85983. - echo "I'll try select and hope for the best."
  85984. - SELECT_TYPE="select"
  85985. - cat >>confdefs.h <<\_ACEOF
  85986. -#define USE_SELECT 1
  85987. -_ACEOF
  85988. +if test -z "$XTRA_LIBS"; then
  85989. + XTRA_LIBS="$LIBS"
  85990. + XTRA_LIBS=`echo $XTRA_LIBS | sed -e "s/ */ /g"`
  85991. + LIBS=''
  85992. fi
  85993. -echo "Using ${SELECT_TYPE} for the IO loop."
  85994. - if test $SELECT_TYPE = poll; then
  85995. - USE_POLL_TRUE=
  85996. - USE_POLL_FALSE='#'
  85997. -else
  85998. - USE_POLL_TRUE='#'
  85999. - USE_POLL_FALSE=
  86000. -fi
  86001. +rm -f core
  86002. - if test $SELECT_TYPE = epoll; then
  86003. - USE_EPOLL_TRUE=
  86004. - USE_EPOLL_FALSE='#'
  86005. -else
  86006. - USE_EPOLL_TRUE='#'
  86007. - USE_EPOLL_FALSE=
  86008. -fi
  86009. +ac_config_files="$ac_config_files Makefile lib/Makefile scripts/Makefile scripts/RunCache scripts/RunAccel src/Makefile src/fs/Makefile src/repl/Makefile src/auth/Makefile contrib/Makefile snmplib/Makefile icons/Makefile errors/Makefile test-suite/Makefile doc/Makefile helpers/Makefile helpers/basic_auth/Makefile helpers/basic_auth/LDAP/Makefile helpers/basic_auth/MSNT/Makefile helpers/basic_auth/NCSA/Makefile helpers/basic_auth/PAM/Makefile helpers/basic_auth/SMB/Makefile helpers/basic_auth/mswin_sspi/Makefile helpers/basic_auth/YP/Makefile helpers/basic_auth/getpwnam/Makefile helpers/basic_auth/multi-domain-NTLM/Makefile helpers/basic_auth/SASL/Makefile helpers/basic_auth/POP3/Makefile helpers/basic_auth/DB/Makefile helpers/basic_auth/squid_radius_auth/Makefile helpers/digest_auth/Makefile helpers/digest_auth/password/Makefile helpers/digest_auth/ldap/Makefile helpers/digest_auth/eDirectory/Makefile helpers/ntlm_auth/Makefile helpers/ntlm_auth/fakeauth/Makefile helpers/ntlm_auth/no_check/Makefile helpers/ntlm_auth/SMB/Makefile helpers/ntlm_auth/SMB/smbval/Makefile helpers/ntlm_auth/mswin_sspi/Makefile helpers/negotiate_auth/Makefile helpers/negotiate_auth/mswin_sspi/Makefile helpers/negotiate_auth/squid_kerb_auth/Makefile helpers/external_acl/Makefile helpers/external_acl/ip_user/Makefile helpers/external_acl/ldap_group/Makefile helpers/external_acl/session/Makefile helpers/external_acl/unix_group/Makefile helpers/external_acl/wbinfo_group/Makefile helpers/external_acl/mswin_ad_group/Makefile helpers/external_acl/mswin_lm_group/Makefile tools/Makefile"
  86010. - if test $SELECT_TYPE = select; then
  86011. - USE_SELECT_TRUE=
  86012. - USE_SELECT_FALSE='#'
  86013. -else
  86014. - USE_SELECT_TRUE='#'
  86015. - USE_SELECT_FALSE=
  86016. -fi
  86017. - if test $SELECT_TYPE = select_simple; then
  86018. - USE_SELECT_SIMPLE_TRUE=
  86019. - USE_SELECT_SIMPLE_FALSE='#'
  86020. -else
  86021. - USE_SELECT_SIMPLE_TRUE='#'
  86022. - USE_SELECT_SIMPLE_FALSE=
  86023. -fi
  86024. - if test $SELECT_TYPE = select_win32; then
  86025. - USE_SELECT_WIN32_TRUE=
  86026. - USE_SELECT_WIN32_FALSE='#'
  86027. -else
  86028. - USE_SELECT_WIN32_TRUE='#'
  86029. - USE_SELECT_WIN32_FALSE=
  86030. +
  86031. +subdirs="$subdirs lib/libTrie"
  86032. +
  86033. +
  86034. +cat >confcache <<\_ACEOF
  86035. +# This file is a shell script that caches the results of configure
  86036. +# tests run on this system so they can be shared between configure
  86037. +# scripts and configure runs, see configure's option --config-cache.
  86038. +# It is not useful on other systems. If it contains results you don't
  86039. +# want to keep, you may remove or edit it.
  86040. +#
  86041. +# config.status only pays attention to the cache file if you give it
  86042. +# the --recheck option to rerun configure.
  86043. +#
  86044. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  86045. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  86046. +# following values.
  86047. +
  86048. +_ACEOF
  86049. +
  86050. +# The following way of writing the cache mishandles newlines in values,
  86051. +# but we know of no workaround that is simple, portable, and efficient.
  86052. +# So, we kill variables containing newlines.
  86053. +# Ultrix sh set writes to stderr and can't be redirected directly,
  86054. +# and sets the high bit in the cache file unless we assign to the vars.
  86055. +(
  86056. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  86057. + eval ac_val=\$$ac_var
  86058. + case $ac_val in #(
  86059. + *${as_nl}*)
  86060. + case $ac_var in #(
  86061. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  86062. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  86063. + esac
  86064. + case $ac_var in #(
  86065. + _ | IFS | as_nl) ;; #(
  86066. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  86067. + *) { eval $ac_var=; unset $ac_var;} ;;
  86068. + esac ;;
  86069. + esac
  86070. + done
  86071. +
  86072. + (set) 2>&1 |
  86073. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  86074. + *${as_nl}ac_space=\ *)
  86075. + # `set' does not quote correctly, so add quotes: double-quote
  86076. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  86077. + sed -n \
  86078. + "s/'/'\\\\''/g;
  86079. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  86080. + ;; #(
  86081. + *)
  86082. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  86083. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  86084. + ;;
  86085. + esac |
  86086. + sort
  86087. +) |
  86088. + sed '
  86089. + /^ac_cv_env_/b end
  86090. + t clear
  86091. + :clear
  86092. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  86093. + t end
  86094. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  86095. + :end' >>confcache
  86096. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  86097. + if test -w "$cache_file"; then
  86098. + test "x$cache_file" != "x/dev/null" &&
  86099. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  86100. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  86101. + cat confcache >$cache_file
  86102. + else
  86103. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  86104. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  86105. + fi
  86106. fi
  86107. +rm -f confcache
  86108. - if test $SELECT_TYPE = kqueue; then
  86109. - USE_KQUEUE_TRUE=
  86110. - USE_KQUEUE_FALSE='#'
  86111. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  86112. +# Let make expand exec_prefix.
  86113. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  86114. +
  86115. +DEFS=-DHAVE_CONFIG_H
  86116. +
  86117. +ac_libobjs=
  86118. +ac_ltlibobjs=
  86119. +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  86120. + # 1. Remove the extension, and $U if already installed.
  86121. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  86122. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  86123. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  86124. + # will be set to the directory where LIBOBJS objects are built.
  86125. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  86126. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  86127. +done
  86128. +LIBOBJS=$ac_libobjs
  86129. +
  86130. +LTLIBOBJS=$ac_ltlibobjs
  86131. +
  86132. +
  86133. + if test -n "$EXEEXT"; then
  86134. + am__EXEEXT_TRUE=
  86135. + am__EXEEXT_FALSE='#'
  86136. else
  86137. - USE_KQUEUE_TRUE='#'
  86138. - USE_KQUEUE_FALSE=
  86139. + am__EXEEXT_TRUE='#'
  86140. + am__EXEEXT_FALSE=
  86141. fi
  86142. - if test $SELECT_TYPE = devpoll; then
  86143. - USE_DEVPOLL_TRUE=
  86144. - USE_DEVPOLL_FALSE='#'
  86145. -else
  86146. - USE_DEVPOLL_TRUE='#'
  86147. - USE_DEVPOLL_FALSE=
  86148. +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  86149. + as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
  86150. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86151. +fi
  86152. +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  86153. + as_fn_error "conditional \"AMDEP\" was never defined.
  86154. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86155. +fi
  86156. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  86157. + as_fn_error "conditional \"am__fastdepCC\" was never defined.
  86158. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86159. +fi
  86160. +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  86161. + as_fn_error "conditional \"am__fastdepCXX\" was never defined.
  86162. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86163. +fi
  86164. +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  86165. + as_fn_error "conditional \"am__fastdepCXX\" was never defined.
  86166. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86167. +fi
  86168. +if test -z "${ENABLE_WIN32SPECIFIC_TRUE}" && test -z "${ENABLE_WIN32SPECIFIC_FALSE}"; then
  86169. + as_fn_error "conditional \"ENABLE_WIN32SPECIFIC\" was never defined.
  86170. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86171. +fi
  86172. +if test -z "${ENABLE_WIN32SPECIFIC_TRUE}" && test -z "${ENABLE_WIN32SPECIFIC_FALSE}"; then
  86173. + as_fn_error "conditional \"ENABLE_WIN32SPECIFIC\" was never defined.
  86174. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86175. +fi
  86176. +if test -z "${USE_IPC_WIN32_TRUE}" && test -z "${USE_IPC_WIN32_FALSE}"; then
  86177. + as_fn_error "conditional \"USE_IPC_WIN32\" was never defined.
  86178. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86179. +fi
  86180. +if test -z "${USE_IPC_WIN32_TRUE}" && test -z "${USE_IPC_WIN32_FALSE}"; then
  86181. + as_fn_error "conditional \"USE_IPC_WIN32\" was never defined.
  86182. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86183. +fi
  86184. +if test -z "${USE_AIOPS_WIN32_TRUE}" && test -z "${USE_AIOPS_WIN32_FALSE}"; then
  86185. + as_fn_error "conditional \"USE_AIOPS_WIN32\" was never defined.
  86186. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86187. +fi
  86188. +if test -z "${USE_AIO_WIN32_TRUE}" && test -z "${USE_AIO_WIN32_FALSE}"; then
  86189. + as_fn_error "conditional \"USE_AIO_WIN32\" was never defined.
  86190. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86191. +fi
  86192. +if test -z "${ENABLE_PINGER_TRUE}" && test -z "${ENABLE_PINGER_FALSE}"; then
  86193. + as_fn_error "conditional \"ENABLE_PINGER\" was never defined.
  86194. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86195. +fi
  86196. +if test -z "${ENABLE_PINGER_TRUE}" && test -z "${ENABLE_PINGER_FALSE}"; then
  86197. + as_fn_error "conditional \"ENABLE_PINGER\" was never defined.
  86198. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86199. +fi
  86200. +if test -z "${USE_DELAY_POOLS_TRUE}" && test -z "${USE_DELAY_POOLS_FALSE}"; then
  86201. + as_fn_error "conditional \"USE_DELAY_POOLS\" was never defined.
  86202. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86203. +fi
  86204. +if test -z "${USE_DELAY_POOLS_TRUE}" && test -z "${USE_DELAY_POOLS_FALSE}"; then
  86205. + as_fn_error "conditional \"USE_DELAY_POOLS\" was never defined.
  86206. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86207. +fi
  86208. +if test -z "${USE_ESI_TRUE}" && test -z "${USE_ESI_FALSE}"; then
  86209. + as_fn_error "conditional \"USE_ESI\" was never defined.
  86210. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86211. +fi
  86212. +if test -z "${USE_ESI_TRUE}" && test -z "${USE_ESI_FALSE}"; then
  86213. + as_fn_error "conditional \"USE_ESI\" was never defined.
  86214. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86215. +fi
  86216. +if test -z "${USE_ICAP_CLIENT_TRUE}" && test -z "${USE_ICAP_CLIENT_FALSE}"; then
  86217. + as_fn_error "conditional \"USE_ICAP_CLIENT\" was never defined.
  86218. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86219. +fi
  86220. +if test -z "${USE_ICAP_CLIENT_TRUE}" && test -z "${USE_ICAP_CLIENT_FALSE}"; then
  86221. + as_fn_error "conditional \"USE_ICAP_CLIENT\" was never defined.
  86222. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86223. +fi
  86224. +if test -z "${USE_SNMP_TRUE}" && test -z "${USE_SNMP_FALSE}"; then
  86225. + as_fn_error "conditional \"USE_SNMP\" was never defined.
  86226. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86227. +fi
  86228. +if test -z "${ENABLE_ARP_ACL_TRUE}" && test -z "${ENABLE_ARP_ACL_FALSE}"; then
  86229. + as_fn_error "conditional \"ENABLE_ARP_ACL\" was never defined.
  86230. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86231. +fi
  86232. +if test -z "${ENABLE_ARP_ACL_TRUE}" && test -z "${ENABLE_ARP_ACL_FALSE}"; then
  86233. + as_fn_error "conditional \"ENABLE_ARP_ACL\" was never defined.
  86234. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86235. +fi
  86236. +if test -z "${ENABLE_HTCP_TRUE}" && test -z "${ENABLE_HTCP_FALSE}"; then
  86237. + as_fn_error "conditional \"ENABLE_HTCP\" was never defined.
  86238. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86239. +fi
  86240. +if test -z "${ENABLE_HTCP_TRUE}" && test -z "${ENABLE_HTCP_FALSE}"; then
  86241. + as_fn_error "conditional \"ENABLE_HTCP\" was never defined.
  86242. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86243. +fi
  86244. +if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
  86245. + as_fn_error "conditional \"ENABLE_SSL\" was never defined.
  86246. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86247. +fi
  86248. +if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
  86249. + as_fn_error "conditional \"ENABLE_SSL\" was never defined.
  86250. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86251. +fi
  86252. +if test -z "${MAKE_LEAKFINDER_TRUE}" && test -z "${MAKE_LEAKFINDER_FALSE}"; then
  86253. + as_fn_error "conditional \"MAKE_LEAKFINDER\" was never defined.
  86254. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86255. +fi
  86256. +if test -z "${MAKE_LEAKFINDER_TRUE}" && test -z "${MAKE_LEAKFINDER_FALSE}"; then
  86257. + as_fn_error "conditional \"MAKE_LEAKFINDER\" was never defined.
  86258. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86259. +fi
  86260. +if test -z "${ENABLE_IDENT_TRUE}" && test -z "${ENABLE_IDENT_FALSE}"; then
  86261. + as_fn_error "conditional \"ENABLE_IDENT\" was never defined.
  86262. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86263. +fi
  86264. +if test -z "${ENABLE_IDENT_TRUE}" && test -z "${ENABLE_IDENT_FALSE}"; then
  86265. + as_fn_error "conditional \"ENABLE_IDENT\" was never defined.
  86266. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86267. +fi
  86268. +if test -z "${USE_DNSSERVER_TRUE}" && test -z "${USE_DNSSERVER_FALSE}"; then
  86269. + as_fn_error "conditional \"USE_DNSSERVER\" was never defined.
  86270. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86271. +fi
  86272. +if test -z "${USE_DNSSERVER_TRUE}" && test -z "${USE_DNSSERVER_FALSE}"; then
  86273. + as_fn_error "conditional \"USE_DNSSERVER\" was never defined.
  86274. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86275. +fi
  86276. +if test -z "${HAVE_SPNEGO_TRUE}" && test -z "${HAVE_SPNEGO_FALSE}"; then
  86277. + as_fn_error "conditional \"HAVE_SPNEGO\" was never defined.
  86278. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86279. +fi
  86280. +if test -z "${ENABLE_UNLINKD_TRUE}" && test -z "${ENABLE_UNLINKD_FALSE}"; then
  86281. + as_fn_error "conditional \"ENABLE_UNLINKD\" was never defined.
  86282. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86283. +fi
  86284. +if test -z "${ENABLE_UNLINKD_TRUE}" && test -z "${ENABLE_UNLINKD_FALSE}"; then
  86285. + as_fn_error "conditional \"ENABLE_UNLINKD\" was never defined.
  86286. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86287. +fi
  86288. +if test -z "${ENABLE_XPROF_STATS_TRUE}" && test -z "${ENABLE_XPROF_STATS_FALSE}"; then
  86289. + as_fn_error "conditional \"ENABLE_XPROF_STATS\" was never defined.
  86290. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86291. +fi
  86292. +if test -z "${ENABLE_XPROF_STATS_TRUE}" && test -z "${ENABLE_XPROF_STATS_FALSE}"; then
  86293. + as_fn_error "conditional \"ENABLE_XPROF_STATS\" was never defined.
  86294. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86295. fi
  86296. -
  86297. -case $SELECT_TYPE in
  86298. -epoll)
  86299. -
  86300. -cat >>confdefs.h <<\_ACEOF
  86301. -#define USE_EPOLL 1
  86302. -_ACEOF
  86303. -
  86304. - ;;
  86305. -poll)
  86306. -
  86307. -cat >>confdefs.h <<\_ACEOF
  86308. -#define USE_POLL 1
  86309. -_ACEOF
  86310. -
  86311. - ;;
  86312. -kqueue)
  86313. -
  86314. -cat >>confdefs.h <<\_ACEOF
  86315. -#define USE_KQUEUE 1
  86316. -_ACEOF
  86317. -
  86318. - ;;
  86319. -select_win32)
  86320. -
  86321. -cat >>confdefs.h <<\_ACEOF
  86322. -#define USE_SELECT_WIN32 1
  86323. -_ACEOF
  86324. -
  86325. - ;;
  86326. -select)
  86327. -
  86328. -cat >>confdefs.h <<\_ACEOF
  86329. -#define USE_SELECT 1
  86330. -_ACEOF
  86331. -
  86332. - ;;
  86333. -esac
  86334. -
  86335. -
  86336. -
  86337. -{ $as_echo "$as_me:$LINENO: checking if setresuid is implemented" >&5
  86338. -$as_echo_n "checking if setresuid is implemented... " >&6; }
  86339. -if test "${ac_cv_func_setresuid+set}" = set; then
  86340. - $as_echo_n "(cached) " >&6
  86341. -else
  86342. - if test "$cross_compiling" = yes; then
  86343. - { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  86344. -See \`config.log' for more details." >&5
  86345. -$as_echo "$as_me: error: cannot run test program while cross compiling
  86346. -See \`config.log' for more details." >&2;}
  86347. - { (exit 1); exit 1; }; }
  86348. -else
  86349. - cat >conftest.$ac_ext <<_ACEOF
  86350. -/* confdefs.h. */
  86351. -_ACEOF
  86352. -cat confdefs.h >>conftest.$ac_ext
  86353. -cat >>conftest.$ac_ext <<_ACEOF
  86354. -/* end confdefs.h. */
  86355. -
  86356. -#include <stdlib.h>
  86357. - int main() {
  86358. - if(setresuid(-1,-1,-1)) {
  86359. - perror("setresuid:");
  86360. - exit(1);
  86361. - }
  86362. - exit(0);
  86363. - }
  86364. -
  86365. -_ACEOF
  86366. -rm -f conftest$ac_exeext
  86367. -if { (ac_try="$ac_link"
  86368. -case "(($ac_try" in
  86369. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  86370. - *) ac_try_echo=$ac_try;;
  86371. -esac
  86372. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  86373. -$as_echo "$ac_try_echo") >&5
  86374. - (eval "$ac_link") 2>&5
  86375. - ac_status=$?
  86376. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  86377. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  86378. - { (case "(($ac_try" in
  86379. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  86380. - *) ac_try_echo=$ac_try;;
  86381. -esac
  86382. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  86383. -$as_echo "$ac_try_echo") >&5
  86384. - (eval "$ac_try") 2>&5
  86385. - ac_status=$?
  86386. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  86387. - (exit $ac_status); }; }; then
  86388. - ac_cv_func_setresuid="yes"
  86389. -else
  86390. - $as_echo "$as_me: program exited with status $ac_status" >&5
  86391. -$as_echo "$as_me: failed program was:" >&5
  86392. -sed 's/^/| /' conftest.$ac_ext >&5
  86393. -
  86394. -( exit $ac_status )
  86395. -ac_cv_func_setresuid="no"
  86396. +if test -z "${USE_POLL_TRUE}" && test -z "${USE_POLL_FALSE}"; then
  86397. + as_fn_error "conditional \"USE_POLL\" was never defined.
  86398. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86399. fi
  86400. -rm -rf conftest.dSYM
  86401. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  86402. +if test -z "${USE_EPOLL_TRUE}" && test -z "${USE_EPOLL_FALSE}"; then
  86403. + as_fn_error "conditional \"USE_EPOLL\" was never defined.
  86404. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86405. fi
  86406. -
  86407. -
  86408. -
  86409. +if test -z "${USE_SELECT_TRUE}" && test -z "${USE_SELECT_FALSE}"; then
  86410. + as_fn_error "conditional \"USE_SELECT\" was never defined.
  86411. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86412. fi
  86413. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_setresuid" >&5
  86414. -$as_echo "$ac_cv_func_setresuid" >&6; }
  86415. -if test "$ac_cv_func_setresuid" = "yes" ; then
  86416. -
  86417. -cat >>confdefs.h <<\_ACEOF
  86418. -#define HAVE_SETRESUID 1
  86419. -_ACEOF
  86420. -
  86421. +if test -z "${USE_SELECT_SIMPLE_TRUE}" && test -z "${USE_SELECT_SIMPLE_FALSE}"; then
  86422. + as_fn_error "conditional \"USE_SELECT_SIMPLE\" was never defined.
  86423. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86424. +fi
  86425. +if test -z "${USE_SELECT_WIN32_TRUE}" && test -z "${USE_SELECT_WIN32_FALSE}"; then
  86426. + as_fn_error "conditional \"USE_SELECT_WIN32\" was never defined.
  86427. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86428. +fi
  86429. +if test -z "${USE_KQUEUE_TRUE}" && test -z "${USE_KQUEUE_FALSE}"; then
  86430. + as_fn_error "conditional \"USE_KQUEUE\" was never defined.
  86431. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86432. +fi
  86433. +if test -z "${USE_DEVPOLL_TRUE}" && test -z "${USE_DEVPOLL_FALSE}"; then
  86434. + as_fn_error "conditional \"USE_DEVPOLL\" was never defined.
  86435. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  86436. fi
  86437. -{ $as_echo "$as_me:$LINENO: checking if strnstr is well implemented" >&5
  86438. -$as_echo_n "checking if strnstr is well implemented... " >&6; }
  86439. -if test "${ac_cv_func_strnstr+set}" = set; then
  86440. - $as_echo_n "(cached) " >&6
  86441. -else
  86442. - if test "$cross_compiling" = yes; then
  86443. - { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  86444. -See \`config.log' for more details." >&5
  86445. -$as_echo "$as_me: error: cannot run test program while cross compiling
  86446. -See \`config.log' for more details." >&2;}
  86447. - { (exit 1); exit 1; }; }
  86448. -else
  86449. - cat >conftest.$ac_ext <<_ACEOF
  86450. -/* confdefs.h. */
  86451. -_ACEOF
  86452. -cat confdefs.h >>conftest.$ac_ext
  86453. -cat >>conftest.$ac_ext <<_ACEOF
  86454. -/* end confdefs.h. */
  86455. +: ${CONFIG_STATUS=./config.status}
  86456. +ac_write_fail=0
  86457. +ac_clean_files_save=$ac_clean_files
  86458. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  86459. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  86460. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  86461. +as_write_fail=0
  86462. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  86463. +#! $SHELL
  86464. +# Generated by $as_me.
  86465. +# Run this file to recreate the current configuration.
  86466. +# Compiler output produced by configure, useful for debugging
  86467. +# configure, is in config.log if it exists.
  86468. -#include <stdlib.h>
  86469. -#include <stdio.h>
  86470. -#include <string.h>
  86471. - // we expect this to succeed, or crash on over-run.
  86472. - // if it passes otherwise we may need a better check.
  86473. -int main(int argc, char **argv)
  86474. -{
  86475. - int size = 20;
  86476. - char *str = malloc(size);
  86477. - memset(str, 'x', size);
  86478. - strnstr(str, "fubar", size);
  86479. - return 0;
  86480. -}
  86481. +debug=false
  86482. +ac_cs_recheck=false
  86483. +ac_cs_silent=false
  86484. -_ACEOF
  86485. -rm -f conftest$ac_exeext
  86486. -if { (ac_try="$ac_link"
  86487. -case "(($ac_try" in
  86488. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  86489. - *) ac_try_echo=$ac_try;;
  86490. -esac
  86491. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  86492. -$as_echo "$ac_try_echo") >&5
  86493. - (eval "$ac_link") 2>&5
  86494. - ac_status=$?
  86495. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  86496. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  86497. - { (case "(($ac_try" in
  86498. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  86499. - *) ac_try_echo=$ac_try;;
  86500. -esac
  86501. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  86502. -$as_echo "$ac_try_echo") >&5
  86503. - (eval "$ac_try") 2>&5
  86504. - ac_status=$?
  86505. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  86506. - (exit $ac_status); }; }; then
  86507. - ac_cv_func_strnstr="yes"
  86508. -else
  86509. - $as_echo "$as_me: program exited with status $ac_status" >&5
  86510. -$as_echo "$as_me: failed program was:" >&5
  86511. -sed 's/^/| /' conftest.$ac_ext >&5
  86512. +SHELL=\${CONFIG_SHELL-$SHELL}
  86513. +export SHELL
  86514. +_ASEOF
  86515. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  86516. +## -------------------- ##
  86517. +## M4sh Initialization. ##
  86518. +## -------------------- ##
  86519. -( exit $ac_status )
  86520. -ac_cv_func_strnstr="no"
  86521. -fi
  86522. -rm -rf conftest.dSYM
  86523. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  86524. +# Be more Bourne compatible
  86525. +DUALCASE=1; export DUALCASE # for MKS sh
  86526. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  86527. + emulate sh
  86528. + NULLCMD=:
  86529. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  86530. + # is contrary to our usage. Disable this feature.
  86531. + alias -g '${1+"$@"}'='"$@"'
  86532. + setopt NO_GLOB_SUBST
  86533. +else
  86534. + case `(set -o) 2>/dev/null` in #(
  86535. + *posix*) :
  86536. + set -o posix ;; #(
  86537. + *) :
  86538. + ;;
  86539. +esac
  86540. fi
  86541. +as_nl='
  86542. +'
  86543. +export as_nl
  86544. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  86545. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  86546. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  86547. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  86548. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  86549. +# but without wasting forks for bash or zsh.
  86550. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  86551. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  86552. + as_echo='print -r --'
  86553. + as_echo_n='print -rn --'
  86554. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  86555. + as_echo='printf %s\n'
  86556. + as_echo_n='printf %s'
  86557. +else
  86558. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  86559. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  86560. + as_echo_n='/usr/ucb/echo -n'
  86561. + else
  86562. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  86563. + as_echo_n_body='eval
  86564. + arg=$1;
  86565. + case $arg in #(
  86566. + *"$as_nl"*)
  86567. + expr "X$arg" : "X\\(.*\\)$as_nl";
  86568. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  86569. + esac;
  86570. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  86571. + '
  86572. + export as_echo_n_body
  86573. + as_echo_n='sh -c $as_echo_n_body as_echo'
  86574. + fi
  86575. + export as_echo_body
  86576. + as_echo='sh -c $as_echo_body as_echo'
  86577. +fi
  86578. +# The user is always right.
  86579. +if test "${PATH_SEPARATOR+set}" != set; then
  86580. + PATH_SEPARATOR=:
  86581. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  86582. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  86583. + PATH_SEPARATOR=';'
  86584. + }
  86585. fi
  86586. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_strnstr" >&5
  86587. -$as_echo "$ac_cv_func_strnstr" >&6; }
  86588. -if test "$ac_cv_func_strnstr" = "yes" ; then
  86589. -cat >>confdefs.h <<\_ACEOF
  86590. -#define HAVE_STRNSTR 1
  86591. -_ACEOF
  86592. -else
  86593. +# IFS
  86594. +# We need space, tab and new line, in precisely that order. Quoting is
  86595. +# there to prevent editors from complaining about space-tab.
  86596. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  86597. +# splitting by setting IFS to empty value.)
  86598. +IFS=" "" $as_nl"
  86599. -cat >>confdefs.h <<\_ACEOF
  86600. -#define HAVE_STRNSTR 0
  86601. -_ACEOF
  86602. +# Find who we are. Look in the path if we contain no directory separator.
  86603. +case $0 in #((
  86604. + *[\\/]* ) as_myself=$0 ;;
  86605. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  86606. +for as_dir in $PATH
  86607. +do
  86608. + IFS=$as_save_IFS
  86609. + test -z "$as_dir" && as_dir=.
  86610. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  86611. + done
  86612. +IFS=$as_save_IFS
  86613. + ;;
  86614. +esac
  86615. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  86616. +# in which case we are not to be found in the path.
  86617. +if test "x$as_myself" = x; then
  86618. + as_myself=$0
  86619. +fi
  86620. +if test ! -f "$as_myself"; then
  86621. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  86622. + exit 1
  86623. fi
  86624. -{ $as_echo "$as_me:$LINENO: checking if va_copy is implemented" >&5
  86625. -$as_echo_n "checking if va_copy is implemented... " >&6; }
  86626. -if test "${ac_cv_func_va_copy+set}" = set; then
  86627. - $as_echo_n "(cached) " >&6
  86628. -else
  86629. - if test "$cross_compiling" = yes; then
  86630. - { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  86631. -See \`config.log' for more details." >&5
  86632. -$as_echo "$as_me: error: cannot run test program while cross compiling
  86633. -See \`config.log' for more details." >&2;}
  86634. - { (exit 1); exit 1; }; }
  86635. -else
  86636. - cat >conftest.$ac_ext <<_ACEOF
  86637. -/* confdefs.h. */
  86638. -_ACEOF
  86639. -cat confdefs.h >>conftest.$ac_ext
  86640. -cat >>conftest.$ac_ext <<_ACEOF
  86641. -/* end confdefs.h. */
  86642. -
  86643. - #include <stdarg.h>
  86644. - void f (int i, ...) {
  86645. - va_list args1, args2;
  86646. - va_start (args1, i);
  86647. - va_copy (args2, args1);
  86648. - if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
  86649. - exit (1);
  86650. - va_end (args1); va_end (args2);
  86651. - }
  86652. - int main() {
  86653. - f (0, 42);
  86654. - return 0;
  86655. - }
  86656. +# Unset variables that we do not need and which cause bugs (e.g. in
  86657. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  86658. +# suppresses any "Segmentation fault" message there. '((' could
  86659. +# trigger a bug in pdksh 5.2.14.
  86660. +for as_var in BASH_ENV ENV MAIL MAILPATH
  86661. +do eval test x\${$as_var+set} = xset \
  86662. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  86663. +done
  86664. +PS1='$ '
  86665. +PS2='> '
  86666. +PS4='+ '
  86667. -_ACEOF
  86668. -rm -f conftest$ac_exeext
  86669. -if { (ac_try="$ac_link"
  86670. -case "(($ac_try" in
  86671. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  86672. - *) ac_try_echo=$ac_try;;
  86673. -esac
  86674. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  86675. -$as_echo "$ac_try_echo") >&5
  86676. - (eval "$ac_link") 2>&5
  86677. - ac_status=$?
  86678. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  86679. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  86680. - { (case "(($ac_try" in
  86681. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  86682. - *) ac_try_echo=$ac_try;;
  86683. -esac
  86684. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  86685. -$as_echo "$ac_try_echo") >&5
  86686. - (eval "$ac_try") 2>&5
  86687. - ac_status=$?
  86688. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  86689. - (exit $ac_status); }; }; then
  86690. - ac_cv_func_va_copy="yes"
  86691. -else
  86692. - $as_echo "$as_me: program exited with status $ac_status" >&5
  86693. -$as_echo "$as_me: failed program was:" >&5
  86694. -sed 's/^/| /' conftest.$ac_ext >&5
  86695. +# NLS nuisances.
  86696. +LC_ALL=C
  86697. +export LC_ALL
  86698. +LANGUAGE=C
  86699. +export LANGUAGE
  86700. -( exit $ac_status )
  86701. -ac_cv_func_va_copy="no"
  86702. -fi
  86703. -rm -rf conftest.dSYM
  86704. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  86705. -fi
  86706. +# CDPATH.
  86707. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  86708. +# as_fn_error ERROR [LINENO LOG_FD]
  86709. +# ---------------------------------
  86710. +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  86711. +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  86712. +# script with status $?, using 1 if that was 0.
  86713. +as_fn_error ()
  86714. +{
  86715. + as_status=$?; test $as_status -eq 0 && as_status=1
  86716. + if test "$3"; then
  86717. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  86718. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  86719. + fi
  86720. + $as_echo "$as_me: error: $1" >&2
  86721. + as_fn_exit $as_status
  86722. +} # as_fn_error
  86723. +
  86724. +
  86725. +# as_fn_set_status STATUS
  86726. +# -----------------------
  86727. +# Set $? to STATUS, without forking.
  86728. +as_fn_set_status ()
  86729. +{
  86730. + return $1
  86731. +} # as_fn_set_status
  86732. +
  86733. +# as_fn_exit STATUS
  86734. +# -----------------
  86735. +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  86736. +as_fn_exit ()
  86737. +{
  86738. + set +e
  86739. + as_fn_set_status $1
  86740. + exit $1
  86741. +} # as_fn_exit
  86742. +
  86743. +# as_fn_unset VAR
  86744. +# ---------------
  86745. +# Portably unset VAR.
  86746. +as_fn_unset ()
  86747. +{
  86748. + { eval $1=; unset $1;}
  86749. +}
  86750. +as_unset=as_fn_unset
  86751. +# as_fn_append VAR VALUE
  86752. +# ----------------------
  86753. +# Append the text in VALUE to the end of the definition contained in VAR. Take
  86754. +# advantage of any shell optimizations that allow amortized linear growth over
  86755. +# repeated appends, instead of the typical quadratic growth present in naive
  86756. +# implementations.
  86757. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  86758. + eval 'as_fn_append ()
  86759. + {
  86760. + eval $1+=\$2
  86761. + }'
  86762. +else
  86763. + as_fn_append ()
  86764. + {
  86765. + eval $1=\$$1\$2
  86766. + }
  86767. +fi # as_fn_append
  86768. -fi
  86769. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_va_copy" >&5
  86770. -$as_echo "$ac_cv_func_va_copy" >&6; }
  86771. -if test "$ac_cv_func_va_copy" = "yes" ; then
  86772. +# as_fn_arith ARG...
  86773. +# ------------------
  86774. +# Perform arithmetic evaluation on the ARGs, and store the result in the
  86775. +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  86776. +# must be portable across $(()) and expr.
  86777. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  86778. + eval 'as_fn_arith ()
  86779. + {
  86780. + as_val=$(( $* ))
  86781. + }'
  86782. +else
  86783. + as_fn_arith ()
  86784. + {
  86785. + as_val=`expr "$@" || test $? -eq 1`
  86786. + }
  86787. +fi # as_fn_arith
  86788. -cat >>confdefs.h <<\_ACEOF
  86789. -#define HAVE_VA_COPY 1
  86790. -_ACEOF
  86791. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  86792. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  86793. + as_expr=expr
  86794. +else
  86795. + as_expr=false
  86796. fi
  86797. -{ $as_echo "$as_me:$LINENO: checking if __va_copy is implemented" >&5
  86798. -$as_echo_n "checking if __va_copy is implemented... " >&6; }
  86799. -if test "${ac_cv_func___va_copy+set}" = set; then
  86800. - $as_echo_n "(cached) " >&6
  86801. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  86802. + as_basename=basename
  86803. else
  86804. - if test "$cross_compiling" = yes; then
  86805. - { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  86806. -See \`config.log' for more details." >&5
  86807. -$as_echo "$as_me: error: cannot run test program while cross compiling
  86808. -See \`config.log' for more details." >&2;}
  86809. - { (exit 1); exit 1; }; }
  86810. + as_basename=false
  86811. +fi
  86812. +
  86813. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  86814. + as_dirname=dirname
  86815. else
  86816. - cat >conftest.$ac_ext <<_ACEOF
  86817. -/* confdefs.h. */
  86818. -_ACEOF
  86819. -cat confdefs.h >>conftest.$ac_ext
  86820. -cat >>conftest.$ac_ext <<_ACEOF
  86821. -/* end confdefs.h. */
  86822. + as_dirname=false
  86823. +fi
  86824. - #include <stdarg.h>
  86825. - void f (int i, ...) {
  86826. - va_list args1, args2;
  86827. - va_start (args1, i);
  86828. - __va_copy (args2, args1);
  86829. - if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
  86830. - exit (1);
  86831. - va_end (args1); va_end (args2);
  86832. - }
  86833. - int main() {
  86834. - f (0, 42);
  86835. - return 0;
  86836. - }
  86837. +as_me=`$as_basename -- "$0" ||
  86838. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  86839. + X"$0" : 'X\(//\)$' \| \
  86840. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  86841. +$as_echo X/"$0" |
  86842. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  86843. + s//\1/
  86844. + q
  86845. + }
  86846. + /^X\/\(\/\/\)$/{
  86847. + s//\1/
  86848. + q
  86849. + }
  86850. + /^X\/\(\/\).*/{
  86851. + s//\1/
  86852. + q
  86853. + }
  86854. + s/.*/./; q'`
  86855. -_ACEOF
  86856. -rm -f conftest$ac_exeext
  86857. -if { (ac_try="$ac_link"
  86858. -case "(($ac_try" in
  86859. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  86860. - *) ac_try_echo=$ac_try;;
  86861. -esac
  86862. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  86863. -$as_echo "$ac_try_echo") >&5
  86864. - (eval "$ac_link") 2>&5
  86865. - ac_status=$?
  86866. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  86867. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  86868. - { (case "(($ac_try" in
  86869. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  86870. - *) ac_try_echo=$ac_try;;
  86871. +# Avoid depending upon Character Ranges.
  86872. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  86873. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  86874. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  86875. +as_cr_digits='0123456789'
  86876. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  86877. +
  86878. +ECHO_C= ECHO_N= ECHO_T=
  86879. +case `echo -n x` in #(((((
  86880. +-n*)
  86881. + case `echo 'xy\c'` in
  86882. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  86883. + xy) ECHO_C='\c';;
  86884. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  86885. + ECHO_T=' ';;
  86886. + esac;;
  86887. +*)
  86888. + ECHO_N='-n';;
  86889. esac
  86890. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  86891. -$as_echo "$ac_try_echo") >&5
  86892. - (eval "$ac_try") 2>&5
  86893. - ac_status=$?
  86894. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  86895. - (exit $ac_status); }; }; then
  86896. - ac_cv_func___va_copy="yes"
  86897. -else
  86898. - $as_echo "$as_me: program exited with status $ac_status" >&5
  86899. -$as_echo "$as_me: failed program was:" >&5
  86900. -sed 's/^/| /' conftest.$ac_ext >&5
  86901. -( exit $ac_status )
  86902. -ac_cv_func___va_copy="no"
  86903. +rm -f conf$$ conf$$.exe conf$$.file
  86904. +if test -d conf$$.dir; then
  86905. + rm -f conf$$.dir/conf$$.file
  86906. +else
  86907. + rm -f conf$$.dir
  86908. + mkdir conf$$.dir 2>/dev/null
  86909. fi
  86910. -rm -rf conftest.dSYM
  86911. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  86912. +if (echo >conf$$.file) 2>/dev/null; then
  86913. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  86914. + as_ln_s='ln -s'
  86915. + # ... but there are two gotchas:
  86916. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  86917. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  86918. + # In both cases, we have to default to `cp -p'.
  86919. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  86920. + as_ln_s='cp -p'
  86921. + elif ln conf$$.file conf$$ 2>/dev/null; then
  86922. + as_ln_s=ln
  86923. + else
  86924. + as_ln_s='cp -p'
  86925. + fi
  86926. +else
  86927. + as_ln_s='cp -p'
  86928. fi
  86929. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  86930. +rmdir conf$$.dir 2>/dev/null
  86931. +# as_fn_mkdir_p
  86932. +# -------------
  86933. +# Create "$as_dir" as a directory, including parents if necessary.
  86934. +as_fn_mkdir_p ()
  86935. +{
  86936. -fi
  86937. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func___va_copy" >&5
  86938. -$as_echo "$ac_cv_func___va_copy" >&6; }
  86939. -if test "$ac_cv_func___va_copy" = "yes" ; then
  86940. + case $as_dir in #(
  86941. + -*) as_dir=./$as_dir;;
  86942. + esac
  86943. + test -d "$as_dir" || eval $as_mkdir_p || {
  86944. + as_dirs=
  86945. + while :; do
  86946. + case $as_dir in #(
  86947. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  86948. + *) as_qdir=$as_dir;;
  86949. + esac
  86950. + as_dirs="'$as_qdir' $as_dirs"
  86951. + as_dir=`$as_dirname -- "$as_dir" ||
  86952. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  86953. + X"$as_dir" : 'X\(//\)[^/]' \| \
  86954. + X"$as_dir" : 'X\(//\)$' \| \
  86955. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  86956. +$as_echo X"$as_dir" |
  86957. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  86958. + s//\1/
  86959. + q
  86960. + }
  86961. + /^X\(\/\/\)[^/].*/{
  86962. + s//\1/
  86963. + q
  86964. + }
  86965. + /^X\(\/\/\)$/{
  86966. + s//\1/
  86967. + q
  86968. + }
  86969. + /^X\(\/\).*/{
  86970. + s//\1/
  86971. + q
  86972. + }
  86973. + s/.*/./; q'`
  86974. + test -d "$as_dir" && break
  86975. + done
  86976. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  86977. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  86978. -cat >>confdefs.h <<\_ACEOF
  86979. -#define HAVE___VA_COPY 1
  86980. -_ACEOF
  86981. +} # as_fn_mkdir_p
  86982. +if mkdir -p . 2>/dev/null; then
  86983. + as_mkdir_p='mkdir -p "$as_dir"'
  86984. +else
  86985. + test -d ./-p && rmdir ./-p
  86986. + as_mkdir_p=false
  86987. fi
  86988. -if test "$IPF_TRANSPARENT" ; then
  86989. - { $as_echo "$as_me:$LINENO: checking if IP-Filter header files are installed" >&5
  86990. -$as_echo_n "checking if IP-Filter header files are installed... " >&6; }
  86991. - # hold on to your hats...
  86992. - if test "$ac_cv_header_ip_compat_h" = "yes" ||
  86993. - test "$ac_cv_header_ip_fil_compat_h" = "yes" ||
  86994. - test "$ac_cv_header_netinet_ip_compat_h" = "yes" ||
  86995. - test "$ac_cv_header_netinet_ip_fil_compat_h" = "yes" ; then
  86996. - have_ipfilter_compat_header="yes"
  86997. - fi
  86998. - if test "x$have_ipfilter_compat_header" = "xyes" &&
  86999. - test "$ac_cv_header_ip_fil_h" = "yes" &&
  87000. - test "$ac_cv_header_ip_nat_h" = "yes" ; then
  87001. - IPF_TRANSPARENT="yes"
  87002. - cat >>confdefs.h <<\_ACEOF
  87003. -#define IPF_TRANSPARENT 1
  87004. -_ACEOF
  87005. +if test -x / >/dev/null 2>&1; then
  87006. + as_test_x='test -x'
  87007. +else
  87008. + if ls -dL / >/dev/null 2>&1; then
  87009. + as_ls_L_option=L
  87010. + else
  87011. + as_ls_L_option=
  87012. + fi
  87013. + as_test_x='
  87014. + eval sh -c '\''
  87015. + if test -d "$1"; then
  87016. + test -d "$1/.";
  87017. + else
  87018. + case $1 in #(
  87019. + -*)set "./$1";;
  87020. + esac;
  87021. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  87022. + ???[sx]*):;;*)false;;esac;fi
  87023. + '\'' sh
  87024. + '
  87025. +fi
  87026. +as_executable_p=$as_test_x
  87027. - elif test "$have_ipfilter_compat_header" = "yes" &&
  87028. - test "$ac_cv_header_netinet_ip_fil_h" = "yes" &&
  87029. - test "$ac_cv_header_netinet_ip_nat_h" = "yes" ; then
  87030. - IPF_TRANSPARENT="yes"
  87031. - cat >>confdefs.h <<\_ACEOF
  87032. -#define IPF_TRANSPARENT 1
  87033. -_ACEOF
  87034. +# Sed expression to map a string onto a valid CPP name.
  87035. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  87036. - else
  87037. - IPF_TRANSPARENT="no"
  87038. - cat >>confdefs.h <<\_ACEOF
  87039. -#define IPF_TRANSPARENT 0
  87040. -_ACEOF
  87041. +# Sed expression to map a string onto a valid variable name.
  87042. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  87043. - fi
  87044. - { $as_echo "$as_me:$LINENO: result: $IPF_TRANSPARENT" >&5
  87045. -$as_echo "$IPF_TRANSPARENT" >&6; }
  87046. -fi
  87047. -if test "$IPF_TRANSPARENT" = "no" ; then
  87048. - echo "WARNING: Cannot find necessary IP-Filter header files"
  87049. - echo " Transparent Proxy support WILL NOT be enabled"
  87050. - sleep 10
  87051. -elif test "$IPF_TRANSPARENT" = "yes" ; then
  87052. - case "$host" in
  87053. - *-solaris*)
  87054. - solrev=`uname -r | sh -c 'IFS=. read j n x; echo $n'`
  87055. - CFLAGS="-DSOLARIS2=$solrev $CFLAGS"
  87056. - CXXFLAGS="-DSOLARIS2=$solrev $CXXFLAGS"
  87057. - ;;
  87058. - *)
  87059. - ;;
  87060. - esac
  87061. -fi
  87062. -if test "$PF_TRANSPARENT" ; then
  87063. - { $as_echo "$as_me:$LINENO: checking if PF header file is installed" >&5
  87064. -$as_echo_n "checking if PF header file is installed... " >&6; }
  87065. - # hold on to your hats...
  87066. - if test "$ac_cv_header_net_pfvar_h" = "yes" || test "$ac_cv_header_net_pf_pfvar_h" = "yes"; then
  87067. - PF_TRANSPARENT="yes"
  87068. - cat >>confdefs.h <<\_ACEOF
  87069. -#define PF_TRANSPARENT 1
  87070. -_ACEOF
  87071. +exec 6>&1
  87072. +## ----------------------------------- ##
  87073. +## Main body of $CONFIG_STATUS script. ##
  87074. +## ----------------------------------- ##
  87075. +_ASEOF
  87076. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  87077. +
  87078. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  87079. +# Save the log message, to keep $0 and so on meaningful, and to
  87080. +# report actual input values of CONFIG_FILES etc. instead of their
  87081. +# values after options handling.
  87082. +ac_log="
  87083. +This file was extended by Squid Web Proxy $as_me 3.0.STABLE20, which was
  87084. +generated by GNU Autoconf 2.65. Invocation command line was
  87085. +
  87086. + CONFIG_FILES = $CONFIG_FILES
  87087. + CONFIG_HEADERS = $CONFIG_HEADERS
  87088. + CONFIG_LINKS = $CONFIG_LINKS
  87089. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  87090. + $ $0 $@
  87091. +
  87092. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  87093. +"
  87094. - else
  87095. - PF_TRANSPARENT="no"
  87096. - cat >>confdefs.h <<\_ACEOF
  87097. -#define PF_TRANSPARENT 0
  87098. _ACEOF
  87099. - fi
  87100. - { $as_echo "$as_me:$LINENO: result: $PF_TRANSPARENT" >&5
  87101. -$as_echo "$PF_TRANSPARENT" >&6; }
  87102. -fi
  87103. -if test "$PF_TRANSPARENT" = "no" ; then
  87104. - echo "WARNING: Cannot find necessary PF header file"
  87105. - echo " Transparent Proxy support WILL NOT be enabled"
  87106. - sleep 10
  87107. -fi
  87108. +case $ac_config_files in *"
  87109. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  87110. +esac
  87111. -if test "$LINUX_NETFILTER" ; then
  87112. - { $as_echo "$as_me:$LINENO: checking if Linux (Netfilter) kernel header files are installed" >&5
  87113. -$as_echo_n "checking if Linux (Netfilter) kernel header files are installed... " >&6; }
  87114. - # hold on to your hats...
  87115. - if test "$ac_cv_header_linux_netfilter_ipv4_h" = "yes"; then
  87116. - LINUX_NETFILTER="yes"
  87117. - cat >>confdefs.h <<\_ACEOF
  87118. -#define LINUX_NETFILTER 1
  87119. -_ACEOF
  87120. +case $ac_config_headers in *"
  87121. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  87122. +esac
  87123. +
  87124. +
  87125. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  87126. +# Files that config.status was made for.
  87127. +config_files="$ac_config_files"
  87128. +config_headers="$ac_config_headers"
  87129. +config_commands="$ac_config_commands"
  87130. - else
  87131. - LINUX_NETFILTER="no"
  87132. - cat >>confdefs.h <<\_ACEOF
  87133. -#define LINUX_NETFILTER 0
  87134. _ACEOF
  87135. - fi
  87136. - { $as_echo "$as_me:$LINENO: result: $LINUX_NETFILTER" >&5
  87137. -$as_echo "$LINUX_NETFILTER" >&6; }
  87138. -fi
  87139. -if test "$LINUX_NETFILTER" = "no" ; then
  87140. - echo "WARNING: Cannot find necessary Linux kernel (Netfilter) header files"
  87141. - echo " Linux Transparent Proxy support WILL NOT be enabled"
  87142. - sleep 10
  87143. -fi
  87144. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  87145. +ac_cs_usage="\
  87146. +\`$as_me' instantiates files and other configuration actions
  87147. +from templates according to the current configuration. Unless the files
  87148. +and actions are specified as TAGs, all are instantiated by default.
  87149. -if test "$LINUX_TPROXY" ; then
  87150. - if test "$use_caps" = "yes"; then
  87151. - { $as_echo "$as_me:$LINENO: checking if TPROXY header files are installed" >&5
  87152. -$as_echo_n "checking if TPROXY header files are installed... " >&6; }
  87153. - # hold on to your hats...
  87154. - if test "$ac_cv_header_linux_netfilter_ipv4_ip_tproxy_h" = "yes" && test "$LINUX_NETFILTER" = "yes"; then
  87155. - LINUX_TPROXY="yes"
  87156. +Usage: $0 [OPTION]... [TAG]...
  87157. +
  87158. + -h, --help print this help, then exit
  87159. + -V, --version print version number and configuration settings, then exit
  87160. + --config print configuration, then exit
  87161. + -q, --quiet, --silent
  87162. + do not print progress messages
  87163. + -d, --debug don't remove temporary files
  87164. + --recheck update $as_me by reconfiguring in the same conditions
  87165. + --file=FILE[:TEMPLATE]
  87166. + instantiate the configuration file FILE
  87167. + --header=FILE[:TEMPLATE]
  87168. + instantiate the configuration header FILE
  87169. +
  87170. +Configuration files:
  87171. +$config_files
  87172. +
  87173. +Configuration headers:
  87174. +$config_headers
  87175. +
  87176. +Configuration commands:
  87177. +$config_commands
  87178. +
  87179. +Report bugs to <http://www.squid-cache.org/bugs/>."
  87180. -cat >>confdefs.h <<\_ACEOF
  87181. -#define LINUX_TPROXY 1
  87182. _ACEOF
  87183. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  87184. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  87185. +ac_cs_version="\\
  87186. +Squid Web Proxy config.status 3.0.STABLE20
  87187. +configured by $0, generated by GNU Autoconf 2.65,
  87188. + with options \\"\$ac_cs_config\\"
  87189. - else
  87190. - LINUX_TPROXY="no"
  87191. +Copyright (C) 2009 Free Software Foundation, Inc.
  87192. +This config.status script is free software; the Free Software Foundation
  87193. +gives unlimited permission to copy, distribute and modify it."
  87194. -cat >>confdefs.h <<\_ACEOF
  87195. -#define LINUX_TPROXY 0
  87196. +ac_pwd='$ac_pwd'
  87197. +srcdir='$srcdir'
  87198. +INSTALL='$INSTALL'
  87199. +MKDIR_P='$MKDIR_P'
  87200. +AWK='$AWK'
  87201. +test -n "\$AWK" || AWK=awk
  87202. _ACEOF
  87203. - fi
  87204. - { $as_echo "$as_me:$LINENO: result: $LINUX_TPROXY" >&5
  87205. -$as_echo "$LINUX_TPROXY" >&6; }
  87206. - else
  87207. - { $as_echo "$as_me:$LINENO: WARNING: Missing needed capabilities (libcap or libcap2) for TPROXY v2" >&5
  87208. -$as_echo "$as_me: WARNING: Missing needed capabilities (libcap or libcap2) for TPROXY v2" >&2;}
  87209. - { $as_echo "$as_me:$LINENO: WARNING: Linux Transparent Proxy support WILL NOT be enabled" >&5
  87210. -$as_echo "$as_me: WARNING: Linux Transparent Proxy support WILL NOT be enabled" >&2;}
  87211. - LINUX_TPROXY="no"
  87212. - fi
  87213. -fi
  87214. -if test "$LINUX_TPROXY" = "no" && test "$LINUX_NETFILTER" = "yes"; then
  87215. - echo "WARNING: Cannot find TPROXY headers, you need to install the"
  87216. - echo "tproxy package from:"
  87217. - echo " - lynx http://www.balabit.com/downloads/tproxy/"
  87218. - echo "And libcap-dev or libcap2-dev"
  87219. - sleep 10
  87220. -fi
  87221. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  87222. +# The default lists apply if the user does not specify any file.
  87223. +ac_need_defaults=:
  87224. +while test $# != 0
  87225. +do
  87226. + case $1 in
  87227. + --*=*)
  87228. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  87229. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  87230. + ac_shift=:
  87231. + ;;
  87232. + *)
  87233. + ac_option=$1
  87234. + ac_optarg=$2
  87235. + ac_shift=shift
  87236. + ;;
  87237. + esac
  87238. -if test -z "$USE_GNUREGEX" ; then
  87239. - case "$host" in
  87240. - *-sun-solaris2.[0-4])
  87241. - USE_GNUREGEX="yes"
  87242. - ;;
  87243. - *-next-nextstep*)
  87244. - USE_GNUREGEX="yes"
  87245. - ;;
  87246. + case $ac_option in
  87247. + # Handling of the options.
  87248. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  87249. + ac_cs_recheck=: ;;
  87250. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  87251. + $as_echo "$ac_cs_version"; exit ;;
  87252. + --config | --confi | --conf | --con | --co | --c )
  87253. + $as_echo "$ac_cs_config"; exit ;;
  87254. + --debug | --debu | --deb | --de | --d | -d )
  87255. + debug=: ;;
  87256. + --file | --fil | --fi | --f )
  87257. + $ac_shift
  87258. + case $ac_optarg in
  87259. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  87260. esac
  87261. -fi
  87262. -{ $as_echo "$as_me:$LINENO: checking if GNUregex needs to be compiled" >&5
  87263. -$as_echo_n "checking if GNUregex needs to be compiled... " >&6; }
  87264. -if test -z "$USE_GNUREGEX"; then
  87265. -if test "$ac_cv_func_regcomp" = "no" || test "$USE_GNUREGEX" = "yes" ; then
  87266. - USE_GNUREGEX="yes"
  87267. -else
  87268. - cat >conftest.$ac_ext <<_ACEOF
  87269. -/* confdefs.h. */
  87270. -_ACEOF
  87271. -cat confdefs.h >>conftest.$ac_ext
  87272. -cat >>conftest.$ac_ext <<_ACEOF
  87273. -/* end confdefs.h. */
  87274. -#include <sys/types.h>
  87275. -#include <regex.h>
  87276. -int
  87277. -main ()
  87278. -{
  87279. -regex_t t; regcomp(&t,"",0);
  87280. - ;
  87281. - return 0;
  87282. -}
  87283. -_ACEOF
  87284. -rm -f conftest.$ac_objext
  87285. -if { (ac_try="$ac_compile"
  87286. -case "(($ac_try" in
  87287. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  87288. - *) ac_try_echo=$ac_try;;
  87289. -esac
  87290. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  87291. -$as_echo "$ac_try_echo") >&5
  87292. - (eval "$ac_compile") 2>conftest.er1
  87293. - ac_status=$?
  87294. - grep -v '^ *+' conftest.er1 >conftest.err
  87295. - rm -f conftest.er1
  87296. - cat conftest.err >&5
  87297. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  87298. - (exit $ac_status); } && {
  87299. - test -z "$ac_c_werror_flag" ||
  87300. - test ! -s conftest.err
  87301. - } && test -s conftest.$ac_objext; then
  87302. - USE_GNUREGEX="no"
  87303. -else
  87304. - $as_echo "$as_me: failed program was:" >&5
  87305. -sed 's/^/| /' conftest.$ac_ext >&5
  87306. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  87307. + ac_need_defaults=false;;
  87308. + --header | --heade | --head | --hea )
  87309. + $ac_shift
  87310. + case $ac_optarg in
  87311. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  87312. + esac
  87313. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  87314. + ac_need_defaults=false;;
  87315. + --he | --h)
  87316. + # Conflict between --help and --header
  87317. + as_fn_error "ambiguous option: \`$1'
  87318. +Try \`$0 --help' for more information.";;
  87319. + --help | --hel | -h )
  87320. + $as_echo "$ac_cs_usage"; exit ;;
  87321. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  87322. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  87323. + ac_cs_silent=: ;;
  87324. - USE_GNUREGEX="yes"
  87325. -fi
  87326. + # This is an error.
  87327. + -*) as_fn_error "unrecognized option: \`$1'
  87328. +Try \`$0 --help' for more information." ;;
  87329. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  87330. + *) as_fn_append ac_config_targets " $1"
  87331. + ac_need_defaults=false ;;
  87332. +
  87333. + esac
  87334. + shift
  87335. +done
  87336. +
  87337. +ac_configure_extra_args=
  87338. +
  87339. +if $ac_cs_silent; then
  87340. + exec 6>/dev/null
  87341. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  87342. fi
  87343. +
  87344. +_ACEOF
  87345. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  87346. +if \$ac_cs_recheck; then
  87347. + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  87348. + shift
  87349. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  87350. + CONFIG_SHELL='$SHELL'
  87351. + export CONFIG_SHELL
  87352. + exec "\$@"
  87353. fi
  87354. -{ $as_echo "$as_me:$LINENO: result: $USE_GNUREGEX" >&5
  87355. -$as_echo "$USE_GNUREGEX" >&6; }
  87356. -if test "$USE_GNUREGEX" = "yes"; then
  87357. - REGEXLIB="-lregex"
  87358. - LIBREGEX="libregex.a"
  87359. -cat >>confdefs.h <<\_ACEOF
  87360. -#define USE_GNUREGEX 1
  87361. _ACEOF
  87362. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  87363. +exec 5>>config.log
  87364. +{
  87365. + echo
  87366. + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  87367. +## Running $as_me. ##
  87368. +_ASBOX
  87369. + $as_echo "$ac_log"
  87370. +} >&5
  87371. -fi
  87372. +_ACEOF
  87373. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  87374. +#
  87375. +# INIT-COMMANDS
  87376. +#
  87377. +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  87378. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  87379. +# if CDPATH is set.
  87380. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  87381. -{ $as_echo "$as_me:$LINENO: checking Default FD_SETSIZE value" >&5
  87382. -$as_echo_n "checking Default FD_SETSIZE value... " >&6; }
  87383. -if test "$cross_compiling" = yes; then
  87384. - DEFAULT_FD_SETSIZE=256
  87385. -else
  87386. - cat >conftest.$ac_ext <<_ACEOF
  87387. -/* confdefs.h. */
  87388. -_ACEOF
  87389. -cat confdefs.h >>conftest.$ac_ext
  87390. -cat >>conftest.$ac_ext <<_ACEOF
  87391. -/* end confdefs.h. */
  87392. +sed_quote_subst='$sed_quote_subst'
  87393. +double_quote_subst='$double_quote_subst'
  87394. +delay_variable_subst='$delay_variable_subst'
  87395. +enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
  87396. +macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
  87397. +macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
  87398. +enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
  87399. +pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
  87400. +enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
  87401. +host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
  87402. +host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
  87403. +host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
  87404. +build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
  87405. +build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
  87406. +build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
  87407. +SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
  87408. +Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
  87409. +GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
  87410. +EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
  87411. +FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
  87412. +LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
  87413. +NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
  87414. +LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
  87415. +max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
  87416. +ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
  87417. +exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
  87418. +lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
  87419. +lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
  87420. +lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
  87421. +reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
  87422. +reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  87423. +OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
  87424. +deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
  87425. +file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
  87426. +AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
  87427. +AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  87428. +STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
  87429. +RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
  87430. +old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  87431. +old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  87432. +old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  87433. +CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
  87434. +CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  87435. +compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
  87436. +GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
  87437. +lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
  87438. +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
  87439. +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
  87440. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  87441. +objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
  87442. +SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
  87443. +ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
  87444. +MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
  87445. +lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
  87446. +lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
  87447. +lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
  87448. +lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
  87449. +lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
  87450. +need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
  87451. +DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
  87452. +NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
  87453. +LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
  87454. +OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  87455. +OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
  87456. +libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
  87457. +shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  87458. +extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  87459. +archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
  87460. +enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
  87461. +export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  87462. +whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  87463. +compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
  87464. +old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  87465. +old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  87466. +archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  87467. +archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  87468. +module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  87469. +module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  87470. +with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
  87471. +allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  87472. +no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  87473. +hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  87474. +hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
  87475. +hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
  87476. +hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
  87477. +hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
  87478. +hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
  87479. +hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  87480. +hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
  87481. +inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
  87482. +link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
  87483. +fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
  87484. +always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
  87485. +export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  87486. +exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  87487. +include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  87488. +prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  87489. +file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
  87490. +variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
  87491. +need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  87492. +need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
  87493. +version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
  87494. +runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  87495. +shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  87496. +shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
  87497. +libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  87498. +library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
  87499. +soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  87500. +postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  87501. +postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  87502. +finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  87503. +finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
  87504. +hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
  87505. +sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  87506. +sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  87507. +hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
  87508. +enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
  87509. +enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
  87510. +enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
  87511. +old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
  87512. +striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
  87513. +compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
  87514. +predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
  87515. +postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
  87516. +predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
  87517. +postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
  87518. +compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
  87519. +LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87520. +old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87521. +compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87522. +GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87523. +lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87524. +lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87525. +lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87526. +lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87527. +lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87528. +archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87529. +enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87530. +export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87531. +whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87532. +compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87533. +old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87534. +old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87535. +archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87536. +archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87537. +module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87538. +module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87539. +with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87540. +allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87541. +no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87542. +hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87543. +hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87544. +hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87545. +hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87546. +hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87547. +hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87548. +hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87549. +hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87550. +inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87551. +link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87552. +fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87553. +always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87554. +export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87555. +exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87556. +include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87557. +prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87558. +file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87559. +hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87560. +compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87561. +predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87562. +postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87563. +predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87564. +postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87565. +compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  87566. +
  87567. +LTCC='$LTCC'
  87568. +LTCFLAGS='$LTCFLAGS'
  87569. +compiler='$compiler_DEFAULT'
  87570. +
  87571. +# Quote evaled strings.
  87572. +for var in SED \
  87573. +GREP \
  87574. +EGREP \
  87575. +FGREP \
  87576. +LD \
  87577. +NM \
  87578. +LN_S \
  87579. +lt_SP2NL \
  87580. +lt_NL2SP \
  87581. +reload_flag \
  87582. +OBJDUMP \
  87583. +deplibs_check_method \
  87584. +file_magic_cmd \
  87585. +AR \
  87586. +AR_FLAGS \
  87587. +STRIP \
  87588. +RANLIB \
  87589. +CC \
  87590. +CFLAGS \
  87591. +compiler \
  87592. +lt_cv_sys_global_symbol_pipe \
  87593. +lt_cv_sys_global_symbol_to_cdecl \
  87594. +lt_cv_sys_global_symbol_to_c_name_address \
  87595. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  87596. +SHELL \
  87597. +ECHO \
  87598. +lt_prog_compiler_no_builtin_flag \
  87599. +lt_prog_compiler_wl \
  87600. +lt_prog_compiler_pic \
  87601. +lt_prog_compiler_static \
  87602. +lt_cv_prog_compiler_c_o \
  87603. +need_locks \
  87604. +DSYMUTIL \
  87605. +NMEDIT \
  87606. +LIPO \
  87607. +OTOOL \
  87608. +OTOOL64 \
  87609. +shrext_cmds \
  87610. +export_dynamic_flag_spec \
  87611. +whole_archive_flag_spec \
  87612. +compiler_needs_object \
  87613. +with_gnu_ld \
  87614. +allow_undefined_flag \
  87615. +no_undefined_flag \
  87616. +hardcode_libdir_flag_spec \
  87617. +hardcode_libdir_flag_spec_ld \
  87618. +hardcode_libdir_separator \
  87619. +fix_srcfile_path \
  87620. +exclude_expsyms \
  87621. +include_expsyms \
  87622. +file_list_spec \
  87623. +variables_saved_for_relink \
  87624. +libname_spec \
  87625. +library_names_spec \
  87626. +soname_spec \
  87627. +finish_eval \
  87628. +old_striplib \
  87629. +striplib \
  87630. +compiler_lib_search_dirs \
  87631. +predep_objects \
  87632. +postdep_objects \
  87633. +predeps \
  87634. +postdeps \
  87635. +compiler_lib_search_path \
  87636. +LD_CXX \
  87637. +compiler_CXX \
  87638. +lt_prog_compiler_no_builtin_flag_CXX \
  87639. +lt_prog_compiler_wl_CXX \
  87640. +lt_prog_compiler_pic_CXX \
  87641. +lt_prog_compiler_static_CXX \
  87642. +lt_cv_prog_compiler_c_o_CXX \
  87643. +export_dynamic_flag_spec_CXX \
  87644. +whole_archive_flag_spec_CXX \
  87645. +compiler_needs_object_CXX \
  87646. +with_gnu_ld_CXX \
  87647. +allow_undefined_flag_CXX \
  87648. +no_undefined_flag_CXX \
  87649. +hardcode_libdir_flag_spec_CXX \
  87650. +hardcode_libdir_flag_spec_ld_CXX \
  87651. +hardcode_libdir_separator_CXX \
  87652. +fix_srcfile_path_CXX \
  87653. +exclude_expsyms_CXX \
  87654. +include_expsyms_CXX \
  87655. +file_list_spec_CXX \
  87656. +compiler_lib_search_dirs_CXX \
  87657. +predep_objects_CXX \
  87658. +postdep_objects_CXX \
  87659. +predeps_CXX \
  87660. +postdeps_CXX \
  87661. +compiler_lib_search_path_CXX; do
  87662. + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  87663. + *[\\\\\\\`\\"\\\$]*)
  87664. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  87665. + ;;
  87666. + *)
  87667. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  87668. + ;;
  87669. + esac
  87670. +done
  87671. -#if HAVE_STDIO_H
  87672. -#include <stdio.h>
  87673. -#endif
  87674. -#if HAVE_UNISTD_H
  87675. -#include <unistd.h>
  87676. -#endif
  87677. -#if HAVE_SYS_TIME_H
  87678. -#include <sys/time.h>
  87679. -#endif
  87680. -#if HAVE_SYS_SELECT_H
  87681. -#include <sys/select.h>
  87682. -#endif
  87683. -#if HAVE_SYS_TYPES_H
  87684. -#include <sys/types.h>
  87685. -#endif
  87686. -#if HAVE_WINSOCK_H
  87687. -#include <winsock.h>
  87688. -#endif
  87689. -#if HAVE_WINSOCK2_H
  87690. -#include <winsock2.h>
  87691. -#endif
  87692. -main() {
  87693. - FILE *fp = fopen("conftestval", "w");
  87694. - fprintf (fp, "%d\n", FD_SETSIZE);
  87695. - exit(0);
  87696. -}
  87697. +# Double-quote double-evaled strings.
  87698. +for var in reload_cmds \
  87699. +old_postinstall_cmds \
  87700. +old_postuninstall_cmds \
  87701. +old_archive_cmds \
  87702. +extract_expsyms_cmds \
  87703. +old_archive_from_new_cmds \
  87704. +old_archive_from_expsyms_cmds \
  87705. +archive_cmds \
  87706. +archive_expsym_cmds \
  87707. +module_cmds \
  87708. +module_expsym_cmds \
  87709. +export_symbols_cmds \
  87710. +prelink_cmds \
  87711. +postinstall_cmds \
  87712. +postuninstall_cmds \
  87713. +finish_cmds \
  87714. +sys_lib_search_path_spec \
  87715. +sys_lib_dlsearch_path_spec \
  87716. +old_archive_cmds_CXX \
  87717. +old_archive_from_new_cmds_CXX \
  87718. +old_archive_from_expsyms_cmds_CXX \
  87719. +archive_cmds_CXX \
  87720. +archive_expsym_cmds_CXX \
  87721. +module_cmds_CXX \
  87722. +module_expsym_cmds_CXX \
  87723. +export_symbols_cmds_CXX \
  87724. +prelink_cmds_CXX; do
  87725. + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  87726. + *[\\\\\\\`\\"\\\$]*)
  87727. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  87728. + ;;
  87729. + *)
  87730. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  87731. + ;;
  87732. + esac
  87733. +done
  87734. -_ACEOF
  87735. -rm -f conftest$ac_exeext
  87736. -if { (ac_try="$ac_link"
  87737. -case "(($ac_try" in
  87738. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  87739. - *) ac_try_echo=$ac_try;;
  87740. -esac
  87741. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  87742. -$as_echo "$ac_try_echo") >&5
  87743. - (eval "$ac_link") 2>&5
  87744. - ac_status=$?
  87745. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  87746. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  87747. - { (case "(($ac_try" in
  87748. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  87749. - *) ac_try_echo=$ac_try;;
  87750. +# Fix-up fallback echo if it was mangled by the above quoting rules.
  87751. +case \$lt_ECHO in
  87752. +*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
  87753. + ;;
  87754. esac
  87755. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  87756. -$as_echo "$ac_try_echo") >&5
  87757. - (eval "$ac_try") 2>&5
  87758. - ac_status=$?
  87759. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  87760. - (exit $ac_status); }; }; then
  87761. - DEFAULT_FD_SETSIZE=`cat conftestval`
  87762. -else
  87763. - $as_echo "$as_me: program exited with status $ac_status" >&5
  87764. -$as_echo "$as_me: failed program was:" >&5
  87765. -sed 's/^/| /' conftest.$ac_ext >&5
  87766. -( exit $ac_status )
  87767. -DEFAULT_FD_SETSIZE=256
  87768. -fi
  87769. -rm -rf conftest.dSYM
  87770. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  87771. +ac_aux_dir='$ac_aux_dir'
  87772. +xsi_shell='$xsi_shell'
  87773. +lt_shell_append='$lt_shell_append'
  87774. +
  87775. +# See if we are running on zsh, and set the options which allow our
  87776. +# commands through without removal of \ escapes INIT.
  87777. +if test -n "\${ZSH_VERSION+set}" ; then
  87778. + setopt NO_GLOB_SUBST
  87779. fi
  87780. -{ $as_echo "$as_me:$LINENO: result: $DEFAULT_FD_SETSIZE" >&5
  87781. -$as_echo "$DEFAULT_FD_SETSIZE" >&6; }
  87782. + PACKAGE='$PACKAGE'
  87783. + VERSION='$VERSION'
  87784. + TIMESTAMP='$TIMESTAMP'
  87785. + RM='$RM'
  87786. + ofile='$ofile'
  87787. -cat >>confdefs.h <<_ACEOF
  87788. -#define DEFAULT_FD_SETSIZE $DEFAULT_FD_SETSIZE
  87789. -_ACEOF
  87790. -{ $as_echo "$as_me:$LINENO: checking Maximum number of filedescriptors we can open" >&5
  87791. -$as_echo_n "checking Maximum number of filedescriptors we can open... " >&6; }
  87792. -TLDFLAGS="$LDFLAGS"
  87793. -if test -n "$squid_filedescriptors_num" ; then
  87794. - SQUID_MAXFD=$squid_filedescriptors_num
  87795. - { $as_echo "$as_me:$LINENO: result: $SQUID_MAXFD (user-forced)" >&5
  87796. -$as_echo "$SQUID_MAXFD (user-forced)" >&6; }
  87797. -else
  87798. - case $host in
  87799. - i386-unknown-freebsd*)
  87800. - if echo "$LDFLAGS" | grep -q pthread; then
  87801. - LDFLAGS=`echo $LDFLAGS | sed -e "s/-pthread//"`
  87802. - fi
  87803. - esac
  87804. - if test "$cross_compiling" = yes; then
  87805. - SQUID_MAXFD=256
  87806. -else
  87807. - cat >conftest.$ac_ext <<_ACEOF
  87808. -/* confdefs.h. */
  87809. -_ACEOF
  87810. -cat confdefs.h >>conftest.$ac_ext
  87811. -cat >>conftest.$ac_ext <<_ACEOF
  87812. -/* end confdefs.h. */
  87813. -#include <stdio.h>
  87814. -#include <unistd.h>
  87815. -#include <sys/time.h> /* needed on FreeBSD */
  87816. -#include <sys/param.h>
  87817. -#include <sys/resource.h>
  87818. -main() {
  87819. - FILE *fp;
  87820. - int i,j;
  87821. -#if defined(__CYGWIN32__) || defined (__CYGWIN__)
  87822. - /* getrlimit and sysconf returns bogous values on cygwin32.
  87823. - * Number of fds is virtually unlimited in cygwin (sys/param.h)
  87824. - * __CYGWIN32__ is deprecated.
  87825. - */
  87826. - i = NOFILE;
  87827. -#else
  87828. -#if HAVE_SETRLIMIT
  87829. - struct rlimit rl;
  87830. -#if defined(RLIMIT_NOFILE)
  87831. - if (getrlimit(RLIMIT_NOFILE, &rl) < 0) {
  87832. - perror("getrlimit: RLIMIT_NOFILE");
  87833. - } else {
  87834. -#if defined(__APPLE__)
  87835. - /* asking for more than OPEN_MAX fails on Leopard */
  87836. - rl.rlim_cur = (OPEN_MAX < rl.rlim_max ? OPEN_MAX : rl.rlim_max);
  87837. -#else
  87838. - rl.rlim_cur = rl.rlim_max; /* set it to the max */
  87839. -#endif
  87840. - if (setrlimit(RLIMIT_NOFILE, &rl) < 0) {
  87841. - perror("setrlimit: RLIMIT_NOFILE");
  87842. - }
  87843. - }
  87844. -#elif defined(RLIMIT_OFILE)
  87845. - if (getrlimit(RLIMIT_OFILE, &rl) < 0) {
  87846. - perror("getrlimit: RLIMIT_OFILE");
  87847. - } else {
  87848. - rl.rlim_cur = rl.rlim_max; /* set it to the max */
  87849. - if (setrlimit(RLIMIT_OFILE, &rl) < 0) {
  87850. - perror("setrlimit: RLIMIT_OFILE");
  87851. - }
  87852. - }
  87853. -#endif /* RLIMIT_NOFILE */
  87854. -#endif /* HAVE_SETRLIMIT */
  87855. - /* by starting at 2^14, we will never get higher
  87856. - than 2^15 for SQUID_MAXFD */
  87857. - i = j = 1<<14;
  87858. - while (j) {
  87859. - j >>= 1;
  87860. - if (dup2(0, i) < 0) {
  87861. - i -= j;
  87862. - } else {
  87863. - close(i);
  87864. - i += j;
  87865. - }
  87866. - }
  87867. - i++;
  87868. -#endif /* IF !DEF CYGWIN */
  87869. - fp = fopen("conftestval", "w");
  87870. - fprintf (fp, "%d\n", i & ~0x3F);
  87871. - exit(0);
  87872. -}
  87873. _ACEOF
  87874. -rm -f conftest$ac_exeext
  87875. -if { (ac_try="$ac_link"
  87876. -case "(($ac_try" in
  87877. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  87878. - *) ac_try_echo=$ac_try;;
  87879. -esac
  87880. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  87881. -$as_echo "$ac_try_echo") >&5
  87882. - (eval "$ac_link") 2>&5
  87883. - ac_status=$?
  87884. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  87885. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  87886. - { (case "(($ac_try" in
  87887. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  87888. - *) ac_try_echo=$ac_try;;
  87889. -esac
  87890. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  87891. -$as_echo "$ac_try_echo") >&5
  87892. - (eval "$ac_try") 2>&5
  87893. - ac_status=$?
  87894. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  87895. - (exit $ac_status); }; }; then
  87896. - SQUID_MAXFD=`cat conftestval`
  87897. -else
  87898. - $as_echo "$as_me: program exited with status $ac_status" >&5
  87899. -$as_echo "$as_me: failed program was:" >&5
  87900. -sed 's/^/| /' conftest.$ac_ext >&5
  87901. -( exit $ac_status )
  87902. -SQUID_MAXFD=256
  87903. -fi
  87904. -rm -rf conftest.dSYM
  87905. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  87906. -fi
  87907. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  87908. +# Handling of arguments.
  87909. +for ac_config_target in $ac_config_targets
  87910. +do
  87911. + case $ac_config_target in
  87912. + "include/autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS include/autoconf.h" ;;
  87913. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  87914. + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  87915. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  87916. + "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
  87917. + "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
  87918. + "scripts/RunCache") CONFIG_FILES="$CONFIG_FILES scripts/RunCache" ;;
  87919. + "scripts/RunAccel") CONFIG_FILES="$CONFIG_FILES scripts/RunAccel" ;;
  87920. + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  87921. + "src/fs/Makefile") CONFIG_FILES="$CONFIG_FILES src/fs/Makefile" ;;
  87922. + "src/repl/Makefile") CONFIG_FILES="$CONFIG_FILES src/repl/Makefile" ;;
  87923. + "src/auth/Makefile") CONFIG_FILES="$CONFIG_FILES src/auth/Makefile" ;;
  87924. + "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
  87925. + "snmplib/Makefile") CONFIG_FILES="$CONFIG_FILES snmplib/Makefile" ;;
  87926. + "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
  87927. + "errors/Makefile") CONFIG_FILES="$CONFIG_FILES errors/Makefile" ;;
  87928. + "test-suite/Makefile") CONFIG_FILES="$CONFIG_FILES test-suite/Makefile" ;;
  87929. + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  87930. + "helpers/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/Makefile" ;;
  87931. + "helpers/basic_auth/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/Makefile" ;;
  87932. + "helpers/basic_auth/LDAP/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/LDAP/Makefile" ;;
  87933. + "helpers/basic_auth/MSNT/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/MSNT/Makefile" ;;
  87934. + "helpers/basic_auth/NCSA/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/NCSA/Makefile" ;;
  87935. + "helpers/basic_auth/PAM/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/PAM/Makefile" ;;
  87936. + "helpers/basic_auth/SMB/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/SMB/Makefile" ;;
  87937. + "helpers/basic_auth/mswin_sspi/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/mswin_sspi/Makefile" ;;
  87938. + "helpers/basic_auth/YP/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/YP/Makefile" ;;
  87939. + "helpers/basic_auth/getpwnam/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/getpwnam/Makefile" ;;
  87940. + "helpers/basic_auth/multi-domain-NTLM/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/multi-domain-NTLM/Makefile" ;;
  87941. + "helpers/basic_auth/SASL/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/SASL/Makefile" ;;
  87942. + "helpers/basic_auth/POP3/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/POP3/Makefile" ;;
  87943. + "helpers/basic_auth/DB/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/DB/Makefile" ;;
  87944. + "helpers/basic_auth/squid_radius_auth/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/squid_radius_auth/Makefile" ;;
  87945. + "helpers/digest_auth/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/digest_auth/Makefile" ;;
  87946. + "helpers/digest_auth/password/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/digest_auth/password/Makefile" ;;
  87947. + "helpers/digest_auth/ldap/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/digest_auth/ldap/Makefile" ;;
  87948. + "helpers/digest_auth/eDirectory/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/digest_auth/eDirectory/Makefile" ;;
  87949. + "helpers/ntlm_auth/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/ntlm_auth/Makefile" ;;
  87950. + "helpers/ntlm_auth/fakeauth/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/ntlm_auth/fakeauth/Makefile" ;;
  87951. + "helpers/ntlm_auth/no_check/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/ntlm_auth/no_check/Makefile" ;;
  87952. + "helpers/ntlm_auth/SMB/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/ntlm_auth/SMB/Makefile" ;;
  87953. + "helpers/ntlm_auth/SMB/smbval/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/ntlm_auth/SMB/smbval/Makefile" ;;
  87954. + "helpers/ntlm_auth/mswin_sspi/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/ntlm_auth/mswin_sspi/Makefile" ;;
  87955. + "helpers/negotiate_auth/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/negotiate_auth/Makefile" ;;
  87956. + "helpers/negotiate_auth/mswin_sspi/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/negotiate_auth/mswin_sspi/Makefile" ;;
  87957. + "helpers/negotiate_auth/squid_kerb_auth/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/negotiate_auth/squid_kerb_auth/Makefile" ;;
  87958. + "helpers/external_acl/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/external_acl/Makefile" ;;
  87959. + "helpers/external_acl/ip_user/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/external_acl/ip_user/Makefile" ;;
  87960. + "helpers/external_acl/ldap_group/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/external_acl/ldap_group/Makefile" ;;
  87961. + "helpers/external_acl/session/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/external_acl/session/Makefile" ;;
  87962. + "helpers/external_acl/unix_group/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/external_acl/unix_group/Makefile" ;;
  87963. + "helpers/external_acl/wbinfo_group/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/external_acl/wbinfo_group/Makefile" ;;
  87964. + "helpers/external_acl/mswin_ad_group/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/external_acl/mswin_ad_group/Makefile" ;;
  87965. + "helpers/external_acl/mswin_lm_group/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/external_acl/mswin_lm_group/Makefile" ;;
  87966. + "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
  87967. - case "$host_os" in
  87968. - mingw|mingw32)
  87969. - SQUID_MAXFD="2048"
  87970. - ;;
  87971. + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  87972. esac
  87973. - { $as_echo "$as_me:$LINENO: result: $SQUID_MAXFD" >&5
  87974. -$as_echo "$SQUID_MAXFD" >&6; }
  87975. -fi
  87976. -
  87977. -cat >>confdefs.h <<_ACEOF
  87978. -#define SQUID_MAXFD $SQUID_MAXFD
  87979. -_ACEOF
  87980. +done
  87981. -if test "$SQUID_MAXFD" -lt 512 ; then
  87982. - echo "WARNING: $SQUID_MAXFD may not be enough filedescriptors if your"
  87983. - echo " cache will be very busy. Please see the FAQ page"
  87984. - echo " http://wiki.squid-cache.org/SquidFaq/TroubleShooting"
  87985. - echo " on how to increase your filedescriptor limit"
  87986. - sleep 10
  87987. -fi
  87988. -LDFLAGS="$TLDFLAGS"
  87989. -if test `expr $SQUID_MAXFD % 64` != 0; then
  87990. - echo "WARNING: $SQUID_MAXFD is not an multiple of 64. This may cause issues"
  87991. - echo " on certain platforms."
  87992. - sleep 10
  87993. +# If the user did not use the arguments to specify the items to instantiate,
  87994. +# then the envvar interface is used. Set only those that are not.
  87995. +# We use the long form for the default assignment because of an extremely
  87996. +# bizarre bug on SunOS 4.1.3.
  87997. +if $ac_need_defaults; then
  87998. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  87999. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  88000. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  88001. fi
  88002. -{ $as_echo "$as_me:$LINENO: checking Default UDP send buffer size" >&5
  88003. -$as_echo_n "checking Default UDP send buffer size... " >&6; }
  88004. -if test "$cross_compiling" = yes; then
  88005. - SQUID_DETECT_UDP_SO_SNDBUF=16384
  88006. -else
  88007. - cat >conftest.$ac_ext <<_ACEOF
  88008. -/* confdefs.h. */
  88009. -_ACEOF
  88010. -cat confdefs.h >>conftest.$ac_ext
  88011. -cat >>conftest.$ac_ext <<_ACEOF
  88012. -/* end confdefs.h. */
  88013. -
  88014. -#include <stdlib.h>
  88015. -#include <stdio.h>
  88016. -#include <sys/types.h>
  88017. -#if HAVE_SYS_SOCKET_H
  88018. -#include <sys/socket.h>
  88019. -#endif
  88020. -#if HAVE_NETINET_IN_H
  88021. -#include <netinet/in.h>
  88022. -#endif
  88023. -#if HAVE_WINSOCK_H
  88024. -#include <winsock.h>
  88025. -#endif
  88026. -#if HAVE_WINSOCK2_H
  88027. -#include <winsock2.h>
  88028. -#endif
  88029. -main ()
  88030. +# Have a temporary directory for convenience. Make it in the build tree
  88031. +# simply because there is no reason against having it here, and in addition,
  88032. +# creating and moving files from /tmp can sometimes cause problems.
  88033. +# Hook for its removal unless debugging.
  88034. +# Note that there is a small window in which the directory will not be cleaned:
  88035. +# after its creation but before its name has been assigned to `$tmp'.
  88036. +$debug ||
  88037. {
  88038. - FILE *fp;
  88039. - int fd,val=0,len=sizeof(int);
  88040. -#if (defined(WIN32) || defined(__WIN32__) || defined(__WIN32)) && !(defined(__CYGWIN32__) || defined(__CYGWIN__))
  88041. - WSADATA wsaData;
  88042. - WSAStartup(2, &wsaData);
  88043. -#endif
  88044. - if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) exit(1);
  88045. - if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &val, &len) < 0) exit(1);
  88046. -#if (defined(WIN32) || defined(__WIN32__) || defined(__WIN32)) && !(defined(__CYGWIN32__) || defined(__CYGWIN__))
  88047. - WSACleanup();
  88048. -#endif
  88049. - if (val<=0) exit(1);
  88050. - fp = fopen("conftestval", "w");
  88051. - fprintf (fp, "%d\n", val);
  88052. - exit(0);
  88053. + tmp=
  88054. + trap 'exit_status=$?
  88055. + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  88056. +' 0
  88057. + trap 'as_fn_exit 1' 1 2 13 15
  88058. }
  88059. +# Create a (secure) tmp directory for tmp files.
  88060. -_ACEOF
  88061. -rm -f conftest$ac_exeext
  88062. -if { (ac_try="$ac_link"
  88063. -case "(($ac_try" in
  88064. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  88065. - *) ac_try_echo=$ac_try;;
  88066. -esac
  88067. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  88068. -$as_echo "$ac_try_echo") >&5
  88069. - (eval "$ac_link") 2>&5
  88070. - ac_status=$?
  88071. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  88072. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  88073. - { (case "(($ac_try" in
  88074. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  88075. - *) ac_try_echo=$ac_try;;
  88076. -esac
  88077. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  88078. -$as_echo "$ac_try_echo") >&5
  88079. - (eval "$ac_try") 2>&5
  88080. - ac_status=$?
  88081. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  88082. - (exit $ac_status); }; }; then
  88083. - SQUID_DETECT_UDP_SO_SNDBUF=`cat conftestval`
  88084. -else
  88085. - $as_echo "$as_me: program exited with status $ac_status" >&5
  88086. -$as_echo "$as_me: failed program was:" >&5
  88087. -sed 's/^/| /' conftest.$ac_ext >&5
  88088. +{
  88089. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  88090. + test -n "$tmp" && test -d "$tmp"
  88091. +} ||
  88092. +{
  88093. + tmp=./conf$$-$RANDOM
  88094. + (umask 077 && mkdir "$tmp")
  88095. +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  88096. +
  88097. +# Set up the scripts for CONFIG_FILES section.
  88098. +# No need to generate them if there are no CONFIG_FILES.
  88099. +# This happens for instance with `./config.status config.h'.
  88100. +if test -n "$CONFIG_FILES"; then
  88101. -( exit $ac_status )
  88102. -SQUID_DETECT_UDP_SO_SNDBUF=16384
  88103. +
  88104. +ac_cr=`echo X | tr X '\015'`
  88105. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  88106. +# But we know of no other shell where ac_cr would be empty at this
  88107. +# point, so we can use a bashism as a fallback.
  88108. +if test "x$ac_cr" = x; then
  88109. + eval ac_cr=\$\'\\r\'
  88110. fi
  88111. -rm -rf conftest.dSYM
  88112. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  88113. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  88114. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  88115. + ac_cs_awk_cr='\r'
  88116. +else
  88117. + ac_cs_awk_cr=$ac_cr
  88118. fi
  88119. +echo 'BEGIN {' >"$tmp/subs1.awk" &&
  88120. +_ACEOF
  88121. -{ $as_echo "$as_me:$LINENO: result: $SQUID_DETECT_UDP_SO_SNDBUF" >&5
  88122. -$as_echo "$SQUID_DETECT_UDP_SO_SNDBUF" >&6; }
  88123. -cat >>confdefs.h <<_ACEOF
  88124. -#define SQUID_DETECT_UDP_SO_SNDBUF $SQUID_DETECT_UDP_SO_SNDBUF
  88125. -_ACEOF
  88126. +{
  88127. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  88128. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  88129. + echo "_ACEOF"
  88130. +} >conf$$subs.sh ||
  88131. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  88132. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  88133. +ac_delim='%!_!# '
  88134. +for ac_last_try in false false false false false :; do
  88135. + . ./conf$$subs.sh ||
  88136. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  88137. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  88138. + if test $ac_delim_n = $ac_delim_num; then
  88139. + break
  88140. + elif $ac_last_try; then
  88141. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  88142. + else
  88143. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  88144. + fi
  88145. +done
  88146. +rm -f conf$$subs.sh
  88147. -{ $as_echo "$as_me:$LINENO: checking Default UDP receive buffer size" >&5
  88148. -$as_echo_n "checking Default UDP receive buffer size... " >&6; }
  88149. -if test "$cross_compiling" = yes; then
  88150. - SQUID_DETECT_UDP_SO_RCVBUF=16384
  88151. -else
  88152. - cat >conftest.$ac_ext <<_ACEOF
  88153. -/* confdefs.h. */
  88154. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  88155. +cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  88156. _ACEOF
  88157. -cat confdefs.h >>conftest.$ac_ext
  88158. -cat >>conftest.$ac_ext <<_ACEOF
  88159. -/* end confdefs.h. */
  88160. +sed -n '
  88161. +h
  88162. +s/^/S["/; s/!.*/"]=/
  88163. +p
  88164. +g
  88165. +s/^[^!]*!//
  88166. +:repl
  88167. +t repl
  88168. +s/'"$ac_delim"'$//
  88169. +t delim
  88170. +:nl
  88171. +h
  88172. +s/\(.\{148\}\)..*/\1/
  88173. +t more1
  88174. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  88175. +p
  88176. +n
  88177. +b repl
  88178. +:more1
  88179. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  88180. +p
  88181. +g
  88182. +s/.\{148\}//
  88183. +t nl
  88184. +:delim
  88185. +h
  88186. +s/\(.\{148\}\)..*/\1/
  88187. +t more2
  88188. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  88189. +p
  88190. +b
  88191. +:more2
  88192. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  88193. +p
  88194. +g
  88195. +s/.\{148\}//
  88196. +t delim
  88197. +' <conf$$subs.awk | sed '
  88198. +/^[^""]/{
  88199. + N
  88200. + s/\n//
  88201. +}
  88202. +' >>$CONFIG_STATUS || ac_write_fail=1
  88203. +rm -f conf$$subs.awk
  88204. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  88205. +_ACAWK
  88206. +cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  88207. + for (key in S) S_is_set[key] = 1
  88208. + FS = ""
  88209. -#include <stdlib.h>
  88210. -#include <stdio.h>
  88211. -#include <sys/types.h>
  88212. -#if HAVE_SYS_SOCKET_H
  88213. -#include <sys/socket.h>
  88214. -#endif
  88215. -#if HAVE_NETINET_IN_H
  88216. -#include <netinet/in.h>
  88217. -#endif
  88218. -#if HAVE_WINSOCK_H
  88219. -#include <winsock.h>
  88220. -#endif
  88221. -#if HAVE_WINSOCK2_H
  88222. -#include <winsock2.h>
  88223. -#endif
  88224. -main ()
  88225. +}
  88226. {
  88227. - FILE *fp;
  88228. - int fd,val=0,len=sizeof(int);
  88229. -#if (defined(WIN32) || defined(__WIN32__) || defined(__WIN32)) && !(defined(__CYGWIN32__) || defined(__CYGWIN__))
  88230. - WSADATA wsaData;
  88231. - WSAStartup(2, &wsaData);
  88232. -#endif
  88233. - if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) exit(1);
  88234. - if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &val, &len) < 0) exit(1);
  88235. -#if (defined(WIN32) || defined(__WIN32__) || defined(__WIN32)) && !(defined(__CYGWIN32__) || defined(__CYGWIN__))
  88236. - WSACleanup();
  88237. -#endif
  88238. - if (val <= 0) exit(1);
  88239. - fp = fopen("conftestval", "w");
  88240. - fprintf (fp, "%d\n", val);
  88241. - exit(0);
  88242. + line = $ 0
  88243. + nfields = split(line, field, "@")
  88244. + substed = 0
  88245. + len = length(field[1])
  88246. + for (i = 2; i < nfields; i++) {
  88247. + key = field[i]
  88248. + keylen = length(key)
  88249. + if (S_is_set[key]) {
  88250. + value = S[key]
  88251. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  88252. + len += length(value) + length(field[++i])
  88253. + substed = 1
  88254. + } else
  88255. + len += 1 + keylen
  88256. + }
  88257. +
  88258. + print line
  88259. }
  88260. +_ACAWK
  88261. _ACEOF
  88262. -rm -f conftest$ac_exeext
  88263. -if { (ac_try="$ac_link"
  88264. -case "(($ac_try" in
  88265. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  88266. - *) ac_try_echo=$ac_try;;
  88267. -esac
  88268. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  88269. -$as_echo "$ac_try_echo") >&5
  88270. - (eval "$ac_link") 2>&5
  88271. - ac_status=$?
  88272. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  88273. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  88274. - { (case "(($ac_try" in
  88275. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  88276. - *) ac_try_echo=$ac_try;;
  88277. -esac
  88278. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  88279. -$as_echo "$ac_try_echo") >&5
  88280. - (eval "$ac_try") 2>&5
  88281. - ac_status=$?
  88282. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  88283. - (exit $ac_status); }; }; then
  88284. - SQUID_DETECT_UDP_SO_RCVBUF=`cat conftestval`
  88285. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  88286. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  88287. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  88288. else
  88289. - $as_echo "$as_me: program exited with status $ac_status" >&5
  88290. -$as_echo "$as_me: failed program was:" >&5
  88291. -sed 's/^/| /' conftest.$ac_ext >&5
  88292. + cat
  88293. +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  88294. + || as_fn_error "could not setup config files machinery" "$LINENO" 5
  88295. +_ACEOF
  88296. -( exit $ac_status )
  88297. -SQUID_DETECT_UDP_SO_RCVBUF=16384
  88298. -fi
  88299. -rm -rf conftest.dSYM
  88300. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  88301. +# VPATH may cause trouble with some makes, so we remove $(srcdir),
  88302. +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  88303. +# trailing colons and then remove the whole line if VPATH becomes empty
  88304. +# (actually we leave an empty line to preserve line numbers).
  88305. +if test "x$srcdir" = x.; then
  88306. + ac_vpsub='/^[ ]*VPATH[ ]*=/{
  88307. +s/:*\$(srcdir):*/:/
  88308. +s/:*\${srcdir}:*/:/
  88309. +s/:*@srcdir@:*/:/
  88310. +s/^\([^=]*=[ ]*\):*/\1/
  88311. +s/:*$//
  88312. +s/^[^=]*=[ ]*$//
  88313. +}'
  88314. fi
  88315. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  88316. +fi # test -n "$CONFIG_FILES"
  88317. -{ $as_echo "$as_me:$LINENO: result: $SQUID_DETECT_UDP_SO_RCVBUF" >&5
  88318. -$as_echo "$SQUID_DETECT_UDP_SO_RCVBUF" >&6; }
  88319. -
  88320. -cat >>confdefs.h <<_ACEOF
  88321. -#define SQUID_DETECT_UDP_SO_RCVBUF $SQUID_DETECT_UDP_SO_RCVBUF
  88322. +# Set up the scripts for CONFIG_HEADERS section.
  88323. +# No need to generate them if there are no CONFIG_HEADERS.
  88324. +# This happens for instance with `./config.status Makefile'.
  88325. +if test -n "$CONFIG_HEADERS"; then
  88326. +cat >"$tmp/defines.awk" <<\_ACAWK ||
  88327. +BEGIN {
  88328. _ACEOF
  88329. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  88330. +# here-document in config.status, that substitutes the proper values into
  88331. +# config.h.in to produce config.h.
  88332. -{ $as_echo "$as_me:$LINENO: checking Default TCP send buffer size" >&5
  88333. -$as_echo_n "checking Default TCP send buffer size... " >&6; }
  88334. -if test "$cross_compiling" = yes; then
  88335. - SQUID_TCP_SO_SNDBUF=16384
  88336. -else
  88337. - cat >conftest.$ac_ext <<_ACEOF
  88338. -/* confdefs.h. */
  88339. -_ACEOF
  88340. -cat confdefs.h >>conftest.$ac_ext
  88341. -cat >>conftest.$ac_ext <<_ACEOF
  88342. -/* end confdefs.h. */
  88343. +# Create a delimiter string that does not exist in confdefs.h, to ease
  88344. +# handling of long lines.
  88345. +ac_delim='%!_!# '
  88346. +for ac_last_try in false false :; do
  88347. + ac_t=`sed -n "/$ac_delim/p" confdefs.h`
  88348. + if test -z "$ac_t"; then
  88349. + break
  88350. + elif $ac_last_try; then
  88351. + as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
  88352. + else
  88353. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  88354. + fi
  88355. +done
  88356. +
  88357. +# For the awk script, D is an array of macro values keyed by name,
  88358. +# likewise P contains macro parameters if any. Preserve backslash
  88359. +# newline sequences.
  88360. +
  88361. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  88362. +sed -n '
  88363. +s/.\{148\}/&'"$ac_delim"'/g
  88364. +t rset
  88365. +:rset
  88366. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  88367. +t def
  88368. +d
  88369. +:def
  88370. +s/\\$//
  88371. +t bsnl
  88372. +s/["\\]/\\&/g
  88373. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  88374. +D["\1"]=" \3"/p
  88375. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  88376. +d
  88377. +:bsnl
  88378. +s/["\\]/\\&/g
  88379. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  88380. +D["\1"]=" \3\\\\\\n"\\/p
  88381. +t cont
  88382. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  88383. +t cont
  88384. +d
  88385. +:cont
  88386. +n
  88387. +s/.\{148\}/&'"$ac_delim"'/g
  88388. +t clear
  88389. +:clear
  88390. +s/\\$//
  88391. +t bsnlc
  88392. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  88393. +d
  88394. +:bsnlc
  88395. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  88396. +b cont
  88397. +' <confdefs.h | sed '
  88398. +s/'"$ac_delim"'/"\\\
  88399. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  88400. -#include <stdlib.h>
  88401. -#include <stdio.h>
  88402. -#include <sys/types.h>
  88403. -#if HAVE_SYS_SOCKET_H
  88404. -#include <sys/socket.h>
  88405. -#endif
  88406. -#if HAVE_NETINET_IN_H
  88407. -#include <netinet/in.h>
  88408. -#endif
  88409. -#if HAVE_WINSOCK_H
  88410. -#include <winsock.h>
  88411. -#endif
  88412. -#if HAVE_WINSOCK2_H
  88413. -#include <winsock2.h>
  88414. -#endif
  88415. -main ()
  88416. -{
  88417. - FILE *fp;
  88418. - int fd,val=0,len=sizeof(int);
  88419. -#if (defined(WIN32) || defined(__WIN32__) || defined(__WIN32)) && !(defined(__CYGWIN32__) || defined(__CYGWIN__))
  88420. - WSADATA wsaData;
  88421. - WSAStartup(2, &wsaData);
  88422. -#endif
  88423. - if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) exit(1);
  88424. - if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &val, &len) < 0) exit(1);
  88425. -#if (defined(WIN32) || defined(__WIN32__) || defined(__WIN32)) && !(defined(__CYGWIN32__) || defined(__CYGWIN__))
  88426. - WSACleanup();
  88427. -#endif
  88428. - if (val <= 0) exit(1);
  88429. - fp = fopen("conftestval", "w");
  88430. - fprintf (fp, "%d\n", val);
  88431. - exit(0);
  88432. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  88433. + for (key in D) D_is_set[key] = 1
  88434. + FS = ""
  88435. }
  88436. -
  88437. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  88438. + line = \$ 0
  88439. + split(line, arg, " ")
  88440. + if (arg[1] == "#") {
  88441. + defundef = arg[2]
  88442. + mac1 = arg[3]
  88443. + } else {
  88444. + defundef = substr(arg[1], 2)
  88445. + mac1 = arg[2]
  88446. + }
  88447. + split(mac1, mac2, "(") #)
  88448. + macro = mac2[1]
  88449. + prefix = substr(line, 1, index(line, defundef) - 1)
  88450. + if (D_is_set[macro]) {
  88451. + # Preserve the white space surrounding the "#".
  88452. + print prefix "define", macro P[macro] D[macro]
  88453. + next
  88454. + } else {
  88455. + # Replace #undef with comments. This is necessary, for example,
  88456. + # in the case of _POSIX_SOURCE, which is predefined and required
  88457. + # on some systems where configure will not decide to define it.
  88458. + if (defundef == "undef") {
  88459. + print "/*", prefix defundef, macro, "*/"
  88460. + next
  88461. + }
  88462. + }
  88463. +}
  88464. +{ print }
  88465. +_ACAWK
  88466. _ACEOF
  88467. -rm -f conftest$ac_exeext
  88468. -if { (ac_try="$ac_link"
  88469. -case "(($ac_try" in
  88470. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  88471. - *) ac_try_echo=$ac_try;;
  88472. -esac
  88473. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  88474. -$as_echo "$ac_try_echo") >&5
  88475. - (eval "$ac_link") 2>&5
  88476. - ac_status=$?
  88477. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  88478. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  88479. - { (case "(($ac_try" in
  88480. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  88481. - *) ac_try_echo=$ac_try;;
  88482. -esac
  88483. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  88484. -$as_echo "$ac_try_echo") >&5
  88485. - (eval "$ac_try") 2>&5
  88486. - ac_status=$?
  88487. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  88488. - (exit $ac_status); }; }; then
  88489. - SQUID_TCP_SO_SNDBUF=`cat conftestval`
  88490. -else
  88491. - $as_echo "$as_me: program exited with status $ac_status" >&5
  88492. -$as_echo "$as_me: failed program was:" >&5
  88493. -sed 's/^/| /' conftest.$ac_ext >&5
  88494. -
  88495. -( exit $ac_status )
  88496. -SQUID_TCP_SO_SNDBUF=16384
  88497. -fi
  88498. -rm -rf conftest.dSYM
  88499. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  88500. -fi
  88501. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  88502. + as_fn_error "could not setup config headers machinery" "$LINENO" 5
  88503. +fi # test -n "$CONFIG_HEADERS"
  88504. -{ $as_echo "$as_me:$LINENO: result: $SQUID_TCP_SO_SNDBUF" >&5
  88505. -$as_echo "$SQUID_TCP_SO_SNDBUF" >&6; }
  88506. -if test $SQUID_TCP_SO_SNDBUF -gt 32768; then
  88507. - echo "Limiting send buffer size to 32K"
  88508. - SQUID_TCP_SO_SNDBUF=32768
  88509. -fi
  88510. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  88511. +shift
  88512. +for ac_tag
  88513. +do
  88514. + case $ac_tag in
  88515. + :[FHLC]) ac_mode=$ac_tag; continue;;
  88516. + esac
  88517. + case $ac_mode$ac_tag in
  88518. + :[FHL]*:*);;
  88519. + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  88520. + :[FH]-) ac_tag=-:-;;
  88521. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  88522. + esac
  88523. + ac_save_IFS=$IFS
  88524. + IFS=:
  88525. + set x $ac_tag
  88526. + IFS=$ac_save_IFS
  88527. + shift
  88528. + ac_file=$1
  88529. + shift
  88530. -cat >>confdefs.h <<_ACEOF
  88531. -#define SQUID_TCP_SO_SNDBUF $SQUID_TCP_SO_SNDBUF
  88532. -_ACEOF
  88533. + case $ac_mode in
  88534. + :L) ac_source=$1;;
  88535. + :[FH])
  88536. + ac_file_inputs=
  88537. + for ac_f
  88538. + do
  88539. + case $ac_f in
  88540. + -) ac_f="$tmp/stdin";;
  88541. + *) # Look for the file first in the build tree, then in the source tree
  88542. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  88543. + # because $ac_f cannot contain `:'.
  88544. + test -f "$ac_f" ||
  88545. + case $ac_f in
  88546. + [\\/$]*) false;;
  88547. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  88548. + esac ||
  88549. + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  88550. + esac
  88551. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  88552. + as_fn_append ac_file_inputs " '$ac_f'"
  88553. + done
  88554. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  88555. + # use $as_me), people would be surprised to read:
  88556. + # /* config.h. Generated by config.status. */
  88557. + configure_input='Generated from '`
  88558. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  88559. + `' by configure.'
  88560. + if test x"$ac_file" != x-; then
  88561. + configure_input="$ac_file. $configure_input"
  88562. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  88563. +$as_echo "$as_me: creating $ac_file" >&6;}
  88564. + fi
  88565. + # Neutralize special characters interpreted by sed in replacement strings.
  88566. + case $configure_input in #(
  88567. + *\&* | *\|* | *\\* )
  88568. + ac_sed_conf_input=`$as_echo "$configure_input" |
  88569. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  88570. + *) ac_sed_conf_input=$configure_input;;
  88571. + esac
  88572. -{ $as_echo "$as_me:$LINENO: checking Default TCP receive buffer size" >&5
  88573. -$as_echo_n "checking Default TCP receive buffer size... " >&6; }
  88574. -if test "$cross_compiling" = yes; then
  88575. - SQUID_TCP_SO_RCVBUF=16384
  88576. -else
  88577. - cat >conftest.$ac_ext <<_ACEOF
  88578. -/* confdefs.h. */
  88579. -_ACEOF
  88580. -cat confdefs.h >>conftest.$ac_ext
  88581. -cat >>conftest.$ac_ext <<_ACEOF
  88582. -/* end confdefs.h. */
  88583. + case $ac_tag in
  88584. + *:-:* | *:-) cat >"$tmp/stdin" \
  88585. + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  88586. + esac
  88587. + ;;
  88588. + esac
  88589. -#include <stdlib.h>
  88590. -#include <stdio.h>
  88591. -#include <sys/types.h>
  88592. -#if HAVE_SYS_SOCKET_H
  88593. -#include <sys/socket.h>
  88594. -#endif
  88595. -#if HAVE_NETINET_IN_H
  88596. -#include <netinet/in.h>
  88597. -#endif
  88598. -#if HAVE_WINSOCK_H
  88599. -#include <winsock.h>
  88600. -#endif
  88601. -#if HAVE_WINSOCK2_H
  88602. -#include <winsock2.h>
  88603. -#endif
  88604. -main ()
  88605. -{
  88606. - FILE *fp;
  88607. - int fd,val=0,len=sizeof(int);
  88608. -#if (defined(WIN32) || defined(__WIN32__) || defined(__WIN32)) && !(defined(__CYGWIN32__) || defined(__CYGWIN__))
  88609. - WSADATA wsaData;
  88610. - WSAStartup(2, &wsaData);
  88611. -#endif
  88612. - if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) exit(1);
  88613. - if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &val, &len) < 0) exit(1);
  88614. -#if (defined(WIN32) || defined(__WIN32__) || defined(__WIN32)) && !(defined(__CYGWIN32__) || defined(__CYGWIN__))
  88615. - WSACleanup();
  88616. -#endif
  88617. - if (val <= 0) exit(1);
  88618. - fp = fopen("conftestval", "w");
  88619. - fprintf (fp, "%d\n", val);
  88620. - exit(0);
  88621. -}
  88622. + ac_dir=`$as_dirname -- "$ac_file" ||
  88623. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  88624. + X"$ac_file" : 'X\(//\)[^/]' \| \
  88625. + X"$ac_file" : 'X\(//\)$' \| \
  88626. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  88627. +$as_echo X"$ac_file" |
  88628. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  88629. + s//\1/
  88630. + q
  88631. + }
  88632. + /^X\(\/\/\)[^/].*/{
  88633. + s//\1/
  88634. + q
  88635. + }
  88636. + /^X\(\/\/\)$/{
  88637. + s//\1/
  88638. + q
  88639. + }
  88640. + /^X\(\/\).*/{
  88641. + s//\1/
  88642. + q
  88643. + }
  88644. + s/.*/./; q'`
  88645. + as_dir="$ac_dir"; as_fn_mkdir_p
  88646. + ac_builddir=.
  88647. -_ACEOF
  88648. -rm -f conftest$ac_exeext
  88649. -if { (ac_try="$ac_link"
  88650. -case "(($ac_try" in
  88651. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  88652. - *) ac_try_echo=$ac_try;;
  88653. -esac
  88654. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  88655. -$as_echo "$ac_try_echo") >&5
  88656. - (eval "$ac_link") 2>&5
  88657. - ac_status=$?
  88658. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  88659. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  88660. - { (case "(($ac_try" in
  88661. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  88662. - *) ac_try_echo=$ac_try;;
  88663. -esac
  88664. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  88665. -$as_echo "$ac_try_echo") >&5
  88666. - (eval "$ac_try") 2>&5
  88667. - ac_status=$?
  88668. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  88669. - (exit $ac_status); }; }; then
  88670. - SQUID_TCP_SO_RCVBUF=`cat conftestval`
  88671. -else
  88672. - $as_echo "$as_me: program exited with status $ac_status" >&5
  88673. -$as_echo "$as_me: failed program was:" >&5
  88674. -sed 's/^/| /' conftest.$ac_ext >&5
  88675. +case "$ac_dir" in
  88676. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  88677. +*)
  88678. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  88679. + # A ".." for each directory in $ac_dir_suffix.
  88680. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  88681. + case $ac_top_builddir_sub in
  88682. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  88683. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  88684. + esac ;;
  88685. +esac
  88686. +ac_abs_top_builddir=$ac_pwd
  88687. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  88688. +# for backward compatibility:
  88689. +ac_top_builddir=$ac_top_build_prefix
  88690. -( exit $ac_status )
  88691. -SQUID_TCP_SO_RCVBUF=16384
  88692. -fi
  88693. -rm -rf conftest.dSYM
  88694. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  88695. -fi
  88696. +case $srcdir in
  88697. + .) # We are building in place.
  88698. + ac_srcdir=.
  88699. + ac_top_srcdir=$ac_top_builddir_sub
  88700. + ac_abs_top_srcdir=$ac_pwd ;;
  88701. + [\\/]* | ?:[\\/]* ) # Absolute name.
  88702. + ac_srcdir=$srcdir$ac_dir_suffix;
  88703. + ac_top_srcdir=$srcdir
  88704. + ac_abs_top_srcdir=$srcdir ;;
  88705. + *) # Relative name.
  88706. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  88707. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  88708. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  88709. +esac
  88710. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  88711. -{ $as_echo "$as_me:$LINENO: result: $SQUID_TCP_SO_RCVBUF" >&5
  88712. -$as_echo "$SQUID_TCP_SO_RCVBUF" >&6; }
  88713. -if test $SQUID_TCP_SO_RCVBUF -gt 65535; then
  88714. - echo "Limiting receive buffer size to 64K"
  88715. - SQUID_TCP_SO_RCVBUF=65535
  88716. -fi
  88717. + case $ac_mode in
  88718. + :F)
  88719. + #
  88720. + # CONFIG_FILE
  88721. + #
  88722. -cat >>confdefs.h <<_ACEOF
  88723. -#define SQUID_TCP_SO_RCVBUF $SQUID_TCP_SO_RCVBUF
  88724. + case $INSTALL in
  88725. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  88726. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  88727. + esac
  88728. + ac_MKDIR_P=$MKDIR_P
  88729. + case $MKDIR_P in
  88730. + [\\/$]* | ?:[\\/]* ) ;;
  88731. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  88732. + esac
  88733. _ACEOF
  88734. -{ $as_echo "$as_me:$LINENO: checking if sys_errlist is already defined" >&5
  88735. -$as_echo_n "checking if sys_errlist is already defined... " >&6; }
  88736. -if test "${ac_cv_needs_sys_errlist+set}" = set; then
  88737. - $as_echo_n "(cached) " >&6
  88738. -else
  88739. - cat >conftest.$ac_ext <<_ACEOF
  88740. -/* confdefs.h. */
  88741. -_ACEOF
  88742. -cat confdefs.h >>conftest.$ac_ext
  88743. -cat >>conftest.$ac_ext <<_ACEOF
  88744. -/* end confdefs.h. */
  88745. -#include <stdio.h>
  88746. -int
  88747. -main ()
  88748. -{
  88749. -char *s = sys_errlist;
  88750. - ;
  88751. - return 0;
  88752. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  88753. +# If the template does not know about datarootdir, expand it.
  88754. +# FIXME: This hack should be removed a few years after 2.60.
  88755. +ac_datarootdir_hack=; ac_datarootdir_seen=
  88756. +ac_sed_dataroot='
  88757. +/datarootdir/ {
  88758. + p
  88759. + q
  88760. }
  88761. +/@datadir@/p
  88762. +/@docdir@/p
  88763. +/@infodir@/p
  88764. +/@localedir@/p
  88765. +/@mandir@/p'
  88766. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  88767. +*datarootdir*) ac_datarootdir_seen=yes;;
  88768. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  88769. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  88770. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  88771. _ACEOF
  88772. -rm -f conftest.$ac_objext
  88773. -if { (ac_try="$ac_compile"
  88774. -case "(($ac_try" in
  88775. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  88776. - *) ac_try_echo=$ac_try;;
  88777. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  88778. + ac_datarootdir_hack='
  88779. + s&@datadir@&$datadir&g
  88780. + s&@docdir@&$docdir&g
  88781. + s&@infodir@&$infodir&g
  88782. + s&@localedir@&$localedir&g
  88783. + s&@mandir@&$mandir&g
  88784. + s&\\\${datarootdir}&$datarootdir&g' ;;
  88785. esac
  88786. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  88787. -$as_echo "$ac_try_echo") >&5
  88788. - (eval "$ac_compile") 2>conftest.er1
  88789. - ac_status=$?
  88790. - grep -v '^ *+' conftest.er1 >conftest.err
  88791. - rm -f conftest.er1
  88792. - cat conftest.err >&5
  88793. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  88794. - (exit $ac_status); } && {
  88795. - test -z "$ac_c_werror_flag" ||
  88796. - test ! -s conftest.err
  88797. - } && test -s conftest.$ac_objext; then
  88798. - ac_cv_needs_sys_errlist="no"
  88799. -else
  88800. - $as_echo "$as_me: failed program was:" >&5
  88801. -sed 's/^/| /' conftest.$ac_ext >&5
  88802. +_ACEOF
  88803. - ac_cv_needs_sys_errlist="yes"
  88804. -fi
  88805. +# Neutralize VPATH when `$srcdir' = `.'.
  88806. +# Shell code in configure.ac might set extrasub.
  88807. +# FIXME: do we really want to maintain this feature?
  88808. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  88809. +ac_sed_extra="$ac_vpsub
  88810. +$extrasub
  88811. +_ACEOF
  88812. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  88813. +:t
  88814. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  88815. +s|@configure_input@|$ac_sed_conf_input|;t t
  88816. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  88817. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  88818. +s&@srcdir@&$ac_srcdir&;t t
  88819. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  88820. +s&@top_srcdir@&$ac_top_srcdir&;t t
  88821. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  88822. +s&@builddir@&$ac_builddir&;t t
  88823. +s&@abs_builddir@&$ac_abs_builddir&;t t
  88824. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  88825. +s&@INSTALL@&$ac_INSTALL&;t t
  88826. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  88827. +$ac_datarootdir_hack
  88828. +"
  88829. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  88830. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  88831. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  88832. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  88833. + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  88834. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  88835. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  88836. +which seems to be undefined. Please make sure it is defined." >&5
  88837. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  88838. +which seems to be undefined. Please make sure it is defined." >&2;}
  88839. -fi
  88840. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_needs_sys_errlist" >&5
  88841. -$as_echo "$ac_cv_needs_sys_errlist" >&6; }
  88842. -if test "$ac_cv_needs_sys_errlist" = "yes" ; then
  88843. + rm -f "$tmp/stdin"
  88844. + case $ac_file in
  88845. + -) cat "$tmp/out" && rm -f "$tmp/out";;
  88846. + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  88847. + esac \
  88848. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  88849. + ;;
  88850. + :H)
  88851. + #
  88852. + # CONFIG_HEADER
  88853. + #
  88854. + if test x"$ac_file" != x-; then
  88855. + {
  88856. + $as_echo "/* $configure_input */" \
  88857. + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  88858. + } >"$tmp/config.h" \
  88859. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  88860. + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  88861. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  88862. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  88863. + else
  88864. + rm -f "$ac_file"
  88865. + mv "$tmp/config.h" "$ac_file" \
  88866. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  88867. + fi
  88868. + else
  88869. + $as_echo "/* $configure_input */" \
  88870. + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  88871. + || as_fn_error "could not create -" "$LINENO" 5
  88872. + fi
  88873. +# Compute "$ac_file"'s index in $config_headers.
  88874. +_am_arg="$ac_file"
  88875. +_am_stamp_count=1
  88876. +for _am_header in $config_headers :; do
  88877. + case $_am_header in
  88878. + $_am_arg | $_am_arg:* )
  88879. + break ;;
  88880. + * )
  88881. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  88882. + esac
  88883. +done
  88884. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  88885. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  88886. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  88887. + X"$_am_arg" : 'X\(//\)$' \| \
  88888. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  88889. +$as_echo X"$_am_arg" |
  88890. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  88891. + s//\1/
  88892. + q
  88893. + }
  88894. + /^X\(\/\/\)[^/].*/{
  88895. + s//\1/
  88896. + q
  88897. + }
  88898. + /^X\(\/\/\)$/{
  88899. + s//\1/
  88900. + q
  88901. + }
  88902. + /^X\(\/\).*/{
  88903. + s//\1/
  88904. + q
  88905. + }
  88906. + s/.*/./; q'`/stamp-h$_am_stamp_count
  88907. + ;;
  88908. -cat >>confdefs.h <<\_ACEOF
  88909. -#define NEED_SYS_ERRLIST 1
  88910. -_ACEOF
  88911. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  88912. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  88913. + ;;
  88914. + esac
  88915. -fi
  88916. -{ $as_echo "$as_me:$LINENO: checking for libresolv _dns_ttl_ hack" >&5
  88917. -$as_echo_n "checking for libresolv _dns_ttl_ hack... " >&6; }
  88918. -cat >conftest.$ac_ext <<_ACEOF
  88919. -/* confdefs.h. */
  88920. -_ACEOF
  88921. -cat confdefs.h >>conftest.$ac_ext
  88922. -cat >>conftest.$ac_ext <<_ACEOF
  88923. -/* end confdefs.h. */
  88924. -extern int _dns_ttl_;
  88925. -int
  88926. -main ()
  88927. -{
  88928. -return _dns_ttl_;
  88929. - ;
  88930. - return 0;
  88931. + case $ac_file$ac_mode in
  88932. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  88933. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  88934. + # are listed without --file. Let's play safe and only enable the eval
  88935. + # if we detect the quoting.
  88936. + case $CONFIG_FILES in
  88937. + *\'*) eval set x "$CONFIG_FILES" ;;
  88938. + *) set x $CONFIG_FILES ;;
  88939. + esac
  88940. + shift
  88941. + for mf
  88942. + do
  88943. + # Strip MF so we end up with the name of the file.
  88944. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  88945. + # Check whether this is an Automake generated Makefile or not.
  88946. + # We used to match only the files named `Makefile.in', but
  88947. + # some people rename them; so instead we look at the file content.
  88948. + # Grep'ing the first line is not enough: some people post-process
  88949. + # each Makefile.in and add a new line on top of each file to say so.
  88950. + # Grep'ing the whole file is not good either: AIX grep has a line
  88951. + # limit of 2048, but all sed's we know have understand at least 4000.
  88952. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  88953. + dirpart=`$as_dirname -- "$mf" ||
  88954. +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  88955. + X"$mf" : 'X\(//\)[^/]' \| \
  88956. + X"$mf" : 'X\(//\)$' \| \
  88957. + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  88958. +$as_echo X"$mf" |
  88959. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  88960. + s//\1/
  88961. + q
  88962. + }
  88963. + /^X\(\/\/\)[^/].*/{
  88964. + s//\1/
  88965. + q
  88966. + }
  88967. + /^X\(\/\/\)$/{
  88968. + s//\1/
  88969. + q
  88970. + }
  88971. + /^X\(\/\).*/{
  88972. + s//\1/
  88973. + q
  88974. + }
  88975. + s/.*/./; q'`
  88976. + else
  88977. + continue
  88978. + fi
  88979. + # Extract the definition of DEPDIR, am__include, and am__quote
  88980. + # from the Makefile without running `make'.
  88981. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  88982. + test -z "$DEPDIR" && continue
  88983. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  88984. + test -z "am__include" && continue
  88985. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  88986. + # When using ansi2knr, U may be empty or an underscore; expand it
  88987. + U=`sed -n 's/^U = //p' < "$mf"`
  88988. + # Find all dependency output files, they are included files with
  88989. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  88990. + # simplest approach to changing $(DEPDIR) to its actual value in the
  88991. + # expansion.
  88992. + for file in `sed -n "
  88993. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  88994. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  88995. + # Make sure the directory exists.
  88996. + test -f "$dirpart/$file" && continue
  88997. + fdir=`$as_dirname -- "$file" ||
  88998. +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  88999. + X"$file" : 'X\(//\)[^/]' \| \
  89000. + X"$file" : 'X\(//\)$' \| \
  89001. + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  89002. +$as_echo X"$file" |
  89003. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  89004. + s//\1/
  89005. + q
  89006. + }
  89007. + /^X\(\/\/\)[^/].*/{
  89008. + s//\1/
  89009. + q
  89010. + }
  89011. + /^X\(\/\/\)$/{
  89012. + s//\1/
  89013. + q
  89014. + }
  89015. + /^X\(\/\).*/{
  89016. + s//\1/
  89017. + q
  89018. + }
  89019. + s/.*/./; q'`
  89020. + as_dir=$dirpart/$fdir; as_fn_mkdir_p
  89021. + # echo "creating $dirpart/$file"
  89022. + echo '# dummy' > "$dirpart/$file"
  89023. + done
  89024. + done
  89025. }
  89026. -_ACEOF
  89027. -rm -f conftest.$ac_objext conftest$ac_exeext
  89028. -if { (ac_try="$ac_link"
  89029. -case "(($ac_try" in
  89030. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  89031. - *) ac_try_echo=$ac_try;;
  89032. -esac
  89033. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  89034. -$as_echo "$ac_try_echo") >&5
  89035. - (eval "$ac_link") 2>conftest.er1
  89036. - ac_status=$?
  89037. - grep -v '^ *+' conftest.er1 >conftest.err
  89038. - rm -f conftest.er1
  89039. - cat conftest.err >&5
  89040. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  89041. - (exit $ac_status); } && {
  89042. - test -z "$ac_c_werror_flag" ||
  89043. - test ! -s conftest.err
  89044. - } && test -s conftest$ac_exeext && {
  89045. - test "$cross_compiling" = yes ||
  89046. - $as_test_x conftest$ac_exeext
  89047. - }; then
  89048. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  89049. -$as_echo "yes" >&6; }
  89050. + ;;
  89051. + "libtool":C)
  89052. -cat >>confdefs.h <<\_ACEOF
  89053. -#define LIBRESOLV_DNS_TTL_HACK 1
  89054. -_ACEOF
  89055. + # See if we are running on zsh, and set the options which allow our
  89056. + # commands through without removal of \ escapes.
  89057. + if test -n "${ZSH_VERSION+set}" ; then
  89058. + setopt NO_GLOB_SUBST
  89059. + fi
  89060. -else
  89061. - $as_echo "$as_me: failed program was:" >&5
  89062. -sed 's/^/| /' conftest.$ac_ext >&5
  89063. + cfgfile="${ofile}T"
  89064. + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  89065. + $RM "$cfgfile"
  89066. - { $as_echo "$as_me:$LINENO: result: no" >&5
  89067. -$as_echo "no" >&6; }
  89068. -fi
  89069. + cat <<_LT_EOF >> "$cfgfile"
  89070. +#! $SHELL
  89071. -rm -rf conftest.dSYM
  89072. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  89073. - conftest$ac_exeext conftest.$ac_ext
  89074. +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  89075. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  89076. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  89077. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  89078. +#
  89079. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  89080. +# 2006, 2007, 2008 Free Software Foundation, Inc.
  89081. +# Written by Gordon Matzigkeit, 1996
  89082. +#
  89083. +# This file is part of GNU Libtool.
  89084. +#
  89085. +# GNU Libtool is free software; you can redistribute it and/or
  89086. +# modify it under the terms of the GNU General Public License as
  89087. +# published by the Free Software Foundation; either version 2 of
  89088. +# the License, or (at your option) any later version.
  89089. +#
  89090. +# As a special exception to the GNU General Public License,
  89091. +# if you distribute this file as part of a program or library that
  89092. +# is built using GNU Libtool, you may include this file under the
  89093. +# same distribution terms that you use for the rest of that program.
  89094. +#
  89095. +# GNU Libtool is distributed in the hope that it will be useful,
  89096. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  89097. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  89098. +# GNU General Public License for more details.
  89099. +#
  89100. +# You should have received a copy of the GNU General Public License
  89101. +# along with GNU Libtool; see the file COPYING. If not, a copy
  89102. +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  89103. +# obtained by writing to the Free Software Foundation, Inc.,
  89104. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  89105. -{ $as_echo "$as_me:$LINENO: checking if inet_ntoa() actually works" >&5
  89106. -$as_echo_n "checking if inet_ntoa() actually works... " >&6; }
  89107. -if test "$cross_compiling" = yes; then
  89108. - INET_NTOA_RESULT="broken"
  89109. -else
  89110. - cat >conftest.$ac_ext <<_ACEOF
  89111. -/* confdefs.h. */
  89112. -_ACEOF
  89113. -cat confdefs.h >>conftest.$ac_ext
  89114. -cat >>conftest.$ac_ext <<_ACEOF
  89115. -/* end confdefs.h. */
  89116. -#include <stdlib.h>
  89117. -#include <stdio.h>
  89118. -#include <sys/types.h>
  89119. -#include <netinet/in.h>
  89120. -#include <arpa/inet.h>
  89121. -main ()
  89122. -{
  89123. - FILE *fp;
  89124. - struct in_addr in;
  89125. - in.s_addr = inet_addr("1.2.3.4");
  89126. - fp = fopen("conftestval", "w");
  89127. - fprintf (fp, "%s\n", inet_ntoa(in));
  89128. - exit(0);
  89129. -}
  89130. +# The names of the tagged configurations supported by this script.
  89131. +available_tags="CXX "
  89132. -_ACEOF
  89133. -rm -f conftest$ac_exeext
  89134. -if { (ac_try="$ac_link"
  89135. -case "(($ac_try" in
  89136. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  89137. - *) ac_try_echo=$ac_try;;
  89138. -esac
  89139. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  89140. -$as_echo "$ac_try_echo") >&5
  89141. - (eval "$ac_link") 2>&5
  89142. - ac_status=$?
  89143. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  89144. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  89145. - { (case "(($ac_try" in
  89146. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  89147. - *) ac_try_echo=$ac_try;;
  89148. -esac
  89149. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  89150. -$as_echo "$ac_try_echo") >&5
  89151. - (eval "$ac_try") 2>&5
  89152. - ac_status=$?
  89153. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  89154. - (exit $ac_status); }; }; then
  89155. - INET_NTOA_RESULT=`cat conftestval`
  89156. -else
  89157. - $as_echo "$as_me: program exited with status $ac_status" >&5
  89158. -$as_echo "$as_me: failed program was:" >&5
  89159. -sed 's/^/| /' conftest.$ac_ext >&5
  89160. +# ### BEGIN LIBTOOL CONFIG
  89161. -( exit $ac_status )
  89162. -INET_NTOA_RESULT="broken"
  89163. -fi
  89164. -rm -rf conftest.dSYM
  89165. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  89166. -fi
  89167. +# Whether or not to build shared libraries.
  89168. +build_libtool_libs=$enable_shared
  89169. +# Which release of libtool.m4 was used?
  89170. +macro_version=$macro_version
  89171. +macro_revision=$macro_revision
  89172. -if test "$INET_NTOA_RESULT" = "1.2.3.4" ; then
  89173. - { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5
  89174. -$as_echo "\"yes\"" >&6; }
  89175. -else
  89176. - { $as_echo "$as_me:$LINENO: result: \"no\"" >&5
  89177. -$as_echo "\"no\"" >&6; }
  89178. - case "$host_os" in
  89179. - mingw|mingw32)
  89180. - echo "Using Win32 resolver instead."
  89181. - ;;
  89182. - *)
  89183. - echo "Will use our own inet_ntoa()."
  89184. - case " $LIBOBJS " in
  89185. - *" inet_ntoa.$ac_objext "* ) ;;
  89186. - *) LIBOBJS="$LIBOBJS inet_ntoa.$ac_objext"
  89187. - ;;
  89188. -esac
  89189. +# Whether or not to build static libraries.
  89190. +build_old_libs=$enable_static
  89191. -# echo "WARNING: This looks bad, and probably prevents Squid from working."
  89192. -# echo " If you're on IRIX and using GCC 2.8, you probably need"
  89193. -# echo " to use the IRIX C compiler instead."
  89194. -# sleep 10
  89195. - ;;
  89196. - esac
  89197. -fi
  89198. +# What type of objects to build.
  89199. +pic_mode=$pic_mode
  89200. -if test "$ac_cv_header_sys_statvfs_h" = "yes" ; then
  89201. -{ $as_echo "$as_me:$LINENO: checking for working statvfs() interface" >&5
  89202. -$as_echo_n "checking for working statvfs() interface... " >&6; }
  89203. -cat >conftest.$ac_ext <<_ACEOF
  89204. -/* confdefs.h. */
  89205. -_ACEOF
  89206. -cat confdefs.h >>conftest.$ac_ext
  89207. -cat >>conftest.$ac_ext <<_ACEOF
  89208. -/* end confdefs.h. */
  89209. +# Whether or not to optimize for fast installation.
  89210. +fast_install=$enable_fast_install
  89211. -#include <stdlib.h>
  89212. -#include <stdio.h>
  89213. -#include <sys/types.h>
  89214. -#include <sys/statvfs.h>
  89215. +# The host system.
  89216. +host_alias=$host_alias
  89217. +host=$host
  89218. +host_os=$host_os
  89219. -int
  89220. -main ()
  89221. -{
  89222. +# The build system.
  89223. +build_alias=$build_alias
  89224. +build=$build
  89225. +build_os=$build_os
  89226. -struct statvfs sfs;
  89227. -sfs.f_blocks = sfs.f_bfree = sfs.f_frsize =
  89228. -sfs.f_files = sfs.f_ffree = 0;
  89229. -statvfs("/tmp", &sfs);
  89230. +# A sed program that does not truncate output.
  89231. +SED=$lt_SED
  89232. - ;
  89233. - return 0;
  89234. -}
  89235. -_ACEOF
  89236. -rm -f conftest.$ac_objext
  89237. -if { (ac_try="$ac_compile"
  89238. -case "(($ac_try" in
  89239. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  89240. - *) ac_try_echo=$ac_try;;
  89241. -esac
  89242. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  89243. -$as_echo "$ac_try_echo") >&5
  89244. - (eval "$ac_compile") 2>conftest.er1
  89245. - ac_status=$?
  89246. - grep -v '^ *+' conftest.er1 >conftest.err
  89247. - rm -f conftest.er1
  89248. - cat conftest.err >&5
  89249. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  89250. - (exit $ac_status); } && {
  89251. - test -z "$ac_c_werror_flag" ||
  89252. - test ! -s conftest.err
  89253. - } && test -s conftest.$ac_objext; then
  89254. - ac_cv_func_statvfs=yes
  89255. -else
  89256. - $as_echo "$as_me: failed program was:" >&5
  89257. -sed 's/^/| /' conftest.$ac_ext >&5
  89258. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  89259. +Xsed="\$SED -e 1s/^X//"
  89260. - ac_cv_func_statvfs=no
  89261. -fi
  89262. +# A grep program that handles long lines.
  89263. +GREP=$lt_GREP
  89264. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  89265. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_statvfs" >&5
  89266. -$as_echo "$ac_cv_func_statvfs" >&6; }
  89267. -if test "$ac_cv_func_statvfs" = "yes" ; then
  89268. +# An ERE matcher.
  89269. +EGREP=$lt_EGREP
  89270. -cat >>confdefs.h <<\_ACEOF
  89271. -#define HAVE_STATVFS 1
  89272. -_ACEOF
  89273. +# A literal string matcher.
  89274. +FGREP=$lt_FGREP
  89275. -fi
  89276. -fi
  89277. +# A BSD- or MS-compatible name lister.
  89278. +NM=$lt_NM
  89279. -{ $as_echo "$as_me:$LINENO: checking for _res.nsaddr_list" >&5
  89280. -$as_echo_n "checking for _res.nsaddr_list... " >&6; }
  89281. -if test "${ac_cv_have_res_nsaddr_list+set}" = set; then
  89282. - $as_echo_n "(cached) " >&6
  89283. -else
  89284. - cat >conftest.$ac_ext <<_ACEOF
  89285. -/* confdefs.h. */
  89286. -_ACEOF
  89287. -cat confdefs.h >>conftest.$ac_ext
  89288. -cat >>conftest.$ac_ext <<_ACEOF
  89289. -/* end confdefs.h. */
  89290. +# Whether we need soft or hard links.
  89291. +LN_S=$lt_LN_S
  89292. -#if HAVE_SYS_TYPES_H
  89293. -#include <sys/types.h>
  89294. -#endif
  89295. -#if HAVE_NETINET_IN_H
  89296. -#include <netinet/in.h>
  89297. -#endif
  89298. -#if HAVE_ARPA_INET_H
  89299. -#include <arpa/inet.h>
  89300. -#endif
  89301. -#if HAVE_ARPA_NAMESER_H
  89302. -#include <arpa/nameser.h>
  89303. -#endif
  89304. -#if HAVE_RESOLV_H
  89305. -#include <resolv.h>
  89306. -#endif
  89307. +# What is the maximum length of a command?
  89308. +max_cmd_len=$max_cmd_len
  89309. -int
  89310. -main ()
  89311. -{
  89312. -_res.nsaddr_list[0];
  89313. - ;
  89314. - return 0;
  89315. -}
  89316. -_ACEOF
  89317. -rm -f conftest.$ac_objext
  89318. -if { (ac_try="$ac_compile"
  89319. -case "(($ac_try" in
  89320. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  89321. - *) ac_try_echo=$ac_try;;
  89322. -esac
  89323. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  89324. -$as_echo "$ac_try_echo") >&5
  89325. - (eval "$ac_compile") 2>conftest.er1
  89326. - ac_status=$?
  89327. - grep -v '^ *+' conftest.er1 >conftest.err
  89328. - rm -f conftest.er1
  89329. - cat conftest.err >&5
  89330. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  89331. - (exit $ac_status); } && {
  89332. - test -z "$ac_c_werror_flag" ||
  89333. - test ! -s conftest.err
  89334. - } && test -s conftest.$ac_objext; then
  89335. - ac_cv_have_res_nsaddr_list="yes"
  89336. -else
  89337. - $as_echo "$as_me: failed program was:" >&5
  89338. -sed 's/^/| /' conftest.$ac_ext >&5
  89339. +# Object file suffix (normally "o").
  89340. +objext=$ac_objext
  89341. - ac_cv_have_res_nsaddr_list="no"
  89342. -fi
  89343. +# Executable file suffix (normally "").
  89344. +exeext=$exeext
  89345. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  89346. -fi
  89347. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_res_nsaddr_list" >&5
  89348. -$as_echo "$ac_cv_have_res_nsaddr_list" >&6; }
  89349. -if test $ac_cv_have_res_nsaddr_list = "yes" ; then
  89350. +# whether the shell understands "unset".
  89351. +lt_unset=$lt_unset
  89352. -cat >>confdefs.h <<\_ACEOF
  89353. -#define HAVE_RES_NSADDR_LIST 1
  89354. -_ACEOF
  89355. +# turn spaces into newlines.
  89356. +SP2NL=$lt_lt_SP2NL
  89357. -fi
  89358. +# turn newlines into spaces.
  89359. +NL2SP=$lt_lt_NL2SP
  89360. -if test $ac_cv_have_res_nsaddr_list = "no" ; then
  89361. -{ $as_echo "$as_me:$LINENO: checking for _res.ns_list" >&5
  89362. -$as_echo_n "checking for _res.ns_list... " >&6; }
  89363. -if test "${ac_cv_have_res_ns_list+set}" = set; then
  89364. - $as_echo_n "(cached) " >&6
  89365. -else
  89366. - cat >conftest.$ac_ext <<_ACEOF
  89367. -/* confdefs.h. */
  89368. -_ACEOF
  89369. -cat confdefs.h >>conftest.$ac_ext
  89370. -cat >>conftest.$ac_ext <<_ACEOF
  89371. -/* end confdefs.h. */
  89372. +# How to create reloadable object files.
  89373. +reload_flag=$lt_reload_flag
  89374. +reload_cmds=$lt_reload_cmds
  89375. -#if HAVE_SYS_TYPES_H
  89376. -#include <sys/types.h>
  89377. -#endif
  89378. -#if HAVE_NETINET_IN_H
  89379. -#include <netinet/in.h>
  89380. -#endif
  89381. -#if HAVE_ARPA_INET_H
  89382. -#include <arpa/inet.h>
  89383. -#endif
  89384. -#if HAVE_ARPA_NAMESER_H
  89385. -#include <arpa/nameser.h>
  89386. -#endif
  89387. -#if HAVE_RESOLV_H
  89388. -#include <resolv.h>
  89389. -#endif
  89390. +# An object symbol dumper.
  89391. +OBJDUMP=$lt_OBJDUMP
  89392. -int
  89393. -main ()
  89394. -{
  89395. -_res.ns_list[0].addr;
  89396. - ;
  89397. - return 0;
  89398. -}
  89399. -_ACEOF
  89400. -rm -f conftest.$ac_objext
  89401. -if { (ac_try="$ac_compile"
  89402. -case "(($ac_try" in
  89403. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  89404. - *) ac_try_echo=$ac_try;;
  89405. -esac
  89406. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  89407. -$as_echo "$ac_try_echo") >&5
  89408. - (eval "$ac_compile") 2>conftest.er1
  89409. - ac_status=$?
  89410. - grep -v '^ *+' conftest.er1 >conftest.err
  89411. - rm -f conftest.er1
  89412. - cat conftest.err >&5
  89413. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  89414. - (exit $ac_status); } && {
  89415. - test -z "$ac_c_werror_flag" ||
  89416. - test ! -s conftest.err
  89417. - } && test -s conftest.$ac_objext; then
  89418. - ac_cv_have_res_ns_list="yes"
  89419. -else
  89420. - $as_echo "$as_me: failed program was:" >&5
  89421. -sed 's/^/| /' conftest.$ac_ext >&5
  89422. +# Method to check whether dependent libraries are shared objects.
  89423. +deplibs_check_method=$lt_deplibs_check_method
  89424. +
  89425. +# Command to use when deplibs_check_method == "file_magic".
  89426. +file_magic_cmd=$lt_file_magic_cmd
  89427. +
  89428. +# The archiver.
  89429. +AR=$lt_AR
  89430. +AR_FLAGS=$lt_AR_FLAGS
  89431. +
  89432. +# A symbol stripping program.
  89433. +STRIP=$lt_STRIP
  89434. - ac_cv_have_res_ns_list="no"
  89435. -fi
  89436. +# Commands used to install an old-style archive.
  89437. +RANLIB=$lt_RANLIB
  89438. +old_postinstall_cmds=$lt_old_postinstall_cmds
  89439. +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  89440. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  89441. -fi
  89442. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_res_ns_list" >&5
  89443. -$as_echo "$ac_cv_have_res_ns_list" >&6; }
  89444. -if test $ac_cv_have_res_ns_list = "yes" ; then
  89445. +# A C compiler.
  89446. +LTCC=$lt_CC
  89447. -cat >>confdefs.h <<\_ACEOF
  89448. -#define HAVE_RES_NS_LIST 1
  89449. -_ACEOF
  89450. +# LTCC compiler flags.
  89451. +LTCFLAGS=$lt_CFLAGS
  89452. -fi
  89453. -fi
  89454. +# Take the output of nm and produce a listing of raw symbols and C names.
  89455. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  89456. -XTRA_OBJS=''
  89457. -if test "$ac_cv_lib_malloc_main" = "yes" ; then
  89458. - if test -r /usr/lib/debug/malloc.o ; then
  89459. - XTRA_OBJS="$XTRA_OBJS /usr/lib/debug/malloc.o"
  89460. - fi
  89461. - if test -r /usr/lib/debug/mallocmap.o ; then
  89462. - XTRA_OBJS="$XTRA_OBJS /usr/lib/debug/mallocmap.o"
  89463. - fi
  89464. -fi
  89465. +# Transform the output of nm in a proper C declaration.
  89466. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  89467. +# Transform the output of nm in a C name address pair.
  89468. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  89469. +# Transform the output of nm in a C name address pair when lib prefix is needed.
  89470. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  89471. -if test -z "$XTRA_LIBS"; then
  89472. - XTRA_LIBS="$LIBS"
  89473. - XTRA_LIBS=`echo $XTRA_LIBS | sed -e "s/ */ /g"`
  89474. - LIBS=''
  89475. -fi
  89476. +# The name of the directory that contains temporary libtool files.
  89477. +objdir=$objdir
  89478. +# Shell to use when invoking shell scripts.
  89479. +SHELL=$lt_SHELL
  89480. -rm -f core
  89481. +# An echo program that does not interpret backslashes.
  89482. +ECHO=$lt_ECHO
  89483. -ac_config_files="$ac_config_files Makefile lib/Makefile scripts/Makefile scripts/RunCache scripts/RunAccel src/Makefile src/fs/Makefile src/repl/Makefile src/auth/Makefile contrib/Makefile snmplib/Makefile icons/Makefile errors/Makefile test-suite/Makefile doc/Makefile helpers/Makefile helpers/basic_auth/Makefile helpers/basic_auth/LDAP/Makefile helpers/basic_auth/MSNT/Makefile helpers/basic_auth/NCSA/Makefile helpers/basic_auth/PAM/Makefile helpers/basic_auth/SMB/Makefile helpers/basic_auth/mswin_sspi/Makefile helpers/basic_auth/YP/Makefile helpers/basic_auth/getpwnam/Makefile helpers/basic_auth/multi-domain-NTLM/Makefile helpers/basic_auth/SASL/Makefile helpers/basic_auth/POP3/Makefile helpers/basic_auth/DB/Makefile helpers/basic_auth/squid_radius_auth/Makefile helpers/digest_auth/Makefile helpers/digest_auth/password/Makefile helpers/digest_auth/ldap/Makefile helpers/digest_auth/eDirectory/Makefile helpers/ntlm_auth/Makefile helpers/ntlm_auth/fakeauth/Makefile helpers/ntlm_auth/no_check/Makefile helpers/ntlm_auth/SMB/Makefile helpers/ntlm_auth/SMB/smbval/Makefile helpers/ntlm_auth/mswin_sspi/Makefile helpers/negotiate_auth/Makefile helpers/negotiate_auth/mswin_sspi/Makefile helpers/negotiate_auth/squid_kerb_auth/Makefile helpers/external_acl/Makefile helpers/external_acl/ip_user/Makefile helpers/external_acl/ldap_group/Makefile helpers/external_acl/session/Makefile helpers/external_acl/unix_group/Makefile helpers/external_acl/wbinfo_group/Makefile helpers/external_acl/mswin_ad_group/Makefile helpers/external_acl/mswin_lm_group/Makefile tools/Makefile"
  89484. +# Used to examine libraries when file_magic_cmd begins with "file".
  89485. +MAGIC_CMD=$MAGIC_CMD
  89486. +# Must we lock files when doing compilation?
  89487. +need_locks=$lt_need_locks
  89488. +# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  89489. +DSYMUTIL=$lt_DSYMUTIL
  89490. +# Tool to change global to local symbols on Mac OS X.
  89491. +NMEDIT=$lt_NMEDIT
  89492. -subdirs="$subdirs lib/libTrie"
  89493. +# Tool to manipulate fat objects and archives on Mac OS X.
  89494. +LIPO=$lt_LIPO
  89495. +# ldd/readelf like tool for Mach-O binaries on Mac OS X.
  89496. +OTOOL=$lt_OTOOL
  89497. -cat >confcache <<\_ACEOF
  89498. -# This file is a shell script that caches the results of configure
  89499. -# tests run on this system so they can be shared between configure
  89500. -# scripts and configure runs, see configure's option --config-cache.
  89501. -# It is not useful on other systems. If it contains results you don't
  89502. -# want to keep, you may remove or edit it.
  89503. -#
  89504. -# config.status only pays attention to the cache file if you give it
  89505. -# the --recheck option to rerun configure.
  89506. -#
  89507. -# `ac_cv_env_foo' variables (set or unset) will be overridden when
  89508. -# loading this file, other *unset* `ac_cv_foo' will be assigned the
  89509. -# following values.
  89510. +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  89511. +OTOOL64=$lt_OTOOL64
  89512. -_ACEOF
  89513. +# Old archive suffix (normally "a").
  89514. +libext=$libext
  89515. -# The following way of writing the cache mishandles newlines in values,
  89516. -# but we know of no workaround that is simple, portable, and efficient.
  89517. -# So, we kill variables containing newlines.
  89518. -# Ultrix sh set writes to stderr and can't be redirected directly,
  89519. -# and sets the high bit in the cache file unless we assign to the vars.
  89520. -(
  89521. - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  89522. - eval ac_val=\$$ac_var
  89523. - case $ac_val in #(
  89524. - *${as_nl}*)
  89525. - case $ac_var in #(
  89526. - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  89527. -$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  89528. - esac
  89529. - case $ac_var in #(
  89530. - _ | IFS | as_nl) ;; #(
  89531. - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  89532. - *) $as_unset $ac_var ;;
  89533. - esac ;;
  89534. - esac
  89535. - done
  89536. +# Shared library suffix (normally ".so").
  89537. +shrext_cmds=$lt_shrext_cmds
  89538. - (set) 2>&1 |
  89539. - case $as_nl`(ac_space=' '; set) 2>&1` in #(
  89540. - *${as_nl}ac_space=\ *)
  89541. - # `set' does not quote correctly, so add quotes (double-quote
  89542. - # substitution turns \\\\ into \\, and sed turns \\ into \).
  89543. - sed -n \
  89544. - "s/'/'\\\\''/g;
  89545. - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  89546. - ;; #(
  89547. - *)
  89548. - # `set' quotes correctly as required by POSIX, so do not add quotes.
  89549. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  89550. - ;;
  89551. - esac |
  89552. - sort
  89553. -) |
  89554. - sed '
  89555. - /^ac_cv_env_/b end
  89556. - t clear
  89557. - :clear
  89558. - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  89559. - t end
  89560. - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  89561. - :end' >>confcache
  89562. -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  89563. - if test -w "$cache_file"; then
  89564. - test "x$cache_file" != "x/dev/null" &&
  89565. - { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
  89566. -$as_echo "$as_me: updating cache $cache_file" >&6;}
  89567. - cat confcache >$cache_file
  89568. - else
  89569. - { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  89570. -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  89571. - fi
  89572. -fi
  89573. -rm -f confcache
  89574. +# The commands to extract the exported symbol list from a shared archive.
  89575. +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  89576. -test "x$prefix" = xNONE && prefix=$ac_default_prefix
  89577. -# Let make expand exec_prefix.
  89578. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  89579. +# Variables whose values should be saved in libtool wrapper scripts and
  89580. +# restored at link time.
  89581. +variables_saved_for_relink=$lt_variables_saved_for_relink
  89582. -DEFS=-DHAVE_CONFIG_H
  89583. +# Do we need the "lib" prefix for modules?
  89584. +need_lib_prefix=$need_lib_prefix
  89585. -ac_libobjs=
  89586. -ac_ltlibobjs=
  89587. -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  89588. - # 1. Remove the extension, and $U if already installed.
  89589. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  89590. - ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  89591. - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  89592. - # will be set to the directory where LIBOBJS objects are built.
  89593. - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  89594. - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  89595. -done
  89596. -LIBOBJS=$ac_libobjs
  89597. +# Do we need a version for libraries?
  89598. +need_version=$need_version
  89599. -LTLIBOBJS=$ac_ltlibobjs
  89600. +# Library versioning type.
  89601. +version_type=$version_type
  89602. +# Shared library runtime path variable.
  89603. +runpath_var=$runpath_var
  89604. -if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  89605. - { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
  89606. -Usually this means the macro was only invoked conditionally." >&5
  89607. -$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
  89608. -Usually this means the macro was only invoked conditionally." >&2;}
  89609. - { (exit 1); exit 1; }; }
  89610. -fi
  89611. -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  89612. - { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
  89613. -Usually this means the macro was only invoked conditionally." >&5
  89614. -$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
  89615. -Usually this means the macro was only invoked conditionally." >&2;}
  89616. - { (exit 1); exit 1; }; }
  89617. -fi
  89618. -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  89619. - { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  89620. -Usually this means the macro was only invoked conditionally." >&5
  89621. -$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  89622. -Usually this means the macro was only invoked conditionally." >&2;}
  89623. - { (exit 1); exit 1; }; }
  89624. -fi
  89625. -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  89626. - { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
  89627. -Usually this means the macro was only invoked conditionally." >&5
  89628. -$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
  89629. -Usually this means the macro was only invoked conditionally." >&2;}
  89630. - { (exit 1); exit 1; }; }
  89631. -fi
  89632. -if test -z "${ENABLE_WIN32SPECIFIC_TRUE}" && test -z "${ENABLE_WIN32SPECIFIC_FALSE}"; then
  89633. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_WIN32SPECIFIC\" was never defined.
  89634. -Usually this means the macro was only invoked conditionally." >&5
  89635. -$as_echo "$as_me: error: conditional \"ENABLE_WIN32SPECIFIC\" was never defined.
  89636. -Usually this means the macro was only invoked conditionally." >&2;}
  89637. - { (exit 1); exit 1; }; }
  89638. -fi
  89639. -if test -z "${ENABLE_WIN32SPECIFIC_TRUE}" && test -z "${ENABLE_WIN32SPECIFIC_FALSE}"; then
  89640. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_WIN32SPECIFIC\" was never defined.
  89641. -Usually this means the macro was only invoked conditionally." >&5
  89642. -$as_echo "$as_me: error: conditional \"ENABLE_WIN32SPECIFIC\" was never defined.
  89643. -Usually this means the macro was only invoked conditionally." >&2;}
  89644. - { (exit 1); exit 1; }; }
  89645. -fi
  89646. -if test -z "${USE_IPC_WIN32_TRUE}" && test -z "${USE_IPC_WIN32_FALSE}"; then
  89647. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_IPC_WIN32\" was never defined.
  89648. -Usually this means the macro was only invoked conditionally." >&5
  89649. -$as_echo "$as_me: error: conditional \"USE_IPC_WIN32\" was never defined.
  89650. -Usually this means the macro was only invoked conditionally." >&2;}
  89651. - { (exit 1); exit 1; }; }
  89652. -fi
  89653. -if test -z "${USE_IPC_WIN32_TRUE}" && test -z "${USE_IPC_WIN32_FALSE}"; then
  89654. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_IPC_WIN32\" was never defined.
  89655. -Usually this means the macro was only invoked conditionally." >&5
  89656. -$as_echo "$as_me: error: conditional \"USE_IPC_WIN32\" was never defined.
  89657. -Usually this means the macro was only invoked conditionally." >&2;}
  89658. - { (exit 1); exit 1; }; }
  89659. -fi
  89660. -if test -z "${USE_AIOPS_WIN32_TRUE}" && test -z "${USE_AIOPS_WIN32_FALSE}"; then
  89661. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_AIOPS_WIN32\" was never defined.
  89662. -Usually this means the macro was only invoked conditionally." >&5
  89663. -$as_echo "$as_me: error: conditional \"USE_AIOPS_WIN32\" was never defined.
  89664. -Usually this means the macro was only invoked conditionally." >&2;}
  89665. - { (exit 1); exit 1; }; }
  89666. -fi
  89667. -if test -z "${USE_AIO_WIN32_TRUE}" && test -z "${USE_AIO_WIN32_FALSE}"; then
  89668. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_AIO_WIN32\" was never defined.
  89669. -Usually this means the macro was only invoked conditionally." >&5
  89670. -$as_echo "$as_me: error: conditional \"USE_AIO_WIN32\" was never defined.
  89671. -Usually this means the macro was only invoked conditionally." >&2;}
  89672. - { (exit 1); exit 1; }; }
  89673. -fi
  89674. -if test -z "${ENABLE_PINGER_TRUE}" && test -z "${ENABLE_PINGER_FALSE}"; then
  89675. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_PINGER\" was never defined.
  89676. -Usually this means the macro was only invoked conditionally." >&5
  89677. -$as_echo "$as_me: error: conditional \"ENABLE_PINGER\" was never defined.
  89678. -Usually this means the macro was only invoked conditionally." >&2;}
  89679. - { (exit 1); exit 1; }; }
  89680. -fi
  89681. -if test -z "${ENABLE_PINGER_TRUE}" && test -z "${ENABLE_PINGER_FALSE}"; then
  89682. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_PINGER\" was never defined.
  89683. -Usually this means the macro was only invoked conditionally." >&5
  89684. -$as_echo "$as_me: error: conditional \"ENABLE_PINGER\" was never defined.
  89685. -Usually this means the macro was only invoked conditionally." >&2;}
  89686. - { (exit 1); exit 1; }; }
  89687. -fi
  89688. -if test -z "${USE_DELAY_POOLS_TRUE}" && test -z "${USE_DELAY_POOLS_FALSE}"; then
  89689. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_DELAY_POOLS\" was never defined.
  89690. -Usually this means the macro was only invoked conditionally." >&5
  89691. -$as_echo "$as_me: error: conditional \"USE_DELAY_POOLS\" was never defined.
  89692. -Usually this means the macro was only invoked conditionally." >&2;}
  89693. - { (exit 1); exit 1; }; }
  89694. -fi
  89695. -if test -z "${USE_DELAY_POOLS_TRUE}" && test -z "${USE_DELAY_POOLS_FALSE}"; then
  89696. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_DELAY_POOLS\" was never defined.
  89697. -Usually this means the macro was only invoked conditionally." >&5
  89698. -$as_echo "$as_me: error: conditional \"USE_DELAY_POOLS\" was never defined.
  89699. -Usually this means the macro was only invoked conditionally." >&2;}
  89700. - { (exit 1); exit 1; }; }
  89701. -fi
  89702. -if test -z "${USE_ESI_TRUE}" && test -z "${USE_ESI_FALSE}"; then
  89703. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_ESI\" was never defined.
  89704. -Usually this means the macro was only invoked conditionally." >&5
  89705. -$as_echo "$as_me: error: conditional \"USE_ESI\" was never defined.
  89706. -Usually this means the macro was only invoked conditionally." >&2;}
  89707. - { (exit 1); exit 1; }; }
  89708. -fi
  89709. -if test -z "${USE_ESI_TRUE}" && test -z "${USE_ESI_FALSE}"; then
  89710. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_ESI\" was never defined.
  89711. -Usually this means the macro was only invoked conditionally." >&5
  89712. -$as_echo "$as_me: error: conditional \"USE_ESI\" was never defined.
  89713. -Usually this means the macro was only invoked conditionally." >&2;}
  89714. - { (exit 1); exit 1; }; }
  89715. -fi
  89716. -if test -z "${USE_ICAP_CLIENT_TRUE}" && test -z "${USE_ICAP_CLIENT_FALSE}"; then
  89717. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_ICAP_CLIENT\" was never defined.
  89718. -Usually this means the macro was only invoked conditionally." >&5
  89719. -$as_echo "$as_me: error: conditional \"USE_ICAP_CLIENT\" was never defined.
  89720. -Usually this means the macro was only invoked conditionally." >&2;}
  89721. - { (exit 1); exit 1; }; }
  89722. -fi
  89723. -if test -z "${USE_ICAP_CLIENT_TRUE}" && test -z "${USE_ICAP_CLIENT_FALSE}"; then
  89724. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_ICAP_CLIENT\" was never defined.
  89725. -Usually this means the macro was only invoked conditionally." >&5
  89726. -$as_echo "$as_me: error: conditional \"USE_ICAP_CLIENT\" was never defined.
  89727. -Usually this means the macro was only invoked conditionally." >&2;}
  89728. - { (exit 1); exit 1; }; }
  89729. -fi
  89730. -if test -z "${USE_SNMP_TRUE}" && test -z "${USE_SNMP_FALSE}"; then
  89731. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_SNMP\" was never defined.
  89732. -Usually this means the macro was only invoked conditionally." >&5
  89733. -$as_echo "$as_me: error: conditional \"USE_SNMP\" was never defined.
  89734. -Usually this means the macro was only invoked conditionally." >&2;}
  89735. - { (exit 1); exit 1; }; }
  89736. -fi
  89737. -if test -z "${ENABLE_ARP_ACL_TRUE}" && test -z "${ENABLE_ARP_ACL_FALSE}"; then
  89738. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_ARP_ACL\" was never defined.
  89739. -Usually this means the macro was only invoked conditionally." >&5
  89740. -$as_echo "$as_me: error: conditional \"ENABLE_ARP_ACL\" was never defined.
  89741. -Usually this means the macro was only invoked conditionally." >&2;}
  89742. - { (exit 1); exit 1; }; }
  89743. -fi
  89744. -if test -z "${ENABLE_ARP_ACL_TRUE}" && test -z "${ENABLE_ARP_ACL_FALSE}"; then
  89745. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_ARP_ACL\" was never defined.
  89746. -Usually this means the macro was only invoked conditionally." >&5
  89747. -$as_echo "$as_me: error: conditional \"ENABLE_ARP_ACL\" was never defined.
  89748. -Usually this means the macro was only invoked conditionally." >&2;}
  89749. - { (exit 1); exit 1; }; }
  89750. -fi
  89751. -if test -z "${ENABLE_HTCP_TRUE}" && test -z "${ENABLE_HTCP_FALSE}"; then
  89752. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_HTCP\" was never defined.
  89753. -Usually this means the macro was only invoked conditionally." >&5
  89754. -$as_echo "$as_me: error: conditional \"ENABLE_HTCP\" was never defined.
  89755. -Usually this means the macro was only invoked conditionally." >&2;}
  89756. - { (exit 1); exit 1; }; }
  89757. -fi
  89758. -if test -z "${ENABLE_HTCP_TRUE}" && test -z "${ENABLE_HTCP_FALSE}"; then
  89759. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_HTCP\" was never defined.
  89760. -Usually this means the macro was only invoked conditionally." >&5
  89761. -$as_echo "$as_me: error: conditional \"ENABLE_HTCP\" was never defined.
  89762. -Usually this means the macro was only invoked conditionally." >&2;}
  89763. - { (exit 1); exit 1; }; }
  89764. -fi
  89765. -if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
  89766. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SSL\" was never defined.
  89767. -Usually this means the macro was only invoked conditionally." >&5
  89768. -$as_echo "$as_me: error: conditional \"ENABLE_SSL\" was never defined.
  89769. -Usually this means the macro was only invoked conditionally." >&2;}
  89770. - { (exit 1); exit 1; }; }
  89771. -fi
  89772. -if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
  89773. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SSL\" was never defined.
  89774. -Usually this means the macro was only invoked conditionally." >&5
  89775. -$as_echo "$as_me: error: conditional \"ENABLE_SSL\" was never defined.
  89776. -Usually this means the macro was only invoked conditionally." >&2;}
  89777. - { (exit 1); exit 1; }; }
  89778. -fi
  89779. -if test -z "${MAKE_LEAKFINDER_TRUE}" && test -z "${MAKE_LEAKFINDER_FALSE}"; then
  89780. - { { $as_echo "$as_me:$LINENO: error: conditional \"MAKE_LEAKFINDER\" was never defined.
  89781. -Usually this means the macro was only invoked conditionally." >&5
  89782. -$as_echo "$as_me: error: conditional \"MAKE_LEAKFINDER\" was never defined.
  89783. -Usually this means the macro was only invoked conditionally." >&2;}
  89784. - { (exit 1); exit 1; }; }
  89785. -fi
  89786. -if test -z "${MAKE_LEAKFINDER_TRUE}" && test -z "${MAKE_LEAKFINDER_FALSE}"; then
  89787. - { { $as_echo "$as_me:$LINENO: error: conditional \"MAKE_LEAKFINDER\" was never defined.
  89788. -Usually this means the macro was only invoked conditionally." >&5
  89789. -$as_echo "$as_me: error: conditional \"MAKE_LEAKFINDER\" was never defined.
  89790. -Usually this means the macro was only invoked conditionally." >&2;}
  89791. - { (exit 1); exit 1; }; }
  89792. -fi
  89793. -if test -z "${ENABLE_IDENT_TRUE}" && test -z "${ENABLE_IDENT_FALSE}"; then
  89794. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_IDENT\" was never defined.
  89795. -Usually this means the macro was only invoked conditionally." >&5
  89796. -$as_echo "$as_me: error: conditional \"ENABLE_IDENT\" was never defined.
  89797. -Usually this means the macro was only invoked conditionally." >&2;}
  89798. - { (exit 1); exit 1; }; }
  89799. -fi
  89800. -if test -z "${ENABLE_IDENT_TRUE}" && test -z "${ENABLE_IDENT_FALSE}"; then
  89801. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_IDENT\" was never defined.
  89802. -Usually this means the macro was only invoked conditionally." >&5
  89803. -$as_echo "$as_me: error: conditional \"ENABLE_IDENT\" was never defined.
  89804. -Usually this means the macro was only invoked conditionally." >&2;}
  89805. - { (exit 1); exit 1; }; }
  89806. -fi
  89807. -if test -z "${USE_DNSSERVER_TRUE}" && test -z "${USE_DNSSERVER_FALSE}"; then
  89808. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_DNSSERVER\" was never defined.
  89809. -Usually this means the macro was only invoked conditionally." >&5
  89810. -$as_echo "$as_me: error: conditional \"USE_DNSSERVER\" was never defined.
  89811. -Usually this means the macro was only invoked conditionally." >&2;}
  89812. - { (exit 1); exit 1; }; }
  89813. -fi
  89814. -if test -z "${USE_DNSSERVER_TRUE}" && test -z "${USE_DNSSERVER_FALSE}"; then
  89815. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_DNSSERVER\" was never defined.
  89816. -Usually this means the macro was only invoked conditionally." >&5
  89817. -$as_echo "$as_me: error: conditional \"USE_DNSSERVER\" was never defined.
  89818. -Usually this means the macro was only invoked conditionally." >&2;}
  89819. - { (exit 1); exit 1; }; }
  89820. -fi
  89821. -if test -z "${HAVE_SPNEGO_TRUE}" && test -z "${HAVE_SPNEGO_FALSE}"; then
  89822. - { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_SPNEGO\" was never defined.
  89823. -Usually this means the macro was only invoked conditionally." >&5
  89824. -$as_echo "$as_me: error: conditional \"HAVE_SPNEGO\" was never defined.
  89825. -Usually this means the macro was only invoked conditionally." >&2;}
  89826. - { (exit 1); exit 1; }; }
  89827. -fi
  89828. -if test -z "${ENABLE_UNLINKD_TRUE}" && test -z "${ENABLE_UNLINKD_FALSE}"; then
  89829. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_UNLINKD\" was never defined.
  89830. -Usually this means the macro was only invoked conditionally." >&5
  89831. -$as_echo "$as_me: error: conditional \"ENABLE_UNLINKD\" was never defined.
  89832. -Usually this means the macro was only invoked conditionally." >&2;}
  89833. - { (exit 1); exit 1; }; }
  89834. -fi
  89835. -if test -z "${ENABLE_UNLINKD_TRUE}" && test -z "${ENABLE_UNLINKD_FALSE}"; then
  89836. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_UNLINKD\" was never defined.
  89837. -Usually this means the macro was only invoked conditionally." >&5
  89838. -$as_echo "$as_me: error: conditional \"ENABLE_UNLINKD\" was never defined.
  89839. -Usually this means the macro was only invoked conditionally." >&2;}
  89840. - { (exit 1); exit 1; }; }
  89841. -fi
  89842. -if test -z "${ENABLE_XPROF_STATS_TRUE}" && test -z "${ENABLE_XPROF_STATS_FALSE}"; then
  89843. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_XPROF_STATS\" was never defined.
  89844. -Usually this means the macro was only invoked conditionally." >&5
  89845. -$as_echo "$as_me: error: conditional \"ENABLE_XPROF_STATS\" was never defined.
  89846. -Usually this means the macro was only invoked conditionally." >&2;}
  89847. - { (exit 1); exit 1; }; }
  89848. -fi
  89849. -if test -z "${ENABLE_XPROF_STATS_TRUE}" && test -z "${ENABLE_XPROF_STATS_FALSE}"; then
  89850. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_XPROF_STATS\" was never defined.
  89851. -Usually this means the macro was only invoked conditionally." >&5
  89852. -$as_echo "$as_me: error: conditional \"ENABLE_XPROF_STATS\" was never defined.
  89853. -Usually this means the macro was only invoked conditionally." >&2;}
  89854. - { (exit 1); exit 1; }; }
  89855. -fi
  89856. -if test -z "${USE_POLL_TRUE}" && test -z "${USE_POLL_FALSE}"; then
  89857. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_POLL\" was never defined.
  89858. -Usually this means the macro was only invoked conditionally." >&5
  89859. -$as_echo "$as_me: error: conditional \"USE_POLL\" was never defined.
  89860. -Usually this means the macro was only invoked conditionally." >&2;}
  89861. - { (exit 1); exit 1; }; }
  89862. -fi
  89863. -if test -z "${USE_EPOLL_TRUE}" && test -z "${USE_EPOLL_FALSE}"; then
  89864. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_EPOLL\" was never defined.
  89865. -Usually this means the macro was only invoked conditionally." >&5
  89866. -$as_echo "$as_me: error: conditional \"USE_EPOLL\" was never defined.
  89867. -Usually this means the macro was only invoked conditionally." >&2;}
  89868. - { (exit 1); exit 1; }; }
  89869. -fi
  89870. -if test -z "${USE_SELECT_TRUE}" && test -z "${USE_SELECT_FALSE}"; then
  89871. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_SELECT\" was never defined.
  89872. -Usually this means the macro was only invoked conditionally." >&5
  89873. -$as_echo "$as_me: error: conditional \"USE_SELECT\" was never defined.
  89874. -Usually this means the macro was only invoked conditionally." >&2;}
  89875. - { (exit 1); exit 1; }; }
  89876. -fi
  89877. -if test -z "${USE_SELECT_SIMPLE_TRUE}" && test -z "${USE_SELECT_SIMPLE_FALSE}"; then
  89878. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_SELECT_SIMPLE\" was never defined.
  89879. -Usually this means the macro was only invoked conditionally." >&5
  89880. -$as_echo "$as_me: error: conditional \"USE_SELECT_SIMPLE\" was never defined.
  89881. -Usually this means the macro was only invoked conditionally." >&2;}
  89882. - { (exit 1); exit 1; }; }
  89883. -fi
  89884. -if test -z "${USE_SELECT_WIN32_TRUE}" && test -z "${USE_SELECT_WIN32_FALSE}"; then
  89885. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_SELECT_WIN32\" was never defined.
  89886. -Usually this means the macro was only invoked conditionally." >&5
  89887. -$as_echo "$as_me: error: conditional \"USE_SELECT_WIN32\" was never defined.
  89888. -Usually this means the macro was only invoked conditionally." >&2;}
  89889. - { (exit 1); exit 1; }; }
  89890. -fi
  89891. -if test -z "${USE_KQUEUE_TRUE}" && test -z "${USE_KQUEUE_FALSE}"; then
  89892. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_KQUEUE\" was never defined.
  89893. -Usually this means the macro was only invoked conditionally." >&5
  89894. -$as_echo "$as_me: error: conditional \"USE_KQUEUE\" was never defined.
  89895. -Usually this means the macro was only invoked conditionally." >&2;}
  89896. - { (exit 1); exit 1; }; }
  89897. -fi
  89898. -if test -z "${USE_DEVPOLL_TRUE}" && test -z "${USE_DEVPOLL_FALSE}"; then
  89899. - { { $as_echo "$as_me:$LINENO: error: conditional \"USE_DEVPOLL\" was never defined.
  89900. -Usually this means the macro was only invoked conditionally." >&5
  89901. -$as_echo "$as_me: error: conditional \"USE_DEVPOLL\" was never defined.
  89902. -Usually this means the macro was only invoked conditionally." >&2;}
  89903. - { (exit 1); exit 1; }; }
  89904. -fi
  89905. +# Shared library path variable.
  89906. +shlibpath_var=$shlibpath_var
  89907. -: ${CONFIG_STATUS=./config.status}
  89908. -ac_write_fail=0
  89909. -ac_clean_files_save=$ac_clean_files
  89910. -ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  89911. -{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  89912. -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  89913. -cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  89914. -#! $SHELL
  89915. -# Generated by $as_me.
  89916. -# Run this file to recreate the current configuration.
  89917. -# Compiler output produced by configure, useful for debugging
  89918. -# configure, is in config.log if it exists.
  89919. +# Is shlibpath searched before the hard-coded library search path?
  89920. +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  89921. -debug=false
  89922. -ac_cs_recheck=false
  89923. -ac_cs_silent=false
  89924. -SHELL=\${CONFIG_SHELL-$SHELL}
  89925. -_ACEOF
  89926. +# Format of library name prefix.
  89927. +libname_spec=$lt_libname_spec
  89928. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  89929. -## --------------------- ##
  89930. -## M4sh Initialization. ##
  89931. -## --------------------- ##
  89932. +# List of archive names. First name is the real one, the rest are links.
  89933. +# The last name is the one that the linker finds with -lNAME
  89934. +library_names_spec=$lt_library_names_spec
  89935. -# Be more Bourne compatible
  89936. -DUALCASE=1; export DUALCASE # for MKS sh
  89937. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  89938. - emulate sh
  89939. - NULLCMD=:
  89940. - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  89941. - # is contrary to our usage. Disable this feature.
  89942. - alias -g '${1+"$@"}'='"$@"'
  89943. - setopt NO_GLOB_SUBST
  89944. -else
  89945. - case `(set -o) 2>/dev/null` in
  89946. - *posix*) set -o posix ;;
  89947. -esac
  89948. +# The coded name of the library, if different from the real name.
  89949. +soname_spec=$lt_soname_spec
  89950. -fi
  89951. +# Command to use after installation of a shared archive.
  89952. +postinstall_cmds=$lt_postinstall_cmds
  89953. +# Command to use after uninstallation of a shared archive.
  89954. +postuninstall_cmds=$lt_postuninstall_cmds
  89955. +# Commands used to finish a libtool library installation in a directory.
  89956. +finish_cmds=$lt_finish_cmds
  89957. +# As "finish_cmds", except a single script fragment to be evaled but
  89958. +# not shown.
  89959. +finish_eval=$lt_finish_eval
  89960. -# PATH needs CR
  89961. -# Avoid depending upon Character Ranges.
  89962. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  89963. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  89964. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  89965. -as_cr_digits='0123456789'
  89966. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  89967. +# Whether we should hardcode library paths into libraries.
  89968. +hardcode_into_libs=$hardcode_into_libs
  89969. -as_nl='
  89970. -'
  89971. -export as_nl
  89972. -# Printing a long string crashes Solaris 7 /usr/bin/printf.
  89973. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  89974. -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  89975. -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  89976. -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  89977. - as_echo='printf %s\n'
  89978. - as_echo_n='printf %s'
  89979. -else
  89980. - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  89981. - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  89982. - as_echo_n='/usr/ucb/echo -n'
  89983. - else
  89984. - as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  89985. - as_echo_n_body='eval
  89986. - arg=$1;
  89987. - case $arg in
  89988. - *"$as_nl"*)
  89989. - expr "X$arg" : "X\\(.*\\)$as_nl";
  89990. - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  89991. - esac;
  89992. - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  89993. - '
  89994. - export as_echo_n_body
  89995. - as_echo_n='sh -c $as_echo_n_body as_echo'
  89996. - fi
  89997. - export as_echo_body
  89998. - as_echo='sh -c $as_echo_body as_echo'
  89999. -fi
  90000. +# Compile-time system search path for libraries.
  90001. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  90002. -# The user is always right.
  90003. -if test "${PATH_SEPARATOR+set}" != set; then
  90004. - PATH_SEPARATOR=:
  90005. - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  90006. - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  90007. - PATH_SEPARATOR=';'
  90008. - }
  90009. -fi
  90010. +# Run-time system search path for libraries.
  90011. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  90012. -# Support unset when possible.
  90013. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  90014. - as_unset=unset
  90015. -else
  90016. - as_unset=false
  90017. -fi
  90018. +# Whether dlopen is supported.
  90019. +dlopen_support=$enable_dlopen
  90020. +# Whether dlopen of programs is supported.
  90021. +dlopen_self=$enable_dlopen_self
  90022. -# IFS
  90023. -# We need space, tab and new line, in precisely that order. Quoting is
  90024. -# there to prevent editors from complaining about space-tab.
  90025. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  90026. -# splitting by setting IFS to empty value.)
  90027. -IFS=" "" $as_nl"
  90028. +# Whether dlopen of statically linked programs is supported.
  90029. +dlopen_self_static=$enable_dlopen_self_static
  90030. -# Find who we are. Look in the path if we contain no directory separator.
  90031. -case $0 in
  90032. - *[\\/]* ) as_myself=$0 ;;
  90033. - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  90034. -for as_dir in $PATH
  90035. -do
  90036. - IFS=$as_save_IFS
  90037. - test -z "$as_dir" && as_dir=.
  90038. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  90039. -done
  90040. -IFS=$as_save_IFS
  90041. +# Commands to strip libraries.
  90042. +old_striplib=$lt_old_striplib
  90043. +striplib=$lt_striplib
  90044. - ;;
  90045. -esac
  90046. -# We did not find ourselves, most probably we were run as `sh COMMAND'
  90047. -# in which case we are not to be found in the path.
  90048. -if test "x$as_myself" = x; then
  90049. - as_myself=$0
  90050. -fi
  90051. -if test ! -f "$as_myself"; then
  90052. - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  90053. - { (exit 1); exit 1; }
  90054. -fi
  90055. -# Work around bugs in pre-3.0 UWIN ksh.
  90056. -for as_var in ENV MAIL MAILPATH
  90057. -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  90058. -done
  90059. -PS1='$ '
  90060. -PS2='> '
  90061. -PS4='+ '
  90062. +# The linker used to build libraries.
  90063. +LD=$lt_LD
  90064. -# NLS nuisances.
  90065. -LC_ALL=C
  90066. -export LC_ALL
  90067. -LANGUAGE=C
  90068. -export LANGUAGE
  90069. +# Commands used to build an old-style archive.
  90070. +old_archive_cmds=$lt_old_archive_cmds
  90071. -# Required to use basename.
  90072. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  90073. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  90074. - as_expr=expr
  90075. -else
  90076. - as_expr=false
  90077. -fi
  90078. +# A language specific compiler.
  90079. +CC=$lt_compiler
  90080. -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  90081. - as_basename=basename
  90082. -else
  90083. - as_basename=false
  90084. -fi
  90085. +# Is the compiler the GNU compiler?
  90086. +with_gcc=$GCC
  90087. +# Compiler flag to turn off builtin functions.
  90088. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  90089. -# Name of the executable.
  90090. -as_me=`$as_basename -- "$0" ||
  90091. -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  90092. - X"$0" : 'X\(//\)$' \| \
  90093. - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  90094. -$as_echo X/"$0" |
  90095. - sed '/^.*\/\([^/][^/]*\)\/*$/{
  90096. - s//\1/
  90097. - q
  90098. - }
  90099. - /^X\/\(\/\/\)$/{
  90100. - s//\1/
  90101. - q
  90102. - }
  90103. - /^X\/\(\/\).*/{
  90104. - s//\1/
  90105. - q
  90106. - }
  90107. - s/.*/./; q'`
  90108. +# How to pass a linker flag through the compiler.
  90109. +wl=$lt_lt_prog_compiler_wl
  90110. -# CDPATH.
  90111. -$as_unset CDPATH
  90112. +# Additional compiler flags for building library objects.
  90113. +pic_flag=$lt_lt_prog_compiler_pic
  90114. +# Compiler flag to prevent dynamic linking.
  90115. +link_static_flag=$lt_lt_prog_compiler_static
  90116. +# Does compiler simultaneously support -c and -o options?
  90117. +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  90118. - as_lineno_1=$LINENO
  90119. - as_lineno_2=$LINENO
  90120. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  90121. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  90122. -
  90123. - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  90124. - # uniformly replaced by the line number. The first 'sed' inserts a
  90125. - # line-number line after each line using $LINENO; the second 'sed'
  90126. - # does the real work. The second script uses 'N' to pair each
  90127. - # line-number line with the line containing $LINENO, and appends
  90128. - # trailing '-' during substitution so that $LINENO is not a special
  90129. - # case at line end.
  90130. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  90131. - # scripts with optimization help from Paolo Bonzini. Blame Lee
  90132. - # E. McMahon (1931-1989) for sed's syntax. :-)
  90133. - sed -n '
  90134. - p
  90135. - /[$]LINENO/=
  90136. - ' <$as_myself |
  90137. - sed '
  90138. - s/[$]LINENO.*/&-/
  90139. - t lineno
  90140. - b
  90141. - :lineno
  90142. - N
  90143. - :loop
  90144. - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  90145. - t loop
  90146. - s/-\n.*//
  90147. - ' >$as_me.lineno &&
  90148. - chmod +x "$as_me.lineno" ||
  90149. - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  90150. - { (exit 1); exit 1; }; }
  90151. +# Whether or not to add -lc for building shared libraries.
  90152. +build_libtool_need_lc=$archive_cmds_need_lc
  90153. - # Don't try to exec as it changes $[0], causing all sort of problems
  90154. - # (the dirname of $[0] is not the place where we might find the
  90155. - # original and so on. Autoconf is especially sensitive to this).
  90156. - . "./$as_me.lineno"
  90157. - # Exit status is that of the last command.
  90158. - exit
  90159. -}
  90160. +# Whether or not to disallow shared libs when runtime libs are static.
  90161. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  90162. +# Compiler flag to allow reflexive dlopens.
  90163. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  90164. -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  90165. - as_dirname=dirname
  90166. -else
  90167. - as_dirname=false
  90168. -fi
  90169. +# Compiler flag to generate shared objects directly from archives.
  90170. +whole_archive_flag_spec=$lt_whole_archive_flag_spec
  90171. -ECHO_C= ECHO_N= ECHO_T=
  90172. -case `echo -n x` in
  90173. --n*)
  90174. - case `echo 'x\c'` in
  90175. - *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  90176. - *) ECHO_C='\c';;
  90177. - esac;;
  90178. -*)
  90179. - ECHO_N='-n';;
  90180. -esac
  90181. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  90182. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  90183. - as_expr=expr
  90184. -else
  90185. - as_expr=false
  90186. -fi
  90187. +# Whether the compiler copes with passing no objects directly.
  90188. +compiler_needs_object=$lt_compiler_needs_object
  90189. -rm -f conf$$ conf$$.exe conf$$.file
  90190. -if test -d conf$$.dir; then
  90191. - rm -f conf$$.dir/conf$$.file
  90192. -else
  90193. - rm -f conf$$.dir
  90194. - mkdir conf$$.dir 2>/dev/null
  90195. -fi
  90196. -if (echo >conf$$.file) 2>/dev/null; then
  90197. - if ln -s conf$$.file conf$$ 2>/dev/null; then
  90198. - as_ln_s='ln -s'
  90199. - # ... but there are two gotchas:
  90200. - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  90201. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  90202. - # In both cases, we have to default to `cp -p'.
  90203. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  90204. - as_ln_s='cp -p'
  90205. - elif ln conf$$.file conf$$ 2>/dev/null; then
  90206. - as_ln_s=ln
  90207. - else
  90208. - as_ln_s='cp -p'
  90209. - fi
  90210. -else
  90211. - as_ln_s='cp -p'
  90212. -fi
  90213. -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  90214. -rmdir conf$$.dir 2>/dev/null
  90215. +# Create an old-style archive from a shared archive.
  90216. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  90217. -if mkdir -p . 2>/dev/null; then
  90218. - as_mkdir_p=:
  90219. -else
  90220. - test -d ./-p && rmdir ./-p
  90221. - as_mkdir_p=false
  90222. -fi
  90223. +# Create a temporary old-style archive to link instead of a shared archive.
  90224. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  90225. -if test -x / >/dev/null 2>&1; then
  90226. - as_test_x='test -x'
  90227. -else
  90228. - if ls -dL / >/dev/null 2>&1; then
  90229. - as_ls_L_option=L
  90230. - else
  90231. - as_ls_L_option=
  90232. - fi
  90233. - as_test_x='
  90234. - eval sh -c '\''
  90235. - if test -d "$1"; then
  90236. - test -d "$1/.";
  90237. - else
  90238. - case $1 in
  90239. - -*)set "./$1";;
  90240. - esac;
  90241. - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  90242. - ???[sx]*):;;*)false;;esac;fi
  90243. - '\'' sh
  90244. - '
  90245. -fi
  90246. -as_executable_p=$as_test_x
  90247. +# Commands used to build a shared archive.
  90248. +archive_cmds=$lt_archive_cmds
  90249. +archive_expsym_cmds=$lt_archive_expsym_cmds
  90250. -# Sed expression to map a string onto a valid CPP name.
  90251. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  90252. +# Commands used to build a loadable module if different from building
  90253. +# a shared archive.
  90254. +module_cmds=$lt_module_cmds
  90255. +module_expsym_cmds=$lt_module_expsym_cmds
  90256. -# Sed expression to map a string onto a valid variable name.
  90257. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  90258. +# Whether we are building with GNU ld or not.
  90259. +with_gnu_ld=$lt_with_gnu_ld
  90260. +
  90261. +# Flag that allows shared libraries with undefined symbols to be built.
  90262. +allow_undefined_flag=$lt_allow_undefined_flag
  90263. +# Flag that enforces no undefined symbols.
  90264. +no_undefined_flag=$lt_no_undefined_flag
  90265. -exec 6>&1
  90266. +# Flag to hardcode \$libdir into a binary during linking.
  90267. +# This must work even if \$libdir does not exist
  90268. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  90269. -# Save the log message, to keep $[0] and so on meaningful, and to
  90270. -# report actual input values of CONFIG_FILES etc. instead of their
  90271. -# values after options handling.
  90272. -ac_log="
  90273. -This file was extended by Squid Web Proxy $as_me 3.0.STABLE20, which was
  90274. -generated by GNU Autoconf 2.62. Invocation command line was
  90275. +# If ld is used when linking, flag to hardcode \$libdir into a binary
  90276. +# during linking. This must work even if \$libdir does not exist.
  90277. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  90278. - CONFIG_FILES = $CONFIG_FILES
  90279. - CONFIG_HEADERS = $CONFIG_HEADERS
  90280. - CONFIG_LINKS = $CONFIG_LINKS
  90281. - CONFIG_COMMANDS = $CONFIG_COMMANDS
  90282. - $ $0 $@
  90283. +# Whether we need a single "-rpath" flag with a separated argument.
  90284. +hardcode_libdir_separator=$lt_hardcode_libdir_separator
  90285. -on `(hostname || uname -n) 2>/dev/null | sed 1q`
  90286. -"
  90287. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  90288. +# DIR into the resulting binary.
  90289. +hardcode_direct=$hardcode_direct
  90290. -_ACEOF
  90291. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  90292. +# DIR into the resulting binary and the resulting library dependency is
  90293. +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  90294. +# library is relocated.
  90295. +hardcode_direct_absolute=$hardcode_direct_absolute
  90296. -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  90297. -# Files that config.status was made for.
  90298. -config_files="$ac_config_files"
  90299. -config_headers="$ac_config_headers"
  90300. -config_commands="$ac_config_commands"
  90301. +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  90302. +# into the resulting binary.
  90303. +hardcode_minus_L=$hardcode_minus_L
  90304. -_ACEOF
  90305. +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  90306. +# into the resulting binary.
  90307. +hardcode_shlibpath_var=$hardcode_shlibpath_var
  90308. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  90309. -ac_cs_usage="\
  90310. -\`$as_me' instantiates files from templates according to the
  90311. -current configuration.
  90312. +# Set to "yes" if building a shared library automatically hardcodes DIR
  90313. +# into the library and all subsequent libraries and executables linked
  90314. +# against it.
  90315. +hardcode_automatic=$hardcode_automatic
  90316. -Usage: $0 [OPTIONS] [FILE]...
  90317. +# Set to yes if linker adds runtime paths of dependent libraries
  90318. +# to runtime path list.
  90319. +inherit_rpath=$inherit_rpath
  90320. - -h, --help print this help, then exit
  90321. - -V, --version print version number and configuration settings, then exit
  90322. - -q, --quiet do not print progress messages
  90323. - -d, --debug don't remove temporary files
  90324. - --recheck update $as_me by reconfiguring in the same conditions
  90325. - --file=FILE[:TEMPLATE]
  90326. - instantiate the configuration file FILE
  90327. - --header=FILE[:TEMPLATE]
  90328. - instantiate the configuration header FILE
  90329. +# Whether libtool must link a program against all its dependency libraries.
  90330. +link_all_deplibs=$link_all_deplibs
  90331. -Configuration files:
  90332. -$config_files
  90333. +# Fix the shell variable \$srcfile for the compiler.
  90334. +fix_srcfile_path=$lt_fix_srcfile_path
  90335. -Configuration headers:
  90336. -$config_headers
  90337. +# Set to "yes" if exported symbols are required.
  90338. +always_export_symbols=$always_export_symbols
  90339. -Configuration commands:
  90340. -$config_commands
  90341. +# The commands to list exported symbols.
  90342. +export_symbols_cmds=$lt_export_symbols_cmds
  90343. -Report bugs to <bug-autoconf@gnu.org>."
  90344. +# Symbols that should not be listed in the preloaded symbols.
  90345. +exclude_expsyms=$lt_exclude_expsyms
  90346. -_ACEOF
  90347. -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  90348. -ac_cs_version="\\
  90349. -Squid Web Proxy config.status 3.0.STABLE20
  90350. -configured by $0, generated by GNU Autoconf 2.62,
  90351. - with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  90352. +# Symbols that must always be exported.
  90353. +include_expsyms=$lt_include_expsyms
  90354. -Copyright (C) 2008 Free Software Foundation, Inc.
  90355. -This config.status script is free software; the Free Software Foundation
  90356. -gives unlimited permission to copy, distribute and modify it."
  90357. +# Commands necessary for linking programs (against libraries) with templates.
  90358. +prelink_cmds=$lt_prelink_cmds
  90359. -ac_pwd='$ac_pwd'
  90360. -srcdir='$srcdir'
  90361. -INSTALL='$INSTALL'
  90362. -MKDIR_P='$MKDIR_P'
  90363. -AWK='$AWK'
  90364. -test -n "\$AWK" || AWK=awk
  90365. -_ACEOF
  90366. +# Specify filename containing input files.
  90367. +file_list_spec=$lt_file_list_spec
  90368. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  90369. -# The default lists apply if the user does not specify any file.
  90370. -ac_need_defaults=:
  90371. -while test $# != 0
  90372. -do
  90373. - case $1 in
  90374. - --*=*)
  90375. - ac_option=`expr "X$1" : 'X\([^=]*\)='`
  90376. - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  90377. - ac_shift=:
  90378. - ;;
  90379. - *)
  90380. - ac_option=$1
  90381. - ac_optarg=$2
  90382. - ac_shift=shift
  90383. - ;;
  90384. - esac
  90385. +# How to hardcode a shared library path into an executable.
  90386. +hardcode_action=$hardcode_action
  90387. - case $ac_option in
  90388. - # Handling of the options.
  90389. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  90390. - ac_cs_recheck=: ;;
  90391. - --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  90392. - $as_echo "$ac_cs_version"; exit ;;
  90393. - --debug | --debu | --deb | --de | --d | -d )
  90394. - debug=: ;;
  90395. - --file | --fil | --fi | --f )
  90396. - $ac_shift
  90397. - case $ac_optarg in
  90398. - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  90399. - esac
  90400. - CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
  90401. - ac_need_defaults=false;;
  90402. - --header | --heade | --head | --hea )
  90403. - $ac_shift
  90404. - case $ac_optarg in
  90405. - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  90406. - esac
  90407. - CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
  90408. - ac_need_defaults=false;;
  90409. - --he | --h)
  90410. - # Conflict between --help and --header
  90411. - { $as_echo "$as_me: error: ambiguous option: $1
  90412. -Try \`$0 --help' for more information." >&2
  90413. - { (exit 1); exit 1; }; };;
  90414. - --help | --hel | -h )
  90415. - $as_echo "$ac_cs_usage"; exit ;;
  90416. - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  90417. - | -silent | --silent | --silen | --sile | --sil | --si | --s)
  90418. - ac_cs_silent=: ;;
  90419. +# The directories searched by this compiler when creating a shared library.
  90420. +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
  90421. - # This is an error.
  90422. - -*) { $as_echo "$as_me: error: unrecognized option: $1
  90423. -Try \`$0 --help' for more information." >&2
  90424. - { (exit 1); exit 1; }; } ;;
  90425. +# Dependencies to place before and after the objects being linked to
  90426. +# create a shared library.
  90427. +predep_objects=$lt_predep_objects
  90428. +postdep_objects=$lt_postdep_objects
  90429. +predeps=$lt_predeps
  90430. +postdeps=$lt_postdeps
  90431. - *) ac_config_targets="$ac_config_targets $1"
  90432. - ac_need_defaults=false ;;
  90433. +# The library search path used internally by the compiler when linking
  90434. +# a shared library.
  90435. +compiler_lib_search_path=$lt_compiler_lib_search_path
  90436. - esac
  90437. - shift
  90438. -done
  90439. +# ### END LIBTOOL CONFIG
  90440. -ac_configure_extra_args=
  90441. +_LT_EOF
  90442. -if $ac_cs_silent; then
  90443. - exec 6>/dev/null
  90444. - ac_configure_extra_args="$ac_configure_extra_args --silent"
  90445. + case $host_os in
  90446. + aix3*)
  90447. + cat <<\_LT_EOF >> "$cfgfile"
  90448. +# AIX sometimes has problems with the GCC collect2 program. For some
  90449. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  90450. +# vanish in a puff of smoke.
  90451. +if test "X${COLLECT_NAMES+set}" != Xset; then
  90452. + COLLECT_NAMES=
  90453. + export COLLECT_NAMES
  90454. fi
  90455. +_LT_EOF
  90456. + ;;
  90457. + esac
  90458. -_ACEOF
  90459. -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  90460. -if \$ac_cs_recheck; then
  90461. - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  90462. - shift
  90463. - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  90464. - CONFIG_SHELL='$SHELL'
  90465. - export CONFIG_SHELL
  90466. - exec "\$@"
  90467. -fi
  90468. -_ACEOF
  90469. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  90470. -exec 5>>config.log
  90471. -{
  90472. - echo
  90473. - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  90474. -## Running $as_me. ##
  90475. -_ASBOX
  90476. - $as_echo "$ac_log"
  90477. -} >&5
  90478. +ltmain="$ac_aux_dir/ltmain.sh"
  90479. -_ACEOF
  90480. -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  90481. -#
  90482. -# INIT-COMMANDS
  90483. -#
  90484. -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  90485. -_ACEOF
  90486. + # We use sed instead of cat because bash on DJGPP gets confused if
  90487. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  90488. + # text mode, it properly converts lines to CR/LF. This bash problem
  90489. + # is reportedly fixed, but why not run on old versions too?
  90490. + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  90491. + || (rm -f "$cfgfile"; exit 1)
  90492. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  90493. + case $xsi_shell in
  90494. + yes)
  90495. + cat << \_LT_EOF >> "$cfgfile"
  90496. -# Handling of arguments.
  90497. -for ac_config_target in $ac_config_targets
  90498. -do
  90499. - case $ac_config_target in
  90500. - "include/autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS include/autoconf.h" ;;
  90501. - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  90502. - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  90503. - "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
  90504. - "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
  90505. - "scripts/RunCache") CONFIG_FILES="$CONFIG_FILES scripts/RunCache" ;;
  90506. - "scripts/RunAccel") CONFIG_FILES="$CONFIG_FILES scripts/RunAccel" ;;
  90507. - "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  90508. - "src/fs/Makefile") CONFIG_FILES="$CONFIG_FILES src/fs/Makefile" ;;
  90509. - "src/repl/Makefile") CONFIG_FILES="$CONFIG_FILES src/repl/Makefile" ;;
  90510. - "src/auth/Makefile") CONFIG_FILES="$CONFIG_FILES src/auth/Makefile" ;;
  90511. - "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
  90512. - "snmplib/Makefile") CONFIG_FILES="$CONFIG_FILES snmplib/Makefile" ;;
  90513. - "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
  90514. - "errors/Makefile") CONFIG_FILES="$CONFIG_FILES errors/Makefile" ;;
  90515. - "test-suite/Makefile") CONFIG_FILES="$CONFIG_FILES test-suite/Makefile" ;;
  90516. - "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  90517. - "helpers/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/Makefile" ;;
  90518. - "helpers/basic_auth/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/Makefile" ;;
  90519. - "helpers/basic_auth/LDAP/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/LDAP/Makefile" ;;
  90520. - "helpers/basic_auth/MSNT/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/MSNT/Makefile" ;;
  90521. - "helpers/basic_auth/NCSA/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/NCSA/Makefile" ;;
  90522. - "helpers/basic_auth/PAM/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/PAM/Makefile" ;;
  90523. - "helpers/basic_auth/SMB/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/SMB/Makefile" ;;
  90524. - "helpers/basic_auth/mswin_sspi/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/mswin_sspi/Makefile" ;;
  90525. - "helpers/basic_auth/YP/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/YP/Makefile" ;;
  90526. - "helpers/basic_auth/getpwnam/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/getpwnam/Makefile" ;;
  90527. - "helpers/basic_auth/multi-domain-NTLM/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/multi-domain-NTLM/Makefile" ;;
  90528. - "helpers/basic_auth/SASL/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/SASL/Makefile" ;;
  90529. - "helpers/basic_auth/POP3/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/POP3/Makefile" ;;
  90530. - "helpers/basic_auth/DB/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/DB/Makefile" ;;
  90531. - "helpers/basic_auth/squid_radius_auth/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/basic_auth/squid_radius_auth/Makefile" ;;
  90532. - "helpers/digest_auth/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/digest_auth/Makefile" ;;
  90533. - "helpers/digest_auth/password/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/digest_auth/password/Makefile" ;;
  90534. - "helpers/digest_auth/ldap/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/digest_auth/ldap/Makefile" ;;
  90535. - "helpers/digest_auth/eDirectory/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/digest_auth/eDirectory/Makefile" ;;
  90536. - "helpers/ntlm_auth/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/ntlm_auth/Makefile" ;;
  90537. - "helpers/ntlm_auth/fakeauth/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/ntlm_auth/fakeauth/Makefile" ;;
  90538. - "helpers/ntlm_auth/no_check/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/ntlm_auth/no_check/Makefile" ;;
  90539. - "helpers/ntlm_auth/SMB/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/ntlm_auth/SMB/Makefile" ;;
  90540. - "helpers/ntlm_auth/SMB/smbval/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/ntlm_auth/SMB/smbval/Makefile" ;;
  90541. - "helpers/ntlm_auth/mswin_sspi/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/ntlm_auth/mswin_sspi/Makefile" ;;
  90542. - "helpers/negotiate_auth/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/negotiate_auth/Makefile" ;;
  90543. - "helpers/negotiate_auth/mswin_sspi/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/negotiate_auth/mswin_sspi/Makefile" ;;
  90544. - "helpers/negotiate_auth/squid_kerb_auth/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/negotiate_auth/squid_kerb_auth/Makefile" ;;
  90545. - "helpers/external_acl/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/external_acl/Makefile" ;;
  90546. - "helpers/external_acl/ip_user/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/external_acl/ip_user/Makefile" ;;
  90547. - "helpers/external_acl/ldap_group/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/external_acl/ldap_group/Makefile" ;;
  90548. - "helpers/external_acl/session/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/external_acl/session/Makefile" ;;
  90549. - "helpers/external_acl/unix_group/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/external_acl/unix_group/Makefile" ;;
  90550. - "helpers/external_acl/wbinfo_group/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/external_acl/wbinfo_group/Makefile" ;;
  90551. - "helpers/external_acl/mswin_ad_group/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/external_acl/mswin_ad_group/Makefile" ;;
  90552. - "helpers/external_acl/mswin_lm_group/Makefile") CONFIG_FILES="$CONFIG_FILES helpers/external_acl/mswin_lm_group/Makefile" ;;
  90553. - "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
  90554. +# func_dirname file append nondir_replacement
  90555. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  90556. +# otherwise set result to NONDIR_REPLACEMENT.
  90557. +func_dirname ()
  90558. +{
  90559. + case ${1} in
  90560. + */*) func_dirname_result="${1%/*}${2}" ;;
  90561. + * ) func_dirname_result="${3}" ;;
  90562. + esac
  90563. +}
  90564. +
  90565. +# func_basename file
  90566. +func_basename ()
  90567. +{
  90568. + func_basename_result="${1##*/}"
  90569. +}
  90570. - *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  90571. -$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  90572. - { (exit 1); exit 1; }; };;
  90573. +# func_dirname_and_basename file append nondir_replacement
  90574. +# perform func_basename and func_dirname in a single function
  90575. +# call:
  90576. +# dirname: Compute the dirname of FILE. If nonempty,
  90577. +# add APPEND to the result, otherwise set result
  90578. +# to NONDIR_REPLACEMENT.
  90579. +# value returned in "$func_dirname_result"
  90580. +# basename: Compute filename of FILE.
  90581. +# value retuned in "$func_basename_result"
  90582. +# Implementation must be kept synchronized with func_dirname
  90583. +# and func_basename. For efficiency, we do not delegate to
  90584. +# those functions but instead duplicate the functionality here.
  90585. +func_dirname_and_basename ()
  90586. +{
  90587. + case ${1} in
  90588. + */*) func_dirname_result="${1%/*}${2}" ;;
  90589. + * ) func_dirname_result="${3}" ;;
  90590. esac
  90591. -done
  90592. + func_basename_result="${1##*/}"
  90593. +}
  90594. +# func_stripname prefix suffix name
  90595. +# strip PREFIX and SUFFIX off of NAME.
  90596. +# PREFIX and SUFFIX must not contain globbing or regex special
  90597. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  90598. +# dot (in which case that matches only a dot).
  90599. +func_stripname ()
  90600. +{
  90601. + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  90602. + # positional parameters, so assign one to ordinary parameter first.
  90603. + func_stripname_result=${3}
  90604. + func_stripname_result=${func_stripname_result#"${1}"}
  90605. + func_stripname_result=${func_stripname_result%"${2}"}
  90606. +}
  90607. -# If the user did not use the arguments to specify the items to instantiate,
  90608. -# then the envvar interface is used. Set only those that are not.
  90609. -# We use the long form for the default assignment because of an extremely
  90610. -# bizarre bug on SunOS 4.1.3.
  90611. -if $ac_need_defaults; then
  90612. - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  90613. - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  90614. - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  90615. -fi
  90616. +# func_opt_split
  90617. +func_opt_split ()
  90618. +{
  90619. + func_opt_split_opt=${1%%=*}
  90620. + func_opt_split_arg=${1#*=}
  90621. +}
  90622. -# Have a temporary directory for convenience. Make it in the build tree
  90623. -# simply because there is no reason against having it here, and in addition,
  90624. -# creating and moving files from /tmp can sometimes cause problems.
  90625. -# Hook for its removal unless debugging.
  90626. -# Note that there is a small window in which the directory will not be cleaned:
  90627. -# after its creation but before its name has been assigned to `$tmp'.
  90628. -$debug ||
  90629. +# func_lo2o object
  90630. +func_lo2o ()
  90631. {
  90632. - tmp=
  90633. - trap 'exit_status=$?
  90634. - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  90635. -' 0
  90636. - trap '{ (exit 1); exit 1; }' 1 2 13 15
  90637. + case ${1} in
  90638. + *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  90639. + *) func_lo2o_result=${1} ;;
  90640. + esac
  90641. }
  90642. -# Create a (secure) tmp directory for tmp files.
  90643. +# func_xform libobj-or-source
  90644. +func_xform ()
  90645. {
  90646. - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  90647. - test -n "$tmp" && test -d "$tmp"
  90648. -} ||
  90649. + func_xform_result=${1%.*}.lo
  90650. +}
  90651. +
  90652. +# func_arith arithmetic-term...
  90653. +func_arith ()
  90654. {
  90655. - tmp=./conf$$-$RANDOM
  90656. - (umask 077 && mkdir "$tmp")
  90657. -} ||
  90658. + func_arith_result=$(( $* ))
  90659. +}
  90660. +
  90661. +# func_len string
  90662. +# STRING may not start with a hyphen.
  90663. +func_len ()
  90664. {
  90665. - $as_echo "$as_me: cannot create a temporary directory in ." >&2
  90666. - { (exit 1); exit 1; }
  90667. + func_len_result=${#1}
  90668. }
  90669. -# Set up the scripts for CONFIG_FILES section.
  90670. -# No need to generate them if there are no CONFIG_FILES.
  90671. -# This happens for instance with `./config.status config.h'.
  90672. -if test -n "$CONFIG_FILES"; then
  90673. +_LT_EOF
  90674. + ;;
  90675. + *) # Bourne compatible functions.
  90676. + cat << \_LT_EOF >> "$cfgfile"
  90677. +
  90678. +# func_dirname file append nondir_replacement
  90679. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  90680. +# otherwise set result to NONDIR_REPLACEMENT.
  90681. +func_dirname ()
  90682. +{
  90683. + # Extract subdirectory from the argument.
  90684. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  90685. + if test "X$func_dirname_result" = "X${1}"; then
  90686. + func_dirname_result="${3}"
  90687. + else
  90688. + func_dirname_result="$func_dirname_result${2}"
  90689. + fi
  90690. +}
  90691. +# func_basename file
  90692. +func_basename ()
  90693. +{
  90694. + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  90695. +}
  90696. -ac_cr=' '
  90697. -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  90698. -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  90699. - ac_cs_awk_cr='\\r'
  90700. -else
  90701. - ac_cs_awk_cr=$ac_cr
  90702. -fi
  90703. -echo 'BEGIN {' >"$tmp/subs1.awk" &&
  90704. -_ACEOF
  90705. +# func_stripname prefix suffix name
  90706. +# strip PREFIX and SUFFIX off of NAME.
  90707. +# PREFIX and SUFFIX must not contain globbing or regex special
  90708. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  90709. +# dot (in which case that matches only a dot).
  90710. +# func_strip_suffix prefix name
  90711. +func_stripname ()
  90712. +{
  90713. + case ${2} in
  90714. + .*) func_stripname_result=`$ECHO "X${3}" \
  90715. + | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  90716. + *) func_stripname_result=`$ECHO "X${3}" \
  90717. + | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  90718. + esac
  90719. +}
  90720. +# sed scripts:
  90721. +my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  90722. +my_sed_long_arg='1s/^-[^=]*=//'
  90723. +# func_opt_split
  90724. +func_opt_split ()
  90725. {
  90726. - echo "cat >conf$$subs.awk <<_ACEOF" &&
  90727. - echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  90728. - echo "_ACEOF"
  90729. -} >conf$$subs.sh ||
  90730. - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  90731. -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  90732. - { (exit 1); exit 1; }; }
  90733. -ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  90734. -ac_delim='%!_!# '
  90735. -for ac_last_try in false false false false false :; do
  90736. - . ./conf$$subs.sh ||
  90737. - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  90738. -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  90739. - { (exit 1); exit 1; }; }
  90740. + func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  90741. + func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  90742. +}
  90743. - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
  90744. - break
  90745. - elif $ac_last_try; then
  90746. - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  90747. -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  90748. - { (exit 1); exit 1; }; }
  90749. - else
  90750. - ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  90751. - fi
  90752. -done
  90753. -rm -f conf$$subs.sh
  90754. +# func_lo2o object
  90755. +func_lo2o ()
  90756. +{
  90757. + func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  90758. +}
  90759. -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  90760. -cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  90761. -_ACEOF
  90762. -sed -n '
  90763. -h
  90764. -s/^/S["/; s/!.*/"]=/
  90765. -p
  90766. -g
  90767. -s/^[^!]*!//
  90768. -:repl
  90769. -t repl
  90770. -s/'"$ac_delim"'$//
  90771. -t delim
  90772. -:nl
  90773. -h
  90774. -s/\(.\{148\}\).*/\1/
  90775. -t more1
  90776. -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  90777. -p
  90778. -n
  90779. -b repl
  90780. -:more1
  90781. -s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  90782. -p
  90783. -g
  90784. -s/.\{148\}//
  90785. -t nl
  90786. -:delim
  90787. -h
  90788. -s/\(.\{148\}\).*/\1/
  90789. -t more2
  90790. -s/["\\]/\\&/g; s/^/"/; s/$/"/
  90791. -p
  90792. -b
  90793. -:more2
  90794. -s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  90795. -p
  90796. -g
  90797. -s/.\{148\}//
  90798. -t delim
  90799. -' <conf$$subs.awk | sed '
  90800. -/^[^""]/{
  90801. - N
  90802. - s/\n//
  90803. +# func_xform libobj-or-source
  90804. +func_xform ()
  90805. +{
  90806. + func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
  90807. }
  90808. -' >>$CONFIG_STATUS || ac_write_fail=1
  90809. -rm -f conf$$subs.awk
  90810. -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  90811. -_ACAWK
  90812. -cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  90813. - for (key in S) S_is_set[key] = 1
  90814. - FS = ""
  90815. +# func_arith arithmetic-term...
  90816. +func_arith ()
  90817. +{
  90818. + func_arith_result=`expr "$@"`
  90819. }
  90820. +
  90821. +# func_len string
  90822. +# STRING may not start with a hyphen.
  90823. +func_len ()
  90824. {
  90825. - line = $ 0
  90826. - nfields = split(line, field, "@")
  90827. - substed = 0
  90828. - len = length(field[1])
  90829. - for (i = 2; i < nfields; i++) {
  90830. - key = field[i]
  90831. - keylen = length(key)
  90832. - if (S_is_set[key]) {
  90833. - value = S[key]
  90834. - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  90835. - len += length(value) + length(field[++i])
  90836. - substed = 1
  90837. - } else
  90838. - len += 1 + keylen
  90839. - }
  90840. + func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  90841. +}
  90842. - print line
  90843. +_LT_EOF
  90844. +esac
  90845. +
  90846. +case $lt_shell_append in
  90847. + yes)
  90848. + cat << \_LT_EOF >> "$cfgfile"
  90849. +
  90850. +# func_append var value
  90851. +# Append VALUE to the end of shell variable VAR.
  90852. +func_append ()
  90853. +{
  90854. + eval "$1+=\$2"
  90855. }
  90856. +_LT_EOF
  90857. + ;;
  90858. + *)
  90859. + cat << \_LT_EOF >> "$cfgfile"
  90860. -_ACAWK
  90861. -_ACEOF
  90862. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  90863. -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  90864. - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  90865. -else
  90866. - cat
  90867. -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  90868. - || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
  90869. -$as_echo "$as_me: error: could not setup config files machinery" >&2;}
  90870. - { (exit 1); exit 1; }; }
  90871. -_ACEOF
  90872. +# func_append var value
  90873. +# Append VALUE to the end of shell variable VAR.
  90874. +func_append ()
  90875. +{
  90876. + eval "$1=\$$1\$2"
  90877. +}
  90878. -# VPATH may cause trouble with some makes, so we remove $(srcdir),
  90879. -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  90880. -# trailing colons and then remove the whole line if VPATH becomes empty
  90881. -# (actually we leave an empty line to preserve line numbers).
  90882. -if test "x$srcdir" = x.; then
  90883. - ac_vpsub='/^[ ]*VPATH[ ]*=/{
  90884. -s/:*\$(srcdir):*/:/
  90885. -s/:*\${srcdir}:*/:/
  90886. -s/:*@srcdir@:*/:/
  90887. -s/^\([^=]*=[ ]*\):*/\1/
  90888. -s/:*$//
  90889. -s/^[^=]*=[ ]*$//
  90890. -}'
  90891. -fi
  90892. +_LT_EOF
  90893. + ;;
  90894. + esac
  90895. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  90896. -fi # test -n "$CONFIG_FILES"
  90897. -# Set up the scripts for CONFIG_HEADERS section.
  90898. -# No need to generate them if there are no CONFIG_HEADERS.
  90899. -# This happens for instance with `./config.status Makefile'.
  90900. -if test -n "$CONFIG_HEADERS"; then
  90901. -cat >"$tmp/defines.awk" <<\_ACAWK ||
  90902. -BEGIN {
  90903. -_ACEOF
  90904. + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  90905. + || (rm -f "$cfgfile"; exit 1)
  90906. -# Transform confdefs.h into an awk script `defines.awk', embedded as
  90907. -# here-document in config.status, that substitutes the proper values into
  90908. -# config.h.in to produce config.h.
  90909. + mv -f "$cfgfile" "$ofile" ||
  90910. + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  90911. + chmod +x "$ofile"
  90912. -# Create a delimiter string that does not exist in confdefs.h, to ease
  90913. -# handling of long lines.
  90914. -ac_delim='%!_!# '
  90915. -for ac_last_try in false false :; do
  90916. - ac_t=`sed -n "/$ac_delim/p" confdefs.h`
  90917. - if test -z "$ac_t"; then
  90918. - break
  90919. - elif $ac_last_try; then
  90920. - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
  90921. -$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
  90922. - { (exit 1); exit 1; }; }
  90923. - else
  90924. - ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  90925. - fi
  90926. -done
  90927. -# For the awk script, D is an array of macro values keyed by name,
  90928. -# likewise P contains macro parameters if any. Preserve backslash
  90929. -# newline sequences.
  90930. + cat <<_LT_EOF >> "$ofile"
  90931. +
  90932. +# ### BEGIN LIBTOOL TAG CONFIG: CXX
  90933. +
  90934. +# The linker used to build libraries.
  90935. +LD=$lt_LD_CXX
  90936. +
  90937. +# Commands used to build an old-style archive.
  90938. +old_archive_cmds=$lt_old_archive_cmds_CXX
  90939. +
  90940. +# A language specific compiler.
  90941. +CC=$lt_compiler_CXX
  90942. +
  90943. +# Is the compiler the GNU compiler?
  90944. +with_gcc=$GCC_CXX
  90945. +
  90946. +# Compiler flag to turn off builtin functions.
  90947. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
  90948. +
  90949. +# How to pass a linker flag through the compiler.
  90950. +wl=$lt_lt_prog_compiler_wl_CXX
  90951. +
  90952. +# Additional compiler flags for building library objects.
  90953. +pic_flag=$lt_lt_prog_compiler_pic_CXX
  90954. +
  90955. +# Compiler flag to prevent dynamic linking.
  90956. +link_static_flag=$lt_lt_prog_compiler_static_CXX
  90957. +
  90958. +# Does compiler simultaneously support -c and -o options?
  90959. +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
  90960. +
  90961. +# Whether or not to add -lc for building shared libraries.
  90962. +build_libtool_need_lc=$archive_cmds_need_lc_CXX
  90963. +
  90964. +# Whether or not to disallow shared libs when runtime libs are static.
  90965. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
  90966. +
  90967. +# Compiler flag to allow reflexive dlopens.
  90968. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
  90969. +
  90970. +# Compiler flag to generate shared objects directly from archives.
  90971. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
  90972. +
  90973. +# Whether the compiler copes with passing no objects directly.
  90974. +compiler_needs_object=$lt_compiler_needs_object_CXX
  90975. +
  90976. +# Create an old-style archive from a shared archive.
  90977. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
  90978. +
  90979. +# Create a temporary old-style archive to link instead of a shared archive.
  90980. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
  90981. +
  90982. +# Commands used to build a shared archive.
  90983. +archive_cmds=$lt_archive_cmds_CXX
  90984. +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
  90985. +
  90986. +# Commands used to build a loadable module if different from building
  90987. +# a shared archive.
  90988. +module_cmds=$lt_module_cmds_CXX
  90989. +module_expsym_cmds=$lt_module_expsym_cmds_CXX
  90990. +
  90991. +# Whether we are building with GNU ld or not.
  90992. +with_gnu_ld=$lt_with_gnu_ld_CXX
  90993. +
  90994. +# Flag that allows shared libraries with undefined symbols to be built.
  90995. +allow_undefined_flag=$lt_allow_undefined_flag_CXX
  90996. +
  90997. +# Flag that enforces no undefined symbols.
  90998. +no_undefined_flag=$lt_no_undefined_flag_CXX
  90999. +
  91000. +# Flag to hardcode \$libdir into a binary during linking.
  91001. +# This must work even if \$libdir does not exist
  91002. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
  91003. +
  91004. +# If ld is used when linking, flag to hardcode \$libdir into a binary
  91005. +# during linking. This must work even if \$libdir does not exist.
  91006. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
  91007. -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  91008. -sed -n '
  91009. -s/.\{148\}/&'"$ac_delim"'/g
  91010. -t rset
  91011. -:rset
  91012. -s/^[ ]*#[ ]*define[ ][ ]*/ /
  91013. -t def
  91014. -d
  91015. -:def
  91016. -s/\\$//
  91017. -t bsnl
  91018. -s/["\\]/\\&/g
  91019. -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  91020. -D["\1"]=" \3"/p
  91021. -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  91022. -d
  91023. -:bsnl
  91024. -s/["\\]/\\&/g
  91025. -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  91026. -D["\1"]=" \3\\\\\\n"\\/p
  91027. -t cont
  91028. -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  91029. -t cont
  91030. -d
  91031. -:cont
  91032. -n
  91033. -s/.\{148\}/&'"$ac_delim"'/g
  91034. -t clear
  91035. -:clear
  91036. -s/\\$//
  91037. -t bsnlc
  91038. -s/["\\]/\\&/g; s/^/"/; s/$/"/p
  91039. -d
  91040. -:bsnlc
  91041. -s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  91042. -b cont
  91043. -' <confdefs.h | sed '
  91044. -s/'"$ac_delim"'/"\\\
  91045. -"/g' >>$CONFIG_STATUS || ac_write_fail=1
  91046. +# Whether we need a single "-rpath" flag with a separated argument.
  91047. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
  91048. -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  91049. - for (key in D) D_is_set[key] = 1
  91050. - FS = ""
  91051. -}
  91052. -/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  91053. - line = \$ 0
  91054. - split(line, arg, " ")
  91055. - if (arg[1] == "#") {
  91056. - defundef = arg[2]
  91057. - mac1 = arg[3]
  91058. - } else {
  91059. - defundef = substr(arg[1], 2)
  91060. - mac1 = arg[2]
  91061. - }
  91062. - split(mac1, mac2, "(") #)
  91063. - macro = mac2[1]
  91064. - if (D_is_set[macro]) {
  91065. - # Preserve the white space surrounding the "#".
  91066. - prefix = substr(line, 1, index(line, defundef) - 1)
  91067. - print prefix "define", macro P[macro] D[macro]
  91068. - next
  91069. - } else {
  91070. - # Replace #undef with comments. This is necessary, for example,
  91071. - # in the case of _POSIX_SOURCE, which is predefined and required
  91072. - # on some systems where configure will not decide to define it.
  91073. - if (defundef == "undef") {
  91074. - print "/*", line, "*/"
  91075. - next
  91076. - }
  91077. - }
  91078. -}
  91079. -{ print }
  91080. -_ACAWK
  91081. -_ACEOF
  91082. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  91083. - { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
  91084. -$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
  91085. - { (exit 1); exit 1; }; }
  91086. -fi # test -n "$CONFIG_HEADERS"
  91087. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  91088. +# DIR into the resulting binary.
  91089. +hardcode_direct=$hardcode_direct_CXX
  91090. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  91091. +# DIR into the resulting binary and the resulting library dependency is
  91092. +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  91093. +# library is relocated.
  91094. +hardcode_direct_absolute=$hardcode_direct_absolute_CXX
  91095. -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  91096. -shift
  91097. -for ac_tag
  91098. -do
  91099. - case $ac_tag in
  91100. - :[FHLC]) ac_mode=$ac_tag; continue;;
  91101. - esac
  91102. - case $ac_mode$ac_tag in
  91103. - :[FHL]*:*);;
  91104. - :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  91105. -$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  91106. - { (exit 1); exit 1; }; };;
  91107. - :[FH]-) ac_tag=-:-;;
  91108. - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  91109. - esac
  91110. - ac_save_IFS=$IFS
  91111. - IFS=:
  91112. - set x $ac_tag
  91113. - IFS=$ac_save_IFS
  91114. - shift
  91115. - ac_file=$1
  91116. - shift
  91117. +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  91118. +# into the resulting binary.
  91119. +hardcode_minus_L=$hardcode_minus_L_CXX
  91120. - case $ac_mode in
  91121. - :L) ac_source=$1;;
  91122. - :[FH])
  91123. - ac_file_inputs=
  91124. - for ac_f
  91125. - do
  91126. - case $ac_f in
  91127. - -) ac_f="$tmp/stdin";;
  91128. - *) # Look for the file first in the build tree, then in the source tree
  91129. - # (if the path is not absolute). The absolute path cannot be DOS-style,
  91130. - # because $ac_f cannot contain `:'.
  91131. - test -f "$ac_f" ||
  91132. - case $ac_f in
  91133. - [\\/$]*) false;;
  91134. - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  91135. - esac ||
  91136. - { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  91137. -$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  91138. - { (exit 1); exit 1; }; };;
  91139. - esac
  91140. - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  91141. - ac_file_inputs="$ac_file_inputs '$ac_f'"
  91142. - done
  91143. +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  91144. +# into the resulting binary.
  91145. +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
  91146. - # Let's still pretend it is `configure' which instantiates (i.e., don't
  91147. - # use $as_me), people would be surprised to read:
  91148. - # /* config.h. Generated by config.status. */
  91149. - configure_input='Generated from '`
  91150. - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  91151. - `' by configure.'
  91152. - if test x"$ac_file" != x-; then
  91153. - configure_input="$ac_file. $configure_input"
  91154. - { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
  91155. -$as_echo "$as_me: creating $ac_file" >&6;}
  91156. - fi
  91157. - # Neutralize special characters interpreted by sed in replacement strings.
  91158. - case $configure_input in #(
  91159. - *\&* | *\|* | *\\* )
  91160. - ac_sed_conf_input=`$as_echo "$configure_input" |
  91161. - sed 's/[\\\\&|]/\\\\&/g'`;; #(
  91162. - *) ac_sed_conf_input=$configure_input;;
  91163. - esac
  91164. +# Set to "yes" if building a shared library automatically hardcodes DIR
  91165. +# into the library and all subsequent libraries and executables linked
  91166. +# against it.
  91167. +hardcode_automatic=$hardcode_automatic_CXX
  91168. - case $ac_tag in
  91169. - *:-:* | *:-) cat >"$tmp/stdin" \
  91170. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  91171. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  91172. - { (exit 1); exit 1; }; } ;;
  91173. - esac
  91174. - ;;
  91175. - esac
  91176. +# Set to yes if linker adds runtime paths of dependent libraries
  91177. +# to runtime path list.
  91178. +inherit_rpath=$inherit_rpath_CXX
  91179. - ac_dir=`$as_dirname -- "$ac_file" ||
  91180. -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  91181. - X"$ac_file" : 'X\(//\)[^/]' \| \
  91182. - X"$ac_file" : 'X\(//\)$' \| \
  91183. - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  91184. -$as_echo X"$ac_file" |
  91185. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  91186. - s//\1/
  91187. - q
  91188. - }
  91189. - /^X\(\/\/\)[^/].*/{
  91190. - s//\1/
  91191. - q
  91192. - }
  91193. - /^X\(\/\/\)$/{
  91194. - s//\1/
  91195. - q
  91196. - }
  91197. - /^X\(\/\).*/{
  91198. - s//\1/
  91199. - q
  91200. - }
  91201. - s/.*/./; q'`
  91202. - { as_dir="$ac_dir"
  91203. - case $as_dir in #(
  91204. - -*) as_dir=./$as_dir;;
  91205. - esac
  91206. - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  91207. - as_dirs=
  91208. - while :; do
  91209. - case $as_dir in #(
  91210. - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  91211. - *) as_qdir=$as_dir;;
  91212. - esac
  91213. - as_dirs="'$as_qdir' $as_dirs"
  91214. - as_dir=`$as_dirname -- "$as_dir" ||
  91215. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  91216. - X"$as_dir" : 'X\(//\)[^/]' \| \
  91217. - X"$as_dir" : 'X\(//\)$' \| \
  91218. - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  91219. -$as_echo X"$as_dir" |
  91220. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  91221. - s//\1/
  91222. - q
  91223. - }
  91224. - /^X\(\/\/\)[^/].*/{
  91225. - s//\1/
  91226. - q
  91227. - }
  91228. - /^X\(\/\/\)$/{
  91229. - s//\1/
  91230. - q
  91231. - }
  91232. - /^X\(\/\).*/{
  91233. - s//\1/
  91234. - q
  91235. - }
  91236. - s/.*/./; q'`
  91237. - test -d "$as_dir" && break
  91238. - done
  91239. - test -z "$as_dirs" || eval "mkdir $as_dirs"
  91240. - } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  91241. -$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
  91242. - { (exit 1); exit 1; }; }; }
  91243. - ac_builddir=.
  91244. +# Whether libtool must link a program against all its dependency libraries.
  91245. +link_all_deplibs=$link_all_deplibs_CXX
  91246. -case "$ac_dir" in
  91247. -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  91248. -*)
  91249. - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  91250. - # A ".." for each directory in $ac_dir_suffix.
  91251. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  91252. - case $ac_top_builddir_sub in
  91253. - "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  91254. - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  91255. - esac ;;
  91256. -esac
  91257. -ac_abs_top_builddir=$ac_pwd
  91258. -ac_abs_builddir=$ac_pwd$ac_dir_suffix
  91259. -# for backward compatibility:
  91260. -ac_top_builddir=$ac_top_build_prefix
  91261. +# Fix the shell variable \$srcfile for the compiler.
  91262. +fix_srcfile_path=$lt_fix_srcfile_path_CXX
  91263. -case $srcdir in
  91264. - .) # We are building in place.
  91265. - ac_srcdir=.
  91266. - ac_top_srcdir=$ac_top_builddir_sub
  91267. - ac_abs_top_srcdir=$ac_pwd ;;
  91268. - [\\/]* | ?:[\\/]* ) # Absolute name.
  91269. - ac_srcdir=$srcdir$ac_dir_suffix;
  91270. - ac_top_srcdir=$srcdir
  91271. - ac_abs_top_srcdir=$srcdir ;;
  91272. - *) # Relative name.
  91273. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  91274. - ac_top_srcdir=$ac_top_build_prefix$srcdir
  91275. - ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  91276. -esac
  91277. -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  91278. +# Set to "yes" if exported symbols are required.
  91279. +always_export_symbols=$always_export_symbols_CXX
  91280. +# The commands to list exported symbols.
  91281. +export_symbols_cmds=$lt_export_symbols_cmds_CXX
  91282. - case $ac_mode in
  91283. - :F)
  91284. - #
  91285. - # CONFIG_FILE
  91286. - #
  91287. +# Symbols that should not be listed in the preloaded symbols.
  91288. +exclude_expsyms=$lt_exclude_expsyms_CXX
  91289. - case $INSTALL in
  91290. - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  91291. - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  91292. - esac
  91293. - ac_MKDIR_P=$MKDIR_P
  91294. - case $MKDIR_P in
  91295. - [\\/$]* | ?:[\\/]* ) ;;
  91296. - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  91297. - esac
  91298. -_ACEOF
  91299. +# Symbols that must always be exported.
  91300. +include_expsyms=$lt_include_expsyms_CXX
  91301. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  91302. -# If the template does not know about datarootdir, expand it.
  91303. -# FIXME: This hack should be removed a few years after 2.60.
  91304. -ac_datarootdir_hack=; ac_datarootdir_seen=
  91305. +# Commands necessary for linking programs (against libraries) with templates.
  91306. +prelink_cmds=$lt_prelink_cmds_CXX
  91307. -ac_sed_dataroot='
  91308. -/datarootdir/ {
  91309. - p
  91310. - q
  91311. -}
  91312. -/@datadir@/p
  91313. -/@docdir@/p
  91314. -/@infodir@/p
  91315. -/@localedir@/p
  91316. -/@mandir@/p
  91317. -'
  91318. -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  91319. -*datarootdir*) ac_datarootdir_seen=yes;;
  91320. -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  91321. - { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  91322. -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  91323. -_ACEOF
  91324. -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  91325. - ac_datarootdir_hack='
  91326. - s&@datadir@&$datadir&g
  91327. - s&@docdir@&$docdir&g
  91328. - s&@infodir@&$infodir&g
  91329. - s&@localedir@&$localedir&g
  91330. - s&@mandir@&$mandir&g
  91331. - s&\\\${datarootdir}&$datarootdir&g' ;;
  91332. -esac
  91333. -_ACEOF
  91334. +# Specify filename containing input files.
  91335. +file_list_spec=$lt_file_list_spec_CXX
  91336. -# Neutralize VPATH when `$srcdir' = `.'.
  91337. -# Shell code in configure.ac might set extrasub.
  91338. -# FIXME: do we really want to maintain this feature?
  91339. -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  91340. -ac_sed_extra="$ac_vpsub
  91341. -$extrasub
  91342. -_ACEOF
  91343. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  91344. -:t
  91345. -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  91346. -s|@configure_input@|$ac_sed_conf_input|;t t
  91347. -s&@top_builddir@&$ac_top_builddir_sub&;t t
  91348. -s&@top_build_prefix@&$ac_top_build_prefix&;t t
  91349. -s&@srcdir@&$ac_srcdir&;t t
  91350. -s&@abs_srcdir@&$ac_abs_srcdir&;t t
  91351. -s&@top_srcdir@&$ac_top_srcdir&;t t
  91352. -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  91353. -s&@builddir@&$ac_builddir&;t t
  91354. -s&@abs_builddir@&$ac_abs_builddir&;t t
  91355. -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  91356. -s&@INSTALL@&$ac_INSTALL&;t t
  91357. -s&@MKDIR_P@&$ac_MKDIR_P&;t t
  91358. -$ac_datarootdir_hack
  91359. -"
  91360. -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  91361. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  91362. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  91363. - { (exit 1); exit 1; }; }
  91364. +# How to hardcode a shared library path into an executable.
  91365. +hardcode_action=$hardcode_action_CXX
  91366. -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  91367. - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  91368. - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  91369. - { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  91370. -which seems to be undefined. Please make sure it is defined." >&5
  91371. -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  91372. -which seems to be undefined. Please make sure it is defined." >&2;}
  91373. +# The directories searched by this compiler when creating a shared library.
  91374. +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
  91375. - rm -f "$tmp/stdin"
  91376. - case $ac_file in
  91377. - -) cat "$tmp/out" && rm -f "$tmp/out";;
  91378. - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  91379. - esac \
  91380. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  91381. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  91382. - { (exit 1); exit 1; }; }
  91383. - ;;
  91384. - :H)
  91385. - #
  91386. - # CONFIG_HEADER
  91387. - #
  91388. - if test x"$ac_file" != x-; then
  91389. - {
  91390. - $as_echo "/* $configure_input */" \
  91391. - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  91392. - } >"$tmp/config.h" \
  91393. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  91394. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  91395. - { (exit 1); exit 1; }; }
  91396. - if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  91397. - { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  91398. -$as_echo "$as_me: $ac_file is unchanged" >&6;}
  91399. - else
  91400. - rm -f "$ac_file"
  91401. - mv "$tmp/config.h" "$ac_file" \
  91402. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  91403. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  91404. - { (exit 1); exit 1; }; }
  91405. - fi
  91406. - else
  91407. - $as_echo "/* $configure_input */" \
  91408. - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  91409. - || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
  91410. -$as_echo "$as_me: error: could not create -" >&2;}
  91411. - { (exit 1); exit 1; }; }
  91412. - fi
  91413. -# Compute "$ac_file"'s index in $config_headers.
  91414. -_am_arg="$ac_file"
  91415. -_am_stamp_count=1
  91416. -for _am_header in $config_headers :; do
  91417. - case $_am_header in
  91418. - $_am_arg | $_am_arg:* )
  91419. - break ;;
  91420. - * )
  91421. - _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  91422. - esac
  91423. -done
  91424. -echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  91425. -$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  91426. - X"$_am_arg" : 'X\(//\)[^/]' \| \
  91427. - X"$_am_arg" : 'X\(//\)$' \| \
  91428. - X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  91429. -$as_echo X"$_am_arg" |
  91430. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  91431. - s//\1/
  91432. - q
  91433. - }
  91434. - /^X\(\/\/\)[^/].*/{
  91435. - s//\1/
  91436. - q
  91437. - }
  91438. - /^X\(\/\/\)$/{
  91439. - s//\1/
  91440. - q
  91441. - }
  91442. - /^X\(\/\).*/{
  91443. - s//\1/
  91444. - q
  91445. - }
  91446. - s/.*/./; q'`/stamp-h$_am_stamp_count
  91447. - ;;
  91448. +# Dependencies to place before and after the objects being linked to
  91449. +# create a shared library.
  91450. +predep_objects=$lt_predep_objects_CXX
  91451. +postdep_objects=$lt_postdep_objects_CXX
  91452. +predeps=$lt_predeps_CXX
  91453. +postdeps=$lt_postdeps_CXX
  91454. - :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
  91455. -$as_echo "$as_me: executing $ac_file commands" >&6;}
  91456. - ;;
  91457. - esac
  91458. +# The library search path used internally by the compiler when linking
  91459. +# a shared library.
  91460. +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
  91461. +# ### END LIBTOOL TAG CONFIG: CXX
  91462. +_LT_EOF
  91463. - case $ac_file$ac_mode in
  91464. - "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
  91465. - # Strip MF so we end up with the name of the file.
  91466. - mf=`echo "$mf" | sed -e 's/:.*$//'`
  91467. - # Check whether this is an Automake generated Makefile or not.
  91468. - # We used to match only the files named `Makefile.in', but
  91469. - # some people rename them; so instead we look at the file content.
  91470. - # Grep'ing the first line is not enough: some people post-process
  91471. - # each Makefile.in and add a new line on top of each file to say so.
  91472. - # Grep'ing the whole file is not good either: AIX grep has a line
  91473. - # limit of 2048, but all sed's we know have understand at least 4000.
  91474. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  91475. - dirpart=`$as_dirname -- "$mf" ||
  91476. -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  91477. - X"$mf" : 'X\(//\)[^/]' \| \
  91478. - X"$mf" : 'X\(//\)$' \| \
  91479. - X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  91480. -$as_echo X"$mf" |
  91481. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  91482. - s//\1/
  91483. - q
  91484. - }
  91485. - /^X\(\/\/\)[^/].*/{
  91486. - s//\1/
  91487. - q
  91488. - }
  91489. - /^X\(\/\/\)$/{
  91490. - s//\1/
  91491. - q
  91492. - }
  91493. - /^X\(\/\).*/{
  91494. - s//\1/
  91495. - q
  91496. - }
  91497. - s/.*/./; q'`
  91498. - else
  91499. - continue
  91500. - fi
  91501. - # Extract the definition of DEPDIR, am__include, and am__quote
  91502. - # from the Makefile without running `make'.
  91503. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  91504. - test -z "$DEPDIR" && continue
  91505. - am__include=`sed -n 's/^am__include = //p' < "$mf"`
  91506. - test -z "am__include" && continue
  91507. - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  91508. - # When using ansi2knr, U may be empty or an underscore; expand it
  91509. - U=`sed -n 's/^U = //p' < "$mf"`
  91510. - # Find all dependency output files, they are included files with
  91511. - # $(DEPDIR) in their names. We invoke sed twice because it is the
  91512. - # simplest approach to changing $(DEPDIR) to its actual value in the
  91513. - # expansion.
  91514. - for file in `sed -n "
  91515. - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  91516. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  91517. - # Make sure the directory exists.
  91518. - test -f "$dirpart/$file" && continue
  91519. - fdir=`$as_dirname -- "$file" ||
  91520. -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  91521. - X"$file" : 'X\(//\)[^/]' \| \
  91522. - X"$file" : 'X\(//\)$' \| \
  91523. - X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  91524. -$as_echo X"$file" |
  91525. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  91526. - s//\1/
  91527. - q
  91528. - }
  91529. - /^X\(\/\/\)[^/].*/{
  91530. - s//\1/
  91531. - q
  91532. - }
  91533. - /^X\(\/\/\)$/{
  91534. - s//\1/
  91535. - q
  91536. - }
  91537. - /^X\(\/\).*/{
  91538. - s//\1/
  91539. - q
  91540. - }
  91541. - s/.*/./; q'`
  91542. - { as_dir=$dirpart/$fdir
  91543. - case $as_dir in #(
  91544. - -*) as_dir=./$as_dir;;
  91545. - esac
  91546. - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  91547. - as_dirs=
  91548. - while :; do
  91549. - case $as_dir in #(
  91550. - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  91551. - *) as_qdir=$as_dir;;
  91552. - esac
  91553. - as_dirs="'$as_qdir' $as_dirs"
  91554. - as_dir=`$as_dirname -- "$as_dir" ||
  91555. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  91556. - X"$as_dir" : 'X\(//\)[^/]' \| \
  91557. - X"$as_dir" : 'X\(//\)$' \| \
  91558. - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  91559. -$as_echo X"$as_dir" |
  91560. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  91561. - s//\1/
  91562. - q
  91563. - }
  91564. - /^X\(\/\/\)[^/].*/{
  91565. - s//\1/
  91566. - q
  91567. - }
  91568. - /^X\(\/\/\)$/{
  91569. - s//\1/
  91570. - q
  91571. - }
  91572. - /^X\(\/\).*/{
  91573. - s//\1/
  91574. - q
  91575. - }
  91576. - s/.*/./; q'`
  91577. - test -d "$as_dir" && break
  91578. - done
  91579. - test -z "$as_dirs" || eval "mkdir $as_dirs"
  91580. - } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  91581. -$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
  91582. - { (exit 1); exit 1; }; }; }
  91583. - # echo "creating $dirpart/$file"
  91584. - echo '# dummy' > "$dirpart/$file"
  91585. - done
  91586. -done
  91587. ;;
  91588. esac
  91589. done # for ac_tag
  91590. -{ (exit 0); exit 0; }
  91591. +as_fn_exit 0
  91592. _ACEOF
  91593. -chmod +x $CONFIG_STATUS
  91594. ac_clean_files=$ac_clean_files_save
  91595. test $ac_write_fail = 0 ||
  91596. - { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
  91597. -$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
  91598. - { (exit 1); exit 1; }; }
  91599. + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  91600. # configure is writing to config.log, and then calls config.status.
  91601. @@ -49374,7 +27367,7 @@
  91602. exec 5>>config.log
  91603. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  91604. # would make configure fail if this is the last instruction.
  91605. - $ac_cs_success || { (exit 1); exit 1; }
  91606. + $ac_cs_success || as_fn_exit $?
  91607. fi
  91608. #
  91609. @@ -49421,7 +27414,7 @@
  91610. case $ac_arg in
  91611. *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  91612. esac
  91613. - ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
  91614. + as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
  91615. esac
  91616. done
  91617. @@ -49450,49 +27443,9 @@
  91618. test -d "$srcdir/$ac_dir" || continue
  91619. ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
  91620. - $as_echo "$as_me:$LINENO: $ac_msg" >&5
  91621. + $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
  91622. $as_echo "$ac_msg" >&6
  91623. - { as_dir="$ac_dir"
  91624. - case $as_dir in #(
  91625. - -*) as_dir=./$as_dir;;
  91626. - esac
  91627. - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  91628. - as_dirs=
  91629. - while :; do
  91630. - case $as_dir in #(
  91631. - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  91632. - *) as_qdir=$as_dir;;
  91633. - esac
  91634. - as_dirs="'$as_qdir' $as_dirs"
  91635. - as_dir=`$as_dirname -- "$as_dir" ||
  91636. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  91637. - X"$as_dir" : 'X\(//\)[^/]' \| \
  91638. - X"$as_dir" : 'X\(//\)$' \| \
  91639. - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  91640. -$as_echo X"$as_dir" |
  91641. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  91642. - s//\1/
  91643. - q
  91644. - }
  91645. - /^X\(\/\/\)[^/].*/{
  91646. - s//\1/
  91647. - q
  91648. - }
  91649. - /^X\(\/\/\)$/{
  91650. - s//\1/
  91651. - q
  91652. - }
  91653. - /^X\(\/\).*/{
  91654. - s//\1/
  91655. - q
  91656. - }
  91657. - s/.*/./; q'`
  91658. - test -d "$as_dir" && break
  91659. - done
  91660. - test -z "$as_dirs" || eval "mkdir $as_dirs"
  91661. - } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  91662. -$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
  91663. - { (exit 1); exit 1; }; }; }
  91664. + as_dir="$ac_dir"; as_fn_mkdir_p
  91665. ac_builddir=.
  91666. case "$ac_dir" in
  91667. @@ -49539,7 +27492,7 @@
  91668. # This should be Cygnus configure.
  91669. ac_sub_configure=$ac_aux_dir/configure
  91670. else
  91671. - { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
  91672. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
  91673. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
  91674. ac_sub_configure=
  91675. fi
  91676. @@ -49553,21 +27506,19 @@
  91677. ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
  91678. esac
  91679. - { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
  91680. + { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
  91681. $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
  91682. # The eval makes quoting arguments work.
  91683. eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
  91684. --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
  91685. - { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
  91686. -$as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
  91687. - { (exit 1); exit 1; }; }
  91688. + as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
  91689. fi
  91690. cd "$ac_popdir"
  91691. done
  91692. fi
  91693. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  91694. - { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
  91695. -$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
  91696. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  91697. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  91698. fi
  91699. diff -Nur squid-3.0.STABLE20.orig/configure.in squid-3.0.STABLE20/configure.in
  91700. --- squid-3.0.STABLE20.orig/configure.in 2009-10-29 11:05:49.000000000 +0100
  91701. +++ squid-3.0.STABLE20/configure.in 2010-02-19 00:38:48.280856315 +0100
  91702. @@ -1895,6 +1895,10 @@
  91703. ;;
  91704. esac
  91705. +dnl Define HOSTCXX
  91706. +HOSTCXX="g++"
  91707. +AC_SUBST(HOSTCXX)
  91708. +
  91709. dnl Check for programs
  91710. AC_PROG_CPP
  91711. AC_PROG_INSTALL
  91712. diff -Nur squid-3.0.STABLE20.orig/contrib/Makefile.in squid-3.0.STABLE20/contrib/Makefile.in
  91713. --- squid-3.0.STABLE20.orig/contrib/Makefile.in 2009-10-29 11:05:33.000000000 +0100
  91714. +++ squid-3.0.STABLE20/contrib/Makefile.in 2010-02-19 00:39:14.640855811 +0100
  91715. @@ -1,8 +1,9 @@
  91716. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  91717. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  91718. # @configure_input@
  91719. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  91720. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  91721. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  91722. +# Inc.
  91723. # This Makefile.in is free software; the Free Software Foundation
  91724. # gives unlimited permission to copy and/or distribute it,
  91725. # with or without modifications, as long as this notice is preserved.
  91726. @@ -20,8 +21,9 @@
  91727. #
  91728. VPATH = @srcdir@
  91729. pkgdatadir = $(datadir)/@PACKAGE@
  91730. -pkglibdir = $(libdir)/@PACKAGE@
  91731. pkgincludedir = $(includedir)/@PACKAGE@
  91732. +pkglibdir = $(libdir)/@PACKAGE@
  91733. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  91734. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  91735. install_sh_DATA = $(install_sh) -c -m 644
  91736. install_sh_PROGRAM = $(install_sh) -c
  91737. @@ -46,6 +48,7 @@
  91738. mkinstalldirs = $(install_sh) -d
  91739. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  91740. CONFIG_CLEAN_FILES =
  91741. +CONFIG_CLEAN_VPATH_FILES =
  91742. SOURCES =
  91743. DIST_SOURCES =
  91744. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  91745. @@ -86,7 +89,7 @@
  91746. DISK_LINKOBJS = @DISK_LINKOBJS@
  91747. DISK_PROGRAMS = @DISK_PROGRAMS@
  91748. DSYMUTIL = @DSYMUTIL@
  91749. -ECHO = @ECHO@
  91750. +DUMPBIN = @DUMPBIN@
  91751. ECHO_C = @ECHO_C@
  91752. ECHO_N = @ECHO_N@
  91753. ECHO_T = @ECHO_T@
  91754. @@ -96,10 +99,10 @@
  91755. ERR_LANGUAGES = @ERR_LANGUAGES@
  91756. EXEEXT = @EXEEXT@
  91757. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  91758. -F77 = @F77@
  91759. FALSE = @FALSE@
  91760. -FFLAGS = @FFLAGS@
  91761. +FGREP = @FGREP@
  91762. GREP = @GREP@
  91763. +HOSTCXX = @HOSTCXX@
  91764. ICAP_LIBS = @ICAP_LIBS@
  91765. INSTALL = @INSTALL@
  91766. INSTALL_DATA = @INSTALL_DATA@
  91767. @@ -108,8 +111,12 @@
  91768. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  91769. KRB5INCS = @KRB5INCS@
  91770. KRB5LIBS = @KRB5LIBS@
  91771. +LD = @LD@
  91772. LDFLAGS = @LDFLAGS@
  91773. LIBADD_DL = @LIBADD_DL@
  91774. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  91775. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  91776. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  91777. LIBOBJS = @LIBOBJS@
  91778. LIBREGEX = @LIBREGEX@
  91779. LIBS = @LIBS@
  91780. @@ -118,9 +125,12 @@
  91781. LIB_DB = @LIB_DB@
  91782. LIB_LBER = @LIB_LBER@
  91783. LIB_LDAP = @LIB_LDAP@
  91784. +LIPO = @LIPO@
  91785. LN = @LN@
  91786. LN_S = @LN_S@
  91787. LTLIBOBJS = @LTLIBOBJS@
  91788. +LT_DLLOADERS = @LT_DLLOADERS@
  91789. +LT_DLPREOPEN = @LT_DLPREOPEN@
  91790. MAINT = @MAINT@
  91791. MAKEINFO = @MAKEINFO@
  91792. MINGW_LIBS = @MINGW_LIBS@
  91793. @@ -128,15 +138,20 @@
  91794. MKDIR_P = @MKDIR_P@
  91795. MV = @MV@
  91796. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  91797. +NM = @NM@
  91798. NMEDIT = @NMEDIT@
  91799. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  91800. +OBJDUMP = @OBJDUMP@
  91801. OBJEXT = @OBJEXT@
  91802. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  91803. +OTOOL = @OTOOL@
  91804. +OTOOL64 = @OTOOL64@
  91805. PACKAGE = @PACKAGE@
  91806. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  91807. PACKAGE_NAME = @PACKAGE_NAME@
  91808. PACKAGE_STRING = @PACKAGE_STRING@
  91809. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  91810. +PACKAGE_URL = @PACKAGE_URL@
  91811. PACKAGE_VERSION = @PACKAGE_VERSION@
  91812. PATH_SEPARATOR = @PATH_SEPARATOR@
  91813. PERL = @PERL@
  91814. @@ -173,7 +188,7 @@
  91815. abs_top_srcdir = @abs_top_srcdir@
  91816. ac_ct_CC = @ac_ct_CC@
  91817. ac_ct_CXX = @ac_ct_CXX@
  91818. -ac_ct_F77 = @ac_ct_F77@
  91819. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  91820. ac_krb5_config = @ac_krb5_config@
  91821. am__include = @am__include@
  91822. am__leading_dot = @am__leading_dot@
  91823. @@ -205,6 +220,7 @@
  91824. libexecdir = @libexecdir@
  91825. localedir = @localedir@
  91826. localstatedir = @localstatedir@
  91827. +lt_ECHO = @lt_ECHO@
  91828. makesnmplib = @makesnmplib@
  91829. mandir = @mandir@
  91830. mkdir_p = @mkdir_p@
  91831. @@ -248,14 +264,14 @@
  91832. @for dep in $?; do \
  91833. case '$(am__configure_deps)' in \
  91834. *$$dep*) \
  91835. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  91836. - && exit 0; \
  91837. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  91838. + && { if test -f $@; then exit 0; else break; fi; }; \
  91839. exit 1;; \
  91840. esac; \
  91841. done; \
  91842. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign contrib/Makefile'; \
  91843. - cd $(top_srcdir) && \
  91844. - $(AUTOMAKE) --foreign contrib/Makefile
  91845. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign contrib/Makefile'; \
  91846. + $(am__cd) $(top_srcdir) && \
  91847. + $(AUTOMAKE) --foreign contrib/Makefile
  91848. .PRECIOUS: Makefile
  91849. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  91850. @case '$?' in \
  91851. @@ -273,6 +289,7 @@
  91852. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  91853. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  91854. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  91855. +$(am__aclocal_m4_deps):
  91856. mostlyclean-libtool:
  91857. -rm -f *.lo
  91858. @@ -302,13 +319,17 @@
  91859. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  91860. if test -d $$d/$$file; then \
  91861. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  91862. + if test -d "$(distdir)/$$file"; then \
  91863. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  91864. + fi; \
  91865. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  91866. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  91867. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  91868. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  91869. fi; \
  91870. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  91871. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  91872. else \
  91873. - test -f $(distdir)/$$file \
  91874. - || cp -p $$d/$$file $(distdir)/$$file \
  91875. + test -f "$(distdir)/$$file" \
  91876. + || cp -p $$d/$$file "$(distdir)/$$file" \
  91877. || exit 1; \
  91878. fi; \
  91879. done
  91880. @@ -335,6 +356,7 @@
  91881. distclean-generic:
  91882. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  91883. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  91884. maintainer-clean-generic:
  91885. @echo "This command is intended for maintainers to use"
  91886. @@ -353,6 +375,8 @@
  91887. html: html-am
  91888. +html-am:
  91889. +
  91890. info: info-am
  91891. info-am:
  91892. @@ -361,18 +385,28 @@
  91893. install-dvi: install-dvi-am
  91894. +install-dvi-am:
  91895. +
  91896. install-exec-am:
  91897. install-html: install-html-am
  91898. +install-html-am:
  91899. +
  91900. install-info: install-info-am
  91901. +install-info-am:
  91902. +
  91903. install-man:
  91904. install-pdf: install-pdf-am
  91905. +install-pdf-am:
  91906. +
  91907. install-ps: install-ps-am
  91908. +install-ps-am:
  91909. +
  91910. installcheck-am:
  91911. maintainer-clean: maintainer-clean-am
  91912. @@ -453,6 +487,7 @@
  91913. grep '^SQUID=' /etc/rc.config || echo SQUID=1 >>/etc/rc.config
  91914. @echo "set SQUID=0 in /etc/rc.config to disable squid at startup"
  91915. @echo "edit /sbin/init.d/squid to change options"
  91916. +
  91917. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  91918. # Otherwise a system limit (for SysV at least) may be exceeded.
  91919. .NOEXPORT:
  91920. diff -Nur squid-3.0.STABLE20.orig/doc/Makefile.in squid-3.0.STABLE20/doc/Makefile.in
  91921. --- squid-3.0.STABLE20.orig/doc/Makefile.in 2009-10-29 11:05:33.000000000 +0100
  91922. +++ squid-3.0.STABLE20/doc/Makefile.in 2010-02-19 00:39:14.964857975 +0100
  91923. @@ -1,8 +1,9 @@
  91924. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  91925. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  91926. # @configure_input@
  91927. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  91928. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  91929. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  91930. +# Inc.
  91931. # This Makefile.in is free software; the Free Software Foundation
  91932. # gives unlimited permission to copy and/or distribute it,
  91933. # with or without modifications, as long as this notice is preserved.
  91934. @@ -23,8 +24,9 @@
  91935. #
  91936. VPATH = @srcdir@
  91937. pkgdatadir = $(datadir)/@PACKAGE@
  91938. -pkglibdir = $(libdir)/@PACKAGE@
  91939. pkgincludedir = $(includedir)/@PACKAGE@
  91940. +pkglibdir = $(libdir)/@PACKAGE@
  91941. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  91942. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  91943. install_sh_DATA = $(install_sh) -c -m 644
  91944. install_sh_PROGRAM = $(install_sh) -c
  91945. @@ -49,8 +51,30 @@
  91946. mkinstalldirs = $(install_sh) -d
  91947. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  91948. CONFIG_CLEAN_FILES =
  91949. +CONFIG_CLEAN_VPATH_FILES =
  91950. SOURCES =
  91951. DIST_SOURCES =
  91952. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  91953. +am__vpath_adj = case $$p in \
  91954. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  91955. + *) f=$$p;; \
  91956. + esac;
  91957. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  91958. +am__install_max = 40
  91959. +am__nobase_strip_setup = \
  91960. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  91961. +am__nobase_strip = \
  91962. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  91963. +am__nobase_list = $(am__nobase_strip_setup); \
  91964. + for p in $$list; do echo "$$p $$p"; done | \
  91965. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  91966. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  91967. + if (++n[$$2] == $(am__install_max)) \
  91968. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  91969. + END { for (dir in files) print dir, files[dir] }'
  91970. +am__base_list = \
  91971. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  91972. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  91973. man8dir = $(mandir)/man8
  91974. am__installdirs = "$(DESTDIR)$(man8dir)"
  91975. NROFF = nroff
  91976. @@ -93,7 +117,7 @@
  91977. DISK_LINKOBJS = @DISK_LINKOBJS@
  91978. DISK_PROGRAMS = @DISK_PROGRAMS@
  91979. DSYMUTIL = @DSYMUTIL@
  91980. -ECHO = @ECHO@
  91981. +DUMPBIN = @DUMPBIN@
  91982. ECHO_C = @ECHO_C@
  91983. ECHO_N = @ECHO_N@
  91984. ECHO_T = @ECHO_T@
  91985. @@ -103,10 +127,10 @@
  91986. ERR_LANGUAGES = @ERR_LANGUAGES@
  91987. EXEEXT = @EXEEXT@
  91988. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  91989. -F77 = @F77@
  91990. FALSE = @FALSE@
  91991. -FFLAGS = @FFLAGS@
  91992. +FGREP = @FGREP@
  91993. GREP = @GREP@
  91994. +HOSTCXX = @HOSTCXX@
  91995. ICAP_LIBS = @ICAP_LIBS@
  91996. INSTALL = @INSTALL@
  91997. INSTALL_DATA = @INSTALL_DATA@
  91998. @@ -115,8 +139,12 @@
  91999. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  92000. KRB5INCS = @KRB5INCS@
  92001. KRB5LIBS = @KRB5LIBS@
  92002. +LD = @LD@
  92003. LDFLAGS = @LDFLAGS@
  92004. LIBADD_DL = @LIBADD_DL@
  92005. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  92006. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  92007. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  92008. LIBOBJS = @LIBOBJS@
  92009. LIBREGEX = @LIBREGEX@
  92010. LIBS = @LIBS@
  92011. @@ -125,9 +153,12 @@
  92012. LIB_DB = @LIB_DB@
  92013. LIB_LBER = @LIB_LBER@
  92014. LIB_LDAP = @LIB_LDAP@
  92015. +LIPO = @LIPO@
  92016. LN = @LN@
  92017. LN_S = @LN_S@
  92018. LTLIBOBJS = @LTLIBOBJS@
  92019. +LT_DLLOADERS = @LT_DLLOADERS@
  92020. +LT_DLPREOPEN = @LT_DLPREOPEN@
  92021. MAINT = @MAINT@
  92022. MAKEINFO = @MAKEINFO@
  92023. MINGW_LIBS = @MINGW_LIBS@
  92024. @@ -135,15 +166,20 @@
  92025. MKDIR_P = @MKDIR_P@
  92026. MV = @MV@
  92027. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  92028. +NM = @NM@
  92029. NMEDIT = @NMEDIT@
  92030. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  92031. +OBJDUMP = @OBJDUMP@
  92032. OBJEXT = @OBJEXT@
  92033. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  92034. +OTOOL = @OTOOL@
  92035. +OTOOL64 = @OTOOL64@
  92036. PACKAGE = @PACKAGE@
  92037. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  92038. PACKAGE_NAME = @PACKAGE_NAME@
  92039. PACKAGE_STRING = @PACKAGE_STRING@
  92040. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  92041. +PACKAGE_URL = @PACKAGE_URL@
  92042. PACKAGE_VERSION = @PACKAGE_VERSION@
  92043. PATH_SEPARATOR = @PATH_SEPARATOR@
  92044. PERL = @PERL@
  92045. @@ -180,7 +216,7 @@
  92046. abs_top_srcdir = @abs_top_srcdir@
  92047. ac_ct_CC = @ac_ct_CC@
  92048. ac_ct_CXX = @ac_ct_CXX@
  92049. -ac_ct_F77 = @ac_ct_F77@
  92050. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  92051. ac_krb5_config = @ac_krb5_config@
  92052. am__include = @am__include@
  92053. am__leading_dot = @am__leading_dot@
  92054. @@ -212,6 +248,7 @@
  92055. libexecdir = @libexecdir@
  92056. localedir = @localedir@
  92057. localstatedir = @localstatedir@
  92058. +lt_ECHO = @lt_ECHO@
  92059. makesnmplib = @makesnmplib@
  92060. mandir = @mandir@
  92061. mkdir_p = @mkdir_p@
  92062. @@ -261,14 +298,14 @@
  92063. @for dep in $?; do \
  92064. case '$(am__configure_deps)' in \
  92065. *$$dep*) \
  92066. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  92067. - && exit 0; \
  92068. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  92069. + && { if test -f $@; then exit 0; else break; fi; }; \
  92070. exit 1;; \
  92071. esac; \
  92072. done; \
  92073. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \
  92074. - cd $(top_srcdir) && \
  92075. - $(AUTOMAKE) --foreign doc/Makefile
  92076. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \
  92077. + $(am__cd) $(top_srcdir) && \
  92078. + $(AUTOMAKE) --foreign doc/Makefile
  92079. .PRECIOUS: Makefile
  92080. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  92081. @case '$?' in \
  92082. @@ -286,57 +323,51 @@
  92083. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  92084. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  92085. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  92086. +$(am__aclocal_m4_deps):
  92087. mostlyclean-libtool:
  92088. -rm -f *.lo
  92089. clean-libtool:
  92090. -rm -rf .libs _libs
  92091. -install-man8: $(man8_MANS) $(man_MANS)
  92092. +install-man8: $(man_MANS)
  92093. @$(NORMAL_INSTALL)
  92094. test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
  92095. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  92096. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  92097. - for i in $$l2; do \
  92098. - case "$$i" in \
  92099. - *.8*) list="$$list $$i" ;; \
  92100. - esac; \
  92101. + @list=''; test -n "$(man8dir)" || exit 0; \
  92102. + { for i in $$list; do echo "$$i"; done; \
  92103. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  92104. + sed -n '/\.8[a-z]*$$/p'; \
  92105. + } | while read p; do \
  92106. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  92107. + echo "$$d$$p"; echo "$$p"; \
  92108. + done | \
  92109. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  92110. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  92111. + sed 'N;N;s,\n, ,g' | { \
  92112. + list=; while read file base inst; do \
  92113. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  92114. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  92115. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
  92116. + fi; \
  92117. done; \
  92118. - for i in $$list; do \
  92119. - if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  92120. - else file=$$i; fi; \
  92121. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  92122. - case "$$ext" in \
  92123. - 8*) ;; \
  92124. - *) ext='8' ;; \
  92125. - esac; \
  92126. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  92127. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  92128. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  92129. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  92130. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
  92131. - done
  92132. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  92133. + while read files; do \
  92134. + test -z "$$files" || { \
  92135. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
  92136. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
  92137. + done; }
  92138. +
  92139. uninstall-man8:
  92140. @$(NORMAL_UNINSTALL)
  92141. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  92142. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  92143. - for i in $$l2; do \
  92144. - case "$$i" in \
  92145. - *.8*) list="$$list $$i" ;; \
  92146. - esac; \
  92147. - done; \
  92148. - for i in $$list; do \
  92149. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  92150. - case "$$ext" in \
  92151. - 8*) ;; \
  92152. - *) ext='8' ;; \
  92153. - esac; \
  92154. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  92155. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  92156. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  92157. - echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
  92158. - rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
  92159. - done
  92160. + @list=''; test -n "$(man8dir)" || exit 0; \
  92161. + files=`{ for i in $$list; do echo "$$i"; done; \
  92162. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  92163. + sed -n '/\.8[a-z]*$$/p'; \
  92164. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  92165. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  92166. + test -z "$$files" || { \
  92167. + echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \
  92168. + cd "$(DESTDIR)$(man8dir)" && rm -f $$files; }
  92169. tags: TAGS
  92170. TAGS:
  92171. @@ -345,6 +376,19 @@
  92172. distdir: $(DISTFILES)
  92173. + @list='$(MANS)'; if test -n "$$list"; then \
  92174. + list=`for p in $$list; do \
  92175. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  92176. + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  92177. + if test -n "$$list" && \
  92178. + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  92179. + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  92180. + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  92181. + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  92182. + echo " typically \`make maintainer-clean' will remove them" >&2; \
  92183. + exit 1; \
  92184. + else :; fi; \
  92185. + else :; fi
  92186. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  92187. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  92188. list='$(DISTFILES)'; \
  92189. @@ -360,13 +404,17 @@
  92190. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  92191. if test -d $$d/$$file; then \
  92192. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  92193. + if test -d "$(distdir)/$$file"; then \
  92194. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  92195. + fi; \
  92196. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  92197. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  92198. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  92199. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  92200. fi; \
  92201. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  92202. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  92203. else \
  92204. - test -f $(distdir)/$$file \
  92205. - || cp -p $$d/$$file $(distdir)/$$file \
  92206. + test -f "$(distdir)/$$file" \
  92207. + || cp -p $$d/$$file "$(distdir)/$$file" \
  92208. || exit 1; \
  92209. fi; \
  92210. done
  92211. @@ -398,6 +446,7 @@
  92212. distclean-generic:
  92213. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  92214. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  92215. maintainer-clean-generic:
  92216. @echo "This command is intended for maintainers to use"
  92217. @@ -416,6 +465,8 @@
  92218. html: html-am
  92219. +html-am:
  92220. +
  92221. info: info-am
  92222. info-am:
  92223. @@ -424,18 +475,28 @@
  92224. install-dvi: install-dvi-am
  92225. +install-dvi-am:
  92226. +
  92227. install-exec-am:
  92228. install-html: install-html-am
  92229. +install-html-am:
  92230. +
  92231. install-info: install-info-am
  92232. +install-info-am:
  92233. +
  92234. install-man: install-man8
  92235. install-pdf: install-pdf-am
  92236. +install-pdf-am:
  92237. +
  92238. install-ps: install-ps-am
  92239. +install-ps-am:
  92240. +
  92241. installcheck-am:
  92242. maintainer-clean: maintainer-clean-am
  92243. @@ -478,6 +539,7 @@
  92244. cachemgr.cgi.8: $(srcdir)/cachemgr.cgi.8.in Makefile
  92245. $(SUBSTITUTE) < $(srcdir)/cachemgr.cgi.8.in > $@
  92246. +
  92247. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  92248. # Otherwise a system limit (for SysV at least) may be exceeded.
  92249. .NOEXPORT:
  92250. diff -Nur squid-3.0.STABLE20.orig/errors/Makefile.in squid-3.0.STABLE20/errors/Makefile.in
  92251. --- squid-3.0.STABLE20.orig/errors/Makefile.in 2009-10-29 11:05:36.000000000 +0100
  92252. +++ squid-3.0.STABLE20/errors/Makefile.in 2010-02-19 00:39:15.212853525 +0100
  92253. @@ -1,8 +1,9 @@
  92254. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  92255. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  92256. # @configure_input@
  92257. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  92258. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  92259. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  92260. +# Inc.
  92261. # This Makefile.in is free software; the Free Software Foundation
  92262. # gives unlimited permission to copy and/or distribute it,
  92263. # with or without modifications, as long as this notice is preserved.
  92264. @@ -19,8 +20,9 @@
  92265. #
  92266. VPATH = @srcdir@
  92267. pkgdatadir = $(datadir)/@PACKAGE@
  92268. -pkglibdir = $(libdir)/@PACKAGE@
  92269. pkgincludedir = $(includedir)/@PACKAGE@
  92270. +pkglibdir = $(libdir)/@PACKAGE@
  92271. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  92272. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  92273. install_sh_DATA = $(install_sh) -c -m 644
  92274. install_sh_PROGRAM = $(install_sh) -c
  92275. @@ -45,6 +47,7 @@
  92276. mkinstalldirs = $(install_sh) -d
  92277. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  92278. CONFIG_CLEAN_FILES =
  92279. +CONFIG_CLEAN_VPATH_FILES =
  92280. SOURCES =
  92281. DIST_SOURCES =
  92282. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  92283. @@ -85,7 +88,7 @@
  92284. DISK_LINKOBJS = @DISK_LINKOBJS@
  92285. DISK_PROGRAMS = @DISK_PROGRAMS@
  92286. DSYMUTIL = @DSYMUTIL@
  92287. -ECHO = @ECHO@
  92288. +DUMPBIN = @DUMPBIN@
  92289. ECHO_C = @ECHO_C@
  92290. ECHO_N = @ECHO_N@
  92291. ECHO_T = @ECHO_T@
  92292. @@ -95,10 +98,10 @@
  92293. ERR_LANGUAGES = @ERR_LANGUAGES@
  92294. EXEEXT = @EXEEXT@
  92295. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  92296. -F77 = @F77@
  92297. FALSE = @FALSE@
  92298. -FFLAGS = @FFLAGS@
  92299. +FGREP = @FGREP@
  92300. GREP = @GREP@
  92301. +HOSTCXX = @HOSTCXX@
  92302. ICAP_LIBS = @ICAP_LIBS@
  92303. INSTALL = @INSTALL@
  92304. INSTALL_DATA = @INSTALL_DATA@
  92305. @@ -107,8 +110,12 @@
  92306. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  92307. KRB5INCS = @KRB5INCS@
  92308. KRB5LIBS = @KRB5LIBS@
  92309. +LD = @LD@
  92310. LDFLAGS = @LDFLAGS@
  92311. LIBADD_DL = @LIBADD_DL@
  92312. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  92313. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  92314. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  92315. LIBOBJS = @LIBOBJS@
  92316. LIBREGEX = @LIBREGEX@
  92317. LIBS = @LIBS@
  92318. @@ -117,9 +124,12 @@
  92319. LIB_DB = @LIB_DB@
  92320. LIB_LBER = @LIB_LBER@
  92321. LIB_LDAP = @LIB_LDAP@
  92322. +LIPO = @LIPO@
  92323. LN = @LN@
  92324. LN_S = @LN_S@
  92325. LTLIBOBJS = @LTLIBOBJS@
  92326. +LT_DLLOADERS = @LT_DLLOADERS@
  92327. +LT_DLPREOPEN = @LT_DLPREOPEN@
  92328. MAINT = @MAINT@
  92329. MAKEINFO = @MAKEINFO@
  92330. MINGW_LIBS = @MINGW_LIBS@
  92331. @@ -127,15 +137,20 @@
  92332. MKDIR_P = @MKDIR_P@
  92333. MV = @MV@
  92334. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  92335. +NM = @NM@
  92336. NMEDIT = @NMEDIT@
  92337. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  92338. +OBJDUMP = @OBJDUMP@
  92339. OBJEXT = @OBJEXT@
  92340. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  92341. +OTOOL = @OTOOL@
  92342. +OTOOL64 = @OTOOL64@
  92343. PACKAGE = @PACKAGE@
  92344. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  92345. PACKAGE_NAME = @PACKAGE_NAME@
  92346. PACKAGE_STRING = @PACKAGE_STRING@
  92347. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  92348. +PACKAGE_URL = @PACKAGE_URL@
  92349. PACKAGE_VERSION = @PACKAGE_VERSION@
  92350. PATH_SEPARATOR = @PATH_SEPARATOR@
  92351. PERL = @PERL@
  92352. @@ -172,7 +187,7 @@
  92353. abs_top_srcdir = @abs_top_srcdir@
  92354. ac_ct_CC = @ac_ct_CC@
  92355. ac_ct_CXX = @ac_ct_CXX@
  92356. -ac_ct_F77 = @ac_ct_F77@
  92357. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  92358. ac_krb5_config = @ac_krb5_config@
  92359. am__include = @am__include@
  92360. am__leading_dot = @am__leading_dot@
  92361. @@ -204,6 +219,7 @@
  92362. libexecdir = @libexecdir@
  92363. localedir = @localedir@
  92364. localstatedir = @localstatedir@
  92365. +lt_ECHO = @lt_ECHO@
  92366. makesnmplib = @makesnmplib@
  92367. mandir = @mandir@
  92368. mkdir_p = @mkdir_p@
  92369. @@ -267,14 +283,14 @@
  92370. @for dep in $?; do \
  92371. case '$(am__configure_deps)' in \
  92372. *$$dep*) \
  92373. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  92374. - && exit 0; \
  92375. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  92376. + && { if test -f $@; then exit 0; else break; fi; }; \
  92377. exit 1;; \
  92378. esac; \
  92379. done; \
  92380. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign errors/Makefile'; \
  92381. - cd $(top_srcdir) && \
  92382. - $(AUTOMAKE) --foreign errors/Makefile
  92383. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign errors/Makefile'; \
  92384. + $(am__cd) $(top_srcdir) && \
  92385. + $(AUTOMAKE) --foreign errors/Makefile
  92386. .PRECIOUS: Makefile
  92387. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  92388. @case '$?' in \
  92389. @@ -292,6 +308,7 @@
  92390. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  92391. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  92392. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  92393. +$(am__aclocal_m4_deps):
  92394. mostlyclean-libtool:
  92395. -rm -f *.lo
  92396. @@ -321,13 +338,17 @@
  92397. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  92398. if test -d $$d/$$file; then \
  92399. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  92400. + if test -d "$(distdir)/$$file"; then \
  92401. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  92402. + fi; \
  92403. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  92404. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  92405. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  92406. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  92407. fi; \
  92408. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  92409. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  92410. else \
  92411. - test -f $(distdir)/$$file \
  92412. - || cp -p $$d/$$file $(distdir)/$$file \
  92413. + test -f "$(distdir)/$$file" \
  92414. + || cp -p $$d/$$file "$(distdir)/$$file" \
  92415. || exit 1; \
  92416. fi; \
  92417. done
  92418. @@ -358,6 +379,7 @@
  92419. distclean-generic:
  92420. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  92421. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  92422. maintainer-clean-generic:
  92423. @echo "This command is intended for maintainers to use"
  92424. @@ -376,6 +398,8 @@
  92425. html: html-am
  92426. +html-am:
  92427. +
  92428. info: info-am
  92429. info-am:
  92430. @@ -384,18 +408,28 @@
  92431. install-dvi: install-dvi-am
  92432. +install-dvi-am:
  92433. +
  92434. install-exec-am:
  92435. install-html: install-html-am
  92436. +install-html-am:
  92437. +
  92438. install-info: install-info-am
  92439. +install-info-am:
  92440. +
  92441. install-man:
  92442. install-pdf: install-pdf-am
  92443. +install-pdf-am:
  92444. +
  92445. install-ps: install-ps-am
  92446. +install-ps-am:
  92447. +
  92448. installcheck-am:
  92449. maintainer-clean: maintainer-clean-am
  92450. @@ -478,6 +512,7 @@
  92451. || exit 1; \
  92452. fi; \
  92453. done
  92454. +
  92455. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  92456. # Otherwise a system limit (for SysV at least) may be exceeded.
  92457. .NOEXPORT:
  92458. diff -Nur squid-3.0.STABLE20.orig/helpers/basic_auth/DB/Makefile.in squid-3.0.STABLE20/helpers/basic_auth/DB/Makefile.in
  92459. --- squid-3.0.STABLE20.orig/helpers/basic_auth/DB/Makefile.in 2009-10-29 11:05:38.000000000 +0100
  92460. +++ squid-3.0.STABLE20/helpers/basic_auth/DB/Makefile.in 2010-02-19 00:39:15.820854984 +0100
  92461. @@ -1,8 +1,9 @@
  92462. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  92463. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  92464. # @configure_input@
  92465. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  92466. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  92467. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  92468. +# Inc.
  92469. # This Makefile.in is free software; the Free Software Foundation
  92470. # gives unlimited permission to copy and/or distribute it,
  92471. # with or without modifications, as long as this notice is preserved.
  92472. @@ -24,8 +25,9 @@
  92473. VPATH = @srcdir@
  92474. pkgdatadir = $(datadir)/@PACKAGE@
  92475. -pkglibdir = $(libdir)/@PACKAGE@
  92476. pkgincludedir = $(includedir)/@PACKAGE@
  92477. +pkglibdir = $(libdir)/@PACKAGE@
  92478. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  92479. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  92480. install_sh_DATA = $(install_sh) -c -m 644
  92481. install_sh_PROGRAM = $(install_sh) -c
  92482. @@ -50,8 +52,29 @@
  92483. mkinstalldirs = $(install_sh) -d
  92484. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  92485. CONFIG_CLEAN_FILES =
  92486. +CONFIG_CLEAN_VPATH_FILES =
  92487. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  92488. +am__vpath_adj = case $$p in \
  92489. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  92490. + *) f=$$p;; \
  92491. + esac;
  92492. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  92493. +am__install_max = 40
  92494. +am__nobase_strip_setup = \
  92495. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  92496. +am__nobase_strip = \
  92497. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  92498. +am__nobase_list = $(am__nobase_strip_setup); \
  92499. + for p in $$list; do echo "$$p $$p"; done | \
  92500. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  92501. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  92502. + if (++n[$$2] == $(am__install_max)) \
  92503. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  92504. + END { for (dir in files) print dir, files[dir] }'
  92505. +am__base_list = \
  92506. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  92507. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  92508. am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man8dir)"
  92509. -libexecSCRIPT_INSTALL = $(INSTALL_SCRIPT)
  92510. SCRIPTS = $(libexec_SCRIPTS)
  92511. SOURCES =
  92512. DIST_SOURCES =
  92513. @@ -96,7 +119,7 @@
  92514. DISK_LINKOBJS = @DISK_LINKOBJS@
  92515. DISK_PROGRAMS = @DISK_PROGRAMS@
  92516. DSYMUTIL = @DSYMUTIL@
  92517. -ECHO = @ECHO@
  92518. +DUMPBIN = @DUMPBIN@
  92519. ECHO_C = @ECHO_C@
  92520. ECHO_N = @ECHO_N@
  92521. ECHO_T = @ECHO_T@
  92522. @@ -106,10 +129,10 @@
  92523. ERR_LANGUAGES = @ERR_LANGUAGES@
  92524. EXEEXT = @EXEEXT@
  92525. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  92526. -F77 = @F77@
  92527. FALSE = @FALSE@
  92528. -FFLAGS = @FFLAGS@
  92529. +FGREP = @FGREP@
  92530. GREP = @GREP@
  92531. +HOSTCXX = @HOSTCXX@
  92532. ICAP_LIBS = @ICAP_LIBS@
  92533. INSTALL = @INSTALL@
  92534. INSTALL_DATA = @INSTALL_DATA@
  92535. @@ -118,8 +141,12 @@
  92536. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  92537. KRB5INCS = @KRB5INCS@
  92538. KRB5LIBS = @KRB5LIBS@
  92539. +LD = @LD@
  92540. LDFLAGS = @LDFLAGS@
  92541. LIBADD_DL = @LIBADD_DL@
  92542. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  92543. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  92544. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  92545. LIBOBJS = @LIBOBJS@
  92546. LIBREGEX = @LIBREGEX@
  92547. LIBS = @LIBS@
  92548. @@ -128,9 +155,12 @@
  92549. LIB_DB = @LIB_DB@
  92550. LIB_LBER = @LIB_LBER@
  92551. LIB_LDAP = @LIB_LDAP@
  92552. +LIPO = @LIPO@
  92553. LN = @LN@
  92554. LN_S = @LN_S@
  92555. LTLIBOBJS = @LTLIBOBJS@
  92556. +LT_DLLOADERS = @LT_DLLOADERS@
  92557. +LT_DLPREOPEN = @LT_DLPREOPEN@
  92558. MAINT = @MAINT@
  92559. MAKEINFO = @MAKEINFO@
  92560. MINGW_LIBS = @MINGW_LIBS@
  92561. @@ -138,15 +168,20 @@
  92562. MKDIR_P = @MKDIR_P@
  92563. MV = @MV@
  92564. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  92565. +NM = @NM@
  92566. NMEDIT = @NMEDIT@
  92567. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  92568. +OBJDUMP = @OBJDUMP@
  92569. OBJEXT = @OBJEXT@
  92570. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  92571. +OTOOL = @OTOOL@
  92572. +OTOOL64 = @OTOOL64@
  92573. PACKAGE = @PACKAGE@
  92574. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  92575. PACKAGE_NAME = @PACKAGE_NAME@
  92576. PACKAGE_STRING = @PACKAGE_STRING@
  92577. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  92578. +PACKAGE_URL = @PACKAGE_URL@
  92579. PACKAGE_VERSION = @PACKAGE_VERSION@
  92580. PATH_SEPARATOR = @PATH_SEPARATOR@
  92581. PERL = @PERL@
  92582. @@ -183,7 +218,7 @@
  92583. abs_top_srcdir = @abs_top_srcdir@
  92584. ac_ct_CC = @ac_ct_CC@
  92585. ac_ct_CXX = @ac_ct_CXX@
  92586. -ac_ct_F77 = @ac_ct_F77@
  92587. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  92588. ac_krb5_config = @ac_krb5_config@
  92589. am__include = @am__include@
  92590. am__leading_dot = @am__leading_dot@
  92591. @@ -215,6 +250,7 @@
  92592. libexecdir = @libexecdir@
  92593. localedir = @localedir@
  92594. localstatedir = @localstatedir@
  92595. +lt_ECHO = @lt_ECHO@
  92596. makesnmplib = @makesnmplib@
  92597. mandir = @mandir@
  92598. mkdir_p = @mkdir_p@
  92599. @@ -246,14 +282,14 @@
  92600. @for dep in $?; do \
  92601. case '$(am__configure_deps)' in \
  92602. *$$dep*) \
  92603. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  92604. - && exit 0; \
  92605. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  92606. + && { if test -f $@; then exit 0; else break; fi; }; \
  92607. exit 1;; \
  92608. esac; \
  92609. done; \
  92610. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/DB/Makefile'; \
  92611. - cd $(top_srcdir) && \
  92612. - $(AUTOMAKE) --foreign helpers/basic_auth/DB/Makefile
  92613. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/DB/Makefile'; \
  92614. + $(am__cd) $(top_srcdir) && \
  92615. + $(AUTOMAKE) --foreign helpers/basic_auth/DB/Makefile
  92616. .PRECIOUS: Makefile
  92617. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  92618. @case '$?' in \
  92619. @@ -271,76 +307,85 @@
  92620. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  92621. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  92622. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  92623. +$(am__aclocal_m4_deps):
  92624. install-libexecSCRIPTS: $(libexec_SCRIPTS)
  92625. @$(NORMAL_INSTALL)
  92626. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  92627. - @list='$(libexec_SCRIPTS)'; for p in $$list; do \
  92628. + @list='$(libexec_SCRIPTS)'; test -n "$(libexecdir)" || list=; \
  92629. + for p in $$list; do \
  92630. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  92631. - if test -f $$d$$p; then \
  92632. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  92633. - echo " $(libexecSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  92634. - $(libexecSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(libexecdir)/$$f"; \
  92635. - else :; fi; \
  92636. - done
  92637. + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
  92638. + done | \
  92639. + sed -e 'p;s,.*/,,;n' \
  92640. + -e 'h;s|.*|.|' \
  92641. + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
  92642. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
  92643. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  92644. + if ($$2 == $$4) { files[d] = files[d] " " $$1; \
  92645. + if (++n[d] == $(am__install_max)) { \
  92646. + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
  92647. + else { print "f", d "/" $$4, $$1 } } \
  92648. + END { for (d in files) print "f", d, files[d] }' | \
  92649. + while read type dir files; do \
  92650. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  92651. + test -z "$$files" || { \
  92652. + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  92653. + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  92654. + } \
  92655. + ; done
  92656. uninstall-libexecSCRIPTS:
  92657. @$(NORMAL_UNINSTALL)
  92658. - @list='$(libexec_SCRIPTS)'; for p in $$list; do \
  92659. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  92660. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  92661. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  92662. - done
  92663. + @list='$(libexec_SCRIPTS)'; test -n "$(libexecdir)" || exit 0; \
  92664. + files=`for p in $$list; do echo "$$p"; done | \
  92665. + sed -e 's,.*/,,;$(transform)'`; \
  92666. + test -n "$$list" || exit 0; \
  92667. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  92668. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  92669. mostlyclean-libtool:
  92670. -rm -f *.lo
  92671. clean-libtool:
  92672. -rm -rf .libs _libs
  92673. -install-man8: $(man8_MANS) $(man_MANS)
  92674. +install-man8: $(man_MANS)
  92675. @$(NORMAL_INSTALL)
  92676. test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
  92677. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  92678. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  92679. - for i in $$l2; do \
  92680. - case "$$i" in \
  92681. - *.8*) list="$$list $$i" ;; \
  92682. - esac; \
  92683. + @list=''; test -n "$(man8dir)" || exit 0; \
  92684. + { for i in $$list; do echo "$$i"; done; \
  92685. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  92686. + sed -n '/\.8[a-z]*$$/p'; \
  92687. + } | while read p; do \
  92688. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  92689. + echo "$$d$$p"; echo "$$p"; \
  92690. + done | \
  92691. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  92692. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  92693. + sed 'N;N;s,\n, ,g' | { \
  92694. + list=; while read file base inst; do \
  92695. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  92696. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  92697. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
  92698. + fi; \
  92699. done; \
  92700. - for i in $$list; do \
  92701. - if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  92702. - else file=$$i; fi; \
  92703. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  92704. - case "$$ext" in \
  92705. - 8*) ;; \
  92706. - *) ext='8' ;; \
  92707. - esac; \
  92708. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  92709. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  92710. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  92711. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  92712. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
  92713. - done
  92714. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  92715. + while read files; do \
  92716. + test -z "$$files" || { \
  92717. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
  92718. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
  92719. + done; }
  92720. +
  92721. uninstall-man8:
  92722. @$(NORMAL_UNINSTALL)
  92723. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  92724. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  92725. - for i in $$l2; do \
  92726. - case "$$i" in \
  92727. - *.8*) list="$$list $$i" ;; \
  92728. - esac; \
  92729. - done; \
  92730. - for i in $$list; do \
  92731. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  92732. - case "$$ext" in \
  92733. - 8*) ;; \
  92734. - *) ext='8' ;; \
  92735. - esac; \
  92736. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  92737. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  92738. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  92739. - echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
  92740. - rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
  92741. - done
  92742. + @list=''; test -n "$(man8dir)" || exit 0; \
  92743. + files=`{ for i in $$list; do echo "$$i"; done; \
  92744. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  92745. + sed -n '/\.8[a-z]*$$/p'; \
  92746. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  92747. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  92748. + test -z "$$files" || { \
  92749. + echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \
  92750. + cd "$(DESTDIR)$(man8dir)" && rm -f $$files; }
  92751. tags: TAGS
  92752. TAGS:
  92753. @@ -349,6 +394,19 @@
  92754. distdir: $(DISTFILES)
  92755. + @list='$(MANS)'; if test -n "$$list"; then \
  92756. + list=`for p in $$list; do \
  92757. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  92758. + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  92759. + if test -n "$$list" && \
  92760. + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  92761. + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  92762. + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  92763. + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  92764. + echo " typically \`make maintainer-clean' will remove them" >&2; \
  92765. + exit 1; \
  92766. + else :; fi; \
  92767. + else :; fi
  92768. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  92769. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  92770. list='$(DISTFILES)'; \
  92771. @@ -364,13 +422,17 @@
  92772. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  92773. if test -d $$d/$$file; then \
  92774. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  92775. + if test -d "$(distdir)/$$file"; then \
  92776. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  92777. + fi; \
  92778. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  92779. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  92780. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  92781. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  92782. fi; \
  92783. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  92784. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  92785. else \
  92786. - test -f $(distdir)/$$file \
  92787. - || cp -p $$d/$$file $(distdir)/$$file \
  92788. + test -f "$(distdir)/$$file" \
  92789. + || cp -p $$d/$$file "$(distdir)/$$file" \
  92790. || exit 1; \
  92791. fi; \
  92792. done
  92793. @@ -402,6 +464,7 @@
  92794. distclean-generic:
  92795. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  92796. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  92797. maintainer-clean-generic:
  92798. @echo "This command is intended for maintainers to use"
  92799. @@ -420,6 +483,8 @@
  92800. html: html-am
  92801. +html-am:
  92802. +
  92803. info: info-am
  92804. info-am:
  92805. @@ -428,18 +493,28 @@
  92806. install-dvi: install-dvi-am
  92807. +install-dvi-am:
  92808. +
  92809. install-exec-am: install-libexecSCRIPTS
  92810. install-html: install-html-am
  92811. +install-html-am:
  92812. +
  92813. install-info: install-info-am
  92814. +install-info-am:
  92815. +
  92816. install-man: install-man8
  92817. install-pdf: install-pdf-am
  92818. +install-pdf-am:
  92819. +
  92820. install-ps: install-ps-am
  92821. +install-ps-am:
  92822. +
  92823. installcheck-am:
  92824. maintainer-clean: maintainer-clean-am
  92825. @@ -483,6 +558,7 @@
  92826. squid_db_auth: squid_db_auth.in
  92827. $(do_subst) < $(srcdir)/squid_db_auth.in >squid_db_auth
  92828. +
  92829. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  92830. # Otherwise a system limit (for SysV at least) may be exceeded.
  92831. .NOEXPORT:
  92832. diff -Nur squid-3.0.STABLE20.orig/helpers/basic_auth/getpwnam/Makefile.in squid-3.0.STABLE20/helpers/basic_auth/getpwnam/Makefile.in
  92833. --- squid-3.0.STABLE20.orig/helpers/basic_auth/getpwnam/Makefile.in 2009-10-29 11:05:39.000000000 +0100
  92834. +++ squid-3.0.STABLE20/helpers/basic_auth/getpwnam/Makefile.in 2010-02-19 00:39:17.576852409 +0100
  92835. @@ -1,8 +1,9 @@
  92836. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  92837. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  92838. # @configure_input@
  92839. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  92840. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  92841. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  92842. +# Inc.
  92843. # This Makefile.in is free software; the Free Software Foundation
  92844. # gives unlimited permission to copy and/or distribute it,
  92845. # with or without modifications, as long as this notice is preserved.
  92846. @@ -24,8 +25,9 @@
  92847. VPATH = @srcdir@
  92848. pkgdatadir = $(datadir)/@PACKAGE@
  92849. -pkglibdir = $(libdir)/@PACKAGE@
  92850. pkgincludedir = $(includedir)/@PACKAGE@
  92851. +pkglibdir = $(libdir)/@PACKAGE@
  92852. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  92853. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  92854. install_sh_DATA = $(install_sh) -c -m 644
  92855. install_sh_PROGRAM = $(install_sh) -c
  92856. @@ -51,8 +53,8 @@
  92857. mkinstalldirs = $(install_sh) -d
  92858. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  92859. CONFIG_CLEAN_FILES =
  92860. +CONFIG_CLEAN_VPATH_FILES =
  92861. am__installdirs = "$(DESTDIR)$(libexecdir)"
  92862. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  92863. PROGRAMS = $(libexec_PROGRAMS)
  92864. am_getpwname_auth_OBJECTS = getpwnam_auth.$(OBJEXT)
  92865. getpwname_auth_OBJECTS = $(am_getpwname_auth_OBJECTS)
  92866. @@ -63,6 +65,7 @@
  92867. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  92868. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  92869. am__depfiles_maybe = depfiles
  92870. +am__mv = mv -f
  92871. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  92872. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  92873. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  92874. @@ -114,7 +117,7 @@
  92875. DISK_LINKOBJS = @DISK_LINKOBJS@
  92876. DISK_PROGRAMS = @DISK_PROGRAMS@
  92877. DSYMUTIL = @DSYMUTIL@
  92878. -ECHO = @ECHO@
  92879. +DUMPBIN = @DUMPBIN@
  92880. ECHO_C = @ECHO_C@
  92881. ECHO_N = @ECHO_N@
  92882. ECHO_T = @ECHO_T@
  92883. @@ -124,10 +127,10 @@
  92884. ERR_LANGUAGES = @ERR_LANGUAGES@
  92885. EXEEXT = @EXEEXT@
  92886. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  92887. -F77 = @F77@
  92888. FALSE = @FALSE@
  92889. -FFLAGS = @FFLAGS@
  92890. +FGREP = @FGREP@
  92891. GREP = @GREP@
  92892. +HOSTCXX = @HOSTCXX@
  92893. ICAP_LIBS = @ICAP_LIBS@
  92894. INSTALL = @INSTALL@
  92895. INSTALL_DATA = @INSTALL_DATA@
  92896. @@ -136,8 +139,12 @@
  92897. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  92898. KRB5INCS = @KRB5INCS@
  92899. KRB5LIBS = @KRB5LIBS@
  92900. +LD = @LD@
  92901. LDFLAGS = @LDFLAGS@
  92902. LIBADD_DL = @LIBADD_DL@
  92903. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  92904. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  92905. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  92906. LIBOBJS = @LIBOBJS@
  92907. LIBREGEX = @LIBREGEX@
  92908. LIBS = @LIBS@
  92909. @@ -146,9 +153,12 @@
  92910. LIB_DB = @LIB_DB@
  92911. LIB_LBER = @LIB_LBER@
  92912. LIB_LDAP = @LIB_LDAP@
  92913. +LIPO = @LIPO@
  92914. LN = @LN@
  92915. LN_S = @LN_S@
  92916. LTLIBOBJS = @LTLIBOBJS@
  92917. +LT_DLLOADERS = @LT_DLLOADERS@
  92918. +LT_DLPREOPEN = @LT_DLPREOPEN@
  92919. MAINT = @MAINT@
  92920. MAKEINFO = @MAKEINFO@
  92921. MINGW_LIBS = @MINGW_LIBS@
  92922. @@ -156,15 +166,20 @@
  92923. MKDIR_P = @MKDIR_P@
  92924. MV = @MV@
  92925. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  92926. +NM = @NM@
  92927. NMEDIT = @NMEDIT@
  92928. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  92929. +OBJDUMP = @OBJDUMP@
  92930. OBJEXT = @OBJEXT@
  92931. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  92932. +OTOOL = @OTOOL@
  92933. +OTOOL64 = @OTOOL64@
  92934. PACKAGE = @PACKAGE@
  92935. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  92936. PACKAGE_NAME = @PACKAGE_NAME@
  92937. PACKAGE_STRING = @PACKAGE_STRING@
  92938. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  92939. +PACKAGE_URL = @PACKAGE_URL@
  92940. PACKAGE_VERSION = @PACKAGE_VERSION@
  92941. PATH_SEPARATOR = @PATH_SEPARATOR@
  92942. PERL = @PERL@
  92943. @@ -201,7 +216,7 @@
  92944. abs_top_srcdir = @abs_top_srcdir@
  92945. ac_ct_CC = @ac_ct_CC@
  92946. ac_ct_CXX = @ac_ct_CXX@
  92947. -ac_ct_F77 = @ac_ct_F77@
  92948. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  92949. ac_krb5_config = @ac_krb5_config@
  92950. am__include = @am__include@
  92951. am__leading_dot = @am__leading_dot@
  92952. @@ -233,6 +248,7 @@
  92953. libexecdir = @libexecdir@
  92954. localedir = @localedir@
  92955. localstatedir = @localstatedir@
  92956. +lt_ECHO = @lt_ECHO@
  92957. makesnmplib = @makesnmplib@
  92958. mandir = @mandir@
  92959. mkdir_p = @mkdir_p@
  92960. @@ -261,14 +277,14 @@
  92961. @for dep in $?; do \
  92962. case '$(am__configure_deps)' in \
  92963. *$$dep*) \
  92964. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  92965. - && exit 0; \
  92966. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  92967. + && { if test -f $@; then exit 0; else break; fi; }; \
  92968. exit 1;; \
  92969. esac; \
  92970. done; \
  92971. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/getpwnam/Makefile'; \
  92972. - cd $(top_srcdir) && \
  92973. - $(AUTOMAKE) --foreign helpers/basic_auth/getpwnam/Makefile
  92974. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/getpwnam/Makefile'; \
  92975. + $(am__cd) $(top_srcdir) && \
  92976. + $(AUTOMAKE) --foreign helpers/basic_auth/getpwnam/Makefile
  92977. .PRECIOUS: Makefile
  92978. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  92979. @case '$?' in \
  92980. @@ -286,34 +302,50 @@
  92981. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  92982. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  92983. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  92984. +$(am__aclocal_m4_deps):
  92985. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  92986. @$(NORMAL_INSTALL)
  92987. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  92988. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  92989. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  92990. - if test -f $$p \
  92991. - || test -f $$p1 \
  92992. - ; then \
  92993. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  92994. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  92995. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  92996. - else :; fi; \
  92997. - done
  92998. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  92999. + for p in $$list; do echo "$$p $$p"; done | \
  93000. + sed 's/$(EXEEXT)$$//' | \
  93001. + while read p p1; do if test -f $$p || test -f $$p1; \
  93002. + then echo "$$p"; echo "$$p"; else :; fi; \
  93003. + done | \
  93004. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  93005. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  93006. + sed 'N;N;N;s,\n, ,g' | \
  93007. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  93008. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  93009. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  93010. + else { print "f", $$3 "/" $$4, $$1; } } \
  93011. + END { for (d in files) print "f", d, files[d] }' | \
  93012. + while read type dir files; do \
  93013. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  93014. + test -z "$$files" || { \
  93015. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  93016. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  93017. + } \
  93018. + ; done
  93019. uninstall-libexecPROGRAMS:
  93020. @$(NORMAL_UNINSTALL)
  93021. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  93022. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  93023. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  93024. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  93025. - done
  93026. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  93027. + files=`for p in $$list; do echo "$$p"; done | \
  93028. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  93029. + -e 's/$$/$(EXEEXT)/' `; \
  93030. + test -n "$$list" || exit 0; \
  93031. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  93032. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  93033. clean-libexecPROGRAMS:
  93034. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  93035. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  93036. - echo " rm -f $$p $$f"; \
  93037. - rm -f $$p $$f ; \
  93038. - done
  93039. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  93040. + echo " rm -f" $$list; \
  93041. + rm -f $$list || exit $$?; \
  93042. + test -n "$(EXEEXT)" || exit 0; \
  93043. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  93044. + echo " rm -f" $$list; \
  93045. + rm -f $$list
  93046. getpwname_auth$(EXEEXT): $(getpwname_auth_OBJECTS) $(getpwname_auth_DEPENDENCIES)
  93047. @rm -f getpwname_auth$(EXEEXT)
  93048. $(LINK) $(getpwname_auth_OBJECTS) $(getpwname_auth_LDADD) $(LIBS)
  93049. @@ -328,21 +360,21 @@
  93050. .c.o:
  93051. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  93052. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  93053. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  93054. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  93055. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  93056. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  93057. .c.obj:
  93058. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  93059. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  93060. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  93061. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  93062. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  93063. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  93064. .c.lo:
  93065. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  93066. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  93067. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  93068. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  93069. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  93070. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  93071. @@ -358,14 +390,14 @@
  93072. unique=`for i in $$list; do \
  93073. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  93074. done | \
  93075. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  93076. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  93077. END { if (nonempty) { for (i in files) print i; }; }'`; \
  93078. mkid -fID $$unique
  93079. tags: TAGS
  93080. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  93081. $(TAGS_FILES) $(LISP)
  93082. - tags=; \
  93083. + set x; \
  93084. here=`pwd`; \
  93085. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  93086. unique=`for i in $$list; do \
  93087. @@ -373,29 +405,34 @@
  93088. done | \
  93089. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  93090. END { if (nonempty) { for (i in files) print i; }; }'`; \
  93091. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  93092. + shift; \
  93093. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  93094. test -n "$$unique" || unique=$$empty_fix; \
  93095. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  93096. - $$tags $$unique; \
  93097. + if test $$# -gt 0; then \
  93098. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  93099. + "$$@" $$unique; \
  93100. + else \
  93101. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  93102. + $$unique; \
  93103. + fi; \
  93104. fi
  93105. ctags: CTAGS
  93106. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  93107. $(TAGS_FILES) $(LISP)
  93108. - tags=; \
  93109. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  93110. unique=`for i in $$list; do \
  93111. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  93112. done | \
  93113. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  93114. END { if (nonempty) { for (i in files) print i; }; }'`; \
  93115. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  93116. + test -z "$(CTAGS_ARGS)$$unique" \
  93117. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  93118. - $$tags $$unique
  93119. + $$unique
  93120. GTAGS:
  93121. here=`$(am__cd) $(top_builddir) && pwd` \
  93122. - && cd $(top_srcdir) \
  93123. - && gtags -i $(GTAGS_ARGS) $$here
  93124. + && $(am__cd) $(top_srcdir) \
  93125. + && gtags -i $(GTAGS_ARGS) "$$here"
  93126. distclean-tags:
  93127. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  93128. @@ -416,13 +453,17 @@
  93129. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  93130. if test -d $$d/$$file; then \
  93131. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  93132. + if test -d "$(distdir)/$$file"; then \
  93133. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  93134. + fi; \
  93135. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  93136. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  93137. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  93138. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  93139. fi; \
  93140. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  93141. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  93142. else \
  93143. - test -f $(distdir)/$$file \
  93144. - || cp -p $$d/$$file $(distdir)/$$file \
  93145. + test -f "$(distdir)/$$file" \
  93146. + || cp -p $$d/$$file "$(distdir)/$$file" \
  93147. || exit 1; \
  93148. fi; \
  93149. done
  93150. @@ -453,6 +494,7 @@
  93151. distclean-generic:
  93152. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  93153. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  93154. maintainer-clean-generic:
  93155. @echo "This command is intended for maintainers to use"
  93156. @@ -474,6 +516,8 @@
  93157. html: html-am
  93158. +html-am:
  93159. +
  93160. info: info-am
  93161. info-am:
  93162. @@ -482,18 +526,28 @@
  93163. install-dvi: install-dvi-am
  93164. +install-dvi-am:
  93165. +
  93166. install-exec-am: install-libexecPROGRAMS
  93167. install-html: install-html-am
  93168. +install-html-am:
  93169. +
  93170. install-info: install-info-am
  93171. +install-info-am:
  93172. +
  93173. install-man:
  93174. install-pdf: install-pdf-am
  93175. +install-pdf-am:
  93176. +
  93177. install-ps: install-ps-am
  93178. +install-ps-am:
  93179. +
  93180. installcheck-am:
  93181. maintainer-clean: maintainer-clean-am
  93182. @@ -532,6 +586,7 @@
  93183. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  93184. tags uninstall uninstall-am uninstall-libexecPROGRAMS
  93185. +
  93186. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  93187. # Otherwise a system limit (for SysV at least) may be exceeded.
  93188. .NOEXPORT:
  93189. diff -Nur squid-3.0.STABLE20.orig/helpers/basic_auth/LDAP/Makefile.in squid-3.0.STABLE20/helpers/basic_auth/LDAP/Makefile.in
  93190. --- squid-3.0.STABLE20.orig/helpers/basic_auth/LDAP/Makefile.in 2009-10-29 11:05:38.000000000 +0100
  93191. +++ squid-3.0.STABLE20/helpers/basic_auth/LDAP/Makefile.in 2010-02-19 00:39:16.036855136 +0100
  93192. @@ -1,8 +1,9 @@
  93193. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  93194. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  93195. # @configure_input@
  93196. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  93197. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  93198. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  93199. +# Inc.
  93200. # This Makefile.in is free software; the Free Software Foundation
  93201. # gives unlimited permission to copy and/or distribute it,
  93202. # with or without modifications, as long as this notice is preserved.
  93203. @@ -24,8 +25,9 @@
  93204. VPATH = @srcdir@
  93205. pkgdatadir = $(datadir)/@PACKAGE@
  93206. -pkglibdir = $(libdir)/@PACKAGE@
  93207. pkgincludedir = $(includedir)/@PACKAGE@
  93208. +pkglibdir = $(libdir)/@PACKAGE@
  93209. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  93210. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  93211. install_sh_DATA = $(install_sh) -c -m 644
  93212. install_sh_PROGRAM = $(install_sh) -c
  93213. @@ -51,8 +53,8 @@
  93214. mkinstalldirs = $(install_sh) -d
  93215. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  93216. CONFIG_CLEAN_FILES =
  93217. +CONFIG_CLEAN_VPATH_FILES =
  93218. am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man8dir)"
  93219. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  93220. PROGRAMS = $(libexec_PROGRAMS)
  93221. am_squid_ldap_auth_OBJECTS = squid_ldap_auth.$(OBJEXT)
  93222. squid_ldap_auth_OBJECTS = $(am_squid_ldap_auth_OBJECTS)
  93223. @@ -63,6 +65,7 @@
  93224. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  93225. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  93226. am__depfiles_maybe = depfiles
  93227. +am__mv = mv -f
  93228. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  93229. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  93230. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  93231. @@ -74,6 +77,27 @@
  93232. $(LDFLAGS) -o $@
  93233. SOURCES = $(squid_ldap_auth_SOURCES)
  93234. DIST_SOURCES = $(squid_ldap_auth_SOURCES)
  93235. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  93236. +am__vpath_adj = case $$p in \
  93237. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  93238. + *) f=$$p;; \
  93239. + esac;
  93240. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  93241. +am__install_max = 40
  93242. +am__nobase_strip_setup = \
  93243. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  93244. +am__nobase_strip = \
  93245. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  93246. +am__nobase_list = $(am__nobase_strip_setup); \
  93247. + for p in $$list; do echo "$$p $$p"; done | \
  93248. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  93249. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  93250. + if (++n[$$2] == $(am__install_max)) \
  93251. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  93252. + END { for (dir in files) print dir, files[dir] }'
  93253. +am__base_list = \
  93254. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  93255. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  93256. man8dir = $(mandir)/man8
  93257. NROFF = nroff
  93258. MANS = $(man_MANS)
  93259. @@ -117,7 +141,7 @@
  93260. DISK_LINKOBJS = @DISK_LINKOBJS@
  93261. DISK_PROGRAMS = @DISK_PROGRAMS@
  93262. DSYMUTIL = @DSYMUTIL@
  93263. -ECHO = @ECHO@
  93264. +DUMPBIN = @DUMPBIN@
  93265. ECHO_C = @ECHO_C@
  93266. ECHO_N = @ECHO_N@
  93267. ECHO_T = @ECHO_T@
  93268. @@ -127,10 +151,10 @@
  93269. ERR_LANGUAGES = @ERR_LANGUAGES@
  93270. EXEEXT = @EXEEXT@
  93271. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  93272. -F77 = @F77@
  93273. FALSE = @FALSE@
  93274. -FFLAGS = @FFLAGS@
  93275. +FGREP = @FGREP@
  93276. GREP = @GREP@
  93277. +HOSTCXX = @HOSTCXX@
  93278. ICAP_LIBS = @ICAP_LIBS@
  93279. INSTALL = @INSTALL@
  93280. INSTALL_DATA = @INSTALL_DATA@
  93281. @@ -139,8 +163,12 @@
  93282. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  93283. KRB5INCS = @KRB5INCS@
  93284. KRB5LIBS = @KRB5LIBS@
  93285. +LD = @LD@
  93286. LDFLAGS = @LDFLAGS@
  93287. LIBADD_DL = @LIBADD_DL@
  93288. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  93289. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  93290. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  93291. LIBOBJS = @LIBOBJS@
  93292. LIBREGEX = @LIBREGEX@
  93293. LIBS = @LIBS@
  93294. @@ -149,9 +177,12 @@
  93295. LIB_DB = @LIB_DB@
  93296. LIB_LBER = @LIB_LBER@
  93297. LIB_LDAP = @LIB_LDAP@
  93298. +LIPO = @LIPO@
  93299. LN = @LN@
  93300. LN_S = @LN_S@
  93301. LTLIBOBJS = @LTLIBOBJS@
  93302. +LT_DLLOADERS = @LT_DLLOADERS@
  93303. +LT_DLPREOPEN = @LT_DLPREOPEN@
  93304. MAINT = @MAINT@
  93305. MAKEINFO = @MAKEINFO@
  93306. MINGW_LIBS = @MINGW_LIBS@
  93307. @@ -159,15 +190,20 @@
  93308. MKDIR_P = @MKDIR_P@
  93309. MV = @MV@
  93310. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  93311. +NM = @NM@
  93312. NMEDIT = @NMEDIT@
  93313. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  93314. +OBJDUMP = @OBJDUMP@
  93315. OBJEXT = @OBJEXT@
  93316. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  93317. +OTOOL = @OTOOL@
  93318. +OTOOL64 = @OTOOL64@
  93319. PACKAGE = @PACKAGE@
  93320. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  93321. PACKAGE_NAME = @PACKAGE_NAME@
  93322. PACKAGE_STRING = @PACKAGE_STRING@
  93323. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  93324. +PACKAGE_URL = @PACKAGE_URL@
  93325. PACKAGE_VERSION = @PACKAGE_VERSION@
  93326. PATH_SEPARATOR = @PATH_SEPARATOR@
  93327. PERL = @PERL@
  93328. @@ -204,7 +240,7 @@
  93329. abs_top_srcdir = @abs_top_srcdir@
  93330. ac_ct_CC = @ac_ct_CC@
  93331. ac_ct_CXX = @ac_ct_CXX@
  93332. -ac_ct_F77 = @ac_ct_F77@
  93333. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  93334. ac_krb5_config = @ac_krb5_config@
  93335. am__include = @am__include@
  93336. am__leading_dot = @am__leading_dot@
  93337. @@ -236,6 +272,7 @@
  93338. libexecdir = @libexecdir@
  93339. localedir = @localedir@
  93340. localstatedir = @localstatedir@
  93341. +lt_ECHO = @lt_ECHO@
  93342. makesnmplib = @makesnmplib@
  93343. mandir = @mandir@
  93344. mkdir_p = @mkdir_p@
  93345. @@ -266,14 +303,14 @@
  93346. @for dep in $?; do \
  93347. case '$(am__configure_deps)' in \
  93348. *$$dep*) \
  93349. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  93350. - && exit 0; \
  93351. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  93352. + && { if test -f $@; then exit 0; else break; fi; }; \
  93353. exit 1;; \
  93354. esac; \
  93355. done; \
  93356. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/LDAP/Makefile'; \
  93357. - cd $(top_srcdir) && \
  93358. - $(AUTOMAKE) --foreign helpers/basic_auth/LDAP/Makefile
  93359. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/LDAP/Makefile'; \
  93360. + $(am__cd) $(top_srcdir) && \
  93361. + $(AUTOMAKE) --foreign helpers/basic_auth/LDAP/Makefile
  93362. .PRECIOUS: Makefile
  93363. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  93364. @case '$?' in \
  93365. @@ -291,34 +328,50 @@
  93366. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  93367. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  93368. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  93369. +$(am__aclocal_m4_deps):
  93370. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  93371. @$(NORMAL_INSTALL)
  93372. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  93373. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  93374. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  93375. - if test -f $$p \
  93376. - || test -f $$p1 \
  93377. - ; then \
  93378. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  93379. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  93380. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  93381. - else :; fi; \
  93382. - done
  93383. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  93384. + for p in $$list; do echo "$$p $$p"; done | \
  93385. + sed 's/$(EXEEXT)$$//' | \
  93386. + while read p p1; do if test -f $$p || test -f $$p1; \
  93387. + then echo "$$p"; echo "$$p"; else :; fi; \
  93388. + done | \
  93389. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  93390. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  93391. + sed 'N;N;N;s,\n, ,g' | \
  93392. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  93393. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  93394. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  93395. + else { print "f", $$3 "/" $$4, $$1; } } \
  93396. + END { for (d in files) print "f", d, files[d] }' | \
  93397. + while read type dir files; do \
  93398. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  93399. + test -z "$$files" || { \
  93400. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  93401. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  93402. + } \
  93403. + ; done
  93404. uninstall-libexecPROGRAMS:
  93405. @$(NORMAL_UNINSTALL)
  93406. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  93407. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  93408. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  93409. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  93410. - done
  93411. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  93412. + files=`for p in $$list; do echo "$$p"; done | \
  93413. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  93414. + -e 's/$$/$(EXEEXT)/' `; \
  93415. + test -n "$$list" || exit 0; \
  93416. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  93417. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  93418. clean-libexecPROGRAMS:
  93419. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  93420. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  93421. - echo " rm -f $$p $$f"; \
  93422. - rm -f $$p $$f ; \
  93423. - done
  93424. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  93425. + echo " rm -f" $$list; \
  93426. + rm -f $$list || exit $$?; \
  93427. + test -n "$(EXEEXT)" || exit 0; \
  93428. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  93429. + echo " rm -f" $$list; \
  93430. + rm -f $$list
  93431. squid_ldap_auth$(EXEEXT): $(squid_ldap_auth_OBJECTS) $(squid_ldap_auth_DEPENDENCIES)
  93432. @rm -f squid_ldap_auth$(EXEEXT)
  93433. $(LINK) $(squid_ldap_auth_OBJECTS) $(squid_ldap_auth_LDADD) $(LIBS)
  93434. @@ -333,21 +386,21 @@
  93435. .c.o:
  93436. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  93437. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  93438. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  93439. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  93440. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  93441. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  93442. .c.obj:
  93443. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  93444. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  93445. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  93446. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  93447. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  93448. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  93449. .c.lo:
  93450. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  93451. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  93452. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  93453. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  93454. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  93455. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  93456. @@ -357,65 +410,58 @@
  93457. clean-libtool:
  93458. -rm -rf .libs _libs
  93459. -install-man8: $(man8_MANS) $(man_MANS)
  93460. +install-man8: $(man_MANS)
  93461. @$(NORMAL_INSTALL)
  93462. test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
  93463. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  93464. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  93465. - for i in $$l2; do \
  93466. - case "$$i" in \
  93467. - *.8*) list="$$list $$i" ;; \
  93468. - esac; \
  93469. + @list=''; test -n "$(man8dir)" || exit 0; \
  93470. + { for i in $$list; do echo "$$i"; done; \
  93471. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  93472. + sed -n '/\.8[a-z]*$$/p'; \
  93473. + } | while read p; do \
  93474. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  93475. + echo "$$d$$p"; echo "$$p"; \
  93476. + done | \
  93477. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  93478. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  93479. + sed 'N;N;s,\n, ,g' | { \
  93480. + list=; while read file base inst; do \
  93481. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  93482. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  93483. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
  93484. + fi; \
  93485. done; \
  93486. - for i in $$list; do \
  93487. - if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  93488. - else file=$$i; fi; \
  93489. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  93490. - case "$$ext" in \
  93491. - 8*) ;; \
  93492. - *) ext='8' ;; \
  93493. - esac; \
  93494. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  93495. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  93496. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  93497. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  93498. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
  93499. - done
  93500. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  93501. + while read files; do \
  93502. + test -z "$$files" || { \
  93503. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
  93504. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
  93505. + done; }
  93506. +
  93507. uninstall-man8:
  93508. @$(NORMAL_UNINSTALL)
  93509. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  93510. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  93511. - for i in $$l2; do \
  93512. - case "$$i" in \
  93513. - *.8*) list="$$list $$i" ;; \
  93514. - esac; \
  93515. - done; \
  93516. - for i in $$list; do \
  93517. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  93518. - case "$$ext" in \
  93519. - 8*) ;; \
  93520. - *) ext='8' ;; \
  93521. - esac; \
  93522. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  93523. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  93524. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  93525. - echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
  93526. - rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
  93527. - done
  93528. + @list=''; test -n "$(man8dir)" || exit 0; \
  93529. + files=`{ for i in $$list; do echo "$$i"; done; \
  93530. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  93531. + sed -n '/\.8[a-z]*$$/p'; \
  93532. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  93533. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  93534. + test -z "$$files" || { \
  93535. + echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \
  93536. + cd "$(DESTDIR)$(man8dir)" && rm -f $$files; }
  93537. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  93538. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  93539. unique=`for i in $$list; do \
  93540. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  93541. done | \
  93542. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  93543. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  93544. END { if (nonempty) { for (i in files) print i; }; }'`; \
  93545. mkid -fID $$unique
  93546. tags: TAGS
  93547. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  93548. $(TAGS_FILES) $(LISP)
  93549. - tags=; \
  93550. + set x; \
  93551. here=`pwd`; \
  93552. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  93553. unique=`for i in $$list; do \
  93554. @@ -423,34 +469,52 @@
  93555. done | \
  93556. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  93557. END { if (nonempty) { for (i in files) print i; }; }'`; \
  93558. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  93559. + shift; \
  93560. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  93561. test -n "$$unique" || unique=$$empty_fix; \
  93562. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  93563. - $$tags $$unique; \
  93564. + if test $$# -gt 0; then \
  93565. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  93566. + "$$@" $$unique; \
  93567. + else \
  93568. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  93569. + $$unique; \
  93570. + fi; \
  93571. fi
  93572. ctags: CTAGS
  93573. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  93574. $(TAGS_FILES) $(LISP)
  93575. - tags=; \
  93576. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  93577. unique=`for i in $$list; do \
  93578. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  93579. done | \
  93580. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  93581. END { if (nonempty) { for (i in files) print i; }; }'`; \
  93582. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  93583. + test -z "$(CTAGS_ARGS)$$unique" \
  93584. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  93585. - $$tags $$unique
  93586. + $$unique
  93587. GTAGS:
  93588. here=`$(am__cd) $(top_builddir) && pwd` \
  93589. - && cd $(top_srcdir) \
  93590. - && gtags -i $(GTAGS_ARGS) $$here
  93591. + && $(am__cd) $(top_srcdir) \
  93592. + && gtags -i $(GTAGS_ARGS) "$$here"
  93593. distclean-tags:
  93594. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  93595. distdir: $(DISTFILES)
  93596. + @list='$(MANS)'; if test -n "$$list"; then \
  93597. + list=`for p in $$list; do \
  93598. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  93599. + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  93600. + if test -n "$$list" && \
  93601. + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  93602. + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  93603. + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  93604. + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  93605. + echo " typically \`make maintainer-clean' will remove them" >&2; \
  93606. + exit 1; \
  93607. + else :; fi; \
  93608. + else :; fi
  93609. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  93610. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  93611. list='$(DISTFILES)'; \
  93612. @@ -466,13 +530,17 @@
  93613. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  93614. if test -d $$d/$$file; then \
  93615. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  93616. + if test -d "$(distdir)/$$file"; then \
  93617. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  93618. + fi; \
  93619. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  93620. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  93621. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  93622. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  93623. fi; \
  93624. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  93625. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  93626. else \
  93627. - test -f $(distdir)/$$file \
  93628. - || cp -p $$d/$$file $(distdir)/$$file \
  93629. + test -f "$(distdir)/$$file" \
  93630. + || cp -p $$d/$$file "$(distdir)/$$file" \
  93631. || exit 1; \
  93632. fi; \
  93633. done
  93634. @@ -503,6 +571,7 @@
  93635. distclean-generic:
  93636. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  93637. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  93638. maintainer-clean-generic:
  93639. @echo "This command is intended for maintainers to use"
  93640. @@ -524,6 +593,8 @@
  93641. html: html-am
  93642. +html-am:
  93643. +
  93644. info: info-am
  93645. info-am:
  93646. @@ -532,18 +603,28 @@
  93647. install-dvi: install-dvi-am
  93648. +install-dvi-am:
  93649. +
  93650. install-exec-am: install-libexecPROGRAMS
  93651. install-html: install-html-am
  93652. +install-html-am:
  93653. +
  93654. install-info: install-info-am
  93655. +install-info-am:
  93656. +
  93657. install-man: install-man8
  93658. install-pdf: install-pdf-am
  93659. +install-pdf-am:
  93660. +
  93661. install-ps: install-ps-am
  93662. +install-ps-am:
  93663. +
  93664. installcheck-am:
  93665. maintainer-clean: maintainer-clean-am
  93666. @@ -585,6 +666,7 @@
  93667. tags uninstall uninstall-am uninstall-libexecPROGRAMS \
  93668. uninstall-man uninstall-man8
  93669. +
  93670. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  93671. # Otherwise a system limit (for SysV at least) may be exceeded.
  93672. .NOEXPORT:
  93673. diff -Nur squid-3.0.STABLE20.orig/helpers/basic_auth/Makefile.in squid-3.0.STABLE20/helpers/basic_auth/Makefile.in
  93674. --- squid-3.0.STABLE20.orig/helpers/basic_auth/Makefile.in 2009-10-29 11:05:38.000000000 +0100
  93675. +++ squid-3.0.STABLE20/helpers/basic_auth/Makefile.in 2010-02-19 00:39:16.344852457 +0100
  93676. @@ -1,8 +1,9 @@
  93677. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  93678. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  93679. # @configure_input@
  93680. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  93681. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  93682. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  93683. +# Inc.
  93684. # This Makefile.in is free software; the Free Software Foundation
  93685. # gives unlimited permission to copy and/or distribute it,
  93686. # with or without modifications, as long as this notice is preserved.
  93687. @@ -20,8 +21,9 @@
  93688. #
  93689. VPATH = @srcdir@
  93690. pkgdatadir = $(datadir)/@PACKAGE@
  93691. -pkglibdir = $(libdir)/@PACKAGE@
  93692. pkgincludedir = $(includedir)/@PACKAGE@
  93693. +pkglibdir = $(libdir)/@PACKAGE@
  93694. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  93695. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  93696. install_sh_DATA = $(install_sh) -c -m 644
  93697. install_sh_PROGRAM = $(install_sh) -c
  93698. @@ -46,6 +48,7 @@
  93699. mkinstalldirs = $(install_sh) -d
  93700. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  93701. CONFIG_CLEAN_FILES =
  93702. +CONFIG_CLEAN_VPATH_FILES =
  93703. SOURCES =
  93704. DIST_SOURCES =
  93705. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  93706. @@ -57,9 +60,37 @@
  93707. ps-recursive uninstall-recursive
  93708. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  93709. distclean-recursive maintainer-clean-recursive
  93710. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  93711. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  93712. + distdir
  93713. ETAGS = etags
  93714. CTAGS = ctags
  93715. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  93716. +am__relativize = \
  93717. + dir0=`pwd`; \
  93718. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  93719. + sed_rest='s,^[^/]*/*,,'; \
  93720. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  93721. + sed_butlast='s,/*[^/]*$$,,'; \
  93722. + while test -n "$$dir1"; do \
  93723. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  93724. + if test "$$first" != "."; then \
  93725. + if test "$$first" = ".."; then \
  93726. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  93727. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  93728. + else \
  93729. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  93730. + if test "$$first2" = "$$first"; then \
  93731. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  93732. + else \
  93733. + dir2="../$$dir2"; \
  93734. + fi; \
  93735. + dir0="$$dir0"/"$$first"; \
  93736. + fi; \
  93737. + fi; \
  93738. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  93739. + done; \
  93740. + reldir="$$dir2"
  93741. ACLOCAL = @ACLOCAL@
  93742. ALLOCA = @ALLOCA@
  93743. AMTAR = @AMTAR@
  93744. @@ -97,7 +128,7 @@
  93745. DISK_LINKOBJS = @DISK_LINKOBJS@
  93746. DISK_PROGRAMS = @DISK_PROGRAMS@
  93747. DSYMUTIL = @DSYMUTIL@
  93748. -ECHO = @ECHO@
  93749. +DUMPBIN = @DUMPBIN@
  93750. ECHO_C = @ECHO_C@
  93751. ECHO_N = @ECHO_N@
  93752. ECHO_T = @ECHO_T@
  93753. @@ -107,10 +138,10 @@
  93754. ERR_LANGUAGES = @ERR_LANGUAGES@
  93755. EXEEXT = @EXEEXT@
  93756. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  93757. -F77 = @F77@
  93758. FALSE = @FALSE@
  93759. -FFLAGS = @FFLAGS@
  93760. +FGREP = @FGREP@
  93761. GREP = @GREP@
  93762. +HOSTCXX = @HOSTCXX@
  93763. ICAP_LIBS = @ICAP_LIBS@
  93764. INSTALL = @INSTALL@
  93765. INSTALL_DATA = @INSTALL_DATA@
  93766. @@ -119,8 +150,12 @@
  93767. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  93768. KRB5INCS = @KRB5INCS@
  93769. KRB5LIBS = @KRB5LIBS@
  93770. +LD = @LD@
  93771. LDFLAGS = @LDFLAGS@
  93772. LIBADD_DL = @LIBADD_DL@
  93773. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  93774. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  93775. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  93776. LIBOBJS = @LIBOBJS@
  93777. LIBREGEX = @LIBREGEX@
  93778. LIBS = @LIBS@
  93779. @@ -129,9 +164,12 @@
  93780. LIB_DB = @LIB_DB@
  93781. LIB_LBER = @LIB_LBER@
  93782. LIB_LDAP = @LIB_LDAP@
  93783. +LIPO = @LIPO@
  93784. LN = @LN@
  93785. LN_S = @LN_S@
  93786. LTLIBOBJS = @LTLIBOBJS@
  93787. +LT_DLLOADERS = @LT_DLLOADERS@
  93788. +LT_DLPREOPEN = @LT_DLPREOPEN@
  93789. MAINT = @MAINT@
  93790. MAKEINFO = @MAKEINFO@
  93791. MINGW_LIBS = @MINGW_LIBS@
  93792. @@ -139,15 +177,20 @@
  93793. MKDIR_P = @MKDIR_P@
  93794. MV = @MV@
  93795. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  93796. +NM = @NM@
  93797. NMEDIT = @NMEDIT@
  93798. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  93799. +OBJDUMP = @OBJDUMP@
  93800. OBJEXT = @OBJEXT@
  93801. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  93802. +OTOOL = @OTOOL@
  93803. +OTOOL64 = @OTOOL64@
  93804. PACKAGE = @PACKAGE@
  93805. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  93806. PACKAGE_NAME = @PACKAGE_NAME@
  93807. PACKAGE_STRING = @PACKAGE_STRING@
  93808. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  93809. +PACKAGE_URL = @PACKAGE_URL@
  93810. PACKAGE_VERSION = @PACKAGE_VERSION@
  93811. PATH_SEPARATOR = @PATH_SEPARATOR@
  93812. PERL = @PERL@
  93813. @@ -184,7 +227,7 @@
  93814. abs_top_srcdir = @abs_top_srcdir@
  93815. ac_ct_CC = @ac_ct_CC@
  93816. ac_ct_CXX = @ac_ct_CXX@
  93817. -ac_ct_F77 = @ac_ct_F77@
  93818. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  93819. ac_krb5_config = @ac_krb5_config@
  93820. am__include = @am__include@
  93821. am__leading_dot = @am__leading_dot@
  93822. @@ -216,6 +259,7 @@
  93823. libexecdir = @libexecdir@
  93824. localedir = @localedir@
  93825. localstatedir = @localstatedir@
  93826. +lt_ECHO = @lt_ECHO@
  93827. makesnmplib = @makesnmplib@
  93828. mandir = @mandir@
  93829. mkdir_p = @mkdir_p@
  93830. @@ -242,14 +286,14 @@
  93831. @for dep in $?; do \
  93832. case '$(am__configure_deps)' in \
  93833. *$$dep*) \
  93834. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  93835. - && exit 0; \
  93836. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  93837. + && { if test -f $@; then exit 0; else break; fi; }; \
  93838. exit 1;; \
  93839. esac; \
  93840. done; \
  93841. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/Makefile'; \
  93842. - cd $(top_srcdir) && \
  93843. - $(AUTOMAKE) --foreign helpers/basic_auth/Makefile
  93844. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/Makefile'; \
  93845. + $(am__cd) $(top_srcdir) && \
  93846. + $(AUTOMAKE) --foreign helpers/basic_auth/Makefile
  93847. .PRECIOUS: Makefile
  93848. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  93849. @case '$?' in \
  93850. @@ -267,6 +311,7 @@
  93851. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  93852. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  93853. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  93854. +$(am__aclocal_m4_deps):
  93855. mostlyclean-libtool:
  93856. -rm -f *.lo
  93857. @@ -281,7 +326,7 @@
  93858. # (which will cause the Makefiles to be regenerated when you run `make');
  93859. # (2) otherwise, pass the desired values on the `make' command line.
  93860. $(RECURSIVE_TARGETS):
  93861. - @failcom='exit 1'; \
  93862. + @fail= failcom='exit 1'; \
  93863. for f in x $$MAKEFLAGS; do \
  93864. case $$f in \
  93865. *=* | --[!k]*);; \
  93866. @@ -298,7 +343,7 @@
  93867. else \
  93868. local_target="$$target"; \
  93869. fi; \
  93870. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  93871. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  93872. || eval $$failcom; \
  93873. done; \
  93874. if test "$$dot_seen" = "no"; then \
  93875. @@ -306,7 +351,7 @@
  93876. fi; test -z "$$fail"
  93877. $(RECURSIVE_CLEAN_TARGETS):
  93878. - @failcom='exit 1'; \
  93879. + @fail= failcom='exit 1'; \
  93880. for f in x $$MAKEFLAGS; do \
  93881. case $$f in \
  93882. *=* | --[!k]*);; \
  93883. @@ -332,16 +377,16 @@
  93884. else \
  93885. local_target="$$target"; \
  93886. fi; \
  93887. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  93888. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  93889. || eval $$failcom; \
  93890. done && test -z "$$fail"
  93891. tags-recursive:
  93892. list='$(SUBDIRS)'; for subdir in $$list; do \
  93893. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  93894. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  93895. done
  93896. ctags-recursive:
  93897. list='$(SUBDIRS)'; for subdir in $$list; do \
  93898. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  93899. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  93900. done
  93901. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  93902. @@ -349,14 +394,14 @@
  93903. unique=`for i in $$list; do \
  93904. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  93905. done | \
  93906. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  93907. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  93908. END { if (nonempty) { for (i in files) print i; }; }'`; \
  93909. mkid -fID $$unique
  93910. tags: TAGS
  93911. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  93912. $(TAGS_FILES) $(LISP)
  93913. - tags=; \
  93914. + set x; \
  93915. here=`pwd`; \
  93916. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  93917. include_option=--etags-include; \
  93918. @@ -368,7 +413,7 @@
  93919. list='$(SUBDIRS)'; for subdir in $$list; do \
  93920. if test "$$subdir" = .; then :; else \
  93921. test ! -f $$subdir/TAGS || \
  93922. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  93923. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  93924. fi; \
  93925. done; \
  93926. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  93927. @@ -377,29 +422,34 @@
  93928. done | \
  93929. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  93930. END { if (nonempty) { for (i in files) print i; }; }'`; \
  93931. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  93932. + shift; \
  93933. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  93934. test -n "$$unique" || unique=$$empty_fix; \
  93935. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  93936. - $$tags $$unique; \
  93937. + if test $$# -gt 0; then \
  93938. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  93939. + "$$@" $$unique; \
  93940. + else \
  93941. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  93942. + $$unique; \
  93943. + fi; \
  93944. fi
  93945. ctags: CTAGS
  93946. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  93947. $(TAGS_FILES) $(LISP)
  93948. - tags=; \
  93949. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  93950. unique=`for i in $$list; do \
  93951. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  93952. done | \
  93953. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  93954. END { if (nonempty) { for (i in files) print i; }; }'`; \
  93955. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  93956. + test -z "$(CTAGS_ARGS)$$unique" \
  93957. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  93958. - $$tags $$unique
  93959. + $$unique
  93960. GTAGS:
  93961. here=`$(am__cd) $(top_builddir) && pwd` \
  93962. - && cd $(top_srcdir) \
  93963. - && gtags -i $(GTAGS_ARGS) $$here
  93964. + && $(am__cd) $(top_srcdir) \
  93965. + && gtags -i $(GTAGS_ARGS) "$$here"
  93966. distclean-tags:
  93967. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  93968. @@ -420,29 +470,44 @@
  93969. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  93970. if test -d $$d/$$file; then \
  93971. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  93972. + if test -d "$(distdir)/$$file"; then \
  93973. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  93974. + fi; \
  93975. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  93976. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  93977. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  93978. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  93979. fi; \
  93980. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  93981. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  93982. else \
  93983. - test -f $(distdir)/$$file \
  93984. - || cp -p $$d/$$file $(distdir)/$$file \
  93985. + test -f "$(distdir)/$$file" \
  93986. + || cp -p $$d/$$file "$(distdir)/$$file" \
  93987. || exit 1; \
  93988. fi; \
  93989. done
  93990. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  93991. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  93992. if test "$$subdir" = .; then :; else \
  93993. test -d "$(distdir)/$$subdir" \
  93994. || $(MKDIR_P) "$(distdir)/$$subdir" \
  93995. || exit 1; \
  93996. - distdir=`$(am__cd) $(distdir) && pwd`; \
  93997. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  93998. - (cd $$subdir && \
  93999. + fi; \
  94000. + done
  94001. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  94002. + if test "$$subdir" = .; then :; else \
  94003. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  94004. + $(am__relativize); \
  94005. + new_distdir=$$reldir; \
  94006. + dir1=$$subdir; dir2="$(top_distdir)"; \
  94007. + $(am__relativize); \
  94008. + new_top_distdir=$$reldir; \
  94009. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  94010. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  94011. + ($(am__cd) $$subdir && \
  94012. $(MAKE) $(AM_MAKEFLAGS) \
  94013. - top_distdir="$$top_distdir" \
  94014. - distdir="$$distdir/$$subdir" \
  94015. + top_distdir="$$new_top_distdir" \
  94016. + distdir="$$new_distdir" \
  94017. am__remove_distdir=: \
  94018. am__skip_length_check=: \
  94019. + am__skip_mode_fix=: \
  94020. distdir) \
  94021. || exit 1; \
  94022. fi; \
  94023. @@ -472,6 +537,7 @@
  94024. distclean-generic:
  94025. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  94026. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  94027. maintainer-clean-generic:
  94028. @echo "This command is intended for maintainers to use"
  94029. @@ -490,6 +556,8 @@
  94030. html: html-recursive
  94031. +html-am:
  94032. +
  94033. info: info-recursive
  94034. info-am:
  94035. @@ -498,18 +566,28 @@
  94036. install-dvi: install-dvi-recursive
  94037. +install-dvi-am:
  94038. +
  94039. install-exec-am:
  94040. install-html: install-html-recursive
  94041. +install-html-am:
  94042. +
  94043. install-info: install-info-recursive
  94044. +install-info-am:
  94045. +
  94046. install-man:
  94047. install-pdf: install-pdf-recursive
  94048. +install-pdf-am:
  94049. +
  94050. install-ps: install-ps-recursive
  94051. +install-ps-am:
  94052. +
  94053. installcheck-am:
  94054. maintainer-clean: maintainer-clean-recursive
  94055. @@ -530,8 +608,8 @@
  94056. uninstall-am:
  94057. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  94058. - install-strip
  94059. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  94060. + install-am install-strip tags-recursive
  94061. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  94062. all all-am check check-am clean clean-generic clean-libtool \
  94063. @@ -547,6 +625,7 @@
  94064. mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  94065. uninstall uninstall-am
  94066. +
  94067. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  94068. # Otherwise a system limit (for SysV at least) may be exceeded.
  94069. .NOEXPORT:
  94070. diff -Nur squid-3.0.STABLE20.orig/helpers/basic_auth/MSNT/Makefile.in squid-3.0.STABLE20/helpers/basic_auth/MSNT/Makefile.in
  94071. --- squid-3.0.STABLE20.orig/helpers/basic_auth/MSNT/Makefile.in 2009-10-29 11:05:38.000000000 +0100
  94072. +++ squid-3.0.STABLE20/helpers/basic_auth/MSNT/Makefile.in 2010-02-19 00:39:16.212852407 +0100
  94073. @@ -1,8 +1,9 @@
  94074. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  94075. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  94076. # @configure_input@
  94077. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  94078. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  94079. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  94080. +# Inc.
  94081. # This Makefile.in is free software; the Free Software Foundation
  94082. # gives unlimited permission to copy and/or distribute it,
  94083. # with or without modifications, as long as this notice is preserved.
  94084. @@ -25,8 +26,9 @@
  94085. VPATH = @srcdir@
  94086. pkgdatadir = $(datadir)/@PACKAGE@
  94087. -pkglibdir = $(libdir)/@PACKAGE@
  94088. pkgincludedir = $(includedir)/@PACKAGE@
  94089. +pkglibdir = $(libdir)/@PACKAGE@
  94090. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  94091. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  94092. install_sh_DATA = $(install_sh) -c -m 644
  94093. install_sh_PROGRAM = $(install_sh) -c
  94094. @@ -52,8 +54,8 @@
  94095. mkinstalldirs = $(install_sh) -d
  94096. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  94097. CONFIG_CLEAN_FILES =
  94098. +CONFIG_CLEAN_VPATH_FILES =
  94099. am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(sysconfdir)"
  94100. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  94101. PROGRAMS = $(libexec_PROGRAMS)
  94102. am_msnt_auth_OBJECTS = md4.$(OBJEXT) rfcnb-io.$(OBJEXT) \
  94103. rfcnb-util.$(OBJEXT) session.$(OBJEXT) msntauth.$(OBJEXT) \
  94104. @@ -67,6 +69,7 @@
  94105. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  94106. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  94107. am__depfiles_maybe = depfiles
  94108. +am__mv = mv -f
  94109. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  94110. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  94111. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  94112. @@ -83,8 +86,22 @@
  94113. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  94114. *) f=$$p;; \
  94115. esac;
  94116. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  94117. -sysconfDATA_INSTALL = $(INSTALL_DATA)
  94118. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  94119. +am__install_max = 40
  94120. +am__nobase_strip_setup = \
  94121. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  94122. +am__nobase_strip = \
  94123. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  94124. +am__nobase_list = $(am__nobase_strip_setup); \
  94125. + for p in $$list; do echo "$$p $$p"; done | \
  94126. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  94127. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  94128. + if (++n[$$2] == $(am__install_max)) \
  94129. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  94130. + END { for (dir in files) print dir, files[dir] }'
  94131. +am__base_list = \
  94132. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  94133. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  94134. DATA = $(sysconf_DATA)
  94135. ETAGS = etags
  94136. CTAGS = ctags
  94137. @@ -126,7 +143,7 @@
  94138. DISK_LINKOBJS = @DISK_LINKOBJS@
  94139. DISK_PROGRAMS = @DISK_PROGRAMS@
  94140. DSYMUTIL = @DSYMUTIL@
  94141. -ECHO = @ECHO@
  94142. +DUMPBIN = @DUMPBIN@
  94143. ECHO_C = @ECHO_C@
  94144. ECHO_N = @ECHO_N@
  94145. ECHO_T = @ECHO_T@
  94146. @@ -136,10 +153,10 @@
  94147. ERR_LANGUAGES = @ERR_LANGUAGES@
  94148. EXEEXT = @EXEEXT@
  94149. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  94150. -F77 = @F77@
  94151. FALSE = @FALSE@
  94152. -FFLAGS = @FFLAGS@
  94153. +FGREP = @FGREP@
  94154. GREP = @GREP@
  94155. +HOSTCXX = @HOSTCXX@
  94156. ICAP_LIBS = @ICAP_LIBS@
  94157. INSTALL = @INSTALL@
  94158. INSTALL_DATA = @INSTALL_DATA@
  94159. @@ -148,8 +165,12 @@
  94160. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  94161. KRB5INCS = @KRB5INCS@
  94162. KRB5LIBS = @KRB5LIBS@
  94163. +LD = @LD@
  94164. LDFLAGS = @LDFLAGS@
  94165. LIBADD_DL = @LIBADD_DL@
  94166. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  94167. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  94168. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  94169. LIBOBJS = @LIBOBJS@
  94170. LIBREGEX = @LIBREGEX@
  94171. LIBS = @LIBS@
  94172. @@ -158,9 +179,12 @@
  94173. LIB_DB = @LIB_DB@
  94174. LIB_LBER = @LIB_LBER@
  94175. LIB_LDAP = @LIB_LDAP@
  94176. +LIPO = @LIPO@
  94177. LN = @LN@
  94178. LN_S = @LN_S@
  94179. LTLIBOBJS = @LTLIBOBJS@
  94180. +LT_DLLOADERS = @LT_DLLOADERS@
  94181. +LT_DLPREOPEN = @LT_DLPREOPEN@
  94182. MAINT = @MAINT@
  94183. MAKEINFO = @MAKEINFO@
  94184. MINGW_LIBS = @MINGW_LIBS@
  94185. @@ -168,15 +192,20 @@
  94186. MKDIR_P = @MKDIR_P@
  94187. MV = @MV@
  94188. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  94189. +NM = @NM@
  94190. NMEDIT = @NMEDIT@
  94191. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  94192. +OBJDUMP = @OBJDUMP@
  94193. OBJEXT = @OBJEXT@
  94194. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  94195. +OTOOL = @OTOOL@
  94196. +OTOOL64 = @OTOOL64@
  94197. PACKAGE = @PACKAGE@
  94198. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  94199. PACKAGE_NAME = @PACKAGE_NAME@
  94200. PACKAGE_STRING = @PACKAGE_STRING@
  94201. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  94202. +PACKAGE_URL = @PACKAGE_URL@
  94203. PACKAGE_VERSION = @PACKAGE_VERSION@
  94204. PATH_SEPARATOR = @PATH_SEPARATOR@
  94205. PERL = @PERL@
  94206. @@ -213,7 +242,7 @@
  94207. abs_top_srcdir = @abs_top_srcdir@
  94208. ac_ct_CC = @ac_ct_CC@
  94209. ac_ct_CXX = @ac_ct_CXX@
  94210. -ac_ct_F77 = @ac_ct_F77@
  94211. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  94212. ac_krb5_config = @ac_krb5_config@
  94213. am__include = @am__include@
  94214. am__leading_dot = @am__leading_dot@
  94215. @@ -245,6 +274,7 @@
  94216. libexecdir = @libexecdir@
  94217. localedir = @localedir@
  94218. localstatedir = @localstatedir@
  94219. +lt_ECHO = @lt_ECHO@
  94220. makesnmplib = @makesnmplib@
  94221. mandir = @mandir@
  94222. mkdir_p = @mkdir_p@
  94223. @@ -290,14 +320,14 @@
  94224. @for dep in $?; do \
  94225. case '$(am__configure_deps)' in \
  94226. *$$dep*) \
  94227. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  94228. - && exit 0; \
  94229. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  94230. + && { if test -f $@; then exit 0; else break; fi; }; \
  94231. exit 1;; \
  94232. esac; \
  94233. done; \
  94234. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/MSNT/Makefile'; \
  94235. - cd $(top_srcdir) && \
  94236. - $(AUTOMAKE) --foreign helpers/basic_auth/MSNT/Makefile
  94237. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/MSNT/Makefile'; \
  94238. + $(am__cd) $(top_srcdir) && \
  94239. + $(AUTOMAKE) --foreign helpers/basic_auth/MSNT/Makefile
  94240. .PRECIOUS: Makefile
  94241. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  94242. @case '$?' in \
  94243. @@ -315,34 +345,50 @@
  94244. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  94245. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  94246. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  94247. +$(am__aclocal_m4_deps):
  94248. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  94249. @$(NORMAL_INSTALL)
  94250. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  94251. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  94252. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  94253. - if test -f $$p \
  94254. - || test -f $$p1 \
  94255. - ; then \
  94256. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  94257. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  94258. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  94259. - else :; fi; \
  94260. - done
  94261. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  94262. + for p in $$list; do echo "$$p $$p"; done | \
  94263. + sed 's/$(EXEEXT)$$//' | \
  94264. + while read p p1; do if test -f $$p || test -f $$p1; \
  94265. + then echo "$$p"; echo "$$p"; else :; fi; \
  94266. + done | \
  94267. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  94268. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  94269. + sed 'N;N;N;s,\n, ,g' | \
  94270. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  94271. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  94272. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  94273. + else { print "f", $$3 "/" $$4, $$1; } } \
  94274. + END { for (d in files) print "f", d, files[d] }' | \
  94275. + while read type dir files; do \
  94276. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  94277. + test -z "$$files" || { \
  94278. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  94279. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  94280. + } \
  94281. + ; done
  94282. uninstall-libexecPROGRAMS:
  94283. @$(NORMAL_UNINSTALL)
  94284. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  94285. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  94286. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  94287. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  94288. - done
  94289. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  94290. + files=`for p in $$list; do echo "$$p"; done | \
  94291. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  94292. + -e 's/$$/$(EXEEXT)/' `; \
  94293. + test -n "$$list" || exit 0; \
  94294. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  94295. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  94296. clean-libexecPROGRAMS:
  94297. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  94298. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  94299. - echo " rm -f $$p $$f"; \
  94300. - rm -f $$p $$f ; \
  94301. - done
  94302. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  94303. + echo " rm -f" $$list; \
  94304. + rm -f $$list || exit $$?; \
  94305. + test -n "$(EXEEXT)" || exit 0; \
  94306. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  94307. + echo " rm -f" $$list; \
  94308. + rm -f $$list
  94309. msnt_auth$(EXEEXT): $(msnt_auth_OBJECTS) $(msnt_auth_DEPENDENCIES)
  94310. @rm -f msnt_auth$(EXEEXT)
  94311. $(LINK) $(msnt_auth_OBJECTS) $(msnt_auth_LDADD) $(LIBS)
  94312. @@ -370,21 +416,21 @@
  94313. .c.o:
  94314. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  94315. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  94316. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  94317. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  94318. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  94319. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  94320. .c.obj:
  94321. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  94322. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  94323. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  94324. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  94325. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  94326. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  94327. .c.lo:
  94328. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  94329. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  94330. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  94331. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  94332. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  94333. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  94334. @@ -397,34 +443,37 @@
  94335. install-sysconfDATA: $(sysconf_DATA)
  94336. @$(NORMAL_INSTALL)
  94337. test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
  94338. - @list='$(sysconf_DATA)'; for p in $$list; do \
  94339. + @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
  94340. + for p in $$list; do \
  94341. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  94342. - f=$(am__strip_dir) \
  94343. - echo " $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \
  94344. - $(sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \
  94345. + echo "$$d$$p"; \
  94346. + done | $(am__base_list) | \
  94347. + while read files; do \
  94348. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sysconfdir)'"; \
  94349. + $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfdir)" || exit $$?; \
  94350. done
  94351. uninstall-sysconfDATA:
  94352. @$(NORMAL_UNINSTALL)
  94353. - @list='$(sysconf_DATA)'; for p in $$list; do \
  94354. - f=$(am__strip_dir) \
  94355. - echo " rm -f '$(DESTDIR)$(sysconfdir)/$$f'"; \
  94356. - rm -f "$(DESTDIR)$(sysconfdir)/$$f"; \
  94357. - done
  94358. + @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
  94359. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  94360. + test -n "$$files" || exit 0; \
  94361. + echo " ( cd '$(DESTDIR)$(sysconfdir)' && rm -f" $$files ")"; \
  94362. + cd "$(DESTDIR)$(sysconfdir)" && rm -f $$files
  94363. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  94364. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  94365. unique=`for i in $$list; do \
  94366. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  94367. done | \
  94368. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  94369. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  94370. END { if (nonempty) { for (i in files) print i; }; }'`; \
  94371. mkid -fID $$unique
  94372. tags: TAGS
  94373. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  94374. $(TAGS_FILES) $(LISP)
  94375. - tags=; \
  94376. + set x; \
  94377. here=`pwd`; \
  94378. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  94379. unique=`for i in $$list; do \
  94380. @@ -432,29 +481,34 @@
  94381. done | \
  94382. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  94383. END { if (nonempty) { for (i in files) print i; }; }'`; \
  94384. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  94385. + shift; \
  94386. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  94387. test -n "$$unique" || unique=$$empty_fix; \
  94388. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  94389. - $$tags $$unique; \
  94390. + if test $$# -gt 0; then \
  94391. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  94392. + "$$@" $$unique; \
  94393. + else \
  94394. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  94395. + $$unique; \
  94396. + fi; \
  94397. fi
  94398. ctags: CTAGS
  94399. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  94400. $(TAGS_FILES) $(LISP)
  94401. - tags=; \
  94402. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  94403. unique=`for i in $$list; do \
  94404. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  94405. done | \
  94406. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  94407. END { if (nonempty) { for (i in files) print i; }; }'`; \
  94408. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  94409. + test -z "$(CTAGS_ARGS)$$unique" \
  94410. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  94411. - $$tags $$unique
  94412. + $$unique
  94413. GTAGS:
  94414. here=`$(am__cd) $(top_builddir) && pwd` \
  94415. - && cd $(top_srcdir) \
  94416. - && gtags -i $(GTAGS_ARGS) $$here
  94417. + && $(am__cd) $(top_srcdir) \
  94418. + && gtags -i $(GTAGS_ARGS) "$$here"
  94419. distclean-tags:
  94420. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  94421. @@ -475,13 +529,17 @@
  94422. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  94423. if test -d $$d/$$file; then \
  94424. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  94425. + if test -d "$(distdir)/$$file"; then \
  94426. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  94427. + fi; \
  94428. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  94429. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  94430. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  94431. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  94432. fi; \
  94433. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  94434. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  94435. else \
  94436. - test -f $(distdir)/$$file \
  94437. - || cp -p $$d/$$file $(distdir)/$$file \
  94438. + test -f "$(distdir)/$$file" \
  94439. + || cp -p $$d/$$file "$(distdir)/$$file" \
  94440. || exit 1; \
  94441. fi; \
  94442. done
  94443. @@ -512,6 +570,7 @@
  94444. distclean-generic:
  94445. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  94446. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  94447. maintainer-clean-generic:
  94448. @echo "This command is intended for maintainers to use"
  94449. @@ -533,6 +592,8 @@
  94450. html: html-am
  94451. +html-am:
  94452. +
  94453. info: info-am
  94454. info-am:
  94455. @@ -541,18 +602,28 @@
  94456. install-dvi: install-dvi-am
  94457. +install-dvi-am:
  94458. +
  94459. install-exec-am: install-libexecPROGRAMS install-sysconfDATA
  94460. install-html: install-html-am
  94461. +install-html-am:
  94462. +
  94463. install-info: install-info-am
  94464. +install-info-am:
  94465. +
  94466. install-man:
  94467. install-pdf: install-pdf-am
  94468. +install-pdf-am:
  94469. +
  94470. install-ps: install-ps-am
  94471. +install-ps-am:
  94472. +
  94473. installcheck-am:
  94474. maintainer-clean: maintainer-clean-am
  94475. @@ -603,6 +674,7 @@
  94476. echo "$(INSTALL_DATA) $(srcdir)/msntauth.conf.default $(DESTDIR)$(sysconfdir)/msntauth.conf" ; \
  94477. $(INSTALL_DATA) $(srcdir)/msntauth.conf.default $(DESTDIR)$(sysconfdir)/msntauth.conf ; \
  94478. fi
  94479. +
  94480. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  94481. # Otherwise a system limit (for SysV at least) may be exceeded.
  94482. .NOEXPORT:
  94483. diff -Nur squid-3.0.STABLE20.orig/helpers/basic_auth/mswin_sspi/Makefile.in squid-3.0.STABLE20/helpers/basic_auth/mswin_sspi/Makefile.in
  94484. --- squid-3.0.STABLE20.orig/helpers/basic_auth/mswin_sspi/Makefile.in 2009-10-29 11:05:39.000000000 +0100
  94485. +++ squid-3.0.STABLE20/helpers/basic_auth/mswin_sspi/Makefile.in 2010-02-19 00:39:17.764854557 +0100
  94486. @@ -1,8 +1,9 @@
  94487. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  94488. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  94489. # @configure_input@
  94490. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  94491. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  94492. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  94493. +# Inc.
  94494. # This Makefile.in is free software; the Free Software Foundation
  94495. # gives unlimited permission to copy and/or distribute it,
  94496. # with or without modifications, as long as this notice is preserved.
  94497. @@ -24,8 +25,9 @@
  94498. VPATH = @srcdir@
  94499. pkgdatadir = $(datadir)/@PACKAGE@
  94500. -pkglibdir = $(libdir)/@PACKAGE@
  94501. pkgincludedir = $(includedir)/@PACKAGE@
  94502. +pkglibdir = $(libdir)/@PACKAGE@
  94503. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  94504. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  94505. install_sh_DATA = $(install_sh) -c -m 644
  94506. install_sh_PROGRAM = $(install_sh) -c
  94507. @@ -51,8 +53,8 @@
  94508. mkinstalldirs = $(install_sh) -d
  94509. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  94510. CONFIG_CLEAN_FILES =
  94511. +CONFIG_CLEAN_VPATH_FILES =
  94512. am__installdirs = "$(DESTDIR)$(libexecdir)"
  94513. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  94514. PROGRAMS = $(libexec_PROGRAMS)
  94515. am_mswin_auth_OBJECTS = mswin_auth.$(OBJEXT) valid.$(OBJEXT)
  94516. mswin_auth_OBJECTS = $(am_mswin_auth_OBJECTS)
  94517. @@ -62,6 +64,7 @@
  94518. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  94519. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  94520. am__depfiles_maybe = depfiles
  94521. +am__mv = mv -f
  94522. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  94523. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  94524. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  94525. @@ -113,7 +116,7 @@
  94526. DISK_LINKOBJS = @DISK_LINKOBJS@
  94527. DISK_PROGRAMS = @DISK_PROGRAMS@
  94528. DSYMUTIL = @DSYMUTIL@
  94529. -ECHO = @ECHO@
  94530. +DUMPBIN = @DUMPBIN@
  94531. ECHO_C = @ECHO_C@
  94532. ECHO_N = @ECHO_N@
  94533. ECHO_T = @ECHO_T@
  94534. @@ -123,10 +126,10 @@
  94535. ERR_LANGUAGES = @ERR_LANGUAGES@
  94536. EXEEXT = @EXEEXT@
  94537. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  94538. -F77 = @F77@
  94539. FALSE = @FALSE@
  94540. -FFLAGS = @FFLAGS@
  94541. +FGREP = @FGREP@
  94542. GREP = @GREP@
  94543. +HOSTCXX = @HOSTCXX@
  94544. ICAP_LIBS = @ICAP_LIBS@
  94545. INSTALL = @INSTALL@
  94546. INSTALL_DATA = @INSTALL_DATA@
  94547. @@ -135,8 +138,12 @@
  94548. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  94549. KRB5INCS = @KRB5INCS@
  94550. KRB5LIBS = @KRB5LIBS@
  94551. +LD = @LD@
  94552. LDFLAGS = @LDFLAGS@
  94553. LIBADD_DL = @LIBADD_DL@
  94554. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  94555. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  94556. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  94557. LIBOBJS = @LIBOBJS@
  94558. LIBREGEX = @LIBREGEX@
  94559. LIBS = @LIBS@
  94560. @@ -145,9 +152,12 @@
  94561. LIB_DB = @LIB_DB@
  94562. LIB_LBER = @LIB_LBER@
  94563. LIB_LDAP = @LIB_LDAP@
  94564. +LIPO = @LIPO@
  94565. LN = @LN@
  94566. LN_S = @LN_S@
  94567. LTLIBOBJS = @LTLIBOBJS@
  94568. +LT_DLLOADERS = @LT_DLLOADERS@
  94569. +LT_DLPREOPEN = @LT_DLPREOPEN@
  94570. MAINT = @MAINT@
  94571. MAKEINFO = @MAKEINFO@
  94572. MINGW_LIBS = @MINGW_LIBS@
  94573. @@ -155,15 +165,20 @@
  94574. MKDIR_P = @MKDIR_P@
  94575. MV = @MV@
  94576. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  94577. +NM = @NM@
  94578. NMEDIT = @NMEDIT@
  94579. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  94580. +OBJDUMP = @OBJDUMP@
  94581. OBJEXT = @OBJEXT@
  94582. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  94583. +OTOOL = @OTOOL@
  94584. +OTOOL64 = @OTOOL64@
  94585. PACKAGE = @PACKAGE@
  94586. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  94587. PACKAGE_NAME = @PACKAGE_NAME@
  94588. PACKAGE_STRING = @PACKAGE_STRING@
  94589. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  94590. +PACKAGE_URL = @PACKAGE_URL@
  94591. PACKAGE_VERSION = @PACKAGE_VERSION@
  94592. PATH_SEPARATOR = @PATH_SEPARATOR@
  94593. PERL = @PERL@
  94594. @@ -200,7 +215,7 @@
  94595. abs_top_srcdir = @abs_top_srcdir@
  94596. ac_ct_CC = @ac_ct_CC@
  94597. ac_ct_CXX = @ac_ct_CXX@
  94598. -ac_ct_F77 = @ac_ct_F77@
  94599. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  94600. ac_krb5_config = @ac_krb5_config@
  94601. am__include = @am__include@
  94602. am__leading_dot = @am__leading_dot@
  94603. @@ -232,6 +247,7 @@
  94604. libexecdir = @libexecdir@
  94605. localedir = @localedir@
  94606. localstatedir = @localstatedir@
  94607. +lt_ECHO = @lt_ECHO@
  94608. makesnmplib = @makesnmplib@
  94609. mandir = @mandir@
  94610. mkdir_p = @mkdir_p@
  94611. @@ -263,14 +279,14 @@
  94612. @for dep in $?; do \
  94613. case '$(am__configure_deps)' in \
  94614. *$$dep*) \
  94615. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  94616. - && exit 0; \
  94617. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  94618. + && { if test -f $@; then exit 0; else break; fi; }; \
  94619. exit 1;; \
  94620. esac; \
  94621. done; \
  94622. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/mswin_sspi/Makefile'; \
  94623. - cd $(top_srcdir) && \
  94624. - $(AUTOMAKE) --foreign helpers/basic_auth/mswin_sspi/Makefile
  94625. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/mswin_sspi/Makefile'; \
  94626. + $(am__cd) $(top_srcdir) && \
  94627. + $(AUTOMAKE) --foreign helpers/basic_auth/mswin_sspi/Makefile
  94628. .PRECIOUS: Makefile
  94629. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  94630. @case '$?' in \
  94631. @@ -288,34 +304,50 @@
  94632. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  94633. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  94634. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  94635. +$(am__aclocal_m4_deps):
  94636. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  94637. @$(NORMAL_INSTALL)
  94638. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  94639. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  94640. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  94641. - if test -f $$p \
  94642. - || test -f $$p1 \
  94643. - ; then \
  94644. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  94645. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  94646. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  94647. - else :; fi; \
  94648. - done
  94649. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  94650. + for p in $$list; do echo "$$p $$p"; done | \
  94651. + sed 's/$(EXEEXT)$$//' | \
  94652. + while read p p1; do if test -f $$p || test -f $$p1; \
  94653. + then echo "$$p"; echo "$$p"; else :; fi; \
  94654. + done | \
  94655. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  94656. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  94657. + sed 'N;N;N;s,\n, ,g' | \
  94658. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  94659. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  94660. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  94661. + else { print "f", $$3 "/" $$4, $$1; } } \
  94662. + END { for (d in files) print "f", d, files[d] }' | \
  94663. + while read type dir files; do \
  94664. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  94665. + test -z "$$files" || { \
  94666. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  94667. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  94668. + } \
  94669. + ; done
  94670. uninstall-libexecPROGRAMS:
  94671. @$(NORMAL_UNINSTALL)
  94672. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  94673. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  94674. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  94675. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  94676. - done
  94677. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  94678. + files=`for p in $$list; do echo "$$p"; done | \
  94679. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  94680. + -e 's/$$/$(EXEEXT)/' `; \
  94681. + test -n "$$list" || exit 0; \
  94682. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  94683. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  94684. clean-libexecPROGRAMS:
  94685. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  94686. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  94687. - echo " rm -f $$p $$f"; \
  94688. - rm -f $$p $$f ; \
  94689. - done
  94690. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  94691. + echo " rm -f" $$list; \
  94692. + rm -f $$list || exit $$?; \
  94693. + test -n "$(EXEEXT)" || exit 0; \
  94694. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  94695. + echo " rm -f" $$list; \
  94696. + rm -f $$list
  94697. mswin_auth$(EXEEXT): $(mswin_auth_OBJECTS) $(mswin_auth_DEPENDENCIES)
  94698. @rm -f mswin_auth$(EXEEXT)
  94699. $(LINK) $(mswin_auth_OBJECTS) $(mswin_auth_LDADD) $(LIBS)
  94700. @@ -331,21 +363,21 @@
  94701. .c.o:
  94702. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  94703. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  94704. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  94705. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  94706. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  94707. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  94708. .c.obj:
  94709. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  94710. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  94711. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  94712. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  94713. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  94714. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  94715. .c.lo:
  94716. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  94717. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  94718. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  94719. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  94720. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  94721. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  94722. @@ -361,14 +393,14 @@
  94723. unique=`for i in $$list; do \
  94724. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  94725. done | \
  94726. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  94727. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  94728. END { if (nonempty) { for (i in files) print i; }; }'`; \
  94729. mkid -fID $$unique
  94730. tags: TAGS
  94731. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  94732. $(TAGS_FILES) $(LISP)
  94733. - tags=; \
  94734. + set x; \
  94735. here=`pwd`; \
  94736. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  94737. unique=`for i in $$list; do \
  94738. @@ -376,29 +408,34 @@
  94739. done | \
  94740. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  94741. END { if (nonempty) { for (i in files) print i; }; }'`; \
  94742. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  94743. + shift; \
  94744. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  94745. test -n "$$unique" || unique=$$empty_fix; \
  94746. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  94747. - $$tags $$unique; \
  94748. + if test $$# -gt 0; then \
  94749. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  94750. + "$$@" $$unique; \
  94751. + else \
  94752. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  94753. + $$unique; \
  94754. + fi; \
  94755. fi
  94756. ctags: CTAGS
  94757. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  94758. $(TAGS_FILES) $(LISP)
  94759. - tags=; \
  94760. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  94761. unique=`for i in $$list; do \
  94762. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  94763. done | \
  94764. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  94765. END { if (nonempty) { for (i in files) print i; }; }'`; \
  94766. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  94767. + test -z "$(CTAGS_ARGS)$$unique" \
  94768. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  94769. - $$tags $$unique
  94770. + $$unique
  94771. GTAGS:
  94772. here=`$(am__cd) $(top_builddir) && pwd` \
  94773. - && cd $(top_srcdir) \
  94774. - && gtags -i $(GTAGS_ARGS) $$here
  94775. + && $(am__cd) $(top_srcdir) \
  94776. + && gtags -i $(GTAGS_ARGS) "$$here"
  94777. distclean-tags:
  94778. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  94779. @@ -419,13 +456,17 @@
  94780. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  94781. if test -d $$d/$$file; then \
  94782. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  94783. + if test -d "$(distdir)/$$file"; then \
  94784. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  94785. + fi; \
  94786. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  94787. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  94788. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  94789. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  94790. fi; \
  94791. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  94792. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  94793. else \
  94794. - test -f $(distdir)/$$file \
  94795. - || cp -p $$d/$$file $(distdir)/$$file \
  94796. + test -f "$(distdir)/$$file" \
  94797. + || cp -p $$d/$$file "$(distdir)/$$file" \
  94798. || exit 1; \
  94799. fi; \
  94800. done
  94801. @@ -456,6 +497,7 @@
  94802. distclean-generic:
  94803. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  94804. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  94805. maintainer-clean-generic:
  94806. @echo "This command is intended for maintainers to use"
  94807. @@ -477,6 +519,8 @@
  94808. html: html-am
  94809. +html-am:
  94810. +
  94811. info: info-am
  94812. info-am:
  94813. @@ -485,18 +529,28 @@
  94814. install-dvi: install-dvi-am
  94815. +install-dvi-am:
  94816. +
  94817. install-exec-am: install-libexecPROGRAMS
  94818. install-html: install-html-am
  94819. +install-html-am:
  94820. +
  94821. install-info: install-info-am
  94822. +install-info-am:
  94823. +
  94824. install-man:
  94825. install-pdf: install-pdf-am
  94826. +install-pdf-am:
  94827. +
  94828. install-ps: install-ps-am
  94829. +install-ps-am:
  94830. +
  94831. installcheck-am:
  94832. maintainer-clean: maintainer-clean-am
  94833. @@ -535,6 +589,7 @@
  94834. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  94835. tags uninstall uninstall-am uninstall-libexecPROGRAMS
  94836. +
  94837. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  94838. # Otherwise a system limit (for SysV at least) may be exceeded.
  94839. .NOEXPORT:
  94840. diff -Nur squid-3.0.STABLE20.orig/helpers/basic_auth/multi-domain-NTLM/Makefile.in squid-3.0.STABLE20/helpers/basic_auth/multi-domain-NTLM/Makefile.in
  94841. --- squid-3.0.STABLE20.orig/helpers/basic_auth/multi-domain-NTLM/Makefile.in 2009-10-29 11:05:39.000000000 +0100
  94842. +++ squid-3.0.STABLE20/helpers/basic_auth/multi-domain-NTLM/Makefile.in 2010-02-19 00:39:17.884852528 +0100
  94843. @@ -1,8 +1,9 @@
  94844. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  94845. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  94846. # @configure_input@
  94847. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  94848. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  94849. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  94850. +# Inc.
  94851. # This Makefile.in is free software; the Free Software Foundation
  94852. # gives unlimited permission to copy and/or distribute it,
  94853. # with or without modifications, as long as this notice is preserved.
  94854. @@ -24,8 +25,9 @@
  94855. VPATH = @srcdir@
  94856. pkgdatadir = $(datadir)/@PACKAGE@
  94857. -pkglibdir = $(libdir)/@PACKAGE@
  94858. pkgincludedir = $(includedir)/@PACKAGE@
  94859. +pkglibdir = $(libdir)/@PACKAGE@
  94860. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  94861. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  94862. install_sh_DATA = $(install_sh) -c -m 644
  94863. install_sh_PROGRAM = $(install_sh) -c
  94864. @@ -50,8 +52,29 @@
  94865. mkinstalldirs = $(install_sh) -d
  94866. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  94867. CONFIG_CLEAN_FILES =
  94868. +CONFIG_CLEAN_VPATH_FILES =
  94869. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  94870. +am__vpath_adj = case $$p in \
  94871. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  94872. + *) f=$$p;; \
  94873. + esac;
  94874. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  94875. +am__install_max = 40
  94876. +am__nobase_strip_setup = \
  94877. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  94878. +am__nobase_strip = \
  94879. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  94880. +am__nobase_list = $(am__nobase_strip_setup); \
  94881. + for p in $$list; do echo "$$p $$p"; done | \
  94882. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  94883. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  94884. + if (++n[$$2] == $(am__install_max)) \
  94885. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  94886. + END { for (dir in files) print dir, files[dir] }'
  94887. +am__base_list = \
  94888. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  94889. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  94890. am__installdirs = "$(DESTDIR)$(libexecdir)"
  94891. -libexecSCRIPT_INSTALL = $(INSTALL_SCRIPT)
  94892. SCRIPTS = $(libexec_SCRIPTS)
  94893. SOURCES =
  94894. DIST_SOURCES =
  94895. @@ -93,7 +116,7 @@
  94896. DISK_LINKOBJS = @DISK_LINKOBJS@
  94897. DISK_PROGRAMS = @DISK_PROGRAMS@
  94898. DSYMUTIL = @DSYMUTIL@
  94899. -ECHO = @ECHO@
  94900. +DUMPBIN = @DUMPBIN@
  94901. ECHO_C = @ECHO_C@
  94902. ECHO_N = @ECHO_N@
  94903. ECHO_T = @ECHO_T@
  94904. @@ -103,10 +126,10 @@
  94905. ERR_LANGUAGES = @ERR_LANGUAGES@
  94906. EXEEXT = @EXEEXT@
  94907. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  94908. -F77 = @F77@
  94909. FALSE = @FALSE@
  94910. -FFLAGS = @FFLAGS@
  94911. +FGREP = @FGREP@
  94912. GREP = @GREP@
  94913. +HOSTCXX = @HOSTCXX@
  94914. ICAP_LIBS = @ICAP_LIBS@
  94915. INSTALL = @INSTALL@
  94916. INSTALL_DATA = @INSTALL_DATA@
  94917. @@ -115,8 +138,12 @@
  94918. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  94919. KRB5INCS = @KRB5INCS@
  94920. KRB5LIBS = @KRB5LIBS@
  94921. +LD = @LD@
  94922. LDFLAGS = @LDFLAGS@
  94923. LIBADD_DL = @LIBADD_DL@
  94924. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  94925. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  94926. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  94927. LIBOBJS = @LIBOBJS@
  94928. LIBREGEX = @LIBREGEX@
  94929. LIBS = @LIBS@
  94930. @@ -125,9 +152,12 @@
  94931. LIB_DB = @LIB_DB@
  94932. LIB_LBER = @LIB_LBER@
  94933. LIB_LDAP = @LIB_LDAP@
  94934. +LIPO = @LIPO@
  94935. LN = @LN@
  94936. LN_S = @LN_S@
  94937. LTLIBOBJS = @LTLIBOBJS@
  94938. +LT_DLLOADERS = @LT_DLLOADERS@
  94939. +LT_DLPREOPEN = @LT_DLPREOPEN@
  94940. MAINT = @MAINT@
  94941. MAKEINFO = @MAKEINFO@
  94942. MINGW_LIBS = @MINGW_LIBS@
  94943. @@ -135,15 +165,20 @@
  94944. MKDIR_P = @MKDIR_P@
  94945. MV = @MV@
  94946. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  94947. +NM = @NM@
  94948. NMEDIT = @NMEDIT@
  94949. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  94950. +OBJDUMP = @OBJDUMP@
  94951. OBJEXT = @OBJEXT@
  94952. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  94953. +OTOOL = @OTOOL@
  94954. +OTOOL64 = @OTOOL64@
  94955. PACKAGE = @PACKAGE@
  94956. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  94957. PACKAGE_NAME = @PACKAGE_NAME@
  94958. PACKAGE_STRING = @PACKAGE_STRING@
  94959. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  94960. +PACKAGE_URL = @PACKAGE_URL@
  94961. PACKAGE_VERSION = @PACKAGE_VERSION@
  94962. PATH_SEPARATOR = @PATH_SEPARATOR@
  94963. PERL = @PERL@
  94964. @@ -180,7 +215,7 @@
  94965. abs_top_srcdir = @abs_top_srcdir@
  94966. ac_ct_CC = @ac_ct_CC@
  94967. ac_ct_CXX = @ac_ct_CXX@
  94968. -ac_ct_F77 = @ac_ct_F77@
  94969. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  94970. ac_krb5_config = @ac_krb5_config@
  94971. am__include = @am__include@
  94972. am__leading_dot = @am__leading_dot@
  94973. @@ -212,6 +247,7 @@
  94974. libexecdir = @libexecdir@
  94975. localedir = @localedir@
  94976. localstatedir = @localstatedir@
  94977. +lt_ECHO = @lt_ECHO@
  94978. makesnmplib = @makesnmplib@
  94979. mandir = @mandir@
  94980. mkdir_p = @mkdir_p@
  94981. @@ -243,14 +279,14 @@
  94982. @for dep in $?; do \
  94983. case '$(am__configure_deps)' in \
  94984. *$$dep*) \
  94985. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  94986. - && exit 0; \
  94987. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  94988. + && { if test -f $@; then exit 0; else break; fi; }; \
  94989. exit 1;; \
  94990. esac; \
  94991. done; \
  94992. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/multi-domain-NTLM/Makefile'; \
  94993. - cd $(top_srcdir) && \
  94994. - $(AUTOMAKE) --foreign helpers/basic_auth/multi-domain-NTLM/Makefile
  94995. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/multi-domain-NTLM/Makefile'; \
  94996. + $(am__cd) $(top_srcdir) && \
  94997. + $(AUTOMAKE) --foreign helpers/basic_auth/multi-domain-NTLM/Makefile
  94998. .PRECIOUS: Makefile
  94999. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  95000. @case '$?' in \
  95001. @@ -268,25 +304,41 @@
  95002. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  95003. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  95004. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  95005. +$(am__aclocal_m4_deps):
  95006. install-libexecSCRIPTS: $(libexec_SCRIPTS)
  95007. @$(NORMAL_INSTALL)
  95008. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  95009. - @list='$(libexec_SCRIPTS)'; for p in $$list; do \
  95010. + @list='$(libexec_SCRIPTS)'; test -n "$(libexecdir)" || list=; \
  95011. + for p in $$list; do \
  95012. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  95013. - if test -f $$d$$p; then \
  95014. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  95015. - echo " $(libexecSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  95016. - $(libexecSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(libexecdir)/$$f"; \
  95017. - else :; fi; \
  95018. - done
  95019. + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
  95020. + done | \
  95021. + sed -e 'p;s,.*/,,;n' \
  95022. + -e 'h;s|.*|.|' \
  95023. + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
  95024. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
  95025. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  95026. + if ($$2 == $$4) { files[d] = files[d] " " $$1; \
  95027. + if (++n[d] == $(am__install_max)) { \
  95028. + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
  95029. + else { print "f", d "/" $$4, $$1 } } \
  95030. + END { for (d in files) print "f", d, files[d] }' | \
  95031. + while read type dir files; do \
  95032. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  95033. + test -z "$$files" || { \
  95034. + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  95035. + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  95036. + } \
  95037. + ; done
  95038. uninstall-libexecSCRIPTS:
  95039. @$(NORMAL_UNINSTALL)
  95040. - @list='$(libexec_SCRIPTS)'; for p in $$list; do \
  95041. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  95042. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  95043. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  95044. - done
  95045. + @list='$(libexec_SCRIPTS)'; test -n "$(libexecdir)" || exit 0; \
  95046. + files=`for p in $$list; do echo "$$p"; done | \
  95047. + sed -e 's,.*/,,;$(transform)'`; \
  95048. + test -n "$$list" || exit 0; \
  95049. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  95050. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  95051. mostlyclean-libtool:
  95052. -rm -f *.lo
  95053. @@ -316,13 +368,17 @@
  95054. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  95055. if test -d $$d/$$file; then \
  95056. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  95057. + if test -d "$(distdir)/$$file"; then \
  95058. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  95059. + fi; \
  95060. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  95061. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  95062. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  95063. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  95064. fi; \
  95065. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  95066. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  95067. else \
  95068. - test -f $(distdir)/$$file \
  95069. - || cp -p $$d/$$file $(distdir)/$$file \
  95070. + test -f "$(distdir)/$$file" \
  95071. + || cp -p $$d/$$file "$(distdir)/$$file" \
  95072. || exit 1; \
  95073. fi; \
  95074. done
  95075. @@ -353,6 +409,7 @@
  95076. distclean-generic:
  95077. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  95078. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  95079. maintainer-clean-generic:
  95080. @echo "This command is intended for maintainers to use"
  95081. @@ -371,6 +428,8 @@
  95082. html: html-am
  95083. +html-am:
  95084. +
  95085. info: info-am
  95086. info-am:
  95087. @@ -379,18 +438,28 @@
  95088. install-dvi: install-dvi-am
  95089. +install-dvi-am:
  95090. +
  95091. install-exec-am: install-libexecSCRIPTS
  95092. install-html: install-html-am
  95093. +install-html-am:
  95094. +
  95095. install-info: install-info-am
  95096. +install-info-am:
  95097. +
  95098. install-man:
  95099. install-pdf: install-pdf-am
  95100. +install-pdf-am:
  95101. +
  95102. install-ps: install-ps-am
  95103. +install-ps-am:
  95104. +
  95105. installcheck-am:
  95106. maintainer-clean: maintainer-clean-am
  95107. @@ -425,6 +494,7 @@
  95108. mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
  95109. ps ps-am uninstall uninstall-am uninstall-libexecSCRIPTS
  95110. +
  95111. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  95112. # Otherwise a system limit (for SysV at least) may be exceeded.
  95113. .NOEXPORT:
  95114. diff -Nur squid-3.0.STABLE20.orig/helpers/basic_auth/NCSA/Makefile.in squid-3.0.STABLE20/helpers/basic_auth/NCSA/Makefile.in
  95115. --- squid-3.0.STABLE20.orig/helpers/basic_auth/NCSA/Makefile.in 2009-10-29 11:05:38.000000000 +0100
  95116. +++ squid-3.0.STABLE20/helpers/basic_auth/NCSA/Makefile.in 2010-02-19 00:39:16.536855416 +0100
  95117. @@ -1,8 +1,9 @@
  95118. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  95119. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  95120. # @configure_input@
  95121. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  95122. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  95123. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  95124. +# Inc.
  95125. # This Makefile.in is free software; the Free Software Foundation
  95126. # gives unlimited permission to copy and/or distribute it,
  95127. # with or without modifications, as long as this notice is preserved.
  95128. @@ -24,8 +25,9 @@
  95129. VPATH = @srcdir@
  95130. pkgdatadir = $(datadir)/@PACKAGE@
  95131. -pkglibdir = $(libdir)/@PACKAGE@
  95132. pkgincludedir = $(includedir)/@PACKAGE@
  95133. +pkglibdir = $(libdir)/@PACKAGE@
  95134. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  95135. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  95136. install_sh_DATA = $(install_sh) -c -m 644
  95137. install_sh_PROGRAM = $(install_sh) -c
  95138. @@ -51,8 +53,8 @@
  95139. mkinstalldirs = $(install_sh) -d
  95140. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  95141. CONFIG_CLEAN_FILES =
  95142. +CONFIG_CLEAN_VPATH_FILES =
  95143. am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man8dir)"
  95144. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  95145. PROGRAMS = $(libexec_PROGRAMS)
  95146. am_ncsa_auth_OBJECTS = ncsa_auth.$(OBJEXT) crypt_md5.$(OBJEXT)
  95147. ncsa_auth_OBJECTS = $(am_ncsa_auth_OBJECTS)
  95148. @@ -63,6 +65,7 @@
  95149. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  95150. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  95151. am__depfiles_maybe = depfiles
  95152. +am__mv = mv -f
  95153. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  95154. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  95155. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  95156. @@ -74,6 +77,27 @@
  95157. $(LDFLAGS) -o $@
  95158. SOURCES = $(ncsa_auth_SOURCES)
  95159. DIST_SOURCES = $(ncsa_auth_SOURCES)
  95160. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  95161. +am__vpath_adj = case $$p in \
  95162. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  95163. + *) f=$$p;; \
  95164. + esac;
  95165. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  95166. +am__install_max = 40
  95167. +am__nobase_strip_setup = \
  95168. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  95169. +am__nobase_strip = \
  95170. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  95171. +am__nobase_list = $(am__nobase_strip_setup); \
  95172. + for p in $$list; do echo "$$p $$p"; done | \
  95173. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  95174. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  95175. + if (++n[$$2] == $(am__install_max)) \
  95176. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  95177. + END { for (dir in files) print dir, files[dir] }'
  95178. +am__base_list = \
  95179. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  95180. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  95181. man8dir = $(mandir)/man8
  95182. NROFF = nroff
  95183. MANS = $(man_MANS)
  95184. @@ -117,7 +141,7 @@
  95185. DISK_LINKOBJS = @DISK_LINKOBJS@
  95186. DISK_PROGRAMS = @DISK_PROGRAMS@
  95187. DSYMUTIL = @DSYMUTIL@
  95188. -ECHO = @ECHO@
  95189. +DUMPBIN = @DUMPBIN@
  95190. ECHO_C = @ECHO_C@
  95191. ECHO_N = @ECHO_N@
  95192. ECHO_T = @ECHO_T@
  95193. @@ -127,10 +151,10 @@
  95194. ERR_LANGUAGES = @ERR_LANGUAGES@
  95195. EXEEXT = @EXEEXT@
  95196. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  95197. -F77 = @F77@
  95198. FALSE = @FALSE@
  95199. -FFLAGS = @FFLAGS@
  95200. +FGREP = @FGREP@
  95201. GREP = @GREP@
  95202. +HOSTCXX = @HOSTCXX@
  95203. ICAP_LIBS = @ICAP_LIBS@
  95204. INSTALL = @INSTALL@
  95205. INSTALL_DATA = @INSTALL_DATA@
  95206. @@ -139,8 +163,12 @@
  95207. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  95208. KRB5INCS = @KRB5INCS@
  95209. KRB5LIBS = @KRB5LIBS@
  95210. +LD = @LD@
  95211. LDFLAGS = @LDFLAGS@
  95212. LIBADD_DL = @LIBADD_DL@
  95213. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  95214. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  95215. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  95216. LIBOBJS = @LIBOBJS@
  95217. LIBREGEX = @LIBREGEX@
  95218. LIBS = @LIBS@
  95219. @@ -149,9 +177,12 @@
  95220. LIB_DB = @LIB_DB@
  95221. LIB_LBER = @LIB_LBER@
  95222. LIB_LDAP = @LIB_LDAP@
  95223. +LIPO = @LIPO@
  95224. LN = @LN@
  95225. LN_S = @LN_S@
  95226. LTLIBOBJS = @LTLIBOBJS@
  95227. +LT_DLLOADERS = @LT_DLLOADERS@
  95228. +LT_DLPREOPEN = @LT_DLPREOPEN@
  95229. MAINT = @MAINT@
  95230. MAKEINFO = @MAKEINFO@
  95231. MINGW_LIBS = @MINGW_LIBS@
  95232. @@ -159,15 +190,20 @@
  95233. MKDIR_P = @MKDIR_P@
  95234. MV = @MV@
  95235. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  95236. +NM = @NM@
  95237. NMEDIT = @NMEDIT@
  95238. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  95239. +OBJDUMP = @OBJDUMP@
  95240. OBJEXT = @OBJEXT@
  95241. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  95242. +OTOOL = @OTOOL@
  95243. +OTOOL64 = @OTOOL64@
  95244. PACKAGE = @PACKAGE@
  95245. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  95246. PACKAGE_NAME = @PACKAGE_NAME@
  95247. PACKAGE_STRING = @PACKAGE_STRING@
  95248. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  95249. +PACKAGE_URL = @PACKAGE_URL@
  95250. PACKAGE_VERSION = @PACKAGE_VERSION@
  95251. PATH_SEPARATOR = @PATH_SEPARATOR@
  95252. PERL = @PERL@
  95253. @@ -204,7 +240,7 @@
  95254. abs_top_srcdir = @abs_top_srcdir@
  95255. ac_ct_CC = @ac_ct_CC@
  95256. ac_ct_CXX = @ac_ct_CXX@
  95257. -ac_ct_F77 = @ac_ct_F77@
  95258. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  95259. ac_krb5_config = @ac_krb5_config@
  95260. am__include = @am__include@
  95261. am__leading_dot = @am__leading_dot@
  95262. @@ -236,6 +272,7 @@
  95263. libexecdir = @libexecdir@
  95264. localedir = @localedir@
  95265. localstatedir = @localstatedir@
  95266. +lt_ECHO = @lt_ECHO@
  95267. makesnmplib = @makesnmplib@
  95268. mandir = @mandir@
  95269. mkdir_p = @mkdir_p@
  95270. @@ -266,14 +303,14 @@
  95271. @for dep in $?; do \
  95272. case '$(am__configure_deps)' in \
  95273. *$$dep*) \
  95274. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  95275. - && exit 0; \
  95276. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  95277. + && { if test -f $@; then exit 0; else break; fi; }; \
  95278. exit 1;; \
  95279. esac; \
  95280. done; \
  95281. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/NCSA/Makefile'; \
  95282. - cd $(top_srcdir) && \
  95283. - $(AUTOMAKE) --foreign helpers/basic_auth/NCSA/Makefile
  95284. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/NCSA/Makefile'; \
  95285. + $(am__cd) $(top_srcdir) && \
  95286. + $(AUTOMAKE) --foreign helpers/basic_auth/NCSA/Makefile
  95287. .PRECIOUS: Makefile
  95288. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  95289. @case '$?' in \
  95290. @@ -291,34 +328,50 @@
  95291. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  95292. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  95293. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  95294. +$(am__aclocal_m4_deps):
  95295. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  95296. @$(NORMAL_INSTALL)
  95297. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  95298. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  95299. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  95300. - if test -f $$p \
  95301. - || test -f $$p1 \
  95302. - ; then \
  95303. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  95304. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  95305. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  95306. - else :; fi; \
  95307. - done
  95308. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  95309. + for p in $$list; do echo "$$p $$p"; done | \
  95310. + sed 's/$(EXEEXT)$$//' | \
  95311. + while read p p1; do if test -f $$p || test -f $$p1; \
  95312. + then echo "$$p"; echo "$$p"; else :; fi; \
  95313. + done | \
  95314. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  95315. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  95316. + sed 'N;N;N;s,\n, ,g' | \
  95317. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  95318. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  95319. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  95320. + else { print "f", $$3 "/" $$4, $$1; } } \
  95321. + END { for (d in files) print "f", d, files[d] }' | \
  95322. + while read type dir files; do \
  95323. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  95324. + test -z "$$files" || { \
  95325. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  95326. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  95327. + } \
  95328. + ; done
  95329. uninstall-libexecPROGRAMS:
  95330. @$(NORMAL_UNINSTALL)
  95331. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  95332. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  95333. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  95334. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  95335. - done
  95336. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  95337. + files=`for p in $$list; do echo "$$p"; done | \
  95338. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  95339. + -e 's/$$/$(EXEEXT)/' `; \
  95340. + test -n "$$list" || exit 0; \
  95341. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  95342. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  95343. clean-libexecPROGRAMS:
  95344. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  95345. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  95346. - echo " rm -f $$p $$f"; \
  95347. - rm -f $$p $$f ; \
  95348. - done
  95349. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  95350. + echo " rm -f" $$list; \
  95351. + rm -f $$list || exit $$?; \
  95352. + test -n "$(EXEEXT)" || exit 0; \
  95353. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  95354. + echo " rm -f" $$list; \
  95355. + rm -f $$list
  95356. ncsa_auth$(EXEEXT): $(ncsa_auth_OBJECTS) $(ncsa_auth_DEPENDENCIES)
  95357. @rm -f ncsa_auth$(EXEEXT)
  95358. $(LINK) $(ncsa_auth_OBJECTS) $(ncsa_auth_LDADD) $(LIBS)
  95359. @@ -334,21 +387,21 @@
  95360. .c.o:
  95361. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  95362. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  95363. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  95364. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  95365. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  95366. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  95367. .c.obj:
  95368. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  95369. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  95370. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  95371. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  95372. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  95373. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  95374. .c.lo:
  95375. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  95376. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  95377. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  95378. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  95379. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  95380. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  95381. @@ -358,65 +411,58 @@
  95382. clean-libtool:
  95383. -rm -rf .libs _libs
  95384. -install-man8: $(man8_MANS) $(man_MANS)
  95385. +install-man8: $(man_MANS)
  95386. @$(NORMAL_INSTALL)
  95387. test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
  95388. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  95389. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  95390. - for i in $$l2; do \
  95391. - case "$$i" in \
  95392. - *.8*) list="$$list $$i" ;; \
  95393. - esac; \
  95394. + @list=''; test -n "$(man8dir)" || exit 0; \
  95395. + { for i in $$list; do echo "$$i"; done; \
  95396. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  95397. + sed -n '/\.8[a-z]*$$/p'; \
  95398. + } | while read p; do \
  95399. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  95400. + echo "$$d$$p"; echo "$$p"; \
  95401. + done | \
  95402. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  95403. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  95404. + sed 'N;N;s,\n, ,g' | { \
  95405. + list=; while read file base inst; do \
  95406. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  95407. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  95408. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
  95409. + fi; \
  95410. done; \
  95411. - for i in $$list; do \
  95412. - if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  95413. - else file=$$i; fi; \
  95414. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  95415. - case "$$ext" in \
  95416. - 8*) ;; \
  95417. - *) ext='8' ;; \
  95418. - esac; \
  95419. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  95420. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  95421. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  95422. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  95423. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
  95424. - done
  95425. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  95426. + while read files; do \
  95427. + test -z "$$files" || { \
  95428. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
  95429. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
  95430. + done; }
  95431. +
  95432. uninstall-man8:
  95433. @$(NORMAL_UNINSTALL)
  95434. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  95435. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  95436. - for i in $$l2; do \
  95437. - case "$$i" in \
  95438. - *.8*) list="$$list $$i" ;; \
  95439. - esac; \
  95440. - done; \
  95441. - for i in $$list; do \
  95442. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  95443. - case "$$ext" in \
  95444. - 8*) ;; \
  95445. - *) ext='8' ;; \
  95446. - esac; \
  95447. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  95448. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  95449. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  95450. - echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
  95451. - rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
  95452. - done
  95453. + @list=''; test -n "$(man8dir)" || exit 0; \
  95454. + files=`{ for i in $$list; do echo "$$i"; done; \
  95455. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  95456. + sed -n '/\.8[a-z]*$$/p'; \
  95457. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  95458. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  95459. + test -z "$$files" || { \
  95460. + echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \
  95461. + cd "$(DESTDIR)$(man8dir)" && rm -f $$files; }
  95462. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  95463. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  95464. unique=`for i in $$list; do \
  95465. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  95466. done | \
  95467. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  95468. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  95469. END { if (nonempty) { for (i in files) print i; }; }'`; \
  95470. mkid -fID $$unique
  95471. tags: TAGS
  95472. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  95473. $(TAGS_FILES) $(LISP)
  95474. - tags=; \
  95475. + set x; \
  95476. here=`pwd`; \
  95477. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  95478. unique=`for i in $$list; do \
  95479. @@ -424,34 +470,52 @@
  95480. done | \
  95481. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  95482. END { if (nonempty) { for (i in files) print i; }; }'`; \
  95483. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  95484. + shift; \
  95485. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  95486. test -n "$$unique" || unique=$$empty_fix; \
  95487. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  95488. - $$tags $$unique; \
  95489. + if test $$# -gt 0; then \
  95490. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  95491. + "$$@" $$unique; \
  95492. + else \
  95493. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  95494. + $$unique; \
  95495. + fi; \
  95496. fi
  95497. ctags: CTAGS
  95498. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  95499. $(TAGS_FILES) $(LISP)
  95500. - tags=; \
  95501. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  95502. unique=`for i in $$list; do \
  95503. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  95504. done | \
  95505. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  95506. END { if (nonempty) { for (i in files) print i; }; }'`; \
  95507. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  95508. + test -z "$(CTAGS_ARGS)$$unique" \
  95509. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  95510. - $$tags $$unique
  95511. + $$unique
  95512. GTAGS:
  95513. here=`$(am__cd) $(top_builddir) && pwd` \
  95514. - && cd $(top_srcdir) \
  95515. - && gtags -i $(GTAGS_ARGS) $$here
  95516. + && $(am__cd) $(top_srcdir) \
  95517. + && gtags -i $(GTAGS_ARGS) "$$here"
  95518. distclean-tags:
  95519. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  95520. distdir: $(DISTFILES)
  95521. + @list='$(MANS)'; if test -n "$$list"; then \
  95522. + list=`for p in $$list; do \
  95523. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  95524. + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  95525. + if test -n "$$list" && \
  95526. + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  95527. + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  95528. + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  95529. + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  95530. + echo " typically \`make maintainer-clean' will remove them" >&2; \
  95531. + exit 1; \
  95532. + else :; fi; \
  95533. + else :; fi
  95534. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  95535. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  95536. list='$(DISTFILES)'; \
  95537. @@ -467,13 +531,17 @@
  95538. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  95539. if test -d $$d/$$file; then \
  95540. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  95541. + if test -d "$(distdir)/$$file"; then \
  95542. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  95543. + fi; \
  95544. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  95545. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  95546. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  95547. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  95548. fi; \
  95549. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  95550. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  95551. else \
  95552. - test -f $(distdir)/$$file \
  95553. - || cp -p $$d/$$file $(distdir)/$$file \
  95554. + test -f "$(distdir)/$$file" \
  95555. + || cp -p $$d/$$file "$(distdir)/$$file" \
  95556. || exit 1; \
  95557. fi; \
  95558. done
  95559. @@ -504,6 +572,7 @@
  95560. distclean-generic:
  95561. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  95562. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  95563. maintainer-clean-generic:
  95564. @echo "This command is intended for maintainers to use"
  95565. @@ -525,6 +594,8 @@
  95566. html: html-am
  95567. +html-am:
  95568. +
  95569. info: info-am
  95570. info-am:
  95571. @@ -533,18 +604,28 @@
  95572. install-dvi: install-dvi-am
  95573. +install-dvi-am:
  95574. +
  95575. install-exec-am: install-libexecPROGRAMS
  95576. install-html: install-html-am
  95577. +install-html-am:
  95578. +
  95579. install-info: install-info-am
  95580. +install-info-am:
  95581. +
  95582. install-man: install-man8
  95583. install-pdf: install-pdf-am
  95584. +install-pdf-am:
  95585. +
  95586. install-ps: install-ps-am
  95587. +install-ps-am:
  95588. +
  95589. installcheck-am:
  95590. maintainer-clean: maintainer-clean-am
  95591. @@ -586,6 +667,7 @@
  95592. tags uninstall uninstall-am uninstall-libexecPROGRAMS \
  95593. uninstall-man uninstall-man8
  95594. +
  95595. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  95596. # Otherwise a system limit (for SysV at least) may be exceeded.
  95597. .NOEXPORT:
  95598. diff -Nur squid-3.0.STABLE20.orig/helpers/basic_auth/PAM/Makefile.in squid-3.0.STABLE20/helpers/basic_auth/PAM/Makefile.in
  95599. --- squid-3.0.STABLE20.orig/helpers/basic_auth/PAM/Makefile.in 2009-10-29 11:05:38.000000000 +0100
  95600. +++ squid-3.0.STABLE20/helpers/basic_auth/PAM/Makefile.in 2010-02-19 00:39:16.820855264 +0100
  95601. @@ -1,8 +1,9 @@
  95602. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  95603. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  95604. # @configure_input@
  95605. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  95606. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  95607. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  95608. +# Inc.
  95609. # This Makefile.in is free software; the Free Software Foundation
  95610. # gives unlimited permission to copy and/or distribute it,
  95611. # with or without modifications, as long as this notice is preserved.
  95612. @@ -24,8 +25,9 @@
  95613. VPATH = @srcdir@
  95614. pkgdatadir = $(datadir)/@PACKAGE@
  95615. -pkglibdir = $(libdir)/@PACKAGE@
  95616. pkgincludedir = $(includedir)/@PACKAGE@
  95617. +pkglibdir = $(libdir)/@PACKAGE@
  95618. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  95619. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  95620. install_sh_DATA = $(install_sh) -c -m 644
  95621. install_sh_PROGRAM = $(install_sh) -c
  95622. @@ -51,8 +53,8 @@
  95623. mkinstalldirs = $(install_sh) -d
  95624. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  95625. CONFIG_CLEAN_FILES =
  95626. +CONFIG_CLEAN_VPATH_FILES =
  95627. am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man8dir)"
  95628. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  95629. PROGRAMS = $(libexec_PROGRAMS)
  95630. pam_auth_SOURCES = pam_auth.c
  95631. pam_auth_OBJECTS = pam_auth.$(OBJEXT)
  95632. @@ -62,6 +64,7 @@
  95633. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  95634. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  95635. am__depfiles_maybe = depfiles
  95636. +am__mv = mv -f
  95637. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  95638. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  95639. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  95640. @@ -73,6 +76,27 @@
  95641. $(LDFLAGS) -o $@
  95642. SOURCES = pam_auth.c
  95643. DIST_SOURCES = pam_auth.c
  95644. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  95645. +am__vpath_adj = case $$p in \
  95646. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  95647. + *) f=$$p;; \
  95648. + esac;
  95649. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  95650. +am__install_max = 40
  95651. +am__nobase_strip_setup = \
  95652. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  95653. +am__nobase_strip = \
  95654. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  95655. +am__nobase_list = $(am__nobase_strip_setup); \
  95656. + for p in $$list; do echo "$$p $$p"; done | \
  95657. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  95658. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  95659. + if (++n[$$2] == $(am__install_max)) \
  95660. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  95661. + END { for (dir in files) print dir, files[dir] }'
  95662. +am__base_list = \
  95663. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  95664. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  95665. man8dir = $(mandir)/man8
  95666. NROFF = nroff
  95667. MANS = $(man_MANS)
  95668. @@ -116,7 +140,7 @@
  95669. DISK_LINKOBJS = @DISK_LINKOBJS@
  95670. DISK_PROGRAMS = @DISK_PROGRAMS@
  95671. DSYMUTIL = @DSYMUTIL@
  95672. -ECHO = @ECHO@
  95673. +DUMPBIN = @DUMPBIN@
  95674. ECHO_C = @ECHO_C@
  95675. ECHO_N = @ECHO_N@
  95676. ECHO_T = @ECHO_T@
  95677. @@ -126,10 +150,10 @@
  95678. ERR_LANGUAGES = @ERR_LANGUAGES@
  95679. EXEEXT = @EXEEXT@
  95680. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  95681. -F77 = @F77@
  95682. FALSE = @FALSE@
  95683. -FFLAGS = @FFLAGS@
  95684. +FGREP = @FGREP@
  95685. GREP = @GREP@
  95686. +HOSTCXX = @HOSTCXX@
  95687. ICAP_LIBS = @ICAP_LIBS@
  95688. INSTALL = @INSTALL@
  95689. INSTALL_DATA = @INSTALL_DATA@
  95690. @@ -138,8 +162,12 @@
  95691. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  95692. KRB5INCS = @KRB5INCS@
  95693. KRB5LIBS = @KRB5LIBS@
  95694. +LD = @LD@
  95695. LDFLAGS = @LDFLAGS@
  95696. LIBADD_DL = @LIBADD_DL@
  95697. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  95698. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  95699. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  95700. LIBOBJS = @LIBOBJS@
  95701. LIBREGEX = @LIBREGEX@
  95702. LIBS = @LIBS@
  95703. @@ -148,9 +176,12 @@
  95704. LIB_DB = @LIB_DB@
  95705. LIB_LBER = @LIB_LBER@
  95706. LIB_LDAP = @LIB_LDAP@
  95707. +LIPO = @LIPO@
  95708. LN = @LN@
  95709. LN_S = @LN_S@
  95710. LTLIBOBJS = @LTLIBOBJS@
  95711. +LT_DLLOADERS = @LT_DLLOADERS@
  95712. +LT_DLPREOPEN = @LT_DLPREOPEN@
  95713. MAINT = @MAINT@
  95714. MAKEINFO = @MAKEINFO@
  95715. MINGW_LIBS = @MINGW_LIBS@
  95716. @@ -158,15 +189,20 @@
  95717. MKDIR_P = @MKDIR_P@
  95718. MV = @MV@
  95719. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  95720. +NM = @NM@
  95721. NMEDIT = @NMEDIT@
  95722. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  95723. +OBJDUMP = @OBJDUMP@
  95724. OBJEXT = @OBJEXT@
  95725. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  95726. +OTOOL = @OTOOL@
  95727. +OTOOL64 = @OTOOL64@
  95728. PACKAGE = @PACKAGE@
  95729. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  95730. PACKAGE_NAME = @PACKAGE_NAME@
  95731. PACKAGE_STRING = @PACKAGE_STRING@
  95732. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  95733. +PACKAGE_URL = @PACKAGE_URL@
  95734. PACKAGE_VERSION = @PACKAGE_VERSION@
  95735. PATH_SEPARATOR = @PATH_SEPARATOR@
  95736. PERL = @PERL@
  95737. @@ -203,7 +239,7 @@
  95738. abs_top_srcdir = @abs_top_srcdir@
  95739. ac_ct_CC = @ac_ct_CC@
  95740. ac_ct_CXX = @ac_ct_CXX@
  95741. -ac_ct_F77 = @ac_ct_F77@
  95742. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  95743. ac_krb5_config = @ac_krb5_config@
  95744. am__include = @am__include@
  95745. am__leading_dot = @am__leading_dot@
  95746. @@ -235,6 +271,7 @@
  95747. libexecdir = @libexecdir@
  95748. localedir = @localedir@
  95749. localstatedir = @localstatedir@
  95750. +lt_ECHO = @lt_ECHO@
  95751. makesnmplib = @makesnmplib@
  95752. mandir = @mandir@
  95753. mkdir_p = @mkdir_p@
  95754. @@ -264,14 +301,14 @@
  95755. @for dep in $?; do \
  95756. case '$(am__configure_deps)' in \
  95757. *$$dep*) \
  95758. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  95759. - && exit 0; \
  95760. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  95761. + && { if test -f $@; then exit 0; else break; fi; }; \
  95762. exit 1;; \
  95763. esac; \
  95764. done; \
  95765. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/PAM/Makefile'; \
  95766. - cd $(top_srcdir) && \
  95767. - $(AUTOMAKE) --foreign helpers/basic_auth/PAM/Makefile
  95768. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/PAM/Makefile'; \
  95769. + $(am__cd) $(top_srcdir) && \
  95770. + $(AUTOMAKE) --foreign helpers/basic_auth/PAM/Makefile
  95771. .PRECIOUS: Makefile
  95772. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  95773. @case '$?' in \
  95774. @@ -289,34 +326,50 @@
  95775. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  95776. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  95777. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  95778. +$(am__aclocal_m4_deps):
  95779. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  95780. @$(NORMAL_INSTALL)
  95781. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  95782. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  95783. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  95784. - if test -f $$p \
  95785. - || test -f $$p1 \
  95786. - ; then \
  95787. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  95788. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  95789. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  95790. - else :; fi; \
  95791. - done
  95792. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  95793. + for p in $$list; do echo "$$p $$p"; done | \
  95794. + sed 's/$(EXEEXT)$$//' | \
  95795. + while read p p1; do if test -f $$p || test -f $$p1; \
  95796. + then echo "$$p"; echo "$$p"; else :; fi; \
  95797. + done | \
  95798. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  95799. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  95800. + sed 'N;N;N;s,\n, ,g' | \
  95801. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  95802. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  95803. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  95804. + else { print "f", $$3 "/" $$4, $$1; } } \
  95805. + END { for (d in files) print "f", d, files[d] }' | \
  95806. + while read type dir files; do \
  95807. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  95808. + test -z "$$files" || { \
  95809. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  95810. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  95811. + } \
  95812. + ; done
  95813. uninstall-libexecPROGRAMS:
  95814. @$(NORMAL_UNINSTALL)
  95815. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  95816. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  95817. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  95818. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  95819. - done
  95820. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  95821. + files=`for p in $$list; do echo "$$p"; done | \
  95822. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  95823. + -e 's/$$/$(EXEEXT)/' `; \
  95824. + test -n "$$list" || exit 0; \
  95825. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  95826. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  95827. clean-libexecPROGRAMS:
  95828. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  95829. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  95830. - echo " rm -f $$p $$f"; \
  95831. - rm -f $$p $$f ; \
  95832. - done
  95833. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  95834. + echo " rm -f" $$list; \
  95835. + rm -f $$list || exit $$?; \
  95836. + test -n "$(EXEEXT)" || exit 0; \
  95837. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  95838. + echo " rm -f" $$list; \
  95839. + rm -f $$list
  95840. pam_auth$(EXEEXT): $(pam_auth_OBJECTS) $(pam_auth_DEPENDENCIES)
  95841. @rm -f pam_auth$(EXEEXT)
  95842. $(LINK) $(pam_auth_OBJECTS) $(pam_auth_LDADD) $(LIBS)
  95843. @@ -331,21 +384,21 @@
  95844. .c.o:
  95845. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  95846. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  95847. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  95848. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  95849. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  95850. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  95851. .c.obj:
  95852. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  95853. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  95854. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  95855. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  95856. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  95857. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  95858. .c.lo:
  95859. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  95860. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  95861. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  95862. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  95863. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  95864. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  95865. @@ -355,65 +408,58 @@
  95866. clean-libtool:
  95867. -rm -rf .libs _libs
  95868. -install-man8: $(man8_MANS) $(man_MANS)
  95869. +install-man8: $(man_MANS)
  95870. @$(NORMAL_INSTALL)
  95871. test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
  95872. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  95873. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  95874. - for i in $$l2; do \
  95875. - case "$$i" in \
  95876. - *.8*) list="$$list $$i" ;; \
  95877. - esac; \
  95878. + @list=''; test -n "$(man8dir)" || exit 0; \
  95879. + { for i in $$list; do echo "$$i"; done; \
  95880. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  95881. + sed -n '/\.8[a-z]*$$/p'; \
  95882. + } | while read p; do \
  95883. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  95884. + echo "$$d$$p"; echo "$$p"; \
  95885. + done | \
  95886. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  95887. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  95888. + sed 'N;N;s,\n, ,g' | { \
  95889. + list=; while read file base inst; do \
  95890. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  95891. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  95892. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
  95893. + fi; \
  95894. done; \
  95895. - for i in $$list; do \
  95896. - if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  95897. - else file=$$i; fi; \
  95898. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  95899. - case "$$ext" in \
  95900. - 8*) ;; \
  95901. - *) ext='8' ;; \
  95902. - esac; \
  95903. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  95904. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  95905. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  95906. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  95907. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
  95908. - done
  95909. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  95910. + while read files; do \
  95911. + test -z "$$files" || { \
  95912. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
  95913. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
  95914. + done; }
  95915. +
  95916. uninstall-man8:
  95917. @$(NORMAL_UNINSTALL)
  95918. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  95919. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  95920. - for i in $$l2; do \
  95921. - case "$$i" in \
  95922. - *.8*) list="$$list $$i" ;; \
  95923. - esac; \
  95924. - done; \
  95925. - for i in $$list; do \
  95926. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  95927. - case "$$ext" in \
  95928. - 8*) ;; \
  95929. - *) ext='8' ;; \
  95930. - esac; \
  95931. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  95932. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  95933. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  95934. - echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
  95935. - rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
  95936. - done
  95937. + @list=''; test -n "$(man8dir)" || exit 0; \
  95938. + files=`{ for i in $$list; do echo "$$i"; done; \
  95939. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  95940. + sed -n '/\.8[a-z]*$$/p'; \
  95941. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  95942. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  95943. + test -z "$$files" || { \
  95944. + echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \
  95945. + cd "$(DESTDIR)$(man8dir)" && rm -f $$files; }
  95946. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  95947. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  95948. unique=`for i in $$list; do \
  95949. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  95950. done | \
  95951. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  95952. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  95953. END { if (nonempty) { for (i in files) print i; }; }'`; \
  95954. mkid -fID $$unique
  95955. tags: TAGS
  95956. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  95957. $(TAGS_FILES) $(LISP)
  95958. - tags=; \
  95959. + set x; \
  95960. here=`pwd`; \
  95961. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  95962. unique=`for i in $$list; do \
  95963. @@ -421,34 +467,52 @@
  95964. done | \
  95965. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  95966. END { if (nonempty) { for (i in files) print i; }; }'`; \
  95967. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  95968. + shift; \
  95969. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  95970. test -n "$$unique" || unique=$$empty_fix; \
  95971. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  95972. - $$tags $$unique; \
  95973. + if test $$# -gt 0; then \
  95974. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  95975. + "$$@" $$unique; \
  95976. + else \
  95977. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  95978. + $$unique; \
  95979. + fi; \
  95980. fi
  95981. ctags: CTAGS
  95982. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  95983. $(TAGS_FILES) $(LISP)
  95984. - tags=; \
  95985. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  95986. unique=`for i in $$list; do \
  95987. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  95988. done | \
  95989. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  95990. END { if (nonempty) { for (i in files) print i; }; }'`; \
  95991. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  95992. + test -z "$(CTAGS_ARGS)$$unique" \
  95993. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  95994. - $$tags $$unique
  95995. + $$unique
  95996. GTAGS:
  95997. here=`$(am__cd) $(top_builddir) && pwd` \
  95998. - && cd $(top_srcdir) \
  95999. - && gtags -i $(GTAGS_ARGS) $$here
  96000. + && $(am__cd) $(top_srcdir) \
  96001. + && gtags -i $(GTAGS_ARGS) "$$here"
  96002. distclean-tags:
  96003. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  96004. distdir: $(DISTFILES)
  96005. + @list='$(MANS)'; if test -n "$$list"; then \
  96006. + list=`for p in $$list; do \
  96007. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  96008. + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  96009. + if test -n "$$list" && \
  96010. + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  96011. + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  96012. + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  96013. + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  96014. + echo " typically \`make maintainer-clean' will remove them" >&2; \
  96015. + exit 1; \
  96016. + else :; fi; \
  96017. + else :; fi
  96018. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  96019. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  96020. list='$(DISTFILES)'; \
  96021. @@ -464,13 +528,17 @@
  96022. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  96023. if test -d $$d/$$file; then \
  96024. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  96025. + if test -d "$(distdir)/$$file"; then \
  96026. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  96027. + fi; \
  96028. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  96029. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  96030. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  96031. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  96032. fi; \
  96033. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  96034. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  96035. else \
  96036. - test -f $(distdir)/$$file \
  96037. - || cp -p $$d/$$file $(distdir)/$$file \
  96038. + test -f "$(distdir)/$$file" \
  96039. + || cp -p $$d/$$file "$(distdir)/$$file" \
  96040. || exit 1; \
  96041. fi; \
  96042. done
  96043. @@ -501,6 +569,7 @@
  96044. distclean-generic:
  96045. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  96046. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  96047. maintainer-clean-generic:
  96048. @echo "This command is intended for maintainers to use"
  96049. @@ -522,6 +591,8 @@
  96050. html: html-am
  96051. +html-am:
  96052. +
  96053. info: info-am
  96054. info-am:
  96055. @@ -530,18 +601,28 @@
  96056. install-dvi: install-dvi-am
  96057. +install-dvi-am:
  96058. +
  96059. install-exec-am: install-libexecPROGRAMS
  96060. install-html: install-html-am
  96061. +install-html-am:
  96062. +
  96063. install-info: install-info-am
  96064. +install-info-am:
  96065. +
  96066. install-man: install-man8
  96067. install-pdf: install-pdf-am
  96068. +install-pdf-am:
  96069. +
  96070. install-ps: install-ps-am
  96071. +install-ps-am:
  96072. +
  96073. installcheck-am:
  96074. maintainer-clean: maintainer-clean-am
  96075. @@ -583,6 +664,7 @@
  96076. tags uninstall uninstall-am uninstall-libexecPROGRAMS \
  96077. uninstall-man uninstall-man8
  96078. +
  96079. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  96080. # Otherwise a system limit (for SysV at least) may be exceeded.
  96081. .NOEXPORT:
  96082. diff -Nur squid-3.0.STABLE20.orig/helpers/basic_auth/POP3/Makefile.in squid-3.0.STABLE20/helpers/basic_auth/POP3/Makefile.in
  96083. --- squid-3.0.STABLE20.orig/helpers/basic_auth/POP3/Makefile.in 2009-10-29 11:05:38.000000000 +0100
  96084. +++ squid-3.0.STABLE20/helpers/basic_auth/POP3/Makefile.in 2010-02-19 00:39:16.936851892 +0100
  96085. @@ -1,8 +1,9 @@
  96086. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  96087. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  96088. # @configure_input@
  96089. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  96090. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  96091. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  96092. +# Inc.
  96093. # This Makefile.in is free software; the Free Software Foundation
  96094. # gives unlimited permission to copy and/or distribute it,
  96095. # with or without modifications, as long as this notice is preserved.
  96096. @@ -24,8 +25,9 @@
  96097. VPATH = @srcdir@
  96098. pkgdatadir = $(datadir)/@PACKAGE@
  96099. -pkglibdir = $(libdir)/@PACKAGE@
  96100. pkgincludedir = $(includedir)/@PACKAGE@
  96101. +pkglibdir = $(libdir)/@PACKAGE@
  96102. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  96103. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  96104. install_sh_DATA = $(install_sh) -c -m 644
  96105. install_sh_PROGRAM = $(install_sh) -c
  96106. @@ -50,8 +52,29 @@
  96107. mkinstalldirs = $(install_sh) -d
  96108. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  96109. CONFIG_CLEAN_FILES =
  96110. +CONFIG_CLEAN_VPATH_FILES =
  96111. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  96112. +am__vpath_adj = case $$p in \
  96113. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  96114. + *) f=$$p;; \
  96115. + esac;
  96116. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  96117. +am__install_max = 40
  96118. +am__nobase_strip_setup = \
  96119. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  96120. +am__nobase_strip = \
  96121. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  96122. +am__nobase_list = $(am__nobase_strip_setup); \
  96123. + for p in $$list; do echo "$$p $$p"; done | \
  96124. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  96125. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  96126. + if (++n[$$2] == $(am__install_max)) \
  96127. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  96128. + END { for (dir in files) print dir, files[dir] }'
  96129. +am__base_list = \
  96130. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  96131. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  96132. am__installdirs = "$(DESTDIR)$(libexecdir)"
  96133. -libexecSCRIPT_INSTALL = $(INSTALL_SCRIPT)
  96134. SCRIPTS = $(libexec_SCRIPTS)
  96135. SOURCES =
  96136. DIST_SOURCES =
  96137. @@ -93,7 +116,7 @@
  96138. DISK_LINKOBJS = @DISK_LINKOBJS@
  96139. DISK_PROGRAMS = @DISK_PROGRAMS@
  96140. DSYMUTIL = @DSYMUTIL@
  96141. -ECHO = @ECHO@
  96142. +DUMPBIN = @DUMPBIN@
  96143. ECHO_C = @ECHO_C@
  96144. ECHO_N = @ECHO_N@
  96145. ECHO_T = @ECHO_T@
  96146. @@ -103,10 +126,10 @@
  96147. ERR_LANGUAGES = @ERR_LANGUAGES@
  96148. EXEEXT = @EXEEXT@
  96149. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  96150. -F77 = @F77@
  96151. FALSE = @FALSE@
  96152. -FFLAGS = @FFLAGS@
  96153. +FGREP = @FGREP@
  96154. GREP = @GREP@
  96155. +HOSTCXX = @HOSTCXX@
  96156. ICAP_LIBS = @ICAP_LIBS@
  96157. INSTALL = @INSTALL@
  96158. INSTALL_DATA = @INSTALL_DATA@
  96159. @@ -115,8 +138,12 @@
  96160. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  96161. KRB5INCS = @KRB5INCS@
  96162. KRB5LIBS = @KRB5LIBS@
  96163. +LD = @LD@
  96164. LDFLAGS = @LDFLAGS@
  96165. LIBADD_DL = @LIBADD_DL@
  96166. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  96167. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  96168. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  96169. LIBOBJS = @LIBOBJS@
  96170. LIBREGEX = @LIBREGEX@
  96171. LIBS = @LIBS@
  96172. @@ -125,9 +152,12 @@
  96173. LIB_DB = @LIB_DB@
  96174. LIB_LBER = @LIB_LBER@
  96175. LIB_LDAP = @LIB_LDAP@
  96176. +LIPO = @LIPO@
  96177. LN = @LN@
  96178. LN_S = @LN_S@
  96179. LTLIBOBJS = @LTLIBOBJS@
  96180. +LT_DLLOADERS = @LT_DLLOADERS@
  96181. +LT_DLPREOPEN = @LT_DLPREOPEN@
  96182. MAINT = @MAINT@
  96183. MAKEINFO = @MAKEINFO@
  96184. MINGW_LIBS = @MINGW_LIBS@
  96185. @@ -135,15 +165,20 @@
  96186. MKDIR_P = @MKDIR_P@
  96187. MV = @MV@
  96188. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  96189. +NM = @NM@
  96190. NMEDIT = @NMEDIT@
  96191. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  96192. +OBJDUMP = @OBJDUMP@
  96193. OBJEXT = @OBJEXT@
  96194. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  96195. +OTOOL = @OTOOL@
  96196. +OTOOL64 = @OTOOL64@
  96197. PACKAGE = @PACKAGE@
  96198. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  96199. PACKAGE_NAME = @PACKAGE_NAME@
  96200. PACKAGE_STRING = @PACKAGE_STRING@
  96201. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  96202. +PACKAGE_URL = @PACKAGE_URL@
  96203. PACKAGE_VERSION = @PACKAGE_VERSION@
  96204. PATH_SEPARATOR = @PATH_SEPARATOR@
  96205. PERL = @PERL@
  96206. @@ -180,7 +215,7 @@
  96207. abs_top_srcdir = @abs_top_srcdir@
  96208. ac_ct_CC = @ac_ct_CC@
  96209. ac_ct_CXX = @ac_ct_CXX@
  96210. -ac_ct_F77 = @ac_ct_F77@
  96211. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  96212. ac_krb5_config = @ac_krb5_config@
  96213. am__include = @am__include@
  96214. am__leading_dot = @am__leading_dot@
  96215. @@ -212,6 +247,7 @@
  96216. libexecdir = @libexecdir@
  96217. localedir = @localedir@
  96218. localstatedir = @localstatedir@
  96219. +lt_ECHO = @lt_ECHO@
  96220. makesnmplib = @makesnmplib@
  96221. mandir = @mandir@
  96222. mkdir_p = @mkdir_p@
  96223. @@ -242,14 +278,14 @@
  96224. @for dep in $?; do \
  96225. case '$(am__configure_deps)' in \
  96226. *$$dep*) \
  96227. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  96228. - && exit 0; \
  96229. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  96230. + && { if test -f $@; then exit 0; else break; fi; }; \
  96231. exit 1;; \
  96232. esac; \
  96233. done; \
  96234. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/POP3/Makefile'; \
  96235. - cd $(top_srcdir) && \
  96236. - $(AUTOMAKE) --foreign helpers/basic_auth/POP3/Makefile
  96237. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/POP3/Makefile'; \
  96238. + $(am__cd) $(top_srcdir) && \
  96239. + $(AUTOMAKE) --foreign helpers/basic_auth/POP3/Makefile
  96240. .PRECIOUS: Makefile
  96241. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  96242. @case '$?' in \
  96243. @@ -267,25 +303,41 @@
  96244. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  96245. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  96246. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  96247. +$(am__aclocal_m4_deps):
  96248. install-libexecSCRIPTS: $(libexec_SCRIPTS)
  96249. @$(NORMAL_INSTALL)
  96250. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  96251. - @list='$(libexec_SCRIPTS)'; for p in $$list; do \
  96252. + @list='$(libexec_SCRIPTS)'; test -n "$(libexecdir)" || list=; \
  96253. + for p in $$list; do \
  96254. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  96255. - if test -f $$d$$p; then \
  96256. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  96257. - echo " $(libexecSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  96258. - $(libexecSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(libexecdir)/$$f"; \
  96259. - else :; fi; \
  96260. - done
  96261. + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
  96262. + done | \
  96263. + sed -e 'p;s,.*/,,;n' \
  96264. + -e 'h;s|.*|.|' \
  96265. + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
  96266. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
  96267. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  96268. + if ($$2 == $$4) { files[d] = files[d] " " $$1; \
  96269. + if (++n[d] == $(am__install_max)) { \
  96270. + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
  96271. + else { print "f", d "/" $$4, $$1 } } \
  96272. + END { for (d in files) print "f", d, files[d] }' | \
  96273. + while read type dir files; do \
  96274. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  96275. + test -z "$$files" || { \
  96276. + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  96277. + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  96278. + } \
  96279. + ; done
  96280. uninstall-libexecSCRIPTS:
  96281. @$(NORMAL_UNINSTALL)
  96282. - @list='$(libexec_SCRIPTS)'; for p in $$list; do \
  96283. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  96284. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  96285. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  96286. - done
  96287. + @list='$(libexec_SCRIPTS)'; test -n "$(libexecdir)" || exit 0; \
  96288. + files=`for p in $$list; do echo "$$p"; done | \
  96289. + sed -e 's,.*/,,;$(transform)'`; \
  96290. + test -n "$$list" || exit 0; \
  96291. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  96292. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  96293. mostlyclean-libtool:
  96294. -rm -f *.lo
  96295. @@ -315,13 +367,17 @@
  96296. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  96297. if test -d $$d/$$file; then \
  96298. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  96299. + if test -d "$(distdir)/$$file"; then \
  96300. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  96301. + fi; \
  96302. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  96303. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  96304. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  96305. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  96306. fi; \
  96307. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  96308. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  96309. else \
  96310. - test -f $(distdir)/$$file \
  96311. - || cp -p $$d/$$file $(distdir)/$$file \
  96312. + test -f "$(distdir)/$$file" \
  96313. + || cp -p $$d/$$file "$(distdir)/$$file" \
  96314. || exit 1; \
  96315. fi; \
  96316. done
  96317. @@ -352,6 +408,7 @@
  96318. distclean-generic:
  96319. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  96320. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  96321. maintainer-clean-generic:
  96322. @echo "This command is intended for maintainers to use"
  96323. @@ -370,6 +427,8 @@
  96324. html: html-am
  96325. +html-am:
  96326. +
  96327. info: info-am
  96328. info-am:
  96329. @@ -378,18 +437,28 @@
  96330. install-dvi: install-dvi-am
  96331. +install-dvi-am:
  96332. +
  96333. install-exec-am: install-libexecSCRIPTS
  96334. install-html: install-html-am
  96335. +install-html-am:
  96336. +
  96337. install-info: install-info-am
  96338. +install-info-am:
  96339. +
  96340. install-man:
  96341. install-pdf: install-pdf-am
  96342. +install-pdf-am:
  96343. +
  96344. install-ps: install-ps-am
  96345. +install-ps-am:
  96346. +
  96347. installcheck-am:
  96348. maintainer-clean: maintainer-clean-am
  96349. @@ -424,6 +493,7 @@
  96350. mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
  96351. ps ps-am uninstall uninstall-am uninstall-libexecSCRIPTS
  96352. +
  96353. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  96354. # Otherwise a system limit (for SysV at least) may be exceeded.
  96355. .NOEXPORT:
  96356. diff -Nur squid-3.0.STABLE20.orig/helpers/basic_auth/SASL/Makefile.in squid-3.0.STABLE20/helpers/basic_auth/SASL/Makefile.in
  96357. --- squid-3.0.STABLE20.orig/helpers/basic_auth/SASL/Makefile.in 2009-10-29 11:05:38.000000000 +0100
  96358. +++ squid-3.0.STABLE20/helpers/basic_auth/SASL/Makefile.in 2010-02-19 00:39:17.084852032 +0100
  96359. @@ -1,8 +1,9 @@
  96360. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  96361. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  96362. # @configure_input@
  96363. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  96364. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  96365. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  96366. +# Inc.
  96367. # This Makefile.in is free software; the Free Software Foundation
  96368. # gives unlimited permission to copy and/or distribute it,
  96369. # with or without modifications, as long as this notice is preserved.
  96370. @@ -24,8 +25,9 @@
  96371. VPATH = @srcdir@
  96372. pkgdatadir = $(datadir)/@PACKAGE@
  96373. -pkglibdir = $(libdir)/@PACKAGE@
  96374. pkgincludedir = $(includedir)/@PACKAGE@
  96375. +pkglibdir = $(libdir)/@PACKAGE@
  96376. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  96377. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  96378. install_sh_DATA = $(install_sh) -c -m 644
  96379. install_sh_PROGRAM = $(install_sh) -c
  96380. @@ -51,8 +53,8 @@
  96381. mkinstalldirs = $(install_sh) -d
  96382. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  96383. CONFIG_CLEAN_FILES =
  96384. +CONFIG_CLEAN_VPATH_FILES =
  96385. am__installdirs = "$(DESTDIR)$(libexecdir)"
  96386. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  96387. PROGRAMS = $(libexec_PROGRAMS)
  96388. sasl_auth_SOURCES = sasl_auth.c
  96389. sasl_auth_OBJECTS = sasl_auth.$(OBJEXT)
  96390. @@ -62,6 +64,7 @@
  96391. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  96392. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  96393. am__depfiles_maybe = depfiles
  96394. +am__mv = mv -f
  96395. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  96396. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  96397. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  96398. @@ -113,7 +116,7 @@
  96399. DISK_LINKOBJS = @DISK_LINKOBJS@
  96400. DISK_PROGRAMS = @DISK_PROGRAMS@
  96401. DSYMUTIL = @DSYMUTIL@
  96402. -ECHO = @ECHO@
  96403. +DUMPBIN = @DUMPBIN@
  96404. ECHO_C = @ECHO_C@
  96405. ECHO_N = @ECHO_N@
  96406. ECHO_T = @ECHO_T@
  96407. @@ -123,10 +126,10 @@
  96408. ERR_LANGUAGES = @ERR_LANGUAGES@
  96409. EXEEXT = @EXEEXT@
  96410. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  96411. -F77 = @F77@
  96412. FALSE = @FALSE@
  96413. -FFLAGS = @FFLAGS@
  96414. +FGREP = @FGREP@
  96415. GREP = @GREP@
  96416. +HOSTCXX = @HOSTCXX@
  96417. ICAP_LIBS = @ICAP_LIBS@
  96418. INSTALL = @INSTALL@
  96419. INSTALL_DATA = @INSTALL_DATA@
  96420. @@ -135,8 +138,12 @@
  96421. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  96422. KRB5INCS = @KRB5INCS@
  96423. KRB5LIBS = @KRB5LIBS@
  96424. +LD = @LD@
  96425. LDFLAGS = @LDFLAGS@
  96426. LIBADD_DL = @LIBADD_DL@
  96427. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  96428. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  96429. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  96430. LIBOBJS = @LIBOBJS@
  96431. LIBREGEX = @LIBREGEX@
  96432. LIBS = @LIBS@
  96433. @@ -145,9 +152,12 @@
  96434. LIB_DB = @LIB_DB@
  96435. LIB_LBER = @LIB_LBER@
  96436. LIB_LDAP = @LIB_LDAP@
  96437. +LIPO = @LIPO@
  96438. LN = @LN@
  96439. LN_S = @LN_S@
  96440. LTLIBOBJS = @LTLIBOBJS@
  96441. +LT_DLLOADERS = @LT_DLLOADERS@
  96442. +LT_DLPREOPEN = @LT_DLPREOPEN@
  96443. MAINT = @MAINT@
  96444. MAKEINFO = @MAKEINFO@
  96445. MINGW_LIBS = @MINGW_LIBS@
  96446. @@ -155,15 +165,20 @@
  96447. MKDIR_P = @MKDIR_P@
  96448. MV = @MV@
  96449. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  96450. +NM = @NM@
  96451. NMEDIT = @NMEDIT@
  96452. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  96453. +OBJDUMP = @OBJDUMP@
  96454. OBJEXT = @OBJEXT@
  96455. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  96456. +OTOOL = @OTOOL@
  96457. +OTOOL64 = @OTOOL64@
  96458. PACKAGE = @PACKAGE@
  96459. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  96460. PACKAGE_NAME = @PACKAGE_NAME@
  96461. PACKAGE_STRING = @PACKAGE_STRING@
  96462. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  96463. +PACKAGE_URL = @PACKAGE_URL@
  96464. PACKAGE_VERSION = @PACKAGE_VERSION@
  96465. PATH_SEPARATOR = @PATH_SEPARATOR@
  96466. PERL = @PERL@
  96467. @@ -200,7 +215,7 @@
  96468. abs_top_srcdir = @abs_top_srcdir@
  96469. ac_ct_CC = @ac_ct_CC@
  96470. ac_ct_CXX = @ac_ct_CXX@
  96471. -ac_ct_F77 = @ac_ct_F77@
  96472. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  96473. ac_krb5_config = @ac_krb5_config@
  96474. am__include = @am__include@
  96475. am__leading_dot = @am__leading_dot@
  96476. @@ -232,6 +247,7 @@
  96477. libexecdir = @libexecdir@
  96478. localedir = @localedir@
  96479. localstatedir = @localstatedir@
  96480. +lt_ECHO = @lt_ECHO@
  96481. makesnmplib = @makesnmplib@
  96482. mandir = @mandir@
  96483. mkdir_p = @mkdir_p@
  96484. @@ -260,14 +276,14 @@
  96485. @for dep in $?; do \
  96486. case '$(am__configure_deps)' in \
  96487. *$$dep*) \
  96488. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  96489. - && exit 0; \
  96490. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  96491. + && { if test -f $@; then exit 0; else break; fi; }; \
  96492. exit 1;; \
  96493. esac; \
  96494. done; \
  96495. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/SASL/Makefile'; \
  96496. - cd $(top_srcdir) && \
  96497. - $(AUTOMAKE) --foreign helpers/basic_auth/SASL/Makefile
  96498. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/SASL/Makefile'; \
  96499. + $(am__cd) $(top_srcdir) && \
  96500. + $(AUTOMAKE) --foreign helpers/basic_auth/SASL/Makefile
  96501. .PRECIOUS: Makefile
  96502. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  96503. @case '$?' in \
  96504. @@ -285,34 +301,50 @@
  96505. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  96506. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  96507. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  96508. +$(am__aclocal_m4_deps):
  96509. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  96510. @$(NORMAL_INSTALL)
  96511. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  96512. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  96513. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  96514. - if test -f $$p \
  96515. - || test -f $$p1 \
  96516. - ; then \
  96517. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  96518. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  96519. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  96520. - else :; fi; \
  96521. - done
  96522. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  96523. + for p in $$list; do echo "$$p $$p"; done | \
  96524. + sed 's/$(EXEEXT)$$//' | \
  96525. + while read p p1; do if test -f $$p || test -f $$p1; \
  96526. + then echo "$$p"; echo "$$p"; else :; fi; \
  96527. + done | \
  96528. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  96529. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  96530. + sed 'N;N;N;s,\n, ,g' | \
  96531. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  96532. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  96533. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  96534. + else { print "f", $$3 "/" $$4, $$1; } } \
  96535. + END { for (d in files) print "f", d, files[d] }' | \
  96536. + while read type dir files; do \
  96537. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  96538. + test -z "$$files" || { \
  96539. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  96540. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  96541. + } \
  96542. + ; done
  96543. uninstall-libexecPROGRAMS:
  96544. @$(NORMAL_UNINSTALL)
  96545. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  96546. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  96547. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  96548. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  96549. - done
  96550. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  96551. + files=`for p in $$list; do echo "$$p"; done | \
  96552. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  96553. + -e 's/$$/$(EXEEXT)/' `; \
  96554. + test -n "$$list" || exit 0; \
  96555. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  96556. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  96557. clean-libexecPROGRAMS:
  96558. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  96559. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  96560. - echo " rm -f $$p $$f"; \
  96561. - rm -f $$p $$f ; \
  96562. - done
  96563. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  96564. + echo " rm -f" $$list; \
  96565. + rm -f $$list || exit $$?; \
  96566. + test -n "$(EXEEXT)" || exit 0; \
  96567. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  96568. + echo " rm -f" $$list; \
  96569. + rm -f $$list
  96570. sasl_auth$(EXEEXT): $(sasl_auth_OBJECTS) $(sasl_auth_DEPENDENCIES)
  96571. @rm -f sasl_auth$(EXEEXT)
  96572. $(LINK) $(sasl_auth_OBJECTS) $(sasl_auth_LDADD) $(LIBS)
  96573. @@ -327,21 +359,21 @@
  96574. .c.o:
  96575. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  96576. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  96577. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  96578. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  96579. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  96580. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  96581. .c.obj:
  96582. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  96583. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  96584. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  96585. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  96586. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  96587. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  96588. .c.lo:
  96589. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  96590. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  96591. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  96592. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  96593. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  96594. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  96595. @@ -357,14 +389,14 @@
  96596. unique=`for i in $$list; do \
  96597. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  96598. done | \
  96599. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  96600. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  96601. END { if (nonempty) { for (i in files) print i; }; }'`; \
  96602. mkid -fID $$unique
  96603. tags: TAGS
  96604. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  96605. $(TAGS_FILES) $(LISP)
  96606. - tags=; \
  96607. + set x; \
  96608. here=`pwd`; \
  96609. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  96610. unique=`for i in $$list; do \
  96611. @@ -372,29 +404,34 @@
  96612. done | \
  96613. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  96614. END { if (nonempty) { for (i in files) print i; }; }'`; \
  96615. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  96616. + shift; \
  96617. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  96618. test -n "$$unique" || unique=$$empty_fix; \
  96619. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  96620. - $$tags $$unique; \
  96621. + if test $$# -gt 0; then \
  96622. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  96623. + "$$@" $$unique; \
  96624. + else \
  96625. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  96626. + $$unique; \
  96627. + fi; \
  96628. fi
  96629. ctags: CTAGS
  96630. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  96631. $(TAGS_FILES) $(LISP)
  96632. - tags=; \
  96633. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  96634. unique=`for i in $$list; do \
  96635. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  96636. done | \
  96637. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  96638. END { if (nonempty) { for (i in files) print i; }; }'`; \
  96639. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  96640. + test -z "$(CTAGS_ARGS)$$unique" \
  96641. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  96642. - $$tags $$unique
  96643. + $$unique
  96644. GTAGS:
  96645. here=`$(am__cd) $(top_builddir) && pwd` \
  96646. - && cd $(top_srcdir) \
  96647. - && gtags -i $(GTAGS_ARGS) $$here
  96648. + && $(am__cd) $(top_srcdir) \
  96649. + && gtags -i $(GTAGS_ARGS) "$$here"
  96650. distclean-tags:
  96651. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  96652. @@ -415,13 +452,17 @@
  96653. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  96654. if test -d $$d/$$file; then \
  96655. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  96656. + if test -d "$(distdir)/$$file"; then \
  96657. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  96658. + fi; \
  96659. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  96660. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  96661. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  96662. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  96663. fi; \
  96664. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  96665. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  96666. else \
  96667. - test -f $(distdir)/$$file \
  96668. - || cp -p $$d/$$file $(distdir)/$$file \
  96669. + test -f "$(distdir)/$$file" \
  96670. + || cp -p $$d/$$file "$(distdir)/$$file" \
  96671. || exit 1; \
  96672. fi; \
  96673. done
  96674. @@ -452,6 +493,7 @@
  96675. distclean-generic:
  96676. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  96677. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  96678. maintainer-clean-generic:
  96679. @echo "This command is intended for maintainers to use"
  96680. @@ -473,6 +515,8 @@
  96681. html: html-am
  96682. +html-am:
  96683. +
  96684. info: info-am
  96685. info-am:
  96686. @@ -481,18 +525,28 @@
  96687. install-dvi: install-dvi-am
  96688. +install-dvi-am:
  96689. +
  96690. install-exec-am: install-libexecPROGRAMS
  96691. install-html: install-html-am
  96692. +install-html-am:
  96693. +
  96694. install-info: install-info-am
  96695. +install-info-am:
  96696. +
  96697. install-man:
  96698. install-pdf: install-pdf-am
  96699. +install-pdf-am:
  96700. +
  96701. install-ps: install-ps-am
  96702. +install-ps-am:
  96703. +
  96704. installcheck-am:
  96705. maintainer-clean: maintainer-clean-am
  96706. @@ -531,6 +585,7 @@
  96707. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  96708. tags uninstall uninstall-am uninstall-libexecPROGRAMS
  96709. +
  96710. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  96711. # Otherwise a system limit (for SysV at least) may be exceeded.
  96712. .NOEXPORT:
  96713. diff -Nur squid-3.0.STABLE20.orig/helpers/basic_auth/SMB/Makefile.in squid-3.0.STABLE20/helpers/basic_auth/SMB/Makefile.in
  96714. --- squid-3.0.STABLE20.orig/helpers/basic_auth/SMB/Makefile.in 2009-10-29 11:05:38.000000000 +0100
  96715. +++ squid-3.0.STABLE20/helpers/basic_auth/SMB/Makefile.in 2010-02-19 00:39:17.244853129 +0100
  96716. @@ -1,8 +1,9 @@
  96717. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  96718. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  96719. # @configure_input@
  96720. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  96721. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  96722. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  96723. +# Inc.
  96724. # This Makefile.in is free software; the Free Software Foundation
  96725. # gives unlimited permission to copy and/or distribute it,
  96726. # with or without modifications, as long as this notice is preserved.
  96727. @@ -30,8 +31,9 @@
  96728. VPATH = @srcdir@
  96729. pkgdatadir = $(datadir)/@PACKAGE@
  96730. -pkglibdir = $(libdir)/@PACKAGE@
  96731. pkgincludedir = $(includedir)/@PACKAGE@
  96732. +pkglibdir = $(libdir)/@PACKAGE@
  96733. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  96734. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  96735. install_sh_DATA = $(install_sh) -c -m 644
  96736. install_sh_PROGRAM = $(install_sh) -c
  96737. @@ -58,8 +60,8 @@
  96738. mkinstalldirs = $(install_sh) -d
  96739. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  96740. CONFIG_CLEAN_FILES =
  96741. +CONFIG_CLEAN_VPATH_FILES =
  96742. am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(libexecdir)"
  96743. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  96744. PROGRAMS = $(libexec_PROGRAMS)
  96745. smb_auth_SOURCES = smb_auth.c
  96746. smb_auth_OBJECTS = smb_auth-smb_auth.$(OBJEXT)
  96747. @@ -69,11 +71,32 @@
  96748. smb_auth_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  96749. --mode=link $(CCLD) $(smb_auth_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  96750. $(LDFLAGS) -o $@
  96751. -libexecSCRIPT_INSTALL = $(INSTALL_SCRIPT)
  96752. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  96753. +am__vpath_adj = case $$p in \
  96754. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  96755. + *) f=$$p;; \
  96756. + esac;
  96757. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  96758. +am__install_max = 40
  96759. +am__nobase_strip_setup = \
  96760. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  96761. +am__nobase_strip = \
  96762. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  96763. +am__nobase_list = $(am__nobase_strip_setup); \
  96764. + for p in $$list; do echo "$$p $$p"; done | \
  96765. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  96766. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  96767. + if (++n[$$2] == $(am__install_max)) \
  96768. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  96769. + END { for (dir in files) print dir, files[dir] }'
  96770. +am__base_list = \
  96771. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  96772. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  96773. SCRIPTS = $(libexec_SCRIPTS)
  96774. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  96775. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  96776. am__depfiles_maybe = depfiles
  96777. +am__mv = mv -f
  96778. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  96779. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  96780. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  96781. @@ -125,7 +148,7 @@
  96782. DISK_LINKOBJS = @DISK_LINKOBJS@
  96783. DISK_PROGRAMS = @DISK_PROGRAMS@
  96784. DSYMUTIL = @DSYMUTIL@
  96785. -ECHO = @ECHO@
  96786. +DUMPBIN = @DUMPBIN@
  96787. ECHO_C = @ECHO_C@
  96788. ECHO_N = @ECHO_N@
  96789. ECHO_T = @ECHO_T@
  96790. @@ -135,10 +158,10 @@
  96791. ERR_LANGUAGES = @ERR_LANGUAGES@
  96792. EXEEXT = @EXEEXT@
  96793. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  96794. -F77 = @F77@
  96795. FALSE = @FALSE@
  96796. -FFLAGS = @FFLAGS@
  96797. +FGREP = @FGREP@
  96798. GREP = @GREP@
  96799. +HOSTCXX = @HOSTCXX@
  96800. ICAP_LIBS = @ICAP_LIBS@
  96801. INSTALL = @INSTALL@
  96802. INSTALL_DATA = @INSTALL_DATA@
  96803. @@ -147,8 +170,12 @@
  96804. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  96805. KRB5INCS = @KRB5INCS@
  96806. KRB5LIBS = @KRB5LIBS@
  96807. +LD = @LD@
  96808. LDFLAGS = @LDFLAGS@
  96809. LIBADD_DL = @LIBADD_DL@
  96810. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  96811. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  96812. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  96813. LIBOBJS = @LIBOBJS@
  96814. LIBREGEX = @LIBREGEX@
  96815. LIBS = @LIBS@
  96816. @@ -157,9 +184,12 @@
  96817. LIB_DB = @LIB_DB@
  96818. LIB_LBER = @LIB_LBER@
  96819. LIB_LDAP = @LIB_LDAP@
  96820. +LIPO = @LIPO@
  96821. LN = @LN@
  96822. LN_S = @LN_S@
  96823. LTLIBOBJS = @LTLIBOBJS@
  96824. +LT_DLLOADERS = @LT_DLLOADERS@
  96825. +LT_DLPREOPEN = @LT_DLPREOPEN@
  96826. MAINT = @MAINT@
  96827. MAKEINFO = @MAKEINFO@
  96828. MINGW_LIBS = @MINGW_LIBS@
  96829. @@ -167,15 +197,20 @@
  96830. MKDIR_P = @MKDIR_P@
  96831. MV = @MV@
  96832. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  96833. +NM = @NM@
  96834. NMEDIT = @NMEDIT@
  96835. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  96836. +OBJDUMP = @OBJDUMP@
  96837. OBJEXT = @OBJEXT@
  96838. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  96839. +OTOOL = @OTOOL@
  96840. +OTOOL64 = @OTOOL64@
  96841. PACKAGE = @PACKAGE@
  96842. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  96843. PACKAGE_NAME = @PACKAGE_NAME@
  96844. PACKAGE_STRING = @PACKAGE_STRING@
  96845. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  96846. +PACKAGE_URL = @PACKAGE_URL@
  96847. PACKAGE_VERSION = @PACKAGE_VERSION@
  96848. PATH_SEPARATOR = @PATH_SEPARATOR@
  96849. PERL = @PERL@
  96850. @@ -212,7 +247,7 @@
  96851. abs_top_srcdir = @abs_top_srcdir@
  96852. ac_ct_CC = @ac_ct_CC@
  96853. ac_ct_CXX = @ac_ct_CXX@
  96854. -ac_ct_F77 = @ac_ct_F77@
  96855. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  96856. ac_krb5_config = @ac_krb5_config@
  96857. am__include = @am__include@
  96858. am__leading_dot = @am__leading_dot@
  96859. @@ -244,6 +279,7 @@
  96860. libexecdir = @libexecdir@
  96861. localedir = @localedir@
  96862. localstatedir = @localstatedir@
  96863. +lt_ECHO = @lt_ECHO@
  96864. makesnmplib = @makesnmplib@
  96865. mandir = @mandir@
  96866. mkdir_p = @mkdir_p@
  96867. @@ -277,14 +313,14 @@
  96868. @for dep in $?; do \
  96869. case '$(am__configure_deps)' in \
  96870. *$$dep*) \
  96871. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  96872. - && exit 0; \
  96873. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  96874. + && { if test -f $@; then exit 0; else break; fi; }; \
  96875. exit 1;; \
  96876. esac; \
  96877. done; \
  96878. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/SMB/Makefile'; \
  96879. - cd $(top_srcdir) && \
  96880. - $(AUTOMAKE) --foreign helpers/basic_auth/SMB/Makefile
  96881. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/SMB/Makefile'; \
  96882. + $(am__cd) $(top_srcdir) && \
  96883. + $(AUTOMAKE) --foreign helpers/basic_auth/SMB/Makefile
  96884. .PRECIOUS: Makefile
  96885. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  96886. @case '$?' in \
  96887. @@ -302,56 +338,87 @@
  96888. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  96889. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  96890. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  96891. +$(am__aclocal_m4_deps):
  96892. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  96893. @$(NORMAL_INSTALL)
  96894. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  96895. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  96896. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  96897. - if test -f $$p \
  96898. - || test -f $$p1 \
  96899. - ; then \
  96900. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  96901. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  96902. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  96903. - else :; fi; \
  96904. - done
  96905. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  96906. + for p in $$list; do echo "$$p $$p"; done | \
  96907. + sed 's/$(EXEEXT)$$//' | \
  96908. + while read p p1; do if test -f $$p || test -f $$p1; \
  96909. + then echo "$$p"; echo "$$p"; else :; fi; \
  96910. + done | \
  96911. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  96912. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  96913. + sed 'N;N;N;s,\n, ,g' | \
  96914. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  96915. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  96916. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  96917. + else { print "f", $$3 "/" $$4, $$1; } } \
  96918. + END { for (d in files) print "f", d, files[d] }' | \
  96919. + while read type dir files; do \
  96920. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  96921. + test -z "$$files" || { \
  96922. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  96923. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  96924. + } \
  96925. + ; done
  96926. uninstall-libexecPROGRAMS:
  96927. @$(NORMAL_UNINSTALL)
  96928. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  96929. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  96930. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  96931. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  96932. - done
  96933. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  96934. + files=`for p in $$list; do echo "$$p"; done | \
  96935. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  96936. + -e 's/$$/$(EXEEXT)/' `; \
  96937. + test -n "$$list" || exit 0; \
  96938. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  96939. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  96940. clean-libexecPROGRAMS:
  96941. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  96942. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  96943. - echo " rm -f $$p $$f"; \
  96944. - rm -f $$p $$f ; \
  96945. - done
  96946. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  96947. + echo " rm -f" $$list; \
  96948. + rm -f $$list || exit $$?; \
  96949. + test -n "$(EXEEXT)" || exit 0; \
  96950. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  96951. + echo " rm -f" $$list; \
  96952. + rm -f $$list
  96953. smb_auth$(EXEEXT): $(smb_auth_OBJECTS) $(smb_auth_DEPENDENCIES)
  96954. @rm -f smb_auth$(EXEEXT)
  96955. $(smb_auth_LINK) $(smb_auth_OBJECTS) $(smb_auth_LDADD) $(LIBS)
  96956. install-libexecSCRIPTS: $(libexec_SCRIPTS)
  96957. @$(NORMAL_INSTALL)
  96958. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  96959. - @list='$(libexec_SCRIPTS)'; for p in $$list; do \
  96960. + @list='$(libexec_SCRIPTS)'; test -n "$(libexecdir)" || list=; \
  96961. + for p in $$list; do \
  96962. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  96963. - if test -f $$d$$p; then \
  96964. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  96965. - echo " $(libexecSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  96966. - $(libexecSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(libexecdir)/$$f"; \
  96967. - else :; fi; \
  96968. - done
  96969. + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
  96970. + done | \
  96971. + sed -e 'p;s,.*/,,;n' \
  96972. + -e 'h;s|.*|.|' \
  96973. + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
  96974. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
  96975. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  96976. + if ($$2 == $$4) { files[d] = files[d] " " $$1; \
  96977. + if (++n[d] == $(am__install_max)) { \
  96978. + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
  96979. + else { print "f", d "/" $$4, $$1 } } \
  96980. + END { for (d in files) print "f", d, files[d] }' | \
  96981. + while read type dir files; do \
  96982. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  96983. + test -z "$$files" || { \
  96984. + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  96985. + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  96986. + } \
  96987. + ; done
  96988. uninstall-libexecSCRIPTS:
  96989. @$(NORMAL_UNINSTALL)
  96990. - @list='$(libexec_SCRIPTS)'; for p in $$list; do \
  96991. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  96992. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  96993. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  96994. - done
  96995. + @list='$(libexec_SCRIPTS)'; test -n "$(libexecdir)" || exit 0; \
  96996. + files=`for p in $$list; do echo "$$p"; done | \
  96997. + sed -e 's,.*/,,;$(transform)'`; \
  96998. + test -n "$$list" || exit 0; \
  96999. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  97000. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  97001. mostlyclean-compile:
  97002. -rm -f *.$(OBJEXT)
  97003. @@ -363,35 +430,35 @@
  97004. .c.o:
  97005. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  97006. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  97007. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  97008. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  97009. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  97010. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  97011. .c.obj:
  97012. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  97013. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  97014. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  97015. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  97016. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  97017. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  97018. .c.lo:
  97019. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  97020. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  97021. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  97022. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  97023. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  97024. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  97025. smb_auth-smb_auth.o: smb_auth.c
  97026. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(smb_auth_CFLAGS) $(CFLAGS) -MT smb_auth-smb_auth.o -MD -MP -MF $(DEPDIR)/smb_auth-smb_auth.Tpo -c -o smb_auth-smb_auth.o `test -f 'smb_auth.c' || echo '$(srcdir)/'`smb_auth.c
  97027. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/smb_auth-smb_auth.Tpo $(DEPDIR)/smb_auth-smb_auth.Po
  97028. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/smb_auth-smb_auth.Tpo $(DEPDIR)/smb_auth-smb_auth.Po
  97029. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='smb_auth.c' object='smb_auth-smb_auth.o' libtool=no @AMDEPBACKSLASH@
  97030. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  97031. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(smb_auth_CFLAGS) $(CFLAGS) -c -o smb_auth-smb_auth.o `test -f 'smb_auth.c' || echo '$(srcdir)/'`smb_auth.c
  97032. smb_auth-smb_auth.obj: smb_auth.c
  97033. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(smb_auth_CFLAGS) $(CFLAGS) -MT smb_auth-smb_auth.obj -MD -MP -MF $(DEPDIR)/smb_auth-smb_auth.Tpo -c -o smb_auth-smb_auth.obj `if test -f 'smb_auth.c'; then $(CYGPATH_W) 'smb_auth.c'; else $(CYGPATH_W) '$(srcdir)/smb_auth.c'; fi`
  97034. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/smb_auth-smb_auth.Tpo $(DEPDIR)/smb_auth-smb_auth.Po
  97035. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/smb_auth-smb_auth.Tpo $(DEPDIR)/smb_auth-smb_auth.Po
  97036. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='smb_auth.c' object='smb_auth-smb_auth.obj' libtool=no @AMDEPBACKSLASH@
  97037. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  97038. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(smb_auth_CFLAGS) $(CFLAGS) -c -o smb_auth-smb_auth.obj `if test -f 'smb_auth.c'; then $(CYGPATH_W) 'smb_auth.c'; else $(CYGPATH_W) '$(srcdir)/smb_auth.c'; fi`
  97039. @@ -407,14 +474,14 @@
  97040. unique=`for i in $$list; do \
  97041. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  97042. done | \
  97043. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  97044. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  97045. END { if (nonempty) { for (i in files) print i; }; }'`; \
  97046. mkid -fID $$unique
  97047. tags: TAGS
  97048. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  97049. $(TAGS_FILES) $(LISP)
  97050. - tags=; \
  97051. + set x; \
  97052. here=`pwd`; \
  97053. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  97054. unique=`for i in $$list; do \
  97055. @@ -422,29 +489,34 @@
  97056. done | \
  97057. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  97058. END { if (nonempty) { for (i in files) print i; }; }'`; \
  97059. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  97060. + shift; \
  97061. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  97062. test -n "$$unique" || unique=$$empty_fix; \
  97063. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  97064. - $$tags $$unique; \
  97065. + if test $$# -gt 0; then \
  97066. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  97067. + "$$@" $$unique; \
  97068. + else \
  97069. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  97070. + $$unique; \
  97071. + fi; \
  97072. fi
  97073. ctags: CTAGS
  97074. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  97075. $(TAGS_FILES) $(LISP)
  97076. - tags=; \
  97077. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  97078. unique=`for i in $$list; do \
  97079. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  97080. done | \
  97081. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  97082. END { if (nonempty) { for (i in files) print i; }; }'`; \
  97083. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  97084. + test -z "$(CTAGS_ARGS)$$unique" \
  97085. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  97086. - $$tags $$unique
  97087. + $$unique
  97088. GTAGS:
  97089. here=`$(am__cd) $(top_builddir) && pwd` \
  97090. - && cd $(top_srcdir) \
  97091. - && gtags -i $(GTAGS_ARGS) $$here
  97092. + && $(am__cd) $(top_srcdir) \
  97093. + && gtags -i $(GTAGS_ARGS) "$$here"
  97094. distclean-tags:
  97095. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  97096. @@ -465,13 +537,17 @@
  97097. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  97098. if test -d $$d/$$file; then \
  97099. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  97100. + if test -d "$(distdir)/$$file"; then \
  97101. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  97102. + fi; \
  97103. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  97104. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  97105. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  97106. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  97107. fi; \
  97108. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  97109. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  97110. else \
  97111. - test -f $(distdir)/$$file \
  97112. - || cp -p $$d/$$file $(distdir)/$$file \
  97113. + test -f "$(distdir)/$$file" \
  97114. + || cp -p $$d/$$file "$(distdir)/$$file" \
  97115. || exit 1; \
  97116. fi; \
  97117. done
  97118. @@ -502,6 +578,7 @@
  97119. distclean-generic:
  97120. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  97121. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  97122. maintainer-clean-generic:
  97123. @echo "This command is intended for maintainers to use"
  97124. @@ -523,6 +600,8 @@
  97125. html: html-am
  97126. +html-am:
  97127. +
  97128. info: info-am
  97129. info-am:
  97130. @@ -531,18 +610,28 @@
  97131. install-dvi: install-dvi-am
  97132. +install-dvi-am:
  97133. +
  97134. install-exec-am: install-libexecPROGRAMS install-libexecSCRIPTS
  97135. install-html: install-html-am
  97136. +install-html-am:
  97137. +
  97138. install-info: install-info-am
  97139. +install-info-am:
  97140. +
  97141. install-man:
  97142. install-pdf: install-pdf-am
  97143. +install-pdf-am:
  97144. +
  97145. install-ps: install-ps-am
  97146. +install-ps-am:
  97147. +
  97148. installcheck-am:
  97149. maintainer-clean: maintainer-clean-am
  97150. @@ -582,6 +671,7 @@
  97151. pdf pdf-am ps ps-am tags uninstall uninstall-am \
  97152. uninstall-libexecPROGRAMS uninstall-libexecSCRIPTS
  97153. +
  97154. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  97155. # Otherwise a system limit (for SysV at least) may be exceeded.
  97156. .NOEXPORT:
  97157. diff -Nur squid-3.0.STABLE20.orig/helpers/basic_auth/squid_radius_auth/Makefile.in squid-3.0.STABLE20/helpers/basic_auth/squid_radius_auth/Makefile.in
  97158. --- squid-3.0.STABLE20.orig/helpers/basic_auth/squid_radius_auth/Makefile.in 2009-10-29 11:05:39.000000000 +0100
  97159. +++ squid-3.0.STABLE20/helpers/basic_auth/squid_radius_auth/Makefile.in 2010-02-19 00:39:18.069651213 +0100
  97160. @@ -1,8 +1,9 @@
  97161. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  97162. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  97163. # @configure_input@
  97164. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  97165. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  97166. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  97167. +# Inc.
  97168. # This Makefile.in is free software; the Free Software Foundation
  97169. # gives unlimited permission to copy and/or distribute it,
  97170. # with or without modifications, as long as this notice is preserved.
  97171. @@ -24,8 +25,9 @@
  97172. VPATH = @srcdir@
  97173. pkgdatadir = $(datadir)/@PACKAGE@
  97174. -pkglibdir = $(libdir)/@PACKAGE@
  97175. pkgincludedir = $(includedir)/@PACKAGE@
  97176. +pkglibdir = $(libdir)/@PACKAGE@
  97177. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  97178. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  97179. install_sh_DATA = $(install_sh) -c -m 644
  97180. install_sh_PROGRAM = $(install_sh) -c
  97181. @@ -51,8 +53,8 @@
  97182. mkinstalldirs = $(install_sh) -d
  97183. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  97184. CONFIG_CLEAN_FILES =
  97185. +CONFIG_CLEAN_VPATH_FILES =
  97186. am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man8dir)"
  97187. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  97188. PROGRAMS = $(libexec_PROGRAMS)
  97189. am_squid_radius_auth_OBJECTS = squid_rad_auth.$(OBJEXT) \
  97190. radius-util.$(OBJEXT)
  97191. @@ -64,6 +66,7 @@
  97192. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  97193. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  97194. am__depfiles_maybe = depfiles
  97195. +am__mv = mv -f
  97196. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  97197. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  97198. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  97199. @@ -75,6 +78,27 @@
  97200. $(LDFLAGS) -o $@
  97201. SOURCES = $(squid_radius_auth_SOURCES)
  97202. DIST_SOURCES = $(squid_radius_auth_SOURCES)
  97203. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  97204. +am__vpath_adj = case $$p in \
  97205. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  97206. + *) f=$$p;; \
  97207. + esac;
  97208. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  97209. +am__install_max = 40
  97210. +am__nobase_strip_setup = \
  97211. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  97212. +am__nobase_strip = \
  97213. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  97214. +am__nobase_list = $(am__nobase_strip_setup); \
  97215. + for p in $$list; do echo "$$p $$p"; done | \
  97216. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  97217. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  97218. + if (++n[$$2] == $(am__install_max)) \
  97219. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  97220. + END { for (dir in files) print dir, files[dir] }'
  97221. +am__base_list = \
  97222. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  97223. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  97224. man8dir = $(mandir)/man8
  97225. NROFF = nroff
  97226. MANS = $(man_MANS)
  97227. @@ -118,7 +142,7 @@
  97228. DISK_LINKOBJS = @DISK_LINKOBJS@
  97229. DISK_PROGRAMS = @DISK_PROGRAMS@
  97230. DSYMUTIL = @DSYMUTIL@
  97231. -ECHO = @ECHO@
  97232. +DUMPBIN = @DUMPBIN@
  97233. ECHO_C = @ECHO_C@
  97234. ECHO_N = @ECHO_N@
  97235. ECHO_T = @ECHO_T@
  97236. @@ -128,10 +152,10 @@
  97237. ERR_LANGUAGES = @ERR_LANGUAGES@
  97238. EXEEXT = @EXEEXT@
  97239. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  97240. -F77 = @F77@
  97241. FALSE = @FALSE@
  97242. -FFLAGS = @FFLAGS@
  97243. +FGREP = @FGREP@
  97244. GREP = @GREP@
  97245. +HOSTCXX = @HOSTCXX@
  97246. ICAP_LIBS = @ICAP_LIBS@
  97247. INSTALL = @INSTALL@
  97248. INSTALL_DATA = @INSTALL_DATA@
  97249. @@ -140,8 +164,12 @@
  97250. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  97251. KRB5INCS = @KRB5INCS@
  97252. KRB5LIBS = @KRB5LIBS@
  97253. +LD = @LD@
  97254. LDFLAGS = @LDFLAGS@
  97255. LIBADD_DL = @LIBADD_DL@
  97256. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  97257. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  97258. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  97259. LIBOBJS = @LIBOBJS@
  97260. LIBREGEX = @LIBREGEX@
  97261. LIBS = @LIBS@
  97262. @@ -150,9 +178,12 @@
  97263. LIB_DB = @LIB_DB@
  97264. LIB_LBER = @LIB_LBER@
  97265. LIB_LDAP = @LIB_LDAP@
  97266. +LIPO = @LIPO@
  97267. LN = @LN@
  97268. LN_S = @LN_S@
  97269. LTLIBOBJS = @LTLIBOBJS@
  97270. +LT_DLLOADERS = @LT_DLLOADERS@
  97271. +LT_DLPREOPEN = @LT_DLPREOPEN@
  97272. MAINT = @MAINT@
  97273. MAKEINFO = @MAKEINFO@
  97274. MINGW_LIBS = @MINGW_LIBS@
  97275. @@ -160,15 +191,20 @@
  97276. MKDIR_P = @MKDIR_P@
  97277. MV = @MV@
  97278. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  97279. +NM = @NM@
  97280. NMEDIT = @NMEDIT@
  97281. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  97282. +OBJDUMP = @OBJDUMP@
  97283. OBJEXT = @OBJEXT@
  97284. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  97285. +OTOOL = @OTOOL@
  97286. +OTOOL64 = @OTOOL64@
  97287. PACKAGE = @PACKAGE@
  97288. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  97289. PACKAGE_NAME = @PACKAGE_NAME@
  97290. PACKAGE_STRING = @PACKAGE_STRING@
  97291. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  97292. +PACKAGE_URL = @PACKAGE_URL@
  97293. PACKAGE_VERSION = @PACKAGE_VERSION@
  97294. PATH_SEPARATOR = @PATH_SEPARATOR@
  97295. PERL = @PERL@
  97296. @@ -205,7 +241,7 @@
  97297. abs_top_srcdir = @abs_top_srcdir@
  97298. ac_ct_CC = @ac_ct_CC@
  97299. ac_ct_CXX = @ac_ct_CXX@
  97300. -ac_ct_F77 = @ac_ct_F77@
  97301. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  97302. ac_krb5_config = @ac_krb5_config@
  97303. am__include = @am__include@
  97304. am__leading_dot = @am__leading_dot@
  97305. @@ -237,6 +273,7 @@
  97306. libexecdir = @libexecdir@
  97307. localedir = @localedir@
  97308. localstatedir = @localstatedir@
  97309. +lt_ECHO = @lt_ECHO@
  97310. makesnmplib = @makesnmplib@
  97311. mandir = @mandir@
  97312. mkdir_p = @mkdir_p@
  97313. @@ -272,14 +309,14 @@
  97314. @for dep in $?; do \
  97315. case '$(am__configure_deps)' in \
  97316. *$$dep*) \
  97317. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  97318. - && exit 0; \
  97319. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  97320. + && { if test -f $@; then exit 0; else break; fi; }; \
  97321. exit 1;; \
  97322. esac; \
  97323. done; \
  97324. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/squid_radius_auth/Makefile'; \
  97325. - cd $(top_srcdir) && \
  97326. - $(AUTOMAKE) --foreign helpers/basic_auth/squid_radius_auth/Makefile
  97327. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/squid_radius_auth/Makefile'; \
  97328. + $(am__cd) $(top_srcdir) && \
  97329. + $(AUTOMAKE) --foreign helpers/basic_auth/squid_radius_auth/Makefile
  97330. .PRECIOUS: Makefile
  97331. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  97332. @case '$?' in \
  97333. @@ -297,34 +334,50 @@
  97334. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  97335. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  97336. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  97337. +$(am__aclocal_m4_deps):
  97338. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  97339. @$(NORMAL_INSTALL)
  97340. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  97341. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  97342. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  97343. - if test -f $$p \
  97344. - || test -f $$p1 \
  97345. - ; then \
  97346. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  97347. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  97348. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  97349. - else :; fi; \
  97350. - done
  97351. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  97352. + for p in $$list; do echo "$$p $$p"; done | \
  97353. + sed 's/$(EXEEXT)$$//' | \
  97354. + while read p p1; do if test -f $$p || test -f $$p1; \
  97355. + then echo "$$p"; echo "$$p"; else :; fi; \
  97356. + done | \
  97357. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  97358. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  97359. + sed 'N;N;N;s,\n, ,g' | \
  97360. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  97361. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  97362. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  97363. + else { print "f", $$3 "/" $$4, $$1; } } \
  97364. + END { for (d in files) print "f", d, files[d] }' | \
  97365. + while read type dir files; do \
  97366. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  97367. + test -z "$$files" || { \
  97368. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  97369. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  97370. + } \
  97371. + ; done
  97372. uninstall-libexecPROGRAMS:
  97373. @$(NORMAL_UNINSTALL)
  97374. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  97375. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  97376. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  97377. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  97378. - done
  97379. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  97380. + files=`for p in $$list; do echo "$$p"; done | \
  97381. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  97382. + -e 's/$$/$(EXEEXT)/' `; \
  97383. + test -n "$$list" || exit 0; \
  97384. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  97385. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  97386. clean-libexecPROGRAMS:
  97387. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  97388. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  97389. - echo " rm -f $$p $$f"; \
  97390. - rm -f $$p $$f ; \
  97391. - done
  97392. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  97393. + echo " rm -f" $$list; \
  97394. + rm -f $$list || exit $$?; \
  97395. + test -n "$(EXEEXT)" || exit 0; \
  97396. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  97397. + echo " rm -f" $$list; \
  97398. + rm -f $$list
  97399. squid_radius_auth$(EXEEXT): $(squid_radius_auth_OBJECTS) $(squid_radius_auth_DEPENDENCIES)
  97400. @rm -f squid_radius_auth$(EXEEXT)
  97401. $(LINK) $(squid_radius_auth_OBJECTS) $(squid_radius_auth_LDADD) $(LIBS)
  97402. @@ -340,21 +393,21 @@
  97403. .c.o:
  97404. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  97405. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  97406. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  97407. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  97408. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  97409. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  97410. .c.obj:
  97411. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  97412. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  97413. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  97414. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  97415. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  97416. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  97417. .c.lo:
  97418. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  97419. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  97420. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  97421. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  97422. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  97423. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  97424. @@ -364,65 +417,58 @@
  97425. clean-libtool:
  97426. -rm -rf .libs _libs
  97427. -install-man8: $(man8_MANS) $(man_MANS)
  97428. +install-man8: $(man_MANS)
  97429. @$(NORMAL_INSTALL)
  97430. test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
  97431. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  97432. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  97433. - for i in $$l2; do \
  97434. - case "$$i" in \
  97435. - *.8*) list="$$list $$i" ;; \
  97436. - esac; \
  97437. + @list=''; test -n "$(man8dir)" || exit 0; \
  97438. + { for i in $$list; do echo "$$i"; done; \
  97439. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  97440. + sed -n '/\.8[a-z]*$$/p'; \
  97441. + } | while read p; do \
  97442. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  97443. + echo "$$d$$p"; echo "$$p"; \
  97444. + done | \
  97445. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  97446. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  97447. + sed 'N;N;s,\n, ,g' | { \
  97448. + list=; while read file base inst; do \
  97449. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  97450. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  97451. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
  97452. + fi; \
  97453. done; \
  97454. - for i in $$list; do \
  97455. - if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  97456. - else file=$$i; fi; \
  97457. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  97458. - case "$$ext" in \
  97459. - 8*) ;; \
  97460. - *) ext='8' ;; \
  97461. - esac; \
  97462. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  97463. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  97464. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  97465. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  97466. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
  97467. - done
  97468. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  97469. + while read files; do \
  97470. + test -z "$$files" || { \
  97471. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
  97472. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
  97473. + done; }
  97474. +
  97475. uninstall-man8:
  97476. @$(NORMAL_UNINSTALL)
  97477. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  97478. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  97479. - for i in $$l2; do \
  97480. - case "$$i" in \
  97481. - *.8*) list="$$list $$i" ;; \
  97482. - esac; \
  97483. - done; \
  97484. - for i in $$list; do \
  97485. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  97486. - case "$$ext" in \
  97487. - 8*) ;; \
  97488. - *) ext='8' ;; \
  97489. - esac; \
  97490. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  97491. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  97492. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  97493. - echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
  97494. - rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
  97495. - done
  97496. + @list=''; test -n "$(man8dir)" || exit 0; \
  97497. + files=`{ for i in $$list; do echo "$$i"; done; \
  97498. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  97499. + sed -n '/\.8[a-z]*$$/p'; \
  97500. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  97501. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  97502. + test -z "$$files" || { \
  97503. + echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \
  97504. + cd "$(DESTDIR)$(man8dir)" && rm -f $$files; }
  97505. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  97506. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  97507. unique=`for i in $$list; do \
  97508. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  97509. done | \
  97510. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  97511. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  97512. END { if (nonempty) { for (i in files) print i; }; }'`; \
  97513. mkid -fID $$unique
  97514. tags: TAGS
  97515. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  97516. $(TAGS_FILES) $(LISP)
  97517. - tags=; \
  97518. + set x; \
  97519. here=`pwd`; \
  97520. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  97521. unique=`for i in $$list; do \
  97522. @@ -430,34 +476,52 @@
  97523. done | \
  97524. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  97525. END { if (nonempty) { for (i in files) print i; }; }'`; \
  97526. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  97527. + shift; \
  97528. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  97529. test -n "$$unique" || unique=$$empty_fix; \
  97530. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  97531. - $$tags $$unique; \
  97532. + if test $$# -gt 0; then \
  97533. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  97534. + "$$@" $$unique; \
  97535. + else \
  97536. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  97537. + $$unique; \
  97538. + fi; \
  97539. fi
  97540. ctags: CTAGS
  97541. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  97542. $(TAGS_FILES) $(LISP)
  97543. - tags=; \
  97544. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  97545. unique=`for i in $$list; do \
  97546. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  97547. done | \
  97548. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  97549. END { if (nonempty) { for (i in files) print i; }; }'`; \
  97550. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  97551. + test -z "$(CTAGS_ARGS)$$unique" \
  97552. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  97553. - $$tags $$unique
  97554. + $$unique
  97555. GTAGS:
  97556. here=`$(am__cd) $(top_builddir) && pwd` \
  97557. - && cd $(top_srcdir) \
  97558. - && gtags -i $(GTAGS_ARGS) $$here
  97559. + && $(am__cd) $(top_srcdir) \
  97560. + && gtags -i $(GTAGS_ARGS) "$$here"
  97561. distclean-tags:
  97562. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  97563. distdir: $(DISTFILES)
  97564. + @list='$(MANS)'; if test -n "$$list"; then \
  97565. + list=`for p in $$list; do \
  97566. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  97567. + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  97568. + if test -n "$$list" && \
  97569. + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  97570. + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  97571. + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  97572. + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  97573. + echo " typically \`make maintainer-clean' will remove them" >&2; \
  97574. + exit 1; \
  97575. + else :; fi; \
  97576. + else :; fi
  97577. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  97578. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  97579. list='$(DISTFILES)'; \
  97580. @@ -473,13 +537,17 @@
  97581. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  97582. if test -d $$d/$$file; then \
  97583. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  97584. + if test -d "$(distdir)/$$file"; then \
  97585. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  97586. + fi; \
  97587. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  97588. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  97589. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  97590. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  97591. fi; \
  97592. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  97593. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  97594. else \
  97595. - test -f $(distdir)/$$file \
  97596. - || cp -p $$d/$$file $(distdir)/$$file \
  97597. + test -f "$(distdir)/$$file" \
  97598. + || cp -p $$d/$$file "$(distdir)/$$file" \
  97599. || exit 1; \
  97600. fi; \
  97601. done
  97602. @@ -510,6 +578,7 @@
  97603. distclean-generic:
  97604. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  97605. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  97606. maintainer-clean-generic:
  97607. @echo "This command is intended for maintainers to use"
  97608. @@ -531,6 +600,8 @@
  97609. html: html-am
  97610. +html-am:
  97611. +
  97612. info: info-am
  97613. info-am:
  97614. @@ -539,18 +610,28 @@
  97615. install-dvi: install-dvi-am
  97616. +install-dvi-am:
  97617. +
  97618. install-exec-am: install-libexecPROGRAMS
  97619. install-html: install-html-am
  97620. +install-html-am:
  97621. +
  97622. install-info: install-info-am
  97623. +install-info-am:
  97624. +
  97625. install-man: install-man8
  97626. install-pdf: install-pdf-am
  97627. +install-pdf-am:
  97628. +
  97629. install-ps: install-ps-am
  97630. +install-ps-am:
  97631. +
  97632. installcheck-am:
  97633. maintainer-clean: maintainer-clean-am
  97634. @@ -592,6 +673,7 @@
  97635. tags uninstall uninstall-am uninstall-libexecPROGRAMS \
  97636. uninstall-man uninstall-man8
  97637. +
  97638. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  97639. # Otherwise a system limit (for SysV at least) may be exceeded.
  97640. .NOEXPORT:
  97641. diff -Nur squid-3.0.STABLE20.orig/helpers/basic_auth/YP/Makefile.in squid-3.0.STABLE20/helpers/basic_auth/YP/Makefile.in
  97642. --- squid-3.0.STABLE20.orig/helpers/basic_auth/YP/Makefile.in 2009-10-29 11:05:38.000000000 +0100
  97643. +++ squid-3.0.STABLE20/helpers/basic_auth/YP/Makefile.in 2010-02-19 00:39:17.428852828 +0100
  97644. @@ -1,8 +1,9 @@
  97645. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  97646. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  97647. # @configure_input@
  97648. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  97649. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  97650. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  97651. +# Inc.
  97652. # This Makefile.in is free software; the Free Software Foundation
  97653. # gives unlimited permission to copy and/or distribute it,
  97654. # with or without modifications, as long as this notice is preserved.
  97655. @@ -23,8 +24,9 @@
  97656. VPATH = @srcdir@
  97657. pkgdatadir = $(datadir)/@PACKAGE@
  97658. -pkglibdir = $(libdir)/@PACKAGE@
  97659. pkgincludedir = $(includedir)/@PACKAGE@
  97660. +pkglibdir = $(libdir)/@PACKAGE@
  97661. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  97662. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  97663. install_sh_DATA = $(install_sh) -c -m 644
  97664. install_sh_PROGRAM = $(install_sh) -c
  97665. @@ -50,8 +52,8 @@
  97666. mkinstalldirs = $(install_sh) -d
  97667. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  97668. CONFIG_CLEAN_FILES =
  97669. +CONFIG_CLEAN_VPATH_FILES =
  97670. am__installdirs = "$(DESTDIR)$(libexecdir)"
  97671. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  97672. PROGRAMS = $(libexec_PROGRAMS)
  97673. am_yp_auth_OBJECTS = yp_auth.$(OBJEXT) nis_support.$(OBJEXT)
  97674. yp_auth_OBJECTS = $(am_yp_auth_OBJECTS)
  97675. @@ -61,6 +63,7 @@
  97676. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  97677. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  97678. am__depfiles_maybe = depfiles
  97679. +am__mv = mv -f
  97680. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  97681. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  97682. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  97683. @@ -112,7 +115,7 @@
  97684. DISK_LINKOBJS = @DISK_LINKOBJS@
  97685. DISK_PROGRAMS = @DISK_PROGRAMS@
  97686. DSYMUTIL = @DSYMUTIL@
  97687. -ECHO = @ECHO@
  97688. +DUMPBIN = @DUMPBIN@
  97689. ECHO_C = @ECHO_C@
  97690. ECHO_N = @ECHO_N@
  97691. ECHO_T = @ECHO_T@
  97692. @@ -122,10 +125,10 @@
  97693. ERR_LANGUAGES = @ERR_LANGUAGES@
  97694. EXEEXT = @EXEEXT@
  97695. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  97696. -F77 = @F77@
  97697. FALSE = @FALSE@
  97698. -FFLAGS = @FFLAGS@
  97699. +FGREP = @FGREP@
  97700. GREP = @GREP@
  97701. +HOSTCXX = @HOSTCXX@
  97702. ICAP_LIBS = @ICAP_LIBS@
  97703. INSTALL = @INSTALL@
  97704. INSTALL_DATA = @INSTALL_DATA@
  97705. @@ -134,8 +137,12 @@
  97706. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  97707. KRB5INCS = @KRB5INCS@
  97708. KRB5LIBS = @KRB5LIBS@
  97709. +LD = @LD@
  97710. LDFLAGS = @LDFLAGS@
  97711. LIBADD_DL = @LIBADD_DL@
  97712. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  97713. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  97714. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  97715. LIBOBJS = @LIBOBJS@
  97716. LIBREGEX = @LIBREGEX@
  97717. LIBS = @LIBS@
  97718. @@ -144,9 +151,12 @@
  97719. LIB_DB = @LIB_DB@
  97720. LIB_LBER = @LIB_LBER@
  97721. LIB_LDAP = @LIB_LDAP@
  97722. +LIPO = @LIPO@
  97723. LN = @LN@
  97724. LN_S = @LN_S@
  97725. LTLIBOBJS = @LTLIBOBJS@
  97726. +LT_DLLOADERS = @LT_DLLOADERS@
  97727. +LT_DLPREOPEN = @LT_DLPREOPEN@
  97728. MAINT = @MAINT@
  97729. MAKEINFO = @MAKEINFO@
  97730. MINGW_LIBS = @MINGW_LIBS@
  97731. @@ -154,15 +164,20 @@
  97732. MKDIR_P = @MKDIR_P@
  97733. MV = @MV@
  97734. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  97735. +NM = @NM@
  97736. NMEDIT = @NMEDIT@
  97737. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  97738. +OBJDUMP = @OBJDUMP@
  97739. OBJEXT = @OBJEXT@
  97740. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  97741. +OTOOL = @OTOOL@
  97742. +OTOOL64 = @OTOOL64@
  97743. PACKAGE = @PACKAGE@
  97744. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  97745. PACKAGE_NAME = @PACKAGE_NAME@
  97746. PACKAGE_STRING = @PACKAGE_STRING@
  97747. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  97748. +PACKAGE_URL = @PACKAGE_URL@
  97749. PACKAGE_VERSION = @PACKAGE_VERSION@
  97750. PATH_SEPARATOR = @PATH_SEPARATOR@
  97751. PERL = @PERL@
  97752. @@ -199,7 +214,7 @@
  97753. abs_top_srcdir = @abs_top_srcdir@
  97754. ac_ct_CC = @ac_ct_CC@
  97755. ac_ct_CXX = @ac_ct_CXX@
  97756. -ac_ct_F77 = @ac_ct_F77@
  97757. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  97758. ac_krb5_config = @ac_krb5_config@
  97759. am__include = @am__include@
  97760. am__leading_dot = @am__leading_dot@
  97761. @@ -231,6 +246,7 @@
  97762. libexecdir = @libexecdir@
  97763. localedir = @localedir@
  97764. localstatedir = @localstatedir@
  97765. +lt_ECHO = @lt_ECHO@
  97766. makesnmplib = @makesnmplib@
  97767. mandir = @mandir@
  97768. mkdir_p = @mkdir_p@
  97769. @@ -259,14 +275,14 @@
  97770. @for dep in $?; do \
  97771. case '$(am__configure_deps)' in \
  97772. *$$dep*) \
  97773. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  97774. - && exit 0; \
  97775. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  97776. + && { if test -f $@; then exit 0; else break; fi; }; \
  97777. exit 1;; \
  97778. esac; \
  97779. done; \
  97780. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/YP/Makefile'; \
  97781. - cd $(top_srcdir) && \
  97782. - $(AUTOMAKE) --foreign helpers/basic_auth/YP/Makefile
  97783. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/basic_auth/YP/Makefile'; \
  97784. + $(am__cd) $(top_srcdir) && \
  97785. + $(AUTOMAKE) --foreign helpers/basic_auth/YP/Makefile
  97786. .PRECIOUS: Makefile
  97787. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  97788. @case '$?' in \
  97789. @@ -284,34 +300,50 @@
  97790. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  97791. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  97792. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  97793. +$(am__aclocal_m4_deps):
  97794. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  97795. @$(NORMAL_INSTALL)
  97796. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  97797. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  97798. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  97799. - if test -f $$p \
  97800. - || test -f $$p1 \
  97801. - ; then \
  97802. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  97803. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  97804. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  97805. - else :; fi; \
  97806. - done
  97807. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  97808. + for p in $$list; do echo "$$p $$p"; done | \
  97809. + sed 's/$(EXEEXT)$$//' | \
  97810. + while read p p1; do if test -f $$p || test -f $$p1; \
  97811. + then echo "$$p"; echo "$$p"; else :; fi; \
  97812. + done | \
  97813. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  97814. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  97815. + sed 'N;N;N;s,\n, ,g' | \
  97816. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  97817. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  97818. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  97819. + else { print "f", $$3 "/" $$4, $$1; } } \
  97820. + END { for (d in files) print "f", d, files[d] }' | \
  97821. + while read type dir files; do \
  97822. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  97823. + test -z "$$files" || { \
  97824. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  97825. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  97826. + } \
  97827. + ; done
  97828. uninstall-libexecPROGRAMS:
  97829. @$(NORMAL_UNINSTALL)
  97830. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  97831. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  97832. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  97833. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  97834. - done
  97835. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  97836. + files=`for p in $$list; do echo "$$p"; done | \
  97837. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  97838. + -e 's/$$/$(EXEEXT)/' `; \
  97839. + test -n "$$list" || exit 0; \
  97840. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  97841. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  97842. clean-libexecPROGRAMS:
  97843. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  97844. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  97845. - echo " rm -f $$p $$f"; \
  97846. - rm -f $$p $$f ; \
  97847. - done
  97848. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  97849. + echo " rm -f" $$list; \
  97850. + rm -f $$list || exit $$?; \
  97851. + test -n "$(EXEEXT)" || exit 0; \
  97852. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  97853. + echo " rm -f" $$list; \
  97854. + rm -f $$list
  97855. yp_auth$(EXEEXT): $(yp_auth_OBJECTS) $(yp_auth_DEPENDENCIES)
  97856. @rm -f yp_auth$(EXEEXT)
  97857. $(LINK) $(yp_auth_OBJECTS) $(yp_auth_LDADD) $(LIBS)
  97858. @@ -327,21 +359,21 @@
  97859. .c.o:
  97860. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  97861. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  97862. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  97863. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  97864. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  97865. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  97866. .c.obj:
  97867. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  97868. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  97869. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  97870. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  97871. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  97872. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  97873. .c.lo:
  97874. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  97875. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  97876. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  97877. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  97878. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  97879. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  97880. @@ -357,14 +389,14 @@
  97881. unique=`for i in $$list; do \
  97882. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  97883. done | \
  97884. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  97885. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  97886. END { if (nonempty) { for (i in files) print i; }; }'`; \
  97887. mkid -fID $$unique
  97888. tags: TAGS
  97889. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  97890. $(TAGS_FILES) $(LISP)
  97891. - tags=; \
  97892. + set x; \
  97893. here=`pwd`; \
  97894. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  97895. unique=`for i in $$list; do \
  97896. @@ -372,29 +404,34 @@
  97897. done | \
  97898. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  97899. END { if (nonempty) { for (i in files) print i; }; }'`; \
  97900. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  97901. + shift; \
  97902. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  97903. test -n "$$unique" || unique=$$empty_fix; \
  97904. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  97905. - $$tags $$unique; \
  97906. + if test $$# -gt 0; then \
  97907. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  97908. + "$$@" $$unique; \
  97909. + else \
  97910. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  97911. + $$unique; \
  97912. + fi; \
  97913. fi
  97914. ctags: CTAGS
  97915. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  97916. $(TAGS_FILES) $(LISP)
  97917. - tags=; \
  97918. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  97919. unique=`for i in $$list; do \
  97920. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  97921. done | \
  97922. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  97923. END { if (nonempty) { for (i in files) print i; }; }'`; \
  97924. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  97925. + test -z "$(CTAGS_ARGS)$$unique" \
  97926. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  97927. - $$tags $$unique
  97928. + $$unique
  97929. GTAGS:
  97930. here=`$(am__cd) $(top_builddir) && pwd` \
  97931. - && cd $(top_srcdir) \
  97932. - && gtags -i $(GTAGS_ARGS) $$here
  97933. + && $(am__cd) $(top_srcdir) \
  97934. + && gtags -i $(GTAGS_ARGS) "$$here"
  97935. distclean-tags:
  97936. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  97937. @@ -415,13 +452,17 @@
  97938. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  97939. if test -d $$d/$$file; then \
  97940. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  97941. + if test -d "$(distdir)/$$file"; then \
  97942. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  97943. + fi; \
  97944. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  97945. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  97946. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  97947. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  97948. fi; \
  97949. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  97950. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  97951. else \
  97952. - test -f $(distdir)/$$file \
  97953. - || cp -p $$d/$$file $(distdir)/$$file \
  97954. + test -f "$(distdir)/$$file" \
  97955. + || cp -p $$d/$$file "$(distdir)/$$file" \
  97956. || exit 1; \
  97957. fi; \
  97958. done
  97959. @@ -452,6 +493,7 @@
  97960. distclean-generic:
  97961. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  97962. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  97963. maintainer-clean-generic:
  97964. @echo "This command is intended for maintainers to use"
  97965. @@ -473,6 +515,8 @@
  97966. html: html-am
  97967. +html-am:
  97968. +
  97969. info: info-am
  97970. info-am:
  97971. @@ -481,18 +525,28 @@
  97972. install-dvi: install-dvi-am
  97973. +install-dvi-am:
  97974. +
  97975. install-exec-am: install-libexecPROGRAMS
  97976. install-html: install-html-am
  97977. +install-html-am:
  97978. +
  97979. install-info: install-info-am
  97980. +install-info-am:
  97981. +
  97982. install-man:
  97983. install-pdf: install-pdf-am
  97984. +install-pdf-am:
  97985. +
  97986. install-ps: install-ps-am
  97987. +install-ps-am:
  97988. +
  97989. installcheck-am:
  97990. maintainer-clean: maintainer-clean-am
  97991. @@ -531,6 +585,7 @@
  97992. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  97993. tags uninstall uninstall-am uninstall-libexecPROGRAMS
  97994. +
  97995. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  97996. # Otherwise a system limit (for SysV at least) may be exceeded.
  97997. .NOEXPORT:
  97998. diff -Nur squid-3.0.STABLE20.orig/helpers/digest_auth/eDirectory/Makefile.in squid-3.0.STABLE20/helpers/digest_auth/eDirectory/Makefile.in
  97999. --- squid-3.0.STABLE20.orig/helpers/digest_auth/eDirectory/Makefile.in 2009-10-29 11:05:39.000000000 +0100
  98000. +++ squid-3.0.STABLE20/helpers/digest_auth/eDirectory/Makefile.in 2010-02-19 00:39:18.512870237 +0100
  98001. @@ -1,8 +1,9 @@
  98002. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  98003. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  98004. # @configure_input@
  98005. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  98006. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  98007. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  98008. +# Inc.
  98009. # This Makefile.in is free software; the Free Software Foundation
  98010. # gives unlimited permission to copy and/or distribute it,
  98011. # with or without modifications, as long as this notice is preserved.
  98012. @@ -24,8 +25,9 @@
  98013. VPATH = @srcdir@
  98014. pkgdatadir = $(datadir)/@PACKAGE@
  98015. -pkglibdir = $(libdir)/@PACKAGE@
  98016. pkgincludedir = $(includedir)/@PACKAGE@
  98017. +pkglibdir = $(libdir)/@PACKAGE@
  98018. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  98019. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  98020. install_sh_DATA = $(install_sh) -c -m 644
  98021. install_sh_PROGRAM = $(install_sh) -c
  98022. @@ -51,8 +53,8 @@
  98023. mkinstalldirs = $(install_sh) -d
  98024. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  98025. CONFIG_CLEAN_FILES =
  98026. +CONFIG_CLEAN_VPATH_FILES =
  98027. am__installdirs = "$(DESTDIR)$(libexecdir)"
  98028. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  98029. PROGRAMS = $(libexec_PROGRAMS)
  98030. am_digest_edir_auth_OBJECTS = digest_pw_auth.$(OBJEXT) \
  98031. ldap_backend.$(OBJEXT) edir_ldapext.$(OBJEXT)
  98032. @@ -65,6 +67,7 @@
  98033. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  98034. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  98035. am__depfiles_maybe = depfiles
  98036. +am__mv = mv -f
  98037. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  98038. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  98039. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  98040. @@ -116,7 +119,7 @@
  98041. DISK_LINKOBJS = @DISK_LINKOBJS@
  98042. DISK_PROGRAMS = @DISK_PROGRAMS@
  98043. DSYMUTIL = @DSYMUTIL@
  98044. -ECHO = @ECHO@
  98045. +DUMPBIN = @DUMPBIN@
  98046. ECHO_C = @ECHO_C@
  98047. ECHO_N = @ECHO_N@
  98048. ECHO_T = @ECHO_T@
  98049. @@ -126,10 +129,10 @@
  98050. ERR_LANGUAGES = @ERR_LANGUAGES@
  98051. EXEEXT = @EXEEXT@
  98052. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  98053. -F77 = @F77@
  98054. FALSE = @FALSE@
  98055. -FFLAGS = @FFLAGS@
  98056. +FGREP = @FGREP@
  98057. GREP = @GREP@
  98058. +HOSTCXX = @HOSTCXX@
  98059. ICAP_LIBS = @ICAP_LIBS@
  98060. INSTALL = @INSTALL@
  98061. INSTALL_DATA = @INSTALL_DATA@
  98062. @@ -138,8 +141,12 @@
  98063. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  98064. KRB5INCS = @KRB5INCS@
  98065. KRB5LIBS = @KRB5LIBS@
  98066. +LD = @LD@
  98067. LDFLAGS = @LDFLAGS@
  98068. LIBADD_DL = @LIBADD_DL@
  98069. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  98070. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  98071. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  98072. LIBOBJS = @LIBOBJS@
  98073. LIBREGEX = @LIBREGEX@
  98074. LIBS = @LIBS@
  98075. @@ -148,9 +155,12 @@
  98076. LIB_DB = @LIB_DB@
  98077. LIB_LBER = @LIB_LBER@
  98078. LIB_LDAP = @LIB_LDAP@
  98079. +LIPO = @LIPO@
  98080. LN = @LN@
  98081. LN_S = @LN_S@
  98082. LTLIBOBJS = @LTLIBOBJS@
  98083. +LT_DLLOADERS = @LT_DLLOADERS@
  98084. +LT_DLPREOPEN = @LT_DLPREOPEN@
  98085. MAINT = @MAINT@
  98086. MAKEINFO = @MAKEINFO@
  98087. MINGW_LIBS = @MINGW_LIBS@
  98088. @@ -158,15 +168,20 @@
  98089. MKDIR_P = @MKDIR_P@
  98090. MV = @MV@
  98091. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  98092. +NM = @NM@
  98093. NMEDIT = @NMEDIT@
  98094. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  98095. +OBJDUMP = @OBJDUMP@
  98096. OBJEXT = @OBJEXT@
  98097. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  98098. +OTOOL = @OTOOL@
  98099. +OTOOL64 = @OTOOL64@
  98100. PACKAGE = @PACKAGE@
  98101. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  98102. PACKAGE_NAME = @PACKAGE_NAME@
  98103. PACKAGE_STRING = @PACKAGE_STRING@
  98104. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  98105. +PACKAGE_URL = @PACKAGE_URL@
  98106. PACKAGE_VERSION = @PACKAGE_VERSION@
  98107. PATH_SEPARATOR = @PATH_SEPARATOR@
  98108. PERL = @PERL@
  98109. @@ -203,7 +218,7 @@
  98110. abs_top_srcdir = @abs_top_srcdir@
  98111. ac_ct_CC = @ac_ct_CC@
  98112. ac_ct_CXX = @ac_ct_CXX@
  98113. -ac_ct_F77 = @ac_ct_F77@
  98114. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  98115. ac_krb5_config = @ac_krb5_config@
  98116. am__include = @am__include@
  98117. am__leading_dot = @am__leading_dot@
  98118. @@ -235,6 +250,7 @@
  98119. libexecdir = @libexecdir@
  98120. localedir = @localedir@
  98121. localstatedir = @localstatedir@
  98122. +lt_ECHO = @lt_ECHO@
  98123. makesnmplib = @makesnmplib@
  98124. mandir = @mandir@
  98125. mkdir_p = @mkdir_p@
  98126. @@ -271,14 +287,14 @@
  98127. @for dep in $?; do \
  98128. case '$(am__configure_deps)' in \
  98129. *$$dep*) \
  98130. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  98131. - && exit 0; \
  98132. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  98133. + && { if test -f $@; then exit 0; else break; fi; }; \
  98134. exit 1;; \
  98135. esac; \
  98136. done; \
  98137. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/digest_auth/eDirectory/Makefile'; \
  98138. - cd $(top_srcdir) && \
  98139. - $(AUTOMAKE) --foreign helpers/digest_auth/eDirectory/Makefile
  98140. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/digest_auth/eDirectory/Makefile'; \
  98141. + $(am__cd) $(top_srcdir) && \
  98142. + $(AUTOMAKE) --foreign helpers/digest_auth/eDirectory/Makefile
  98143. .PRECIOUS: Makefile
  98144. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  98145. @case '$?' in \
  98146. @@ -296,34 +312,50 @@
  98147. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  98148. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  98149. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  98150. +$(am__aclocal_m4_deps):
  98151. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  98152. @$(NORMAL_INSTALL)
  98153. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  98154. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  98155. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  98156. - if test -f $$p \
  98157. - || test -f $$p1 \
  98158. - ; then \
  98159. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  98160. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  98161. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  98162. - else :; fi; \
  98163. - done
  98164. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  98165. + for p in $$list; do echo "$$p $$p"; done | \
  98166. + sed 's/$(EXEEXT)$$//' | \
  98167. + while read p p1; do if test -f $$p || test -f $$p1; \
  98168. + then echo "$$p"; echo "$$p"; else :; fi; \
  98169. + done | \
  98170. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  98171. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  98172. + sed 'N;N;N;s,\n, ,g' | \
  98173. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  98174. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  98175. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  98176. + else { print "f", $$3 "/" $$4, $$1; } } \
  98177. + END { for (d in files) print "f", d, files[d] }' | \
  98178. + while read type dir files; do \
  98179. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  98180. + test -z "$$files" || { \
  98181. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  98182. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  98183. + } \
  98184. + ; done
  98185. uninstall-libexecPROGRAMS:
  98186. @$(NORMAL_UNINSTALL)
  98187. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  98188. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  98189. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  98190. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  98191. - done
  98192. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  98193. + files=`for p in $$list; do echo "$$p"; done | \
  98194. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  98195. + -e 's/$$/$(EXEEXT)/' `; \
  98196. + test -n "$$list" || exit 0; \
  98197. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  98198. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  98199. clean-libexecPROGRAMS:
  98200. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  98201. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  98202. - echo " rm -f $$p $$f"; \
  98203. - rm -f $$p $$f ; \
  98204. - done
  98205. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  98206. + echo " rm -f" $$list; \
  98207. + rm -f $$list || exit $$?; \
  98208. + test -n "$(EXEEXT)" || exit 0; \
  98209. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  98210. + echo " rm -f" $$list; \
  98211. + rm -f $$list
  98212. digest_edir_auth$(EXEEXT): $(digest_edir_auth_OBJECTS) $(digest_edir_auth_DEPENDENCIES)
  98213. @rm -f digest_edir_auth$(EXEEXT)
  98214. $(LINK) $(digest_edir_auth_OBJECTS) $(digest_edir_auth_LDADD) $(LIBS)
  98215. @@ -340,21 +372,21 @@
  98216. .c.o:
  98217. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  98218. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  98219. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  98220. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  98221. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  98222. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  98223. .c.obj:
  98224. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  98225. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  98226. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  98227. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  98228. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  98229. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  98230. .c.lo:
  98231. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  98232. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  98233. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  98234. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  98235. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  98236. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  98237. @@ -370,14 +402,14 @@
  98238. unique=`for i in $$list; do \
  98239. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  98240. done | \
  98241. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  98242. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  98243. END { if (nonempty) { for (i in files) print i; }; }'`; \
  98244. mkid -fID $$unique
  98245. tags: TAGS
  98246. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  98247. $(TAGS_FILES) $(LISP)
  98248. - tags=; \
  98249. + set x; \
  98250. here=`pwd`; \
  98251. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  98252. unique=`for i in $$list; do \
  98253. @@ -385,29 +417,34 @@
  98254. done | \
  98255. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  98256. END { if (nonempty) { for (i in files) print i; }; }'`; \
  98257. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  98258. + shift; \
  98259. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  98260. test -n "$$unique" || unique=$$empty_fix; \
  98261. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  98262. - $$tags $$unique; \
  98263. + if test $$# -gt 0; then \
  98264. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  98265. + "$$@" $$unique; \
  98266. + else \
  98267. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  98268. + $$unique; \
  98269. + fi; \
  98270. fi
  98271. ctags: CTAGS
  98272. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  98273. $(TAGS_FILES) $(LISP)
  98274. - tags=; \
  98275. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  98276. unique=`for i in $$list; do \
  98277. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  98278. done | \
  98279. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  98280. END { if (nonempty) { for (i in files) print i; }; }'`; \
  98281. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  98282. + test -z "$(CTAGS_ARGS)$$unique" \
  98283. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  98284. - $$tags $$unique
  98285. + $$unique
  98286. GTAGS:
  98287. here=`$(am__cd) $(top_builddir) && pwd` \
  98288. - && cd $(top_srcdir) \
  98289. - && gtags -i $(GTAGS_ARGS) $$here
  98290. + && $(am__cd) $(top_srcdir) \
  98291. + && gtags -i $(GTAGS_ARGS) "$$here"
  98292. distclean-tags:
  98293. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  98294. @@ -428,13 +465,17 @@
  98295. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  98296. if test -d $$d/$$file; then \
  98297. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  98298. + if test -d "$(distdir)/$$file"; then \
  98299. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  98300. + fi; \
  98301. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  98302. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  98303. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  98304. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  98305. fi; \
  98306. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  98307. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  98308. else \
  98309. - test -f $(distdir)/$$file \
  98310. - || cp -p $$d/$$file $(distdir)/$$file \
  98311. + test -f "$(distdir)/$$file" \
  98312. + || cp -p $$d/$$file "$(distdir)/$$file" \
  98313. || exit 1; \
  98314. fi; \
  98315. done
  98316. @@ -465,6 +506,7 @@
  98317. distclean-generic:
  98318. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  98319. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  98320. maintainer-clean-generic:
  98321. @echo "This command is intended for maintainers to use"
  98322. @@ -486,6 +528,8 @@
  98323. html: html-am
  98324. +html-am:
  98325. +
  98326. info: info-am
  98327. info-am:
  98328. @@ -494,18 +538,28 @@
  98329. install-dvi: install-dvi-am
  98330. +install-dvi-am:
  98331. +
  98332. install-exec-am: install-libexecPROGRAMS
  98333. install-html: install-html-am
  98334. +install-html-am:
  98335. +
  98336. install-info: install-info-am
  98337. +install-info-am:
  98338. +
  98339. install-man:
  98340. install-pdf: install-pdf-am
  98341. +install-pdf-am:
  98342. +
  98343. install-ps: install-ps-am
  98344. +install-ps-am:
  98345. +
  98346. installcheck-am:
  98347. maintainer-clean: maintainer-clean-am
  98348. @@ -544,6 +598,7 @@
  98349. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  98350. tags uninstall uninstall-am uninstall-libexecPROGRAMS
  98351. +
  98352. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  98353. # Otherwise a system limit (for SysV at least) may be exceeded.
  98354. .NOEXPORT:
  98355. diff -Nur squid-3.0.STABLE20.orig/helpers/digest_auth/ldap/Makefile.in squid-3.0.STABLE20/helpers/digest_auth/ldap/Makefile.in
  98356. --- squid-3.0.STABLE20.orig/helpers/digest_auth/ldap/Makefile.in 2009-10-29 11:05:39.000000000 +0100
  98357. +++ squid-3.0.STABLE20/helpers/digest_auth/ldap/Makefile.in 2010-02-19 00:39:18.696852885 +0100
  98358. @@ -1,8 +1,9 @@
  98359. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  98360. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  98361. # @configure_input@
  98362. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  98363. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  98364. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  98365. +# Inc.
  98366. # This Makefile.in is free software; the Free Software Foundation
  98367. # gives unlimited permission to copy and/or distribute it,
  98368. # with or without modifications, as long as this notice is preserved.
  98369. @@ -24,8 +25,9 @@
  98370. VPATH = @srcdir@
  98371. pkgdatadir = $(datadir)/@PACKAGE@
  98372. -pkglibdir = $(libdir)/@PACKAGE@
  98373. pkgincludedir = $(includedir)/@PACKAGE@
  98374. +pkglibdir = $(libdir)/@PACKAGE@
  98375. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  98376. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  98377. install_sh_DATA = $(install_sh) -c -m 644
  98378. install_sh_PROGRAM = $(install_sh) -c
  98379. @@ -51,8 +53,8 @@
  98380. mkinstalldirs = $(install_sh) -d
  98381. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  98382. CONFIG_CLEAN_FILES =
  98383. +CONFIG_CLEAN_VPATH_FILES =
  98384. am__installdirs = "$(DESTDIR)$(libexecdir)"
  98385. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  98386. PROGRAMS = $(libexec_PROGRAMS)
  98387. am_digest_ldap_auth_OBJECTS = digest_pw_auth.$(OBJEXT) \
  98388. ldap_backend.$(OBJEXT)
  98389. @@ -65,6 +67,7 @@
  98390. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  98391. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  98392. am__depfiles_maybe = depfiles
  98393. +am__mv = mv -f
  98394. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  98395. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  98396. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  98397. @@ -116,7 +119,7 @@
  98398. DISK_LINKOBJS = @DISK_LINKOBJS@
  98399. DISK_PROGRAMS = @DISK_PROGRAMS@
  98400. DSYMUTIL = @DSYMUTIL@
  98401. -ECHO = @ECHO@
  98402. +DUMPBIN = @DUMPBIN@
  98403. ECHO_C = @ECHO_C@
  98404. ECHO_N = @ECHO_N@
  98405. ECHO_T = @ECHO_T@
  98406. @@ -126,10 +129,10 @@
  98407. ERR_LANGUAGES = @ERR_LANGUAGES@
  98408. EXEEXT = @EXEEXT@
  98409. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  98410. -F77 = @F77@
  98411. FALSE = @FALSE@
  98412. -FFLAGS = @FFLAGS@
  98413. +FGREP = @FGREP@
  98414. GREP = @GREP@
  98415. +HOSTCXX = @HOSTCXX@
  98416. ICAP_LIBS = @ICAP_LIBS@
  98417. INSTALL = @INSTALL@
  98418. INSTALL_DATA = @INSTALL_DATA@
  98419. @@ -138,8 +141,12 @@
  98420. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  98421. KRB5INCS = @KRB5INCS@
  98422. KRB5LIBS = @KRB5LIBS@
  98423. +LD = @LD@
  98424. LDFLAGS = @LDFLAGS@
  98425. LIBADD_DL = @LIBADD_DL@
  98426. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  98427. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  98428. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  98429. LIBOBJS = @LIBOBJS@
  98430. LIBREGEX = @LIBREGEX@
  98431. LIBS = @LIBS@
  98432. @@ -148,9 +155,12 @@
  98433. LIB_DB = @LIB_DB@
  98434. LIB_LBER = @LIB_LBER@
  98435. LIB_LDAP = @LIB_LDAP@
  98436. +LIPO = @LIPO@
  98437. LN = @LN@
  98438. LN_S = @LN_S@
  98439. LTLIBOBJS = @LTLIBOBJS@
  98440. +LT_DLLOADERS = @LT_DLLOADERS@
  98441. +LT_DLPREOPEN = @LT_DLPREOPEN@
  98442. MAINT = @MAINT@
  98443. MAKEINFO = @MAKEINFO@
  98444. MINGW_LIBS = @MINGW_LIBS@
  98445. @@ -158,15 +168,20 @@
  98446. MKDIR_P = @MKDIR_P@
  98447. MV = @MV@
  98448. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  98449. +NM = @NM@
  98450. NMEDIT = @NMEDIT@
  98451. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  98452. +OBJDUMP = @OBJDUMP@
  98453. OBJEXT = @OBJEXT@
  98454. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  98455. +OTOOL = @OTOOL@
  98456. +OTOOL64 = @OTOOL64@
  98457. PACKAGE = @PACKAGE@
  98458. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  98459. PACKAGE_NAME = @PACKAGE_NAME@
  98460. PACKAGE_STRING = @PACKAGE_STRING@
  98461. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  98462. +PACKAGE_URL = @PACKAGE_URL@
  98463. PACKAGE_VERSION = @PACKAGE_VERSION@
  98464. PATH_SEPARATOR = @PATH_SEPARATOR@
  98465. PERL = @PERL@
  98466. @@ -203,7 +218,7 @@
  98467. abs_top_srcdir = @abs_top_srcdir@
  98468. ac_ct_CC = @ac_ct_CC@
  98469. ac_ct_CXX = @ac_ct_CXX@
  98470. -ac_ct_F77 = @ac_ct_F77@
  98471. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  98472. ac_krb5_config = @ac_krb5_config@
  98473. am__include = @am__include@
  98474. am__leading_dot = @am__leading_dot@
  98475. @@ -235,6 +250,7 @@
  98476. libexecdir = @libexecdir@
  98477. localedir = @localedir@
  98478. localstatedir = @localstatedir@
  98479. +lt_ECHO = @lt_ECHO@
  98480. makesnmplib = @makesnmplib@
  98481. mandir = @mandir@
  98482. mkdir_p = @mkdir_p@
  98483. @@ -269,14 +285,14 @@
  98484. @for dep in $?; do \
  98485. case '$(am__configure_deps)' in \
  98486. *$$dep*) \
  98487. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  98488. - && exit 0; \
  98489. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  98490. + && { if test -f $@; then exit 0; else break; fi; }; \
  98491. exit 1;; \
  98492. esac; \
  98493. done; \
  98494. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/digest_auth/ldap/Makefile'; \
  98495. - cd $(top_srcdir) && \
  98496. - $(AUTOMAKE) --foreign helpers/digest_auth/ldap/Makefile
  98497. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/digest_auth/ldap/Makefile'; \
  98498. + $(am__cd) $(top_srcdir) && \
  98499. + $(AUTOMAKE) --foreign helpers/digest_auth/ldap/Makefile
  98500. .PRECIOUS: Makefile
  98501. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  98502. @case '$?' in \
  98503. @@ -294,34 +310,50 @@
  98504. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  98505. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  98506. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  98507. +$(am__aclocal_m4_deps):
  98508. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  98509. @$(NORMAL_INSTALL)
  98510. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  98511. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  98512. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  98513. - if test -f $$p \
  98514. - || test -f $$p1 \
  98515. - ; then \
  98516. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  98517. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  98518. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  98519. - else :; fi; \
  98520. - done
  98521. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  98522. + for p in $$list; do echo "$$p $$p"; done | \
  98523. + sed 's/$(EXEEXT)$$//' | \
  98524. + while read p p1; do if test -f $$p || test -f $$p1; \
  98525. + then echo "$$p"; echo "$$p"; else :; fi; \
  98526. + done | \
  98527. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  98528. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  98529. + sed 'N;N;N;s,\n, ,g' | \
  98530. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  98531. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  98532. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  98533. + else { print "f", $$3 "/" $$4, $$1; } } \
  98534. + END { for (d in files) print "f", d, files[d] }' | \
  98535. + while read type dir files; do \
  98536. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  98537. + test -z "$$files" || { \
  98538. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  98539. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  98540. + } \
  98541. + ; done
  98542. uninstall-libexecPROGRAMS:
  98543. @$(NORMAL_UNINSTALL)
  98544. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  98545. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  98546. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  98547. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  98548. - done
  98549. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  98550. + files=`for p in $$list; do echo "$$p"; done | \
  98551. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  98552. + -e 's/$$/$(EXEEXT)/' `; \
  98553. + test -n "$$list" || exit 0; \
  98554. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  98555. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  98556. clean-libexecPROGRAMS:
  98557. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  98558. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  98559. - echo " rm -f $$p $$f"; \
  98560. - rm -f $$p $$f ; \
  98561. - done
  98562. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  98563. + echo " rm -f" $$list; \
  98564. + rm -f $$list || exit $$?; \
  98565. + test -n "$(EXEEXT)" || exit 0; \
  98566. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  98567. + echo " rm -f" $$list; \
  98568. + rm -f $$list
  98569. digest_ldap_auth$(EXEEXT): $(digest_ldap_auth_OBJECTS) $(digest_ldap_auth_DEPENDENCIES)
  98570. @rm -f digest_ldap_auth$(EXEEXT)
  98571. $(LINK) $(digest_ldap_auth_OBJECTS) $(digest_ldap_auth_LDADD) $(LIBS)
  98572. @@ -337,21 +369,21 @@
  98573. .c.o:
  98574. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  98575. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  98576. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  98577. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  98578. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  98579. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  98580. .c.obj:
  98581. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  98582. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  98583. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  98584. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  98585. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  98586. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  98587. .c.lo:
  98588. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  98589. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  98590. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  98591. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  98592. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  98593. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  98594. @@ -367,14 +399,14 @@
  98595. unique=`for i in $$list; do \
  98596. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  98597. done | \
  98598. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  98599. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  98600. END { if (nonempty) { for (i in files) print i; }; }'`; \
  98601. mkid -fID $$unique
  98602. tags: TAGS
  98603. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  98604. $(TAGS_FILES) $(LISP)
  98605. - tags=; \
  98606. + set x; \
  98607. here=`pwd`; \
  98608. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  98609. unique=`for i in $$list; do \
  98610. @@ -382,29 +414,34 @@
  98611. done | \
  98612. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  98613. END { if (nonempty) { for (i in files) print i; }; }'`; \
  98614. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  98615. + shift; \
  98616. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  98617. test -n "$$unique" || unique=$$empty_fix; \
  98618. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  98619. - $$tags $$unique; \
  98620. + if test $$# -gt 0; then \
  98621. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  98622. + "$$@" $$unique; \
  98623. + else \
  98624. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  98625. + $$unique; \
  98626. + fi; \
  98627. fi
  98628. ctags: CTAGS
  98629. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  98630. $(TAGS_FILES) $(LISP)
  98631. - tags=; \
  98632. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  98633. unique=`for i in $$list; do \
  98634. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  98635. done | \
  98636. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  98637. END { if (nonempty) { for (i in files) print i; }; }'`; \
  98638. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  98639. + test -z "$(CTAGS_ARGS)$$unique" \
  98640. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  98641. - $$tags $$unique
  98642. + $$unique
  98643. GTAGS:
  98644. here=`$(am__cd) $(top_builddir) && pwd` \
  98645. - && cd $(top_srcdir) \
  98646. - && gtags -i $(GTAGS_ARGS) $$here
  98647. + && $(am__cd) $(top_srcdir) \
  98648. + && gtags -i $(GTAGS_ARGS) "$$here"
  98649. distclean-tags:
  98650. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  98651. @@ -425,13 +462,17 @@
  98652. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  98653. if test -d $$d/$$file; then \
  98654. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  98655. + if test -d "$(distdir)/$$file"; then \
  98656. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  98657. + fi; \
  98658. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  98659. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  98660. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  98661. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  98662. fi; \
  98663. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  98664. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  98665. else \
  98666. - test -f $(distdir)/$$file \
  98667. - || cp -p $$d/$$file $(distdir)/$$file \
  98668. + test -f "$(distdir)/$$file" \
  98669. + || cp -p $$d/$$file "$(distdir)/$$file" \
  98670. || exit 1; \
  98671. fi; \
  98672. done
  98673. @@ -462,6 +503,7 @@
  98674. distclean-generic:
  98675. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  98676. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  98677. maintainer-clean-generic:
  98678. @echo "This command is intended for maintainers to use"
  98679. @@ -483,6 +525,8 @@
  98680. html: html-am
  98681. +html-am:
  98682. +
  98683. info: info-am
  98684. info-am:
  98685. @@ -491,18 +535,28 @@
  98686. install-dvi: install-dvi-am
  98687. +install-dvi-am:
  98688. +
  98689. install-exec-am: install-libexecPROGRAMS
  98690. install-html: install-html-am
  98691. +install-html-am:
  98692. +
  98693. install-info: install-info-am
  98694. +install-info-am:
  98695. +
  98696. install-man:
  98697. install-pdf: install-pdf-am
  98698. +install-pdf-am:
  98699. +
  98700. install-ps: install-ps-am
  98701. +install-ps-am:
  98702. +
  98703. installcheck-am:
  98704. maintainer-clean: maintainer-clean-am
  98705. @@ -541,6 +595,7 @@
  98706. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  98707. tags uninstall uninstall-am uninstall-libexecPROGRAMS
  98708. +
  98709. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  98710. # Otherwise a system limit (for SysV at least) may be exceeded.
  98711. .NOEXPORT:
  98712. diff -Nur squid-3.0.STABLE20.orig/helpers/digest_auth/Makefile.in squid-3.0.STABLE20/helpers/digest_auth/Makefile.in
  98713. --- squid-3.0.STABLE20.orig/helpers/digest_auth/Makefile.in 2009-10-29 11:05:39.000000000 +0100
  98714. +++ squid-3.0.STABLE20/helpers/digest_auth/Makefile.in 2010-02-19 00:39:18.192852655 +0100
  98715. @@ -1,8 +1,9 @@
  98716. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  98717. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  98718. # @configure_input@
  98719. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  98720. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  98721. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  98722. +# Inc.
  98723. # This Makefile.in is free software; the Free Software Foundation
  98724. # gives unlimited permission to copy and/or distribute it,
  98725. # with or without modifications, as long as this notice is preserved.
  98726. @@ -20,8 +21,9 @@
  98727. #
  98728. VPATH = @srcdir@
  98729. pkgdatadir = $(datadir)/@PACKAGE@
  98730. -pkglibdir = $(libdir)/@PACKAGE@
  98731. pkgincludedir = $(includedir)/@PACKAGE@
  98732. +pkglibdir = $(libdir)/@PACKAGE@
  98733. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  98734. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  98735. install_sh_DATA = $(install_sh) -c -m 644
  98736. install_sh_PROGRAM = $(install_sh) -c
  98737. @@ -46,6 +48,7 @@
  98738. mkinstalldirs = $(install_sh) -d
  98739. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  98740. CONFIG_CLEAN_FILES =
  98741. +CONFIG_CLEAN_VPATH_FILES =
  98742. SOURCES =
  98743. DIST_SOURCES =
  98744. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  98745. @@ -57,9 +60,37 @@
  98746. ps-recursive uninstall-recursive
  98747. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  98748. distclean-recursive maintainer-clean-recursive
  98749. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  98750. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  98751. + distdir
  98752. ETAGS = etags
  98753. CTAGS = ctags
  98754. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  98755. +am__relativize = \
  98756. + dir0=`pwd`; \
  98757. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  98758. + sed_rest='s,^[^/]*/*,,'; \
  98759. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  98760. + sed_butlast='s,/*[^/]*$$,,'; \
  98761. + while test -n "$$dir1"; do \
  98762. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  98763. + if test "$$first" != "."; then \
  98764. + if test "$$first" = ".."; then \
  98765. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  98766. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  98767. + else \
  98768. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  98769. + if test "$$first2" = "$$first"; then \
  98770. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  98771. + else \
  98772. + dir2="../$$dir2"; \
  98773. + fi; \
  98774. + dir0="$$dir0"/"$$first"; \
  98775. + fi; \
  98776. + fi; \
  98777. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  98778. + done; \
  98779. + reldir="$$dir2"
  98780. ACLOCAL = @ACLOCAL@
  98781. ALLOCA = @ALLOCA@
  98782. AMTAR = @AMTAR@
  98783. @@ -97,7 +128,7 @@
  98784. DISK_LINKOBJS = @DISK_LINKOBJS@
  98785. DISK_PROGRAMS = @DISK_PROGRAMS@
  98786. DSYMUTIL = @DSYMUTIL@
  98787. -ECHO = @ECHO@
  98788. +DUMPBIN = @DUMPBIN@
  98789. ECHO_C = @ECHO_C@
  98790. ECHO_N = @ECHO_N@
  98791. ECHO_T = @ECHO_T@
  98792. @@ -107,10 +138,10 @@
  98793. ERR_LANGUAGES = @ERR_LANGUAGES@
  98794. EXEEXT = @EXEEXT@
  98795. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  98796. -F77 = @F77@
  98797. FALSE = @FALSE@
  98798. -FFLAGS = @FFLAGS@
  98799. +FGREP = @FGREP@
  98800. GREP = @GREP@
  98801. +HOSTCXX = @HOSTCXX@
  98802. ICAP_LIBS = @ICAP_LIBS@
  98803. INSTALL = @INSTALL@
  98804. INSTALL_DATA = @INSTALL_DATA@
  98805. @@ -119,8 +150,12 @@
  98806. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  98807. KRB5INCS = @KRB5INCS@
  98808. KRB5LIBS = @KRB5LIBS@
  98809. +LD = @LD@
  98810. LDFLAGS = @LDFLAGS@
  98811. LIBADD_DL = @LIBADD_DL@
  98812. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  98813. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  98814. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  98815. LIBOBJS = @LIBOBJS@
  98816. LIBREGEX = @LIBREGEX@
  98817. LIBS = @LIBS@
  98818. @@ -129,9 +164,12 @@
  98819. LIB_DB = @LIB_DB@
  98820. LIB_LBER = @LIB_LBER@
  98821. LIB_LDAP = @LIB_LDAP@
  98822. +LIPO = @LIPO@
  98823. LN = @LN@
  98824. LN_S = @LN_S@
  98825. LTLIBOBJS = @LTLIBOBJS@
  98826. +LT_DLLOADERS = @LT_DLLOADERS@
  98827. +LT_DLPREOPEN = @LT_DLPREOPEN@
  98828. MAINT = @MAINT@
  98829. MAKEINFO = @MAKEINFO@
  98830. MINGW_LIBS = @MINGW_LIBS@
  98831. @@ -139,15 +177,20 @@
  98832. MKDIR_P = @MKDIR_P@
  98833. MV = @MV@
  98834. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  98835. +NM = @NM@
  98836. NMEDIT = @NMEDIT@
  98837. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  98838. +OBJDUMP = @OBJDUMP@
  98839. OBJEXT = @OBJEXT@
  98840. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  98841. +OTOOL = @OTOOL@
  98842. +OTOOL64 = @OTOOL64@
  98843. PACKAGE = @PACKAGE@
  98844. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  98845. PACKAGE_NAME = @PACKAGE_NAME@
  98846. PACKAGE_STRING = @PACKAGE_STRING@
  98847. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  98848. +PACKAGE_URL = @PACKAGE_URL@
  98849. PACKAGE_VERSION = @PACKAGE_VERSION@
  98850. PATH_SEPARATOR = @PATH_SEPARATOR@
  98851. PERL = @PERL@
  98852. @@ -184,7 +227,7 @@
  98853. abs_top_srcdir = @abs_top_srcdir@
  98854. ac_ct_CC = @ac_ct_CC@
  98855. ac_ct_CXX = @ac_ct_CXX@
  98856. -ac_ct_F77 = @ac_ct_F77@
  98857. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  98858. ac_krb5_config = @ac_krb5_config@
  98859. am__include = @am__include@
  98860. am__leading_dot = @am__leading_dot@
  98861. @@ -216,6 +259,7 @@
  98862. libexecdir = @libexecdir@
  98863. localedir = @localedir@
  98864. localstatedir = @localstatedir@
  98865. +lt_ECHO = @lt_ECHO@
  98866. makesnmplib = @makesnmplib@
  98867. mandir = @mandir@
  98868. mkdir_p = @mkdir_p@
  98869. @@ -242,14 +286,14 @@
  98870. @for dep in $?; do \
  98871. case '$(am__configure_deps)' in \
  98872. *$$dep*) \
  98873. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  98874. - && exit 0; \
  98875. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  98876. + && { if test -f $@; then exit 0; else break; fi; }; \
  98877. exit 1;; \
  98878. esac; \
  98879. done; \
  98880. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/digest_auth/Makefile'; \
  98881. - cd $(top_srcdir) && \
  98882. - $(AUTOMAKE) --foreign helpers/digest_auth/Makefile
  98883. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/digest_auth/Makefile'; \
  98884. + $(am__cd) $(top_srcdir) && \
  98885. + $(AUTOMAKE) --foreign helpers/digest_auth/Makefile
  98886. .PRECIOUS: Makefile
  98887. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  98888. @case '$?' in \
  98889. @@ -267,6 +311,7 @@
  98890. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  98891. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  98892. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  98893. +$(am__aclocal_m4_deps):
  98894. mostlyclean-libtool:
  98895. -rm -f *.lo
  98896. @@ -281,7 +326,7 @@
  98897. # (which will cause the Makefiles to be regenerated when you run `make');
  98898. # (2) otherwise, pass the desired values on the `make' command line.
  98899. $(RECURSIVE_TARGETS):
  98900. - @failcom='exit 1'; \
  98901. + @fail= failcom='exit 1'; \
  98902. for f in x $$MAKEFLAGS; do \
  98903. case $$f in \
  98904. *=* | --[!k]*);; \
  98905. @@ -298,7 +343,7 @@
  98906. else \
  98907. local_target="$$target"; \
  98908. fi; \
  98909. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  98910. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  98911. || eval $$failcom; \
  98912. done; \
  98913. if test "$$dot_seen" = "no"; then \
  98914. @@ -306,7 +351,7 @@
  98915. fi; test -z "$$fail"
  98916. $(RECURSIVE_CLEAN_TARGETS):
  98917. - @failcom='exit 1'; \
  98918. + @fail= failcom='exit 1'; \
  98919. for f in x $$MAKEFLAGS; do \
  98920. case $$f in \
  98921. *=* | --[!k]*);; \
  98922. @@ -332,16 +377,16 @@
  98923. else \
  98924. local_target="$$target"; \
  98925. fi; \
  98926. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  98927. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  98928. || eval $$failcom; \
  98929. done && test -z "$$fail"
  98930. tags-recursive:
  98931. list='$(SUBDIRS)'; for subdir in $$list; do \
  98932. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  98933. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  98934. done
  98935. ctags-recursive:
  98936. list='$(SUBDIRS)'; for subdir in $$list; do \
  98937. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  98938. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  98939. done
  98940. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  98941. @@ -349,14 +394,14 @@
  98942. unique=`for i in $$list; do \
  98943. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  98944. done | \
  98945. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  98946. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  98947. END { if (nonempty) { for (i in files) print i; }; }'`; \
  98948. mkid -fID $$unique
  98949. tags: TAGS
  98950. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  98951. $(TAGS_FILES) $(LISP)
  98952. - tags=; \
  98953. + set x; \
  98954. here=`pwd`; \
  98955. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  98956. include_option=--etags-include; \
  98957. @@ -368,7 +413,7 @@
  98958. list='$(SUBDIRS)'; for subdir in $$list; do \
  98959. if test "$$subdir" = .; then :; else \
  98960. test ! -f $$subdir/TAGS || \
  98961. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  98962. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  98963. fi; \
  98964. done; \
  98965. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  98966. @@ -377,29 +422,34 @@
  98967. done | \
  98968. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  98969. END { if (nonempty) { for (i in files) print i; }; }'`; \
  98970. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  98971. + shift; \
  98972. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  98973. test -n "$$unique" || unique=$$empty_fix; \
  98974. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  98975. - $$tags $$unique; \
  98976. + if test $$# -gt 0; then \
  98977. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  98978. + "$$@" $$unique; \
  98979. + else \
  98980. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  98981. + $$unique; \
  98982. + fi; \
  98983. fi
  98984. ctags: CTAGS
  98985. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  98986. $(TAGS_FILES) $(LISP)
  98987. - tags=; \
  98988. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  98989. unique=`for i in $$list; do \
  98990. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  98991. done | \
  98992. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  98993. END { if (nonempty) { for (i in files) print i; }; }'`; \
  98994. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  98995. + test -z "$(CTAGS_ARGS)$$unique" \
  98996. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  98997. - $$tags $$unique
  98998. + $$unique
  98999. GTAGS:
  99000. here=`$(am__cd) $(top_builddir) && pwd` \
  99001. - && cd $(top_srcdir) \
  99002. - && gtags -i $(GTAGS_ARGS) $$here
  99003. + && $(am__cd) $(top_srcdir) \
  99004. + && gtags -i $(GTAGS_ARGS) "$$here"
  99005. distclean-tags:
  99006. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  99007. @@ -420,29 +470,44 @@
  99008. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  99009. if test -d $$d/$$file; then \
  99010. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  99011. + if test -d "$(distdir)/$$file"; then \
  99012. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  99013. + fi; \
  99014. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  99015. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  99016. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  99017. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  99018. fi; \
  99019. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  99020. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  99021. else \
  99022. - test -f $(distdir)/$$file \
  99023. - || cp -p $$d/$$file $(distdir)/$$file \
  99024. + test -f "$(distdir)/$$file" \
  99025. + || cp -p $$d/$$file "$(distdir)/$$file" \
  99026. || exit 1; \
  99027. fi; \
  99028. done
  99029. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  99030. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  99031. if test "$$subdir" = .; then :; else \
  99032. test -d "$(distdir)/$$subdir" \
  99033. || $(MKDIR_P) "$(distdir)/$$subdir" \
  99034. || exit 1; \
  99035. - distdir=`$(am__cd) $(distdir) && pwd`; \
  99036. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  99037. - (cd $$subdir && \
  99038. + fi; \
  99039. + done
  99040. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  99041. + if test "$$subdir" = .; then :; else \
  99042. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  99043. + $(am__relativize); \
  99044. + new_distdir=$$reldir; \
  99045. + dir1=$$subdir; dir2="$(top_distdir)"; \
  99046. + $(am__relativize); \
  99047. + new_top_distdir=$$reldir; \
  99048. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  99049. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  99050. + ($(am__cd) $$subdir && \
  99051. $(MAKE) $(AM_MAKEFLAGS) \
  99052. - top_distdir="$$top_distdir" \
  99053. - distdir="$$distdir/$$subdir" \
  99054. + top_distdir="$$new_top_distdir" \
  99055. + distdir="$$new_distdir" \
  99056. am__remove_distdir=: \
  99057. am__skip_length_check=: \
  99058. + am__skip_mode_fix=: \
  99059. distdir) \
  99060. || exit 1; \
  99061. fi; \
  99062. @@ -472,6 +537,7 @@
  99063. distclean-generic:
  99064. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  99065. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  99066. maintainer-clean-generic:
  99067. @echo "This command is intended for maintainers to use"
  99068. @@ -490,6 +556,8 @@
  99069. html: html-recursive
  99070. +html-am:
  99071. +
  99072. info: info-recursive
  99073. info-am:
  99074. @@ -498,18 +566,28 @@
  99075. install-dvi: install-dvi-recursive
  99076. +install-dvi-am:
  99077. +
  99078. install-exec-am:
  99079. install-html: install-html-recursive
  99080. +install-html-am:
  99081. +
  99082. install-info: install-info-recursive
  99083. +install-info-am:
  99084. +
  99085. install-man:
  99086. install-pdf: install-pdf-recursive
  99087. +install-pdf-am:
  99088. +
  99089. install-ps: install-ps-recursive
  99090. +install-ps-am:
  99091. +
  99092. installcheck-am:
  99093. maintainer-clean: maintainer-clean-recursive
  99094. @@ -530,8 +608,8 @@
  99095. uninstall-am:
  99096. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  99097. - install-strip
  99098. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  99099. + install-am install-strip tags-recursive
  99100. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  99101. all all-am check check-am clean clean-generic clean-libtool \
  99102. @@ -547,6 +625,7 @@
  99103. mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  99104. uninstall uninstall-am
  99105. +
  99106. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  99107. # Otherwise a system limit (for SysV at least) may be exceeded.
  99108. .NOEXPORT:
  99109. diff -Nur squid-3.0.STABLE20.orig/helpers/digest_auth/password/Makefile.in squid-3.0.STABLE20/helpers/digest_auth/password/Makefile.in
  99110. --- squid-3.0.STABLE20.orig/helpers/digest_auth/password/Makefile.in 2009-10-29 11:05:39.000000000 +0100
  99111. +++ squid-3.0.STABLE20/helpers/digest_auth/password/Makefile.in 2010-02-19 00:39:18.872852116 +0100
  99112. @@ -1,8 +1,9 @@
  99113. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  99114. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  99115. # @configure_input@
  99116. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  99117. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  99118. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  99119. +# Inc.
  99120. # This Makefile.in is free software; the Free Software Foundation
  99121. # gives unlimited permission to copy and/or distribute it,
  99122. # with or without modifications, as long as this notice is preserved.
  99123. @@ -24,8 +25,9 @@
  99124. VPATH = @srcdir@
  99125. pkgdatadir = $(datadir)/@PACKAGE@
  99126. -pkglibdir = $(libdir)/@PACKAGE@
  99127. pkgincludedir = $(includedir)/@PACKAGE@
  99128. +pkglibdir = $(libdir)/@PACKAGE@
  99129. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  99130. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  99131. install_sh_DATA = $(install_sh) -c -m 644
  99132. install_sh_PROGRAM = $(install_sh) -c
  99133. @@ -51,8 +53,8 @@
  99134. mkinstalldirs = $(install_sh) -d
  99135. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  99136. CONFIG_CLEAN_FILES =
  99137. +CONFIG_CLEAN_VPATH_FILES =
  99138. am__installdirs = "$(DESTDIR)$(libexecdir)"
  99139. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  99140. PROGRAMS = $(libexec_PROGRAMS)
  99141. am_digest_pw_auth_OBJECTS = digest_pw_auth.$(OBJEXT) \
  99142. text_backend.$(OBJEXT)
  99143. @@ -64,6 +66,7 @@
  99144. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  99145. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  99146. am__depfiles_maybe = depfiles
  99147. +am__mv = mv -f
  99148. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  99149. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  99150. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  99151. @@ -115,7 +118,7 @@
  99152. DISK_LINKOBJS = @DISK_LINKOBJS@
  99153. DISK_PROGRAMS = @DISK_PROGRAMS@
  99154. DSYMUTIL = @DSYMUTIL@
  99155. -ECHO = @ECHO@
  99156. +DUMPBIN = @DUMPBIN@
  99157. ECHO_C = @ECHO_C@
  99158. ECHO_N = @ECHO_N@
  99159. ECHO_T = @ECHO_T@
  99160. @@ -125,10 +128,10 @@
  99161. ERR_LANGUAGES = @ERR_LANGUAGES@
  99162. EXEEXT = @EXEEXT@
  99163. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  99164. -F77 = @F77@
  99165. FALSE = @FALSE@
  99166. -FFLAGS = @FFLAGS@
  99167. +FGREP = @FGREP@
  99168. GREP = @GREP@
  99169. +HOSTCXX = @HOSTCXX@
  99170. ICAP_LIBS = @ICAP_LIBS@
  99171. INSTALL = @INSTALL@
  99172. INSTALL_DATA = @INSTALL_DATA@
  99173. @@ -137,8 +140,12 @@
  99174. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  99175. KRB5INCS = @KRB5INCS@
  99176. KRB5LIBS = @KRB5LIBS@
  99177. +LD = @LD@
  99178. LDFLAGS = @LDFLAGS@
  99179. LIBADD_DL = @LIBADD_DL@
  99180. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  99181. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  99182. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  99183. LIBOBJS = @LIBOBJS@
  99184. LIBREGEX = @LIBREGEX@
  99185. LIBS = @LIBS@
  99186. @@ -147,9 +154,12 @@
  99187. LIB_DB = @LIB_DB@
  99188. LIB_LBER = @LIB_LBER@
  99189. LIB_LDAP = @LIB_LDAP@
  99190. +LIPO = @LIPO@
  99191. LN = @LN@
  99192. LN_S = @LN_S@
  99193. LTLIBOBJS = @LTLIBOBJS@
  99194. +LT_DLLOADERS = @LT_DLLOADERS@
  99195. +LT_DLPREOPEN = @LT_DLPREOPEN@
  99196. MAINT = @MAINT@
  99197. MAKEINFO = @MAKEINFO@
  99198. MINGW_LIBS = @MINGW_LIBS@
  99199. @@ -157,15 +167,20 @@
  99200. MKDIR_P = @MKDIR_P@
  99201. MV = @MV@
  99202. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  99203. +NM = @NM@
  99204. NMEDIT = @NMEDIT@
  99205. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  99206. +OBJDUMP = @OBJDUMP@
  99207. OBJEXT = @OBJEXT@
  99208. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  99209. +OTOOL = @OTOOL@
  99210. +OTOOL64 = @OTOOL64@
  99211. PACKAGE = @PACKAGE@
  99212. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  99213. PACKAGE_NAME = @PACKAGE_NAME@
  99214. PACKAGE_STRING = @PACKAGE_STRING@
  99215. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  99216. +PACKAGE_URL = @PACKAGE_URL@
  99217. PACKAGE_VERSION = @PACKAGE_VERSION@
  99218. PATH_SEPARATOR = @PATH_SEPARATOR@
  99219. PERL = @PERL@
  99220. @@ -202,7 +217,7 @@
  99221. abs_top_srcdir = @abs_top_srcdir@
  99222. ac_ct_CC = @ac_ct_CC@
  99223. ac_ct_CXX = @ac_ct_CXX@
  99224. -ac_ct_F77 = @ac_ct_F77@
  99225. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  99226. ac_krb5_config = @ac_krb5_config@
  99227. am__include = @am__include@
  99228. am__leading_dot = @am__leading_dot@
  99229. @@ -234,6 +249,7 @@
  99230. libexecdir = @libexecdir@
  99231. localedir = @localedir@
  99232. localstatedir = @localstatedir@
  99233. +lt_ECHO = @lt_ECHO@
  99234. makesnmplib = @makesnmplib@
  99235. mandir = @mandir@
  99236. mkdir_p = @mkdir_p@
  99237. @@ -268,14 +284,14 @@
  99238. @for dep in $?; do \
  99239. case '$(am__configure_deps)' in \
  99240. *$$dep*) \
  99241. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  99242. - && exit 0; \
  99243. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  99244. + && { if test -f $@; then exit 0; else break; fi; }; \
  99245. exit 1;; \
  99246. esac; \
  99247. done; \
  99248. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/digest_auth/password/Makefile'; \
  99249. - cd $(top_srcdir) && \
  99250. - $(AUTOMAKE) --foreign helpers/digest_auth/password/Makefile
  99251. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/digest_auth/password/Makefile'; \
  99252. + $(am__cd) $(top_srcdir) && \
  99253. + $(AUTOMAKE) --foreign helpers/digest_auth/password/Makefile
  99254. .PRECIOUS: Makefile
  99255. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  99256. @case '$?' in \
  99257. @@ -293,34 +309,50 @@
  99258. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  99259. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  99260. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  99261. +$(am__aclocal_m4_deps):
  99262. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  99263. @$(NORMAL_INSTALL)
  99264. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  99265. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  99266. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  99267. - if test -f $$p \
  99268. - || test -f $$p1 \
  99269. - ; then \
  99270. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  99271. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  99272. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  99273. - else :; fi; \
  99274. - done
  99275. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  99276. + for p in $$list; do echo "$$p $$p"; done | \
  99277. + sed 's/$(EXEEXT)$$//' | \
  99278. + while read p p1; do if test -f $$p || test -f $$p1; \
  99279. + then echo "$$p"; echo "$$p"; else :; fi; \
  99280. + done | \
  99281. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  99282. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  99283. + sed 'N;N;N;s,\n, ,g' | \
  99284. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  99285. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  99286. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  99287. + else { print "f", $$3 "/" $$4, $$1; } } \
  99288. + END { for (d in files) print "f", d, files[d] }' | \
  99289. + while read type dir files; do \
  99290. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  99291. + test -z "$$files" || { \
  99292. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  99293. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  99294. + } \
  99295. + ; done
  99296. uninstall-libexecPROGRAMS:
  99297. @$(NORMAL_UNINSTALL)
  99298. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  99299. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  99300. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  99301. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  99302. - done
  99303. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  99304. + files=`for p in $$list; do echo "$$p"; done | \
  99305. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  99306. + -e 's/$$/$(EXEEXT)/' `; \
  99307. + test -n "$$list" || exit 0; \
  99308. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  99309. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  99310. clean-libexecPROGRAMS:
  99311. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  99312. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  99313. - echo " rm -f $$p $$f"; \
  99314. - rm -f $$p $$f ; \
  99315. - done
  99316. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  99317. + echo " rm -f" $$list; \
  99318. + rm -f $$list || exit $$?; \
  99319. + test -n "$(EXEEXT)" || exit 0; \
  99320. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  99321. + echo " rm -f" $$list; \
  99322. + rm -f $$list
  99323. digest_pw_auth$(EXEEXT): $(digest_pw_auth_OBJECTS) $(digest_pw_auth_DEPENDENCIES)
  99324. @rm -f digest_pw_auth$(EXEEXT)
  99325. $(LINK) $(digest_pw_auth_OBJECTS) $(digest_pw_auth_LDADD) $(LIBS)
  99326. @@ -336,21 +368,21 @@
  99327. .c.o:
  99328. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  99329. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  99330. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  99331. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  99332. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  99333. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  99334. .c.obj:
  99335. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  99336. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  99337. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  99338. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  99339. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  99340. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  99341. .c.lo:
  99342. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  99343. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  99344. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  99345. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  99346. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  99347. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  99348. @@ -366,14 +398,14 @@
  99349. unique=`for i in $$list; do \
  99350. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  99351. done | \
  99352. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  99353. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  99354. END { if (nonempty) { for (i in files) print i; }; }'`; \
  99355. mkid -fID $$unique
  99356. tags: TAGS
  99357. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  99358. $(TAGS_FILES) $(LISP)
  99359. - tags=; \
  99360. + set x; \
  99361. here=`pwd`; \
  99362. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  99363. unique=`for i in $$list; do \
  99364. @@ -381,29 +413,34 @@
  99365. done | \
  99366. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  99367. END { if (nonempty) { for (i in files) print i; }; }'`; \
  99368. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  99369. + shift; \
  99370. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  99371. test -n "$$unique" || unique=$$empty_fix; \
  99372. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  99373. - $$tags $$unique; \
  99374. + if test $$# -gt 0; then \
  99375. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  99376. + "$$@" $$unique; \
  99377. + else \
  99378. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  99379. + $$unique; \
  99380. + fi; \
  99381. fi
  99382. ctags: CTAGS
  99383. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  99384. $(TAGS_FILES) $(LISP)
  99385. - tags=; \
  99386. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  99387. unique=`for i in $$list; do \
  99388. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  99389. done | \
  99390. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  99391. END { if (nonempty) { for (i in files) print i; }; }'`; \
  99392. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  99393. + test -z "$(CTAGS_ARGS)$$unique" \
  99394. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  99395. - $$tags $$unique
  99396. + $$unique
  99397. GTAGS:
  99398. here=`$(am__cd) $(top_builddir) && pwd` \
  99399. - && cd $(top_srcdir) \
  99400. - && gtags -i $(GTAGS_ARGS) $$here
  99401. + && $(am__cd) $(top_srcdir) \
  99402. + && gtags -i $(GTAGS_ARGS) "$$here"
  99403. distclean-tags:
  99404. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  99405. @@ -424,13 +461,17 @@
  99406. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  99407. if test -d $$d/$$file; then \
  99408. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  99409. + if test -d "$(distdir)/$$file"; then \
  99410. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  99411. + fi; \
  99412. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  99413. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  99414. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  99415. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  99416. fi; \
  99417. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  99418. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  99419. else \
  99420. - test -f $(distdir)/$$file \
  99421. - || cp -p $$d/$$file $(distdir)/$$file \
  99422. + test -f "$(distdir)/$$file" \
  99423. + || cp -p $$d/$$file "$(distdir)/$$file" \
  99424. || exit 1; \
  99425. fi; \
  99426. done
  99427. @@ -461,6 +502,7 @@
  99428. distclean-generic:
  99429. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  99430. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  99431. maintainer-clean-generic:
  99432. @echo "This command is intended for maintainers to use"
  99433. @@ -482,6 +524,8 @@
  99434. html: html-am
  99435. +html-am:
  99436. +
  99437. info: info-am
  99438. info-am:
  99439. @@ -490,18 +534,28 @@
  99440. install-dvi: install-dvi-am
  99441. +install-dvi-am:
  99442. +
  99443. install-exec-am: install-libexecPROGRAMS
  99444. install-html: install-html-am
  99445. +install-html-am:
  99446. +
  99447. install-info: install-info-am
  99448. +install-info-am:
  99449. +
  99450. install-man:
  99451. install-pdf: install-pdf-am
  99452. +install-pdf-am:
  99453. +
  99454. install-ps: install-ps-am
  99455. +install-ps-am:
  99456. +
  99457. installcheck-am:
  99458. maintainer-clean: maintainer-clean-am
  99459. @@ -540,6 +594,7 @@
  99460. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  99461. tags uninstall uninstall-am uninstall-libexecPROGRAMS
  99462. +
  99463. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  99464. # Otherwise a system limit (for SysV at least) may be exceeded.
  99465. .NOEXPORT:
  99466. diff -Nur squid-3.0.STABLE20.orig/helpers/external_acl/ip_user/Makefile.in squid-3.0.STABLE20/helpers/external_acl/ip_user/Makefile.in
  99467. --- squid-3.0.STABLE20.orig/helpers/external_acl/ip_user/Makefile.in 2009-10-29 11:05:39.000000000 +0100
  99468. +++ squid-3.0.STABLE20/helpers/external_acl/ip_user/Makefile.in 2010-02-19 00:39:19.272853620 +0100
  99469. @@ -1,8 +1,9 @@
  99470. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  99471. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  99472. # @configure_input@
  99473. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  99474. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  99475. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  99476. +# Inc.
  99477. # This Makefile.in is free software; the Free Software Foundation
  99478. # gives unlimited permission to copy and/or distribute it,
  99479. # with or without modifications, as long as this notice is preserved.
  99480. @@ -24,8 +25,9 @@
  99481. VPATH = @srcdir@
  99482. pkgdatadir = $(datadir)/@PACKAGE@
  99483. -pkglibdir = $(libdir)/@PACKAGE@
  99484. pkgincludedir = $(includedir)/@PACKAGE@
  99485. +pkglibdir = $(libdir)/@PACKAGE@
  99486. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  99487. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  99488. install_sh_DATA = $(install_sh) -c -m 644
  99489. install_sh_PROGRAM = $(install_sh) -c
  99490. @@ -51,8 +53,8 @@
  99491. mkinstalldirs = $(install_sh) -d
  99492. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  99493. CONFIG_CLEAN_FILES =
  99494. +CONFIG_CLEAN_VPATH_FILES =
  99495. am__installdirs = "$(DESTDIR)$(libexecdir)"
  99496. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  99497. PROGRAMS = $(libexec_PROGRAMS)
  99498. am_ip_user_check_OBJECTS = dict.$(OBJEXT) main.$(OBJEXT) \
  99499. match.$(OBJEXT)
  99500. @@ -62,6 +64,7 @@
  99501. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  99502. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  99503. am__depfiles_maybe = depfiles
  99504. +am__mv = mv -f
  99505. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  99506. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  99507. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  99508. @@ -113,7 +116,7 @@
  99509. DISK_LINKOBJS = @DISK_LINKOBJS@
  99510. DISK_PROGRAMS = @DISK_PROGRAMS@
  99511. DSYMUTIL = @DSYMUTIL@
  99512. -ECHO = @ECHO@
  99513. +DUMPBIN = @DUMPBIN@
  99514. ECHO_C = @ECHO_C@
  99515. ECHO_N = @ECHO_N@
  99516. ECHO_T = @ECHO_T@
  99517. @@ -123,10 +126,10 @@
  99518. ERR_LANGUAGES = @ERR_LANGUAGES@
  99519. EXEEXT = @EXEEXT@
  99520. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  99521. -F77 = @F77@
  99522. FALSE = @FALSE@
  99523. -FFLAGS = @FFLAGS@
  99524. +FGREP = @FGREP@
  99525. GREP = @GREP@
  99526. +HOSTCXX = @HOSTCXX@
  99527. ICAP_LIBS = @ICAP_LIBS@
  99528. INSTALL = @INSTALL@
  99529. INSTALL_DATA = @INSTALL_DATA@
  99530. @@ -135,8 +138,12 @@
  99531. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  99532. KRB5INCS = @KRB5INCS@
  99533. KRB5LIBS = @KRB5LIBS@
  99534. +LD = @LD@
  99535. LDFLAGS = @LDFLAGS@
  99536. LIBADD_DL = @LIBADD_DL@
  99537. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  99538. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  99539. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  99540. LIBOBJS = @LIBOBJS@
  99541. LIBREGEX = @LIBREGEX@
  99542. LIBS = @LIBS@
  99543. @@ -145,9 +152,12 @@
  99544. LIB_DB = @LIB_DB@
  99545. LIB_LBER = @LIB_LBER@
  99546. LIB_LDAP = @LIB_LDAP@
  99547. +LIPO = @LIPO@
  99548. LN = @LN@
  99549. LN_S = @LN_S@
  99550. LTLIBOBJS = @LTLIBOBJS@
  99551. +LT_DLLOADERS = @LT_DLLOADERS@
  99552. +LT_DLPREOPEN = @LT_DLPREOPEN@
  99553. MAINT = @MAINT@
  99554. MAKEINFO = @MAKEINFO@
  99555. MINGW_LIBS = @MINGW_LIBS@
  99556. @@ -155,15 +165,20 @@
  99557. MKDIR_P = @MKDIR_P@
  99558. MV = @MV@
  99559. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  99560. +NM = @NM@
  99561. NMEDIT = @NMEDIT@
  99562. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  99563. +OBJDUMP = @OBJDUMP@
  99564. OBJEXT = @OBJEXT@
  99565. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  99566. +OTOOL = @OTOOL@
  99567. +OTOOL64 = @OTOOL64@
  99568. PACKAGE = @PACKAGE@
  99569. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  99570. PACKAGE_NAME = @PACKAGE_NAME@
  99571. PACKAGE_STRING = @PACKAGE_STRING@
  99572. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  99573. +PACKAGE_URL = @PACKAGE_URL@
  99574. PACKAGE_VERSION = @PACKAGE_VERSION@
  99575. PATH_SEPARATOR = @PATH_SEPARATOR@
  99576. PERL = @PERL@
  99577. @@ -200,7 +215,7 @@
  99578. abs_top_srcdir = @abs_top_srcdir@
  99579. ac_ct_CC = @ac_ct_CC@
  99580. ac_ct_CXX = @ac_ct_CXX@
  99581. -ac_ct_F77 = @ac_ct_F77@
  99582. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  99583. ac_krb5_config = @ac_krb5_config@
  99584. am__include = @am__include@
  99585. am__leading_dot = @am__leading_dot@
  99586. @@ -232,6 +247,7 @@
  99587. libexecdir = @libexecdir@
  99588. localedir = @localedir@
  99589. localstatedir = @localstatedir@
  99590. +lt_ECHO = @lt_ECHO@
  99591. makesnmplib = @makesnmplib@
  99592. mandir = @mandir@
  99593. mkdir_p = @mkdir_p@
  99594. @@ -273,14 +289,14 @@
  99595. @for dep in $?; do \
  99596. case '$(am__configure_deps)' in \
  99597. *$$dep*) \
  99598. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  99599. - && exit 0; \
  99600. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  99601. + && { if test -f $@; then exit 0; else break; fi; }; \
  99602. exit 1;; \
  99603. esac; \
  99604. done; \
  99605. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/external_acl/ip_user/Makefile'; \
  99606. - cd $(top_srcdir) && \
  99607. - $(AUTOMAKE) --foreign helpers/external_acl/ip_user/Makefile
  99608. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/external_acl/ip_user/Makefile'; \
  99609. + $(am__cd) $(top_srcdir) && \
  99610. + $(AUTOMAKE) --foreign helpers/external_acl/ip_user/Makefile
  99611. .PRECIOUS: Makefile
  99612. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  99613. @case '$?' in \
  99614. @@ -298,34 +314,50 @@
  99615. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  99616. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  99617. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  99618. +$(am__aclocal_m4_deps):
  99619. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  99620. @$(NORMAL_INSTALL)
  99621. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  99622. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  99623. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  99624. - if test -f $$p \
  99625. - || test -f $$p1 \
  99626. - ; then \
  99627. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  99628. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  99629. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  99630. - else :; fi; \
  99631. - done
  99632. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  99633. + for p in $$list; do echo "$$p $$p"; done | \
  99634. + sed 's/$(EXEEXT)$$//' | \
  99635. + while read p p1; do if test -f $$p || test -f $$p1; \
  99636. + then echo "$$p"; echo "$$p"; else :; fi; \
  99637. + done | \
  99638. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  99639. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  99640. + sed 'N;N;N;s,\n, ,g' | \
  99641. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  99642. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  99643. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  99644. + else { print "f", $$3 "/" $$4, $$1; } } \
  99645. + END { for (d in files) print "f", d, files[d] }' | \
  99646. + while read type dir files; do \
  99647. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  99648. + test -z "$$files" || { \
  99649. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  99650. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  99651. + } \
  99652. + ; done
  99653. uninstall-libexecPROGRAMS:
  99654. @$(NORMAL_UNINSTALL)
  99655. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  99656. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  99657. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  99658. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  99659. - done
  99660. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  99661. + files=`for p in $$list; do echo "$$p"; done | \
  99662. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  99663. + -e 's/$$/$(EXEEXT)/' `; \
  99664. + test -n "$$list" || exit 0; \
  99665. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  99666. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  99667. clean-libexecPROGRAMS:
  99668. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  99669. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  99670. - echo " rm -f $$p $$f"; \
  99671. - rm -f $$p $$f ; \
  99672. - done
  99673. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  99674. + echo " rm -f" $$list; \
  99675. + rm -f $$list || exit $$?; \
  99676. + test -n "$(EXEEXT)" || exit 0; \
  99677. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  99678. + echo " rm -f" $$list; \
  99679. + rm -f $$list
  99680. ip_user_check$(EXEEXT): $(ip_user_check_OBJECTS) $(ip_user_check_DEPENDENCIES)
  99681. @rm -f ip_user_check$(EXEEXT)
  99682. $(LINK) $(ip_user_check_OBJECTS) $(ip_user_check_LDADD) $(LIBS)
  99683. @@ -342,21 +374,21 @@
  99684. .c.o:
  99685. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  99686. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  99687. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  99688. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  99689. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  99690. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  99691. .c.obj:
  99692. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  99693. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  99694. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  99695. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  99696. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  99697. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  99698. .c.lo:
  99699. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  99700. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  99701. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  99702. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  99703. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  99704. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  99705. @@ -372,14 +404,14 @@
  99706. unique=`for i in $$list; do \
  99707. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  99708. done | \
  99709. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  99710. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  99711. END { if (nonempty) { for (i in files) print i; }; }'`; \
  99712. mkid -fID $$unique
  99713. tags: TAGS
  99714. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  99715. $(TAGS_FILES) $(LISP)
  99716. - tags=; \
  99717. + set x; \
  99718. here=`pwd`; \
  99719. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  99720. unique=`for i in $$list; do \
  99721. @@ -387,29 +419,34 @@
  99722. done | \
  99723. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  99724. END { if (nonempty) { for (i in files) print i; }; }'`; \
  99725. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  99726. + shift; \
  99727. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  99728. test -n "$$unique" || unique=$$empty_fix; \
  99729. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  99730. - $$tags $$unique; \
  99731. + if test $$# -gt 0; then \
  99732. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  99733. + "$$@" $$unique; \
  99734. + else \
  99735. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  99736. + $$unique; \
  99737. + fi; \
  99738. fi
  99739. ctags: CTAGS
  99740. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  99741. $(TAGS_FILES) $(LISP)
  99742. - tags=; \
  99743. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  99744. unique=`for i in $$list; do \
  99745. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  99746. done | \
  99747. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  99748. END { if (nonempty) { for (i in files) print i; }; }'`; \
  99749. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  99750. + test -z "$(CTAGS_ARGS)$$unique" \
  99751. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  99752. - $$tags $$unique
  99753. + $$unique
  99754. GTAGS:
  99755. here=`$(am__cd) $(top_builddir) && pwd` \
  99756. - && cd $(top_srcdir) \
  99757. - && gtags -i $(GTAGS_ARGS) $$here
  99758. + && $(am__cd) $(top_srcdir) \
  99759. + && gtags -i $(GTAGS_ARGS) "$$here"
  99760. distclean-tags:
  99761. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  99762. @@ -430,13 +467,17 @@
  99763. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  99764. if test -d $$d/$$file; then \
  99765. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  99766. + if test -d "$(distdir)/$$file"; then \
  99767. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  99768. + fi; \
  99769. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  99770. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  99771. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  99772. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  99773. fi; \
  99774. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  99775. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  99776. else \
  99777. - test -f $(distdir)/$$file \
  99778. - || cp -p $$d/$$file $(distdir)/$$file \
  99779. + test -f "$(distdir)/$$file" \
  99780. + || cp -p $$d/$$file "$(distdir)/$$file" \
  99781. || exit 1; \
  99782. fi; \
  99783. done
  99784. @@ -467,6 +508,7 @@
  99785. distclean-generic:
  99786. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  99787. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  99788. maintainer-clean-generic:
  99789. @echo "This command is intended for maintainers to use"
  99790. @@ -488,6 +530,8 @@
  99791. html: html-am
  99792. +html-am:
  99793. +
  99794. info: info-am
  99795. info-am:
  99796. @@ -496,18 +540,28 @@
  99797. install-dvi: install-dvi-am
  99798. +install-dvi-am:
  99799. +
  99800. install-exec-am: install-libexecPROGRAMS
  99801. install-html: install-html-am
  99802. +install-html-am:
  99803. +
  99804. install-info: install-info-am
  99805. +install-info-am:
  99806. +
  99807. install-man:
  99808. install-pdf: install-pdf-am
  99809. +install-pdf-am:
  99810. +
  99811. install-ps: install-ps-am
  99812. +install-ps-am:
  99813. +
  99814. installcheck-am:
  99815. maintainer-clean: maintainer-clean-am
  99816. @@ -546,6 +600,7 @@
  99817. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  99818. tags uninstall uninstall-am uninstall-libexecPROGRAMS
  99819. +
  99820. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  99821. # Otherwise a system limit (for SysV at least) may be exceeded.
  99822. .NOEXPORT:
  99823. diff -Nur squid-3.0.STABLE20.orig/helpers/external_acl/ldap_group/Makefile.in squid-3.0.STABLE20/helpers/external_acl/ldap_group/Makefile.in
  99824. --- squid-3.0.STABLE20.orig/helpers/external_acl/ldap_group/Makefile.in 2009-10-29 11:05:39.000000000 +0100
  99825. +++ squid-3.0.STABLE20/helpers/external_acl/ldap_group/Makefile.in 2010-02-19 00:39:19.452852814 +0100
  99826. @@ -1,8 +1,9 @@
  99827. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  99828. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  99829. # @configure_input@
  99830. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  99831. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  99832. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  99833. +# Inc.
  99834. # This Makefile.in is free software; the Free Software Foundation
  99835. # gives unlimited permission to copy and/or distribute it,
  99836. # with or without modifications, as long as this notice is preserved.
  99837. @@ -24,8 +25,9 @@
  99838. VPATH = @srcdir@
  99839. pkgdatadir = $(datadir)/@PACKAGE@
  99840. -pkglibdir = $(libdir)/@PACKAGE@
  99841. pkgincludedir = $(includedir)/@PACKAGE@
  99842. +pkglibdir = $(libdir)/@PACKAGE@
  99843. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  99844. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  99845. install_sh_DATA = $(install_sh) -c -m 644
  99846. install_sh_PROGRAM = $(install_sh) -c
  99847. @@ -52,8 +54,8 @@
  99848. mkinstalldirs = $(install_sh) -d
  99849. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  99850. CONFIG_CLEAN_FILES =
  99851. +CONFIG_CLEAN_VPATH_FILES =
  99852. am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man8dir)"
  99853. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  99854. PROGRAMS = $(libexec_PROGRAMS)
  99855. am_squid_ldap_group_OBJECTS = squid_ldap_group.$(OBJEXT)
  99856. squid_ldap_group_OBJECTS = $(am_squid_ldap_group_OBJECTS)
  99857. @@ -64,6 +66,7 @@
  99858. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  99859. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  99860. am__depfiles_maybe = depfiles
  99861. +am__mv = mv -f
  99862. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  99863. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  99864. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  99865. @@ -75,6 +78,27 @@
  99866. $(LDFLAGS) -o $@
  99867. SOURCES = $(squid_ldap_group_SOURCES)
  99868. DIST_SOURCES = $(squid_ldap_group_SOURCES)
  99869. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  99870. +am__vpath_adj = case $$p in \
  99871. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  99872. + *) f=$$p;; \
  99873. + esac;
  99874. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  99875. +am__install_max = 40
  99876. +am__nobase_strip_setup = \
  99877. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  99878. +am__nobase_strip = \
  99879. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  99880. +am__nobase_list = $(am__nobase_strip_setup); \
  99881. + for p in $$list; do echo "$$p $$p"; done | \
  99882. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  99883. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  99884. + if (++n[$$2] == $(am__install_max)) \
  99885. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  99886. + END { for (dir in files) print dir, files[dir] }'
  99887. +am__base_list = \
  99888. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  99889. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  99890. man8dir = $(mandir)/man8
  99891. NROFF = nroff
  99892. MANS = $(man_MANS)
  99893. @@ -118,7 +142,7 @@
  99894. DISK_LINKOBJS = @DISK_LINKOBJS@
  99895. DISK_PROGRAMS = @DISK_PROGRAMS@
  99896. DSYMUTIL = @DSYMUTIL@
  99897. -ECHO = @ECHO@
  99898. +DUMPBIN = @DUMPBIN@
  99899. ECHO_C = @ECHO_C@
  99900. ECHO_N = @ECHO_N@
  99901. ECHO_T = @ECHO_T@
  99902. @@ -128,10 +152,10 @@
  99903. ERR_LANGUAGES = @ERR_LANGUAGES@
  99904. EXEEXT = @EXEEXT@
  99905. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  99906. -F77 = @F77@
  99907. FALSE = @FALSE@
  99908. -FFLAGS = @FFLAGS@
  99909. +FGREP = @FGREP@
  99910. GREP = @GREP@
  99911. +HOSTCXX = @HOSTCXX@
  99912. ICAP_LIBS = @ICAP_LIBS@
  99913. INSTALL = @INSTALL@
  99914. INSTALL_DATA = @INSTALL_DATA@
  99915. @@ -140,8 +164,12 @@
  99916. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  99917. KRB5INCS = @KRB5INCS@
  99918. KRB5LIBS = @KRB5LIBS@
  99919. +LD = @LD@
  99920. LDFLAGS = @LDFLAGS@
  99921. LIBADD_DL = @LIBADD_DL@
  99922. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  99923. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  99924. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  99925. LIBOBJS = @LIBOBJS@
  99926. LIBREGEX = @LIBREGEX@
  99927. LIBS = @LIBS@
  99928. @@ -150,9 +178,12 @@
  99929. LIB_DB = @LIB_DB@
  99930. LIB_LBER = @LIB_LBER@
  99931. LIB_LDAP = @LIB_LDAP@
  99932. +LIPO = @LIPO@
  99933. LN = @LN@
  99934. LN_S = @LN_S@
  99935. LTLIBOBJS = @LTLIBOBJS@
  99936. +LT_DLLOADERS = @LT_DLLOADERS@
  99937. +LT_DLPREOPEN = @LT_DLPREOPEN@
  99938. MAINT = @MAINT@
  99939. MAKEINFO = @MAKEINFO@
  99940. MINGW_LIBS = @MINGW_LIBS@
  99941. @@ -160,15 +191,20 @@
  99942. MKDIR_P = @MKDIR_P@
  99943. MV = @MV@
  99944. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  99945. +NM = @NM@
  99946. NMEDIT = @NMEDIT@
  99947. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  99948. +OBJDUMP = @OBJDUMP@
  99949. OBJEXT = @OBJEXT@
  99950. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  99951. +OTOOL = @OTOOL@
  99952. +OTOOL64 = @OTOOL64@
  99953. PACKAGE = @PACKAGE@
  99954. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  99955. PACKAGE_NAME = @PACKAGE_NAME@
  99956. PACKAGE_STRING = @PACKAGE_STRING@
  99957. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  99958. +PACKAGE_URL = @PACKAGE_URL@
  99959. PACKAGE_VERSION = @PACKAGE_VERSION@
  99960. PATH_SEPARATOR = @PATH_SEPARATOR@
  99961. PERL = @PERL@
  99962. @@ -205,7 +241,7 @@
  99963. abs_top_srcdir = @abs_top_srcdir@
  99964. ac_ct_CC = @ac_ct_CC@
  99965. ac_ct_CXX = @ac_ct_CXX@
  99966. -ac_ct_F77 = @ac_ct_F77@
  99967. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  99968. ac_krb5_config = @ac_krb5_config@
  99969. am__include = @am__include@
  99970. am__leading_dot = @am__leading_dot@
  99971. @@ -237,6 +273,7 @@
  99972. libexecdir = @libexecdir@
  99973. localedir = @localedir@
  99974. localstatedir = @localstatedir@
  99975. +lt_ECHO = @lt_ECHO@
  99976. makesnmplib = @makesnmplib@
  99977. mandir = @mandir@
  99978. mkdir_p = @mkdir_p@
  99979. @@ -267,14 +304,14 @@
  99980. @for dep in $?; do \
  99981. case '$(am__configure_deps)' in \
  99982. *$$dep*) \
  99983. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  99984. - && exit 0; \
  99985. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  99986. + && { if test -f $@; then exit 0; else break; fi; }; \
  99987. exit 1;; \
  99988. esac; \
  99989. done; \
  99990. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/external_acl/ldap_group/Makefile'; \
  99991. - cd $(top_srcdir) && \
  99992. - $(AUTOMAKE) --foreign helpers/external_acl/ldap_group/Makefile
  99993. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/external_acl/ldap_group/Makefile'; \
  99994. + $(am__cd) $(top_srcdir) && \
  99995. + $(AUTOMAKE) --foreign helpers/external_acl/ldap_group/Makefile
  99996. .PRECIOUS: Makefile
  99997. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  99998. @case '$?' in \
  99999. @@ -292,34 +329,50 @@
  100000. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  100001. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  100002. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  100003. +$(am__aclocal_m4_deps):
  100004. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  100005. @$(NORMAL_INSTALL)
  100006. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  100007. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  100008. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  100009. - if test -f $$p \
  100010. - || test -f $$p1 \
  100011. - ; then \
  100012. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  100013. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  100014. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  100015. - else :; fi; \
  100016. - done
  100017. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  100018. + for p in $$list; do echo "$$p $$p"; done | \
  100019. + sed 's/$(EXEEXT)$$//' | \
  100020. + while read p p1; do if test -f $$p || test -f $$p1; \
  100021. + then echo "$$p"; echo "$$p"; else :; fi; \
  100022. + done | \
  100023. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  100024. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  100025. + sed 'N;N;N;s,\n, ,g' | \
  100026. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  100027. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  100028. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  100029. + else { print "f", $$3 "/" $$4, $$1; } } \
  100030. + END { for (d in files) print "f", d, files[d] }' | \
  100031. + while read type dir files; do \
  100032. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  100033. + test -z "$$files" || { \
  100034. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  100035. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  100036. + } \
  100037. + ; done
  100038. uninstall-libexecPROGRAMS:
  100039. @$(NORMAL_UNINSTALL)
  100040. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  100041. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  100042. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  100043. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  100044. - done
  100045. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  100046. + files=`for p in $$list; do echo "$$p"; done | \
  100047. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  100048. + -e 's/$$/$(EXEEXT)/' `; \
  100049. + test -n "$$list" || exit 0; \
  100050. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  100051. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  100052. clean-libexecPROGRAMS:
  100053. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  100054. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  100055. - echo " rm -f $$p $$f"; \
  100056. - rm -f $$p $$f ; \
  100057. - done
  100058. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  100059. + echo " rm -f" $$list; \
  100060. + rm -f $$list || exit $$?; \
  100061. + test -n "$(EXEEXT)" || exit 0; \
  100062. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  100063. + echo " rm -f" $$list; \
  100064. + rm -f $$list
  100065. squid_ldap_group$(EXEEXT): $(squid_ldap_group_OBJECTS) $(squid_ldap_group_DEPENDENCIES)
  100066. @rm -f squid_ldap_group$(EXEEXT)
  100067. $(LINK) $(squid_ldap_group_OBJECTS) $(squid_ldap_group_LDADD) $(LIBS)
  100068. @@ -334,21 +387,21 @@
  100069. .c.o:
  100070. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  100071. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  100072. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  100073. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  100074. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  100075. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  100076. .c.obj:
  100077. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  100078. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  100079. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  100080. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  100081. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  100082. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  100083. .c.lo:
  100084. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  100085. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  100086. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  100087. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  100088. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  100089. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  100090. @@ -358,65 +411,58 @@
  100091. clean-libtool:
  100092. -rm -rf .libs _libs
  100093. -install-man8: $(man8_MANS) $(man_MANS)
  100094. +install-man8: $(man_MANS)
  100095. @$(NORMAL_INSTALL)
  100096. test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
  100097. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  100098. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  100099. - for i in $$l2; do \
  100100. - case "$$i" in \
  100101. - *.8*) list="$$list $$i" ;; \
  100102. - esac; \
  100103. + @list=''; test -n "$(man8dir)" || exit 0; \
  100104. + { for i in $$list; do echo "$$i"; done; \
  100105. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  100106. + sed -n '/\.8[a-z]*$$/p'; \
  100107. + } | while read p; do \
  100108. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  100109. + echo "$$d$$p"; echo "$$p"; \
  100110. + done | \
  100111. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  100112. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  100113. + sed 'N;N;s,\n, ,g' | { \
  100114. + list=; while read file base inst; do \
  100115. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  100116. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  100117. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
  100118. + fi; \
  100119. done; \
  100120. - for i in $$list; do \
  100121. - if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  100122. - else file=$$i; fi; \
  100123. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  100124. - case "$$ext" in \
  100125. - 8*) ;; \
  100126. - *) ext='8' ;; \
  100127. - esac; \
  100128. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  100129. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  100130. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  100131. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  100132. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
  100133. - done
  100134. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  100135. + while read files; do \
  100136. + test -z "$$files" || { \
  100137. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
  100138. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
  100139. + done; }
  100140. +
  100141. uninstall-man8:
  100142. @$(NORMAL_UNINSTALL)
  100143. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  100144. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  100145. - for i in $$l2; do \
  100146. - case "$$i" in \
  100147. - *.8*) list="$$list $$i" ;; \
  100148. - esac; \
  100149. - done; \
  100150. - for i in $$list; do \
  100151. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  100152. - case "$$ext" in \
  100153. - 8*) ;; \
  100154. - *) ext='8' ;; \
  100155. - esac; \
  100156. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  100157. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  100158. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  100159. - echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
  100160. - rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
  100161. - done
  100162. + @list=''; test -n "$(man8dir)" || exit 0; \
  100163. + files=`{ for i in $$list; do echo "$$i"; done; \
  100164. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  100165. + sed -n '/\.8[a-z]*$$/p'; \
  100166. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  100167. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  100168. + test -z "$$files" || { \
  100169. + echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \
  100170. + cd "$(DESTDIR)$(man8dir)" && rm -f $$files; }
  100171. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  100172. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  100173. unique=`for i in $$list; do \
  100174. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  100175. done | \
  100176. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  100177. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  100178. END { if (nonempty) { for (i in files) print i; }; }'`; \
  100179. mkid -fID $$unique
  100180. tags: TAGS
  100181. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  100182. $(TAGS_FILES) $(LISP)
  100183. - tags=; \
  100184. + set x; \
  100185. here=`pwd`; \
  100186. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  100187. unique=`for i in $$list; do \
  100188. @@ -424,34 +470,52 @@
  100189. done | \
  100190. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  100191. END { if (nonempty) { for (i in files) print i; }; }'`; \
  100192. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  100193. + shift; \
  100194. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  100195. test -n "$$unique" || unique=$$empty_fix; \
  100196. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  100197. - $$tags $$unique; \
  100198. + if test $$# -gt 0; then \
  100199. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  100200. + "$$@" $$unique; \
  100201. + else \
  100202. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  100203. + $$unique; \
  100204. + fi; \
  100205. fi
  100206. ctags: CTAGS
  100207. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  100208. $(TAGS_FILES) $(LISP)
  100209. - tags=; \
  100210. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  100211. unique=`for i in $$list; do \
  100212. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  100213. done | \
  100214. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  100215. END { if (nonempty) { for (i in files) print i; }; }'`; \
  100216. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  100217. + test -z "$(CTAGS_ARGS)$$unique" \
  100218. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  100219. - $$tags $$unique
  100220. + $$unique
  100221. GTAGS:
  100222. here=`$(am__cd) $(top_builddir) && pwd` \
  100223. - && cd $(top_srcdir) \
  100224. - && gtags -i $(GTAGS_ARGS) $$here
  100225. + && $(am__cd) $(top_srcdir) \
  100226. + && gtags -i $(GTAGS_ARGS) "$$here"
  100227. distclean-tags:
  100228. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  100229. distdir: $(DISTFILES)
  100230. + @list='$(MANS)'; if test -n "$$list"; then \
  100231. + list=`for p in $$list; do \
  100232. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  100233. + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  100234. + if test -n "$$list" && \
  100235. + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  100236. + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  100237. + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  100238. + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  100239. + echo " typically \`make maintainer-clean' will remove them" >&2; \
  100240. + exit 1; \
  100241. + else :; fi; \
  100242. + else :; fi
  100243. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  100244. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  100245. list='$(DISTFILES)'; \
  100246. @@ -467,13 +531,17 @@
  100247. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  100248. if test -d $$d/$$file; then \
  100249. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  100250. + if test -d "$(distdir)/$$file"; then \
  100251. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  100252. + fi; \
  100253. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  100254. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  100255. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  100256. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  100257. fi; \
  100258. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  100259. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  100260. else \
  100261. - test -f $(distdir)/$$file \
  100262. - || cp -p $$d/$$file $(distdir)/$$file \
  100263. + test -f "$(distdir)/$$file" \
  100264. + || cp -p $$d/$$file "$(distdir)/$$file" \
  100265. || exit 1; \
  100266. fi; \
  100267. done
  100268. @@ -504,6 +572,7 @@
  100269. distclean-generic:
  100270. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  100271. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  100272. maintainer-clean-generic:
  100273. @echo "This command is intended for maintainers to use"
  100274. @@ -525,6 +594,8 @@
  100275. html: html-am
  100276. +html-am:
  100277. +
  100278. info: info-am
  100279. info-am:
  100280. @@ -533,18 +604,28 @@
  100281. install-dvi: install-dvi-am
  100282. +install-dvi-am:
  100283. +
  100284. install-exec-am: install-libexecPROGRAMS
  100285. install-html: install-html-am
  100286. +install-html-am:
  100287. +
  100288. install-info: install-info-am
  100289. +install-info-am:
  100290. +
  100291. install-man: install-man8
  100292. install-pdf: install-pdf-am
  100293. +install-pdf-am:
  100294. +
  100295. install-ps: install-ps-am
  100296. +install-ps-am:
  100297. +
  100298. installcheck-am:
  100299. maintainer-clean: maintainer-clean-am
  100300. @@ -586,6 +667,7 @@
  100301. tags uninstall uninstall-am uninstall-libexecPROGRAMS \
  100302. uninstall-man uninstall-man8
  100303. +
  100304. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  100305. # Otherwise a system limit (for SysV at least) may be exceeded.
  100306. .NOEXPORT:
  100307. diff -Nur squid-3.0.STABLE20.orig/helpers/external_acl/Makefile.in squid-3.0.STABLE20/helpers/external_acl/Makefile.in
  100308. --- squid-3.0.STABLE20.orig/helpers/external_acl/Makefile.in 2009-10-29 11:05:39.000000000 +0100
  100309. +++ squid-3.0.STABLE20/helpers/external_acl/Makefile.in 2010-02-19 00:39:19.113478861 +0100
  100310. @@ -1,8 +1,9 @@
  100311. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  100312. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  100313. # @configure_input@
  100314. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  100315. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  100316. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  100317. +# Inc.
  100318. # This Makefile.in is free software; the Free Software Foundation
  100319. # gives unlimited permission to copy and/or distribute it,
  100320. # with or without modifications, as long as this notice is preserved.
  100321. @@ -20,8 +21,9 @@
  100322. #
  100323. VPATH = @srcdir@
  100324. pkgdatadir = $(datadir)/@PACKAGE@
  100325. -pkglibdir = $(libdir)/@PACKAGE@
  100326. pkgincludedir = $(includedir)/@PACKAGE@
  100327. +pkglibdir = $(libdir)/@PACKAGE@
  100328. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  100329. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  100330. install_sh_DATA = $(install_sh) -c -m 644
  100331. install_sh_PROGRAM = $(install_sh) -c
  100332. @@ -46,6 +48,7 @@
  100333. mkinstalldirs = $(install_sh) -d
  100334. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  100335. CONFIG_CLEAN_FILES =
  100336. +CONFIG_CLEAN_VPATH_FILES =
  100337. SOURCES =
  100338. DIST_SOURCES =
  100339. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  100340. @@ -57,9 +60,37 @@
  100341. ps-recursive uninstall-recursive
  100342. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  100343. distclean-recursive maintainer-clean-recursive
  100344. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  100345. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  100346. + distdir
  100347. ETAGS = etags
  100348. CTAGS = ctags
  100349. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  100350. +am__relativize = \
  100351. + dir0=`pwd`; \
  100352. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  100353. + sed_rest='s,^[^/]*/*,,'; \
  100354. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  100355. + sed_butlast='s,/*[^/]*$$,,'; \
  100356. + while test -n "$$dir1"; do \
  100357. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  100358. + if test "$$first" != "."; then \
  100359. + if test "$$first" = ".."; then \
  100360. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  100361. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  100362. + else \
  100363. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  100364. + if test "$$first2" = "$$first"; then \
  100365. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  100366. + else \
  100367. + dir2="../$$dir2"; \
  100368. + fi; \
  100369. + dir0="$$dir0"/"$$first"; \
  100370. + fi; \
  100371. + fi; \
  100372. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  100373. + done; \
  100374. + reldir="$$dir2"
  100375. ACLOCAL = @ACLOCAL@
  100376. ALLOCA = @ALLOCA@
  100377. AMTAR = @AMTAR@
  100378. @@ -97,7 +128,7 @@
  100379. DISK_LINKOBJS = @DISK_LINKOBJS@
  100380. DISK_PROGRAMS = @DISK_PROGRAMS@
  100381. DSYMUTIL = @DSYMUTIL@
  100382. -ECHO = @ECHO@
  100383. +DUMPBIN = @DUMPBIN@
  100384. ECHO_C = @ECHO_C@
  100385. ECHO_N = @ECHO_N@
  100386. ECHO_T = @ECHO_T@
  100387. @@ -107,10 +138,10 @@
  100388. ERR_LANGUAGES = @ERR_LANGUAGES@
  100389. EXEEXT = @EXEEXT@
  100390. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  100391. -F77 = @F77@
  100392. FALSE = @FALSE@
  100393. -FFLAGS = @FFLAGS@
  100394. +FGREP = @FGREP@
  100395. GREP = @GREP@
  100396. +HOSTCXX = @HOSTCXX@
  100397. ICAP_LIBS = @ICAP_LIBS@
  100398. INSTALL = @INSTALL@
  100399. INSTALL_DATA = @INSTALL_DATA@
  100400. @@ -119,8 +150,12 @@
  100401. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  100402. KRB5INCS = @KRB5INCS@
  100403. KRB5LIBS = @KRB5LIBS@
  100404. +LD = @LD@
  100405. LDFLAGS = @LDFLAGS@
  100406. LIBADD_DL = @LIBADD_DL@
  100407. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  100408. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  100409. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  100410. LIBOBJS = @LIBOBJS@
  100411. LIBREGEX = @LIBREGEX@
  100412. LIBS = @LIBS@
  100413. @@ -129,9 +164,12 @@
  100414. LIB_DB = @LIB_DB@
  100415. LIB_LBER = @LIB_LBER@
  100416. LIB_LDAP = @LIB_LDAP@
  100417. +LIPO = @LIPO@
  100418. LN = @LN@
  100419. LN_S = @LN_S@
  100420. LTLIBOBJS = @LTLIBOBJS@
  100421. +LT_DLLOADERS = @LT_DLLOADERS@
  100422. +LT_DLPREOPEN = @LT_DLPREOPEN@
  100423. MAINT = @MAINT@
  100424. MAKEINFO = @MAKEINFO@
  100425. MINGW_LIBS = @MINGW_LIBS@
  100426. @@ -139,15 +177,20 @@
  100427. MKDIR_P = @MKDIR_P@
  100428. MV = @MV@
  100429. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  100430. +NM = @NM@
  100431. NMEDIT = @NMEDIT@
  100432. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  100433. +OBJDUMP = @OBJDUMP@
  100434. OBJEXT = @OBJEXT@
  100435. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  100436. +OTOOL = @OTOOL@
  100437. +OTOOL64 = @OTOOL64@
  100438. PACKAGE = @PACKAGE@
  100439. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  100440. PACKAGE_NAME = @PACKAGE_NAME@
  100441. PACKAGE_STRING = @PACKAGE_STRING@
  100442. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  100443. +PACKAGE_URL = @PACKAGE_URL@
  100444. PACKAGE_VERSION = @PACKAGE_VERSION@
  100445. PATH_SEPARATOR = @PATH_SEPARATOR@
  100446. PERL = @PERL@
  100447. @@ -184,7 +227,7 @@
  100448. abs_top_srcdir = @abs_top_srcdir@
  100449. ac_ct_CC = @ac_ct_CC@
  100450. ac_ct_CXX = @ac_ct_CXX@
  100451. -ac_ct_F77 = @ac_ct_F77@
  100452. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  100453. ac_krb5_config = @ac_krb5_config@
  100454. am__include = @am__include@
  100455. am__leading_dot = @am__leading_dot@
  100456. @@ -216,6 +259,7 @@
  100457. libexecdir = @libexecdir@
  100458. localedir = @localedir@
  100459. localstatedir = @localstatedir@
  100460. +lt_ECHO = @lt_ECHO@
  100461. makesnmplib = @makesnmplib@
  100462. mandir = @mandir@
  100463. mkdir_p = @mkdir_p@
  100464. @@ -242,14 +286,14 @@
  100465. @for dep in $?; do \
  100466. case '$(am__configure_deps)' in \
  100467. *$$dep*) \
  100468. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  100469. - && exit 0; \
  100470. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  100471. + && { if test -f $@; then exit 0; else break; fi; }; \
  100472. exit 1;; \
  100473. esac; \
  100474. done; \
  100475. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/external_acl/Makefile'; \
  100476. - cd $(top_srcdir) && \
  100477. - $(AUTOMAKE) --foreign helpers/external_acl/Makefile
  100478. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/external_acl/Makefile'; \
  100479. + $(am__cd) $(top_srcdir) && \
  100480. + $(AUTOMAKE) --foreign helpers/external_acl/Makefile
  100481. .PRECIOUS: Makefile
  100482. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  100483. @case '$?' in \
  100484. @@ -267,6 +311,7 @@
  100485. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  100486. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  100487. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  100488. +$(am__aclocal_m4_deps):
  100489. mostlyclean-libtool:
  100490. -rm -f *.lo
  100491. @@ -281,7 +326,7 @@
  100492. # (which will cause the Makefiles to be regenerated when you run `make');
  100493. # (2) otherwise, pass the desired values on the `make' command line.
  100494. $(RECURSIVE_TARGETS):
  100495. - @failcom='exit 1'; \
  100496. + @fail= failcom='exit 1'; \
  100497. for f in x $$MAKEFLAGS; do \
  100498. case $$f in \
  100499. *=* | --[!k]*);; \
  100500. @@ -298,7 +343,7 @@
  100501. else \
  100502. local_target="$$target"; \
  100503. fi; \
  100504. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  100505. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  100506. || eval $$failcom; \
  100507. done; \
  100508. if test "$$dot_seen" = "no"; then \
  100509. @@ -306,7 +351,7 @@
  100510. fi; test -z "$$fail"
  100511. $(RECURSIVE_CLEAN_TARGETS):
  100512. - @failcom='exit 1'; \
  100513. + @fail= failcom='exit 1'; \
  100514. for f in x $$MAKEFLAGS; do \
  100515. case $$f in \
  100516. *=* | --[!k]*);; \
  100517. @@ -332,16 +377,16 @@
  100518. else \
  100519. local_target="$$target"; \
  100520. fi; \
  100521. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  100522. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  100523. || eval $$failcom; \
  100524. done && test -z "$$fail"
  100525. tags-recursive:
  100526. list='$(SUBDIRS)'; for subdir in $$list; do \
  100527. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  100528. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  100529. done
  100530. ctags-recursive:
  100531. list='$(SUBDIRS)'; for subdir in $$list; do \
  100532. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  100533. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  100534. done
  100535. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  100536. @@ -349,14 +394,14 @@
  100537. unique=`for i in $$list; do \
  100538. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  100539. done | \
  100540. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  100541. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  100542. END { if (nonempty) { for (i in files) print i; }; }'`; \
  100543. mkid -fID $$unique
  100544. tags: TAGS
  100545. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  100546. $(TAGS_FILES) $(LISP)
  100547. - tags=; \
  100548. + set x; \
  100549. here=`pwd`; \
  100550. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  100551. include_option=--etags-include; \
  100552. @@ -368,7 +413,7 @@
  100553. list='$(SUBDIRS)'; for subdir in $$list; do \
  100554. if test "$$subdir" = .; then :; else \
  100555. test ! -f $$subdir/TAGS || \
  100556. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  100557. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  100558. fi; \
  100559. done; \
  100560. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  100561. @@ -377,29 +422,34 @@
  100562. done | \
  100563. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  100564. END { if (nonempty) { for (i in files) print i; }; }'`; \
  100565. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  100566. + shift; \
  100567. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  100568. test -n "$$unique" || unique=$$empty_fix; \
  100569. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  100570. - $$tags $$unique; \
  100571. + if test $$# -gt 0; then \
  100572. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  100573. + "$$@" $$unique; \
  100574. + else \
  100575. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  100576. + $$unique; \
  100577. + fi; \
  100578. fi
  100579. ctags: CTAGS
  100580. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  100581. $(TAGS_FILES) $(LISP)
  100582. - tags=; \
  100583. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  100584. unique=`for i in $$list; do \
  100585. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  100586. done | \
  100587. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  100588. END { if (nonempty) { for (i in files) print i; }; }'`; \
  100589. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  100590. + test -z "$(CTAGS_ARGS)$$unique" \
  100591. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  100592. - $$tags $$unique
  100593. + $$unique
  100594. GTAGS:
  100595. here=`$(am__cd) $(top_builddir) && pwd` \
  100596. - && cd $(top_srcdir) \
  100597. - && gtags -i $(GTAGS_ARGS) $$here
  100598. + && $(am__cd) $(top_srcdir) \
  100599. + && gtags -i $(GTAGS_ARGS) "$$here"
  100600. distclean-tags:
  100601. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  100602. @@ -420,29 +470,44 @@
  100603. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  100604. if test -d $$d/$$file; then \
  100605. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  100606. + if test -d "$(distdir)/$$file"; then \
  100607. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  100608. + fi; \
  100609. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  100610. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  100611. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  100612. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  100613. fi; \
  100614. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  100615. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  100616. else \
  100617. - test -f $(distdir)/$$file \
  100618. - || cp -p $$d/$$file $(distdir)/$$file \
  100619. + test -f "$(distdir)/$$file" \
  100620. + || cp -p $$d/$$file "$(distdir)/$$file" \
  100621. || exit 1; \
  100622. fi; \
  100623. done
  100624. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  100625. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  100626. if test "$$subdir" = .; then :; else \
  100627. test -d "$(distdir)/$$subdir" \
  100628. || $(MKDIR_P) "$(distdir)/$$subdir" \
  100629. || exit 1; \
  100630. - distdir=`$(am__cd) $(distdir) && pwd`; \
  100631. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  100632. - (cd $$subdir && \
  100633. + fi; \
  100634. + done
  100635. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  100636. + if test "$$subdir" = .; then :; else \
  100637. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  100638. + $(am__relativize); \
  100639. + new_distdir=$$reldir; \
  100640. + dir1=$$subdir; dir2="$(top_distdir)"; \
  100641. + $(am__relativize); \
  100642. + new_top_distdir=$$reldir; \
  100643. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  100644. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  100645. + ($(am__cd) $$subdir && \
  100646. $(MAKE) $(AM_MAKEFLAGS) \
  100647. - top_distdir="$$top_distdir" \
  100648. - distdir="$$distdir/$$subdir" \
  100649. + top_distdir="$$new_top_distdir" \
  100650. + distdir="$$new_distdir" \
  100651. am__remove_distdir=: \
  100652. am__skip_length_check=: \
  100653. + am__skip_mode_fix=: \
  100654. distdir) \
  100655. || exit 1; \
  100656. fi; \
  100657. @@ -472,6 +537,7 @@
  100658. distclean-generic:
  100659. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  100660. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  100661. maintainer-clean-generic:
  100662. @echo "This command is intended for maintainers to use"
  100663. @@ -490,6 +556,8 @@
  100664. html: html-recursive
  100665. +html-am:
  100666. +
  100667. info: info-recursive
  100668. info-am:
  100669. @@ -498,18 +566,28 @@
  100670. install-dvi: install-dvi-recursive
  100671. +install-dvi-am:
  100672. +
  100673. install-exec-am:
  100674. install-html: install-html-recursive
  100675. +install-html-am:
  100676. +
  100677. install-info: install-info-recursive
  100678. +install-info-am:
  100679. +
  100680. install-man:
  100681. install-pdf: install-pdf-recursive
  100682. +install-pdf-am:
  100683. +
  100684. install-ps: install-ps-recursive
  100685. +install-ps-am:
  100686. +
  100687. installcheck-am:
  100688. maintainer-clean: maintainer-clean-recursive
  100689. @@ -530,8 +608,8 @@
  100690. uninstall-am:
  100691. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  100692. - install-strip
  100693. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  100694. + install-am install-strip tags-recursive
  100695. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  100696. all all-am check check-am clean clean-generic clean-libtool \
  100697. @@ -547,6 +625,7 @@
  100698. mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  100699. uninstall uninstall-am
  100700. +
  100701. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  100702. # Otherwise a system limit (for SysV at least) may be exceeded.
  100703. .NOEXPORT:
  100704. diff -Nur squid-3.0.STABLE20.orig/helpers/external_acl/mswin_ad_group/Makefile.in squid-3.0.STABLE20/helpers/external_acl/mswin_ad_group/Makefile.in
  100705. --- squid-3.0.STABLE20.orig/helpers/external_acl/mswin_ad_group/Makefile.in 2009-10-29 11:05:39.000000000 +0100
  100706. +++ squid-3.0.STABLE20/helpers/external_acl/mswin_ad_group/Makefile.in 2010-02-19 00:39:19.604854020 +0100
  100707. @@ -1,8 +1,9 @@
  100708. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  100709. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  100710. # @configure_input@
  100711. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  100712. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  100713. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  100714. +# Inc.
  100715. # This Makefile.in is free software; the Free Software Foundation
  100716. # gives unlimited permission to copy and/or distribute it,
  100717. # with or without modifications, as long as this notice is preserved.
  100718. @@ -24,8 +25,9 @@
  100719. VPATH = @srcdir@
  100720. pkgdatadir = $(datadir)/@PACKAGE@
  100721. -pkglibdir = $(libdir)/@PACKAGE@
  100722. pkgincludedir = $(includedir)/@PACKAGE@
  100723. +pkglibdir = $(libdir)/@PACKAGE@
  100724. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  100725. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  100726. install_sh_DATA = $(install_sh) -c -m 644
  100727. install_sh_PROGRAM = $(install_sh) -c
  100728. @@ -51,8 +53,8 @@
  100729. mkinstalldirs = $(install_sh) -d
  100730. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  100731. CONFIG_CLEAN_FILES =
  100732. +CONFIG_CLEAN_VPATH_FILES =
  100733. am__installdirs = "$(DESTDIR)$(libexecdir)"
  100734. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  100735. PROGRAMS = $(libexec_PROGRAMS)
  100736. am_mswin_check_ad_group_OBJECTS = mswin_check_ad_group.$(OBJEXT)
  100737. mswin_check_ad_group_OBJECTS = $(am_mswin_check_ad_group_OBJECTS)
  100738. @@ -62,6 +64,7 @@
  100739. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  100740. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  100741. am__depfiles_maybe = depfiles
  100742. +am__mv = mv -f
  100743. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  100744. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  100745. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  100746. @@ -113,7 +116,7 @@
  100747. DISK_LINKOBJS = @DISK_LINKOBJS@
  100748. DISK_PROGRAMS = @DISK_PROGRAMS@
  100749. DSYMUTIL = @DSYMUTIL@
  100750. -ECHO = @ECHO@
  100751. +DUMPBIN = @DUMPBIN@
  100752. ECHO_C = @ECHO_C@
  100753. ECHO_N = @ECHO_N@
  100754. ECHO_T = @ECHO_T@
  100755. @@ -123,10 +126,10 @@
  100756. ERR_LANGUAGES = @ERR_LANGUAGES@
  100757. EXEEXT = @EXEEXT@
  100758. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  100759. -F77 = @F77@
  100760. FALSE = @FALSE@
  100761. -FFLAGS = @FFLAGS@
  100762. +FGREP = @FGREP@
  100763. GREP = @GREP@
  100764. +HOSTCXX = @HOSTCXX@
  100765. ICAP_LIBS = @ICAP_LIBS@
  100766. INSTALL = @INSTALL@
  100767. INSTALL_DATA = @INSTALL_DATA@
  100768. @@ -135,8 +138,12 @@
  100769. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  100770. KRB5INCS = @KRB5INCS@
  100771. KRB5LIBS = @KRB5LIBS@
  100772. +LD = @LD@
  100773. LDFLAGS = @LDFLAGS@
  100774. LIBADD_DL = @LIBADD_DL@
  100775. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  100776. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  100777. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  100778. LIBOBJS = @LIBOBJS@
  100779. LIBREGEX = @LIBREGEX@
  100780. LIBS = @LIBS@
  100781. @@ -145,9 +152,12 @@
  100782. LIB_DB = @LIB_DB@
  100783. LIB_LBER = @LIB_LBER@
  100784. LIB_LDAP = @LIB_LDAP@
  100785. +LIPO = @LIPO@
  100786. LN = @LN@
  100787. LN_S = @LN_S@
  100788. LTLIBOBJS = @LTLIBOBJS@
  100789. +LT_DLLOADERS = @LT_DLLOADERS@
  100790. +LT_DLPREOPEN = @LT_DLPREOPEN@
  100791. MAINT = @MAINT@
  100792. MAKEINFO = @MAKEINFO@
  100793. MINGW_LIBS = @MINGW_LIBS@
  100794. @@ -155,15 +165,20 @@
  100795. MKDIR_P = @MKDIR_P@
  100796. MV = @MV@
  100797. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  100798. +NM = @NM@
  100799. NMEDIT = @NMEDIT@
  100800. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  100801. +OBJDUMP = @OBJDUMP@
  100802. OBJEXT = @OBJEXT@
  100803. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  100804. +OTOOL = @OTOOL@
  100805. +OTOOL64 = @OTOOL64@
  100806. PACKAGE = @PACKAGE@
  100807. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  100808. PACKAGE_NAME = @PACKAGE_NAME@
  100809. PACKAGE_STRING = @PACKAGE_STRING@
  100810. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  100811. +PACKAGE_URL = @PACKAGE_URL@
  100812. PACKAGE_VERSION = @PACKAGE_VERSION@
  100813. PATH_SEPARATOR = @PATH_SEPARATOR@
  100814. PERL = @PERL@
  100815. @@ -200,7 +215,7 @@
  100816. abs_top_srcdir = @abs_top_srcdir@
  100817. ac_ct_CC = @ac_ct_CC@
  100818. ac_ct_CXX = @ac_ct_CXX@
  100819. -ac_ct_F77 = @ac_ct_F77@
  100820. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  100821. ac_krb5_config = @ac_krb5_config@
  100822. am__include = @am__include@
  100823. am__leading_dot = @am__leading_dot@
  100824. @@ -232,6 +247,7 @@
  100825. libexecdir = @libexecdir@
  100826. localedir = @localedir@
  100827. localstatedir = @localstatedir@
  100828. +lt_ECHO = @lt_ECHO@
  100829. makesnmplib = @makesnmplib@
  100830. mandir = @mandir@
  100831. mkdir_p = @mkdir_p@
  100832. @@ -263,14 +279,14 @@
  100833. @for dep in $?; do \
  100834. case '$(am__configure_deps)' in \
  100835. *$$dep*) \
  100836. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  100837. - && exit 0; \
  100838. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  100839. + && { if test -f $@; then exit 0; else break; fi; }; \
  100840. exit 1;; \
  100841. esac; \
  100842. done; \
  100843. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/external_acl/mswin_ad_group/Makefile'; \
  100844. - cd $(top_srcdir) && \
  100845. - $(AUTOMAKE) --foreign helpers/external_acl/mswin_ad_group/Makefile
  100846. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/external_acl/mswin_ad_group/Makefile'; \
  100847. + $(am__cd) $(top_srcdir) && \
  100848. + $(AUTOMAKE) --foreign helpers/external_acl/mswin_ad_group/Makefile
  100849. .PRECIOUS: Makefile
  100850. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  100851. @case '$?' in \
  100852. @@ -288,34 +304,50 @@
  100853. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  100854. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  100855. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  100856. +$(am__aclocal_m4_deps):
  100857. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  100858. @$(NORMAL_INSTALL)
  100859. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  100860. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  100861. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  100862. - if test -f $$p \
  100863. - || test -f $$p1 \
  100864. - ; then \
  100865. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  100866. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  100867. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  100868. - else :; fi; \
  100869. - done
  100870. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  100871. + for p in $$list; do echo "$$p $$p"; done | \
  100872. + sed 's/$(EXEEXT)$$//' | \
  100873. + while read p p1; do if test -f $$p || test -f $$p1; \
  100874. + then echo "$$p"; echo "$$p"; else :; fi; \
  100875. + done | \
  100876. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  100877. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  100878. + sed 'N;N;N;s,\n, ,g' | \
  100879. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  100880. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  100881. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  100882. + else { print "f", $$3 "/" $$4, $$1; } } \
  100883. + END { for (d in files) print "f", d, files[d] }' | \
  100884. + while read type dir files; do \
  100885. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  100886. + test -z "$$files" || { \
  100887. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  100888. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  100889. + } \
  100890. + ; done
  100891. uninstall-libexecPROGRAMS:
  100892. @$(NORMAL_UNINSTALL)
  100893. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  100894. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  100895. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  100896. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  100897. - done
  100898. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  100899. + files=`for p in $$list; do echo "$$p"; done | \
  100900. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  100901. + -e 's/$$/$(EXEEXT)/' `; \
  100902. + test -n "$$list" || exit 0; \
  100903. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  100904. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  100905. clean-libexecPROGRAMS:
  100906. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  100907. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  100908. - echo " rm -f $$p $$f"; \
  100909. - rm -f $$p $$f ; \
  100910. - done
  100911. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  100912. + echo " rm -f" $$list; \
  100913. + rm -f $$list || exit $$?; \
  100914. + test -n "$(EXEEXT)" || exit 0; \
  100915. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  100916. + echo " rm -f" $$list; \
  100917. + rm -f $$list
  100918. mswin_check_ad_group$(EXEEXT): $(mswin_check_ad_group_OBJECTS) $(mswin_check_ad_group_DEPENDENCIES)
  100919. @rm -f mswin_check_ad_group$(EXEEXT)
  100920. $(LINK) $(mswin_check_ad_group_OBJECTS) $(mswin_check_ad_group_LDADD) $(LIBS)
  100921. @@ -330,21 +362,21 @@
  100922. .c.o:
  100923. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  100924. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  100925. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  100926. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  100927. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  100928. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  100929. .c.obj:
  100930. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  100931. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  100932. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  100933. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  100934. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  100935. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  100936. .c.lo:
  100937. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  100938. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  100939. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  100940. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  100941. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  100942. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  100943. @@ -360,14 +392,14 @@
  100944. unique=`for i in $$list; do \
  100945. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  100946. done | \
  100947. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  100948. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  100949. END { if (nonempty) { for (i in files) print i; }; }'`; \
  100950. mkid -fID $$unique
  100951. tags: TAGS
  100952. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  100953. $(TAGS_FILES) $(LISP)
  100954. - tags=; \
  100955. + set x; \
  100956. here=`pwd`; \
  100957. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  100958. unique=`for i in $$list; do \
  100959. @@ -375,29 +407,34 @@
  100960. done | \
  100961. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  100962. END { if (nonempty) { for (i in files) print i; }; }'`; \
  100963. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  100964. + shift; \
  100965. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  100966. test -n "$$unique" || unique=$$empty_fix; \
  100967. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  100968. - $$tags $$unique; \
  100969. + if test $$# -gt 0; then \
  100970. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  100971. + "$$@" $$unique; \
  100972. + else \
  100973. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  100974. + $$unique; \
  100975. + fi; \
  100976. fi
  100977. ctags: CTAGS
  100978. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  100979. $(TAGS_FILES) $(LISP)
  100980. - tags=; \
  100981. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  100982. unique=`for i in $$list; do \
  100983. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  100984. done | \
  100985. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  100986. END { if (nonempty) { for (i in files) print i; }; }'`; \
  100987. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  100988. + test -z "$(CTAGS_ARGS)$$unique" \
  100989. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  100990. - $$tags $$unique
  100991. + $$unique
  100992. GTAGS:
  100993. here=`$(am__cd) $(top_builddir) && pwd` \
  100994. - && cd $(top_srcdir) \
  100995. - && gtags -i $(GTAGS_ARGS) $$here
  100996. + && $(am__cd) $(top_srcdir) \
  100997. + && gtags -i $(GTAGS_ARGS) "$$here"
  100998. distclean-tags:
  100999. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  101000. @@ -418,13 +455,17 @@
  101001. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  101002. if test -d $$d/$$file; then \
  101003. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  101004. + if test -d "$(distdir)/$$file"; then \
  101005. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  101006. + fi; \
  101007. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  101008. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  101009. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  101010. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  101011. fi; \
  101012. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  101013. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  101014. else \
  101015. - test -f $(distdir)/$$file \
  101016. - || cp -p $$d/$$file $(distdir)/$$file \
  101017. + test -f "$(distdir)/$$file" \
  101018. + || cp -p $$d/$$file "$(distdir)/$$file" \
  101019. || exit 1; \
  101020. fi; \
  101021. done
  101022. @@ -455,6 +496,7 @@
  101023. distclean-generic:
  101024. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  101025. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  101026. maintainer-clean-generic:
  101027. @echo "This command is intended for maintainers to use"
  101028. @@ -476,6 +518,8 @@
  101029. html: html-am
  101030. +html-am:
  101031. +
  101032. info: info-am
  101033. info-am:
  101034. @@ -484,18 +528,28 @@
  101035. install-dvi: install-dvi-am
  101036. +install-dvi-am:
  101037. +
  101038. install-exec-am: install-libexecPROGRAMS
  101039. install-html: install-html-am
  101040. +install-html-am:
  101041. +
  101042. install-info: install-info-am
  101043. +install-info-am:
  101044. +
  101045. install-man:
  101046. install-pdf: install-pdf-am
  101047. +install-pdf-am:
  101048. +
  101049. install-ps: install-ps-am
  101050. +install-ps-am:
  101051. +
  101052. installcheck-am:
  101053. maintainer-clean: maintainer-clean-am
  101054. @@ -534,6 +588,7 @@
  101055. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  101056. tags uninstall uninstall-am uninstall-libexecPROGRAMS
  101057. +
  101058. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  101059. # Otherwise a system limit (for SysV at least) may be exceeded.
  101060. .NOEXPORT:
  101061. diff -Nur squid-3.0.STABLE20.orig/helpers/external_acl/mswin_lm_group/Makefile.in squid-3.0.STABLE20/helpers/external_acl/mswin_lm_group/Makefile.in
  101062. --- squid-3.0.STABLE20.orig/helpers/external_acl/mswin_lm_group/Makefile.in 2009-10-29 11:05:39.000000000 +0100
  101063. +++ squid-3.0.STABLE20/helpers/external_acl/mswin_lm_group/Makefile.in 2010-02-19 00:39:19.752851633 +0100
  101064. @@ -1,8 +1,9 @@
  101065. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  101066. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  101067. # @configure_input@
  101068. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  101069. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  101070. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  101071. +# Inc.
  101072. # This Makefile.in is free software; the Free Software Foundation
  101073. # gives unlimited permission to copy and/or distribute it,
  101074. # with or without modifications, as long as this notice is preserved.
  101075. @@ -24,8 +25,9 @@
  101076. VPATH = @srcdir@
  101077. pkgdatadir = $(datadir)/@PACKAGE@
  101078. -pkglibdir = $(libdir)/@PACKAGE@
  101079. pkgincludedir = $(includedir)/@PACKAGE@
  101080. +pkglibdir = $(libdir)/@PACKAGE@
  101081. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  101082. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  101083. install_sh_DATA = $(install_sh) -c -m 644
  101084. install_sh_PROGRAM = $(install_sh) -c
  101085. @@ -51,8 +53,8 @@
  101086. mkinstalldirs = $(install_sh) -d
  101087. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  101088. CONFIG_CLEAN_FILES =
  101089. +CONFIG_CLEAN_VPATH_FILES =
  101090. am__installdirs = "$(DESTDIR)$(libexecdir)"
  101091. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  101092. PROGRAMS = $(libexec_PROGRAMS)
  101093. am_mswin_check_lm_group_OBJECTS = win32_check_group.$(OBJEXT)
  101094. mswin_check_lm_group_OBJECTS = $(am_mswin_check_lm_group_OBJECTS)
  101095. @@ -62,6 +64,7 @@
  101096. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  101097. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  101098. am__depfiles_maybe = depfiles
  101099. +am__mv = mv -f
  101100. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  101101. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  101102. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  101103. @@ -113,7 +116,7 @@
  101104. DISK_LINKOBJS = @DISK_LINKOBJS@
  101105. DISK_PROGRAMS = @DISK_PROGRAMS@
  101106. DSYMUTIL = @DSYMUTIL@
  101107. -ECHO = @ECHO@
  101108. +DUMPBIN = @DUMPBIN@
  101109. ECHO_C = @ECHO_C@
  101110. ECHO_N = @ECHO_N@
  101111. ECHO_T = @ECHO_T@
  101112. @@ -123,10 +126,10 @@
  101113. ERR_LANGUAGES = @ERR_LANGUAGES@
  101114. EXEEXT = @EXEEXT@
  101115. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  101116. -F77 = @F77@
  101117. FALSE = @FALSE@
  101118. -FFLAGS = @FFLAGS@
  101119. +FGREP = @FGREP@
  101120. GREP = @GREP@
  101121. +HOSTCXX = @HOSTCXX@
  101122. ICAP_LIBS = @ICAP_LIBS@
  101123. INSTALL = @INSTALL@
  101124. INSTALL_DATA = @INSTALL_DATA@
  101125. @@ -135,8 +138,12 @@
  101126. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  101127. KRB5INCS = @KRB5INCS@
  101128. KRB5LIBS = @KRB5LIBS@
  101129. +LD = @LD@
  101130. LDFLAGS = @LDFLAGS@
  101131. LIBADD_DL = @LIBADD_DL@
  101132. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  101133. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  101134. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  101135. LIBOBJS = @LIBOBJS@
  101136. LIBREGEX = @LIBREGEX@
  101137. LIBS = @LIBS@
  101138. @@ -145,9 +152,12 @@
  101139. LIB_DB = @LIB_DB@
  101140. LIB_LBER = @LIB_LBER@
  101141. LIB_LDAP = @LIB_LDAP@
  101142. +LIPO = @LIPO@
  101143. LN = @LN@
  101144. LN_S = @LN_S@
  101145. LTLIBOBJS = @LTLIBOBJS@
  101146. +LT_DLLOADERS = @LT_DLLOADERS@
  101147. +LT_DLPREOPEN = @LT_DLPREOPEN@
  101148. MAINT = @MAINT@
  101149. MAKEINFO = @MAKEINFO@
  101150. MINGW_LIBS = @MINGW_LIBS@
  101151. @@ -155,15 +165,20 @@
  101152. MKDIR_P = @MKDIR_P@
  101153. MV = @MV@
  101154. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  101155. +NM = @NM@
  101156. NMEDIT = @NMEDIT@
  101157. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  101158. +OBJDUMP = @OBJDUMP@
  101159. OBJEXT = @OBJEXT@
  101160. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  101161. +OTOOL = @OTOOL@
  101162. +OTOOL64 = @OTOOL64@
  101163. PACKAGE = @PACKAGE@
  101164. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  101165. PACKAGE_NAME = @PACKAGE_NAME@
  101166. PACKAGE_STRING = @PACKAGE_STRING@
  101167. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  101168. +PACKAGE_URL = @PACKAGE_URL@
  101169. PACKAGE_VERSION = @PACKAGE_VERSION@
  101170. PATH_SEPARATOR = @PATH_SEPARATOR@
  101171. PERL = @PERL@
  101172. @@ -200,7 +215,7 @@
  101173. abs_top_srcdir = @abs_top_srcdir@
  101174. ac_ct_CC = @ac_ct_CC@
  101175. ac_ct_CXX = @ac_ct_CXX@
  101176. -ac_ct_F77 = @ac_ct_F77@
  101177. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  101178. ac_krb5_config = @ac_krb5_config@
  101179. am__include = @am__include@
  101180. am__leading_dot = @am__leading_dot@
  101181. @@ -232,6 +247,7 @@
  101182. libexecdir = @libexecdir@
  101183. localedir = @localedir@
  101184. localstatedir = @localstatedir@
  101185. +lt_ECHO = @lt_ECHO@
  101186. makesnmplib = @makesnmplib@
  101187. mandir = @mandir@
  101188. mkdir_p = @mkdir_p@
  101189. @@ -263,14 +279,14 @@
  101190. @for dep in $?; do \
  101191. case '$(am__configure_deps)' in \
  101192. *$$dep*) \
  101193. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  101194. - && exit 0; \
  101195. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  101196. + && { if test -f $@; then exit 0; else break; fi; }; \
  101197. exit 1;; \
  101198. esac; \
  101199. done; \
  101200. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/external_acl/mswin_lm_group/Makefile'; \
  101201. - cd $(top_srcdir) && \
  101202. - $(AUTOMAKE) --foreign helpers/external_acl/mswin_lm_group/Makefile
  101203. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/external_acl/mswin_lm_group/Makefile'; \
  101204. + $(am__cd) $(top_srcdir) && \
  101205. + $(AUTOMAKE) --foreign helpers/external_acl/mswin_lm_group/Makefile
  101206. .PRECIOUS: Makefile
  101207. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  101208. @case '$?' in \
  101209. @@ -288,34 +304,50 @@
  101210. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  101211. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  101212. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  101213. +$(am__aclocal_m4_deps):
  101214. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  101215. @$(NORMAL_INSTALL)
  101216. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  101217. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  101218. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  101219. - if test -f $$p \
  101220. - || test -f $$p1 \
  101221. - ; then \
  101222. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  101223. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  101224. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  101225. - else :; fi; \
  101226. - done
  101227. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  101228. + for p in $$list; do echo "$$p $$p"; done | \
  101229. + sed 's/$(EXEEXT)$$//' | \
  101230. + while read p p1; do if test -f $$p || test -f $$p1; \
  101231. + then echo "$$p"; echo "$$p"; else :; fi; \
  101232. + done | \
  101233. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  101234. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  101235. + sed 'N;N;N;s,\n, ,g' | \
  101236. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  101237. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  101238. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  101239. + else { print "f", $$3 "/" $$4, $$1; } } \
  101240. + END { for (d in files) print "f", d, files[d] }' | \
  101241. + while read type dir files; do \
  101242. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  101243. + test -z "$$files" || { \
  101244. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  101245. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  101246. + } \
  101247. + ; done
  101248. uninstall-libexecPROGRAMS:
  101249. @$(NORMAL_UNINSTALL)
  101250. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  101251. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  101252. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  101253. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  101254. - done
  101255. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  101256. + files=`for p in $$list; do echo "$$p"; done | \
  101257. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  101258. + -e 's/$$/$(EXEEXT)/' `; \
  101259. + test -n "$$list" || exit 0; \
  101260. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  101261. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  101262. clean-libexecPROGRAMS:
  101263. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  101264. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  101265. - echo " rm -f $$p $$f"; \
  101266. - rm -f $$p $$f ; \
  101267. - done
  101268. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  101269. + echo " rm -f" $$list; \
  101270. + rm -f $$list || exit $$?; \
  101271. + test -n "$(EXEEXT)" || exit 0; \
  101272. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  101273. + echo " rm -f" $$list; \
  101274. + rm -f $$list
  101275. mswin_check_lm_group$(EXEEXT): $(mswin_check_lm_group_OBJECTS) $(mswin_check_lm_group_DEPENDENCIES)
  101276. @rm -f mswin_check_lm_group$(EXEEXT)
  101277. $(LINK) $(mswin_check_lm_group_OBJECTS) $(mswin_check_lm_group_LDADD) $(LIBS)
  101278. @@ -330,21 +362,21 @@
  101279. .c.o:
  101280. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  101281. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  101282. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  101283. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  101284. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  101285. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  101286. .c.obj:
  101287. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  101288. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  101289. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  101290. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  101291. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  101292. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  101293. .c.lo:
  101294. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  101295. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  101296. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  101297. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  101298. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  101299. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  101300. @@ -360,14 +392,14 @@
  101301. unique=`for i in $$list; do \
  101302. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  101303. done | \
  101304. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  101305. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  101306. END { if (nonempty) { for (i in files) print i; }; }'`; \
  101307. mkid -fID $$unique
  101308. tags: TAGS
  101309. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  101310. $(TAGS_FILES) $(LISP)
  101311. - tags=; \
  101312. + set x; \
  101313. here=`pwd`; \
  101314. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  101315. unique=`for i in $$list; do \
  101316. @@ -375,29 +407,34 @@
  101317. done | \
  101318. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  101319. END { if (nonempty) { for (i in files) print i; }; }'`; \
  101320. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  101321. + shift; \
  101322. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  101323. test -n "$$unique" || unique=$$empty_fix; \
  101324. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  101325. - $$tags $$unique; \
  101326. + if test $$# -gt 0; then \
  101327. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  101328. + "$$@" $$unique; \
  101329. + else \
  101330. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  101331. + $$unique; \
  101332. + fi; \
  101333. fi
  101334. ctags: CTAGS
  101335. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  101336. $(TAGS_FILES) $(LISP)
  101337. - tags=; \
  101338. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  101339. unique=`for i in $$list; do \
  101340. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  101341. done | \
  101342. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  101343. END { if (nonempty) { for (i in files) print i; }; }'`; \
  101344. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  101345. + test -z "$(CTAGS_ARGS)$$unique" \
  101346. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  101347. - $$tags $$unique
  101348. + $$unique
  101349. GTAGS:
  101350. here=`$(am__cd) $(top_builddir) && pwd` \
  101351. - && cd $(top_srcdir) \
  101352. - && gtags -i $(GTAGS_ARGS) $$here
  101353. + && $(am__cd) $(top_srcdir) \
  101354. + && gtags -i $(GTAGS_ARGS) "$$here"
  101355. distclean-tags:
  101356. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  101357. @@ -418,13 +455,17 @@
  101358. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  101359. if test -d $$d/$$file; then \
  101360. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  101361. + if test -d "$(distdir)/$$file"; then \
  101362. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  101363. + fi; \
  101364. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  101365. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  101366. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  101367. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  101368. fi; \
  101369. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  101370. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  101371. else \
  101372. - test -f $(distdir)/$$file \
  101373. - || cp -p $$d/$$file $(distdir)/$$file \
  101374. + test -f "$(distdir)/$$file" \
  101375. + || cp -p $$d/$$file "$(distdir)/$$file" \
  101376. || exit 1; \
  101377. fi; \
  101378. done
  101379. @@ -455,6 +496,7 @@
  101380. distclean-generic:
  101381. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  101382. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  101383. maintainer-clean-generic:
  101384. @echo "This command is intended for maintainers to use"
  101385. @@ -476,6 +518,8 @@
  101386. html: html-am
  101387. +html-am:
  101388. +
  101389. info: info-am
  101390. info-am:
  101391. @@ -484,18 +528,28 @@
  101392. install-dvi: install-dvi-am
  101393. +install-dvi-am:
  101394. +
  101395. install-exec-am: install-libexecPROGRAMS
  101396. install-html: install-html-am
  101397. +install-html-am:
  101398. +
  101399. install-info: install-info-am
  101400. +install-info-am:
  101401. +
  101402. install-man:
  101403. install-pdf: install-pdf-am
  101404. +install-pdf-am:
  101405. +
  101406. install-ps: install-ps-am
  101407. +install-ps-am:
  101408. +
  101409. installcheck-am:
  101410. maintainer-clean: maintainer-clean-am
  101411. @@ -534,6 +588,7 @@
  101412. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  101413. tags uninstall uninstall-am uninstall-libexecPROGRAMS
  101414. +
  101415. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  101416. # Otherwise a system limit (for SysV at least) may be exceeded.
  101417. .NOEXPORT:
  101418. diff -Nur squid-3.0.STABLE20.orig/helpers/external_acl/session/Makefile.in squid-3.0.STABLE20/helpers/external_acl/session/Makefile.in
  101419. --- squid-3.0.STABLE20.orig/helpers/external_acl/session/Makefile.in 2009-10-29 11:05:39.000000000 +0100
  101420. +++ squid-3.0.STABLE20/helpers/external_acl/session/Makefile.in 2010-02-19 00:39:19.936852451 +0100
  101421. @@ -1,8 +1,9 @@
  101422. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  101423. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  101424. # @configure_input@
  101425. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  101426. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  101427. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  101428. +# Inc.
  101429. # This Makefile.in is free software; the Free Software Foundation
  101430. # gives unlimited permission to copy and/or distribute it,
  101431. # with or without modifications, as long as this notice is preserved.
  101432. @@ -24,8 +25,9 @@
  101433. VPATH = @srcdir@
  101434. pkgdatadir = $(datadir)/@PACKAGE@
  101435. -pkglibdir = $(libdir)/@PACKAGE@
  101436. pkgincludedir = $(includedir)/@PACKAGE@
  101437. +pkglibdir = $(libdir)/@PACKAGE@
  101438. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  101439. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  101440. install_sh_DATA = $(install_sh) -c -m 644
  101441. install_sh_PROGRAM = $(install_sh) -c
  101442. @@ -51,8 +53,8 @@
  101443. mkinstalldirs = $(install_sh) -d
  101444. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  101445. CONFIG_CLEAN_FILES =
  101446. +CONFIG_CLEAN_VPATH_FILES =
  101447. am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man8dir)"
  101448. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  101449. PROGRAMS = $(libexec_PROGRAMS)
  101450. am_squid_session_OBJECTS = squid_session.$(OBJEXT)
  101451. squid_session_OBJECTS = $(am_squid_session_OBJECTS)
  101452. @@ -62,6 +64,7 @@
  101453. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  101454. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  101455. am__depfiles_maybe = depfiles
  101456. +am__mv = mv -f
  101457. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  101458. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  101459. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  101460. @@ -73,6 +76,27 @@
  101461. $(LDFLAGS) -o $@
  101462. SOURCES = $(squid_session_SOURCES)
  101463. DIST_SOURCES = $(squid_session_SOURCES)
  101464. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  101465. +am__vpath_adj = case $$p in \
  101466. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  101467. + *) f=$$p;; \
  101468. + esac;
  101469. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  101470. +am__install_max = 40
  101471. +am__nobase_strip_setup = \
  101472. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  101473. +am__nobase_strip = \
  101474. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  101475. +am__nobase_list = $(am__nobase_strip_setup); \
  101476. + for p in $$list; do echo "$$p $$p"; done | \
  101477. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  101478. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  101479. + if (++n[$$2] == $(am__install_max)) \
  101480. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  101481. + END { for (dir in files) print dir, files[dir] }'
  101482. +am__base_list = \
  101483. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  101484. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  101485. man8dir = $(mandir)/man8
  101486. NROFF = nroff
  101487. MANS = $(man_MANS)
  101488. @@ -116,7 +140,7 @@
  101489. DISK_LINKOBJS = @DISK_LINKOBJS@
  101490. DISK_PROGRAMS = @DISK_PROGRAMS@
  101491. DSYMUTIL = @DSYMUTIL@
  101492. -ECHO = @ECHO@
  101493. +DUMPBIN = @DUMPBIN@
  101494. ECHO_C = @ECHO_C@
  101495. ECHO_N = @ECHO_N@
  101496. ECHO_T = @ECHO_T@
  101497. @@ -126,10 +150,10 @@
  101498. ERR_LANGUAGES = @ERR_LANGUAGES@
  101499. EXEEXT = @EXEEXT@
  101500. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  101501. -F77 = @F77@
  101502. FALSE = @FALSE@
  101503. -FFLAGS = @FFLAGS@
  101504. +FGREP = @FGREP@
  101505. GREP = @GREP@
  101506. +HOSTCXX = @HOSTCXX@
  101507. ICAP_LIBS = @ICAP_LIBS@
  101508. INSTALL = @INSTALL@
  101509. INSTALL_DATA = @INSTALL_DATA@
  101510. @@ -138,8 +162,12 @@
  101511. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  101512. KRB5INCS = @KRB5INCS@
  101513. KRB5LIBS = @KRB5LIBS@
  101514. +LD = @LD@
  101515. LDFLAGS = @LDFLAGS@
  101516. LIBADD_DL = @LIBADD_DL@
  101517. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  101518. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  101519. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  101520. LIBOBJS = @LIBOBJS@
  101521. LIBREGEX = @LIBREGEX@
  101522. LIBS = @LIBS@
  101523. @@ -148,9 +176,12 @@
  101524. LIB_DB = @LIB_DB@
  101525. LIB_LBER = @LIB_LBER@
  101526. LIB_LDAP = @LIB_LDAP@
  101527. +LIPO = @LIPO@
  101528. LN = @LN@
  101529. LN_S = @LN_S@
  101530. LTLIBOBJS = @LTLIBOBJS@
  101531. +LT_DLLOADERS = @LT_DLLOADERS@
  101532. +LT_DLPREOPEN = @LT_DLPREOPEN@
  101533. MAINT = @MAINT@
  101534. MAKEINFO = @MAKEINFO@
  101535. MINGW_LIBS = @MINGW_LIBS@
  101536. @@ -158,15 +189,20 @@
  101537. MKDIR_P = @MKDIR_P@
  101538. MV = @MV@
  101539. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  101540. +NM = @NM@
  101541. NMEDIT = @NMEDIT@
  101542. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  101543. +OBJDUMP = @OBJDUMP@
  101544. OBJEXT = @OBJEXT@
  101545. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  101546. +OTOOL = @OTOOL@
  101547. +OTOOL64 = @OTOOL64@
  101548. PACKAGE = @PACKAGE@
  101549. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  101550. PACKAGE_NAME = @PACKAGE_NAME@
  101551. PACKAGE_STRING = @PACKAGE_STRING@
  101552. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  101553. +PACKAGE_URL = @PACKAGE_URL@
  101554. PACKAGE_VERSION = @PACKAGE_VERSION@
  101555. PATH_SEPARATOR = @PATH_SEPARATOR@
  101556. PERL = @PERL@
  101557. @@ -203,7 +239,7 @@
  101558. abs_top_srcdir = @abs_top_srcdir@
  101559. ac_ct_CC = @ac_ct_CC@
  101560. ac_ct_CXX = @ac_ct_CXX@
  101561. -ac_ct_F77 = @ac_ct_F77@
  101562. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  101563. ac_krb5_config = @ac_krb5_config@
  101564. am__include = @am__include@
  101565. am__leading_dot = @am__leading_dot@
  101566. @@ -235,6 +271,7 @@
  101567. libexecdir = @libexecdir@
  101568. localedir = @localedir@
  101569. localstatedir = @localstatedir@
  101570. +lt_ECHO = @lt_ECHO@
  101571. makesnmplib = @makesnmplib@
  101572. mandir = @mandir@
  101573. mkdir_p = @mkdir_p@
  101574. @@ -265,14 +302,14 @@
  101575. @for dep in $?; do \
  101576. case '$(am__configure_deps)' in \
  101577. *$$dep*) \
  101578. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  101579. - && exit 0; \
  101580. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  101581. + && { if test -f $@; then exit 0; else break; fi; }; \
  101582. exit 1;; \
  101583. esac; \
  101584. done; \
  101585. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/external_acl/session/Makefile'; \
  101586. - cd $(top_srcdir) && \
  101587. - $(AUTOMAKE) --foreign helpers/external_acl/session/Makefile
  101588. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/external_acl/session/Makefile'; \
  101589. + $(am__cd) $(top_srcdir) && \
  101590. + $(AUTOMAKE) --foreign helpers/external_acl/session/Makefile
  101591. .PRECIOUS: Makefile
  101592. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  101593. @case '$?' in \
  101594. @@ -290,34 +327,50 @@
  101595. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  101596. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  101597. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  101598. +$(am__aclocal_m4_deps):
  101599. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  101600. @$(NORMAL_INSTALL)
  101601. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  101602. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  101603. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  101604. - if test -f $$p \
  101605. - || test -f $$p1 \
  101606. - ; then \
  101607. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  101608. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  101609. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  101610. - else :; fi; \
  101611. - done
  101612. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  101613. + for p in $$list; do echo "$$p $$p"; done | \
  101614. + sed 's/$(EXEEXT)$$//' | \
  101615. + while read p p1; do if test -f $$p || test -f $$p1; \
  101616. + then echo "$$p"; echo "$$p"; else :; fi; \
  101617. + done | \
  101618. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  101619. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  101620. + sed 'N;N;N;s,\n, ,g' | \
  101621. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  101622. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  101623. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  101624. + else { print "f", $$3 "/" $$4, $$1; } } \
  101625. + END { for (d in files) print "f", d, files[d] }' | \
  101626. + while read type dir files; do \
  101627. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  101628. + test -z "$$files" || { \
  101629. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  101630. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  101631. + } \
  101632. + ; done
  101633. uninstall-libexecPROGRAMS:
  101634. @$(NORMAL_UNINSTALL)
  101635. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  101636. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  101637. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  101638. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  101639. - done
  101640. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  101641. + files=`for p in $$list; do echo "$$p"; done | \
  101642. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  101643. + -e 's/$$/$(EXEEXT)/' `; \
  101644. + test -n "$$list" || exit 0; \
  101645. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  101646. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  101647. clean-libexecPROGRAMS:
  101648. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  101649. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  101650. - echo " rm -f $$p $$f"; \
  101651. - rm -f $$p $$f ; \
  101652. - done
  101653. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  101654. + echo " rm -f" $$list; \
  101655. + rm -f $$list || exit $$?; \
  101656. + test -n "$(EXEEXT)" || exit 0; \
  101657. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  101658. + echo " rm -f" $$list; \
  101659. + rm -f $$list
  101660. squid_session$(EXEEXT): $(squid_session_OBJECTS) $(squid_session_DEPENDENCIES)
  101661. @rm -f squid_session$(EXEEXT)
  101662. $(LINK) $(squid_session_OBJECTS) $(squid_session_LDADD) $(LIBS)
  101663. @@ -332,21 +385,21 @@
  101664. .c.o:
  101665. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  101666. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  101667. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  101668. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  101669. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  101670. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  101671. .c.obj:
  101672. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  101673. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  101674. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  101675. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  101676. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  101677. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  101678. .c.lo:
  101679. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  101680. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  101681. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  101682. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  101683. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  101684. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  101685. @@ -356,65 +409,58 @@
  101686. clean-libtool:
  101687. -rm -rf .libs _libs
  101688. -install-man8: $(man8_MANS) $(man_MANS)
  101689. +install-man8: $(man_MANS)
  101690. @$(NORMAL_INSTALL)
  101691. test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
  101692. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  101693. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  101694. - for i in $$l2; do \
  101695. - case "$$i" in \
  101696. - *.8*) list="$$list $$i" ;; \
  101697. - esac; \
  101698. + @list=''; test -n "$(man8dir)" || exit 0; \
  101699. + { for i in $$list; do echo "$$i"; done; \
  101700. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  101701. + sed -n '/\.8[a-z]*$$/p'; \
  101702. + } | while read p; do \
  101703. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  101704. + echo "$$d$$p"; echo "$$p"; \
  101705. + done | \
  101706. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  101707. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  101708. + sed 'N;N;s,\n, ,g' | { \
  101709. + list=; while read file base inst; do \
  101710. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  101711. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  101712. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
  101713. + fi; \
  101714. done; \
  101715. - for i in $$list; do \
  101716. - if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  101717. - else file=$$i; fi; \
  101718. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  101719. - case "$$ext" in \
  101720. - 8*) ;; \
  101721. - *) ext='8' ;; \
  101722. - esac; \
  101723. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  101724. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  101725. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  101726. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  101727. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
  101728. - done
  101729. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  101730. + while read files; do \
  101731. + test -z "$$files" || { \
  101732. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
  101733. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
  101734. + done; }
  101735. +
  101736. uninstall-man8:
  101737. @$(NORMAL_UNINSTALL)
  101738. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  101739. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  101740. - for i in $$l2; do \
  101741. - case "$$i" in \
  101742. - *.8*) list="$$list $$i" ;; \
  101743. - esac; \
  101744. - done; \
  101745. - for i in $$list; do \
  101746. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  101747. - case "$$ext" in \
  101748. - 8*) ;; \
  101749. - *) ext='8' ;; \
  101750. - esac; \
  101751. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  101752. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  101753. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  101754. - echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
  101755. - rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
  101756. - done
  101757. + @list=''; test -n "$(man8dir)" || exit 0; \
  101758. + files=`{ for i in $$list; do echo "$$i"; done; \
  101759. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  101760. + sed -n '/\.8[a-z]*$$/p'; \
  101761. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  101762. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  101763. + test -z "$$files" || { \
  101764. + echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \
  101765. + cd "$(DESTDIR)$(man8dir)" && rm -f $$files; }
  101766. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  101767. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  101768. unique=`for i in $$list; do \
  101769. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  101770. done | \
  101771. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  101772. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  101773. END { if (nonempty) { for (i in files) print i; }; }'`; \
  101774. mkid -fID $$unique
  101775. tags: TAGS
  101776. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  101777. $(TAGS_FILES) $(LISP)
  101778. - tags=; \
  101779. + set x; \
  101780. here=`pwd`; \
  101781. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  101782. unique=`for i in $$list; do \
  101783. @@ -422,34 +468,52 @@
  101784. done | \
  101785. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  101786. END { if (nonempty) { for (i in files) print i; }; }'`; \
  101787. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  101788. + shift; \
  101789. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  101790. test -n "$$unique" || unique=$$empty_fix; \
  101791. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  101792. - $$tags $$unique; \
  101793. + if test $$# -gt 0; then \
  101794. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  101795. + "$$@" $$unique; \
  101796. + else \
  101797. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  101798. + $$unique; \
  101799. + fi; \
  101800. fi
  101801. ctags: CTAGS
  101802. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  101803. $(TAGS_FILES) $(LISP)
  101804. - tags=; \
  101805. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  101806. unique=`for i in $$list; do \
  101807. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  101808. done | \
  101809. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  101810. END { if (nonempty) { for (i in files) print i; }; }'`; \
  101811. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  101812. + test -z "$(CTAGS_ARGS)$$unique" \
  101813. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  101814. - $$tags $$unique
  101815. + $$unique
  101816. GTAGS:
  101817. here=`$(am__cd) $(top_builddir) && pwd` \
  101818. - && cd $(top_srcdir) \
  101819. - && gtags -i $(GTAGS_ARGS) $$here
  101820. + && $(am__cd) $(top_srcdir) \
  101821. + && gtags -i $(GTAGS_ARGS) "$$here"
  101822. distclean-tags:
  101823. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  101824. distdir: $(DISTFILES)
  101825. + @list='$(MANS)'; if test -n "$$list"; then \
  101826. + list=`for p in $$list; do \
  101827. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  101828. + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  101829. + if test -n "$$list" && \
  101830. + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  101831. + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  101832. + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  101833. + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  101834. + echo " typically \`make maintainer-clean' will remove them" >&2; \
  101835. + exit 1; \
  101836. + else :; fi; \
  101837. + else :; fi
  101838. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  101839. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  101840. list='$(DISTFILES)'; \
  101841. @@ -465,13 +529,17 @@
  101842. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  101843. if test -d $$d/$$file; then \
  101844. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  101845. + if test -d "$(distdir)/$$file"; then \
  101846. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  101847. + fi; \
  101848. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  101849. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  101850. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  101851. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  101852. fi; \
  101853. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  101854. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  101855. else \
  101856. - test -f $(distdir)/$$file \
  101857. - || cp -p $$d/$$file $(distdir)/$$file \
  101858. + test -f "$(distdir)/$$file" \
  101859. + || cp -p $$d/$$file "$(distdir)/$$file" \
  101860. || exit 1; \
  101861. fi; \
  101862. done
  101863. @@ -502,6 +570,7 @@
  101864. distclean-generic:
  101865. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  101866. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  101867. maintainer-clean-generic:
  101868. @echo "This command is intended for maintainers to use"
  101869. @@ -523,6 +592,8 @@
  101870. html: html-am
  101871. +html-am:
  101872. +
  101873. info: info-am
  101874. info-am:
  101875. @@ -531,18 +602,28 @@
  101876. install-dvi: install-dvi-am
  101877. +install-dvi-am:
  101878. +
  101879. install-exec-am: install-libexecPROGRAMS
  101880. install-html: install-html-am
  101881. +install-html-am:
  101882. +
  101883. install-info: install-info-am
  101884. +install-info-am:
  101885. +
  101886. install-man: install-man8
  101887. install-pdf: install-pdf-am
  101888. +install-pdf-am:
  101889. +
  101890. install-ps: install-ps-am
  101891. +install-ps-am:
  101892. +
  101893. installcheck-am:
  101894. maintainer-clean: maintainer-clean-am
  101895. @@ -584,6 +665,7 @@
  101896. tags uninstall uninstall-am uninstall-libexecPROGRAMS \
  101897. uninstall-man uninstall-man8
  101898. +
  101899. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  101900. # Otherwise a system limit (for SysV at least) may be exceeded.
  101901. .NOEXPORT:
  101902. diff -Nur squid-3.0.STABLE20.orig/helpers/external_acl/unix_group/Makefile.in squid-3.0.STABLE20/helpers/external_acl/unix_group/Makefile.in
  101903. --- squid-3.0.STABLE20.orig/helpers/external_acl/unix_group/Makefile.in 2009-10-29 11:05:39.000000000 +0100
  101904. +++ squid-3.0.STABLE20/helpers/external_acl/unix_group/Makefile.in 2010-02-19 00:39:20.092852212 +0100
  101905. @@ -1,8 +1,9 @@
  101906. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  101907. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  101908. # @configure_input@
  101909. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  101910. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  101911. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  101912. +# Inc.
  101913. # This Makefile.in is free software; the Free Software Foundation
  101914. # gives unlimited permission to copy and/or distribute it,
  101915. # with or without modifications, as long as this notice is preserved.
  101916. @@ -24,8 +25,9 @@
  101917. VPATH = @srcdir@
  101918. pkgdatadir = $(datadir)/@PACKAGE@
  101919. -pkglibdir = $(libdir)/@PACKAGE@
  101920. pkgincludedir = $(includedir)/@PACKAGE@
  101921. +pkglibdir = $(libdir)/@PACKAGE@
  101922. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  101923. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  101924. install_sh_DATA = $(install_sh) -c -m 644
  101925. install_sh_PROGRAM = $(install_sh) -c
  101926. @@ -51,8 +53,8 @@
  101927. mkinstalldirs = $(install_sh) -d
  101928. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  101929. CONFIG_CLEAN_FILES =
  101930. +CONFIG_CLEAN_VPATH_FILES =
  101931. am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man8dir)"
  101932. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  101933. PROGRAMS = $(libexec_PROGRAMS)
  101934. am_squid_unix_group_OBJECTS = check_group.$(OBJEXT)
  101935. squid_unix_group_OBJECTS = $(am_squid_unix_group_OBJECTS)
  101936. @@ -61,6 +63,7 @@
  101937. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  101938. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  101939. am__depfiles_maybe = depfiles
  101940. +am__mv = mv -f
  101941. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  101942. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  101943. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  101944. @@ -72,6 +75,27 @@
  101945. $(LDFLAGS) -o $@
  101946. SOURCES = $(squid_unix_group_SOURCES)
  101947. DIST_SOURCES = $(squid_unix_group_SOURCES)
  101948. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  101949. +am__vpath_adj = case $$p in \
  101950. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  101951. + *) f=$$p;; \
  101952. + esac;
  101953. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  101954. +am__install_max = 40
  101955. +am__nobase_strip_setup = \
  101956. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  101957. +am__nobase_strip = \
  101958. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  101959. +am__nobase_list = $(am__nobase_strip_setup); \
  101960. + for p in $$list; do echo "$$p $$p"; done | \
  101961. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  101962. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  101963. + if (++n[$$2] == $(am__install_max)) \
  101964. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  101965. + END { for (dir in files) print dir, files[dir] }'
  101966. +am__base_list = \
  101967. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  101968. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  101969. man8dir = $(mandir)/man8
  101970. NROFF = nroff
  101971. MANS = $(man_MANS)
  101972. @@ -115,7 +139,7 @@
  101973. DISK_LINKOBJS = @DISK_LINKOBJS@
  101974. DISK_PROGRAMS = @DISK_PROGRAMS@
  101975. DSYMUTIL = @DSYMUTIL@
  101976. -ECHO = @ECHO@
  101977. +DUMPBIN = @DUMPBIN@
  101978. ECHO_C = @ECHO_C@
  101979. ECHO_N = @ECHO_N@
  101980. ECHO_T = @ECHO_T@
  101981. @@ -125,10 +149,10 @@
  101982. ERR_LANGUAGES = @ERR_LANGUAGES@
  101983. EXEEXT = @EXEEXT@
  101984. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  101985. -F77 = @F77@
  101986. FALSE = @FALSE@
  101987. -FFLAGS = @FFLAGS@
  101988. +FGREP = @FGREP@
  101989. GREP = @GREP@
  101990. +HOSTCXX = @HOSTCXX@
  101991. ICAP_LIBS = @ICAP_LIBS@
  101992. INSTALL = @INSTALL@
  101993. INSTALL_DATA = @INSTALL_DATA@
  101994. @@ -137,8 +161,12 @@
  101995. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  101996. KRB5INCS = @KRB5INCS@
  101997. KRB5LIBS = @KRB5LIBS@
  101998. +LD = @LD@
  101999. LDFLAGS = @LDFLAGS@
  102000. LIBADD_DL = @LIBADD_DL@
  102001. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  102002. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  102003. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  102004. LIBOBJS = @LIBOBJS@
  102005. LIBREGEX = @LIBREGEX@
  102006. LIBS = @LIBS@
  102007. @@ -147,9 +175,12 @@
  102008. LIB_DB = @LIB_DB@
  102009. LIB_LBER = @LIB_LBER@
  102010. LIB_LDAP = @LIB_LDAP@
  102011. +LIPO = @LIPO@
  102012. LN = @LN@
  102013. LN_S = @LN_S@
  102014. LTLIBOBJS = @LTLIBOBJS@
  102015. +LT_DLLOADERS = @LT_DLLOADERS@
  102016. +LT_DLPREOPEN = @LT_DLPREOPEN@
  102017. MAINT = @MAINT@
  102018. MAKEINFO = @MAKEINFO@
  102019. MINGW_LIBS = @MINGW_LIBS@
  102020. @@ -157,15 +188,20 @@
  102021. MKDIR_P = @MKDIR_P@
  102022. MV = @MV@
  102023. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  102024. +NM = @NM@
  102025. NMEDIT = @NMEDIT@
  102026. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  102027. +OBJDUMP = @OBJDUMP@
  102028. OBJEXT = @OBJEXT@
  102029. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  102030. +OTOOL = @OTOOL@
  102031. +OTOOL64 = @OTOOL64@
  102032. PACKAGE = @PACKAGE@
  102033. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  102034. PACKAGE_NAME = @PACKAGE_NAME@
  102035. PACKAGE_STRING = @PACKAGE_STRING@
  102036. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  102037. +PACKAGE_URL = @PACKAGE_URL@
  102038. PACKAGE_VERSION = @PACKAGE_VERSION@
  102039. PATH_SEPARATOR = @PATH_SEPARATOR@
  102040. PERL = @PERL@
  102041. @@ -202,7 +238,7 @@
  102042. abs_top_srcdir = @abs_top_srcdir@
  102043. ac_ct_CC = @ac_ct_CC@
  102044. ac_ct_CXX = @ac_ct_CXX@
  102045. -ac_ct_F77 = @ac_ct_F77@
  102046. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  102047. ac_krb5_config = @ac_krb5_config@
  102048. am__include = @am__include@
  102049. am__leading_dot = @am__leading_dot@
  102050. @@ -234,6 +270,7 @@
  102051. libexecdir = @libexecdir@
  102052. localedir = @localedir@
  102053. localstatedir = @localstatedir@
  102054. +lt_ECHO = @lt_ECHO@
  102055. makesnmplib = @makesnmplib@
  102056. mandir = @mandir@
  102057. mkdir_p = @mkdir_p@
  102058. @@ -264,14 +301,14 @@
  102059. @for dep in $?; do \
  102060. case '$(am__configure_deps)' in \
  102061. *$$dep*) \
  102062. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  102063. - && exit 0; \
  102064. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  102065. + && { if test -f $@; then exit 0; else break; fi; }; \
  102066. exit 1;; \
  102067. esac; \
  102068. done; \
  102069. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/external_acl/unix_group/Makefile'; \
  102070. - cd $(top_srcdir) && \
  102071. - $(AUTOMAKE) --foreign helpers/external_acl/unix_group/Makefile
  102072. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/external_acl/unix_group/Makefile'; \
  102073. + $(am__cd) $(top_srcdir) && \
  102074. + $(AUTOMAKE) --foreign helpers/external_acl/unix_group/Makefile
  102075. .PRECIOUS: Makefile
  102076. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  102077. @case '$?' in \
  102078. @@ -289,34 +326,50 @@
  102079. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  102080. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  102081. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  102082. +$(am__aclocal_m4_deps):
  102083. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  102084. @$(NORMAL_INSTALL)
  102085. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  102086. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  102087. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  102088. - if test -f $$p \
  102089. - || test -f $$p1 \
  102090. - ; then \
  102091. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  102092. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  102093. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  102094. - else :; fi; \
  102095. - done
  102096. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  102097. + for p in $$list; do echo "$$p $$p"; done | \
  102098. + sed 's/$(EXEEXT)$$//' | \
  102099. + while read p p1; do if test -f $$p || test -f $$p1; \
  102100. + then echo "$$p"; echo "$$p"; else :; fi; \
  102101. + done | \
  102102. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  102103. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  102104. + sed 'N;N;N;s,\n, ,g' | \
  102105. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  102106. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  102107. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  102108. + else { print "f", $$3 "/" $$4, $$1; } } \
  102109. + END { for (d in files) print "f", d, files[d] }' | \
  102110. + while read type dir files; do \
  102111. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  102112. + test -z "$$files" || { \
  102113. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  102114. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  102115. + } \
  102116. + ; done
  102117. uninstall-libexecPROGRAMS:
  102118. @$(NORMAL_UNINSTALL)
  102119. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  102120. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  102121. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  102122. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  102123. - done
  102124. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  102125. + files=`for p in $$list; do echo "$$p"; done | \
  102126. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  102127. + -e 's/$$/$(EXEEXT)/' `; \
  102128. + test -n "$$list" || exit 0; \
  102129. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  102130. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  102131. clean-libexecPROGRAMS:
  102132. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  102133. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  102134. - echo " rm -f $$p $$f"; \
  102135. - rm -f $$p $$f ; \
  102136. - done
  102137. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  102138. + echo " rm -f" $$list; \
  102139. + rm -f $$list || exit $$?; \
  102140. + test -n "$(EXEEXT)" || exit 0; \
  102141. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  102142. + echo " rm -f" $$list; \
  102143. + rm -f $$list
  102144. squid_unix_group$(EXEEXT): $(squid_unix_group_OBJECTS) $(squid_unix_group_DEPENDENCIES)
  102145. @rm -f squid_unix_group$(EXEEXT)
  102146. $(LINK) $(squid_unix_group_OBJECTS) $(squid_unix_group_LDADD) $(LIBS)
  102147. @@ -331,21 +384,21 @@
  102148. .c.o:
  102149. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  102150. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  102151. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  102152. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  102153. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  102154. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  102155. .c.obj:
  102156. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  102157. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  102158. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  102159. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  102160. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  102161. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  102162. .c.lo:
  102163. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  102164. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  102165. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  102166. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  102167. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  102168. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  102169. @@ -355,65 +408,58 @@
  102170. clean-libtool:
  102171. -rm -rf .libs _libs
  102172. -install-man8: $(man8_MANS) $(man_MANS)
  102173. +install-man8: $(man_MANS)
  102174. @$(NORMAL_INSTALL)
  102175. test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
  102176. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  102177. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  102178. - for i in $$l2; do \
  102179. - case "$$i" in \
  102180. - *.8*) list="$$list $$i" ;; \
  102181. - esac; \
  102182. + @list=''; test -n "$(man8dir)" || exit 0; \
  102183. + { for i in $$list; do echo "$$i"; done; \
  102184. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  102185. + sed -n '/\.8[a-z]*$$/p'; \
  102186. + } | while read p; do \
  102187. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  102188. + echo "$$d$$p"; echo "$$p"; \
  102189. + done | \
  102190. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  102191. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  102192. + sed 'N;N;s,\n, ,g' | { \
  102193. + list=; while read file base inst; do \
  102194. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  102195. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  102196. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
  102197. + fi; \
  102198. done; \
  102199. - for i in $$list; do \
  102200. - if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  102201. - else file=$$i; fi; \
  102202. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  102203. - case "$$ext" in \
  102204. - 8*) ;; \
  102205. - *) ext='8' ;; \
  102206. - esac; \
  102207. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  102208. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  102209. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  102210. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  102211. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
  102212. - done
  102213. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  102214. + while read files; do \
  102215. + test -z "$$files" || { \
  102216. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
  102217. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
  102218. + done; }
  102219. +
  102220. uninstall-man8:
  102221. @$(NORMAL_UNINSTALL)
  102222. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  102223. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  102224. - for i in $$l2; do \
  102225. - case "$$i" in \
  102226. - *.8*) list="$$list $$i" ;; \
  102227. - esac; \
  102228. - done; \
  102229. - for i in $$list; do \
  102230. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  102231. - case "$$ext" in \
  102232. - 8*) ;; \
  102233. - *) ext='8' ;; \
  102234. - esac; \
  102235. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  102236. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  102237. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  102238. - echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
  102239. - rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
  102240. - done
  102241. + @list=''; test -n "$(man8dir)" || exit 0; \
  102242. + files=`{ for i in $$list; do echo "$$i"; done; \
  102243. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  102244. + sed -n '/\.8[a-z]*$$/p'; \
  102245. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  102246. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  102247. + test -z "$$files" || { \
  102248. + echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \
  102249. + cd "$(DESTDIR)$(man8dir)" && rm -f $$files; }
  102250. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  102251. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  102252. unique=`for i in $$list; do \
  102253. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  102254. done | \
  102255. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  102256. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  102257. END { if (nonempty) { for (i in files) print i; }; }'`; \
  102258. mkid -fID $$unique
  102259. tags: TAGS
  102260. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  102261. $(TAGS_FILES) $(LISP)
  102262. - tags=; \
  102263. + set x; \
  102264. here=`pwd`; \
  102265. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  102266. unique=`for i in $$list; do \
  102267. @@ -421,34 +467,52 @@
  102268. done | \
  102269. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  102270. END { if (nonempty) { for (i in files) print i; }; }'`; \
  102271. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  102272. + shift; \
  102273. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  102274. test -n "$$unique" || unique=$$empty_fix; \
  102275. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  102276. - $$tags $$unique; \
  102277. + if test $$# -gt 0; then \
  102278. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  102279. + "$$@" $$unique; \
  102280. + else \
  102281. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  102282. + $$unique; \
  102283. + fi; \
  102284. fi
  102285. ctags: CTAGS
  102286. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  102287. $(TAGS_FILES) $(LISP)
  102288. - tags=; \
  102289. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  102290. unique=`for i in $$list; do \
  102291. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  102292. done | \
  102293. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  102294. END { if (nonempty) { for (i in files) print i; }; }'`; \
  102295. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  102296. + test -z "$(CTAGS_ARGS)$$unique" \
  102297. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  102298. - $$tags $$unique
  102299. + $$unique
  102300. GTAGS:
  102301. here=`$(am__cd) $(top_builddir) && pwd` \
  102302. - && cd $(top_srcdir) \
  102303. - && gtags -i $(GTAGS_ARGS) $$here
  102304. + && $(am__cd) $(top_srcdir) \
  102305. + && gtags -i $(GTAGS_ARGS) "$$here"
  102306. distclean-tags:
  102307. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  102308. distdir: $(DISTFILES)
  102309. + @list='$(MANS)'; if test -n "$$list"; then \
  102310. + list=`for p in $$list; do \
  102311. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  102312. + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  102313. + if test -n "$$list" && \
  102314. + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  102315. + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  102316. + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  102317. + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  102318. + echo " typically \`make maintainer-clean' will remove them" >&2; \
  102319. + exit 1; \
  102320. + else :; fi; \
  102321. + else :; fi
  102322. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  102323. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  102324. list='$(DISTFILES)'; \
  102325. @@ -464,13 +528,17 @@
  102326. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  102327. if test -d $$d/$$file; then \
  102328. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  102329. + if test -d "$(distdir)/$$file"; then \
  102330. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  102331. + fi; \
  102332. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  102333. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  102334. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  102335. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  102336. fi; \
  102337. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  102338. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  102339. else \
  102340. - test -f $(distdir)/$$file \
  102341. - || cp -p $$d/$$file $(distdir)/$$file \
  102342. + test -f "$(distdir)/$$file" \
  102343. + || cp -p $$d/$$file "$(distdir)/$$file" \
  102344. || exit 1; \
  102345. fi; \
  102346. done
  102347. @@ -501,6 +569,7 @@
  102348. distclean-generic:
  102349. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  102350. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  102351. maintainer-clean-generic:
  102352. @echo "This command is intended for maintainers to use"
  102353. @@ -522,6 +591,8 @@
  102354. html: html-am
  102355. +html-am:
  102356. +
  102357. info: info-am
  102358. info-am:
  102359. @@ -530,18 +601,28 @@
  102360. install-dvi: install-dvi-am
  102361. +install-dvi-am:
  102362. +
  102363. install-exec-am: install-libexecPROGRAMS
  102364. install-html: install-html-am
  102365. +install-html-am:
  102366. +
  102367. install-info: install-info-am
  102368. +install-info-am:
  102369. +
  102370. install-man: install-man8
  102371. install-pdf: install-pdf-am
  102372. +install-pdf-am:
  102373. +
  102374. install-ps: install-ps-am
  102375. +install-ps-am:
  102376. +
  102377. installcheck-am:
  102378. maintainer-clean: maintainer-clean-am
  102379. @@ -583,6 +664,7 @@
  102380. tags uninstall uninstall-am uninstall-libexecPROGRAMS \
  102381. uninstall-man uninstall-man8
  102382. +
  102383. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  102384. # Otherwise a system limit (for SysV at least) may be exceeded.
  102385. .NOEXPORT:
  102386. diff -Nur squid-3.0.STABLE20.orig/helpers/external_acl/wbinfo_group/Makefile.in squid-3.0.STABLE20/helpers/external_acl/wbinfo_group/Makefile.in
  102387. --- squid-3.0.STABLE20.orig/helpers/external_acl/wbinfo_group/Makefile.in 2009-10-29 11:05:39.000000000 +0100
  102388. +++ squid-3.0.STABLE20/helpers/external_acl/wbinfo_group/Makefile.in 2010-02-19 00:39:20.208852457 +0100
  102389. @@ -1,8 +1,9 @@
  102390. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  102391. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  102392. # @configure_input@
  102393. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  102394. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  102395. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  102396. +# Inc.
  102397. # This Makefile.in is free software; the Free Software Foundation
  102398. # gives unlimited permission to copy and/or distribute it,
  102399. # with or without modifications, as long as this notice is preserved.
  102400. @@ -24,8 +25,9 @@
  102401. VPATH = @srcdir@
  102402. pkgdatadir = $(datadir)/@PACKAGE@
  102403. -pkglibdir = $(libdir)/@PACKAGE@
  102404. pkgincludedir = $(includedir)/@PACKAGE@
  102405. +pkglibdir = $(libdir)/@PACKAGE@
  102406. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  102407. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  102408. install_sh_DATA = $(install_sh) -c -m 644
  102409. install_sh_PROGRAM = $(install_sh) -c
  102410. @@ -50,8 +52,29 @@
  102411. mkinstalldirs = $(install_sh) -d
  102412. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  102413. CONFIG_CLEAN_FILES =
  102414. +CONFIG_CLEAN_VPATH_FILES =
  102415. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  102416. +am__vpath_adj = case $$p in \
  102417. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  102418. + *) f=$$p;; \
  102419. + esac;
  102420. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  102421. +am__install_max = 40
  102422. +am__nobase_strip_setup = \
  102423. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  102424. +am__nobase_strip = \
  102425. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  102426. +am__nobase_list = $(am__nobase_strip_setup); \
  102427. + for p in $$list; do echo "$$p $$p"; done | \
  102428. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  102429. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  102430. + if (++n[$$2] == $(am__install_max)) \
  102431. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  102432. + END { for (dir in files) print dir, files[dir] }'
  102433. +am__base_list = \
  102434. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  102435. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  102436. am__installdirs = "$(DESTDIR)$(libexecdir)"
  102437. -libexecSCRIPT_INSTALL = $(INSTALL_SCRIPT)
  102438. SCRIPTS = $(libexec_SCRIPTS)
  102439. SOURCES =
  102440. DIST_SOURCES =
  102441. @@ -93,7 +116,7 @@
  102442. DISK_LINKOBJS = @DISK_LINKOBJS@
  102443. DISK_PROGRAMS = @DISK_PROGRAMS@
  102444. DSYMUTIL = @DSYMUTIL@
  102445. -ECHO = @ECHO@
  102446. +DUMPBIN = @DUMPBIN@
  102447. ECHO_C = @ECHO_C@
  102448. ECHO_N = @ECHO_N@
  102449. ECHO_T = @ECHO_T@
  102450. @@ -103,10 +126,10 @@
  102451. ERR_LANGUAGES = @ERR_LANGUAGES@
  102452. EXEEXT = @EXEEXT@
  102453. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  102454. -F77 = @F77@
  102455. FALSE = @FALSE@
  102456. -FFLAGS = @FFLAGS@
  102457. +FGREP = @FGREP@
  102458. GREP = @GREP@
  102459. +HOSTCXX = @HOSTCXX@
  102460. ICAP_LIBS = @ICAP_LIBS@
  102461. INSTALL = @INSTALL@
  102462. INSTALL_DATA = @INSTALL_DATA@
  102463. @@ -115,8 +138,12 @@
  102464. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  102465. KRB5INCS = @KRB5INCS@
  102466. KRB5LIBS = @KRB5LIBS@
  102467. +LD = @LD@
  102468. LDFLAGS = @LDFLAGS@
  102469. LIBADD_DL = @LIBADD_DL@
  102470. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  102471. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  102472. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  102473. LIBOBJS = @LIBOBJS@
  102474. LIBREGEX = @LIBREGEX@
  102475. LIBS = @LIBS@
  102476. @@ -125,9 +152,12 @@
  102477. LIB_DB = @LIB_DB@
  102478. LIB_LBER = @LIB_LBER@
  102479. LIB_LDAP = @LIB_LDAP@
  102480. +LIPO = @LIPO@
  102481. LN = @LN@
  102482. LN_S = @LN_S@
  102483. LTLIBOBJS = @LTLIBOBJS@
  102484. +LT_DLLOADERS = @LT_DLLOADERS@
  102485. +LT_DLPREOPEN = @LT_DLPREOPEN@
  102486. MAINT = @MAINT@
  102487. MAKEINFO = @MAKEINFO@
  102488. MINGW_LIBS = @MINGW_LIBS@
  102489. @@ -135,15 +165,20 @@
  102490. MKDIR_P = @MKDIR_P@
  102491. MV = @MV@
  102492. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  102493. +NM = @NM@
  102494. NMEDIT = @NMEDIT@
  102495. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  102496. +OBJDUMP = @OBJDUMP@
  102497. OBJEXT = @OBJEXT@
  102498. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  102499. +OTOOL = @OTOOL@
  102500. +OTOOL64 = @OTOOL64@
  102501. PACKAGE = @PACKAGE@
  102502. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  102503. PACKAGE_NAME = @PACKAGE_NAME@
  102504. PACKAGE_STRING = @PACKAGE_STRING@
  102505. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  102506. +PACKAGE_URL = @PACKAGE_URL@
  102507. PACKAGE_VERSION = @PACKAGE_VERSION@
  102508. PATH_SEPARATOR = @PATH_SEPARATOR@
  102509. PERL = @PERL@
  102510. @@ -180,7 +215,7 @@
  102511. abs_top_srcdir = @abs_top_srcdir@
  102512. ac_ct_CC = @ac_ct_CC@
  102513. ac_ct_CXX = @ac_ct_CXX@
  102514. -ac_ct_F77 = @ac_ct_F77@
  102515. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  102516. ac_krb5_config = @ac_krb5_config@
  102517. am__include = @am__include@
  102518. am__leading_dot = @am__leading_dot@
  102519. @@ -212,6 +247,7 @@
  102520. libexecdir = @libexecdir@
  102521. localedir = @localedir@
  102522. localstatedir = @localstatedir@
  102523. +lt_ECHO = @lt_ECHO@
  102524. makesnmplib = @makesnmplib@
  102525. mandir = @mandir@
  102526. mkdir_p = @mkdir_p@
  102527. @@ -240,14 +276,14 @@
  102528. @for dep in $?; do \
  102529. case '$(am__configure_deps)' in \
  102530. *$$dep*) \
  102531. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  102532. - && exit 0; \
  102533. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  102534. + && { if test -f $@; then exit 0; else break; fi; }; \
  102535. exit 1;; \
  102536. esac; \
  102537. done; \
  102538. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/external_acl/wbinfo_group/Makefile'; \
  102539. - cd $(top_srcdir) && \
  102540. - $(AUTOMAKE) --foreign helpers/external_acl/wbinfo_group/Makefile
  102541. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/external_acl/wbinfo_group/Makefile'; \
  102542. + $(am__cd) $(top_srcdir) && \
  102543. + $(AUTOMAKE) --foreign helpers/external_acl/wbinfo_group/Makefile
  102544. .PRECIOUS: Makefile
  102545. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  102546. @case '$?' in \
  102547. @@ -265,25 +301,41 @@
  102548. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  102549. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  102550. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  102551. +$(am__aclocal_m4_deps):
  102552. install-libexecSCRIPTS: $(libexec_SCRIPTS)
  102553. @$(NORMAL_INSTALL)
  102554. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  102555. - @list='$(libexec_SCRIPTS)'; for p in $$list; do \
  102556. + @list='$(libexec_SCRIPTS)'; test -n "$(libexecdir)" || list=; \
  102557. + for p in $$list; do \
  102558. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  102559. - if test -f $$d$$p; then \
  102560. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  102561. - echo " $(libexecSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  102562. - $(libexecSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(libexecdir)/$$f"; \
  102563. - else :; fi; \
  102564. - done
  102565. + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
  102566. + done | \
  102567. + sed -e 'p;s,.*/,,;n' \
  102568. + -e 'h;s|.*|.|' \
  102569. + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
  102570. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
  102571. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  102572. + if ($$2 == $$4) { files[d] = files[d] " " $$1; \
  102573. + if (++n[d] == $(am__install_max)) { \
  102574. + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
  102575. + else { print "f", d "/" $$4, $$1 } } \
  102576. + END { for (d in files) print "f", d, files[d] }' | \
  102577. + while read type dir files; do \
  102578. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  102579. + test -z "$$files" || { \
  102580. + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  102581. + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  102582. + } \
  102583. + ; done
  102584. uninstall-libexecSCRIPTS:
  102585. @$(NORMAL_UNINSTALL)
  102586. - @list='$(libexec_SCRIPTS)'; for p in $$list; do \
  102587. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  102588. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  102589. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  102590. - done
  102591. + @list='$(libexec_SCRIPTS)'; test -n "$(libexecdir)" || exit 0; \
  102592. + files=`for p in $$list; do echo "$$p"; done | \
  102593. + sed -e 's,.*/,,;$(transform)'`; \
  102594. + test -n "$$list" || exit 0; \
  102595. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  102596. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  102597. mostlyclean-libtool:
  102598. -rm -f *.lo
  102599. @@ -313,13 +365,17 @@
  102600. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  102601. if test -d $$d/$$file; then \
  102602. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  102603. + if test -d "$(distdir)/$$file"; then \
  102604. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  102605. + fi; \
  102606. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  102607. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  102608. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  102609. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  102610. fi; \
  102611. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  102612. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  102613. else \
  102614. - test -f $(distdir)/$$file \
  102615. - || cp -p $$d/$$file $(distdir)/$$file \
  102616. + test -f "$(distdir)/$$file" \
  102617. + || cp -p $$d/$$file "$(distdir)/$$file" \
  102618. || exit 1; \
  102619. fi; \
  102620. done
  102621. @@ -350,6 +406,7 @@
  102622. distclean-generic:
  102623. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  102624. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  102625. maintainer-clean-generic:
  102626. @echo "This command is intended for maintainers to use"
  102627. @@ -368,6 +425,8 @@
  102628. html: html-am
  102629. +html-am:
  102630. +
  102631. info: info-am
  102632. info-am:
  102633. @@ -376,18 +435,28 @@
  102634. install-dvi: install-dvi-am
  102635. +install-dvi-am:
  102636. +
  102637. install-exec-am: install-libexecSCRIPTS
  102638. install-html: install-html-am
  102639. +install-html-am:
  102640. +
  102641. install-info: install-info-am
  102642. +install-info-am:
  102643. +
  102644. install-man:
  102645. install-pdf: install-pdf-am
  102646. +install-pdf-am:
  102647. +
  102648. install-ps: install-ps-am
  102649. +install-ps-am:
  102650. +
  102651. installcheck-am:
  102652. maintainer-clean: maintainer-clean-am
  102653. @@ -422,6 +491,7 @@
  102654. mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
  102655. ps ps-am uninstall uninstall-am uninstall-libexecSCRIPTS
  102656. +
  102657. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  102658. # Otherwise a system limit (for SysV at least) may be exceeded.
  102659. .NOEXPORT:
  102660. diff -Nur squid-3.0.STABLE20.orig/helpers/Makefile.in squid-3.0.STABLE20/helpers/Makefile.in
  102661. --- squid-3.0.STABLE20.orig/helpers/Makefile.in 2009-10-29 11:05:38.000000000 +0100
  102662. +++ squid-3.0.STABLE20/helpers/Makefile.in 2010-02-19 00:39:15.524854725 +0100
  102663. @@ -1,8 +1,9 @@
  102664. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  102665. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  102666. # @configure_input@
  102667. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  102668. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  102669. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  102670. +# Inc.
  102671. # This Makefile.in is free software; the Free Software Foundation
  102672. # gives unlimited permission to copy and/or distribute it,
  102673. # with or without modifications, as long as this notice is preserved.
  102674. @@ -15,8 +16,9 @@
  102675. @SET_MAKE@
  102676. VPATH = @srcdir@
  102677. pkgdatadir = $(datadir)/@PACKAGE@
  102678. -pkglibdir = $(libdir)/@PACKAGE@
  102679. pkgincludedir = $(includedir)/@PACKAGE@
  102680. +pkglibdir = $(libdir)/@PACKAGE@
  102681. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  102682. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  102683. install_sh_DATA = $(install_sh) -c -m 644
  102684. install_sh_PROGRAM = $(install_sh) -c
  102685. @@ -41,6 +43,7 @@
  102686. mkinstalldirs = $(install_sh) -d
  102687. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  102688. CONFIG_CLEAN_FILES =
  102689. +CONFIG_CLEAN_VPATH_FILES =
  102690. SOURCES =
  102691. DIST_SOURCES =
  102692. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  102693. @@ -52,10 +55,38 @@
  102694. ps-recursive uninstall-recursive
  102695. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  102696. distclean-recursive maintainer-clean-recursive
  102697. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  102698. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  102699. + distdir
  102700. ETAGS = etags
  102701. CTAGS = ctags
  102702. DIST_SUBDIRS = $(SUBDIRS)
  102703. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  102704. +am__relativize = \
  102705. + dir0=`pwd`; \
  102706. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  102707. + sed_rest='s,^[^/]*/*,,'; \
  102708. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  102709. + sed_butlast='s,/*[^/]*$$,,'; \
  102710. + while test -n "$$dir1"; do \
  102711. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  102712. + if test "$$first" != "."; then \
  102713. + if test "$$first" = ".."; then \
  102714. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  102715. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  102716. + else \
  102717. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  102718. + if test "$$first2" = "$$first"; then \
  102719. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  102720. + else \
  102721. + dir2="../$$dir2"; \
  102722. + fi; \
  102723. + dir0="$$dir0"/"$$first"; \
  102724. + fi; \
  102725. + fi; \
  102726. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  102727. + done; \
  102728. + reldir="$$dir2"
  102729. ACLOCAL = @ACLOCAL@
  102730. ALLOCA = @ALLOCA@
  102731. AMTAR = @AMTAR@
  102732. @@ -93,7 +124,7 @@
  102733. DISK_LINKOBJS = @DISK_LINKOBJS@
  102734. DISK_PROGRAMS = @DISK_PROGRAMS@
  102735. DSYMUTIL = @DSYMUTIL@
  102736. -ECHO = @ECHO@
  102737. +DUMPBIN = @DUMPBIN@
  102738. ECHO_C = @ECHO_C@
  102739. ECHO_N = @ECHO_N@
  102740. ECHO_T = @ECHO_T@
  102741. @@ -103,10 +134,10 @@
  102742. ERR_LANGUAGES = @ERR_LANGUAGES@
  102743. EXEEXT = @EXEEXT@
  102744. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  102745. -F77 = @F77@
  102746. FALSE = @FALSE@
  102747. -FFLAGS = @FFLAGS@
  102748. +FGREP = @FGREP@
  102749. GREP = @GREP@
  102750. +HOSTCXX = @HOSTCXX@
  102751. ICAP_LIBS = @ICAP_LIBS@
  102752. INSTALL = @INSTALL@
  102753. INSTALL_DATA = @INSTALL_DATA@
  102754. @@ -115,8 +146,12 @@
  102755. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  102756. KRB5INCS = @KRB5INCS@
  102757. KRB5LIBS = @KRB5LIBS@
  102758. +LD = @LD@
  102759. LDFLAGS = @LDFLAGS@
  102760. LIBADD_DL = @LIBADD_DL@
  102761. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  102762. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  102763. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  102764. LIBOBJS = @LIBOBJS@
  102765. LIBREGEX = @LIBREGEX@
  102766. LIBS = @LIBS@
  102767. @@ -125,9 +160,12 @@
  102768. LIB_DB = @LIB_DB@
  102769. LIB_LBER = @LIB_LBER@
  102770. LIB_LDAP = @LIB_LDAP@
  102771. +LIPO = @LIPO@
  102772. LN = @LN@
  102773. LN_S = @LN_S@
  102774. LTLIBOBJS = @LTLIBOBJS@
  102775. +LT_DLLOADERS = @LT_DLLOADERS@
  102776. +LT_DLPREOPEN = @LT_DLPREOPEN@
  102777. MAINT = @MAINT@
  102778. MAKEINFO = @MAKEINFO@
  102779. MINGW_LIBS = @MINGW_LIBS@
  102780. @@ -135,15 +173,20 @@
  102781. MKDIR_P = @MKDIR_P@
  102782. MV = @MV@
  102783. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  102784. +NM = @NM@
  102785. NMEDIT = @NMEDIT@
  102786. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  102787. +OBJDUMP = @OBJDUMP@
  102788. OBJEXT = @OBJEXT@
  102789. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  102790. +OTOOL = @OTOOL@
  102791. +OTOOL64 = @OTOOL64@
  102792. PACKAGE = @PACKAGE@
  102793. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  102794. PACKAGE_NAME = @PACKAGE_NAME@
  102795. PACKAGE_STRING = @PACKAGE_STRING@
  102796. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  102797. +PACKAGE_URL = @PACKAGE_URL@
  102798. PACKAGE_VERSION = @PACKAGE_VERSION@
  102799. PATH_SEPARATOR = @PATH_SEPARATOR@
  102800. PERL = @PERL@
  102801. @@ -180,7 +223,7 @@
  102802. abs_top_srcdir = @abs_top_srcdir@
  102803. ac_ct_CC = @ac_ct_CC@
  102804. ac_ct_CXX = @ac_ct_CXX@
  102805. -ac_ct_F77 = @ac_ct_F77@
  102806. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  102807. ac_krb5_config = @ac_krb5_config@
  102808. am__include = @am__include@
  102809. am__leading_dot = @am__leading_dot@
  102810. @@ -212,6 +255,7 @@
  102811. libexecdir = @libexecdir@
  102812. localedir = @localedir@
  102813. localstatedir = @localstatedir@
  102814. +lt_ECHO = @lt_ECHO@
  102815. makesnmplib = @makesnmplib@
  102816. mandir = @mandir@
  102817. mkdir_p = @mkdir_p@
  102818. @@ -237,14 +281,14 @@
  102819. @for dep in $?; do \
  102820. case '$(am__configure_deps)' in \
  102821. *$$dep*) \
  102822. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  102823. - && exit 0; \
  102824. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  102825. + && { if test -f $@; then exit 0; else break; fi; }; \
  102826. exit 1;; \
  102827. esac; \
  102828. done; \
  102829. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/Makefile'; \
  102830. - cd $(top_srcdir) && \
  102831. - $(AUTOMAKE) --foreign helpers/Makefile
  102832. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/Makefile'; \
  102833. + $(am__cd) $(top_srcdir) && \
  102834. + $(AUTOMAKE) --foreign helpers/Makefile
  102835. .PRECIOUS: Makefile
  102836. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  102837. @case '$?' in \
  102838. @@ -262,6 +306,7 @@
  102839. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  102840. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  102841. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  102842. +$(am__aclocal_m4_deps):
  102843. mostlyclean-libtool:
  102844. -rm -f *.lo
  102845. @@ -276,7 +321,7 @@
  102846. # (which will cause the Makefiles to be regenerated when you run `make');
  102847. # (2) otherwise, pass the desired values on the `make' command line.
  102848. $(RECURSIVE_TARGETS):
  102849. - @failcom='exit 1'; \
  102850. + @fail= failcom='exit 1'; \
  102851. for f in x $$MAKEFLAGS; do \
  102852. case $$f in \
  102853. *=* | --[!k]*);; \
  102854. @@ -293,7 +338,7 @@
  102855. else \
  102856. local_target="$$target"; \
  102857. fi; \
  102858. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  102859. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  102860. || eval $$failcom; \
  102861. done; \
  102862. if test "$$dot_seen" = "no"; then \
  102863. @@ -301,7 +346,7 @@
  102864. fi; test -z "$$fail"
  102865. $(RECURSIVE_CLEAN_TARGETS):
  102866. - @failcom='exit 1'; \
  102867. + @fail= failcom='exit 1'; \
  102868. for f in x $$MAKEFLAGS; do \
  102869. case $$f in \
  102870. *=* | --[!k]*);; \
  102871. @@ -327,16 +372,16 @@
  102872. else \
  102873. local_target="$$target"; \
  102874. fi; \
  102875. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  102876. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  102877. || eval $$failcom; \
  102878. done && test -z "$$fail"
  102879. tags-recursive:
  102880. list='$(SUBDIRS)'; for subdir in $$list; do \
  102881. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  102882. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  102883. done
  102884. ctags-recursive:
  102885. list='$(SUBDIRS)'; for subdir in $$list; do \
  102886. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  102887. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  102888. done
  102889. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  102890. @@ -344,14 +389,14 @@
  102891. unique=`for i in $$list; do \
  102892. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  102893. done | \
  102894. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  102895. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  102896. END { if (nonempty) { for (i in files) print i; }; }'`; \
  102897. mkid -fID $$unique
  102898. tags: TAGS
  102899. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  102900. $(TAGS_FILES) $(LISP)
  102901. - tags=; \
  102902. + set x; \
  102903. here=`pwd`; \
  102904. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  102905. include_option=--etags-include; \
  102906. @@ -363,7 +408,7 @@
  102907. list='$(SUBDIRS)'; for subdir in $$list; do \
  102908. if test "$$subdir" = .; then :; else \
  102909. test ! -f $$subdir/TAGS || \
  102910. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  102911. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  102912. fi; \
  102913. done; \
  102914. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  102915. @@ -372,29 +417,34 @@
  102916. done | \
  102917. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  102918. END { if (nonempty) { for (i in files) print i; }; }'`; \
  102919. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  102920. + shift; \
  102921. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  102922. test -n "$$unique" || unique=$$empty_fix; \
  102923. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  102924. - $$tags $$unique; \
  102925. + if test $$# -gt 0; then \
  102926. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  102927. + "$$@" $$unique; \
  102928. + else \
  102929. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  102930. + $$unique; \
  102931. + fi; \
  102932. fi
  102933. ctags: CTAGS
  102934. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  102935. $(TAGS_FILES) $(LISP)
  102936. - tags=; \
  102937. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  102938. unique=`for i in $$list; do \
  102939. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  102940. done | \
  102941. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  102942. END { if (nonempty) { for (i in files) print i; }; }'`; \
  102943. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  102944. + test -z "$(CTAGS_ARGS)$$unique" \
  102945. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  102946. - $$tags $$unique
  102947. + $$unique
  102948. GTAGS:
  102949. here=`$(am__cd) $(top_builddir) && pwd` \
  102950. - && cd $(top_srcdir) \
  102951. - && gtags -i $(GTAGS_ARGS) $$here
  102952. + && $(am__cd) $(top_srcdir) \
  102953. + && gtags -i $(GTAGS_ARGS) "$$here"
  102954. distclean-tags:
  102955. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  102956. @@ -415,29 +465,44 @@
  102957. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  102958. if test -d $$d/$$file; then \
  102959. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  102960. + if test -d "$(distdir)/$$file"; then \
  102961. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  102962. + fi; \
  102963. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  102964. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  102965. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  102966. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  102967. fi; \
  102968. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  102969. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  102970. else \
  102971. - test -f $(distdir)/$$file \
  102972. - || cp -p $$d/$$file $(distdir)/$$file \
  102973. + test -f "$(distdir)/$$file" \
  102974. + || cp -p $$d/$$file "$(distdir)/$$file" \
  102975. || exit 1; \
  102976. fi; \
  102977. done
  102978. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  102979. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  102980. if test "$$subdir" = .; then :; else \
  102981. test -d "$(distdir)/$$subdir" \
  102982. || $(MKDIR_P) "$(distdir)/$$subdir" \
  102983. || exit 1; \
  102984. - distdir=`$(am__cd) $(distdir) && pwd`; \
  102985. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  102986. - (cd $$subdir && \
  102987. + fi; \
  102988. + done
  102989. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  102990. + if test "$$subdir" = .; then :; else \
  102991. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  102992. + $(am__relativize); \
  102993. + new_distdir=$$reldir; \
  102994. + dir1=$$subdir; dir2="$(top_distdir)"; \
  102995. + $(am__relativize); \
  102996. + new_top_distdir=$$reldir; \
  102997. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  102998. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  102999. + ($(am__cd) $$subdir && \
  103000. $(MAKE) $(AM_MAKEFLAGS) \
  103001. - top_distdir="$$top_distdir" \
  103002. - distdir="$$distdir/$$subdir" \
  103003. + top_distdir="$$new_top_distdir" \
  103004. + distdir="$$new_distdir" \
  103005. am__remove_distdir=: \
  103006. am__skip_length_check=: \
  103007. + am__skip_mode_fix=: \
  103008. distdir) \
  103009. || exit 1; \
  103010. fi; \
  103011. @@ -467,6 +532,7 @@
  103012. distclean-generic:
  103013. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  103014. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  103015. maintainer-clean-generic:
  103016. @echo "This command is intended for maintainers to use"
  103017. @@ -485,6 +551,8 @@
  103018. html: html-recursive
  103019. +html-am:
  103020. +
  103021. info: info-recursive
  103022. info-am:
  103023. @@ -493,18 +561,28 @@
  103024. install-dvi: install-dvi-recursive
  103025. +install-dvi-am:
  103026. +
  103027. install-exec-am:
  103028. install-html: install-html-recursive
  103029. +install-html-am:
  103030. +
  103031. install-info: install-info-recursive
  103032. +install-info-am:
  103033. +
  103034. install-man:
  103035. install-pdf: install-pdf-recursive
  103036. +install-pdf-am:
  103037. +
  103038. install-ps: install-ps-recursive
  103039. +install-ps-am:
  103040. +
  103041. installcheck-am:
  103042. maintainer-clean: maintainer-clean-recursive
  103043. @@ -525,8 +603,8 @@
  103044. uninstall-am:
  103045. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  103046. - install-strip
  103047. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  103048. + install-am install-strip tags-recursive
  103049. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  103050. all all-am check check-am clean clean-generic clean-libtool \
  103051. @@ -542,6 +620,7 @@
  103052. mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  103053. uninstall uninstall-am
  103054. +
  103055. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  103056. # Otherwise a system limit (for SysV at least) may be exceeded.
  103057. .NOEXPORT:
  103058. diff -Nur squid-3.0.STABLE20.orig/helpers/negotiate_auth/Makefile.in squid-3.0.STABLE20/helpers/negotiate_auth/Makefile.in
  103059. --- squid-3.0.STABLE20.orig/helpers/negotiate_auth/Makefile.in 2009-10-29 11:05:39.000000000 +0100
  103060. +++ squid-3.0.STABLE20/helpers/negotiate_auth/Makefile.in 2010-02-19 00:39:20.332852324 +0100
  103061. @@ -1,8 +1,9 @@
  103062. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  103063. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  103064. # @configure_input@
  103065. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  103066. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  103067. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  103068. +# Inc.
  103069. # This Makefile.in is free software; the Free Software Foundation
  103070. # gives unlimited permission to copy and/or distribute it,
  103071. # with or without modifications, as long as this notice is preserved.
  103072. @@ -20,8 +21,9 @@
  103073. #
  103074. VPATH = @srcdir@
  103075. pkgdatadir = $(datadir)/@PACKAGE@
  103076. -pkglibdir = $(libdir)/@PACKAGE@
  103077. pkgincludedir = $(includedir)/@PACKAGE@
  103078. +pkglibdir = $(libdir)/@PACKAGE@
  103079. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  103080. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  103081. install_sh_DATA = $(install_sh) -c -m 644
  103082. install_sh_PROGRAM = $(install_sh) -c
  103083. @@ -46,6 +48,7 @@
  103084. mkinstalldirs = $(install_sh) -d
  103085. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  103086. CONFIG_CLEAN_FILES =
  103087. +CONFIG_CLEAN_VPATH_FILES =
  103088. SOURCES =
  103089. DIST_SOURCES =
  103090. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  103091. @@ -57,9 +60,37 @@
  103092. ps-recursive uninstall-recursive
  103093. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  103094. distclean-recursive maintainer-clean-recursive
  103095. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  103096. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  103097. + distdir
  103098. ETAGS = etags
  103099. CTAGS = ctags
  103100. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  103101. +am__relativize = \
  103102. + dir0=`pwd`; \
  103103. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  103104. + sed_rest='s,^[^/]*/*,,'; \
  103105. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  103106. + sed_butlast='s,/*[^/]*$$,,'; \
  103107. + while test -n "$$dir1"; do \
  103108. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  103109. + if test "$$first" != "."; then \
  103110. + if test "$$first" = ".."; then \
  103111. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  103112. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  103113. + else \
  103114. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  103115. + if test "$$first2" = "$$first"; then \
  103116. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  103117. + else \
  103118. + dir2="../$$dir2"; \
  103119. + fi; \
  103120. + dir0="$$dir0"/"$$first"; \
  103121. + fi; \
  103122. + fi; \
  103123. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  103124. + done; \
  103125. + reldir="$$dir2"
  103126. ACLOCAL = @ACLOCAL@
  103127. ALLOCA = @ALLOCA@
  103128. AMTAR = @AMTAR@
  103129. @@ -97,7 +128,7 @@
  103130. DISK_LINKOBJS = @DISK_LINKOBJS@
  103131. DISK_PROGRAMS = @DISK_PROGRAMS@
  103132. DSYMUTIL = @DSYMUTIL@
  103133. -ECHO = @ECHO@
  103134. +DUMPBIN = @DUMPBIN@
  103135. ECHO_C = @ECHO_C@
  103136. ECHO_N = @ECHO_N@
  103137. ECHO_T = @ECHO_T@
  103138. @@ -107,10 +138,10 @@
  103139. ERR_LANGUAGES = @ERR_LANGUAGES@
  103140. EXEEXT = @EXEEXT@
  103141. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  103142. -F77 = @F77@
  103143. FALSE = @FALSE@
  103144. -FFLAGS = @FFLAGS@
  103145. +FGREP = @FGREP@
  103146. GREP = @GREP@
  103147. +HOSTCXX = @HOSTCXX@
  103148. ICAP_LIBS = @ICAP_LIBS@
  103149. INSTALL = @INSTALL@
  103150. INSTALL_DATA = @INSTALL_DATA@
  103151. @@ -119,8 +150,12 @@
  103152. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  103153. KRB5INCS = @KRB5INCS@
  103154. KRB5LIBS = @KRB5LIBS@
  103155. +LD = @LD@
  103156. LDFLAGS = @LDFLAGS@
  103157. LIBADD_DL = @LIBADD_DL@
  103158. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  103159. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  103160. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  103161. LIBOBJS = @LIBOBJS@
  103162. LIBREGEX = @LIBREGEX@
  103163. LIBS = @LIBS@
  103164. @@ -129,9 +164,12 @@
  103165. LIB_DB = @LIB_DB@
  103166. LIB_LBER = @LIB_LBER@
  103167. LIB_LDAP = @LIB_LDAP@
  103168. +LIPO = @LIPO@
  103169. LN = @LN@
  103170. LN_S = @LN_S@
  103171. LTLIBOBJS = @LTLIBOBJS@
  103172. +LT_DLLOADERS = @LT_DLLOADERS@
  103173. +LT_DLPREOPEN = @LT_DLPREOPEN@
  103174. MAINT = @MAINT@
  103175. MAKEINFO = @MAKEINFO@
  103176. MINGW_LIBS = @MINGW_LIBS@
  103177. @@ -139,15 +177,20 @@
  103178. MKDIR_P = @MKDIR_P@
  103179. MV = @MV@
  103180. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  103181. +NM = @NM@
  103182. NMEDIT = @NMEDIT@
  103183. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  103184. +OBJDUMP = @OBJDUMP@
  103185. OBJEXT = @OBJEXT@
  103186. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  103187. +OTOOL = @OTOOL@
  103188. +OTOOL64 = @OTOOL64@
  103189. PACKAGE = @PACKAGE@
  103190. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  103191. PACKAGE_NAME = @PACKAGE_NAME@
  103192. PACKAGE_STRING = @PACKAGE_STRING@
  103193. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  103194. +PACKAGE_URL = @PACKAGE_URL@
  103195. PACKAGE_VERSION = @PACKAGE_VERSION@
  103196. PATH_SEPARATOR = @PATH_SEPARATOR@
  103197. PERL = @PERL@
  103198. @@ -184,7 +227,7 @@
  103199. abs_top_srcdir = @abs_top_srcdir@
  103200. ac_ct_CC = @ac_ct_CC@
  103201. ac_ct_CXX = @ac_ct_CXX@
  103202. -ac_ct_F77 = @ac_ct_F77@
  103203. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  103204. ac_krb5_config = @ac_krb5_config@
  103205. am__include = @am__include@
  103206. am__leading_dot = @am__leading_dot@
  103207. @@ -216,6 +259,7 @@
  103208. libexecdir = @libexecdir@
  103209. localedir = @localedir@
  103210. localstatedir = @localstatedir@
  103211. +lt_ECHO = @lt_ECHO@
  103212. makesnmplib = @makesnmplib@
  103213. mandir = @mandir@
  103214. mkdir_p = @mkdir_p@
  103215. @@ -242,14 +286,14 @@
  103216. @for dep in $?; do \
  103217. case '$(am__configure_deps)' in \
  103218. *$$dep*) \
  103219. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  103220. - && exit 0; \
  103221. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  103222. + && { if test -f $@; then exit 0; else break; fi; }; \
  103223. exit 1;; \
  103224. esac; \
  103225. done; \
  103226. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/negotiate_auth/Makefile'; \
  103227. - cd $(top_srcdir) && \
  103228. - $(AUTOMAKE) --foreign helpers/negotiate_auth/Makefile
  103229. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/negotiate_auth/Makefile'; \
  103230. + $(am__cd) $(top_srcdir) && \
  103231. + $(AUTOMAKE) --foreign helpers/negotiate_auth/Makefile
  103232. .PRECIOUS: Makefile
  103233. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  103234. @case '$?' in \
  103235. @@ -267,6 +311,7 @@
  103236. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  103237. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  103238. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  103239. +$(am__aclocal_m4_deps):
  103240. mostlyclean-libtool:
  103241. -rm -f *.lo
  103242. @@ -281,7 +326,7 @@
  103243. # (which will cause the Makefiles to be regenerated when you run `make');
  103244. # (2) otherwise, pass the desired values on the `make' command line.
  103245. $(RECURSIVE_TARGETS):
  103246. - @failcom='exit 1'; \
  103247. + @fail= failcom='exit 1'; \
  103248. for f in x $$MAKEFLAGS; do \
  103249. case $$f in \
  103250. *=* | --[!k]*);; \
  103251. @@ -298,7 +343,7 @@
  103252. else \
  103253. local_target="$$target"; \
  103254. fi; \
  103255. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  103256. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  103257. || eval $$failcom; \
  103258. done; \
  103259. if test "$$dot_seen" = "no"; then \
  103260. @@ -306,7 +351,7 @@
  103261. fi; test -z "$$fail"
  103262. $(RECURSIVE_CLEAN_TARGETS):
  103263. - @failcom='exit 1'; \
  103264. + @fail= failcom='exit 1'; \
  103265. for f in x $$MAKEFLAGS; do \
  103266. case $$f in \
  103267. *=* | --[!k]*);; \
  103268. @@ -332,16 +377,16 @@
  103269. else \
  103270. local_target="$$target"; \
  103271. fi; \
  103272. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  103273. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  103274. || eval $$failcom; \
  103275. done && test -z "$$fail"
  103276. tags-recursive:
  103277. list='$(SUBDIRS)'; for subdir in $$list; do \
  103278. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  103279. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  103280. done
  103281. ctags-recursive:
  103282. list='$(SUBDIRS)'; for subdir in $$list; do \
  103283. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  103284. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  103285. done
  103286. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  103287. @@ -349,14 +394,14 @@
  103288. unique=`for i in $$list; do \
  103289. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  103290. done | \
  103291. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  103292. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  103293. END { if (nonempty) { for (i in files) print i; }; }'`; \
  103294. mkid -fID $$unique
  103295. tags: TAGS
  103296. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  103297. $(TAGS_FILES) $(LISP)
  103298. - tags=; \
  103299. + set x; \
  103300. here=`pwd`; \
  103301. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  103302. include_option=--etags-include; \
  103303. @@ -368,7 +413,7 @@
  103304. list='$(SUBDIRS)'; for subdir in $$list; do \
  103305. if test "$$subdir" = .; then :; else \
  103306. test ! -f $$subdir/TAGS || \
  103307. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  103308. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  103309. fi; \
  103310. done; \
  103311. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  103312. @@ -377,29 +422,34 @@
  103313. done | \
  103314. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  103315. END { if (nonempty) { for (i in files) print i; }; }'`; \
  103316. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  103317. + shift; \
  103318. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  103319. test -n "$$unique" || unique=$$empty_fix; \
  103320. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  103321. - $$tags $$unique; \
  103322. + if test $$# -gt 0; then \
  103323. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  103324. + "$$@" $$unique; \
  103325. + else \
  103326. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  103327. + $$unique; \
  103328. + fi; \
  103329. fi
  103330. ctags: CTAGS
  103331. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  103332. $(TAGS_FILES) $(LISP)
  103333. - tags=; \
  103334. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  103335. unique=`for i in $$list; do \
  103336. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  103337. done | \
  103338. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  103339. END { if (nonempty) { for (i in files) print i; }; }'`; \
  103340. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  103341. + test -z "$(CTAGS_ARGS)$$unique" \
  103342. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  103343. - $$tags $$unique
  103344. + $$unique
  103345. GTAGS:
  103346. here=`$(am__cd) $(top_builddir) && pwd` \
  103347. - && cd $(top_srcdir) \
  103348. - && gtags -i $(GTAGS_ARGS) $$here
  103349. + && $(am__cd) $(top_srcdir) \
  103350. + && gtags -i $(GTAGS_ARGS) "$$here"
  103351. distclean-tags:
  103352. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  103353. @@ -420,29 +470,44 @@
  103354. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  103355. if test -d $$d/$$file; then \
  103356. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  103357. + if test -d "$(distdir)/$$file"; then \
  103358. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  103359. + fi; \
  103360. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  103361. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  103362. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  103363. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  103364. fi; \
  103365. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  103366. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  103367. else \
  103368. - test -f $(distdir)/$$file \
  103369. - || cp -p $$d/$$file $(distdir)/$$file \
  103370. + test -f "$(distdir)/$$file" \
  103371. + || cp -p $$d/$$file "$(distdir)/$$file" \
  103372. || exit 1; \
  103373. fi; \
  103374. done
  103375. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  103376. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  103377. if test "$$subdir" = .; then :; else \
  103378. test -d "$(distdir)/$$subdir" \
  103379. || $(MKDIR_P) "$(distdir)/$$subdir" \
  103380. || exit 1; \
  103381. - distdir=`$(am__cd) $(distdir) && pwd`; \
  103382. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  103383. - (cd $$subdir && \
  103384. + fi; \
  103385. + done
  103386. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  103387. + if test "$$subdir" = .; then :; else \
  103388. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  103389. + $(am__relativize); \
  103390. + new_distdir=$$reldir; \
  103391. + dir1=$$subdir; dir2="$(top_distdir)"; \
  103392. + $(am__relativize); \
  103393. + new_top_distdir=$$reldir; \
  103394. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  103395. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  103396. + ($(am__cd) $$subdir && \
  103397. $(MAKE) $(AM_MAKEFLAGS) \
  103398. - top_distdir="$$top_distdir" \
  103399. - distdir="$$distdir/$$subdir" \
  103400. + top_distdir="$$new_top_distdir" \
  103401. + distdir="$$new_distdir" \
  103402. am__remove_distdir=: \
  103403. am__skip_length_check=: \
  103404. + am__skip_mode_fix=: \
  103405. distdir) \
  103406. || exit 1; \
  103407. fi; \
  103408. @@ -472,6 +537,7 @@
  103409. distclean-generic:
  103410. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  103411. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  103412. maintainer-clean-generic:
  103413. @echo "This command is intended for maintainers to use"
  103414. @@ -490,6 +556,8 @@
  103415. html: html-recursive
  103416. +html-am:
  103417. +
  103418. info: info-recursive
  103419. info-am:
  103420. @@ -498,18 +566,28 @@
  103421. install-dvi: install-dvi-recursive
  103422. +install-dvi-am:
  103423. +
  103424. install-exec-am:
  103425. install-html: install-html-recursive
  103426. +install-html-am:
  103427. +
  103428. install-info: install-info-recursive
  103429. +install-info-am:
  103430. +
  103431. install-man:
  103432. install-pdf: install-pdf-recursive
  103433. +install-pdf-am:
  103434. +
  103435. install-ps: install-ps-recursive
  103436. +install-ps-am:
  103437. +
  103438. installcheck-am:
  103439. maintainer-clean: maintainer-clean-recursive
  103440. @@ -530,8 +608,8 @@
  103441. uninstall-am:
  103442. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  103443. - install-strip
  103444. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  103445. + install-am install-strip tags-recursive
  103446. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  103447. all all-am check check-am clean clean-generic clean-libtool \
  103448. @@ -547,6 +625,7 @@
  103449. mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  103450. uninstall uninstall-am
  103451. +
  103452. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  103453. # Otherwise a system limit (for SysV at least) may be exceeded.
  103454. .NOEXPORT:
  103455. diff -Nur squid-3.0.STABLE20.orig/helpers/negotiate_auth/mswin_sspi/Makefile.in squid-3.0.STABLE20/helpers/negotiate_auth/mswin_sspi/Makefile.in
  103456. --- squid-3.0.STABLE20.orig/helpers/negotiate_auth/mswin_sspi/Makefile.in 2009-10-29 11:05:42.000000000 +0100
  103457. +++ squid-3.0.STABLE20/helpers/negotiate_auth/mswin_sspi/Makefile.in 2010-02-19 00:39:20.496852833 +0100
  103458. @@ -1,8 +1,9 @@
  103459. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  103460. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  103461. # @configure_input@
  103462. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  103463. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  103464. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  103465. +# Inc.
  103466. # This Makefile.in is free software; the Free Software Foundation
  103467. # gives unlimited permission to copy and/or distribute it,
  103468. # with or without modifications, as long as this notice is preserved.
  103469. @@ -22,8 +23,9 @@
  103470. VPATH = @srcdir@
  103471. pkgdatadir = $(datadir)/@PACKAGE@
  103472. -pkglibdir = $(libdir)/@PACKAGE@
  103473. pkgincludedir = $(includedir)/@PACKAGE@
  103474. +pkglibdir = $(libdir)/@PACKAGE@
  103475. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  103476. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  103477. install_sh_DATA = $(install_sh) -c -m 644
  103478. install_sh_PROGRAM = $(install_sh) -c
  103479. @@ -49,8 +51,8 @@
  103480. mkinstalldirs = $(install_sh) -d
  103481. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  103482. CONFIG_CLEAN_FILES =
  103483. +CONFIG_CLEAN_VPATH_FILES =
  103484. am__installdirs = "$(DESTDIR)$(libexecdir)"
  103485. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  103486. PROGRAMS = $(libexec_PROGRAMS)
  103487. am_mswin_negotiate_auth_OBJECTS = libnegotiatessp.$(OBJEXT) \
  103488. negotiate_auth.$(OBJEXT)
  103489. @@ -61,6 +63,7 @@
  103490. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  103491. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  103492. am__depfiles_maybe = depfiles
  103493. +am__mv = mv -f
  103494. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  103495. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  103496. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  103497. @@ -112,7 +115,7 @@
  103498. DISK_LINKOBJS = @DISK_LINKOBJS@
  103499. DISK_PROGRAMS = @DISK_PROGRAMS@
  103500. DSYMUTIL = @DSYMUTIL@
  103501. -ECHO = @ECHO@
  103502. +DUMPBIN = @DUMPBIN@
  103503. ECHO_C = @ECHO_C@
  103504. ECHO_N = @ECHO_N@
  103505. ECHO_T = @ECHO_T@
  103506. @@ -122,10 +125,10 @@
  103507. ERR_LANGUAGES = @ERR_LANGUAGES@
  103508. EXEEXT = @EXEEXT@
  103509. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  103510. -F77 = @F77@
  103511. FALSE = @FALSE@
  103512. -FFLAGS = @FFLAGS@
  103513. +FGREP = @FGREP@
  103514. GREP = @GREP@
  103515. +HOSTCXX = @HOSTCXX@
  103516. ICAP_LIBS = @ICAP_LIBS@
  103517. INSTALL = @INSTALL@
  103518. INSTALL_DATA = @INSTALL_DATA@
  103519. @@ -134,8 +137,12 @@
  103520. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  103521. KRB5INCS = @KRB5INCS@
  103522. KRB5LIBS = @KRB5LIBS@
  103523. +LD = @LD@
  103524. LDFLAGS = @LDFLAGS@
  103525. LIBADD_DL = @LIBADD_DL@
  103526. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  103527. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  103528. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  103529. LIBOBJS = @LIBOBJS@
  103530. LIBREGEX = @LIBREGEX@
  103531. LIBS = @LIBS@
  103532. @@ -144,9 +151,12 @@
  103533. LIB_DB = @LIB_DB@
  103534. LIB_LBER = @LIB_LBER@
  103535. LIB_LDAP = @LIB_LDAP@
  103536. +LIPO = @LIPO@
  103537. LN = @LN@
  103538. LN_S = @LN_S@
  103539. LTLIBOBJS = @LTLIBOBJS@
  103540. +LT_DLLOADERS = @LT_DLLOADERS@
  103541. +LT_DLPREOPEN = @LT_DLPREOPEN@
  103542. MAINT = @MAINT@
  103543. MAKEINFO = @MAKEINFO@
  103544. MINGW_LIBS = @MINGW_LIBS@
  103545. @@ -154,15 +164,20 @@
  103546. MKDIR_P = @MKDIR_P@
  103547. MV = @MV@
  103548. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  103549. +NM = @NM@
  103550. NMEDIT = @NMEDIT@
  103551. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  103552. +OBJDUMP = @OBJDUMP@
  103553. OBJEXT = @OBJEXT@
  103554. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  103555. +OTOOL = @OTOOL@
  103556. +OTOOL64 = @OTOOL64@
  103557. PACKAGE = @PACKAGE@
  103558. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  103559. PACKAGE_NAME = @PACKAGE_NAME@
  103560. PACKAGE_STRING = @PACKAGE_STRING@
  103561. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  103562. +PACKAGE_URL = @PACKAGE_URL@
  103563. PACKAGE_VERSION = @PACKAGE_VERSION@
  103564. PATH_SEPARATOR = @PATH_SEPARATOR@
  103565. PERL = @PERL@
  103566. @@ -199,7 +214,7 @@
  103567. abs_top_srcdir = @abs_top_srcdir@
  103568. ac_ct_CC = @ac_ct_CC@
  103569. ac_ct_CXX = @ac_ct_CXX@
  103570. -ac_ct_F77 = @ac_ct_F77@
  103571. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  103572. ac_krb5_config = @ac_krb5_config@
  103573. am__include = @am__include@
  103574. am__leading_dot = @am__leading_dot@
  103575. @@ -231,6 +246,7 @@
  103576. libexecdir = @libexecdir@
  103577. localedir = @localedir@
  103578. localstatedir = @localstatedir@
  103579. +lt_ECHO = @lt_ECHO@
  103580. makesnmplib = @makesnmplib@
  103581. mandir = @mandir@
  103582. mkdir_p = @mkdir_p@
  103583. @@ -260,14 +276,14 @@
  103584. @for dep in $?; do \
  103585. case '$(am__configure_deps)' in \
  103586. *$$dep*) \
  103587. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  103588. - && exit 0; \
  103589. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  103590. + && { if test -f $@; then exit 0; else break; fi; }; \
  103591. exit 1;; \
  103592. esac; \
  103593. done; \
  103594. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/negotiate_auth/mswin_sspi/Makefile'; \
  103595. - cd $(top_srcdir) && \
  103596. - $(AUTOMAKE) --foreign helpers/negotiate_auth/mswin_sspi/Makefile
  103597. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/negotiate_auth/mswin_sspi/Makefile'; \
  103598. + $(am__cd) $(top_srcdir) && \
  103599. + $(AUTOMAKE) --foreign helpers/negotiate_auth/mswin_sspi/Makefile
  103600. .PRECIOUS: Makefile
  103601. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  103602. @case '$?' in \
  103603. @@ -285,34 +301,50 @@
  103604. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  103605. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  103606. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  103607. +$(am__aclocal_m4_deps):
  103608. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  103609. @$(NORMAL_INSTALL)
  103610. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  103611. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  103612. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  103613. - if test -f $$p \
  103614. - || test -f $$p1 \
  103615. - ; then \
  103616. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  103617. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  103618. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  103619. - else :; fi; \
  103620. - done
  103621. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  103622. + for p in $$list; do echo "$$p $$p"; done | \
  103623. + sed 's/$(EXEEXT)$$//' | \
  103624. + while read p p1; do if test -f $$p || test -f $$p1; \
  103625. + then echo "$$p"; echo "$$p"; else :; fi; \
  103626. + done | \
  103627. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  103628. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  103629. + sed 'N;N;N;s,\n, ,g' | \
  103630. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  103631. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  103632. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  103633. + else { print "f", $$3 "/" $$4, $$1; } } \
  103634. + END { for (d in files) print "f", d, files[d] }' | \
  103635. + while read type dir files; do \
  103636. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  103637. + test -z "$$files" || { \
  103638. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  103639. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  103640. + } \
  103641. + ; done
  103642. uninstall-libexecPROGRAMS:
  103643. @$(NORMAL_UNINSTALL)
  103644. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  103645. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  103646. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  103647. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  103648. - done
  103649. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  103650. + files=`for p in $$list; do echo "$$p"; done | \
  103651. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  103652. + -e 's/$$/$(EXEEXT)/' `; \
  103653. + test -n "$$list" || exit 0; \
  103654. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  103655. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  103656. clean-libexecPROGRAMS:
  103657. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  103658. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  103659. - echo " rm -f $$p $$f"; \
  103660. - rm -f $$p $$f ; \
  103661. - done
  103662. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  103663. + echo " rm -f" $$list; \
  103664. + rm -f $$list || exit $$?; \
  103665. + test -n "$(EXEEXT)" || exit 0; \
  103666. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  103667. + echo " rm -f" $$list; \
  103668. + rm -f $$list
  103669. mswin_negotiate_auth$(EXEEXT): $(mswin_negotiate_auth_OBJECTS) $(mswin_negotiate_auth_DEPENDENCIES)
  103670. @rm -f mswin_negotiate_auth$(EXEEXT)
  103671. $(LINK) $(mswin_negotiate_auth_OBJECTS) $(mswin_negotiate_auth_LDADD) $(LIBS)
  103672. @@ -328,21 +360,21 @@
  103673. .c.o:
  103674. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  103675. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  103676. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  103677. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  103678. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  103679. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  103680. .c.obj:
  103681. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  103682. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  103683. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  103684. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  103685. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  103686. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  103687. .c.lo:
  103688. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  103689. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  103690. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  103691. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  103692. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  103693. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  103694. @@ -358,14 +390,14 @@
  103695. unique=`for i in $$list; do \
  103696. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  103697. done | \
  103698. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  103699. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  103700. END { if (nonempty) { for (i in files) print i; }; }'`; \
  103701. mkid -fID $$unique
  103702. tags: TAGS
  103703. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  103704. $(TAGS_FILES) $(LISP)
  103705. - tags=; \
  103706. + set x; \
  103707. here=`pwd`; \
  103708. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  103709. unique=`for i in $$list; do \
  103710. @@ -373,29 +405,34 @@
  103711. done | \
  103712. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  103713. END { if (nonempty) { for (i in files) print i; }; }'`; \
  103714. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  103715. + shift; \
  103716. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  103717. test -n "$$unique" || unique=$$empty_fix; \
  103718. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  103719. - $$tags $$unique; \
  103720. + if test $$# -gt 0; then \
  103721. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  103722. + "$$@" $$unique; \
  103723. + else \
  103724. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  103725. + $$unique; \
  103726. + fi; \
  103727. fi
  103728. ctags: CTAGS
  103729. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  103730. $(TAGS_FILES) $(LISP)
  103731. - tags=; \
  103732. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  103733. unique=`for i in $$list; do \
  103734. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  103735. done | \
  103736. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  103737. END { if (nonempty) { for (i in files) print i; }; }'`; \
  103738. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  103739. + test -z "$(CTAGS_ARGS)$$unique" \
  103740. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  103741. - $$tags $$unique
  103742. + $$unique
  103743. GTAGS:
  103744. here=`$(am__cd) $(top_builddir) && pwd` \
  103745. - && cd $(top_srcdir) \
  103746. - && gtags -i $(GTAGS_ARGS) $$here
  103747. + && $(am__cd) $(top_srcdir) \
  103748. + && gtags -i $(GTAGS_ARGS) "$$here"
  103749. distclean-tags:
  103750. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  103751. @@ -416,13 +453,17 @@
  103752. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  103753. if test -d $$d/$$file; then \
  103754. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  103755. + if test -d "$(distdir)/$$file"; then \
  103756. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  103757. + fi; \
  103758. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  103759. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  103760. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  103761. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  103762. fi; \
  103763. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  103764. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  103765. else \
  103766. - test -f $(distdir)/$$file \
  103767. - || cp -p $$d/$$file $(distdir)/$$file \
  103768. + test -f "$(distdir)/$$file" \
  103769. + || cp -p $$d/$$file "$(distdir)/$$file" \
  103770. || exit 1; \
  103771. fi; \
  103772. done
  103773. @@ -453,6 +494,7 @@
  103774. distclean-generic:
  103775. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  103776. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  103777. maintainer-clean-generic:
  103778. @echo "This command is intended for maintainers to use"
  103779. @@ -474,6 +516,8 @@
  103780. html: html-am
  103781. +html-am:
  103782. +
  103783. info: info-am
  103784. info-am:
  103785. @@ -482,18 +526,28 @@
  103786. install-dvi: install-dvi-am
  103787. +install-dvi-am:
  103788. +
  103789. install-exec-am: install-libexecPROGRAMS
  103790. install-html: install-html-am
  103791. +install-html-am:
  103792. +
  103793. install-info: install-info-am
  103794. +install-info-am:
  103795. +
  103796. install-man:
  103797. install-pdf: install-pdf-am
  103798. +install-pdf-am:
  103799. +
  103800. install-ps: install-ps-am
  103801. +install-ps-am:
  103802. +
  103803. installcheck-am:
  103804. maintainer-clean: maintainer-clean-am
  103805. @@ -532,6 +586,7 @@
  103806. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  103807. tags uninstall uninstall-am uninstall-libexecPROGRAMS
  103808. +
  103809. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  103810. # Otherwise a system limit (for SysV at least) may be exceeded.
  103811. .NOEXPORT:
  103812. diff -Nur squid-3.0.STABLE20.orig/helpers/negotiate_auth/squid_kerb_auth/Makefile.in squid-3.0.STABLE20/helpers/negotiate_auth/squid_kerb_auth/Makefile.in
  103813. --- squid-3.0.STABLE20.orig/helpers/negotiate_auth/squid_kerb_auth/Makefile.in 2009-10-29 11:05:42.000000000 +0100
  103814. +++ squid-3.0.STABLE20/helpers/negotiate_auth/squid_kerb_auth/Makefile.in 2010-02-19 00:39:20.724855612 +0100
  103815. @@ -1,8 +1,9 @@
  103816. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  103817. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  103818. # @configure_input@
  103819. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  103820. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  103821. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  103822. +# Inc.
  103823. # This Makefile.in is free software; the Free Software Foundation
  103824. # gives unlimited permission to copy and/or distribute it,
  103825. # with or without modifications, as long as this notice is preserved.
  103826. @@ -22,8 +23,9 @@
  103827. VPATH = @srcdir@
  103828. pkgdatadir = $(datadir)/@PACKAGE@
  103829. -pkglibdir = $(libdir)/@PACKAGE@
  103830. pkgincludedir = $(includedir)/@PACKAGE@
  103831. +pkglibdir = $(libdir)/@PACKAGE@
  103832. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  103833. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  103834. install_sh_DATA = $(install_sh) -c -m 644
  103835. install_sh_PROGRAM = $(install_sh) -c
  103836. @@ -49,8 +51,8 @@
  103837. mkinstalldirs = $(install_sh) -d
  103838. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  103839. CONFIG_CLEAN_FILES =
  103840. +CONFIG_CLEAN_VPATH_FILES =
  103841. am__installdirs = "$(DESTDIR)$(libexecdir)"
  103842. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  103843. PROGRAMS = $(libexec_PROGRAMS)
  103844. am__squid_kerb_auth_SOURCES_DIST = squid_kerb_auth.c base64.c base64.h \
  103845. spnegohelp/derparse.c spnegohelp/derparse.h \
  103846. @@ -70,6 +72,7 @@
  103847. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  103848. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  103849. am__depfiles_maybe = depfiles
  103850. +am__mv = mv -f
  103851. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  103852. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  103853. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  103854. @@ -121,7 +124,7 @@
  103855. DISK_LINKOBJS = @DISK_LINKOBJS@
  103856. DISK_PROGRAMS = @DISK_PROGRAMS@
  103857. DSYMUTIL = @DSYMUTIL@
  103858. -ECHO = @ECHO@
  103859. +DUMPBIN = @DUMPBIN@
  103860. ECHO_C = @ECHO_C@
  103861. ECHO_N = @ECHO_N@
  103862. ECHO_T = @ECHO_T@
  103863. @@ -131,10 +134,10 @@
  103864. ERR_LANGUAGES = @ERR_LANGUAGES@
  103865. EXEEXT = @EXEEXT@
  103866. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  103867. -F77 = @F77@
  103868. FALSE = @FALSE@
  103869. -FFLAGS = @FFLAGS@
  103870. +FGREP = @FGREP@
  103871. GREP = @GREP@
  103872. +HOSTCXX = @HOSTCXX@
  103873. ICAP_LIBS = @ICAP_LIBS@
  103874. INSTALL = @INSTALL@
  103875. INSTALL_DATA = @INSTALL_DATA@
  103876. @@ -143,8 +146,12 @@
  103877. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  103878. KRB5INCS = @KRB5INCS@
  103879. KRB5LIBS = @KRB5LIBS@
  103880. +LD = @LD@
  103881. LDFLAGS = @LDFLAGS@
  103882. LIBADD_DL = @LIBADD_DL@
  103883. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  103884. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  103885. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  103886. LIBOBJS = @LIBOBJS@
  103887. LIBREGEX = @LIBREGEX@
  103888. LIBS = @LIBS@
  103889. @@ -153,9 +160,12 @@
  103890. LIB_DB = @LIB_DB@
  103891. LIB_LBER = @LIB_LBER@
  103892. LIB_LDAP = @LIB_LDAP@
  103893. +LIPO = @LIPO@
  103894. LN = @LN@
  103895. LN_S = @LN_S@
  103896. LTLIBOBJS = @LTLIBOBJS@
  103897. +LT_DLLOADERS = @LT_DLLOADERS@
  103898. +LT_DLPREOPEN = @LT_DLPREOPEN@
  103899. MAINT = @MAINT@
  103900. MAKEINFO = @MAKEINFO@
  103901. MINGW_LIBS = @MINGW_LIBS@
  103902. @@ -163,15 +173,20 @@
  103903. MKDIR_P = @MKDIR_P@
  103904. MV = @MV@
  103905. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  103906. +NM = @NM@
  103907. NMEDIT = @NMEDIT@
  103908. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  103909. +OBJDUMP = @OBJDUMP@
  103910. OBJEXT = @OBJEXT@
  103911. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  103912. +OTOOL = @OTOOL@
  103913. +OTOOL64 = @OTOOL64@
  103914. PACKAGE = @PACKAGE@
  103915. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  103916. PACKAGE_NAME = @PACKAGE_NAME@
  103917. PACKAGE_STRING = @PACKAGE_STRING@
  103918. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  103919. +PACKAGE_URL = @PACKAGE_URL@
  103920. PACKAGE_VERSION = @PACKAGE_VERSION@
  103921. PATH_SEPARATOR = @PATH_SEPARATOR@
  103922. PERL = @PERL@
  103923. @@ -208,7 +223,7 @@
  103924. abs_top_srcdir = @abs_top_srcdir@
  103925. ac_ct_CC = @ac_ct_CC@
  103926. ac_ct_CXX = @ac_ct_CXX@
  103927. -ac_ct_F77 = @ac_ct_F77@
  103928. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  103929. ac_krb5_config = @ac_krb5_config@
  103930. am__include = @am__include@
  103931. am__leading_dot = @am__leading_dot@
  103932. @@ -240,6 +255,7 @@
  103933. libexecdir = @libexecdir@
  103934. localedir = @localedir@
  103935. localstatedir = @localstatedir@
  103936. +lt_ECHO = @lt_ECHO@
  103937. makesnmplib = @makesnmplib@
  103938. mandir = @mandir@
  103939. mkdir_p = @mkdir_p@
  103940. @@ -278,14 +294,14 @@
  103941. @for dep in $?; do \
  103942. case '$(am__configure_deps)' in \
  103943. *$$dep*) \
  103944. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  103945. - && exit 0; \
  103946. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  103947. + && { if test -f $@; then exit 0; else break; fi; }; \
  103948. exit 1;; \
  103949. esac; \
  103950. done; \
  103951. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/negotiate_auth/squid_kerb_auth/Makefile'; \
  103952. - cd $(top_srcdir) && \
  103953. - $(AUTOMAKE) --foreign helpers/negotiate_auth/squid_kerb_auth/Makefile
  103954. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/negotiate_auth/squid_kerb_auth/Makefile'; \
  103955. + $(am__cd) $(top_srcdir) && \
  103956. + $(AUTOMAKE) --foreign helpers/negotiate_auth/squid_kerb_auth/Makefile
  103957. .PRECIOUS: Makefile
  103958. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  103959. @case '$?' in \
  103960. @@ -303,34 +319,50 @@
  103961. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  103962. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  103963. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  103964. +$(am__aclocal_m4_deps):
  103965. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  103966. @$(NORMAL_INSTALL)
  103967. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  103968. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  103969. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  103970. - if test -f $$p \
  103971. - || test -f $$p1 \
  103972. - ; then \
  103973. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  103974. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  103975. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  103976. - else :; fi; \
  103977. - done
  103978. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  103979. + for p in $$list; do echo "$$p $$p"; done | \
  103980. + sed 's/$(EXEEXT)$$//' | \
  103981. + while read p p1; do if test -f $$p || test -f $$p1; \
  103982. + then echo "$$p"; echo "$$p"; else :; fi; \
  103983. + done | \
  103984. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  103985. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  103986. + sed 'N;N;N;s,\n, ,g' | \
  103987. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  103988. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  103989. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  103990. + else { print "f", $$3 "/" $$4, $$1; } } \
  103991. + END { for (d in files) print "f", d, files[d] }' | \
  103992. + while read type dir files; do \
  103993. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  103994. + test -z "$$files" || { \
  103995. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  103996. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  103997. + } \
  103998. + ; done
  103999. uninstall-libexecPROGRAMS:
  104000. @$(NORMAL_UNINSTALL)
  104001. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  104002. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  104003. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  104004. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  104005. - done
  104006. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  104007. + files=`for p in $$list; do echo "$$p"; done | \
  104008. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  104009. + -e 's/$$/$(EXEEXT)/' `; \
  104010. + test -n "$$list" || exit 0; \
  104011. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  104012. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  104013. clean-libexecPROGRAMS:
  104014. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  104015. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  104016. - echo " rm -f $$p $$f"; \
  104017. - rm -f $$p $$f ; \
  104018. - done
  104019. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  104020. + echo " rm -f" $$list; \
  104021. + rm -f $$list || exit $$?; \
  104022. + test -n "$(EXEEXT)" || exit 0; \
  104023. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  104024. + echo " rm -f" $$list; \
  104025. + rm -f $$list
  104026. squid_kerb_auth$(EXEEXT): $(squid_kerb_auth_OBJECTS) $(squid_kerb_auth_DEPENDENCIES)
  104027. @rm -f squid_kerb_auth$(EXEEXT)
  104028. $(LINK) $(squid_kerb_auth_OBJECTS) $(squid_kerb_auth_LDADD) $(LIBS)
  104029. @@ -350,77 +382,77 @@
  104030. .c.o:
  104031. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  104032. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  104033. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  104034. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  104035. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  104036. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  104037. .c.obj:
  104038. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  104039. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  104040. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  104041. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  104042. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  104043. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  104044. .c.lo:
  104045. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  104046. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  104047. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  104048. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  104049. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  104050. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  104051. derparse.o: spnegohelp/derparse.c
  104052. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT derparse.o -MD -MP -MF $(DEPDIR)/derparse.Tpo -c -o derparse.o `test -f 'spnegohelp/derparse.c' || echo '$(srcdir)/'`spnegohelp/derparse.c
  104053. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/derparse.Tpo $(DEPDIR)/derparse.Po
  104054. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/derparse.Tpo $(DEPDIR)/derparse.Po
  104055. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='spnegohelp/derparse.c' object='derparse.o' libtool=no @AMDEPBACKSLASH@
  104056. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  104057. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o derparse.o `test -f 'spnegohelp/derparse.c' || echo '$(srcdir)/'`spnegohelp/derparse.c
  104058. derparse.obj: spnegohelp/derparse.c
  104059. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT derparse.obj -MD -MP -MF $(DEPDIR)/derparse.Tpo -c -o derparse.obj `if test -f 'spnegohelp/derparse.c'; then $(CYGPATH_W) 'spnegohelp/derparse.c'; else $(CYGPATH_W) '$(srcdir)/spnegohelp/derparse.c'; fi`
  104060. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/derparse.Tpo $(DEPDIR)/derparse.Po
  104061. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/derparse.Tpo $(DEPDIR)/derparse.Po
  104062. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='spnegohelp/derparse.c' object='derparse.obj' libtool=no @AMDEPBACKSLASH@
  104063. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  104064. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o derparse.obj `if test -f 'spnegohelp/derparse.c'; then $(CYGPATH_W) 'spnegohelp/derparse.c'; else $(CYGPATH_W) '$(srcdir)/spnegohelp/derparse.c'; fi`
  104065. spnego.o: spnegohelp/spnego.c
  104066. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spnego.o -MD -MP -MF $(DEPDIR)/spnego.Tpo -c -o spnego.o `test -f 'spnegohelp/spnego.c' || echo '$(srcdir)/'`spnegohelp/spnego.c
  104067. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/spnego.Tpo $(DEPDIR)/spnego.Po
  104068. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/spnego.Tpo $(DEPDIR)/spnego.Po
  104069. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='spnegohelp/spnego.c' object='spnego.o' libtool=no @AMDEPBACKSLASH@
  104070. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  104071. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spnego.o `test -f 'spnegohelp/spnego.c' || echo '$(srcdir)/'`spnegohelp/spnego.c
  104072. spnego.obj: spnegohelp/spnego.c
  104073. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spnego.obj -MD -MP -MF $(DEPDIR)/spnego.Tpo -c -o spnego.obj `if test -f 'spnegohelp/spnego.c'; then $(CYGPATH_W) 'spnegohelp/spnego.c'; else $(CYGPATH_W) '$(srcdir)/spnegohelp/spnego.c'; fi`
  104074. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/spnego.Tpo $(DEPDIR)/spnego.Po
  104075. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/spnego.Tpo $(DEPDIR)/spnego.Po
  104076. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='spnegohelp/spnego.c' object='spnego.obj' libtool=no @AMDEPBACKSLASH@
  104077. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  104078. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spnego.obj `if test -f 'spnegohelp/spnego.c'; then $(CYGPATH_W) 'spnegohelp/spnego.c'; else $(CYGPATH_W) '$(srcdir)/spnegohelp/spnego.c'; fi`
  104079. spnegohelp.o: spnegohelp/spnegohelp.c
  104080. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spnegohelp.o -MD -MP -MF $(DEPDIR)/spnegohelp.Tpo -c -o spnegohelp.o `test -f 'spnegohelp/spnegohelp.c' || echo '$(srcdir)/'`spnegohelp/spnegohelp.c
  104081. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/spnegohelp.Tpo $(DEPDIR)/spnegohelp.Po
  104082. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/spnegohelp.Tpo $(DEPDIR)/spnegohelp.Po
  104083. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='spnegohelp/spnegohelp.c' object='spnegohelp.o' libtool=no @AMDEPBACKSLASH@
  104084. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  104085. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spnegohelp.o `test -f 'spnegohelp/spnegohelp.c' || echo '$(srcdir)/'`spnegohelp/spnegohelp.c
  104086. spnegohelp.obj: spnegohelp/spnegohelp.c
  104087. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spnegohelp.obj -MD -MP -MF $(DEPDIR)/spnegohelp.Tpo -c -o spnegohelp.obj `if test -f 'spnegohelp/spnegohelp.c'; then $(CYGPATH_W) 'spnegohelp/spnegohelp.c'; else $(CYGPATH_W) '$(srcdir)/spnegohelp/spnegohelp.c'; fi`
  104088. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/spnegohelp.Tpo $(DEPDIR)/spnegohelp.Po
  104089. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/spnegohelp.Tpo $(DEPDIR)/spnegohelp.Po
  104090. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='spnegohelp/spnegohelp.c' object='spnegohelp.obj' libtool=no @AMDEPBACKSLASH@
  104091. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  104092. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spnegohelp.obj `if test -f 'spnegohelp/spnegohelp.c'; then $(CYGPATH_W) 'spnegohelp/spnegohelp.c'; else $(CYGPATH_W) '$(srcdir)/spnegohelp/spnegohelp.c'; fi`
  104093. spnegoparse.o: spnegohelp/spnegoparse.c
  104094. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spnegoparse.o -MD -MP -MF $(DEPDIR)/spnegoparse.Tpo -c -o spnegoparse.o `test -f 'spnegohelp/spnegoparse.c' || echo '$(srcdir)/'`spnegohelp/spnegoparse.c
  104095. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/spnegoparse.Tpo $(DEPDIR)/spnegoparse.Po
  104096. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/spnegoparse.Tpo $(DEPDIR)/spnegoparse.Po
  104097. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='spnegohelp/spnegoparse.c' object='spnegoparse.o' libtool=no @AMDEPBACKSLASH@
  104098. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  104099. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spnegoparse.o `test -f 'spnegohelp/spnegoparse.c' || echo '$(srcdir)/'`spnegohelp/spnegoparse.c
  104100. spnegoparse.obj: spnegohelp/spnegoparse.c
  104101. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spnegoparse.obj -MD -MP -MF $(DEPDIR)/spnegoparse.Tpo -c -o spnegoparse.obj `if test -f 'spnegohelp/spnegoparse.c'; then $(CYGPATH_W) 'spnegohelp/spnegoparse.c'; else $(CYGPATH_W) '$(srcdir)/spnegohelp/spnegoparse.c'; fi`
  104102. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/spnegoparse.Tpo $(DEPDIR)/spnegoparse.Po
  104103. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/spnegoparse.Tpo $(DEPDIR)/spnegoparse.Po
  104104. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='spnegohelp/spnegoparse.c' object='spnegoparse.obj' libtool=no @AMDEPBACKSLASH@
  104105. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  104106. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spnegoparse.obj `if test -f 'spnegohelp/spnegoparse.c'; then $(CYGPATH_W) 'spnegohelp/spnegoparse.c'; else $(CYGPATH_W) '$(srcdir)/spnegohelp/spnegoparse.c'; fi`
  104107. @@ -436,14 +468,14 @@
  104108. unique=`for i in $$list; do \
  104109. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  104110. done | \
  104111. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  104112. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  104113. END { if (nonempty) { for (i in files) print i; }; }'`; \
  104114. mkid -fID $$unique
  104115. tags: TAGS
  104116. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  104117. $(TAGS_FILES) $(LISP)
  104118. - tags=; \
  104119. + set x; \
  104120. here=`pwd`; \
  104121. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  104122. unique=`for i in $$list; do \
  104123. @@ -451,29 +483,34 @@
  104124. done | \
  104125. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  104126. END { if (nonempty) { for (i in files) print i; }; }'`; \
  104127. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  104128. + shift; \
  104129. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  104130. test -n "$$unique" || unique=$$empty_fix; \
  104131. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  104132. - $$tags $$unique; \
  104133. + if test $$# -gt 0; then \
  104134. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  104135. + "$$@" $$unique; \
  104136. + else \
  104137. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  104138. + $$unique; \
  104139. + fi; \
  104140. fi
  104141. ctags: CTAGS
  104142. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  104143. $(TAGS_FILES) $(LISP)
  104144. - tags=; \
  104145. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  104146. unique=`for i in $$list; do \
  104147. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  104148. done | \
  104149. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  104150. END { if (nonempty) { for (i in files) print i; }; }'`; \
  104151. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  104152. + test -z "$(CTAGS_ARGS)$$unique" \
  104153. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  104154. - $$tags $$unique
  104155. + $$unique
  104156. GTAGS:
  104157. here=`$(am__cd) $(top_builddir) && pwd` \
  104158. - && cd $(top_srcdir) \
  104159. - && gtags -i $(GTAGS_ARGS) $$here
  104160. + && $(am__cd) $(top_srcdir) \
  104161. + && gtags -i $(GTAGS_ARGS) "$$here"
  104162. distclean-tags:
  104163. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  104164. @@ -494,13 +531,17 @@
  104165. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  104166. if test -d $$d/$$file; then \
  104167. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  104168. + if test -d "$(distdir)/$$file"; then \
  104169. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  104170. + fi; \
  104171. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  104172. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  104173. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  104174. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  104175. fi; \
  104176. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  104177. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  104178. else \
  104179. - test -f $(distdir)/$$file \
  104180. - || cp -p $$d/$$file $(distdir)/$$file \
  104181. + test -f "$(distdir)/$$file" \
  104182. + || cp -p $$d/$$file "$(distdir)/$$file" \
  104183. || exit 1; \
  104184. fi; \
  104185. done
  104186. @@ -531,6 +572,7 @@
  104187. distclean-generic:
  104188. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  104189. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  104190. maintainer-clean-generic:
  104191. @echo "This command is intended for maintainers to use"
  104192. @@ -552,6 +594,8 @@
  104193. html: html-am
  104194. +html-am:
  104195. +
  104196. info: info-am
  104197. info-am:
  104198. @@ -560,18 +604,28 @@
  104199. install-dvi: install-dvi-am
  104200. +install-dvi-am:
  104201. +
  104202. install-exec-am: install-libexecPROGRAMS
  104203. install-html: install-html-am
  104204. +install-html-am:
  104205. +
  104206. install-info: install-info-am
  104207. +install-info-am:
  104208. +
  104209. install-man:
  104210. install-pdf: install-pdf-am
  104211. +install-pdf-am:
  104212. +
  104213. install-ps: install-ps-am
  104214. +install-ps-am:
  104215. +
  104216. installcheck-am:
  104217. maintainer-clean: maintainer-clean-am
  104218. @@ -610,6 +664,7 @@
  104219. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  104220. tags uninstall uninstall-am uninstall-libexecPROGRAMS
  104221. +
  104222. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  104223. # Otherwise a system limit (for SysV at least) may be exceeded.
  104224. .NOEXPORT:
  104225. diff -Nur squid-3.0.STABLE20.orig/helpers/ntlm_auth/fakeauth/Makefile.in squid-3.0.STABLE20/helpers/ntlm_auth/fakeauth/Makefile.in
  104226. --- squid-3.0.STABLE20.orig/helpers/ntlm_auth/fakeauth/Makefile.in 2009-10-29 11:05:43.000000000 +0100
  104227. +++ squid-3.0.STABLE20/helpers/ntlm_auth/fakeauth/Makefile.in 2010-02-19 00:39:21.664854956 +0100
  104228. @@ -1,8 +1,9 @@
  104229. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  104230. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  104231. # @configure_input@
  104232. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  104233. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  104234. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  104235. +# Inc.
  104236. # This Makefile.in is free software; the Free Software Foundation
  104237. # gives unlimited permission to copy and/or distribute it,
  104238. # with or without modifications, as long as this notice is preserved.
  104239. @@ -24,8 +25,9 @@
  104240. VPATH = @srcdir@
  104241. pkgdatadir = $(datadir)/@PACKAGE@
  104242. -pkglibdir = $(libdir)/@PACKAGE@
  104243. pkgincludedir = $(includedir)/@PACKAGE@
  104244. +pkglibdir = $(libdir)/@PACKAGE@
  104245. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  104246. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  104247. install_sh_DATA = $(install_sh) -c -m 644
  104248. install_sh_PROGRAM = $(install_sh) -c
  104249. @@ -51,8 +53,8 @@
  104250. mkinstalldirs = $(install_sh) -d
  104251. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  104252. CONFIG_CLEAN_FILES =
  104253. +CONFIG_CLEAN_VPATH_FILES =
  104254. am__installdirs = "$(DESTDIR)$(libexecdir)"
  104255. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  104256. PROGRAMS = $(libexec_PROGRAMS)
  104257. am_fakeauth_auth_OBJECTS = fakeauth_auth.$(OBJEXT)
  104258. fakeauth_auth_OBJECTS = $(am_fakeauth_auth_OBJECTS)
  104259. @@ -63,6 +65,7 @@
  104260. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  104261. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  104262. am__depfiles_maybe = depfiles
  104263. +am__mv = mv -f
  104264. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  104265. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  104266. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  104267. @@ -114,7 +117,7 @@
  104268. DISK_LINKOBJS = @DISK_LINKOBJS@
  104269. DISK_PROGRAMS = @DISK_PROGRAMS@
  104270. DSYMUTIL = @DSYMUTIL@
  104271. -ECHO = @ECHO@
  104272. +DUMPBIN = @DUMPBIN@
  104273. ECHO_C = @ECHO_C@
  104274. ECHO_N = @ECHO_N@
  104275. ECHO_T = @ECHO_T@
  104276. @@ -124,10 +127,10 @@
  104277. ERR_LANGUAGES = @ERR_LANGUAGES@
  104278. EXEEXT = @EXEEXT@
  104279. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  104280. -F77 = @F77@
  104281. FALSE = @FALSE@
  104282. -FFLAGS = @FFLAGS@
  104283. +FGREP = @FGREP@
  104284. GREP = @GREP@
  104285. +HOSTCXX = @HOSTCXX@
  104286. ICAP_LIBS = @ICAP_LIBS@
  104287. INSTALL = @INSTALL@
  104288. INSTALL_DATA = @INSTALL_DATA@
  104289. @@ -136,8 +139,12 @@
  104290. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  104291. KRB5INCS = @KRB5INCS@
  104292. KRB5LIBS = @KRB5LIBS@
  104293. +LD = @LD@
  104294. LDFLAGS = @LDFLAGS@
  104295. LIBADD_DL = @LIBADD_DL@
  104296. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  104297. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  104298. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  104299. LIBOBJS = @LIBOBJS@
  104300. LIBREGEX = @LIBREGEX@
  104301. LIBS = @LIBS@
  104302. @@ -146,9 +153,12 @@
  104303. LIB_DB = @LIB_DB@
  104304. LIB_LBER = @LIB_LBER@
  104305. LIB_LDAP = @LIB_LDAP@
  104306. +LIPO = @LIPO@
  104307. LN = @LN@
  104308. LN_S = @LN_S@
  104309. LTLIBOBJS = @LTLIBOBJS@
  104310. +LT_DLLOADERS = @LT_DLLOADERS@
  104311. +LT_DLPREOPEN = @LT_DLPREOPEN@
  104312. MAINT = @MAINT@
  104313. MAKEINFO = @MAKEINFO@
  104314. MINGW_LIBS = @MINGW_LIBS@
  104315. @@ -156,15 +166,20 @@
  104316. MKDIR_P = @MKDIR_P@
  104317. MV = @MV@
  104318. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  104319. +NM = @NM@
  104320. NMEDIT = @NMEDIT@
  104321. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  104322. +OBJDUMP = @OBJDUMP@
  104323. OBJEXT = @OBJEXT@
  104324. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  104325. +OTOOL = @OTOOL@
  104326. +OTOOL64 = @OTOOL64@
  104327. PACKAGE = @PACKAGE@
  104328. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  104329. PACKAGE_NAME = @PACKAGE_NAME@
  104330. PACKAGE_STRING = @PACKAGE_STRING@
  104331. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  104332. +PACKAGE_URL = @PACKAGE_URL@
  104333. PACKAGE_VERSION = @PACKAGE_VERSION@
  104334. PATH_SEPARATOR = @PATH_SEPARATOR@
  104335. PERL = @PERL@
  104336. @@ -201,7 +216,7 @@
  104337. abs_top_srcdir = @abs_top_srcdir@
  104338. ac_ct_CC = @ac_ct_CC@
  104339. ac_ct_CXX = @ac_ct_CXX@
  104340. -ac_ct_F77 = @ac_ct_F77@
  104341. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  104342. ac_krb5_config = @ac_krb5_config@
  104343. am__include = @am__include@
  104344. am__leading_dot = @am__leading_dot@
  104345. @@ -233,6 +248,7 @@
  104346. libexecdir = @libexecdir@
  104347. localedir = @localedir@
  104348. localstatedir = @localstatedir@
  104349. +lt_ECHO = @lt_ECHO@
  104350. makesnmplib = @makesnmplib@
  104351. mandir = @mandir@
  104352. mkdir_p = @mkdir_p@
  104353. @@ -263,14 +279,14 @@
  104354. @for dep in $?; do \
  104355. case '$(am__configure_deps)' in \
  104356. *$$dep*) \
  104357. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  104358. - && exit 0; \
  104359. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  104360. + && { if test -f $@; then exit 0; else break; fi; }; \
  104361. exit 1;; \
  104362. esac; \
  104363. done; \
  104364. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/ntlm_auth/fakeauth/Makefile'; \
  104365. - cd $(top_srcdir) && \
  104366. - $(AUTOMAKE) --foreign helpers/ntlm_auth/fakeauth/Makefile
  104367. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/ntlm_auth/fakeauth/Makefile'; \
  104368. + $(am__cd) $(top_srcdir) && \
  104369. + $(AUTOMAKE) --foreign helpers/ntlm_auth/fakeauth/Makefile
  104370. .PRECIOUS: Makefile
  104371. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  104372. @case '$?' in \
  104373. @@ -288,34 +304,50 @@
  104374. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  104375. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  104376. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  104377. +$(am__aclocal_m4_deps):
  104378. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  104379. @$(NORMAL_INSTALL)
  104380. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  104381. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  104382. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  104383. - if test -f $$p \
  104384. - || test -f $$p1 \
  104385. - ; then \
  104386. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  104387. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  104388. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  104389. - else :; fi; \
  104390. - done
  104391. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  104392. + for p in $$list; do echo "$$p $$p"; done | \
  104393. + sed 's/$(EXEEXT)$$//' | \
  104394. + while read p p1; do if test -f $$p || test -f $$p1; \
  104395. + then echo "$$p"; echo "$$p"; else :; fi; \
  104396. + done | \
  104397. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  104398. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  104399. + sed 'N;N;N;s,\n, ,g' | \
  104400. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  104401. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  104402. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  104403. + else { print "f", $$3 "/" $$4, $$1; } } \
  104404. + END { for (d in files) print "f", d, files[d] }' | \
  104405. + while read type dir files; do \
  104406. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  104407. + test -z "$$files" || { \
  104408. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  104409. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  104410. + } \
  104411. + ; done
  104412. uninstall-libexecPROGRAMS:
  104413. @$(NORMAL_UNINSTALL)
  104414. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  104415. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  104416. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  104417. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  104418. - done
  104419. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  104420. + files=`for p in $$list; do echo "$$p"; done | \
  104421. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  104422. + -e 's/$$/$(EXEEXT)/' `; \
  104423. + test -n "$$list" || exit 0; \
  104424. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  104425. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  104426. clean-libexecPROGRAMS:
  104427. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  104428. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  104429. - echo " rm -f $$p $$f"; \
  104430. - rm -f $$p $$f ; \
  104431. - done
  104432. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  104433. + echo " rm -f" $$list; \
  104434. + rm -f $$list || exit $$?; \
  104435. + test -n "$(EXEEXT)" || exit 0; \
  104436. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  104437. + echo " rm -f" $$list; \
  104438. + rm -f $$list
  104439. fakeauth_auth$(EXEEXT): $(fakeauth_auth_OBJECTS) $(fakeauth_auth_DEPENDENCIES)
  104440. @rm -f fakeauth_auth$(EXEEXT)
  104441. $(LINK) $(fakeauth_auth_OBJECTS) $(fakeauth_auth_LDADD) $(LIBS)
  104442. @@ -330,21 +362,21 @@
  104443. .c.o:
  104444. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  104445. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  104446. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  104447. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  104448. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  104449. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  104450. .c.obj:
  104451. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  104452. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  104453. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  104454. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  104455. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  104456. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  104457. .c.lo:
  104458. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  104459. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  104460. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  104461. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  104462. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  104463. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  104464. @@ -360,14 +392,14 @@
  104465. unique=`for i in $$list; do \
  104466. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  104467. done | \
  104468. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  104469. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  104470. END { if (nonempty) { for (i in files) print i; }; }'`; \
  104471. mkid -fID $$unique
  104472. tags: TAGS
  104473. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  104474. $(TAGS_FILES) $(LISP)
  104475. - tags=; \
  104476. + set x; \
  104477. here=`pwd`; \
  104478. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  104479. unique=`for i in $$list; do \
  104480. @@ -375,29 +407,34 @@
  104481. done | \
  104482. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  104483. END { if (nonempty) { for (i in files) print i; }; }'`; \
  104484. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  104485. + shift; \
  104486. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  104487. test -n "$$unique" || unique=$$empty_fix; \
  104488. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  104489. - $$tags $$unique; \
  104490. + if test $$# -gt 0; then \
  104491. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  104492. + "$$@" $$unique; \
  104493. + else \
  104494. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  104495. + $$unique; \
  104496. + fi; \
  104497. fi
  104498. ctags: CTAGS
  104499. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  104500. $(TAGS_FILES) $(LISP)
  104501. - tags=; \
  104502. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  104503. unique=`for i in $$list; do \
  104504. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  104505. done | \
  104506. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  104507. END { if (nonempty) { for (i in files) print i; }; }'`; \
  104508. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  104509. + test -z "$(CTAGS_ARGS)$$unique" \
  104510. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  104511. - $$tags $$unique
  104512. + $$unique
  104513. GTAGS:
  104514. here=`$(am__cd) $(top_builddir) && pwd` \
  104515. - && cd $(top_srcdir) \
  104516. - && gtags -i $(GTAGS_ARGS) $$here
  104517. + && $(am__cd) $(top_srcdir) \
  104518. + && gtags -i $(GTAGS_ARGS) "$$here"
  104519. distclean-tags:
  104520. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  104521. @@ -418,13 +455,17 @@
  104522. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  104523. if test -d $$d/$$file; then \
  104524. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  104525. + if test -d "$(distdir)/$$file"; then \
  104526. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  104527. + fi; \
  104528. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  104529. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  104530. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  104531. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  104532. fi; \
  104533. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  104534. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  104535. else \
  104536. - test -f $(distdir)/$$file \
  104537. - || cp -p $$d/$$file $(distdir)/$$file \
  104538. + test -f "$(distdir)/$$file" \
  104539. + || cp -p $$d/$$file "$(distdir)/$$file" \
  104540. || exit 1; \
  104541. fi; \
  104542. done
  104543. @@ -455,6 +496,7 @@
  104544. distclean-generic:
  104545. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  104546. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  104547. maintainer-clean-generic:
  104548. @echo "This command is intended for maintainers to use"
  104549. @@ -476,6 +518,8 @@
  104550. html: html-am
  104551. +html-am:
  104552. +
  104553. info: info-am
  104554. info-am:
  104555. @@ -484,18 +528,28 @@
  104556. install-dvi: install-dvi-am
  104557. +install-dvi-am:
  104558. +
  104559. install-exec-am: install-libexecPROGRAMS
  104560. install-html: install-html-am
  104561. +install-html-am:
  104562. +
  104563. install-info: install-info-am
  104564. +install-info-am:
  104565. +
  104566. install-man:
  104567. install-pdf: install-pdf-am
  104568. +install-pdf-am:
  104569. +
  104570. install-ps: install-ps-am
  104571. +install-ps-am:
  104572. +
  104573. installcheck-am:
  104574. maintainer-clean: maintainer-clean-am
  104575. @@ -534,6 +588,7 @@
  104576. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  104577. tags uninstall uninstall-am uninstall-libexecPROGRAMS
  104578. +
  104579. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  104580. # Otherwise a system limit (for SysV at least) may be exceeded.
  104581. .NOEXPORT:
  104582. diff -Nur squid-3.0.STABLE20.orig/helpers/ntlm_auth/Makefile.in squid-3.0.STABLE20/helpers/ntlm_auth/Makefile.in
  104583. --- squid-3.0.STABLE20.orig/helpers/ntlm_auth/Makefile.in 2009-10-29 11:05:42.000000000 +0100
  104584. +++ squid-3.0.STABLE20/helpers/ntlm_auth/Makefile.in 2010-02-19 00:39:20.868854120 +0100
  104585. @@ -1,8 +1,9 @@
  104586. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  104587. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  104588. # @configure_input@
  104589. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  104590. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  104591. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  104592. +# Inc.
  104593. # This Makefile.in is free software; the Free Software Foundation
  104594. # gives unlimited permission to copy and/or distribute it,
  104595. # with or without modifications, as long as this notice is preserved.
  104596. @@ -20,8 +21,9 @@
  104597. #
  104598. VPATH = @srcdir@
  104599. pkgdatadir = $(datadir)/@PACKAGE@
  104600. -pkglibdir = $(libdir)/@PACKAGE@
  104601. pkgincludedir = $(includedir)/@PACKAGE@
  104602. +pkglibdir = $(libdir)/@PACKAGE@
  104603. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  104604. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  104605. install_sh_DATA = $(install_sh) -c -m 644
  104606. install_sh_PROGRAM = $(install_sh) -c
  104607. @@ -46,6 +48,7 @@
  104608. mkinstalldirs = $(install_sh) -d
  104609. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  104610. CONFIG_CLEAN_FILES =
  104611. +CONFIG_CLEAN_VPATH_FILES =
  104612. SOURCES =
  104613. DIST_SOURCES =
  104614. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  104615. @@ -57,9 +60,37 @@
  104616. ps-recursive uninstall-recursive
  104617. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  104618. distclean-recursive maintainer-clean-recursive
  104619. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  104620. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  104621. + distdir
  104622. ETAGS = etags
  104623. CTAGS = ctags
  104624. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  104625. +am__relativize = \
  104626. + dir0=`pwd`; \
  104627. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  104628. + sed_rest='s,^[^/]*/*,,'; \
  104629. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  104630. + sed_butlast='s,/*[^/]*$$,,'; \
  104631. + while test -n "$$dir1"; do \
  104632. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  104633. + if test "$$first" != "."; then \
  104634. + if test "$$first" = ".."; then \
  104635. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  104636. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  104637. + else \
  104638. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  104639. + if test "$$first2" = "$$first"; then \
  104640. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  104641. + else \
  104642. + dir2="../$$dir2"; \
  104643. + fi; \
  104644. + dir0="$$dir0"/"$$first"; \
  104645. + fi; \
  104646. + fi; \
  104647. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  104648. + done; \
  104649. + reldir="$$dir2"
  104650. ACLOCAL = @ACLOCAL@
  104651. ALLOCA = @ALLOCA@
  104652. AMTAR = @AMTAR@
  104653. @@ -97,7 +128,7 @@
  104654. DISK_LINKOBJS = @DISK_LINKOBJS@
  104655. DISK_PROGRAMS = @DISK_PROGRAMS@
  104656. DSYMUTIL = @DSYMUTIL@
  104657. -ECHO = @ECHO@
  104658. +DUMPBIN = @DUMPBIN@
  104659. ECHO_C = @ECHO_C@
  104660. ECHO_N = @ECHO_N@
  104661. ECHO_T = @ECHO_T@
  104662. @@ -107,10 +138,10 @@
  104663. ERR_LANGUAGES = @ERR_LANGUAGES@
  104664. EXEEXT = @EXEEXT@
  104665. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  104666. -F77 = @F77@
  104667. FALSE = @FALSE@
  104668. -FFLAGS = @FFLAGS@
  104669. +FGREP = @FGREP@
  104670. GREP = @GREP@
  104671. +HOSTCXX = @HOSTCXX@
  104672. ICAP_LIBS = @ICAP_LIBS@
  104673. INSTALL = @INSTALL@
  104674. INSTALL_DATA = @INSTALL_DATA@
  104675. @@ -119,8 +150,12 @@
  104676. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  104677. KRB5INCS = @KRB5INCS@
  104678. KRB5LIBS = @KRB5LIBS@
  104679. +LD = @LD@
  104680. LDFLAGS = @LDFLAGS@
  104681. LIBADD_DL = @LIBADD_DL@
  104682. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  104683. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  104684. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  104685. LIBOBJS = @LIBOBJS@
  104686. LIBREGEX = @LIBREGEX@
  104687. LIBS = @LIBS@
  104688. @@ -129,9 +164,12 @@
  104689. LIB_DB = @LIB_DB@
  104690. LIB_LBER = @LIB_LBER@
  104691. LIB_LDAP = @LIB_LDAP@
  104692. +LIPO = @LIPO@
  104693. LN = @LN@
  104694. LN_S = @LN_S@
  104695. LTLIBOBJS = @LTLIBOBJS@
  104696. +LT_DLLOADERS = @LT_DLLOADERS@
  104697. +LT_DLPREOPEN = @LT_DLPREOPEN@
  104698. MAINT = @MAINT@
  104699. MAKEINFO = @MAKEINFO@
  104700. MINGW_LIBS = @MINGW_LIBS@
  104701. @@ -139,15 +177,20 @@
  104702. MKDIR_P = @MKDIR_P@
  104703. MV = @MV@
  104704. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  104705. +NM = @NM@
  104706. NMEDIT = @NMEDIT@
  104707. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  104708. +OBJDUMP = @OBJDUMP@
  104709. OBJEXT = @OBJEXT@
  104710. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  104711. +OTOOL = @OTOOL@
  104712. +OTOOL64 = @OTOOL64@
  104713. PACKAGE = @PACKAGE@
  104714. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  104715. PACKAGE_NAME = @PACKAGE_NAME@
  104716. PACKAGE_STRING = @PACKAGE_STRING@
  104717. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  104718. +PACKAGE_URL = @PACKAGE_URL@
  104719. PACKAGE_VERSION = @PACKAGE_VERSION@
  104720. PATH_SEPARATOR = @PATH_SEPARATOR@
  104721. PERL = @PERL@
  104722. @@ -184,7 +227,7 @@
  104723. abs_top_srcdir = @abs_top_srcdir@
  104724. ac_ct_CC = @ac_ct_CC@
  104725. ac_ct_CXX = @ac_ct_CXX@
  104726. -ac_ct_F77 = @ac_ct_F77@
  104727. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  104728. ac_krb5_config = @ac_krb5_config@
  104729. am__include = @am__include@
  104730. am__leading_dot = @am__leading_dot@
  104731. @@ -216,6 +259,7 @@
  104732. libexecdir = @libexecdir@
  104733. localedir = @localedir@
  104734. localstatedir = @localstatedir@
  104735. +lt_ECHO = @lt_ECHO@
  104736. makesnmplib = @makesnmplib@
  104737. mandir = @mandir@
  104738. mkdir_p = @mkdir_p@
  104739. @@ -242,14 +286,14 @@
  104740. @for dep in $?; do \
  104741. case '$(am__configure_deps)' in \
  104742. *$$dep*) \
  104743. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  104744. - && exit 0; \
  104745. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  104746. + && { if test -f $@; then exit 0; else break; fi; }; \
  104747. exit 1;; \
  104748. esac; \
  104749. done; \
  104750. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/ntlm_auth/Makefile'; \
  104751. - cd $(top_srcdir) && \
  104752. - $(AUTOMAKE) --foreign helpers/ntlm_auth/Makefile
  104753. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/ntlm_auth/Makefile'; \
  104754. + $(am__cd) $(top_srcdir) && \
  104755. + $(AUTOMAKE) --foreign helpers/ntlm_auth/Makefile
  104756. .PRECIOUS: Makefile
  104757. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  104758. @case '$?' in \
  104759. @@ -267,6 +311,7 @@
  104760. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  104761. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  104762. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  104763. +$(am__aclocal_m4_deps):
  104764. mostlyclean-libtool:
  104765. -rm -f *.lo
  104766. @@ -281,7 +326,7 @@
  104767. # (which will cause the Makefiles to be regenerated when you run `make');
  104768. # (2) otherwise, pass the desired values on the `make' command line.
  104769. $(RECURSIVE_TARGETS):
  104770. - @failcom='exit 1'; \
  104771. + @fail= failcom='exit 1'; \
  104772. for f in x $$MAKEFLAGS; do \
  104773. case $$f in \
  104774. *=* | --[!k]*);; \
  104775. @@ -298,7 +343,7 @@
  104776. else \
  104777. local_target="$$target"; \
  104778. fi; \
  104779. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  104780. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  104781. || eval $$failcom; \
  104782. done; \
  104783. if test "$$dot_seen" = "no"; then \
  104784. @@ -306,7 +351,7 @@
  104785. fi; test -z "$$fail"
  104786. $(RECURSIVE_CLEAN_TARGETS):
  104787. - @failcom='exit 1'; \
  104788. + @fail= failcom='exit 1'; \
  104789. for f in x $$MAKEFLAGS; do \
  104790. case $$f in \
  104791. *=* | --[!k]*);; \
  104792. @@ -332,16 +377,16 @@
  104793. else \
  104794. local_target="$$target"; \
  104795. fi; \
  104796. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  104797. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  104798. || eval $$failcom; \
  104799. done && test -z "$$fail"
  104800. tags-recursive:
  104801. list='$(SUBDIRS)'; for subdir in $$list; do \
  104802. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  104803. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  104804. done
  104805. ctags-recursive:
  104806. list='$(SUBDIRS)'; for subdir in $$list; do \
  104807. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  104808. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  104809. done
  104810. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  104811. @@ -349,14 +394,14 @@
  104812. unique=`for i in $$list; do \
  104813. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  104814. done | \
  104815. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  104816. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  104817. END { if (nonempty) { for (i in files) print i; }; }'`; \
  104818. mkid -fID $$unique
  104819. tags: TAGS
  104820. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  104821. $(TAGS_FILES) $(LISP)
  104822. - tags=; \
  104823. + set x; \
  104824. here=`pwd`; \
  104825. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  104826. include_option=--etags-include; \
  104827. @@ -368,7 +413,7 @@
  104828. list='$(SUBDIRS)'; for subdir in $$list; do \
  104829. if test "$$subdir" = .; then :; else \
  104830. test ! -f $$subdir/TAGS || \
  104831. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  104832. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  104833. fi; \
  104834. done; \
  104835. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  104836. @@ -377,29 +422,34 @@
  104837. done | \
  104838. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  104839. END { if (nonempty) { for (i in files) print i; }; }'`; \
  104840. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  104841. + shift; \
  104842. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  104843. test -n "$$unique" || unique=$$empty_fix; \
  104844. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  104845. - $$tags $$unique; \
  104846. + if test $$# -gt 0; then \
  104847. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  104848. + "$$@" $$unique; \
  104849. + else \
  104850. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  104851. + $$unique; \
  104852. + fi; \
  104853. fi
  104854. ctags: CTAGS
  104855. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  104856. $(TAGS_FILES) $(LISP)
  104857. - tags=; \
  104858. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  104859. unique=`for i in $$list; do \
  104860. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  104861. done | \
  104862. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  104863. END { if (nonempty) { for (i in files) print i; }; }'`; \
  104864. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  104865. + test -z "$(CTAGS_ARGS)$$unique" \
  104866. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  104867. - $$tags $$unique
  104868. + $$unique
  104869. GTAGS:
  104870. here=`$(am__cd) $(top_builddir) && pwd` \
  104871. - && cd $(top_srcdir) \
  104872. - && gtags -i $(GTAGS_ARGS) $$here
  104873. + && $(am__cd) $(top_srcdir) \
  104874. + && gtags -i $(GTAGS_ARGS) "$$here"
  104875. distclean-tags:
  104876. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  104877. @@ -420,29 +470,44 @@
  104878. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  104879. if test -d $$d/$$file; then \
  104880. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  104881. + if test -d "$(distdir)/$$file"; then \
  104882. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  104883. + fi; \
  104884. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  104885. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  104886. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  104887. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  104888. fi; \
  104889. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  104890. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  104891. else \
  104892. - test -f $(distdir)/$$file \
  104893. - || cp -p $$d/$$file $(distdir)/$$file \
  104894. + test -f "$(distdir)/$$file" \
  104895. + || cp -p $$d/$$file "$(distdir)/$$file" \
  104896. || exit 1; \
  104897. fi; \
  104898. done
  104899. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  104900. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  104901. if test "$$subdir" = .; then :; else \
  104902. test -d "$(distdir)/$$subdir" \
  104903. || $(MKDIR_P) "$(distdir)/$$subdir" \
  104904. || exit 1; \
  104905. - distdir=`$(am__cd) $(distdir) && pwd`; \
  104906. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  104907. - (cd $$subdir && \
  104908. + fi; \
  104909. + done
  104910. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  104911. + if test "$$subdir" = .; then :; else \
  104912. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  104913. + $(am__relativize); \
  104914. + new_distdir=$$reldir; \
  104915. + dir1=$$subdir; dir2="$(top_distdir)"; \
  104916. + $(am__relativize); \
  104917. + new_top_distdir=$$reldir; \
  104918. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  104919. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  104920. + ($(am__cd) $$subdir && \
  104921. $(MAKE) $(AM_MAKEFLAGS) \
  104922. - top_distdir="$$top_distdir" \
  104923. - distdir="$$distdir/$$subdir" \
  104924. + top_distdir="$$new_top_distdir" \
  104925. + distdir="$$new_distdir" \
  104926. am__remove_distdir=: \
  104927. am__skip_length_check=: \
  104928. + am__skip_mode_fix=: \
  104929. distdir) \
  104930. || exit 1; \
  104931. fi; \
  104932. @@ -472,6 +537,7 @@
  104933. distclean-generic:
  104934. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  104935. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  104936. maintainer-clean-generic:
  104937. @echo "This command is intended for maintainers to use"
  104938. @@ -490,6 +556,8 @@
  104939. html: html-recursive
  104940. +html-am:
  104941. +
  104942. info: info-recursive
  104943. info-am:
  104944. @@ -498,18 +566,28 @@
  104945. install-dvi: install-dvi-recursive
  104946. +install-dvi-am:
  104947. +
  104948. install-exec-am:
  104949. install-html: install-html-recursive
  104950. +install-html-am:
  104951. +
  104952. install-info: install-info-recursive
  104953. +install-info-am:
  104954. +
  104955. install-man:
  104956. install-pdf: install-pdf-recursive
  104957. +install-pdf-am:
  104958. +
  104959. install-ps: install-ps-recursive
  104960. +install-ps-am:
  104961. +
  104962. installcheck-am:
  104963. maintainer-clean: maintainer-clean-recursive
  104964. @@ -530,8 +608,8 @@
  104965. uninstall-am:
  104966. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  104967. - install-strip
  104968. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  104969. + install-am install-strip tags-recursive
  104970. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  104971. all all-am check check-am clean clean-generic clean-libtool \
  104972. @@ -547,6 +625,7 @@
  104973. mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  104974. uninstall uninstall-am
  104975. +
  104976. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  104977. # Otherwise a system limit (for SysV at least) may be exceeded.
  104978. .NOEXPORT:
  104979. diff -Nur squid-3.0.STABLE20.orig/helpers/ntlm_auth/mswin_sspi/Makefile.in squid-3.0.STABLE20/helpers/ntlm_auth/mswin_sspi/Makefile.in
  104980. --- squid-3.0.STABLE20.orig/helpers/ntlm_auth/mswin_sspi/Makefile.in 2009-10-29 11:05:43.000000000 +0100
  104981. +++ squid-3.0.STABLE20/helpers/ntlm_auth/mswin_sspi/Makefile.in 2010-02-19 00:39:21.960852157 +0100
  104982. @@ -1,8 +1,9 @@
  104983. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  104984. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  104985. # @configure_input@
  104986. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  104987. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  104988. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  104989. +# Inc.
  104990. # This Makefile.in is free software; the Free Software Foundation
  104991. # gives unlimited permission to copy and/or distribute it,
  104992. # with or without modifications, as long as this notice is preserved.
  104993. @@ -22,8 +23,9 @@
  104994. VPATH = @srcdir@
  104995. pkgdatadir = $(datadir)/@PACKAGE@
  104996. -pkglibdir = $(libdir)/@PACKAGE@
  104997. pkgincludedir = $(includedir)/@PACKAGE@
  104998. +pkglibdir = $(libdir)/@PACKAGE@
  104999. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  105000. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  105001. install_sh_DATA = $(install_sh) -c -m 644
  105002. install_sh_PROGRAM = $(install_sh) -c
  105003. @@ -49,8 +51,8 @@
  105004. mkinstalldirs = $(install_sh) -d
  105005. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  105006. CONFIG_CLEAN_FILES =
  105007. +CONFIG_CLEAN_VPATH_FILES =
  105008. am__installdirs = "$(DESTDIR)$(libexecdir)"
  105009. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  105010. PROGRAMS = $(libexec_PROGRAMS)
  105011. am_mswin_ntlm_auth_OBJECTS = libntlmssp.$(OBJEXT) ntlm_auth.$(OBJEXT)
  105012. mswin_ntlm_auth_OBJECTS = $(am_mswin_ntlm_auth_OBJECTS)
  105013. @@ -60,6 +62,7 @@
  105014. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  105015. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  105016. am__depfiles_maybe = depfiles
  105017. +am__mv = mv -f
  105018. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  105019. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  105020. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  105021. @@ -111,7 +114,7 @@
  105022. DISK_LINKOBJS = @DISK_LINKOBJS@
  105023. DISK_PROGRAMS = @DISK_PROGRAMS@
  105024. DSYMUTIL = @DSYMUTIL@
  105025. -ECHO = @ECHO@
  105026. +DUMPBIN = @DUMPBIN@
  105027. ECHO_C = @ECHO_C@
  105028. ECHO_N = @ECHO_N@
  105029. ECHO_T = @ECHO_T@
  105030. @@ -121,10 +124,10 @@
  105031. ERR_LANGUAGES = @ERR_LANGUAGES@
  105032. EXEEXT = @EXEEXT@
  105033. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  105034. -F77 = @F77@
  105035. FALSE = @FALSE@
  105036. -FFLAGS = @FFLAGS@
  105037. +FGREP = @FGREP@
  105038. GREP = @GREP@
  105039. +HOSTCXX = @HOSTCXX@
  105040. ICAP_LIBS = @ICAP_LIBS@
  105041. INSTALL = @INSTALL@
  105042. INSTALL_DATA = @INSTALL_DATA@
  105043. @@ -133,8 +136,12 @@
  105044. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  105045. KRB5INCS = @KRB5INCS@
  105046. KRB5LIBS = @KRB5LIBS@
  105047. +LD = @LD@
  105048. LDFLAGS = @LDFLAGS@
  105049. LIBADD_DL = @LIBADD_DL@
  105050. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  105051. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  105052. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  105053. LIBOBJS = @LIBOBJS@
  105054. LIBREGEX = @LIBREGEX@
  105055. LIBS = @LIBS@
  105056. @@ -143,9 +150,12 @@
  105057. LIB_DB = @LIB_DB@
  105058. LIB_LBER = @LIB_LBER@
  105059. LIB_LDAP = @LIB_LDAP@
  105060. +LIPO = @LIPO@
  105061. LN = @LN@
  105062. LN_S = @LN_S@
  105063. LTLIBOBJS = @LTLIBOBJS@
  105064. +LT_DLLOADERS = @LT_DLLOADERS@
  105065. +LT_DLPREOPEN = @LT_DLPREOPEN@
  105066. MAINT = @MAINT@
  105067. MAKEINFO = @MAKEINFO@
  105068. MINGW_LIBS = @MINGW_LIBS@
  105069. @@ -153,15 +163,20 @@
  105070. MKDIR_P = @MKDIR_P@
  105071. MV = @MV@
  105072. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  105073. +NM = @NM@
  105074. NMEDIT = @NMEDIT@
  105075. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  105076. +OBJDUMP = @OBJDUMP@
  105077. OBJEXT = @OBJEXT@
  105078. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  105079. +OTOOL = @OTOOL@
  105080. +OTOOL64 = @OTOOL64@
  105081. PACKAGE = @PACKAGE@
  105082. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  105083. PACKAGE_NAME = @PACKAGE_NAME@
  105084. PACKAGE_STRING = @PACKAGE_STRING@
  105085. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  105086. +PACKAGE_URL = @PACKAGE_URL@
  105087. PACKAGE_VERSION = @PACKAGE_VERSION@
  105088. PATH_SEPARATOR = @PATH_SEPARATOR@
  105089. PERL = @PERL@
  105090. @@ -198,7 +213,7 @@
  105091. abs_top_srcdir = @abs_top_srcdir@
  105092. ac_ct_CC = @ac_ct_CC@
  105093. ac_ct_CXX = @ac_ct_CXX@
  105094. -ac_ct_F77 = @ac_ct_F77@
  105095. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  105096. ac_krb5_config = @ac_krb5_config@
  105097. am__include = @am__include@
  105098. am__leading_dot = @am__leading_dot@
  105099. @@ -230,6 +245,7 @@
  105100. libexecdir = @libexecdir@
  105101. localedir = @localedir@
  105102. localstatedir = @localstatedir@
  105103. +lt_ECHO = @lt_ECHO@
  105104. makesnmplib = @makesnmplib@
  105105. mandir = @mandir@
  105106. mkdir_p = @mkdir_p@
  105107. @@ -261,14 +277,14 @@
  105108. @for dep in $?; do \
  105109. case '$(am__configure_deps)' in \
  105110. *$$dep*) \
  105111. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  105112. - && exit 0; \
  105113. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  105114. + && { if test -f $@; then exit 0; else break; fi; }; \
  105115. exit 1;; \
  105116. esac; \
  105117. done; \
  105118. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/ntlm_auth/mswin_sspi/Makefile'; \
  105119. - cd $(top_srcdir) && \
  105120. - $(AUTOMAKE) --foreign helpers/ntlm_auth/mswin_sspi/Makefile
  105121. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/ntlm_auth/mswin_sspi/Makefile'; \
  105122. + $(am__cd) $(top_srcdir) && \
  105123. + $(AUTOMAKE) --foreign helpers/ntlm_auth/mswin_sspi/Makefile
  105124. .PRECIOUS: Makefile
  105125. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  105126. @case '$?' in \
  105127. @@ -286,34 +302,50 @@
  105128. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  105129. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  105130. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  105131. +$(am__aclocal_m4_deps):
  105132. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  105133. @$(NORMAL_INSTALL)
  105134. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  105135. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  105136. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  105137. - if test -f $$p \
  105138. - || test -f $$p1 \
  105139. - ; then \
  105140. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  105141. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  105142. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  105143. - else :; fi; \
  105144. - done
  105145. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  105146. + for p in $$list; do echo "$$p $$p"; done | \
  105147. + sed 's/$(EXEEXT)$$//' | \
  105148. + while read p p1; do if test -f $$p || test -f $$p1; \
  105149. + then echo "$$p"; echo "$$p"; else :; fi; \
  105150. + done | \
  105151. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  105152. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  105153. + sed 'N;N;N;s,\n, ,g' | \
  105154. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  105155. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  105156. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  105157. + else { print "f", $$3 "/" $$4, $$1; } } \
  105158. + END { for (d in files) print "f", d, files[d] }' | \
  105159. + while read type dir files; do \
  105160. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  105161. + test -z "$$files" || { \
  105162. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  105163. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  105164. + } \
  105165. + ; done
  105166. uninstall-libexecPROGRAMS:
  105167. @$(NORMAL_UNINSTALL)
  105168. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  105169. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  105170. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  105171. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  105172. - done
  105173. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  105174. + files=`for p in $$list; do echo "$$p"; done | \
  105175. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  105176. + -e 's/$$/$(EXEEXT)/' `; \
  105177. + test -n "$$list" || exit 0; \
  105178. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  105179. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  105180. clean-libexecPROGRAMS:
  105181. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  105182. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  105183. - echo " rm -f $$p $$f"; \
  105184. - rm -f $$p $$f ; \
  105185. - done
  105186. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  105187. + echo " rm -f" $$list; \
  105188. + rm -f $$list || exit $$?; \
  105189. + test -n "$(EXEEXT)" || exit 0; \
  105190. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  105191. + echo " rm -f" $$list; \
  105192. + rm -f $$list
  105193. mswin_ntlm_auth$(EXEEXT): $(mswin_ntlm_auth_OBJECTS) $(mswin_ntlm_auth_DEPENDENCIES)
  105194. @rm -f mswin_ntlm_auth$(EXEEXT)
  105195. $(LINK) $(mswin_ntlm_auth_OBJECTS) $(mswin_ntlm_auth_LDADD) $(LIBS)
  105196. @@ -329,21 +361,21 @@
  105197. .c.o:
  105198. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  105199. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  105200. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  105201. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  105202. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  105203. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  105204. .c.obj:
  105205. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  105206. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  105207. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  105208. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  105209. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  105210. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  105211. .c.lo:
  105212. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  105213. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  105214. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  105215. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  105216. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  105217. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  105218. @@ -359,14 +391,14 @@
  105219. unique=`for i in $$list; do \
  105220. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  105221. done | \
  105222. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  105223. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  105224. END { if (nonempty) { for (i in files) print i; }; }'`; \
  105225. mkid -fID $$unique
  105226. tags: TAGS
  105227. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  105228. $(TAGS_FILES) $(LISP)
  105229. - tags=; \
  105230. + set x; \
  105231. here=`pwd`; \
  105232. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  105233. unique=`for i in $$list; do \
  105234. @@ -374,29 +406,34 @@
  105235. done | \
  105236. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  105237. END { if (nonempty) { for (i in files) print i; }; }'`; \
  105238. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  105239. + shift; \
  105240. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  105241. test -n "$$unique" || unique=$$empty_fix; \
  105242. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  105243. - $$tags $$unique; \
  105244. + if test $$# -gt 0; then \
  105245. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  105246. + "$$@" $$unique; \
  105247. + else \
  105248. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  105249. + $$unique; \
  105250. + fi; \
  105251. fi
  105252. ctags: CTAGS
  105253. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  105254. $(TAGS_FILES) $(LISP)
  105255. - tags=; \
  105256. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  105257. unique=`for i in $$list; do \
  105258. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  105259. done | \
  105260. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  105261. END { if (nonempty) { for (i in files) print i; }; }'`; \
  105262. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  105263. + test -z "$(CTAGS_ARGS)$$unique" \
  105264. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  105265. - $$tags $$unique
  105266. + $$unique
  105267. GTAGS:
  105268. here=`$(am__cd) $(top_builddir) && pwd` \
  105269. - && cd $(top_srcdir) \
  105270. - && gtags -i $(GTAGS_ARGS) $$here
  105271. + && $(am__cd) $(top_srcdir) \
  105272. + && gtags -i $(GTAGS_ARGS) "$$here"
  105273. distclean-tags:
  105274. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  105275. @@ -417,13 +454,17 @@
  105276. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  105277. if test -d $$d/$$file; then \
  105278. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  105279. + if test -d "$(distdir)/$$file"; then \
  105280. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  105281. + fi; \
  105282. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  105283. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  105284. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  105285. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  105286. fi; \
  105287. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  105288. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  105289. else \
  105290. - test -f $(distdir)/$$file \
  105291. - || cp -p $$d/$$file $(distdir)/$$file \
  105292. + test -f "$(distdir)/$$file" \
  105293. + || cp -p $$d/$$file "$(distdir)/$$file" \
  105294. || exit 1; \
  105295. fi; \
  105296. done
  105297. @@ -454,6 +495,7 @@
  105298. distclean-generic:
  105299. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  105300. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  105301. maintainer-clean-generic:
  105302. @echo "This command is intended for maintainers to use"
  105303. @@ -475,6 +517,8 @@
  105304. html: html-am
  105305. +html-am:
  105306. +
  105307. info: info-am
  105308. info-am:
  105309. @@ -483,18 +527,28 @@
  105310. install-dvi: install-dvi-am
  105311. +install-dvi-am:
  105312. +
  105313. install-exec-am: install-libexecPROGRAMS
  105314. install-html: install-html-am
  105315. +install-html-am:
  105316. +
  105317. install-info: install-info-am
  105318. +install-info-am:
  105319. +
  105320. install-man:
  105321. install-pdf: install-pdf-am
  105322. +install-pdf-am:
  105323. +
  105324. install-ps: install-ps-am
  105325. +install-ps-am:
  105326. +
  105327. installcheck-am:
  105328. maintainer-clean: maintainer-clean-am
  105329. @@ -533,6 +587,7 @@
  105330. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  105331. tags uninstall uninstall-am uninstall-libexecPROGRAMS
  105332. +
  105333. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  105334. # Otherwise a system limit (for SysV at least) may be exceeded.
  105335. .NOEXPORT:
  105336. diff -Nur squid-3.0.STABLE20.orig/helpers/ntlm_auth/no_check/Makefile.in squid-3.0.STABLE20/helpers/ntlm_auth/no_check/Makefile.in
  105337. --- squid-3.0.STABLE20.orig/helpers/ntlm_auth/no_check/Makefile.in 2009-10-29 11:05:43.000000000 +0100
  105338. +++ squid-3.0.STABLE20/helpers/ntlm_auth/no_check/Makefile.in 2010-02-19 00:39:22.076852130 +0100
  105339. @@ -1,8 +1,9 @@
  105340. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  105341. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  105342. # @configure_input@
  105343. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  105344. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  105345. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  105346. +# Inc.
  105347. # This Makefile.in is free software; the Free Software Foundation
  105348. # gives unlimited permission to copy and/or distribute it,
  105349. # with or without modifications, as long as this notice is preserved.
  105350. @@ -24,8 +25,9 @@
  105351. VPATH = @srcdir@
  105352. pkgdatadir = $(datadir)/@PACKAGE@
  105353. -pkglibdir = $(libdir)/@PACKAGE@
  105354. pkgincludedir = $(includedir)/@PACKAGE@
  105355. +pkglibdir = $(libdir)/@PACKAGE@
  105356. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  105357. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  105358. install_sh_DATA = $(install_sh) -c -m 644
  105359. install_sh_PROGRAM = $(install_sh) -c
  105360. @@ -50,8 +52,29 @@
  105361. mkinstalldirs = $(install_sh) -d
  105362. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  105363. CONFIG_CLEAN_FILES =
  105364. +CONFIG_CLEAN_VPATH_FILES =
  105365. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  105366. +am__vpath_adj = case $$p in \
  105367. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  105368. + *) f=$$p;; \
  105369. + esac;
  105370. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  105371. +am__install_max = 40
  105372. +am__nobase_strip_setup = \
  105373. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  105374. +am__nobase_strip = \
  105375. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  105376. +am__nobase_list = $(am__nobase_strip_setup); \
  105377. + for p in $$list; do echo "$$p $$p"; done | \
  105378. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  105379. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  105380. + if (++n[$$2] == $(am__install_max)) \
  105381. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  105382. + END { for (dir in files) print dir, files[dir] }'
  105383. +am__base_list = \
  105384. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  105385. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  105386. am__installdirs = "$(DESTDIR)$(libexecdir)"
  105387. -libexecSCRIPT_INSTALL = $(INSTALL_SCRIPT)
  105388. SCRIPTS = $(libexec_SCRIPTS)
  105389. SOURCES =
  105390. DIST_SOURCES =
  105391. @@ -93,7 +116,7 @@
  105392. DISK_LINKOBJS = @DISK_LINKOBJS@
  105393. DISK_PROGRAMS = @DISK_PROGRAMS@
  105394. DSYMUTIL = @DSYMUTIL@
  105395. -ECHO = @ECHO@
  105396. +DUMPBIN = @DUMPBIN@
  105397. ECHO_C = @ECHO_C@
  105398. ECHO_N = @ECHO_N@
  105399. ECHO_T = @ECHO_T@
  105400. @@ -103,10 +126,10 @@
  105401. ERR_LANGUAGES = @ERR_LANGUAGES@
  105402. EXEEXT = @EXEEXT@
  105403. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  105404. -F77 = @F77@
  105405. FALSE = @FALSE@
  105406. -FFLAGS = @FFLAGS@
  105407. +FGREP = @FGREP@
  105408. GREP = @GREP@
  105409. +HOSTCXX = @HOSTCXX@
  105410. ICAP_LIBS = @ICAP_LIBS@
  105411. INSTALL = @INSTALL@
  105412. INSTALL_DATA = @INSTALL_DATA@
  105413. @@ -115,8 +138,12 @@
  105414. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  105415. KRB5INCS = @KRB5INCS@
  105416. KRB5LIBS = @KRB5LIBS@
  105417. +LD = @LD@
  105418. LDFLAGS = @LDFLAGS@
  105419. LIBADD_DL = @LIBADD_DL@
  105420. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  105421. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  105422. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  105423. LIBOBJS = @LIBOBJS@
  105424. LIBREGEX = @LIBREGEX@
  105425. LIBS = @LIBS@
  105426. @@ -125,9 +152,12 @@
  105427. LIB_DB = @LIB_DB@
  105428. LIB_LBER = @LIB_LBER@
  105429. LIB_LDAP = @LIB_LDAP@
  105430. +LIPO = @LIPO@
  105431. LN = @LN@
  105432. LN_S = @LN_S@
  105433. LTLIBOBJS = @LTLIBOBJS@
  105434. +LT_DLLOADERS = @LT_DLLOADERS@
  105435. +LT_DLPREOPEN = @LT_DLPREOPEN@
  105436. MAINT = @MAINT@
  105437. MAKEINFO = @MAKEINFO@
  105438. MINGW_LIBS = @MINGW_LIBS@
  105439. @@ -135,15 +165,20 @@
  105440. MKDIR_P = @MKDIR_P@
  105441. MV = @MV@
  105442. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  105443. +NM = @NM@
  105444. NMEDIT = @NMEDIT@
  105445. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  105446. +OBJDUMP = @OBJDUMP@
  105447. OBJEXT = @OBJEXT@
  105448. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  105449. +OTOOL = @OTOOL@
  105450. +OTOOL64 = @OTOOL64@
  105451. PACKAGE = @PACKAGE@
  105452. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  105453. PACKAGE_NAME = @PACKAGE_NAME@
  105454. PACKAGE_STRING = @PACKAGE_STRING@
  105455. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  105456. +PACKAGE_URL = @PACKAGE_URL@
  105457. PACKAGE_VERSION = @PACKAGE_VERSION@
  105458. PATH_SEPARATOR = @PATH_SEPARATOR@
  105459. PERL = @PERL@
  105460. @@ -180,7 +215,7 @@
  105461. abs_top_srcdir = @abs_top_srcdir@
  105462. ac_ct_CC = @ac_ct_CC@
  105463. ac_ct_CXX = @ac_ct_CXX@
  105464. -ac_ct_F77 = @ac_ct_F77@
  105465. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  105466. ac_krb5_config = @ac_krb5_config@
  105467. am__include = @am__include@
  105468. am__leading_dot = @am__leading_dot@
  105469. @@ -212,6 +247,7 @@
  105470. libexecdir = @libexecdir@
  105471. localedir = @localedir@
  105472. localstatedir = @localstatedir@
  105473. +lt_ECHO = @lt_ECHO@
  105474. makesnmplib = @makesnmplib@
  105475. mandir = @mandir@
  105476. mkdir_p = @mkdir_p@
  105477. @@ -241,14 +277,14 @@
  105478. @for dep in $?; do \
  105479. case '$(am__configure_deps)' in \
  105480. *$$dep*) \
  105481. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  105482. - && exit 0; \
  105483. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  105484. + && { if test -f $@; then exit 0; else break; fi; }; \
  105485. exit 1;; \
  105486. esac; \
  105487. done; \
  105488. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/ntlm_auth/no_check/Makefile'; \
  105489. - cd $(top_srcdir) && \
  105490. - $(AUTOMAKE) --foreign helpers/ntlm_auth/no_check/Makefile
  105491. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/ntlm_auth/no_check/Makefile'; \
  105492. + $(am__cd) $(top_srcdir) && \
  105493. + $(AUTOMAKE) --foreign helpers/ntlm_auth/no_check/Makefile
  105494. .PRECIOUS: Makefile
  105495. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  105496. @case '$?' in \
  105497. @@ -266,25 +302,41 @@
  105498. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  105499. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  105500. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  105501. +$(am__aclocal_m4_deps):
  105502. install-libexecSCRIPTS: $(libexec_SCRIPTS)
  105503. @$(NORMAL_INSTALL)
  105504. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  105505. - @list='$(libexec_SCRIPTS)'; for p in $$list; do \
  105506. + @list='$(libexec_SCRIPTS)'; test -n "$(libexecdir)" || list=; \
  105507. + for p in $$list; do \
  105508. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  105509. - if test -f $$d$$p; then \
  105510. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  105511. - echo " $(libexecSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  105512. - $(libexecSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(libexecdir)/$$f"; \
  105513. - else :; fi; \
  105514. - done
  105515. + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
  105516. + done | \
  105517. + sed -e 'p;s,.*/,,;n' \
  105518. + -e 'h;s|.*|.|' \
  105519. + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
  105520. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
  105521. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  105522. + if ($$2 == $$4) { files[d] = files[d] " " $$1; \
  105523. + if (++n[d] == $(am__install_max)) { \
  105524. + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
  105525. + else { print "f", d "/" $$4, $$1 } } \
  105526. + END { for (d in files) print "f", d, files[d] }' | \
  105527. + while read type dir files; do \
  105528. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  105529. + test -z "$$files" || { \
  105530. + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  105531. + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  105532. + } \
  105533. + ; done
  105534. uninstall-libexecSCRIPTS:
  105535. @$(NORMAL_UNINSTALL)
  105536. - @list='$(libexec_SCRIPTS)'; for p in $$list; do \
  105537. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  105538. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  105539. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  105540. - done
  105541. + @list='$(libexec_SCRIPTS)'; test -n "$(libexecdir)" || exit 0; \
  105542. + files=`for p in $$list; do echo "$$p"; done | \
  105543. + sed -e 's,.*/,,;$(transform)'`; \
  105544. + test -n "$$list" || exit 0; \
  105545. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  105546. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  105547. mostlyclean-libtool:
  105548. -rm -f *.lo
  105549. @@ -314,13 +366,17 @@
  105550. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  105551. if test -d $$d/$$file; then \
  105552. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  105553. + if test -d "$(distdir)/$$file"; then \
  105554. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  105555. + fi; \
  105556. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  105557. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  105558. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  105559. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  105560. fi; \
  105561. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  105562. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  105563. else \
  105564. - test -f $(distdir)/$$file \
  105565. - || cp -p $$d/$$file $(distdir)/$$file \
  105566. + test -f "$(distdir)/$$file" \
  105567. + || cp -p $$d/$$file "$(distdir)/$$file" \
  105568. || exit 1; \
  105569. fi; \
  105570. done
  105571. @@ -351,6 +407,7 @@
  105572. distclean-generic:
  105573. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  105574. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  105575. maintainer-clean-generic:
  105576. @echo "This command is intended for maintainers to use"
  105577. @@ -369,6 +426,8 @@
  105578. html: html-am
  105579. +html-am:
  105580. +
  105581. info: info-am
  105582. info-am:
  105583. @@ -377,18 +436,28 @@
  105584. install-dvi: install-dvi-am
  105585. +install-dvi-am:
  105586. +
  105587. install-exec-am: install-libexecSCRIPTS
  105588. install-html: install-html-am
  105589. +install-html-am:
  105590. +
  105591. install-info: install-info-am
  105592. +install-info-am:
  105593. +
  105594. install-man:
  105595. install-pdf: install-pdf-am
  105596. +install-pdf-am:
  105597. +
  105598. install-ps: install-ps-am
  105599. +install-ps-am:
  105600. +
  105601. installcheck-am:
  105602. maintainer-clean: maintainer-clean-am
  105603. @@ -423,6 +492,7 @@
  105604. mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
  105605. ps ps-am uninstall uninstall-am uninstall-libexecSCRIPTS
  105606. +
  105607. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  105608. # Otherwise a system limit (for SysV at least) may be exceeded.
  105609. .NOEXPORT:
  105610. diff -Nur squid-3.0.STABLE20.orig/helpers/ntlm_auth/SMB/Makefile.in squid-3.0.STABLE20/helpers/ntlm_auth/SMB/Makefile.in
  105611. --- squid-3.0.STABLE20.orig/helpers/ntlm_auth/SMB/Makefile.in 2009-10-29 11:05:42.000000000 +0100
  105612. +++ squid-3.0.STABLE20/helpers/ntlm_auth/SMB/Makefile.in 2010-02-19 00:39:21.036852901 +0100
  105613. @@ -1,8 +1,9 @@
  105614. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  105615. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  105616. # @configure_input@
  105617. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  105618. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  105619. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  105620. +# Inc.
  105621. # This Makefile.in is free software; the Free Software Foundation
  105622. # gives unlimited permission to copy and/or distribute it,
  105623. # with or without modifications, as long as this notice is preserved.
  105624. @@ -22,8 +23,9 @@
  105625. VPATH = @srcdir@
  105626. pkgdatadir = $(datadir)/@PACKAGE@
  105627. -pkglibdir = $(libdir)/@PACKAGE@
  105628. pkgincludedir = $(includedir)/@PACKAGE@
  105629. +pkglibdir = $(libdir)/@PACKAGE@
  105630. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  105631. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  105632. install_sh_DATA = $(install_sh) -c -m 644
  105633. install_sh_PROGRAM = $(install_sh) -c
  105634. @@ -49,8 +51,8 @@
  105635. mkinstalldirs = $(install_sh) -d
  105636. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  105637. CONFIG_CLEAN_FILES =
  105638. +CONFIG_CLEAN_VPATH_FILES =
  105639. am__installdirs = "$(DESTDIR)$(libexecdir)"
  105640. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  105641. PROGRAMS = $(libexec_PROGRAMS)
  105642. am_ntlm_auth_OBJECTS = libntlmssp.$(OBJEXT) ntlm_auth.$(OBJEXT)
  105643. ntlm_auth_OBJECTS = $(am_ntlm_auth_OBJECTS)
  105644. @@ -61,6 +63,7 @@
  105645. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  105646. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  105647. am__depfiles_maybe = depfiles
  105648. +am__mv = mv -f
  105649. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  105650. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  105651. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  105652. @@ -81,10 +84,38 @@
  105653. ps-recursive uninstall-recursive
  105654. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  105655. distclean-recursive maintainer-clean-recursive
  105656. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  105657. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  105658. + distdir
  105659. ETAGS = etags
  105660. CTAGS = ctags
  105661. DIST_SUBDIRS = $(SUBDIRS)
  105662. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  105663. +am__relativize = \
  105664. + dir0=`pwd`; \
  105665. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  105666. + sed_rest='s,^[^/]*/*,,'; \
  105667. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  105668. + sed_butlast='s,/*[^/]*$$,,'; \
  105669. + while test -n "$$dir1"; do \
  105670. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  105671. + if test "$$first" != "."; then \
  105672. + if test "$$first" = ".."; then \
  105673. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  105674. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  105675. + else \
  105676. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  105677. + if test "$$first2" = "$$first"; then \
  105678. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  105679. + else \
  105680. + dir2="../$$dir2"; \
  105681. + fi; \
  105682. + dir0="$$dir0"/"$$first"; \
  105683. + fi; \
  105684. + fi; \
  105685. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  105686. + done; \
  105687. + reldir="$$dir2"
  105688. ACLOCAL = @ACLOCAL@
  105689. ALLOCA = @ALLOCA@
  105690. AMTAR = @AMTAR@
  105691. @@ -122,7 +153,7 @@
  105692. DISK_LINKOBJS = @DISK_LINKOBJS@
  105693. DISK_PROGRAMS = @DISK_PROGRAMS@
  105694. DSYMUTIL = @DSYMUTIL@
  105695. -ECHO = @ECHO@
  105696. +DUMPBIN = @DUMPBIN@
  105697. ECHO_C = @ECHO_C@
  105698. ECHO_N = @ECHO_N@
  105699. ECHO_T = @ECHO_T@
  105700. @@ -132,10 +163,10 @@
  105701. ERR_LANGUAGES = @ERR_LANGUAGES@
  105702. EXEEXT = @EXEEXT@
  105703. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  105704. -F77 = @F77@
  105705. FALSE = @FALSE@
  105706. -FFLAGS = @FFLAGS@
  105707. +FGREP = @FGREP@
  105708. GREP = @GREP@
  105709. +HOSTCXX = @HOSTCXX@
  105710. ICAP_LIBS = @ICAP_LIBS@
  105711. INSTALL = @INSTALL@
  105712. INSTALL_DATA = @INSTALL_DATA@
  105713. @@ -144,8 +175,12 @@
  105714. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  105715. KRB5INCS = @KRB5INCS@
  105716. KRB5LIBS = @KRB5LIBS@
  105717. +LD = @LD@
  105718. LDFLAGS = @LDFLAGS@
  105719. LIBADD_DL = @LIBADD_DL@
  105720. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  105721. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  105722. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  105723. LIBOBJS = @LIBOBJS@
  105724. LIBREGEX = @LIBREGEX@
  105725. LIBS = @LIBS@
  105726. @@ -154,9 +189,12 @@
  105727. LIB_DB = @LIB_DB@
  105728. LIB_LBER = @LIB_LBER@
  105729. LIB_LDAP = @LIB_LDAP@
  105730. +LIPO = @LIPO@
  105731. LN = @LN@
  105732. LN_S = @LN_S@
  105733. LTLIBOBJS = @LTLIBOBJS@
  105734. +LT_DLLOADERS = @LT_DLLOADERS@
  105735. +LT_DLPREOPEN = @LT_DLPREOPEN@
  105736. MAINT = @MAINT@
  105737. MAKEINFO = @MAKEINFO@
  105738. MINGW_LIBS = @MINGW_LIBS@
  105739. @@ -164,15 +202,20 @@
  105740. MKDIR_P = @MKDIR_P@
  105741. MV = @MV@
  105742. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  105743. +NM = @NM@
  105744. NMEDIT = @NMEDIT@
  105745. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  105746. +OBJDUMP = @OBJDUMP@
  105747. OBJEXT = @OBJEXT@
  105748. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  105749. +OTOOL = @OTOOL@
  105750. +OTOOL64 = @OTOOL64@
  105751. PACKAGE = @PACKAGE@
  105752. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  105753. PACKAGE_NAME = @PACKAGE_NAME@
  105754. PACKAGE_STRING = @PACKAGE_STRING@
  105755. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  105756. +PACKAGE_URL = @PACKAGE_URL@
  105757. PACKAGE_VERSION = @PACKAGE_VERSION@
  105758. PATH_SEPARATOR = @PATH_SEPARATOR@
  105759. PERL = @PERL@
  105760. @@ -209,7 +252,7 @@
  105761. abs_top_srcdir = @abs_top_srcdir@
  105762. ac_ct_CC = @ac_ct_CC@
  105763. ac_ct_CXX = @ac_ct_CXX@
  105764. -ac_ct_F77 = @ac_ct_F77@
  105765. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  105766. ac_krb5_config = @ac_krb5_config@
  105767. am__include = @am__include@
  105768. am__leading_dot = @am__leading_dot@
  105769. @@ -241,6 +284,7 @@
  105770. libexecdir = @libexecdir@
  105771. localedir = @localedir@
  105772. localstatedir = @localstatedir@
  105773. +lt_ECHO = @lt_ECHO@
  105774. makesnmplib = @makesnmplib@
  105775. mandir = @mandir@
  105776. mkdir_p = @mkdir_p@
  105777. @@ -274,14 +318,14 @@
  105778. @for dep in $?; do \
  105779. case '$(am__configure_deps)' in \
  105780. *$$dep*) \
  105781. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  105782. - && exit 0; \
  105783. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  105784. + && { if test -f $@; then exit 0; else break; fi; }; \
  105785. exit 1;; \
  105786. esac; \
  105787. done; \
  105788. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/ntlm_auth/SMB/Makefile'; \
  105789. - cd $(top_srcdir) && \
  105790. - $(AUTOMAKE) --foreign helpers/ntlm_auth/SMB/Makefile
  105791. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/ntlm_auth/SMB/Makefile'; \
  105792. + $(am__cd) $(top_srcdir) && \
  105793. + $(AUTOMAKE) --foreign helpers/ntlm_auth/SMB/Makefile
  105794. .PRECIOUS: Makefile
  105795. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  105796. @case '$?' in \
  105797. @@ -299,34 +343,50 @@
  105798. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  105799. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  105800. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  105801. +$(am__aclocal_m4_deps):
  105802. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  105803. @$(NORMAL_INSTALL)
  105804. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  105805. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  105806. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  105807. - if test -f $$p \
  105808. - || test -f $$p1 \
  105809. - ; then \
  105810. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  105811. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  105812. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  105813. - else :; fi; \
  105814. - done
  105815. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  105816. + for p in $$list; do echo "$$p $$p"; done | \
  105817. + sed 's/$(EXEEXT)$$//' | \
  105818. + while read p p1; do if test -f $$p || test -f $$p1; \
  105819. + then echo "$$p"; echo "$$p"; else :; fi; \
  105820. + done | \
  105821. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  105822. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  105823. + sed 'N;N;N;s,\n, ,g' | \
  105824. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  105825. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  105826. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  105827. + else { print "f", $$3 "/" $$4, $$1; } } \
  105828. + END { for (d in files) print "f", d, files[d] }' | \
  105829. + while read type dir files; do \
  105830. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  105831. + test -z "$$files" || { \
  105832. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  105833. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  105834. + } \
  105835. + ; done
  105836. uninstall-libexecPROGRAMS:
  105837. @$(NORMAL_UNINSTALL)
  105838. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  105839. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  105840. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  105841. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  105842. - done
  105843. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  105844. + files=`for p in $$list; do echo "$$p"; done | \
  105845. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  105846. + -e 's/$$/$(EXEEXT)/' `; \
  105847. + test -n "$$list" || exit 0; \
  105848. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  105849. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  105850. clean-libexecPROGRAMS:
  105851. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  105852. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  105853. - echo " rm -f $$p $$f"; \
  105854. - rm -f $$p $$f ; \
  105855. - done
  105856. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  105857. + echo " rm -f" $$list; \
  105858. + rm -f $$list || exit $$?; \
  105859. + test -n "$(EXEEXT)" || exit 0; \
  105860. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  105861. + echo " rm -f" $$list; \
  105862. + rm -f $$list
  105863. ntlm_auth$(EXEEXT): $(ntlm_auth_OBJECTS) $(ntlm_auth_DEPENDENCIES)
  105864. @rm -f ntlm_auth$(EXEEXT)
  105865. $(LINK) $(ntlm_auth_OBJECTS) $(ntlm_auth_LDADD) $(LIBS)
  105866. @@ -342,21 +402,21 @@
  105867. .c.o:
  105868. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  105869. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  105870. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  105871. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  105872. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  105873. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  105874. .c.obj:
  105875. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  105876. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  105877. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  105878. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  105879. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  105880. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  105881. .c.lo:
  105882. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  105883. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  105884. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  105885. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  105886. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  105887. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  105888. @@ -374,7 +434,7 @@
  105889. # (which will cause the Makefiles to be regenerated when you run `make');
  105890. # (2) otherwise, pass the desired values on the `make' command line.
  105891. $(RECURSIVE_TARGETS):
  105892. - @failcom='exit 1'; \
  105893. + @fail= failcom='exit 1'; \
  105894. for f in x $$MAKEFLAGS; do \
  105895. case $$f in \
  105896. *=* | --[!k]*);; \
  105897. @@ -391,7 +451,7 @@
  105898. else \
  105899. local_target="$$target"; \
  105900. fi; \
  105901. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  105902. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  105903. || eval $$failcom; \
  105904. done; \
  105905. if test "$$dot_seen" = "no"; then \
  105906. @@ -399,7 +459,7 @@
  105907. fi; test -z "$$fail"
  105908. $(RECURSIVE_CLEAN_TARGETS):
  105909. - @failcom='exit 1'; \
  105910. + @fail= failcom='exit 1'; \
  105911. for f in x $$MAKEFLAGS; do \
  105912. case $$f in \
  105913. *=* | --[!k]*);; \
  105914. @@ -425,16 +485,16 @@
  105915. else \
  105916. local_target="$$target"; \
  105917. fi; \
  105918. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  105919. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  105920. || eval $$failcom; \
  105921. done && test -z "$$fail"
  105922. tags-recursive:
  105923. list='$(SUBDIRS)'; for subdir in $$list; do \
  105924. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  105925. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  105926. done
  105927. ctags-recursive:
  105928. list='$(SUBDIRS)'; for subdir in $$list; do \
  105929. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  105930. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  105931. done
  105932. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  105933. @@ -442,14 +502,14 @@
  105934. unique=`for i in $$list; do \
  105935. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  105936. done | \
  105937. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  105938. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  105939. END { if (nonempty) { for (i in files) print i; }; }'`; \
  105940. mkid -fID $$unique
  105941. tags: TAGS
  105942. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  105943. $(TAGS_FILES) $(LISP)
  105944. - tags=; \
  105945. + set x; \
  105946. here=`pwd`; \
  105947. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  105948. include_option=--etags-include; \
  105949. @@ -461,7 +521,7 @@
  105950. list='$(SUBDIRS)'; for subdir in $$list; do \
  105951. if test "$$subdir" = .; then :; else \
  105952. test ! -f $$subdir/TAGS || \
  105953. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  105954. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  105955. fi; \
  105956. done; \
  105957. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  105958. @@ -470,29 +530,34 @@
  105959. done | \
  105960. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  105961. END { if (nonempty) { for (i in files) print i; }; }'`; \
  105962. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  105963. + shift; \
  105964. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  105965. test -n "$$unique" || unique=$$empty_fix; \
  105966. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  105967. - $$tags $$unique; \
  105968. + if test $$# -gt 0; then \
  105969. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  105970. + "$$@" $$unique; \
  105971. + else \
  105972. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  105973. + $$unique; \
  105974. + fi; \
  105975. fi
  105976. ctags: CTAGS
  105977. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  105978. $(TAGS_FILES) $(LISP)
  105979. - tags=; \
  105980. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  105981. unique=`for i in $$list; do \
  105982. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  105983. done | \
  105984. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  105985. END { if (nonempty) { for (i in files) print i; }; }'`; \
  105986. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  105987. + test -z "$(CTAGS_ARGS)$$unique" \
  105988. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  105989. - $$tags $$unique
  105990. + $$unique
  105991. GTAGS:
  105992. here=`$(am__cd) $(top_builddir) && pwd` \
  105993. - && cd $(top_srcdir) \
  105994. - && gtags -i $(GTAGS_ARGS) $$here
  105995. + && $(am__cd) $(top_srcdir) \
  105996. + && gtags -i $(GTAGS_ARGS) "$$here"
  105997. distclean-tags:
  105998. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  105999. @@ -513,29 +578,44 @@
  106000. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  106001. if test -d $$d/$$file; then \
  106002. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  106003. + if test -d "$(distdir)/$$file"; then \
  106004. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  106005. + fi; \
  106006. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  106007. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  106008. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  106009. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  106010. fi; \
  106011. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  106012. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  106013. else \
  106014. - test -f $(distdir)/$$file \
  106015. - || cp -p $$d/$$file $(distdir)/$$file \
  106016. + test -f "$(distdir)/$$file" \
  106017. + || cp -p $$d/$$file "$(distdir)/$$file" \
  106018. || exit 1; \
  106019. fi; \
  106020. done
  106021. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  106022. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  106023. if test "$$subdir" = .; then :; else \
  106024. test -d "$(distdir)/$$subdir" \
  106025. || $(MKDIR_P) "$(distdir)/$$subdir" \
  106026. || exit 1; \
  106027. - distdir=`$(am__cd) $(distdir) && pwd`; \
  106028. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  106029. - (cd $$subdir && \
  106030. + fi; \
  106031. + done
  106032. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  106033. + if test "$$subdir" = .; then :; else \
  106034. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  106035. + $(am__relativize); \
  106036. + new_distdir=$$reldir; \
  106037. + dir1=$$subdir; dir2="$(top_distdir)"; \
  106038. + $(am__relativize); \
  106039. + new_top_distdir=$$reldir; \
  106040. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  106041. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  106042. + ($(am__cd) $$subdir && \
  106043. $(MAKE) $(AM_MAKEFLAGS) \
  106044. - top_distdir="$$top_distdir" \
  106045. - distdir="$$distdir/$$subdir" \
  106046. + top_distdir="$$new_top_distdir" \
  106047. + distdir="$$new_distdir" \
  106048. am__remove_distdir=: \
  106049. am__skip_length_check=: \
  106050. + am__skip_mode_fix=: \
  106051. distdir) \
  106052. || exit 1; \
  106053. fi; \
  106054. @@ -568,6 +648,7 @@
  106055. distclean-generic:
  106056. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  106057. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  106058. maintainer-clean-generic:
  106059. @echo "This command is intended for maintainers to use"
  106060. @@ -589,6 +670,8 @@
  106061. html: html-recursive
  106062. +html-am:
  106063. +
  106064. info: info-recursive
  106065. info-am:
  106066. @@ -597,18 +680,28 @@
  106067. install-dvi: install-dvi-recursive
  106068. +install-dvi-am:
  106069. +
  106070. install-exec-am: install-libexecPROGRAMS
  106071. install-html: install-html-recursive
  106072. +install-html-am:
  106073. +
  106074. install-info: install-info-recursive
  106075. +install-info-am:
  106076. +
  106077. install-man:
  106078. install-pdf: install-pdf-recursive
  106079. +install-pdf-am:
  106080. +
  106081. install-ps: install-ps-recursive
  106082. +install-ps-am:
  106083. +
  106084. installcheck-am:
  106085. maintainer-clean: maintainer-clean-recursive
  106086. @@ -631,8 +724,8 @@
  106087. uninstall-am: uninstall-libexecPROGRAMS
  106088. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  106089. - install-strip
  106090. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  106091. + install-am install-strip tags-recursive
  106092. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  106093. all all-am check check-am clean clean-generic \
  106094. @@ -650,6 +743,7 @@
  106095. mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  106096. uninstall uninstall-am uninstall-libexecPROGRAMS
  106097. +
  106098. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  106099. # Otherwise a system limit (for SysV at least) may be exceeded.
  106100. .NOEXPORT:
  106101. diff -Nur squid-3.0.STABLE20.orig/helpers/ntlm_auth/SMB/smbval/Makefile.in squid-3.0.STABLE20/helpers/ntlm_auth/SMB/smbval/Makefile.in
  106102. --- squid-3.0.STABLE20.orig/helpers/ntlm_auth/SMB/smbval/Makefile.in 2009-10-29 11:05:42.000000000 +0100
  106103. +++ squid-3.0.STABLE20/helpers/ntlm_auth/SMB/smbval/Makefile.in 2010-02-19 00:39:21.288853421 +0100
  106104. @@ -1,8 +1,9 @@
  106105. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  106106. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  106107. # @configure_input@
  106108. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  106109. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  106110. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  106111. +# Inc.
  106112. # This Makefile.in is free software; the Free Software Foundation
  106113. # gives unlimited permission to copy and/or distribute it,
  106114. # with or without modifications, as long as this notice is preserved.
  106115. @@ -18,8 +19,9 @@
  106116. VPATH = @srcdir@
  106117. pkgdatadir = $(datadir)/@PACKAGE@
  106118. -pkglibdir = $(libdir)/@PACKAGE@
  106119. pkgincludedir = $(includedir)/@PACKAGE@
  106120. +pkglibdir = $(libdir)/@PACKAGE@
  106121. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  106122. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  106123. install_sh_DATA = $(install_sh) -c -m 644
  106124. install_sh_PROGRAM = $(install_sh) -c
  106125. @@ -44,6 +46,7 @@
  106126. mkinstalldirs = $(install_sh) -d
  106127. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  106128. CONFIG_CLEAN_FILES =
  106129. +CONFIG_CLEAN_VPATH_FILES =
  106130. LIBRARIES = $(noinst_LIBRARIES)
  106131. ARFLAGS = cru
  106132. libsmbvalid_a_AR = $(AR) $(ARFLAGS)
  106133. @@ -56,6 +59,7 @@
  106134. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  106135. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  106136. am__depfiles_maybe = depfiles
  106137. +am__mv = mv -f
  106138. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  106139. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  106140. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  106141. @@ -107,7 +111,7 @@
  106142. DISK_LINKOBJS = @DISK_LINKOBJS@
  106143. DISK_PROGRAMS = @DISK_PROGRAMS@
  106144. DSYMUTIL = @DSYMUTIL@
  106145. -ECHO = @ECHO@
  106146. +DUMPBIN = @DUMPBIN@
  106147. ECHO_C = @ECHO_C@
  106148. ECHO_N = @ECHO_N@
  106149. ECHO_T = @ECHO_T@
  106150. @@ -117,10 +121,10 @@
  106151. ERR_LANGUAGES = @ERR_LANGUAGES@
  106152. EXEEXT = @EXEEXT@
  106153. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  106154. -F77 = @F77@
  106155. FALSE = @FALSE@
  106156. -FFLAGS = @FFLAGS@
  106157. +FGREP = @FGREP@
  106158. GREP = @GREP@
  106159. +HOSTCXX = @HOSTCXX@
  106160. ICAP_LIBS = @ICAP_LIBS@
  106161. INSTALL = @INSTALL@
  106162. INSTALL_DATA = @INSTALL_DATA@
  106163. @@ -129,8 +133,12 @@
  106164. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  106165. KRB5INCS = @KRB5INCS@
  106166. KRB5LIBS = @KRB5LIBS@
  106167. +LD = @LD@
  106168. LDFLAGS = @LDFLAGS@
  106169. LIBADD_DL = @LIBADD_DL@
  106170. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  106171. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  106172. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  106173. LIBOBJS = @LIBOBJS@
  106174. LIBREGEX = @LIBREGEX@
  106175. LIBS = @LIBS@
  106176. @@ -139,9 +147,12 @@
  106177. LIB_DB = @LIB_DB@
  106178. LIB_LBER = @LIB_LBER@
  106179. LIB_LDAP = @LIB_LDAP@
  106180. +LIPO = @LIPO@
  106181. LN = @LN@
  106182. LN_S = @LN_S@
  106183. LTLIBOBJS = @LTLIBOBJS@
  106184. +LT_DLLOADERS = @LT_DLLOADERS@
  106185. +LT_DLPREOPEN = @LT_DLPREOPEN@
  106186. MAINT = @MAINT@
  106187. MAKEINFO = @MAKEINFO@
  106188. MINGW_LIBS = @MINGW_LIBS@
  106189. @@ -149,15 +160,20 @@
  106190. MKDIR_P = @MKDIR_P@
  106191. MV = @MV@
  106192. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  106193. +NM = @NM@
  106194. NMEDIT = @NMEDIT@
  106195. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  106196. +OBJDUMP = @OBJDUMP@
  106197. OBJEXT = @OBJEXT@
  106198. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  106199. +OTOOL = @OTOOL@
  106200. +OTOOL64 = @OTOOL64@
  106201. PACKAGE = @PACKAGE@
  106202. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  106203. PACKAGE_NAME = @PACKAGE_NAME@
  106204. PACKAGE_STRING = @PACKAGE_STRING@
  106205. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  106206. +PACKAGE_URL = @PACKAGE_URL@
  106207. PACKAGE_VERSION = @PACKAGE_VERSION@
  106208. PATH_SEPARATOR = @PATH_SEPARATOR@
  106209. PERL = @PERL@
  106210. @@ -194,7 +210,7 @@
  106211. abs_top_srcdir = @abs_top_srcdir@
  106212. ac_ct_CC = @ac_ct_CC@
  106213. ac_ct_CXX = @ac_ct_CXX@
  106214. -ac_ct_F77 = @ac_ct_F77@
  106215. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  106216. ac_krb5_config = @ac_krb5_config@
  106217. am__include = @am__include@
  106218. am__leading_dot = @am__leading_dot@
  106219. @@ -226,6 +242,7 @@
  106220. libexecdir = @libexecdir@
  106221. localedir = @localedir@
  106222. localstatedir = @localstatedir@
  106223. +lt_ECHO = @lt_ECHO@
  106224. makesnmplib = @makesnmplib@
  106225. mandir = @mandir@
  106226. mkdir_p = @mkdir_p@
  106227. @@ -261,14 +278,14 @@
  106228. @for dep in $?; do \
  106229. case '$(am__configure_deps)' in \
  106230. *$$dep*) \
  106231. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  106232. - && exit 0; \
  106233. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  106234. + && { if test -f $@; then exit 0; else break; fi; }; \
  106235. exit 1;; \
  106236. esac; \
  106237. done; \
  106238. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/ntlm_auth/SMB/smbval/Makefile'; \
  106239. - cd $(top_srcdir) && \
  106240. - $(AUTOMAKE) --foreign helpers/ntlm_auth/SMB/smbval/Makefile
  106241. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign helpers/ntlm_auth/SMB/smbval/Makefile'; \
  106242. + $(am__cd) $(top_srcdir) && \
  106243. + $(AUTOMAKE) --foreign helpers/ntlm_auth/SMB/smbval/Makefile
  106244. .PRECIOUS: Makefile
  106245. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  106246. @case '$?' in \
  106247. @@ -286,6 +303,7 @@
  106248. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  106249. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  106250. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  106251. +$(am__aclocal_m4_deps):
  106252. clean-noinstLIBRARIES:
  106253. -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
  106254. @@ -312,21 +330,21 @@
  106255. .c.o:
  106256. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  106257. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  106258. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  106259. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  106260. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  106261. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  106262. .c.obj:
  106263. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  106264. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  106265. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  106266. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  106267. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  106268. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  106269. .c.lo:
  106270. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  106271. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  106272. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  106273. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  106274. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  106275. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  106276. @@ -342,14 +360,14 @@
  106277. unique=`for i in $$list; do \
  106278. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  106279. done | \
  106280. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  106281. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  106282. END { if (nonempty) { for (i in files) print i; }; }'`; \
  106283. mkid -fID $$unique
  106284. tags: TAGS
  106285. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  106286. $(TAGS_FILES) $(LISP)
  106287. - tags=; \
  106288. + set x; \
  106289. here=`pwd`; \
  106290. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  106291. unique=`for i in $$list; do \
  106292. @@ -357,29 +375,34 @@
  106293. done | \
  106294. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  106295. END { if (nonempty) { for (i in files) print i; }; }'`; \
  106296. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  106297. + shift; \
  106298. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  106299. test -n "$$unique" || unique=$$empty_fix; \
  106300. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  106301. - $$tags $$unique; \
  106302. + if test $$# -gt 0; then \
  106303. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  106304. + "$$@" $$unique; \
  106305. + else \
  106306. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  106307. + $$unique; \
  106308. + fi; \
  106309. fi
  106310. ctags: CTAGS
  106311. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  106312. $(TAGS_FILES) $(LISP)
  106313. - tags=; \
  106314. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  106315. unique=`for i in $$list; do \
  106316. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  106317. done | \
  106318. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  106319. END { if (nonempty) { for (i in files) print i; }; }'`; \
  106320. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  106321. + test -z "$(CTAGS_ARGS)$$unique" \
  106322. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  106323. - $$tags $$unique
  106324. + $$unique
  106325. GTAGS:
  106326. here=`$(am__cd) $(top_builddir) && pwd` \
  106327. - && cd $(top_srcdir) \
  106328. - && gtags -i $(GTAGS_ARGS) $$here
  106329. + && $(am__cd) $(top_srcdir) \
  106330. + && gtags -i $(GTAGS_ARGS) "$$here"
  106331. distclean-tags:
  106332. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  106333. @@ -400,13 +423,17 @@
  106334. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  106335. if test -d $$d/$$file; then \
  106336. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  106337. + if test -d "$(distdir)/$$file"; then \
  106338. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  106339. + fi; \
  106340. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  106341. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  106342. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  106343. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  106344. fi; \
  106345. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  106346. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  106347. else \
  106348. - test -f $(distdir)/$$file \
  106349. - || cp -p $$d/$$file $(distdir)/$$file \
  106350. + test -f "$(distdir)/$$file" \
  106351. + || cp -p $$d/$$file "$(distdir)/$$file" \
  106352. || exit 1; \
  106353. fi; \
  106354. done
  106355. @@ -434,6 +461,7 @@
  106356. distclean-generic:
  106357. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  106358. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  106359. maintainer-clean-generic:
  106360. @echo "This command is intended for maintainers to use"
  106361. @@ -455,6 +483,8 @@
  106362. html: html-am
  106363. +html-am:
  106364. +
  106365. info: info-am
  106366. info-am:
  106367. @@ -463,18 +493,28 @@
  106368. install-dvi: install-dvi-am
  106369. +install-dvi-am:
  106370. +
  106371. install-exec-am:
  106372. install-html: install-html-am
  106373. +install-html-am:
  106374. +
  106375. install-info: install-info-am
  106376. +install-info-am:
  106377. +
  106378. install-man:
  106379. install-pdf: install-pdf-am
  106380. +install-pdf-am:
  106381. +
  106382. install-ps: install-ps-am
  106383. +install-ps-am:
  106384. +
  106385. installcheck-am:
  106386. maintainer-clean: maintainer-clean-am
  106387. @@ -512,6 +552,7 @@
  106388. mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  106389. pdf pdf-am ps ps-am tags uninstall uninstall-am
  106390. +
  106391. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  106392. # Otherwise a system limit (for SysV at least) may be exceeded.
  106393. .NOEXPORT:
  106394. diff -Nur squid-3.0.STABLE20.orig/icons/Makefile.in squid-3.0.STABLE20/icons/Makefile.in
  106395. --- squid-3.0.STABLE20.orig/icons/Makefile.in 2009-10-29 11:05:43.000000000 +0100
  106396. +++ squid-3.0.STABLE20/icons/Makefile.in 2010-02-19 00:39:22.196852047 +0100
  106397. @@ -1,8 +1,9 @@
  106398. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  106399. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  106400. # @configure_input@
  106401. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  106402. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  106403. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  106404. +# Inc.
  106405. # This Makefile.in is free software; the Free Software Foundation
  106406. # gives unlimited permission to copy and/or distribute it,
  106407. # with or without modifications, as long as this notice is preserved.
  106408. @@ -19,8 +20,9 @@
  106409. VPATH = @srcdir@
  106410. pkgdatadir = $(datadir)/@PACKAGE@
  106411. -pkglibdir = $(libdir)/@PACKAGE@
  106412. pkgincludedir = $(includedir)/@PACKAGE@
  106413. +pkglibdir = $(libdir)/@PACKAGE@
  106414. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  106415. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  106416. install_sh_DATA = $(install_sh) -c -m 644
  106417. install_sh_PROGRAM = $(install_sh) -c
  106418. @@ -45,6 +47,7 @@
  106419. mkinstalldirs = $(install_sh) -d
  106420. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  106421. CONFIG_CLEAN_FILES =
  106422. +CONFIG_CLEAN_VPATH_FILES =
  106423. SOURCES =
  106424. DIST_SOURCES =
  106425. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  106426. @@ -52,9 +55,23 @@
  106427. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  106428. *) f=$$p;; \
  106429. esac;
  106430. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  106431. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  106432. +am__install_max = 40
  106433. +am__nobase_strip_setup = \
  106434. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  106435. +am__nobase_strip = \
  106436. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  106437. +am__nobase_list = $(am__nobase_strip_setup); \
  106438. + for p in $$list; do echo "$$p $$p"; done | \
  106439. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  106440. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  106441. + if (++n[$$2] == $(am__install_max)) \
  106442. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  106443. + END { for (dir in files) print dir, files[dir] }'
  106444. +am__base_list = \
  106445. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  106446. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  106447. am__installdirs = "$(DESTDIR)$(icondir)"
  106448. -iconDATA_INSTALL = $(INSTALL_DATA)
  106449. DATA = $(icon_DATA)
  106450. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  106451. ACLOCAL = @ACLOCAL@
  106452. @@ -94,7 +111,7 @@
  106453. DISK_LINKOBJS = @DISK_LINKOBJS@
  106454. DISK_PROGRAMS = @DISK_PROGRAMS@
  106455. DSYMUTIL = @DSYMUTIL@
  106456. -ECHO = @ECHO@
  106457. +DUMPBIN = @DUMPBIN@
  106458. ECHO_C = @ECHO_C@
  106459. ECHO_N = @ECHO_N@
  106460. ECHO_T = @ECHO_T@
  106461. @@ -104,10 +121,10 @@
  106462. ERR_LANGUAGES = @ERR_LANGUAGES@
  106463. EXEEXT = @EXEEXT@
  106464. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  106465. -F77 = @F77@
  106466. FALSE = @FALSE@
  106467. -FFLAGS = @FFLAGS@
  106468. +FGREP = @FGREP@
  106469. GREP = @GREP@
  106470. +HOSTCXX = @HOSTCXX@
  106471. ICAP_LIBS = @ICAP_LIBS@
  106472. INSTALL = @INSTALL@
  106473. INSTALL_DATA = @INSTALL_DATA@
  106474. @@ -116,8 +133,12 @@
  106475. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  106476. KRB5INCS = @KRB5INCS@
  106477. KRB5LIBS = @KRB5LIBS@
  106478. +LD = @LD@
  106479. LDFLAGS = @LDFLAGS@
  106480. LIBADD_DL = @LIBADD_DL@
  106481. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  106482. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  106483. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  106484. LIBOBJS = @LIBOBJS@
  106485. LIBREGEX = @LIBREGEX@
  106486. LIBS = @LIBS@
  106487. @@ -126,9 +147,12 @@
  106488. LIB_DB = @LIB_DB@
  106489. LIB_LBER = @LIB_LBER@
  106490. LIB_LDAP = @LIB_LDAP@
  106491. +LIPO = @LIPO@
  106492. LN = @LN@
  106493. LN_S = @LN_S@
  106494. LTLIBOBJS = @LTLIBOBJS@
  106495. +LT_DLLOADERS = @LT_DLLOADERS@
  106496. +LT_DLPREOPEN = @LT_DLPREOPEN@
  106497. MAINT = @MAINT@
  106498. MAKEINFO = @MAKEINFO@
  106499. MINGW_LIBS = @MINGW_LIBS@
  106500. @@ -136,15 +160,20 @@
  106501. MKDIR_P = @MKDIR_P@
  106502. MV = @MV@
  106503. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  106504. +NM = @NM@
  106505. NMEDIT = @NMEDIT@
  106506. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  106507. +OBJDUMP = @OBJDUMP@
  106508. OBJEXT = @OBJEXT@
  106509. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  106510. +OTOOL = @OTOOL@
  106511. +OTOOL64 = @OTOOL64@
  106512. PACKAGE = @PACKAGE@
  106513. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  106514. PACKAGE_NAME = @PACKAGE_NAME@
  106515. PACKAGE_STRING = @PACKAGE_STRING@
  106516. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  106517. +PACKAGE_URL = @PACKAGE_URL@
  106518. PACKAGE_VERSION = @PACKAGE_VERSION@
  106519. PATH_SEPARATOR = @PATH_SEPARATOR@
  106520. PERL = @PERL@
  106521. @@ -181,7 +210,7 @@
  106522. abs_top_srcdir = @abs_top_srcdir@
  106523. ac_ct_CC = @ac_ct_CC@
  106524. ac_ct_CXX = @ac_ct_CXX@
  106525. -ac_ct_F77 = @ac_ct_F77@
  106526. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  106527. ac_krb5_config = @ac_krb5_config@
  106528. am__include = @am__include@
  106529. am__leading_dot = @am__leading_dot@
  106530. @@ -213,6 +242,7 @@
  106531. libexecdir = @libexecdir@
  106532. localedir = @localedir@
  106533. localstatedir = @localstatedir@
  106534. +lt_ECHO = @lt_ECHO@
  106535. makesnmplib = @makesnmplib@
  106536. mandir = @mandir@
  106537. mkdir_p = @mkdir_p@
  106538. @@ -269,14 +299,14 @@
  106539. @for dep in $?; do \
  106540. case '$(am__configure_deps)' in \
  106541. *$$dep*) \
  106542. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  106543. - && exit 0; \
  106544. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  106545. + && { if test -f $@; then exit 0; else break; fi; }; \
  106546. exit 1;; \
  106547. esac; \
  106548. done; \
  106549. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign icons/Makefile'; \
  106550. - cd $(top_srcdir) && \
  106551. - $(AUTOMAKE) --foreign icons/Makefile
  106552. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign icons/Makefile'; \
  106553. + $(am__cd) $(top_srcdir) && \
  106554. + $(AUTOMAKE) --foreign icons/Makefile
  106555. .PRECIOUS: Makefile
  106556. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  106557. @case '$?' in \
  106558. @@ -294,6 +324,7 @@
  106559. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  106560. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  106561. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  106562. +$(am__aclocal_m4_deps):
  106563. mostlyclean-libtool:
  106564. -rm -f *.lo
  106565. @@ -303,20 +334,23 @@
  106566. install-iconDATA: $(icon_DATA)
  106567. @$(NORMAL_INSTALL)
  106568. test -z "$(icondir)" || $(MKDIR_P) "$(DESTDIR)$(icondir)"
  106569. - @list='$(icon_DATA)'; for p in $$list; do \
  106570. + @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \
  106571. + for p in $$list; do \
  106572. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  106573. - f=$(am__strip_dir) \
  106574. - echo " $(iconDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(icondir)/$$f'"; \
  106575. - $(iconDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(icondir)/$$f"; \
  106576. + echo "$$d$$p"; \
  106577. + done | $(am__base_list) | \
  106578. + while read files; do \
  106579. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(icondir)'"; \
  106580. + $(INSTALL_DATA) $$files "$(DESTDIR)$(icondir)" || exit $$?; \
  106581. done
  106582. uninstall-iconDATA:
  106583. @$(NORMAL_UNINSTALL)
  106584. - @list='$(icon_DATA)'; for p in $$list; do \
  106585. - f=$(am__strip_dir) \
  106586. - echo " rm -f '$(DESTDIR)$(icondir)/$$f'"; \
  106587. - rm -f "$(DESTDIR)$(icondir)/$$f"; \
  106588. - done
  106589. + @list='$(icon_DATA)'; test -n "$(icondir)" || list=; \
  106590. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  106591. + test -n "$$files" || exit 0; \
  106592. + echo " ( cd '$(DESTDIR)$(icondir)' && rm -f" $$files ")"; \
  106593. + cd "$(DESTDIR)$(icondir)" && rm -f $$files
  106594. tags: TAGS
  106595. TAGS:
  106596. @@ -340,13 +374,17 @@
  106597. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  106598. if test -d $$d/$$file; then \
  106599. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  106600. + if test -d "$(distdir)/$$file"; then \
  106601. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  106602. + fi; \
  106603. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  106604. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  106605. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  106606. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  106607. fi; \
  106608. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  106609. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  106610. else \
  106611. - test -f $(distdir)/$$file \
  106612. - || cp -p $$d/$$file $(distdir)/$$file \
  106613. + test -f "$(distdir)/$$file" \
  106614. + || cp -p $$d/$$file "$(distdir)/$$file" \
  106615. || exit 1; \
  106616. fi; \
  106617. done
  106618. @@ -377,6 +415,7 @@
  106619. distclean-generic:
  106620. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  106621. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  106622. -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
  106623. maintainer-clean-generic:
  106624. @@ -396,6 +435,8 @@
  106625. html: html-am
  106626. +html-am:
  106627. +
  106628. info: info-am
  106629. info-am:
  106630. @@ -404,18 +445,28 @@
  106631. install-dvi: install-dvi-am
  106632. +install-dvi-am:
  106633. +
  106634. install-exec-am:
  106635. install-html: install-html-am
  106636. +install-html-am:
  106637. +
  106638. install-info: install-info-am
  106639. +install-info-am:
  106640. +
  106641. install-man:
  106642. install-pdf: install-pdf-am
  106643. +install-pdf-am:
  106644. +
  106645. install-ps: install-ps-am
  106646. +install-ps-am:
  106647. +
  106648. installcheck-am:
  106649. maintainer-clean: maintainer-clean-am
  106650. @@ -450,6 +501,7 @@
  106651. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  106652. uninstall uninstall-am uninstall-iconDATA
  106653. +
  106654. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  106655. # Otherwise a system limit (for SysV at least) may be exceeded.
  106656. .NOEXPORT:
  106657. diff -Nur squid-3.0.STABLE20.orig/include/autoconf.h.in squid-3.0.STABLE20/include/autoconf.h.in
  106658. --- squid-3.0.STABLE20.orig/include/autoconf.h.in 2009-10-29 11:05:43.000000000 +0100
  106659. +++ squid-3.0.STABLE20/include/autoconf.h.in 2010-02-19 00:38:05.664854676 +0100
  106660. @@ -1,5 +1,8 @@
  106661. /* include/autoconf.h.in. Generated from configure.in by autoheader. */
  106662. +/* Define if building universal (internal helper macro) */
  106663. +#undef AC_APPLE_UNIVERSAL_BUILD
  106664. +
  106665. /* Defines how many threads aufs uses for I/O */
  106666. #undef AUFS_IO_THREADS
  106667. @@ -115,6 +118,10 @@
  106668. /* Define to 1 if you have the <db.h> header file. */
  106669. #undef HAVE_DB_H
  106670. +/* Define to 1 if you have the declaration of `cygwin_conv_path', and to 0 if
  106671. + you don't. */
  106672. +#undef HAVE_DECL_CYGWIN_CONV_PATH
  106673. +
  106674. /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
  106675. */
  106676. #undef HAVE_DIRENT_H
  106677. @@ -272,6 +279,9 @@
  106678. /* Define to 1 if you have the `dl' library (-ldl). */
  106679. #undef HAVE_LIBDL
  106680. +/* Define if libdlloader will be built on this platform */
  106681. +#undef HAVE_LIBDLLOADER
  106682. +
  106683. /* Define to 1 if you have the `gnumalloc' library (-lgnumalloc). */
  106684. #undef HAVE_LIBGNUMALLOC
  106685. @@ -614,19 +624,19 @@
  106686. /* Define to 1 if you have the `strtoll' function. */
  106687. #undef HAVE_STRTOLL
  106688. -/* Define to 1 if `ip_hl' is member of `struct iphdr'. */
  106689. +/* Define to 1 if `ip_hl' is a member of `struct iphdr'. */
  106690. #undef HAVE_STRUCT_IPHDR_IP_HL
  106691. /* The system provides struct mallinfo */
  106692. #undef HAVE_STRUCT_MALLINFO
  106693. -/* Define to 1 if `mxfast' is member of `struct mallinfo'. */
  106694. +/* Define to 1 if `mxfast' is a member of `struct mallinfo'. */
  106695. #undef HAVE_STRUCT_MALLINFO_MXFAST
  106696. /* The system provides struct rusage */
  106697. #undef HAVE_STRUCT_RUSAGE
  106698. -/* Define to 1 if `tm_gmtoff' is member of `struct tm'. */
  106699. +/* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
  106700. #undef HAVE_STRUCT_TM_TM_GMTOFF
  106701. /* Define to 1 if you have the <syscall.h> header file. */
  106702. @@ -823,6 +833,10 @@
  106703. /* Enable real Transparent Proxy support for Netfilter TPROXY v2. */
  106704. #undef LINUX_TPROXY2
  106705. +/* Define to the sub-directory in which libtool stores uninstalled libraries.
  106706. + */
  106707. +#undef LT_OBJDIR
  106708. +
  106709. /* If we need to declare sys_errlist[] as external */
  106710. #undef NEED_SYS_ERRLIST
  106711. @@ -849,6 +863,9 @@
  106712. /* Define to the one symbol short name of this package. */
  106713. #undef PACKAGE_TARNAME
  106714. +/* Define to the home page for this package. */
  106715. +#undef PACKAGE_URL
  106716. +
  106717. /* Define to the version of this package. */
  106718. #undef PACKAGE_VERSION
  106719. @@ -1049,11 +1066,15 @@
  106720. #undef WITH_VALGRIND
  106721. /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  106722. - significant byte first (like Motorola and SPARC, unlike Intel and VAX). */
  106723. -#if defined __BIG_ENDIAN__
  106724. -# define WORDS_BIGENDIAN 1
  106725. -#elif ! defined __LITTLE_ENDIAN__
  106726. -# undef WORDS_BIGENDIAN
  106727. + significant byte first (like Motorola and SPARC, unlike Intel). */
  106728. +#if defined AC_APPLE_UNIVERSAL_BUILD
  106729. +# if defined __BIG_ENDIAN__
  106730. +# define WORDS_BIGENDIAN 1
  106731. +# endif
  106732. +#else
  106733. +# ifndef WORDS_BIGENDIAN
  106734. +# undef WORDS_BIGENDIAN
  106735. +# endif
  106736. #endif
  106737. /* Define to have malloc statistics */
  106738. diff -Nur squid-3.0.STABLE20.orig/include/autoconf.h.in~ squid-3.0.STABLE20/include/autoconf.h.in~
  106739. --- squid-3.0.STABLE20.orig/include/autoconf.h.in~ 1970-01-01 01:00:00.000000000 +0100
  106740. +++ squid-3.0.STABLE20/include/autoconf.h.in~ 2009-10-29 11:05:43.000000000 +0100
  106741. @@ -0,0 +1,1072 @@
  106742. +/* include/autoconf.h.in. Generated from configure.in by autoheader. */
  106743. +
  106744. +/* Defines how many threads aufs uses for I/O */
  106745. +#undef AUFS_IO_THREADS
  106746. +
  106747. +/* If you are upset that the cachemgr.cgi form comes up with the hostname
  106748. + field blank, then define this to getfullhostname() */
  106749. +#undef CACHEMGR_HOSTNAME
  106750. +
  106751. +/* What default TCP port to use for HTTP listening? */
  106752. +#undef CACHE_HTTP_PORT
  106753. +
  106754. +/* What default UDP port to use for ICP listening? */
  106755. +#undef CACHE_ICP_PORT
  106756. +
  106757. +/* Enable for cbdata debug information */
  106758. +#undef CBDATA_DEBUG
  106759. +
  106760. +/* Host type from configure */
  106761. +#undef CONFIG_HOST_TYPE
  106762. +
  106763. +/* Define if you want to set the COSS membuf size */
  106764. +#undef COSS_MEMBUF_SZ
  106765. +
  106766. +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
  106767. + systems. This function is required for `alloca.c' support on those systems.
  106768. + */
  106769. +#undef CRAY_STACKSEG_END
  106770. +
  106771. +/* Define to 1 if using `alloca.c'. */
  106772. +#undef C_ALLOCA
  106773. +
  106774. +/* Default FD_SETSIZE value */
  106775. +#undef DEFAULT_FD_SETSIZE
  106776. +
  106777. +/* Traffic management via "delay pools". */
  106778. +#undef DELAY_POOLS
  106779. +
  106780. +/* Define if you have problems with memPools and want to disable Pools. */
  106781. +#undef DISABLE_POOLS
  106782. +
  106783. +/* Enable Forw/Via database */
  106784. +#undef FORW_VIA_DB
  106785. +
  106786. +/* If gettimeofday is known to take only one argument */
  106787. +#undef GETTIMEOFDAY_NO_TZP
  106788. +
  106789. +/* Define to 1 if you have `alloca', as a function or macro. */
  106790. +#undef HAVE_ALLOCA
  106791. +
  106792. +/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
  106793. + */
  106794. +#undef HAVE_ALLOCA_H
  106795. +
  106796. +/* Define to 1 if you have the <arpa/inet.h> header file. */
  106797. +#undef HAVE_ARPA_INET_H
  106798. +
  106799. +/* Define to 1 if you have the <arpa/nameser.h> header file. */
  106800. +#undef HAVE_ARPA_NAMESER_H
  106801. +
  106802. +/* Define to 1 if you have the <assert.h> header file. */
  106803. +#undef HAVE_ASSERT_H
  106804. +
  106805. +/* Basic auth module is built */
  106806. +#undef HAVE_AUTH_MODULE_BASIC
  106807. +
  106808. +/* Digest auth module is built */
  106809. +#undef HAVE_AUTH_MODULE_DIGEST
  106810. +
  106811. +/* Negotiate auth module is built */
  106812. +#undef HAVE_AUTH_MODULE_NEGOTIATE
  106813. +
  106814. +/* NTLM auth module is built */
  106815. +#undef HAVE_AUTH_MODULE_NTLM
  106816. +
  106817. +/* Define to 1 if you have the `backtrace_symbols_fd' function. */
  106818. +#undef HAVE_BACKTRACE_SYMBOLS_FD
  106819. +
  106820. +/* Define to 1 if you have the `bcopy' function. */
  106821. +#undef HAVE_BCOPY
  106822. +
  106823. +/* Define to 1 if you have the <bstring.h> header file. */
  106824. +#undef HAVE_BSTRING_H
  106825. +
  106826. +/* Define to 1 if you have the `bswap16' function. */
  106827. +#undef HAVE_BSWAP16
  106828. +
  106829. +/* Define to 1 if you have the `bswap32' function. */
  106830. +#undef HAVE_BSWAP32
  106831. +
  106832. +/* Define to 1 if you have the `bswap_16' function. */
  106833. +#undef HAVE_BSWAP_16
  106834. +
  106835. +/* Define to 1 if you have the `bswap_32' function. */
  106836. +#undef HAVE_BSWAP_32
  106837. +
  106838. +/* Define to 1 if you have the <byteswap.h> header file. */
  106839. +#undef HAVE_BYTESWAP_H
  106840. +
  106841. +/* char is defined in system headers */
  106842. +#undef HAVE_CHAR
  106843. +
  106844. +/* Define to 1 if you have the `crypt' function. */
  106845. +#undef HAVE_CRYPT
  106846. +
  106847. +/* Define to 1 if you have the <crypt.h> header file. */
  106848. +#undef HAVE_CRYPT_H
  106849. +
  106850. +/* Define to 1 if you have the <ctype.h> header file. */
  106851. +#undef HAVE_CTYPE_H
  106852. +
  106853. +/* Define to 1 if you have the <db_185.h> header file. */
  106854. +#undef HAVE_DB_185_H
  106855. +
  106856. +/* Define to 1 if you have the <db.h> header file. */
  106857. +#undef HAVE_DB_H
  106858. +
  106859. +/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
  106860. + */
  106861. +#undef HAVE_DIRENT_H
  106862. +
  106863. +/* Define if you have the GNU dld library. */
  106864. +#undef HAVE_DLD
  106865. +
  106866. +/* Define to 1 if you have the `dlerror' function. */
  106867. +#undef HAVE_DLERROR
  106868. +
  106869. +/* Define to 1 if you have the <dlfcn.h> header file. */
  106870. +#undef HAVE_DLFCN_H
  106871. +
  106872. +/* Define to 1 if you have the `drand48' function. */
  106873. +#undef HAVE_DRAND48
  106874. +
  106875. +/* Define if you have the _dyld_func_lookup function. */
  106876. +#undef HAVE_DYLD
  106877. +
  106878. +/* Define to 1 if you have the `epoll_ctl' function. */
  106879. +#undef HAVE_EPOLL_CTL
  106880. +
  106881. +/* Define to 1 if you have the <errno.h> header file. */
  106882. +#undef HAVE_ERRNO_H
  106883. +
  106884. +/* Define to 1 if you have the <execinfo.h> header file. */
  106885. +#undef HAVE_EXECINFO_H
  106886. +
  106887. +/* Define to 1 if you have the `fchmod' function. */
  106888. +#undef HAVE_FCHMOD
  106889. +
  106890. +/* Define to 1 if you have the <fcntl.h> header file. */
  106891. +#undef HAVE_FCNTL_H
  106892. +
  106893. +/* fd_mask is defined by the system headers */
  106894. +#undef HAVE_FD_MASK
  106895. +
  106896. +/* Define to 1 if you have the <fnmatch.h> header file. */
  106897. +#undef HAVE_FNMATCH_H
  106898. +
  106899. +/* Define to 1 if you have the `getdtablesize' function. */
  106900. +#undef HAVE_GETDTABLESIZE
  106901. +
  106902. +/* Define to 1 if you have the <getopt.h> header file. */
  106903. +#undef HAVE_GETOPT_H
  106904. +
  106905. +/* Define to 1 if you have the `getpagesize' function. */
  106906. +#undef HAVE_GETPAGESIZE
  106907. +
  106908. +/* Define to 1 if you have the `getpass' function. */
  106909. +#undef HAVE_GETPASS
  106910. +
  106911. +/* Define to 1 if you have the `getrlimit' function. */
  106912. +#undef HAVE_GETRLIMIT
  106913. +
  106914. +/* Define to 1 if you have the `getrusage' function. */
  106915. +#undef HAVE_GETRUSAGE
  106916. +
  106917. +/* Define to 1 if you have the `getspnam' function. */
  106918. +#undef HAVE_GETSPNAM
  106919. +
  106920. +/* Define to 1 if you have the `gettimeofday' function. */
  106921. +#undef HAVE_GETTIMEOFDAY
  106922. +
  106923. +/* Define to 1 if you have the <glib.h> header file. */
  106924. +#undef HAVE_GLIB_H
  106925. +
  106926. +/* Define to 1 if you have the `glob' function. */
  106927. +#undef HAVE_GLOB
  106928. +
  106929. +/* Define to 1 if you have the <glob.h> header file. */
  106930. +#undef HAVE_GLOB_H
  106931. +
  106932. +/* Define to 1 if you have the <gnumalloc.h> header file. */
  106933. +#undef HAVE_GNUMALLOC_H
  106934. +
  106935. +/* Define to 1 if you have the <grp.h> header file. */
  106936. +#undef HAVE_GRP_H
  106937. +
  106938. +/* Define to 1 if you have the <gssapi/gssapi_generic.h> header file. */
  106939. +#undef HAVE_GSSAPI_GSSAPI_GENERIC_H
  106940. +
  106941. +/* Define to 1 if you have the <gssapi/gssapi.h> header file. */
  106942. +#undef HAVE_GSSAPI_GSSAPI_H
  106943. +
  106944. +/* Define to 1 if you have the <gssapi/gssapi_krb5.h> header file. */
  106945. +#undef HAVE_GSSAPI_GSSAPI_KRB5_H
  106946. +
  106947. +/* Define to 1 if you have the <gssapi.h> header file. */
  106948. +#undef HAVE_GSSAPI_H
  106949. +
  106950. +/* Define to 1 if you have Heimdal Kerberos */
  106951. +#undef HAVE_HEIMDAL_KERBEROS
  106952. +
  106953. +/* Define to 1 if you have the `htobe16' function. */
  106954. +#undef HAVE_HTOBE16
  106955. +
  106956. +/* Define to 1 if you have the `htole16' function. */
  106957. +#undef HAVE_HTOLE16
  106958. +
  106959. +/* Define to 1 if you have the `initgroups' function. */
  106960. +#undef HAVE_INITGROUPS
  106961. +
  106962. +/* int is defined in system headers */
  106963. +#undef HAVE_INT
  106964. +
  106965. +/* int16_t is defined in system headers */
  106966. +#undef HAVE_INT16_T
  106967. +
  106968. +/* int32_t is defined in system headers */
  106969. +#undef HAVE_INT32_T
  106970. +
  106971. +/* int64_t is defined in system headers */
  106972. +#undef HAVE_INT64_T
  106973. +
  106974. +/* int8_t is defined in system headers */
  106975. +#undef HAVE_INT8_T
  106976. +
  106977. +/* Define to 1 if you have the <inttypes.h> header file. */
  106978. +#undef HAVE_INTTYPES_H
  106979. +
  106980. +/* Define to 1 if you have the <ipl.h> header file. */
  106981. +#undef HAVE_IPL_H
  106982. +
  106983. +/* Define to 1 if you have the <ip_compat.h> header file. */
  106984. +#undef HAVE_IP_COMPAT_H
  106985. +
  106986. +/* Define to 1 if you have the <ip_fil_compat.h> header file. */
  106987. +#undef HAVE_IP_FIL_COMPAT_H
  106988. +
  106989. +/* Define to 1 if you have the <ip_fil.h> header file. */
  106990. +#undef HAVE_IP_FIL_H
  106991. +
  106992. +/* Define to 1 if you have the <ip_nat.h> header file. */
  106993. +#undef HAVE_IP_NAT_H
  106994. +
  106995. +/* Define to 1 if you have the `kqueue' function. */
  106996. +#undef HAVE_KQUEUE
  106997. +
  106998. +/* Define to 1 if you have the `44bsd' library (-l44bsd). */
  106999. +#undef HAVE_LIB44BSD
  107000. +
  107001. +/* Define to 1 if you have the `aio' library (-laio). */
  107002. +#undef HAVE_LIBAIO
  107003. +
  107004. +/* Define to 1 if you have the `bind' library (-lbind). */
  107005. +#undef HAVE_LIBBIND
  107006. +
  107007. +/* Define to 1 if you have the `bsd' library (-lbsd). */
  107008. +#undef HAVE_LIBBSD
  107009. +
  107010. +/* Define to 1 if you have the <libc.h> header file. */
  107011. +#undef HAVE_LIBC_H
  107012. +
  107013. +/* Define to 1 if you have the `dl' library (-ldl). */
  107014. +#undef HAVE_LIBDL
  107015. +
  107016. +/* Define to 1 if you have the `gnumalloc' library (-lgnumalloc). */
  107017. +#undef HAVE_LIBGNUMALLOC
  107018. +
  107019. +/* Define to 1 if you have the `intl' library (-lintl). */
  107020. +#undef HAVE_LIBINTL
  107021. +
  107022. +/* Define to 1 if you have the `m' library (-lm). */
  107023. +#undef HAVE_LIBM
  107024. +
  107025. +/* Define to 1 if you have the `malloc' library (-lmalloc). */
  107026. +#undef HAVE_LIBMALLOC
  107027. +
  107028. +/* Define to 1 if you have the `nsl' library (-lnsl). */
  107029. +#undef HAVE_LIBNSL
  107030. +
  107031. +/* Define to 1 if you have the `pthread' library (-lpthread). */
  107032. +#undef HAVE_LIBPTHREAD
  107033. +
  107034. +/* Define to 1 if you have the `resolv' library (-lresolv). */
  107035. +#undef HAVE_LIBRESOLV
  107036. +
  107037. +/* Define to 1 if you have the `rt' library (-lrt). */
  107038. +#undef HAVE_LIBRT
  107039. +
  107040. +/* Define to 1 if you have the `socket' library (-lsocket). */
  107041. +#undef HAVE_LIBSOCKET
  107042. +
  107043. +/* Define to 1 if you have the <libxml/parser.h> header file. */
  107044. +#undef HAVE_LIBXML_PARSER_H
  107045. +
  107046. +/* Define to 1 if you have the <limits.h> header file. */
  107047. +#undef HAVE_LIMITS_H
  107048. +
  107049. +/* Define to 1 if you have the <linux/netfilter_ipv4.h> header file. */
  107050. +#undef HAVE_LINUX_NETFILTER_IPV4_H
  107051. +
  107052. +/* Define to 1 if you have the <linux/netfilter_ipv4/ip_tproxy.h> header file.
  107053. + */
  107054. +#undef HAVE_LINUX_NETFILTER_IPV4_IP_TPROXY_H
  107055. +
  107056. +/* Define to 1 if you have the <linux/types.h> header file. */
  107057. +#undef HAVE_LINUX_TYPES_H
  107058. +
  107059. +/* long is defined in system headers */
  107060. +#undef HAVE_LONG
  107061. +
  107062. +/* long long is defined in system headers */
  107063. +#undef HAVE_LONG_LONG
  107064. +
  107065. +/* Define to 1 if you have the `lrand48' function. */
  107066. +#undef HAVE_LRAND48
  107067. +
  107068. +/* Define to 1 if you have the <machine/byte_swap.h> header file. */
  107069. +#undef HAVE_MACHINE_BYTE_SWAP_H
  107070. +
  107071. +/* Define to 1 if you have the `mallinfo' function. */
  107072. +#undef HAVE_MALLINFO
  107073. +
  107074. +/* Define to 1 if you have the `mallocblksize' function. */
  107075. +#undef HAVE_MALLOCBLKSIZE
  107076. +
  107077. +/* Define to 1 if you have the <malloc.h> header file. */
  107078. +#undef HAVE_MALLOC_H
  107079. +
  107080. +/* Define to 1 if you have the `mallopt' function. */
  107081. +#undef HAVE_MALLOPT
  107082. +
  107083. +/* Define to 1 if you have the <math.h> header file. */
  107084. +#undef HAVE_MATH_H
  107085. +
  107086. +/* Define to 1 if you have the `memcpy' function. */
  107087. +#undef HAVE_MEMCPY
  107088. +
  107089. +/* Define to 1 if you have the `memmove' function. */
  107090. +#undef HAVE_MEMMOVE
  107091. +
  107092. +/* Define to 1 if you have the <memory.h> header file. */
  107093. +#undef HAVE_MEMORY_H
  107094. +
  107095. +/* Define to 1 if you have the `memset' function. */
  107096. +#undef HAVE_MEMSET
  107097. +
  107098. +/* Define to 1 if you have MIT Kerberos */
  107099. +#undef HAVE_MIT_KERBEROS
  107100. +
  107101. +/* Define to 1 if you have the `mkstemp' function. */
  107102. +#undef HAVE_MKSTEMP
  107103. +
  107104. +/* Define to 1 if you have the `mktime' function. */
  107105. +#undef HAVE_MKTIME
  107106. +
  107107. +/* mode_t is defined by the system headers */
  107108. +#undef HAVE_MODE_T
  107109. +
  107110. +/* Define to 1 if you have the <mount.h> header file. */
  107111. +#undef HAVE_MOUNT_H
  107112. +
  107113. +/* Define to 1 if you have the `mstats' function. */
  107114. +#undef HAVE_MSTATS
  107115. +
  107116. +/* mtyp_t is defined by the system headers */
  107117. +#undef HAVE_MTYP_T
  107118. +
  107119. +/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
  107120. +#undef HAVE_NDIR_H
  107121. +
  107122. +/* Define to 1 if you have the <netdb.h> header file. */
  107123. +#undef HAVE_NETDB_H
  107124. +
  107125. +/* Define to 1 if you have the <netinet/if_ether.h> header file. */
  107126. +#undef HAVE_NETINET_IF_ETHER_H
  107127. +
  107128. +/* Define to 1 if you have the <netinet/in.h> header file. */
  107129. +#undef HAVE_NETINET_IN_H
  107130. +
  107131. +/* Define to 1 if you have the <netinet/ipl.h> header file. */
  107132. +#undef HAVE_NETINET_IPL_H
  107133. +
  107134. +/* Define to 1 if you have the <netinet/ip_compat.h> header file. */
  107135. +#undef HAVE_NETINET_IP_COMPAT_H
  107136. +
  107137. +/* Define to 1 if you have the <netinet/ip_fil_compat.h> header file. */
  107138. +#undef HAVE_NETINET_IP_FIL_COMPAT_H
  107139. +
  107140. +/* Define to 1 if you have the <netinet/ip_fil.h> header file. */
  107141. +#undef HAVE_NETINET_IP_FIL_H
  107142. +
  107143. +/* Define to 1 if you have the <netinet/ip.h> header file. */
  107144. +#undef HAVE_NETINET_IP_H
  107145. +
  107146. +/* Define to 1 if you have the <netinet/ip_icmp.h> header file. */
  107147. +#undef HAVE_NETINET_IP_ICMP_H
  107148. +
  107149. +/* Define to 1 if you have the <netinet/ip_nat.h> header file. */
  107150. +#undef HAVE_NETINET_IP_NAT_H
  107151. +
  107152. +/* Define to 1 if you have the <netinet/tcp.h> header file. */
  107153. +#undef HAVE_NETINET_TCP_H
  107154. +
  107155. +/* Define to 1 if you have the <net/if.h> header file. */
  107156. +#undef HAVE_NET_IF_H
  107157. +
  107158. +/* Define to 1 if you have the <net/pfvar.h> header file. */
  107159. +#undef HAVE_NET_PFVAR_H
  107160. +
  107161. +/* Define to 1 if you have the <net/pf/pfvar.h> header file. */
  107162. +#undef HAVE_NET_PF_PFVAR_H
  107163. +
  107164. +/* off_t is defined by the system headers */
  107165. +#undef HAVE_OFF_T
  107166. +
  107167. +/* Define to 1 if you have the <openssl/engine.h> header file. */
  107168. +#undef HAVE_OPENSSL_ENGINE_H
  107169. +
  107170. +/* Define to 1 if you have the <openssl/err.h> header file. */
  107171. +#undef HAVE_OPENSSL_ERR_H
  107172. +
  107173. +/* Define to 1 if you have the <openssl/md5.h> header file. */
  107174. +#undef HAVE_OPENSSL_MD5_H
  107175. +
  107176. +/* Define to 1 if you have the <openssl/ssl.h> header file. */
  107177. +#undef HAVE_OPENSSL_SSL_H
  107178. +
  107179. +/* pad128_t is defined in system headers */
  107180. +#undef HAVE_PAD128_T
  107181. +
  107182. +/* Define to 1 if you have the <paths.h> header file. */
  107183. +#undef HAVE_PATHS_H
  107184. +
  107185. +/* pid_t is defined by the system headers */
  107186. +#undef HAVE_PID_T
  107187. +
  107188. +/* Define to 1 if you have the `poll' function. */
  107189. +#undef HAVE_POLL
  107190. +
  107191. +/* Define to 1 if you have the <poll.h> header file. */
  107192. +#undef HAVE_POLL_H
  107193. +
  107194. +/* Define to 1 if you have the `prctl' function. */
  107195. +#undef HAVE_PRCTL
  107196. +
  107197. +/* Define to 1 if you have the `pthread_attr_setschedparam' function. */
  107198. +#undef HAVE_PTHREAD_ATTR_SETSCHEDPARAM
  107199. +
  107200. +/* Define to 1 if you have the `pthread_attr_setscope' function. */
  107201. +#undef HAVE_PTHREAD_ATTR_SETSCOPE
  107202. +
  107203. +/* Define to 1 if you have the `pthread_setschedparam' function. */
  107204. +#undef HAVE_PTHREAD_SETSCHEDPARAM
  107205. +
  107206. +/* Define to 1 if you have the `pthread_sigmask' function. */
  107207. +#undef HAVE_PTHREAD_SIGMASK
  107208. +
  107209. +/* Define to 1 if you have the `putenv' function. */
  107210. +#undef HAVE_PUTENV
  107211. +
  107212. +/* Define to 1 if you have the <pwd.h> header file. */
  107213. +#undef HAVE_PWD_H
  107214. +
  107215. +/* Define to 1 if you have the `random' function. */
  107216. +#undef HAVE_RANDOM
  107217. +
  107218. +/* Define to 1 if you have the `regcomp' function. */
  107219. +#undef HAVE_REGCOMP
  107220. +
  107221. +/* Define to 1 if you have the `regexec' function. */
  107222. +#undef HAVE_REGEXEC
  107223. +
  107224. +/* Define to 1 if you have the <regex.h> header file. */
  107225. +#undef HAVE_REGEX_H
  107226. +
  107227. +/* Define to 1 if you have the `regfree' function. */
  107228. +#undef HAVE_REGFREE
  107229. +
  107230. +/* Define to 1 if you have the <resolv.h> header file. */
  107231. +#undef HAVE_RESOLV_H
  107232. +
  107233. +/* Define to 1 if you have the `res_init' function. */
  107234. +#undef HAVE_RES_INIT
  107235. +
  107236. +/* If _res structure has nsaddr_list member */
  107237. +#undef HAVE_RES_NSADDR_LIST
  107238. +
  107239. +/* If _res structure has ns_list member */
  107240. +#undef HAVE_RES_NS_LIST
  107241. +
  107242. +/* Define to 1 if you have the `rint' function. */
  107243. +#undef HAVE_RINT
  107244. +
  107245. +/* Define to 1 if you have the <sasl.h> header file. */
  107246. +#undef HAVE_SASL_H
  107247. +
  107248. +/* Define to 1 if you have the <sasl/sasl.h> header file. */
  107249. +#undef HAVE_SASL_SASL_H
  107250. +
  107251. +/* Define to 1 if you have the `sbrk' function. */
  107252. +#undef HAVE_SBRK
  107253. +
  107254. +/* Define to 1 if you have the <sched.h> header file. */
  107255. +#undef HAVE_SCHED_H
  107256. +
  107257. +/* Define to 1 if you have the `select' function. */
  107258. +#undef HAVE_SELECT
  107259. +
  107260. +/* Define to 1 if you have the `seteuid' function. */
  107261. +#undef HAVE_SETEUID
  107262. +
  107263. +/* Define to 1 if you have the `setgroups' function. */
  107264. +#undef HAVE_SETGROUPS
  107265. +
  107266. +/* Define to 1 if you have the `setpgrp' function. */
  107267. +#undef HAVE_SETPGRP
  107268. +
  107269. +/* Yay! Another Linux brokenness. Its not good enough to know that setresuid()
  107270. + exists, because RedHat 5.0 declare setresuid() but doesn't implement it. */
  107271. +#undef HAVE_SETRESUID
  107272. +
  107273. +/* Define to 1 if you have the `setrlimit' function. */
  107274. +#undef HAVE_SETRLIMIT
  107275. +
  107276. +/* Define to 1 if you have the `setsid' function. */
  107277. +#undef HAVE_SETSID
  107278. +
  107279. +/* Define to 1 if you have the <shadow.h> header file. */
  107280. +#undef HAVE_SHADOW_H
  107281. +
  107282. +/* Define if you have the shl_load function. */
  107283. +#undef HAVE_SHL_LOAD
  107284. +
  107285. +/* short is defined in system headers */
  107286. +#undef HAVE_SHORT
  107287. +
  107288. +/* Define to 1 if you have the `sigaction' function. */
  107289. +#undef HAVE_SIGACTION
  107290. +
  107291. +/* Define to 1 if you have the <signal.h> header file. */
  107292. +#undef HAVE_SIGNAL_H
  107293. +
  107294. +/* size_t is defined by the system headers */
  107295. +#undef HAVE_SIZE_T
  107296. +
  107297. +/* Define to 1 if you have the `snprintf' function. */
  107298. +#undef HAVE_SNPRINTF
  107299. +
  107300. +/* Define to 1 if you have the `socketpair' function. */
  107301. +#undef HAVE_SOCKETPAIR
  107302. +
  107303. +/* socklen_t is defined by the system headers */
  107304. +#undef HAVE_SOCKLEN_T
  107305. +
  107306. +/* Define to 1 if you have SPNEGO support */
  107307. +#undef HAVE_SPNEGO
  107308. +
  107309. +/* Define to 1 if you have the `srand48' function. */
  107310. +#undef HAVE_SRAND48
  107311. +
  107312. +/* Define to 1 if you have the `srandom' function. */
  107313. +#undef HAVE_SRANDOM
  107314. +
  107315. +/* ssize_t is defined by the system headers */
  107316. +#undef HAVE_SSIZE_T
  107317. +
  107318. +/* Define to 1 if you have the `statfs' function. */
  107319. +#undef HAVE_STATFS
  107320. +
  107321. +/* If your system has statvfs(), and if it actually works! */
  107322. +#undef HAVE_STATVFS
  107323. +
  107324. +/* Define to 1 if you have the <stdarg.h> header file. */
  107325. +#undef HAVE_STDARG_H
  107326. +
  107327. +/* Define to 1 if you have the <stddef.h> header file. */
  107328. +#undef HAVE_STDDEF_H
  107329. +
  107330. +/* Define to 1 if you have the <stdint.h> header file. */
  107331. +#undef HAVE_STDINT_H
  107332. +
  107333. +/* Define to 1 if you have the <stdio.h> header file. */
  107334. +#undef HAVE_STDIO_H
  107335. +
  107336. +/* Define to 1 if you have the <stdlib.h> header file. */
  107337. +#undef HAVE_STDLIB_H
  107338. +
  107339. +/* Define to 1 if you have the `strerror' function. */
  107340. +#undef HAVE_STRERROR
  107341. +
  107342. +/* Define to 1 if you have the <strings.h> header file. */
  107343. +#undef HAVE_STRINGS_H
  107344. +
  107345. +/* Define to 1 if you have the <string.h> header file. */
  107346. +#undef HAVE_STRING_H
  107347. +
  107348. +/* Yay! A MacOS X brokenness. Its not good enough to know that strnstr()
  107349. + exists, because MacOSX 10.4 and earlier may have a buffer overrun. */
  107350. +#undef HAVE_STRNSTR
  107351. +
  107352. +/* Define to 1 if you have the `strsep' function. */
  107353. +#undef HAVE_STRSEP
  107354. +
  107355. +/* Define to 1 if you have the `strtoll' function. */
  107356. +#undef HAVE_STRTOLL
  107357. +
  107358. +/* Define to 1 if `ip_hl' is member of `struct iphdr'. */
  107359. +#undef HAVE_STRUCT_IPHDR_IP_HL
  107360. +
  107361. +/* The system provides struct mallinfo */
  107362. +#undef HAVE_STRUCT_MALLINFO
  107363. +
  107364. +/* Define to 1 if `mxfast' is member of `struct mallinfo'. */
  107365. +#undef HAVE_STRUCT_MALLINFO_MXFAST
  107366. +
  107367. +/* The system provides struct rusage */
  107368. +#undef HAVE_STRUCT_RUSAGE
  107369. +
  107370. +/* Define to 1 if `tm_gmtoff' is member of `struct tm'. */
  107371. +#undef HAVE_STRUCT_TM_TM_GMTOFF
  107372. +
  107373. +/* Define to 1 if you have the <syscall.h> header file. */
  107374. +#undef HAVE_SYSCALL_H
  107375. +
  107376. +/* Define to 1 if you have the `sysconf' function. */
  107377. +#undef HAVE_SYSCONF
  107378. +
  107379. +/* Define to 1 if you have the `syslog' function. */
  107380. +#undef HAVE_SYSLOG
  107381. +
  107382. +/* Define to 1 if you have the <syslog.h> header file. */
  107383. +#undef HAVE_SYSLOG_H
  107384. +
  107385. +/* Define to 1 if you have the <sys/bitypes.h> header file. */
  107386. +#undef HAVE_SYS_BITYPES_H
  107387. +
  107388. +/* Define to 1 if you have the <sys/bswap.h> header file. */
  107389. +#undef HAVE_SYS_BSWAP_H
  107390. +
  107391. +/* Define to 1 if you have the <sys/capability.h> header file. */
  107392. +#undef HAVE_SYS_CAPABILITY_H
  107393. +
  107394. +/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
  107395. + */
  107396. +#undef HAVE_SYS_DIR_H
  107397. +
  107398. +/* Define to 1 if you have the <sys/endian.h> header file. */
  107399. +#undef HAVE_SYS_ENDIAN_H
  107400. +
  107401. +/* Define to 1 if you have the <sys/file.h> header file. */
  107402. +#undef HAVE_SYS_FILE_H
  107403. +
  107404. +/* Define to 1 if you have the <sys/ioctl.h> header file. */
  107405. +#undef HAVE_SYS_IOCTL_H
  107406. +
  107407. +/* Define to 1 if you have the <sys/md5.h> header file. */
  107408. +#undef HAVE_SYS_MD5_H
  107409. +
  107410. +/* Define to 1 if you have the <sys/mount.h> header file. */
  107411. +#undef HAVE_SYS_MOUNT_H
  107412. +
  107413. +/* Define to 1 if you have the <sys/msg.h> header file. */
  107414. +#undef HAVE_SYS_MSG_H
  107415. +
  107416. +/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
  107417. + */
  107418. +#undef HAVE_SYS_NDIR_H
  107419. +
  107420. +/* Define to 1 if you have the <sys/param.h> header file. */
  107421. +#undef HAVE_SYS_PARAM_H
  107422. +
  107423. +/* Define to 1 if you have the <sys/prctl.h> header file. */
  107424. +#undef HAVE_SYS_PRCTL_H
  107425. +
  107426. +/* Define to 1 if you have the <sys/resource.h> header file. */
  107427. +#undef HAVE_SYS_RESOURCE_H
  107428. +
  107429. +/* Define to 1 if you have the <sys/select.h> header file. */
  107430. +#undef HAVE_SYS_SELECT_H
  107431. +
  107432. +/* Define to 1 if you have the <sys/socket.h> header file. */
  107433. +#undef HAVE_SYS_SOCKET_H
  107434. +
  107435. +/* Define to 1 if you have the <sys/statvfs.h> header file. */
  107436. +#undef HAVE_SYS_STATVFS_H
  107437. +
  107438. +/* Define to 1 if you have the <sys/stat.h> header file. */
  107439. +#undef HAVE_SYS_STAT_H
  107440. +
  107441. +/* Define to 1 if you have the <sys/syscall.h> header file. */
  107442. +#undef HAVE_SYS_SYSCALL_H
  107443. +
  107444. +/* Define to 1 if you have the <sys/time.h> header file. */
  107445. +#undef HAVE_SYS_TIME_H
  107446. +
  107447. +/* Define to 1 if you have the <sys/types.h> header file. */
  107448. +#undef HAVE_SYS_TYPES_H
  107449. +
  107450. +/* Define to 1 if you have the <sys/un.h> header file. */
  107451. +#undef HAVE_SYS_UN_H
  107452. +
  107453. +/* Define to 1 if you have the <sys/vfs.h> header file. */
  107454. +#undef HAVE_SYS_VFS_H
  107455. +
  107456. +/* Define to 1 if you have the <sys/wait.h> header file. */
  107457. +#undef HAVE_SYS_WAIT_H
  107458. +
  107459. +/* Define to 1 if you have the `tempnam' function. */
  107460. +#undef HAVE_TEMPNAM
  107461. +
  107462. +/* Define to 1 if you have the `timegm' function. */
  107463. +#undef HAVE_TIMEGM
  107464. +
  107465. +/* Define to 1 if you have the <time.h> header file. */
  107466. +#undef HAVE_TIME_H
  107467. +
  107468. +/* uint16_t is defined in system headers */
  107469. +#undef HAVE_UINT16_T
  107470. +
  107471. +/* uint32_t is defined in system headers */
  107472. +#undef HAVE_UINT32_T
  107473. +
  107474. +/* uint64_t is defined in system headers */
  107475. +#undef HAVE_UINT64_T
  107476. +
  107477. +/* uint8_t is defined in system headers */
  107478. +#undef HAVE_UINT8_T
  107479. +
  107480. +/* Define to 1 if you have the <unistd.h> header file. */
  107481. +#undef HAVE_UNISTD_H
  107482. +
  107483. +/* Do we have unix sockets? (required for the winbind ntlm helper */
  107484. +#undef HAVE_UNIXSOCKET
  107485. +
  107486. +/* upad128_t is defined in system headers */
  107487. +#undef HAVE_UPAD128_T
  107488. +
  107489. +/* Define to 1 if you have the <utime.h> header file. */
  107490. +#undef HAVE_UTIME_H
  107491. +
  107492. +/* u_int16_t is defined in system headers */
  107493. +#undef HAVE_U_INT16_T
  107494. +
  107495. +/* u_int32_t is defined in system headers */
  107496. +#undef HAVE_U_INT32_T
  107497. +
  107498. +/* u_int64_t is defined in system headers */
  107499. +#undef HAVE_U_INT64_T
  107500. +
  107501. +/* u_int8_t is defined in system headers */
  107502. +#undef HAVE_U_INT8_T
  107503. +
  107504. +/* Define to 1 if you have the <varargs.h> header file. */
  107505. +#undef HAVE_VARARGS_H
  107506. +
  107507. +/* If your system have va_copy */
  107508. +#undef HAVE_VA_COPY
  107509. +
  107510. +/* Define to 1 if you have the `vsnprintf' function. */
  107511. +#undef HAVE_VSNPRINTF
  107512. +
  107513. +/* Define if you have PSAPI.DLL on Windows systems */
  107514. +#undef HAVE_WIN32_PSAPI
  107515. +
  107516. +/* Define to 1 if you have the <winsock2.h> header file. */
  107517. +#undef HAVE_WINSOCK2_H
  107518. +
  107519. +/* Define to 1 if you have the <winsock.h> header file. */
  107520. +#undef HAVE_WINSOCK_H
  107521. +
  107522. +/* __int64 is defined in system headers */
  107523. +#undef HAVE___INT64
  107524. +
  107525. +/* Define to 1 if you have the `__res_init' function. */
  107526. +#undef HAVE___RES_INIT
  107527. +
  107528. +/* Some systems have __va_copy instead of va_copy */
  107529. +#undef HAVE___VA_COPY
  107530. +
  107531. +/* By default (for now anyway) Squid includes options which allows the cache
  107532. + administrator to violate the HTTP protocol specification in terms of cache
  107533. + behaviour. Setting this to '0' will disable such code. */
  107534. +#undef HTTP_VIOLATIONS
  107535. +
  107536. +/* Enable ICAP client features in Squid */
  107537. +#undef ICAP_CLIENT
  107538. +
  107539. +/* Enable support for Transparent Proxy on systems using FreeBSD IPFW address
  107540. + redirection. */
  107541. +#undef IPFW_TRANSPARENT
  107542. +
  107543. +/* Enable support for Transparent Proxy on systems using IP-Filter address
  107544. + redirection. This provides "masquerading" support for non Linux system. */
  107545. +#undef IPF_TRANSPARENT
  107546. +
  107547. +/* A dangerous feature which causes Squid to kill its parent process
  107548. + (presumably the RunCache script) upon receipt of SIGTERM or SIGINT. Use
  107549. + with caution. */
  107550. +#undef KILL_PARENT_OPT
  107551. +
  107552. +/* if libcap2 is available and not clashing with libc */
  107553. +#undef LIBCAP_BROKEN
  107554. +
  107555. +/* If libresolv.a has been hacked to export _dns_ttl_ */
  107556. +#undef LIBRESOLV_DNS_TTL_HACK
  107557. +
  107558. +/* Enable support for Transparent Proxy on Linux (Netfilter) systems */
  107559. +#undef LINUX_NETFILTER
  107560. +
  107561. +/* Enable real Transparent Proxy support for Netfilter TPROXY. */
  107562. +#undef LINUX_TPROXY
  107563. +
  107564. +/* Enable real Transparent Proxy support for Netfilter TPROXY v2. */
  107565. +#undef LINUX_TPROXY2
  107566. +
  107567. +/* If we need to declare sys_errlist[] as external */
  107568. +#undef NEED_SYS_ERRLIST
  107569. +
  107570. +/* Define to 1 if your C compiler doesn't accept -c and -o together. */
  107571. +#undef NO_MINUS_C_MINUS_O
  107572. +
  107573. +/* Define if NTLM is allowed to fail gracefully when a helper has problems.
  107574. + WARNING: This has security implications. DO NOT enable unless you KNOW you
  107575. + need it. */
  107576. +#undef NTLM_FAIL_OPEN
  107577. +
  107578. +/* Name of package */
  107579. +#undef PACKAGE
  107580. +
  107581. +/* Define to the address where bug reports for this package should be sent. */
  107582. +#undef PACKAGE_BUGREPORT
  107583. +
  107584. +/* Define to the full name of this package. */
  107585. +#undef PACKAGE_NAME
  107586. +
  107587. +/* Define to the full name and version of this package. */
  107588. +#undef PACKAGE_STRING
  107589. +
  107590. +/* Define to the one symbol short name of this package. */
  107591. +#undef PACKAGE_TARNAME
  107592. +
  107593. +/* Define to the version of this package. */
  107594. +#undef PACKAGE_VERSION
  107595. +
  107596. +/* Enable support for Transparent Proxy on systems using PF address
  107597. + redirection. This provides "masquerading" support for OpenBSD. */
  107598. +#undef PF_TRANSPARENT
  107599. +
  107600. +/* Print stacktraces on fatal errors */
  107601. +#undef PRINT_STACK_TRACE
  107602. +
  107603. +/* The size of `char', as computed by sizeof. */
  107604. +#undef SIZEOF_CHAR
  107605. +
  107606. +/* The size of `int', as computed by sizeof. */
  107607. +#undef SIZEOF_INT
  107608. +
  107609. +/* The size of `int16_t', as computed by sizeof. */
  107610. +#undef SIZEOF_INT16_T
  107611. +
  107612. +/* The size of `int32_t', as computed by sizeof. */
  107613. +#undef SIZEOF_INT32_T
  107614. +
  107615. +/* The size of `int64_t', as computed by sizeof. */
  107616. +#undef SIZEOF_INT64_T
  107617. +
  107618. +/* The size of `int8_t', as computed by sizeof. */
  107619. +#undef SIZEOF_INT8_T
  107620. +
  107621. +/* The size of `long', as computed by sizeof. */
  107622. +#undef SIZEOF_LONG
  107623. +
  107624. +/* The size of `long long', as computed by sizeof. */
  107625. +#undef SIZEOF_LONG_LONG
  107626. +
  107627. +/* The size of `off_t', as computed by sizeof. */
  107628. +#undef SIZEOF_OFF_T
  107629. +
  107630. +/* The size of `short', as computed by sizeof. */
  107631. +#undef SIZEOF_SHORT
  107632. +
  107633. +/* The size of `size_t', as computed by sizeof. */
  107634. +#undef SIZEOF_SIZE_T
  107635. +
  107636. +/* The size of `uint16_t', as computed by sizeof. */
  107637. +#undef SIZEOF_UINT16_T
  107638. +
  107639. +/* The size of `uint32_t', as computed by sizeof. */
  107640. +#undef SIZEOF_UINT32_T
  107641. +
  107642. +/* The size of `uint64_t', as computed by sizeof. */
  107643. +#undef SIZEOF_UINT64_T
  107644. +
  107645. +/* The size of `uint8_t', as computed by sizeof. */
  107646. +#undef SIZEOF_UINT8_T
  107647. +
  107648. +/* The size of `u_int16_t', as computed by sizeof. */
  107649. +#undef SIZEOF_U_INT16_T
  107650. +
  107651. +/* The size of `u_int32_t', as computed by sizeof. */
  107652. +#undef SIZEOF_U_INT32_T
  107653. +
  107654. +/* The size of `u_int64_t', as computed by sizeof. */
  107655. +#undef SIZEOF_U_INT64_T
  107656. +
  107657. +/* The size of `u_int8_t', as computed by sizeof. */
  107658. +#undef SIZEOF_U_INT8_T
  107659. +
  107660. +/* The size of `void *', as computed by sizeof. */
  107661. +#undef SIZEOF_VOID_P
  107662. +
  107663. +/* The size of `__int64', as computed by sizeof. */
  107664. +#undef SIZEOF___INT64
  107665. +
  107666. +/* configure command line used to configure Squid */
  107667. +#undef SQUID_CONFIGURE_OPTIONS
  107668. +
  107669. +/* UDP receive buffer size */
  107670. +#undef SQUID_DETECT_UDP_SO_RCVBUF
  107671. +
  107672. +/* UDP send buffer size */
  107673. +#undef SQUID_DETECT_UDP_SO_SNDBUF
  107674. +
  107675. +/* Maximum number of open filedescriptors */
  107676. +#undef SQUID_MAXFD
  107677. +
  107678. +/* Define to enable SNMP monitoring of Squid */
  107679. +#undef SQUID_SNMP
  107680. +
  107681. +/* TCP receive buffer size */
  107682. +#undef SQUID_TCP_SO_RCVBUF
  107683. +
  107684. +/* TCP send buffer size */
  107685. +#undef SQUID_TCP_SO_SNDBUF
  107686. +
  107687. +/* If using the C implementation of alloca, define if you know the
  107688. + direction of stack growth for your system; otherwise it will be
  107689. + automatically deduced at runtime.
  107690. + STACK_DIRECTION > 0 => grows toward higher addresses
  107691. + STACK_DIRECTION < 0 => grows toward lower addresses
  107692. + STACK_DIRECTION = 0 => direction of growth unknown */
  107693. +#undef STACK_DIRECTION
  107694. +
  107695. +/* Define to 1 if you have the ANSI C header files. */
  107696. +#undef STDC_HEADERS
  107697. +
  107698. +/* Define to 1 if your <sys/time.h> declares `struct tm'. */
  107699. +#undef TM_IN_SYS_TIME
  107700. +
  107701. +/* Define this to include code which lets you specify access control elements
  107702. + based on ethernet hardware addresses. This code uses functions found in 4.4
  107703. + BSD derviations (e.g. FreeBSD, ?). */
  107704. +#undef USE_ARP_ACL
  107705. +
  107706. +/* Use Cache Digests for locating objects in neighbor caches. This code is
  107707. + still semi-experimental. */
  107708. +#undef USE_CACHE_DIGESTS
  107709. +
  107710. +/* Cache Array Routing Protocol */
  107711. +#undef USE_CARP
  107712. +
  107713. +/* Use dnsserver processes instead of the internal DNS protocol support */
  107714. +#undef USE_DNSSERVERS
  107715. +
  107716. +/* Use epoll() for the IO loop */
  107717. +#undef USE_EPOLL
  107718. +
  107719. +/* Define if we should use GNU regex */
  107720. +#undef USE_GNUREGEX
  107721. +
  107722. +/* Define this to include code for the Hypertext Cache Protocol (HTCP) */
  107723. +#undef USE_HTCP
  107724. +
  107725. +/* If you want to use Squid's ICMP features (highly recommended!) then define
  107726. + this. When USE_ICMP is defined, Squid will send ICMP pings to origin server
  107727. + sites. This information is used in numerous ways: - Sent in ICP replies so
  107728. + neighbor caches know how close you are to the source. - For finding the
  107729. + closest instance of a URN. - With the 'test_reachability' option. Squid
  107730. + will return ICP_OP_MISS_NOFETCH for sites which it cannot ping. */
  107731. +#undef USE_ICMP
  107732. +
  107733. +/* Compile in support for Ident (RFC 931) lookups? Enabled by default. */
  107734. +#undef USE_IDENT
  107735. +
  107736. +/* Use kqueue() for the IO loop */
  107737. +#undef USE_KQUEUE
  107738. +
  107739. +/* Enable code for assisting in finding memory leaks. Hacker stuff only. */
  107740. +#undef USE_LEAKFINDER
  107741. +
  107742. +/* Define this to make use of the OpenSSL libraries for MD5 calculation rather
  107743. + than Squid's own MD5 implementation or if building with SSL encryption
  107744. + (USE_SSL) */
  107745. +#undef USE_OPENSSL
  107746. +
  107747. +/* Use poll() for the IO loop */
  107748. +#undef USE_POLL
  107749. +
  107750. +/* If you want to log Referer request header values, define this. By default,
  107751. + they are written to referer.log in the Squid log directory. */
  107752. +#undef USE_REFERER_LOG
  107753. +
  107754. +/* Use select() for the IO loop */
  107755. +#undef USE_SELECT
  107756. +
  107757. +/* Use Winsock select() for the IO loop */
  107758. +#undef USE_SELECT_WIN32
  107759. +
  107760. +/* Compile the ESI processor and Surrogate header support */
  107761. +#undef USE_SQUID_ESI
  107762. +
  107763. +/* Define this to include code for SSL encryption. */
  107764. +#undef USE_SSL
  107765. +
  107766. +/* Define this if unlinkd is required (strongly recommended for ufs storage
  107767. + type) */
  107768. +#undef USE_UNLINKD
  107769. +
  107770. +/* If you want to log User-Agent request header values, define this. By
  107771. + default, they are written to useragent.log in the Squid log directory. */
  107772. +#undef USE_USERAGENT_LOG
  107773. +
  107774. +/* Define to enable WCCP */
  107775. +#undef USE_WCCP
  107776. +
  107777. +/* Define to enable WCCP V2 */
  107778. +#undef USE_WCCPv2
  107779. +
  107780. +/* Define Windows NT & Windows 2000 run service mode */
  107781. +#undef USE_WIN32_SERVICE
  107782. +
  107783. +/* Define to enable CPU profiling within Squid */
  107784. +#undef USE_XPROF_STATS
  107785. +
  107786. +/* Version number of package */
  107787. +#undef VERSION
  107788. +
  107789. +/* Valgrind memory debugger support */
  107790. +#undef WITH_VALGRIND
  107791. +
  107792. +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  107793. + significant byte first (like Motorola and SPARC, unlike Intel and VAX). */
  107794. +#if defined __BIG_ENDIAN__
  107795. +# define WORDS_BIGENDIAN 1
  107796. +#elif ! defined __LITTLE_ENDIAN__
  107797. +# undef WORDS_BIGENDIAN
  107798. +#endif
  107799. +
  107800. +/* Define to have malloc statistics */
  107801. +#undef XMALLOC_STATISTICS
  107802. +
  107803. +/* Enable support for the X-Accelerator-Vary HTTP header */
  107804. +#undef X_ACCELERATOR_VARY
  107805. +
  107806. +/* Keyword used by squid for inlining methods */
  107807. +#undef _SQUID_INLINE_
  107808. +
  107809. +/* Include inline methods into header file */
  107810. +#undef _USE_INLINE_
  107811. +
  107812. +/* Define to empty if `const' does not conform to ANSI C. */
  107813. +#undef const
  107814. diff -Nur squid-3.0.STABLE20.orig/lib/libTrie/aclocal.m4 squid-3.0.STABLE20/lib/libTrie/aclocal.m4
  107815. --- squid-3.0.STABLE20.orig/lib/libTrie/aclocal.m4 2009-10-29 11:05:44.000000000 +0100
  107816. +++ squid-3.0.STABLE20/lib/libTrie/aclocal.m4 2010-02-19 00:38:22.412855817 +0100
  107817. @@ -1,7 +1,7 @@
  107818. -# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
  107819. +# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
  107820. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  107821. -# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  107822. +# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  107823. # This file is free software; the Free Software Foundation
  107824. # gives unlimited permission to copy and/or distribute it,
  107825. # with or without modifications, as long as this notice is preserved.
  107826. @@ -13,13 +13,13 @@
  107827. m4_ifndef([AC_AUTOCONF_VERSION],
  107828. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  107829. -m4_if(AC_AUTOCONF_VERSION, [2.62],,
  107830. -[m4_warning([this file was generated for autoconf 2.62.
  107831. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
  107832. +[m4_warning([this file was generated for autoconf 2.65.
  107833. You have another version of autoconf. It may work, but is not guaranteed to.
  107834. If you have problems, you may need to regenerate the build system entirely.
  107835. To do so, use the procedure documented by the package, typically `autoreconf'.])])
  107836. -# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
  107837. +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  107838. #
  107839. # This file is free software; the Free Software Foundation
  107840. # gives unlimited permission to copy and/or distribute it,
  107841. @@ -31,10 +31,10 @@
  107842. # generated from the m4 files accompanying Automake X.Y.
  107843. # (This private macro should not be called outside this file.)
  107844. AC_DEFUN([AM_AUTOMAKE_VERSION],
  107845. -[am__api_version='1.10'
  107846. +[am__api_version='1.11'
  107847. dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  107848. dnl require some minimum version. Point them to the right macro.
  107849. -m4_if([$1], [1.10.1], [],
  107850. +m4_if([$1], [1.11.1], [],
  107851. [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  107852. ])
  107853. @@ -48,12 +48,12 @@
  107854. # AM_SET_CURRENT_AUTOMAKE_VERSION
  107855. # -------------------------------
  107856. # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  107857. -# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
  107858. +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  107859. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  107860. -[AM_AUTOMAKE_VERSION([1.10.1])dnl
  107861. +[AM_AUTOMAKE_VERSION([1.11.1])dnl
  107862. m4_ifndef([AC_AUTOCONF_VERSION],
  107863. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  107864. -_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
  107865. +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  107866. # AM_AUX_DIR_EXPAND -*- Autoconf -*-
  107867. @@ -110,14 +110,14 @@
  107868. # AM_CONDITIONAL -*- Autoconf -*-
  107869. -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
  107870. +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
  107871. # Free Software Foundation, Inc.
  107872. #
  107873. # This file is free software; the Free Software Foundation
  107874. # gives unlimited permission to copy and/or distribute it,
  107875. # with or without modifications, as long as this notice is preserved.
  107876. -# serial 8
  107877. +# serial 9
  107878. # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  107879. # -------------------------------------
  107880. @@ -130,6 +130,7 @@
  107881. AC_SUBST([$1_FALSE])dnl
  107882. _AM_SUBST_NOTMAKE([$1_TRUE])dnl
  107883. _AM_SUBST_NOTMAKE([$1_FALSE])dnl
  107884. +m4_define([_AM_COND_VALUE_$1], [$2])dnl
  107885. if $2; then
  107886. $1_TRUE=
  107887. $1_FALSE='#'
  107888. @@ -143,14 +144,14 @@
  107889. Usually this means the macro was only invoked conditionally.]])
  107890. fi])])
  107891. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
  107892. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
  107893. # Free Software Foundation, Inc.
  107894. #
  107895. # This file is free software; the Free Software Foundation
  107896. # gives unlimited permission to copy and/or distribute it,
  107897. # with or without modifications, as long as this notice is preserved.
  107898. -# serial 9
  107899. +# serial 10
  107900. # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
  107901. # written in clear, in which case automake, when reading aclocal.m4,
  107902. @@ -207,6 +208,16 @@
  107903. if test "$am_compiler_list" = ""; then
  107904. am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  107905. fi
  107906. + am__universal=false
  107907. + m4_case([$1], [CC],
  107908. + [case " $depcc " in #(
  107909. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  107910. + esac],
  107911. + [CXX],
  107912. + [case " $depcc " in #(
  107913. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  107914. + esac])
  107915. +
  107916. for depmode in $am_compiler_list; do
  107917. # Setup a source with many dependencies, because some compilers
  107918. # like to wrap large dependency lists on column 80 (with \), and
  107919. @@ -224,7 +235,17 @@
  107920. done
  107921. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  107922. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  107923. + # mode. It turns out that the SunPro C++ compiler does not properly
  107924. + # handle `-M -o', and we need to detect this. Also, some Intel
  107925. + # versions had trouble with output in subdirs
  107926. + am__obj=sub/conftest.${OBJEXT-o}
  107927. + am__minus_obj="-o $am__obj"
  107928. case $depmode in
  107929. + gcc)
  107930. + # This depmode causes a compiler race in universal mode.
  107931. + test "$am__universal" = false || continue
  107932. + ;;
  107933. nosideeffect)
  107934. # after this tag, mechanisms are not by side-effect, so they'll
  107935. # only be used when explicitly requested
  107936. @@ -234,19 +255,23 @@
  107937. break
  107938. fi
  107939. ;;
  107940. + msvisualcpp | msvcmsys)
  107941. + # This compiler won't grok `-c -o', but also, the minuso test has
  107942. + # not run yet. These depmodes are late enough in the game, and
  107943. + # so weak that their functioning should not be impacted.
  107944. + am__obj=conftest.${OBJEXT-o}
  107945. + am__minus_obj=
  107946. + ;;
  107947. none) break ;;
  107948. esac
  107949. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  107950. - # mode. It turns out that the SunPro C++ compiler does not properly
  107951. - # handle `-M -o', and we need to detect this.
  107952. if depmode=$depmode \
  107953. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  107954. + source=sub/conftest.c object=$am__obj \
  107955. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  107956. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  107957. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  107958. >/dev/null 2>conftest.err &&
  107959. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  107960. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  107961. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  107962. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  107963. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  107964. # icc doesn't choke on unknown options, it will just issue warnings
  107965. # or remarks (even with -Werror). So we grep stderr for any message
  107966. @@ -303,57 +328,68 @@
  107967. # Generate code to set up dependency tracking. -*- Autoconf -*-
  107968. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
  107969. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
  107970. # Free Software Foundation, Inc.
  107971. #
  107972. # This file is free software; the Free Software Foundation
  107973. # gives unlimited permission to copy and/or distribute it,
  107974. # with or without modifications, as long as this notice is preserved.
  107975. -#serial 3
  107976. +#serial 5
  107977. # _AM_OUTPUT_DEPENDENCY_COMMANDS
  107978. # ------------------------------
  107979. AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
  107980. -[for mf in $CONFIG_FILES; do
  107981. - # Strip MF so we end up with the name of the file.
  107982. - mf=`echo "$mf" | sed -e 's/:.*$//'`
  107983. - # Check whether this is an Automake generated Makefile or not.
  107984. - # We used to match only the files named `Makefile.in', but
  107985. - # some people rename them; so instead we look at the file content.
  107986. - # Grep'ing the first line is not enough: some people post-process
  107987. - # each Makefile.in and add a new line on top of each file to say so.
  107988. - # Grep'ing the whole file is not good either: AIX grep has a line
  107989. - # limit of 2048, but all sed's we know have understand at least 4000.
  107990. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  107991. - dirpart=`AS_DIRNAME("$mf")`
  107992. - else
  107993. - continue
  107994. - fi
  107995. - # Extract the definition of DEPDIR, am__include, and am__quote
  107996. - # from the Makefile without running `make'.
  107997. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  107998. - test -z "$DEPDIR" && continue
  107999. - am__include=`sed -n 's/^am__include = //p' < "$mf"`
  108000. - test -z "am__include" && continue
  108001. - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  108002. - # When using ansi2knr, U may be empty or an underscore; expand it
  108003. - U=`sed -n 's/^U = //p' < "$mf"`
  108004. - # Find all dependency output files, they are included files with
  108005. - # $(DEPDIR) in their names. We invoke sed twice because it is the
  108006. - # simplest approach to changing $(DEPDIR) to its actual value in the
  108007. - # expansion.
  108008. - for file in `sed -n "
  108009. - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  108010. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  108011. - # Make sure the directory exists.
  108012. - test -f "$dirpart/$file" && continue
  108013. - fdir=`AS_DIRNAME(["$file"])`
  108014. - AS_MKDIR_P([$dirpart/$fdir])
  108015. - # echo "creating $dirpart/$file"
  108016. - echo '# dummy' > "$dirpart/$file"
  108017. +[{
  108018. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  108019. + # are listed without --file. Let's play safe and only enable the eval
  108020. + # if we detect the quoting.
  108021. + case $CONFIG_FILES in
  108022. + *\'*) eval set x "$CONFIG_FILES" ;;
  108023. + *) set x $CONFIG_FILES ;;
  108024. + esac
  108025. + shift
  108026. + for mf
  108027. + do
  108028. + # Strip MF so we end up with the name of the file.
  108029. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  108030. + # Check whether this is an Automake generated Makefile or not.
  108031. + # We used to match only the files named `Makefile.in', but
  108032. + # some people rename them; so instead we look at the file content.
  108033. + # Grep'ing the first line is not enough: some people post-process
  108034. + # each Makefile.in and add a new line on top of each file to say so.
  108035. + # Grep'ing the whole file is not good either: AIX grep has a line
  108036. + # limit of 2048, but all sed's we know have understand at least 4000.
  108037. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  108038. + dirpart=`AS_DIRNAME("$mf")`
  108039. + else
  108040. + continue
  108041. + fi
  108042. + # Extract the definition of DEPDIR, am__include, and am__quote
  108043. + # from the Makefile without running `make'.
  108044. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  108045. + test -z "$DEPDIR" && continue
  108046. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  108047. + test -z "am__include" && continue
  108048. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  108049. + # When using ansi2knr, U may be empty or an underscore; expand it
  108050. + U=`sed -n 's/^U = //p' < "$mf"`
  108051. + # Find all dependency output files, they are included files with
  108052. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  108053. + # simplest approach to changing $(DEPDIR) to its actual value in the
  108054. + # expansion.
  108055. + for file in `sed -n "
  108056. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  108057. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  108058. + # Make sure the directory exists.
  108059. + test -f "$dirpart/$file" && continue
  108060. + fdir=`AS_DIRNAME(["$file"])`
  108061. + AS_MKDIR_P([$dirpart/$fdir])
  108062. + # echo "creating $dirpart/$file"
  108063. + echo '# dummy' > "$dirpart/$file"
  108064. + done
  108065. done
  108066. -done
  108067. +}
  108068. ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
  108069. @@ -385,13 +421,13 @@
  108070. # Do all the work for Automake. -*- Autoconf -*-
  108071. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  108072. -# 2005, 2006, 2008 Free Software Foundation, Inc.
  108073. +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
  108074. #
  108075. # This file is free software; the Free Software Foundation
  108076. # gives unlimited permission to copy and/or distribute it,
  108077. # with or without modifications, as long as this notice is preserved.
  108078. -# serial 13
  108079. +# serial 16
  108080. # This macro actually does too much. Some checks are only needed if
  108081. # your package does certain things. But this isn't really a big deal.
  108082. @@ -408,7 +444,7 @@
  108083. # arguments mandatory, and then we can depend on a new Autoconf
  108084. # release and drop the old call support.
  108085. AC_DEFUN([AM_INIT_AUTOMAKE],
  108086. -[AC_PREREQ([2.60])dnl
  108087. +[AC_PREREQ([2.62])dnl
  108088. dnl Autoconf wants to disallow AM_ names. We explicitly allow
  108089. dnl the ones we care about.
  108090. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  108091. @@ -459,8 +495,8 @@
  108092. AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  108093. AM_MISSING_PROG(AUTOHEADER, autoheader)
  108094. AM_MISSING_PROG(MAKEINFO, makeinfo)
  108095. -AM_PROG_INSTALL_SH
  108096. -AM_PROG_INSTALL_STRIP
  108097. +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  108098. +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  108099. AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  108100. # We need awk for the "check" target. The system "awk" is bad on
  108101. # some platforms.
  108102. @@ -468,23 +504,36 @@
  108103. AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  108104. AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  108105. _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  108106. - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  108107. - [_AM_PROG_TAR([v7])])])
  108108. + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  108109. + [_AM_PROG_TAR([v7])])])
  108110. _AM_IF_OPTION([no-dependencies],,
  108111. [AC_PROVIDE_IFELSE([AC_PROG_CC],
  108112. - [_AM_DEPENDENCIES(CC)],
  108113. - [define([AC_PROG_CC],
  108114. - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  108115. + [_AM_DEPENDENCIES(CC)],
  108116. + [define([AC_PROG_CC],
  108117. + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  108118. AC_PROVIDE_IFELSE([AC_PROG_CXX],
  108119. - [_AM_DEPENDENCIES(CXX)],
  108120. - [define([AC_PROG_CXX],
  108121. - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  108122. + [_AM_DEPENDENCIES(CXX)],
  108123. + [define([AC_PROG_CXX],
  108124. + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  108125. AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  108126. - [_AM_DEPENDENCIES(OBJC)],
  108127. - [define([AC_PROG_OBJC],
  108128. - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  108129. -])
  108130. -])
  108131. + [_AM_DEPENDENCIES(OBJC)],
  108132. + [define([AC_PROG_OBJC],
  108133. + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  108134. +])
  108135. +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
  108136. +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
  108137. +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  108138. +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  108139. +AC_CONFIG_COMMANDS_PRE(dnl
  108140. +[m4_provide_if([_AM_COMPILER_EXEEXT],
  108141. + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  108142. +])
  108143. +
  108144. +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  108145. +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
  108146. +dnl mangled by Autoconf and run in a shell conditional statement.
  108147. +m4_define([_AC_COMPILER_EXEEXT],
  108148. +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
  108149. # When config.status generates a header, we must update the stamp-h file.
  108150. @@ -508,7 +557,7 @@
  108151. done
  108152. echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  108153. -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  108154. +# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
  108155. #
  108156. # This file is free software; the Free Software Foundation
  108157. # gives unlimited permission to copy and/or distribute it,
  108158. @@ -519,7 +568,14 @@
  108159. # Define $install_sh.
  108160. AC_DEFUN([AM_PROG_INSTALL_SH],
  108161. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  108162. -install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
  108163. +if test x"${install_sh}" != xset; then
  108164. + case $am_aux_dir in
  108165. + *\ * | *\ *)
  108166. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  108167. + *)
  108168. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  108169. + esac
  108170. +fi
  108171. AC_SUBST(install_sh)])
  108172. # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
  108173. @@ -546,27 +602,38 @@
  108174. # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
  108175. # From Jim Meyering
  108176. -# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
  108177. +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
  108178. # Free Software Foundation, Inc.
  108179. #
  108180. # This file is free software; the Free Software Foundation
  108181. # gives unlimited permission to copy and/or distribute it,
  108182. # with or without modifications, as long as this notice is preserved.
  108183. -# serial 4
  108184. +# serial 5
  108185. +# AM_MAINTAINER_MODE([DEFAULT-MODE])
  108186. +# ----------------------------------
  108187. +# Control maintainer-specific portions of Makefiles.
  108188. +# Default is to disable them, unless `enable' is passed literally.
  108189. +# For symmetry, `disable' may be passed as well. Anyway, the user
  108190. +# can override the default with the --enable/--disable switch.
  108191. AC_DEFUN([AM_MAINTAINER_MODE],
  108192. -[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
  108193. - dnl maintainer-mode is disabled by default
  108194. - AC_ARG_ENABLE(maintainer-mode,
  108195. -[ --enable-maintainer-mode enable make rules and dependencies not useful
  108196. +[m4_case(m4_default([$1], [disable]),
  108197. + [enable], [m4_define([am_maintainer_other], [disable])],
  108198. + [disable], [m4_define([am_maintainer_other], [enable])],
  108199. + [m4_define([am_maintainer_other], [enable])
  108200. + m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
  108201. +AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
  108202. + dnl maintainer-mode's default is 'disable' unless 'enable' is passed
  108203. + AC_ARG_ENABLE([maintainer-mode],
  108204. +[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
  108205. (and sometimes confusing) to the casual installer],
  108206. - USE_MAINTAINER_MODE=$enableval,
  108207. - USE_MAINTAINER_MODE=no)
  108208. + [USE_MAINTAINER_MODE=$enableval],
  108209. + [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
  108210. AC_MSG_RESULT([$USE_MAINTAINER_MODE])
  108211. - AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
  108212. + AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
  108213. MAINT=$MAINTAINER_MODE_TRUE
  108214. - AC_SUBST(MAINT)dnl
  108215. + AC_SUBST([MAINT])dnl
  108216. ]
  108217. )
  108218. @@ -574,13 +641,13 @@
  108219. # Check to see how 'make' treats includes. -*- Autoconf -*-
  108220. -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
  108221. +# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
  108222. #
  108223. # This file is free software; the Free Software Foundation
  108224. # gives unlimited permission to copy and/or distribute it,
  108225. # with or without modifications, as long as this notice is preserved.
  108226. -# serial 3
  108227. +# serial 4
  108228. # AM_MAKE_INCLUDE()
  108229. # -----------------
  108230. @@ -589,7 +656,7 @@
  108231. [am_make=${MAKE-make}
  108232. cat > confinc << 'END'
  108233. am__doit:
  108234. - @echo done
  108235. + @echo this is the am__doit target
  108236. .PHONY: am__doit
  108237. END
  108238. # If we don't find an include directive, just comment out the code.
  108239. @@ -599,24 +666,24 @@
  108240. _am_result=none
  108241. # First try GNU make style include.
  108242. echo "include confinc" > confmf
  108243. -# We grep out `Entering directory' and `Leaving directory'
  108244. -# messages which can occur if `w' ends up in MAKEFLAGS.
  108245. -# In particular we don't look at `^make:' because GNU make might
  108246. -# be invoked under some other name (usually "gmake"), in which
  108247. -# case it prints its new name instead of `make'.
  108248. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  108249. - am__include=include
  108250. - am__quote=
  108251. - _am_result=GNU
  108252. -fi
  108253. +# Ignore all kinds of additional output from `make'.
  108254. +case `$am_make -s -f confmf 2> /dev/null` in #(
  108255. +*the\ am__doit\ target*)
  108256. + am__include=include
  108257. + am__quote=
  108258. + _am_result=GNU
  108259. + ;;
  108260. +esac
  108261. # Now try BSD make style include.
  108262. if test "$am__include" = "#"; then
  108263. echo '.include "confinc"' > confmf
  108264. - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  108265. - am__include=.include
  108266. - am__quote="\""
  108267. - _am_result=BSD
  108268. - fi
  108269. + case `$am_make -s -f confmf 2> /dev/null` in #(
  108270. + *the\ am__doit\ target*)
  108271. + am__include=.include
  108272. + am__quote="\""
  108273. + _am_result=BSD
  108274. + ;;
  108275. + esac
  108276. fi
  108277. AC_SUBST([am__include])
  108278. AC_SUBST([am__quote])
  108279. @@ -626,14 +693,14 @@
  108280. # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
  108281. -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
  108282. +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
  108283. # Free Software Foundation, Inc.
  108284. #
  108285. # This file is free software; the Free Software Foundation
  108286. # gives unlimited permission to copy and/or distribute it,
  108287. # with or without modifications, as long as this notice is preserved.
  108288. -# serial 5
  108289. +# serial 6
  108290. # AM_MISSING_PROG(NAME, PROGRAM)
  108291. # ------------------------------
  108292. @@ -650,7 +717,14 @@
  108293. AC_DEFUN([AM_MISSING_HAS_RUN],
  108294. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  108295. AC_REQUIRE_AUX_FILE([missing])dnl
  108296. -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  108297. +if test x"${MISSING+set}" != xset; then
  108298. + case $am_aux_dir in
  108299. + *\ * | *\ *)
  108300. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  108301. + *)
  108302. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  108303. + esac
  108304. +fi
  108305. # Use eval to expand $SHELL
  108306. if eval "$MISSING --run true"; then
  108307. am_missing_run="$MISSING --run "
  108308. @@ -688,13 +762,13 @@
  108309. # Helper functions for option handling. -*- Autoconf -*-
  108310. -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
  108311. +# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
  108312. #
  108313. # This file is free software; the Free Software Foundation
  108314. # gives unlimited permission to copy and/or distribute it,
  108315. # with or without modifications, as long as this notice is preserved.
  108316. -# serial 3
  108317. +# serial 4
  108318. # _AM_MANGLE_OPTION(NAME)
  108319. # -----------------------
  108320. @@ -711,7 +785,7 @@
  108321. # ----------------------------------
  108322. # OPTIONS is a space-separated list of Automake options.
  108323. AC_DEFUN([_AM_SET_OPTIONS],
  108324. -[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  108325. +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  108326. # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
  108327. # -------------------------------------------
  108328. @@ -721,14 +795,14 @@
  108329. # Check to make sure that the build environment is sane. -*- Autoconf -*-
  108330. -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
  108331. +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
  108332. # Free Software Foundation, Inc.
  108333. #
  108334. # This file is free software; the Free Software Foundation
  108335. # gives unlimited permission to copy and/or distribute it,
  108336. # with or without modifications, as long as this notice is preserved.
  108337. -# serial 4
  108338. +# serial 5
  108339. # AM_SANITY_CHECK
  108340. # ---------------
  108341. @@ -737,16 +811,29 @@
  108342. # Just in case
  108343. sleep 1
  108344. echo timestamp > conftest.file
  108345. +# Reject unsafe characters in $srcdir or the absolute working directory
  108346. +# name. Accept space and tab only in the latter.
  108347. +am_lf='
  108348. +'
  108349. +case `pwd` in
  108350. + *[[\\\"\#\$\&\'\`$am_lf]]*)
  108351. + AC_MSG_ERROR([unsafe absolute working directory name]);;
  108352. +esac
  108353. +case $srcdir in
  108354. + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  108355. + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  108356. +esac
  108357. +
  108358. # Do `set' in a subshell so we don't clobber the current shell's
  108359. # arguments. Must try -L first in case configure is actually a
  108360. # symlink; some systems play weird games with the mod time of symlinks
  108361. # (eg FreeBSD returns the mod time of the symlink's containing
  108362. # directory).
  108363. if (
  108364. - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  108365. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  108366. if test "$[*]" = "X"; then
  108367. # -L didn't work.
  108368. - set X `ls -t $srcdir/configure conftest.file`
  108369. + set X `ls -t "$srcdir/configure" conftest.file`
  108370. fi
  108371. rm -f conftest.file
  108372. if test "$[*]" != "X $srcdir/configure conftest.file" \
  108373. @@ -799,18 +886,25 @@
  108374. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  108375. AC_SUBST([INSTALL_STRIP_PROGRAM])])
  108376. -# Copyright (C) 2006 Free Software Foundation, Inc.
  108377. +# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
  108378. #
  108379. # This file is free software; the Free Software Foundation
  108380. # gives unlimited permission to copy and/or distribute it,
  108381. # with or without modifications, as long as this notice is preserved.
  108382. +# serial 2
  108383. +
  108384. # _AM_SUBST_NOTMAKE(VARIABLE)
  108385. # ---------------------------
  108386. # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
  108387. # This macro is traced by Automake.
  108388. AC_DEFUN([_AM_SUBST_NOTMAKE])
  108389. +# AM_SUBST_NOTMAKE(VARIABLE)
  108390. +# ---------------------------
  108391. +# Public sister of _AM_SUBST_NOTMAKE.
  108392. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  108393. +
  108394. # Check how to create a tarball. -*- Autoconf -*-
  108395. # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
  108396. diff -Nur squid-3.0.STABLE20.orig/lib/libTrie/autom4te.cache/output.0 squid-3.0.STABLE20/lib/libTrie/autom4te.cache/output.0
  108397. --- squid-3.0.STABLE20.orig/lib/libTrie/autom4te.cache/output.0 1970-01-01 01:00:00.000000000 +0100
  108398. +++ squid-3.0.STABLE20/lib/libTrie/autom4te.cache/output.0 2010-02-19 00:38:22.264852322 +0100
  108399. @@ -0,0 +1,6041 @@
  108400. +@%:@! /bin/sh
  108401. +@%:@ Guess values for system-dependent variables and create Makefiles.
  108402. +@%:@ Generated by GNU Autoconf 2.65 for libTrie 0.1.
  108403. +@%:@
  108404. +@%:@ Report bugs to <rbtcollins@squid-cache.org>.
  108405. +@%:@
  108406. +@%:@
  108407. +@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  108408. +@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  108409. +@%:@ Inc.
  108410. +@%:@
  108411. +@%:@
  108412. +@%:@ This configure script is free software; the Free Software Foundation
  108413. +@%:@ gives unlimited permission to copy, distribute and modify it.
  108414. +## -------------------- ##
  108415. +## M4sh Initialization. ##
  108416. +## -------------------- ##
  108417. +
  108418. +# Be more Bourne compatible
  108419. +DUALCASE=1; export DUALCASE # for MKS sh
  108420. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  108421. + emulate sh
  108422. + NULLCMD=:
  108423. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  108424. + # is contrary to our usage. Disable this feature.
  108425. + alias -g '${1+"$@"}'='"$@"'
  108426. + setopt NO_GLOB_SUBST
  108427. +else
  108428. + case `(set -o) 2>/dev/null` in @%:@(
  108429. + *posix*) :
  108430. + set -o posix ;; @%:@(
  108431. + *) :
  108432. + ;;
  108433. +esac
  108434. +fi
  108435. +
  108436. +
  108437. +as_nl='
  108438. +'
  108439. +export as_nl
  108440. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  108441. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  108442. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  108443. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  108444. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  108445. +# but without wasting forks for bash or zsh.
  108446. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  108447. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  108448. + as_echo='print -r --'
  108449. + as_echo_n='print -rn --'
  108450. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  108451. + as_echo='printf %s\n'
  108452. + as_echo_n='printf %s'
  108453. +else
  108454. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  108455. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  108456. + as_echo_n='/usr/ucb/echo -n'
  108457. + else
  108458. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  108459. + as_echo_n_body='eval
  108460. + arg=$1;
  108461. + case $arg in @%:@(
  108462. + *"$as_nl"*)
  108463. + expr "X$arg" : "X\\(.*\\)$as_nl";
  108464. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  108465. + esac;
  108466. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  108467. + '
  108468. + export as_echo_n_body
  108469. + as_echo_n='sh -c $as_echo_n_body as_echo'
  108470. + fi
  108471. + export as_echo_body
  108472. + as_echo='sh -c $as_echo_body as_echo'
  108473. +fi
  108474. +
  108475. +# The user is always right.
  108476. +if test "${PATH_SEPARATOR+set}" != set; then
  108477. + PATH_SEPARATOR=:
  108478. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  108479. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  108480. + PATH_SEPARATOR=';'
  108481. + }
  108482. +fi
  108483. +
  108484. +
  108485. +# IFS
  108486. +# We need space, tab and new line, in precisely that order. Quoting is
  108487. +# there to prevent editors from complaining about space-tab.
  108488. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  108489. +# splitting by setting IFS to empty value.)
  108490. +IFS=" "" $as_nl"
  108491. +
  108492. +# Find who we are. Look in the path if we contain no directory separator.
  108493. +case $0 in @%:@((
  108494. + *[\\/]* ) as_myself=$0 ;;
  108495. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  108496. +for as_dir in $PATH
  108497. +do
  108498. + IFS=$as_save_IFS
  108499. + test -z "$as_dir" && as_dir=.
  108500. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  108501. + done
  108502. +IFS=$as_save_IFS
  108503. +
  108504. + ;;
  108505. +esac
  108506. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  108507. +# in which case we are not to be found in the path.
  108508. +if test "x$as_myself" = x; then
  108509. + as_myself=$0
  108510. +fi
  108511. +if test ! -f "$as_myself"; then
  108512. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  108513. + exit 1
  108514. +fi
  108515. +
  108516. +# Unset variables that we do not need and which cause bugs (e.g. in
  108517. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  108518. +# suppresses any "Segmentation fault" message there. '((' could
  108519. +# trigger a bug in pdksh 5.2.14.
  108520. +for as_var in BASH_ENV ENV MAIL MAILPATH
  108521. +do eval test x\${$as_var+set} = xset \
  108522. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  108523. +done
  108524. +PS1='$ '
  108525. +PS2='> '
  108526. +PS4='+ '
  108527. +
  108528. +# NLS nuisances.
  108529. +LC_ALL=C
  108530. +export LC_ALL
  108531. +LANGUAGE=C
  108532. +export LANGUAGE
  108533. +
  108534. +# CDPATH.
  108535. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  108536. +
  108537. +if test "x$CONFIG_SHELL" = x; then
  108538. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  108539. + emulate sh
  108540. + NULLCMD=:
  108541. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  108542. + # is contrary to our usage. Disable this feature.
  108543. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  108544. + setopt NO_GLOB_SUBST
  108545. +else
  108546. + case \`(set -o) 2>/dev/null\` in @%:@(
  108547. + *posix*) :
  108548. + set -o posix ;; @%:@(
  108549. + *) :
  108550. + ;;
  108551. +esac
  108552. +fi
  108553. +"
  108554. + as_required="as_fn_return () { (exit \$1); }
  108555. +as_fn_success () { as_fn_return 0; }
  108556. +as_fn_failure () { as_fn_return 1; }
  108557. +as_fn_ret_success () { return 0; }
  108558. +as_fn_ret_failure () { return 1; }
  108559. +
  108560. +exitcode=0
  108561. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  108562. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  108563. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  108564. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  108565. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  108566. +
  108567. +else
  108568. + exitcode=1; echo positional parameters were not saved.
  108569. +fi
  108570. +test x\$exitcode = x0 || exit 1"
  108571. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  108572. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  108573. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  108574. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  108575. +test \$(( 1 + 1 )) = 2 || exit 1"
  108576. + if (eval "$as_required") 2>/dev/null; then :
  108577. + as_have_required=yes
  108578. +else
  108579. + as_have_required=no
  108580. +fi
  108581. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  108582. +
  108583. +else
  108584. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  108585. +as_found=false
  108586. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  108587. +do
  108588. + IFS=$as_save_IFS
  108589. + test -z "$as_dir" && as_dir=.
  108590. + as_found=:
  108591. + case $as_dir in @%:@(
  108592. + /*)
  108593. + for as_base in sh bash ksh sh5; do
  108594. + # Try only shells that exist, to save several forks.
  108595. + as_shell=$as_dir/$as_base
  108596. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  108597. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  108598. + CONFIG_SHELL=$as_shell as_have_required=yes
  108599. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  108600. + break 2
  108601. +fi
  108602. +fi
  108603. + done;;
  108604. + esac
  108605. + as_found=false
  108606. +done
  108607. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  108608. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  108609. + CONFIG_SHELL=$SHELL as_have_required=yes
  108610. +fi; }
  108611. +IFS=$as_save_IFS
  108612. +
  108613. +
  108614. + if test "x$CONFIG_SHELL" != x; then :
  108615. + # We cannot yet assume a decent shell, so we have to provide a
  108616. + # neutralization value for shells without unset; and this also
  108617. + # works around shells that cannot unset nonexistent variables.
  108618. + BASH_ENV=/dev/null
  108619. + ENV=/dev/null
  108620. + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  108621. + export CONFIG_SHELL
  108622. + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  108623. +fi
  108624. +
  108625. + if test x$as_have_required = xno; then :
  108626. + $as_echo "$0: This script requires a shell more modern than all"
  108627. + $as_echo "$0: the shells that I found on your system."
  108628. + if test x${ZSH_VERSION+set} = xset ; then
  108629. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  108630. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  108631. + else
  108632. + $as_echo "$0: Please tell bug-autoconf@gnu.org and
  108633. +$0: rbtcollins@squid-cache.org about your system, including
  108634. +$0: any error possibly output before this message. Then
  108635. +$0: install a modern shell, or manually run the script
  108636. +$0: under such a shell if you do have one."
  108637. + fi
  108638. + exit 1
  108639. +fi
  108640. +fi
  108641. +fi
  108642. +SHELL=${CONFIG_SHELL-/bin/sh}
  108643. +export SHELL
  108644. +# Unset more variables known to interfere with behavior of common tools.
  108645. +CLICOLOR_FORCE= GREP_OPTIONS=
  108646. +unset CLICOLOR_FORCE GREP_OPTIONS
  108647. +
  108648. +## --------------------- ##
  108649. +## M4sh Shell Functions. ##
  108650. +## --------------------- ##
  108651. +@%:@ as_fn_unset VAR
  108652. +@%:@ ---------------
  108653. +@%:@ Portably unset VAR.
  108654. +as_fn_unset ()
  108655. +{
  108656. + { eval $1=; unset $1;}
  108657. +}
  108658. +as_unset=as_fn_unset
  108659. +
  108660. +@%:@ as_fn_set_status STATUS
  108661. +@%:@ -----------------------
  108662. +@%:@ Set @S|@? to STATUS, without forking.
  108663. +as_fn_set_status ()
  108664. +{
  108665. + return $1
  108666. +} @%:@ as_fn_set_status
  108667. +
  108668. +@%:@ as_fn_exit STATUS
  108669. +@%:@ -----------------
  108670. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  108671. +as_fn_exit ()
  108672. +{
  108673. + set +e
  108674. + as_fn_set_status $1
  108675. + exit $1
  108676. +} @%:@ as_fn_exit
  108677. +
  108678. +@%:@ as_fn_mkdir_p
  108679. +@%:@ -------------
  108680. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  108681. +as_fn_mkdir_p ()
  108682. +{
  108683. +
  108684. + case $as_dir in #(
  108685. + -*) as_dir=./$as_dir;;
  108686. + esac
  108687. + test -d "$as_dir" || eval $as_mkdir_p || {
  108688. + as_dirs=
  108689. + while :; do
  108690. + case $as_dir in #(
  108691. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  108692. + *) as_qdir=$as_dir;;
  108693. + esac
  108694. + as_dirs="'$as_qdir' $as_dirs"
  108695. + as_dir=`$as_dirname -- "$as_dir" ||
  108696. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  108697. + X"$as_dir" : 'X\(//\)[^/]' \| \
  108698. + X"$as_dir" : 'X\(//\)$' \| \
  108699. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  108700. +$as_echo X"$as_dir" |
  108701. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  108702. + s//\1/
  108703. + q
  108704. + }
  108705. + /^X\(\/\/\)[^/].*/{
  108706. + s//\1/
  108707. + q
  108708. + }
  108709. + /^X\(\/\/\)$/{
  108710. + s//\1/
  108711. + q
  108712. + }
  108713. + /^X\(\/\).*/{
  108714. + s//\1/
  108715. + q
  108716. + }
  108717. + s/.*/./; q'`
  108718. + test -d "$as_dir" && break
  108719. + done
  108720. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  108721. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  108722. +
  108723. +
  108724. +} @%:@ as_fn_mkdir_p
  108725. +@%:@ as_fn_append VAR VALUE
  108726. +@%:@ ----------------------
  108727. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  108728. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  108729. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  108730. +@%:@ implementations.
  108731. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  108732. + eval 'as_fn_append ()
  108733. + {
  108734. + eval $1+=\$2
  108735. + }'
  108736. +else
  108737. + as_fn_append ()
  108738. + {
  108739. + eval $1=\$$1\$2
  108740. + }
  108741. +fi # as_fn_append
  108742. +
  108743. +@%:@ as_fn_arith ARG...
  108744. +@%:@ ------------------
  108745. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  108746. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  108747. +@%:@ must be portable across @S|@(()) and expr.
  108748. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  108749. + eval 'as_fn_arith ()
  108750. + {
  108751. + as_val=$(( $* ))
  108752. + }'
  108753. +else
  108754. + as_fn_arith ()
  108755. + {
  108756. + as_val=`expr "$@" || test $? -eq 1`
  108757. + }
  108758. +fi # as_fn_arith
  108759. +
  108760. +
  108761. +@%:@ as_fn_error ERROR [LINENO LOG_FD]
  108762. +@%:@ ---------------------------------
  108763. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  108764. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  108765. +@%:@ script with status @S|@?, using 1 if that was 0.
  108766. +as_fn_error ()
  108767. +{
  108768. + as_status=$?; test $as_status -eq 0 && as_status=1
  108769. + if test "$3"; then
  108770. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  108771. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  108772. + fi
  108773. + $as_echo "$as_me: error: $1" >&2
  108774. + as_fn_exit $as_status
  108775. +} @%:@ as_fn_error
  108776. +
  108777. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  108778. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  108779. + as_expr=expr
  108780. +else
  108781. + as_expr=false
  108782. +fi
  108783. +
  108784. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  108785. + as_basename=basename
  108786. +else
  108787. + as_basename=false
  108788. +fi
  108789. +
  108790. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  108791. + as_dirname=dirname
  108792. +else
  108793. + as_dirname=false
  108794. +fi
  108795. +
  108796. +as_me=`$as_basename -- "$0" ||
  108797. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  108798. + X"$0" : 'X\(//\)$' \| \
  108799. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  108800. +$as_echo X/"$0" |
  108801. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  108802. + s//\1/
  108803. + q
  108804. + }
  108805. + /^X\/\(\/\/\)$/{
  108806. + s//\1/
  108807. + q
  108808. + }
  108809. + /^X\/\(\/\).*/{
  108810. + s//\1/
  108811. + q
  108812. + }
  108813. + s/.*/./; q'`
  108814. +
  108815. +# Avoid depending upon Character Ranges.
  108816. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  108817. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  108818. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  108819. +as_cr_digits='0123456789'
  108820. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  108821. +
  108822. +
  108823. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  108824. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  108825. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  108826. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  108827. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  108828. + sed -n '
  108829. + p
  108830. + /[$]LINENO/=
  108831. + ' <$as_myself |
  108832. + sed '
  108833. + s/[$]LINENO.*/&-/
  108834. + t lineno
  108835. + b
  108836. + :lineno
  108837. + N
  108838. + :loop
  108839. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  108840. + t loop
  108841. + s/-\n.*//
  108842. + ' >$as_me.lineno &&
  108843. + chmod +x "$as_me.lineno" ||
  108844. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  108845. +
  108846. + # Don't try to exec as it changes $[0], causing all sort of problems
  108847. + # (the dirname of $[0] is not the place where we might find the
  108848. + # original and so on. Autoconf is especially sensitive to this).
  108849. + . "./$as_me.lineno"
  108850. + # Exit status is that of the last command.
  108851. + exit
  108852. +}
  108853. +
  108854. +ECHO_C= ECHO_N= ECHO_T=
  108855. +case `echo -n x` in @%:@(((((
  108856. +-n*)
  108857. + case `echo 'xy\c'` in
  108858. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  108859. + xy) ECHO_C='\c';;
  108860. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  108861. + ECHO_T=' ';;
  108862. + esac;;
  108863. +*)
  108864. + ECHO_N='-n';;
  108865. +esac
  108866. +
  108867. +rm -f conf$$ conf$$.exe conf$$.file
  108868. +if test -d conf$$.dir; then
  108869. + rm -f conf$$.dir/conf$$.file
  108870. +else
  108871. + rm -f conf$$.dir
  108872. + mkdir conf$$.dir 2>/dev/null
  108873. +fi
  108874. +if (echo >conf$$.file) 2>/dev/null; then
  108875. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  108876. + as_ln_s='ln -s'
  108877. + # ... but there are two gotchas:
  108878. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  108879. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  108880. + # In both cases, we have to default to `cp -p'.
  108881. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  108882. + as_ln_s='cp -p'
  108883. + elif ln conf$$.file conf$$ 2>/dev/null; then
  108884. + as_ln_s=ln
  108885. + else
  108886. + as_ln_s='cp -p'
  108887. + fi
  108888. +else
  108889. + as_ln_s='cp -p'
  108890. +fi
  108891. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  108892. +rmdir conf$$.dir 2>/dev/null
  108893. +
  108894. +if mkdir -p . 2>/dev/null; then
  108895. + as_mkdir_p='mkdir -p "$as_dir"'
  108896. +else
  108897. + test -d ./-p && rmdir ./-p
  108898. + as_mkdir_p=false
  108899. +fi
  108900. +
  108901. +if test -x / >/dev/null 2>&1; then
  108902. + as_test_x='test -x'
  108903. +else
  108904. + if ls -dL / >/dev/null 2>&1; then
  108905. + as_ls_L_option=L
  108906. + else
  108907. + as_ls_L_option=
  108908. + fi
  108909. + as_test_x='
  108910. + eval sh -c '\''
  108911. + if test -d "$1"; then
  108912. + test -d "$1/.";
  108913. + else
  108914. + case $1 in @%:@(
  108915. + -*)set "./$1";;
  108916. + esac;
  108917. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
  108918. + ???[sx]*):;;*)false;;esac;fi
  108919. + '\'' sh
  108920. + '
  108921. +fi
  108922. +as_executable_p=$as_test_x
  108923. +
  108924. +# Sed expression to map a string onto a valid CPP name.
  108925. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  108926. +
  108927. +# Sed expression to map a string onto a valid variable name.
  108928. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  108929. +
  108930. +
  108931. +test -n "$DJDIR" || exec 7<&0 </dev/null
  108932. +exec 6>&1
  108933. +
  108934. +# Name of the host.
  108935. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  108936. +# so uname gets run too.
  108937. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  108938. +
  108939. +#
  108940. +# Initializations.
  108941. +#
  108942. +ac_default_prefix=/usr/local
  108943. +ac_clean_files=
  108944. +ac_config_libobj_dir=.
  108945. +LIB@&t@OBJS=
  108946. +cross_compiling=no
  108947. +subdirs=
  108948. +MFLAGS=
  108949. +MAKEFLAGS=
  108950. +
  108951. +# Identity of this package.
  108952. +PACKAGE_NAME='libTrie'
  108953. +PACKAGE_TARNAME='libtrie'
  108954. +PACKAGE_VERSION='0.1'
  108955. +PACKAGE_STRING='libTrie 0.1'
  108956. +PACKAGE_BUGREPORT='rbtcollins@squid-cache.org'
  108957. +PACKAGE_URL=''
  108958. +
  108959. +ac_unique_file="src/Trie.cc"
  108960. +# Factoring default headers for most tests.
  108961. +ac_includes_default="\
  108962. +#include <stdio.h>
  108963. +#ifdef HAVE_SYS_TYPES_H
  108964. +# include <sys/types.h>
  108965. +#endif
  108966. +#ifdef HAVE_SYS_STAT_H
  108967. +# include <sys/stat.h>
  108968. +#endif
  108969. +#ifdef STDC_HEADERS
  108970. +# include <stdlib.h>
  108971. +# include <stddef.h>
  108972. +#else
  108973. +# ifdef HAVE_STDLIB_H
  108974. +# include <stdlib.h>
  108975. +# endif
  108976. +#endif
  108977. +#ifdef HAVE_STRING_H
  108978. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  108979. +# include <memory.h>
  108980. +# endif
  108981. +# include <string.h>
  108982. +#endif
  108983. +#ifdef HAVE_STRINGS_H
  108984. +# include <strings.h>
  108985. +#endif
  108986. +#ifdef HAVE_INTTYPES_H
  108987. +# include <inttypes.h>
  108988. +#endif
  108989. +#ifdef HAVE_STDINT_H
  108990. +# include <stdint.h>
  108991. +#endif
  108992. +#ifdef HAVE_UNISTD_H
  108993. +# include <unistd.h>
  108994. +#endif"
  108995. +
  108996. +ac_subst_vars='am__EXEEXT_FALSE
  108997. +am__EXEEXT_TRUE
  108998. +LTLIBOBJS
  108999. +LIB@&t@OBJS
  109000. +EGREP
  109001. +GREP
  109002. +CPP
  109003. +TRIE_CXXFLAGS
  109004. +TRIE_CFLAGS
  109005. +RANLIB
  109006. +MAINT
  109007. +MAINTAINER_MODE_FALSE
  109008. +MAINTAINER_MODE_TRUE
  109009. +am__fastdepCXX_FALSE
  109010. +am__fastdepCXX_TRUE
  109011. +CXXDEPMODE
  109012. +am__fastdepCC_FALSE
  109013. +am__fastdepCC_TRUE
  109014. +CCDEPMODE
  109015. +AMDEPBACKSLASH
  109016. +AMDEP_FALSE
  109017. +AMDEP_TRUE
  109018. +am__quote
  109019. +am__include
  109020. +DEPDIR
  109021. +am__untar
  109022. +am__tar
  109023. +AMTAR
  109024. +am__leading_dot
  109025. +AWK
  109026. +mkdir_p
  109027. +MKDIR_P
  109028. +INSTALL_STRIP_PROGRAM
  109029. +STRIP
  109030. +install_sh
  109031. +MAKEINFO
  109032. +AUTOHEADER
  109033. +AUTOMAKE
  109034. +AUTOCONF
  109035. +ACLOCAL
  109036. +VERSION
  109037. +PACKAGE
  109038. +CYGPATH_W
  109039. +am__isrc
  109040. +INSTALL_DATA
  109041. +INSTALL_SCRIPT
  109042. +INSTALL_PROGRAM
  109043. +SET_MAKE
  109044. +ac_ct_CC
  109045. +CFLAGS
  109046. +CC
  109047. +OBJEXT
  109048. +EXEEXT
  109049. +ac_ct_CXX
  109050. +CPPFLAGS
  109051. +LDFLAGS
  109052. +CXXFLAGS
  109053. +CXX
  109054. +target_alias
  109055. +host_alias
  109056. +build_alias
  109057. +LIBS
  109058. +ECHO_T
  109059. +ECHO_N
  109060. +ECHO_C
  109061. +DEFS
  109062. +mandir
  109063. +localedir
  109064. +libdir
  109065. +psdir
  109066. +pdfdir
  109067. +dvidir
  109068. +htmldir
  109069. +infodir
  109070. +docdir
  109071. +oldincludedir
  109072. +includedir
  109073. +localstatedir
  109074. +sharedstatedir
  109075. +sysconfdir
  109076. +datadir
  109077. +datarootdir
  109078. +libexecdir
  109079. +sbindir
  109080. +bindir
  109081. +program_transform_name
  109082. +prefix
  109083. +exec_prefix
  109084. +PACKAGE_URL
  109085. +PACKAGE_BUGREPORT
  109086. +PACKAGE_STRING
  109087. +PACKAGE_VERSION
  109088. +PACKAGE_TARNAME
  109089. +PACKAGE_NAME
  109090. +PATH_SEPARATOR
  109091. +SHELL'
  109092. +ac_subst_files=''
  109093. +ac_user_opts='
  109094. +enable_option_checking
  109095. +enable_optimizations
  109096. +enable_inline
  109097. +enable_dependency_tracking
  109098. +enable_maintainer_mode
  109099. +'
  109100. + ac_precious_vars='build_alias
  109101. +host_alias
  109102. +target_alias
  109103. +CXX
  109104. +CXXFLAGS
  109105. +LDFLAGS
  109106. +LIBS
  109107. +CPPFLAGS
  109108. +CCC
  109109. +CC
  109110. +CFLAGS
  109111. +CPP'
  109112. +
  109113. +
  109114. +# Initialize some variables set by options.
  109115. +ac_init_help=
  109116. +ac_init_version=false
  109117. +ac_unrecognized_opts=
  109118. +ac_unrecognized_sep=
  109119. +# The variables have the same names as the options, with
  109120. +# dashes changed to underlines.
  109121. +cache_file=/dev/null
  109122. +exec_prefix=NONE
  109123. +no_create=
  109124. +no_recursion=
  109125. +prefix=NONE
  109126. +program_prefix=NONE
  109127. +program_suffix=NONE
  109128. +program_transform_name=s,x,x,
  109129. +silent=
  109130. +site=
  109131. +srcdir=
  109132. +verbose=
  109133. +x_includes=NONE
  109134. +x_libraries=NONE
  109135. +
  109136. +# Installation directory options.
  109137. +# These are left unexpanded so users can "make install exec_prefix=/foo"
  109138. +# and all the variables that are supposed to be based on exec_prefix
  109139. +# by default will actually change.
  109140. +# Use braces instead of parens because sh, perl, etc. also accept them.
  109141. +# (The list follows the same order as the GNU Coding Standards.)
  109142. +bindir='${exec_prefix}/bin'
  109143. +sbindir='${exec_prefix}/sbin'
  109144. +libexecdir='${exec_prefix}/libexec'
  109145. +datarootdir='${prefix}/share'
  109146. +datadir='${datarootdir}'
  109147. +sysconfdir='${prefix}/etc'
  109148. +sharedstatedir='${prefix}/com'
  109149. +localstatedir='${prefix}/var'
  109150. +includedir='${prefix}/include'
  109151. +oldincludedir='/usr/include'
  109152. +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  109153. +infodir='${datarootdir}/info'
  109154. +htmldir='${docdir}'
  109155. +dvidir='${docdir}'
  109156. +pdfdir='${docdir}'
  109157. +psdir='${docdir}'
  109158. +libdir='${exec_prefix}/lib'
  109159. +localedir='${datarootdir}/locale'
  109160. +mandir='${datarootdir}/man'
  109161. +
  109162. +ac_prev=
  109163. +ac_dashdash=
  109164. +for ac_option
  109165. +do
  109166. + # If the previous option needs an argument, assign it.
  109167. + if test -n "$ac_prev"; then
  109168. + eval $ac_prev=\$ac_option
  109169. + ac_prev=
  109170. + continue
  109171. + fi
  109172. +
  109173. + case $ac_option in
  109174. + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  109175. + *) ac_optarg=yes ;;
  109176. + esac
  109177. +
  109178. + # Accept the important Cygnus configure options, so we can diagnose typos.
  109179. +
  109180. + case $ac_dashdash$ac_option in
  109181. + --)
  109182. + ac_dashdash=yes ;;
  109183. +
  109184. + -bindir | --bindir | --bindi | --bind | --bin | --bi)
  109185. + ac_prev=bindir ;;
  109186. + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  109187. + bindir=$ac_optarg ;;
  109188. +
  109189. + -build | --build | --buil | --bui | --bu)
  109190. + ac_prev=build_alias ;;
  109191. + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  109192. + build_alias=$ac_optarg ;;
  109193. +
  109194. + -cache-file | --cache-file | --cache-fil | --cache-fi \
  109195. + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  109196. + ac_prev=cache_file ;;
  109197. + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  109198. + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  109199. + cache_file=$ac_optarg ;;
  109200. +
  109201. + --config-cache | -C)
  109202. + cache_file=config.cache ;;
  109203. +
  109204. + -datadir | --datadir | --datadi | --datad)
  109205. + ac_prev=datadir ;;
  109206. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  109207. + datadir=$ac_optarg ;;
  109208. +
  109209. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  109210. + | --dataroo | --dataro | --datar)
  109211. + ac_prev=datarootdir ;;
  109212. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  109213. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  109214. + datarootdir=$ac_optarg ;;
  109215. +
  109216. + -disable-* | --disable-*)
  109217. + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  109218. + # Reject names that are not valid shell variable names.
  109219. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  109220. + as_fn_error "invalid feature name: $ac_useropt"
  109221. + ac_useropt_orig=$ac_useropt
  109222. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  109223. + case $ac_user_opts in
  109224. + *"
  109225. +"enable_$ac_useropt"
  109226. +"*) ;;
  109227. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  109228. + ac_unrecognized_sep=', ';;
  109229. + esac
  109230. + eval enable_$ac_useropt=no ;;
  109231. +
  109232. + -docdir | --docdir | --docdi | --doc | --do)
  109233. + ac_prev=docdir ;;
  109234. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  109235. + docdir=$ac_optarg ;;
  109236. +
  109237. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  109238. + ac_prev=dvidir ;;
  109239. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  109240. + dvidir=$ac_optarg ;;
  109241. +
  109242. + -enable-* | --enable-*)
  109243. + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  109244. + # Reject names that are not valid shell variable names.
  109245. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  109246. + as_fn_error "invalid feature name: $ac_useropt"
  109247. + ac_useropt_orig=$ac_useropt
  109248. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  109249. + case $ac_user_opts in
  109250. + *"
  109251. +"enable_$ac_useropt"
  109252. +"*) ;;
  109253. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  109254. + ac_unrecognized_sep=', ';;
  109255. + esac
  109256. + eval enable_$ac_useropt=\$ac_optarg ;;
  109257. +
  109258. + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  109259. + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  109260. + | --exec | --exe | --ex)
  109261. + ac_prev=exec_prefix ;;
  109262. + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  109263. + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  109264. + | --exec=* | --exe=* | --ex=*)
  109265. + exec_prefix=$ac_optarg ;;
  109266. +
  109267. + -gas | --gas | --ga | --g)
  109268. + # Obsolete; use --with-gas.
  109269. + with_gas=yes ;;
  109270. +
  109271. + -help | --help | --hel | --he | -h)
  109272. + ac_init_help=long ;;
  109273. + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  109274. + ac_init_help=recursive ;;
  109275. + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  109276. + ac_init_help=short ;;
  109277. +
  109278. + -host | --host | --hos | --ho)
  109279. + ac_prev=host_alias ;;
  109280. + -host=* | --host=* | --hos=* | --ho=*)
  109281. + host_alias=$ac_optarg ;;
  109282. +
  109283. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  109284. + ac_prev=htmldir ;;
  109285. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  109286. + | --ht=*)
  109287. + htmldir=$ac_optarg ;;
  109288. +
  109289. + -includedir | --includedir | --includedi | --included | --include \
  109290. + | --includ | --inclu | --incl | --inc)
  109291. + ac_prev=includedir ;;
  109292. + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  109293. + | --includ=* | --inclu=* | --incl=* | --inc=*)
  109294. + includedir=$ac_optarg ;;
  109295. +
  109296. + -infodir | --infodir | --infodi | --infod | --info | --inf)
  109297. + ac_prev=infodir ;;
  109298. + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  109299. + infodir=$ac_optarg ;;
  109300. +
  109301. + -libdir | --libdir | --libdi | --libd)
  109302. + ac_prev=libdir ;;
  109303. + -libdir=* | --libdir=* | --libdi=* | --libd=*)
  109304. + libdir=$ac_optarg ;;
  109305. +
  109306. + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  109307. + | --libexe | --libex | --libe)
  109308. + ac_prev=libexecdir ;;
  109309. + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  109310. + | --libexe=* | --libex=* | --libe=*)
  109311. + libexecdir=$ac_optarg ;;
  109312. +
  109313. + -localedir | --localedir | --localedi | --localed | --locale)
  109314. + ac_prev=localedir ;;
  109315. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  109316. + localedir=$ac_optarg ;;
  109317. +
  109318. + -localstatedir | --localstatedir | --localstatedi | --localstated \
  109319. + | --localstate | --localstat | --localsta | --localst | --locals)
  109320. + ac_prev=localstatedir ;;
  109321. + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  109322. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  109323. + localstatedir=$ac_optarg ;;
  109324. +
  109325. + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  109326. + ac_prev=mandir ;;
  109327. + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  109328. + mandir=$ac_optarg ;;
  109329. +
  109330. + -nfp | --nfp | --nf)
  109331. + # Obsolete; use --without-fp.
  109332. + with_fp=no ;;
  109333. +
  109334. + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  109335. + | --no-cr | --no-c | -n)
  109336. + no_create=yes ;;
  109337. +
  109338. + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  109339. + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  109340. + no_recursion=yes ;;
  109341. +
  109342. + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  109343. + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  109344. + | --oldin | --oldi | --old | --ol | --o)
  109345. + ac_prev=oldincludedir ;;
  109346. + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  109347. + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  109348. + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  109349. + oldincludedir=$ac_optarg ;;
  109350. +
  109351. + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  109352. + ac_prev=prefix ;;
  109353. + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  109354. + prefix=$ac_optarg ;;
  109355. +
  109356. + -program-prefix | --program-prefix | --program-prefi | --program-pref \
  109357. + | --program-pre | --program-pr | --program-p)
  109358. + ac_prev=program_prefix ;;
  109359. + -program-prefix=* | --program-prefix=* | --program-prefi=* \
  109360. + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  109361. + program_prefix=$ac_optarg ;;
  109362. +
  109363. + -program-suffix | --program-suffix | --program-suffi | --program-suff \
  109364. + | --program-suf | --program-su | --program-s)
  109365. + ac_prev=program_suffix ;;
  109366. + -program-suffix=* | --program-suffix=* | --program-suffi=* \
  109367. + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  109368. + program_suffix=$ac_optarg ;;
  109369. +
  109370. + -program-transform-name | --program-transform-name \
  109371. + | --program-transform-nam | --program-transform-na \
  109372. + | --program-transform-n | --program-transform- \
  109373. + | --program-transform | --program-transfor \
  109374. + | --program-transfo | --program-transf \
  109375. + | --program-trans | --program-tran \
  109376. + | --progr-tra | --program-tr | --program-t)
  109377. + ac_prev=program_transform_name ;;
  109378. + -program-transform-name=* | --program-transform-name=* \
  109379. + | --program-transform-nam=* | --program-transform-na=* \
  109380. + | --program-transform-n=* | --program-transform-=* \
  109381. + | --program-transform=* | --program-transfor=* \
  109382. + | --program-transfo=* | --program-transf=* \
  109383. + | --program-trans=* | --program-tran=* \
  109384. + | --progr-tra=* | --program-tr=* | --program-t=*)
  109385. + program_transform_name=$ac_optarg ;;
  109386. +
  109387. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  109388. + ac_prev=pdfdir ;;
  109389. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  109390. + pdfdir=$ac_optarg ;;
  109391. +
  109392. + -psdir | --psdir | --psdi | --psd | --ps)
  109393. + ac_prev=psdir ;;
  109394. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  109395. + psdir=$ac_optarg ;;
  109396. +
  109397. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  109398. + | -silent | --silent | --silen | --sile | --sil)
  109399. + silent=yes ;;
  109400. +
  109401. + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  109402. + ac_prev=sbindir ;;
  109403. + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  109404. + | --sbi=* | --sb=*)
  109405. + sbindir=$ac_optarg ;;
  109406. +
  109407. + -sharedstatedir | --sharedstatedir | --sharedstatedi \
  109408. + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  109409. + | --sharedst | --shareds | --shared | --share | --shar \
  109410. + | --sha | --sh)
  109411. + ac_prev=sharedstatedir ;;
  109412. + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  109413. + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  109414. + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  109415. + | --sha=* | --sh=*)
  109416. + sharedstatedir=$ac_optarg ;;
  109417. +
  109418. + -site | --site | --sit)
  109419. + ac_prev=site ;;
  109420. + -site=* | --site=* | --sit=*)
  109421. + site=$ac_optarg ;;
  109422. +
  109423. + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  109424. + ac_prev=srcdir ;;
  109425. + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  109426. + srcdir=$ac_optarg ;;
  109427. +
  109428. + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  109429. + | --syscon | --sysco | --sysc | --sys | --sy)
  109430. + ac_prev=sysconfdir ;;
  109431. + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  109432. + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  109433. + sysconfdir=$ac_optarg ;;
  109434. +
  109435. + -target | --target | --targe | --targ | --tar | --ta | --t)
  109436. + ac_prev=target_alias ;;
  109437. + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  109438. + target_alias=$ac_optarg ;;
  109439. +
  109440. + -v | -verbose | --verbose | --verbos | --verbo | --verb)
  109441. + verbose=yes ;;
  109442. +
  109443. + -version | --version | --versio | --versi | --vers | -V)
  109444. + ac_init_version=: ;;
  109445. +
  109446. + -with-* | --with-*)
  109447. + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  109448. + # Reject names that are not valid shell variable names.
  109449. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  109450. + as_fn_error "invalid package name: $ac_useropt"
  109451. + ac_useropt_orig=$ac_useropt
  109452. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  109453. + case $ac_user_opts in
  109454. + *"
  109455. +"with_$ac_useropt"
  109456. +"*) ;;
  109457. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  109458. + ac_unrecognized_sep=', ';;
  109459. + esac
  109460. + eval with_$ac_useropt=\$ac_optarg ;;
  109461. +
  109462. + -without-* | --without-*)
  109463. + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  109464. + # Reject names that are not valid shell variable names.
  109465. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  109466. + as_fn_error "invalid package name: $ac_useropt"
  109467. + ac_useropt_orig=$ac_useropt
  109468. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  109469. + case $ac_user_opts in
  109470. + *"
  109471. +"with_$ac_useropt"
  109472. +"*) ;;
  109473. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  109474. + ac_unrecognized_sep=', ';;
  109475. + esac
  109476. + eval with_$ac_useropt=no ;;
  109477. +
  109478. + --x)
  109479. + # Obsolete; use --with-x.
  109480. + with_x=yes ;;
  109481. +
  109482. + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  109483. + | --x-incl | --x-inc | --x-in | --x-i)
  109484. + ac_prev=x_includes ;;
  109485. + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  109486. + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  109487. + x_includes=$ac_optarg ;;
  109488. +
  109489. + -x-libraries | --x-libraries | --x-librarie | --x-librari \
  109490. + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  109491. + ac_prev=x_libraries ;;
  109492. + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  109493. + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  109494. + x_libraries=$ac_optarg ;;
  109495. +
  109496. + -*) as_fn_error "unrecognized option: \`$ac_option'
  109497. +Try \`$0 --help' for more information."
  109498. + ;;
  109499. +
  109500. + *=*)
  109501. + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  109502. + # Reject names that are not valid shell variable names.
  109503. + case $ac_envvar in #(
  109504. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  109505. + as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  109506. + esac
  109507. + eval $ac_envvar=\$ac_optarg
  109508. + export $ac_envvar ;;
  109509. +
  109510. + *)
  109511. + # FIXME: should be removed in autoconf 3.0.
  109512. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  109513. + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  109514. + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  109515. + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  109516. + ;;
  109517. +
  109518. + esac
  109519. +done
  109520. +
  109521. +if test -n "$ac_prev"; then
  109522. + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  109523. + as_fn_error "missing argument to $ac_option"
  109524. +fi
  109525. +
  109526. +if test -n "$ac_unrecognized_opts"; then
  109527. + case $enable_option_checking in
  109528. + no) ;;
  109529. + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  109530. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  109531. + esac
  109532. +fi
  109533. +
  109534. +# Check all directory arguments for consistency.
  109535. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  109536. + datadir sysconfdir sharedstatedir localstatedir includedir \
  109537. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  109538. + libdir localedir mandir
  109539. +do
  109540. + eval ac_val=\$$ac_var
  109541. + # Remove trailing slashes.
  109542. + case $ac_val in
  109543. + */ )
  109544. + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  109545. + eval $ac_var=\$ac_val;;
  109546. + esac
  109547. + # Be sure to have absolute directory names.
  109548. + case $ac_val in
  109549. + [\\/$]* | ?:[\\/]* ) continue;;
  109550. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  109551. + esac
  109552. + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  109553. +done
  109554. +
  109555. +# There might be people who depend on the old broken behavior: `$host'
  109556. +# used to hold the argument of --host etc.
  109557. +# FIXME: To remove some day.
  109558. +build=$build_alias
  109559. +host=$host_alias
  109560. +target=$target_alias
  109561. +
  109562. +# FIXME: To remove some day.
  109563. +if test "x$host_alias" != x; then
  109564. + if test "x$build_alias" = x; then
  109565. + cross_compiling=maybe
  109566. + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  109567. + If a cross compiler is detected then cross compile mode will be used." >&2
  109568. + elif test "x$build_alias" != "x$host_alias"; then
  109569. + cross_compiling=yes
  109570. + fi
  109571. +fi
  109572. +
  109573. +ac_tool_prefix=
  109574. +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  109575. +
  109576. +test "$silent" = yes && exec 6>/dev/null
  109577. +
  109578. +
  109579. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  109580. +ac_ls_di=`ls -di .` &&
  109581. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  109582. + as_fn_error "working directory cannot be determined"
  109583. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  109584. + as_fn_error "pwd does not report name of working directory"
  109585. +
  109586. +
  109587. +# Find the source files, if location was not specified.
  109588. +if test -z "$srcdir"; then
  109589. + ac_srcdir_defaulted=yes
  109590. + # Try the directory containing this script, then the parent directory.
  109591. + ac_confdir=`$as_dirname -- "$as_myself" ||
  109592. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  109593. + X"$as_myself" : 'X\(//\)[^/]' \| \
  109594. + X"$as_myself" : 'X\(//\)$' \| \
  109595. + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  109596. +$as_echo X"$as_myself" |
  109597. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  109598. + s//\1/
  109599. + q
  109600. + }
  109601. + /^X\(\/\/\)[^/].*/{
  109602. + s//\1/
  109603. + q
  109604. + }
  109605. + /^X\(\/\/\)$/{
  109606. + s//\1/
  109607. + q
  109608. + }
  109609. + /^X\(\/\).*/{
  109610. + s//\1/
  109611. + q
  109612. + }
  109613. + s/.*/./; q'`
  109614. + srcdir=$ac_confdir
  109615. + if test ! -r "$srcdir/$ac_unique_file"; then
  109616. + srcdir=..
  109617. + fi
  109618. +else
  109619. + ac_srcdir_defaulted=no
  109620. +fi
  109621. +if test ! -r "$srcdir/$ac_unique_file"; then
  109622. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  109623. + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  109624. +fi
  109625. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  109626. +ac_abs_confdir=`(
  109627. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  109628. + pwd)`
  109629. +# When building in place, set srcdir=.
  109630. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  109631. + srcdir=.
  109632. +fi
  109633. +# Remove unnecessary trailing slashes from srcdir.
  109634. +# Double slashes in file names in object file debugging info
  109635. +# mess up M-x gdb in Emacs.
  109636. +case $srcdir in
  109637. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  109638. +esac
  109639. +for ac_var in $ac_precious_vars; do
  109640. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  109641. + eval ac_env_${ac_var}_value=\$${ac_var}
  109642. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  109643. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  109644. +done
  109645. +
  109646. +#
  109647. +# Report the --help message.
  109648. +#
  109649. +if test "$ac_init_help" = "long"; then
  109650. + # Omit some internal or obsolete options to make the list less imposing.
  109651. + # This message is too long to be a string in the A/UX 3.1 sh.
  109652. + cat <<_ACEOF
  109653. +\`configure' configures libTrie 0.1 to adapt to many kinds of systems.
  109654. +
  109655. +Usage: $0 [OPTION]... [VAR=VALUE]...
  109656. +
  109657. +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  109658. +VAR=VALUE. See below for descriptions of some of the useful variables.
  109659. +
  109660. +Defaults for the options are specified in brackets.
  109661. +
  109662. +Configuration:
  109663. + -h, --help display this help and exit
  109664. + --help=short display options specific to this package
  109665. + --help=recursive display the short help of all the included packages
  109666. + -V, --version display version information and exit
  109667. + -q, --quiet, --silent do not print \`checking...' messages
  109668. + --cache-file=FILE cache test results in FILE [disabled]
  109669. + -C, --config-cache alias for \`--cache-file=config.cache'
  109670. + -n, --no-create do not create output files
  109671. + --srcdir=DIR find the sources in DIR [configure dir or \`..']
  109672. +
  109673. +Installation directories:
  109674. + --prefix=PREFIX install architecture-independent files in PREFIX
  109675. + @<:@@S|@ac_default_prefix@:>@
  109676. + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  109677. + @<:@PREFIX@:>@
  109678. +
  109679. +By default, \`make install' will install all the files in
  109680. +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  109681. +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  109682. +for instance \`--prefix=\$HOME'.
  109683. +
  109684. +For better control, use the options below.
  109685. +
  109686. +Fine tuning of the installation directories:
  109687. + --bindir=DIR user executables [EPREFIX/bin]
  109688. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  109689. + --libexecdir=DIR program executables [EPREFIX/libexec]
  109690. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  109691. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  109692. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  109693. + --libdir=DIR object code libraries [EPREFIX/lib]
  109694. + --includedir=DIR C header files [PREFIX/include]
  109695. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  109696. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  109697. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  109698. + --infodir=DIR info documentation [DATAROOTDIR/info]
  109699. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  109700. + --mandir=DIR man documentation [DATAROOTDIR/man]
  109701. + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/libtrie@:>@
  109702. + --htmldir=DIR html documentation [DOCDIR]
  109703. + --dvidir=DIR dvi documentation [DOCDIR]
  109704. + --pdfdir=DIR pdf documentation [DOCDIR]
  109705. + --psdir=DIR ps documentation [DOCDIR]
  109706. +_ACEOF
  109707. +
  109708. + cat <<\_ACEOF
  109709. +
  109710. +Program names:
  109711. + --program-prefix=PREFIX prepend PREFIX to installed program names
  109712. + --program-suffix=SUFFIX append SUFFIX to installed program names
  109713. + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  109714. +_ACEOF
  109715. +fi
  109716. +
  109717. +if test -n "$ac_init_help"; then
  109718. + case $ac_init_help in
  109719. + short | recursive ) echo "Configuration of libTrie 0.1:";;
  109720. + esac
  109721. + cat <<\_ACEOF
  109722. +
  109723. +Optional Features:
  109724. + --disable-option-checking ignore unrecognized --enable/--with options
  109725. + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  109726. + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  109727. + --disable-optimizations Don't compile Squid with compiler optimizations
  109728. + enabled. Optimization is good for production builds,
  109729. + but not good for debugging. During development, use
  109730. + --disable-optimizations to reduce compilation times
  109731. + and allow easier debugging. This option implicitly
  109732. + also enabled --disable-inline
  109733. + --disable-inline Don't compile trivial methods as inline. Squid is
  109734. + coded with much of the code able to be inlined.
  109735. + Inlining is good for production builds, but not good
  109736. + for development. During development, use
  109737. + --disable-inline to reduce compilation times and
  109738. + allow incremental builds to be quick. For production
  109739. + builds, or load tests, use --enable-inline to have
  109740. + squid make all trivial methods inlinable by the
  109741. + compiler.
  109742. + --disable-dependency-tracking speeds up one-time build
  109743. + --enable-dependency-tracking do not reject slow dependency extractors
  109744. + --enable-maintainer-mode enable make rules and dependencies not useful
  109745. + (and sometimes confusing) to the casual installer
  109746. +
  109747. +Some influential environment variables:
  109748. + CXX C++ compiler command
  109749. + CXXFLAGS C++ compiler flags
  109750. + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  109751. + nonstandard directory <lib dir>
  109752. + LIBS libraries to pass to the linker, e.g. -l<library>
  109753. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  109754. + you have headers in a nonstandard directory <include dir>
  109755. + CC C compiler command
  109756. + CFLAGS C compiler flags
  109757. + CPP C preprocessor
  109758. +
  109759. +Use these variables to override the choices made by `configure' or to help
  109760. +it to find libraries and programs with nonstandard names/locations.
  109761. +
  109762. +Report bugs to <rbtcollins@squid-cache.org>.
  109763. +_ACEOF
  109764. +ac_status=$?
  109765. +fi
  109766. +
  109767. +if test "$ac_init_help" = "recursive"; then
  109768. + # If there are subdirs, report their specific --help.
  109769. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  109770. + test -d "$ac_dir" ||
  109771. + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  109772. + continue
  109773. + ac_builddir=.
  109774. +
  109775. +case "$ac_dir" in
  109776. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  109777. +*)
  109778. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  109779. + # A ".." for each directory in $ac_dir_suffix.
  109780. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  109781. + case $ac_top_builddir_sub in
  109782. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  109783. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  109784. + esac ;;
  109785. +esac
  109786. +ac_abs_top_builddir=$ac_pwd
  109787. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  109788. +# for backward compatibility:
  109789. +ac_top_builddir=$ac_top_build_prefix
  109790. +
  109791. +case $srcdir in
  109792. + .) # We are building in place.
  109793. + ac_srcdir=.
  109794. + ac_top_srcdir=$ac_top_builddir_sub
  109795. + ac_abs_top_srcdir=$ac_pwd ;;
  109796. + [\\/]* | ?:[\\/]* ) # Absolute name.
  109797. + ac_srcdir=$srcdir$ac_dir_suffix;
  109798. + ac_top_srcdir=$srcdir
  109799. + ac_abs_top_srcdir=$srcdir ;;
  109800. + *) # Relative name.
  109801. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  109802. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  109803. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  109804. +esac
  109805. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  109806. +
  109807. + cd "$ac_dir" || { ac_status=$?; continue; }
  109808. + # Check for guested configure.
  109809. + if test -f "$ac_srcdir/configure.gnu"; then
  109810. + echo &&
  109811. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  109812. + elif test -f "$ac_srcdir/configure"; then
  109813. + echo &&
  109814. + $SHELL "$ac_srcdir/configure" --help=recursive
  109815. + else
  109816. + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  109817. + fi || ac_status=$?
  109818. + cd "$ac_pwd" || { ac_status=$?; break; }
  109819. + done
  109820. +fi
  109821. +
  109822. +test -n "$ac_init_help" && exit $ac_status
  109823. +if $ac_init_version; then
  109824. + cat <<\_ACEOF
  109825. +libTrie configure 0.1
  109826. +generated by GNU Autoconf 2.65
  109827. +
  109828. +Copyright (C) 2009 Free Software Foundation, Inc.
  109829. +This configure script is free software; the Free Software Foundation
  109830. +gives unlimited permission to copy, distribute and modify it.
  109831. +_ACEOF
  109832. + exit
  109833. +fi
  109834. +
  109835. +## ------------------------ ##
  109836. +## Autoconf initialization. ##
  109837. +## ------------------------ ##
  109838. +
  109839. +@%:@ ac_fn_cxx_try_compile LINENO
  109840. +@%:@ ----------------------------
  109841. +@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
  109842. +ac_fn_cxx_try_compile ()
  109843. +{
  109844. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  109845. + rm -f conftest.$ac_objext
  109846. + if { { ac_try="$ac_compile"
  109847. +case "(($ac_try" in
  109848. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  109849. + *) ac_try_echo=$ac_try;;
  109850. +esac
  109851. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  109852. +$as_echo "$ac_try_echo"; } >&5
  109853. + (eval "$ac_compile") 2>conftest.err
  109854. + ac_status=$?
  109855. + if test -s conftest.err; then
  109856. + grep -v '^ *+' conftest.err >conftest.er1
  109857. + cat conftest.er1 >&5
  109858. + mv -f conftest.er1 conftest.err
  109859. + fi
  109860. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  109861. + test $ac_status = 0; } && {
  109862. + test -z "$ac_cxx_werror_flag" ||
  109863. + test ! -s conftest.err
  109864. + } && test -s conftest.$ac_objext; then :
  109865. + ac_retval=0
  109866. +else
  109867. + $as_echo "$as_me: failed program was:" >&5
  109868. +sed 's/^/| /' conftest.$ac_ext >&5
  109869. +
  109870. + ac_retval=1
  109871. +fi
  109872. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  109873. + as_fn_set_status $ac_retval
  109874. +
  109875. +} @%:@ ac_fn_cxx_try_compile
  109876. +
  109877. +@%:@ ac_fn_c_try_compile LINENO
  109878. +@%:@ --------------------------
  109879. +@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
  109880. +ac_fn_c_try_compile ()
  109881. +{
  109882. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  109883. + rm -f conftest.$ac_objext
  109884. + if { { ac_try="$ac_compile"
  109885. +case "(($ac_try" in
  109886. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  109887. + *) ac_try_echo=$ac_try;;
  109888. +esac
  109889. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  109890. +$as_echo "$ac_try_echo"; } >&5
  109891. + (eval "$ac_compile") 2>conftest.err
  109892. + ac_status=$?
  109893. + if test -s conftest.err; then
  109894. + grep -v '^ *+' conftest.err >conftest.er1
  109895. + cat conftest.er1 >&5
  109896. + mv -f conftest.er1 conftest.err
  109897. + fi
  109898. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  109899. + test $ac_status = 0; } && {
  109900. + test -z "$ac_c_werror_flag" ||
  109901. + test ! -s conftest.err
  109902. + } && test -s conftest.$ac_objext; then :
  109903. + ac_retval=0
  109904. +else
  109905. + $as_echo "$as_me: failed program was:" >&5
  109906. +sed 's/^/| /' conftest.$ac_ext >&5
  109907. +
  109908. + ac_retval=1
  109909. +fi
  109910. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  109911. + as_fn_set_status $ac_retval
  109912. +
  109913. +} @%:@ ac_fn_c_try_compile
  109914. +
  109915. +@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  109916. +@%:@ -------------------------------------------
  109917. +@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
  109918. +@%:@ variable VAR accordingly.
  109919. +ac_fn_c_check_type ()
  109920. +{
  109921. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  109922. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  109923. +$as_echo_n "checking for $2... " >&6; }
  109924. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  109925. + $as_echo_n "(cached) " >&6
  109926. +else
  109927. + eval "$3=no"
  109928. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  109929. +/* end confdefs.h. */
  109930. +$4
  109931. +int
  109932. +main ()
  109933. +{
  109934. +if (sizeof ($2))
  109935. + return 0;
  109936. + ;
  109937. + return 0;
  109938. +}
  109939. +_ACEOF
  109940. +if ac_fn_c_try_compile "$LINENO"; then :
  109941. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  109942. +/* end confdefs.h. */
  109943. +$4
  109944. +int
  109945. +main ()
  109946. +{
  109947. +if (sizeof (($2)))
  109948. + return 0;
  109949. + ;
  109950. + return 0;
  109951. +}
  109952. +_ACEOF
  109953. +if ac_fn_c_try_compile "$LINENO"; then :
  109954. +
  109955. +else
  109956. + eval "$3=yes"
  109957. +fi
  109958. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  109959. +fi
  109960. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  109961. +fi
  109962. +eval ac_res=\$$3
  109963. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  109964. +$as_echo "$ac_res" >&6; }
  109965. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  109966. +
  109967. +} @%:@ ac_fn_c_check_type
  109968. +
  109969. +@%:@ ac_fn_c_try_cpp LINENO
  109970. +@%:@ ----------------------
  109971. +@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
  109972. +ac_fn_c_try_cpp ()
  109973. +{
  109974. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  109975. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  109976. +case "(($ac_try" in
  109977. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  109978. + *) ac_try_echo=$ac_try;;
  109979. +esac
  109980. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  109981. +$as_echo "$ac_try_echo"; } >&5
  109982. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  109983. + ac_status=$?
  109984. + if test -s conftest.err; then
  109985. + grep -v '^ *+' conftest.err >conftest.er1
  109986. + cat conftest.er1 >&5
  109987. + mv -f conftest.er1 conftest.err
  109988. + fi
  109989. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  109990. + test $ac_status = 0; } >/dev/null && {
  109991. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  109992. + test ! -s conftest.err
  109993. + }; then :
  109994. + ac_retval=0
  109995. +else
  109996. + $as_echo "$as_me: failed program was:" >&5
  109997. +sed 's/^/| /' conftest.$ac_ext >&5
  109998. +
  109999. + ac_retval=1
  110000. +fi
  110001. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  110002. + as_fn_set_status $ac_retval
  110003. +
  110004. +} @%:@ ac_fn_c_try_cpp
  110005. +
  110006. +@%:@ ac_fn_c_try_run LINENO
  110007. +@%:@ ----------------------
  110008. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
  110009. +@%:@ that executables *can* be run.
  110010. +ac_fn_c_try_run ()
  110011. +{
  110012. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  110013. + if { { ac_try="$ac_link"
  110014. +case "(($ac_try" in
  110015. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  110016. + *) ac_try_echo=$ac_try;;
  110017. +esac
  110018. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  110019. +$as_echo "$ac_try_echo"; } >&5
  110020. + (eval "$ac_link") 2>&5
  110021. + ac_status=$?
  110022. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  110023. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  110024. + { { case "(($ac_try" in
  110025. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  110026. + *) ac_try_echo=$ac_try;;
  110027. +esac
  110028. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  110029. +$as_echo "$ac_try_echo"; } >&5
  110030. + (eval "$ac_try") 2>&5
  110031. + ac_status=$?
  110032. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  110033. + test $ac_status = 0; }; }; then :
  110034. + ac_retval=0
  110035. +else
  110036. + $as_echo "$as_me: program exited with status $ac_status" >&5
  110037. + $as_echo "$as_me: failed program was:" >&5
  110038. +sed 's/^/| /' conftest.$ac_ext >&5
  110039. +
  110040. + ac_retval=$ac_status
  110041. +fi
  110042. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  110043. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  110044. + as_fn_set_status $ac_retval
  110045. +
  110046. +} @%:@ ac_fn_c_try_run
  110047. +
  110048. +@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  110049. +@%:@ -------------------------------------------------------
  110050. +@%:@ Tests whether HEADER exists and can be compiled using the include files in
  110051. +@%:@ INCLUDES, setting the cache variable VAR accordingly.
  110052. +ac_fn_c_check_header_compile ()
  110053. +{
  110054. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  110055. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  110056. +$as_echo_n "checking for $2... " >&6; }
  110057. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  110058. + $as_echo_n "(cached) " >&6
  110059. +else
  110060. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  110061. +/* end confdefs.h. */
  110062. +$4
  110063. +@%:@include <$2>
  110064. +_ACEOF
  110065. +if ac_fn_c_try_compile "$LINENO"; then :
  110066. + eval "$3=yes"
  110067. +else
  110068. + eval "$3=no"
  110069. +fi
  110070. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  110071. +fi
  110072. +eval ac_res=\$$3
  110073. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  110074. +$as_echo "$ac_res" >&6; }
  110075. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  110076. +
  110077. +} @%:@ ac_fn_c_check_header_compile
  110078. +cat >config.log <<_ACEOF
  110079. +This file contains any messages produced by compilers while
  110080. +running configure, to aid debugging if configure makes a mistake.
  110081. +
  110082. +It was created by libTrie $as_me 0.1, which was
  110083. +generated by GNU Autoconf 2.65. Invocation command line was
  110084. +
  110085. + $ $0 $@
  110086. +
  110087. +_ACEOF
  110088. +exec 5>>config.log
  110089. +{
  110090. +cat <<_ASUNAME
  110091. +## --------- ##
  110092. +## Platform. ##
  110093. +## --------- ##
  110094. +
  110095. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  110096. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  110097. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  110098. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  110099. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  110100. +
  110101. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  110102. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  110103. +
  110104. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  110105. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  110106. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  110107. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  110108. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  110109. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  110110. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  110111. +
  110112. +_ASUNAME
  110113. +
  110114. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  110115. +for as_dir in $PATH
  110116. +do
  110117. + IFS=$as_save_IFS
  110118. + test -z "$as_dir" && as_dir=.
  110119. + $as_echo "PATH: $as_dir"
  110120. + done
  110121. +IFS=$as_save_IFS
  110122. +
  110123. +} >&5
  110124. +
  110125. +cat >&5 <<_ACEOF
  110126. +
  110127. +
  110128. +## ----------- ##
  110129. +## Core tests. ##
  110130. +## ----------- ##
  110131. +
  110132. +_ACEOF
  110133. +
  110134. +
  110135. +# Keep a trace of the command line.
  110136. +# Strip out --no-create and --no-recursion so they do not pile up.
  110137. +# Strip out --silent because we don't want to record it for future runs.
  110138. +# Also quote any args containing shell meta-characters.
  110139. +# Make two passes to allow for proper duplicate-argument suppression.
  110140. +ac_configure_args=
  110141. +ac_configure_args0=
  110142. +ac_configure_args1=
  110143. +ac_must_keep_next=false
  110144. +for ac_pass in 1 2
  110145. +do
  110146. + for ac_arg
  110147. + do
  110148. + case $ac_arg in
  110149. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  110150. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  110151. + | -silent | --silent | --silen | --sile | --sil)
  110152. + continue ;;
  110153. + *\'*)
  110154. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  110155. + esac
  110156. + case $ac_pass in
  110157. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  110158. + 2)
  110159. + as_fn_append ac_configure_args1 " '$ac_arg'"
  110160. + if test $ac_must_keep_next = true; then
  110161. + ac_must_keep_next=false # Got value, back to normal.
  110162. + else
  110163. + case $ac_arg in
  110164. + *=* | --config-cache | -C | -disable-* | --disable-* \
  110165. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  110166. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  110167. + | -with-* | --with-* | -without-* | --without-* | --x)
  110168. + case "$ac_configure_args0 " in
  110169. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  110170. + esac
  110171. + ;;
  110172. + -* ) ac_must_keep_next=true ;;
  110173. + esac
  110174. + fi
  110175. + as_fn_append ac_configure_args " '$ac_arg'"
  110176. + ;;
  110177. + esac
  110178. + done
  110179. +done
  110180. +{ ac_configure_args0=; unset ac_configure_args0;}
  110181. +{ ac_configure_args1=; unset ac_configure_args1;}
  110182. +
  110183. +# When interrupted or exit'd, cleanup temporary files, and complete
  110184. +# config.log. We remove comments because anyway the quotes in there
  110185. +# would cause problems or look ugly.
  110186. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  110187. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  110188. +trap 'exit_status=$?
  110189. + # Save into config.log some information that might help in debugging.
  110190. + {
  110191. + echo
  110192. +
  110193. + cat <<\_ASBOX
  110194. +## ---------------- ##
  110195. +## Cache variables. ##
  110196. +## ---------------- ##
  110197. +_ASBOX
  110198. + echo
  110199. + # The following way of writing the cache mishandles newlines in values,
  110200. +(
  110201. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  110202. + eval ac_val=\$$ac_var
  110203. + case $ac_val in #(
  110204. + *${as_nl}*)
  110205. + case $ac_var in #(
  110206. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  110207. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  110208. + esac
  110209. + case $ac_var in #(
  110210. + _ | IFS | as_nl) ;; #(
  110211. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  110212. + *) { eval $ac_var=; unset $ac_var;} ;;
  110213. + esac ;;
  110214. + esac
  110215. + done
  110216. + (set) 2>&1 |
  110217. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  110218. + *${as_nl}ac_space=\ *)
  110219. + sed -n \
  110220. + "s/'\''/'\''\\\\'\'''\''/g;
  110221. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  110222. + ;; #(
  110223. + *)
  110224. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  110225. + ;;
  110226. + esac |
  110227. + sort
  110228. +)
  110229. + echo
  110230. +
  110231. + cat <<\_ASBOX
  110232. +## ----------------- ##
  110233. +## Output variables. ##
  110234. +## ----------------- ##
  110235. +_ASBOX
  110236. + echo
  110237. + for ac_var in $ac_subst_vars
  110238. + do
  110239. + eval ac_val=\$$ac_var
  110240. + case $ac_val in
  110241. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  110242. + esac
  110243. + $as_echo "$ac_var='\''$ac_val'\''"
  110244. + done | sort
  110245. + echo
  110246. +
  110247. + if test -n "$ac_subst_files"; then
  110248. + cat <<\_ASBOX
  110249. +## ------------------- ##
  110250. +## File substitutions. ##
  110251. +## ------------------- ##
  110252. +_ASBOX
  110253. + echo
  110254. + for ac_var in $ac_subst_files
  110255. + do
  110256. + eval ac_val=\$$ac_var
  110257. + case $ac_val in
  110258. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  110259. + esac
  110260. + $as_echo "$ac_var='\''$ac_val'\''"
  110261. + done | sort
  110262. + echo
  110263. + fi
  110264. +
  110265. + if test -s confdefs.h; then
  110266. + cat <<\_ASBOX
  110267. +## ----------- ##
  110268. +## confdefs.h. ##
  110269. +## ----------- ##
  110270. +_ASBOX
  110271. + echo
  110272. + cat confdefs.h
  110273. + echo
  110274. + fi
  110275. + test "$ac_signal" != 0 &&
  110276. + $as_echo "$as_me: caught signal $ac_signal"
  110277. + $as_echo "$as_me: exit $exit_status"
  110278. + } >&5
  110279. + rm -f core *.core core.conftest.* &&
  110280. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  110281. + exit $exit_status
  110282. +' 0
  110283. +for ac_signal in 1 2 13 15; do
  110284. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  110285. +done
  110286. +ac_signal=0
  110287. +
  110288. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  110289. +rm -f -r conftest* confdefs.h
  110290. +
  110291. +$as_echo "/* confdefs.h */" > confdefs.h
  110292. +
  110293. +# Predefined preprocessor variables.
  110294. +
  110295. +cat >>confdefs.h <<_ACEOF
  110296. +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
  110297. +_ACEOF
  110298. +
  110299. +cat >>confdefs.h <<_ACEOF
  110300. +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  110301. +_ACEOF
  110302. +
  110303. +cat >>confdefs.h <<_ACEOF
  110304. +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  110305. +_ACEOF
  110306. +
  110307. +cat >>confdefs.h <<_ACEOF
  110308. +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
  110309. +_ACEOF
  110310. +
  110311. +cat >>confdefs.h <<_ACEOF
  110312. +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  110313. +_ACEOF
  110314. +
  110315. +cat >>confdefs.h <<_ACEOF
  110316. +@%:@define PACKAGE_URL "$PACKAGE_URL"
  110317. +_ACEOF
  110318. +
  110319. +
  110320. +# Let the site file select an alternate cache file if it wants to.
  110321. +# Prefer an explicitly selected file to automatically selected ones.
  110322. +ac_site_file1=NONE
  110323. +ac_site_file2=NONE
  110324. +if test -n "$CONFIG_SITE"; then
  110325. + ac_site_file1=$CONFIG_SITE
  110326. +elif test "x$prefix" != xNONE; then
  110327. + ac_site_file1=$prefix/share/config.site
  110328. + ac_site_file2=$prefix/etc/config.site
  110329. +else
  110330. + ac_site_file1=$ac_default_prefix/share/config.site
  110331. + ac_site_file2=$ac_default_prefix/etc/config.site
  110332. +fi
  110333. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  110334. +do
  110335. + test "x$ac_site_file" = xNONE && continue
  110336. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  110337. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  110338. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  110339. + sed 's/^/| /' "$ac_site_file" >&5
  110340. + . "$ac_site_file"
  110341. + fi
  110342. +done
  110343. +
  110344. +if test -r "$cache_file"; then
  110345. + # Some versions of bash will fail to source /dev/null (special files
  110346. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  110347. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  110348. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  110349. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  110350. + case $cache_file in
  110351. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  110352. + *) . "./$cache_file";;
  110353. + esac
  110354. + fi
  110355. +else
  110356. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  110357. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  110358. + >$cache_file
  110359. +fi
  110360. +
  110361. +# Check that the precious variables saved in the cache have kept the same
  110362. +# value.
  110363. +ac_cache_corrupted=false
  110364. +for ac_var in $ac_precious_vars; do
  110365. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  110366. + eval ac_new_set=\$ac_env_${ac_var}_set
  110367. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  110368. + eval ac_new_val=\$ac_env_${ac_var}_value
  110369. + case $ac_old_set,$ac_new_set in
  110370. + set,)
  110371. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  110372. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  110373. + ac_cache_corrupted=: ;;
  110374. + ,set)
  110375. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  110376. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  110377. + ac_cache_corrupted=: ;;
  110378. + ,);;
  110379. + *)
  110380. + if test "x$ac_old_val" != "x$ac_new_val"; then
  110381. + # differences in whitespace do not lead to failure.
  110382. + ac_old_val_w=`echo x $ac_old_val`
  110383. + ac_new_val_w=`echo x $ac_new_val`
  110384. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  110385. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  110386. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  110387. + ac_cache_corrupted=:
  110388. + else
  110389. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  110390. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  110391. + eval $ac_var=\$ac_old_val
  110392. + fi
  110393. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  110394. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  110395. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  110396. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  110397. + fi;;
  110398. + esac
  110399. + # Pass precious variables to config.status.
  110400. + if test "$ac_new_set" = set; then
  110401. + case $ac_new_val in
  110402. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  110403. + *) ac_arg=$ac_var=$ac_new_val ;;
  110404. + esac
  110405. + case " $ac_configure_args " in
  110406. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  110407. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  110408. + esac
  110409. + fi
  110410. +done
  110411. +if $ac_cache_corrupted; then
  110412. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  110413. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  110414. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  110415. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  110416. + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  110417. +fi
  110418. +## -------------------- ##
  110419. +## Main body of script. ##
  110420. +## -------------------- ##
  110421. +
  110422. +ac_ext=c
  110423. +ac_cpp='$CPP $CPPFLAGS'
  110424. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  110425. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  110426. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  110427. +
  110428. +
  110429. +
  110430. +ac_config_headers="$ac_config_headers config.h"
  110431. +
  110432. +ac_aux_dir=
  110433. +for ac_dir in cfgaux "$srcdir"/cfgaux; do
  110434. + for ac_t in install-sh install.sh shtool; do
  110435. + if test -f "$ac_dir/$ac_t"; then
  110436. + ac_aux_dir=$ac_dir
  110437. + ac_install_sh="$ac_aux_dir/$ac_t -c"
  110438. + break 2
  110439. + fi
  110440. + done
  110441. +done
  110442. +if test -z "$ac_aux_dir"; then
  110443. + as_fn_error "cannot find install-sh, install.sh, or shtool in cfgaux \"$srcdir\"/cfgaux" "$LINENO" 5
  110444. +fi
  110445. +
  110446. +# These three variables are undocumented and unsupported,
  110447. +# and are intended to be withdrawn in a future Autoconf release.
  110448. +# They can cause serious problems if a builder's source tree is in a directory
  110449. +# whose full name contains unusual characters.
  110450. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  110451. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  110452. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  110453. +
  110454. +
  110455. +
  110456. +SquidInline="yes"
  110457. +
  110458. +@%:@ Check whether --enable-optimizations was given.
  110459. +if test "${enable_optimizations+set}" = set; then :
  110460. + enableval=$enable_optimizations; if test "$enableval" = "no" ; then
  110461. + { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling compiler optimizations (-O flag)" >&5
  110462. +$as_echo "$as_me: Disabling compiler optimizations (-O flag)" >&6;}
  110463. + CFLAGS="`echo $CFLAGS | sed -e 's/-O[0-9]*//'`"
  110464. + CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-O[0-9]*//'`"
  110465. + SquidInline="no"
  110466. + fi
  110467. +
  110468. +fi
  110469. +
  110470. +
  110471. +@%:@ Check whether --enable-inline was given.
  110472. +if test "${enable_inline+set}" = set; then :
  110473. + enableval=$enable_inline; if test "$enableval" = "no" ; then
  110474. + SquidInline="no"
  110475. + fi
  110476. +
  110477. +fi
  110478. +
  110479. +
  110480. +if test "$SquidInline" = "yes" ; then
  110481. +
  110482. +$as_echo "@%:@define _SQUID_INLINE_ inline" >>confdefs.h
  110483. +
  110484. +
  110485. +$as_echo "@%:@define _USE_INLINE_ /**/" >>confdefs.h
  110486. +
  110487. +else
  110488. + { $as_echo "$as_me:${as_lineno-$LINENO}: Inlining optimization disabled" >&5
  110489. +$as_echo "$as_me: Inlining optimization disabled" >&6;}
  110490. +
  110491. +$as_echo "@%:@define _SQUID_INLINE_ /**/" >>confdefs.h
  110492. +
  110493. +fi
  110494. +
  110495. +
  110496. +# Checks for programs.
  110497. +ac_ext=cpp
  110498. +ac_cpp='$CXXCPP $CPPFLAGS'
  110499. +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  110500. +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  110501. +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  110502. +if test -z "$CXX"; then
  110503. + if test -n "$CCC"; then
  110504. + CXX=$CCC
  110505. + else
  110506. + if test -n "$ac_tool_prefix"; then
  110507. + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  110508. + do
  110509. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  110510. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  110511. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  110512. +$as_echo_n "checking for $ac_word... " >&6; }
  110513. +if test "${ac_cv_prog_CXX+set}" = set; then :
  110514. + $as_echo_n "(cached) " >&6
  110515. +else
  110516. + if test -n "$CXX"; then
  110517. + ac_cv_prog_CXX="$CXX" # Let the user override the test.
  110518. +else
  110519. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  110520. +for as_dir in $PATH
  110521. +do
  110522. + IFS=$as_save_IFS
  110523. + test -z "$as_dir" && as_dir=.
  110524. + for ac_exec_ext in '' $ac_executable_extensions; do
  110525. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  110526. + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  110527. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  110528. + break 2
  110529. + fi
  110530. +done
  110531. + done
  110532. +IFS=$as_save_IFS
  110533. +
  110534. +fi
  110535. +fi
  110536. +CXX=$ac_cv_prog_CXX
  110537. +if test -n "$CXX"; then
  110538. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  110539. +$as_echo "$CXX" >&6; }
  110540. +else
  110541. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  110542. +$as_echo "no" >&6; }
  110543. +fi
  110544. +
  110545. +
  110546. + test -n "$CXX" && break
  110547. + done
  110548. +fi
  110549. +if test -z "$CXX"; then
  110550. + ac_ct_CXX=$CXX
  110551. + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  110552. +do
  110553. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  110554. +set dummy $ac_prog; ac_word=$2
  110555. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  110556. +$as_echo_n "checking for $ac_word... " >&6; }
  110557. +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
  110558. + $as_echo_n "(cached) " >&6
  110559. +else
  110560. + if test -n "$ac_ct_CXX"; then
  110561. + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  110562. +else
  110563. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  110564. +for as_dir in $PATH
  110565. +do
  110566. + IFS=$as_save_IFS
  110567. + test -z "$as_dir" && as_dir=.
  110568. + for ac_exec_ext in '' $ac_executable_extensions; do
  110569. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  110570. + ac_cv_prog_ac_ct_CXX="$ac_prog"
  110571. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  110572. + break 2
  110573. + fi
  110574. +done
  110575. + done
  110576. +IFS=$as_save_IFS
  110577. +
  110578. +fi
  110579. +fi
  110580. +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  110581. +if test -n "$ac_ct_CXX"; then
  110582. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  110583. +$as_echo "$ac_ct_CXX" >&6; }
  110584. +else
  110585. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  110586. +$as_echo "no" >&6; }
  110587. +fi
  110588. +
  110589. +
  110590. + test -n "$ac_ct_CXX" && break
  110591. +done
  110592. +
  110593. + if test "x$ac_ct_CXX" = x; then
  110594. + CXX="g++"
  110595. + else
  110596. + case $cross_compiling:$ac_tool_warned in
  110597. +yes:)
  110598. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  110599. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  110600. +ac_tool_warned=yes ;;
  110601. +esac
  110602. + CXX=$ac_ct_CXX
  110603. + fi
  110604. +fi
  110605. +
  110606. + fi
  110607. +fi
  110608. +# Provide some information about the compiler.
  110609. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  110610. +set X $ac_compile
  110611. +ac_compiler=$2
  110612. +for ac_option in --version -v -V -qversion; do
  110613. + { { ac_try="$ac_compiler $ac_option >&5"
  110614. +case "(($ac_try" in
  110615. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  110616. + *) ac_try_echo=$ac_try;;
  110617. +esac
  110618. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  110619. +$as_echo "$ac_try_echo"; } >&5
  110620. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  110621. + ac_status=$?
  110622. + if test -s conftest.err; then
  110623. + sed '10a\
  110624. +... rest of stderr output deleted ...
  110625. + 10q' conftest.err >conftest.er1
  110626. + cat conftest.er1 >&5
  110627. + fi
  110628. + rm -f conftest.er1 conftest.err
  110629. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  110630. + test $ac_status = 0; }
  110631. +done
  110632. +
  110633. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  110634. +/* end confdefs.h. */
  110635. +
  110636. +int
  110637. +main ()
  110638. +{
  110639. +
  110640. + ;
  110641. + return 0;
  110642. +}
  110643. +_ACEOF
  110644. +ac_clean_files_save=$ac_clean_files
  110645. +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  110646. +# Try to create an executable without -o first, disregard a.out.
  110647. +# It will help us diagnose broken compilers, and finding out an intuition
  110648. +# of exeext.
  110649. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
  110650. +$as_echo_n "checking whether the C++ compiler works... " >&6; }
  110651. +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  110652. +
  110653. +# The possible output files:
  110654. +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  110655. +
  110656. +ac_rmfiles=
  110657. +for ac_file in $ac_files
  110658. +do
  110659. + case $ac_file in
  110660. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  110661. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  110662. + esac
  110663. +done
  110664. +rm -f $ac_rmfiles
  110665. +
  110666. +if { { ac_try="$ac_link_default"
  110667. +case "(($ac_try" in
  110668. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  110669. + *) ac_try_echo=$ac_try;;
  110670. +esac
  110671. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  110672. +$as_echo "$ac_try_echo"; } >&5
  110673. + (eval "$ac_link_default") 2>&5
  110674. + ac_status=$?
  110675. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  110676. + test $ac_status = 0; }; then :
  110677. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  110678. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  110679. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  110680. +# so that the user can short-circuit this test for compilers unknown to
  110681. +# Autoconf.
  110682. +for ac_file in $ac_files ''
  110683. +do
  110684. + test -f "$ac_file" || continue
  110685. + case $ac_file in
  110686. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  110687. + ;;
  110688. + [ab].out )
  110689. + # We found the default executable, but exeext='' is most
  110690. + # certainly right.
  110691. + break;;
  110692. + *.* )
  110693. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  110694. + then :; else
  110695. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  110696. + fi
  110697. + # We set ac_cv_exeext here because the later test for it is not
  110698. + # safe: cross compilers may not add the suffix if given an `-o'
  110699. + # argument, so we may need to know it at that point already.
  110700. + # Even if this section looks crufty: it has the advantage of
  110701. + # actually working.
  110702. + break;;
  110703. + * )
  110704. + break;;
  110705. + esac
  110706. +done
  110707. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  110708. +
  110709. +else
  110710. + ac_file=''
  110711. +fi
  110712. +if test -z "$ac_file"; then :
  110713. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  110714. +$as_echo "no" >&6; }
  110715. +$as_echo "$as_me: failed program was:" >&5
  110716. +sed 's/^/| /' conftest.$ac_ext >&5
  110717. +
  110718. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  110719. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  110720. +{ as_fn_set_status 77
  110721. +as_fn_error "C++ compiler cannot create executables
  110722. +See \`config.log' for more details." "$LINENO" 5; }; }
  110723. +else
  110724. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  110725. +$as_echo "yes" >&6; }
  110726. +fi
  110727. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
  110728. +$as_echo_n "checking for C++ compiler default output file name... " >&6; }
  110729. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  110730. +$as_echo "$ac_file" >&6; }
  110731. +ac_exeext=$ac_cv_exeext
  110732. +
  110733. +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  110734. +ac_clean_files=$ac_clean_files_save
  110735. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  110736. +$as_echo_n "checking for suffix of executables... " >&6; }
  110737. +if { { ac_try="$ac_link"
  110738. +case "(($ac_try" in
  110739. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  110740. + *) ac_try_echo=$ac_try;;
  110741. +esac
  110742. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  110743. +$as_echo "$ac_try_echo"; } >&5
  110744. + (eval "$ac_link") 2>&5
  110745. + ac_status=$?
  110746. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  110747. + test $ac_status = 0; }; then :
  110748. + # If both `conftest.exe' and `conftest' are `present' (well, observable)
  110749. +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  110750. +# work properly (i.e., refer to `conftest.exe'), while it won't with
  110751. +# `rm'.
  110752. +for ac_file in conftest.exe conftest conftest.*; do
  110753. + test -f "$ac_file" || continue
  110754. + case $ac_file in
  110755. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  110756. + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  110757. + break;;
  110758. + * ) break;;
  110759. + esac
  110760. +done
  110761. +else
  110762. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  110763. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  110764. +as_fn_error "cannot compute suffix of executables: cannot compile and link
  110765. +See \`config.log' for more details." "$LINENO" 5; }
  110766. +fi
  110767. +rm -f conftest conftest$ac_cv_exeext
  110768. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  110769. +$as_echo "$ac_cv_exeext" >&6; }
  110770. +
  110771. +rm -f conftest.$ac_ext
  110772. +EXEEXT=$ac_cv_exeext
  110773. +ac_exeext=$EXEEXT
  110774. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  110775. +/* end confdefs.h. */
  110776. +@%:@include <stdio.h>
  110777. +int
  110778. +main ()
  110779. +{
  110780. +FILE *f = fopen ("conftest.out", "w");
  110781. + return ferror (f) || fclose (f) != 0;
  110782. +
  110783. + ;
  110784. + return 0;
  110785. +}
  110786. +_ACEOF
  110787. +ac_clean_files="$ac_clean_files conftest.out"
  110788. +# Check that the compiler produces executables we can run. If not, either
  110789. +# the compiler is broken, or we cross compile.
  110790. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  110791. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  110792. +if test "$cross_compiling" != yes; then
  110793. + { { ac_try="$ac_link"
  110794. +case "(($ac_try" in
  110795. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  110796. + *) ac_try_echo=$ac_try;;
  110797. +esac
  110798. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  110799. +$as_echo "$ac_try_echo"; } >&5
  110800. + (eval "$ac_link") 2>&5
  110801. + ac_status=$?
  110802. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  110803. + test $ac_status = 0; }
  110804. + if { ac_try='./conftest$ac_cv_exeext'
  110805. + { { case "(($ac_try" in
  110806. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  110807. + *) ac_try_echo=$ac_try;;
  110808. +esac
  110809. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  110810. +$as_echo "$ac_try_echo"; } >&5
  110811. + (eval "$ac_try") 2>&5
  110812. + ac_status=$?
  110813. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  110814. + test $ac_status = 0; }; }; then
  110815. + cross_compiling=no
  110816. + else
  110817. + if test "$cross_compiling" = maybe; then
  110818. + cross_compiling=yes
  110819. + else
  110820. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  110821. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  110822. +as_fn_error "cannot run C++ compiled programs.
  110823. +If you meant to cross compile, use \`--host'.
  110824. +See \`config.log' for more details." "$LINENO" 5; }
  110825. + fi
  110826. + fi
  110827. +fi
  110828. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  110829. +$as_echo "$cross_compiling" >&6; }
  110830. +
  110831. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  110832. +ac_clean_files=$ac_clean_files_save
  110833. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  110834. +$as_echo_n "checking for suffix of object files... " >&6; }
  110835. +if test "${ac_cv_objext+set}" = set; then :
  110836. + $as_echo_n "(cached) " >&6
  110837. +else
  110838. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  110839. +/* end confdefs.h. */
  110840. +
  110841. +int
  110842. +main ()
  110843. +{
  110844. +
  110845. + ;
  110846. + return 0;
  110847. +}
  110848. +_ACEOF
  110849. +rm -f conftest.o conftest.obj
  110850. +if { { ac_try="$ac_compile"
  110851. +case "(($ac_try" in
  110852. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  110853. + *) ac_try_echo=$ac_try;;
  110854. +esac
  110855. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  110856. +$as_echo "$ac_try_echo"; } >&5
  110857. + (eval "$ac_compile") 2>&5
  110858. + ac_status=$?
  110859. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  110860. + test $ac_status = 0; }; then :
  110861. + for ac_file in conftest.o conftest.obj conftest.*; do
  110862. + test -f "$ac_file" || continue;
  110863. + case $ac_file in
  110864. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  110865. + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  110866. + break;;
  110867. + esac
  110868. +done
  110869. +else
  110870. + $as_echo "$as_me: failed program was:" >&5
  110871. +sed 's/^/| /' conftest.$ac_ext >&5
  110872. +
  110873. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  110874. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  110875. +as_fn_error "cannot compute suffix of object files: cannot compile
  110876. +See \`config.log' for more details." "$LINENO" 5; }
  110877. +fi
  110878. +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  110879. +fi
  110880. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  110881. +$as_echo "$ac_cv_objext" >&6; }
  110882. +OBJEXT=$ac_cv_objext
  110883. +ac_objext=$OBJEXT
  110884. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  110885. +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  110886. +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
  110887. + $as_echo_n "(cached) " >&6
  110888. +else
  110889. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  110890. +/* end confdefs.h. */
  110891. +
  110892. +int
  110893. +main ()
  110894. +{
  110895. +#ifndef __GNUC__
  110896. + choke me
  110897. +#endif
  110898. +
  110899. + ;
  110900. + return 0;
  110901. +}
  110902. +_ACEOF
  110903. +if ac_fn_cxx_try_compile "$LINENO"; then :
  110904. + ac_compiler_gnu=yes
  110905. +else
  110906. + ac_compiler_gnu=no
  110907. +fi
  110908. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  110909. +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  110910. +
  110911. +fi
  110912. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  110913. +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  110914. +if test $ac_compiler_gnu = yes; then
  110915. + GXX=yes
  110916. +else
  110917. + GXX=
  110918. +fi
  110919. +ac_test_CXXFLAGS=${CXXFLAGS+set}
  110920. +ac_save_CXXFLAGS=$CXXFLAGS
  110921. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  110922. +$as_echo_n "checking whether $CXX accepts -g... " >&6; }
  110923. +if test "${ac_cv_prog_cxx_g+set}" = set; then :
  110924. + $as_echo_n "(cached) " >&6
  110925. +else
  110926. + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  110927. + ac_cxx_werror_flag=yes
  110928. + ac_cv_prog_cxx_g=no
  110929. + CXXFLAGS="-g"
  110930. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  110931. +/* end confdefs.h. */
  110932. +
  110933. +int
  110934. +main ()
  110935. +{
  110936. +
  110937. + ;
  110938. + return 0;
  110939. +}
  110940. +_ACEOF
  110941. +if ac_fn_cxx_try_compile "$LINENO"; then :
  110942. + ac_cv_prog_cxx_g=yes
  110943. +else
  110944. + CXXFLAGS=""
  110945. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  110946. +/* end confdefs.h. */
  110947. +
  110948. +int
  110949. +main ()
  110950. +{
  110951. +
  110952. + ;
  110953. + return 0;
  110954. +}
  110955. +_ACEOF
  110956. +if ac_fn_cxx_try_compile "$LINENO"; then :
  110957. +
  110958. +else
  110959. + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  110960. + CXXFLAGS="-g"
  110961. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  110962. +/* end confdefs.h. */
  110963. +
  110964. +int
  110965. +main ()
  110966. +{
  110967. +
  110968. + ;
  110969. + return 0;
  110970. +}
  110971. +_ACEOF
  110972. +if ac_fn_cxx_try_compile "$LINENO"; then :
  110973. + ac_cv_prog_cxx_g=yes
  110974. +fi
  110975. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  110976. +fi
  110977. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  110978. +fi
  110979. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  110980. + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  110981. +fi
  110982. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  110983. +$as_echo "$ac_cv_prog_cxx_g" >&6; }
  110984. +if test "$ac_test_CXXFLAGS" = set; then
  110985. + CXXFLAGS=$ac_save_CXXFLAGS
  110986. +elif test $ac_cv_prog_cxx_g = yes; then
  110987. + if test "$GXX" = yes; then
  110988. + CXXFLAGS="-g -O2"
  110989. + else
  110990. + CXXFLAGS="-g"
  110991. + fi
  110992. +else
  110993. + if test "$GXX" = yes; then
  110994. + CXXFLAGS="-O2"
  110995. + else
  110996. + CXXFLAGS=
  110997. + fi
  110998. +fi
  110999. +ac_ext=c
  111000. +ac_cpp='$CPP $CPPFLAGS'
  111001. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  111002. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  111003. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  111004. +
  111005. +ac_ext=c
  111006. +ac_cpp='$CPP $CPPFLAGS'
  111007. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  111008. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  111009. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  111010. +if test -n "$ac_tool_prefix"; then
  111011. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  111012. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  111013. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  111014. +$as_echo_n "checking for $ac_word... " >&6; }
  111015. +if test "${ac_cv_prog_CC+set}" = set; then :
  111016. + $as_echo_n "(cached) " >&6
  111017. +else
  111018. + if test -n "$CC"; then
  111019. + ac_cv_prog_CC="$CC" # Let the user override the test.
  111020. +else
  111021. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  111022. +for as_dir in $PATH
  111023. +do
  111024. + IFS=$as_save_IFS
  111025. + test -z "$as_dir" && as_dir=.
  111026. + for ac_exec_ext in '' $ac_executable_extensions; do
  111027. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  111028. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  111029. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  111030. + break 2
  111031. + fi
  111032. +done
  111033. + done
  111034. +IFS=$as_save_IFS
  111035. +
  111036. +fi
  111037. +fi
  111038. +CC=$ac_cv_prog_CC
  111039. +if test -n "$CC"; then
  111040. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  111041. +$as_echo "$CC" >&6; }
  111042. +else
  111043. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  111044. +$as_echo "no" >&6; }
  111045. +fi
  111046. +
  111047. +
  111048. +fi
  111049. +if test -z "$ac_cv_prog_CC"; then
  111050. + ac_ct_CC=$CC
  111051. + # Extract the first word of "gcc", so it can be a program name with args.
  111052. +set dummy gcc; ac_word=$2
  111053. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  111054. +$as_echo_n "checking for $ac_word... " >&6; }
  111055. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  111056. + $as_echo_n "(cached) " >&6
  111057. +else
  111058. + if test -n "$ac_ct_CC"; then
  111059. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  111060. +else
  111061. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  111062. +for as_dir in $PATH
  111063. +do
  111064. + IFS=$as_save_IFS
  111065. + test -z "$as_dir" && as_dir=.
  111066. + for ac_exec_ext in '' $ac_executable_extensions; do
  111067. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  111068. + ac_cv_prog_ac_ct_CC="gcc"
  111069. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  111070. + break 2
  111071. + fi
  111072. +done
  111073. + done
  111074. +IFS=$as_save_IFS
  111075. +
  111076. +fi
  111077. +fi
  111078. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  111079. +if test -n "$ac_ct_CC"; then
  111080. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  111081. +$as_echo "$ac_ct_CC" >&6; }
  111082. +else
  111083. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  111084. +$as_echo "no" >&6; }
  111085. +fi
  111086. +
  111087. + if test "x$ac_ct_CC" = x; then
  111088. + CC=""
  111089. + else
  111090. + case $cross_compiling:$ac_tool_warned in
  111091. +yes:)
  111092. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  111093. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  111094. +ac_tool_warned=yes ;;
  111095. +esac
  111096. + CC=$ac_ct_CC
  111097. + fi
  111098. +else
  111099. + CC="$ac_cv_prog_CC"
  111100. +fi
  111101. +
  111102. +if test -z "$CC"; then
  111103. + if test -n "$ac_tool_prefix"; then
  111104. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  111105. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  111106. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  111107. +$as_echo_n "checking for $ac_word... " >&6; }
  111108. +if test "${ac_cv_prog_CC+set}" = set; then :
  111109. + $as_echo_n "(cached) " >&6
  111110. +else
  111111. + if test -n "$CC"; then
  111112. + ac_cv_prog_CC="$CC" # Let the user override the test.
  111113. +else
  111114. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  111115. +for as_dir in $PATH
  111116. +do
  111117. + IFS=$as_save_IFS
  111118. + test -z "$as_dir" && as_dir=.
  111119. + for ac_exec_ext in '' $ac_executable_extensions; do
  111120. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  111121. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  111122. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  111123. + break 2
  111124. + fi
  111125. +done
  111126. + done
  111127. +IFS=$as_save_IFS
  111128. +
  111129. +fi
  111130. +fi
  111131. +CC=$ac_cv_prog_CC
  111132. +if test -n "$CC"; then
  111133. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  111134. +$as_echo "$CC" >&6; }
  111135. +else
  111136. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  111137. +$as_echo "no" >&6; }
  111138. +fi
  111139. +
  111140. +
  111141. + fi
  111142. +fi
  111143. +if test -z "$CC"; then
  111144. + # Extract the first word of "cc", so it can be a program name with args.
  111145. +set dummy cc; ac_word=$2
  111146. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  111147. +$as_echo_n "checking for $ac_word... " >&6; }
  111148. +if test "${ac_cv_prog_CC+set}" = set; then :
  111149. + $as_echo_n "(cached) " >&6
  111150. +else
  111151. + if test -n "$CC"; then
  111152. + ac_cv_prog_CC="$CC" # Let the user override the test.
  111153. +else
  111154. + ac_prog_rejected=no
  111155. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  111156. +for as_dir in $PATH
  111157. +do
  111158. + IFS=$as_save_IFS
  111159. + test -z "$as_dir" && as_dir=.
  111160. + for ac_exec_ext in '' $ac_executable_extensions; do
  111161. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  111162. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  111163. + ac_prog_rejected=yes
  111164. + continue
  111165. + fi
  111166. + ac_cv_prog_CC="cc"
  111167. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  111168. + break 2
  111169. + fi
  111170. +done
  111171. + done
  111172. +IFS=$as_save_IFS
  111173. +
  111174. +if test $ac_prog_rejected = yes; then
  111175. + # We found a bogon in the path, so make sure we never use it.
  111176. + set dummy $ac_cv_prog_CC
  111177. + shift
  111178. + if test $@%:@ != 0; then
  111179. + # We chose a different compiler from the bogus one.
  111180. + # However, it has the same basename, so the bogon will be chosen
  111181. + # first if we set CC to just the basename; use the full file name.
  111182. + shift
  111183. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  111184. + fi
  111185. +fi
  111186. +fi
  111187. +fi
  111188. +CC=$ac_cv_prog_CC
  111189. +if test -n "$CC"; then
  111190. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  111191. +$as_echo "$CC" >&6; }
  111192. +else
  111193. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  111194. +$as_echo "no" >&6; }
  111195. +fi
  111196. +
  111197. +
  111198. +fi
  111199. +if test -z "$CC"; then
  111200. + if test -n "$ac_tool_prefix"; then
  111201. + for ac_prog in cl.exe
  111202. + do
  111203. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  111204. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  111205. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  111206. +$as_echo_n "checking for $ac_word... " >&6; }
  111207. +if test "${ac_cv_prog_CC+set}" = set; then :
  111208. + $as_echo_n "(cached) " >&6
  111209. +else
  111210. + if test -n "$CC"; then
  111211. + ac_cv_prog_CC="$CC" # Let the user override the test.
  111212. +else
  111213. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  111214. +for as_dir in $PATH
  111215. +do
  111216. + IFS=$as_save_IFS
  111217. + test -z "$as_dir" && as_dir=.
  111218. + for ac_exec_ext in '' $ac_executable_extensions; do
  111219. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  111220. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  111221. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  111222. + break 2
  111223. + fi
  111224. +done
  111225. + done
  111226. +IFS=$as_save_IFS
  111227. +
  111228. +fi
  111229. +fi
  111230. +CC=$ac_cv_prog_CC
  111231. +if test -n "$CC"; then
  111232. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  111233. +$as_echo "$CC" >&6; }
  111234. +else
  111235. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  111236. +$as_echo "no" >&6; }
  111237. +fi
  111238. +
  111239. +
  111240. + test -n "$CC" && break
  111241. + done
  111242. +fi
  111243. +if test -z "$CC"; then
  111244. + ac_ct_CC=$CC
  111245. + for ac_prog in cl.exe
  111246. +do
  111247. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  111248. +set dummy $ac_prog; ac_word=$2
  111249. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  111250. +$as_echo_n "checking for $ac_word... " >&6; }
  111251. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  111252. + $as_echo_n "(cached) " >&6
  111253. +else
  111254. + if test -n "$ac_ct_CC"; then
  111255. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  111256. +else
  111257. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  111258. +for as_dir in $PATH
  111259. +do
  111260. + IFS=$as_save_IFS
  111261. + test -z "$as_dir" && as_dir=.
  111262. + for ac_exec_ext in '' $ac_executable_extensions; do
  111263. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  111264. + ac_cv_prog_ac_ct_CC="$ac_prog"
  111265. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  111266. + break 2
  111267. + fi
  111268. +done
  111269. + done
  111270. +IFS=$as_save_IFS
  111271. +
  111272. +fi
  111273. +fi
  111274. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  111275. +if test -n "$ac_ct_CC"; then
  111276. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  111277. +$as_echo "$ac_ct_CC" >&6; }
  111278. +else
  111279. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  111280. +$as_echo "no" >&6; }
  111281. +fi
  111282. +
  111283. +
  111284. + test -n "$ac_ct_CC" && break
  111285. +done
  111286. +
  111287. + if test "x$ac_ct_CC" = x; then
  111288. + CC=""
  111289. + else
  111290. + case $cross_compiling:$ac_tool_warned in
  111291. +yes:)
  111292. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  111293. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  111294. +ac_tool_warned=yes ;;
  111295. +esac
  111296. + CC=$ac_ct_CC
  111297. + fi
  111298. +fi
  111299. +
  111300. +fi
  111301. +
  111302. +
  111303. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  111304. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  111305. +as_fn_error "no acceptable C compiler found in \$PATH
  111306. +See \`config.log' for more details." "$LINENO" 5; }
  111307. +
  111308. +# Provide some information about the compiler.
  111309. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  111310. +set X $ac_compile
  111311. +ac_compiler=$2
  111312. +for ac_option in --version -v -V -qversion; do
  111313. + { { ac_try="$ac_compiler $ac_option >&5"
  111314. +case "(($ac_try" in
  111315. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  111316. + *) ac_try_echo=$ac_try;;
  111317. +esac
  111318. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  111319. +$as_echo "$ac_try_echo"; } >&5
  111320. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  111321. + ac_status=$?
  111322. + if test -s conftest.err; then
  111323. + sed '10a\
  111324. +... rest of stderr output deleted ...
  111325. + 10q' conftest.err >conftest.er1
  111326. + cat conftest.er1 >&5
  111327. + fi
  111328. + rm -f conftest.er1 conftest.err
  111329. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  111330. + test $ac_status = 0; }
  111331. +done
  111332. +
  111333. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  111334. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  111335. +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  111336. + $as_echo_n "(cached) " >&6
  111337. +else
  111338. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  111339. +/* end confdefs.h. */
  111340. +
  111341. +int
  111342. +main ()
  111343. +{
  111344. +#ifndef __GNUC__
  111345. + choke me
  111346. +#endif
  111347. +
  111348. + ;
  111349. + return 0;
  111350. +}
  111351. +_ACEOF
  111352. +if ac_fn_c_try_compile "$LINENO"; then :
  111353. + ac_compiler_gnu=yes
  111354. +else
  111355. + ac_compiler_gnu=no
  111356. +fi
  111357. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  111358. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  111359. +
  111360. +fi
  111361. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  111362. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  111363. +if test $ac_compiler_gnu = yes; then
  111364. + GCC=yes
  111365. +else
  111366. + GCC=
  111367. +fi
  111368. +ac_test_CFLAGS=${CFLAGS+set}
  111369. +ac_save_CFLAGS=$CFLAGS
  111370. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  111371. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  111372. +if test "${ac_cv_prog_cc_g+set}" = set; then :
  111373. + $as_echo_n "(cached) " >&6
  111374. +else
  111375. + ac_save_c_werror_flag=$ac_c_werror_flag
  111376. + ac_c_werror_flag=yes
  111377. + ac_cv_prog_cc_g=no
  111378. + CFLAGS="-g"
  111379. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  111380. +/* end confdefs.h. */
  111381. +
  111382. +int
  111383. +main ()
  111384. +{
  111385. +
  111386. + ;
  111387. + return 0;
  111388. +}
  111389. +_ACEOF
  111390. +if ac_fn_c_try_compile "$LINENO"; then :
  111391. + ac_cv_prog_cc_g=yes
  111392. +else
  111393. + CFLAGS=""
  111394. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  111395. +/* end confdefs.h. */
  111396. +
  111397. +int
  111398. +main ()
  111399. +{
  111400. +
  111401. + ;
  111402. + return 0;
  111403. +}
  111404. +_ACEOF
  111405. +if ac_fn_c_try_compile "$LINENO"; then :
  111406. +
  111407. +else
  111408. + ac_c_werror_flag=$ac_save_c_werror_flag
  111409. + CFLAGS="-g"
  111410. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  111411. +/* end confdefs.h. */
  111412. +
  111413. +int
  111414. +main ()
  111415. +{
  111416. +
  111417. + ;
  111418. + return 0;
  111419. +}
  111420. +_ACEOF
  111421. +if ac_fn_c_try_compile "$LINENO"; then :
  111422. + ac_cv_prog_cc_g=yes
  111423. +fi
  111424. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  111425. +fi
  111426. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  111427. +fi
  111428. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  111429. + ac_c_werror_flag=$ac_save_c_werror_flag
  111430. +fi
  111431. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  111432. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  111433. +if test "$ac_test_CFLAGS" = set; then
  111434. + CFLAGS=$ac_save_CFLAGS
  111435. +elif test $ac_cv_prog_cc_g = yes; then
  111436. + if test "$GCC" = yes; then
  111437. + CFLAGS="-g -O2"
  111438. + else
  111439. + CFLAGS="-g"
  111440. + fi
  111441. +else
  111442. + if test "$GCC" = yes; then
  111443. + CFLAGS="-O2"
  111444. + else
  111445. + CFLAGS=
  111446. + fi
  111447. +fi
  111448. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  111449. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  111450. +if test "${ac_cv_prog_cc_c89+set}" = set; then :
  111451. + $as_echo_n "(cached) " >&6
  111452. +else
  111453. + ac_cv_prog_cc_c89=no
  111454. +ac_save_CC=$CC
  111455. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  111456. +/* end confdefs.h. */
  111457. +#include <stdarg.h>
  111458. +#include <stdio.h>
  111459. +#include <sys/types.h>
  111460. +#include <sys/stat.h>
  111461. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  111462. +struct buf { int x; };
  111463. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  111464. +static char *e (p, i)
  111465. + char **p;
  111466. + int i;
  111467. +{
  111468. + return p[i];
  111469. +}
  111470. +static char *f (char * (*g) (char **, int), char **p, ...)
  111471. +{
  111472. + char *s;
  111473. + va_list v;
  111474. + va_start (v,p);
  111475. + s = g (p, va_arg (v,int));
  111476. + va_end (v);
  111477. + return s;
  111478. +}
  111479. +
  111480. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  111481. + function prototypes and stuff, but not '\xHH' hex character constants.
  111482. + These don't provoke an error unfortunately, instead are silently treated
  111483. + as 'x'. The following induces an error, until -std is added to get
  111484. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  111485. + array size at least. It's necessary to write '\x00'==0 to get something
  111486. + that's true only with -std. */
  111487. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  111488. +
  111489. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  111490. + inside strings and character constants. */
  111491. +#define FOO(x) 'x'
  111492. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  111493. +
  111494. +int test (int i, double x);
  111495. +struct s1 {int (*f) (int a);};
  111496. +struct s2 {int (*f) (double a);};
  111497. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  111498. +int argc;
  111499. +char **argv;
  111500. +int
  111501. +main ()
  111502. +{
  111503. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  111504. + ;
  111505. + return 0;
  111506. +}
  111507. +_ACEOF
  111508. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  111509. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  111510. +do
  111511. + CC="$ac_save_CC $ac_arg"
  111512. + if ac_fn_c_try_compile "$LINENO"; then :
  111513. + ac_cv_prog_cc_c89=$ac_arg
  111514. +fi
  111515. +rm -f core conftest.err conftest.$ac_objext
  111516. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  111517. +done
  111518. +rm -f conftest.$ac_ext
  111519. +CC=$ac_save_CC
  111520. +
  111521. +fi
  111522. +# AC_CACHE_VAL
  111523. +case "x$ac_cv_prog_cc_c89" in
  111524. + x)
  111525. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  111526. +$as_echo "none needed" >&6; } ;;
  111527. + xno)
  111528. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  111529. +$as_echo "unsupported" >&6; } ;;
  111530. + *)
  111531. + CC="$CC $ac_cv_prog_cc_c89"
  111532. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  111533. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  111534. +esac
  111535. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  111536. +
  111537. +fi
  111538. +
  111539. +ac_ext=c
  111540. +ac_cpp='$CPP $CPPFLAGS'
  111541. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  111542. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  111543. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  111544. +
  111545. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  111546. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  111547. +set x ${MAKE-make}
  111548. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  111549. +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  111550. + $as_echo_n "(cached) " >&6
  111551. +else
  111552. + cat >conftest.make <<\_ACEOF
  111553. +SHELL = /bin/sh
  111554. +all:
  111555. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  111556. +_ACEOF
  111557. +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  111558. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  111559. + *@@@%%%=?*=@@@%%%*)
  111560. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  111561. + *)
  111562. + eval ac_cv_prog_make_${ac_make}_set=no;;
  111563. +esac
  111564. +rm -f conftest.make
  111565. +fi
  111566. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  111567. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  111568. +$as_echo "yes" >&6; }
  111569. + SET_MAKE=
  111570. +else
  111571. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  111572. +$as_echo "no" >&6; }
  111573. + SET_MAKE="MAKE=${MAKE-make}"
  111574. +fi
  111575. +
  111576. +# for old automakes - like squid-cache.orgs!
  111577. +am__api_version='1.11'
  111578. +
  111579. +# Find a good install program. We prefer a C program (faster),
  111580. +# so one script is as good as another. But avoid the broken or
  111581. +# incompatible versions:
  111582. +# SysV /etc/install, /usr/sbin/install
  111583. +# SunOS /usr/etc/install
  111584. +# IRIX /sbin/install
  111585. +# AIX /bin/install
  111586. +# AmigaOS /C/install, which installs bootblocks on floppy discs
  111587. +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  111588. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  111589. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  111590. +# OS/2's system install, which has a completely different semantic
  111591. +# ./install, which can be erroneously created by make from ./install.sh.
  111592. +# Reject install programs that cannot install multiple files.
  111593. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  111594. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  111595. +if test -z "$INSTALL"; then
  111596. +if test "${ac_cv_path_install+set}" = set; then :
  111597. + $as_echo_n "(cached) " >&6
  111598. +else
  111599. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  111600. +for as_dir in $PATH
  111601. +do
  111602. + IFS=$as_save_IFS
  111603. + test -z "$as_dir" && as_dir=.
  111604. + # Account for people who put trailing slashes in PATH elements.
  111605. +case $as_dir/ in @%:@((
  111606. + ./ | .// | /[cC]/* | \
  111607. + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  111608. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  111609. + /usr/ucb/* ) ;;
  111610. + *)
  111611. + # OSF1 and SCO ODT 3.0 have their own names for install.
  111612. + # Don't use installbsd from OSF since it installs stuff as root
  111613. + # by default.
  111614. + for ac_prog in ginstall scoinst install; do
  111615. + for ac_exec_ext in '' $ac_executable_extensions; do
  111616. + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  111617. + if test $ac_prog = install &&
  111618. + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  111619. + # AIX install. It has an incompatible calling convention.
  111620. + :
  111621. + elif test $ac_prog = install &&
  111622. + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  111623. + # program-specific install script used by HP pwplus--don't use.
  111624. + :
  111625. + else
  111626. + rm -rf conftest.one conftest.two conftest.dir
  111627. + echo one > conftest.one
  111628. + echo two > conftest.two
  111629. + mkdir conftest.dir
  111630. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  111631. + test -s conftest.one && test -s conftest.two &&
  111632. + test -s conftest.dir/conftest.one &&
  111633. + test -s conftest.dir/conftest.two
  111634. + then
  111635. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  111636. + break 3
  111637. + fi
  111638. + fi
  111639. + fi
  111640. + done
  111641. + done
  111642. + ;;
  111643. +esac
  111644. +
  111645. + done
  111646. +IFS=$as_save_IFS
  111647. +
  111648. +rm -rf conftest.one conftest.two conftest.dir
  111649. +
  111650. +fi
  111651. + if test "${ac_cv_path_install+set}" = set; then
  111652. + INSTALL=$ac_cv_path_install
  111653. + else
  111654. + # As a last resort, use the slow shell script. Don't cache a
  111655. + # value for INSTALL within a source directory, because that will
  111656. + # break other packages using the cache if that directory is
  111657. + # removed, or if the value is a relative name.
  111658. + INSTALL=$ac_install_sh
  111659. + fi
  111660. +fi
  111661. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  111662. +$as_echo "$INSTALL" >&6; }
  111663. +
  111664. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  111665. +# It thinks the first close brace ends the variable substitution.
  111666. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  111667. +
  111668. +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  111669. +
  111670. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  111671. +
  111672. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  111673. +$as_echo_n "checking whether build environment is sane... " >&6; }
  111674. +# Just in case
  111675. +sleep 1
  111676. +echo timestamp > conftest.file
  111677. +# Reject unsafe characters in $srcdir or the absolute working directory
  111678. +# name. Accept space and tab only in the latter.
  111679. +am_lf='
  111680. +'
  111681. +case `pwd` in
  111682. + *[\\\"\#\$\&\'\`$am_lf]*)
  111683. + as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  111684. +esac
  111685. +case $srcdir in
  111686. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  111687. + as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  111688. +esac
  111689. +
  111690. +# Do `set' in a subshell so we don't clobber the current shell's
  111691. +# arguments. Must try -L first in case configure is actually a
  111692. +# symlink; some systems play weird games with the mod time of symlinks
  111693. +# (eg FreeBSD returns the mod time of the symlink's containing
  111694. +# directory).
  111695. +if (
  111696. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  111697. + if test "$*" = "X"; then
  111698. + # -L didn't work.
  111699. + set X `ls -t "$srcdir/configure" conftest.file`
  111700. + fi
  111701. + rm -f conftest.file
  111702. + if test "$*" != "X $srcdir/configure conftest.file" \
  111703. + && test "$*" != "X conftest.file $srcdir/configure"; then
  111704. +
  111705. + # If neither matched, then we have a broken ls. This can happen
  111706. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  111707. + # broken ls alias from the environment. This has actually
  111708. + # happened. Such a system could not be considered "sane".
  111709. + as_fn_error "ls -t appears to fail. Make sure there is not a broken
  111710. +alias in your environment" "$LINENO" 5
  111711. + fi
  111712. +
  111713. + test "$2" = conftest.file
  111714. + )
  111715. +then
  111716. + # Ok.
  111717. + :
  111718. +else
  111719. + as_fn_error "newly created file is older than distributed files!
  111720. +Check your system clock" "$LINENO" 5
  111721. +fi
  111722. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  111723. +$as_echo "yes" >&6; }
  111724. +test "$program_prefix" != NONE &&
  111725. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  111726. +# Use a double $ so make ignores it.
  111727. +test "$program_suffix" != NONE &&
  111728. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  111729. +# Double any \ or $.
  111730. +# By default was `s,x,x', remove it if useless.
  111731. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  111732. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  111733. +
  111734. +# expand $ac_aux_dir to an absolute path
  111735. +am_aux_dir=`cd $ac_aux_dir && pwd`
  111736. +
  111737. +if test x"${MISSING+set}" != xset; then
  111738. + case $am_aux_dir in
  111739. + *\ * | *\ *)
  111740. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  111741. + *)
  111742. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  111743. + esac
  111744. +fi
  111745. +# Use eval to expand $SHELL
  111746. +if eval "$MISSING --run true"; then
  111747. + am_missing_run="$MISSING --run "
  111748. +else
  111749. + am_missing_run=
  111750. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  111751. +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  111752. +fi
  111753. +
  111754. +if test x"${install_sh}" != xset; then
  111755. + case $am_aux_dir in
  111756. + *\ * | *\ *)
  111757. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  111758. + *)
  111759. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  111760. + esac
  111761. +fi
  111762. +
  111763. +# Installed binaries are usually stripped using `strip' when the user
  111764. +# run `make install-strip'. However `strip' might not be the right
  111765. +# tool to use in cross-compilation environments, therefore Automake
  111766. +# will honor the `STRIP' environment variable to overrule this program.
  111767. +if test "$cross_compiling" != no; then
  111768. + if test -n "$ac_tool_prefix"; then
  111769. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  111770. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  111771. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  111772. +$as_echo_n "checking for $ac_word... " >&6; }
  111773. +if test "${ac_cv_prog_STRIP+set}" = set; then :
  111774. + $as_echo_n "(cached) " >&6
  111775. +else
  111776. + if test -n "$STRIP"; then
  111777. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  111778. +else
  111779. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  111780. +for as_dir in $PATH
  111781. +do
  111782. + IFS=$as_save_IFS
  111783. + test -z "$as_dir" && as_dir=.
  111784. + for ac_exec_ext in '' $ac_executable_extensions; do
  111785. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  111786. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  111787. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  111788. + break 2
  111789. + fi
  111790. +done
  111791. + done
  111792. +IFS=$as_save_IFS
  111793. +
  111794. +fi
  111795. +fi
  111796. +STRIP=$ac_cv_prog_STRIP
  111797. +if test -n "$STRIP"; then
  111798. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  111799. +$as_echo "$STRIP" >&6; }
  111800. +else
  111801. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  111802. +$as_echo "no" >&6; }
  111803. +fi
  111804. +
  111805. +
  111806. +fi
  111807. +if test -z "$ac_cv_prog_STRIP"; then
  111808. + ac_ct_STRIP=$STRIP
  111809. + # Extract the first word of "strip", so it can be a program name with args.
  111810. +set dummy strip; ac_word=$2
  111811. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  111812. +$as_echo_n "checking for $ac_word... " >&6; }
  111813. +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  111814. + $as_echo_n "(cached) " >&6
  111815. +else
  111816. + if test -n "$ac_ct_STRIP"; then
  111817. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  111818. +else
  111819. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  111820. +for as_dir in $PATH
  111821. +do
  111822. + IFS=$as_save_IFS
  111823. + test -z "$as_dir" && as_dir=.
  111824. + for ac_exec_ext in '' $ac_executable_extensions; do
  111825. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  111826. + ac_cv_prog_ac_ct_STRIP="strip"
  111827. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  111828. + break 2
  111829. + fi
  111830. +done
  111831. + done
  111832. +IFS=$as_save_IFS
  111833. +
  111834. +fi
  111835. +fi
  111836. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  111837. +if test -n "$ac_ct_STRIP"; then
  111838. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  111839. +$as_echo "$ac_ct_STRIP" >&6; }
  111840. +else
  111841. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  111842. +$as_echo "no" >&6; }
  111843. +fi
  111844. +
  111845. + if test "x$ac_ct_STRIP" = x; then
  111846. + STRIP=":"
  111847. + else
  111848. + case $cross_compiling:$ac_tool_warned in
  111849. +yes:)
  111850. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  111851. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  111852. +ac_tool_warned=yes ;;
  111853. +esac
  111854. + STRIP=$ac_ct_STRIP
  111855. + fi
  111856. +else
  111857. + STRIP="$ac_cv_prog_STRIP"
  111858. +fi
  111859. +
  111860. +fi
  111861. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  111862. +
  111863. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  111864. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  111865. +if test -z "$MKDIR_P"; then
  111866. + if test "${ac_cv_path_mkdir+set}" = set; then :
  111867. + $as_echo_n "(cached) " >&6
  111868. +else
  111869. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  111870. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  111871. +do
  111872. + IFS=$as_save_IFS
  111873. + test -z "$as_dir" && as_dir=.
  111874. + for ac_prog in mkdir gmkdir; do
  111875. + for ac_exec_ext in '' $ac_executable_extensions; do
  111876. + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  111877. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  111878. + 'mkdir (GNU coreutils) '* | \
  111879. + 'mkdir (coreutils) '* | \
  111880. + 'mkdir (fileutils) '4.1*)
  111881. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  111882. + break 3;;
  111883. + esac
  111884. + done
  111885. + done
  111886. + done
  111887. +IFS=$as_save_IFS
  111888. +
  111889. +fi
  111890. +
  111891. + test -d ./--version && rmdir ./--version
  111892. + if test "${ac_cv_path_mkdir+set}" = set; then
  111893. + MKDIR_P="$ac_cv_path_mkdir -p"
  111894. + else
  111895. + # As a last resort, use the slow shell script. Don't cache a
  111896. + # value for MKDIR_P within a source directory, because that will
  111897. + # break other packages using the cache if that directory is
  111898. + # removed, or if the value is a relative name.
  111899. + MKDIR_P="$ac_install_sh -d"
  111900. + fi
  111901. +fi
  111902. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  111903. +$as_echo "$MKDIR_P" >&6; }
  111904. +
  111905. +mkdir_p="$MKDIR_P"
  111906. +case $mkdir_p in
  111907. + [\\/$]* | ?:[\\/]*) ;;
  111908. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  111909. +esac
  111910. +
  111911. +for ac_prog in gawk mawk nawk awk
  111912. +do
  111913. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  111914. +set dummy $ac_prog; ac_word=$2
  111915. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  111916. +$as_echo_n "checking for $ac_word... " >&6; }
  111917. +if test "${ac_cv_prog_AWK+set}" = set; then :
  111918. + $as_echo_n "(cached) " >&6
  111919. +else
  111920. + if test -n "$AWK"; then
  111921. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  111922. +else
  111923. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  111924. +for as_dir in $PATH
  111925. +do
  111926. + IFS=$as_save_IFS
  111927. + test -z "$as_dir" && as_dir=.
  111928. + for ac_exec_ext in '' $ac_executable_extensions; do
  111929. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  111930. + ac_cv_prog_AWK="$ac_prog"
  111931. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  111932. + break 2
  111933. + fi
  111934. +done
  111935. + done
  111936. +IFS=$as_save_IFS
  111937. +
  111938. +fi
  111939. +fi
  111940. +AWK=$ac_cv_prog_AWK
  111941. +if test -n "$AWK"; then
  111942. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  111943. +$as_echo "$AWK" >&6; }
  111944. +else
  111945. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  111946. +$as_echo "no" >&6; }
  111947. +fi
  111948. +
  111949. +
  111950. + test -n "$AWK" && break
  111951. +done
  111952. +
  111953. +rm -rf .tst 2>/dev/null
  111954. +mkdir .tst 2>/dev/null
  111955. +if test -d .tst; then
  111956. + am__leading_dot=.
  111957. +else
  111958. + am__leading_dot=_
  111959. +fi
  111960. +rmdir .tst 2>/dev/null
  111961. +
  111962. +DEPDIR="${am__leading_dot}deps"
  111963. +
  111964. +ac_config_commands="$ac_config_commands depfiles"
  111965. +
  111966. +
  111967. +am_make=${MAKE-make}
  111968. +cat > confinc << 'END'
  111969. +am__doit:
  111970. + @echo this is the am__doit target
  111971. +.PHONY: am__doit
  111972. +END
  111973. +# If we don't find an include directive, just comment out the code.
  111974. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  111975. +$as_echo_n "checking for style of include used by $am_make... " >&6; }
  111976. +am__include="#"
  111977. +am__quote=
  111978. +_am_result=none
  111979. +# First try GNU make style include.
  111980. +echo "include confinc" > confmf
  111981. +# Ignore all kinds of additional output from `make'.
  111982. +case `$am_make -s -f confmf 2> /dev/null` in #(
  111983. +*the\ am__doit\ target*)
  111984. + am__include=include
  111985. + am__quote=
  111986. + _am_result=GNU
  111987. + ;;
  111988. +esac
  111989. +# Now try BSD make style include.
  111990. +if test "$am__include" = "#"; then
  111991. + echo '.include "confinc"' > confmf
  111992. + case `$am_make -s -f confmf 2> /dev/null` in #(
  111993. + *the\ am__doit\ target*)
  111994. + am__include=.include
  111995. + am__quote="\""
  111996. + _am_result=BSD
  111997. + ;;
  111998. + esac
  111999. +fi
  112000. +
  112001. +
  112002. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  112003. +$as_echo "$_am_result" >&6; }
  112004. +rm -f confinc confmf
  112005. +
  112006. +@%:@ Check whether --enable-dependency-tracking was given.
  112007. +if test "${enable_dependency_tracking+set}" = set; then :
  112008. + enableval=$enable_dependency_tracking;
  112009. +fi
  112010. +
  112011. +if test "x$enable_dependency_tracking" != xno; then
  112012. + am_depcomp="$ac_aux_dir/depcomp"
  112013. + AMDEPBACKSLASH='\'
  112014. +fi
  112015. + if test "x$enable_dependency_tracking" != xno; then
  112016. + AMDEP_TRUE=
  112017. + AMDEP_FALSE='#'
  112018. +else
  112019. + AMDEP_TRUE='#'
  112020. + AMDEP_FALSE=
  112021. +fi
  112022. +
  112023. +
  112024. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  112025. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  112026. + # is not polluted with repeated "-I."
  112027. + am__isrc=' -I$(srcdir)'
  112028. + # test to see if srcdir already configured
  112029. + if test -f $srcdir/config.status; then
  112030. + as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  112031. + fi
  112032. +fi
  112033. +
  112034. +# test whether we have cygpath
  112035. +if test -z "$CYGPATH_W"; then
  112036. + if (cygpath --version) >/dev/null 2>/dev/null; then
  112037. + CYGPATH_W='cygpath -w'
  112038. + else
  112039. + CYGPATH_W=echo
  112040. + fi
  112041. +fi
  112042. +
  112043. +
  112044. +# Define the identity of the package.
  112045. + PACKAGE=libTrie
  112046. + VERSION=0.1
  112047. +
  112048. +
  112049. +cat >>confdefs.h <<_ACEOF
  112050. +@%:@define PACKAGE "$PACKAGE"
  112051. +_ACEOF
  112052. +
  112053. +
  112054. +cat >>confdefs.h <<_ACEOF
  112055. +@%:@define VERSION "$VERSION"
  112056. +_ACEOF
  112057. +
  112058. +# Some tools Automake needs.
  112059. +
  112060. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  112061. +
  112062. +
  112063. +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  112064. +
  112065. +
  112066. +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  112067. +
  112068. +
  112069. +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  112070. +
  112071. +
  112072. +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  112073. +
  112074. +# We need awk for the "check" target. The system "awk" is bad on
  112075. +# some platforms.
  112076. +# Always define AMTAR for backward compatibility.
  112077. +
  112078. +AMTAR=${AMTAR-"${am_missing_run}tar"}
  112079. +
  112080. +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  112081. +
  112082. +
  112083. +
  112084. +
  112085. +depcc="$CC" am_compiler_list=
  112086. +
  112087. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  112088. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  112089. +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  112090. + $as_echo_n "(cached) " >&6
  112091. +else
  112092. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  112093. + # We make a subdir and do the tests there. Otherwise we can end up
  112094. + # making bogus files that we don't know about and never remove. For
  112095. + # instance it was reported that on HP-UX the gcc test will end up
  112096. + # making a dummy file named `D' -- because `-MD' means `put the output
  112097. + # in D'.
  112098. + mkdir conftest.dir
  112099. + # Copy depcomp to subdir because otherwise we won't find it if we're
  112100. + # using a relative directory.
  112101. + cp "$am_depcomp" conftest.dir
  112102. + cd conftest.dir
  112103. + # We will build objects and dependencies in a subdirectory because
  112104. + # it helps to detect inapplicable dependency modes. For instance
  112105. + # both Tru64's cc and ICC support -MD to output dependencies as a
  112106. + # side effect of compilation, but ICC will put the dependencies in
  112107. + # the current directory while Tru64 will put them in the object
  112108. + # directory.
  112109. + mkdir sub
  112110. +
  112111. + am_cv_CC_dependencies_compiler_type=none
  112112. + if test "$am_compiler_list" = ""; then
  112113. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  112114. + fi
  112115. + am__universal=false
  112116. + case " $depcc " in #(
  112117. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  112118. + esac
  112119. +
  112120. + for depmode in $am_compiler_list; do
  112121. + # Setup a source with many dependencies, because some compilers
  112122. + # like to wrap large dependency lists on column 80 (with \), and
  112123. + # we should not choose a depcomp mode which is confused by this.
  112124. + #
  112125. + # We need to recreate these files for each test, as the compiler may
  112126. + # overwrite some of them when testing with obscure command lines.
  112127. + # This happens at least with the AIX C compiler.
  112128. + : > sub/conftest.c
  112129. + for i in 1 2 3 4 5 6; do
  112130. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  112131. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  112132. + # Solaris 8's {/usr,}/bin/sh.
  112133. + touch sub/conftst$i.h
  112134. + done
  112135. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  112136. +
  112137. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  112138. + # mode. It turns out that the SunPro C++ compiler does not properly
  112139. + # handle `-M -o', and we need to detect this. Also, some Intel
  112140. + # versions had trouble with output in subdirs
  112141. + am__obj=sub/conftest.${OBJEXT-o}
  112142. + am__minus_obj="-o $am__obj"
  112143. + case $depmode in
  112144. + gcc)
  112145. + # This depmode causes a compiler race in universal mode.
  112146. + test "$am__universal" = false || continue
  112147. + ;;
  112148. + nosideeffect)
  112149. + # after this tag, mechanisms are not by side-effect, so they'll
  112150. + # only be used when explicitly requested
  112151. + if test "x$enable_dependency_tracking" = xyes; then
  112152. + continue
  112153. + else
  112154. + break
  112155. + fi
  112156. + ;;
  112157. + msvisualcpp | msvcmsys)
  112158. + # This compiler won't grok `-c -o', but also, the minuso test has
  112159. + # not run yet. These depmodes are late enough in the game, and
  112160. + # so weak that their functioning should not be impacted.
  112161. + am__obj=conftest.${OBJEXT-o}
  112162. + am__minus_obj=
  112163. + ;;
  112164. + none) break ;;
  112165. + esac
  112166. + if depmode=$depmode \
  112167. + source=sub/conftest.c object=$am__obj \
  112168. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  112169. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  112170. + >/dev/null 2>conftest.err &&
  112171. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  112172. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  112173. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  112174. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  112175. + # icc doesn't choke on unknown options, it will just issue warnings
  112176. + # or remarks (even with -Werror). So we grep stderr for any message
  112177. + # that says an option was ignored or not supported.
  112178. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  112179. + # icc: Command line warning: ignoring option '-M'; no argument required
  112180. + # The diagnosis changed in icc 8.0:
  112181. + # icc: Command line remark: option '-MP' not supported
  112182. + if (grep 'ignoring option' conftest.err ||
  112183. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  112184. + am_cv_CC_dependencies_compiler_type=$depmode
  112185. + break
  112186. + fi
  112187. + fi
  112188. + done
  112189. +
  112190. + cd ..
  112191. + rm -rf conftest.dir
  112192. +else
  112193. + am_cv_CC_dependencies_compiler_type=none
  112194. +fi
  112195. +
  112196. +fi
  112197. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  112198. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  112199. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  112200. +
  112201. + if
  112202. + test "x$enable_dependency_tracking" != xno \
  112203. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  112204. + am__fastdepCC_TRUE=
  112205. + am__fastdepCC_FALSE='#'
  112206. +else
  112207. + am__fastdepCC_TRUE='#'
  112208. + am__fastdepCC_FALSE=
  112209. +fi
  112210. +
  112211. +
  112212. +depcc="$CXX" am_compiler_list=
  112213. +
  112214. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  112215. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  112216. +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
  112217. + $as_echo_n "(cached) " >&6
  112218. +else
  112219. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  112220. + # We make a subdir and do the tests there. Otherwise we can end up
  112221. + # making bogus files that we don't know about and never remove. For
  112222. + # instance it was reported that on HP-UX the gcc test will end up
  112223. + # making a dummy file named `D' -- because `-MD' means `put the output
  112224. + # in D'.
  112225. + mkdir conftest.dir
  112226. + # Copy depcomp to subdir because otherwise we won't find it if we're
  112227. + # using a relative directory.
  112228. + cp "$am_depcomp" conftest.dir
  112229. + cd conftest.dir
  112230. + # We will build objects and dependencies in a subdirectory because
  112231. + # it helps to detect inapplicable dependency modes. For instance
  112232. + # both Tru64's cc and ICC support -MD to output dependencies as a
  112233. + # side effect of compilation, but ICC will put the dependencies in
  112234. + # the current directory while Tru64 will put them in the object
  112235. + # directory.
  112236. + mkdir sub
  112237. +
  112238. + am_cv_CXX_dependencies_compiler_type=none
  112239. + if test "$am_compiler_list" = ""; then
  112240. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  112241. + fi
  112242. + am__universal=false
  112243. + case " $depcc " in #(
  112244. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  112245. + esac
  112246. +
  112247. + for depmode in $am_compiler_list; do
  112248. + # Setup a source with many dependencies, because some compilers
  112249. + # like to wrap large dependency lists on column 80 (with \), and
  112250. + # we should not choose a depcomp mode which is confused by this.
  112251. + #
  112252. + # We need to recreate these files for each test, as the compiler may
  112253. + # overwrite some of them when testing with obscure command lines.
  112254. + # This happens at least with the AIX C compiler.
  112255. + : > sub/conftest.c
  112256. + for i in 1 2 3 4 5 6; do
  112257. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  112258. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  112259. + # Solaris 8's {/usr,}/bin/sh.
  112260. + touch sub/conftst$i.h
  112261. + done
  112262. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  112263. +
  112264. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  112265. + # mode. It turns out that the SunPro C++ compiler does not properly
  112266. + # handle `-M -o', and we need to detect this. Also, some Intel
  112267. + # versions had trouble with output in subdirs
  112268. + am__obj=sub/conftest.${OBJEXT-o}
  112269. + am__minus_obj="-o $am__obj"
  112270. + case $depmode in
  112271. + gcc)
  112272. + # This depmode causes a compiler race in universal mode.
  112273. + test "$am__universal" = false || continue
  112274. + ;;
  112275. + nosideeffect)
  112276. + # after this tag, mechanisms are not by side-effect, so they'll
  112277. + # only be used when explicitly requested
  112278. + if test "x$enable_dependency_tracking" = xyes; then
  112279. + continue
  112280. + else
  112281. + break
  112282. + fi
  112283. + ;;
  112284. + msvisualcpp | msvcmsys)
  112285. + # This compiler won't grok `-c -o', but also, the minuso test has
  112286. + # not run yet. These depmodes are late enough in the game, and
  112287. + # so weak that their functioning should not be impacted.
  112288. + am__obj=conftest.${OBJEXT-o}
  112289. + am__minus_obj=
  112290. + ;;
  112291. + none) break ;;
  112292. + esac
  112293. + if depmode=$depmode \
  112294. + source=sub/conftest.c object=$am__obj \
  112295. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  112296. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  112297. + >/dev/null 2>conftest.err &&
  112298. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  112299. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  112300. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  112301. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  112302. + # icc doesn't choke on unknown options, it will just issue warnings
  112303. + # or remarks (even with -Werror). So we grep stderr for any message
  112304. + # that says an option was ignored or not supported.
  112305. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  112306. + # icc: Command line warning: ignoring option '-M'; no argument required
  112307. + # The diagnosis changed in icc 8.0:
  112308. + # icc: Command line remark: option '-MP' not supported
  112309. + if (grep 'ignoring option' conftest.err ||
  112310. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  112311. + am_cv_CXX_dependencies_compiler_type=$depmode
  112312. + break
  112313. + fi
  112314. + fi
  112315. + done
  112316. +
  112317. + cd ..
  112318. + rm -rf conftest.dir
  112319. +else
  112320. + am_cv_CXX_dependencies_compiler_type=none
  112321. +fi
  112322. +
  112323. +fi
  112324. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
  112325. +$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  112326. +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  112327. +
  112328. + if
  112329. + test "x$enable_dependency_tracking" != xno \
  112330. + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  112331. + am__fastdepCXX_TRUE=
  112332. + am__fastdepCXX_FALSE='#'
  112333. +else
  112334. + am__fastdepCXX_TRUE='#'
  112335. + am__fastdepCXX_FALSE=
  112336. +fi
  112337. +
  112338. +
  112339. +
  112340. +
  112341. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  112342. +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  112343. + @%:@ Check whether --enable-maintainer-mode was given.
  112344. +if test "${enable_maintainer_mode+set}" = set; then :
  112345. + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  112346. +else
  112347. + USE_MAINTAINER_MODE=no
  112348. +fi
  112349. +
  112350. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  112351. +$as_echo "$USE_MAINTAINER_MODE" >&6; }
  112352. + if test $USE_MAINTAINER_MODE = yes; then
  112353. + MAINTAINER_MODE_TRUE=
  112354. + MAINTAINER_MODE_FALSE='#'
  112355. +else
  112356. + MAINTAINER_MODE_TRUE='#'
  112357. + MAINTAINER_MODE_FALSE=
  112358. +fi
  112359. +
  112360. + MAINT=$MAINTAINER_MODE_TRUE
  112361. +
  112362. +
  112363. +if test -n "$ac_tool_prefix"; then
  112364. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  112365. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  112366. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  112367. +$as_echo_n "checking for $ac_word... " >&6; }
  112368. +if test "${ac_cv_prog_RANLIB+set}" = set; then :
  112369. + $as_echo_n "(cached) " >&6
  112370. +else
  112371. + if test -n "$RANLIB"; then
  112372. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  112373. +else
  112374. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  112375. +for as_dir in $PATH
  112376. +do
  112377. + IFS=$as_save_IFS
  112378. + test -z "$as_dir" && as_dir=.
  112379. + for ac_exec_ext in '' $ac_executable_extensions; do
  112380. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  112381. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  112382. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  112383. + break 2
  112384. + fi
  112385. +done
  112386. + done
  112387. +IFS=$as_save_IFS
  112388. +
  112389. +fi
  112390. +fi
  112391. +RANLIB=$ac_cv_prog_RANLIB
  112392. +if test -n "$RANLIB"; then
  112393. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  112394. +$as_echo "$RANLIB" >&6; }
  112395. +else
  112396. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  112397. +$as_echo "no" >&6; }
  112398. +fi
  112399. +
  112400. +
  112401. +fi
  112402. +if test -z "$ac_cv_prog_RANLIB"; then
  112403. + ac_ct_RANLIB=$RANLIB
  112404. + # Extract the first word of "ranlib", so it can be a program name with args.
  112405. +set dummy ranlib; ac_word=$2
  112406. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  112407. +$as_echo_n "checking for $ac_word... " >&6; }
  112408. +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  112409. + $as_echo_n "(cached) " >&6
  112410. +else
  112411. + if test -n "$ac_ct_RANLIB"; then
  112412. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  112413. +else
  112414. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  112415. +for as_dir in $PATH
  112416. +do
  112417. + IFS=$as_save_IFS
  112418. + test -z "$as_dir" && as_dir=.
  112419. + for ac_exec_ext in '' $ac_executable_extensions; do
  112420. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  112421. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  112422. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  112423. + break 2
  112424. + fi
  112425. +done
  112426. + done
  112427. +IFS=$as_save_IFS
  112428. +
  112429. +fi
  112430. +fi
  112431. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  112432. +if test -n "$ac_ct_RANLIB"; then
  112433. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  112434. +$as_echo "$ac_ct_RANLIB" >&6; }
  112435. +else
  112436. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  112437. +$as_echo "no" >&6; }
  112438. +fi
  112439. +
  112440. + if test "x$ac_ct_RANLIB" = x; then
  112441. + RANLIB=":"
  112442. + else
  112443. + case $cross_compiling:$ac_tool_warned in
  112444. +yes:)
  112445. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  112446. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  112447. +ac_tool_warned=yes ;;
  112448. +esac
  112449. + RANLIB=$ac_ct_RANLIB
  112450. + fi
  112451. +else
  112452. + RANLIB="$ac_cv_prog_RANLIB"
  112453. +fi
  112454. +
  112455. +
  112456. +if test "$GCC" = "yes"; then
  112457. + TRIE_CFLAGS="-Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments"
  112458. + TRIE_CXXFLAGS="-Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments"
  112459. +else
  112460. + TRIE_CFLAGS=
  112461. + TRIE_CXXFLAGS=
  112462. +fi
  112463. +
  112464. +
  112465. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts -fhuge-objects" >&5
  112466. +$as_echo_n "checking whether compiler accepts -fhuge-objects... " >&6; }
  112467. + if test "${ac_cv_test_checkforhugeobjects+set}" = set; then :
  112468. + $as_echo_n "(cached) " >&6
  112469. +else
  112470. +
  112471. + ac_cv_test_checkforhugeobjects=`echo "int foo;" > conftest.cc
  112472. +${CXX} -Werror -fhuge-objects -c conftest.cc 2>/dev/null
  112473. +res=$?
  112474. +rm -f conftest.*
  112475. +echo yes
  112476. +exit $res`
  112477. + if [ $? -ne 0 ]
  112478. + then ac_cv_test_checkforhugeobjects=no
  112479. + else if [ -z "$ac_cv_test_checkforhugeobjects" ]
  112480. + then ac_cv_test_checkforhugeobjects=yes
  112481. + fi ; fi
  112482. +
  112483. +fi
  112484. + # end of CACHE_VAL
  112485. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_test_checkforhugeobjects}" >&5
  112486. +$as_echo "${ac_cv_test_checkforhugeobjects}" >&6; }
  112487. +
  112488. + if test "X${ac_cv_test_checkforhugeobjects}" != Xno
  112489. + then
  112490. + HUGE_OBJECT_FLAG="-fhuge-objects"
  112491. + else
  112492. + HUGE_OBJECT_FLAG=""
  112493. + fi
  112494. +
  112495. +TRIE_CXXFLAGS="$TRIE_CXXFLAGS $HUGE_OBJECT_FLAG"
  112496. +
  112497. +
  112498. +
  112499. +
  112500. +# Checks for libraries.
  112501. +
  112502. +# Checks for header files.
  112503. +
  112504. +# Checks for typedefs, structures, and compiler characteristics.
  112505. +
  112506. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  112507. +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  112508. +if test "${ac_cv_c_const+set}" = set; then :
  112509. + $as_echo_n "(cached) " >&6
  112510. +else
  112511. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  112512. +/* end confdefs.h. */
  112513. +
  112514. +int
  112515. +main ()
  112516. +{
  112517. +/* FIXME: Include the comments suggested by Paul. */
  112518. +#ifndef __cplusplus
  112519. + /* Ultrix mips cc rejects this. */
  112520. + typedef int charset[2];
  112521. + const charset cs;
  112522. + /* SunOS 4.1.1 cc rejects this. */
  112523. + char const *const *pcpcc;
  112524. + char **ppc;
  112525. + /* NEC SVR4.0.2 mips cc rejects this. */
  112526. + struct point {int x, y;};
  112527. + static struct point const zero = {0,0};
  112528. + /* AIX XL C 1.02.0.0 rejects this.
  112529. + It does not let you subtract one const X* pointer from another in
  112530. + an arm of an if-expression whose if-part is not a constant
  112531. + expression */
  112532. + const char *g = "string";
  112533. + pcpcc = &g + (g ? g-g : 0);
  112534. + /* HPUX 7.0 cc rejects these. */
  112535. + ++pcpcc;
  112536. + ppc = (char**) pcpcc;
  112537. + pcpcc = (char const *const *) ppc;
  112538. + { /* SCO 3.2v4 cc rejects this. */
  112539. + char *t;
  112540. + char const *s = 0 ? (char *) 0 : (char const *) 0;
  112541. +
  112542. + *t++ = 0;
  112543. + if (s) return 0;
  112544. + }
  112545. + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  112546. + int x[] = {25, 17};
  112547. + const int *foo = &x[0];
  112548. + ++foo;
  112549. + }
  112550. + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  112551. + typedef const int *iptr;
  112552. + iptr p = 0;
  112553. + ++p;
  112554. + }
  112555. + { /* AIX XL C 1.02.0.0 rejects this saying
  112556. + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  112557. + struct s { int j; const int *ap[3]; };
  112558. + struct s *b; b->j = 5;
  112559. + }
  112560. + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  112561. + const int foo = 10;
  112562. + if (!foo) return 0;
  112563. + }
  112564. + return !cs[0] && !zero.x;
  112565. +#endif
  112566. +
  112567. + ;
  112568. + return 0;
  112569. +}
  112570. +_ACEOF
  112571. +if ac_fn_c_try_compile "$LINENO"; then :
  112572. + ac_cv_c_const=yes
  112573. +else
  112574. + ac_cv_c_const=no
  112575. +fi
  112576. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  112577. +fi
  112578. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  112579. +$as_echo "$ac_cv_c_const" >&6; }
  112580. +if test $ac_cv_c_const = no; then
  112581. +
  112582. +$as_echo "@%:@define const /**/" >>confdefs.h
  112583. +
  112584. +fi
  112585. +
  112586. +ac_ext=c
  112587. +ac_cpp='$CPP $CPPFLAGS'
  112588. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  112589. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  112590. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  112591. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  112592. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  112593. +# On Suns, sometimes $CPP names a directory.
  112594. +if test -n "$CPP" && test -d "$CPP"; then
  112595. + CPP=
  112596. +fi
  112597. +if test -z "$CPP"; then
  112598. + if test "${ac_cv_prog_CPP+set}" = set; then :
  112599. + $as_echo_n "(cached) " >&6
  112600. +else
  112601. + # Double quotes because CPP needs to be expanded
  112602. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  112603. + do
  112604. + ac_preproc_ok=false
  112605. +for ac_c_preproc_warn_flag in '' yes
  112606. +do
  112607. + # Use a header file that comes with gcc, so configuring glibc
  112608. + # with a fresh cross-compiler works.
  112609. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  112610. + # <limits.h> exists even on freestanding compilers.
  112611. + # On the NeXT, cc -E runs the code through the compiler's parser,
  112612. + # not just through cpp. "Syntax error" is here to catch this case.
  112613. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  112614. +/* end confdefs.h. */
  112615. +@%:@ifdef __STDC__
  112616. +@%:@ include <limits.h>
  112617. +@%:@else
  112618. +@%:@ include <assert.h>
  112619. +@%:@endif
  112620. + Syntax error
  112621. +_ACEOF
  112622. +if ac_fn_c_try_cpp "$LINENO"; then :
  112623. +
  112624. +else
  112625. + # Broken: fails on valid input.
  112626. +continue
  112627. +fi
  112628. +rm -f conftest.err conftest.$ac_ext
  112629. +
  112630. + # OK, works on sane cases. Now check whether nonexistent headers
  112631. + # can be detected and how.
  112632. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  112633. +/* end confdefs.h. */
  112634. +@%:@include <ac_nonexistent.h>
  112635. +_ACEOF
  112636. +if ac_fn_c_try_cpp "$LINENO"; then :
  112637. + # Broken: success on invalid input.
  112638. +continue
  112639. +else
  112640. + # Passes both tests.
  112641. +ac_preproc_ok=:
  112642. +break
  112643. +fi
  112644. +rm -f conftest.err conftest.$ac_ext
  112645. +
  112646. +done
  112647. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  112648. +rm -f conftest.err conftest.$ac_ext
  112649. +if $ac_preproc_ok; then :
  112650. + break
  112651. +fi
  112652. +
  112653. + done
  112654. + ac_cv_prog_CPP=$CPP
  112655. +
  112656. +fi
  112657. + CPP=$ac_cv_prog_CPP
  112658. +else
  112659. + ac_cv_prog_CPP=$CPP
  112660. +fi
  112661. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  112662. +$as_echo "$CPP" >&6; }
  112663. +ac_preproc_ok=false
  112664. +for ac_c_preproc_warn_flag in '' yes
  112665. +do
  112666. + # Use a header file that comes with gcc, so configuring glibc
  112667. + # with a fresh cross-compiler works.
  112668. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  112669. + # <limits.h> exists even on freestanding compilers.
  112670. + # On the NeXT, cc -E runs the code through the compiler's parser,
  112671. + # not just through cpp. "Syntax error" is here to catch this case.
  112672. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  112673. +/* end confdefs.h. */
  112674. +@%:@ifdef __STDC__
  112675. +@%:@ include <limits.h>
  112676. +@%:@else
  112677. +@%:@ include <assert.h>
  112678. +@%:@endif
  112679. + Syntax error
  112680. +_ACEOF
  112681. +if ac_fn_c_try_cpp "$LINENO"; then :
  112682. +
  112683. +else
  112684. + # Broken: fails on valid input.
  112685. +continue
  112686. +fi
  112687. +rm -f conftest.err conftest.$ac_ext
  112688. +
  112689. + # OK, works on sane cases. Now check whether nonexistent headers
  112690. + # can be detected and how.
  112691. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  112692. +/* end confdefs.h. */
  112693. +@%:@include <ac_nonexistent.h>
  112694. +_ACEOF
  112695. +if ac_fn_c_try_cpp "$LINENO"; then :
  112696. + # Broken: success on invalid input.
  112697. +continue
  112698. +else
  112699. + # Passes both tests.
  112700. +ac_preproc_ok=:
  112701. +break
  112702. +fi
  112703. +rm -f conftest.err conftest.$ac_ext
  112704. +
  112705. +done
  112706. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  112707. +rm -f conftest.err conftest.$ac_ext
  112708. +if $ac_preproc_ok; then :
  112709. +
  112710. +else
  112711. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  112712. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  112713. +as_fn_error "C preprocessor \"$CPP\" fails sanity check
  112714. +See \`config.log' for more details." "$LINENO" 5; }
  112715. +fi
  112716. +
  112717. +ac_ext=c
  112718. +ac_cpp='$CPP $CPPFLAGS'
  112719. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  112720. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  112721. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  112722. +
  112723. +
  112724. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  112725. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  112726. +if test "${ac_cv_path_GREP+set}" = set; then :
  112727. + $as_echo_n "(cached) " >&6
  112728. +else
  112729. + if test -z "$GREP"; then
  112730. + ac_path_GREP_found=false
  112731. + # Loop through the user's path and test for each of PROGNAME-LIST
  112732. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  112733. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  112734. +do
  112735. + IFS=$as_save_IFS
  112736. + test -z "$as_dir" && as_dir=.
  112737. + for ac_prog in grep ggrep; do
  112738. + for ac_exec_ext in '' $ac_executable_extensions; do
  112739. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  112740. + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  112741. +# Check for GNU ac_path_GREP and select it if it is found.
  112742. + # Check for GNU $ac_path_GREP
  112743. +case `"$ac_path_GREP" --version 2>&1` in
  112744. +*GNU*)
  112745. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  112746. +*)
  112747. + ac_count=0
  112748. + $as_echo_n 0123456789 >"conftest.in"
  112749. + while :
  112750. + do
  112751. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  112752. + mv "conftest.tmp" "conftest.in"
  112753. + cp "conftest.in" "conftest.nl"
  112754. + $as_echo 'GREP' >> "conftest.nl"
  112755. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  112756. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  112757. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  112758. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  112759. + # Best one so far, save it but keep looking for a better one
  112760. + ac_cv_path_GREP="$ac_path_GREP"
  112761. + ac_path_GREP_max=$ac_count
  112762. + fi
  112763. + # 10*(2^10) chars as input seems more than enough
  112764. + test $ac_count -gt 10 && break
  112765. + done
  112766. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  112767. +esac
  112768. +
  112769. + $ac_path_GREP_found && break 3
  112770. + done
  112771. + done
  112772. + done
  112773. +IFS=$as_save_IFS
  112774. + if test -z "$ac_cv_path_GREP"; then
  112775. + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  112776. + fi
  112777. +else
  112778. + ac_cv_path_GREP=$GREP
  112779. +fi
  112780. +
  112781. +fi
  112782. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  112783. +$as_echo "$ac_cv_path_GREP" >&6; }
  112784. + GREP="$ac_cv_path_GREP"
  112785. +
  112786. +
  112787. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  112788. +$as_echo_n "checking for egrep... " >&6; }
  112789. +if test "${ac_cv_path_EGREP+set}" = set; then :
  112790. + $as_echo_n "(cached) " >&6
  112791. +else
  112792. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  112793. + then ac_cv_path_EGREP="$GREP -E"
  112794. + else
  112795. + if test -z "$EGREP"; then
  112796. + ac_path_EGREP_found=false
  112797. + # Loop through the user's path and test for each of PROGNAME-LIST
  112798. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  112799. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  112800. +do
  112801. + IFS=$as_save_IFS
  112802. + test -z "$as_dir" && as_dir=.
  112803. + for ac_prog in egrep; do
  112804. + for ac_exec_ext in '' $ac_executable_extensions; do
  112805. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  112806. + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  112807. +# Check for GNU ac_path_EGREP and select it if it is found.
  112808. + # Check for GNU $ac_path_EGREP
  112809. +case `"$ac_path_EGREP" --version 2>&1` in
  112810. +*GNU*)
  112811. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  112812. +*)
  112813. + ac_count=0
  112814. + $as_echo_n 0123456789 >"conftest.in"
  112815. + while :
  112816. + do
  112817. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  112818. + mv "conftest.tmp" "conftest.in"
  112819. + cp "conftest.in" "conftest.nl"
  112820. + $as_echo 'EGREP' >> "conftest.nl"
  112821. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  112822. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  112823. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  112824. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  112825. + # Best one so far, save it but keep looking for a better one
  112826. + ac_cv_path_EGREP="$ac_path_EGREP"
  112827. + ac_path_EGREP_max=$ac_count
  112828. + fi
  112829. + # 10*(2^10) chars as input seems more than enough
  112830. + test $ac_count -gt 10 && break
  112831. + done
  112832. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  112833. +esac
  112834. +
  112835. + $ac_path_EGREP_found && break 3
  112836. + done
  112837. + done
  112838. + done
  112839. +IFS=$as_save_IFS
  112840. + if test -z "$ac_cv_path_EGREP"; then
  112841. + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  112842. + fi
  112843. +else
  112844. + ac_cv_path_EGREP=$EGREP
  112845. +fi
  112846. +
  112847. + fi
  112848. +fi
  112849. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  112850. +$as_echo "$ac_cv_path_EGREP" >&6; }
  112851. + EGREP="$ac_cv_path_EGREP"
  112852. +
  112853. +
  112854. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  112855. +$as_echo_n "checking for ANSI C header files... " >&6; }
  112856. +if test "${ac_cv_header_stdc+set}" = set; then :
  112857. + $as_echo_n "(cached) " >&6
  112858. +else
  112859. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  112860. +/* end confdefs.h. */
  112861. +#include <stdlib.h>
  112862. +#include <stdarg.h>
  112863. +#include <string.h>
  112864. +#include <float.h>
  112865. +
  112866. +int
  112867. +main ()
  112868. +{
  112869. +
  112870. + ;
  112871. + return 0;
  112872. +}
  112873. +_ACEOF
  112874. +if ac_fn_c_try_compile "$LINENO"; then :
  112875. + ac_cv_header_stdc=yes
  112876. +else
  112877. + ac_cv_header_stdc=no
  112878. +fi
  112879. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  112880. +
  112881. +if test $ac_cv_header_stdc = yes; then
  112882. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  112883. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  112884. +/* end confdefs.h. */
  112885. +#include <string.h>
  112886. +
  112887. +_ACEOF
  112888. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  112889. + $EGREP "memchr" >/dev/null 2>&1; then :
  112890. +
  112891. +else
  112892. + ac_cv_header_stdc=no
  112893. +fi
  112894. +rm -f conftest*
  112895. +
  112896. +fi
  112897. +
  112898. +if test $ac_cv_header_stdc = yes; then
  112899. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  112900. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  112901. +/* end confdefs.h. */
  112902. +#include <stdlib.h>
  112903. +
  112904. +_ACEOF
  112905. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  112906. + $EGREP "free" >/dev/null 2>&1; then :
  112907. +
  112908. +else
  112909. + ac_cv_header_stdc=no
  112910. +fi
  112911. +rm -f conftest*
  112912. +
  112913. +fi
  112914. +
  112915. +if test $ac_cv_header_stdc = yes; then
  112916. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  112917. + if test "$cross_compiling" = yes; then :
  112918. + :
  112919. +else
  112920. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  112921. +/* end confdefs.h. */
  112922. +#include <ctype.h>
  112923. +#include <stdlib.h>
  112924. +#if ((' ' & 0x0FF) == 0x020)
  112925. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  112926. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  112927. +#else
  112928. +# define ISLOWER(c) \
  112929. + (('a' <= (c) && (c) <= 'i') \
  112930. + || ('j' <= (c) && (c) <= 'r') \
  112931. + || ('s' <= (c) && (c) <= 'z'))
  112932. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  112933. +#endif
  112934. +
  112935. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  112936. +int
  112937. +main ()
  112938. +{
  112939. + int i;
  112940. + for (i = 0; i < 256; i++)
  112941. + if (XOR (islower (i), ISLOWER (i))
  112942. + || toupper (i) != TOUPPER (i))
  112943. + return 2;
  112944. + return 0;
  112945. +}
  112946. +_ACEOF
  112947. +if ac_fn_c_try_run "$LINENO"; then :
  112948. +
  112949. +else
  112950. + ac_cv_header_stdc=no
  112951. +fi
  112952. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  112953. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  112954. +fi
  112955. +
  112956. +fi
  112957. +fi
  112958. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  112959. +$as_echo "$ac_cv_header_stdc" >&6; }
  112960. +if test $ac_cv_header_stdc = yes; then
  112961. +
  112962. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  112963. +
  112964. +fi
  112965. +
  112966. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  112967. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  112968. + inttypes.h stdint.h unistd.h
  112969. +do :
  112970. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  112971. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  112972. +"
  112973. +eval as_val=\$$as_ac_Header
  112974. + if test "x$as_val" = x""yes; then :
  112975. + cat >>confdefs.h <<_ACEOF
  112976. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  112977. +_ACEOF
  112978. +
  112979. +fi
  112980. +
  112981. +done
  112982. +
  112983. +
  112984. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  112985. +if test "x$ac_cv_type_size_t" = x""yes; then :
  112986. +
  112987. +else
  112988. +
  112989. +cat >>confdefs.h <<_ACEOF
  112990. +@%:@define size_t unsigned int
  112991. +_ACEOF
  112992. +
  112993. +fi
  112994. +
  112995. +
  112996. +# Checks for library functions.
  112997. +
  112998. +ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile test/Makefile"
  112999. +
  113000. +cat >confcache <<\_ACEOF
  113001. +# This file is a shell script that caches the results of configure
  113002. +# tests run on this system so they can be shared between configure
  113003. +# scripts and configure runs, see configure's option --config-cache.
  113004. +# It is not useful on other systems. If it contains results you don't
  113005. +# want to keep, you may remove or edit it.
  113006. +#
  113007. +# config.status only pays attention to the cache file if you give it
  113008. +# the --recheck option to rerun configure.
  113009. +#
  113010. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  113011. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  113012. +# following values.
  113013. +
  113014. +_ACEOF
  113015. +
  113016. +# The following way of writing the cache mishandles newlines in values,
  113017. +# but we know of no workaround that is simple, portable, and efficient.
  113018. +# So, we kill variables containing newlines.
  113019. +# Ultrix sh set writes to stderr and can't be redirected directly,
  113020. +# and sets the high bit in the cache file unless we assign to the vars.
  113021. +(
  113022. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  113023. + eval ac_val=\$$ac_var
  113024. + case $ac_val in #(
  113025. + *${as_nl}*)
  113026. + case $ac_var in #(
  113027. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  113028. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  113029. + esac
  113030. + case $ac_var in #(
  113031. + _ | IFS | as_nl) ;; #(
  113032. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  113033. + *) { eval $ac_var=; unset $ac_var;} ;;
  113034. + esac ;;
  113035. + esac
  113036. + done
  113037. +
  113038. + (set) 2>&1 |
  113039. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  113040. + *${as_nl}ac_space=\ *)
  113041. + # `set' does not quote correctly, so add quotes: double-quote
  113042. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  113043. + sed -n \
  113044. + "s/'/'\\\\''/g;
  113045. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  113046. + ;; #(
  113047. + *)
  113048. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  113049. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  113050. + ;;
  113051. + esac |
  113052. + sort
  113053. +) |
  113054. + sed '
  113055. + /^ac_cv_env_/b end
  113056. + t clear
  113057. + :clear
  113058. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  113059. + t end
  113060. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  113061. + :end' >>confcache
  113062. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  113063. + if test -w "$cache_file"; then
  113064. + test "x$cache_file" != "x/dev/null" &&
  113065. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  113066. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  113067. + cat confcache >$cache_file
  113068. + else
  113069. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  113070. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  113071. + fi
  113072. +fi
  113073. +rm -f confcache
  113074. +
  113075. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  113076. +# Let make expand exec_prefix.
  113077. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  113078. +
  113079. +DEFS=-DHAVE_CONFIG_H
  113080. +
  113081. +ac_libobjs=
  113082. +ac_ltlibobjs=
  113083. +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
  113084. + # 1. Remove the extension, and $U if already installed.
  113085. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  113086. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  113087. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  113088. + # will be set to the directory where LIBOBJS objects are built.
  113089. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  113090. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  113091. +done
  113092. +LIB@&t@OBJS=$ac_libobjs
  113093. +
  113094. +LTLIBOBJS=$ac_ltlibobjs
  113095. +
  113096. +
  113097. +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  113098. + as_fn_error "conditional \"AMDEP\" was never defined.
  113099. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  113100. +fi
  113101. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  113102. + as_fn_error "conditional \"am__fastdepCC\" was never defined.
  113103. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  113104. +fi
  113105. +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  113106. + as_fn_error "conditional \"am__fastdepCXX\" was never defined.
  113107. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  113108. +fi
  113109. + if test -n "$EXEEXT"; then
  113110. + am__EXEEXT_TRUE=
  113111. + am__EXEEXT_FALSE='#'
  113112. +else
  113113. + am__EXEEXT_TRUE='#'
  113114. + am__EXEEXT_FALSE=
  113115. +fi
  113116. +
  113117. +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  113118. + as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
  113119. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  113120. +fi
  113121. +
  113122. +: ${CONFIG_STATUS=./config.status}
  113123. +ac_write_fail=0
  113124. +ac_clean_files_save=$ac_clean_files
  113125. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  113126. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  113127. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  113128. +as_write_fail=0
  113129. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  113130. +#! $SHELL
  113131. +# Generated by $as_me.
  113132. +# Run this file to recreate the current configuration.
  113133. +# Compiler output produced by configure, useful for debugging
  113134. +# configure, is in config.log if it exists.
  113135. +
  113136. +debug=false
  113137. +ac_cs_recheck=false
  113138. +ac_cs_silent=false
  113139. +
  113140. +SHELL=\${CONFIG_SHELL-$SHELL}
  113141. +export SHELL
  113142. +_ASEOF
  113143. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  113144. +## -------------------- ##
  113145. +## M4sh Initialization. ##
  113146. +## -------------------- ##
  113147. +
  113148. +# Be more Bourne compatible
  113149. +DUALCASE=1; export DUALCASE # for MKS sh
  113150. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  113151. + emulate sh
  113152. + NULLCMD=:
  113153. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  113154. + # is contrary to our usage. Disable this feature.
  113155. + alias -g '${1+"$@"}'='"$@"'
  113156. + setopt NO_GLOB_SUBST
  113157. +else
  113158. + case `(set -o) 2>/dev/null` in @%:@(
  113159. + *posix*) :
  113160. + set -o posix ;; @%:@(
  113161. + *) :
  113162. + ;;
  113163. +esac
  113164. +fi
  113165. +
  113166. +
  113167. +as_nl='
  113168. +'
  113169. +export as_nl
  113170. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  113171. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  113172. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  113173. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  113174. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  113175. +# but without wasting forks for bash or zsh.
  113176. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  113177. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  113178. + as_echo='print -r --'
  113179. + as_echo_n='print -rn --'
  113180. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  113181. + as_echo='printf %s\n'
  113182. + as_echo_n='printf %s'
  113183. +else
  113184. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  113185. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  113186. + as_echo_n='/usr/ucb/echo -n'
  113187. + else
  113188. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  113189. + as_echo_n_body='eval
  113190. + arg=$1;
  113191. + case $arg in @%:@(
  113192. + *"$as_nl"*)
  113193. + expr "X$arg" : "X\\(.*\\)$as_nl";
  113194. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  113195. + esac;
  113196. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  113197. + '
  113198. + export as_echo_n_body
  113199. + as_echo_n='sh -c $as_echo_n_body as_echo'
  113200. + fi
  113201. + export as_echo_body
  113202. + as_echo='sh -c $as_echo_body as_echo'
  113203. +fi
  113204. +
  113205. +# The user is always right.
  113206. +if test "${PATH_SEPARATOR+set}" != set; then
  113207. + PATH_SEPARATOR=:
  113208. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  113209. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  113210. + PATH_SEPARATOR=';'
  113211. + }
  113212. +fi
  113213. +
  113214. +
  113215. +# IFS
  113216. +# We need space, tab and new line, in precisely that order. Quoting is
  113217. +# there to prevent editors from complaining about space-tab.
  113218. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  113219. +# splitting by setting IFS to empty value.)
  113220. +IFS=" "" $as_nl"
  113221. +
  113222. +# Find who we are. Look in the path if we contain no directory separator.
  113223. +case $0 in @%:@((
  113224. + *[\\/]* ) as_myself=$0 ;;
  113225. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  113226. +for as_dir in $PATH
  113227. +do
  113228. + IFS=$as_save_IFS
  113229. + test -z "$as_dir" && as_dir=.
  113230. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  113231. + done
  113232. +IFS=$as_save_IFS
  113233. +
  113234. + ;;
  113235. +esac
  113236. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  113237. +# in which case we are not to be found in the path.
  113238. +if test "x$as_myself" = x; then
  113239. + as_myself=$0
  113240. +fi
  113241. +if test ! -f "$as_myself"; then
  113242. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  113243. + exit 1
  113244. +fi
  113245. +
  113246. +# Unset variables that we do not need and which cause bugs (e.g. in
  113247. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  113248. +# suppresses any "Segmentation fault" message there. '((' could
  113249. +# trigger a bug in pdksh 5.2.14.
  113250. +for as_var in BASH_ENV ENV MAIL MAILPATH
  113251. +do eval test x\${$as_var+set} = xset \
  113252. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  113253. +done
  113254. +PS1='$ '
  113255. +PS2='> '
  113256. +PS4='+ '
  113257. +
  113258. +# NLS nuisances.
  113259. +LC_ALL=C
  113260. +export LC_ALL
  113261. +LANGUAGE=C
  113262. +export LANGUAGE
  113263. +
  113264. +# CDPATH.
  113265. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  113266. +
  113267. +
  113268. +@%:@ as_fn_error ERROR [LINENO LOG_FD]
  113269. +@%:@ ---------------------------------
  113270. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  113271. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  113272. +@%:@ script with status @S|@?, using 1 if that was 0.
  113273. +as_fn_error ()
  113274. +{
  113275. + as_status=$?; test $as_status -eq 0 && as_status=1
  113276. + if test "$3"; then
  113277. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  113278. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  113279. + fi
  113280. + $as_echo "$as_me: error: $1" >&2
  113281. + as_fn_exit $as_status
  113282. +} @%:@ as_fn_error
  113283. +
  113284. +
  113285. +@%:@ as_fn_set_status STATUS
  113286. +@%:@ -----------------------
  113287. +@%:@ Set @S|@? to STATUS, without forking.
  113288. +as_fn_set_status ()
  113289. +{
  113290. + return $1
  113291. +} @%:@ as_fn_set_status
  113292. +
  113293. +@%:@ as_fn_exit STATUS
  113294. +@%:@ -----------------
  113295. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  113296. +as_fn_exit ()
  113297. +{
  113298. + set +e
  113299. + as_fn_set_status $1
  113300. + exit $1
  113301. +} @%:@ as_fn_exit
  113302. +
  113303. +@%:@ as_fn_unset VAR
  113304. +@%:@ ---------------
  113305. +@%:@ Portably unset VAR.
  113306. +as_fn_unset ()
  113307. +{
  113308. + { eval $1=; unset $1;}
  113309. +}
  113310. +as_unset=as_fn_unset
  113311. +@%:@ as_fn_append VAR VALUE
  113312. +@%:@ ----------------------
  113313. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  113314. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  113315. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  113316. +@%:@ implementations.
  113317. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  113318. + eval 'as_fn_append ()
  113319. + {
  113320. + eval $1+=\$2
  113321. + }'
  113322. +else
  113323. + as_fn_append ()
  113324. + {
  113325. + eval $1=\$$1\$2
  113326. + }
  113327. +fi # as_fn_append
  113328. +
  113329. +@%:@ as_fn_arith ARG...
  113330. +@%:@ ------------------
  113331. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  113332. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  113333. +@%:@ must be portable across @S|@(()) and expr.
  113334. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  113335. + eval 'as_fn_arith ()
  113336. + {
  113337. + as_val=$(( $* ))
  113338. + }'
  113339. +else
  113340. + as_fn_arith ()
  113341. + {
  113342. + as_val=`expr "$@" || test $? -eq 1`
  113343. + }
  113344. +fi # as_fn_arith
  113345. +
  113346. +
  113347. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  113348. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  113349. + as_expr=expr
  113350. +else
  113351. + as_expr=false
  113352. +fi
  113353. +
  113354. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  113355. + as_basename=basename
  113356. +else
  113357. + as_basename=false
  113358. +fi
  113359. +
  113360. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  113361. + as_dirname=dirname
  113362. +else
  113363. + as_dirname=false
  113364. +fi
  113365. +
  113366. +as_me=`$as_basename -- "$0" ||
  113367. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  113368. + X"$0" : 'X\(//\)$' \| \
  113369. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  113370. +$as_echo X/"$0" |
  113371. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  113372. + s//\1/
  113373. + q
  113374. + }
  113375. + /^X\/\(\/\/\)$/{
  113376. + s//\1/
  113377. + q
  113378. + }
  113379. + /^X\/\(\/\).*/{
  113380. + s//\1/
  113381. + q
  113382. + }
  113383. + s/.*/./; q'`
  113384. +
  113385. +# Avoid depending upon Character Ranges.
  113386. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  113387. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  113388. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  113389. +as_cr_digits='0123456789'
  113390. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  113391. +
  113392. +ECHO_C= ECHO_N= ECHO_T=
  113393. +case `echo -n x` in @%:@(((((
  113394. +-n*)
  113395. + case `echo 'xy\c'` in
  113396. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  113397. + xy) ECHO_C='\c';;
  113398. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  113399. + ECHO_T=' ';;
  113400. + esac;;
  113401. +*)
  113402. + ECHO_N='-n';;
  113403. +esac
  113404. +
  113405. +rm -f conf$$ conf$$.exe conf$$.file
  113406. +if test -d conf$$.dir; then
  113407. + rm -f conf$$.dir/conf$$.file
  113408. +else
  113409. + rm -f conf$$.dir
  113410. + mkdir conf$$.dir 2>/dev/null
  113411. +fi
  113412. +if (echo >conf$$.file) 2>/dev/null; then
  113413. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  113414. + as_ln_s='ln -s'
  113415. + # ... but there are two gotchas:
  113416. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  113417. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  113418. + # In both cases, we have to default to `cp -p'.
  113419. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  113420. + as_ln_s='cp -p'
  113421. + elif ln conf$$.file conf$$ 2>/dev/null; then
  113422. + as_ln_s=ln
  113423. + else
  113424. + as_ln_s='cp -p'
  113425. + fi
  113426. +else
  113427. + as_ln_s='cp -p'
  113428. +fi
  113429. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  113430. +rmdir conf$$.dir 2>/dev/null
  113431. +
  113432. +
  113433. +@%:@ as_fn_mkdir_p
  113434. +@%:@ -------------
  113435. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  113436. +as_fn_mkdir_p ()
  113437. +{
  113438. +
  113439. + case $as_dir in #(
  113440. + -*) as_dir=./$as_dir;;
  113441. + esac
  113442. + test -d "$as_dir" || eval $as_mkdir_p || {
  113443. + as_dirs=
  113444. + while :; do
  113445. + case $as_dir in #(
  113446. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  113447. + *) as_qdir=$as_dir;;
  113448. + esac
  113449. + as_dirs="'$as_qdir' $as_dirs"
  113450. + as_dir=`$as_dirname -- "$as_dir" ||
  113451. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  113452. + X"$as_dir" : 'X\(//\)[^/]' \| \
  113453. + X"$as_dir" : 'X\(//\)$' \| \
  113454. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  113455. +$as_echo X"$as_dir" |
  113456. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  113457. + s//\1/
  113458. + q
  113459. + }
  113460. + /^X\(\/\/\)[^/].*/{
  113461. + s//\1/
  113462. + q
  113463. + }
  113464. + /^X\(\/\/\)$/{
  113465. + s//\1/
  113466. + q
  113467. + }
  113468. + /^X\(\/\).*/{
  113469. + s//\1/
  113470. + q
  113471. + }
  113472. + s/.*/./; q'`
  113473. + test -d "$as_dir" && break
  113474. + done
  113475. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  113476. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  113477. +
  113478. +
  113479. +} @%:@ as_fn_mkdir_p
  113480. +if mkdir -p . 2>/dev/null; then
  113481. + as_mkdir_p='mkdir -p "$as_dir"'
  113482. +else
  113483. + test -d ./-p && rmdir ./-p
  113484. + as_mkdir_p=false
  113485. +fi
  113486. +
  113487. +if test -x / >/dev/null 2>&1; then
  113488. + as_test_x='test -x'
  113489. +else
  113490. + if ls -dL / >/dev/null 2>&1; then
  113491. + as_ls_L_option=L
  113492. + else
  113493. + as_ls_L_option=
  113494. + fi
  113495. + as_test_x='
  113496. + eval sh -c '\''
  113497. + if test -d "$1"; then
  113498. + test -d "$1/.";
  113499. + else
  113500. + case $1 in @%:@(
  113501. + -*)set "./$1";;
  113502. + esac;
  113503. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
  113504. + ???[sx]*):;;*)false;;esac;fi
  113505. + '\'' sh
  113506. + '
  113507. +fi
  113508. +as_executable_p=$as_test_x
  113509. +
  113510. +# Sed expression to map a string onto a valid CPP name.
  113511. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  113512. +
  113513. +# Sed expression to map a string onto a valid variable name.
  113514. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  113515. +
  113516. +
  113517. +exec 6>&1
  113518. +## ----------------------------------- ##
  113519. +## Main body of $CONFIG_STATUS script. ##
  113520. +## ----------------------------------- ##
  113521. +_ASEOF
  113522. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  113523. +
  113524. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  113525. +# Save the log message, to keep $0 and so on meaningful, and to
  113526. +# report actual input values of CONFIG_FILES etc. instead of their
  113527. +# values after options handling.
  113528. +ac_log="
  113529. +This file was extended by libTrie $as_me 0.1, which was
  113530. +generated by GNU Autoconf 2.65. Invocation command line was
  113531. +
  113532. + CONFIG_FILES = $CONFIG_FILES
  113533. + CONFIG_HEADERS = $CONFIG_HEADERS
  113534. + CONFIG_LINKS = $CONFIG_LINKS
  113535. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  113536. + $ $0 $@
  113537. +
  113538. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  113539. +"
  113540. +
  113541. +_ACEOF
  113542. +
  113543. +case $ac_config_files in *"
  113544. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  113545. +esac
  113546. +
  113547. +case $ac_config_headers in *"
  113548. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  113549. +esac
  113550. +
  113551. +
  113552. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  113553. +# Files that config.status was made for.
  113554. +config_files="$ac_config_files"
  113555. +config_headers="$ac_config_headers"
  113556. +config_commands="$ac_config_commands"
  113557. +
  113558. +_ACEOF
  113559. +
  113560. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  113561. +ac_cs_usage="\
  113562. +\`$as_me' instantiates files and other configuration actions
  113563. +from templates according to the current configuration. Unless the files
  113564. +and actions are specified as TAGs, all are instantiated by default.
  113565. +
  113566. +Usage: $0 [OPTION]... [TAG]...
  113567. +
  113568. + -h, --help print this help, then exit
  113569. + -V, --version print version number and configuration settings, then exit
  113570. + --config print configuration, then exit
  113571. + -q, --quiet, --silent
  113572. + do not print progress messages
  113573. + -d, --debug don't remove temporary files
  113574. + --recheck update $as_me by reconfiguring in the same conditions
  113575. + --file=FILE[:TEMPLATE]
  113576. + instantiate the configuration file FILE
  113577. + --header=FILE[:TEMPLATE]
  113578. + instantiate the configuration header FILE
  113579. +
  113580. +Configuration files:
  113581. +$config_files
  113582. +
  113583. +Configuration headers:
  113584. +$config_headers
  113585. +
  113586. +Configuration commands:
  113587. +$config_commands
  113588. +
  113589. +Report bugs to <rbtcollins@squid-cache.org>."
  113590. +
  113591. +_ACEOF
  113592. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  113593. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  113594. +ac_cs_version="\\
  113595. +libTrie config.status 0.1
  113596. +configured by $0, generated by GNU Autoconf 2.65,
  113597. + with options \\"\$ac_cs_config\\"
  113598. +
  113599. +Copyright (C) 2009 Free Software Foundation, Inc.
  113600. +This config.status script is free software; the Free Software Foundation
  113601. +gives unlimited permission to copy, distribute and modify it."
  113602. +
  113603. +ac_pwd='$ac_pwd'
  113604. +srcdir='$srcdir'
  113605. +INSTALL='$INSTALL'
  113606. +MKDIR_P='$MKDIR_P'
  113607. +AWK='$AWK'
  113608. +test -n "\$AWK" || AWK=awk
  113609. +_ACEOF
  113610. +
  113611. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  113612. +# The default lists apply if the user does not specify any file.
  113613. +ac_need_defaults=:
  113614. +while test $# != 0
  113615. +do
  113616. + case $1 in
  113617. + --*=*)
  113618. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  113619. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  113620. + ac_shift=:
  113621. + ;;
  113622. + *)
  113623. + ac_option=$1
  113624. + ac_optarg=$2
  113625. + ac_shift=shift
  113626. + ;;
  113627. + esac
  113628. +
  113629. + case $ac_option in
  113630. + # Handling of the options.
  113631. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  113632. + ac_cs_recheck=: ;;
  113633. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  113634. + $as_echo "$ac_cs_version"; exit ;;
  113635. + --config | --confi | --conf | --con | --co | --c )
  113636. + $as_echo "$ac_cs_config"; exit ;;
  113637. + --debug | --debu | --deb | --de | --d | -d )
  113638. + debug=: ;;
  113639. + --file | --fil | --fi | --f )
  113640. + $ac_shift
  113641. + case $ac_optarg in
  113642. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  113643. + esac
  113644. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  113645. + ac_need_defaults=false;;
  113646. + --header | --heade | --head | --hea )
  113647. + $ac_shift
  113648. + case $ac_optarg in
  113649. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  113650. + esac
  113651. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  113652. + ac_need_defaults=false;;
  113653. + --he | --h)
  113654. + # Conflict between --help and --header
  113655. + as_fn_error "ambiguous option: \`$1'
  113656. +Try \`$0 --help' for more information.";;
  113657. + --help | --hel | -h )
  113658. + $as_echo "$ac_cs_usage"; exit ;;
  113659. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  113660. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  113661. + ac_cs_silent=: ;;
  113662. +
  113663. + # This is an error.
  113664. + -*) as_fn_error "unrecognized option: \`$1'
  113665. +Try \`$0 --help' for more information." ;;
  113666. +
  113667. + *) as_fn_append ac_config_targets " $1"
  113668. + ac_need_defaults=false ;;
  113669. +
  113670. + esac
  113671. + shift
  113672. +done
  113673. +
  113674. +ac_configure_extra_args=
  113675. +
  113676. +if $ac_cs_silent; then
  113677. + exec 6>/dev/null
  113678. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  113679. +fi
  113680. +
  113681. +_ACEOF
  113682. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  113683. +if \$ac_cs_recheck; then
  113684. + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  113685. + shift
  113686. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  113687. + CONFIG_SHELL='$SHELL'
  113688. + export CONFIG_SHELL
  113689. + exec "\$@"
  113690. +fi
  113691. +
  113692. +_ACEOF
  113693. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  113694. +exec 5>>config.log
  113695. +{
  113696. + echo
  113697. + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
  113698. +@%:@@%:@ Running $as_me. @%:@@%:@
  113699. +_ASBOX
  113700. + $as_echo "$ac_log"
  113701. +} >&5
  113702. +
  113703. +_ACEOF
  113704. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  113705. +#
  113706. +# INIT-COMMANDS
  113707. +#
  113708. +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  113709. +
  113710. +_ACEOF
  113711. +
  113712. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  113713. +
  113714. +# Handling of arguments.
  113715. +for ac_config_target in $ac_config_targets
  113716. +do
  113717. + case $ac_config_target in
  113718. + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  113719. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  113720. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  113721. + "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
  113722. + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  113723. + "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
  113724. +
  113725. + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  113726. + esac
  113727. +done
  113728. +
  113729. +
  113730. +# If the user did not use the arguments to specify the items to instantiate,
  113731. +# then the envvar interface is used. Set only those that are not.
  113732. +# We use the long form for the default assignment because of an extremely
  113733. +# bizarre bug on SunOS 4.1.3.
  113734. +if $ac_need_defaults; then
  113735. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  113736. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  113737. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  113738. +fi
  113739. +
  113740. +# Have a temporary directory for convenience. Make it in the build tree
  113741. +# simply because there is no reason against having it here, and in addition,
  113742. +# creating and moving files from /tmp can sometimes cause problems.
  113743. +# Hook for its removal unless debugging.
  113744. +# Note that there is a small window in which the directory will not be cleaned:
  113745. +# after its creation but before its name has been assigned to `$tmp'.
  113746. +$debug ||
  113747. +{
  113748. + tmp=
  113749. + trap 'exit_status=$?
  113750. + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  113751. +' 0
  113752. + trap 'as_fn_exit 1' 1 2 13 15
  113753. +}
  113754. +# Create a (secure) tmp directory for tmp files.
  113755. +
  113756. +{
  113757. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  113758. + test -n "$tmp" && test -d "$tmp"
  113759. +} ||
  113760. +{
  113761. + tmp=./conf$$-$RANDOM
  113762. + (umask 077 && mkdir "$tmp")
  113763. +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  113764. +
  113765. +# Set up the scripts for CONFIG_FILES section.
  113766. +# No need to generate them if there are no CONFIG_FILES.
  113767. +# This happens for instance with `./config.status config.h'.
  113768. +if test -n "$CONFIG_FILES"; then
  113769. +
  113770. +
  113771. +ac_cr=`echo X | tr X '\015'`
  113772. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  113773. +# But we know of no other shell where ac_cr would be empty at this
  113774. +# point, so we can use a bashism as a fallback.
  113775. +if test "x$ac_cr" = x; then
  113776. + eval ac_cr=\$\'\\r\'
  113777. +fi
  113778. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  113779. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  113780. + ac_cs_awk_cr='\r'
  113781. +else
  113782. + ac_cs_awk_cr=$ac_cr
  113783. +fi
  113784. +
  113785. +echo 'BEGIN {' >"$tmp/subs1.awk" &&
  113786. +_ACEOF
  113787. +
  113788. +
  113789. +{
  113790. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  113791. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  113792. + echo "_ACEOF"
  113793. +} >conf$$subs.sh ||
  113794. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  113795. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  113796. +ac_delim='%!_!# '
  113797. +for ac_last_try in false false false false false :; do
  113798. + . ./conf$$subs.sh ||
  113799. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  113800. +
  113801. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  113802. + if test $ac_delim_n = $ac_delim_num; then
  113803. + break
  113804. + elif $ac_last_try; then
  113805. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  113806. + else
  113807. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  113808. + fi
  113809. +done
  113810. +rm -f conf$$subs.sh
  113811. +
  113812. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  113813. +cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  113814. +_ACEOF
  113815. +sed -n '
  113816. +h
  113817. +s/^/S["/; s/!.*/"]=/
  113818. +p
  113819. +g
  113820. +s/^[^!]*!//
  113821. +:repl
  113822. +t repl
  113823. +s/'"$ac_delim"'$//
  113824. +t delim
  113825. +:nl
  113826. +h
  113827. +s/\(.\{148\}\)..*/\1/
  113828. +t more1
  113829. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  113830. +p
  113831. +n
  113832. +b repl
  113833. +:more1
  113834. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  113835. +p
  113836. +g
  113837. +s/.\{148\}//
  113838. +t nl
  113839. +:delim
  113840. +h
  113841. +s/\(.\{148\}\)..*/\1/
  113842. +t more2
  113843. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  113844. +p
  113845. +b
  113846. +:more2
  113847. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  113848. +p
  113849. +g
  113850. +s/.\{148\}//
  113851. +t delim
  113852. +' <conf$$subs.awk | sed '
  113853. +/^[^""]/{
  113854. + N
  113855. + s/\n//
  113856. +}
  113857. +' >>$CONFIG_STATUS || ac_write_fail=1
  113858. +rm -f conf$$subs.awk
  113859. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  113860. +_ACAWK
  113861. +cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  113862. + for (key in S) S_is_set[key] = 1
  113863. + FS = ""
  113864. +
  113865. +}
  113866. +{
  113867. + line = $ 0
  113868. + nfields = split(line, field, "@")
  113869. + substed = 0
  113870. + len = length(field[1])
  113871. + for (i = 2; i < nfields; i++) {
  113872. + key = field[i]
  113873. + keylen = length(key)
  113874. + if (S_is_set[key]) {
  113875. + value = S[key]
  113876. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  113877. + len += length(value) + length(field[++i])
  113878. + substed = 1
  113879. + } else
  113880. + len += 1 + keylen
  113881. + }
  113882. +
  113883. + print line
  113884. +}
  113885. +
  113886. +_ACAWK
  113887. +_ACEOF
  113888. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  113889. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  113890. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  113891. +else
  113892. + cat
  113893. +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  113894. + || as_fn_error "could not setup config files machinery" "$LINENO" 5
  113895. +_ACEOF
  113896. +
  113897. +# VPATH may cause trouble with some makes, so we remove $(srcdir),
  113898. +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  113899. +# trailing colons and then remove the whole line if VPATH becomes empty
  113900. +# (actually we leave an empty line to preserve line numbers).
  113901. +if test "x$srcdir" = x.; then
  113902. + ac_vpsub='/^[ ]*VPATH[ ]*=/{
  113903. +s/:*\$(srcdir):*/:/
  113904. +s/:*\${srcdir}:*/:/
  113905. +s/:*@srcdir@:*/:/
  113906. +s/^\([^=]*=[ ]*\):*/\1/
  113907. +s/:*$//
  113908. +s/^[^=]*=[ ]*$//
  113909. +}'
  113910. +fi
  113911. +
  113912. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  113913. +fi # test -n "$CONFIG_FILES"
  113914. +
  113915. +# Set up the scripts for CONFIG_HEADERS section.
  113916. +# No need to generate them if there are no CONFIG_HEADERS.
  113917. +# This happens for instance with `./config.status Makefile'.
  113918. +if test -n "$CONFIG_HEADERS"; then
  113919. +cat >"$tmp/defines.awk" <<\_ACAWK ||
  113920. +BEGIN {
  113921. +_ACEOF
  113922. +
  113923. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  113924. +# here-document in config.status, that substitutes the proper values into
  113925. +# config.h.in to produce config.h.
  113926. +
  113927. +# Create a delimiter string that does not exist in confdefs.h, to ease
  113928. +# handling of long lines.
  113929. +ac_delim='%!_!# '
  113930. +for ac_last_try in false false :; do
  113931. + ac_t=`sed -n "/$ac_delim/p" confdefs.h`
  113932. + if test -z "$ac_t"; then
  113933. + break
  113934. + elif $ac_last_try; then
  113935. + as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
  113936. + else
  113937. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  113938. + fi
  113939. +done
  113940. +
  113941. +# For the awk script, D is an array of macro values keyed by name,
  113942. +# likewise P contains macro parameters if any. Preserve backslash
  113943. +# newline sequences.
  113944. +
  113945. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  113946. +sed -n '
  113947. +s/.\{148\}/&'"$ac_delim"'/g
  113948. +t rset
  113949. +:rset
  113950. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  113951. +t def
  113952. +d
  113953. +:def
  113954. +s/\\$//
  113955. +t bsnl
  113956. +s/["\\]/\\&/g
  113957. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  113958. +D["\1"]=" \3"/p
  113959. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  113960. +d
  113961. +:bsnl
  113962. +s/["\\]/\\&/g
  113963. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  113964. +D["\1"]=" \3\\\\\\n"\\/p
  113965. +t cont
  113966. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  113967. +t cont
  113968. +d
  113969. +:cont
  113970. +n
  113971. +s/.\{148\}/&'"$ac_delim"'/g
  113972. +t clear
  113973. +:clear
  113974. +s/\\$//
  113975. +t bsnlc
  113976. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  113977. +d
  113978. +:bsnlc
  113979. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  113980. +b cont
  113981. +' <confdefs.h | sed '
  113982. +s/'"$ac_delim"'/"\\\
  113983. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  113984. +
  113985. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  113986. + for (key in D) D_is_set[key] = 1
  113987. + FS = ""
  113988. +}
  113989. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  113990. + line = \$ 0
  113991. + split(line, arg, " ")
  113992. + if (arg[1] == "#") {
  113993. + defundef = arg[2]
  113994. + mac1 = arg[3]
  113995. + } else {
  113996. + defundef = substr(arg[1], 2)
  113997. + mac1 = arg[2]
  113998. + }
  113999. + split(mac1, mac2, "(") #)
  114000. + macro = mac2[1]
  114001. + prefix = substr(line, 1, index(line, defundef) - 1)
  114002. + if (D_is_set[macro]) {
  114003. + # Preserve the white space surrounding the "#".
  114004. + print prefix "define", macro P[macro] D[macro]
  114005. + next
  114006. + } else {
  114007. + # Replace #undef with comments. This is necessary, for example,
  114008. + # in the case of _POSIX_SOURCE, which is predefined and required
  114009. + # on some systems where configure will not decide to define it.
  114010. + if (defundef == "undef") {
  114011. + print "/*", prefix defundef, macro, "*/"
  114012. + next
  114013. + }
  114014. + }
  114015. +}
  114016. +{ print }
  114017. +_ACAWK
  114018. +_ACEOF
  114019. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  114020. + as_fn_error "could not setup config headers machinery" "$LINENO" 5
  114021. +fi # test -n "$CONFIG_HEADERS"
  114022. +
  114023. +
  114024. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  114025. +shift
  114026. +for ac_tag
  114027. +do
  114028. + case $ac_tag in
  114029. + :[FHLC]) ac_mode=$ac_tag; continue;;
  114030. + esac
  114031. + case $ac_mode$ac_tag in
  114032. + :[FHL]*:*);;
  114033. + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  114034. + :[FH]-) ac_tag=-:-;;
  114035. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  114036. + esac
  114037. + ac_save_IFS=$IFS
  114038. + IFS=:
  114039. + set x $ac_tag
  114040. + IFS=$ac_save_IFS
  114041. + shift
  114042. + ac_file=$1
  114043. + shift
  114044. +
  114045. + case $ac_mode in
  114046. + :L) ac_source=$1;;
  114047. + :[FH])
  114048. + ac_file_inputs=
  114049. + for ac_f
  114050. + do
  114051. + case $ac_f in
  114052. + -) ac_f="$tmp/stdin";;
  114053. + *) # Look for the file first in the build tree, then in the source tree
  114054. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  114055. + # because $ac_f cannot contain `:'.
  114056. + test -f "$ac_f" ||
  114057. + case $ac_f in
  114058. + [\\/$]*) false;;
  114059. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  114060. + esac ||
  114061. + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  114062. + esac
  114063. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  114064. + as_fn_append ac_file_inputs " '$ac_f'"
  114065. + done
  114066. +
  114067. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  114068. + # use $as_me), people would be surprised to read:
  114069. + # /* config.h. Generated by config.status. */
  114070. + configure_input='Generated from '`
  114071. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  114072. + `' by configure.'
  114073. + if test x"$ac_file" != x-; then
  114074. + configure_input="$ac_file. $configure_input"
  114075. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  114076. +$as_echo "$as_me: creating $ac_file" >&6;}
  114077. + fi
  114078. + # Neutralize special characters interpreted by sed in replacement strings.
  114079. + case $configure_input in #(
  114080. + *\&* | *\|* | *\\* )
  114081. + ac_sed_conf_input=`$as_echo "$configure_input" |
  114082. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  114083. + *) ac_sed_conf_input=$configure_input;;
  114084. + esac
  114085. +
  114086. + case $ac_tag in
  114087. + *:-:* | *:-) cat >"$tmp/stdin" \
  114088. + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  114089. + esac
  114090. + ;;
  114091. + esac
  114092. +
  114093. + ac_dir=`$as_dirname -- "$ac_file" ||
  114094. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  114095. + X"$ac_file" : 'X\(//\)[^/]' \| \
  114096. + X"$ac_file" : 'X\(//\)$' \| \
  114097. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  114098. +$as_echo X"$ac_file" |
  114099. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  114100. + s//\1/
  114101. + q
  114102. + }
  114103. + /^X\(\/\/\)[^/].*/{
  114104. + s//\1/
  114105. + q
  114106. + }
  114107. + /^X\(\/\/\)$/{
  114108. + s//\1/
  114109. + q
  114110. + }
  114111. + /^X\(\/\).*/{
  114112. + s//\1/
  114113. + q
  114114. + }
  114115. + s/.*/./; q'`
  114116. + as_dir="$ac_dir"; as_fn_mkdir_p
  114117. + ac_builddir=.
  114118. +
  114119. +case "$ac_dir" in
  114120. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  114121. +*)
  114122. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  114123. + # A ".." for each directory in $ac_dir_suffix.
  114124. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  114125. + case $ac_top_builddir_sub in
  114126. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  114127. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  114128. + esac ;;
  114129. +esac
  114130. +ac_abs_top_builddir=$ac_pwd
  114131. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  114132. +# for backward compatibility:
  114133. +ac_top_builddir=$ac_top_build_prefix
  114134. +
  114135. +case $srcdir in
  114136. + .) # We are building in place.
  114137. + ac_srcdir=.
  114138. + ac_top_srcdir=$ac_top_builddir_sub
  114139. + ac_abs_top_srcdir=$ac_pwd ;;
  114140. + [\\/]* | ?:[\\/]* ) # Absolute name.
  114141. + ac_srcdir=$srcdir$ac_dir_suffix;
  114142. + ac_top_srcdir=$srcdir
  114143. + ac_abs_top_srcdir=$srcdir ;;
  114144. + *) # Relative name.
  114145. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  114146. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  114147. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  114148. +esac
  114149. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  114150. +
  114151. +
  114152. + case $ac_mode in
  114153. + :F)
  114154. + #
  114155. + # CONFIG_FILE
  114156. + #
  114157. +
  114158. + case $INSTALL in
  114159. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  114160. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  114161. + esac
  114162. + ac_MKDIR_P=$MKDIR_P
  114163. + case $MKDIR_P in
  114164. + [\\/$]* | ?:[\\/]* ) ;;
  114165. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  114166. + esac
  114167. +_ACEOF
  114168. +
  114169. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  114170. +# If the template does not know about datarootdir, expand it.
  114171. +# FIXME: This hack should be removed a few years after 2.60.
  114172. +ac_datarootdir_hack=; ac_datarootdir_seen=
  114173. +ac_sed_dataroot='
  114174. +/datarootdir/ {
  114175. + p
  114176. + q
  114177. +}
  114178. +/@datadir@/p
  114179. +/@docdir@/p
  114180. +/@infodir@/p
  114181. +/@localedir@/p
  114182. +/@mandir@/p'
  114183. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  114184. +*datarootdir*) ac_datarootdir_seen=yes;;
  114185. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  114186. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  114187. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  114188. +_ACEOF
  114189. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  114190. + ac_datarootdir_hack='
  114191. + s&@datadir@&$datadir&g
  114192. + s&@docdir@&$docdir&g
  114193. + s&@infodir@&$infodir&g
  114194. + s&@localedir@&$localedir&g
  114195. + s&@mandir@&$mandir&g
  114196. + s&\\\${datarootdir}&$datarootdir&g' ;;
  114197. +esac
  114198. +_ACEOF
  114199. +
  114200. +# Neutralize VPATH when `$srcdir' = `.'.
  114201. +# Shell code in configure.ac might set extrasub.
  114202. +# FIXME: do we really want to maintain this feature?
  114203. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  114204. +ac_sed_extra="$ac_vpsub
  114205. +$extrasub
  114206. +_ACEOF
  114207. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  114208. +:t
  114209. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  114210. +s|@configure_input@|$ac_sed_conf_input|;t t
  114211. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  114212. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  114213. +s&@srcdir@&$ac_srcdir&;t t
  114214. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  114215. +s&@top_srcdir@&$ac_top_srcdir&;t t
  114216. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  114217. +s&@builddir@&$ac_builddir&;t t
  114218. +s&@abs_builddir@&$ac_abs_builddir&;t t
  114219. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  114220. +s&@INSTALL@&$ac_INSTALL&;t t
  114221. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  114222. +$ac_datarootdir_hack
  114223. +"
  114224. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  114225. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  114226. +
  114227. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  114228. + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  114229. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  114230. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  114231. +which seems to be undefined. Please make sure it is defined." >&5
  114232. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  114233. +which seems to be undefined. Please make sure it is defined." >&2;}
  114234. +
  114235. + rm -f "$tmp/stdin"
  114236. + case $ac_file in
  114237. + -) cat "$tmp/out" && rm -f "$tmp/out";;
  114238. + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  114239. + esac \
  114240. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  114241. + ;;
  114242. + :H)
  114243. + #
  114244. + # CONFIG_HEADER
  114245. + #
  114246. + if test x"$ac_file" != x-; then
  114247. + {
  114248. + $as_echo "/* $configure_input */" \
  114249. + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  114250. + } >"$tmp/config.h" \
  114251. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  114252. + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  114253. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  114254. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  114255. + else
  114256. + rm -f "$ac_file"
  114257. + mv "$tmp/config.h" "$ac_file" \
  114258. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  114259. + fi
  114260. + else
  114261. + $as_echo "/* $configure_input */" \
  114262. + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  114263. + || as_fn_error "could not create -" "$LINENO" 5
  114264. + fi
  114265. +# Compute "$ac_file"'s index in $config_headers.
  114266. +_am_arg="$ac_file"
  114267. +_am_stamp_count=1
  114268. +for _am_header in $config_headers :; do
  114269. + case $_am_header in
  114270. + $_am_arg | $_am_arg:* )
  114271. + break ;;
  114272. + * )
  114273. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  114274. + esac
  114275. +done
  114276. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  114277. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  114278. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  114279. + X"$_am_arg" : 'X\(//\)$' \| \
  114280. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  114281. +$as_echo X"$_am_arg" |
  114282. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  114283. + s//\1/
  114284. + q
  114285. + }
  114286. + /^X\(\/\/\)[^/].*/{
  114287. + s//\1/
  114288. + q
  114289. + }
  114290. + /^X\(\/\/\)$/{
  114291. + s//\1/
  114292. + q
  114293. + }
  114294. + /^X\(\/\).*/{
  114295. + s//\1/
  114296. + q
  114297. + }
  114298. + s/.*/./; q'`/stamp-h$_am_stamp_count
  114299. + ;;
  114300. +
  114301. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  114302. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  114303. + ;;
  114304. + esac
  114305. +
  114306. +
  114307. + case $ac_file$ac_mode in
  114308. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  114309. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  114310. + # are listed without --file. Let's play safe and only enable the eval
  114311. + # if we detect the quoting.
  114312. + case $CONFIG_FILES in
  114313. + *\'*) eval set x "$CONFIG_FILES" ;;
  114314. + *) set x $CONFIG_FILES ;;
  114315. + esac
  114316. + shift
  114317. + for mf
  114318. + do
  114319. + # Strip MF so we end up with the name of the file.
  114320. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  114321. + # Check whether this is an Automake generated Makefile or not.
  114322. + # We used to match only the files named `Makefile.in', but
  114323. + # some people rename them; so instead we look at the file content.
  114324. + # Grep'ing the first line is not enough: some people post-process
  114325. + # each Makefile.in and add a new line on top of each file to say so.
  114326. + # Grep'ing the whole file is not good either: AIX grep has a line
  114327. + # limit of 2048, but all sed's we know have understand at least 4000.
  114328. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  114329. + dirpart=`$as_dirname -- "$mf" ||
  114330. +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  114331. + X"$mf" : 'X\(//\)[^/]' \| \
  114332. + X"$mf" : 'X\(//\)$' \| \
  114333. + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  114334. +$as_echo X"$mf" |
  114335. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  114336. + s//\1/
  114337. + q
  114338. + }
  114339. + /^X\(\/\/\)[^/].*/{
  114340. + s//\1/
  114341. + q
  114342. + }
  114343. + /^X\(\/\/\)$/{
  114344. + s//\1/
  114345. + q
  114346. + }
  114347. + /^X\(\/\).*/{
  114348. + s//\1/
  114349. + q
  114350. + }
  114351. + s/.*/./; q'`
  114352. + else
  114353. + continue
  114354. + fi
  114355. + # Extract the definition of DEPDIR, am__include, and am__quote
  114356. + # from the Makefile without running `make'.
  114357. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  114358. + test -z "$DEPDIR" && continue
  114359. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  114360. + test -z "am__include" && continue
  114361. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  114362. + # When using ansi2knr, U may be empty or an underscore; expand it
  114363. + U=`sed -n 's/^U = //p' < "$mf"`
  114364. + # Find all dependency output files, they are included files with
  114365. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  114366. + # simplest approach to changing $(DEPDIR) to its actual value in the
  114367. + # expansion.
  114368. + for file in `sed -n "
  114369. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  114370. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  114371. + # Make sure the directory exists.
  114372. + test -f "$dirpart/$file" && continue
  114373. + fdir=`$as_dirname -- "$file" ||
  114374. +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  114375. + X"$file" : 'X\(//\)[^/]' \| \
  114376. + X"$file" : 'X\(//\)$' \| \
  114377. + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  114378. +$as_echo X"$file" |
  114379. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  114380. + s//\1/
  114381. + q
  114382. + }
  114383. + /^X\(\/\/\)[^/].*/{
  114384. + s//\1/
  114385. + q
  114386. + }
  114387. + /^X\(\/\/\)$/{
  114388. + s//\1/
  114389. + q
  114390. + }
  114391. + /^X\(\/\).*/{
  114392. + s//\1/
  114393. + q
  114394. + }
  114395. + s/.*/./; q'`
  114396. + as_dir=$dirpart/$fdir; as_fn_mkdir_p
  114397. + # echo "creating $dirpart/$file"
  114398. + echo '# dummy' > "$dirpart/$file"
  114399. + done
  114400. + done
  114401. +}
  114402. + ;;
  114403. +
  114404. + esac
  114405. +done # for ac_tag
  114406. +
  114407. +
  114408. +as_fn_exit 0
  114409. +_ACEOF
  114410. +ac_clean_files=$ac_clean_files_save
  114411. +
  114412. +test $ac_write_fail = 0 ||
  114413. + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  114414. +
  114415. +
  114416. +# configure is writing to config.log, and then calls config.status.
  114417. +# config.status does its own redirection, appending to config.log.
  114418. +# Unfortunately, on DOS this fails, as config.log is still kept open
  114419. +# by configure, so config.status won't be able to write to it; its
  114420. +# output is simply discarded. So we exec the FD to /dev/null,
  114421. +# effectively closing config.log, so it can be properly (re)opened and
  114422. +# appended to by config.status. When coming back to configure, we
  114423. +# need to make the FD available again.
  114424. +if test "$no_create" != yes; then
  114425. + ac_cs_success=:
  114426. + ac_config_status_args=
  114427. + test "$silent" = yes &&
  114428. + ac_config_status_args="$ac_config_status_args --quiet"
  114429. + exec 5>/dev/null
  114430. + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  114431. + exec 5>>config.log
  114432. + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  114433. + # would make configure fail if this is the last instruction.
  114434. + $ac_cs_success || as_fn_exit $?
  114435. +fi
  114436. +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  114437. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  114438. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  114439. +fi
  114440. +
  114441. diff -Nur squid-3.0.STABLE20.orig/lib/libTrie/autom4te.cache/output.1 squid-3.0.STABLE20/lib/libTrie/autom4te.cache/output.1
  114442. --- squid-3.0.STABLE20.orig/lib/libTrie/autom4te.cache/output.1 1970-01-01 01:00:00.000000000 +0100
  114443. +++ squid-3.0.STABLE20/lib/libTrie/autom4te.cache/output.1 2010-02-19 00:39:35.204852506 +0100
  114444. @@ -0,0 +1,6041 @@
  114445. +@%:@! /bin/sh
  114446. +@%:@ Guess values for system-dependent variables and create Makefiles.
  114447. +@%:@ Generated by GNU Autoconf 2.65 for libTrie 0.1.
  114448. +@%:@
  114449. +@%:@ Report bugs to <rbtcollins@squid-cache.org>.
  114450. +@%:@
  114451. +@%:@
  114452. +@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  114453. +@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  114454. +@%:@ Inc.
  114455. +@%:@
  114456. +@%:@
  114457. +@%:@ This configure script is free software; the Free Software Foundation
  114458. +@%:@ gives unlimited permission to copy, distribute and modify it.
  114459. +## -------------------- ##
  114460. +## M4sh Initialization. ##
  114461. +## -------------------- ##
  114462. +
  114463. +# Be more Bourne compatible
  114464. +DUALCASE=1; export DUALCASE # for MKS sh
  114465. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  114466. + emulate sh
  114467. + NULLCMD=:
  114468. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  114469. + # is contrary to our usage. Disable this feature.
  114470. + alias -g '${1+"$@"}'='"$@"'
  114471. + setopt NO_GLOB_SUBST
  114472. +else
  114473. + case `(set -o) 2>/dev/null` in @%:@(
  114474. + *posix*) :
  114475. + set -o posix ;; @%:@(
  114476. + *) :
  114477. + ;;
  114478. +esac
  114479. +fi
  114480. +
  114481. +
  114482. +as_nl='
  114483. +'
  114484. +export as_nl
  114485. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  114486. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  114487. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  114488. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  114489. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  114490. +# but without wasting forks for bash or zsh.
  114491. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  114492. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  114493. + as_echo='print -r --'
  114494. + as_echo_n='print -rn --'
  114495. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  114496. + as_echo='printf %s\n'
  114497. + as_echo_n='printf %s'
  114498. +else
  114499. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  114500. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  114501. + as_echo_n='/usr/ucb/echo -n'
  114502. + else
  114503. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  114504. + as_echo_n_body='eval
  114505. + arg=$1;
  114506. + case $arg in @%:@(
  114507. + *"$as_nl"*)
  114508. + expr "X$arg" : "X\\(.*\\)$as_nl";
  114509. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  114510. + esac;
  114511. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  114512. + '
  114513. + export as_echo_n_body
  114514. + as_echo_n='sh -c $as_echo_n_body as_echo'
  114515. + fi
  114516. + export as_echo_body
  114517. + as_echo='sh -c $as_echo_body as_echo'
  114518. +fi
  114519. +
  114520. +# The user is always right.
  114521. +if test "${PATH_SEPARATOR+set}" != set; then
  114522. + PATH_SEPARATOR=:
  114523. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  114524. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  114525. + PATH_SEPARATOR=';'
  114526. + }
  114527. +fi
  114528. +
  114529. +
  114530. +# IFS
  114531. +# We need space, tab and new line, in precisely that order. Quoting is
  114532. +# there to prevent editors from complaining about space-tab.
  114533. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  114534. +# splitting by setting IFS to empty value.)
  114535. +IFS=" "" $as_nl"
  114536. +
  114537. +# Find who we are. Look in the path if we contain no directory separator.
  114538. +case $0 in @%:@((
  114539. + *[\\/]* ) as_myself=$0 ;;
  114540. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  114541. +for as_dir in $PATH
  114542. +do
  114543. + IFS=$as_save_IFS
  114544. + test -z "$as_dir" && as_dir=.
  114545. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  114546. + done
  114547. +IFS=$as_save_IFS
  114548. +
  114549. + ;;
  114550. +esac
  114551. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  114552. +# in which case we are not to be found in the path.
  114553. +if test "x$as_myself" = x; then
  114554. + as_myself=$0
  114555. +fi
  114556. +if test ! -f "$as_myself"; then
  114557. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  114558. + exit 1
  114559. +fi
  114560. +
  114561. +# Unset variables that we do not need and which cause bugs (e.g. in
  114562. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  114563. +# suppresses any "Segmentation fault" message there. '((' could
  114564. +# trigger a bug in pdksh 5.2.14.
  114565. +for as_var in BASH_ENV ENV MAIL MAILPATH
  114566. +do eval test x\${$as_var+set} = xset \
  114567. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  114568. +done
  114569. +PS1='$ '
  114570. +PS2='> '
  114571. +PS4='+ '
  114572. +
  114573. +# NLS nuisances.
  114574. +LC_ALL=C
  114575. +export LC_ALL
  114576. +LANGUAGE=C
  114577. +export LANGUAGE
  114578. +
  114579. +# CDPATH.
  114580. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  114581. +
  114582. +if test "x$CONFIG_SHELL" = x; then
  114583. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  114584. + emulate sh
  114585. + NULLCMD=:
  114586. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  114587. + # is contrary to our usage. Disable this feature.
  114588. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  114589. + setopt NO_GLOB_SUBST
  114590. +else
  114591. + case \`(set -o) 2>/dev/null\` in @%:@(
  114592. + *posix*) :
  114593. + set -o posix ;; @%:@(
  114594. + *) :
  114595. + ;;
  114596. +esac
  114597. +fi
  114598. +"
  114599. + as_required="as_fn_return () { (exit \$1); }
  114600. +as_fn_success () { as_fn_return 0; }
  114601. +as_fn_failure () { as_fn_return 1; }
  114602. +as_fn_ret_success () { return 0; }
  114603. +as_fn_ret_failure () { return 1; }
  114604. +
  114605. +exitcode=0
  114606. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  114607. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  114608. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  114609. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  114610. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  114611. +
  114612. +else
  114613. + exitcode=1; echo positional parameters were not saved.
  114614. +fi
  114615. +test x\$exitcode = x0 || exit 1"
  114616. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  114617. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  114618. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  114619. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  114620. +test \$(( 1 + 1 )) = 2 || exit 1"
  114621. + if (eval "$as_required") 2>/dev/null; then :
  114622. + as_have_required=yes
  114623. +else
  114624. + as_have_required=no
  114625. +fi
  114626. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  114627. +
  114628. +else
  114629. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  114630. +as_found=false
  114631. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  114632. +do
  114633. + IFS=$as_save_IFS
  114634. + test -z "$as_dir" && as_dir=.
  114635. + as_found=:
  114636. + case $as_dir in @%:@(
  114637. + /*)
  114638. + for as_base in sh bash ksh sh5; do
  114639. + # Try only shells that exist, to save several forks.
  114640. + as_shell=$as_dir/$as_base
  114641. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  114642. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  114643. + CONFIG_SHELL=$as_shell as_have_required=yes
  114644. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  114645. + break 2
  114646. +fi
  114647. +fi
  114648. + done;;
  114649. + esac
  114650. + as_found=false
  114651. +done
  114652. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  114653. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  114654. + CONFIG_SHELL=$SHELL as_have_required=yes
  114655. +fi; }
  114656. +IFS=$as_save_IFS
  114657. +
  114658. +
  114659. + if test "x$CONFIG_SHELL" != x; then :
  114660. + # We cannot yet assume a decent shell, so we have to provide a
  114661. + # neutralization value for shells without unset; and this also
  114662. + # works around shells that cannot unset nonexistent variables.
  114663. + BASH_ENV=/dev/null
  114664. + ENV=/dev/null
  114665. + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  114666. + export CONFIG_SHELL
  114667. + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  114668. +fi
  114669. +
  114670. + if test x$as_have_required = xno; then :
  114671. + $as_echo "$0: This script requires a shell more modern than all"
  114672. + $as_echo "$0: the shells that I found on your system."
  114673. + if test x${ZSH_VERSION+set} = xset ; then
  114674. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  114675. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  114676. + else
  114677. + $as_echo "$0: Please tell bug-autoconf@gnu.org and
  114678. +$0: rbtcollins@squid-cache.org about your system, including
  114679. +$0: any error possibly output before this message. Then
  114680. +$0: install a modern shell, or manually run the script
  114681. +$0: under such a shell if you do have one."
  114682. + fi
  114683. + exit 1
  114684. +fi
  114685. +fi
  114686. +fi
  114687. +SHELL=${CONFIG_SHELL-/bin/sh}
  114688. +export SHELL
  114689. +# Unset more variables known to interfere with behavior of common tools.
  114690. +CLICOLOR_FORCE= GREP_OPTIONS=
  114691. +unset CLICOLOR_FORCE GREP_OPTIONS
  114692. +
  114693. +## --------------------- ##
  114694. +## M4sh Shell Functions. ##
  114695. +## --------------------- ##
  114696. +@%:@ as_fn_unset VAR
  114697. +@%:@ ---------------
  114698. +@%:@ Portably unset VAR.
  114699. +as_fn_unset ()
  114700. +{
  114701. + { eval $1=; unset $1;}
  114702. +}
  114703. +as_unset=as_fn_unset
  114704. +
  114705. +@%:@ as_fn_set_status STATUS
  114706. +@%:@ -----------------------
  114707. +@%:@ Set @S|@? to STATUS, without forking.
  114708. +as_fn_set_status ()
  114709. +{
  114710. + return $1
  114711. +} @%:@ as_fn_set_status
  114712. +
  114713. +@%:@ as_fn_exit STATUS
  114714. +@%:@ -----------------
  114715. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  114716. +as_fn_exit ()
  114717. +{
  114718. + set +e
  114719. + as_fn_set_status $1
  114720. + exit $1
  114721. +} @%:@ as_fn_exit
  114722. +
  114723. +@%:@ as_fn_mkdir_p
  114724. +@%:@ -------------
  114725. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  114726. +as_fn_mkdir_p ()
  114727. +{
  114728. +
  114729. + case $as_dir in #(
  114730. + -*) as_dir=./$as_dir;;
  114731. + esac
  114732. + test -d "$as_dir" || eval $as_mkdir_p || {
  114733. + as_dirs=
  114734. + while :; do
  114735. + case $as_dir in #(
  114736. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  114737. + *) as_qdir=$as_dir;;
  114738. + esac
  114739. + as_dirs="'$as_qdir' $as_dirs"
  114740. + as_dir=`$as_dirname -- "$as_dir" ||
  114741. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  114742. + X"$as_dir" : 'X\(//\)[^/]' \| \
  114743. + X"$as_dir" : 'X\(//\)$' \| \
  114744. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  114745. +$as_echo X"$as_dir" |
  114746. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  114747. + s//\1/
  114748. + q
  114749. + }
  114750. + /^X\(\/\/\)[^/].*/{
  114751. + s//\1/
  114752. + q
  114753. + }
  114754. + /^X\(\/\/\)$/{
  114755. + s//\1/
  114756. + q
  114757. + }
  114758. + /^X\(\/\).*/{
  114759. + s//\1/
  114760. + q
  114761. + }
  114762. + s/.*/./; q'`
  114763. + test -d "$as_dir" && break
  114764. + done
  114765. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  114766. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  114767. +
  114768. +
  114769. +} @%:@ as_fn_mkdir_p
  114770. +@%:@ as_fn_append VAR VALUE
  114771. +@%:@ ----------------------
  114772. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  114773. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  114774. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  114775. +@%:@ implementations.
  114776. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  114777. + eval 'as_fn_append ()
  114778. + {
  114779. + eval $1+=\$2
  114780. + }'
  114781. +else
  114782. + as_fn_append ()
  114783. + {
  114784. + eval $1=\$$1\$2
  114785. + }
  114786. +fi # as_fn_append
  114787. +
  114788. +@%:@ as_fn_arith ARG...
  114789. +@%:@ ------------------
  114790. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  114791. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  114792. +@%:@ must be portable across @S|@(()) and expr.
  114793. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  114794. + eval 'as_fn_arith ()
  114795. + {
  114796. + as_val=$(( $* ))
  114797. + }'
  114798. +else
  114799. + as_fn_arith ()
  114800. + {
  114801. + as_val=`expr "$@" || test $? -eq 1`
  114802. + }
  114803. +fi # as_fn_arith
  114804. +
  114805. +
  114806. +@%:@ as_fn_error ERROR [LINENO LOG_FD]
  114807. +@%:@ ---------------------------------
  114808. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  114809. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  114810. +@%:@ script with status @S|@?, using 1 if that was 0.
  114811. +as_fn_error ()
  114812. +{
  114813. + as_status=$?; test $as_status -eq 0 && as_status=1
  114814. + if test "$3"; then
  114815. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  114816. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  114817. + fi
  114818. + $as_echo "$as_me: error: $1" >&2
  114819. + as_fn_exit $as_status
  114820. +} @%:@ as_fn_error
  114821. +
  114822. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  114823. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  114824. + as_expr=expr
  114825. +else
  114826. + as_expr=false
  114827. +fi
  114828. +
  114829. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  114830. + as_basename=basename
  114831. +else
  114832. + as_basename=false
  114833. +fi
  114834. +
  114835. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  114836. + as_dirname=dirname
  114837. +else
  114838. + as_dirname=false
  114839. +fi
  114840. +
  114841. +as_me=`$as_basename -- "$0" ||
  114842. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  114843. + X"$0" : 'X\(//\)$' \| \
  114844. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  114845. +$as_echo X/"$0" |
  114846. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  114847. + s//\1/
  114848. + q
  114849. + }
  114850. + /^X\/\(\/\/\)$/{
  114851. + s//\1/
  114852. + q
  114853. + }
  114854. + /^X\/\(\/\).*/{
  114855. + s//\1/
  114856. + q
  114857. + }
  114858. + s/.*/./; q'`
  114859. +
  114860. +# Avoid depending upon Character Ranges.
  114861. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  114862. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  114863. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  114864. +as_cr_digits='0123456789'
  114865. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  114866. +
  114867. +
  114868. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  114869. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  114870. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  114871. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  114872. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  114873. + sed -n '
  114874. + p
  114875. + /[$]LINENO/=
  114876. + ' <$as_myself |
  114877. + sed '
  114878. + s/[$]LINENO.*/&-/
  114879. + t lineno
  114880. + b
  114881. + :lineno
  114882. + N
  114883. + :loop
  114884. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  114885. + t loop
  114886. + s/-\n.*//
  114887. + ' >$as_me.lineno &&
  114888. + chmod +x "$as_me.lineno" ||
  114889. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  114890. +
  114891. + # Don't try to exec as it changes $[0], causing all sort of problems
  114892. + # (the dirname of $[0] is not the place where we might find the
  114893. + # original and so on. Autoconf is especially sensitive to this).
  114894. + . "./$as_me.lineno"
  114895. + # Exit status is that of the last command.
  114896. + exit
  114897. +}
  114898. +
  114899. +ECHO_C= ECHO_N= ECHO_T=
  114900. +case `echo -n x` in @%:@(((((
  114901. +-n*)
  114902. + case `echo 'xy\c'` in
  114903. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  114904. + xy) ECHO_C='\c';;
  114905. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  114906. + ECHO_T=' ';;
  114907. + esac;;
  114908. +*)
  114909. + ECHO_N='-n';;
  114910. +esac
  114911. +
  114912. +rm -f conf$$ conf$$.exe conf$$.file
  114913. +if test -d conf$$.dir; then
  114914. + rm -f conf$$.dir/conf$$.file
  114915. +else
  114916. + rm -f conf$$.dir
  114917. + mkdir conf$$.dir 2>/dev/null
  114918. +fi
  114919. +if (echo >conf$$.file) 2>/dev/null; then
  114920. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  114921. + as_ln_s='ln -s'
  114922. + # ... but there are two gotchas:
  114923. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  114924. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  114925. + # In both cases, we have to default to `cp -p'.
  114926. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  114927. + as_ln_s='cp -p'
  114928. + elif ln conf$$.file conf$$ 2>/dev/null; then
  114929. + as_ln_s=ln
  114930. + else
  114931. + as_ln_s='cp -p'
  114932. + fi
  114933. +else
  114934. + as_ln_s='cp -p'
  114935. +fi
  114936. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  114937. +rmdir conf$$.dir 2>/dev/null
  114938. +
  114939. +if mkdir -p . 2>/dev/null; then
  114940. + as_mkdir_p='mkdir -p "$as_dir"'
  114941. +else
  114942. + test -d ./-p && rmdir ./-p
  114943. + as_mkdir_p=false
  114944. +fi
  114945. +
  114946. +if test -x / >/dev/null 2>&1; then
  114947. + as_test_x='test -x'
  114948. +else
  114949. + if ls -dL / >/dev/null 2>&1; then
  114950. + as_ls_L_option=L
  114951. + else
  114952. + as_ls_L_option=
  114953. + fi
  114954. + as_test_x='
  114955. + eval sh -c '\''
  114956. + if test -d "$1"; then
  114957. + test -d "$1/.";
  114958. + else
  114959. + case $1 in @%:@(
  114960. + -*)set "./$1";;
  114961. + esac;
  114962. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
  114963. + ???[sx]*):;;*)false;;esac;fi
  114964. + '\'' sh
  114965. + '
  114966. +fi
  114967. +as_executable_p=$as_test_x
  114968. +
  114969. +# Sed expression to map a string onto a valid CPP name.
  114970. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  114971. +
  114972. +# Sed expression to map a string onto a valid variable name.
  114973. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  114974. +
  114975. +
  114976. +test -n "$DJDIR" || exec 7<&0 </dev/null
  114977. +exec 6>&1
  114978. +
  114979. +# Name of the host.
  114980. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  114981. +# so uname gets run too.
  114982. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  114983. +
  114984. +#
  114985. +# Initializations.
  114986. +#
  114987. +ac_default_prefix=/usr/local
  114988. +ac_clean_files=
  114989. +ac_config_libobj_dir=.
  114990. +LIB@&t@OBJS=
  114991. +cross_compiling=no
  114992. +subdirs=
  114993. +MFLAGS=
  114994. +MAKEFLAGS=
  114995. +
  114996. +# Identity of this package.
  114997. +PACKAGE_NAME='libTrie'
  114998. +PACKAGE_TARNAME='libtrie'
  114999. +PACKAGE_VERSION='0.1'
  115000. +PACKAGE_STRING='libTrie 0.1'
  115001. +PACKAGE_BUGREPORT='rbtcollins@squid-cache.org'
  115002. +PACKAGE_URL=''
  115003. +
  115004. +ac_unique_file="src/Trie.cc"
  115005. +# Factoring default headers for most tests.
  115006. +ac_includes_default="\
  115007. +#include <stdio.h>
  115008. +#ifdef HAVE_SYS_TYPES_H
  115009. +# include <sys/types.h>
  115010. +#endif
  115011. +#ifdef HAVE_SYS_STAT_H
  115012. +# include <sys/stat.h>
  115013. +#endif
  115014. +#ifdef STDC_HEADERS
  115015. +# include <stdlib.h>
  115016. +# include <stddef.h>
  115017. +#else
  115018. +# ifdef HAVE_STDLIB_H
  115019. +# include <stdlib.h>
  115020. +# endif
  115021. +#endif
  115022. +#ifdef HAVE_STRING_H
  115023. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  115024. +# include <memory.h>
  115025. +# endif
  115026. +# include <string.h>
  115027. +#endif
  115028. +#ifdef HAVE_STRINGS_H
  115029. +# include <strings.h>
  115030. +#endif
  115031. +#ifdef HAVE_INTTYPES_H
  115032. +# include <inttypes.h>
  115033. +#endif
  115034. +#ifdef HAVE_STDINT_H
  115035. +# include <stdint.h>
  115036. +#endif
  115037. +#ifdef HAVE_UNISTD_H
  115038. +# include <unistd.h>
  115039. +#endif"
  115040. +
  115041. +ac_subst_vars='am__EXEEXT_FALSE
  115042. +am__EXEEXT_TRUE
  115043. +LTLIBOBJS
  115044. +LIB@&t@OBJS
  115045. +EGREP
  115046. +GREP
  115047. +CPP
  115048. +TRIE_CXXFLAGS
  115049. +TRIE_CFLAGS
  115050. +RANLIB
  115051. +MAINT
  115052. +MAINTAINER_MODE_FALSE
  115053. +MAINTAINER_MODE_TRUE
  115054. +am__fastdepCXX_FALSE
  115055. +am__fastdepCXX_TRUE
  115056. +CXXDEPMODE
  115057. +am__fastdepCC_FALSE
  115058. +am__fastdepCC_TRUE
  115059. +CCDEPMODE
  115060. +AMDEPBACKSLASH
  115061. +AMDEP_FALSE
  115062. +AMDEP_TRUE
  115063. +am__quote
  115064. +am__include
  115065. +DEPDIR
  115066. +am__untar
  115067. +am__tar
  115068. +AMTAR
  115069. +am__leading_dot
  115070. +AWK
  115071. +mkdir_p
  115072. +MKDIR_P
  115073. +INSTALL_STRIP_PROGRAM
  115074. +STRIP
  115075. +install_sh
  115076. +MAKEINFO
  115077. +AUTOHEADER
  115078. +AUTOMAKE
  115079. +AUTOCONF
  115080. +ACLOCAL
  115081. +VERSION
  115082. +PACKAGE
  115083. +CYGPATH_W
  115084. +am__isrc
  115085. +INSTALL_DATA
  115086. +INSTALL_SCRIPT
  115087. +INSTALL_PROGRAM
  115088. +SET_MAKE
  115089. +ac_ct_CC
  115090. +CFLAGS
  115091. +CC
  115092. +OBJEXT
  115093. +EXEEXT
  115094. +ac_ct_CXX
  115095. +CPPFLAGS
  115096. +LDFLAGS
  115097. +CXXFLAGS
  115098. +CXX
  115099. +target_alias
  115100. +host_alias
  115101. +build_alias
  115102. +LIBS
  115103. +ECHO_T
  115104. +ECHO_N
  115105. +ECHO_C
  115106. +DEFS
  115107. +mandir
  115108. +localedir
  115109. +libdir
  115110. +psdir
  115111. +pdfdir
  115112. +dvidir
  115113. +htmldir
  115114. +infodir
  115115. +docdir
  115116. +oldincludedir
  115117. +includedir
  115118. +localstatedir
  115119. +sharedstatedir
  115120. +sysconfdir
  115121. +datadir
  115122. +datarootdir
  115123. +libexecdir
  115124. +sbindir
  115125. +bindir
  115126. +program_transform_name
  115127. +prefix
  115128. +exec_prefix
  115129. +PACKAGE_URL
  115130. +PACKAGE_BUGREPORT
  115131. +PACKAGE_STRING
  115132. +PACKAGE_VERSION
  115133. +PACKAGE_TARNAME
  115134. +PACKAGE_NAME
  115135. +PATH_SEPARATOR
  115136. +SHELL'
  115137. +ac_subst_files=''
  115138. +ac_user_opts='
  115139. +enable_option_checking
  115140. +enable_optimizations
  115141. +enable_inline
  115142. +enable_dependency_tracking
  115143. +enable_maintainer_mode
  115144. +'
  115145. + ac_precious_vars='build_alias
  115146. +host_alias
  115147. +target_alias
  115148. +CXX
  115149. +CXXFLAGS
  115150. +LDFLAGS
  115151. +LIBS
  115152. +CPPFLAGS
  115153. +CCC
  115154. +CC
  115155. +CFLAGS
  115156. +CPP'
  115157. +
  115158. +
  115159. +# Initialize some variables set by options.
  115160. +ac_init_help=
  115161. +ac_init_version=false
  115162. +ac_unrecognized_opts=
  115163. +ac_unrecognized_sep=
  115164. +# The variables have the same names as the options, with
  115165. +# dashes changed to underlines.
  115166. +cache_file=/dev/null
  115167. +exec_prefix=NONE
  115168. +no_create=
  115169. +no_recursion=
  115170. +prefix=NONE
  115171. +program_prefix=NONE
  115172. +program_suffix=NONE
  115173. +program_transform_name=s,x,x,
  115174. +silent=
  115175. +site=
  115176. +srcdir=
  115177. +verbose=
  115178. +x_includes=NONE
  115179. +x_libraries=NONE
  115180. +
  115181. +# Installation directory options.
  115182. +# These are left unexpanded so users can "make install exec_prefix=/foo"
  115183. +# and all the variables that are supposed to be based on exec_prefix
  115184. +# by default will actually change.
  115185. +# Use braces instead of parens because sh, perl, etc. also accept them.
  115186. +# (The list follows the same order as the GNU Coding Standards.)
  115187. +bindir='${exec_prefix}/bin'
  115188. +sbindir='${exec_prefix}/sbin'
  115189. +libexecdir='${exec_prefix}/libexec'
  115190. +datarootdir='${prefix}/share'
  115191. +datadir='${datarootdir}'
  115192. +sysconfdir='${prefix}/etc'
  115193. +sharedstatedir='${prefix}/com'
  115194. +localstatedir='${prefix}/var'
  115195. +includedir='${prefix}/include'
  115196. +oldincludedir='/usr/include'
  115197. +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  115198. +infodir='${datarootdir}/info'
  115199. +htmldir='${docdir}'
  115200. +dvidir='${docdir}'
  115201. +pdfdir='${docdir}'
  115202. +psdir='${docdir}'
  115203. +libdir='${exec_prefix}/lib'
  115204. +localedir='${datarootdir}/locale'
  115205. +mandir='${datarootdir}/man'
  115206. +
  115207. +ac_prev=
  115208. +ac_dashdash=
  115209. +for ac_option
  115210. +do
  115211. + # If the previous option needs an argument, assign it.
  115212. + if test -n "$ac_prev"; then
  115213. + eval $ac_prev=\$ac_option
  115214. + ac_prev=
  115215. + continue
  115216. + fi
  115217. +
  115218. + case $ac_option in
  115219. + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  115220. + *) ac_optarg=yes ;;
  115221. + esac
  115222. +
  115223. + # Accept the important Cygnus configure options, so we can diagnose typos.
  115224. +
  115225. + case $ac_dashdash$ac_option in
  115226. + --)
  115227. + ac_dashdash=yes ;;
  115228. +
  115229. + -bindir | --bindir | --bindi | --bind | --bin | --bi)
  115230. + ac_prev=bindir ;;
  115231. + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  115232. + bindir=$ac_optarg ;;
  115233. +
  115234. + -build | --build | --buil | --bui | --bu)
  115235. + ac_prev=build_alias ;;
  115236. + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  115237. + build_alias=$ac_optarg ;;
  115238. +
  115239. + -cache-file | --cache-file | --cache-fil | --cache-fi \
  115240. + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  115241. + ac_prev=cache_file ;;
  115242. + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  115243. + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  115244. + cache_file=$ac_optarg ;;
  115245. +
  115246. + --config-cache | -C)
  115247. + cache_file=config.cache ;;
  115248. +
  115249. + -datadir | --datadir | --datadi | --datad)
  115250. + ac_prev=datadir ;;
  115251. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  115252. + datadir=$ac_optarg ;;
  115253. +
  115254. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  115255. + | --dataroo | --dataro | --datar)
  115256. + ac_prev=datarootdir ;;
  115257. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  115258. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  115259. + datarootdir=$ac_optarg ;;
  115260. +
  115261. + -disable-* | --disable-*)
  115262. + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  115263. + # Reject names that are not valid shell variable names.
  115264. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  115265. + as_fn_error "invalid feature name: $ac_useropt"
  115266. + ac_useropt_orig=$ac_useropt
  115267. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  115268. + case $ac_user_opts in
  115269. + *"
  115270. +"enable_$ac_useropt"
  115271. +"*) ;;
  115272. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  115273. + ac_unrecognized_sep=', ';;
  115274. + esac
  115275. + eval enable_$ac_useropt=no ;;
  115276. +
  115277. + -docdir | --docdir | --docdi | --doc | --do)
  115278. + ac_prev=docdir ;;
  115279. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  115280. + docdir=$ac_optarg ;;
  115281. +
  115282. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  115283. + ac_prev=dvidir ;;
  115284. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  115285. + dvidir=$ac_optarg ;;
  115286. +
  115287. + -enable-* | --enable-*)
  115288. + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  115289. + # Reject names that are not valid shell variable names.
  115290. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  115291. + as_fn_error "invalid feature name: $ac_useropt"
  115292. + ac_useropt_orig=$ac_useropt
  115293. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  115294. + case $ac_user_opts in
  115295. + *"
  115296. +"enable_$ac_useropt"
  115297. +"*) ;;
  115298. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  115299. + ac_unrecognized_sep=', ';;
  115300. + esac
  115301. + eval enable_$ac_useropt=\$ac_optarg ;;
  115302. +
  115303. + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  115304. + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  115305. + | --exec | --exe | --ex)
  115306. + ac_prev=exec_prefix ;;
  115307. + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  115308. + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  115309. + | --exec=* | --exe=* | --ex=*)
  115310. + exec_prefix=$ac_optarg ;;
  115311. +
  115312. + -gas | --gas | --ga | --g)
  115313. + # Obsolete; use --with-gas.
  115314. + with_gas=yes ;;
  115315. +
  115316. + -help | --help | --hel | --he | -h)
  115317. + ac_init_help=long ;;
  115318. + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  115319. + ac_init_help=recursive ;;
  115320. + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  115321. + ac_init_help=short ;;
  115322. +
  115323. + -host | --host | --hos | --ho)
  115324. + ac_prev=host_alias ;;
  115325. + -host=* | --host=* | --hos=* | --ho=*)
  115326. + host_alias=$ac_optarg ;;
  115327. +
  115328. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  115329. + ac_prev=htmldir ;;
  115330. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  115331. + | --ht=*)
  115332. + htmldir=$ac_optarg ;;
  115333. +
  115334. + -includedir | --includedir | --includedi | --included | --include \
  115335. + | --includ | --inclu | --incl | --inc)
  115336. + ac_prev=includedir ;;
  115337. + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  115338. + | --includ=* | --inclu=* | --incl=* | --inc=*)
  115339. + includedir=$ac_optarg ;;
  115340. +
  115341. + -infodir | --infodir | --infodi | --infod | --info | --inf)
  115342. + ac_prev=infodir ;;
  115343. + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  115344. + infodir=$ac_optarg ;;
  115345. +
  115346. + -libdir | --libdir | --libdi | --libd)
  115347. + ac_prev=libdir ;;
  115348. + -libdir=* | --libdir=* | --libdi=* | --libd=*)
  115349. + libdir=$ac_optarg ;;
  115350. +
  115351. + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  115352. + | --libexe | --libex | --libe)
  115353. + ac_prev=libexecdir ;;
  115354. + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  115355. + | --libexe=* | --libex=* | --libe=*)
  115356. + libexecdir=$ac_optarg ;;
  115357. +
  115358. + -localedir | --localedir | --localedi | --localed | --locale)
  115359. + ac_prev=localedir ;;
  115360. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  115361. + localedir=$ac_optarg ;;
  115362. +
  115363. + -localstatedir | --localstatedir | --localstatedi | --localstated \
  115364. + | --localstate | --localstat | --localsta | --localst | --locals)
  115365. + ac_prev=localstatedir ;;
  115366. + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  115367. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  115368. + localstatedir=$ac_optarg ;;
  115369. +
  115370. + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  115371. + ac_prev=mandir ;;
  115372. + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  115373. + mandir=$ac_optarg ;;
  115374. +
  115375. + -nfp | --nfp | --nf)
  115376. + # Obsolete; use --without-fp.
  115377. + with_fp=no ;;
  115378. +
  115379. + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  115380. + | --no-cr | --no-c | -n)
  115381. + no_create=yes ;;
  115382. +
  115383. + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  115384. + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  115385. + no_recursion=yes ;;
  115386. +
  115387. + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  115388. + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  115389. + | --oldin | --oldi | --old | --ol | --o)
  115390. + ac_prev=oldincludedir ;;
  115391. + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  115392. + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  115393. + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  115394. + oldincludedir=$ac_optarg ;;
  115395. +
  115396. + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  115397. + ac_prev=prefix ;;
  115398. + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  115399. + prefix=$ac_optarg ;;
  115400. +
  115401. + -program-prefix | --program-prefix | --program-prefi | --program-pref \
  115402. + | --program-pre | --program-pr | --program-p)
  115403. + ac_prev=program_prefix ;;
  115404. + -program-prefix=* | --program-prefix=* | --program-prefi=* \
  115405. + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  115406. + program_prefix=$ac_optarg ;;
  115407. +
  115408. + -program-suffix | --program-suffix | --program-suffi | --program-suff \
  115409. + | --program-suf | --program-su | --program-s)
  115410. + ac_prev=program_suffix ;;
  115411. + -program-suffix=* | --program-suffix=* | --program-suffi=* \
  115412. + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  115413. + program_suffix=$ac_optarg ;;
  115414. +
  115415. + -program-transform-name | --program-transform-name \
  115416. + | --program-transform-nam | --program-transform-na \
  115417. + | --program-transform-n | --program-transform- \
  115418. + | --program-transform | --program-transfor \
  115419. + | --program-transfo | --program-transf \
  115420. + | --program-trans | --program-tran \
  115421. + | --progr-tra | --program-tr | --program-t)
  115422. + ac_prev=program_transform_name ;;
  115423. + -program-transform-name=* | --program-transform-name=* \
  115424. + | --program-transform-nam=* | --program-transform-na=* \
  115425. + | --program-transform-n=* | --program-transform-=* \
  115426. + | --program-transform=* | --program-transfor=* \
  115427. + | --program-transfo=* | --program-transf=* \
  115428. + | --program-trans=* | --program-tran=* \
  115429. + | --progr-tra=* | --program-tr=* | --program-t=*)
  115430. + program_transform_name=$ac_optarg ;;
  115431. +
  115432. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  115433. + ac_prev=pdfdir ;;
  115434. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  115435. + pdfdir=$ac_optarg ;;
  115436. +
  115437. + -psdir | --psdir | --psdi | --psd | --ps)
  115438. + ac_prev=psdir ;;
  115439. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  115440. + psdir=$ac_optarg ;;
  115441. +
  115442. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  115443. + | -silent | --silent | --silen | --sile | --sil)
  115444. + silent=yes ;;
  115445. +
  115446. + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  115447. + ac_prev=sbindir ;;
  115448. + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  115449. + | --sbi=* | --sb=*)
  115450. + sbindir=$ac_optarg ;;
  115451. +
  115452. + -sharedstatedir | --sharedstatedir | --sharedstatedi \
  115453. + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  115454. + | --sharedst | --shareds | --shared | --share | --shar \
  115455. + | --sha | --sh)
  115456. + ac_prev=sharedstatedir ;;
  115457. + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  115458. + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  115459. + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  115460. + | --sha=* | --sh=*)
  115461. + sharedstatedir=$ac_optarg ;;
  115462. +
  115463. + -site | --site | --sit)
  115464. + ac_prev=site ;;
  115465. + -site=* | --site=* | --sit=*)
  115466. + site=$ac_optarg ;;
  115467. +
  115468. + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  115469. + ac_prev=srcdir ;;
  115470. + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  115471. + srcdir=$ac_optarg ;;
  115472. +
  115473. + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  115474. + | --syscon | --sysco | --sysc | --sys | --sy)
  115475. + ac_prev=sysconfdir ;;
  115476. + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  115477. + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  115478. + sysconfdir=$ac_optarg ;;
  115479. +
  115480. + -target | --target | --targe | --targ | --tar | --ta | --t)
  115481. + ac_prev=target_alias ;;
  115482. + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  115483. + target_alias=$ac_optarg ;;
  115484. +
  115485. + -v | -verbose | --verbose | --verbos | --verbo | --verb)
  115486. + verbose=yes ;;
  115487. +
  115488. + -version | --version | --versio | --versi | --vers | -V)
  115489. + ac_init_version=: ;;
  115490. +
  115491. + -with-* | --with-*)
  115492. + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  115493. + # Reject names that are not valid shell variable names.
  115494. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  115495. + as_fn_error "invalid package name: $ac_useropt"
  115496. + ac_useropt_orig=$ac_useropt
  115497. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  115498. + case $ac_user_opts in
  115499. + *"
  115500. +"with_$ac_useropt"
  115501. +"*) ;;
  115502. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  115503. + ac_unrecognized_sep=', ';;
  115504. + esac
  115505. + eval with_$ac_useropt=\$ac_optarg ;;
  115506. +
  115507. + -without-* | --without-*)
  115508. + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  115509. + # Reject names that are not valid shell variable names.
  115510. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  115511. + as_fn_error "invalid package name: $ac_useropt"
  115512. + ac_useropt_orig=$ac_useropt
  115513. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  115514. + case $ac_user_opts in
  115515. + *"
  115516. +"with_$ac_useropt"
  115517. +"*) ;;
  115518. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  115519. + ac_unrecognized_sep=', ';;
  115520. + esac
  115521. + eval with_$ac_useropt=no ;;
  115522. +
  115523. + --x)
  115524. + # Obsolete; use --with-x.
  115525. + with_x=yes ;;
  115526. +
  115527. + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  115528. + | --x-incl | --x-inc | --x-in | --x-i)
  115529. + ac_prev=x_includes ;;
  115530. + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  115531. + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  115532. + x_includes=$ac_optarg ;;
  115533. +
  115534. + -x-libraries | --x-libraries | --x-librarie | --x-librari \
  115535. + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  115536. + ac_prev=x_libraries ;;
  115537. + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  115538. + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  115539. + x_libraries=$ac_optarg ;;
  115540. +
  115541. + -*) as_fn_error "unrecognized option: \`$ac_option'
  115542. +Try \`$0 --help' for more information."
  115543. + ;;
  115544. +
  115545. + *=*)
  115546. + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  115547. + # Reject names that are not valid shell variable names.
  115548. + case $ac_envvar in #(
  115549. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  115550. + as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  115551. + esac
  115552. + eval $ac_envvar=\$ac_optarg
  115553. + export $ac_envvar ;;
  115554. +
  115555. + *)
  115556. + # FIXME: should be removed in autoconf 3.0.
  115557. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  115558. + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  115559. + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  115560. + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  115561. + ;;
  115562. +
  115563. + esac
  115564. +done
  115565. +
  115566. +if test -n "$ac_prev"; then
  115567. + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  115568. + as_fn_error "missing argument to $ac_option"
  115569. +fi
  115570. +
  115571. +if test -n "$ac_unrecognized_opts"; then
  115572. + case $enable_option_checking in
  115573. + no) ;;
  115574. + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  115575. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  115576. + esac
  115577. +fi
  115578. +
  115579. +# Check all directory arguments for consistency.
  115580. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  115581. + datadir sysconfdir sharedstatedir localstatedir includedir \
  115582. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  115583. + libdir localedir mandir
  115584. +do
  115585. + eval ac_val=\$$ac_var
  115586. + # Remove trailing slashes.
  115587. + case $ac_val in
  115588. + */ )
  115589. + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  115590. + eval $ac_var=\$ac_val;;
  115591. + esac
  115592. + # Be sure to have absolute directory names.
  115593. + case $ac_val in
  115594. + [\\/$]* | ?:[\\/]* ) continue;;
  115595. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  115596. + esac
  115597. + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  115598. +done
  115599. +
  115600. +# There might be people who depend on the old broken behavior: `$host'
  115601. +# used to hold the argument of --host etc.
  115602. +# FIXME: To remove some day.
  115603. +build=$build_alias
  115604. +host=$host_alias
  115605. +target=$target_alias
  115606. +
  115607. +# FIXME: To remove some day.
  115608. +if test "x$host_alias" != x; then
  115609. + if test "x$build_alias" = x; then
  115610. + cross_compiling=maybe
  115611. + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  115612. + If a cross compiler is detected then cross compile mode will be used." >&2
  115613. + elif test "x$build_alias" != "x$host_alias"; then
  115614. + cross_compiling=yes
  115615. + fi
  115616. +fi
  115617. +
  115618. +ac_tool_prefix=
  115619. +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  115620. +
  115621. +test "$silent" = yes && exec 6>/dev/null
  115622. +
  115623. +
  115624. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  115625. +ac_ls_di=`ls -di .` &&
  115626. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  115627. + as_fn_error "working directory cannot be determined"
  115628. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  115629. + as_fn_error "pwd does not report name of working directory"
  115630. +
  115631. +
  115632. +# Find the source files, if location was not specified.
  115633. +if test -z "$srcdir"; then
  115634. + ac_srcdir_defaulted=yes
  115635. + # Try the directory containing this script, then the parent directory.
  115636. + ac_confdir=`$as_dirname -- "$as_myself" ||
  115637. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  115638. + X"$as_myself" : 'X\(//\)[^/]' \| \
  115639. + X"$as_myself" : 'X\(//\)$' \| \
  115640. + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  115641. +$as_echo X"$as_myself" |
  115642. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  115643. + s//\1/
  115644. + q
  115645. + }
  115646. + /^X\(\/\/\)[^/].*/{
  115647. + s//\1/
  115648. + q
  115649. + }
  115650. + /^X\(\/\/\)$/{
  115651. + s//\1/
  115652. + q
  115653. + }
  115654. + /^X\(\/\).*/{
  115655. + s//\1/
  115656. + q
  115657. + }
  115658. + s/.*/./; q'`
  115659. + srcdir=$ac_confdir
  115660. + if test ! -r "$srcdir/$ac_unique_file"; then
  115661. + srcdir=..
  115662. + fi
  115663. +else
  115664. + ac_srcdir_defaulted=no
  115665. +fi
  115666. +if test ! -r "$srcdir/$ac_unique_file"; then
  115667. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  115668. + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  115669. +fi
  115670. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  115671. +ac_abs_confdir=`(
  115672. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  115673. + pwd)`
  115674. +# When building in place, set srcdir=.
  115675. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  115676. + srcdir=.
  115677. +fi
  115678. +# Remove unnecessary trailing slashes from srcdir.
  115679. +# Double slashes in file names in object file debugging info
  115680. +# mess up M-x gdb in Emacs.
  115681. +case $srcdir in
  115682. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  115683. +esac
  115684. +for ac_var in $ac_precious_vars; do
  115685. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  115686. + eval ac_env_${ac_var}_value=\$${ac_var}
  115687. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  115688. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  115689. +done
  115690. +
  115691. +#
  115692. +# Report the --help message.
  115693. +#
  115694. +if test "$ac_init_help" = "long"; then
  115695. + # Omit some internal or obsolete options to make the list less imposing.
  115696. + # This message is too long to be a string in the A/UX 3.1 sh.
  115697. + cat <<_ACEOF
  115698. +\`configure' configures libTrie 0.1 to adapt to many kinds of systems.
  115699. +
  115700. +Usage: $0 [OPTION]... [VAR=VALUE]...
  115701. +
  115702. +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  115703. +VAR=VALUE. See below for descriptions of some of the useful variables.
  115704. +
  115705. +Defaults for the options are specified in brackets.
  115706. +
  115707. +Configuration:
  115708. + -h, --help display this help and exit
  115709. + --help=short display options specific to this package
  115710. + --help=recursive display the short help of all the included packages
  115711. + -V, --version display version information and exit
  115712. + -q, --quiet, --silent do not print \`checking...' messages
  115713. + --cache-file=FILE cache test results in FILE [disabled]
  115714. + -C, --config-cache alias for \`--cache-file=config.cache'
  115715. + -n, --no-create do not create output files
  115716. + --srcdir=DIR find the sources in DIR [configure dir or \`..']
  115717. +
  115718. +Installation directories:
  115719. + --prefix=PREFIX install architecture-independent files in PREFIX
  115720. + @<:@@S|@ac_default_prefix@:>@
  115721. + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  115722. + @<:@PREFIX@:>@
  115723. +
  115724. +By default, \`make install' will install all the files in
  115725. +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  115726. +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  115727. +for instance \`--prefix=\$HOME'.
  115728. +
  115729. +For better control, use the options below.
  115730. +
  115731. +Fine tuning of the installation directories:
  115732. + --bindir=DIR user executables [EPREFIX/bin]
  115733. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  115734. + --libexecdir=DIR program executables [EPREFIX/libexec]
  115735. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  115736. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  115737. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  115738. + --libdir=DIR object code libraries [EPREFIX/lib]
  115739. + --includedir=DIR C header files [PREFIX/include]
  115740. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  115741. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  115742. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  115743. + --infodir=DIR info documentation [DATAROOTDIR/info]
  115744. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  115745. + --mandir=DIR man documentation [DATAROOTDIR/man]
  115746. + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/libtrie@:>@
  115747. + --htmldir=DIR html documentation [DOCDIR]
  115748. + --dvidir=DIR dvi documentation [DOCDIR]
  115749. + --pdfdir=DIR pdf documentation [DOCDIR]
  115750. + --psdir=DIR ps documentation [DOCDIR]
  115751. +_ACEOF
  115752. +
  115753. + cat <<\_ACEOF
  115754. +
  115755. +Program names:
  115756. + --program-prefix=PREFIX prepend PREFIX to installed program names
  115757. + --program-suffix=SUFFIX append SUFFIX to installed program names
  115758. + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  115759. +_ACEOF
  115760. +fi
  115761. +
  115762. +if test -n "$ac_init_help"; then
  115763. + case $ac_init_help in
  115764. + short | recursive ) echo "Configuration of libTrie 0.1:";;
  115765. + esac
  115766. + cat <<\_ACEOF
  115767. +
  115768. +Optional Features:
  115769. + --disable-option-checking ignore unrecognized --enable/--with options
  115770. + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  115771. + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  115772. + --disable-optimizations Don't compile Squid with compiler optimizations
  115773. + enabled. Optimization is good for production builds,
  115774. + but not good for debugging. During development, use
  115775. + --disable-optimizations to reduce compilation times
  115776. + and allow easier debugging. This option implicitly
  115777. + also enabled --disable-inline
  115778. + --disable-inline Don't compile trivial methods as inline. Squid is
  115779. + coded with much of the code able to be inlined.
  115780. + Inlining is good for production builds, but not good
  115781. + for development. During development, use
  115782. + --disable-inline to reduce compilation times and
  115783. + allow incremental builds to be quick. For production
  115784. + builds, or load tests, use --enable-inline to have
  115785. + squid make all trivial methods inlinable by the
  115786. + compiler.
  115787. + --disable-dependency-tracking speeds up one-time build
  115788. + --enable-dependency-tracking do not reject slow dependency extractors
  115789. + --enable-maintainer-mode enable make rules and dependencies not useful
  115790. + (and sometimes confusing) to the casual installer
  115791. +
  115792. +Some influential environment variables:
  115793. + CXX C++ compiler command
  115794. + CXXFLAGS C++ compiler flags
  115795. + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  115796. + nonstandard directory <lib dir>
  115797. + LIBS libraries to pass to the linker, e.g. -l<library>
  115798. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  115799. + you have headers in a nonstandard directory <include dir>
  115800. + CC C compiler command
  115801. + CFLAGS C compiler flags
  115802. + CPP C preprocessor
  115803. +
  115804. +Use these variables to override the choices made by `configure' or to help
  115805. +it to find libraries and programs with nonstandard names/locations.
  115806. +
  115807. +Report bugs to <rbtcollins@squid-cache.org>.
  115808. +_ACEOF
  115809. +ac_status=$?
  115810. +fi
  115811. +
  115812. +if test "$ac_init_help" = "recursive"; then
  115813. + # If there are subdirs, report their specific --help.
  115814. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  115815. + test -d "$ac_dir" ||
  115816. + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  115817. + continue
  115818. + ac_builddir=.
  115819. +
  115820. +case "$ac_dir" in
  115821. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  115822. +*)
  115823. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  115824. + # A ".." for each directory in $ac_dir_suffix.
  115825. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  115826. + case $ac_top_builddir_sub in
  115827. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  115828. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  115829. + esac ;;
  115830. +esac
  115831. +ac_abs_top_builddir=$ac_pwd
  115832. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  115833. +# for backward compatibility:
  115834. +ac_top_builddir=$ac_top_build_prefix
  115835. +
  115836. +case $srcdir in
  115837. + .) # We are building in place.
  115838. + ac_srcdir=.
  115839. + ac_top_srcdir=$ac_top_builddir_sub
  115840. + ac_abs_top_srcdir=$ac_pwd ;;
  115841. + [\\/]* | ?:[\\/]* ) # Absolute name.
  115842. + ac_srcdir=$srcdir$ac_dir_suffix;
  115843. + ac_top_srcdir=$srcdir
  115844. + ac_abs_top_srcdir=$srcdir ;;
  115845. + *) # Relative name.
  115846. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  115847. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  115848. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  115849. +esac
  115850. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  115851. +
  115852. + cd "$ac_dir" || { ac_status=$?; continue; }
  115853. + # Check for guested configure.
  115854. + if test -f "$ac_srcdir/configure.gnu"; then
  115855. + echo &&
  115856. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  115857. + elif test -f "$ac_srcdir/configure"; then
  115858. + echo &&
  115859. + $SHELL "$ac_srcdir/configure" --help=recursive
  115860. + else
  115861. + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  115862. + fi || ac_status=$?
  115863. + cd "$ac_pwd" || { ac_status=$?; break; }
  115864. + done
  115865. +fi
  115866. +
  115867. +test -n "$ac_init_help" && exit $ac_status
  115868. +if $ac_init_version; then
  115869. + cat <<\_ACEOF
  115870. +libTrie configure 0.1
  115871. +generated by GNU Autoconf 2.65
  115872. +
  115873. +Copyright (C) 2009 Free Software Foundation, Inc.
  115874. +This configure script is free software; the Free Software Foundation
  115875. +gives unlimited permission to copy, distribute and modify it.
  115876. +_ACEOF
  115877. + exit
  115878. +fi
  115879. +
  115880. +## ------------------------ ##
  115881. +## Autoconf initialization. ##
  115882. +## ------------------------ ##
  115883. +
  115884. +@%:@ ac_fn_cxx_try_compile LINENO
  115885. +@%:@ ----------------------------
  115886. +@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
  115887. +ac_fn_cxx_try_compile ()
  115888. +{
  115889. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  115890. + rm -f conftest.$ac_objext
  115891. + if { { ac_try="$ac_compile"
  115892. +case "(($ac_try" in
  115893. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  115894. + *) ac_try_echo=$ac_try;;
  115895. +esac
  115896. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  115897. +$as_echo "$ac_try_echo"; } >&5
  115898. + (eval "$ac_compile") 2>conftest.err
  115899. + ac_status=$?
  115900. + if test -s conftest.err; then
  115901. + grep -v '^ *+' conftest.err >conftest.er1
  115902. + cat conftest.er1 >&5
  115903. + mv -f conftest.er1 conftest.err
  115904. + fi
  115905. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  115906. + test $ac_status = 0; } && {
  115907. + test -z "$ac_cxx_werror_flag" ||
  115908. + test ! -s conftest.err
  115909. + } && test -s conftest.$ac_objext; then :
  115910. + ac_retval=0
  115911. +else
  115912. + $as_echo "$as_me: failed program was:" >&5
  115913. +sed 's/^/| /' conftest.$ac_ext >&5
  115914. +
  115915. + ac_retval=1
  115916. +fi
  115917. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  115918. + as_fn_set_status $ac_retval
  115919. +
  115920. +} @%:@ ac_fn_cxx_try_compile
  115921. +
  115922. +@%:@ ac_fn_c_try_compile LINENO
  115923. +@%:@ --------------------------
  115924. +@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
  115925. +ac_fn_c_try_compile ()
  115926. +{
  115927. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  115928. + rm -f conftest.$ac_objext
  115929. + if { { ac_try="$ac_compile"
  115930. +case "(($ac_try" in
  115931. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  115932. + *) ac_try_echo=$ac_try;;
  115933. +esac
  115934. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  115935. +$as_echo "$ac_try_echo"; } >&5
  115936. + (eval "$ac_compile") 2>conftest.err
  115937. + ac_status=$?
  115938. + if test -s conftest.err; then
  115939. + grep -v '^ *+' conftest.err >conftest.er1
  115940. + cat conftest.er1 >&5
  115941. + mv -f conftest.er1 conftest.err
  115942. + fi
  115943. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  115944. + test $ac_status = 0; } && {
  115945. + test -z "$ac_c_werror_flag" ||
  115946. + test ! -s conftest.err
  115947. + } && test -s conftest.$ac_objext; then :
  115948. + ac_retval=0
  115949. +else
  115950. + $as_echo "$as_me: failed program was:" >&5
  115951. +sed 's/^/| /' conftest.$ac_ext >&5
  115952. +
  115953. + ac_retval=1
  115954. +fi
  115955. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  115956. + as_fn_set_status $ac_retval
  115957. +
  115958. +} @%:@ ac_fn_c_try_compile
  115959. +
  115960. +@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  115961. +@%:@ -------------------------------------------
  115962. +@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
  115963. +@%:@ variable VAR accordingly.
  115964. +ac_fn_c_check_type ()
  115965. +{
  115966. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  115967. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  115968. +$as_echo_n "checking for $2... " >&6; }
  115969. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  115970. + $as_echo_n "(cached) " >&6
  115971. +else
  115972. + eval "$3=no"
  115973. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  115974. +/* end confdefs.h. */
  115975. +$4
  115976. +int
  115977. +main ()
  115978. +{
  115979. +if (sizeof ($2))
  115980. + return 0;
  115981. + ;
  115982. + return 0;
  115983. +}
  115984. +_ACEOF
  115985. +if ac_fn_c_try_compile "$LINENO"; then :
  115986. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  115987. +/* end confdefs.h. */
  115988. +$4
  115989. +int
  115990. +main ()
  115991. +{
  115992. +if (sizeof (($2)))
  115993. + return 0;
  115994. + ;
  115995. + return 0;
  115996. +}
  115997. +_ACEOF
  115998. +if ac_fn_c_try_compile "$LINENO"; then :
  115999. +
  116000. +else
  116001. + eval "$3=yes"
  116002. +fi
  116003. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  116004. +fi
  116005. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  116006. +fi
  116007. +eval ac_res=\$$3
  116008. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  116009. +$as_echo "$ac_res" >&6; }
  116010. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  116011. +
  116012. +} @%:@ ac_fn_c_check_type
  116013. +
  116014. +@%:@ ac_fn_c_try_cpp LINENO
  116015. +@%:@ ----------------------
  116016. +@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
  116017. +ac_fn_c_try_cpp ()
  116018. +{
  116019. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  116020. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  116021. +case "(($ac_try" in
  116022. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  116023. + *) ac_try_echo=$ac_try;;
  116024. +esac
  116025. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  116026. +$as_echo "$ac_try_echo"; } >&5
  116027. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  116028. + ac_status=$?
  116029. + if test -s conftest.err; then
  116030. + grep -v '^ *+' conftest.err >conftest.er1
  116031. + cat conftest.er1 >&5
  116032. + mv -f conftest.er1 conftest.err
  116033. + fi
  116034. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  116035. + test $ac_status = 0; } >/dev/null && {
  116036. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  116037. + test ! -s conftest.err
  116038. + }; then :
  116039. + ac_retval=0
  116040. +else
  116041. + $as_echo "$as_me: failed program was:" >&5
  116042. +sed 's/^/| /' conftest.$ac_ext >&5
  116043. +
  116044. + ac_retval=1
  116045. +fi
  116046. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  116047. + as_fn_set_status $ac_retval
  116048. +
  116049. +} @%:@ ac_fn_c_try_cpp
  116050. +
  116051. +@%:@ ac_fn_c_try_run LINENO
  116052. +@%:@ ----------------------
  116053. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
  116054. +@%:@ that executables *can* be run.
  116055. +ac_fn_c_try_run ()
  116056. +{
  116057. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  116058. + if { { ac_try="$ac_link"
  116059. +case "(($ac_try" in
  116060. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  116061. + *) ac_try_echo=$ac_try;;
  116062. +esac
  116063. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  116064. +$as_echo "$ac_try_echo"; } >&5
  116065. + (eval "$ac_link") 2>&5
  116066. + ac_status=$?
  116067. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  116068. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  116069. + { { case "(($ac_try" in
  116070. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  116071. + *) ac_try_echo=$ac_try;;
  116072. +esac
  116073. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  116074. +$as_echo "$ac_try_echo"; } >&5
  116075. + (eval "$ac_try") 2>&5
  116076. + ac_status=$?
  116077. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  116078. + test $ac_status = 0; }; }; then :
  116079. + ac_retval=0
  116080. +else
  116081. + $as_echo "$as_me: program exited with status $ac_status" >&5
  116082. + $as_echo "$as_me: failed program was:" >&5
  116083. +sed 's/^/| /' conftest.$ac_ext >&5
  116084. +
  116085. + ac_retval=$ac_status
  116086. +fi
  116087. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  116088. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  116089. + as_fn_set_status $ac_retval
  116090. +
  116091. +} @%:@ ac_fn_c_try_run
  116092. +
  116093. +@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  116094. +@%:@ -------------------------------------------------------
  116095. +@%:@ Tests whether HEADER exists and can be compiled using the include files in
  116096. +@%:@ INCLUDES, setting the cache variable VAR accordingly.
  116097. +ac_fn_c_check_header_compile ()
  116098. +{
  116099. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  116100. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  116101. +$as_echo_n "checking for $2... " >&6; }
  116102. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  116103. + $as_echo_n "(cached) " >&6
  116104. +else
  116105. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  116106. +/* end confdefs.h. */
  116107. +$4
  116108. +@%:@include <$2>
  116109. +_ACEOF
  116110. +if ac_fn_c_try_compile "$LINENO"; then :
  116111. + eval "$3=yes"
  116112. +else
  116113. + eval "$3=no"
  116114. +fi
  116115. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  116116. +fi
  116117. +eval ac_res=\$$3
  116118. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  116119. +$as_echo "$ac_res" >&6; }
  116120. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  116121. +
  116122. +} @%:@ ac_fn_c_check_header_compile
  116123. +cat >config.log <<_ACEOF
  116124. +This file contains any messages produced by compilers while
  116125. +running configure, to aid debugging if configure makes a mistake.
  116126. +
  116127. +It was created by libTrie $as_me 0.1, which was
  116128. +generated by GNU Autoconf 2.65. Invocation command line was
  116129. +
  116130. + $ $0 $@
  116131. +
  116132. +_ACEOF
  116133. +exec 5>>config.log
  116134. +{
  116135. +cat <<_ASUNAME
  116136. +## --------- ##
  116137. +## Platform. ##
  116138. +## --------- ##
  116139. +
  116140. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  116141. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  116142. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  116143. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  116144. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  116145. +
  116146. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  116147. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  116148. +
  116149. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  116150. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  116151. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  116152. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  116153. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  116154. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  116155. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  116156. +
  116157. +_ASUNAME
  116158. +
  116159. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  116160. +for as_dir in $PATH
  116161. +do
  116162. + IFS=$as_save_IFS
  116163. + test -z "$as_dir" && as_dir=.
  116164. + $as_echo "PATH: $as_dir"
  116165. + done
  116166. +IFS=$as_save_IFS
  116167. +
  116168. +} >&5
  116169. +
  116170. +cat >&5 <<_ACEOF
  116171. +
  116172. +
  116173. +## ----------- ##
  116174. +## Core tests. ##
  116175. +## ----------- ##
  116176. +
  116177. +_ACEOF
  116178. +
  116179. +
  116180. +# Keep a trace of the command line.
  116181. +# Strip out --no-create and --no-recursion so they do not pile up.
  116182. +# Strip out --silent because we don't want to record it for future runs.
  116183. +# Also quote any args containing shell meta-characters.
  116184. +# Make two passes to allow for proper duplicate-argument suppression.
  116185. +ac_configure_args=
  116186. +ac_configure_args0=
  116187. +ac_configure_args1=
  116188. +ac_must_keep_next=false
  116189. +for ac_pass in 1 2
  116190. +do
  116191. + for ac_arg
  116192. + do
  116193. + case $ac_arg in
  116194. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  116195. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  116196. + | -silent | --silent | --silen | --sile | --sil)
  116197. + continue ;;
  116198. + *\'*)
  116199. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  116200. + esac
  116201. + case $ac_pass in
  116202. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  116203. + 2)
  116204. + as_fn_append ac_configure_args1 " '$ac_arg'"
  116205. + if test $ac_must_keep_next = true; then
  116206. + ac_must_keep_next=false # Got value, back to normal.
  116207. + else
  116208. + case $ac_arg in
  116209. + *=* | --config-cache | -C | -disable-* | --disable-* \
  116210. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  116211. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  116212. + | -with-* | --with-* | -without-* | --without-* | --x)
  116213. + case "$ac_configure_args0 " in
  116214. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  116215. + esac
  116216. + ;;
  116217. + -* ) ac_must_keep_next=true ;;
  116218. + esac
  116219. + fi
  116220. + as_fn_append ac_configure_args " '$ac_arg'"
  116221. + ;;
  116222. + esac
  116223. + done
  116224. +done
  116225. +{ ac_configure_args0=; unset ac_configure_args0;}
  116226. +{ ac_configure_args1=; unset ac_configure_args1;}
  116227. +
  116228. +# When interrupted or exit'd, cleanup temporary files, and complete
  116229. +# config.log. We remove comments because anyway the quotes in there
  116230. +# would cause problems or look ugly.
  116231. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  116232. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  116233. +trap 'exit_status=$?
  116234. + # Save into config.log some information that might help in debugging.
  116235. + {
  116236. + echo
  116237. +
  116238. + cat <<\_ASBOX
  116239. +## ---------------- ##
  116240. +## Cache variables. ##
  116241. +## ---------------- ##
  116242. +_ASBOX
  116243. + echo
  116244. + # The following way of writing the cache mishandles newlines in values,
  116245. +(
  116246. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  116247. + eval ac_val=\$$ac_var
  116248. + case $ac_val in #(
  116249. + *${as_nl}*)
  116250. + case $ac_var in #(
  116251. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  116252. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  116253. + esac
  116254. + case $ac_var in #(
  116255. + _ | IFS | as_nl) ;; #(
  116256. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  116257. + *) { eval $ac_var=; unset $ac_var;} ;;
  116258. + esac ;;
  116259. + esac
  116260. + done
  116261. + (set) 2>&1 |
  116262. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  116263. + *${as_nl}ac_space=\ *)
  116264. + sed -n \
  116265. + "s/'\''/'\''\\\\'\'''\''/g;
  116266. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  116267. + ;; #(
  116268. + *)
  116269. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  116270. + ;;
  116271. + esac |
  116272. + sort
  116273. +)
  116274. + echo
  116275. +
  116276. + cat <<\_ASBOX
  116277. +## ----------------- ##
  116278. +## Output variables. ##
  116279. +## ----------------- ##
  116280. +_ASBOX
  116281. + echo
  116282. + for ac_var in $ac_subst_vars
  116283. + do
  116284. + eval ac_val=\$$ac_var
  116285. + case $ac_val in
  116286. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  116287. + esac
  116288. + $as_echo "$ac_var='\''$ac_val'\''"
  116289. + done | sort
  116290. + echo
  116291. +
  116292. + if test -n "$ac_subst_files"; then
  116293. + cat <<\_ASBOX
  116294. +## ------------------- ##
  116295. +## File substitutions. ##
  116296. +## ------------------- ##
  116297. +_ASBOX
  116298. + echo
  116299. + for ac_var in $ac_subst_files
  116300. + do
  116301. + eval ac_val=\$$ac_var
  116302. + case $ac_val in
  116303. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  116304. + esac
  116305. + $as_echo "$ac_var='\''$ac_val'\''"
  116306. + done | sort
  116307. + echo
  116308. + fi
  116309. +
  116310. + if test -s confdefs.h; then
  116311. + cat <<\_ASBOX
  116312. +## ----------- ##
  116313. +## confdefs.h. ##
  116314. +## ----------- ##
  116315. +_ASBOX
  116316. + echo
  116317. + cat confdefs.h
  116318. + echo
  116319. + fi
  116320. + test "$ac_signal" != 0 &&
  116321. + $as_echo "$as_me: caught signal $ac_signal"
  116322. + $as_echo "$as_me: exit $exit_status"
  116323. + } >&5
  116324. + rm -f core *.core core.conftest.* &&
  116325. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  116326. + exit $exit_status
  116327. +' 0
  116328. +for ac_signal in 1 2 13 15; do
  116329. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  116330. +done
  116331. +ac_signal=0
  116332. +
  116333. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  116334. +rm -f -r conftest* confdefs.h
  116335. +
  116336. +$as_echo "/* confdefs.h */" > confdefs.h
  116337. +
  116338. +# Predefined preprocessor variables.
  116339. +
  116340. +cat >>confdefs.h <<_ACEOF
  116341. +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
  116342. +_ACEOF
  116343. +
  116344. +cat >>confdefs.h <<_ACEOF
  116345. +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  116346. +_ACEOF
  116347. +
  116348. +cat >>confdefs.h <<_ACEOF
  116349. +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  116350. +_ACEOF
  116351. +
  116352. +cat >>confdefs.h <<_ACEOF
  116353. +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
  116354. +_ACEOF
  116355. +
  116356. +cat >>confdefs.h <<_ACEOF
  116357. +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  116358. +_ACEOF
  116359. +
  116360. +cat >>confdefs.h <<_ACEOF
  116361. +@%:@define PACKAGE_URL "$PACKAGE_URL"
  116362. +_ACEOF
  116363. +
  116364. +
  116365. +# Let the site file select an alternate cache file if it wants to.
  116366. +# Prefer an explicitly selected file to automatically selected ones.
  116367. +ac_site_file1=NONE
  116368. +ac_site_file2=NONE
  116369. +if test -n "$CONFIG_SITE"; then
  116370. + ac_site_file1=$CONFIG_SITE
  116371. +elif test "x$prefix" != xNONE; then
  116372. + ac_site_file1=$prefix/share/config.site
  116373. + ac_site_file2=$prefix/etc/config.site
  116374. +else
  116375. + ac_site_file1=$ac_default_prefix/share/config.site
  116376. + ac_site_file2=$ac_default_prefix/etc/config.site
  116377. +fi
  116378. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  116379. +do
  116380. + test "x$ac_site_file" = xNONE && continue
  116381. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  116382. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  116383. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  116384. + sed 's/^/| /' "$ac_site_file" >&5
  116385. + . "$ac_site_file"
  116386. + fi
  116387. +done
  116388. +
  116389. +if test -r "$cache_file"; then
  116390. + # Some versions of bash will fail to source /dev/null (special files
  116391. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  116392. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  116393. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  116394. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  116395. + case $cache_file in
  116396. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  116397. + *) . "./$cache_file";;
  116398. + esac
  116399. + fi
  116400. +else
  116401. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  116402. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  116403. + >$cache_file
  116404. +fi
  116405. +
  116406. +# Check that the precious variables saved in the cache have kept the same
  116407. +# value.
  116408. +ac_cache_corrupted=false
  116409. +for ac_var in $ac_precious_vars; do
  116410. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  116411. + eval ac_new_set=\$ac_env_${ac_var}_set
  116412. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  116413. + eval ac_new_val=\$ac_env_${ac_var}_value
  116414. + case $ac_old_set,$ac_new_set in
  116415. + set,)
  116416. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  116417. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  116418. + ac_cache_corrupted=: ;;
  116419. + ,set)
  116420. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  116421. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  116422. + ac_cache_corrupted=: ;;
  116423. + ,);;
  116424. + *)
  116425. + if test "x$ac_old_val" != "x$ac_new_val"; then
  116426. + # differences in whitespace do not lead to failure.
  116427. + ac_old_val_w=`echo x $ac_old_val`
  116428. + ac_new_val_w=`echo x $ac_new_val`
  116429. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  116430. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  116431. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  116432. + ac_cache_corrupted=:
  116433. + else
  116434. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  116435. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  116436. + eval $ac_var=\$ac_old_val
  116437. + fi
  116438. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  116439. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  116440. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  116441. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  116442. + fi;;
  116443. + esac
  116444. + # Pass precious variables to config.status.
  116445. + if test "$ac_new_set" = set; then
  116446. + case $ac_new_val in
  116447. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  116448. + *) ac_arg=$ac_var=$ac_new_val ;;
  116449. + esac
  116450. + case " $ac_configure_args " in
  116451. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  116452. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  116453. + esac
  116454. + fi
  116455. +done
  116456. +if $ac_cache_corrupted; then
  116457. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  116458. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  116459. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  116460. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  116461. + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  116462. +fi
  116463. +## -------------------- ##
  116464. +## Main body of script. ##
  116465. +## -------------------- ##
  116466. +
  116467. +ac_ext=c
  116468. +ac_cpp='$CPP $CPPFLAGS'
  116469. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  116470. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  116471. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  116472. +
  116473. +
  116474. +
  116475. +ac_config_headers="$ac_config_headers config.h"
  116476. +
  116477. +ac_aux_dir=
  116478. +for ac_dir in cfgaux "$srcdir"/cfgaux; do
  116479. + for ac_t in install-sh install.sh shtool; do
  116480. + if test -f "$ac_dir/$ac_t"; then
  116481. + ac_aux_dir=$ac_dir
  116482. + ac_install_sh="$ac_aux_dir/$ac_t -c"
  116483. + break 2
  116484. + fi
  116485. + done
  116486. +done
  116487. +if test -z "$ac_aux_dir"; then
  116488. + as_fn_error "cannot find install-sh, install.sh, or shtool in cfgaux \"$srcdir\"/cfgaux" "$LINENO" 5
  116489. +fi
  116490. +
  116491. +# These three variables are undocumented and unsupported,
  116492. +# and are intended to be withdrawn in a future Autoconf release.
  116493. +# They can cause serious problems if a builder's source tree is in a directory
  116494. +# whose full name contains unusual characters.
  116495. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  116496. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  116497. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  116498. +
  116499. +
  116500. +
  116501. +SquidInline="yes"
  116502. +
  116503. +@%:@ Check whether --enable-optimizations was given.
  116504. +if test "${enable_optimizations+set}" = set; then :
  116505. + enableval=$enable_optimizations; if test "$enableval" = "no" ; then
  116506. + { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling compiler optimizations (-O flag)" >&5
  116507. +$as_echo "$as_me: Disabling compiler optimizations (-O flag)" >&6;}
  116508. + CFLAGS="`echo $CFLAGS | sed -e 's/-O[0-9]*//'`"
  116509. + CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-O[0-9]*//'`"
  116510. + SquidInline="no"
  116511. + fi
  116512. +
  116513. +fi
  116514. +
  116515. +
  116516. +@%:@ Check whether --enable-inline was given.
  116517. +if test "${enable_inline+set}" = set; then :
  116518. + enableval=$enable_inline; if test "$enableval" = "no" ; then
  116519. + SquidInline="no"
  116520. + fi
  116521. +
  116522. +fi
  116523. +
  116524. +
  116525. +if test "$SquidInline" = "yes" ; then
  116526. +
  116527. +$as_echo "@%:@define _SQUID_INLINE_ inline" >>confdefs.h
  116528. +
  116529. +
  116530. +$as_echo "@%:@define _USE_INLINE_ /**/" >>confdefs.h
  116531. +
  116532. +else
  116533. + { $as_echo "$as_me:${as_lineno-$LINENO}: Inlining optimization disabled" >&5
  116534. +$as_echo "$as_me: Inlining optimization disabled" >&6;}
  116535. +
  116536. +$as_echo "@%:@define _SQUID_INLINE_ /**/" >>confdefs.h
  116537. +
  116538. +fi
  116539. +
  116540. +
  116541. +# Checks for programs.
  116542. +ac_ext=cpp
  116543. +ac_cpp='$CXXCPP $CPPFLAGS'
  116544. +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  116545. +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  116546. +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  116547. +if test -z "$CXX"; then
  116548. + if test -n "$CCC"; then
  116549. + CXX=$CCC
  116550. + else
  116551. + if test -n "$ac_tool_prefix"; then
  116552. + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  116553. + do
  116554. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  116555. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  116556. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  116557. +$as_echo_n "checking for $ac_word... " >&6; }
  116558. +if test "${ac_cv_prog_CXX+set}" = set; then :
  116559. + $as_echo_n "(cached) " >&6
  116560. +else
  116561. + if test -n "$CXX"; then
  116562. + ac_cv_prog_CXX="$CXX" # Let the user override the test.
  116563. +else
  116564. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  116565. +for as_dir in $PATH
  116566. +do
  116567. + IFS=$as_save_IFS
  116568. + test -z "$as_dir" && as_dir=.
  116569. + for ac_exec_ext in '' $ac_executable_extensions; do
  116570. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  116571. + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  116572. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  116573. + break 2
  116574. + fi
  116575. +done
  116576. + done
  116577. +IFS=$as_save_IFS
  116578. +
  116579. +fi
  116580. +fi
  116581. +CXX=$ac_cv_prog_CXX
  116582. +if test -n "$CXX"; then
  116583. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  116584. +$as_echo "$CXX" >&6; }
  116585. +else
  116586. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  116587. +$as_echo "no" >&6; }
  116588. +fi
  116589. +
  116590. +
  116591. + test -n "$CXX" && break
  116592. + done
  116593. +fi
  116594. +if test -z "$CXX"; then
  116595. + ac_ct_CXX=$CXX
  116596. + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  116597. +do
  116598. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  116599. +set dummy $ac_prog; ac_word=$2
  116600. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  116601. +$as_echo_n "checking for $ac_word... " >&6; }
  116602. +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
  116603. + $as_echo_n "(cached) " >&6
  116604. +else
  116605. + if test -n "$ac_ct_CXX"; then
  116606. + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  116607. +else
  116608. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  116609. +for as_dir in $PATH
  116610. +do
  116611. + IFS=$as_save_IFS
  116612. + test -z "$as_dir" && as_dir=.
  116613. + for ac_exec_ext in '' $ac_executable_extensions; do
  116614. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  116615. + ac_cv_prog_ac_ct_CXX="$ac_prog"
  116616. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  116617. + break 2
  116618. + fi
  116619. +done
  116620. + done
  116621. +IFS=$as_save_IFS
  116622. +
  116623. +fi
  116624. +fi
  116625. +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  116626. +if test -n "$ac_ct_CXX"; then
  116627. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  116628. +$as_echo "$ac_ct_CXX" >&6; }
  116629. +else
  116630. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  116631. +$as_echo "no" >&6; }
  116632. +fi
  116633. +
  116634. +
  116635. + test -n "$ac_ct_CXX" && break
  116636. +done
  116637. +
  116638. + if test "x$ac_ct_CXX" = x; then
  116639. + CXX="g++"
  116640. + else
  116641. + case $cross_compiling:$ac_tool_warned in
  116642. +yes:)
  116643. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  116644. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  116645. +ac_tool_warned=yes ;;
  116646. +esac
  116647. + CXX=$ac_ct_CXX
  116648. + fi
  116649. +fi
  116650. +
  116651. + fi
  116652. +fi
  116653. +# Provide some information about the compiler.
  116654. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  116655. +set X $ac_compile
  116656. +ac_compiler=$2
  116657. +for ac_option in --version -v -V -qversion; do
  116658. + { { ac_try="$ac_compiler $ac_option >&5"
  116659. +case "(($ac_try" in
  116660. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  116661. + *) ac_try_echo=$ac_try;;
  116662. +esac
  116663. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  116664. +$as_echo "$ac_try_echo"; } >&5
  116665. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  116666. + ac_status=$?
  116667. + if test -s conftest.err; then
  116668. + sed '10a\
  116669. +... rest of stderr output deleted ...
  116670. + 10q' conftest.err >conftest.er1
  116671. + cat conftest.er1 >&5
  116672. + fi
  116673. + rm -f conftest.er1 conftest.err
  116674. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  116675. + test $ac_status = 0; }
  116676. +done
  116677. +
  116678. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  116679. +/* end confdefs.h. */
  116680. +
  116681. +int
  116682. +main ()
  116683. +{
  116684. +
  116685. + ;
  116686. + return 0;
  116687. +}
  116688. +_ACEOF
  116689. +ac_clean_files_save=$ac_clean_files
  116690. +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  116691. +# Try to create an executable without -o first, disregard a.out.
  116692. +# It will help us diagnose broken compilers, and finding out an intuition
  116693. +# of exeext.
  116694. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
  116695. +$as_echo_n "checking whether the C++ compiler works... " >&6; }
  116696. +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  116697. +
  116698. +# The possible output files:
  116699. +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  116700. +
  116701. +ac_rmfiles=
  116702. +for ac_file in $ac_files
  116703. +do
  116704. + case $ac_file in
  116705. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  116706. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  116707. + esac
  116708. +done
  116709. +rm -f $ac_rmfiles
  116710. +
  116711. +if { { ac_try="$ac_link_default"
  116712. +case "(($ac_try" in
  116713. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  116714. + *) ac_try_echo=$ac_try;;
  116715. +esac
  116716. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  116717. +$as_echo "$ac_try_echo"; } >&5
  116718. + (eval "$ac_link_default") 2>&5
  116719. + ac_status=$?
  116720. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  116721. + test $ac_status = 0; }; then :
  116722. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  116723. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  116724. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  116725. +# so that the user can short-circuit this test for compilers unknown to
  116726. +# Autoconf.
  116727. +for ac_file in $ac_files ''
  116728. +do
  116729. + test -f "$ac_file" || continue
  116730. + case $ac_file in
  116731. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  116732. + ;;
  116733. + [ab].out )
  116734. + # We found the default executable, but exeext='' is most
  116735. + # certainly right.
  116736. + break;;
  116737. + *.* )
  116738. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  116739. + then :; else
  116740. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  116741. + fi
  116742. + # We set ac_cv_exeext here because the later test for it is not
  116743. + # safe: cross compilers may not add the suffix if given an `-o'
  116744. + # argument, so we may need to know it at that point already.
  116745. + # Even if this section looks crufty: it has the advantage of
  116746. + # actually working.
  116747. + break;;
  116748. + * )
  116749. + break;;
  116750. + esac
  116751. +done
  116752. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  116753. +
  116754. +else
  116755. + ac_file=''
  116756. +fi
  116757. +if test -z "$ac_file"; then :
  116758. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  116759. +$as_echo "no" >&6; }
  116760. +$as_echo "$as_me: failed program was:" >&5
  116761. +sed 's/^/| /' conftest.$ac_ext >&5
  116762. +
  116763. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  116764. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  116765. +{ as_fn_set_status 77
  116766. +as_fn_error "C++ compiler cannot create executables
  116767. +See \`config.log' for more details." "$LINENO" 5; }; }
  116768. +else
  116769. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  116770. +$as_echo "yes" >&6; }
  116771. +fi
  116772. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
  116773. +$as_echo_n "checking for C++ compiler default output file name... " >&6; }
  116774. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  116775. +$as_echo "$ac_file" >&6; }
  116776. +ac_exeext=$ac_cv_exeext
  116777. +
  116778. +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  116779. +ac_clean_files=$ac_clean_files_save
  116780. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  116781. +$as_echo_n "checking for suffix of executables... " >&6; }
  116782. +if { { ac_try="$ac_link"
  116783. +case "(($ac_try" in
  116784. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  116785. + *) ac_try_echo=$ac_try;;
  116786. +esac
  116787. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  116788. +$as_echo "$ac_try_echo"; } >&5
  116789. + (eval "$ac_link") 2>&5
  116790. + ac_status=$?
  116791. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  116792. + test $ac_status = 0; }; then :
  116793. + # If both `conftest.exe' and `conftest' are `present' (well, observable)
  116794. +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  116795. +# work properly (i.e., refer to `conftest.exe'), while it won't with
  116796. +# `rm'.
  116797. +for ac_file in conftest.exe conftest conftest.*; do
  116798. + test -f "$ac_file" || continue
  116799. + case $ac_file in
  116800. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  116801. + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  116802. + break;;
  116803. + * ) break;;
  116804. + esac
  116805. +done
  116806. +else
  116807. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  116808. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  116809. +as_fn_error "cannot compute suffix of executables: cannot compile and link
  116810. +See \`config.log' for more details." "$LINENO" 5; }
  116811. +fi
  116812. +rm -f conftest conftest$ac_cv_exeext
  116813. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  116814. +$as_echo "$ac_cv_exeext" >&6; }
  116815. +
  116816. +rm -f conftest.$ac_ext
  116817. +EXEEXT=$ac_cv_exeext
  116818. +ac_exeext=$EXEEXT
  116819. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  116820. +/* end confdefs.h. */
  116821. +@%:@include <stdio.h>
  116822. +int
  116823. +main ()
  116824. +{
  116825. +FILE *f = fopen ("conftest.out", "w");
  116826. + return ferror (f) || fclose (f) != 0;
  116827. +
  116828. + ;
  116829. + return 0;
  116830. +}
  116831. +_ACEOF
  116832. +ac_clean_files="$ac_clean_files conftest.out"
  116833. +# Check that the compiler produces executables we can run. If not, either
  116834. +# the compiler is broken, or we cross compile.
  116835. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  116836. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  116837. +if test "$cross_compiling" != yes; then
  116838. + { { ac_try="$ac_link"
  116839. +case "(($ac_try" in
  116840. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  116841. + *) ac_try_echo=$ac_try;;
  116842. +esac
  116843. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  116844. +$as_echo "$ac_try_echo"; } >&5
  116845. + (eval "$ac_link") 2>&5
  116846. + ac_status=$?
  116847. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  116848. + test $ac_status = 0; }
  116849. + if { ac_try='./conftest$ac_cv_exeext'
  116850. + { { case "(($ac_try" in
  116851. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  116852. + *) ac_try_echo=$ac_try;;
  116853. +esac
  116854. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  116855. +$as_echo "$ac_try_echo"; } >&5
  116856. + (eval "$ac_try") 2>&5
  116857. + ac_status=$?
  116858. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  116859. + test $ac_status = 0; }; }; then
  116860. + cross_compiling=no
  116861. + else
  116862. + if test "$cross_compiling" = maybe; then
  116863. + cross_compiling=yes
  116864. + else
  116865. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  116866. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  116867. +as_fn_error "cannot run C++ compiled programs.
  116868. +If you meant to cross compile, use \`--host'.
  116869. +See \`config.log' for more details." "$LINENO" 5; }
  116870. + fi
  116871. + fi
  116872. +fi
  116873. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  116874. +$as_echo "$cross_compiling" >&6; }
  116875. +
  116876. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  116877. +ac_clean_files=$ac_clean_files_save
  116878. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  116879. +$as_echo_n "checking for suffix of object files... " >&6; }
  116880. +if test "${ac_cv_objext+set}" = set; then :
  116881. + $as_echo_n "(cached) " >&6
  116882. +else
  116883. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  116884. +/* end confdefs.h. */
  116885. +
  116886. +int
  116887. +main ()
  116888. +{
  116889. +
  116890. + ;
  116891. + return 0;
  116892. +}
  116893. +_ACEOF
  116894. +rm -f conftest.o conftest.obj
  116895. +if { { ac_try="$ac_compile"
  116896. +case "(($ac_try" in
  116897. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  116898. + *) ac_try_echo=$ac_try;;
  116899. +esac
  116900. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  116901. +$as_echo "$ac_try_echo"; } >&5
  116902. + (eval "$ac_compile") 2>&5
  116903. + ac_status=$?
  116904. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  116905. + test $ac_status = 0; }; then :
  116906. + for ac_file in conftest.o conftest.obj conftest.*; do
  116907. + test -f "$ac_file" || continue;
  116908. + case $ac_file in
  116909. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  116910. + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  116911. + break;;
  116912. + esac
  116913. +done
  116914. +else
  116915. + $as_echo "$as_me: failed program was:" >&5
  116916. +sed 's/^/| /' conftest.$ac_ext >&5
  116917. +
  116918. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  116919. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  116920. +as_fn_error "cannot compute suffix of object files: cannot compile
  116921. +See \`config.log' for more details." "$LINENO" 5; }
  116922. +fi
  116923. +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  116924. +fi
  116925. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  116926. +$as_echo "$ac_cv_objext" >&6; }
  116927. +OBJEXT=$ac_cv_objext
  116928. +ac_objext=$OBJEXT
  116929. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  116930. +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  116931. +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
  116932. + $as_echo_n "(cached) " >&6
  116933. +else
  116934. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  116935. +/* end confdefs.h. */
  116936. +
  116937. +int
  116938. +main ()
  116939. +{
  116940. +#ifndef __GNUC__
  116941. + choke me
  116942. +#endif
  116943. +
  116944. + ;
  116945. + return 0;
  116946. +}
  116947. +_ACEOF
  116948. +if ac_fn_cxx_try_compile "$LINENO"; then :
  116949. + ac_compiler_gnu=yes
  116950. +else
  116951. + ac_compiler_gnu=no
  116952. +fi
  116953. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  116954. +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  116955. +
  116956. +fi
  116957. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  116958. +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  116959. +if test $ac_compiler_gnu = yes; then
  116960. + GXX=yes
  116961. +else
  116962. + GXX=
  116963. +fi
  116964. +ac_test_CXXFLAGS=${CXXFLAGS+set}
  116965. +ac_save_CXXFLAGS=$CXXFLAGS
  116966. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  116967. +$as_echo_n "checking whether $CXX accepts -g... " >&6; }
  116968. +if test "${ac_cv_prog_cxx_g+set}" = set; then :
  116969. + $as_echo_n "(cached) " >&6
  116970. +else
  116971. + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  116972. + ac_cxx_werror_flag=yes
  116973. + ac_cv_prog_cxx_g=no
  116974. + CXXFLAGS="-g"
  116975. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  116976. +/* end confdefs.h. */
  116977. +
  116978. +int
  116979. +main ()
  116980. +{
  116981. +
  116982. + ;
  116983. + return 0;
  116984. +}
  116985. +_ACEOF
  116986. +if ac_fn_cxx_try_compile "$LINENO"; then :
  116987. + ac_cv_prog_cxx_g=yes
  116988. +else
  116989. + CXXFLAGS=""
  116990. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  116991. +/* end confdefs.h. */
  116992. +
  116993. +int
  116994. +main ()
  116995. +{
  116996. +
  116997. + ;
  116998. + return 0;
  116999. +}
  117000. +_ACEOF
  117001. +if ac_fn_cxx_try_compile "$LINENO"; then :
  117002. +
  117003. +else
  117004. + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  117005. + CXXFLAGS="-g"
  117006. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  117007. +/* end confdefs.h. */
  117008. +
  117009. +int
  117010. +main ()
  117011. +{
  117012. +
  117013. + ;
  117014. + return 0;
  117015. +}
  117016. +_ACEOF
  117017. +if ac_fn_cxx_try_compile "$LINENO"; then :
  117018. + ac_cv_prog_cxx_g=yes
  117019. +fi
  117020. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  117021. +fi
  117022. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  117023. +fi
  117024. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  117025. + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  117026. +fi
  117027. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  117028. +$as_echo "$ac_cv_prog_cxx_g" >&6; }
  117029. +if test "$ac_test_CXXFLAGS" = set; then
  117030. + CXXFLAGS=$ac_save_CXXFLAGS
  117031. +elif test $ac_cv_prog_cxx_g = yes; then
  117032. + if test "$GXX" = yes; then
  117033. + CXXFLAGS="-g -O2"
  117034. + else
  117035. + CXXFLAGS="-g"
  117036. + fi
  117037. +else
  117038. + if test "$GXX" = yes; then
  117039. + CXXFLAGS="-O2"
  117040. + else
  117041. + CXXFLAGS=
  117042. + fi
  117043. +fi
  117044. +ac_ext=c
  117045. +ac_cpp='$CPP $CPPFLAGS'
  117046. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  117047. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  117048. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  117049. +
  117050. +ac_ext=c
  117051. +ac_cpp='$CPP $CPPFLAGS'
  117052. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  117053. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  117054. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  117055. +if test -n "$ac_tool_prefix"; then
  117056. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  117057. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  117058. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  117059. +$as_echo_n "checking for $ac_word... " >&6; }
  117060. +if test "${ac_cv_prog_CC+set}" = set; then :
  117061. + $as_echo_n "(cached) " >&6
  117062. +else
  117063. + if test -n "$CC"; then
  117064. + ac_cv_prog_CC="$CC" # Let the user override the test.
  117065. +else
  117066. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  117067. +for as_dir in $PATH
  117068. +do
  117069. + IFS=$as_save_IFS
  117070. + test -z "$as_dir" && as_dir=.
  117071. + for ac_exec_ext in '' $ac_executable_extensions; do
  117072. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  117073. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  117074. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  117075. + break 2
  117076. + fi
  117077. +done
  117078. + done
  117079. +IFS=$as_save_IFS
  117080. +
  117081. +fi
  117082. +fi
  117083. +CC=$ac_cv_prog_CC
  117084. +if test -n "$CC"; then
  117085. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  117086. +$as_echo "$CC" >&6; }
  117087. +else
  117088. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  117089. +$as_echo "no" >&6; }
  117090. +fi
  117091. +
  117092. +
  117093. +fi
  117094. +if test -z "$ac_cv_prog_CC"; then
  117095. + ac_ct_CC=$CC
  117096. + # Extract the first word of "gcc", so it can be a program name with args.
  117097. +set dummy gcc; ac_word=$2
  117098. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  117099. +$as_echo_n "checking for $ac_word... " >&6; }
  117100. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  117101. + $as_echo_n "(cached) " >&6
  117102. +else
  117103. + if test -n "$ac_ct_CC"; then
  117104. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  117105. +else
  117106. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  117107. +for as_dir in $PATH
  117108. +do
  117109. + IFS=$as_save_IFS
  117110. + test -z "$as_dir" && as_dir=.
  117111. + for ac_exec_ext in '' $ac_executable_extensions; do
  117112. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  117113. + ac_cv_prog_ac_ct_CC="gcc"
  117114. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  117115. + break 2
  117116. + fi
  117117. +done
  117118. + done
  117119. +IFS=$as_save_IFS
  117120. +
  117121. +fi
  117122. +fi
  117123. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  117124. +if test -n "$ac_ct_CC"; then
  117125. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  117126. +$as_echo "$ac_ct_CC" >&6; }
  117127. +else
  117128. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  117129. +$as_echo "no" >&6; }
  117130. +fi
  117131. +
  117132. + if test "x$ac_ct_CC" = x; then
  117133. + CC=""
  117134. + else
  117135. + case $cross_compiling:$ac_tool_warned in
  117136. +yes:)
  117137. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  117138. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  117139. +ac_tool_warned=yes ;;
  117140. +esac
  117141. + CC=$ac_ct_CC
  117142. + fi
  117143. +else
  117144. + CC="$ac_cv_prog_CC"
  117145. +fi
  117146. +
  117147. +if test -z "$CC"; then
  117148. + if test -n "$ac_tool_prefix"; then
  117149. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  117150. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  117151. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  117152. +$as_echo_n "checking for $ac_word... " >&6; }
  117153. +if test "${ac_cv_prog_CC+set}" = set; then :
  117154. + $as_echo_n "(cached) " >&6
  117155. +else
  117156. + if test -n "$CC"; then
  117157. + ac_cv_prog_CC="$CC" # Let the user override the test.
  117158. +else
  117159. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  117160. +for as_dir in $PATH
  117161. +do
  117162. + IFS=$as_save_IFS
  117163. + test -z "$as_dir" && as_dir=.
  117164. + for ac_exec_ext in '' $ac_executable_extensions; do
  117165. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  117166. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  117167. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  117168. + break 2
  117169. + fi
  117170. +done
  117171. + done
  117172. +IFS=$as_save_IFS
  117173. +
  117174. +fi
  117175. +fi
  117176. +CC=$ac_cv_prog_CC
  117177. +if test -n "$CC"; then
  117178. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  117179. +$as_echo "$CC" >&6; }
  117180. +else
  117181. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  117182. +$as_echo "no" >&6; }
  117183. +fi
  117184. +
  117185. +
  117186. + fi
  117187. +fi
  117188. +if test -z "$CC"; then
  117189. + # Extract the first word of "cc", so it can be a program name with args.
  117190. +set dummy cc; ac_word=$2
  117191. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  117192. +$as_echo_n "checking for $ac_word... " >&6; }
  117193. +if test "${ac_cv_prog_CC+set}" = set; then :
  117194. + $as_echo_n "(cached) " >&6
  117195. +else
  117196. + if test -n "$CC"; then
  117197. + ac_cv_prog_CC="$CC" # Let the user override the test.
  117198. +else
  117199. + ac_prog_rejected=no
  117200. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  117201. +for as_dir in $PATH
  117202. +do
  117203. + IFS=$as_save_IFS
  117204. + test -z "$as_dir" && as_dir=.
  117205. + for ac_exec_ext in '' $ac_executable_extensions; do
  117206. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  117207. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  117208. + ac_prog_rejected=yes
  117209. + continue
  117210. + fi
  117211. + ac_cv_prog_CC="cc"
  117212. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  117213. + break 2
  117214. + fi
  117215. +done
  117216. + done
  117217. +IFS=$as_save_IFS
  117218. +
  117219. +if test $ac_prog_rejected = yes; then
  117220. + # We found a bogon in the path, so make sure we never use it.
  117221. + set dummy $ac_cv_prog_CC
  117222. + shift
  117223. + if test $@%:@ != 0; then
  117224. + # We chose a different compiler from the bogus one.
  117225. + # However, it has the same basename, so the bogon will be chosen
  117226. + # first if we set CC to just the basename; use the full file name.
  117227. + shift
  117228. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  117229. + fi
  117230. +fi
  117231. +fi
  117232. +fi
  117233. +CC=$ac_cv_prog_CC
  117234. +if test -n "$CC"; then
  117235. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  117236. +$as_echo "$CC" >&6; }
  117237. +else
  117238. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  117239. +$as_echo "no" >&6; }
  117240. +fi
  117241. +
  117242. +
  117243. +fi
  117244. +if test -z "$CC"; then
  117245. + if test -n "$ac_tool_prefix"; then
  117246. + for ac_prog in cl.exe
  117247. + do
  117248. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  117249. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  117250. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  117251. +$as_echo_n "checking for $ac_word... " >&6; }
  117252. +if test "${ac_cv_prog_CC+set}" = set; then :
  117253. + $as_echo_n "(cached) " >&6
  117254. +else
  117255. + if test -n "$CC"; then
  117256. + ac_cv_prog_CC="$CC" # Let the user override the test.
  117257. +else
  117258. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  117259. +for as_dir in $PATH
  117260. +do
  117261. + IFS=$as_save_IFS
  117262. + test -z "$as_dir" && as_dir=.
  117263. + for ac_exec_ext in '' $ac_executable_extensions; do
  117264. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  117265. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  117266. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  117267. + break 2
  117268. + fi
  117269. +done
  117270. + done
  117271. +IFS=$as_save_IFS
  117272. +
  117273. +fi
  117274. +fi
  117275. +CC=$ac_cv_prog_CC
  117276. +if test -n "$CC"; then
  117277. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  117278. +$as_echo "$CC" >&6; }
  117279. +else
  117280. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  117281. +$as_echo "no" >&6; }
  117282. +fi
  117283. +
  117284. +
  117285. + test -n "$CC" && break
  117286. + done
  117287. +fi
  117288. +if test -z "$CC"; then
  117289. + ac_ct_CC=$CC
  117290. + for ac_prog in cl.exe
  117291. +do
  117292. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  117293. +set dummy $ac_prog; ac_word=$2
  117294. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  117295. +$as_echo_n "checking for $ac_word... " >&6; }
  117296. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  117297. + $as_echo_n "(cached) " >&6
  117298. +else
  117299. + if test -n "$ac_ct_CC"; then
  117300. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  117301. +else
  117302. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  117303. +for as_dir in $PATH
  117304. +do
  117305. + IFS=$as_save_IFS
  117306. + test -z "$as_dir" && as_dir=.
  117307. + for ac_exec_ext in '' $ac_executable_extensions; do
  117308. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  117309. + ac_cv_prog_ac_ct_CC="$ac_prog"
  117310. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  117311. + break 2
  117312. + fi
  117313. +done
  117314. + done
  117315. +IFS=$as_save_IFS
  117316. +
  117317. +fi
  117318. +fi
  117319. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  117320. +if test -n "$ac_ct_CC"; then
  117321. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  117322. +$as_echo "$ac_ct_CC" >&6; }
  117323. +else
  117324. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  117325. +$as_echo "no" >&6; }
  117326. +fi
  117327. +
  117328. +
  117329. + test -n "$ac_ct_CC" && break
  117330. +done
  117331. +
  117332. + if test "x$ac_ct_CC" = x; then
  117333. + CC=""
  117334. + else
  117335. + case $cross_compiling:$ac_tool_warned in
  117336. +yes:)
  117337. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  117338. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  117339. +ac_tool_warned=yes ;;
  117340. +esac
  117341. + CC=$ac_ct_CC
  117342. + fi
  117343. +fi
  117344. +
  117345. +fi
  117346. +
  117347. +
  117348. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  117349. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  117350. +as_fn_error "no acceptable C compiler found in \$PATH
  117351. +See \`config.log' for more details." "$LINENO" 5; }
  117352. +
  117353. +# Provide some information about the compiler.
  117354. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  117355. +set X $ac_compile
  117356. +ac_compiler=$2
  117357. +for ac_option in --version -v -V -qversion; do
  117358. + { { ac_try="$ac_compiler $ac_option >&5"
  117359. +case "(($ac_try" in
  117360. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  117361. + *) ac_try_echo=$ac_try;;
  117362. +esac
  117363. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  117364. +$as_echo "$ac_try_echo"; } >&5
  117365. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  117366. + ac_status=$?
  117367. + if test -s conftest.err; then
  117368. + sed '10a\
  117369. +... rest of stderr output deleted ...
  117370. + 10q' conftest.err >conftest.er1
  117371. + cat conftest.er1 >&5
  117372. + fi
  117373. + rm -f conftest.er1 conftest.err
  117374. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  117375. + test $ac_status = 0; }
  117376. +done
  117377. +
  117378. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  117379. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  117380. +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  117381. + $as_echo_n "(cached) " >&6
  117382. +else
  117383. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  117384. +/* end confdefs.h. */
  117385. +
  117386. +int
  117387. +main ()
  117388. +{
  117389. +#ifndef __GNUC__
  117390. + choke me
  117391. +#endif
  117392. +
  117393. + ;
  117394. + return 0;
  117395. +}
  117396. +_ACEOF
  117397. +if ac_fn_c_try_compile "$LINENO"; then :
  117398. + ac_compiler_gnu=yes
  117399. +else
  117400. + ac_compiler_gnu=no
  117401. +fi
  117402. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  117403. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  117404. +
  117405. +fi
  117406. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  117407. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  117408. +if test $ac_compiler_gnu = yes; then
  117409. + GCC=yes
  117410. +else
  117411. + GCC=
  117412. +fi
  117413. +ac_test_CFLAGS=${CFLAGS+set}
  117414. +ac_save_CFLAGS=$CFLAGS
  117415. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  117416. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  117417. +if test "${ac_cv_prog_cc_g+set}" = set; then :
  117418. + $as_echo_n "(cached) " >&6
  117419. +else
  117420. + ac_save_c_werror_flag=$ac_c_werror_flag
  117421. + ac_c_werror_flag=yes
  117422. + ac_cv_prog_cc_g=no
  117423. + CFLAGS="-g"
  117424. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  117425. +/* end confdefs.h. */
  117426. +
  117427. +int
  117428. +main ()
  117429. +{
  117430. +
  117431. + ;
  117432. + return 0;
  117433. +}
  117434. +_ACEOF
  117435. +if ac_fn_c_try_compile "$LINENO"; then :
  117436. + ac_cv_prog_cc_g=yes
  117437. +else
  117438. + CFLAGS=""
  117439. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  117440. +/* end confdefs.h. */
  117441. +
  117442. +int
  117443. +main ()
  117444. +{
  117445. +
  117446. + ;
  117447. + return 0;
  117448. +}
  117449. +_ACEOF
  117450. +if ac_fn_c_try_compile "$LINENO"; then :
  117451. +
  117452. +else
  117453. + ac_c_werror_flag=$ac_save_c_werror_flag
  117454. + CFLAGS="-g"
  117455. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  117456. +/* end confdefs.h. */
  117457. +
  117458. +int
  117459. +main ()
  117460. +{
  117461. +
  117462. + ;
  117463. + return 0;
  117464. +}
  117465. +_ACEOF
  117466. +if ac_fn_c_try_compile "$LINENO"; then :
  117467. + ac_cv_prog_cc_g=yes
  117468. +fi
  117469. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  117470. +fi
  117471. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  117472. +fi
  117473. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  117474. + ac_c_werror_flag=$ac_save_c_werror_flag
  117475. +fi
  117476. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  117477. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  117478. +if test "$ac_test_CFLAGS" = set; then
  117479. + CFLAGS=$ac_save_CFLAGS
  117480. +elif test $ac_cv_prog_cc_g = yes; then
  117481. + if test "$GCC" = yes; then
  117482. + CFLAGS="-g -O2"
  117483. + else
  117484. + CFLAGS="-g"
  117485. + fi
  117486. +else
  117487. + if test "$GCC" = yes; then
  117488. + CFLAGS="-O2"
  117489. + else
  117490. + CFLAGS=
  117491. + fi
  117492. +fi
  117493. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  117494. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  117495. +if test "${ac_cv_prog_cc_c89+set}" = set; then :
  117496. + $as_echo_n "(cached) " >&6
  117497. +else
  117498. + ac_cv_prog_cc_c89=no
  117499. +ac_save_CC=$CC
  117500. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  117501. +/* end confdefs.h. */
  117502. +#include <stdarg.h>
  117503. +#include <stdio.h>
  117504. +#include <sys/types.h>
  117505. +#include <sys/stat.h>
  117506. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  117507. +struct buf { int x; };
  117508. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  117509. +static char *e (p, i)
  117510. + char **p;
  117511. + int i;
  117512. +{
  117513. + return p[i];
  117514. +}
  117515. +static char *f (char * (*g) (char **, int), char **p, ...)
  117516. +{
  117517. + char *s;
  117518. + va_list v;
  117519. + va_start (v,p);
  117520. + s = g (p, va_arg (v,int));
  117521. + va_end (v);
  117522. + return s;
  117523. +}
  117524. +
  117525. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  117526. + function prototypes and stuff, but not '\xHH' hex character constants.
  117527. + These don't provoke an error unfortunately, instead are silently treated
  117528. + as 'x'. The following induces an error, until -std is added to get
  117529. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  117530. + array size at least. It's necessary to write '\x00'==0 to get something
  117531. + that's true only with -std. */
  117532. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  117533. +
  117534. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  117535. + inside strings and character constants. */
  117536. +#define FOO(x) 'x'
  117537. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  117538. +
  117539. +int test (int i, double x);
  117540. +struct s1 {int (*f) (int a);};
  117541. +struct s2 {int (*f) (double a);};
  117542. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  117543. +int argc;
  117544. +char **argv;
  117545. +int
  117546. +main ()
  117547. +{
  117548. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  117549. + ;
  117550. + return 0;
  117551. +}
  117552. +_ACEOF
  117553. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  117554. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  117555. +do
  117556. + CC="$ac_save_CC $ac_arg"
  117557. + if ac_fn_c_try_compile "$LINENO"; then :
  117558. + ac_cv_prog_cc_c89=$ac_arg
  117559. +fi
  117560. +rm -f core conftest.err conftest.$ac_objext
  117561. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  117562. +done
  117563. +rm -f conftest.$ac_ext
  117564. +CC=$ac_save_CC
  117565. +
  117566. +fi
  117567. +# AC_CACHE_VAL
  117568. +case "x$ac_cv_prog_cc_c89" in
  117569. + x)
  117570. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  117571. +$as_echo "none needed" >&6; } ;;
  117572. + xno)
  117573. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  117574. +$as_echo "unsupported" >&6; } ;;
  117575. + *)
  117576. + CC="$CC $ac_cv_prog_cc_c89"
  117577. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  117578. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  117579. +esac
  117580. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  117581. +
  117582. +fi
  117583. +
  117584. +ac_ext=c
  117585. +ac_cpp='$CPP $CPPFLAGS'
  117586. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  117587. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  117588. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  117589. +
  117590. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  117591. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  117592. +set x ${MAKE-make}
  117593. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  117594. +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  117595. + $as_echo_n "(cached) " >&6
  117596. +else
  117597. + cat >conftest.make <<\_ACEOF
  117598. +SHELL = /bin/sh
  117599. +all:
  117600. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  117601. +_ACEOF
  117602. +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  117603. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  117604. + *@@@%%%=?*=@@@%%%*)
  117605. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  117606. + *)
  117607. + eval ac_cv_prog_make_${ac_make}_set=no;;
  117608. +esac
  117609. +rm -f conftest.make
  117610. +fi
  117611. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  117612. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  117613. +$as_echo "yes" >&6; }
  117614. + SET_MAKE=
  117615. +else
  117616. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  117617. +$as_echo "no" >&6; }
  117618. + SET_MAKE="MAKE=${MAKE-make}"
  117619. +fi
  117620. +
  117621. +# for old automakes - like squid-cache.orgs!
  117622. +am__api_version='1.11'
  117623. +
  117624. +# Find a good install program. We prefer a C program (faster),
  117625. +# so one script is as good as another. But avoid the broken or
  117626. +# incompatible versions:
  117627. +# SysV /etc/install, /usr/sbin/install
  117628. +# SunOS /usr/etc/install
  117629. +# IRIX /sbin/install
  117630. +# AIX /bin/install
  117631. +# AmigaOS /C/install, which installs bootblocks on floppy discs
  117632. +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  117633. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  117634. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  117635. +# OS/2's system install, which has a completely different semantic
  117636. +# ./install, which can be erroneously created by make from ./install.sh.
  117637. +# Reject install programs that cannot install multiple files.
  117638. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  117639. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  117640. +if test -z "$INSTALL"; then
  117641. +if test "${ac_cv_path_install+set}" = set; then :
  117642. + $as_echo_n "(cached) " >&6
  117643. +else
  117644. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  117645. +for as_dir in $PATH
  117646. +do
  117647. + IFS=$as_save_IFS
  117648. + test -z "$as_dir" && as_dir=.
  117649. + # Account for people who put trailing slashes in PATH elements.
  117650. +case $as_dir/ in @%:@((
  117651. + ./ | .// | /[cC]/* | \
  117652. + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  117653. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  117654. + /usr/ucb/* ) ;;
  117655. + *)
  117656. + # OSF1 and SCO ODT 3.0 have their own names for install.
  117657. + # Don't use installbsd from OSF since it installs stuff as root
  117658. + # by default.
  117659. + for ac_prog in ginstall scoinst install; do
  117660. + for ac_exec_ext in '' $ac_executable_extensions; do
  117661. + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  117662. + if test $ac_prog = install &&
  117663. + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  117664. + # AIX install. It has an incompatible calling convention.
  117665. + :
  117666. + elif test $ac_prog = install &&
  117667. + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  117668. + # program-specific install script used by HP pwplus--don't use.
  117669. + :
  117670. + else
  117671. + rm -rf conftest.one conftest.two conftest.dir
  117672. + echo one > conftest.one
  117673. + echo two > conftest.two
  117674. + mkdir conftest.dir
  117675. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  117676. + test -s conftest.one && test -s conftest.two &&
  117677. + test -s conftest.dir/conftest.one &&
  117678. + test -s conftest.dir/conftest.two
  117679. + then
  117680. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  117681. + break 3
  117682. + fi
  117683. + fi
  117684. + fi
  117685. + done
  117686. + done
  117687. + ;;
  117688. +esac
  117689. +
  117690. + done
  117691. +IFS=$as_save_IFS
  117692. +
  117693. +rm -rf conftest.one conftest.two conftest.dir
  117694. +
  117695. +fi
  117696. + if test "${ac_cv_path_install+set}" = set; then
  117697. + INSTALL=$ac_cv_path_install
  117698. + else
  117699. + # As a last resort, use the slow shell script. Don't cache a
  117700. + # value for INSTALL within a source directory, because that will
  117701. + # break other packages using the cache if that directory is
  117702. + # removed, or if the value is a relative name.
  117703. + INSTALL=$ac_install_sh
  117704. + fi
  117705. +fi
  117706. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  117707. +$as_echo "$INSTALL" >&6; }
  117708. +
  117709. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  117710. +# It thinks the first close brace ends the variable substitution.
  117711. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  117712. +
  117713. +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  117714. +
  117715. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  117716. +
  117717. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  117718. +$as_echo_n "checking whether build environment is sane... " >&6; }
  117719. +# Just in case
  117720. +sleep 1
  117721. +echo timestamp > conftest.file
  117722. +# Reject unsafe characters in $srcdir or the absolute working directory
  117723. +# name. Accept space and tab only in the latter.
  117724. +am_lf='
  117725. +'
  117726. +case `pwd` in
  117727. + *[\\\"\#\$\&\'\`$am_lf]*)
  117728. + as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  117729. +esac
  117730. +case $srcdir in
  117731. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  117732. + as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  117733. +esac
  117734. +
  117735. +# Do `set' in a subshell so we don't clobber the current shell's
  117736. +# arguments. Must try -L first in case configure is actually a
  117737. +# symlink; some systems play weird games with the mod time of symlinks
  117738. +# (eg FreeBSD returns the mod time of the symlink's containing
  117739. +# directory).
  117740. +if (
  117741. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  117742. + if test "$*" = "X"; then
  117743. + # -L didn't work.
  117744. + set X `ls -t "$srcdir/configure" conftest.file`
  117745. + fi
  117746. + rm -f conftest.file
  117747. + if test "$*" != "X $srcdir/configure conftest.file" \
  117748. + && test "$*" != "X conftest.file $srcdir/configure"; then
  117749. +
  117750. + # If neither matched, then we have a broken ls. This can happen
  117751. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  117752. + # broken ls alias from the environment. This has actually
  117753. + # happened. Such a system could not be considered "sane".
  117754. + as_fn_error "ls -t appears to fail. Make sure there is not a broken
  117755. +alias in your environment" "$LINENO" 5
  117756. + fi
  117757. +
  117758. + test "$2" = conftest.file
  117759. + )
  117760. +then
  117761. + # Ok.
  117762. + :
  117763. +else
  117764. + as_fn_error "newly created file is older than distributed files!
  117765. +Check your system clock" "$LINENO" 5
  117766. +fi
  117767. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  117768. +$as_echo "yes" >&6; }
  117769. +test "$program_prefix" != NONE &&
  117770. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  117771. +# Use a double $ so make ignores it.
  117772. +test "$program_suffix" != NONE &&
  117773. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  117774. +# Double any \ or $.
  117775. +# By default was `s,x,x', remove it if useless.
  117776. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  117777. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  117778. +
  117779. +# expand $ac_aux_dir to an absolute path
  117780. +am_aux_dir=`cd $ac_aux_dir && pwd`
  117781. +
  117782. +if test x"${MISSING+set}" != xset; then
  117783. + case $am_aux_dir in
  117784. + *\ * | *\ *)
  117785. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  117786. + *)
  117787. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  117788. + esac
  117789. +fi
  117790. +# Use eval to expand $SHELL
  117791. +if eval "$MISSING --run true"; then
  117792. + am_missing_run="$MISSING --run "
  117793. +else
  117794. + am_missing_run=
  117795. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  117796. +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  117797. +fi
  117798. +
  117799. +if test x"${install_sh}" != xset; then
  117800. + case $am_aux_dir in
  117801. + *\ * | *\ *)
  117802. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  117803. + *)
  117804. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  117805. + esac
  117806. +fi
  117807. +
  117808. +# Installed binaries are usually stripped using `strip' when the user
  117809. +# run `make install-strip'. However `strip' might not be the right
  117810. +# tool to use in cross-compilation environments, therefore Automake
  117811. +# will honor the `STRIP' environment variable to overrule this program.
  117812. +if test "$cross_compiling" != no; then
  117813. + if test -n "$ac_tool_prefix"; then
  117814. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  117815. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  117816. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  117817. +$as_echo_n "checking for $ac_word... " >&6; }
  117818. +if test "${ac_cv_prog_STRIP+set}" = set; then :
  117819. + $as_echo_n "(cached) " >&6
  117820. +else
  117821. + if test -n "$STRIP"; then
  117822. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  117823. +else
  117824. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  117825. +for as_dir in $PATH
  117826. +do
  117827. + IFS=$as_save_IFS
  117828. + test -z "$as_dir" && as_dir=.
  117829. + for ac_exec_ext in '' $ac_executable_extensions; do
  117830. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  117831. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  117832. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  117833. + break 2
  117834. + fi
  117835. +done
  117836. + done
  117837. +IFS=$as_save_IFS
  117838. +
  117839. +fi
  117840. +fi
  117841. +STRIP=$ac_cv_prog_STRIP
  117842. +if test -n "$STRIP"; then
  117843. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  117844. +$as_echo "$STRIP" >&6; }
  117845. +else
  117846. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  117847. +$as_echo "no" >&6; }
  117848. +fi
  117849. +
  117850. +
  117851. +fi
  117852. +if test -z "$ac_cv_prog_STRIP"; then
  117853. + ac_ct_STRIP=$STRIP
  117854. + # Extract the first word of "strip", so it can be a program name with args.
  117855. +set dummy strip; ac_word=$2
  117856. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  117857. +$as_echo_n "checking for $ac_word... " >&6; }
  117858. +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  117859. + $as_echo_n "(cached) " >&6
  117860. +else
  117861. + if test -n "$ac_ct_STRIP"; then
  117862. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  117863. +else
  117864. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  117865. +for as_dir in $PATH
  117866. +do
  117867. + IFS=$as_save_IFS
  117868. + test -z "$as_dir" && as_dir=.
  117869. + for ac_exec_ext in '' $ac_executable_extensions; do
  117870. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  117871. + ac_cv_prog_ac_ct_STRIP="strip"
  117872. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  117873. + break 2
  117874. + fi
  117875. +done
  117876. + done
  117877. +IFS=$as_save_IFS
  117878. +
  117879. +fi
  117880. +fi
  117881. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  117882. +if test -n "$ac_ct_STRIP"; then
  117883. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  117884. +$as_echo "$ac_ct_STRIP" >&6; }
  117885. +else
  117886. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  117887. +$as_echo "no" >&6; }
  117888. +fi
  117889. +
  117890. + if test "x$ac_ct_STRIP" = x; then
  117891. + STRIP=":"
  117892. + else
  117893. + case $cross_compiling:$ac_tool_warned in
  117894. +yes:)
  117895. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  117896. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  117897. +ac_tool_warned=yes ;;
  117898. +esac
  117899. + STRIP=$ac_ct_STRIP
  117900. + fi
  117901. +else
  117902. + STRIP="$ac_cv_prog_STRIP"
  117903. +fi
  117904. +
  117905. +fi
  117906. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  117907. +
  117908. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  117909. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  117910. +if test -z "$MKDIR_P"; then
  117911. + if test "${ac_cv_path_mkdir+set}" = set; then :
  117912. + $as_echo_n "(cached) " >&6
  117913. +else
  117914. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  117915. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  117916. +do
  117917. + IFS=$as_save_IFS
  117918. + test -z "$as_dir" && as_dir=.
  117919. + for ac_prog in mkdir gmkdir; do
  117920. + for ac_exec_ext in '' $ac_executable_extensions; do
  117921. + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  117922. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  117923. + 'mkdir (GNU coreutils) '* | \
  117924. + 'mkdir (coreutils) '* | \
  117925. + 'mkdir (fileutils) '4.1*)
  117926. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  117927. + break 3;;
  117928. + esac
  117929. + done
  117930. + done
  117931. + done
  117932. +IFS=$as_save_IFS
  117933. +
  117934. +fi
  117935. +
  117936. + test -d ./--version && rmdir ./--version
  117937. + if test "${ac_cv_path_mkdir+set}" = set; then
  117938. + MKDIR_P="$ac_cv_path_mkdir -p"
  117939. + else
  117940. + # As a last resort, use the slow shell script. Don't cache a
  117941. + # value for MKDIR_P within a source directory, because that will
  117942. + # break other packages using the cache if that directory is
  117943. + # removed, or if the value is a relative name.
  117944. + MKDIR_P="$ac_install_sh -d"
  117945. + fi
  117946. +fi
  117947. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  117948. +$as_echo "$MKDIR_P" >&6; }
  117949. +
  117950. +mkdir_p="$MKDIR_P"
  117951. +case $mkdir_p in
  117952. + [\\/$]* | ?:[\\/]*) ;;
  117953. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  117954. +esac
  117955. +
  117956. +for ac_prog in gawk mawk nawk awk
  117957. +do
  117958. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  117959. +set dummy $ac_prog; ac_word=$2
  117960. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  117961. +$as_echo_n "checking for $ac_word... " >&6; }
  117962. +if test "${ac_cv_prog_AWK+set}" = set; then :
  117963. + $as_echo_n "(cached) " >&6
  117964. +else
  117965. + if test -n "$AWK"; then
  117966. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  117967. +else
  117968. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  117969. +for as_dir in $PATH
  117970. +do
  117971. + IFS=$as_save_IFS
  117972. + test -z "$as_dir" && as_dir=.
  117973. + for ac_exec_ext in '' $ac_executable_extensions; do
  117974. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  117975. + ac_cv_prog_AWK="$ac_prog"
  117976. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  117977. + break 2
  117978. + fi
  117979. +done
  117980. + done
  117981. +IFS=$as_save_IFS
  117982. +
  117983. +fi
  117984. +fi
  117985. +AWK=$ac_cv_prog_AWK
  117986. +if test -n "$AWK"; then
  117987. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  117988. +$as_echo "$AWK" >&6; }
  117989. +else
  117990. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  117991. +$as_echo "no" >&6; }
  117992. +fi
  117993. +
  117994. +
  117995. + test -n "$AWK" && break
  117996. +done
  117997. +
  117998. +rm -rf .tst 2>/dev/null
  117999. +mkdir .tst 2>/dev/null
  118000. +if test -d .tst; then
  118001. + am__leading_dot=.
  118002. +else
  118003. + am__leading_dot=_
  118004. +fi
  118005. +rmdir .tst 2>/dev/null
  118006. +
  118007. +DEPDIR="${am__leading_dot}deps"
  118008. +
  118009. +ac_config_commands="$ac_config_commands depfiles"
  118010. +
  118011. +
  118012. +am_make=${MAKE-make}
  118013. +cat > confinc << 'END'
  118014. +am__doit:
  118015. + @echo this is the am__doit target
  118016. +.PHONY: am__doit
  118017. +END
  118018. +# If we don't find an include directive, just comment out the code.
  118019. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  118020. +$as_echo_n "checking for style of include used by $am_make... " >&6; }
  118021. +am__include="#"
  118022. +am__quote=
  118023. +_am_result=none
  118024. +# First try GNU make style include.
  118025. +echo "include confinc" > confmf
  118026. +# Ignore all kinds of additional output from `make'.
  118027. +case `$am_make -s -f confmf 2> /dev/null` in #(
  118028. +*the\ am__doit\ target*)
  118029. + am__include=include
  118030. + am__quote=
  118031. + _am_result=GNU
  118032. + ;;
  118033. +esac
  118034. +# Now try BSD make style include.
  118035. +if test "$am__include" = "#"; then
  118036. + echo '.include "confinc"' > confmf
  118037. + case `$am_make -s -f confmf 2> /dev/null` in #(
  118038. + *the\ am__doit\ target*)
  118039. + am__include=.include
  118040. + am__quote="\""
  118041. + _am_result=BSD
  118042. + ;;
  118043. + esac
  118044. +fi
  118045. +
  118046. +
  118047. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  118048. +$as_echo "$_am_result" >&6; }
  118049. +rm -f confinc confmf
  118050. +
  118051. +@%:@ Check whether --enable-dependency-tracking was given.
  118052. +if test "${enable_dependency_tracking+set}" = set; then :
  118053. + enableval=$enable_dependency_tracking;
  118054. +fi
  118055. +
  118056. +if test "x$enable_dependency_tracking" != xno; then
  118057. + am_depcomp="$ac_aux_dir/depcomp"
  118058. + AMDEPBACKSLASH='\'
  118059. +fi
  118060. + if test "x$enable_dependency_tracking" != xno; then
  118061. + AMDEP_TRUE=
  118062. + AMDEP_FALSE='#'
  118063. +else
  118064. + AMDEP_TRUE='#'
  118065. + AMDEP_FALSE=
  118066. +fi
  118067. +
  118068. +
  118069. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  118070. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  118071. + # is not polluted with repeated "-I."
  118072. + am__isrc=' -I$(srcdir)'
  118073. + # test to see if srcdir already configured
  118074. + if test -f $srcdir/config.status; then
  118075. + as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  118076. + fi
  118077. +fi
  118078. +
  118079. +# test whether we have cygpath
  118080. +if test -z "$CYGPATH_W"; then
  118081. + if (cygpath --version) >/dev/null 2>/dev/null; then
  118082. + CYGPATH_W='cygpath -w'
  118083. + else
  118084. + CYGPATH_W=echo
  118085. + fi
  118086. +fi
  118087. +
  118088. +
  118089. +# Define the identity of the package.
  118090. + PACKAGE=libTrie
  118091. + VERSION=0.1
  118092. +
  118093. +
  118094. +cat >>confdefs.h <<_ACEOF
  118095. +@%:@define PACKAGE "$PACKAGE"
  118096. +_ACEOF
  118097. +
  118098. +
  118099. +cat >>confdefs.h <<_ACEOF
  118100. +@%:@define VERSION "$VERSION"
  118101. +_ACEOF
  118102. +
  118103. +# Some tools Automake needs.
  118104. +
  118105. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  118106. +
  118107. +
  118108. +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  118109. +
  118110. +
  118111. +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  118112. +
  118113. +
  118114. +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  118115. +
  118116. +
  118117. +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  118118. +
  118119. +# We need awk for the "check" target. The system "awk" is bad on
  118120. +# some platforms.
  118121. +# Always define AMTAR for backward compatibility.
  118122. +
  118123. +AMTAR=${AMTAR-"${am_missing_run}tar"}
  118124. +
  118125. +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  118126. +
  118127. +
  118128. +
  118129. +
  118130. +depcc="$CC" am_compiler_list=
  118131. +
  118132. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  118133. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  118134. +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  118135. + $as_echo_n "(cached) " >&6
  118136. +else
  118137. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  118138. + # We make a subdir and do the tests there. Otherwise we can end up
  118139. + # making bogus files that we don't know about and never remove. For
  118140. + # instance it was reported that on HP-UX the gcc test will end up
  118141. + # making a dummy file named `D' -- because `-MD' means `put the output
  118142. + # in D'.
  118143. + mkdir conftest.dir
  118144. + # Copy depcomp to subdir because otherwise we won't find it if we're
  118145. + # using a relative directory.
  118146. + cp "$am_depcomp" conftest.dir
  118147. + cd conftest.dir
  118148. + # We will build objects and dependencies in a subdirectory because
  118149. + # it helps to detect inapplicable dependency modes. For instance
  118150. + # both Tru64's cc and ICC support -MD to output dependencies as a
  118151. + # side effect of compilation, but ICC will put the dependencies in
  118152. + # the current directory while Tru64 will put them in the object
  118153. + # directory.
  118154. + mkdir sub
  118155. +
  118156. + am_cv_CC_dependencies_compiler_type=none
  118157. + if test "$am_compiler_list" = ""; then
  118158. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  118159. + fi
  118160. + am__universal=false
  118161. + case " $depcc " in #(
  118162. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  118163. + esac
  118164. +
  118165. + for depmode in $am_compiler_list; do
  118166. + # Setup a source with many dependencies, because some compilers
  118167. + # like to wrap large dependency lists on column 80 (with \), and
  118168. + # we should not choose a depcomp mode which is confused by this.
  118169. + #
  118170. + # We need to recreate these files for each test, as the compiler may
  118171. + # overwrite some of them when testing with obscure command lines.
  118172. + # This happens at least with the AIX C compiler.
  118173. + : > sub/conftest.c
  118174. + for i in 1 2 3 4 5 6; do
  118175. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  118176. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  118177. + # Solaris 8's {/usr,}/bin/sh.
  118178. + touch sub/conftst$i.h
  118179. + done
  118180. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  118181. +
  118182. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  118183. + # mode. It turns out that the SunPro C++ compiler does not properly
  118184. + # handle `-M -o', and we need to detect this. Also, some Intel
  118185. + # versions had trouble with output in subdirs
  118186. + am__obj=sub/conftest.${OBJEXT-o}
  118187. + am__minus_obj="-o $am__obj"
  118188. + case $depmode in
  118189. + gcc)
  118190. + # This depmode causes a compiler race in universal mode.
  118191. + test "$am__universal" = false || continue
  118192. + ;;
  118193. + nosideeffect)
  118194. + # after this tag, mechanisms are not by side-effect, so they'll
  118195. + # only be used when explicitly requested
  118196. + if test "x$enable_dependency_tracking" = xyes; then
  118197. + continue
  118198. + else
  118199. + break
  118200. + fi
  118201. + ;;
  118202. + msvisualcpp | msvcmsys)
  118203. + # This compiler won't grok `-c -o', but also, the minuso test has
  118204. + # not run yet. These depmodes are late enough in the game, and
  118205. + # so weak that their functioning should not be impacted.
  118206. + am__obj=conftest.${OBJEXT-o}
  118207. + am__minus_obj=
  118208. + ;;
  118209. + none) break ;;
  118210. + esac
  118211. + if depmode=$depmode \
  118212. + source=sub/conftest.c object=$am__obj \
  118213. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  118214. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  118215. + >/dev/null 2>conftest.err &&
  118216. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  118217. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  118218. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  118219. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  118220. + # icc doesn't choke on unknown options, it will just issue warnings
  118221. + # or remarks (even with -Werror). So we grep stderr for any message
  118222. + # that says an option was ignored or not supported.
  118223. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  118224. + # icc: Command line warning: ignoring option '-M'; no argument required
  118225. + # The diagnosis changed in icc 8.0:
  118226. + # icc: Command line remark: option '-MP' not supported
  118227. + if (grep 'ignoring option' conftest.err ||
  118228. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  118229. + am_cv_CC_dependencies_compiler_type=$depmode
  118230. + break
  118231. + fi
  118232. + fi
  118233. + done
  118234. +
  118235. + cd ..
  118236. + rm -rf conftest.dir
  118237. +else
  118238. + am_cv_CC_dependencies_compiler_type=none
  118239. +fi
  118240. +
  118241. +fi
  118242. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  118243. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  118244. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  118245. +
  118246. + if
  118247. + test "x$enable_dependency_tracking" != xno \
  118248. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  118249. + am__fastdepCC_TRUE=
  118250. + am__fastdepCC_FALSE='#'
  118251. +else
  118252. + am__fastdepCC_TRUE='#'
  118253. + am__fastdepCC_FALSE=
  118254. +fi
  118255. +
  118256. +
  118257. +depcc="$CXX" am_compiler_list=
  118258. +
  118259. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  118260. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  118261. +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
  118262. + $as_echo_n "(cached) " >&6
  118263. +else
  118264. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  118265. + # We make a subdir and do the tests there. Otherwise we can end up
  118266. + # making bogus files that we don't know about and never remove. For
  118267. + # instance it was reported that on HP-UX the gcc test will end up
  118268. + # making a dummy file named `D' -- because `-MD' means `put the output
  118269. + # in D'.
  118270. + mkdir conftest.dir
  118271. + # Copy depcomp to subdir because otherwise we won't find it if we're
  118272. + # using a relative directory.
  118273. + cp "$am_depcomp" conftest.dir
  118274. + cd conftest.dir
  118275. + # We will build objects and dependencies in a subdirectory because
  118276. + # it helps to detect inapplicable dependency modes. For instance
  118277. + # both Tru64's cc and ICC support -MD to output dependencies as a
  118278. + # side effect of compilation, but ICC will put the dependencies in
  118279. + # the current directory while Tru64 will put them in the object
  118280. + # directory.
  118281. + mkdir sub
  118282. +
  118283. + am_cv_CXX_dependencies_compiler_type=none
  118284. + if test "$am_compiler_list" = ""; then
  118285. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  118286. + fi
  118287. + am__universal=false
  118288. + case " $depcc " in #(
  118289. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  118290. + esac
  118291. +
  118292. + for depmode in $am_compiler_list; do
  118293. + # Setup a source with many dependencies, because some compilers
  118294. + # like to wrap large dependency lists on column 80 (with \), and
  118295. + # we should not choose a depcomp mode which is confused by this.
  118296. + #
  118297. + # We need to recreate these files for each test, as the compiler may
  118298. + # overwrite some of them when testing with obscure command lines.
  118299. + # This happens at least with the AIX C compiler.
  118300. + : > sub/conftest.c
  118301. + for i in 1 2 3 4 5 6; do
  118302. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  118303. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  118304. + # Solaris 8's {/usr,}/bin/sh.
  118305. + touch sub/conftst$i.h
  118306. + done
  118307. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  118308. +
  118309. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  118310. + # mode. It turns out that the SunPro C++ compiler does not properly
  118311. + # handle `-M -o', and we need to detect this. Also, some Intel
  118312. + # versions had trouble with output in subdirs
  118313. + am__obj=sub/conftest.${OBJEXT-o}
  118314. + am__minus_obj="-o $am__obj"
  118315. + case $depmode in
  118316. + gcc)
  118317. + # This depmode causes a compiler race in universal mode.
  118318. + test "$am__universal" = false || continue
  118319. + ;;
  118320. + nosideeffect)
  118321. + # after this tag, mechanisms are not by side-effect, so they'll
  118322. + # only be used when explicitly requested
  118323. + if test "x$enable_dependency_tracking" = xyes; then
  118324. + continue
  118325. + else
  118326. + break
  118327. + fi
  118328. + ;;
  118329. + msvisualcpp | msvcmsys)
  118330. + # This compiler won't grok `-c -o', but also, the minuso test has
  118331. + # not run yet. These depmodes are late enough in the game, and
  118332. + # so weak that their functioning should not be impacted.
  118333. + am__obj=conftest.${OBJEXT-o}
  118334. + am__minus_obj=
  118335. + ;;
  118336. + none) break ;;
  118337. + esac
  118338. + if depmode=$depmode \
  118339. + source=sub/conftest.c object=$am__obj \
  118340. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  118341. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  118342. + >/dev/null 2>conftest.err &&
  118343. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  118344. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  118345. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  118346. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  118347. + # icc doesn't choke on unknown options, it will just issue warnings
  118348. + # or remarks (even with -Werror). So we grep stderr for any message
  118349. + # that says an option was ignored or not supported.
  118350. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  118351. + # icc: Command line warning: ignoring option '-M'; no argument required
  118352. + # The diagnosis changed in icc 8.0:
  118353. + # icc: Command line remark: option '-MP' not supported
  118354. + if (grep 'ignoring option' conftest.err ||
  118355. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  118356. + am_cv_CXX_dependencies_compiler_type=$depmode
  118357. + break
  118358. + fi
  118359. + fi
  118360. + done
  118361. +
  118362. + cd ..
  118363. + rm -rf conftest.dir
  118364. +else
  118365. + am_cv_CXX_dependencies_compiler_type=none
  118366. +fi
  118367. +
  118368. +fi
  118369. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
  118370. +$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  118371. +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  118372. +
  118373. + if
  118374. + test "x$enable_dependency_tracking" != xno \
  118375. + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  118376. + am__fastdepCXX_TRUE=
  118377. + am__fastdepCXX_FALSE='#'
  118378. +else
  118379. + am__fastdepCXX_TRUE='#'
  118380. + am__fastdepCXX_FALSE=
  118381. +fi
  118382. +
  118383. +
  118384. +
  118385. +
  118386. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  118387. +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  118388. + @%:@ Check whether --enable-maintainer-mode was given.
  118389. +if test "${enable_maintainer_mode+set}" = set; then :
  118390. + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  118391. +else
  118392. + USE_MAINTAINER_MODE=no
  118393. +fi
  118394. +
  118395. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  118396. +$as_echo "$USE_MAINTAINER_MODE" >&6; }
  118397. + if test $USE_MAINTAINER_MODE = yes; then
  118398. + MAINTAINER_MODE_TRUE=
  118399. + MAINTAINER_MODE_FALSE='#'
  118400. +else
  118401. + MAINTAINER_MODE_TRUE='#'
  118402. + MAINTAINER_MODE_FALSE=
  118403. +fi
  118404. +
  118405. + MAINT=$MAINTAINER_MODE_TRUE
  118406. +
  118407. +
  118408. +if test -n "$ac_tool_prefix"; then
  118409. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  118410. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  118411. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  118412. +$as_echo_n "checking for $ac_word... " >&6; }
  118413. +if test "${ac_cv_prog_RANLIB+set}" = set; then :
  118414. + $as_echo_n "(cached) " >&6
  118415. +else
  118416. + if test -n "$RANLIB"; then
  118417. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  118418. +else
  118419. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  118420. +for as_dir in $PATH
  118421. +do
  118422. + IFS=$as_save_IFS
  118423. + test -z "$as_dir" && as_dir=.
  118424. + for ac_exec_ext in '' $ac_executable_extensions; do
  118425. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  118426. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  118427. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  118428. + break 2
  118429. + fi
  118430. +done
  118431. + done
  118432. +IFS=$as_save_IFS
  118433. +
  118434. +fi
  118435. +fi
  118436. +RANLIB=$ac_cv_prog_RANLIB
  118437. +if test -n "$RANLIB"; then
  118438. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  118439. +$as_echo "$RANLIB" >&6; }
  118440. +else
  118441. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  118442. +$as_echo "no" >&6; }
  118443. +fi
  118444. +
  118445. +
  118446. +fi
  118447. +if test -z "$ac_cv_prog_RANLIB"; then
  118448. + ac_ct_RANLIB=$RANLIB
  118449. + # Extract the first word of "ranlib", so it can be a program name with args.
  118450. +set dummy ranlib; ac_word=$2
  118451. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  118452. +$as_echo_n "checking for $ac_word... " >&6; }
  118453. +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  118454. + $as_echo_n "(cached) " >&6
  118455. +else
  118456. + if test -n "$ac_ct_RANLIB"; then
  118457. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  118458. +else
  118459. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  118460. +for as_dir in $PATH
  118461. +do
  118462. + IFS=$as_save_IFS
  118463. + test -z "$as_dir" && as_dir=.
  118464. + for ac_exec_ext in '' $ac_executable_extensions; do
  118465. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  118466. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  118467. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  118468. + break 2
  118469. + fi
  118470. +done
  118471. + done
  118472. +IFS=$as_save_IFS
  118473. +
  118474. +fi
  118475. +fi
  118476. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  118477. +if test -n "$ac_ct_RANLIB"; then
  118478. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  118479. +$as_echo "$ac_ct_RANLIB" >&6; }
  118480. +else
  118481. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  118482. +$as_echo "no" >&6; }
  118483. +fi
  118484. +
  118485. + if test "x$ac_ct_RANLIB" = x; then
  118486. + RANLIB=":"
  118487. + else
  118488. + case $cross_compiling:$ac_tool_warned in
  118489. +yes:)
  118490. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  118491. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  118492. +ac_tool_warned=yes ;;
  118493. +esac
  118494. + RANLIB=$ac_ct_RANLIB
  118495. + fi
  118496. +else
  118497. + RANLIB="$ac_cv_prog_RANLIB"
  118498. +fi
  118499. +
  118500. +
  118501. +if test "$GCC" = "yes"; then
  118502. + TRIE_CFLAGS="-Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments"
  118503. + TRIE_CXXFLAGS="-Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments"
  118504. +else
  118505. + TRIE_CFLAGS=
  118506. + TRIE_CXXFLAGS=
  118507. +fi
  118508. +
  118509. +
  118510. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts -fhuge-objects" >&5
  118511. +$as_echo_n "checking whether compiler accepts -fhuge-objects... " >&6; }
  118512. + if test "${ac_cv_test_checkforhugeobjects+set}" = set; then :
  118513. + $as_echo_n "(cached) " >&6
  118514. +else
  118515. +
  118516. + ac_cv_test_checkforhugeobjects=`echo "int foo;" > conftest.cc
  118517. +${CXX} -Werror -fhuge-objects -c conftest.cc 2>/dev/null
  118518. +res=$?
  118519. +rm -f conftest.*
  118520. +echo yes
  118521. +exit $res`
  118522. + if [ $? -ne 0 ]
  118523. + then ac_cv_test_checkforhugeobjects=no
  118524. + else if [ -z "$ac_cv_test_checkforhugeobjects" ]
  118525. + then ac_cv_test_checkforhugeobjects=yes
  118526. + fi ; fi
  118527. +
  118528. +fi
  118529. + # end of CACHE_VAL
  118530. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_test_checkforhugeobjects}" >&5
  118531. +$as_echo "${ac_cv_test_checkforhugeobjects}" >&6; }
  118532. +
  118533. + if test "X${ac_cv_test_checkforhugeobjects}" != Xno
  118534. + then
  118535. + HUGE_OBJECT_FLAG="-fhuge-objects"
  118536. + else
  118537. + HUGE_OBJECT_FLAG=""
  118538. + fi
  118539. +
  118540. +TRIE_CXXFLAGS="$TRIE_CXXFLAGS $HUGE_OBJECT_FLAG"
  118541. +
  118542. +
  118543. +
  118544. +
  118545. +# Checks for libraries.
  118546. +
  118547. +# Checks for header files.
  118548. +
  118549. +# Checks for typedefs, structures, and compiler characteristics.
  118550. +
  118551. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  118552. +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  118553. +if test "${ac_cv_c_const+set}" = set; then :
  118554. + $as_echo_n "(cached) " >&6
  118555. +else
  118556. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  118557. +/* end confdefs.h. */
  118558. +
  118559. +int
  118560. +main ()
  118561. +{
  118562. +/* FIXME: Include the comments suggested by Paul. */
  118563. +#ifndef __cplusplus
  118564. + /* Ultrix mips cc rejects this. */
  118565. + typedef int charset[2];
  118566. + const charset cs;
  118567. + /* SunOS 4.1.1 cc rejects this. */
  118568. + char const *const *pcpcc;
  118569. + char **ppc;
  118570. + /* NEC SVR4.0.2 mips cc rejects this. */
  118571. + struct point {int x, y;};
  118572. + static struct point const zero = {0,0};
  118573. + /* AIX XL C 1.02.0.0 rejects this.
  118574. + It does not let you subtract one const X* pointer from another in
  118575. + an arm of an if-expression whose if-part is not a constant
  118576. + expression */
  118577. + const char *g = "string";
  118578. + pcpcc = &g + (g ? g-g : 0);
  118579. + /* HPUX 7.0 cc rejects these. */
  118580. + ++pcpcc;
  118581. + ppc = (char**) pcpcc;
  118582. + pcpcc = (char const *const *) ppc;
  118583. + { /* SCO 3.2v4 cc rejects this. */
  118584. + char *t;
  118585. + char const *s = 0 ? (char *) 0 : (char const *) 0;
  118586. +
  118587. + *t++ = 0;
  118588. + if (s) return 0;
  118589. + }
  118590. + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  118591. + int x[] = {25, 17};
  118592. + const int *foo = &x[0];
  118593. + ++foo;
  118594. + }
  118595. + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  118596. + typedef const int *iptr;
  118597. + iptr p = 0;
  118598. + ++p;
  118599. + }
  118600. + { /* AIX XL C 1.02.0.0 rejects this saying
  118601. + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  118602. + struct s { int j; const int *ap[3]; };
  118603. + struct s *b; b->j = 5;
  118604. + }
  118605. + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  118606. + const int foo = 10;
  118607. + if (!foo) return 0;
  118608. + }
  118609. + return !cs[0] && !zero.x;
  118610. +#endif
  118611. +
  118612. + ;
  118613. + return 0;
  118614. +}
  118615. +_ACEOF
  118616. +if ac_fn_c_try_compile "$LINENO"; then :
  118617. + ac_cv_c_const=yes
  118618. +else
  118619. + ac_cv_c_const=no
  118620. +fi
  118621. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  118622. +fi
  118623. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  118624. +$as_echo "$ac_cv_c_const" >&6; }
  118625. +if test $ac_cv_c_const = no; then
  118626. +
  118627. +$as_echo "@%:@define const /**/" >>confdefs.h
  118628. +
  118629. +fi
  118630. +
  118631. +ac_ext=c
  118632. +ac_cpp='$CPP $CPPFLAGS'
  118633. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  118634. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  118635. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  118636. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  118637. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  118638. +# On Suns, sometimes $CPP names a directory.
  118639. +if test -n "$CPP" && test -d "$CPP"; then
  118640. + CPP=
  118641. +fi
  118642. +if test -z "$CPP"; then
  118643. + if test "${ac_cv_prog_CPP+set}" = set; then :
  118644. + $as_echo_n "(cached) " >&6
  118645. +else
  118646. + # Double quotes because CPP needs to be expanded
  118647. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  118648. + do
  118649. + ac_preproc_ok=false
  118650. +for ac_c_preproc_warn_flag in '' yes
  118651. +do
  118652. + # Use a header file that comes with gcc, so configuring glibc
  118653. + # with a fresh cross-compiler works.
  118654. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  118655. + # <limits.h> exists even on freestanding compilers.
  118656. + # On the NeXT, cc -E runs the code through the compiler's parser,
  118657. + # not just through cpp. "Syntax error" is here to catch this case.
  118658. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  118659. +/* end confdefs.h. */
  118660. +@%:@ifdef __STDC__
  118661. +@%:@ include <limits.h>
  118662. +@%:@else
  118663. +@%:@ include <assert.h>
  118664. +@%:@endif
  118665. + Syntax error
  118666. +_ACEOF
  118667. +if ac_fn_c_try_cpp "$LINENO"; then :
  118668. +
  118669. +else
  118670. + # Broken: fails on valid input.
  118671. +continue
  118672. +fi
  118673. +rm -f conftest.err conftest.$ac_ext
  118674. +
  118675. + # OK, works on sane cases. Now check whether nonexistent headers
  118676. + # can be detected and how.
  118677. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  118678. +/* end confdefs.h. */
  118679. +@%:@include <ac_nonexistent.h>
  118680. +_ACEOF
  118681. +if ac_fn_c_try_cpp "$LINENO"; then :
  118682. + # Broken: success on invalid input.
  118683. +continue
  118684. +else
  118685. + # Passes both tests.
  118686. +ac_preproc_ok=:
  118687. +break
  118688. +fi
  118689. +rm -f conftest.err conftest.$ac_ext
  118690. +
  118691. +done
  118692. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  118693. +rm -f conftest.err conftest.$ac_ext
  118694. +if $ac_preproc_ok; then :
  118695. + break
  118696. +fi
  118697. +
  118698. + done
  118699. + ac_cv_prog_CPP=$CPP
  118700. +
  118701. +fi
  118702. + CPP=$ac_cv_prog_CPP
  118703. +else
  118704. + ac_cv_prog_CPP=$CPP
  118705. +fi
  118706. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  118707. +$as_echo "$CPP" >&6; }
  118708. +ac_preproc_ok=false
  118709. +for ac_c_preproc_warn_flag in '' yes
  118710. +do
  118711. + # Use a header file that comes with gcc, so configuring glibc
  118712. + # with a fresh cross-compiler works.
  118713. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  118714. + # <limits.h> exists even on freestanding compilers.
  118715. + # On the NeXT, cc -E runs the code through the compiler's parser,
  118716. + # not just through cpp. "Syntax error" is here to catch this case.
  118717. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  118718. +/* end confdefs.h. */
  118719. +@%:@ifdef __STDC__
  118720. +@%:@ include <limits.h>
  118721. +@%:@else
  118722. +@%:@ include <assert.h>
  118723. +@%:@endif
  118724. + Syntax error
  118725. +_ACEOF
  118726. +if ac_fn_c_try_cpp "$LINENO"; then :
  118727. +
  118728. +else
  118729. + # Broken: fails on valid input.
  118730. +continue
  118731. +fi
  118732. +rm -f conftest.err conftest.$ac_ext
  118733. +
  118734. + # OK, works on sane cases. Now check whether nonexistent headers
  118735. + # can be detected and how.
  118736. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  118737. +/* end confdefs.h. */
  118738. +@%:@include <ac_nonexistent.h>
  118739. +_ACEOF
  118740. +if ac_fn_c_try_cpp "$LINENO"; then :
  118741. + # Broken: success on invalid input.
  118742. +continue
  118743. +else
  118744. + # Passes both tests.
  118745. +ac_preproc_ok=:
  118746. +break
  118747. +fi
  118748. +rm -f conftest.err conftest.$ac_ext
  118749. +
  118750. +done
  118751. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  118752. +rm -f conftest.err conftest.$ac_ext
  118753. +if $ac_preproc_ok; then :
  118754. +
  118755. +else
  118756. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  118757. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  118758. +as_fn_error "C preprocessor \"$CPP\" fails sanity check
  118759. +See \`config.log' for more details." "$LINENO" 5; }
  118760. +fi
  118761. +
  118762. +ac_ext=c
  118763. +ac_cpp='$CPP $CPPFLAGS'
  118764. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  118765. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  118766. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  118767. +
  118768. +
  118769. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  118770. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  118771. +if test "${ac_cv_path_GREP+set}" = set; then :
  118772. + $as_echo_n "(cached) " >&6
  118773. +else
  118774. + if test -z "$GREP"; then
  118775. + ac_path_GREP_found=false
  118776. + # Loop through the user's path and test for each of PROGNAME-LIST
  118777. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  118778. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  118779. +do
  118780. + IFS=$as_save_IFS
  118781. + test -z "$as_dir" && as_dir=.
  118782. + for ac_prog in grep ggrep; do
  118783. + for ac_exec_ext in '' $ac_executable_extensions; do
  118784. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  118785. + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  118786. +# Check for GNU ac_path_GREP and select it if it is found.
  118787. + # Check for GNU $ac_path_GREP
  118788. +case `"$ac_path_GREP" --version 2>&1` in
  118789. +*GNU*)
  118790. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  118791. +*)
  118792. + ac_count=0
  118793. + $as_echo_n 0123456789 >"conftest.in"
  118794. + while :
  118795. + do
  118796. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  118797. + mv "conftest.tmp" "conftest.in"
  118798. + cp "conftest.in" "conftest.nl"
  118799. + $as_echo 'GREP' >> "conftest.nl"
  118800. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  118801. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  118802. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  118803. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  118804. + # Best one so far, save it but keep looking for a better one
  118805. + ac_cv_path_GREP="$ac_path_GREP"
  118806. + ac_path_GREP_max=$ac_count
  118807. + fi
  118808. + # 10*(2^10) chars as input seems more than enough
  118809. + test $ac_count -gt 10 && break
  118810. + done
  118811. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  118812. +esac
  118813. +
  118814. + $ac_path_GREP_found && break 3
  118815. + done
  118816. + done
  118817. + done
  118818. +IFS=$as_save_IFS
  118819. + if test -z "$ac_cv_path_GREP"; then
  118820. + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  118821. + fi
  118822. +else
  118823. + ac_cv_path_GREP=$GREP
  118824. +fi
  118825. +
  118826. +fi
  118827. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  118828. +$as_echo "$ac_cv_path_GREP" >&6; }
  118829. + GREP="$ac_cv_path_GREP"
  118830. +
  118831. +
  118832. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  118833. +$as_echo_n "checking for egrep... " >&6; }
  118834. +if test "${ac_cv_path_EGREP+set}" = set; then :
  118835. + $as_echo_n "(cached) " >&6
  118836. +else
  118837. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  118838. + then ac_cv_path_EGREP="$GREP -E"
  118839. + else
  118840. + if test -z "$EGREP"; then
  118841. + ac_path_EGREP_found=false
  118842. + # Loop through the user's path and test for each of PROGNAME-LIST
  118843. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  118844. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  118845. +do
  118846. + IFS=$as_save_IFS
  118847. + test -z "$as_dir" && as_dir=.
  118848. + for ac_prog in egrep; do
  118849. + for ac_exec_ext in '' $ac_executable_extensions; do
  118850. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  118851. + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  118852. +# Check for GNU ac_path_EGREP and select it if it is found.
  118853. + # Check for GNU $ac_path_EGREP
  118854. +case `"$ac_path_EGREP" --version 2>&1` in
  118855. +*GNU*)
  118856. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  118857. +*)
  118858. + ac_count=0
  118859. + $as_echo_n 0123456789 >"conftest.in"
  118860. + while :
  118861. + do
  118862. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  118863. + mv "conftest.tmp" "conftest.in"
  118864. + cp "conftest.in" "conftest.nl"
  118865. + $as_echo 'EGREP' >> "conftest.nl"
  118866. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  118867. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  118868. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  118869. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  118870. + # Best one so far, save it but keep looking for a better one
  118871. + ac_cv_path_EGREP="$ac_path_EGREP"
  118872. + ac_path_EGREP_max=$ac_count
  118873. + fi
  118874. + # 10*(2^10) chars as input seems more than enough
  118875. + test $ac_count -gt 10 && break
  118876. + done
  118877. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  118878. +esac
  118879. +
  118880. + $ac_path_EGREP_found && break 3
  118881. + done
  118882. + done
  118883. + done
  118884. +IFS=$as_save_IFS
  118885. + if test -z "$ac_cv_path_EGREP"; then
  118886. + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  118887. + fi
  118888. +else
  118889. + ac_cv_path_EGREP=$EGREP
  118890. +fi
  118891. +
  118892. + fi
  118893. +fi
  118894. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  118895. +$as_echo "$ac_cv_path_EGREP" >&6; }
  118896. + EGREP="$ac_cv_path_EGREP"
  118897. +
  118898. +
  118899. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  118900. +$as_echo_n "checking for ANSI C header files... " >&6; }
  118901. +if test "${ac_cv_header_stdc+set}" = set; then :
  118902. + $as_echo_n "(cached) " >&6
  118903. +else
  118904. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  118905. +/* end confdefs.h. */
  118906. +#include <stdlib.h>
  118907. +#include <stdarg.h>
  118908. +#include <string.h>
  118909. +#include <float.h>
  118910. +
  118911. +int
  118912. +main ()
  118913. +{
  118914. +
  118915. + ;
  118916. + return 0;
  118917. +}
  118918. +_ACEOF
  118919. +if ac_fn_c_try_compile "$LINENO"; then :
  118920. + ac_cv_header_stdc=yes
  118921. +else
  118922. + ac_cv_header_stdc=no
  118923. +fi
  118924. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  118925. +
  118926. +if test $ac_cv_header_stdc = yes; then
  118927. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  118928. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  118929. +/* end confdefs.h. */
  118930. +#include <string.h>
  118931. +
  118932. +_ACEOF
  118933. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  118934. + $EGREP "memchr" >/dev/null 2>&1; then :
  118935. +
  118936. +else
  118937. + ac_cv_header_stdc=no
  118938. +fi
  118939. +rm -f conftest*
  118940. +
  118941. +fi
  118942. +
  118943. +if test $ac_cv_header_stdc = yes; then
  118944. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  118945. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  118946. +/* end confdefs.h. */
  118947. +#include <stdlib.h>
  118948. +
  118949. +_ACEOF
  118950. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  118951. + $EGREP "free" >/dev/null 2>&1; then :
  118952. +
  118953. +else
  118954. + ac_cv_header_stdc=no
  118955. +fi
  118956. +rm -f conftest*
  118957. +
  118958. +fi
  118959. +
  118960. +if test $ac_cv_header_stdc = yes; then
  118961. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  118962. + if test "$cross_compiling" = yes; then :
  118963. + :
  118964. +else
  118965. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  118966. +/* end confdefs.h. */
  118967. +#include <ctype.h>
  118968. +#include <stdlib.h>
  118969. +#if ((' ' & 0x0FF) == 0x020)
  118970. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  118971. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  118972. +#else
  118973. +# define ISLOWER(c) \
  118974. + (('a' <= (c) && (c) <= 'i') \
  118975. + || ('j' <= (c) && (c) <= 'r') \
  118976. + || ('s' <= (c) && (c) <= 'z'))
  118977. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  118978. +#endif
  118979. +
  118980. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  118981. +int
  118982. +main ()
  118983. +{
  118984. + int i;
  118985. + for (i = 0; i < 256; i++)
  118986. + if (XOR (islower (i), ISLOWER (i))
  118987. + || toupper (i) != TOUPPER (i))
  118988. + return 2;
  118989. + return 0;
  118990. +}
  118991. +_ACEOF
  118992. +if ac_fn_c_try_run "$LINENO"; then :
  118993. +
  118994. +else
  118995. + ac_cv_header_stdc=no
  118996. +fi
  118997. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  118998. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  118999. +fi
  119000. +
  119001. +fi
  119002. +fi
  119003. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  119004. +$as_echo "$ac_cv_header_stdc" >&6; }
  119005. +if test $ac_cv_header_stdc = yes; then
  119006. +
  119007. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  119008. +
  119009. +fi
  119010. +
  119011. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  119012. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  119013. + inttypes.h stdint.h unistd.h
  119014. +do :
  119015. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  119016. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  119017. +"
  119018. +eval as_val=\$$as_ac_Header
  119019. + if test "x$as_val" = x""yes; then :
  119020. + cat >>confdefs.h <<_ACEOF
  119021. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  119022. +_ACEOF
  119023. +
  119024. +fi
  119025. +
  119026. +done
  119027. +
  119028. +
  119029. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  119030. +if test "x$ac_cv_type_size_t" = x""yes; then :
  119031. +
  119032. +else
  119033. +
  119034. +cat >>confdefs.h <<_ACEOF
  119035. +@%:@define size_t unsigned int
  119036. +_ACEOF
  119037. +
  119038. +fi
  119039. +
  119040. +
  119041. +# Checks for library functions.
  119042. +
  119043. +ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile test/Makefile"
  119044. +
  119045. +cat >confcache <<\_ACEOF
  119046. +# This file is a shell script that caches the results of configure
  119047. +# tests run on this system so they can be shared between configure
  119048. +# scripts and configure runs, see configure's option --config-cache.
  119049. +# It is not useful on other systems. If it contains results you don't
  119050. +# want to keep, you may remove or edit it.
  119051. +#
  119052. +# config.status only pays attention to the cache file if you give it
  119053. +# the --recheck option to rerun configure.
  119054. +#
  119055. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  119056. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  119057. +# following values.
  119058. +
  119059. +_ACEOF
  119060. +
  119061. +# The following way of writing the cache mishandles newlines in values,
  119062. +# but we know of no workaround that is simple, portable, and efficient.
  119063. +# So, we kill variables containing newlines.
  119064. +# Ultrix sh set writes to stderr and can't be redirected directly,
  119065. +# and sets the high bit in the cache file unless we assign to the vars.
  119066. +(
  119067. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  119068. + eval ac_val=\$$ac_var
  119069. + case $ac_val in #(
  119070. + *${as_nl}*)
  119071. + case $ac_var in #(
  119072. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  119073. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  119074. + esac
  119075. + case $ac_var in #(
  119076. + _ | IFS | as_nl) ;; #(
  119077. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  119078. + *) { eval $ac_var=; unset $ac_var;} ;;
  119079. + esac ;;
  119080. + esac
  119081. + done
  119082. +
  119083. + (set) 2>&1 |
  119084. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  119085. + *${as_nl}ac_space=\ *)
  119086. + # `set' does not quote correctly, so add quotes: double-quote
  119087. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  119088. + sed -n \
  119089. + "s/'/'\\\\''/g;
  119090. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  119091. + ;; #(
  119092. + *)
  119093. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  119094. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  119095. + ;;
  119096. + esac |
  119097. + sort
  119098. +) |
  119099. + sed '
  119100. + /^ac_cv_env_/b end
  119101. + t clear
  119102. + :clear
  119103. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  119104. + t end
  119105. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  119106. + :end' >>confcache
  119107. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  119108. + if test -w "$cache_file"; then
  119109. + test "x$cache_file" != "x/dev/null" &&
  119110. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  119111. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  119112. + cat confcache >$cache_file
  119113. + else
  119114. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  119115. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  119116. + fi
  119117. +fi
  119118. +rm -f confcache
  119119. +
  119120. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  119121. +# Let make expand exec_prefix.
  119122. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  119123. +
  119124. +DEFS=-DHAVE_CONFIG_H
  119125. +
  119126. +ac_libobjs=
  119127. +ac_ltlibobjs=
  119128. +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
  119129. + # 1. Remove the extension, and $U if already installed.
  119130. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  119131. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  119132. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  119133. + # will be set to the directory where LIBOBJS objects are built.
  119134. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  119135. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  119136. +done
  119137. +LIB@&t@OBJS=$ac_libobjs
  119138. +
  119139. +LTLIBOBJS=$ac_ltlibobjs
  119140. +
  119141. +
  119142. +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  119143. + as_fn_error "conditional \"AMDEP\" was never defined.
  119144. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  119145. +fi
  119146. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  119147. + as_fn_error "conditional \"am__fastdepCC\" was never defined.
  119148. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  119149. +fi
  119150. +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  119151. + as_fn_error "conditional \"am__fastdepCXX\" was never defined.
  119152. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  119153. +fi
  119154. + if test -n "$EXEEXT"; then
  119155. + am__EXEEXT_TRUE=
  119156. + am__EXEEXT_FALSE='#'
  119157. +else
  119158. + am__EXEEXT_TRUE='#'
  119159. + am__EXEEXT_FALSE=
  119160. +fi
  119161. +
  119162. +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  119163. + as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
  119164. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  119165. +fi
  119166. +
  119167. +: ${CONFIG_STATUS=./config.status}
  119168. +ac_write_fail=0
  119169. +ac_clean_files_save=$ac_clean_files
  119170. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  119171. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  119172. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  119173. +as_write_fail=0
  119174. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  119175. +#! $SHELL
  119176. +# Generated by $as_me.
  119177. +# Run this file to recreate the current configuration.
  119178. +# Compiler output produced by configure, useful for debugging
  119179. +# configure, is in config.log if it exists.
  119180. +
  119181. +debug=false
  119182. +ac_cs_recheck=false
  119183. +ac_cs_silent=false
  119184. +
  119185. +SHELL=\${CONFIG_SHELL-$SHELL}
  119186. +export SHELL
  119187. +_ASEOF
  119188. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  119189. +## -------------------- ##
  119190. +## M4sh Initialization. ##
  119191. +## -------------------- ##
  119192. +
  119193. +# Be more Bourne compatible
  119194. +DUALCASE=1; export DUALCASE # for MKS sh
  119195. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  119196. + emulate sh
  119197. + NULLCMD=:
  119198. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  119199. + # is contrary to our usage. Disable this feature.
  119200. + alias -g '${1+"$@"}'='"$@"'
  119201. + setopt NO_GLOB_SUBST
  119202. +else
  119203. + case `(set -o) 2>/dev/null` in @%:@(
  119204. + *posix*) :
  119205. + set -o posix ;; @%:@(
  119206. + *) :
  119207. + ;;
  119208. +esac
  119209. +fi
  119210. +
  119211. +
  119212. +as_nl='
  119213. +'
  119214. +export as_nl
  119215. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  119216. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  119217. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  119218. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  119219. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  119220. +# but without wasting forks for bash or zsh.
  119221. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  119222. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  119223. + as_echo='print -r --'
  119224. + as_echo_n='print -rn --'
  119225. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  119226. + as_echo='printf %s\n'
  119227. + as_echo_n='printf %s'
  119228. +else
  119229. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  119230. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  119231. + as_echo_n='/usr/ucb/echo -n'
  119232. + else
  119233. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  119234. + as_echo_n_body='eval
  119235. + arg=$1;
  119236. + case $arg in @%:@(
  119237. + *"$as_nl"*)
  119238. + expr "X$arg" : "X\\(.*\\)$as_nl";
  119239. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  119240. + esac;
  119241. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  119242. + '
  119243. + export as_echo_n_body
  119244. + as_echo_n='sh -c $as_echo_n_body as_echo'
  119245. + fi
  119246. + export as_echo_body
  119247. + as_echo='sh -c $as_echo_body as_echo'
  119248. +fi
  119249. +
  119250. +# The user is always right.
  119251. +if test "${PATH_SEPARATOR+set}" != set; then
  119252. + PATH_SEPARATOR=:
  119253. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  119254. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  119255. + PATH_SEPARATOR=';'
  119256. + }
  119257. +fi
  119258. +
  119259. +
  119260. +# IFS
  119261. +# We need space, tab and new line, in precisely that order. Quoting is
  119262. +# there to prevent editors from complaining about space-tab.
  119263. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  119264. +# splitting by setting IFS to empty value.)
  119265. +IFS=" "" $as_nl"
  119266. +
  119267. +# Find who we are. Look in the path if we contain no directory separator.
  119268. +case $0 in @%:@((
  119269. + *[\\/]* ) as_myself=$0 ;;
  119270. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  119271. +for as_dir in $PATH
  119272. +do
  119273. + IFS=$as_save_IFS
  119274. + test -z "$as_dir" && as_dir=.
  119275. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  119276. + done
  119277. +IFS=$as_save_IFS
  119278. +
  119279. + ;;
  119280. +esac
  119281. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  119282. +# in which case we are not to be found in the path.
  119283. +if test "x$as_myself" = x; then
  119284. + as_myself=$0
  119285. +fi
  119286. +if test ! -f "$as_myself"; then
  119287. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  119288. + exit 1
  119289. +fi
  119290. +
  119291. +# Unset variables that we do not need and which cause bugs (e.g. in
  119292. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  119293. +# suppresses any "Segmentation fault" message there. '((' could
  119294. +# trigger a bug in pdksh 5.2.14.
  119295. +for as_var in BASH_ENV ENV MAIL MAILPATH
  119296. +do eval test x\${$as_var+set} = xset \
  119297. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  119298. +done
  119299. +PS1='$ '
  119300. +PS2='> '
  119301. +PS4='+ '
  119302. +
  119303. +# NLS nuisances.
  119304. +LC_ALL=C
  119305. +export LC_ALL
  119306. +LANGUAGE=C
  119307. +export LANGUAGE
  119308. +
  119309. +# CDPATH.
  119310. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  119311. +
  119312. +
  119313. +@%:@ as_fn_error ERROR [LINENO LOG_FD]
  119314. +@%:@ ---------------------------------
  119315. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  119316. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  119317. +@%:@ script with status @S|@?, using 1 if that was 0.
  119318. +as_fn_error ()
  119319. +{
  119320. + as_status=$?; test $as_status -eq 0 && as_status=1
  119321. + if test "$3"; then
  119322. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  119323. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  119324. + fi
  119325. + $as_echo "$as_me: error: $1" >&2
  119326. + as_fn_exit $as_status
  119327. +} @%:@ as_fn_error
  119328. +
  119329. +
  119330. +@%:@ as_fn_set_status STATUS
  119331. +@%:@ -----------------------
  119332. +@%:@ Set @S|@? to STATUS, without forking.
  119333. +as_fn_set_status ()
  119334. +{
  119335. + return $1
  119336. +} @%:@ as_fn_set_status
  119337. +
  119338. +@%:@ as_fn_exit STATUS
  119339. +@%:@ -----------------
  119340. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  119341. +as_fn_exit ()
  119342. +{
  119343. + set +e
  119344. + as_fn_set_status $1
  119345. + exit $1
  119346. +} @%:@ as_fn_exit
  119347. +
  119348. +@%:@ as_fn_unset VAR
  119349. +@%:@ ---------------
  119350. +@%:@ Portably unset VAR.
  119351. +as_fn_unset ()
  119352. +{
  119353. + { eval $1=; unset $1;}
  119354. +}
  119355. +as_unset=as_fn_unset
  119356. +@%:@ as_fn_append VAR VALUE
  119357. +@%:@ ----------------------
  119358. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  119359. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  119360. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  119361. +@%:@ implementations.
  119362. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  119363. + eval 'as_fn_append ()
  119364. + {
  119365. + eval $1+=\$2
  119366. + }'
  119367. +else
  119368. + as_fn_append ()
  119369. + {
  119370. + eval $1=\$$1\$2
  119371. + }
  119372. +fi # as_fn_append
  119373. +
  119374. +@%:@ as_fn_arith ARG...
  119375. +@%:@ ------------------
  119376. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  119377. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  119378. +@%:@ must be portable across @S|@(()) and expr.
  119379. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  119380. + eval 'as_fn_arith ()
  119381. + {
  119382. + as_val=$(( $* ))
  119383. + }'
  119384. +else
  119385. + as_fn_arith ()
  119386. + {
  119387. + as_val=`expr "$@" || test $? -eq 1`
  119388. + }
  119389. +fi # as_fn_arith
  119390. +
  119391. +
  119392. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  119393. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  119394. + as_expr=expr
  119395. +else
  119396. + as_expr=false
  119397. +fi
  119398. +
  119399. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  119400. + as_basename=basename
  119401. +else
  119402. + as_basename=false
  119403. +fi
  119404. +
  119405. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  119406. + as_dirname=dirname
  119407. +else
  119408. + as_dirname=false
  119409. +fi
  119410. +
  119411. +as_me=`$as_basename -- "$0" ||
  119412. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  119413. + X"$0" : 'X\(//\)$' \| \
  119414. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  119415. +$as_echo X/"$0" |
  119416. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  119417. + s//\1/
  119418. + q
  119419. + }
  119420. + /^X\/\(\/\/\)$/{
  119421. + s//\1/
  119422. + q
  119423. + }
  119424. + /^X\/\(\/\).*/{
  119425. + s//\1/
  119426. + q
  119427. + }
  119428. + s/.*/./; q'`
  119429. +
  119430. +# Avoid depending upon Character Ranges.
  119431. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  119432. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  119433. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  119434. +as_cr_digits='0123456789'
  119435. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  119436. +
  119437. +ECHO_C= ECHO_N= ECHO_T=
  119438. +case `echo -n x` in @%:@(((((
  119439. +-n*)
  119440. + case `echo 'xy\c'` in
  119441. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  119442. + xy) ECHO_C='\c';;
  119443. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  119444. + ECHO_T=' ';;
  119445. + esac;;
  119446. +*)
  119447. + ECHO_N='-n';;
  119448. +esac
  119449. +
  119450. +rm -f conf$$ conf$$.exe conf$$.file
  119451. +if test -d conf$$.dir; then
  119452. + rm -f conf$$.dir/conf$$.file
  119453. +else
  119454. + rm -f conf$$.dir
  119455. + mkdir conf$$.dir 2>/dev/null
  119456. +fi
  119457. +if (echo >conf$$.file) 2>/dev/null; then
  119458. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  119459. + as_ln_s='ln -s'
  119460. + # ... but there are two gotchas:
  119461. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  119462. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  119463. + # In both cases, we have to default to `cp -p'.
  119464. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  119465. + as_ln_s='cp -p'
  119466. + elif ln conf$$.file conf$$ 2>/dev/null; then
  119467. + as_ln_s=ln
  119468. + else
  119469. + as_ln_s='cp -p'
  119470. + fi
  119471. +else
  119472. + as_ln_s='cp -p'
  119473. +fi
  119474. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  119475. +rmdir conf$$.dir 2>/dev/null
  119476. +
  119477. +
  119478. +@%:@ as_fn_mkdir_p
  119479. +@%:@ -------------
  119480. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  119481. +as_fn_mkdir_p ()
  119482. +{
  119483. +
  119484. + case $as_dir in #(
  119485. + -*) as_dir=./$as_dir;;
  119486. + esac
  119487. + test -d "$as_dir" || eval $as_mkdir_p || {
  119488. + as_dirs=
  119489. + while :; do
  119490. + case $as_dir in #(
  119491. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  119492. + *) as_qdir=$as_dir;;
  119493. + esac
  119494. + as_dirs="'$as_qdir' $as_dirs"
  119495. + as_dir=`$as_dirname -- "$as_dir" ||
  119496. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  119497. + X"$as_dir" : 'X\(//\)[^/]' \| \
  119498. + X"$as_dir" : 'X\(//\)$' \| \
  119499. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  119500. +$as_echo X"$as_dir" |
  119501. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  119502. + s//\1/
  119503. + q
  119504. + }
  119505. + /^X\(\/\/\)[^/].*/{
  119506. + s//\1/
  119507. + q
  119508. + }
  119509. + /^X\(\/\/\)$/{
  119510. + s//\1/
  119511. + q
  119512. + }
  119513. + /^X\(\/\).*/{
  119514. + s//\1/
  119515. + q
  119516. + }
  119517. + s/.*/./; q'`
  119518. + test -d "$as_dir" && break
  119519. + done
  119520. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  119521. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  119522. +
  119523. +
  119524. +} @%:@ as_fn_mkdir_p
  119525. +if mkdir -p . 2>/dev/null; then
  119526. + as_mkdir_p='mkdir -p "$as_dir"'
  119527. +else
  119528. + test -d ./-p && rmdir ./-p
  119529. + as_mkdir_p=false
  119530. +fi
  119531. +
  119532. +if test -x / >/dev/null 2>&1; then
  119533. + as_test_x='test -x'
  119534. +else
  119535. + if ls -dL / >/dev/null 2>&1; then
  119536. + as_ls_L_option=L
  119537. + else
  119538. + as_ls_L_option=
  119539. + fi
  119540. + as_test_x='
  119541. + eval sh -c '\''
  119542. + if test -d "$1"; then
  119543. + test -d "$1/.";
  119544. + else
  119545. + case $1 in @%:@(
  119546. + -*)set "./$1";;
  119547. + esac;
  119548. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
  119549. + ???[sx]*):;;*)false;;esac;fi
  119550. + '\'' sh
  119551. + '
  119552. +fi
  119553. +as_executable_p=$as_test_x
  119554. +
  119555. +# Sed expression to map a string onto a valid CPP name.
  119556. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  119557. +
  119558. +# Sed expression to map a string onto a valid variable name.
  119559. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  119560. +
  119561. +
  119562. +exec 6>&1
  119563. +## ----------------------------------- ##
  119564. +## Main body of $CONFIG_STATUS script. ##
  119565. +## ----------------------------------- ##
  119566. +_ASEOF
  119567. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  119568. +
  119569. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  119570. +# Save the log message, to keep $0 and so on meaningful, and to
  119571. +# report actual input values of CONFIG_FILES etc. instead of their
  119572. +# values after options handling.
  119573. +ac_log="
  119574. +This file was extended by libTrie $as_me 0.1, which was
  119575. +generated by GNU Autoconf 2.65. Invocation command line was
  119576. +
  119577. + CONFIG_FILES = $CONFIG_FILES
  119578. + CONFIG_HEADERS = $CONFIG_HEADERS
  119579. + CONFIG_LINKS = $CONFIG_LINKS
  119580. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  119581. + $ $0 $@
  119582. +
  119583. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  119584. +"
  119585. +
  119586. +_ACEOF
  119587. +
  119588. +case $ac_config_files in *"
  119589. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  119590. +esac
  119591. +
  119592. +case $ac_config_headers in *"
  119593. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  119594. +esac
  119595. +
  119596. +
  119597. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  119598. +# Files that config.status was made for.
  119599. +config_files="$ac_config_files"
  119600. +config_headers="$ac_config_headers"
  119601. +config_commands="$ac_config_commands"
  119602. +
  119603. +_ACEOF
  119604. +
  119605. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  119606. +ac_cs_usage="\
  119607. +\`$as_me' instantiates files and other configuration actions
  119608. +from templates according to the current configuration. Unless the files
  119609. +and actions are specified as TAGs, all are instantiated by default.
  119610. +
  119611. +Usage: $0 [OPTION]... [TAG]...
  119612. +
  119613. + -h, --help print this help, then exit
  119614. + -V, --version print version number and configuration settings, then exit
  119615. + --config print configuration, then exit
  119616. + -q, --quiet, --silent
  119617. + do not print progress messages
  119618. + -d, --debug don't remove temporary files
  119619. + --recheck update $as_me by reconfiguring in the same conditions
  119620. + --file=FILE[:TEMPLATE]
  119621. + instantiate the configuration file FILE
  119622. + --header=FILE[:TEMPLATE]
  119623. + instantiate the configuration header FILE
  119624. +
  119625. +Configuration files:
  119626. +$config_files
  119627. +
  119628. +Configuration headers:
  119629. +$config_headers
  119630. +
  119631. +Configuration commands:
  119632. +$config_commands
  119633. +
  119634. +Report bugs to <rbtcollins@squid-cache.org>."
  119635. +
  119636. +_ACEOF
  119637. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  119638. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  119639. +ac_cs_version="\\
  119640. +libTrie config.status 0.1
  119641. +configured by $0, generated by GNU Autoconf 2.65,
  119642. + with options \\"\$ac_cs_config\\"
  119643. +
  119644. +Copyright (C) 2009 Free Software Foundation, Inc.
  119645. +This config.status script is free software; the Free Software Foundation
  119646. +gives unlimited permission to copy, distribute and modify it."
  119647. +
  119648. +ac_pwd='$ac_pwd'
  119649. +srcdir='$srcdir'
  119650. +INSTALL='$INSTALL'
  119651. +MKDIR_P='$MKDIR_P'
  119652. +AWK='$AWK'
  119653. +test -n "\$AWK" || AWK=awk
  119654. +_ACEOF
  119655. +
  119656. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  119657. +# The default lists apply if the user does not specify any file.
  119658. +ac_need_defaults=:
  119659. +while test $# != 0
  119660. +do
  119661. + case $1 in
  119662. + --*=*)
  119663. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  119664. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  119665. + ac_shift=:
  119666. + ;;
  119667. + *)
  119668. + ac_option=$1
  119669. + ac_optarg=$2
  119670. + ac_shift=shift
  119671. + ;;
  119672. + esac
  119673. +
  119674. + case $ac_option in
  119675. + # Handling of the options.
  119676. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  119677. + ac_cs_recheck=: ;;
  119678. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  119679. + $as_echo "$ac_cs_version"; exit ;;
  119680. + --config | --confi | --conf | --con | --co | --c )
  119681. + $as_echo "$ac_cs_config"; exit ;;
  119682. + --debug | --debu | --deb | --de | --d | -d )
  119683. + debug=: ;;
  119684. + --file | --fil | --fi | --f )
  119685. + $ac_shift
  119686. + case $ac_optarg in
  119687. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  119688. + esac
  119689. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  119690. + ac_need_defaults=false;;
  119691. + --header | --heade | --head | --hea )
  119692. + $ac_shift
  119693. + case $ac_optarg in
  119694. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  119695. + esac
  119696. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  119697. + ac_need_defaults=false;;
  119698. + --he | --h)
  119699. + # Conflict between --help and --header
  119700. + as_fn_error "ambiguous option: \`$1'
  119701. +Try \`$0 --help' for more information.";;
  119702. + --help | --hel | -h )
  119703. + $as_echo "$ac_cs_usage"; exit ;;
  119704. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  119705. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  119706. + ac_cs_silent=: ;;
  119707. +
  119708. + # This is an error.
  119709. + -*) as_fn_error "unrecognized option: \`$1'
  119710. +Try \`$0 --help' for more information." ;;
  119711. +
  119712. + *) as_fn_append ac_config_targets " $1"
  119713. + ac_need_defaults=false ;;
  119714. +
  119715. + esac
  119716. + shift
  119717. +done
  119718. +
  119719. +ac_configure_extra_args=
  119720. +
  119721. +if $ac_cs_silent; then
  119722. + exec 6>/dev/null
  119723. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  119724. +fi
  119725. +
  119726. +_ACEOF
  119727. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  119728. +if \$ac_cs_recheck; then
  119729. + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  119730. + shift
  119731. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  119732. + CONFIG_SHELL='$SHELL'
  119733. + export CONFIG_SHELL
  119734. + exec "\$@"
  119735. +fi
  119736. +
  119737. +_ACEOF
  119738. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  119739. +exec 5>>config.log
  119740. +{
  119741. + echo
  119742. + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
  119743. +@%:@@%:@ Running $as_me. @%:@@%:@
  119744. +_ASBOX
  119745. + $as_echo "$ac_log"
  119746. +} >&5
  119747. +
  119748. +_ACEOF
  119749. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  119750. +#
  119751. +# INIT-COMMANDS
  119752. +#
  119753. +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  119754. +
  119755. +_ACEOF
  119756. +
  119757. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  119758. +
  119759. +# Handling of arguments.
  119760. +for ac_config_target in $ac_config_targets
  119761. +do
  119762. + case $ac_config_target in
  119763. + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  119764. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  119765. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  119766. + "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
  119767. + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  119768. + "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
  119769. +
  119770. + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  119771. + esac
  119772. +done
  119773. +
  119774. +
  119775. +# If the user did not use the arguments to specify the items to instantiate,
  119776. +# then the envvar interface is used. Set only those that are not.
  119777. +# We use the long form for the default assignment because of an extremely
  119778. +# bizarre bug on SunOS 4.1.3.
  119779. +if $ac_need_defaults; then
  119780. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  119781. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  119782. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  119783. +fi
  119784. +
  119785. +# Have a temporary directory for convenience. Make it in the build tree
  119786. +# simply because there is no reason against having it here, and in addition,
  119787. +# creating and moving files from /tmp can sometimes cause problems.
  119788. +# Hook for its removal unless debugging.
  119789. +# Note that there is a small window in which the directory will not be cleaned:
  119790. +# after its creation but before its name has been assigned to `$tmp'.
  119791. +$debug ||
  119792. +{
  119793. + tmp=
  119794. + trap 'exit_status=$?
  119795. + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  119796. +' 0
  119797. + trap 'as_fn_exit 1' 1 2 13 15
  119798. +}
  119799. +# Create a (secure) tmp directory for tmp files.
  119800. +
  119801. +{
  119802. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  119803. + test -n "$tmp" && test -d "$tmp"
  119804. +} ||
  119805. +{
  119806. + tmp=./conf$$-$RANDOM
  119807. + (umask 077 && mkdir "$tmp")
  119808. +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  119809. +
  119810. +# Set up the scripts for CONFIG_FILES section.
  119811. +# No need to generate them if there are no CONFIG_FILES.
  119812. +# This happens for instance with `./config.status config.h'.
  119813. +if test -n "$CONFIG_FILES"; then
  119814. +
  119815. +
  119816. +ac_cr=`echo X | tr X '\015'`
  119817. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  119818. +# But we know of no other shell where ac_cr would be empty at this
  119819. +# point, so we can use a bashism as a fallback.
  119820. +if test "x$ac_cr" = x; then
  119821. + eval ac_cr=\$\'\\r\'
  119822. +fi
  119823. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  119824. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  119825. + ac_cs_awk_cr='\r'
  119826. +else
  119827. + ac_cs_awk_cr=$ac_cr
  119828. +fi
  119829. +
  119830. +echo 'BEGIN {' >"$tmp/subs1.awk" &&
  119831. +_ACEOF
  119832. +
  119833. +
  119834. +{
  119835. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  119836. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  119837. + echo "_ACEOF"
  119838. +} >conf$$subs.sh ||
  119839. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  119840. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  119841. +ac_delim='%!_!# '
  119842. +for ac_last_try in false false false false false :; do
  119843. + . ./conf$$subs.sh ||
  119844. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  119845. +
  119846. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  119847. + if test $ac_delim_n = $ac_delim_num; then
  119848. + break
  119849. + elif $ac_last_try; then
  119850. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  119851. + else
  119852. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  119853. + fi
  119854. +done
  119855. +rm -f conf$$subs.sh
  119856. +
  119857. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  119858. +cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  119859. +_ACEOF
  119860. +sed -n '
  119861. +h
  119862. +s/^/S["/; s/!.*/"]=/
  119863. +p
  119864. +g
  119865. +s/^[^!]*!//
  119866. +:repl
  119867. +t repl
  119868. +s/'"$ac_delim"'$//
  119869. +t delim
  119870. +:nl
  119871. +h
  119872. +s/\(.\{148\}\)..*/\1/
  119873. +t more1
  119874. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  119875. +p
  119876. +n
  119877. +b repl
  119878. +:more1
  119879. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  119880. +p
  119881. +g
  119882. +s/.\{148\}//
  119883. +t nl
  119884. +:delim
  119885. +h
  119886. +s/\(.\{148\}\)..*/\1/
  119887. +t more2
  119888. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  119889. +p
  119890. +b
  119891. +:more2
  119892. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  119893. +p
  119894. +g
  119895. +s/.\{148\}//
  119896. +t delim
  119897. +' <conf$$subs.awk | sed '
  119898. +/^[^""]/{
  119899. + N
  119900. + s/\n//
  119901. +}
  119902. +' >>$CONFIG_STATUS || ac_write_fail=1
  119903. +rm -f conf$$subs.awk
  119904. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  119905. +_ACAWK
  119906. +cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  119907. + for (key in S) S_is_set[key] = 1
  119908. + FS = ""
  119909. +
  119910. +}
  119911. +{
  119912. + line = $ 0
  119913. + nfields = split(line, field, "@")
  119914. + substed = 0
  119915. + len = length(field[1])
  119916. + for (i = 2; i < nfields; i++) {
  119917. + key = field[i]
  119918. + keylen = length(key)
  119919. + if (S_is_set[key]) {
  119920. + value = S[key]
  119921. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  119922. + len += length(value) + length(field[++i])
  119923. + substed = 1
  119924. + } else
  119925. + len += 1 + keylen
  119926. + }
  119927. +
  119928. + print line
  119929. +}
  119930. +
  119931. +_ACAWK
  119932. +_ACEOF
  119933. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  119934. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  119935. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  119936. +else
  119937. + cat
  119938. +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  119939. + || as_fn_error "could not setup config files machinery" "$LINENO" 5
  119940. +_ACEOF
  119941. +
  119942. +# VPATH may cause trouble with some makes, so we remove $(srcdir),
  119943. +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  119944. +# trailing colons and then remove the whole line if VPATH becomes empty
  119945. +# (actually we leave an empty line to preserve line numbers).
  119946. +if test "x$srcdir" = x.; then
  119947. + ac_vpsub='/^[ ]*VPATH[ ]*=/{
  119948. +s/:*\$(srcdir):*/:/
  119949. +s/:*\${srcdir}:*/:/
  119950. +s/:*@srcdir@:*/:/
  119951. +s/^\([^=]*=[ ]*\):*/\1/
  119952. +s/:*$//
  119953. +s/^[^=]*=[ ]*$//
  119954. +}'
  119955. +fi
  119956. +
  119957. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  119958. +fi # test -n "$CONFIG_FILES"
  119959. +
  119960. +# Set up the scripts for CONFIG_HEADERS section.
  119961. +# No need to generate them if there are no CONFIG_HEADERS.
  119962. +# This happens for instance with `./config.status Makefile'.
  119963. +if test -n "$CONFIG_HEADERS"; then
  119964. +cat >"$tmp/defines.awk" <<\_ACAWK ||
  119965. +BEGIN {
  119966. +_ACEOF
  119967. +
  119968. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  119969. +# here-document in config.status, that substitutes the proper values into
  119970. +# config.h.in to produce config.h.
  119971. +
  119972. +# Create a delimiter string that does not exist in confdefs.h, to ease
  119973. +# handling of long lines.
  119974. +ac_delim='%!_!# '
  119975. +for ac_last_try in false false :; do
  119976. + ac_t=`sed -n "/$ac_delim/p" confdefs.h`
  119977. + if test -z "$ac_t"; then
  119978. + break
  119979. + elif $ac_last_try; then
  119980. + as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
  119981. + else
  119982. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  119983. + fi
  119984. +done
  119985. +
  119986. +# For the awk script, D is an array of macro values keyed by name,
  119987. +# likewise P contains macro parameters if any. Preserve backslash
  119988. +# newline sequences.
  119989. +
  119990. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  119991. +sed -n '
  119992. +s/.\{148\}/&'"$ac_delim"'/g
  119993. +t rset
  119994. +:rset
  119995. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  119996. +t def
  119997. +d
  119998. +:def
  119999. +s/\\$//
  120000. +t bsnl
  120001. +s/["\\]/\\&/g
  120002. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  120003. +D["\1"]=" \3"/p
  120004. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  120005. +d
  120006. +:bsnl
  120007. +s/["\\]/\\&/g
  120008. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  120009. +D["\1"]=" \3\\\\\\n"\\/p
  120010. +t cont
  120011. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  120012. +t cont
  120013. +d
  120014. +:cont
  120015. +n
  120016. +s/.\{148\}/&'"$ac_delim"'/g
  120017. +t clear
  120018. +:clear
  120019. +s/\\$//
  120020. +t bsnlc
  120021. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  120022. +d
  120023. +:bsnlc
  120024. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  120025. +b cont
  120026. +' <confdefs.h | sed '
  120027. +s/'"$ac_delim"'/"\\\
  120028. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  120029. +
  120030. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  120031. + for (key in D) D_is_set[key] = 1
  120032. + FS = ""
  120033. +}
  120034. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  120035. + line = \$ 0
  120036. + split(line, arg, " ")
  120037. + if (arg[1] == "#") {
  120038. + defundef = arg[2]
  120039. + mac1 = arg[3]
  120040. + } else {
  120041. + defundef = substr(arg[1], 2)
  120042. + mac1 = arg[2]
  120043. + }
  120044. + split(mac1, mac2, "(") #)
  120045. + macro = mac2[1]
  120046. + prefix = substr(line, 1, index(line, defundef) - 1)
  120047. + if (D_is_set[macro]) {
  120048. + # Preserve the white space surrounding the "#".
  120049. + print prefix "define", macro P[macro] D[macro]
  120050. + next
  120051. + } else {
  120052. + # Replace #undef with comments. This is necessary, for example,
  120053. + # in the case of _POSIX_SOURCE, which is predefined and required
  120054. + # on some systems where configure will not decide to define it.
  120055. + if (defundef == "undef") {
  120056. + print "/*", prefix defundef, macro, "*/"
  120057. + next
  120058. + }
  120059. + }
  120060. +}
  120061. +{ print }
  120062. +_ACAWK
  120063. +_ACEOF
  120064. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  120065. + as_fn_error "could not setup config headers machinery" "$LINENO" 5
  120066. +fi # test -n "$CONFIG_HEADERS"
  120067. +
  120068. +
  120069. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  120070. +shift
  120071. +for ac_tag
  120072. +do
  120073. + case $ac_tag in
  120074. + :[FHLC]) ac_mode=$ac_tag; continue;;
  120075. + esac
  120076. + case $ac_mode$ac_tag in
  120077. + :[FHL]*:*);;
  120078. + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  120079. + :[FH]-) ac_tag=-:-;;
  120080. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  120081. + esac
  120082. + ac_save_IFS=$IFS
  120083. + IFS=:
  120084. + set x $ac_tag
  120085. + IFS=$ac_save_IFS
  120086. + shift
  120087. + ac_file=$1
  120088. + shift
  120089. +
  120090. + case $ac_mode in
  120091. + :L) ac_source=$1;;
  120092. + :[FH])
  120093. + ac_file_inputs=
  120094. + for ac_f
  120095. + do
  120096. + case $ac_f in
  120097. + -) ac_f="$tmp/stdin";;
  120098. + *) # Look for the file first in the build tree, then in the source tree
  120099. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  120100. + # because $ac_f cannot contain `:'.
  120101. + test -f "$ac_f" ||
  120102. + case $ac_f in
  120103. + [\\/$]*) false;;
  120104. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  120105. + esac ||
  120106. + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  120107. + esac
  120108. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  120109. + as_fn_append ac_file_inputs " '$ac_f'"
  120110. + done
  120111. +
  120112. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  120113. + # use $as_me), people would be surprised to read:
  120114. + # /* config.h. Generated by config.status. */
  120115. + configure_input='Generated from '`
  120116. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  120117. + `' by configure.'
  120118. + if test x"$ac_file" != x-; then
  120119. + configure_input="$ac_file. $configure_input"
  120120. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  120121. +$as_echo "$as_me: creating $ac_file" >&6;}
  120122. + fi
  120123. + # Neutralize special characters interpreted by sed in replacement strings.
  120124. + case $configure_input in #(
  120125. + *\&* | *\|* | *\\* )
  120126. + ac_sed_conf_input=`$as_echo "$configure_input" |
  120127. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  120128. + *) ac_sed_conf_input=$configure_input;;
  120129. + esac
  120130. +
  120131. + case $ac_tag in
  120132. + *:-:* | *:-) cat >"$tmp/stdin" \
  120133. + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  120134. + esac
  120135. + ;;
  120136. + esac
  120137. +
  120138. + ac_dir=`$as_dirname -- "$ac_file" ||
  120139. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  120140. + X"$ac_file" : 'X\(//\)[^/]' \| \
  120141. + X"$ac_file" : 'X\(//\)$' \| \
  120142. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  120143. +$as_echo X"$ac_file" |
  120144. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  120145. + s//\1/
  120146. + q
  120147. + }
  120148. + /^X\(\/\/\)[^/].*/{
  120149. + s//\1/
  120150. + q
  120151. + }
  120152. + /^X\(\/\/\)$/{
  120153. + s//\1/
  120154. + q
  120155. + }
  120156. + /^X\(\/\).*/{
  120157. + s//\1/
  120158. + q
  120159. + }
  120160. + s/.*/./; q'`
  120161. + as_dir="$ac_dir"; as_fn_mkdir_p
  120162. + ac_builddir=.
  120163. +
  120164. +case "$ac_dir" in
  120165. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  120166. +*)
  120167. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  120168. + # A ".." for each directory in $ac_dir_suffix.
  120169. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  120170. + case $ac_top_builddir_sub in
  120171. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  120172. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  120173. + esac ;;
  120174. +esac
  120175. +ac_abs_top_builddir=$ac_pwd
  120176. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  120177. +# for backward compatibility:
  120178. +ac_top_builddir=$ac_top_build_prefix
  120179. +
  120180. +case $srcdir in
  120181. + .) # We are building in place.
  120182. + ac_srcdir=.
  120183. + ac_top_srcdir=$ac_top_builddir_sub
  120184. + ac_abs_top_srcdir=$ac_pwd ;;
  120185. + [\\/]* | ?:[\\/]* ) # Absolute name.
  120186. + ac_srcdir=$srcdir$ac_dir_suffix;
  120187. + ac_top_srcdir=$srcdir
  120188. + ac_abs_top_srcdir=$srcdir ;;
  120189. + *) # Relative name.
  120190. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  120191. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  120192. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  120193. +esac
  120194. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  120195. +
  120196. +
  120197. + case $ac_mode in
  120198. + :F)
  120199. + #
  120200. + # CONFIG_FILE
  120201. + #
  120202. +
  120203. + case $INSTALL in
  120204. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  120205. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  120206. + esac
  120207. + ac_MKDIR_P=$MKDIR_P
  120208. + case $MKDIR_P in
  120209. + [\\/$]* | ?:[\\/]* ) ;;
  120210. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  120211. + esac
  120212. +_ACEOF
  120213. +
  120214. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  120215. +# If the template does not know about datarootdir, expand it.
  120216. +# FIXME: This hack should be removed a few years after 2.60.
  120217. +ac_datarootdir_hack=; ac_datarootdir_seen=
  120218. +ac_sed_dataroot='
  120219. +/datarootdir/ {
  120220. + p
  120221. + q
  120222. +}
  120223. +/@datadir@/p
  120224. +/@docdir@/p
  120225. +/@infodir@/p
  120226. +/@localedir@/p
  120227. +/@mandir@/p'
  120228. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  120229. +*datarootdir*) ac_datarootdir_seen=yes;;
  120230. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  120231. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  120232. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  120233. +_ACEOF
  120234. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  120235. + ac_datarootdir_hack='
  120236. + s&@datadir@&$datadir&g
  120237. + s&@docdir@&$docdir&g
  120238. + s&@infodir@&$infodir&g
  120239. + s&@localedir@&$localedir&g
  120240. + s&@mandir@&$mandir&g
  120241. + s&\\\${datarootdir}&$datarootdir&g' ;;
  120242. +esac
  120243. +_ACEOF
  120244. +
  120245. +# Neutralize VPATH when `$srcdir' = `.'.
  120246. +# Shell code in configure.ac might set extrasub.
  120247. +# FIXME: do we really want to maintain this feature?
  120248. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  120249. +ac_sed_extra="$ac_vpsub
  120250. +$extrasub
  120251. +_ACEOF
  120252. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  120253. +:t
  120254. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  120255. +s|@configure_input@|$ac_sed_conf_input|;t t
  120256. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  120257. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  120258. +s&@srcdir@&$ac_srcdir&;t t
  120259. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  120260. +s&@top_srcdir@&$ac_top_srcdir&;t t
  120261. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  120262. +s&@builddir@&$ac_builddir&;t t
  120263. +s&@abs_builddir@&$ac_abs_builddir&;t t
  120264. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  120265. +s&@INSTALL@&$ac_INSTALL&;t t
  120266. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  120267. +$ac_datarootdir_hack
  120268. +"
  120269. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  120270. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  120271. +
  120272. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  120273. + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  120274. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  120275. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  120276. +which seems to be undefined. Please make sure it is defined." >&5
  120277. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  120278. +which seems to be undefined. Please make sure it is defined." >&2;}
  120279. +
  120280. + rm -f "$tmp/stdin"
  120281. + case $ac_file in
  120282. + -) cat "$tmp/out" && rm -f "$tmp/out";;
  120283. + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  120284. + esac \
  120285. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  120286. + ;;
  120287. + :H)
  120288. + #
  120289. + # CONFIG_HEADER
  120290. + #
  120291. + if test x"$ac_file" != x-; then
  120292. + {
  120293. + $as_echo "/* $configure_input */" \
  120294. + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  120295. + } >"$tmp/config.h" \
  120296. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  120297. + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  120298. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  120299. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  120300. + else
  120301. + rm -f "$ac_file"
  120302. + mv "$tmp/config.h" "$ac_file" \
  120303. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  120304. + fi
  120305. + else
  120306. + $as_echo "/* $configure_input */" \
  120307. + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  120308. + || as_fn_error "could not create -" "$LINENO" 5
  120309. + fi
  120310. +# Compute "$ac_file"'s index in $config_headers.
  120311. +_am_arg="$ac_file"
  120312. +_am_stamp_count=1
  120313. +for _am_header in $config_headers :; do
  120314. + case $_am_header in
  120315. + $_am_arg | $_am_arg:* )
  120316. + break ;;
  120317. + * )
  120318. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  120319. + esac
  120320. +done
  120321. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  120322. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  120323. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  120324. + X"$_am_arg" : 'X\(//\)$' \| \
  120325. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  120326. +$as_echo X"$_am_arg" |
  120327. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  120328. + s//\1/
  120329. + q
  120330. + }
  120331. + /^X\(\/\/\)[^/].*/{
  120332. + s//\1/
  120333. + q
  120334. + }
  120335. + /^X\(\/\/\)$/{
  120336. + s//\1/
  120337. + q
  120338. + }
  120339. + /^X\(\/\).*/{
  120340. + s//\1/
  120341. + q
  120342. + }
  120343. + s/.*/./; q'`/stamp-h$_am_stamp_count
  120344. + ;;
  120345. +
  120346. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  120347. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  120348. + ;;
  120349. + esac
  120350. +
  120351. +
  120352. + case $ac_file$ac_mode in
  120353. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  120354. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  120355. + # are listed without --file. Let's play safe and only enable the eval
  120356. + # if we detect the quoting.
  120357. + case $CONFIG_FILES in
  120358. + *\'*) eval set x "$CONFIG_FILES" ;;
  120359. + *) set x $CONFIG_FILES ;;
  120360. + esac
  120361. + shift
  120362. + for mf
  120363. + do
  120364. + # Strip MF so we end up with the name of the file.
  120365. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  120366. + # Check whether this is an Automake generated Makefile or not.
  120367. + # We used to match only the files named `Makefile.in', but
  120368. + # some people rename them; so instead we look at the file content.
  120369. + # Grep'ing the first line is not enough: some people post-process
  120370. + # each Makefile.in and add a new line on top of each file to say so.
  120371. + # Grep'ing the whole file is not good either: AIX grep has a line
  120372. + # limit of 2048, but all sed's we know have understand at least 4000.
  120373. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  120374. + dirpart=`$as_dirname -- "$mf" ||
  120375. +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  120376. + X"$mf" : 'X\(//\)[^/]' \| \
  120377. + X"$mf" : 'X\(//\)$' \| \
  120378. + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  120379. +$as_echo X"$mf" |
  120380. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  120381. + s//\1/
  120382. + q
  120383. + }
  120384. + /^X\(\/\/\)[^/].*/{
  120385. + s//\1/
  120386. + q
  120387. + }
  120388. + /^X\(\/\/\)$/{
  120389. + s//\1/
  120390. + q
  120391. + }
  120392. + /^X\(\/\).*/{
  120393. + s//\1/
  120394. + q
  120395. + }
  120396. + s/.*/./; q'`
  120397. + else
  120398. + continue
  120399. + fi
  120400. + # Extract the definition of DEPDIR, am__include, and am__quote
  120401. + # from the Makefile without running `make'.
  120402. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  120403. + test -z "$DEPDIR" && continue
  120404. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  120405. + test -z "am__include" && continue
  120406. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  120407. + # When using ansi2knr, U may be empty or an underscore; expand it
  120408. + U=`sed -n 's/^U = //p' < "$mf"`
  120409. + # Find all dependency output files, they are included files with
  120410. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  120411. + # simplest approach to changing $(DEPDIR) to its actual value in the
  120412. + # expansion.
  120413. + for file in `sed -n "
  120414. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  120415. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  120416. + # Make sure the directory exists.
  120417. + test -f "$dirpart/$file" && continue
  120418. + fdir=`$as_dirname -- "$file" ||
  120419. +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  120420. + X"$file" : 'X\(//\)[^/]' \| \
  120421. + X"$file" : 'X\(//\)$' \| \
  120422. + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  120423. +$as_echo X"$file" |
  120424. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  120425. + s//\1/
  120426. + q
  120427. + }
  120428. + /^X\(\/\/\)[^/].*/{
  120429. + s//\1/
  120430. + q
  120431. + }
  120432. + /^X\(\/\/\)$/{
  120433. + s//\1/
  120434. + q
  120435. + }
  120436. + /^X\(\/\).*/{
  120437. + s//\1/
  120438. + q
  120439. + }
  120440. + s/.*/./; q'`
  120441. + as_dir=$dirpart/$fdir; as_fn_mkdir_p
  120442. + # echo "creating $dirpart/$file"
  120443. + echo '# dummy' > "$dirpart/$file"
  120444. + done
  120445. + done
  120446. +}
  120447. + ;;
  120448. +
  120449. + esac
  120450. +done # for ac_tag
  120451. +
  120452. +
  120453. +as_fn_exit 0
  120454. +_ACEOF
  120455. +ac_clean_files=$ac_clean_files_save
  120456. +
  120457. +test $ac_write_fail = 0 ||
  120458. + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  120459. +
  120460. +
  120461. +# configure is writing to config.log, and then calls config.status.
  120462. +# config.status does its own redirection, appending to config.log.
  120463. +# Unfortunately, on DOS this fails, as config.log is still kept open
  120464. +# by configure, so config.status won't be able to write to it; its
  120465. +# output is simply discarded. So we exec the FD to /dev/null,
  120466. +# effectively closing config.log, so it can be properly (re)opened and
  120467. +# appended to by config.status. When coming back to configure, we
  120468. +# need to make the FD available again.
  120469. +if test "$no_create" != yes; then
  120470. + ac_cs_success=:
  120471. + ac_config_status_args=
  120472. + test "$silent" = yes &&
  120473. + ac_config_status_args="$ac_config_status_args --quiet"
  120474. + exec 5>/dev/null
  120475. + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  120476. + exec 5>>config.log
  120477. + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  120478. + # would make configure fail if this is the last instruction.
  120479. + $ac_cs_success || as_fn_exit $?
  120480. +fi
  120481. +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  120482. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  120483. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  120484. +fi
  120485. +
  120486. diff -Nur squid-3.0.STABLE20.orig/lib/libTrie/autom4te.cache/requests squid-3.0.STABLE20/lib/libTrie/autom4te.cache/requests
  120487. --- squid-3.0.STABLE20.orig/lib/libTrie/autom4te.cache/requests 1970-01-01 01:00:00.000000000 +0100
  120488. +++ squid-3.0.STABLE20/lib/libTrie/autom4te.cache/requests 2010-02-19 00:39:35.516852029 +0100
  120489. @@ -0,0 +1,143 @@
  120490. +# This file was generated by Autom4te Tue Dec 22 07:01:21 UTC 2009.
  120491. +# It contains the lists of macros which have been traced.
  120492. +# It can be safely removed.
  120493. +
  120494. +@request = (
  120495. + bless( [
  120496. + '0',
  120497. + 1,
  120498. + [
  120499. + '/usr/share/autoconf'
  120500. + ],
  120501. + [
  120502. + '/usr/share/autoconf/autoconf/autoconf.m4f',
  120503. + '/usr/share/aclocal-1.11/amversion.m4',
  120504. + '/usr/share/aclocal-1.11/auxdir.m4',
  120505. + '/usr/share/aclocal-1.11/cond.m4',
  120506. + '/usr/share/aclocal-1.11/depend.m4',
  120507. + '/usr/share/aclocal-1.11/depout.m4',
  120508. + '/usr/share/aclocal-1.11/header.m4',
  120509. + '/usr/share/aclocal-1.11/init.m4',
  120510. + '/usr/share/aclocal-1.11/install-sh.m4',
  120511. + '/usr/share/aclocal-1.11/lead-dot.m4',
  120512. + '/usr/share/aclocal-1.11/maintainer.m4',
  120513. + '/usr/share/aclocal-1.11/make.m4',
  120514. + '/usr/share/aclocal-1.11/missing.m4',
  120515. + '/usr/share/aclocal-1.11/mkdirp.m4',
  120516. + '/usr/share/aclocal-1.11/options.m4',
  120517. + '/usr/share/aclocal-1.11/runlog.m4',
  120518. + '/usr/share/aclocal-1.11/sanity.m4',
  120519. + '/usr/share/aclocal-1.11/silent.m4',
  120520. + '/usr/share/aclocal-1.11/strip.m4',
  120521. + '/usr/share/aclocal-1.11/substnot.m4',
  120522. + '/usr/share/aclocal-1.11/tar.m4',
  120523. + 'acinclude.m4',
  120524. + 'configure.in'
  120525. + ],
  120526. + {
  120527. + 'm4_pattern_forbid' => 1,
  120528. + 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
  120529. + 'jm_MAINTAINER_MODE' => 1,
  120530. + '_AM_SET_OPTION' => 1,
  120531. + 'AC_DEFUN' => 1,
  120532. + 'AC_TEST_CHECKFORHUGEOBJECTS' => 1,
  120533. + 'AM_PROG_MKDIR_P' => 1,
  120534. + 'AM_INIT_AUTOMAKE' => 1,
  120535. + 'AM_AUTOMAKE_VERSION' => 1,
  120536. + 'AM_MISSING_HAS_RUN' => 1,
  120537. + 'AM_SUBST_NOTMAKE' => 1,
  120538. + 'AM_MISSING_PROG' => 1,
  120539. + 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
  120540. + 'AM_MAINTAINER_MODE' => 1,
  120541. + 'AC_DEFUN_ONCE' => 1,
  120542. + 'AM_PROG_INSTALL_STRIP' => 1,
  120543. + '_m4_warn' => 1,
  120544. + 'AM_SANITY_CHECK' => 1,
  120545. + 'AM_SILENT_RULES' => 1,
  120546. + 'include' => 1,
  120547. + '_AM_PROG_TAR' => 1,
  120548. + 'AM_AUX_DIR_EXPAND' => 1,
  120549. + 'AM_DEP_TRACK' => 1,
  120550. + 'AM_CONFIG_HEADER' => 1,
  120551. + '_AM_SET_OPTIONS' => 1,
  120552. + 'AM_RUN_LOG' => 1,
  120553. + '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
  120554. + '_AM_IF_OPTION' => 1,
  120555. + '_AM_SUBST_NOTMAKE' => 1,
  120556. + 'm4_pattern_allow' => 1,
  120557. + '_AM_AUTOCONF_VERSION' => 1,
  120558. + '_AM_MANGLE_OPTION' => 1,
  120559. + 'AM_CONDITIONAL' => 1,
  120560. + 'AM_SET_LEADING_DOT' => 1,
  120561. + 'AM_SET_DEPDIR' => 1,
  120562. + '_AM_DEPENDENCIES' => 1,
  120563. + 'AM_PROG_INSTALL_SH' => 1,
  120564. + 'm4_include' => 1,
  120565. + '_AC_AM_CONFIG_HEADER_HOOK' => 1,
  120566. + 'AU_DEFUN' => 1,
  120567. + 'AM_MAKE_INCLUDE' => 1
  120568. + }
  120569. + ], 'Autom4te::Request' ),
  120570. + bless( [
  120571. + '1',
  120572. + 1,
  120573. + [
  120574. + '/usr/share/autoconf'
  120575. + ],
  120576. + [
  120577. + '/usr/share/autoconf/autoconf/autoconf.m4f',
  120578. + 'aclocal.m4',
  120579. + 'configure.in'
  120580. + ],
  120581. + {
  120582. + '_LT_AC_TAGCONFIG' => 1,
  120583. + 'AM_PROG_F77_C_O' => 1,
  120584. + 'AC_INIT' => 1,
  120585. + 'm4_pattern_forbid' => 1,
  120586. + '_AM_COND_IF' => 1,
  120587. + 'AC_CANONICAL_TARGET' => 1,
  120588. + 'AC_SUBST' => 1,
  120589. + 'AC_CONFIG_LIBOBJ_DIR' => 1,
  120590. + 'AC_FC_SRCEXT' => 1,
  120591. + 'AC_CANONICAL_HOST' => 1,
  120592. + 'AC_PROG_LIBTOOL' => 1,
  120593. + 'AM_INIT_AUTOMAKE' => 1,
  120594. + 'AC_CONFIG_SUBDIRS' => 1,
  120595. + 'AM_AUTOMAKE_VERSION' => 1,
  120596. + 'LT_CONFIG_LTDL_DIR' => 1,
  120597. + 'AC_REQUIRE_AUX_FILE' => 1,
  120598. + 'AC_CONFIG_LINKS' => 1,
  120599. + 'm4_sinclude' => 1,
  120600. + 'LT_SUPPORTED_TAG' => 1,
  120601. + 'AM_MAINTAINER_MODE' => 1,
  120602. + 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
  120603. + '_m4_warn' => 1,
  120604. + 'AM_PROG_CXX_C_O' => 1,
  120605. + '_AM_COND_ENDIF' => 1,
  120606. + 'AM_ENABLE_MULTILIB' => 1,
  120607. + 'AM_SILENT_RULES' => 1,
  120608. + 'AC_CONFIG_FILES' => 1,
  120609. + 'include' => 1,
  120610. + 'LT_INIT' => 1,
  120611. + 'AM_GNU_GETTEXT' => 1,
  120612. + 'AC_LIBSOURCE' => 1,
  120613. + 'AM_PROG_FC_C_O' => 1,
  120614. + 'AC_CANONICAL_BUILD' => 1,
  120615. + 'AC_FC_FREEFORM' => 1,
  120616. + 'AH_OUTPUT' => 1,
  120617. + '_AM_SUBST_NOTMAKE' => 1,
  120618. + 'AC_CONFIG_AUX_DIR' => 1,
  120619. + 'sinclude' => 1,
  120620. + 'AM_PROG_CC_C_O' => 1,
  120621. + 'm4_pattern_allow' => 1,
  120622. + 'AC_CANONICAL_SYSTEM' => 1,
  120623. + 'AM_CONDITIONAL' => 1,
  120624. + 'AC_CONFIG_HEADERS' => 1,
  120625. + 'AC_DEFINE_TRACE_LITERAL' => 1,
  120626. + 'm4_include' => 1,
  120627. + '_AM_COND_ELSE' => 1,
  120628. + 'AC_SUBST_TRACE' => 1
  120629. + }
  120630. + ], 'Autom4te::Request' )
  120631. + );
  120632. +
  120633. diff -Nur squid-3.0.STABLE20.orig/lib/libTrie/autom4te.cache/traces.0 squid-3.0.STABLE20/lib/libTrie/autom4te.cache/traces.0
  120634. --- squid-3.0.STABLE20.orig/lib/libTrie/autom4te.cache/traces.0 1970-01-01 01:00:00.000000000 +0100
  120635. +++ squid-3.0.STABLE20/lib/libTrie/autom4te.cache/traces.0 2010-02-19 00:38:22.264852322 +0100
  120636. @@ -0,0 +1,838 @@
  120637. +m4trace:/usr/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
  120638. +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  120639. +dnl require some minimum version. Point them to the right macro.
  120640. +m4_if([$1], [1.11.1], [],
  120641. + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  120642. +])
  120643. +m4trace:/usr/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl
  120644. +m4_ifndef([AC_AUTOCONF_VERSION],
  120645. + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  120646. +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  120647. +m4trace:/usr/share/aclocal-1.11/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
  120648. +AC_PREREQ([2.50])dnl
  120649. +# expand $ac_aux_dir to an absolute path
  120650. +am_aux_dir=`cd $ac_aux_dir && pwd`
  120651. +])
  120652. +m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
  120653. + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  120654. + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  120655. +AC_SUBST([$1_TRUE])dnl
  120656. +AC_SUBST([$1_FALSE])dnl
  120657. +_AM_SUBST_NOTMAKE([$1_TRUE])dnl
  120658. +_AM_SUBST_NOTMAKE([$1_FALSE])dnl
  120659. +m4_define([_AM_COND_VALUE_$1], [$2])dnl
  120660. +if $2; then
  120661. + $1_TRUE=
  120662. + $1_FALSE='#'
  120663. +else
  120664. + $1_TRUE='#'
  120665. + $1_FALSE=
  120666. +fi
  120667. +AC_CONFIG_COMMANDS_PRE(
  120668. +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  120669. + AC_MSG_ERROR([[conditional "$1" was never defined.
  120670. +Usually this means the macro was only invoked conditionally.]])
  120671. +fi])])
  120672. +m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
  120673. +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
  120674. +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  120675. +AC_REQUIRE([AM_DEP_TRACK])dnl
  120676. +
  120677. +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
  120678. + [$1], CXX, [depcc="$CXX" am_compiler_list=],
  120679. + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  120680. + [$1], UPC, [depcc="$UPC" am_compiler_list=],
  120681. + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  120682. + [depcc="$$1" am_compiler_list=])
  120683. +
  120684. +AC_CACHE_CHECK([dependency style of $depcc],
  120685. + [am_cv_$1_dependencies_compiler_type],
  120686. +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  120687. + # We make a subdir and do the tests there. Otherwise we can end up
  120688. + # making bogus files that we don't know about and never remove. For
  120689. + # instance it was reported that on HP-UX the gcc test will end up
  120690. + # making a dummy file named `D' -- because `-MD' means `put the output
  120691. + # in D'.
  120692. + mkdir conftest.dir
  120693. + # Copy depcomp to subdir because otherwise we won't find it if we're
  120694. + # using a relative directory.
  120695. + cp "$am_depcomp" conftest.dir
  120696. + cd conftest.dir
  120697. + # We will build objects and dependencies in a subdirectory because
  120698. + # it helps to detect inapplicable dependency modes. For instance
  120699. + # both Tru64's cc and ICC support -MD to output dependencies as a
  120700. + # side effect of compilation, but ICC will put the dependencies in
  120701. + # the current directory while Tru64 will put them in the object
  120702. + # directory.
  120703. + mkdir sub
  120704. +
  120705. + am_cv_$1_dependencies_compiler_type=none
  120706. + if test "$am_compiler_list" = ""; then
  120707. + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  120708. + fi
  120709. + am__universal=false
  120710. + m4_case([$1], [CC],
  120711. + [case " $depcc " in #(
  120712. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  120713. + esac],
  120714. + [CXX],
  120715. + [case " $depcc " in #(
  120716. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  120717. + esac])
  120718. +
  120719. + for depmode in $am_compiler_list; do
  120720. + # Setup a source with many dependencies, because some compilers
  120721. + # like to wrap large dependency lists on column 80 (with \), and
  120722. + # we should not choose a depcomp mode which is confused by this.
  120723. + #
  120724. + # We need to recreate these files for each test, as the compiler may
  120725. + # overwrite some of them when testing with obscure command lines.
  120726. + # This happens at least with the AIX C compiler.
  120727. + : > sub/conftest.c
  120728. + for i in 1 2 3 4 5 6; do
  120729. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  120730. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  120731. + # Solaris 8's {/usr,}/bin/sh.
  120732. + touch sub/conftst$i.h
  120733. + done
  120734. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  120735. +
  120736. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  120737. + # mode. It turns out that the SunPro C++ compiler does not properly
  120738. + # handle `-M -o', and we need to detect this. Also, some Intel
  120739. + # versions had trouble with output in subdirs
  120740. + am__obj=sub/conftest.${OBJEXT-o}
  120741. + am__minus_obj="-o $am__obj"
  120742. + case $depmode in
  120743. + gcc)
  120744. + # This depmode causes a compiler race in universal mode.
  120745. + test "$am__universal" = false || continue
  120746. + ;;
  120747. + nosideeffect)
  120748. + # after this tag, mechanisms are not by side-effect, so they'll
  120749. + # only be used when explicitly requested
  120750. + if test "x$enable_dependency_tracking" = xyes; then
  120751. + continue
  120752. + else
  120753. + break
  120754. + fi
  120755. + ;;
  120756. + msvisualcpp | msvcmsys)
  120757. + # This compiler won't grok `-c -o', but also, the minuso test has
  120758. + # not run yet. These depmodes are late enough in the game, and
  120759. + # so weak that their functioning should not be impacted.
  120760. + am__obj=conftest.${OBJEXT-o}
  120761. + am__minus_obj=
  120762. + ;;
  120763. + none) break ;;
  120764. + esac
  120765. + if depmode=$depmode \
  120766. + source=sub/conftest.c object=$am__obj \
  120767. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  120768. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  120769. + >/dev/null 2>conftest.err &&
  120770. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  120771. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  120772. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  120773. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  120774. + # icc doesn't choke on unknown options, it will just issue warnings
  120775. + # or remarks (even with -Werror). So we grep stderr for any message
  120776. + # that says an option was ignored or not supported.
  120777. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  120778. + # icc: Command line warning: ignoring option '-M'; no argument required
  120779. + # The diagnosis changed in icc 8.0:
  120780. + # icc: Command line remark: option '-MP' not supported
  120781. + if (grep 'ignoring option' conftest.err ||
  120782. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  120783. + am_cv_$1_dependencies_compiler_type=$depmode
  120784. + break
  120785. + fi
  120786. + fi
  120787. + done
  120788. +
  120789. + cd ..
  120790. + rm -rf conftest.dir
  120791. +else
  120792. + am_cv_$1_dependencies_compiler_type=none
  120793. +fi
  120794. +])
  120795. +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
  120796. +AM_CONDITIONAL([am__fastdep$1], [
  120797. + test "x$enable_dependency_tracking" != xno \
  120798. + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
  120799. +])
  120800. +m4trace:/usr/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  120801. +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  120802. +])
  120803. +m4trace:/usr/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
  120804. +[ --disable-dependency-tracking speeds up one-time build
  120805. + --enable-dependency-tracking do not reject slow dependency extractors])
  120806. +if test "x$enable_dependency_tracking" != xno; then
  120807. + am_depcomp="$ac_aux_dir/depcomp"
  120808. + AMDEPBACKSLASH='\'
  120809. +fi
  120810. +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  120811. +AC_SUBST([AMDEPBACKSLASH])dnl
  120812. +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
  120813. +])
  120814. +m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
  120815. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  120816. + # are listed without --file. Let's play safe and only enable the eval
  120817. + # if we detect the quoting.
  120818. + case $CONFIG_FILES in
  120819. + *\'*) eval set x "$CONFIG_FILES" ;;
  120820. + *) set x $CONFIG_FILES ;;
  120821. + esac
  120822. + shift
  120823. + for mf
  120824. + do
  120825. + # Strip MF so we end up with the name of the file.
  120826. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  120827. + # Check whether this is an Automake generated Makefile or not.
  120828. + # We used to match only the files named `Makefile.in', but
  120829. + # some people rename them; so instead we look at the file content.
  120830. + # Grep'ing the first line is not enough: some people post-process
  120831. + # each Makefile.in and add a new line on top of each file to say so.
  120832. + # Grep'ing the whole file is not good either: AIX grep has a line
  120833. + # limit of 2048, but all sed's we know have understand at least 4000.
  120834. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  120835. + dirpart=`AS_DIRNAME("$mf")`
  120836. + else
  120837. + continue
  120838. + fi
  120839. + # Extract the definition of DEPDIR, am__include, and am__quote
  120840. + # from the Makefile without running `make'.
  120841. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  120842. + test -z "$DEPDIR" && continue
  120843. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  120844. + test -z "am__include" && continue
  120845. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  120846. + # When using ansi2knr, U may be empty or an underscore; expand it
  120847. + U=`sed -n 's/^U = //p' < "$mf"`
  120848. + # Find all dependency output files, they are included files with
  120849. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  120850. + # simplest approach to changing $(DEPDIR) to its actual value in the
  120851. + # expansion.
  120852. + for file in `sed -n "
  120853. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  120854. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  120855. + # Make sure the directory exists.
  120856. + test -f "$dirpart/$file" && continue
  120857. + fdir=`AS_DIRNAME(["$file"])`
  120858. + AS_MKDIR_P([$dirpart/$fdir])
  120859. + # echo "creating $dirpart/$file"
  120860. + echo '# dummy' > "$dirpart/$file"
  120861. + done
  120862. + done
  120863. +}
  120864. +])
  120865. +m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
  120866. + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
  120867. + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
  120868. +])
  120869. +m4trace:/usr/share/aclocal-1.11/header.m4:12: -1- AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
  120870. +m4trace:/usr/share/aclocal-1.11/header.m4:12: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
  120871. +You should run autoupdate.])dnl
  120872. +AC_CONFIG_HEADERS($@)])
  120873. +m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
  120874. +dnl Autoconf wants to disallow AM_ names. We explicitly allow
  120875. +dnl the ones we care about.
  120876. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  120877. +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
  120878. +AC_REQUIRE([AC_PROG_INSTALL])dnl
  120879. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  120880. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  120881. + # is not polluted with repeated "-I."
  120882. + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
  120883. + # test to see if srcdir already configured
  120884. + if test -f $srcdir/config.status; then
  120885. + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  120886. + fi
  120887. +fi
  120888. +
  120889. +# test whether we have cygpath
  120890. +if test -z "$CYGPATH_W"; then
  120891. + if (cygpath --version) >/dev/null 2>/dev/null; then
  120892. + CYGPATH_W='cygpath -w'
  120893. + else
  120894. + CYGPATH_W=echo
  120895. + fi
  120896. +fi
  120897. +AC_SUBST([CYGPATH_W])
  120898. +
  120899. +# Define the identity of the package.
  120900. +dnl Distinguish between old-style and new-style calls.
  120901. +m4_ifval([$2],
  120902. +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  120903. + AC_SUBST([PACKAGE], [$1])dnl
  120904. + AC_SUBST([VERSION], [$2])],
  120905. +[_AM_SET_OPTIONS([$1])dnl
  120906. +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  120907. +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
  120908. + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  120909. + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  120910. + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  120911. +
  120912. +_AM_IF_OPTION([no-define],,
  120913. +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
  120914. + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
  120915. +
  120916. +# Some tools Automake needs.
  120917. +AC_REQUIRE([AM_SANITY_CHECK])dnl
  120918. +AC_REQUIRE([AC_ARG_PROGRAM])dnl
  120919. +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
  120920. +AM_MISSING_PROG(AUTOCONF, autoconf)
  120921. +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  120922. +AM_MISSING_PROG(AUTOHEADER, autoheader)
  120923. +AM_MISSING_PROG(MAKEINFO, makeinfo)
  120924. +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  120925. +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  120926. +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  120927. +# We need awk for the "check" target. The system "awk" is bad on
  120928. +# some platforms.
  120929. +AC_REQUIRE([AC_PROG_AWK])dnl
  120930. +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  120931. +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  120932. +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  120933. + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  120934. + [_AM_PROG_TAR([v7])])])
  120935. +_AM_IF_OPTION([no-dependencies],,
  120936. +[AC_PROVIDE_IFELSE([AC_PROG_CC],
  120937. + [_AM_DEPENDENCIES(CC)],
  120938. + [define([AC_PROG_CC],
  120939. + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  120940. +AC_PROVIDE_IFELSE([AC_PROG_CXX],
  120941. + [_AM_DEPENDENCIES(CXX)],
  120942. + [define([AC_PROG_CXX],
  120943. + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  120944. +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  120945. + [_AM_DEPENDENCIES(OBJC)],
  120946. + [define([AC_PROG_OBJC],
  120947. + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  120948. +])
  120949. +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
  120950. +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
  120951. +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  120952. +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  120953. +AC_CONFIG_COMMANDS_PRE(dnl
  120954. +[m4_provide_if([_AM_COMPILER_EXEEXT],
  120955. + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  120956. +])
  120957. +m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
  120958. +_am_arg=$1
  120959. +_am_stamp_count=1
  120960. +for _am_header in $config_headers :; do
  120961. + case $_am_header in
  120962. + $_am_arg | $_am_arg:* )
  120963. + break ;;
  120964. + * )
  120965. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  120966. + esac
  120967. +done
  120968. +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  120969. +m4trace:/usr/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  120970. +if test x"${install_sh}" != xset; then
  120971. + case $am_aux_dir in
  120972. + *\ * | *\ *)
  120973. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  120974. + *)
  120975. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  120976. + esac
  120977. +fi
  120978. +AC_SUBST(install_sh)])
  120979. +m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
  120980. +mkdir .tst 2>/dev/null
  120981. +if test -d .tst; then
  120982. + am__leading_dot=.
  120983. +else
  120984. + am__leading_dot=_
  120985. +fi
  120986. +rmdir .tst 2>/dev/null
  120987. +AC_SUBST([am__leading_dot])])
  120988. +m4trace:/usr/share/aclocal-1.11/maintainer.m4:19: -1- AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]),
  120989. + [enable], [m4_define([am_maintainer_other], [disable])],
  120990. + [disable], [m4_define([am_maintainer_other], [enable])],
  120991. + [m4_define([am_maintainer_other], [enable])
  120992. + m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
  120993. +AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
  120994. + dnl maintainer-mode's default is 'disable' unless 'enable' is passed
  120995. + AC_ARG_ENABLE([maintainer-mode],
  120996. +[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
  120997. + (and sometimes confusing) to the casual installer],
  120998. + [USE_MAINTAINER_MODE=$enableval],
  120999. + [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
  121000. + AC_MSG_RESULT([$USE_MAINTAINER_MODE])
  121001. + AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
  121002. + MAINT=$MAINTAINER_MODE_TRUE
  121003. + AC_SUBST([MAINT])dnl
  121004. +
  121005. +])
  121006. +m4trace:/usr/share/aclocal-1.11/maintainer.m4:39: -1- AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
  121007. +m4trace:/usr/share/aclocal-1.11/maintainer.m4:39: -1- AC_DEFUN([jm_MAINTAINER_MODE], [AC_DIAGNOSE([obsolete], [The macro `jm_MAINTAINER_MODE' is obsolete.
  121008. +You should run autoupdate.])dnl
  121009. +AM_MAINTAINER_MODE])
  121010. +m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
  121011. +cat > confinc << 'END'
  121012. +am__doit:
  121013. + @echo this is the am__doit target
  121014. +.PHONY: am__doit
  121015. +END
  121016. +# If we don't find an include directive, just comment out the code.
  121017. +AC_MSG_CHECKING([for style of include used by $am_make])
  121018. +am__include="#"
  121019. +am__quote=
  121020. +_am_result=none
  121021. +# First try GNU make style include.
  121022. +echo "include confinc" > confmf
  121023. +# Ignore all kinds of additional output from `make'.
  121024. +case `$am_make -s -f confmf 2> /dev/null` in #(
  121025. +*the\ am__doit\ target*)
  121026. + am__include=include
  121027. + am__quote=
  121028. + _am_result=GNU
  121029. + ;;
  121030. +esac
  121031. +# Now try BSD make style include.
  121032. +if test "$am__include" = "#"; then
  121033. + echo '.include "confinc"' > confmf
  121034. + case `$am_make -s -f confmf 2> /dev/null` in #(
  121035. + *the\ am__doit\ target*)
  121036. + am__include=.include
  121037. + am__quote="\""
  121038. + _am_result=BSD
  121039. + ;;
  121040. + esac
  121041. +fi
  121042. +AC_SUBST([am__include])
  121043. +AC_SUBST([am__quote])
  121044. +AC_MSG_RESULT([$_am_result])
  121045. +rm -f confinc confmf
  121046. +])
  121047. +m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
  121048. +$1=${$1-"${am_missing_run}$2"}
  121049. +AC_SUBST($1)])
  121050. +m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  121051. +AC_REQUIRE_AUX_FILE([missing])dnl
  121052. +if test x"${MISSING+set}" != xset; then
  121053. + case $am_aux_dir in
  121054. + *\ * | *\ *)
  121055. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  121056. + *)
  121057. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  121058. + esac
  121059. +fi
  121060. +# Use eval to expand $SHELL
  121061. +if eval "$MISSING --run true"; then
  121062. + am_missing_run="$MISSING --run "
  121063. +else
  121064. + am_missing_run=
  121065. + AC_MSG_WARN([`missing' script is too old or missing])
  121066. +fi
  121067. +])
  121068. +m4trace:/usr/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
  121069. +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  121070. +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
  121071. +dnl while keeping a definition of mkdir_p for backward compatibility.
  121072. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
  121073. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
  121074. +dnl Makefile.ins that do not define MKDIR_P, so we do our own
  121075. +dnl adjustment using top_builddir (which is defined more often than
  121076. +dnl MKDIR_P).
  121077. +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
  121078. +case $mkdir_p in
  121079. + [[\\/$]]* | ?:[[\\/]]*) ;;
  121080. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  121081. +esac
  121082. +])
  121083. +m4trace:/usr/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  121084. +m4trace:/usr/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
  121085. +m4trace:/usr/share/aclocal-1.11/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  121086. +m4trace:/usr/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  121087. +m4trace:/usr/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
  121088. + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
  121089. + ac_status=$?
  121090. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  121091. + (exit $ac_status); }])
  121092. +m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
  121093. +# Just in case
  121094. +sleep 1
  121095. +echo timestamp > conftest.file
  121096. +# Reject unsafe characters in $srcdir or the absolute working directory
  121097. +# name. Accept space and tab only in the latter.
  121098. +am_lf='
  121099. +'
  121100. +case `pwd` in
  121101. + *[[\\\"\#\$\&\'\`$am_lf]]*)
  121102. + AC_MSG_ERROR([unsafe absolute working directory name]);;
  121103. +esac
  121104. +case $srcdir in
  121105. + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  121106. + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  121107. +esac
  121108. +
  121109. +# Do `set' in a subshell so we don't clobber the current shell's
  121110. +# arguments. Must try -L first in case configure is actually a
  121111. +# symlink; some systems play weird games with the mod time of symlinks
  121112. +# (eg FreeBSD returns the mod time of the symlink's containing
  121113. +# directory).
  121114. +if (
  121115. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  121116. + if test "$[*]" = "X"; then
  121117. + # -L didn't work.
  121118. + set X `ls -t "$srcdir/configure" conftest.file`
  121119. + fi
  121120. + rm -f conftest.file
  121121. + if test "$[*]" != "X $srcdir/configure conftest.file" \
  121122. + && test "$[*]" != "X conftest.file $srcdir/configure"; then
  121123. +
  121124. + # If neither matched, then we have a broken ls. This can happen
  121125. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  121126. + # broken ls alias from the environment. This has actually
  121127. + # happened. Such a system could not be considered "sane".
  121128. + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  121129. +alias in your environment])
  121130. + fi
  121131. +
  121132. + test "$[2]" = conftest.file
  121133. + )
  121134. +then
  121135. + # Ok.
  121136. + :
  121137. +else
  121138. + AC_MSG_ERROR([newly created file is older than distributed files!
  121139. +Check your system clock])
  121140. +fi
  121141. +AC_MSG_RESULT(yes)])
  121142. +m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
  121143. +[ --enable-silent-rules less verbose build output (undo: `make V=1')
  121144. + --disable-silent-rules verbose build output (undo: `make V=0')])
  121145. +case $enable_silent_rules in
  121146. +yes) AM_DEFAULT_VERBOSITY=0;;
  121147. +no) AM_DEFAULT_VERBOSITY=1;;
  121148. +*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
  121149. +esac
  121150. +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
  121151. +AM_BACKSLASH='\'
  121152. +AC_SUBST([AM_BACKSLASH])dnl
  121153. +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
  121154. +])
  121155. +m4trace:/usr/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  121156. +# Installed binaries are usually stripped using `strip' when the user
  121157. +# run `make install-strip'. However `strip' might not be the right
  121158. +# tool to use in cross-compilation environments, therefore Automake
  121159. +# will honor the `STRIP' environment variable to overrule this program.
  121160. +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
  121161. +if test "$cross_compiling" != no; then
  121162. + AC_CHECK_TOOL([STRIP], [strip], :)
  121163. +fi
  121164. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  121165. +AC_SUBST([INSTALL_STRIP_PROGRAM])])
  121166. +m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
  121167. +m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  121168. +m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
  121169. +AM_MISSING_PROG([AMTAR], [tar])
  121170. +m4_if([$1], [v7],
  121171. + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
  121172. + [m4_case([$1], [ustar],, [pax],,
  121173. + [m4_fatal([Unknown tar format])])
  121174. +AC_MSG_CHECKING([how to create a $1 tar archive])
  121175. +# Loop over all known methods to create a tar archive until one works.
  121176. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  121177. +_am_tools=${am_cv_prog_tar_$1-$_am_tools}
  121178. +# Do not fold the above two line into one, because Tru64 sh and
  121179. +# Solaris sh will not grok spaces in the rhs of `-'.
  121180. +for _am_tool in $_am_tools
  121181. +do
  121182. + case $_am_tool in
  121183. + gnutar)
  121184. + for _am_tar in tar gnutar gtar;
  121185. + do
  121186. + AM_RUN_LOG([$_am_tar --version]) && break
  121187. + done
  121188. + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  121189. + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  121190. + am__untar="$_am_tar -xf -"
  121191. + ;;
  121192. + plaintar)
  121193. + # Must skip GNU tar: if it does not support --format= it doesn't create
  121194. + # ustar tarball either.
  121195. + (tar --version) >/dev/null 2>&1 && continue
  121196. + am__tar='tar chf - "$$tardir"'
  121197. + am__tar_='tar chf - "$tardir"'
  121198. + am__untar='tar xf -'
  121199. + ;;
  121200. + pax)
  121201. + am__tar='pax -L -x $1 -w "$$tardir"'
  121202. + am__tar_='pax -L -x $1 -w "$tardir"'
  121203. + am__untar='pax -r'
  121204. + ;;
  121205. + cpio)
  121206. + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  121207. + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  121208. + am__untar='cpio -i -H $1 -d'
  121209. + ;;
  121210. + none)
  121211. + am__tar=false
  121212. + am__tar_=false
  121213. + am__untar=false
  121214. + ;;
  121215. + esac
  121216. +
  121217. + # If the value was cached, stop now. We just wanted to have am__tar
  121218. + # and am__untar set.
  121219. + test -n "${am_cv_prog_tar_$1}" && break
  121220. +
  121221. + # tar/untar a dummy directory, and stop if the command works
  121222. + rm -rf conftest.dir
  121223. + mkdir conftest.dir
  121224. + echo GrepMe > conftest.dir/file
  121225. + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  121226. + rm -rf conftest.dir
  121227. + if test -s conftest.tar; then
  121228. + AM_RUN_LOG([$am__untar <conftest.tar])
  121229. + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  121230. + fi
  121231. +done
  121232. +rm -rf conftest.dir
  121233. +
  121234. +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  121235. +AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  121236. +AC_SUBST([am__tar])
  121237. +AC_SUBST([am__untar])
  121238. +])
  121239. +m4trace:acinclude.m4:8: -1- AC_DEFUN([AC_TEST_CHECKFORHUGEOBJECTS], [
  121240. + AC_MSG_CHECKING([whether compiler accepts -fhuge-objects])
  121241. + AC_CACHE_VAL([ac_cv_test_checkforhugeobjects],[
  121242. + ac_cv_test_checkforhugeobjects=`echo "int foo;" > conftest.cc
  121243. +${CXX} -Werror -fhuge-objects -c conftest.cc 2>/dev/null
  121244. +res=$?
  121245. +rm -f conftest.*
  121246. +echo yes
  121247. +exit $res`
  121248. + if [[ $? -ne 0 ]]
  121249. + then ac_cv_test_checkforhugeobjects=no
  121250. + else if [[ -z "$ac_cv_test_checkforhugeobjects" ]]
  121251. + then ac_cv_test_checkforhugeobjects=yes
  121252. + fi ; fi
  121253. + ]) # end of CACHE_VAL
  121254. + AC_MSG_RESULT([${ac_cv_test_checkforhugeobjects}])
  121255. +
  121256. + if test "X${ac_cv_test_checkforhugeobjects}" != Xno
  121257. + then
  121258. + HUGE_OBJECT_FLAG="-fhuge-objects"
  121259. + else
  121260. + HUGE_OBJECT_FLAG=""
  121261. + fi
  121262. +])
  121263. +m4trace:configure.in:2: -1- m4_pattern_forbid([^_?A[CHUM]_])
  121264. +m4trace:configure.in:2: -1- m4_pattern_forbid([_AC_])
  121265. +m4trace:configure.in:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
  121266. +m4trace:configure.in:2: -1- m4_pattern_allow([^AS_FLAGS$])
  121267. +m4trace:configure.in:2: -1- m4_pattern_forbid([^_?m4_])
  121268. +m4trace:configure.in:2: -1- m4_pattern_forbid([^dnl$])
  121269. +m4trace:configure.in:2: -1- m4_pattern_forbid([^_?AS_])
  121270. +m4trace:configure.in:2: -1- m4_pattern_allow([^SHELL$])
  121271. +m4trace:configure.in:2: -1- m4_pattern_allow([^PATH_SEPARATOR$])
  121272. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
  121273. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  121274. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  121275. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
  121276. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  121277. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_URL$])
  121278. +m4trace:configure.in:2: -1- m4_pattern_allow([^exec_prefix$])
  121279. +m4trace:configure.in:2: -1- m4_pattern_allow([^prefix$])
  121280. +m4trace:configure.in:2: -1- m4_pattern_allow([^program_transform_name$])
  121281. +m4trace:configure.in:2: -1- m4_pattern_allow([^bindir$])
  121282. +m4trace:configure.in:2: -1- m4_pattern_allow([^sbindir$])
  121283. +m4trace:configure.in:2: -1- m4_pattern_allow([^libexecdir$])
  121284. +m4trace:configure.in:2: -1- m4_pattern_allow([^datarootdir$])
  121285. +m4trace:configure.in:2: -1- m4_pattern_allow([^datadir$])
  121286. +m4trace:configure.in:2: -1- m4_pattern_allow([^sysconfdir$])
  121287. +m4trace:configure.in:2: -1- m4_pattern_allow([^sharedstatedir$])
  121288. +m4trace:configure.in:2: -1- m4_pattern_allow([^localstatedir$])
  121289. +m4trace:configure.in:2: -1- m4_pattern_allow([^includedir$])
  121290. +m4trace:configure.in:2: -1- m4_pattern_allow([^oldincludedir$])
  121291. +m4trace:configure.in:2: -1- m4_pattern_allow([^docdir$])
  121292. +m4trace:configure.in:2: -1- m4_pattern_allow([^infodir$])
  121293. +m4trace:configure.in:2: -1- m4_pattern_allow([^htmldir$])
  121294. +m4trace:configure.in:2: -1- m4_pattern_allow([^dvidir$])
  121295. +m4trace:configure.in:2: -1- m4_pattern_allow([^pdfdir$])
  121296. +m4trace:configure.in:2: -1- m4_pattern_allow([^psdir$])
  121297. +m4trace:configure.in:2: -1- m4_pattern_allow([^libdir$])
  121298. +m4trace:configure.in:2: -1- m4_pattern_allow([^localedir$])
  121299. +m4trace:configure.in:2: -1- m4_pattern_allow([^mandir$])
  121300. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
  121301. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  121302. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  121303. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
  121304. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  121305. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_URL$])
  121306. +m4trace:configure.in:2: -1- m4_pattern_allow([^DEFS$])
  121307. +m4trace:configure.in:2: -1- m4_pattern_allow([^ECHO_C$])
  121308. +m4trace:configure.in:2: -1- m4_pattern_allow([^ECHO_N$])
  121309. +m4trace:configure.in:2: -1- m4_pattern_allow([^ECHO_T$])
  121310. +m4trace:configure.in:2: -1- m4_pattern_allow([^LIBS$])
  121311. +m4trace:configure.in:2: -1- m4_pattern_allow([^build_alias$])
  121312. +m4trace:configure.in:2: -1- m4_pattern_allow([^host_alias$])
  121313. +m4trace:configure.in:2: -1- m4_pattern_allow([^target_alias$])
  121314. +m4trace:configure.in:4: -1- AM_CONFIG_HEADER([config.h])
  121315. +m4trace:configure.in:4: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
  121316. +You should run autoupdate.], [/usr/share/aclocal-1.11/header.m4:12: AM_CONFIG_HEADER is expanded from...
  121317. +configure.in:4: the top level])
  121318. +m4trace:configure.in:10: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
  121319. +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
  121320. +configure.in:10: the top level])
  121321. +m4trace:configure.in:26: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
  121322. +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
  121323. +configure.in:26: the top level])
  121324. +m4trace:configure.in:42: -1- m4_pattern_allow([^_SQUID_INLINE_$])
  121325. +m4trace:configure.in:43: -1- m4_pattern_allow([^_USE_INLINE_$])
  121326. +m4trace:configure.in:46: -1- m4_pattern_allow([^_SQUID_INLINE_$])
  121327. +m4trace:configure.in:51: -1- m4_pattern_allow([^CXX$])
  121328. +m4trace:configure.in:51: -1- m4_pattern_allow([^CXXFLAGS$])
  121329. +m4trace:configure.in:51: -1- m4_pattern_allow([^LDFLAGS$])
  121330. +m4trace:configure.in:51: -1- m4_pattern_allow([^LIBS$])
  121331. +m4trace:configure.in:51: -1- m4_pattern_allow([^CPPFLAGS$])
  121332. +m4trace:configure.in:51: -1- m4_pattern_allow([^CXX$])
  121333. +m4trace:configure.in:51: -1- m4_pattern_allow([^ac_ct_CXX$])
  121334. +m4trace:configure.in:51: -1- m4_pattern_allow([^EXEEXT$])
  121335. +m4trace:configure.in:51: -1- m4_pattern_allow([^OBJEXT$])
  121336. +m4trace:configure.in:52: -1- m4_pattern_allow([^CC$])
  121337. +m4trace:configure.in:52: -1- m4_pattern_allow([^CFLAGS$])
  121338. +m4trace:configure.in:52: -1- m4_pattern_allow([^LDFLAGS$])
  121339. +m4trace:configure.in:52: -1- m4_pattern_allow([^LIBS$])
  121340. +m4trace:configure.in:52: -1- m4_pattern_allow([^CPPFLAGS$])
  121341. +m4trace:configure.in:52: -1- m4_pattern_allow([^CC$])
  121342. +m4trace:configure.in:52: -1- m4_pattern_allow([^CC$])
  121343. +m4trace:configure.in:52: -1- m4_pattern_allow([^CC$])
  121344. +m4trace:configure.in:52: -1- m4_pattern_allow([^CC$])
  121345. +m4trace:configure.in:52: -1- m4_pattern_allow([^ac_ct_CC$])
  121346. +m4trace:configure.in:53: -1- m4_pattern_allow([^SET_MAKE$])
  121347. +m4trace:configure.in:55: -1- AM_INIT_AUTOMAKE([libTrie], [0.1])
  121348. +m4trace:configure.in:55: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
  121349. +m4trace:configure.in:55: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
  121350. +m4trace:configure.in:55: -1- AM_AUTOMAKE_VERSION([1.11.1])
  121351. +m4trace:configure.in:55: -1- _AM_AUTOCONF_VERSION([2.65])
  121352. +m4trace:configure.in:55: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
  121353. +m4trace:configure.in:55: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
  121354. +m4trace:configure.in:55: -1- m4_pattern_allow([^INSTALL_DATA$])
  121355. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__isrc$])
  121356. +m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([am__isrc])
  121357. +m4trace:configure.in:55: -1- m4_pattern_allow([^CYGPATH_W$])
  121358. +m4trace:configure.in:55: -1- m4_pattern_allow([^PACKAGE$])
  121359. +m4trace:configure.in:55: -1- m4_pattern_allow([^VERSION$])
  121360. +m4trace:configure.in:55: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
  121361. + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
  121362. +m4trace:configure.in:55: -2- _AM_MANGLE_OPTION([no-define])
  121363. +m4trace:configure.in:55: -1- m4_pattern_allow([^PACKAGE$])
  121364. +m4trace:configure.in:55: -1- m4_pattern_allow([^VERSION$])
  121365. +m4trace:configure.in:55: -1- AM_SANITY_CHECK
  121366. +m4trace:configure.in:55: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  121367. +m4trace:configure.in:55: -1- AM_MISSING_HAS_RUN
  121368. +m4trace:configure.in:55: -1- AM_AUX_DIR_EXPAND
  121369. +m4trace:configure.in:55: -1- m4_pattern_allow([^ACLOCAL$])
  121370. +m4trace:configure.in:55: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
  121371. +m4trace:configure.in:55: -1- m4_pattern_allow([^AUTOCONF$])
  121372. +m4trace:configure.in:55: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  121373. +m4trace:configure.in:55: -1- m4_pattern_allow([^AUTOMAKE$])
  121374. +m4trace:configure.in:55: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
  121375. +m4trace:configure.in:55: -1- m4_pattern_allow([^AUTOHEADER$])
  121376. +m4trace:configure.in:55: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
  121377. +m4trace:configure.in:55: -1- m4_pattern_allow([^MAKEINFO$])
  121378. +m4trace:configure.in:55: -1- AM_PROG_INSTALL_SH
  121379. +m4trace:configure.in:55: -1- m4_pattern_allow([^install_sh$])
  121380. +m4trace:configure.in:55: -1- AM_PROG_INSTALL_STRIP
  121381. +m4trace:configure.in:55: -1- m4_pattern_allow([^STRIP$])
  121382. +m4trace:configure.in:55: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
  121383. +m4trace:configure.in:55: -1- AM_PROG_MKDIR_P
  121384. +m4trace:configure.in:55: -1- m4_pattern_allow([^MKDIR_P$])
  121385. +m4trace:configure.in:55: -1- m4_pattern_allow([^mkdir_p$])
  121386. +m4trace:configure.in:55: -1- m4_pattern_allow([^AWK$])
  121387. +m4trace:configure.in:55: -1- AM_SET_LEADING_DOT
  121388. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__leading_dot$])
  121389. +m4trace:configure.in:55: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  121390. + [_AM_PROG_TAR([v7])])])
  121391. +m4trace:configure.in:55: -2- _AM_MANGLE_OPTION([tar-ustar])
  121392. +m4trace:configure.in:55: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
  121393. +m4trace:configure.in:55: -2- _AM_MANGLE_OPTION([tar-pax])
  121394. +m4trace:configure.in:55: -1- _AM_PROG_TAR([v7])
  121395. +m4trace:configure.in:55: -1- AM_MISSING_PROG([AMTAR], [tar])
  121396. +m4trace:configure.in:55: -1- m4_pattern_allow([^AMTAR$])
  121397. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__tar$])
  121398. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__untar$])
  121399. +m4trace:configure.in:55: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
  121400. + [_AM_DEPENDENCIES(CC)],
  121401. + [define([AC_PROG_CC],
  121402. + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  121403. +AC_PROVIDE_IFELSE([AC_PROG_CXX],
  121404. + [_AM_DEPENDENCIES(CXX)],
  121405. + [define([AC_PROG_CXX],
  121406. + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  121407. +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  121408. + [_AM_DEPENDENCIES(OBJC)],
  121409. + [define([AC_PROG_OBJC],
  121410. + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  121411. +])
  121412. +m4trace:configure.in:55: -2- _AM_MANGLE_OPTION([no-dependencies])
  121413. +m4trace:configure.in:55: -1- _AM_DEPENDENCIES([CC])
  121414. +m4trace:configure.in:55: -1- AM_SET_DEPDIR
  121415. +m4trace:configure.in:55: -1- m4_pattern_allow([^DEPDIR$])
  121416. +m4trace:configure.in:55: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
  121417. +m4trace:configure.in:55: -1- AM_MAKE_INCLUDE
  121418. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__include$])
  121419. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__quote$])
  121420. +m4trace:configure.in:55: -1- AM_DEP_TRACK
  121421. +m4trace:configure.in:55: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  121422. +m4trace:configure.in:55: -1- m4_pattern_allow([^AMDEP_TRUE$])
  121423. +m4trace:configure.in:55: -1- m4_pattern_allow([^AMDEP_FALSE$])
  121424. +m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
  121425. +m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
  121426. +m4trace:configure.in:55: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
  121427. +m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
  121428. +m4trace:configure.in:55: -1- m4_pattern_allow([^CCDEPMODE$])
  121429. +m4trace:configure.in:55: -1- AM_CONDITIONAL([am__fastdepCC], [
  121430. + test "x$enable_dependency_tracking" != xno \
  121431. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  121432. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  121433. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  121434. +m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  121435. +m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  121436. +m4trace:configure.in:55: -1- _AM_DEPENDENCIES([CXX])
  121437. +m4trace:configure.in:55: -1- m4_pattern_allow([^CXXDEPMODE$])
  121438. +m4trace:configure.in:55: -1- AM_CONDITIONAL([am__fastdepCXX], [
  121439. + test "x$enable_dependency_tracking" != xno \
  121440. + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
  121441. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
  121442. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
  121443. +m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
  121444. +m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
  121445. +m4trace:configure.in:55: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
  121446. +m4trace:configure.in:55: -2- _AM_MANGLE_OPTION([silent-rules])
  121447. +m4trace:configure.in:56: -1- AM_MAINTAINER_MODE
  121448. +m4trace:configure.in:56: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
  121449. +m4trace:configure.in:56: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
  121450. +m4trace:configure.in:56: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
  121451. +m4trace:configure.in:56: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
  121452. +m4trace:configure.in:56: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
  121453. +m4trace:configure.in:56: -1- m4_pattern_allow([^MAINT$])
  121454. +m4trace:configure.in:57: -1- m4_pattern_allow([^RANLIB$])
  121455. +m4trace:configure.in:68: -1- AC_TEST_CHECKFORHUGEOBJECTS
  121456. +m4trace:configure.in:71: -1- m4_pattern_allow([^TRIE_CFLAGS$])
  121457. +m4trace:configure.in:72: -1- m4_pattern_allow([^TRIE_CXXFLAGS$])
  121458. +m4trace:configure.in:79: -1- m4_pattern_allow([^const$])
  121459. +m4trace:configure.in:80: -1- m4_pattern_allow([^CPP$])
  121460. +m4trace:configure.in:80: -1- m4_pattern_allow([^CPPFLAGS$])
  121461. +m4trace:configure.in:80: -1- m4_pattern_allow([^CPP$])
  121462. +m4trace:configure.in:80: -1- m4_pattern_allow([^GREP$])
  121463. +m4trace:configure.in:80: -1- m4_pattern_allow([^EGREP$])
  121464. +m4trace:configure.in:80: -1- m4_pattern_allow([^STDC_HEADERS$])
  121465. +m4trace:configure.in:80: -1- m4_pattern_allow([^size_t$])
  121466. +m4trace:configure.in:88: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  121467. +m4trace:configure.in:88: -1- m4_pattern_allow([^LTLIBOBJS$])
  121468. +m4trace:configure.in:88: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
  121469. +m4trace:configure.in:88: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
  121470. +m4trace:configure.in:88: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
  121471. +m4trace:configure.in:88: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
  121472. +m4trace:configure.in:88: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
  121473. +m4trace:configure.in:88: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
  121474. +m4trace:configure.in:88: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
  121475. diff -Nur squid-3.0.STABLE20.orig/lib/libTrie/autom4te.cache/traces.1 squid-3.0.STABLE20/lib/libTrie/autom4te.cache/traces.1
  121476. --- squid-3.0.STABLE20.orig/lib/libTrie/autom4te.cache/traces.1 1970-01-01 01:00:00.000000000 +0100
  121477. +++ squid-3.0.STABLE20/lib/libTrie/autom4te.cache/traces.1 2010-02-19 00:39:35.204852506 +0100
  121478. @@ -0,0 +1,460 @@
  121479. +m4trace:aclocal.m4:1004: -1- m4_include([acinclude.m4])
  121480. +m4trace:configure.in:2: -1- AC_INIT([libTrie], [0.1], [rbtcollins@squid-cache.org])
  121481. +m4trace:configure.in:2: -1- m4_pattern_forbid([^_?A[CHUM]_])
  121482. +m4trace:configure.in:2: -1- m4_pattern_forbid([_AC_])
  121483. +m4trace:configure.in:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
  121484. +m4trace:configure.in:2: -1- m4_pattern_allow([^AS_FLAGS$])
  121485. +m4trace:configure.in:2: -1- m4_pattern_forbid([^_?m4_])
  121486. +m4trace:configure.in:2: -1- m4_pattern_forbid([^dnl$])
  121487. +m4trace:configure.in:2: -1- m4_pattern_forbid([^_?AS_])
  121488. +m4trace:configure.in:2: -1- AC_SUBST([SHELL])
  121489. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([SHELL])
  121490. +m4trace:configure.in:2: -1- m4_pattern_allow([^SHELL$])
  121491. +m4trace:configure.in:2: -1- AC_SUBST([PATH_SEPARATOR])
  121492. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
  121493. +m4trace:configure.in:2: -1- m4_pattern_allow([^PATH_SEPARATOR$])
  121494. +m4trace:configure.in:2: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
  121495. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([PACKAGE_NAME])
  121496. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
  121497. +m4trace:configure.in:2: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
  121498. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
  121499. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  121500. +m4trace:configure.in:2: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
  121501. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
  121502. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  121503. +m4trace:configure.in:2: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
  121504. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([PACKAGE_STRING])
  121505. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
  121506. +m4trace:configure.in:2: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
  121507. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
  121508. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  121509. +m4trace:configure.in:2: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
  121510. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([PACKAGE_URL])
  121511. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_URL$])
  121512. +m4trace:configure.in:2: -1- AC_SUBST([exec_prefix], [NONE])
  121513. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([exec_prefix])
  121514. +m4trace:configure.in:2: -1- m4_pattern_allow([^exec_prefix$])
  121515. +m4trace:configure.in:2: -1- AC_SUBST([prefix], [NONE])
  121516. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([prefix])
  121517. +m4trace:configure.in:2: -1- m4_pattern_allow([^prefix$])
  121518. +m4trace:configure.in:2: -1- AC_SUBST([program_transform_name], [s,x,x,])
  121519. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([program_transform_name])
  121520. +m4trace:configure.in:2: -1- m4_pattern_allow([^program_transform_name$])
  121521. +m4trace:configure.in:2: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
  121522. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([bindir])
  121523. +m4trace:configure.in:2: -1- m4_pattern_allow([^bindir$])
  121524. +m4trace:configure.in:2: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
  121525. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([sbindir])
  121526. +m4trace:configure.in:2: -1- m4_pattern_allow([^sbindir$])
  121527. +m4trace:configure.in:2: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
  121528. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([libexecdir])
  121529. +m4trace:configure.in:2: -1- m4_pattern_allow([^libexecdir$])
  121530. +m4trace:configure.in:2: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
  121531. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([datarootdir])
  121532. +m4trace:configure.in:2: -1- m4_pattern_allow([^datarootdir$])
  121533. +m4trace:configure.in:2: -1- AC_SUBST([datadir], ['${datarootdir}'])
  121534. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([datadir])
  121535. +m4trace:configure.in:2: -1- m4_pattern_allow([^datadir$])
  121536. +m4trace:configure.in:2: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
  121537. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([sysconfdir])
  121538. +m4trace:configure.in:2: -1- m4_pattern_allow([^sysconfdir$])
  121539. +m4trace:configure.in:2: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
  121540. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([sharedstatedir])
  121541. +m4trace:configure.in:2: -1- m4_pattern_allow([^sharedstatedir$])
  121542. +m4trace:configure.in:2: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
  121543. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([localstatedir])
  121544. +m4trace:configure.in:2: -1- m4_pattern_allow([^localstatedir$])
  121545. +m4trace:configure.in:2: -1- AC_SUBST([includedir], ['${prefix}/include'])
  121546. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([includedir])
  121547. +m4trace:configure.in:2: -1- m4_pattern_allow([^includedir$])
  121548. +m4trace:configure.in:2: -1- AC_SUBST([oldincludedir], ['/usr/include'])
  121549. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([oldincludedir])
  121550. +m4trace:configure.in:2: -1- m4_pattern_allow([^oldincludedir$])
  121551. +m4trace:configure.in:2: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
  121552. + ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
  121553. + ['${datarootdir}/doc/${PACKAGE}'])])
  121554. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([docdir])
  121555. +m4trace:configure.in:2: -1- m4_pattern_allow([^docdir$])
  121556. +m4trace:configure.in:2: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
  121557. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([infodir])
  121558. +m4trace:configure.in:2: -1- m4_pattern_allow([^infodir$])
  121559. +m4trace:configure.in:2: -1- AC_SUBST([htmldir], ['${docdir}'])
  121560. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([htmldir])
  121561. +m4trace:configure.in:2: -1- m4_pattern_allow([^htmldir$])
  121562. +m4trace:configure.in:2: -1- AC_SUBST([dvidir], ['${docdir}'])
  121563. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([dvidir])
  121564. +m4trace:configure.in:2: -1- m4_pattern_allow([^dvidir$])
  121565. +m4trace:configure.in:2: -1- AC_SUBST([pdfdir], ['${docdir}'])
  121566. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([pdfdir])
  121567. +m4trace:configure.in:2: -1- m4_pattern_allow([^pdfdir$])
  121568. +m4trace:configure.in:2: -1- AC_SUBST([psdir], ['${docdir}'])
  121569. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([psdir])
  121570. +m4trace:configure.in:2: -1- m4_pattern_allow([^psdir$])
  121571. +m4trace:configure.in:2: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
  121572. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([libdir])
  121573. +m4trace:configure.in:2: -1- m4_pattern_allow([^libdir$])
  121574. +m4trace:configure.in:2: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
  121575. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([localedir])
  121576. +m4trace:configure.in:2: -1- m4_pattern_allow([^localedir$])
  121577. +m4trace:configure.in:2: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
  121578. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([mandir])
  121579. +m4trace:configure.in:2: -1- m4_pattern_allow([^mandir$])
  121580. +m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
  121581. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
  121582. +m4trace:configure.in:2: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
  121583. +@%:@undef PACKAGE_NAME])
  121584. +m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
  121585. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  121586. +m4trace:configure.in:2: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
  121587. +@%:@undef PACKAGE_TARNAME])
  121588. +m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
  121589. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  121590. +m4trace:configure.in:2: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
  121591. +@%:@undef PACKAGE_VERSION])
  121592. +m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
  121593. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
  121594. +m4trace:configure.in:2: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
  121595. +@%:@undef PACKAGE_STRING])
  121596. +m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
  121597. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  121598. +m4trace:configure.in:2: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
  121599. +@%:@undef PACKAGE_BUGREPORT])
  121600. +m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
  121601. +m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_URL$])
  121602. +m4trace:configure.in:2: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
  121603. +@%:@undef PACKAGE_URL])
  121604. +m4trace:configure.in:2: -1- AC_SUBST([DEFS])
  121605. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([DEFS])
  121606. +m4trace:configure.in:2: -1- m4_pattern_allow([^DEFS$])
  121607. +m4trace:configure.in:2: -1- AC_SUBST([ECHO_C])
  121608. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([ECHO_C])
  121609. +m4trace:configure.in:2: -1- m4_pattern_allow([^ECHO_C$])
  121610. +m4trace:configure.in:2: -1- AC_SUBST([ECHO_N])
  121611. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([ECHO_N])
  121612. +m4trace:configure.in:2: -1- m4_pattern_allow([^ECHO_N$])
  121613. +m4trace:configure.in:2: -1- AC_SUBST([ECHO_T])
  121614. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([ECHO_T])
  121615. +m4trace:configure.in:2: -1- m4_pattern_allow([^ECHO_T$])
  121616. +m4trace:configure.in:2: -1- AC_SUBST([LIBS])
  121617. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([LIBS])
  121618. +m4trace:configure.in:2: -1- m4_pattern_allow([^LIBS$])
  121619. +m4trace:configure.in:2: -1- AC_SUBST([build_alias])
  121620. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([build_alias])
  121621. +m4trace:configure.in:2: -1- m4_pattern_allow([^build_alias$])
  121622. +m4trace:configure.in:2: -1- AC_SUBST([host_alias])
  121623. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([host_alias])
  121624. +m4trace:configure.in:2: -1- m4_pattern_allow([^host_alias$])
  121625. +m4trace:configure.in:2: -1- AC_SUBST([target_alias])
  121626. +m4trace:configure.in:2: -1- AC_SUBST_TRACE([target_alias])
  121627. +m4trace:configure.in:2: -1- m4_pattern_allow([^target_alias$])
  121628. +m4trace:configure.in:4: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
  121629. +You should run autoupdate.], [aclocal.m4:419: AM_CONFIG_HEADER is expanded from...
  121630. +configure.in:4: the top level])
  121631. +m4trace:configure.in:4: -1- AC_CONFIG_HEADERS([config.h])
  121632. +m4trace:configure.in:5: -1- AC_CONFIG_AUX_DIR([cfgaux])
  121633. +m4trace:configure.in:10: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
  121634. +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
  121635. +configure.in:10: the top level])
  121636. +m4trace:configure.in:26: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
  121637. +You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
  121638. +configure.in:26: the top level])
  121639. +m4trace:configure.in:42: -1- AC_DEFINE_TRACE_LITERAL([_SQUID_INLINE_])
  121640. +m4trace:configure.in:42: -1- m4_pattern_allow([^_SQUID_INLINE_$])
  121641. +m4trace:configure.in:42: -1- AH_OUTPUT([_SQUID_INLINE_], [/* Keyword used by squid for inlining methods */
  121642. +@%:@undef _SQUID_INLINE_])
  121643. +m4trace:configure.in:43: -1- AC_DEFINE_TRACE_LITERAL([_USE_INLINE_])
  121644. +m4trace:configure.in:43: -1- m4_pattern_allow([^_USE_INLINE_$])
  121645. +m4trace:configure.in:43: -1- AH_OUTPUT([_USE_INLINE_], [/* Include inline methods into header file */
  121646. +@%:@undef _USE_INLINE_])
  121647. +m4trace:configure.in:46: -1- AC_DEFINE_TRACE_LITERAL([_SQUID_INLINE_])
  121648. +m4trace:configure.in:46: -1- m4_pattern_allow([^_SQUID_INLINE_$])
  121649. +m4trace:configure.in:46: -1- AH_OUTPUT([_SQUID_INLINE_], [/* Keyword used by squid for inlining methods */
  121650. +@%:@undef _SQUID_INLINE_])
  121651. +m4trace:configure.in:51: -1- AC_SUBST([CXX])
  121652. +m4trace:configure.in:51: -1- AC_SUBST_TRACE([CXX])
  121653. +m4trace:configure.in:51: -1- m4_pattern_allow([^CXX$])
  121654. +m4trace:configure.in:51: -1- AC_SUBST([CXXFLAGS])
  121655. +m4trace:configure.in:51: -1- AC_SUBST_TRACE([CXXFLAGS])
  121656. +m4trace:configure.in:51: -1- m4_pattern_allow([^CXXFLAGS$])
  121657. +m4trace:configure.in:51: -1- AC_SUBST([LDFLAGS])
  121658. +m4trace:configure.in:51: -1- AC_SUBST_TRACE([LDFLAGS])
  121659. +m4trace:configure.in:51: -1- m4_pattern_allow([^LDFLAGS$])
  121660. +m4trace:configure.in:51: -1- AC_SUBST([LIBS])
  121661. +m4trace:configure.in:51: -1- AC_SUBST_TRACE([LIBS])
  121662. +m4trace:configure.in:51: -1- m4_pattern_allow([^LIBS$])
  121663. +m4trace:configure.in:51: -1- AC_SUBST([CPPFLAGS])
  121664. +m4trace:configure.in:51: -1- AC_SUBST_TRACE([CPPFLAGS])
  121665. +m4trace:configure.in:51: -1- m4_pattern_allow([^CPPFLAGS$])
  121666. +m4trace:configure.in:51: -1- AC_SUBST([CXX])
  121667. +m4trace:configure.in:51: -1- AC_SUBST_TRACE([CXX])
  121668. +m4trace:configure.in:51: -1- m4_pattern_allow([^CXX$])
  121669. +m4trace:configure.in:51: -1- AC_SUBST([ac_ct_CXX])
  121670. +m4trace:configure.in:51: -1- AC_SUBST_TRACE([ac_ct_CXX])
  121671. +m4trace:configure.in:51: -1- m4_pattern_allow([^ac_ct_CXX$])
  121672. +m4trace:configure.in:51: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
  121673. +m4trace:configure.in:51: -1- AC_SUBST_TRACE([EXEEXT])
  121674. +m4trace:configure.in:51: -1- m4_pattern_allow([^EXEEXT$])
  121675. +m4trace:configure.in:51: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
  121676. +m4trace:configure.in:51: -1- AC_SUBST_TRACE([OBJEXT])
  121677. +m4trace:configure.in:51: -1- m4_pattern_allow([^OBJEXT$])
  121678. +m4trace:configure.in:52: -1- AC_SUBST([CC])
  121679. +m4trace:configure.in:52: -1- AC_SUBST_TRACE([CC])
  121680. +m4trace:configure.in:52: -1- m4_pattern_allow([^CC$])
  121681. +m4trace:configure.in:52: -1- AC_SUBST([CFLAGS])
  121682. +m4trace:configure.in:52: -1- AC_SUBST_TRACE([CFLAGS])
  121683. +m4trace:configure.in:52: -1- m4_pattern_allow([^CFLAGS$])
  121684. +m4trace:configure.in:52: -1- AC_SUBST([LDFLAGS])
  121685. +m4trace:configure.in:52: -1- AC_SUBST_TRACE([LDFLAGS])
  121686. +m4trace:configure.in:52: -1- m4_pattern_allow([^LDFLAGS$])
  121687. +m4trace:configure.in:52: -1- AC_SUBST([LIBS])
  121688. +m4trace:configure.in:52: -1- AC_SUBST_TRACE([LIBS])
  121689. +m4trace:configure.in:52: -1- m4_pattern_allow([^LIBS$])
  121690. +m4trace:configure.in:52: -1- AC_SUBST([CPPFLAGS])
  121691. +m4trace:configure.in:52: -1- AC_SUBST_TRACE([CPPFLAGS])
  121692. +m4trace:configure.in:52: -1- m4_pattern_allow([^CPPFLAGS$])
  121693. +m4trace:configure.in:52: -1- AC_SUBST([CC])
  121694. +m4trace:configure.in:52: -1- AC_SUBST_TRACE([CC])
  121695. +m4trace:configure.in:52: -1- m4_pattern_allow([^CC$])
  121696. +m4trace:configure.in:52: -1- AC_SUBST([CC])
  121697. +m4trace:configure.in:52: -1- AC_SUBST_TRACE([CC])
  121698. +m4trace:configure.in:52: -1- m4_pattern_allow([^CC$])
  121699. +m4trace:configure.in:52: -1- AC_SUBST([CC])
  121700. +m4trace:configure.in:52: -1- AC_SUBST_TRACE([CC])
  121701. +m4trace:configure.in:52: -1- m4_pattern_allow([^CC$])
  121702. +m4trace:configure.in:52: -1- AC_SUBST([CC])
  121703. +m4trace:configure.in:52: -1- AC_SUBST_TRACE([CC])
  121704. +m4trace:configure.in:52: -1- m4_pattern_allow([^CC$])
  121705. +m4trace:configure.in:52: -1- AC_SUBST([ac_ct_CC])
  121706. +m4trace:configure.in:52: -1- AC_SUBST_TRACE([ac_ct_CC])
  121707. +m4trace:configure.in:52: -1- m4_pattern_allow([^ac_ct_CC$])
  121708. +m4trace:configure.in:53: -1- AC_SUBST([SET_MAKE])
  121709. +m4trace:configure.in:53: -1- AC_SUBST_TRACE([SET_MAKE])
  121710. +m4trace:configure.in:53: -1- m4_pattern_allow([^SET_MAKE$])
  121711. +m4trace:configure.in:55: -1- AM_INIT_AUTOMAKE([libTrie], [0.1])
  121712. +m4trace:configure.in:55: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
  121713. +m4trace:configure.in:55: -1- AM_AUTOMAKE_VERSION([1.11.1])
  121714. +m4trace:configure.in:55: -1- AC_REQUIRE_AUX_FILE([install-sh])
  121715. +m4trace:configure.in:55: -1- AC_SUBST([INSTALL_PROGRAM])
  121716. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
  121717. +m4trace:configure.in:55: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
  121718. +m4trace:configure.in:55: -1- AC_SUBST([INSTALL_SCRIPT])
  121719. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
  121720. +m4trace:configure.in:55: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
  121721. +m4trace:configure.in:55: -1- AC_SUBST([INSTALL_DATA])
  121722. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([INSTALL_DATA])
  121723. +m4trace:configure.in:55: -1- m4_pattern_allow([^INSTALL_DATA$])
  121724. +m4trace:configure.in:55: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
  121725. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([am__isrc])
  121726. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__isrc$])
  121727. +m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([am__isrc])
  121728. +m4trace:configure.in:55: -1- AC_SUBST([CYGPATH_W])
  121729. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([CYGPATH_W])
  121730. +m4trace:configure.in:55: -1- m4_pattern_allow([^CYGPATH_W$])
  121731. +m4trace:configure.in:55: -1- AC_SUBST([PACKAGE], [libTrie])
  121732. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([PACKAGE])
  121733. +m4trace:configure.in:55: -1- m4_pattern_allow([^PACKAGE$])
  121734. +m4trace:configure.in:55: -1- AC_SUBST([VERSION], [0.1])
  121735. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([VERSION])
  121736. +m4trace:configure.in:55: -1- m4_pattern_allow([^VERSION$])
  121737. +m4trace:configure.in:55: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
  121738. +m4trace:configure.in:55: -1- m4_pattern_allow([^PACKAGE$])
  121739. +m4trace:configure.in:55: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
  121740. +@%:@undef PACKAGE])
  121741. +m4trace:configure.in:55: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
  121742. +m4trace:configure.in:55: -1- m4_pattern_allow([^VERSION$])
  121743. +m4trace:configure.in:55: -1- AH_OUTPUT([VERSION], [/* Version number of package */
  121744. +@%:@undef VERSION])
  121745. +m4trace:configure.in:55: -1- AC_REQUIRE_AUX_FILE([missing])
  121746. +m4trace:configure.in:55: -1- AC_SUBST([ACLOCAL])
  121747. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([ACLOCAL])
  121748. +m4trace:configure.in:55: -1- m4_pattern_allow([^ACLOCAL$])
  121749. +m4trace:configure.in:55: -1- AC_SUBST([AUTOCONF])
  121750. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([AUTOCONF])
  121751. +m4trace:configure.in:55: -1- m4_pattern_allow([^AUTOCONF$])
  121752. +m4trace:configure.in:55: -1- AC_SUBST([AUTOMAKE])
  121753. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([AUTOMAKE])
  121754. +m4trace:configure.in:55: -1- m4_pattern_allow([^AUTOMAKE$])
  121755. +m4trace:configure.in:55: -1- AC_SUBST([AUTOHEADER])
  121756. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([AUTOHEADER])
  121757. +m4trace:configure.in:55: -1- m4_pattern_allow([^AUTOHEADER$])
  121758. +m4trace:configure.in:55: -1- AC_SUBST([MAKEINFO])
  121759. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([MAKEINFO])
  121760. +m4trace:configure.in:55: -1- m4_pattern_allow([^MAKEINFO$])
  121761. +m4trace:configure.in:55: -1- AC_SUBST([install_sh])
  121762. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([install_sh])
  121763. +m4trace:configure.in:55: -1- m4_pattern_allow([^install_sh$])
  121764. +m4trace:configure.in:55: -1- AC_SUBST([STRIP])
  121765. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([STRIP])
  121766. +m4trace:configure.in:55: -1- m4_pattern_allow([^STRIP$])
  121767. +m4trace:configure.in:55: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
  121768. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
  121769. +m4trace:configure.in:55: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
  121770. +m4trace:configure.in:55: -1- AC_REQUIRE_AUX_FILE([install-sh])
  121771. +m4trace:configure.in:55: -1- AC_SUBST([MKDIR_P])
  121772. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([MKDIR_P])
  121773. +m4trace:configure.in:55: -1- m4_pattern_allow([^MKDIR_P$])
  121774. +m4trace:configure.in:55: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
  121775. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([mkdir_p])
  121776. +m4trace:configure.in:55: -1- m4_pattern_allow([^mkdir_p$])
  121777. +m4trace:configure.in:55: -1- AC_SUBST([AWK])
  121778. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([AWK])
  121779. +m4trace:configure.in:55: -1- m4_pattern_allow([^AWK$])
  121780. +m4trace:configure.in:55: -1- AC_SUBST([am__leading_dot])
  121781. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([am__leading_dot])
  121782. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__leading_dot$])
  121783. +m4trace:configure.in:55: -1- AC_SUBST([AMTAR])
  121784. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([AMTAR])
  121785. +m4trace:configure.in:55: -1- m4_pattern_allow([^AMTAR$])
  121786. +m4trace:configure.in:55: -1- AC_SUBST([am__tar])
  121787. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([am__tar])
  121788. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__tar$])
  121789. +m4trace:configure.in:55: -1- AC_SUBST([am__untar])
  121790. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([am__untar])
  121791. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__untar$])
  121792. +m4trace:configure.in:55: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
  121793. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([DEPDIR])
  121794. +m4trace:configure.in:55: -1- m4_pattern_allow([^DEPDIR$])
  121795. +m4trace:configure.in:55: -1- AC_SUBST([am__include])
  121796. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([am__include])
  121797. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__include$])
  121798. +m4trace:configure.in:55: -1- AC_SUBST([am__quote])
  121799. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([am__quote])
  121800. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__quote$])
  121801. +m4trace:configure.in:55: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  121802. +m4trace:configure.in:55: -1- AC_SUBST([AMDEP_TRUE])
  121803. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([AMDEP_TRUE])
  121804. +m4trace:configure.in:55: -1- m4_pattern_allow([^AMDEP_TRUE$])
  121805. +m4trace:configure.in:55: -1- AC_SUBST([AMDEP_FALSE])
  121806. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([AMDEP_FALSE])
  121807. +m4trace:configure.in:55: -1- m4_pattern_allow([^AMDEP_FALSE$])
  121808. +m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
  121809. +m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
  121810. +m4trace:configure.in:55: -1- AC_SUBST([AMDEPBACKSLASH])
  121811. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
  121812. +m4trace:configure.in:55: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
  121813. +m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
  121814. +m4trace:configure.in:55: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
  121815. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([CCDEPMODE])
  121816. +m4trace:configure.in:55: -1- m4_pattern_allow([^CCDEPMODE$])
  121817. +m4trace:configure.in:55: -1- AM_CONDITIONAL([am__fastdepCC], [
  121818. + test "x$enable_dependency_tracking" != xno \
  121819. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  121820. +m4trace:configure.in:55: -1- AC_SUBST([am__fastdepCC_TRUE])
  121821. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
  121822. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  121823. +m4trace:configure.in:55: -1- AC_SUBST([am__fastdepCC_FALSE])
  121824. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
  121825. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  121826. +m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  121827. +m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  121828. +m4trace:configure.in:55: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
  121829. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([CXXDEPMODE])
  121830. +m4trace:configure.in:55: -1- m4_pattern_allow([^CXXDEPMODE$])
  121831. +m4trace:configure.in:55: -1- AM_CONDITIONAL([am__fastdepCXX], [
  121832. + test "x$enable_dependency_tracking" != xno \
  121833. + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
  121834. +m4trace:configure.in:55: -1- AC_SUBST([am__fastdepCXX_TRUE])
  121835. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
  121836. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
  121837. +m4trace:configure.in:55: -1- AC_SUBST([am__fastdepCXX_FALSE])
  121838. +m4trace:configure.in:55: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
  121839. +m4trace:configure.in:55: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
  121840. +m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
  121841. +m4trace:configure.in:55: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
  121842. +m4trace:configure.in:56: -1- AM_MAINTAINER_MODE
  121843. +m4trace:configure.in:56: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
  121844. +m4trace:configure.in:56: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
  121845. +m4trace:configure.in:56: -1- AC_SUBST_TRACE([MAINTAINER_MODE_TRUE])
  121846. +m4trace:configure.in:56: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
  121847. +m4trace:configure.in:56: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
  121848. +m4trace:configure.in:56: -1- AC_SUBST_TRACE([MAINTAINER_MODE_FALSE])
  121849. +m4trace:configure.in:56: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
  121850. +m4trace:configure.in:56: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
  121851. +m4trace:configure.in:56: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
  121852. +m4trace:configure.in:56: -1- AC_SUBST([MAINT])
  121853. +m4trace:configure.in:56: -1- AC_SUBST_TRACE([MAINT])
  121854. +m4trace:configure.in:56: -1- m4_pattern_allow([^MAINT$])
  121855. +m4trace:configure.in:57: -1- AC_SUBST([RANLIB])
  121856. +m4trace:configure.in:57: -1- AC_SUBST_TRACE([RANLIB])
  121857. +m4trace:configure.in:57: -1- m4_pattern_allow([^RANLIB$])
  121858. +m4trace:configure.in:71: -1- AC_SUBST([TRIE_CFLAGS])
  121859. +m4trace:configure.in:71: -1- AC_SUBST_TRACE([TRIE_CFLAGS])
  121860. +m4trace:configure.in:71: -1- m4_pattern_allow([^TRIE_CFLAGS$])
  121861. +m4trace:configure.in:72: -1- AC_SUBST([TRIE_CXXFLAGS])
  121862. +m4trace:configure.in:72: -1- AC_SUBST_TRACE([TRIE_CXXFLAGS])
  121863. +m4trace:configure.in:72: -1- m4_pattern_allow([^TRIE_CXXFLAGS$])
  121864. +m4trace:configure.in:79: -1- AC_DEFINE_TRACE_LITERAL([const])
  121865. +m4trace:configure.in:79: -1- m4_pattern_allow([^const$])
  121866. +m4trace:configure.in:79: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
  121867. +@%:@undef const])
  121868. +m4trace:configure.in:80: -1- AC_SUBST([CPP])
  121869. +m4trace:configure.in:80: -1- AC_SUBST_TRACE([CPP])
  121870. +m4trace:configure.in:80: -1- m4_pattern_allow([^CPP$])
  121871. +m4trace:configure.in:80: -1- AC_SUBST([CPPFLAGS])
  121872. +m4trace:configure.in:80: -1- AC_SUBST_TRACE([CPPFLAGS])
  121873. +m4trace:configure.in:80: -1- m4_pattern_allow([^CPPFLAGS$])
  121874. +m4trace:configure.in:80: -1- AC_SUBST([CPP])
  121875. +m4trace:configure.in:80: -1- AC_SUBST_TRACE([CPP])
  121876. +m4trace:configure.in:80: -1- m4_pattern_allow([^CPP$])
  121877. +m4trace:configure.in:80: -1- AC_SUBST([GREP])
  121878. +m4trace:configure.in:80: -1- AC_SUBST_TRACE([GREP])
  121879. +m4trace:configure.in:80: -1- m4_pattern_allow([^GREP$])
  121880. +m4trace:configure.in:80: -1- AC_SUBST([EGREP])
  121881. +m4trace:configure.in:80: -1- AC_SUBST_TRACE([EGREP])
  121882. +m4trace:configure.in:80: -1- m4_pattern_allow([^EGREP$])
  121883. +m4trace:configure.in:80: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
  121884. +m4trace:configure.in:80: -1- m4_pattern_allow([^STDC_HEADERS$])
  121885. +m4trace:configure.in:80: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
  121886. +@%:@undef STDC_HEADERS])
  121887. +m4trace:configure.in:80: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
  121888. +@%:@undef HAVE_SYS_TYPES_H])
  121889. +m4trace:configure.in:80: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
  121890. +@%:@undef HAVE_SYS_STAT_H])
  121891. +m4trace:configure.in:80: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
  121892. +@%:@undef HAVE_STDLIB_H])
  121893. +m4trace:configure.in:80: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
  121894. +@%:@undef HAVE_STRING_H])
  121895. +m4trace:configure.in:80: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
  121896. +@%:@undef HAVE_MEMORY_H])
  121897. +m4trace:configure.in:80: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
  121898. +@%:@undef HAVE_STRINGS_H])
  121899. +m4trace:configure.in:80: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
  121900. +@%:@undef HAVE_INTTYPES_H])
  121901. +m4trace:configure.in:80: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
  121902. +@%:@undef HAVE_STDINT_H])
  121903. +m4trace:configure.in:80: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  121904. +@%:@undef HAVE_UNISTD_H])
  121905. +m4trace:configure.in:80: -1- AC_DEFINE_TRACE_LITERAL([size_t])
  121906. +m4trace:configure.in:80: -1- m4_pattern_allow([^size_t$])
  121907. +m4trace:configure.in:80: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
  121908. +@%:@undef size_t])
  121909. +m4trace:configure.in:84: -1- AC_CONFIG_FILES([Makefile
  121910. + include/Makefile
  121911. + src/Makefile
  121912. + test/Makefile])
  121913. +m4trace:configure.in:88: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
  121914. +m4trace:configure.in:88: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
  121915. +m4trace:configure.in:88: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  121916. +m4trace:configure.in:88: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
  121917. +m4trace:configure.in:88: -1- AC_SUBST_TRACE([LTLIBOBJS])
  121918. +m4trace:configure.in:88: -1- m4_pattern_allow([^LTLIBOBJS$])
  121919. +m4trace:configure.in:88: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
  121920. +m4trace:configure.in:88: -1- AC_SUBST([am__EXEEXT_TRUE])
  121921. +m4trace:configure.in:88: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
  121922. +m4trace:configure.in:88: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
  121923. +m4trace:configure.in:88: -1- AC_SUBST([am__EXEEXT_FALSE])
  121924. +m4trace:configure.in:88: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
  121925. +m4trace:configure.in:88: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
  121926. +m4trace:configure.in:88: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
  121927. +m4trace:configure.in:88: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
  121928. +m4trace:configure.in:88: -1- AC_SUBST_TRACE([top_builddir])
  121929. +m4trace:configure.in:88: -1- AC_SUBST_TRACE([top_build_prefix])
  121930. +m4trace:configure.in:88: -1- AC_SUBST_TRACE([srcdir])
  121931. +m4trace:configure.in:88: -1- AC_SUBST_TRACE([abs_srcdir])
  121932. +m4trace:configure.in:88: -1- AC_SUBST_TRACE([top_srcdir])
  121933. +m4trace:configure.in:88: -1- AC_SUBST_TRACE([abs_top_srcdir])
  121934. +m4trace:configure.in:88: -1- AC_SUBST_TRACE([builddir])
  121935. +m4trace:configure.in:88: -1- AC_SUBST_TRACE([abs_builddir])
  121936. +m4trace:configure.in:88: -1- AC_SUBST_TRACE([abs_top_builddir])
  121937. +m4trace:configure.in:88: -1- AC_SUBST_TRACE([INSTALL])
  121938. +m4trace:configure.in:88: -1- AC_SUBST_TRACE([MKDIR_P])
  121939. diff -Nur squid-3.0.STABLE20.orig/lib/libTrie/cfgaux/depcomp squid-3.0.STABLE20/lib/libTrie/cfgaux/depcomp
  121940. --- squid-3.0.STABLE20.orig/lib/libTrie/cfgaux/depcomp 2009-10-29 11:05:44.000000000 +0100
  121941. +++ squid-3.0.STABLE20/lib/libTrie/cfgaux/depcomp 2010-02-19 00:39:34.208856647 +0100
  121942. @@ -1,10 +1,10 @@
  121943. #! /bin/sh
  121944. # depcomp - compile a program generating dependencies as side-effects
  121945. -scriptversion=2007-03-29.01
  121946. +scriptversion=2009-04-28.21; # UTC
  121947. -# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
  121948. -# Foundation, Inc.
  121949. +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
  121950. +# Software Foundation, Inc.
  121951. # This program is free software; you can redistribute it and/or modify
  121952. # it under the terms of the GNU General Public License as published by
  121953. @@ -17,9 +17,7 @@
  121954. # GNU General Public License for more details.
  121955. # You should have received a copy of the GNU General Public License
  121956. -# along with this program; if not, write to the Free Software
  121957. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  121958. -# 02110-1301, USA.
  121959. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  121960. # As a special exception to the GNU General Public License, if you
  121961. # distribute this file as part of a program that contains a
  121962. @@ -87,6 +85,15 @@
  121963. depmode=dashmstdout
  121964. fi
  121965. +cygpath_u="cygpath -u -f -"
  121966. +if test "$depmode" = msvcmsys; then
  121967. + # This is just like msvisualcpp but w/o cygpath translation.
  121968. + # Just convert the backslash-escaped backslashes to single forward
  121969. + # slashes to satisfy depend.m4
  121970. + cygpath_u="sed s,\\\\\\\\,/,g"
  121971. + depmode=msvisualcpp
  121972. +fi
  121973. +
  121974. case "$depmode" in
  121975. gcc3)
  121976. ## gcc 3 implements dependency tracking that does exactly what
  121977. @@ -192,14 +199,14 @@
  121978. ' < "$tmpdepfile" \
  121979. | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
  121980. tr '
  121981. -' ' ' >> $depfile
  121982. - echo >> $depfile
  121983. +' ' ' >> "$depfile"
  121984. + echo >> "$depfile"
  121985. # The second pass generates a dummy entry for each header file.
  121986. tr ' ' '
  121987. ' < "$tmpdepfile" \
  121988. | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
  121989. - >> $depfile
  121990. + >> "$depfile"
  121991. else
  121992. # The sourcefile does not contain any dependencies, so just
  121993. # store a dummy comment line, to avoid errors with the Makefile
  121994. @@ -328,7 +335,12 @@
  121995. if test -f "$tmpdepfile"; then
  121996. sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
  121997. # Add `dependent.h:' lines.
  121998. - sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile"
  121999. + sed -ne '2,${
  122000. + s/^ *//
  122001. + s/ \\*$//
  122002. + s/$/:/
  122003. + p
  122004. + }' "$tmpdepfile" >> "$depfile"
  122005. else
  122006. echo "#dummy" > "$depfile"
  122007. fi
  122008. @@ -404,7 +416,7 @@
  122009. # Remove the call to Libtool.
  122010. if test "$libtool" = yes; then
  122011. - while test $1 != '--mode=compile'; do
  122012. + while test "X$1" != 'X--mode=compile'; do
  122013. shift
  122014. done
  122015. shift
  122016. @@ -455,32 +467,39 @@
  122017. "$@" || exit $?
  122018. # Remove any Libtool call
  122019. if test "$libtool" = yes; then
  122020. - while test $1 != '--mode=compile'; do
  122021. + while test "X$1" != 'X--mode=compile'; do
  122022. shift
  122023. done
  122024. shift
  122025. fi
  122026. # X makedepend
  122027. shift
  122028. - cleared=no
  122029. - for arg in "$@"; do
  122030. + cleared=no eat=no
  122031. + for arg
  122032. + do
  122033. case $cleared in
  122034. no)
  122035. set ""; shift
  122036. cleared=yes ;;
  122037. esac
  122038. + if test $eat = yes; then
  122039. + eat=no
  122040. + continue
  122041. + fi
  122042. case "$arg" in
  122043. -D*|-I*)
  122044. set fnord "$@" "$arg"; shift ;;
  122045. # Strip any option that makedepend may not understand. Remove
  122046. # the object too, otherwise makedepend will parse it as a source file.
  122047. + -arch)
  122048. + eat=yes ;;
  122049. -*|$object)
  122050. ;;
  122051. *)
  122052. set fnord "$@" "$arg"; shift ;;
  122053. esac
  122054. done
  122055. - obj_suffix="`echo $object | sed 's/^.*\././'`"
  122056. + obj_suffix=`echo "$object" | sed 's/^.*\././'`
  122057. touch "$tmpdepfile"
  122058. ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
  122059. rm -f "$depfile"
  122060. @@ -500,7 +519,7 @@
  122061. # Remove the call to Libtool.
  122062. if test "$libtool" = yes; then
  122063. - while test $1 != '--mode=compile'; do
  122064. + while test "X$1" != 'X--mode=compile'; do
  122065. shift
  122066. done
  122067. shift
  122068. @@ -538,13 +557,27 @@
  122069. msvisualcpp)
  122070. # Important note: in order to support this mode, a compiler *must*
  122071. - # always write the preprocessed file to stdout, regardless of -o,
  122072. - # because we must use -o when running libtool.
  122073. + # always write the preprocessed file to stdout.
  122074. "$@" || exit $?
  122075. +
  122076. + # Remove the call to Libtool.
  122077. + if test "$libtool" = yes; then
  122078. + while test "X$1" != 'X--mode=compile'; do
  122079. + shift
  122080. + done
  122081. + shift
  122082. + fi
  122083. +
  122084. IFS=" "
  122085. for arg
  122086. do
  122087. case "$arg" in
  122088. + -o)
  122089. + shift
  122090. + ;;
  122091. + $object)
  122092. + shift
  122093. + ;;
  122094. "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
  122095. set fnord "$@"
  122096. shift
  122097. @@ -557,16 +590,23 @@
  122098. ;;
  122099. esac
  122100. done
  122101. - "$@" -E |
  122102. - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
  122103. + "$@" -E 2>/dev/null |
  122104. + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
  122105. rm -f "$depfile"
  122106. echo "$object : \\" > "$depfile"
  122107. - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
  122108. + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
  122109. echo " " >> "$depfile"
  122110. - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
  122111. + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
  122112. rm -f "$tmpdepfile"
  122113. ;;
  122114. +msvcmsys)
  122115. + # This case exists only to let depend.m4 do its work. It works by
  122116. + # looking at the text of this script. This case will never be run,
  122117. + # since it is checked for above.
  122118. + exit 1
  122119. + ;;
  122120. +
  122121. none)
  122122. exec "$@"
  122123. ;;
  122124. @@ -585,5 +625,6 @@
  122125. # eval: (add-hook 'write-file-hooks 'time-stamp)
  122126. # time-stamp-start: "scriptversion="
  122127. # time-stamp-format: "%:y-%02m-%02d.%02H"
  122128. -# time-stamp-end: "$"
  122129. +# time-stamp-time-zone: "UTC"
  122130. +# time-stamp-end: "; # UTC"
  122131. # End:
  122132. diff -Nur squid-3.0.STABLE20.orig/lib/libTrie/cfgaux/install-sh squid-3.0.STABLE20/lib/libTrie/cfgaux/install-sh
  122133. --- squid-3.0.STABLE20.orig/lib/libTrie/cfgaux/install-sh 2009-10-29 11:05:44.000000000 +0100
  122134. +++ squid-3.0.STABLE20/lib/libTrie/cfgaux/install-sh 2010-02-19 00:39:33.940857431 +0100
  122135. @@ -1,7 +1,7 @@
  122136. #!/bin/sh
  122137. # install - install a program, script, or datafile
  122138. -scriptversion=2006-12-25.00
  122139. +scriptversion=2009-04-28.21; # UTC
  122140. # This originates from X11R5 (mit/util/scripts/install.sh), which was
  122141. # later released in X11R6 (xc/config/util/install.sh) with the
  122142. @@ -515,5 +515,6 @@
  122143. # eval: (add-hook 'write-file-hooks 'time-stamp)
  122144. # time-stamp-start: "scriptversion="
  122145. # time-stamp-format: "%:y-%02m-%02d.%02H"
  122146. -# time-stamp-end: "$"
  122147. +# time-stamp-time-zone: "UTC"
  122148. +# time-stamp-end: "; # UTC"
  122149. # End:
  122150. diff -Nur squid-3.0.STABLE20.orig/lib/libTrie/cfgaux/ltmain.sh squid-3.0.STABLE20/lib/libTrie/cfgaux/ltmain.sh
  122151. --- squid-3.0.STABLE20.orig/lib/libTrie/cfgaux/ltmain.sh 2009-10-29 11:05:44.000000000 +0100
  122152. +++ squid-3.0.STABLE20/lib/libTrie/cfgaux/ltmain.sh 2010-02-19 00:39:32.928857019 +0100
  122153. @@ -1,52 +1,83 @@
  122154. -# ltmain.sh - Provide generalized library-building support services.
  122155. -# NOTE: Changing this file will not affect anything until you rerun configure.
  122156. -#
  122157. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
  122158. -# 2007, 2008 Free Software Foundation, Inc.
  122159. -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  122160. -#
  122161. -# This program is free software; you can redistribute it and/or modify
  122162. +# Generated from ltmain.m4sh.
  122163. +
  122164. +# ltmain.sh (GNU libtool) 2.2.6b
  122165. +# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  122166. +
  122167. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
  122168. +# This is free software; see the source for copying conditions. There is NO
  122169. +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  122170. +
  122171. +# GNU Libtool is free software; you can redistribute it and/or modify
  122172. # it under the terms of the GNU General Public License as published by
  122173. # the Free Software Foundation; either version 2 of the License, or
  122174. # (at your option) any later version.
  122175. #
  122176. -# This program is distributed in the hope that it will be useful, but
  122177. +# As a special exception to the GNU General Public License,
  122178. +# if you distribute this file as part of a program or library that
  122179. +# is built using GNU Libtool, you may include this file under the
  122180. +# same distribution terms that you use for the rest of that program.
  122181. +#
  122182. +# GNU Libtool is distributed in the hope that it will be useful, but
  122183. # WITHOUT ANY WARRANTY; without even the implied warranty of
  122184. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  122185. # General Public License for more details.
  122186. #
  122187. # You should have received a copy of the GNU General Public License
  122188. -# along with this program; if not, write to the Free Software
  122189. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  122190. -#
  122191. -# As a special exception to the GNU General Public License, if you
  122192. -# distribute this file as part of a program that contains a
  122193. -# configuration script generated by Autoconf, you may include it under
  122194. -# the same distribution terms that you use for the rest of that program.
  122195. -
  122196. -basename="s,^.*/,,g"
  122197. -
  122198. -# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
  122199. -# is ksh but when the shell is invoked as "sh" and the current value of
  122200. -# the _XPG environment variable is not equal to 1 (one), the special
  122201. -# positional parameter $0, within a function call, is the name of the
  122202. -# function.
  122203. -progpath="$0"
  122204. -
  122205. -# The name of this program:
  122206. -progname=`echo "$progpath" | $SED $basename`
  122207. -modename="$progname"
  122208. +# along with GNU Libtool; see the file COPYING. If not, a copy
  122209. +# can be downloaded from http://www.gnu.org/licenses/gpl.html,
  122210. +# or obtained by writing to the Free Software Foundation, Inc.,
  122211. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  122212. -# Global variables:
  122213. -EXIT_SUCCESS=0
  122214. -EXIT_FAILURE=1
  122215. +# Usage: $progname [OPTION]... [MODE-ARG]...
  122216. +#
  122217. +# Provide generalized library-building support services.
  122218. +#
  122219. +# --config show all configuration variables
  122220. +# --debug enable verbose shell tracing
  122221. +# -n, --dry-run display commands without modifying any files
  122222. +# --features display basic configuration information and exit
  122223. +# --mode=MODE use operation mode MODE
  122224. +# --preserve-dup-deps don't remove duplicate dependency libraries
  122225. +# --quiet, --silent don't print informational messages
  122226. +# --tag=TAG use configuration variables from tag TAG
  122227. +# -v, --verbose print informational messages (default)
  122228. +# --version print version information
  122229. +# -h, --help print short or long help message
  122230. +#
  122231. +# MODE must be one of the following:
  122232. +#
  122233. +# clean remove files from the build directory
  122234. +# compile compile a source file into a libtool object
  122235. +# execute automatically set library path, then run a program
  122236. +# finish complete the installation of libtool libraries
  122237. +# install install libraries or executables
  122238. +# link create a library or an executable
  122239. +# uninstall remove libraries from an installed directory
  122240. +#
  122241. +# MODE-ARGS vary depending on the MODE.
  122242. +# Try `$progname --help --mode=MODE' for a more detailed description of MODE.
  122243. +#
  122244. +# When reporting a bug, please describe a test case to reproduce it and
  122245. +# include the following information:
  122246. +#
  122247. +# host-triplet: $host
  122248. +# shell: $SHELL
  122249. +# compiler: $LTCC
  122250. +# compiler flags: $LTCFLAGS
  122251. +# linker: $LD (gnu? $with_gnu_ld)
  122252. +# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1
  122253. +# automake: $automake_version
  122254. +# autoconf: $autoconf_version
  122255. +#
  122256. +# Report bugs to <bug-libtool@gnu.org>.
  122257. PROGRAM=ltmain.sh
  122258. PACKAGE=libtool
  122259. -VERSION=1.5.26
  122260. -TIMESTAMP=" (1.1220.2.492 2008/01/30 06:40:56)"
  122261. +VERSION="2.2.6b Debian-2.2.6b-2ubuntu1"
  122262. +TIMESTAMP=""
  122263. +package_revision=1.3017
  122264. -# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
  122265. +# Be Bourne compatible
  122266. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  122267. emulate sh
  122268. NULLCMD=:
  122269. @@ -60,104 +91,261 @@
  122270. BIN_SH=xpg4; export BIN_SH # for Tru64
  122271. DUALCASE=1; export DUALCASE # for MKS sh
  122272. -# Check that we have a working $echo.
  122273. -if test "X$1" = X--no-reexec; then
  122274. - # Discard the --no-reexec flag, and continue.
  122275. - shift
  122276. -elif test "X$1" = X--fallback-echo; then
  122277. - # Avoid inline document here, it may be left over
  122278. - :
  122279. -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
  122280. - # Yippee, $echo works!
  122281. - :
  122282. -else
  122283. - # Restart under the correct shell, and then maybe $echo will work.
  122284. - exec $SHELL "$progpath" --no-reexec ${1+"$@"}
  122285. -fi
  122286. -
  122287. -if test "X$1" = X--fallback-echo; then
  122288. - # used as fallback echo
  122289. - shift
  122290. - cat <<EOF
  122291. -$*
  122292. -EOF
  122293. - exit $EXIT_SUCCESS
  122294. -fi
  122295. -
  122296. -default_mode=
  122297. -help="Try \`$progname --help' for more information."
  122298. -magic="%%%MAGIC variable%%%"
  122299. -mkdir="mkdir"
  122300. -mv="mv -f"
  122301. -rm="rm -f"
  122302. -
  122303. -# Sed substitution that helps us do robust quoting. It backslashifies
  122304. -# metacharacters that are still active within double-quoted strings.
  122305. -Xsed="${SED}"' -e 1s/^X//'
  122306. -sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
  122307. -# test EBCDIC or ASCII
  122308. -case `echo X|tr X '\101'` in
  122309. - A) # ASCII based system
  122310. - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  122311. - SP2NL='tr \040 \012'
  122312. - NL2SP='tr \015\012 \040\040'
  122313. - ;;
  122314. - *) # EBCDIC based system
  122315. - SP2NL='tr \100 \n'
  122316. - NL2SP='tr \r\n \100\100'
  122317. - ;;
  122318. -esac
  122319. -
  122320. -# NLS nuisances.
  122321. +# NLS nuisances: We save the old values to restore during execute mode.
  122322. # Only set LANG and LC_ALL to C if already set.
  122323. # These must not be set unconditionally because not all systems understand
  122324. # e.g. LANG=C (notably SCO).
  122325. -# We save the old values to restore during execute mode.
  122326. -lt_env=
  122327. +lt_user_locale=
  122328. +lt_safe_locale=
  122329. for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  122330. do
  122331. eval "if test \"\${$lt_var+set}\" = set; then
  122332. - save_$lt_var=\$$lt_var
  122333. - lt_env=\"$lt_var=\$$lt_var \$lt_env\"
  122334. - $lt_var=C
  122335. + save_$lt_var=\$$lt_var
  122336. + $lt_var=C
  122337. export $lt_var
  122338. + lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\"
  122339. + lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
  122340. fi"
  122341. done
  122342. -if test -n "$lt_env"; then
  122343. - lt_env="env $lt_env"
  122344. -fi
  122345. +$lt_unset CDPATH
  122346. +
  122347. +
  122348. +
  122349. +
  122350. +
  122351. +: ${CP="cp -f"}
  122352. +: ${ECHO="echo"}
  122353. +: ${EGREP="/bin/grep -E"}
  122354. +: ${FGREP="/bin/grep -F"}
  122355. +: ${GREP="/bin/grep"}
  122356. +: ${LN_S="ln -s"}
  122357. +: ${MAKE="make"}
  122358. +: ${MKDIR="mkdir"}
  122359. +: ${MV="mv -f"}
  122360. +: ${RM="rm -f"}
  122361. +: ${SED="/bin/sed"}
  122362. +: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
  122363. +: ${Xsed="$SED -e 1s/^X//"}
  122364. +
  122365. +# Global variables:
  122366. +EXIT_SUCCESS=0
  122367. +EXIT_FAILURE=1
  122368. +EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing.
  122369. +EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake.
  122370. +
  122371. +exit_status=$EXIT_SUCCESS
  122372. # Make sure IFS has a sensible default
  122373. lt_nl='
  122374. '
  122375. IFS=" $lt_nl"
  122376. -if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
  122377. - $echo "$modename: not configured to build any kind of library" 1>&2
  122378. - $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
  122379. - exit $EXIT_FAILURE
  122380. -fi
  122381. +dirname="s,/[^/]*$,,"
  122382. +basename="s,^.*/,,"
  122383. -# Global variables.
  122384. -mode=$default_mode
  122385. -nonopt=
  122386. -prev=
  122387. -prevopt=
  122388. -run=
  122389. -show="$echo"
  122390. -show_help=
  122391. -execute_dlfiles=
  122392. -duplicate_deps=no
  122393. -preserve_args=
  122394. -lo2o="s/\\.lo\$/.${objext}/"
  122395. -o2lo="s/\\.${objext}\$/.lo/"
  122396. -extracted_archives=
  122397. -extracted_serial=0
  122398. +# func_dirname_and_basename file append nondir_replacement
  122399. +# perform func_basename and func_dirname in a single function
  122400. +# call:
  122401. +# dirname: Compute the dirname of FILE. If nonempty,
  122402. +# add APPEND to the result, otherwise set result
  122403. +# to NONDIR_REPLACEMENT.
  122404. +# value returned in "$func_dirname_result"
  122405. +# basename: Compute filename of FILE.
  122406. +# value retuned in "$func_basename_result"
  122407. +# Implementation must be kept synchronized with func_dirname
  122408. +# and func_basename. For efficiency, we do not delegate to
  122409. +# those functions but instead duplicate the functionality here.
  122410. +func_dirname_and_basename ()
  122411. +{
  122412. + # Extract subdirectory from the argument.
  122413. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  122414. + if test "X$func_dirname_result" = "X${1}"; then
  122415. + func_dirname_result="${3}"
  122416. + else
  122417. + func_dirname_result="$func_dirname_result${2}"
  122418. + fi
  122419. + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  122420. +}
  122421. +
  122422. +# Generated shell functions inserted here.
  122423. +
  122424. +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
  122425. +# is ksh but when the shell is invoked as "sh" and the current value of
  122426. +# the _XPG environment variable is not equal to 1 (one), the special
  122427. +# positional parameter $0, within a function call, is the name of the
  122428. +# function.
  122429. +progpath="$0"
  122430. +
  122431. +# The name of this program:
  122432. +# In the unlikely event $progname began with a '-', it would play havoc with
  122433. +# func_echo (imagine progname=-n), so we prepend ./ in that case:
  122434. +func_dirname_and_basename "$progpath"
  122435. +progname=$func_basename_result
  122436. +case $progname in
  122437. + -*) progname=./$progname ;;
  122438. +esac
  122439. +
  122440. +# Make sure we have an absolute path for reexecution:
  122441. +case $progpath in
  122442. + [\\/]*|[A-Za-z]:\\*) ;;
  122443. + *[\\/]*)
  122444. + progdir=$func_dirname_result
  122445. + progdir=`cd "$progdir" && pwd`
  122446. + progpath="$progdir/$progname"
  122447. + ;;
  122448. + *)
  122449. + save_IFS="$IFS"
  122450. + IFS=:
  122451. + for progdir in $PATH; do
  122452. + IFS="$save_IFS"
  122453. + test -x "$progdir/$progname" && break
  122454. + done
  122455. + IFS="$save_IFS"
  122456. + test -n "$progdir" || progdir=`pwd`
  122457. + progpath="$progdir/$progname"
  122458. + ;;
  122459. +esac
  122460. +
  122461. +# Sed substitution that helps us do robust quoting. It backslashifies
  122462. +# metacharacters that are still active within double-quoted strings.
  122463. +Xsed="${SED}"' -e 1s/^X//'
  122464. +sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
  122465. +
  122466. +# Same as above, but do not quote variable references.
  122467. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  122468. +
  122469. +# Re-`\' parameter expansions in output of double_quote_subst that were
  122470. +# `\'-ed in input to the same. If an odd number of `\' preceded a '$'
  122471. +# in input to double_quote_subst, that '$' was protected from expansion.
  122472. +# Since each input `\' is now two `\'s, look for any number of runs of
  122473. +# four `\'s followed by two `\'s and then a '$'. `\' that '$'.
  122474. +bs='\\'
  122475. +bs2='\\\\'
  122476. +bs4='\\\\\\\\'
  122477. +dollar='\$'
  122478. +sed_double_backslash="\
  122479. + s/$bs4/&\\
  122480. +/g
  122481. + s/^$bs2$dollar/$bs&/
  122482. + s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g
  122483. + s/\n//g"
  122484. +
  122485. +# Standard options:
  122486. +opt_dry_run=false
  122487. +opt_help=false
  122488. +opt_quiet=false
  122489. +opt_verbose=false
  122490. +opt_warning=:
  122491. +
  122492. +# func_echo arg...
  122493. +# Echo program name prefixed message, along with the current mode
  122494. +# name if it has been set yet.
  122495. +func_echo ()
  122496. +{
  122497. + $ECHO "$progname${mode+: }$mode: $*"
  122498. +}
  122499. +
  122500. +# func_verbose arg...
  122501. +# Echo program name prefixed message in verbose mode only.
  122502. +func_verbose ()
  122503. +{
  122504. + $opt_verbose && func_echo ${1+"$@"}
  122505. +
  122506. + # A bug in bash halts the script if the last line of a function
  122507. + # fails when set -e is in force, so we need another command to
  122508. + # work around that:
  122509. + :
  122510. +}
  122511. +
  122512. +# func_error arg...
  122513. +# Echo program name prefixed message to standard error.
  122514. +func_error ()
  122515. +{
  122516. + $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2
  122517. +}
  122518. +
  122519. +# func_warning arg...
  122520. +# Echo program name prefixed warning message to standard error.
  122521. +func_warning ()
  122522. +{
  122523. + $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2
  122524. +
  122525. + # bash bug again:
  122526. + :
  122527. +}
  122528. +
  122529. +# func_fatal_error arg...
  122530. +# Echo program name prefixed message to standard error, and exit.
  122531. +func_fatal_error ()
  122532. +{
  122533. + func_error ${1+"$@"}
  122534. + exit $EXIT_FAILURE
  122535. +}
  122536. +
  122537. +# func_fatal_help arg...
  122538. +# Echo program name prefixed message to standard error, followed by
  122539. +# a help hint, and exit.
  122540. +func_fatal_help ()
  122541. +{
  122542. + func_error ${1+"$@"}
  122543. + func_fatal_error "$help"
  122544. +}
  122545. +help="Try \`$progname --help' for more information." ## default
  122546. +
  122547. +
  122548. +# func_grep expression filename
  122549. +# Check whether EXPRESSION matches any line of FILENAME, without output.
  122550. +func_grep ()
  122551. +{
  122552. + $GREP "$1" "$2" >/dev/null 2>&1
  122553. +}
  122554. +
  122555. +
  122556. +# func_mkdir_p directory-path
  122557. +# Make sure the entire path to DIRECTORY-PATH is available.
  122558. +func_mkdir_p ()
  122559. +{
  122560. + my_directory_path="$1"
  122561. + my_dir_list=
  122562. +
  122563. + if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then
  122564. +
  122565. + # Protect directory names starting with `-'
  122566. + case $my_directory_path in
  122567. + -*) my_directory_path="./$my_directory_path" ;;
  122568. + esac
  122569. +
  122570. + # While some portion of DIR does not yet exist...
  122571. + while test ! -d "$my_directory_path"; do
  122572. + # ...make a list in topmost first order. Use a colon delimited
  122573. + # list incase some portion of path contains whitespace.
  122574. + my_dir_list="$my_directory_path:$my_dir_list"
  122575. +
  122576. + # If the last portion added has no slash in it, the list is done
  122577. + case $my_directory_path in */*) ;; *) break ;; esac
  122578. +
  122579. + # ...otherwise throw away the child directory and loop
  122580. + my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
  122581. + done
  122582. + my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
  122583. +
  122584. + save_mkdir_p_IFS="$IFS"; IFS=':'
  122585. + for my_dir in $my_dir_list; do
  122586. + IFS="$save_mkdir_p_IFS"
  122587. + # mkdir can fail with a `File exist' error if two processes
  122588. + # try to create one of the directories concurrently. Don't
  122589. + # stop in that case!
  122590. + $MKDIR "$my_dir" 2>/dev/null || :
  122591. + done
  122592. + IFS="$save_mkdir_p_IFS"
  122593. +
  122594. + # Bail out if we (or some other process) failed to create a directory.
  122595. + test -d "$my_directory_path" || \
  122596. + func_fatal_error "Failed to create \`$1'"
  122597. + fi
  122598. +}
  122599. -#####################################
  122600. -# Shell function definitions:
  122601. -# This seems to be the best place for them
  122602. # func_mktempdir [string]
  122603. # Make a temporary directory that won't clash with other running
  122604. @@ -167,7 +355,7 @@
  122605. {
  122606. my_template="${TMPDIR-/tmp}/${1-$progname}"
  122607. - if test "$run" = ":"; then
  122608. + if test "$opt_dry_run" = ":"; then
  122609. # Return a directory name, but don't create it in dry-run mode
  122610. my_tmpdir="${my_template}-$$"
  122611. else
  122612. @@ -176,552 +364,784 @@
  122613. my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
  122614. if test ! -d "$my_tmpdir"; then
  122615. - # Failing that, at least try and use $RANDOM to avoid a race
  122616. - my_tmpdir="${my_template}-${RANDOM-0}$$"
  122617. + # Failing that, at least try and use $RANDOM to avoid a race
  122618. + my_tmpdir="${my_template}-${RANDOM-0}$$"
  122619. - save_mktempdir_umask=`umask`
  122620. - umask 0077
  122621. - $mkdir "$my_tmpdir"
  122622. - umask $save_mktempdir_umask
  122623. + save_mktempdir_umask=`umask`
  122624. + umask 0077
  122625. + $MKDIR "$my_tmpdir"
  122626. + umask $save_mktempdir_umask
  122627. fi
  122628. # If we're not in dry-run mode, bomb out on failure
  122629. - test -d "$my_tmpdir" || {
  122630. - $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
  122631. - exit $EXIT_FAILURE
  122632. - }
  122633. + test -d "$my_tmpdir" || \
  122634. + func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
  122635. fi
  122636. - $echo "X$my_tmpdir" | $Xsed
  122637. + $ECHO "X$my_tmpdir" | $Xsed
  122638. }
  122639. -# func_win32_libid arg
  122640. -# return the library type of file 'arg'
  122641. -#
  122642. -# Need a lot of goo to handle *both* DLLs and import libs
  122643. -# Has to be a shell function in order to 'eat' the argument
  122644. -# that is supplied when $file_magic_command is called.
  122645. -func_win32_libid ()
  122646. +# func_quote_for_eval arg
  122647. +# Aesthetically quote ARG to be evaled later.
  122648. +# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT
  122649. +# is double-quoted, suitable for a subsequent eval, whereas
  122650. +# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters
  122651. +# which are still active within double quotes backslashified.
  122652. +func_quote_for_eval ()
  122653. {
  122654. - win32_libid_type="unknown"
  122655. - win32_fileres=`file -L $1 2>/dev/null`
  122656. - case $win32_fileres in
  122657. - *ar\ archive\ import\ library*) # definitely import
  122658. - win32_libid_type="x86 archive import"
  122659. - ;;
  122660. - *ar\ archive*) # could be an import, or static
  122661. - if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
  122662. - $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
  122663. - win32_nmres=`eval $NM -f posix -A $1 | \
  122664. - $SED -n -e '1,100{
  122665. - / I /{
  122666. - s,.*,import,
  122667. - p
  122668. - q
  122669. - }
  122670. - }'`
  122671. - case $win32_nmres in
  122672. - import*) win32_libid_type="x86 archive import";;
  122673. - *) win32_libid_type="x86 archive static";;
  122674. - esac
  122675. - fi
  122676. - ;;
  122677. - *DLL*)
  122678. - win32_libid_type="x86 DLL"
  122679. - ;;
  122680. - *executable*) # but shell scripts are "executable" too...
  122681. - case $win32_fileres in
  122682. - *MS\ Windows\ PE\ Intel*)
  122683. - win32_libid_type="x86 DLL"
  122684. - ;;
  122685. + case $1 in
  122686. + *[\\\`\"\$]*)
  122687. + func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
  122688. + *)
  122689. + func_quote_for_eval_unquoted_result="$1" ;;
  122690. + esac
  122691. +
  122692. + case $func_quote_for_eval_unquoted_result in
  122693. + # Double-quote args containing shell metacharacters to delay
  122694. + # word splitting, command substitution and and variable
  122695. + # expansion for a subsequent eval.
  122696. + # Many Bourne shells cannot handle close brackets correctly
  122697. + # in scan sets, so we specify it separately.
  122698. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  122699. + func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\""
  122700. + ;;
  122701. + *)
  122702. + func_quote_for_eval_result="$func_quote_for_eval_unquoted_result"
  122703. esac
  122704. - ;;
  122705. - esac
  122706. - $echo $win32_libid_type
  122707. }
  122708. -# func_infer_tag arg
  122709. -# Infer tagged configuration to use if any are available and
  122710. -# if one wasn't chosen via the "--tag" command line option.
  122711. -# Only attempt this if the compiler in the base compile
  122712. -# command doesn't match the default compiler.
  122713. -# arg is usually of the form 'gcc ...'
  122714. -func_infer_tag ()
  122715. +# func_quote_for_expand arg
  122716. +# Aesthetically quote ARG to be evaled later; same as above,
  122717. +# but do not quote variable references.
  122718. +func_quote_for_expand ()
  122719. {
  122720. - # FreeBSD-specific: where we install compilers with non-standard names
  122721. - tag_compilers_CC="*cc cc* *gcc gcc*"
  122722. - tag_compilers_CXX="*c++ c++* *g++ g++*"
  122723. - base_compiler=`set -- "$@"; echo $1`
  122724. -
  122725. - # If $tagname isn't set, then try to infer if the default "CC" tag applies
  122726. - if test -z "$tagname"; then
  122727. - for zp in $tag_compilers_CC; do
  122728. - case $base_compiler in
  122729. - $zp) tagname="CC"; break;;
  122730. - esac
  122731. - done
  122732. - fi
  122733. -
  122734. - if test -n "$available_tags" && test -z "$tagname"; then
  122735. - CC_quoted=
  122736. - for arg in $CC; do
  122737. - case $arg in
  122738. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  122739. - arg="\"$arg\""
  122740. - ;;
  122741. - esac
  122742. - CC_quoted="$CC_quoted $arg"
  122743. - done
  122744. - case $@ in
  122745. - # Blanks in the command may have been stripped by the calling shell,
  122746. - # but not from the CC environment variable when configure was run.
  122747. - " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
  122748. - # Blanks at the start of $base_compile will cause this to fail
  122749. - # if we don't check for them as well.
  122750. + case $1 in
  122751. + *[\\\`\"]*)
  122752. + my_arg=`$ECHO "X$1" | $Xsed \
  122753. + -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
  122754. *)
  122755. - for z in $available_tags; do
  122756. - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
  122757. - # Evaluate the configuration.
  122758. - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
  122759. - CC_quoted=
  122760. - for arg in $CC; do
  122761. - # Double-quote args containing other shell metacharacters.
  122762. - case $arg in
  122763. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  122764. - arg="\"$arg\""
  122765. - ;;
  122766. - esac
  122767. - CC_quoted="$CC_quoted $arg"
  122768. - done
  122769. - case "$@ " in
  122770. - " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
  122771. - # The compiler in the base compile command matches
  122772. - # the one in the tagged configuration.
  122773. - # Assume this is the tagged configuration we want.
  122774. - tagname=$z
  122775. - break
  122776. - ;;
  122777. - esac
  122778. + my_arg="$1" ;;
  122779. + esac
  122780. - # FreeBSD-specific: try compilers based on inferred tag
  122781. - if test -z "$tagname"; then
  122782. - eval "tag_compilers=\$tag_compilers_${z}"
  122783. - if test -n "$tag_compilers"; then
  122784. - for zp in $tag_compilers; do
  122785. - case $base_compiler in
  122786. - $zp) tagname=$z; break;;
  122787. - esac
  122788. - done
  122789. - if test -n "$tagname"; then
  122790. - break
  122791. - fi
  122792. - fi
  122793. - fi
  122794. - fi
  122795. - done
  122796. - # If $tagname still isn't set, then no tagged configuration
  122797. - # was found and let the user know that the "--tag" command
  122798. - # line option must be used.
  122799. - if test -z "$tagname"; then
  122800. - $echo "$modename: unable to infer tagged configuration"
  122801. - $echo "$modename: specify a tag with \`--tag'" 1>&2
  122802. - exit $EXIT_FAILURE
  122803. -# else
  122804. -# $echo "$modename: using $tagname tagged configuration"
  122805. - fi
  122806. - ;;
  122807. - esac
  122808. - fi
  122809. + case $my_arg in
  122810. + # Double-quote args containing shell metacharacters to delay
  122811. + # word splitting and command substitution for a subsequent eval.
  122812. + # Many Bourne shells cannot handle close brackets correctly
  122813. + # in scan sets, so we specify it separately.
  122814. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  122815. + my_arg="\"$my_arg\""
  122816. + ;;
  122817. + esac
  122818. +
  122819. + func_quote_for_expand_result="$my_arg"
  122820. }
  122821. -# func_extract_an_archive dir oldlib
  122822. -func_extract_an_archive ()
  122823. +# func_show_eval cmd [fail_exp]
  122824. +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
  122825. +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
  122826. +# is given, then evaluate it.
  122827. +func_show_eval ()
  122828. {
  122829. - f_ex_an_ar_dir="$1"; shift
  122830. - f_ex_an_ar_oldlib="$1"
  122831. + my_cmd="$1"
  122832. + my_fail_exp="${2-:}"
  122833. - $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)"
  122834. - $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $?
  122835. - if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
  122836. - :
  122837. - else
  122838. - $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
  122839. - exit $EXIT_FAILURE
  122840. + ${opt_silent-false} || {
  122841. + func_quote_for_expand "$my_cmd"
  122842. + eval "func_echo $func_quote_for_expand_result"
  122843. + }
  122844. +
  122845. + if ${opt_dry_run-false}; then :; else
  122846. + eval "$my_cmd"
  122847. + my_status=$?
  122848. + if test "$my_status" -eq 0; then :; else
  122849. + eval "(exit $my_status); $my_fail_exp"
  122850. + fi
  122851. fi
  122852. }
  122853. -# func_extract_archives gentop oldlib ...
  122854. -func_extract_archives ()
  122855. +
  122856. +# func_show_eval_locale cmd [fail_exp]
  122857. +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
  122858. +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
  122859. +# is given, then evaluate it. Use the saved locale for evaluation.
  122860. +func_show_eval_locale ()
  122861. {
  122862. - my_gentop="$1"; shift
  122863. - my_oldlibs=${1+"$@"}
  122864. - my_oldobjs=""
  122865. - my_xlib=""
  122866. - my_xabs=""
  122867. - my_xdir=""
  122868. - my_status=""
  122869. + my_cmd="$1"
  122870. + my_fail_exp="${2-:}"
  122871. +
  122872. + ${opt_silent-false} || {
  122873. + func_quote_for_expand "$my_cmd"
  122874. + eval "func_echo $func_quote_for_expand_result"
  122875. + }
  122876. - $show "${rm}r $my_gentop"
  122877. - $run ${rm}r "$my_gentop"
  122878. - $show "$mkdir $my_gentop"
  122879. - $run $mkdir "$my_gentop"
  122880. - my_status=$?
  122881. - if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
  122882. - exit $my_status
  122883. + if ${opt_dry_run-false}; then :; else
  122884. + eval "$lt_user_locale
  122885. + $my_cmd"
  122886. + my_status=$?
  122887. + eval "$lt_safe_locale"
  122888. + if test "$my_status" -eq 0; then :; else
  122889. + eval "(exit $my_status); $my_fail_exp"
  122890. + fi
  122891. fi
  122892. +}
  122893. - for my_xlib in $my_oldlibs; do
  122894. - # Extract the objects.
  122895. - case $my_xlib in
  122896. - [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
  122897. - *) my_xabs=`pwd`"/$my_xlib" ;;
  122898. - esac
  122899. - my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
  122900. - my_xlib_u=$my_xlib
  122901. - while :; do
  122902. - case " $extracted_archives " in
  122903. - *" $my_xlib_u "*)
  122904. - extracted_serial=`expr $extracted_serial + 1`
  122905. - my_xlib_u=lt$extracted_serial-$my_xlib ;;
  122906. - *) break ;;
  122907. - esac
  122908. - done
  122909. - extracted_archives="$extracted_archives $my_xlib_u"
  122910. - my_xdir="$my_gentop/$my_xlib_u"
  122911. - $show "${rm}r $my_xdir"
  122912. - $run ${rm}r "$my_xdir"
  122913. - $show "$mkdir $my_xdir"
  122914. - $run $mkdir "$my_xdir"
  122915. - exit_status=$?
  122916. - if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
  122917. - exit $exit_status
  122918. - fi
  122919. - case $host in
  122920. - *-darwin*)
  122921. - $show "Extracting $my_xabs"
  122922. - # Do not bother doing anything if just a dry run
  122923. - if test -z "$run"; then
  122924. - darwin_orig_dir=`pwd`
  122925. - cd $my_xdir || exit $?
  122926. - darwin_archive=$my_xabs
  122927. - darwin_curdir=`pwd`
  122928. - darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
  122929. - darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
  122930. - if test -n "$darwin_arches"; then
  122931. - darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
  122932. - darwin_arch=
  122933. - $show "$darwin_base_archive has multiple architectures $darwin_arches"
  122934. - for darwin_arch in $darwin_arches ; do
  122935. - mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  122936. - lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
  122937. - cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  122938. - func_extract_an_archive "`pwd`" "${darwin_base_archive}"
  122939. - cd "$darwin_curdir"
  122940. - $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
  122941. - done # $darwin_arches
  122942. - ## Okay now we have a bunch of thin objects, gotta fatten them up :)
  122943. - darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP`
  122944. - darwin_file=
  122945. - darwin_files=
  122946. - for darwin_file in $darwin_filelist; do
  122947. - darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
  122948. - lipo -create -output "$darwin_file" $darwin_files
  122949. - done # $darwin_filelist
  122950. - ${rm}r unfat-$$
  122951. - cd "$darwin_orig_dir"
  122952. - else
  122953. - cd "$darwin_orig_dir"
  122954. - func_extract_an_archive "$my_xdir" "$my_xabs"
  122955. - fi # $darwin_arches
  122956. - fi # $run
  122957. - ;;
  122958. - *)
  122959. - func_extract_an_archive "$my_xdir" "$my_xabs"
  122960. - ;;
  122961. - esac
  122962. - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
  122963. - done
  122964. - func_extract_archives_result="$my_oldobjs"
  122965. +
  122966. +
  122967. +
  122968. +# func_version
  122969. +# Echo version message to standard output and exit.
  122970. +func_version ()
  122971. +{
  122972. + $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
  122973. + s/^# //
  122974. + s/^# *$//
  122975. + s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
  122976. + p
  122977. + }' < "$progpath"
  122978. + exit $?
  122979. }
  122980. -# End of Shell function definitions
  122981. -#####################################
  122982. -# Darwin sucks
  122983. -eval std_shrext=\"$shrext_cmds\"
  122984. +# func_usage
  122985. +# Echo short help message to standard output and exit.
  122986. +func_usage ()
  122987. +{
  122988. + $SED -n '/^# Usage:/,/# -h/ {
  122989. + s/^# //
  122990. + s/^# *$//
  122991. + s/\$progname/'$progname'/
  122992. + p
  122993. + }' < "$progpath"
  122994. + $ECHO
  122995. + $ECHO "run \`$progname --help | more' for full usage"
  122996. + exit $?
  122997. +}
  122998. -disable_libs=no
  122999. +# func_help
  123000. +# Echo long help message to standard output and exit.
  123001. +func_help ()
  123002. +{
  123003. + $SED -n '/^# Usage:/,/# Report bugs to/ {
  123004. + s/^# //
  123005. + s/^# *$//
  123006. + s*\$progname*'$progname'*
  123007. + s*\$host*'"$host"'*
  123008. + s*\$SHELL*'"$SHELL"'*
  123009. + s*\$LTCC*'"$LTCC"'*
  123010. + s*\$LTCFLAGS*'"$LTCFLAGS"'*
  123011. + s*\$LD*'"$LD"'*
  123012. + s/\$with_gnu_ld/'"$with_gnu_ld"'/
  123013. + s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
  123014. + s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
  123015. + p
  123016. + }' < "$progpath"
  123017. + exit $?
  123018. +}
  123019. -# Parse our command line options once, thoroughly.
  123020. -while test "$#" -gt 0
  123021. -do
  123022. - arg="$1"
  123023. +# func_missing_arg argname
  123024. +# Echo program name prefixed message to standard error and set global
  123025. +# exit_cmd.
  123026. +func_missing_arg ()
  123027. +{
  123028. + func_error "missing argument for $1"
  123029. + exit_cmd=exit
  123030. +}
  123031. +
  123032. +exit_cmd=:
  123033. +
  123034. +
  123035. +
  123036. +
  123037. +
  123038. +# Check that we have a working $ECHO.
  123039. +if test "X$1" = X--no-reexec; then
  123040. + # Discard the --no-reexec flag, and continue.
  123041. shift
  123042. +elif test "X$1" = X--fallback-echo; then
  123043. + # Avoid inline document here, it may be left over
  123044. + :
  123045. +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
  123046. + # Yippee, $ECHO works!
  123047. + :
  123048. +else
  123049. + # Restart under the correct shell, and then maybe $ECHO will work.
  123050. + exec $SHELL "$progpath" --no-reexec ${1+"$@"}
  123051. +fi
  123052. - case $arg in
  123053. - -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
  123054. - *) optarg= ;;
  123055. - esac
  123056. +if test "X$1" = X--fallback-echo; then
  123057. + # used as fallback echo
  123058. + shift
  123059. + cat <<EOF
  123060. +$*
  123061. +EOF
  123062. + exit $EXIT_SUCCESS
  123063. +fi
  123064. - # If the previous option needs an argument, assign it.
  123065. - if test -n "$prev"; then
  123066. - case $prev in
  123067. - execute_dlfiles)
  123068. - execute_dlfiles="$execute_dlfiles $arg"
  123069. - ;;
  123070. - tag)
  123071. - tagname="$arg"
  123072. - preserve_args="${preserve_args}=$arg"
  123073. -
  123074. - # Check whether tagname contains only valid characters
  123075. - case $tagname in
  123076. - *[!-_A-Za-z0-9,/]*)
  123077. - $echo "$progname: invalid tag name: $tagname" 1>&2
  123078. - exit $EXIT_FAILURE
  123079. - ;;
  123080. - esac
  123081. +magic="%%%MAGIC variable%%%"
  123082. +magic_exe="%%%MAGIC EXE variable%%%"
  123083. - case $tagname in
  123084. - CC)
  123085. - # Don't test for the "default" C tag, as we know, it's there, but
  123086. - # not specially marked.
  123087. - ;;
  123088. - *)
  123089. - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
  123090. - taglist="$taglist $tagname"
  123091. - # Evaluate the configuration.
  123092. - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
  123093. - else
  123094. - $echo "$progname: ignoring unknown tag $tagname" 1>&2
  123095. - fi
  123096. - ;;
  123097. - esac
  123098. - ;;
  123099. - *)
  123100. - eval "$prev=\$arg"
  123101. - ;;
  123102. - esac
  123103. +# Global variables.
  123104. +# $mode is unset
  123105. +nonopt=
  123106. +execute_dlfiles=
  123107. +preserve_args=
  123108. +lo2o="s/\\.lo\$/.${objext}/"
  123109. +o2lo="s/\\.${objext}\$/.lo/"
  123110. +extracted_archives=
  123111. +extracted_serial=0
  123112. - prev=
  123113. - prevopt=
  123114. - continue
  123115. - fi
  123116. +opt_dry_run=false
  123117. +opt_duplicate_deps=false
  123118. +opt_silent=false
  123119. +opt_debug=:
  123120. - # Have we seen a non-optional argument yet?
  123121. - case $arg in
  123122. - --help)
  123123. - show_help=yes
  123124. - ;;
  123125. +# If this variable is set in any of the actions, the command in it
  123126. +# will be execed at the end. This prevents here-documents from being
  123127. +# left over by shells.
  123128. +exec_cmd=
  123129. - --version)
  123130. - echo "\
  123131. -$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP
  123132. -
  123133. -Copyright (C) 2008 Free Software Foundation, Inc.
  123134. -This is free software; see the source for copying conditions. There is NO
  123135. -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  123136. - exit $?
  123137. - ;;
  123138. +# func_fatal_configuration arg...
  123139. +# Echo program name prefixed message to standard error, followed by
  123140. +# a configuration failure hint, and exit.
  123141. +func_fatal_configuration ()
  123142. +{
  123143. + func_error ${1+"$@"}
  123144. + func_error "See the $PACKAGE documentation for more information."
  123145. + func_fatal_error "Fatal configuration error."
  123146. +}
  123147. +
  123148. +
  123149. +# func_config
  123150. +# Display the configuration for all the tags in this script.
  123151. +func_config ()
  123152. +{
  123153. + re_begincf='^# ### BEGIN LIBTOOL'
  123154. + re_endcf='^# ### END LIBTOOL'
  123155. +
  123156. + # Default configuration.
  123157. + $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
  123158. - --config)
  123159. - ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
  123160. # Now print the configurations for the tags.
  123161. for tagname in $taglist; do
  123162. - ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
  123163. + $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
  123164. done
  123165. - exit $?
  123166. - ;;
  123167. -
  123168. - --debug)
  123169. - $echo "$progname: enabling shell trace mode"
  123170. - set -x
  123171. - preserve_args="$preserve_args $arg"
  123172. - ;;
  123173. - --dry-run | -n)
  123174. - run=:
  123175. - ;;
  123176. + exit $?
  123177. +}
  123178. - --features)
  123179. - $echo "host: $host"
  123180. +# func_features
  123181. +# Display the features supported by this script.
  123182. +func_features ()
  123183. +{
  123184. + $ECHO "host: $host"
  123185. if test "$build_libtool_libs" = yes; then
  123186. - $echo "enable shared libraries"
  123187. + $ECHO "enable shared libraries"
  123188. else
  123189. - $echo "disable shared libraries"
  123190. + $ECHO "disable shared libraries"
  123191. fi
  123192. if test "$build_old_libs" = yes; then
  123193. - $echo "enable static libraries"
  123194. + $ECHO "enable static libraries"
  123195. else
  123196. - $echo "disable static libraries"
  123197. + $ECHO "disable static libraries"
  123198. fi
  123199. +
  123200. exit $?
  123201. - ;;
  123202. +}
  123203. - --finish) mode="finish" ;;
  123204. +# func_enable_tag tagname
  123205. +# Verify that TAGNAME is valid, and either flag an error and exit, or
  123206. +# enable the TAGNAME tag. We also add TAGNAME to the global $taglist
  123207. +# variable here.
  123208. +func_enable_tag ()
  123209. +{
  123210. + # Global variable:
  123211. + tagname="$1"
  123212. - --mode) prevopt="--mode" prev=mode ;;
  123213. - --mode=*) mode="$optarg" ;;
  123214. + re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
  123215. + re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
  123216. + sed_extractcf="/$re_begincf/,/$re_endcf/p"
  123217. +
  123218. + # Validate tagname.
  123219. + case $tagname in
  123220. + *[!-_A-Za-z0-9,/]*)
  123221. + func_fatal_error "invalid tag name: $tagname"
  123222. + ;;
  123223. + esac
  123224. - --preserve-dup-deps) duplicate_deps="yes" ;;
  123225. + # Don't test for the "default" C tag, as we know it's
  123226. + # there but not specially marked.
  123227. + case $tagname in
  123228. + CC) ;;
  123229. + *)
  123230. + if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
  123231. + taglist="$taglist $tagname"
  123232. - --quiet | --silent)
  123233. - show=:
  123234. - preserve_args="$preserve_args $arg"
  123235. - ;;
  123236. + # Evaluate the configuration. Be careful to quote the path
  123237. + # and the sed script, to avoid splitting on whitespace, but
  123238. + # also don't use non-portable quotes within backquotes within
  123239. + # quotes we have to do it in 2 steps:
  123240. + extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
  123241. + eval "$extractedcf"
  123242. + else
  123243. + func_error "ignoring unknown tag $tagname"
  123244. + fi
  123245. + ;;
  123246. + esac
  123247. +}
  123248. +
  123249. +# Parse options once, thoroughly. This comes as soon as possible in
  123250. +# the script to make things like `libtool --version' happen quickly.
  123251. +{
  123252. - --tag)
  123253. - prevopt="--tag"
  123254. - prev=tag
  123255. - preserve_args="$preserve_args --tag"
  123256. + # Shorthand for --mode=foo, only valid as the first argument
  123257. + case $1 in
  123258. + clean|clea|cle|cl)
  123259. + shift; set dummy --mode clean ${1+"$@"}; shift
  123260. ;;
  123261. - --tag=*)
  123262. - set tag "$optarg" ${1+"$@"}
  123263. - shift
  123264. - prev=tag
  123265. - preserve_args="$preserve_args --tag"
  123266. + compile|compil|compi|comp|com|co|c)
  123267. + shift; set dummy --mode compile ${1+"$@"}; shift
  123268. ;;
  123269. -
  123270. - -dlopen)
  123271. - prevopt="-dlopen"
  123272. - prev=execute_dlfiles
  123273. + execute|execut|execu|exec|exe|ex|e)
  123274. + shift; set dummy --mode execute ${1+"$@"}; shift
  123275. ;;
  123276. -
  123277. - -*)
  123278. - $echo "$modename: unrecognized option \`$arg'" 1>&2
  123279. - $echo "$help" 1>&2
  123280. - exit $EXIT_FAILURE
  123281. + finish|finis|fini|fin|fi|f)
  123282. + shift; set dummy --mode finish ${1+"$@"}; shift
  123283. ;;
  123284. -
  123285. - *)
  123286. - nonopt="$arg"
  123287. - break
  123288. + install|instal|insta|inst|ins|in|i)
  123289. + shift; set dummy --mode install ${1+"$@"}; shift
  123290. + ;;
  123291. + link|lin|li|l)
  123292. + shift; set dummy --mode link ${1+"$@"}; shift
  123293. + ;;
  123294. + uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
  123295. + shift; set dummy --mode uninstall ${1+"$@"}; shift
  123296. ;;
  123297. esac
  123298. -done
  123299. -if test -n "$prevopt"; then
  123300. - $echo "$modename: option \`$prevopt' requires an argument" 1>&2
  123301. - $echo "$help" 1>&2
  123302. - exit $EXIT_FAILURE
  123303. -fi
  123304. + # Parse non-mode specific arguments:
  123305. + while test "$#" -gt 0; do
  123306. + opt="$1"
  123307. + shift
  123308. -case $disable_libs in
  123309. -no)
  123310. - ;;
  123311. -shared)
  123312. - build_libtool_libs=no
  123313. - build_old_libs=yes
  123314. - ;;
  123315. -static)
  123316. - build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
  123317. - ;;
  123318. -esac
  123319. + case $opt in
  123320. + --config) func_config ;;
  123321. -# If this variable is set in any of the actions, the command in it
  123322. -# will be execed at the end. This prevents here-documents from being
  123323. -# left over by shells.
  123324. -exec_cmd=
  123325. + --debug) preserve_args="$preserve_args $opt"
  123326. + func_echo "enabling shell trace mode"
  123327. + opt_debug='set -x'
  123328. + $opt_debug
  123329. + ;;
  123330. -if test -z "$show_help"; then
  123331. + -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break
  123332. + execute_dlfiles="$execute_dlfiles $1"
  123333. + shift
  123334. + ;;
  123335. - # Infer the operation mode.
  123336. - if test -z "$mode"; then
  123337. - $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
  123338. - $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
  123339. - case $nonopt in
  123340. - *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
  123341. - mode=link
  123342. - for arg
  123343. - do
  123344. - case $arg in
  123345. - -c)
  123346. - mode=compile
  123347. - break
  123348. - ;;
  123349. - esac
  123350. - done
  123351. - ;;
  123352. - *db | *dbx | *strace | *truss)
  123353. - mode=execute
  123354. - ;;
  123355. - *install*|cp|mv)
  123356. - mode=install
  123357. - ;;
  123358. - *rm)
  123359. - mode=uninstall
  123360. + --dry-run | -n) opt_dry_run=: ;;
  123361. + --features) func_features ;;
  123362. + --finish) mode="finish" ;;
  123363. +
  123364. + --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break
  123365. + case $1 in
  123366. + # Valid mode arguments:
  123367. + clean) ;;
  123368. + compile) ;;
  123369. + execute) ;;
  123370. + finish) ;;
  123371. + install) ;;
  123372. + link) ;;
  123373. + relink) ;;
  123374. + uninstall) ;;
  123375. +
  123376. + # Catch anything else as an error
  123377. + *) func_error "invalid argument for $opt"
  123378. + exit_cmd=exit
  123379. + break
  123380. + ;;
  123381. + esac
  123382. +
  123383. + mode="$1"
  123384. + shift
  123385. + ;;
  123386. +
  123387. + --preserve-dup-deps)
  123388. + opt_duplicate_deps=: ;;
  123389. +
  123390. + --quiet|--silent) preserve_args="$preserve_args $opt"
  123391. + opt_silent=:
  123392. + ;;
  123393. +
  123394. + --verbose| -v) preserve_args="$preserve_args $opt"
  123395. + opt_silent=false
  123396. + ;;
  123397. +
  123398. + --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break
  123399. + preserve_args="$preserve_args $opt $1"
  123400. + func_enable_tag "$1" # tagname is set here
  123401. + shift
  123402. + ;;
  123403. +
  123404. + # Separate optargs to long options:
  123405. + -dlopen=*|--mode=*|--tag=*)
  123406. + func_opt_split "$opt"
  123407. + set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"}
  123408. + shift
  123409. + ;;
  123410. +
  123411. + -\?|-h) func_usage ;;
  123412. + --help) opt_help=: ;;
  123413. + --version) func_version ;;
  123414. +
  123415. + -*) func_fatal_help "unrecognized option \`$opt'" ;;
  123416. +
  123417. + *) nonopt="$opt"
  123418. + break
  123419. + ;;
  123420. + esac
  123421. + done
  123422. +
  123423. +
  123424. + case $host in
  123425. + *cygwin* | *mingw* | *pw32* | *cegcc*)
  123426. + # don't eliminate duplications in $postdeps and $predeps
  123427. + opt_duplicate_compiler_generated_deps=:
  123428. ;;
  123429. *)
  123430. - # If we have no mode, but dlfiles were specified, then do execute mode.
  123431. - test -n "$execute_dlfiles" && mode=execute
  123432. + opt_duplicate_compiler_generated_deps=$opt_duplicate_deps
  123433. + ;;
  123434. + esac
  123435. - # Just use the default operation mode.
  123436. - if test -z "$mode"; then
  123437. - if test -n "$nonopt"; then
  123438. - $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
  123439. - else
  123440. - $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
  123441. - fi
  123442. + # Having warned about all mis-specified options, bail out if
  123443. + # anything was wrong.
  123444. + $exit_cmd $EXIT_FAILURE
  123445. +}
  123446. +
  123447. +# func_check_version_match
  123448. +# Ensure that we are using m4 macros, and libtool script from the same
  123449. +# release of libtool.
  123450. +func_check_version_match ()
  123451. +{
  123452. + if test "$package_revision" != "$macro_revision"; then
  123453. + if test "$VERSION" != "$macro_version"; then
  123454. + if test -z "$macro_version"; then
  123455. + cat >&2 <<_LT_EOF
  123456. +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  123457. +$progname: definition of this LT_INIT comes from an older release.
  123458. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  123459. +$progname: and run autoconf again.
  123460. +_LT_EOF
  123461. + else
  123462. + cat >&2 <<_LT_EOF
  123463. +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  123464. +$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
  123465. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  123466. +$progname: and run autoconf again.
  123467. +_LT_EOF
  123468. fi
  123469. - ;;
  123470. - esac
  123471. + else
  123472. + cat >&2 <<_LT_EOF
  123473. +$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
  123474. +$progname: but the definition of this LT_INIT comes from revision $macro_revision.
  123475. +$progname: You should recreate aclocal.m4 with macros from revision $package_revision
  123476. +$progname: of $PACKAGE $VERSION and run autoconf again.
  123477. +_LT_EOF
  123478. + fi
  123479. +
  123480. + exit $EXIT_MISMATCH
  123481. + fi
  123482. +}
  123483. +
  123484. +
  123485. +## ----------- ##
  123486. +## Main. ##
  123487. +## ----------- ##
  123488. +
  123489. +$opt_help || {
  123490. + # Sanity checks first:
  123491. + func_check_version_match
  123492. +
  123493. + if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
  123494. + func_fatal_configuration "not configured to build any kind of library"
  123495. fi
  123496. + test -z "$mode" && func_fatal_error "error: you must specify a MODE."
  123497. +
  123498. +
  123499. + # Darwin sucks
  123500. + eval std_shrext=\"$shrext_cmds\"
  123501. +
  123502. +
  123503. # Only execute mode is allowed to have -dlopen flags.
  123504. if test -n "$execute_dlfiles" && test "$mode" != execute; then
  123505. - $echo "$modename: unrecognized option \`-dlopen'" 1>&2
  123506. - $echo "$help" 1>&2
  123507. + func_error "unrecognized option \`-dlopen'"
  123508. + $ECHO "$help" 1>&2
  123509. exit $EXIT_FAILURE
  123510. fi
  123511. # Change the help message to a mode-specific one.
  123512. generic_help="$help"
  123513. - help="Try \`$modename --help --mode=$mode' for more information."
  123514. + help="Try \`$progname --help --mode=$mode' for more information."
  123515. +}
  123516. - # These modes are in order of execution frequency so that they run quickly.
  123517. - case $mode in
  123518. - # libtool compile mode
  123519. - compile)
  123520. - modename="$modename: compile"
  123521. - # Get the compilation command and the source file.
  123522. - base_compile=
  123523. - srcfile="$nonopt" # always keep a non-empty value in "srcfile"
  123524. - suppress_opt=yes
  123525. - suppress_output=
  123526. - arg_mode=normal
  123527. - libobj=
  123528. - later=
  123529. - for arg
  123530. - do
  123531. - case $arg_mode in
  123532. - arg )
  123533. - # do not "continue". Instead, add this to base_compile
  123534. - lastarg="$arg"
  123535. - arg_mode=normal
  123536. - ;;
  123537. +# func_lalib_p file
  123538. +# True iff FILE is a libtool `.la' library or `.lo' object file.
  123539. +# This function is only a basic sanity check; it will hardly flush out
  123540. +# determined imposters.
  123541. +func_lalib_p ()
  123542. +{
  123543. + test -f "$1" &&
  123544. + $SED -e 4q "$1" 2>/dev/null \
  123545. + | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
  123546. +}
  123547. - target )
  123548. - libobj="$arg"
  123549. - arg_mode=normal
  123550. - continue
  123551. - ;;
  123552. +# func_lalib_unsafe_p file
  123553. +# True iff FILE is a libtool `.la' library or `.lo' object file.
  123554. +# This function implements the same check as func_lalib_p without
  123555. +# resorting to external programs. To this end, it redirects stdin and
  123556. +# closes it afterwards, without saving the original file descriptor.
  123557. +# As a safety measure, use it only where a negative result would be
  123558. +# fatal anyway. Works if `file' does not exist.
  123559. +func_lalib_unsafe_p ()
  123560. +{
  123561. + lalib_p=no
  123562. + if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then
  123563. + for lalib_p_l in 1 2 3 4
  123564. + do
  123565. + read lalib_p_line
  123566. + case "$lalib_p_line" in
  123567. + \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
  123568. + esac
  123569. + done
  123570. + exec 0<&5 5<&-
  123571. + fi
  123572. + test "$lalib_p" = yes
  123573. +}
  123574. - normal )
  123575. - # Accept any command-line options.
  123576. - case $arg in
  123577. - -o)
  123578. - if test -n "$libobj" ; then
  123579. - $echo "$modename: you cannot specify \`-o' more than once" 1>&2
  123580. - exit $EXIT_FAILURE
  123581. - fi
  123582. - arg_mode=target
  123583. +# func_ltwrapper_script_p file
  123584. +# True iff FILE is a libtool wrapper script
  123585. +# This function is only a basic sanity check; it will hardly flush out
  123586. +# determined imposters.
  123587. +func_ltwrapper_script_p ()
  123588. +{
  123589. + func_lalib_p "$1"
  123590. +}
  123591. +
  123592. +# func_ltwrapper_executable_p file
  123593. +# True iff FILE is a libtool wrapper executable
  123594. +# This function is only a basic sanity check; it will hardly flush out
  123595. +# determined imposters.
  123596. +func_ltwrapper_executable_p ()
  123597. +{
  123598. + func_ltwrapper_exec_suffix=
  123599. + case $1 in
  123600. + *.exe) ;;
  123601. + *) func_ltwrapper_exec_suffix=.exe ;;
  123602. + esac
  123603. + $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1
  123604. +}
  123605. +
  123606. +# func_ltwrapper_scriptname file
  123607. +# Assumes file is an ltwrapper_executable
  123608. +# uses $file to determine the appropriate filename for a
  123609. +# temporary ltwrapper_script.
  123610. +func_ltwrapper_scriptname ()
  123611. +{
  123612. + func_ltwrapper_scriptname_result=""
  123613. + if func_ltwrapper_executable_p "$1"; then
  123614. + func_dirname_and_basename "$1" "" "."
  123615. + func_stripname '' '.exe' "$func_basename_result"
  123616. + func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
  123617. + fi
  123618. +}
  123619. +
  123620. +# func_ltwrapper_p file
  123621. +# True iff FILE is a libtool wrapper script or wrapper executable
  123622. +# This function is only a basic sanity check; it will hardly flush out
  123623. +# determined imposters.
  123624. +func_ltwrapper_p ()
  123625. +{
  123626. + func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1"
  123627. +}
  123628. +
  123629. +
  123630. +# func_execute_cmds commands fail_cmd
  123631. +# Execute tilde-delimited COMMANDS.
  123632. +# If FAIL_CMD is given, eval that upon failure.
  123633. +# FAIL_CMD may read-access the current command in variable CMD!
  123634. +func_execute_cmds ()
  123635. +{
  123636. + $opt_debug
  123637. + save_ifs=$IFS; IFS='~'
  123638. + for cmd in $1; do
  123639. + IFS=$save_ifs
  123640. + eval cmd=\"$cmd\"
  123641. + func_show_eval "$cmd" "${2-:}"
  123642. + done
  123643. + IFS=$save_ifs
  123644. +}
  123645. +
  123646. +
  123647. +# func_source file
  123648. +# Source FILE, adding directory component if necessary.
  123649. +# Note that it is not necessary on cygwin/mingw to append a dot to
  123650. +# FILE even if both FILE and FILE.exe exist: automatic-append-.exe
  123651. +# behavior happens only for exec(3), not for open(2)! Also, sourcing
  123652. +# `FILE.' does not work on cygwin managed mounts.
  123653. +func_source ()
  123654. +{
  123655. + $opt_debug
  123656. + case $1 in
  123657. + */* | *\\*) . "$1" ;;
  123658. + *) . "./$1" ;;
  123659. + esac
  123660. +}
  123661. +
  123662. +
  123663. +# func_infer_tag arg
  123664. +# Infer tagged configuration to use if any are available and
  123665. +# if one wasn't chosen via the "--tag" command line option.
  123666. +# Only attempt this if the compiler in the base compile
  123667. +# command doesn't match the default compiler.
  123668. +# arg is usually of the form 'gcc ...'
  123669. +func_infer_tag ()
  123670. +{
  123671. + $opt_debug
  123672. + if test -n "$available_tags" && test -z "$tagname"; then
  123673. + CC_quoted=
  123674. + for arg in $CC; do
  123675. + func_quote_for_eval "$arg"
  123676. + CC_quoted="$CC_quoted $func_quote_for_eval_result"
  123677. + done
  123678. + case $@ in
  123679. + # Blanks in the command may have been stripped by the calling shell,
  123680. + # but not from the CC environment variable when configure was run.
  123681. + " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
  123682. + # Blanks at the start of $base_compile will cause this to fail
  123683. + # if we don't check for them as well.
  123684. + *)
  123685. + for z in $available_tags; do
  123686. + if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
  123687. + # Evaluate the configuration.
  123688. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
  123689. + CC_quoted=
  123690. + for arg in $CC; do
  123691. + # Double-quote args containing other shell metacharacters.
  123692. + func_quote_for_eval "$arg"
  123693. + CC_quoted="$CC_quoted $func_quote_for_eval_result"
  123694. + done
  123695. + case "$@ " in
  123696. + " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
  123697. + # The compiler in the base compile command matches
  123698. + # the one in the tagged configuration.
  123699. + # Assume this is the tagged configuration we want.
  123700. + tagname=$z
  123701. + break
  123702. + ;;
  123703. + esac
  123704. + fi
  123705. + done
  123706. + # If $tagname still isn't set, then no tagged configuration
  123707. + # was found and let the user know that the "--tag" command
  123708. + # line option must be used.
  123709. + if test -z "$tagname"; then
  123710. + func_echo "unable to infer tagged configuration"
  123711. + func_fatal_error "specify a tag with \`--tag'"
  123712. +# else
  123713. +# func_verbose "using $tagname tagged configuration"
  123714. + fi
  123715. + ;;
  123716. + esac
  123717. + fi
  123718. +}
  123719. +
  123720. +
  123721. +
  123722. +# func_write_libtool_object output_name pic_name nonpic_name
  123723. +# Create a libtool object file (analogous to a ".la" file),
  123724. +# but don't create it if we're doing a dry run.
  123725. +func_write_libtool_object ()
  123726. +{
  123727. + write_libobj=${1}
  123728. + if test "$build_libtool_libs" = yes; then
  123729. + write_lobj=\'${2}\'
  123730. + else
  123731. + write_lobj=none
  123732. + fi
  123733. +
  123734. + if test "$build_old_libs" = yes; then
  123735. + write_oldobj=\'${3}\'
  123736. + else
  123737. + write_oldobj=none
  123738. + fi
  123739. +
  123740. + $opt_dry_run || {
  123741. + cat >${write_libobj}T <<EOF
  123742. +# $write_libobj - a libtool object file
  123743. +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  123744. +#
  123745. +# Please DO NOT delete this file!
  123746. +# It is necessary for linking the library.
  123747. +
  123748. +# Name of the PIC object.
  123749. +pic_object=$write_lobj
  123750. +
  123751. +# Name of the non-PIC object
  123752. +non_pic_object=$write_oldobj
  123753. +
  123754. +EOF
  123755. + $MV "${write_libobj}T" "${write_libobj}"
  123756. + }
  123757. +}
  123758. +
  123759. +# func_mode_compile arg...
  123760. +func_mode_compile ()
  123761. +{
  123762. + $opt_debug
  123763. + # Get the compilation command and the source file.
  123764. + base_compile=
  123765. + srcfile="$nonopt" # always keep a non-empty value in "srcfile"
  123766. + suppress_opt=yes
  123767. + suppress_output=
  123768. + arg_mode=normal
  123769. + libobj=
  123770. + later=
  123771. + pie_flag=
  123772. +
  123773. + for arg
  123774. + do
  123775. + case $arg_mode in
  123776. + arg )
  123777. + # do not "continue". Instead, add this to base_compile
  123778. + lastarg="$arg"
  123779. + arg_mode=normal
  123780. + ;;
  123781. +
  123782. + target )
  123783. + libobj="$arg"
  123784. + arg_mode=normal
  123785. + continue
  123786. + ;;
  123787. +
  123788. + normal )
  123789. + # Accept any command-line options.
  123790. + case $arg in
  123791. + -o)
  123792. + test -n "$libobj" && \
  123793. + func_fatal_error "you cannot specify \`-o' more than once"
  123794. + arg_mode=target
  123795. + continue
  123796. + ;;
  123797. +
  123798. + -pie | -fpie | -fPIE)
  123799. + pie_flag="$pie_flag $arg"
  123800. continue
  123801. ;;
  123802. - -static | -prefer-pic | -prefer-non-pic)
  123803. + -shared | -static | -prefer-pic | -prefer-non-pic)
  123804. later="$later $arg"
  123805. continue
  123806. ;;
  123807. @@ -737,31 +1157,25 @@
  123808. ;; # replaced later. I would guess that would be a bug.
  123809. -Wc,*)
  123810. - args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
  123811. + func_stripname '-Wc,' '' "$arg"
  123812. + args=$func_stripname_result
  123813. lastarg=
  123814. save_ifs="$IFS"; IFS=','
  123815. - for arg in $args; do
  123816. + for arg in $args; do
  123817. IFS="$save_ifs"
  123818. -
  123819. - # Double-quote args containing other shell metacharacters.
  123820. - # Many Bourne shells cannot handle close brackets correctly
  123821. - # in scan sets, so we specify it separately.
  123822. - case $arg in
  123823. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  123824. - arg="\"$arg\""
  123825. - ;;
  123826. - esac
  123827. - lastarg="$lastarg $arg"
  123828. + func_quote_for_eval "$arg"
  123829. + lastarg="$lastarg $func_quote_for_eval_result"
  123830. done
  123831. IFS="$save_ifs"
  123832. - lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
  123833. + func_stripname ' ' '' "$lastarg"
  123834. + lastarg=$func_stripname_result
  123835. # Add the arguments to base_compile.
  123836. base_compile="$base_compile $lastarg"
  123837. continue
  123838. ;;
  123839. - * )
  123840. + *)
  123841. # Accept the current argument as the source file.
  123842. # The previous "srcfile" becomes the current argument.
  123843. #
  123844. @@ -773,66 +1187,42 @@
  123845. esac # case $arg_mode
  123846. # Aesthetically quote the previous argument.
  123847. - lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
  123848. -
  123849. - case $lastarg in
  123850. - # Double-quote args containing other shell metacharacters.
  123851. - # Many Bourne shells cannot handle close brackets correctly
  123852. - # in scan sets, and some SunOS ksh mistreat backslash-escaping
  123853. - # in scan sets (worked around with variable expansion),
  123854. - # and furthermore cannot handle '|' '&' '(' ')' in scan sets
  123855. - # at all, so we specify them separately.
  123856. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  123857. - lastarg="\"$lastarg\""
  123858. - ;;
  123859. - esac
  123860. -
  123861. - base_compile="$base_compile $lastarg"
  123862. + func_quote_for_eval "$lastarg"
  123863. + base_compile="$base_compile $func_quote_for_eval_result"
  123864. done # for arg
  123865. case $arg_mode in
  123866. arg)
  123867. - $echo "$modename: you must specify an argument for -Xcompile"
  123868. - exit $EXIT_FAILURE
  123869. + func_fatal_error "you must specify an argument for -Xcompile"
  123870. ;;
  123871. target)
  123872. - $echo "$modename: you must specify a target with \`-o'" 1>&2
  123873. - exit $EXIT_FAILURE
  123874. + func_fatal_error "you must specify a target with \`-o'"
  123875. ;;
  123876. *)
  123877. # Get the name of the library object.
  123878. - [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
  123879. + test -z "$libobj" && {
  123880. + func_basename "$srcfile"
  123881. + libobj="$func_basename_result"
  123882. + }
  123883. ;;
  123884. esac
  123885. # Recognize several different file suffixes.
  123886. # If the user specifies -o file.o, it is replaced with file.lo
  123887. - xform='[cCFSifmso]'
  123888. case $libobj in
  123889. - *.ada) xform=ada ;;
  123890. - *.adb) xform=adb ;;
  123891. - *.ads) xform=ads ;;
  123892. - *.asm) xform=asm ;;
  123893. - *.c++) xform=c++ ;;
  123894. - *.cc) xform=cc ;;
  123895. - *.ii) xform=ii ;;
  123896. - *.class) xform=class ;;
  123897. - *.cpp) xform=cpp ;;
  123898. - *.cxx) xform=cxx ;;
  123899. - *.[fF][09]?) xform=[fF][09]. ;;
  123900. - *.for) xform=for ;;
  123901. - *.java) xform=java ;;
  123902. - *.obj) xform=obj ;;
  123903. - *.sx) xform=sx ;;
  123904. + *.[cCFSifmso] | \
  123905. + *.ada | *.adb | *.ads | *.asm | \
  123906. + *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
  123907. + *.[fF][09]? | *.for | *.java | *.obj | *.sx)
  123908. + func_xform "$libobj"
  123909. + libobj=$func_xform_result
  123910. + ;;
  123911. esac
  123912. - libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
  123913. -
  123914. case $libobj in
  123915. - *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
  123916. + *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
  123917. *)
  123918. - $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
  123919. - exit $EXIT_FAILURE
  123920. + func_fatal_error "cannot determine name of library object from \`$libobj'"
  123921. ;;
  123922. esac
  123923. @@ -840,7 +1230,15 @@
  123924. for arg in $later; do
  123925. case $arg in
  123926. + -shared)
  123927. + test "$build_libtool_libs" != yes && \
  123928. + func_fatal_configuration "can not build a shared library"
  123929. + build_old_libs=no
  123930. + continue
  123931. + ;;
  123932. +
  123933. -static)
  123934. + build_libtool_libs=no
  123935. build_old_libs=yes
  123936. continue
  123937. ;;
  123938. @@ -857,28 +1255,17 @@
  123939. esac
  123940. done
  123941. - qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
  123942. - case $qlibobj in
  123943. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  123944. - qlibobj="\"$qlibobj\"" ;;
  123945. - esac
  123946. - test "X$libobj" != "X$qlibobj" \
  123947. - && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
  123948. - && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
  123949. - objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
  123950. - xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
  123951. - if test "X$xdir" = "X$obj"; then
  123952. - xdir=
  123953. - else
  123954. - xdir=$xdir/
  123955. - fi
  123956. + func_quote_for_eval "$libobj"
  123957. + test "X$libobj" != "X$func_quote_for_eval_result" \
  123958. + && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
  123959. + && func_warning "libobj name \`$libobj' may not contain shell special characters."
  123960. + func_dirname_and_basename "$obj" "/" ""
  123961. + objname="$func_basename_result"
  123962. + xdir="$func_dirname_result"
  123963. lobj=${xdir}$objdir/$objname
  123964. - if test -z "$base_compile"; then
  123965. - $echo "$modename: you must specify a compilation command" 1>&2
  123966. - $echo "$help" 1>&2
  123967. - exit $EXIT_FAILURE
  123968. - fi
  123969. + test -z "$base_compile" && \
  123970. + func_fatal_help "you must specify a compilation command"
  123971. # Delete any leftover library objects.
  123972. if test "$build_old_libs" = yes; then
  123973. @@ -887,12 +1274,9 @@
  123974. removelist="$lobj $libobj ${libobj}T"
  123975. fi
  123976. - $run $rm $removelist
  123977. - trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
  123978. -
  123979. # On Cygwin there's no "real" PIC flag so we must build both object types
  123980. case $host_os in
  123981. - cygwin* | mingw* | pw32* | os2*)
  123982. + cygwin* | mingw* | pw32* | os2* | cegcc*)
  123983. pic_mode=default
  123984. ;;
  123985. esac
  123986. @@ -904,10 +1288,8 @@
  123987. # Calculate the filename of the output object if compiler does
  123988. # not support -o with -c
  123989. if test "$compiler_c_o" = no; then
  123990. - output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
  123991. + output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
  123992. lockfile="$output_obj.lock"
  123993. - removelist="$removelist $output_obj $lockfile"
  123994. - trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
  123995. else
  123996. output_obj=
  123997. need_locks=no
  123998. @@ -917,13 +1299,13 @@
  123999. # Lock this critical section if it is needed
  124000. # We use this script file to make the link, it avoids creating a new file
  124001. if test "$need_locks" = yes; then
  124002. - until $run ln "$progpath" "$lockfile" 2>/dev/null; do
  124003. - $show "Waiting for $lockfile to be removed"
  124004. + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
  124005. + func_echo "Waiting for $lockfile to be removed"
  124006. sleep 2
  124007. done
  124008. elif test "$need_locks" = warn; then
  124009. if test -f "$lockfile"; then
  124010. - $echo "\
  124011. + $ECHO "\
  124012. *** ERROR, $lockfile exists and contains:
  124013. `cat $lockfile 2>/dev/null`
  124014. @@ -934,34 +1316,22 @@
  124015. avoid parallel builds (make -j) in this platform, or get a better
  124016. compiler."
  124017. - $run $rm $removelist
  124018. + $opt_dry_run || $RM $removelist
  124019. exit $EXIT_FAILURE
  124020. fi
  124021. - $echo "$srcfile" > "$lockfile"
  124022. + removelist="$removelist $output_obj"
  124023. + $ECHO "$srcfile" > "$lockfile"
  124024. fi
  124025. + $opt_dry_run || $RM $removelist
  124026. + removelist="$removelist $lockfile"
  124027. + trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
  124028. +
  124029. if test -n "$fix_srcfile_path"; then
  124030. eval srcfile=\"$fix_srcfile_path\"
  124031. fi
  124032. - qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
  124033. - case $qsrcfile in
  124034. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  124035. - qsrcfile="\"$qsrcfile\"" ;;
  124036. - esac
  124037. -
  124038. - $run $rm "$libobj" "${libobj}T"
  124039. -
  124040. - # Create a libtool object file (analogous to a ".la" file),
  124041. - # but don't create it if we're doing a dry run.
  124042. - test -z "$run" && cat > ${libobj}T <<EOF
  124043. -# $libobj - a libtool object file
  124044. -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
  124045. -#
  124046. -# Please DO NOT delete this file!
  124047. -# It is necessary for linking the library.
  124048. -
  124049. -# Name of the PIC object.
  124050. -EOF
  124051. + func_quote_for_eval "$srcfile"
  124052. + qsrcfile=$func_quote_for_eval_result
  124053. # Only build a PIC object if we are building libtool libraries.
  124054. if test "$build_libtool_libs" = yes; then
  124055. @@ -975,32 +1345,19 @@
  124056. command="$base_compile $qsrcfile"
  124057. fi
  124058. - if test ! -d "${xdir}$objdir"; then
  124059. - $show "$mkdir ${xdir}$objdir"
  124060. - $run $mkdir ${xdir}$objdir
  124061. - exit_status=$?
  124062. - if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
  124063. - exit $exit_status
  124064. - fi
  124065. - fi
  124066. + func_mkdir_p "$xdir$objdir"
  124067. if test -z "$output_obj"; then
  124068. # Place PIC objects in $objdir
  124069. command="$command -o $lobj"
  124070. fi
  124071. - $run $rm "$lobj" "$output_obj"
  124072. -
  124073. - $show "$command"
  124074. - if $run eval $lt_env "$command"; then :
  124075. - else
  124076. - test -n "$output_obj" && $run $rm $removelist
  124077. - exit $EXIT_FAILURE
  124078. - fi
  124079. + func_show_eval_locale "$command" \
  124080. + 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
  124081. if test "$need_locks" = warn &&
  124082. test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
  124083. - $echo "\
  124084. + $ECHO "\
  124085. *** ERROR, $lockfile contains:
  124086. `cat $lockfile 2>/dev/null`
  124087. @@ -1014,45 +1371,27 @@
  124088. avoid parallel builds (make -j) in this platform, or get a better
  124089. compiler."
  124090. - $run $rm $removelist
  124091. + $opt_dry_run || $RM $removelist
  124092. exit $EXIT_FAILURE
  124093. fi
  124094. # Just move the object if needed, then go on to compile the next one
  124095. if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
  124096. - $show "$mv $output_obj $lobj"
  124097. - if $run $mv $output_obj $lobj; then :
  124098. - else
  124099. - error=$?
  124100. - $run $rm $removelist
  124101. - exit $error
  124102. - fi
  124103. + func_show_eval '$MV "$output_obj" "$lobj"' \
  124104. + 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
  124105. fi
  124106. - # Append the name of the PIC object to the libtool object file.
  124107. - test -z "$run" && cat >> ${libobj}T <<EOF
  124108. -pic_object='$objdir/$objname'
  124109. -
  124110. -EOF
  124111. -
  124112. # Allow error messages only from the first compilation.
  124113. if test "$suppress_opt" = yes; then
  124114. - suppress_output=' >/dev/null 2>&1'
  124115. + suppress_output=' >/dev/null 2>&1'
  124116. fi
  124117. - else
  124118. - # No PIC object so indicate it doesn't exist in the libtool
  124119. - # object file.
  124120. - test -z "$run" && cat >> ${libobj}T <<EOF
  124121. -pic_object=none
  124122. -
  124123. -EOF
  124124. fi
  124125. # Only build a position-dependent object if we build old libraries.
  124126. if test "$build_old_libs" = yes; then
  124127. if test "$pic_mode" != yes; then
  124128. # Don't build PIC code
  124129. - command="$base_compile $qsrcfile"
  124130. + command="$base_compile $qsrcfile$pie_flag"
  124131. else
  124132. command="$base_compile $qsrcfile $pic_flag"
  124133. fi
  124134. @@ -1062,17 +1401,12 @@
  124135. # Suppress compiler output if we already did a PIC compilation.
  124136. command="$command$suppress_output"
  124137. - $run $rm "$obj" "$output_obj"
  124138. - $show "$command"
  124139. - if $run eval $lt_env "$command"; then :
  124140. - else
  124141. - $run $rm $removelist
  124142. - exit $EXIT_FAILURE
  124143. - fi
  124144. + func_show_eval_locale "$command" \
  124145. + '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
  124146. if test "$need_locks" = warn &&
  124147. test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
  124148. - $echo "\
  124149. + $ECHO "\
  124150. *** ERROR, $lockfile contains:
  124151. `cat $lockfile 2>/dev/null`
  124152. @@ -1086,5504 +1420,6784 @@
  124153. avoid parallel builds (make -j) in this platform, or get a better
  124154. compiler."
  124155. - $run $rm $removelist
  124156. + $opt_dry_run || $RM $removelist
  124157. exit $EXIT_FAILURE
  124158. fi
  124159. # Just move the object if needed
  124160. if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
  124161. - $show "$mv $output_obj $obj"
  124162. - if $run $mv $output_obj $obj; then :
  124163. - else
  124164. - error=$?
  124165. - $run $rm $removelist
  124166. - exit $error
  124167. - fi
  124168. + func_show_eval '$MV "$output_obj" "$obj"' \
  124169. + 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
  124170. fi
  124171. -
  124172. - # Append the name of the non-PIC object the libtool object file.
  124173. - # Only append if the libtool object file exists.
  124174. - test -z "$run" && cat >> ${libobj}T <<EOF
  124175. -# Name of the non-PIC object.
  124176. -non_pic_object='$objname'
  124177. -
  124178. -EOF
  124179. - else
  124180. - # Append the name of the non-PIC object the libtool object file.
  124181. - # Only append if the libtool object file exists.
  124182. - test -z "$run" && cat >> ${libobj}T <<EOF
  124183. -# Name of the non-PIC object.
  124184. -non_pic_object=none
  124185. -
  124186. -EOF
  124187. fi
  124188. - $run $mv "${libobj}T" "${libobj}"
  124189. + $opt_dry_run || {
  124190. + func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
  124191. - # Unlock the critical section if it was locked
  124192. - if test "$need_locks" != no; then
  124193. - $run $rm "$lockfile"
  124194. - fi
  124195. + # Unlock the critical section if it was locked
  124196. + if test "$need_locks" != no; then
  124197. + removelist=$lockfile
  124198. + $RM "$lockfile"
  124199. + fi
  124200. + }
  124201. exit $EXIT_SUCCESS
  124202. - ;;
  124203. -
  124204. - # libtool link mode
  124205. - link | relink)
  124206. - modename="$modename: link"
  124207. - case $host in
  124208. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  124209. - # It is impossible to link a dll without this setting, and
  124210. - # we shouldn't force the makefile maintainer to figure out
  124211. - # which system we are compiling for in order to pass an extra
  124212. - # flag for every libtool invocation.
  124213. - # allow_undefined=no
  124214. +}
  124215. - # FIXME: Unfortunately, there are problems with the above when trying
  124216. - # to make a dll which has undefined symbols, in which case not
  124217. - # even a static library is built. For now, we need to specify
  124218. - # -no-undefined on the libtool link line when we can be certain
  124219. - # that all symbols are satisfied, otherwise we get a static library.
  124220. - allow_undefined=yes
  124221. - ;;
  124222. - *)
  124223. - allow_undefined=yes
  124224. - ;;
  124225. - esac
  124226. - libtool_args="$nonopt"
  124227. - base_compile="$nonopt $@"
  124228. - compile_command="$nonopt"
  124229. - finalize_command="$nonopt"
  124230. +$opt_help || {
  124231. +test "$mode" = compile && func_mode_compile ${1+"$@"}
  124232. +}
  124233. - compile_rpath=
  124234. - finalize_rpath=
  124235. - compile_shlibpath=
  124236. - finalize_shlibpath=
  124237. - convenience=
  124238. - old_convenience=
  124239. - deplibs=
  124240. - old_deplibs=
  124241. - compiler_flags=
  124242. - linker_flags=
  124243. - dllsearchpath=
  124244. - lib_search_path=`pwd`
  124245. - inst_prefix_dir=
  124246. +func_mode_help ()
  124247. +{
  124248. + # We need to display help for each of the modes.
  124249. + case $mode in
  124250. + "")
  124251. + # Generic help is extracted from the usage comments
  124252. + # at the start of this file.
  124253. + func_help
  124254. + ;;
  124255. - avoid_version=no
  124256. - dlfiles=
  124257. - dlprefiles=
  124258. - dlself=no
  124259. - export_dynamic=no
  124260. - export_symbols=
  124261. - export_symbols_regex=
  124262. - generated=
  124263. - libobjs=
  124264. - ltlibs=
  124265. - module=no
  124266. - no_install=no
  124267. - objs=
  124268. - non_pic_objects=
  124269. - notinst_path= # paths that contain not-installed libtool libraries
  124270. - precious_files_regex=
  124271. - prefer_static_libs=no
  124272. - preload=no
  124273. - prev=
  124274. - prevarg=
  124275. - release=
  124276. - rpath=
  124277. - xrpath=
  124278. - perm_rpath=
  124279. - temp_rpath=
  124280. - thread_safe=no
  124281. - vinfo=
  124282. - vinfo_number=no
  124283. - single_module="${wl}-single_module"
  124284. + clean)
  124285. + $ECHO \
  124286. +"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
  124287. - func_infer_tag $base_compile
  124288. +Remove files from the build directory.
  124289. - # We need to know -static, to get the right output filenames.
  124290. - for arg
  124291. - do
  124292. - case $arg in
  124293. - -all-static | -static | -static-libtool-libs)
  124294. - case $arg in
  124295. - -all-static)
  124296. - if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
  124297. - $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
  124298. - fi
  124299. - if test -n "$link_static_flag"; then
  124300. - dlopen_self=$dlopen_self_static
  124301. - fi
  124302. - prefer_static_libs=yes
  124303. - ;;
  124304. - -static)
  124305. - if test -z "$pic_flag" && test -n "$link_static_flag"; then
  124306. - dlopen_self=$dlopen_self_static
  124307. - fi
  124308. - prefer_static_libs=built
  124309. - ;;
  124310. - -static-libtool-libs)
  124311. - if test -z "$pic_flag" && test -n "$link_static_flag"; then
  124312. - dlopen_self=$dlopen_self_static
  124313. - fi
  124314. - prefer_static_libs=yes
  124315. - ;;
  124316. - esac
  124317. - build_libtool_libs=no
  124318. - build_old_libs=yes
  124319. - break
  124320. - ;;
  124321. - esac
  124322. - done
  124323. +RM is the name of the program to use to delete files associated with each FILE
  124324. +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  124325. +to RM.
  124326. - # See if our shared archives depend on static archives.
  124327. - test -n "$old_archive_from_new_cmds" && build_old_libs=yes
  124328. +If FILE is a libtool library, object or program, all the files associated
  124329. +with it are deleted. Otherwise, only FILE itself is deleted using RM."
  124330. + ;;
  124331. - # Go through the arguments, transforming them on the way.
  124332. - while test "$#" -gt 0; do
  124333. - arg="$1"
  124334. - shift
  124335. - case $arg in
  124336. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  124337. - qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
  124338. - ;;
  124339. - *) qarg=$arg ;;
  124340. - esac
  124341. - libtool_args="$libtool_args $qarg"
  124342. + compile)
  124343. + $ECHO \
  124344. +"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
  124345. - # If the previous option needs an argument, assign it.
  124346. - if test -n "$prev"; then
  124347. - case $prev in
  124348. - output)
  124349. - compile_command="$compile_command @OUTPUT@"
  124350. - finalize_command="$finalize_command @OUTPUT@"
  124351. - ;;
  124352. - esac
  124353. +Compile a source file into a libtool library object.
  124354. - case $prev in
  124355. - dlfiles|dlprefiles)
  124356. - if test "$preload" = no; then
  124357. - # Add the symbol object into the linking commands.
  124358. - compile_command="$compile_command @SYMFILE@"
  124359. - finalize_command="$finalize_command @SYMFILE@"
  124360. - preload=yes
  124361. - fi
  124362. - case $arg in
  124363. - *.la | *.lo) ;; # We handle these cases below.
  124364. - force)
  124365. - if test "$dlself" = no; then
  124366. - dlself=needless
  124367. - export_dynamic=yes
  124368. - fi
  124369. - prev=
  124370. - continue
  124371. - ;;
  124372. - self)
  124373. - if test "$prev" = dlprefiles; then
  124374. - dlself=yes
  124375. - elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
  124376. - dlself=yes
  124377. - else
  124378. - dlself=needless
  124379. - export_dynamic=yes
  124380. - fi
  124381. - prev=
  124382. - continue
  124383. - ;;
  124384. - *)
  124385. - if test "$prev" = dlfiles; then
  124386. - dlfiles="$dlfiles $arg"
  124387. - else
  124388. - dlprefiles="$dlprefiles $arg"
  124389. - fi
  124390. - prev=
  124391. - continue
  124392. - ;;
  124393. - esac
  124394. - ;;
  124395. - expsyms)
  124396. - export_symbols="$arg"
  124397. - if test ! -f "$arg"; then
  124398. - $echo "$modename: symbol file \`$arg' does not exist"
  124399. - exit $EXIT_FAILURE
  124400. - fi
  124401. - prev=
  124402. - continue
  124403. - ;;
  124404. - expsyms_regex)
  124405. - export_symbols_regex="$arg"
  124406. - prev=
  124407. - continue
  124408. - ;;
  124409. - inst_prefix)
  124410. - inst_prefix_dir="$arg"
  124411. - prev=
  124412. - continue
  124413. - ;;
  124414. - precious_regex)
  124415. - precious_files_regex="$arg"
  124416. - prev=
  124417. - continue
  124418. - ;;
  124419. - release)
  124420. - release="-$arg"
  124421. - prev=
  124422. - continue
  124423. - ;;
  124424. - objectlist)
  124425. - if test -f "$arg"; then
  124426. - save_arg=$arg
  124427. - moreargs=
  124428. - for fil in `cat $save_arg`
  124429. - do
  124430. -# moreargs="$moreargs $fil"
  124431. - arg=$fil
  124432. - # A libtool-controlled object.
  124433. +This mode accepts the following additional options:
  124434. - # Check to see that this really is a libtool object.
  124435. - if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  124436. - pic_object=
  124437. - non_pic_object=
  124438. + -o OUTPUT-FILE set the output file name to OUTPUT-FILE
  124439. + -no-suppress do not suppress compiler output for multiple passes
  124440. + -prefer-pic try to building PIC objects only
  124441. + -prefer-non-pic try to building non-PIC objects only
  124442. + -shared do not build a \`.o' file suitable for static linking
  124443. + -static only build a \`.o' file suitable for static linking
  124444. - # Read the .lo file
  124445. - # If there is no directory component, then add one.
  124446. - case $arg in
  124447. - */* | *\\*) . $arg ;;
  124448. - *) . ./$arg ;;
  124449. - esac
  124450. +COMPILE-COMMAND is a command to be used in creating a \`standard' object file
  124451. +from the given SOURCEFILE.
  124452. - if test -z "$pic_object" || \
  124453. - test -z "$non_pic_object" ||
  124454. - test "$pic_object" = none && \
  124455. - test "$non_pic_object" = none; then
  124456. - $echo "$modename: cannot find name of object for \`$arg'" 1>&2
  124457. - exit $EXIT_FAILURE
  124458. - fi
  124459. +The output file name is determined by removing the directory component from
  124460. +SOURCEFILE, then substituting the C source code suffix \`.c' with the
  124461. +library object suffix, \`.lo'."
  124462. + ;;
  124463. - # Extract subdirectory from the argument.
  124464. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
  124465. - if test "X$xdir" = "X$arg"; then
  124466. - xdir=
  124467. - else
  124468. - xdir="$xdir/"
  124469. - fi
  124470. + execute)
  124471. + $ECHO \
  124472. +"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]...
  124473. - if test "$pic_object" != none; then
  124474. - # Prepend the subdirectory the object is found in.
  124475. - pic_object="$xdir$pic_object"
  124476. +Automatically set library path, then run a program.
  124477. - if test "$prev" = dlfiles; then
  124478. - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  124479. - dlfiles="$dlfiles $pic_object"
  124480. - prev=
  124481. - continue
  124482. - else
  124483. - # If libtool objects are unsupported, then we need to preload.
  124484. - prev=dlprefiles
  124485. - fi
  124486. - fi
  124487. +This mode accepts the following additional options:
  124488. - # CHECK ME: I think I busted this. -Ossama
  124489. - if test "$prev" = dlprefiles; then
  124490. - # Preload the old-style object.
  124491. - dlprefiles="$dlprefiles $pic_object"
  124492. - prev=
  124493. - fi
  124494. + -dlopen FILE add the directory containing FILE to the library path
  124495. - # A PIC object.
  124496. - libobjs="$libobjs $pic_object"
  124497. - arg="$pic_object"
  124498. - fi
  124499. +This mode sets the library path environment variable according to \`-dlopen'
  124500. +flags.
  124501. - # Non-PIC object.
  124502. - if test "$non_pic_object" != none; then
  124503. - # Prepend the subdirectory the object is found in.
  124504. - non_pic_object="$xdir$non_pic_object"
  124505. +If any of the ARGS are libtool executable wrappers, then they are translated
  124506. +into their corresponding uninstalled binary, and any of their required library
  124507. +directories are added to the library path.
  124508. - # A standard non-PIC object
  124509. - non_pic_objects="$non_pic_objects $non_pic_object"
  124510. - if test -z "$pic_object" || test "$pic_object" = none ; then
  124511. - arg="$non_pic_object"
  124512. - fi
  124513. - else
  124514. - # If the PIC object exists, use it instead.
  124515. - # $xdir was prepended to $pic_object above.
  124516. - non_pic_object="$pic_object"
  124517. - non_pic_objects="$non_pic_objects $non_pic_object"
  124518. - fi
  124519. - else
  124520. - # Only an error if not doing a dry-run.
  124521. - if test -z "$run"; then
  124522. - $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
  124523. - exit $EXIT_FAILURE
  124524. - else
  124525. - # Dry-run case.
  124526. +Then, COMMAND is executed, with ARGS as arguments."
  124527. + ;;
  124528. - # Extract subdirectory from the argument.
  124529. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
  124530. - if test "X$xdir" = "X$arg"; then
  124531. - xdir=
  124532. - else
  124533. - xdir="$xdir/"
  124534. - fi
  124535. + finish)
  124536. + $ECHO \
  124537. +"Usage: $progname [OPTION]... --mode=finish [LIBDIR]...
  124538. - pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
  124539. - non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
  124540. - libobjs="$libobjs $pic_object"
  124541. - non_pic_objects="$non_pic_objects $non_pic_object"
  124542. - fi
  124543. - fi
  124544. - done
  124545. - else
  124546. - $echo "$modename: link input file \`$save_arg' does not exist"
  124547. - exit $EXIT_FAILURE
  124548. - fi
  124549. - arg=$save_arg
  124550. - prev=
  124551. - continue
  124552. - ;;
  124553. - rpath | xrpath)
  124554. - # We need an absolute path.
  124555. - case $arg in
  124556. - [\\/]* | [A-Za-z]:[\\/]*) ;;
  124557. - *)
  124558. - $echo "$modename: only absolute run-paths are allowed" 1>&2
  124559. - exit $EXIT_FAILURE
  124560. - ;;
  124561. - esac
  124562. - if test "$prev" = rpath; then
  124563. - case "$rpath " in
  124564. - *" $arg "*) ;;
  124565. - *) rpath="$rpath $arg" ;;
  124566. - esac
  124567. - else
  124568. - case "$xrpath " in
  124569. - *" $arg "*) ;;
  124570. - *) xrpath="$xrpath $arg" ;;
  124571. - esac
  124572. - fi
  124573. - prev=
  124574. - continue
  124575. - ;;
  124576. - xcompiler)
  124577. - compiler_flags="$compiler_flags $qarg"
  124578. - prev=
  124579. - compile_command="$compile_command $qarg"
  124580. - finalize_command="$finalize_command $qarg"
  124581. - continue
  124582. - ;;
  124583. - xlinker)
  124584. - linker_flags="$linker_flags $qarg"
  124585. - compiler_flags="$compiler_flags $wl$qarg"
  124586. - prev=
  124587. - compile_command="$compile_command $wl$qarg"
  124588. - finalize_command="$finalize_command $wl$qarg"
  124589. - continue
  124590. - ;;
  124591. - xcclinker)
  124592. - linker_flags="$linker_flags $qarg"
  124593. - compiler_flags="$compiler_flags $qarg"
  124594. - prev=
  124595. - compile_command="$compile_command $qarg"
  124596. - finalize_command="$finalize_command $qarg"
  124597. - continue
  124598. - ;;
  124599. - shrext)
  124600. - shrext_cmds="$arg"
  124601. - prev=
  124602. - continue
  124603. - ;;
  124604. - darwin_framework|darwin_framework_skip)
  124605. - test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
  124606. - compile_command="$compile_command $arg"
  124607. - finalize_command="$finalize_command $arg"
  124608. - prev=
  124609. - continue
  124610. - ;;
  124611. - *)
  124612. - eval "$prev=\"\$arg\""
  124613. - prev=
  124614. - continue
  124615. - ;;
  124616. - esac
  124617. - fi # test -n "$prev"
  124618. -
  124619. - prevarg="$arg"
  124620. +Complete the installation of libtool libraries.
  124621. - case $arg in
  124622. - -all-static)
  124623. - if test -n "$link_static_flag"; then
  124624. - compile_command="$compile_command $link_static_flag"
  124625. - finalize_command="$finalize_command $link_static_flag"
  124626. - fi
  124627. - continue
  124628. - ;;
  124629. +Each LIBDIR is a directory that contains libtool libraries.
  124630. - -allow-undefined)
  124631. - # FIXME: remove this flag sometime in the future.
  124632. - $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2
  124633. - continue
  124634. - ;;
  124635. +The commands that this mode executes may require superuser privileges. Use
  124636. +the \`--dry-run' option if you just want to see what would be executed."
  124637. + ;;
  124638. - -avoid-version)
  124639. - avoid_version=yes
  124640. - continue
  124641. - ;;
  124642. + install)
  124643. + $ECHO \
  124644. +"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND...
  124645. - -dlopen)
  124646. - prev=dlfiles
  124647. - continue
  124648. - ;;
  124649. +Install executables or libraries.
  124650. - -dlpreopen)
  124651. - prev=dlprefiles
  124652. - continue
  124653. - ;;
  124654. +INSTALL-COMMAND is the installation command. The first component should be
  124655. +either the \`install' or \`cp' program.
  124656. - -export-dynamic)
  124657. - export_dynamic=yes
  124658. - continue
  124659. - ;;
  124660. +The following components of INSTALL-COMMAND are treated specially:
  124661. - -export-symbols | -export-symbols-regex)
  124662. - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
  124663. - $echo "$modename: more than one -exported-symbols argument is not allowed"
  124664. - exit $EXIT_FAILURE
  124665. - fi
  124666. - if test "X$arg" = "X-export-symbols"; then
  124667. - prev=expsyms
  124668. - else
  124669. - prev=expsyms_regex
  124670. - fi
  124671. - continue
  124672. - ;;
  124673. + -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation
  124674. - -framework|-arch|-isysroot)
  124675. - case " $CC " in
  124676. - *" ${arg} ${1} "* | *" ${arg} ${1} "*)
  124677. - prev=darwin_framework_skip ;;
  124678. - *) compiler_flags="$compiler_flags $arg"
  124679. - prev=darwin_framework ;;
  124680. - esac
  124681. - compile_command="$compile_command $arg"
  124682. - finalize_command="$finalize_command $arg"
  124683. - continue
  124684. - ;;
  124685. +The rest of the components are interpreted as arguments to that command (only
  124686. +BSD-compatible install options are recognized)."
  124687. + ;;
  124688. - -inst-prefix-dir)
  124689. - prev=inst_prefix
  124690. - continue
  124691. - ;;
  124692. + link)
  124693. + $ECHO \
  124694. +"Usage: $progname [OPTION]... --mode=link LINK-COMMAND...
  124695. - # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
  124696. - # so, if we see these flags be careful not to treat them like -L
  124697. - -L[A-Z][A-Z]*:*)
  124698. - case $with_gcc/$host in
  124699. - no/*-*-irix* | /*-*-irix*)
  124700. - compile_command="$compile_command $arg"
  124701. - finalize_command="$finalize_command $arg"
  124702. - ;;
  124703. - esac
  124704. - continue
  124705. - ;;
  124706. +Link object files or libraries together to form another library, or to
  124707. +create an executable program.
  124708. - -L*)
  124709. - dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
  124710. - # We need an absolute path.
  124711. - case $dir in
  124712. - [\\/]* | [A-Za-z]:[\\/]*) ;;
  124713. - *)
  124714. - absdir=`cd "$dir" && pwd`
  124715. - if test -z "$absdir"; then
  124716. - $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
  124717. - absdir="$dir"
  124718. - notinst_path="$notinst_path $dir"
  124719. - fi
  124720. - dir="$absdir"
  124721. - ;;
  124722. - esac
  124723. - case "$deplibs " in
  124724. - *" -L$dir "*) ;;
  124725. - *)
  124726. - deplibs="$deplibs -L$dir"
  124727. - lib_search_path="$lib_search_path $dir"
  124728. - ;;
  124729. - esac
  124730. - case $host in
  124731. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  124732. - testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
  124733. - case :$dllsearchpath: in
  124734. - *":$dir:"*) ;;
  124735. - *) dllsearchpath="$dllsearchpath:$dir";;
  124736. - esac
  124737. - case :$dllsearchpath: in
  124738. - *":$testbindir:"*) ;;
  124739. - *) dllsearchpath="$dllsearchpath:$testbindir";;
  124740. - esac
  124741. - ;;
  124742. - esac
  124743. - continue
  124744. - ;;
  124745. +LINK-COMMAND is a command using the C compiler that you would use to create
  124746. +a program from several object files.
  124747. - -l*)
  124748. - if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
  124749. - case $host in
  124750. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
  124751. - # These systems don't actually have a C or math library (as such)
  124752. - continue
  124753. - ;;
  124754. - *-*-os2*)
  124755. - # These systems don't actually have a C library (as such)
  124756. - test "X$arg" = "X-lc" && continue
  124757. - ;;
  124758. - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  124759. - # Do not include libc due to us having libc/libc_r.
  124760. - test "X$arg" = "X-lc" && continue
  124761. - ;;
  124762. - *-*-rhapsody* | *-*-darwin1.[012])
  124763. - # Rhapsody C and math libraries are in the System framework
  124764. - deplibs="$deplibs -framework System"
  124765. - continue
  124766. - ;;
  124767. - *-*-sco3.2v5* | *-*-sco5v6*)
  124768. - # Causes problems with __ctype
  124769. - test "X$arg" = "X-lc" && continue
  124770. - ;;
  124771. - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  124772. - # Compiler inserts libc in the correct place for threads to work
  124773. - test "X$arg" = "X-lc" && continue
  124774. - ;;
  124775. - esac
  124776. - elif test "X$arg" = "X-lc_r"; then
  124777. - case $host in
  124778. - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  124779. - # Do not include libc_r directly, use -pthread flag.
  124780. - continue
  124781. - ;;
  124782. - esac
  124783. - fi
  124784. - deplibs="$deplibs $arg"
  124785. - continue
  124786. - ;;
  124787. +The following components of LINK-COMMAND are treated specially:
  124788. - # Tru64 UNIX uses -model [arg] to determine the layout of C++
  124789. - # classes, name mangling, and exception handling.
  124790. - -model)
  124791. - compile_command="$compile_command $arg"
  124792. - compiler_flags="$compiler_flags $arg"
  124793. - finalize_command="$finalize_command $arg"
  124794. - prev=xcompiler
  124795. - continue
  124796. - ;;
  124797. + -all-static do not do any dynamic linking at all
  124798. + -avoid-version do not add a version suffix if possible
  124799. + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
  124800. + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
  124801. + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
  124802. + -export-symbols SYMFILE
  124803. + try to export only the symbols listed in SYMFILE
  124804. + -export-symbols-regex REGEX
  124805. + try to export only the symbols matching REGEX
  124806. + -LLIBDIR search LIBDIR for required installed libraries
  124807. + -lNAME OUTPUT-FILE requires the installed library libNAME
  124808. + -module build a library that can dlopened
  124809. + -no-fast-install disable the fast-install mode
  124810. + -no-install link a not-installable executable
  124811. + -no-undefined declare that a library does not refer to external symbols
  124812. + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
  124813. + -objectlist FILE Use a list of object files found in FILE to specify objects
  124814. + -precious-files-regex REGEX
  124815. + don't remove output files matching REGEX
  124816. + -release RELEASE specify package release information
  124817. + -rpath LIBDIR the created library will eventually be installed in LIBDIR
  124818. + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
  124819. + -shared only do dynamic linking of libtool libraries
  124820. + -shrext SUFFIX override the standard shared library file extension
  124821. + -static do not do any dynamic linking of uninstalled libtool libraries
  124822. + -static-libtool-libs
  124823. + do not do any dynamic linking of libtool libraries
  124824. + -version-info CURRENT[:REVISION[:AGE]]
  124825. + specify library version info [each variable defaults to 0]
  124826. + -weak LIBNAME declare that the target provides the LIBNAME interface
  124827. - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  124828. - compiler_flags="$compiler_flags $arg"
  124829. - compile_command="$compile_command $arg"
  124830. - finalize_command="$finalize_command $arg"
  124831. - deplibs="$deplibs $arg"
  124832. - continue
  124833. - ;;
  124834. +All other options (arguments beginning with \`-') are ignored.
  124835. - -multi_module)
  124836. - single_module="${wl}-multi_module"
  124837. - continue
  124838. - ;;
  124839. +Every other argument is treated as a filename. Files ending in \`.la' are
  124840. +treated as uninstalled libtool libraries, other files are standard or library
  124841. +object files.
  124842. - -module)
  124843. - module=yes
  124844. - continue
  124845. - ;;
  124846. +If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
  124847. +only library objects (\`.lo' files) may be specified, and \`-rpath' is
  124848. +required, except when creating a convenience library.
  124849. - # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
  124850. - # -r[0-9][0-9]* specifies the processor on the SGI compiler
  124851. - # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
  124852. - # +DA*, +DD* enable 64-bit mode on the HP compiler
  124853. - # -q* pass through compiler args for the IBM compiler
  124854. - # -m* pass through architecture-specific compiler args for GCC
  124855. - # -m*, -t[45]*, -txscale* pass through architecture-specific
  124856. - # compiler args for GCC
  124857. - # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
  124858. - # -F/path gives path to uninstalled frameworks, gcc on darwin
  124859. - # @file GCC response files
  124860. - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
  124861. - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
  124862. +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
  124863. +using \`ar' and \`ranlib', or on Windows using \`lib'.
  124864. - # Unknown arguments in both finalize_command and compile_command need
  124865. - # to be aesthetically quoted because they are evaled later.
  124866. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  124867. - case $arg in
  124868. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  124869. - arg="\"$arg\""
  124870. - ;;
  124871. - esac
  124872. - compile_command="$compile_command $arg"
  124873. - finalize_command="$finalize_command $arg"
  124874. - compiler_flags="$compiler_flags $arg"
  124875. - continue
  124876. +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
  124877. +is created, otherwise an executable program is created."
  124878. ;;
  124879. - -shrext)
  124880. - prev=shrext
  124881. - continue
  124882. - ;;
  124883. + uninstall)
  124884. + $ECHO \
  124885. +"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
  124886. - -no-fast-install)
  124887. - fast_install=no
  124888. - continue
  124889. - ;;
  124890. +Remove libraries from an installation directory.
  124891. - -no-install)
  124892. - case $host in
  124893. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*)
  124894. - # The PATH hackery in wrapper scripts is required on Windows
  124895. - # and Darwin in order for the loader to find any dlls it needs.
  124896. - $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
  124897. - $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
  124898. - fast_install=no
  124899. - ;;
  124900. - *) no_install=yes ;;
  124901. - esac
  124902. - continue
  124903. - ;;
  124904. +RM is the name of the program to use to delete files associated with each FILE
  124905. +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  124906. +to RM.
  124907. - -no-undefined)
  124908. - allow_undefined=no
  124909. - continue
  124910. - ;;
  124911. +If FILE is a libtool library, all the files associated with it are deleted.
  124912. +Otherwise, only FILE itself is deleted using RM."
  124913. + ;;
  124914. - -objectlist)
  124915. - prev=objectlist
  124916. - continue
  124917. - ;;
  124918. + *)
  124919. + func_fatal_help "invalid operation mode \`$mode'"
  124920. + ;;
  124921. + esac
  124922. - -o) prev=output ;;
  124923. + $ECHO
  124924. + $ECHO "Try \`$progname --help' for more information about other modes."
  124925. - -precious-files-regex)
  124926. - prev=precious_regex
  124927. - continue
  124928. - ;;
  124929. -
  124930. - -release)
  124931. - prev=release
  124932. - continue
  124933. - ;;
  124934. + exit $?
  124935. +}
  124936. - -rpath)
  124937. - prev=rpath
  124938. - continue
  124939. - ;;
  124940. + # Now that we've collected a possible --mode arg, show help if necessary
  124941. + $opt_help && func_mode_help
  124942. - -R)
  124943. - prev=xrpath
  124944. - continue
  124945. - ;;
  124946. - -R*)
  124947. - dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
  124948. - # We need an absolute path.
  124949. - case $dir in
  124950. - [\\/]* | [A-Za-z]:[\\/]*) ;;
  124951. - *)
  124952. - $echo "$modename: only absolute run-paths are allowed" 1>&2
  124953. - exit $EXIT_FAILURE
  124954. - ;;
  124955. - esac
  124956. - case "$xrpath " in
  124957. - *" $dir "*) ;;
  124958. - *) xrpath="$xrpath $dir" ;;
  124959. - esac
  124960. - continue
  124961. - ;;
  124962. +# func_mode_execute arg...
  124963. +func_mode_execute ()
  124964. +{
  124965. + $opt_debug
  124966. + # The first argument is the command name.
  124967. + cmd="$nonopt"
  124968. + test -z "$cmd" && \
  124969. + func_fatal_help "you must specify a COMMAND"
  124970. - -static | -static-libtool-libs)
  124971. - # The effects of -static are defined in a previous loop.
  124972. - # We used to do the same as -all-static on platforms that
  124973. - # didn't have a PIC flag, but the assumption that the effects
  124974. - # would be equivalent was wrong. It would break on at least
  124975. - # Digital Unix and AIX.
  124976. - continue
  124977. - ;;
  124978. + # Handle -dlopen flags immediately.
  124979. + for file in $execute_dlfiles; do
  124980. + test -f "$file" \
  124981. + || func_fatal_help "\`$file' is not a file"
  124982. - -thread-safe)
  124983. - thread_safe=yes
  124984. - continue
  124985. - ;;
  124986. + dir=
  124987. + case $file in
  124988. + *.la)
  124989. + # Check to see that this really is a libtool archive.
  124990. + func_lalib_unsafe_p "$file" \
  124991. + || func_fatal_help "\`$lib' is not a valid libtool archive"
  124992. - -version-info)
  124993. - prev=vinfo
  124994. - continue
  124995. - ;;
  124996. - -version-number)
  124997. - prev=vinfo
  124998. - vinfo_number=yes
  124999. - continue
  125000. - ;;
  125001. + # Read the libtool library.
  125002. + dlname=
  125003. + library_names=
  125004. + func_source "$file"
  125005. - -Wc,*)
  125006. - args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
  125007. - arg=
  125008. - save_ifs="$IFS"; IFS=','
  125009. - for flag in $args; do
  125010. - IFS="$save_ifs"
  125011. - case $flag in
  125012. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  125013. - flag="\"$flag\""
  125014. - ;;
  125015. - esac
  125016. - arg="$arg $wl$flag"
  125017. - compiler_flags="$compiler_flags $flag"
  125018. - done
  125019. - IFS="$save_ifs"
  125020. - arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
  125021. - ;;
  125022. + # Skip this library if it cannot be dlopened.
  125023. + if test -z "$dlname"; then
  125024. + # Warn if it was a shared library.
  125025. + test -n "$library_names" && \
  125026. + func_warning "\`$file' was not linked with \`-export-dynamic'"
  125027. + continue
  125028. + fi
  125029. - -Wl,*)
  125030. - args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
  125031. - arg=
  125032. - save_ifs="$IFS"; IFS=','
  125033. - for flag in $args; do
  125034. - IFS="$save_ifs"
  125035. - case $flag in
  125036. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  125037. - flag="\"$flag\""
  125038. - ;;
  125039. - esac
  125040. - arg="$arg $wl$flag"
  125041. - compiler_flags="$compiler_flags $wl$flag"
  125042. - linker_flags="$linker_flags $flag"
  125043. - done
  125044. - IFS="$save_ifs"
  125045. - arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
  125046. - ;;
  125047. + func_dirname "$file" "" "."
  125048. + dir="$func_dirname_result"
  125049. - -Xcompiler)
  125050. - prev=xcompiler
  125051. - continue
  125052. + if test -f "$dir/$objdir/$dlname"; then
  125053. + dir="$dir/$objdir"
  125054. + else
  125055. + if test ! -f "$dir/$dlname"; then
  125056. + func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
  125057. + fi
  125058. + fi
  125059. ;;
  125060. - -Xlinker)
  125061. - prev=xlinker
  125062. - continue
  125063. + *.lo)
  125064. + # Just add the directory containing the .lo file.
  125065. + func_dirname "$file" "" "."
  125066. + dir="$func_dirname_result"
  125067. ;;
  125068. - -XCClinker)
  125069. - prev=xcclinker
  125070. + *)
  125071. + func_warning "\`-dlopen' is ignored for non-libtool libraries and objects"
  125072. continue
  125073. ;;
  125074. + esac
  125075. - # Some other compiler flag.
  125076. - -* | +*)
  125077. - # Unknown arguments in both finalize_command and compile_command need
  125078. - # to be aesthetically quoted because they are evaled later.
  125079. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  125080. - case $arg in
  125081. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  125082. - arg="\"$arg\""
  125083. - ;;
  125084. - esac
  125085. - ;;
  125086. -
  125087. - *.$objext)
  125088. - # A standard object.
  125089. - objs="$objs $arg"
  125090. - ;;
  125091. -
  125092. - *.lo)
  125093. - # A libtool-controlled object.
  125094. -
  125095. - # Check to see that this really is a libtool object.
  125096. - if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  125097. - pic_object=
  125098. - non_pic_object=
  125099. + # Get the absolute pathname.
  125100. + absdir=`cd "$dir" && pwd`
  125101. + test -n "$absdir" && dir="$absdir"
  125102. - # Read the .lo file
  125103. - # If there is no directory component, then add one.
  125104. - case $arg in
  125105. - */* | *\\*) . $arg ;;
  125106. - *) . ./$arg ;;
  125107. - esac
  125108. + # Now add the directory to shlibpath_var.
  125109. + if eval "test -z \"\$$shlibpath_var\""; then
  125110. + eval "$shlibpath_var=\"\$dir\""
  125111. + else
  125112. + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
  125113. + fi
  125114. + done
  125115. - if test -z "$pic_object" || \
  125116. - test -z "$non_pic_object" ||
  125117. - test "$pic_object" = none && \
  125118. - test "$non_pic_object" = none; then
  125119. - $echo "$modename: cannot find name of object for \`$arg'" 1>&2
  125120. - exit $EXIT_FAILURE
  125121. - fi
  125122. + # This variable tells wrapper scripts just to set shlibpath_var
  125123. + # rather than running their programs.
  125124. + libtool_execute_magic="$magic"
  125125. - # Extract subdirectory from the argument.
  125126. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
  125127. - if test "X$xdir" = "X$arg"; then
  125128. - xdir=
  125129. - else
  125130. - xdir="$xdir/"
  125131. - fi
  125132. + # Check if any of the arguments is a wrapper script.
  125133. + args=
  125134. + for file
  125135. + do
  125136. + case $file in
  125137. + -*) ;;
  125138. + *)
  125139. + # Do a test to see if this is really a libtool program.
  125140. + if func_ltwrapper_script_p "$file"; then
  125141. + func_source "$file"
  125142. + # Transform arg to wrapped name.
  125143. + file="$progdir/$program"
  125144. + elif func_ltwrapper_executable_p "$file"; then
  125145. + func_ltwrapper_scriptname "$file"
  125146. + func_source "$func_ltwrapper_scriptname_result"
  125147. + # Transform arg to wrapped name.
  125148. + file="$progdir/$program"
  125149. + fi
  125150. + ;;
  125151. + esac
  125152. + # Quote arguments (to preserve shell metacharacters).
  125153. + func_quote_for_eval "$file"
  125154. + args="$args $func_quote_for_eval_result"
  125155. + done
  125156. - if test "$pic_object" != none; then
  125157. - # Prepend the subdirectory the object is found in.
  125158. - pic_object="$xdir$pic_object"
  125159. + if test "X$opt_dry_run" = Xfalse; then
  125160. + if test -n "$shlibpath_var"; then
  125161. + # Export the shlibpath_var.
  125162. + eval "export $shlibpath_var"
  125163. + fi
  125164. - if test "$prev" = dlfiles; then
  125165. - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  125166. - dlfiles="$dlfiles $pic_object"
  125167. - prev=
  125168. - continue
  125169. + # Restore saved environment variables
  125170. + for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  125171. + do
  125172. + eval "if test \"\${save_$lt_var+set}\" = set; then
  125173. + $lt_var=\$save_$lt_var; export $lt_var
  125174. else
  125175. - # If libtool objects are unsupported, then we need to preload.
  125176. - prev=dlprefiles
  125177. - fi
  125178. - fi
  125179. + $lt_unset $lt_var
  125180. + fi"
  125181. + done
  125182. - # CHECK ME: I think I busted this. -Ossama
  125183. - if test "$prev" = dlprefiles; then
  125184. - # Preload the old-style object.
  125185. - dlprefiles="$dlprefiles $pic_object"
  125186. - prev=
  125187. - fi
  125188. + # Now prepare to actually exec the command.
  125189. + exec_cmd="\$cmd$args"
  125190. + else
  125191. + # Display what would be done.
  125192. + if test -n "$shlibpath_var"; then
  125193. + eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
  125194. + $ECHO "export $shlibpath_var"
  125195. + fi
  125196. + $ECHO "$cmd$args"
  125197. + exit $EXIT_SUCCESS
  125198. + fi
  125199. +}
  125200. - # A PIC object.
  125201. - libobjs="$libobjs $pic_object"
  125202. - arg="$pic_object"
  125203. - fi
  125204. +test "$mode" = execute && func_mode_execute ${1+"$@"}
  125205. - # Non-PIC object.
  125206. - if test "$non_pic_object" != none; then
  125207. - # Prepend the subdirectory the object is found in.
  125208. - non_pic_object="$xdir$non_pic_object"
  125209. - # A standard non-PIC object
  125210. - non_pic_objects="$non_pic_objects $non_pic_object"
  125211. - if test -z "$pic_object" || test "$pic_object" = none ; then
  125212. - arg="$non_pic_object"
  125213. - fi
  125214. - else
  125215. - # If the PIC object exists, use it instead.
  125216. - # $xdir was prepended to $pic_object above.
  125217. - non_pic_object="$pic_object"
  125218. - non_pic_objects="$non_pic_objects $non_pic_object"
  125219. - fi
  125220. - else
  125221. - # Only an error if not doing a dry-run.
  125222. - if test -z "$run"; then
  125223. - $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
  125224. - exit $EXIT_FAILURE
  125225. - else
  125226. - # Dry-run case.
  125227. +# func_mode_finish arg...
  125228. +func_mode_finish ()
  125229. +{
  125230. + $opt_debug
  125231. + libdirs="$nonopt"
  125232. + admincmds=
  125233. - # Extract subdirectory from the argument.
  125234. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
  125235. - if test "X$xdir" = "X$arg"; then
  125236. - xdir=
  125237. - else
  125238. - xdir="$xdir/"
  125239. - fi
  125240. + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
  125241. + for dir
  125242. + do
  125243. + libdirs="$libdirs $dir"
  125244. + done
  125245. - pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
  125246. - non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
  125247. - libobjs="$libobjs $pic_object"
  125248. - non_pic_objects="$non_pic_objects $non_pic_object"
  125249. - fi
  125250. + for libdir in $libdirs; do
  125251. + if test -n "$finish_cmds"; then
  125252. + # Do each command in the finish commands.
  125253. + func_execute_cmds "$finish_cmds" 'admincmds="$admincmds
  125254. +'"$cmd"'"'
  125255. fi
  125256. - ;;
  125257. -
  125258. - *.$libext)
  125259. - # An archive.
  125260. - deplibs="$deplibs $arg"
  125261. - old_deplibs="$old_deplibs $arg"
  125262. - continue
  125263. - ;;
  125264. + if test -n "$finish_eval"; then
  125265. + # Do the single finish_eval.
  125266. + eval cmds=\"$finish_eval\"
  125267. + $opt_dry_run || eval "$cmds" || admincmds="$admincmds
  125268. + $cmds"
  125269. + fi
  125270. + done
  125271. + fi
  125272. - *.la)
  125273. - # A libtool-controlled library.
  125274. + # Exit here if they wanted silent mode.
  125275. + $opt_silent && exit $EXIT_SUCCESS
  125276. - if test "$prev" = dlfiles; then
  125277. - # This library was specified with -dlopen.
  125278. - dlfiles="$dlfiles $arg"
  125279. - prev=
  125280. - elif test "$prev" = dlprefiles; then
  125281. - # The library was specified with -dlpreopen.
  125282. - dlprefiles="$dlprefiles $arg"
  125283. + $ECHO "X----------------------------------------------------------------------" | $Xsed
  125284. + $ECHO "Libraries have been installed in:"
  125285. + for libdir in $libdirs; do
  125286. + $ECHO " $libdir"
  125287. + done
  125288. + $ECHO
  125289. + $ECHO "If you ever happen to want to link against installed libraries"
  125290. + $ECHO "in a given directory, LIBDIR, you must either use libtool, and"
  125291. + $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'"
  125292. + $ECHO "flag during linking and do at least one of the following:"
  125293. + if test -n "$shlibpath_var"; then
  125294. + $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable"
  125295. + $ECHO " during execution"
  125296. + fi
  125297. + if test -n "$runpath_var"; then
  125298. + $ECHO " - add LIBDIR to the \`$runpath_var' environment variable"
  125299. + $ECHO " during linking"
  125300. + fi
  125301. + if test -n "$hardcode_libdir_flag_spec"; then
  125302. + libdir=LIBDIR
  125303. + eval flag=\"$hardcode_libdir_flag_spec\"
  125304. +
  125305. + $ECHO " - use the \`$flag' linker flag"
  125306. + fi
  125307. + if test -n "$admincmds"; then
  125308. + $ECHO " - have your system administrator run these commands:$admincmds"
  125309. + fi
  125310. + if test -f /etc/ld.so.conf; then
  125311. + $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
  125312. + fi
  125313. + $ECHO
  125314. +
  125315. + $ECHO "See any operating system documentation about shared libraries for"
  125316. + case $host in
  125317. + solaris2.[6789]|solaris2.1[0-9])
  125318. + $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual"
  125319. + $ECHO "pages."
  125320. + ;;
  125321. + *)
  125322. + $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
  125323. + ;;
  125324. + esac
  125325. + $ECHO "X----------------------------------------------------------------------" | $Xsed
  125326. + exit $EXIT_SUCCESS
  125327. +}
  125328. +
  125329. +test "$mode" = finish && func_mode_finish ${1+"$@"}
  125330. +
  125331. +
  125332. +# func_mode_install arg...
  125333. +func_mode_install ()
  125334. +{
  125335. + $opt_debug
  125336. + # There may be an optional sh(1) argument at the beginning of
  125337. + # install_prog (especially on Windows NT).
  125338. + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
  125339. + # Allow the use of GNU shtool's install command.
  125340. + $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
  125341. + # Aesthetically quote it.
  125342. + func_quote_for_eval "$nonopt"
  125343. + install_prog="$func_quote_for_eval_result "
  125344. + arg=$1
  125345. + shift
  125346. + else
  125347. + install_prog=
  125348. + arg=$nonopt
  125349. + fi
  125350. +
  125351. + # The real first argument should be the name of the installation program.
  125352. + # Aesthetically quote it.
  125353. + func_quote_for_eval "$arg"
  125354. + install_prog="$install_prog$func_quote_for_eval_result"
  125355. +
  125356. + # We need to accept at least all the BSD install flags.
  125357. + dest=
  125358. + files=
  125359. + opts=
  125360. + prev=
  125361. + install_type=
  125362. + isdir=no
  125363. + stripme=
  125364. + for arg
  125365. + do
  125366. + if test -n "$dest"; then
  125367. + files="$files $dest"
  125368. + dest=$arg
  125369. + continue
  125370. + fi
  125371. +
  125372. + case $arg in
  125373. + -d) isdir=yes ;;
  125374. + -f)
  125375. + case " $install_prog " in
  125376. + *[\\\ /]cp\ *) ;;
  125377. + *) prev=$arg ;;
  125378. + esac
  125379. + ;;
  125380. + -g | -m | -o)
  125381. + prev=$arg
  125382. + ;;
  125383. + -s)
  125384. + stripme=" -s"
  125385. + continue
  125386. + ;;
  125387. + -*)
  125388. + ;;
  125389. + *)
  125390. + # If the previous option needed an argument, then skip it.
  125391. + if test -n "$prev"; then
  125392. prev=
  125393. else
  125394. - deplibs="$deplibs $arg"
  125395. + dest=$arg
  125396. + continue
  125397. fi
  125398. - continue
  125399. ;;
  125400. + esac
  125401. - # Some other compiler argument.
  125402. - *)
  125403. - # Unknown arguments in both finalize_command and compile_command need
  125404. - # to be aesthetically quoted because they are evaled later.
  125405. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  125406. - case $arg in
  125407. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  125408. - arg="\"$arg\""
  125409. - ;;
  125410. - esac
  125411. - ;;
  125412. - esac # arg
  125413. + # Aesthetically quote the argument.
  125414. + func_quote_for_eval "$arg"
  125415. + install_prog="$install_prog $func_quote_for_eval_result"
  125416. + done
  125417. - # Now actually substitute the argument into the commands.
  125418. - if test -n "$arg"; then
  125419. - compile_command="$compile_command $arg"
  125420. - finalize_command="$finalize_command $arg"
  125421. - fi
  125422. - done # argument parsing loop
  125423. + test -z "$install_prog" && \
  125424. + func_fatal_help "you must specify an install program"
  125425. - if test -n "$prev"; then
  125426. - $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
  125427. - $echo "$help" 1>&2
  125428. - exit $EXIT_FAILURE
  125429. - fi
  125430. + test -n "$prev" && \
  125431. + func_fatal_help "the \`$prev' option requires an argument"
  125432. - if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
  125433. - eval arg=\"$export_dynamic_flag_spec\"
  125434. - compile_command="$compile_command $arg"
  125435. - finalize_command="$finalize_command $arg"
  125436. + if test -z "$files"; then
  125437. + if test -z "$dest"; then
  125438. + func_fatal_help "no file or destination specified"
  125439. + else
  125440. + func_fatal_help "you must specify a destination"
  125441. + fi
  125442. fi
  125443. - oldlibs=
  125444. - # calculate the name of the file, without its directory
  125445. - outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
  125446. - libobjs_save="$libobjs"
  125447. + # Strip any trailing slash from the destination.
  125448. + func_stripname '' '/' "$dest"
  125449. + dest=$func_stripname_result
  125450. - if test -n "$shlibpath_var"; then
  125451. - # get the directories listed in $shlibpath_var
  125452. - eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
  125453. + # Check to see that the destination is a directory.
  125454. + test -d "$dest" && isdir=yes
  125455. + if test "$isdir" = yes; then
  125456. + destdir="$dest"
  125457. + destname=
  125458. else
  125459. - shlib_search_path=
  125460. - fi
  125461. - eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
  125462. - eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
  125463. + func_dirname_and_basename "$dest" "" "."
  125464. + destdir="$func_dirname_result"
  125465. + destname="$func_basename_result"
  125466. - output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
  125467. - if test "X$output_objdir" = "X$output"; then
  125468. - output_objdir="$objdir"
  125469. - else
  125470. - output_objdir="$output_objdir/$objdir"
  125471. - fi
  125472. - # Create the object directory.
  125473. - if test ! -d "$output_objdir"; then
  125474. - $show "$mkdir $output_objdir"
  125475. - $run $mkdir $output_objdir
  125476. - exit_status=$?
  125477. - if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
  125478. - exit $exit_status
  125479. - fi
  125480. + # Not a directory, so check to see that there is only one file specified.
  125481. + set dummy $files; shift
  125482. + test "$#" -gt 1 && \
  125483. + func_fatal_help "\`$dest' is not a directory"
  125484. fi
  125485. -
  125486. - # Determine the type of output
  125487. - case $output in
  125488. - "")
  125489. - $echo "$modename: you must specify an output file" 1>&2
  125490. - $echo "$help" 1>&2
  125491. - exit $EXIT_FAILURE
  125492. - ;;
  125493. - *.$libext) linkmode=oldlib ;;
  125494. - *.lo | *.$objext) linkmode=obj ;;
  125495. - *.la) linkmode=lib ;;
  125496. - *) linkmode=prog ;; # Anything else should be a program.
  125497. - esac
  125498. -
  125499. - case $host in
  125500. - *cygwin* | *mingw* | *pw32*)
  125501. - # don't eliminate duplications in $postdeps and $predeps
  125502. - duplicate_compiler_generated_deps=yes
  125503. - ;;
  125504. + case $destdir in
  125505. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  125506. *)
  125507. - duplicate_compiler_generated_deps=$duplicate_deps
  125508. + for file in $files; do
  125509. + case $file in
  125510. + *.lo) ;;
  125511. + *)
  125512. + func_fatal_help "\`$destdir' must be an absolute directory name"
  125513. + ;;
  125514. + esac
  125515. + done
  125516. ;;
  125517. esac
  125518. - specialdeplibs=
  125519. - libs=
  125520. - # Find all interdependent deplibs by searching for libraries
  125521. - # that are linked more than once (e.g. -la -lb -la)
  125522. - for deplib in $deplibs; do
  125523. - if test "X$duplicate_deps" = "Xyes" ; then
  125524. - case "$libs " in
  125525. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  125526. - esac
  125527. - fi
  125528. - libs="$libs $deplib"
  125529. - done
  125530. + # This variable tells wrapper scripts just to set variables rather
  125531. + # than running their programs.
  125532. + libtool_install_magic="$magic"
  125533. - if test "$linkmode" = lib; then
  125534. - libs="$predeps $libs $compiler_lib_search_path $postdeps"
  125535. + staticlibs=
  125536. + future_libdirs=
  125537. + current_libdirs=
  125538. + for file in $files; do
  125539. - # Compute libraries that are listed more than once in $predeps
  125540. - # $postdeps and mark them as special (i.e., whose duplicates are
  125541. - # not to be eliminated).
  125542. - pre_post_deps=
  125543. - if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then
  125544. - for pre_post_dep in $predeps $postdeps; do
  125545. - case "$pre_post_deps " in
  125546. - *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
  125547. + # Do each installation.
  125548. + case $file in
  125549. + *.$libext)
  125550. + # Do the static libraries later.
  125551. + staticlibs="$staticlibs $file"
  125552. + ;;
  125553. +
  125554. + *.la)
  125555. + # Check to see that this really is a libtool archive.
  125556. + func_lalib_unsafe_p "$file" \
  125557. + || func_fatal_help "\`$file' is not a valid libtool archive"
  125558. +
  125559. + library_names=
  125560. + old_library=
  125561. + relink_command=
  125562. + func_source "$file"
  125563. +
  125564. + # Add the libdir to current_libdirs if it is the destination.
  125565. + if test "X$destdir" = "X$libdir"; then
  125566. + case "$current_libdirs " in
  125567. + *" $libdir "*) ;;
  125568. + *) current_libdirs="$current_libdirs $libdir" ;;
  125569. esac
  125570. - pre_post_deps="$pre_post_deps $pre_post_dep"
  125571. - done
  125572. - fi
  125573. - pre_post_deps=
  125574. - fi
  125575. + else
  125576. + # Note the libdir as a future libdir.
  125577. + case "$future_libdirs " in
  125578. + *" $libdir "*) ;;
  125579. + *) future_libdirs="$future_libdirs $libdir" ;;
  125580. + esac
  125581. + fi
  125582. - deplibs=
  125583. - newdependency_libs=
  125584. - newlib_search_path=
  125585. - need_relink=no # whether we're linking any uninstalled libtool libraries
  125586. - notinst_deplibs= # not-installed libtool libraries
  125587. - case $linkmode in
  125588. - lib)
  125589. - passes="conv link"
  125590. - for file in $dlfiles $dlprefiles; do
  125591. - case $file in
  125592. - *.la) ;;
  125593. - *)
  125594. - $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
  125595. - exit $EXIT_FAILURE
  125596. + func_dirname "$file" "/" ""
  125597. + dir="$func_dirname_result"
  125598. + dir="$dir$objdir"
  125599. +
  125600. + if test -n "$relink_command"; then
  125601. + # Determine the prefix the user has applied to our future dir.
  125602. + inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
  125603. +
  125604. + # Don't allow the user to place us outside of our expected
  125605. + # location b/c this prevents finding dependent libraries that
  125606. + # are installed to the same prefix.
  125607. + # At present, this check doesn't affect windows .dll's that
  125608. + # are installed into $libdir/../bin (currently, that works fine)
  125609. + # but it's something to keep an eye on.
  125610. + test "$inst_prefix_dir" = "$destdir" && \
  125611. + func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
  125612. +
  125613. + if test -n "$inst_prefix_dir"; then
  125614. + # Stick the inst_prefix_dir data into the link command.
  125615. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
  125616. + else
  125617. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
  125618. + fi
  125619. +
  125620. + func_warning "relinking \`$file'"
  125621. + func_show_eval "$relink_command" \
  125622. + 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
  125623. + fi
  125624. +
  125625. + # See the names of the shared library.
  125626. + set dummy $library_names; shift
  125627. + if test -n "$1"; then
  125628. + realname="$1"
  125629. + shift
  125630. +
  125631. + srcname="$realname"
  125632. + test -n "$relink_command" && srcname="$realname"T
  125633. +
  125634. + # Install the shared library and build the symlinks.
  125635. + func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
  125636. + 'exit $?'
  125637. + tstripme="$stripme"
  125638. + case $host_os in
  125639. + cygwin* | mingw* | pw32* | cegcc*)
  125640. + case $realname in
  125641. + *.dll.a)
  125642. + tstripme=""
  125643. + ;;
  125644. + esac
  125645. ;;
  125646. esac
  125647. - done
  125648. - ;;
  125649. - prog)
  125650. - compile_deplibs=
  125651. - finalize_deplibs=
  125652. - alldeplibs=no
  125653. - newdlfiles=
  125654. - newdlprefiles=
  125655. - passes="conv scan dlopen dlpreopen link"
  125656. - ;;
  125657. - *) passes="conv"
  125658. + if test -n "$tstripme" && test -n "$striplib"; then
  125659. + func_show_eval "$striplib $destdir/$realname" 'exit $?'
  125660. + fi
  125661. +
  125662. + if test "$#" -gt 0; then
  125663. + # Delete the old symlinks, and create new ones.
  125664. + # Try `ln -sf' first, because the `ln' binary might depend on
  125665. + # the symlink we replace! Solaris /bin/ln does not understand -f,
  125666. + # so we also need to try rm && ln -s.
  125667. + for linkname
  125668. + do
  125669. + test "$linkname" != "$realname" \
  125670. + && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })"
  125671. + done
  125672. + fi
  125673. +
  125674. + # Do each command in the postinstall commands.
  125675. + lib="$destdir/$realname"
  125676. + func_execute_cmds "$postinstall_cmds" 'exit $?'
  125677. + fi
  125678. +
  125679. + # Install the pseudo-library for information purposes.
  125680. + func_basename "$file"
  125681. + name="$func_basename_result"
  125682. + instname="$dir/$name"i
  125683. + func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
  125684. +
  125685. + # Maybe install the static library, too.
  125686. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
  125687. ;;
  125688. - esac
  125689. - for pass in $passes; do
  125690. - if test "$linkmode,$pass" = "lib,link" ||
  125691. - test "$linkmode,$pass" = "prog,scan"; then
  125692. - libs="$deplibs"
  125693. - deplibs=
  125694. - fi
  125695. - if test "$linkmode" = prog; then
  125696. - case $pass in
  125697. - dlopen) libs="$dlfiles" ;;
  125698. - dlpreopen) libs="$dlprefiles" ;;
  125699. - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
  125700. +
  125701. + *.lo)
  125702. + # Install (i.e. copy) a libtool object.
  125703. +
  125704. + # Figure out destination file name, if it wasn't already specified.
  125705. + if test -n "$destname"; then
  125706. + destfile="$destdir/$destname"
  125707. + else
  125708. + func_basename "$file"
  125709. + destfile="$func_basename_result"
  125710. + destfile="$destdir/$destfile"
  125711. + fi
  125712. +
  125713. + # Deduce the name of the destination old-style object file.
  125714. + case $destfile in
  125715. + *.lo)
  125716. + func_lo2o "$destfile"
  125717. + staticdest=$func_lo2o_result
  125718. + ;;
  125719. + *.$objext)
  125720. + staticdest="$destfile"
  125721. + destfile=
  125722. + ;;
  125723. + *)
  125724. + func_fatal_help "cannot copy a libtool object to \`$destfile'"
  125725. + ;;
  125726. esac
  125727. - fi
  125728. - if test "$pass" = dlopen; then
  125729. - # Collect dlpreopened libraries
  125730. - save_deplibs="$deplibs"
  125731. - deplibs=
  125732. - fi
  125733. - for deplib in $libs; do
  125734. - lib=
  125735. - found=no
  125736. - case $deplib in
  125737. - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  125738. - if test "$linkmode,$pass" = "prog,link"; then
  125739. - compile_deplibs="$deplib $compile_deplibs"
  125740. - finalize_deplibs="$deplib $finalize_deplibs"
  125741. - else
  125742. - compiler_flags="$compiler_flags $deplib"
  125743. - fi
  125744. - case $linkmode in
  125745. - lib)
  125746. - deplibs="$deplib $deplibs"
  125747. - test "$pass" = conv && continue
  125748. - newdependency_libs="$deplib $newdependency_libs"
  125749. - ;;
  125750. - prog)
  125751. - if test "$pass" = conv; then
  125752. - deplibs="$deplib $deplibs"
  125753. - continue
  125754. + # Install the libtool object if requested.
  125755. + test -n "$destfile" && \
  125756. + func_show_eval "$install_prog $file $destfile" 'exit $?'
  125757. +
  125758. + # Install the old object if enabled.
  125759. + if test "$build_old_libs" = yes; then
  125760. + # Deduce the name of the old-style object file.
  125761. + func_lo2o "$file"
  125762. + staticobj=$func_lo2o_result
  125763. + func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?'
  125764. + fi
  125765. + exit $EXIT_SUCCESS
  125766. + ;;
  125767. +
  125768. + *)
  125769. + # Figure out destination file name, if it wasn't already specified.
  125770. + if test -n "$destname"; then
  125771. + destfile="$destdir/$destname"
  125772. + else
  125773. + func_basename "$file"
  125774. + destfile="$func_basename_result"
  125775. + destfile="$destdir/$destfile"
  125776. + fi
  125777. +
  125778. + # If the file is missing, and there is a .exe on the end, strip it
  125779. + # because it is most likely a libtool script we actually want to
  125780. + # install
  125781. + stripped_ext=""
  125782. + case $file in
  125783. + *.exe)
  125784. + if test ! -f "$file"; then
  125785. + func_stripname '' '.exe' "$file"
  125786. + file=$func_stripname_result
  125787. + stripped_ext=".exe"
  125788. fi
  125789. - if test "$pass" = scan; then
  125790. - deplibs="$deplib $deplibs"
  125791. + ;;
  125792. + esac
  125793. +
  125794. + # Do a test to see if this is really a libtool program.
  125795. + case $host in
  125796. + *cygwin* | *mingw*)
  125797. + if func_ltwrapper_executable_p "$file"; then
  125798. + func_ltwrapper_scriptname "$file"
  125799. + wrapper=$func_ltwrapper_scriptname_result
  125800. else
  125801. - compile_deplibs="$deplib $compile_deplibs"
  125802. - finalize_deplibs="$deplib $finalize_deplibs"
  125803. + func_stripname '' '.exe' "$file"
  125804. + wrapper=$func_stripname_result
  125805. fi
  125806. ;;
  125807. - *)
  125808. + *)
  125809. + wrapper=$file
  125810. ;;
  125811. - esac # linkmode
  125812. + esac
  125813. + if func_ltwrapper_script_p "$wrapper"; then
  125814. + notinst_deplibs=
  125815. + relink_command=
  125816. - continue
  125817. - ;;
  125818. - -l*)
  125819. - if test "$linkmode" != lib && test "$linkmode" != prog; then
  125820. - $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
  125821. - continue
  125822. - fi
  125823. - name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
  125824. - if test "$linkmode" = lib; then
  125825. - searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
  125826. - else
  125827. - searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
  125828. - fi
  125829. - for searchdir in $searchdirs; do
  125830. - for search_ext in .la $std_shrext .so .a; do
  125831. - # Search the libtool library
  125832. - lib="$searchdir/lib${name}${search_ext}"
  125833. - if test -f "$lib"; then
  125834. - if test "$search_ext" = ".la"; then
  125835. - found=yes
  125836. - else
  125837. - found=no
  125838. - fi
  125839. - break 2
  125840. - fi
  125841. - done
  125842. - done
  125843. - if test "$found" != yes; then
  125844. - # deplib doesn't seem to be a libtool library
  125845. - if test "$linkmode,$pass" = "prog,link"; then
  125846. - compile_deplibs="$deplib $compile_deplibs"
  125847. - finalize_deplibs="$deplib $finalize_deplibs"
  125848. - else
  125849. - deplibs="$deplib $deplibs"
  125850. - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  125851. + func_source "$wrapper"
  125852. +
  125853. + # Check the variables that should have been set.
  125854. + test -z "$generated_by_libtool_version" && \
  125855. + func_fatal_error "invalid libtool wrapper script \`$wrapper'"
  125856. +
  125857. + finalize=yes
  125858. + for lib in $notinst_deplibs; do
  125859. + # Check to see that each library is installed.
  125860. + libdir=
  125861. + if test -f "$lib"; then
  125862. + func_source "$lib"
  125863. fi
  125864. - continue
  125865. - else # deplib is a libtool library
  125866. - # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
  125867. - # We need to do some special things here, and not later.
  125868. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  125869. - case " $predeps $postdeps " in
  125870. - *" $deplib "*)
  125871. - if (${SED} -e '2q' $lib |
  125872. - grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  125873. - library_names=
  125874. - old_library=
  125875. - case $lib in
  125876. - */* | *\\*) . $lib ;;
  125877. - *) . ./$lib ;;
  125878. - esac
  125879. - for l in $old_library $library_names; do
  125880. - ll="$l"
  125881. - done
  125882. - if test "X$ll" = "X$old_library" ; then # only static version available
  125883. - found=no
  125884. - ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
  125885. - test "X$ladir" = "X$lib" && ladir="."
  125886. - lib=$ladir/$old_library
  125887. - if test "$linkmode,$pass" = "prog,link"; then
  125888. - compile_deplibs="$deplib $compile_deplibs"
  125889. - finalize_deplibs="$deplib $finalize_deplibs"
  125890. - else
  125891. - deplibs="$deplib $deplibs"
  125892. - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  125893. - fi
  125894. - continue
  125895. - fi
  125896. - fi
  125897. - ;;
  125898. - *) ;;
  125899. - esac
  125900. + libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
  125901. + if test -n "$libdir" && test ! -f "$libfile"; then
  125902. + func_warning "\`$lib' has not been installed in \`$libdir'"
  125903. + finalize=no
  125904. fi
  125905. + done
  125906. +
  125907. + relink_command=
  125908. + func_source "$wrapper"
  125909. +
  125910. + outputname=
  125911. + if test "$fast_install" = no && test -n "$relink_command"; then
  125912. + $opt_dry_run || {
  125913. + if test "$finalize" = yes; then
  125914. + tmpdir=`func_mktempdir`
  125915. + func_basename "$file$stripped_ext"
  125916. + file="$func_basename_result"
  125917. + outputname="$tmpdir/$file"
  125918. + # Replace the output file specification.
  125919. + relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
  125920. +
  125921. + $opt_silent || {
  125922. + func_quote_for_expand "$relink_command"
  125923. + eval "func_echo $func_quote_for_expand_result"
  125924. + }
  125925. + if eval "$relink_command"; then :
  125926. + else
  125927. + func_error "error: relink \`$file' with the above command before installing it"
  125928. + $opt_dry_run || ${RM}r "$tmpdir"
  125929. + continue
  125930. + fi
  125931. + file="$outputname"
  125932. + else
  125933. + func_warning "cannot relink \`$file'"
  125934. + fi
  125935. + }
  125936. + else
  125937. + # Install the binary that we compiled earlier.
  125938. + file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
  125939. fi
  125940. - ;; # -l
  125941. - -L*)
  125942. - case $linkmode in
  125943. - lib)
  125944. - deplibs="$deplib $deplibs"
  125945. - test "$pass" = conv && continue
  125946. - newdependency_libs="$deplib $newdependency_libs"
  125947. - newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
  125948. + fi
  125949. +
  125950. + # remove .exe since cygwin /usr/bin/install will append another
  125951. + # one anyway
  125952. + case $install_prog,$host in
  125953. + */usr/bin/install*,*cygwin*)
  125954. + case $file:$destfile in
  125955. + *.exe:*.exe)
  125956. + # this is ok
  125957. ;;
  125958. - prog)
  125959. - if test "$pass" = conv; then
  125960. - deplibs="$deplib $deplibs"
  125961. - continue
  125962. - fi
  125963. - if test "$pass" = scan; then
  125964. - deplibs="$deplib $deplibs"
  125965. - else
  125966. - compile_deplibs="$deplib $compile_deplibs"
  125967. - finalize_deplibs="$deplib $finalize_deplibs"
  125968. - fi
  125969. - newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
  125970. + *.exe:*)
  125971. + destfile=$destfile.exe
  125972. ;;
  125973. - *)
  125974. - $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
  125975. + *:*.exe)
  125976. + func_stripname '' '.exe' "$destfile"
  125977. + destfile=$func_stripname_result
  125978. ;;
  125979. - esac # linkmode
  125980. - continue
  125981. - ;; # -L
  125982. - -R*)
  125983. - if test "$pass" = link; then
  125984. - dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
  125985. - # Make sure the xrpath contains only unique directories.
  125986. - case "$xrpath " in
  125987. - *" $dir "*) ;;
  125988. - *) xrpath="$xrpath $dir" ;;
  125989. - esac
  125990. - fi
  125991. - deplibs="$deplib $deplibs"
  125992. - continue
  125993. + esac
  125994. ;;
  125995. - *.la) lib="$deplib" ;;
  125996. - *.$libext)
  125997. - if test "$pass" = conv; then
  125998. - deplibs="$deplib $deplibs"
  125999. - continue
  126000. - fi
  126001. - case $linkmode in
  126002. - lib)
  126003. - valid_a_lib=no
  126004. - case $deplibs_check_method in
  126005. - match_pattern*)
  126006. - set dummy $deplibs_check_method
  126007. - match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
  126008. - if eval $echo \"$deplib\" 2>/dev/null \
  126009. - | $SED 10q \
  126010. - | $EGREP "$match_pattern_regex" > /dev/null; then
  126011. - valid_a_lib=yes
  126012. - fi
  126013. - ;;
  126014. - pass_all)
  126015. - valid_a_lib=yes
  126016. - ;;
  126017. - esac
  126018. - if test "$valid_a_lib" != yes; then
  126019. - $echo
  126020. - $echo "*** Warning: Trying to link with static lib archive $deplib."
  126021. - $echo "*** I have the capability to make that library automatically link in when"
  126022. - $echo "*** you link to this library. But I can only do this if you have a"
  126023. - $echo "*** shared version of the library, which you do not appear to have"
  126024. - $echo "*** because the file extensions .$libext of this argument makes me believe"
  126025. - $echo "*** that it is just a static archive that I should not used here."
  126026. - else
  126027. - $echo
  126028. - $echo "*** Warning: Linking the shared library $output against the"
  126029. - $echo "*** static library $deplib is not portable!"
  126030. - deplibs="$deplib $deplibs"
  126031. - fi
  126032. - continue
  126033. - ;;
  126034. - prog)
  126035. - if test "$pass" != link; then
  126036. - deplibs="$deplib $deplibs"
  126037. - else
  126038. - compile_deplibs="$deplib $compile_deplibs"
  126039. - finalize_deplibs="$deplib $finalize_deplibs"
  126040. - fi
  126041. - continue
  126042. - ;;
  126043. - esac # linkmode
  126044. - ;; # *.$libext
  126045. - *.lo | *.$objext)
  126046. - if test "$pass" = conv; then
  126047. - deplibs="$deplib $deplibs"
  126048. - elif test "$linkmode" = prog; then
  126049. - if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
  126050. - # If there is no dlopen support or we're linking statically,
  126051. - # we need to preload.
  126052. - newdlprefiles="$newdlprefiles $deplib"
  126053. - compile_deplibs="$deplib $compile_deplibs"
  126054. - finalize_deplibs="$deplib $finalize_deplibs"
  126055. - else
  126056. - newdlfiles="$newdlfiles $deplib"
  126057. - fi
  126058. - fi
  126059. - continue
  126060. - ;;
  126061. - %DEPLIBS%)
  126062. - alldeplibs=yes
  126063. - continue
  126064. - ;;
  126065. - esac # case $deplib
  126066. - if test "$found" = yes || test -f "$lib"; then :
  126067. - else
  126068. - $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
  126069. - exit $EXIT_FAILURE
  126070. + esac
  126071. + func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?'
  126072. + $opt_dry_run || if test -n "$outputname"; then
  126073. + ${RM}r "$tmpdir"
  126074. fi
  126075. + ;;
  126076. + esac
  126077. + done
  126078. - # Check to see that this really is a libtool archive.
  126079. - if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
  126080. - else
  126081. - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  126082. - exit $EXIT_FAILURE
  126083. - fi
  126084. + for file in $staticlibs; do
  126085. + func_basename "$file"
  126086. + name="$func_basename_result"
  126087. - ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
  126088. - test "X$ladir" = "X$lib" && ladir="."
  126089. + # Set up the ranlib parameters.
  126090. + oldlib="$destdir/$name"
  126091. - dlname=
  126092. - dlopen=
  126093. - dlpreopen=
  126094. - libdir=
  126095. - library_names=
  126096. - old_library=
  126097. - # If the library was installed with an old release of libtool,
  126098. - # it will not redefine variables installed, or shouldnotlink
  126099. - installed=yes
  126100. - shouldnotlink=no
  126101. - avoidtemprpath=
  126102. + func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
  126103. + if test -n "$stripme" && test -n "$old_striplib"; then
  126104. + func_show_eval "$old_striplib $oldlib" 'exit $?'
  126105. + fi
  126106. - # Read the .la file
  126107. - case $lib in
  126108. - */* | *\\*) . $lib ;;
  126109. - *) . ./$lib ;;
  126110. - esac
  126111. + # Do each command in the postinstall commands.
  126112. + func_execute_cmds "$old_postinstall_cmds" 'exit $?'
  126113. + done
  126114. - if test "$linkmode,$pass" = "lib,link" ||
  126115. - test "$linkmode,$pass" = "prog,scan" ||
  126116. - { test "$linkmode" != prog && test "$linkmode" != lib; }; then
  126117. - test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
  126118. - test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
  126119. - fi
  126120. + test -n "$future_libdirs" && \
  126121. + func_warning "remember to run \`$progname --finish$future_libdirs'"
  126122. - if test "$pass" = conv; then
  126123. - # Only check for convenience libraries
  126124. - deplibs="$lib $deplibs"
  126125. - if test -z "$libdir"; then
  126126. - if test -z "$old_library"; then
  126127. - $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
  126128. - exit $EXIT_FAILURE
  126129. - fi
  126130. - # It is a libtool convenience library, so add in its objects.
  126131. - convenience="$convenience $ladir/$objdir/$old_library"
  126132. - old_convenience="$old_convenience $ladir/$objdir/$old_library"
  126133. - tmp_libs=
  126134. - for deplib in $dependency_libs; do
  126135. - deplibs="$deplib $deplibs"
  126136. - if test "X$duplicate_deps" = "Xyes" ; then
  126137. - case "$tmp_libs " in
  126138. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  126139. - esac
  126140. - fi
  126141. - tmp_libs="$tmp_libs $deplib"
  126142. - done
  126143. - elif test "$linkmode" != prog && test "$linkmode" != lib; then
  126144. - $echo "$modename: \`$lib' is not a convenience library" 1>&2
  126145. - exit $EXIT_FAILURE
  126146. - fi
  126147. - continue
  126148. - fi # $pass = conv
  126149. + if test -n "$current_libdirs"; then
  126150. + # Maybe just do a dry run.
  126151. + $opt_dry_run && current_libdirs=" -n$current_libdirs"
  126152. + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
  126153. + else
  126154. + exit $EXIT_SUCCESS
  126155. + fi
  126156. +}
  126157. +test "$mode" = install && func_mode_install ${1+"$@"}
  126158. - # Get the name of the library we link against.
  126159. - linklib=
  126160. - for l in $old_library $library_names; do
  126161. - linklib="$l"
  126162. - done
  126163. - if test -z "$linklib"; then
  126164. - $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
  126165. - exit $EXIT_FAILURE
  126166. - fi
  126167. - # This library was specified with -dlopen.
  126168. - if test "$pass" = dlopen; then
  126169. - if test -z "$libdir"; then
  126170. - $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
  126171. - exit $EXIT_FAILURE
  126172. - fi
  126173. - if test -z "$dlname" ||
  126174. - test "$dlopen_support" != yes ||
  126175. - test "$build_libtool_libs" = no; then
  126176. - # If there is no dlname, no dlopen support or we're linking
  126177. - # statically, we need to preload. We also need to preload any
  126178. - # dependent libraries so libltdl's deplib preloader doesn't
  126179. - # bomb out in the load deplibs phase.
  126180. - dlprefiles="$dlprefiles $lib $dependency_libs"
  126181. - else
  126182. - newdlfiles="$newdlfiles $lib"
  126183. - fi
  126184. - continue
  126185. - fi # $pass = dlopen
  126186. +# func_generate_dlsyms outputname originator pic_p
  126187. +# Extract symbols from dlprefiles and create ${outputname}S.o with
  126188. +# a dlpreopen symbol table.
  126189. +func_generate_dlsyms ()
  126190. +{
  126191. + $opt_debug
  126192. + my_outputname="$1"
  126193. + my_originator="$2"
  126194. + my_pic_p="${3-no}"
  126195. + my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'`
  126196. + my_dlsyms=
  126197. +
  126198. + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  126199. + if test -n "$NM" && test -n "$global_symbol_pipe"; then
  126200. + my_dlsyms="${my_outputname}S.c"
  126201. + else
  126202. + func_error "not configured to extract global symbols from dlpreopened files"
  126203. + fi
  126204. + fi
  126205. - # We need an absolute path.
  126206. - case $ladir in
  126207. - [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
  126208. - *)
  126209. - abs_ladir=`cd "$ladir" && pwd`
  126210. - if test -z "$abs_ladir"; then
  126211. - $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
  126212. - $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
  126213. - abs_ladir="$ladir"
  126214. + if test -n "$my_dlsyms"; then
  126215. + case $my_dlsyms in
  126216. + "") ;;
  126217. + *.c)
  126218. + # Discover the nlist of each of the dlfiles.
  126219. + nlist="$output_objdir/${my_outputname}.nm"
  126220. +
  126221. + func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
  126222. +
  126223. + # Parse the name list into a source file.
  126224. + func_verbose "creating $output_objdir/$my_dlsyms"
  126225. +
  126226. + $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
  126227. +/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */
  126228. +/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */
  126229. +
  126230. +#ifdef __cplusplus
  126231. +extern \"C\" {
  126232. +#endif
  126233. +
  126234. +/* External symbol declarations for the compiler. */\
  126235. +"
  126236. +
  126237. + if test "$dlself" = yes; then
  126238. + func_verbose "generating symbol list for \`$output'"
  126239. +
  126240. + $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
  126241. +
  126242. + # Add our own program objects to the symbol list.
  126243. + progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  126244. + for progfile in $progfiles; do
  126245. + func_verbose "extracting global C symbols from \`$progfile'"
  126246. + $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
  126247. + done
  126248. +
  126249. + if test -n "$exclude_expsyms"; then
  126250. + $opt_dry_run || {
  126251. + eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
  126252. + eval '$MV "$nlist"T "$nlist"'
  126253. + }
  126254. fi
  126255. - ;;
  126256. - esac
  126257. - laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
  126258. - # Find the relevant object directory and library name.
  126259. - if test "X$installed" = Xyes; then
  126260. - if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  126261. - $echo "$modename: warning: library \`$lib' was moved." 1>&2
  126262. - dir="$ladir"
  126263. - absdir="$abs_ladir"
  126264. - libdir="$abs_ladir"
  126265. - else
  126266. - dir="$libdir"
  126267. - absdir="$libdir"
  126268. + if test -n "$export_symbols_regex"; then
  126269. + $opt_dry_run || {
  126270. + eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
  126271. + eval '$MV "$nlist"T "$nlist"'
  126272. + }
  126273. fi
  126274. - test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
  126275. - else
  126276. - if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  126277. - dir="$ladir"
  126278. - absdir="$abs_ladir"
  126279. - # Remove this search path later
  126280. - notinst_path="$notinst_path $abs_ladir"
  126281. +
  126282. + # Prepare the list of exported symbols
  126283. + if test -z "$export_symbols"; then
  126284. + export_symbols="$output_objdir/$outputname.exp"
  126285. + $opt_dry_run || {
  126286. + $RM $export_symbols
  126287. + eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
  126288. + case $host in
  126289. + *cygwin* | *mingw* | *cegcc* )
  126290. + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  126291. + eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
  126292. + ;;
  126293. + esac
  126294. + }
  126295. else
  126296. - dir="$ladir/$objdir"
  126297. - absdir="$abs_ladir/$objdir"
  126298. - # Remove this search path later
  126299. - notinst_path="$notinst_path $abs_ladir"
  126300. + $opt_dry_run || {
  126301. + eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
  126302. + eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
  126303. + eval '$MV "$nlist"T "$nlist"'
  126304. + case $host in
  126305. + *cygwin | *mingw* | *cegcc* )
  126306. + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  126307. + eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
  126308. + ;;
  126309. + esac
  126310. + }
  126311. fi
  126312. - fi # $installed = yes
  126313. - name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
  126314. + fi
  126315. - # This library was specified with -dlpreopen.
  126316. - if test "$pass" = dlpreopen; then
  126317. - if test -z "$libdir"; then
  126318. - $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
  126319. - exit $EXIT_FAILURE
  126320. + for dlprefile in $dlprefiles; do
  126321. + func_verbose "extracting global C symbols from \`$dlprefile'"
  126322. + func_basename "$dlprefile"
  126323. + name="$func_basename_result"
  126324. + $opt_dry_run || {
  126325. + eval '$ECHO ": $name " >> "$nlist"'
  126326. + eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
  126327. + }
  126328. + done
  126329. +
  126330. + $opt_dry_run || {
  126331. + # Make sure we have at least an empty file.
  126332. + test -f "$nlist" || : > "$nlist"
  126333. +
  126334. + if test -n "$exclude_expsyms"; then
  126335. + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
  126336. + $MV "$nlist"T "$nlist"
  126337. fi
  126338. - # Prefer using a static library (so that no silly _DYNAMIC symbols
  126339. - # are required to link).
  126340. - if test -n "$old_library"; then
  126341. - newdlprefiles="$newdlprefiles $dir/$old_library"
  126342. - # Otherwise, use the dlname, so that lt_dlopen finds it.
  126343. - elif test -n "$dlname"; then
  126344. - newdlprefiles="$newdlprefiles $dir/$dlname"
  126345. +
  126346. + # Try sorting and uniquifying the output.
  126347. + if $GREP -v "^: " < "$nlist" |
  126348. + if sort -k 3 </dev/null >/dev/null 2>&1; then
  126349. + sort -k 3
  126350. + else
  126351. + sort +2
  126352. + fi |
  126353. + uniq > "$nlist"S; then
  126354. + :
  126355. else
  126356. - newdlprefiles="$newdlprefiles $dir/$linklib"
  126357. + $GREP -v "^: " < "$nlist" > "$nlist"S
  126358. fi
  126359. - fi # $pass = dlpreopen
  126360. - if test -z "$libdir"; then
  126361. - # Link the convenience library
  126362. - if test "$linkmode" = lib; then
  126363. - deplibs="$dir/$old_library $deplibs"
  126364. - elif test "$linkmode,$pass" = "prog,link"; then
  126365. - compile_deplibs="$dir/$old_library $compile_deplibs"
  126366. - finalize_deplibs="$dir/$old_library $finalize_deplibs"
  126367. + if test -f "$nlist"S; then
  126368. + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
  126369. else
  126370. - deplibs="$lib $deplibs" # used for prog,scan pass
  126371. + $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
  126372. fi
  126373. - continue
  126374. - fi
  126375. -
  126376. - if test "$linkmode" = prog && test "$pass" != link; then
  126377. - newlib_search_path="$newlib_search_path $ladir"
  126378. - deplibs="$lib $deplibs"
  126379. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  126380. - linkalldeplibs=no
  126381. - if test "$link_all_deplibs" != no || test -z "$library_names" ||
  126382. - test "$build_libtool_libs" = no; then
  126383. - linkalldeplibs=yes
  126384. - fi
  126385. +/* The mapping between symbol names and symbols. */
  126386. +typedef struct {
  126387. + const char *name;
  126388. + void *address;
  126389. +} lt_dlsymlist;
  126390. +"
  126391. + case $host in
  126392. + *cygwin* | *mingw* | *cegcc* )
  126393. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  126394. +/* DATA imports from DLLs on WIN32 con't be const, because
  126395. + runtime relocations are performed -- see ld's documentation
  126396. + on pseudo-relocs. */"
  126397. + lt_dlsym_const= ;;
  126398. + *osf5*)
  126399. + echo >> "$output_objdir/$my_dlsyms" "\
  126400. +/* This system does not cope well with relocations in const data */"
  126401. + lt_dlsym_const= ;;
  126402. + *)
  126403. + lt_dlsym_const=const ;;
  126404. + esac
  126405. - tmp_libs=
  126406. - for deplib in $dependency_libs; do
  126407. - case $deplib in
  126408. - -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
  126409. - esac
  126410. - # Need to link against all dependency_libs?
  126411. - if test "$linkalldeplibs" = yes; then
  126412. - deplibs="$deplib $deplibs"
  126413. - else
  126414. - # Need to hardcode shared library paths
  126415. - # or/and link against static libraries
  126416. - newdependency_libs="$deplib $newdependency_libs"
  126417. - fi
  126418. - if test "X$duplicate_deps" = "Xyes" ; then
  126419. - case "$tmp_libs " in
  126420. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  126421. - esac
  126422. - fi
  126423. - tmp_libs="$tmp_libs $deplib"
  126424. - done # for deplib
  126425. - continue
  126426. - fi # $linkmode = prog...
  126427. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  126428. +extern $lt_dlsym_const lt_dlsymlist
  126429. +lt_${my_prefix}_LTX_preloaded_symbols[];
  126430. +$lt_dlsym_const lt_dlsymlist
  126431. +lt_${my_prefix}_LTX_preloaded_symbols[] =
  126432. +{\
  126433. + { \"$my_originator\", (void *) 0 },"
  126434. - if test "$linkmode,$pass" = "prog,link"; then
  126435. - if test -n "$library_names" &&
  126436. - { { test "$prefer_static_libs" = no ||
  126437. - test "$prefer_static_libs,$installed" = "built,yes"; } ||
  126438. - test -z "$old_library"; }; then
  126439. - # We need to hardcode the library path
  126440. - if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
  126441. - # Make sure the rpath contains only unique directories.
  126442. - case "$temp_rpath " in
  126443. - *" $dir "*) ;;
  126444. - *" $absdir "*) ;;
  126445. - *) temp_rpath="$temp_rpath $absdir" ;;
  126446. - esac
  126447. - fi
  126448. -
  126449. - # Hardcode the library path.
  126450. - # Skip directories that are in the system default run-time
  126451. - # search path.
  126452. - case " $sys_lib_dlsearch_path " in
  126453. - *" $absdir "*) ;;
  126454. - *)
  126455. - case "$compile_rpath " in
  126456. - *" $absdir "*) ;;
  126457. - *) compile_rpath="$compile_rpath $absdir"
  126458. - esac
  126459. - ;;
  126460. - esac
  126461. - case " $sys_lib_dlsearch_path " in
  126462. - *" $libdir "*) ;;
  126463. - *)
  126464. - case "$finalize_rpath " in
  126465. - *" $libdir "*) ;;
  126466. - *) finalize_rpath="$finalize_rpath $libdir"
  126467. - esac
  126468. - ;;
  126469. - esac
  126470. - fi # $linkmode,$pass = prog,link...
  126471. + case $need_lib_prefix in
  126472. + no)
  126473. + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms"
  126474. + ;;
  126475. + *)
  126476. + eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
  126477. + ;;
  126478. + esac
  126479. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  126480. + {0, (void *) 0}
  126481. +};
  126482. - if test "$alldeplibs" = yes &&
  126483. - { test "$deplibs_check_method" = pass_all ||
  126484. - { test "$build_libtool_libs" = yes &&
  126485. - test -n "$library_names"; }; }; then
  126486. - # We only need to search for static libraries
  126487. - continue
  126488. - fi
  126489. - fi
  126490. +/* This works around a problem in FreeBSD linker */
  126491. +#ifdef FREEBSD_WORKAROUND
  126492. +static const void *lt_preloaded_setup() {
  126493. + return lt_${my_prefix}_LTX_preloaded_symbols;
  126494. +}
  126495. +#endif
  126496. - link_static=no # Whether the deplib will be linked statically
  126497. - use_static_libs=$prefer_static_libs
  126498. - if test "$use_static_libs" = built && test "$installed" = yes ; then
  126499. - use_static_libs=no
  126500. - fi
  126501. - if test -n "$library_names" &&
  126502. - { test "$use_static_libs" = no || test -z "$old_library"; }; then
  126503. - if test "$installed" = no; then
  126504. - notinst_deplibs="$notinst_deplibs $lib"
  126505. - need_relink=yes
  126506. - fi
  126507. - # This is a shared library
  126508. +#ifdef __cplusplus
  126509. +}
  126510. +#endif\
  126511. +"
  126512. + } # !$opt_dry_run
  126513. - # Warn about portability, can't link against -module's on
  126514. - # some systems (darwin)
  126515. - if test "$shouldnotlink" = yes && test "$pass" = link ; then
  126516. - $echo
  126517. - if test "$linkmode" = prog; then
  126518. - $echo "*** Warning: Linking the executable $output against the loadable module"
  126519. - else
  126520. - $echo "*** Warning: Linking the shared library $output against the loadable module"
  126521. + pic_flag_for_symtable=
  126522. + case "$compile_command " in
  126523. + *" -static "*) ;;
  126524. + *)
  126525. + case $host in
  126526. + # compiling the symbol table file with pic_flag works around
  126527. + # a FreeBSD bug that causes programs to crash when -lm is
  126528. + # linked before any other PIC object. But we must not use
  126529. + # pic_flag when linking with -static. The problem exists in
  126530. + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
  126531. + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
  126532. + pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
  126533. + *-*-hpux*)
  126534. + pic_flag_for_symtable=" $pic_flag" ;;
  126535. + *)
  126536. + if test "X$my_pic_p" != Xno; then
  126537. + pic_flag_for_symtable=" $pic_flag"
  126538. fi
  126539. - $echo "*** $linklib is not portable!"
  126540. - fi
  126541. - if test "$linkmode" = lib &&
  126542. - test "$hardcode_into_libs" = yes; then
  126543. - # Hardcode the library path.
  126544. - # Skip directories that are in the system default run-time
  126545. - # search path.
  126546. - case " $sys_lib_dlsearch_path " in
  126547. - *" $absdir "*) ;;
  126548. - *)
  126549. - case "$compile_rpath " in
  126550. - *" $absdir "*) ;;
  126551. - *) compile_rpath="$compile_rpath $absdir"
  126552. - esac
  126553. - ;;
  126554. - esac
  126555. - case " $sys_lib_dlsearch_path " in
  126556. - *" $libdir "*) ;;
  126557. - *)
  126558. - case "$finalize_rpath " in
  126559. - *" $libdir "*) ;;
  126560. - *) finalize_rpath="$finalize_rpath $libdir"
  126561. - esac
  126562. - ;;
  126563. - esac
  126564. - fi
  126565. + ;;
  126566. + esac
  126567. + ;;
  126568. + esac
  126569. + symtab_cflags=
  126570. + for arg in $LTCFLAGS; do
  126571. + case $arg in
  126572. + -pie | -fpie | -fPIE) ;;
  126573. + *) symtab_cflags="$symtab_cflags $arg" ;;
  126574. + esac
  126575. + done
  126576. - if test -n "$old_archive_from_expsyms_cmds"; then
  126577. - # figure out the soname
  126578. - set dummy $library_names
  126579. - realname="$2"
  126580. - shift; shift
  126581. - libname=`eval \\$echo \"$libname_spec\"`
  126582. - # use dlname if we got it. it's perfectly good, no?
  126583. - if test -n "$dlname"; then
  126584. - soname="$dlname"
  126585. - elif test -n "$soname_spec"; then
  126586. - # bleh windows
  126587. - case $host in
  126588. - *cygwin* | mingw*)
  126589. - major=`expr $current - $age`
  126590. - versuffix="-$major"
  126591. - ;;
  126592. - esac
  126593. - eval soname=\"$soname_spec\"
  126594. - else
  126595. - soname="$realname"
  126596. - fi
  126597. + # Now compile the dynamic symbol file.
  126598. + func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?'
  126599. - # Make a new name for the extract_expsyms_cmds to use
  126600. - soroot="$soname"
  126601. - soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
  126602. - newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
  126603. + # Clean up the generated files.
  126604. + func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"'
  126605. - # If the library has no export list, then create one now
  126606. - if test -f "$output_objdir/$soname-def"; then :
  126607. - else
  126608. - $show "extracting exported symbol list from \`$soname'"
  126609. - save_ifs="$IFS"; IFS='~'
  126610. - cmds=$extract_expsyms_cmds
  126611. - for cmd in $cmds; do
  126612. - IFS="$save_ifs"
  126613. - eval cmd=\"$cmd\"
  126614. - $show "$cmd"
  126615. - $run eval "$cmd" || exit $?
  126616. - done
  126617. - IFS="$save_ifs"
  126618. - fi
  126619. + # Transform the symbol file into the correct name.
  126620. + symfileobj="$output_objdir/${my_outputname}S.$objext"
  126621. + case $host in
  126622. + *cygwin* | *mingw* | *cegcc* )
  126623. + if test -f "$output_objdir/$my_outputname.def"; then
  126624. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  126625. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  126626. + else
  126627. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  126628. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  126629. + fi
  126630. + ;;
  126631. + *)
  126632. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  126633. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  126634. + ;;
  126635. + esac
  126636. + ;;
  126637. + *)
  126638. + func_fatal_error "unknown suffix for \`$my_dlsyms'"
  126639. + ;;
  126640. + esac
  126641. + else
  126642. + # We keep going just in case the user didn't refer to
  126643. + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
  126644. + # really was required.
  126645. +
  126646. + # Nullify the symbol file.
  126647. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
  126648. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
  126649. + fi
  126650. +}
  126651. - # Create $newlib
  126652. - if test -f "$output_objdir/$newlib"; then :; else
  126653. - $show "generating import library for \`$soname'"
  126654. - save_ifs="$IFS"; IFS='~'
  126655. - cmds=$old_archive_from_expsyms_cmds
  126656. - for cmd in $cmds; do
  126657. - IFS="$save_ifs"
  126658. - eval cmd=\"$cmd\"
  126659. - $show "$cmd"
  126660. - $run eval "$cmd" || exit $?
  126661. - done
  126662. - IFS="$save_ifs"
  126663. - fi
  126664. - # make sure the library variables are pointing to the new library
  126665. - dir=$output_objdir
  126666. - linklib=$newlib
  126667. - fi # test -n "$old_archive_from_expsyms_cmds"
  126668. +# func_win32_libid arg
  126669. +# return the library type of file 'arg'
  126670. +#
  126671. +# Need a lot of goo to handle *both* DLLs and import libs
  126672. +# Has to be a shell function in order to 'eat' the argument
  126673. +# that is supplied when $file_magic_command is called.
  126674. +func_win32_libid ()
  126675. +{
  126676. + $opt_debug
  126677. + win32_libid_type="unknown"
  126678. + win32_fileres=`file -L $1 2>/dev/null`
  126679. + case $win32_fileres in
  126680. + *ar\ archive\ import\ library*) # definitely import
  126681. + win32_libid_type="x86 archive import"
  126682. + ;;
  126683. + *ar\ archive*) # could be an import, or static
  126684. + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
  126685. + $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
  126686. + win32_nmres=`eval $NM -f posix -A $1 |
  126687. + $SED -n -e '
  126688. + 1,100{
  126689. + / I /{
  126690. + s,.*,import,
  126691. + p
  126692. + q
  126693. + }
  126694. + }'`
  126695. + case $win32_nmres in
  126696. + import*) win32_libid_type="x86 archive import";;
  126697. + *) win32_libid_type="x86 archive static";;
  126698. + esac
  126699. + fi
  126700. + ;;
  126701. + *DLL*)
  126702. + win32_libid_type="x86 DLL"
  126703. + ;;
  126704. + *executable*) # but shell scripts are "executable" too...
  126705. + case $win32_fileres in
  126706. + *MS\ Windows\ PE\ Intel*)
  126707. + win32_libid_type="x86 DLL"
  126708. + ;;
  126709. + esac
  126710. + ;;
  126711. + esac
  126712. + $ECHO "$win32_libid_type"
  126713. +}
  126714. - if test "$linkmode" = prog || test "$mode" != relink; then
  126715. - add_shlibpath=
  126716. - add_dir=
  126717. - add=
  126718. - lib_linked=yes
  126719. - case $hardcode_action in
  126720. - immediate | unsupported)
  126721. - if test "$hardcode_direct" = no; then
  126722. - add="$dir/$linklib"
  126723. - case $host in
  126724. - *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
  126725. - *-*-sysv4*uw2*) add_dir="-L$dir" ;;
  126726. - *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
  126727. - *-*-unixware7*) add_dir="-L$dir" ;;
  126728. - *-*-darwin* )
  126729. - # if the lib is a module then we can not link against
  126730. - # it, someone is ignoring the new warnings I added
  126731. - if /usr/bin/file -L $add 2> /dev/null |
  126732. - $EGREP ": [^:]* bundle" >/dev/null ; then
  126733. - $echo "** Warning, lib $linklib is a module, not a shared library"
  126734. - if test -z "$old_library" ; then
  126735. - $echo
  126736. - $echo "** And there doesn't seem to be a static archive available"
  126737. - $echo "** The link will probably fail, sorry"
  126738. - else
  126739. - add="$dir/$old_library"
  126740. - fi
  126741. - fi
  126742. - esac
  126743. - elif test "$hardcode_minus_L" = no; then
  126744. - case $host in
  126745. - *-*-sunos*) add_shlibpath="$dir" ;;
  126746. - esac
  126747. - add_dir="-L$dir"
  126748. - add="-l$name"
  126749. - elif test "$hardcode_shlibpath_var" = no; then
  126750. - add_shlibpath="$dir"
  126751. - add="-l$name"
  126752. - else
  126753. - lib_linked=no
  126754. - fi
  126755. - ;;
  126756. - relink)
  126757. - if test "$hardcode_direct" = yes; then
  126758. - add="$dir/$linklib"
  126759. - elif test "$hardcode_minus_L" = yes; then
  126760. - add_dir="-L$dir"
  126761. - # Try looking first in the location we're being installed to.
  126762. - if test -n "$inst_prefix_dir"; then
  126763. - case $libdir in
  126764. - [\\/]*)
  126765. - add_dir="$add_dir -L$inst_prefix_dir$libdir"
  126766. - ;;
  126767. - esac
  126768. - fi
  126769. - add="-l$name"
  126770. - elif test "$hardcode_shlibpath_var" = yes; then
  126771. - add_shlibpath="$dir"
  126772. - add="-l$name"
  126773. - else
  126774. - lib_linked=no
  126775. - fi
  126776. - ;;
  126777. - *) lib_linked=no ;;
  126778. - esac
  126779. - if test "$lib_linked" != yes; then
  126780. - $echo "$modename: configuration error: unsupported hardcode properties"
  126781. - exit $EXIT_FAILURE
  126782. - fi
  126783. - if test -n "$add_shlibpath"; then
  126784. - case :$compile_shlibpath: in
  126785. - *":$add_shlibpath:"*) ;;
  126786. - *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
  126787. - esac
  126788. - fi
  126789. - if test "$linkmode" = prog; then
  126790. - test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
  126791. - test -n "$add" && compile_deplibs="$add $compile_deplibs"
  126792. - else
  126793. - test -n "$add_dir" && deplibs="$add_dir $deplibs"
  126794. - test -n "$add" && deplibs="$add $deplibs"
  126795. - if test "$hardcode_direct" != yes && \
  126796. - test "$hardcode_minus_L" != yes && \
  126797. - test "$hardcode_shlibpath_var" = yes; then
  126798. - case :$finalize_shlibpath: in
  126799. - *":$libdir:"*) ;;
  126800. - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  126801. - esac
  126802. - fi
  126803. - fi
  126804. - fi
  126805. +# func_extract_an_archive dir oldlib
  126806. +func_extract_an_archive ()
  126807. +{
  126808. + $opt_debug
  126809. + f_ex_an_ar_dir="$1"; shift
  126810. + f_ex_an_ar_oldlib="$1"
  126811. + func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
  126812. + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
  126813. + :
  126814. + else
  126815. + func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib"
  126816. + fi
  126817. +}
  126818. - if test "$linkmode" = prog || test "$mode" = relink; then
  126819. - add_shlibpath=
  126820. - add_dir=
  126821. - add=
  126822. - # Finalize command for both is simple: just hardcode it.
  126823. - if test "$hardcode_direct" = yes; then
  126824. - add="$libdir/$linklib"
  126825. - elif test "$hardcode_minus_L" = yes; then
  126826. - add_dir="-L$libdir"
  126827. - add="-l$name"
  126828. - elif test "$hardcode_shlibpath_var" = yes; then
  126829. - case :$finalize_shlibpath: in
  126830. - *":$libdir:"*) ;;
  126831. - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  126832. - esac
  126833. - add="-l$name"
  126834. - elif test "$hardcode_automatic" = yes; then
  126835. - if test -n "$inst_prefix_dir" &&
  126836. - test -f "$inst_prefix_dir$libdir/$linklib" ; then
  126837. - add="$inst_prefix_dir$libdir/$linklib"
  126838. - else
  126839. - add="$libdir/$linklib"
  126840. - fi
  126841. - else
  126842. - # We cannot seem to hardcode it, guess we'll fake it.
  126843. - add_dir="-L$libdir"
  126844. - # Try looking first in the location we're being installed to.
  126845. - if test -n "$inst_prefix_dir"; then
  126846. - case $libdir in
  126847. - [\\/]*)
  126848. - add_dir="$add_dir -L$inst_prefix_dir$libdir"
  126849. - ;;
  126850. - esac
  126851. - fi
  126852. - add="-l$name"
  126853. - fi
  126854. - if test "$linkmode" = prog; then
  126855. - test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
  126856. - test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
  126857. - else
  126858. - test -n "$add_dir" && deplibs="$add_dir $deplibs"
  126859. - test -n "$add" && deplibs="$add $deplibs"
  126860. - fi
  126861. - fi
  126862. - elif test "$linkmode" = prog; then
  126863. - # Here we assume that one of hardcode_direct or hardcode_minus_L
  126864. - # is not unsupported. This is valid on all known static and
  126865. - # shared platforms.
  126866. - if test "$hardcode_direct" != unsupported; then
  126867. - test -n "$old_library" && linklib="$old_library"
  126868. - compile_deplibs="$dir/$linklib $compile_deplibs"
  126869. - finalize_deplibs="$dir/$linklib $finalize_deplibs"
  126870. - else
  126871. - compile_deplibs="-l$name -L$dir $compile_deplibs"
  126872. - finalize_deplibs="-l$name -L$dir $finalize_deplibs"
  126873. - fi
  126874. - elif test "$build_libtool_libs" = yes; then
  126875. - # Not a shared library
  126876. - if test "$deplibs_check_method" != pass_all; then
  126877. - # We're trying link a shared library against a static one
  126878. - # but the system doesn't support it.
  126879. +# func_extract_archives gentop oldlib ...
  126880. +func_extract_archives ()
  126881. +{
  126882. + $opt_debug
  126883. + my_gentop="$1"; shift
  126884. + my_oldlibs=${1+"$@"}
  126885. + my_oldobjs=""
  126886. + my_xlib=""
  126887. + my_xabs=""
  126888. + my_xdir=""
  126889. - # Just print a warning and add the library to dependency_libs so
  126890. - # that the program can be linked against the static library.
  126891. - $echo
  126892. - $echo "*** Warning: This system can not link to static lib archive $lib."
  126893. - $echo "*** I have the capability to make that library automatically link in when"
  126894. - $echo "*** you link to this library. But I can only do this if you have a"
  126895. - $echo "*** shared version of the library, which you do not appear to have."
  126896. - if test "$module" = yes; then
  126897. - $echo "*** But as you try to build a module library, libtool will still create "
  126898. - $echo "*** a static module, that should work as long as the dlopening application"
  126899. - $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
  126900. - if test -z "$global_symbol_pipe"; then
  126901. - $echo
  126902. - $echo "*** However, this would only work if libtool was able to extract symbol"
  126903. - $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
  126904. - $echo "*** not find such a program. So, this module is probably useless."
  126905. - $echo "*** \`nm' from GNU binutils and a full rebuild may help."
  126906. - fi
  126907. - if test "$build_old_libs" = no; then
  126908. - build_libtool_libs=module
  126909. - build_old_libs=yes
  126910. - else
  126911. - build_libtool_libs=no
  126912. - fi
  126913. - fi
  126914. + for my_xlib in $my_oldlibs; do
  126915. + # Extract the objects.
  126916. + case $my_xlib in
  126917. + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
  126918. + *) my_xabs=`pwd`"/$my_xlib" ;;
  126919. + esac
  126920. + func_basename "$my_xlib"
  126921. + my_xlib="$func_basename_result"
  126922. + my_xlib_u=$my_xlib
  126923. + while :; do
  126924. + case " $extracted_archives " in
  126925. + *" $my_xlib_u "*)
  126926. + func_arith $extracted_serial + 1
  126927. + extracted_serial=$func_arith_result
  126928. + my_xlib_u=lt$extracted_serial-$my_xlib ;;
  126929. + *) break ;;
  126930. + esac
  126931. + done
  126932. + extracted_archives="$extracted_archives $my_xlib_u"
  126933. + my_xdir="$my_gentop/$my_xlib_u"
  126934. +
  126935. + func_mkdir_p "$my_xdir"
  126936. +
  126937. + case $host in
  126938. + *-darwin*)
  126939. + func_verbose "Extracting $my_xabs"
  126940. + # Do not bother doing anything if just a dry run
  126941. + $opt_dry_run || {
  126942. + darwin_orig_dir=`pwd`
  126943. + cd $my_xdir || exit $?
  126944. + darwin_archive=$my_xabs
  126945. + darwin_curdir=`pwd`
  126946. + darwin_base_archive=`basename "$darwin_archive"`
  126947. + darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
  126948. + if test -n "$darwin_arches"; then
  126949. + darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'`
  126950. + darwin_arch=
  126951. + func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
  126952. + for darwin_arch in $darwin_arches ; do
  126953. + func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  126954. + $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
  126955. + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  126956. + func_extract_an_archive "`pwd`" "${darwin_base_archive}"
  126957. + cd "$darwin_curdir"
  126958. + $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
  126959. + done # $darwin_arches
  126960. + ## Okay now we've a bunch of thin objects, gotta fatten them up :)
  126961. + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u`
  126962. + darwin_file=
  126963. + darwin_files=
  126964. + for darwin_file in $darwin_filelist; do
  126965. + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
  126966. + $LIPO -create -output "$darwin_file" $darwin_files
  126967. + done # $darwin_filelist
  126968. + $RM -rf unfat-$$
  126969. + cd "$darwin_orig_dir"
  126970. else
  126971. - deplibs="$dir/$old_library $deplibs"
  126972. - link_static=yes
  126973. - fi
  126974. - fi # link shared/static library?
  126975. + cd $darwin_orig_dir
  126976. + func_extract_an_archive "$my_xdir" "$my_xabs"
  126977. + fi # $darwin_arches
  126978. + } # !$opt_dry_run
  126979. + ;;
  126980. + *)
  126981. + func_extract_an_archive "$my_xdir" "$my_xabs"
  126982. + ;;
  126983. + esac
  126984. + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
  126985. + done
  126986. - if test "$linkmode" = lib; then
  126987. - if test -n "$dependency_libs" &&
  126988. - { test "$hardcode_into_libs" != yes ||
  126989. - test "$build_old_libs" = yes ||
  126990. - test "$link_static" = yes; }; then
  126991. - # Extract -R from dependency_libs
  126992. - temp_deplibs=
  126993. - for libdir in $dependency_libs; do
  126994. - case $libdir in
  126995. - -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
  126996. - case " $xrpath " in
  126997. - *" $temp_xrpath "*) ;;
  126998. - *) xrpath="$xrpath $temp_xrpath";;
  126999. - esac;;
  127000. - *) temp_deplibs="$temp_deplibs $libdir";;
  127001. - esac
  127002. - done
  127003. - dependency_libs="$temp_deplibs"
  127004. - fi
  127005. + func_extract_archives_result="$my_oldobjs"
  127006. +}
  127007. - newlib_search_path="$newlib_search_path $absdir"
  127008. - # Link against this library
  127009. - test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
  127010. - # ... and its dependency_libs
  127011. - tmp_libs=
  127012. - for deplib in $dependency_libs; do
  127013. - newdependency_libs="$deplib $newdependency_libs"
  127014. - if test "X$duplicate_deps" = "Xyes" ; then
  127015. - case "$tmp_libs " in
  127016. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  127017. - esac
  127018. - fi
  127019. - tmp_libs="$tmp_libs $deplib"
  127020. - done
  127021. - if test "$link_all_deplibs" != no; then
  127022. - # Add the search paths of all dependency libraries
  127023. - for deplib in $dependency_libs; do
  127024. - case $deplib in
  127025. - -L*) path="$deplib" ;;
  127026. - *.la)
  127027. - dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
  127028. - test "X$dir" = "X$deplib" && dir="."
  127029. - # We need an absolute path.
  127030. - case $dir in
  127031. - [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
  127032. - *)
  127033. - absdir=`cd "$dir" && pwd`
  127034. - if test -z "$absdir"; then
  127035. - $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
  127036. - absdir="$dir"
  127037. - fi
  127038. - ;;
  127039. - esac
  127040. - if grep "^installed=no" $deplib > /dev/null; then
  127041. - path="$absdir/$objdir"
  127042. - else
  127043. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  127044. - if test -z "$libdir"; then
  127045. - $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
  127046. - exit $EXIT_FAILURE
  127047. - fi
  127048. - if test "$absdir" != "$libdir"; then
  127049. - $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
  127050. - fi
  127051. - path="$absdir"
  127052. - fi
  127053. - depdepl=
  127054. - case $host in
  127055. - *-*-darwin*)
  127056. - # we do not want to link against static libs,
  127057. - # but need to link against shared
  127058. - eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
  127059. - eval deplibdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  127060. - if test -n "$deplibrary_names" ; then
  127061. - for tmp in $deplibrary_names ; do
  127062. - depdepl=$tmp
  127063. - done
  127064. - if test -f "$deplibdir/$depdepl" ; then
  127065. - depdepl="$deplibdir/$depdepl"
  127066. - elif test -f "$path/$depdepl" ; then
  127067. - depdepl="$path/$depdepl"
  127068. - else
  127069. - # Can't find it, oh well...
  127070. - depdepl=
  127071. - fi
  127072. - # do not add paths which are already there
  127073. - case " $newlib_search_path " in
  127074. - *" $path "*) ;;
  127075. - *) newlib_search_path="$newlib_search_path $path";;
  127076. - esac
  127077. - fi
  127078. - path=""
  127079. - ;;
  127080. - *)
  127081. - path="-L$path"
  127082. - ;;
  127083. - esac
  127084. - ;;
  127085. - -l*)
  127086. - case $host in
  127087. - *-*-darwin*)
  127088. - # Again, we only want to link against shared libraries
  127089. - eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
  127090. - for tmp in $newlib_search_path ; do
  127091. - if test -f "$tmp/lib$tmp_libs.dylib" ; then
  127092. - eval depdepl="$tmp/lib$tmp_libs.dylib"
  127093. - break
  127094. - fi
  127095. - done
  127096. - path=""
  127097. - ;;
  127098. - *) continue ;;
  127099. - esac
  127100. - ;;
  127101. - *) continue ;;
  127102. - esac
  127103. - case " $deplibs " in
  127104. - *" $path "*) ;;
  127105. - *) deplibs="$path $deplibs" ;;
  127106. - esac
  127107. - case " $deplibs " in
  127108. - *" $depdepl "*) ;;
  127109. - *) deplibs="$depdepl $deplibs" ;;
  127110. - esac
  127111. - done
  127112. - fi # link_all_deplibs != no
  127113. - fi # linkmode = lib
  127114. - done # for deplib in $libs
  127115. - dependency_libs="$newdependency_libs"
  127116. - if test "$pass" = dlpreopen; then
  127117. - # Link the dlpreopened libraries before other libraries
  127118. - for deplib in $save_deplibs; do
  127119. - deplibs="$deplib $deplibs"
  127120. - done
  127121. - fi
  127122. - if test "$pass" != dlopen; then
  127123. - if test "$pass" != conv; then
  127124. - # Make sure lib_search_path contains only unique directories.
  127125. - lib_search_path=
  127126. - for dir in $newlib_search_path; do
  127127. - case "$lib_search_path " in
  127128. - *" $dir "*) ;;
  127129. - *) lib_search_path="$lib_search_path $dir" ;;
  127130. - esac
  127131. - done
  127132. - newlib_search_path=
  127133. +
  127134. +# func_emit_wrapper_part1 [arg=no]
  127135. +#
  127136. +# Emit the first part of a libtool wrapper script on stdout.
  127137. +# For more information, see the description associated with
  127138. +# func_emit_wrapper(), below.
  127139. +func_emit_wrapper_part1 ()
  127140. +{
  127141. + func_emit_wrapper_part1_arg1=no
  127142. + if test -n "$1" ; then
  127143. + func_emit_wrapper_part1_arg1=$1
  127144. fi
  127145. - if test "$linkmode,$pass" != "prog,link"; then
  127146. - vars="deplibs"
  127147. - else
  127148. - vars="compile_deplibs finalize_deplibs"
  127149. - fi
  127150. - for var in $vars dependency_libs; do
  127151. - # Add libraries to $var in reverse order
  127152. - eval tmp_libs=\"\$$var\"
  127153. - new_libs=
  127154. - for deplib in $tmp_libs; do
  127155. - # FIXME: Pedantically, this is the right thing to do, so
  127156. - # that some nasty dependency loop isn't accidentally
  127157. - # broken:
  127158. - #new_libs="$deplib $new_libs"
  127159. - # Pragmatically, this seems to cause very few problems in
  127160. - # practice:
  127161. - case $deplib in
  127162. - -L*) new_libs="$deplib $new_libs" ;;
  127163. - -R*) ;;
  127164. - *)
  127165. - # And here is the reason: when a library appears more
  127166. - # than once as an explicit dependence of a library, or
  127167. - # is implicitly linked in more than once by the
  127168. - # compiler, it is considered special, and multiple
  127169. - # occurrences thereof are not removed. Compare this
  127170. - # with having the same library being listed as a
  127171. - # dependency of multiple other libraries: in this case,
  127172. - # we know (pedantically, we assume) the library does not
  127173. - # need to be listed more than once, so we keep only the
  127174. - # last copy. This is not always right, but it is rare
  127175. - # enough that we require users that really mean to play
  127176. - # such unportable linking tricks to link the library
  127177. - # using -Wl,-lname, so that libtool does not consider it
  127178. - # for duplicate removal.
  127179. - case " $specialdeplibs " in
  127180. - *" $deplib "*) new_libs="$deplib $new_libs" ;;
  127181. - *)
  127182. - case " $new_libs " in
  127183. - *" $deplib "*) ;;
  127184. - *) new_libs="$deplib $new_libs" ;;
  127185. - esac
  127186. - ;;
  127187. - esac
  127188. - ;;
  127189. - esac
  127190. - done
  127191. - tmp_libs=
  127192. - for deplib in $new_libs; do
  127193. - case $deplib in
  127194. - -L*)
  127195. - case " $tmp_libs " in
  127196. - *" $deplib "*) ;;
  127197. - *) tmp_libs="$tmp_libs $deplib" ;;
  127198. - esac
  127199. - ;;
  127200. - *) tmp_libs="$tmp_libs $deplib" ;;
  127201. - esac
  127202. - done
  127203. - eval $var=\"$tmp_libs\"
  127204. - done # for var
  127205. - fi
  127206. - # Last step: remove runtime libs from dependency_libs
  127207. - # (they stay in deplibs)
  127208. - tmp_libs=
  127209. - for i in $dependency_libs ; do
  127210. - case " $predeps $postdeps $compiler_lib_search_path " in
  127211. - *" $i "*)
  127212. - i=""
  127213. - ;;
  127214. - esac
  127215. - if test -n "$i" ; then
  127216. - tmp_libs="$tmp_libs $i"
  127217. - fi
  127218. - done
  127219. - dependency_libs=$tmp_libs
  127220. - done # for pass
  127221. - if test "$linkmode" = prog; then
  127222. - dlfiles="$newdlfiles"
  127223. - dlprefiles="$newdlprefiles"
  127224. + $ECHO "\
  127225. +#! $SHELL
  127226. +
  127227. +# $output - temporary wrapper script for $objdir/$outputname
  127228. +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  127229. +#
  127230. +# The $output program cannot be directly executed until all the libtool
  127231. +# libraries that it depends on are installed.
  127232. +#
  127233. +# This wrapper script should never be moved out of the build directory.
  127234. +# If it is, it will not operate correctly.
  127235. +
  127236. +# Sed substitution that helps us do robust quoting. It backslashifies
  127237. +# metacharacters that are still active within double-quoted strings.
  127238. +Xsed='${SED} -e 1s/^X//'
  127239. +sed_quote_subst='$sed_quote_subst'
  127240. +
  127241. +# Be Bourne compatible
  127242. +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
  127243. + emulate sh
  127244. + NULLCMD=:
  127245. + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
  127246. + # is contrary to our usage. Disable this feature.
  127247. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  127248. + setopt NO_GLOB_SUBST
  127249. +else
  127250. + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
  127251. +fi
  127252. +BIN_SH=xpg4; export BIN_SH # for Tru64
  127253. +DUALCASE=1; export DUALCASE # for MKS sh
  127254. +
  127255. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  127256. +# if CDPATH is set.
  127257. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  127258. +
  127259. +relink_command=\"$relink_command\"
  127260. +
  127261. +# This environment variable determines our operation mode.
  127262. +if test \"\$libtool_install_magic\" = \"$magic\"; then
  127263. + # install mode needs the following variables:
  127264. + generated_by_libtool_version='$macro_version'
  127265. + notinst_deplibs='$notinst_deplibs'
  127266. +else
  127267. + # When we are sourced in execute mode, \$file and \$ECHO are already set.
  127268. + if test \"\$libtool_execute_magic\" != \"$magic\"; then
  127269. + ECHO=\"$qecho\"
  127270. + file=\"\$0\"
  127271. + # Make sure echo works.
  127272. + if test \"X\$1\" = X--no-reexec; then
  127273. + # Discard the --no-reexec flag, and continue.
  127274. + shift
  127275. + elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
  127276. + # Yippee, \$ECHO works!
  127277. + :
  127278. + else
  127279. + # Restart under the correct shell, and then maybe \$ECHO will work.
  127280. + exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
  127281. fi
  127282. + fi\
  127283. +"
  127284. + $ECHO "\
  127285. - case $linkmode in
  127286. - oldlib)
  127287. - case " $deplibs" in
  127288. - *\ -l* | *\ -L*)
  127289. - $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 ;;
  127290. + # Find the directory that this script lives in.
  127291. + thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
  127292. + test \"x\$thisdir\" = \"x\$file\" && thisdir=.
  127293. +
  127294. + # Follow symbolic links until we get to the real thisdir.
  127295. + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
  127296. + while test -n \"\$file\"; do
  127297. + destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
  127298. +
  127299. + # If there was a directory component, then change thisdir.
  127300. + if test \"x\$destdir\" != \"x\$file\"; then
  127301. + case \"\$destdir\" in
  127302. + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
  127303. + *) thisdir=\"\$thisdir/\$destdir\" ;;
  127304. esac
  127305. + fi
  127306. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  127307. - $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
  127308. - fi
  127309. + file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
  127310. + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
  127311. + done
  127312. +"
  127313. +}
  127314. +# end: func_emit_wrapper_part1
  127315. - if test -n "$rpath"; then
  127316. - $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
  127317. - fi
  127318. +# func_emit_wrapper_part2 [arg=no]
  127319. +#
  127320. +# Emit the second part of a libtool wrapper script on stdout.
  127321. +# For more information, see the description associated with
  127322. +# func_emit_wrapper(), below.
  127323. +func_emit_wrapper_part2 ()
  127324. +{
  127325. + func_emit_wrapper_part2_arg1=no
  127326. + if test -n "$1" ; then
  127327. + func_emit_wrapper_part2_arg1=$1
  127328. + fi
  127329. +
  127330. + $ECHO "\
  127331. +
  127332. + # Usually 'no', except on cygwin/mingw when embedded into
  127333. + # the cwrapper.
  127334. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
  127335. + if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
  127336. + # special case for '.'
  127337. + if test \"\$thisdir\" = \".\"; then
  127338. + thisdir=\`pwd\`
  127339. + fi
  127340. + # remove .libs from thisdir
  127341. + case \"\$thisdir\" in
  127342. + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
  127343. + $objdir ) thisdir=. ;;
  127344. + esac
  127345. + fi
  127346. - if test -n "$xrpath"; then
  127347. - $echo "$modename: warning: \`-R' is ignored for archives" 1>&2
  127348. - fi
  127349. + # Try to get the absolute directory name.
  127350. + absdir=\`cd \"\$thisdir\" && pwd\`
  127351. + test -n \"\$absdir\" && thisdir=\"\$absdir\"
  127352. +"
  127353. - if test -n "$vinfo"; then
  127354. - $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
  127355. - fi
  127356. + if test "$fast_install" = yes; then
  127357. + $ECHO "\
  127358. + program=lt-'$outputname'$exeext
  127359. + progdir=\"\$thisdir/$objdir\"
  127360. - if test -n "$release"; then
  127361. - $echo "$modename: warning: \`-release' is ignored for archives" 1>&2
  127362. - fi
  127363. + if test ! -f \"\$progdir/\$program\" ||
  127364. + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
  127365. + test \"X\$file\" != \"X\$progdir/\$program\"; }; then
  127366. - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
  127367. - $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
  127368. - fi
  127369. + file=\"\$\$-\$program\"
  127370. - # Now set the variables for building old libraries.
  127371. - build_libtool_libs=no
  127372. - oldlibs="$output"
  127373. - objs="$objs$old_deplibs"
  127374. - ;;
  127375. + if test ! -d \"\$progdir\"; then
  127376. + $MKDIR \"\$progdir\"
  127377. + else
  127378. + $RM \"\$progdir/\$file\"
  127379. + fi"
  127380. - lib)
  127381. - # Make sure we only generate libraries of the form `libNAME.la'.
  127382. - case $outputname in
  127383. - lib*)
  127384. - name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
  127385. - eval shared_ext=\"$shrext_cmds\"
  127386. - eval libname=\"$libname_spec\"
  127387. - ;;
  127388. - *)
  127389. - if test "$module" = no; then
  127390. - $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
  127391. - $echo "$help" 1>&2
  127392. - exit $EXIT_FAILURE
  127393. - fi
  127394. - if test "$need_lib_prefix" != no; then
  127395. - # Add the "lib" prefix for modules if required
  127396. - name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
  127397. - eval shared_ext=\"$shrext_cmds\"
  127398. - eval libname=\"$libname_spec\"
  127399. - else
  127400. - libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
  127401. - fi
  127402. - ;;
  127403. - esac
  127404. + $ECHO "\
  127405. - if test -n "$objs"; then
  127406. - if test "$deplibs_check_method" != pass_all; then
  127407. - $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
  127408. - exit $EXIT_FAILURE
  127409. + # relink executable if necessary
  127410. + if test -n \"\$relink_command\"; then
  127411. + if relink_command_output=\`eval \$relink_command 2>&1\`; then :
  127412. + else
  127413. + $ECHO \"\$relink_command_output\" >&2
  127414. + $RM \"\$progdir/\$file\"
  127415. + exit 1
  127416. + fi
  127417. + fi
  127418. +
  127419. + $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
  127420. + { $RM \"\$progdir/\$program\";
  127421. + $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
  127422. + $RM \"\$progdir/\$file\"
  127423. + fi"
  127424. else
  127425. - $echo
  127426. - $echo "*** Warning: Linking the shared library $output against the non-libtool"
  127427. - $echo "*** objects $objs is not portable!"
  127428. - libobjs="$libobjs $objs"
  127429. + $ECHO "\
  127430. + program='$outputname'
  127431. + progdir=\"\$thisdir/$objdir\"
  127432. +"
  127433. fi
  127434. - fi
  127435. - if test "$dlself" != no; then
  127436. - $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
  127437. - fi
  127438. + $ECHO "\
  127439. - set dummy $rpath
  127440. - if test "$#" -gt 2; then
  127441. - $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
  127442. - fi
  127443. - install_libdir="$2"
  127444. + if test -f \"\$progdir/\$program\"; then"
  127445. - oldlibs=
  127446. - if test -z "$rpath"; then
  127447. - if test "$build_libtool_libs" = yes; then
  127448. - # Building a libtool convenience library.
  127449. - # Some compilers have problems with a `.al' extension so
  127450. - # convenience libraries should have the same extension an
  127451. - # archive normally would.
  127452. - oldlibs="$output_objdir/$libname.$libext $oldlibs"
  127453. - build_libtool_libs=convenience
  127454. - build_old_libs=yes
  127455. - fi
  127456. + # Export our shlibpath_var if we have one.
  127457. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  127458. + $ECHO "\
  127459. + # Add our own library path to $shlibpath_var
  127460. + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
  127461. - if test -n "$vinfo"; then
  127462. - $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
  127463. - fi
  127464. + # Some systems cannot cope with colon-terminated $shlibpath_var
  127465. + # The second colon is a workaround for a bug in BeOS R4 sed
  127466. + $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
  127467. - if test -n "$release"; then
  127468. - $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2
  127469. + export $shlibpath_var
  127470. +"
  127471. fi
  127472. - else
  127473. -
  127474. - # Parse the version information argument.
  127475. - save_ifs="$IFS"; IFS=':'
  127476. - set dummy $vinfo 0 0 0
  127477. - IFS="$save_ifs"
  127478. - if test -n "$8"; then
  127479. - $echo "$modename: too many parameters to \`-version-info'" 1>&2
  127480. - $echo "$help" 1>&2
  127481. - exit $EXIT_FAILURE
  127482. + # fixup the dll searchpath if we need to.
  127483. + if test -n "$dllsearchpath"; then
  127484. + $ECHO "\
  127485. + # Add the dll search path components to the executable PATH
  127486. + PATH=$dllsearchpath:\$PATH
  127487. +"
  127488. fi
  127489. - # convert absolute version numbers to libtool ages
  127490. - # this retains compatibility with .la files and attempts
  127491. - # to make the code below a bit more comprehensible
  127492. + $ECHO "\
  127493. + if test \"\$libtool_execute_magic\" != \"$magic\"; then
  127494. + # Run the actual program with our arguments.
  127495. +"
  127496. + case $host in
  127497. + # Backslashes separate directories on plain windows
  127498. + *-*-mingw | *-*-os2* | *-cegcc*)
  127499. + $ECHO "\
  127500. + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
  127501. +"
  127502. + ;;
  127503. - case $vinfo_number in
  127504. - yes)
  127505. - number_major="$2"
  127506. - number_minor="$3"
  127507. - number_revision="$4"
  127508. - #
  127509. - # There are really only two kinds -- those that
  127510. - # use the current revision as the major version
  127511. - # and those that subtract age and use age as
  127512. - # a minor version. But, then there is irix
  127513. - # which has an extra 1 added just for fun
  127514. - #
  127515. - case $version_type in
  127516. - darwin|linux|osf|windows|none)
  127517. - current=`expr $number_major + $number_minor`
  127518. - age="$number_minor"
  127519. - revision="$number_revision"
  127520. - ;;
  127521. - freebsd-aout|freebsd-elf|sunos)
  127522. - current="$number_major"
  127523. - revision="$number_minor"
  127524. - age="0"
  127525. - ;;
  127526. - irix|nonstopux)
  127527. - current=`expr $number_major + $number_minor`
  127528. - age="$number_minor"
  127529. - revision="$number_minor"
  127530. - lt_irix_increment=no
  127531. - ;;
  127532. - esac
  127533. - ;;
  127534. - no)
  127535. - current="$2"
  127536. - revision="$3"
  127537. - age="$4"
  127538. - ;;
  127539. - esac
  127540. -
  127541. - # Check that each of the things are valid numbers.
  127542. - case $current in
  127543. - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  127544. - *)
  127545. - $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
  127546. - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  127547. - exit $EXIT_FAILURE
  127548. - ;;
  127549. - esac
  127550. -
  127551. - case $revision in
  127552. - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  127553. *)
  127554. - $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
  127555. - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  127556. - exit $EXIT_FAILURE
  127557. + $ECHO "\
  127558. + exec \"\$progdir/\$program\" \${1+\"\$@\"}
  127559. +"
  127560. ;;
  127561. esac
  127562. + $ECHO "\
  127563. + \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
  127564. + exit 1
  127565. + fi
  127566. + else
  127567. + # The program doesn't exist.
  127568. + \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
  127569. + \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
  127570. + $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
  127571. + exit 1
  127572. + fi
  127573. +fi\
  127574. +"
  127575. +}
  127576. +# end: func_emit_wrapper_part2
  127577. - case $age in
  127578. - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  127579. - *)
  127580. - $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
  127581. - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  127582. - exit $EXIT_FAILURE
  127583. - ;;
  127584. - esac
  127585. - if test "$age" -gt "$current"; then
  127586. - $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
  127587. - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  127588. - exit $EXIT_FAILURE
  127589. +# func_emit_wrapper [arg=no]
  127590. +#
  127591. +# Emit a libtool wrapper script on stdout.
  127592. +# Don't directly open a file because we may want to
  127593. +# incorporate the script contents within a cygwin/mingw
  127594. +# wrapper executable. Must ONLY be called from within
  127595. +# func_mode_link because it depends on a number of variables
  127596. +# set therein.
  127597. +#
  127598. +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
  127599. +# variable will take. If 'yes', then the emitted script
  127600. +# will assume that the directory in which it is stored is
  127601. +# the $objdir directory. This is a cygwin/mingw-specific
  127602. +# behavior.
  127603. +func_emit_wrapper ()
  127604. +{
  127605. + func_emit_wrapper_arg1=no
  127606. + if test -n "$1" ; then
  127607. + func_emit_wrapper_arg1=$1
  127608. fi
  127609. - # Calculate the version variables.
  127610. - major=
  127611. - versuffix=
  127612. - verstring=
  127613. - case $version_type in
  127614. - none) ;;
  127615. + # split this up so that func_emit_cwrapperexe_src
  127616. + # can call each part independently.
  127617. + func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
  127618. + func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
  127619. +}
  127620. - darwin)
  127621. - # Like Linux, but with the current version available in
  127622. - # verstring for coding it into the library header
  127623. - major=.`expr $current - $age`
  127624. - versuffix="$major.$age.$revision"
  127625. - # Darwin ld doesn't like 0 for these options...
  127626. - minor_current=`expr $current + 1`
  127627. - xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
  127628. - verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
  127629. - ;;
  127630. - freebsd-aout)
  127631. - major=".$current"
  127632. - versuffix=".$current.$revision";
  127633. - ;;
  127634. +# func_to_host_path arg
  127635. +#
  127636. +# Convert paths to host format when used with build tools.
  127637. +# Intended for use with "native" mingw (where libtool itself
  127638. +# is running under the msys shell), or in the following cross-
  127639. +# build environments:
  127640. +# $build $host
  127641. +# mingw (msys) mingw [e.g. native]
  127642. +# cygwin mingw
  127643. +# *nix + wine mingw
  127644. +# where wine is equipped with the `winepath' executable.
  127645. +# In the native mingw case, the (msys) shell automatically
  127646. +# converts paths for any non-msys applications it launches,
  127647. +# but that facility isn't available from inside the cwrapper.
  127648. +# Similar accommodations are necessary for $host mingw and
  127649. +# $build cygwin. Calling this function does no harm for other
  127650. +# $host/$build combinations not listed above.
  127651. +#
  127652. +# ARG is the path (on $build) that should be converted to
  127653. +# the proper representation for $host. The result is stored
  127654. +# in $func_to_host_path_result.
  127655. +func_to_host_path ()
  127656. +{
  127657. + func_to_host_path_result="$1"
  127658. + if test -n "$1" ; then
  127659. + case $host in
  127660. + *mingw* )
  127661. + lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  127662. + case $build in
  127663. + *mingw* ) # actually, msys
  127664. + # awkward: cmd appends spaces to result
  127665. + lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  127666. + func_to_host_path_tmp1=`( cmd //c echo "$1" |\
  127667. + $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  127668. + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  127669. + $SED -e "$lt_sed_naive_backslashify"`
  127670. + ;;
  127671. + *cygwin* )
  127672. + func_to_host_path_tmp1=`cygpath -w "$1"`
  127673. + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  127674. + $SED -e "$lt_sed_naive_backslashify"`
  127675. + ;;
  127676. + * )
  127677. + # Unfortunately, winepath does not exit with a non-zero
  127678. + # error code, so we are forced to check the contents of
  127679. + # stdout. On the other hand, if the command is not
  127680. + # found, the shell will set an exit code of 127 and print
  127681. + # *an error message* to stdout. So we must check for both
  127682. + # error code of zero AND non-empty stdout, which explains
  127683. + # the odd construction:
  127684. + func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
  127685. + if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
  127686. + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  127687. + $SED -e "$lt_sed_naive_backslashify"`
  127688. + else
  127689. + # Allow warning below.
  127690. + func_to_host_path_result=""
  127691. + fi
  127692. + ;;
  127693. + esac
  127694. + if test -z "$func_to_host_path_result" ; then
  127695. + func_error "Could not determine host path corresponding to"
  127696. + func_error " '$1'"
  127697. + func_error "Continuing, but uninstalled executables may not work."
  127698. + # Fallback:
  127699. + func_to_host_path_result="$1"
  127700. + fi
  127701. + ;;
  127702. + esac
  127703. + fi
  127704. +}
  127705. +# end: func_to_host_path
  127706. - freebsd-elf)
  127707. - major=".$current"
  127708. - versuffix=".$current";
  127709. - ;;
  127710. +# func_to_host_pathlist arg
  127711. +#
  127712. +# Convert pathlists to host format when used with build tools.
  127713. +# See func_to_host_path(), above. This function supports the
  127714. +# following $build/$host combinations (but does no harm for
  127715. +# combinations not listed here):
  127716. +# $build $host
  127717. +# mingw (msys) mingw [e.g. native]
  127718. +# cygwin mingw
  127719. +# *nix + wine mingw
  127720. +#
  127721. +# Path separators are also converted from $build format to
  127722. +# $host format. If ARG begins or ends with a path separator
  127723. +# character, it is preserved (but converted to $host format)
  127724. +# on output.
  127725. +#
  127726. +# ARG is a pathlist (on $build) that should be converted to
  127727. +# the proper representation on $host. The result is stored
  127728. +# in $func_to_host_pathlist_result.
  127729. +func_to_host_pathlist ()
  127730. +{
  127731. + func_to_host_pathlist_result="$1"
  127732. + if test -n "$1" ; then
  127733. + case $host in
  127734. + *mingw* )
  127735. + lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  127736. + # Remove leading and trailing path separator characters from
  127737. + # ARG. msys behavior is inconsistent here, cygpath turns them
  127738. + # into '.;' and ';.', and winepath ignores them completely.
  127739. + func_to_host_pathlist_tmp2="$1"
  127740. + # Once set for this call, this variable should not be
  127741. + # reassigned. It is used in tha fallback case.
  127742. + func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
  127743. + $SED -e 's|^:*||' -e 's|:*$||'`
  127744. + case $build in
  127745. + *mingw* ) # Actually, msys.
  127746. + # Awkward: cmd appends spaces to result.
  127747. + lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  127748. + func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
  127749. + $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  127750. + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  127751. + $SED -e "$lt_sed_naive_backslashify"`
  127752. + ;;
  127753. + *cygwin* )
  127754. + func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
  127755. + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  127756. + $SED -e "$lt_sed_naive_backslashify"`
  127757. + ;;
  127758. + * )
  127759. + # unfortunately, winepath doesn't convert pathlists
  127760. + func_to_host_pathlist_result=""
  127761. + func_to_host_pathlist_oldIFS=$IFS
  127762. + IFS=:
  127763. + for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do
  127764. + IFS=$func_to_host_pathlist_oldIFS
  127765. + if test -n "$func_to_host_pathlist_f" ; then
  127766. + func_to_host_path "$func_to_host_pathlist_f"
  127767. + if test -n "$func_to_host_path_result" ; then
  127768. + if test -z "$func_to_host_pathlist_result" ; then
  127769. + func_to_host_pathlist_result="$func_to_host_path_result"
  127770. + else
  127771. + func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
  127772. + fi
  127773. + fi
  127774. + fi
  127775. + IFS=:
  127776. + done
  127777. + IFS=$func_to_host_pathlist_oldIFS
  127778. + ;;
  127779. + esac
  127780. + if test -z "$func_to_host_pathlist_result" ; then
  127781. + func_error "Could not determine the host path(s) corresponding to"
  127782. + func_error " '$1'"
  127783. + func_error "Continuing, but uninstalled executables may not work."
  127784. + # Fallback. This may break if $1 contains DOS-style drive
  127785. + # specifications. The fix is not to complicate the expression
  127786. + # below, but for the user to provide a working wine installation
  127787. + # with winepath so that path translation in the cross-to-mingw
  127788. + # case works properly.
  127789. + lt_replace_pathsep_nix_to_dos="s|:|;|g"
  127790. + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\
  127791. + $SED -e "$lt_replace_pathsep_nix_to_dos"`
  127792. + fi
  127793. + # Now, add the leading and trailing path separators back
  127794. + case "$1" in
  127795. + :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result"
  127796. + ;;
  127797. + esac
  127798. + case "$1" in
  127799. + *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
  127800. + ;;
  127801. + esac
  127802. + ;;
  127803. + esac
  127804. + fi
  127805. +}
  127806. +# end: func_to_host_pathlist
  127807. - irix | nonstopux)
  127808. - if test "X$lt_irix_increment" = "Xno"; then
  127809. - major=`expr $current - $age`
  127810. - else
  127811. - major=`expr $current - $age + 1`
  127812. - fi
  127813. - case $version_type in
  127814. - nonstopux) verstring_prefix=nonstopux ;;
  127815. - *) verstring_prefix=sgi ;;
  127816. - esac
  127817. - verstring="$verstring_prefix$major.$revision"
  127818. +# func_emit_cwrapperexe_src
  127819. +# emit the source code for a wrapper executable on stdout
  127820. +# Must ONLY be called from within func_mode_link because
  127821. +# it depends on a number of variable set therein.
  127822. +func_emit_cwrapperexe_src ()
  127823. +{
  127824. + cat <<EOF
  127825. - # Add in all the interfaces that we are compatible with.
  127826. - loop=$revision
  127827. - while test "$loop" -ne 0; do
  127828. - iface=`expr $revision - $loop`
  127829. - loop=`expr $loop - 1`
  127830. - verstring="$verstring_prefix$major.$iface:$verstring"
  127831. - done
  127832. +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
  127833. + Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  127834. - # Before this point, $major must not contain `.'.
  127835. - major=.$major
  127836. - versuffix="$major.$revision"
  127837. - ;;
  127838. + The $output program cannot be directly executed until all the libtool
  127839. + libraries that it depends on are installed.
  127840. - linux)
  127841. - major=.`expr $current - $age`
  127842. - versuffix="$major.$age.$revision"
  127843. - ;;
  127844. + This wrapper executable should never be moved out of the build directory.
  127845. + If it is, it will not operate correctly.
  127846. - osf)
  127847. - major=.`expr $current - $age`
  127848. - versuffix=".$current.$age.$revision"
  127849. - verstring="$current.$age.$revision"
  127850. + Currently, it simply execs the wrapper *script* "$SHELL $output",
  127851. + but could eventually absorb all of the scripts functionality and
  127852. + exec $objdir/$outputname directly.
  127853. +*/
  127854. +EOF
  127855. + cat <<"EOF"
  127856. +#include <stdio.h>
  127857. +#include <stdlib.h>
  127858. +#ifdef _MSC_VER
  127859. +# include <direct.h>
  127860. +# include <process.h>
  127861. +# include <io.h>
  127862. +# define setmode _setmode
  127863. +#else
  127864. +# include <unistd.h>
  127865. +# include <stdint.h>
  127866. +# ifdef __CYGWIN__
  127867. +# include <io.h>
  127868. +# define HAVE_SETENV
  127869. +# ifdef __STRICT_ANSI__
  127870. +char *realpath (const char *, char *);
  127871. +int putenv (char *);
  127872. +int setenv (const char *, const char *, int);
  127873. +# endif
  127874. +# endif
  127875. +#endif
  127876. +#include <malloc.h>
  127877. +#include <stdarg.h>
  127878. +#include <assert.h>
  127879. +#include <string.h>
  127880. +#include <ctype.h>
  127881. +#include <errno.h>
  127882. +#include <fcntl.h>
  127883. +#include <sys/stat.h>
  127884. - # Add in all the interfaces that we are compatible with.
  127885. - loop=$age
  127886. - while test "$loop" -ne 0; do
  127887. - iface=`expr $current - $loop`
  127888. - loop=`expr $loop - 1`
  127889. - verstring="$verstring:${iface}.0"
  127890. - done
  127891. +#if defined(PATH_MAX)
  127892. +# define LT_PATHMAX PATH_MAX
  127893. +#elif defined(MAXPATHLEN)
  127894. +# define LT_PATHMAX MAXPATHLEN
  127895. +#else
  127896. +# define LT_PATHMAX 1024
  127897. +#endif
  127898. - # Make executables depend on our current version.
  127899. - verstring="$verstring:${current}.0"
  127900. - ;;
  127901. +#ifndef S_IXOTH
  127902. +# define S_IXOTH 0
  127903. +#endif
  127904. +#ifndef S_IXGRP
  127905. +# define S_IXGRP 0
  127906. +#endif
  127907. - sunos)
  127908. - major=".$current"
  127909. - versuffix=".$current.$revision"
  127910. - ;;
  127911. +#ifdef _MSC_VER
  127912. +# define S_IXUSR _S_IEXEC
  127913. +# define stat _stat
  127914. +# ifndef _INTPTR_T_DEFINED
  127915. +# define intptr_t int
  127916. +# endif
  127917. +#endif
  127918. - windows)
  127919. - # Use '-' rather than '.', since we only want one
  127920. - # extension on DOS 8.3 filesystems.
  127921. - major=`expr $current - $age`
  127922. - versuffix="-$major"
  127923. - ;;
  127924. +#ifndef DIR_SEPARATOR
  127925. +# define DIR_SEPARATOR '/'
  127926. +# define PATH_SEPARATOR ':'
  127927. +#endif
  127928. - *)
  127929. - $echo "$modename: unknown library version type \`$version_type'" 1>&2
  127930. - $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
  127931. - exit $EXIT_FAILURE
  127932. - ;;
  127933. - esac
  127934. +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
  127935. + defined (__OS2__)
  127936. +# define HAVE_DOS_BASED_FILE_SYSTEM
  127937. +# define FOPEN_WB "wb"
  127938. +# ifndef DIR_SEPARATOR_2
  127939. +# define DIR_SEPARATOR_2 '\\'
  127940. +# endif
  127941. +# ifndef PATH_SEPARATOR_2
  127942. +# define PATH_SEPARATOR_2 ';'
  127943. +# endif
  127944. +#endif
  127945. - # Clear the version info if we defaulted, and they specified a release.
  127946. - if test -z "$vinfo" && test -n "$release"; then
  127947. - major=
  127948. - case $version_type in
  127949. - darwin)
  127950. - # we can't check for "0.0" in archive_cmds due to quoting
  127951. - # problems, so we reset it completely
  127952. - verstring=
  127953. - ;;
  127954. - *)
  127955. - verstring="0.0"
  127956. - ;;
  127957. - esac
  127958. - if test "$need_version" = no; then
  127959. - versuffix=
  127960. - else
  127961. - versuffix=".0.0"
  127962. - fi
  127963. - fi
  127964. +#ifndef DIR_SEPARATOR_2
  127965. +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
  127966. +#else /* DIR_SEPARATOR_2 */
  127967. +# define IS_DIR_SEPARATOR(ch) \
  127968. + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
  127969. +#endif /* DIR_SEPARATOR_2 */
  127970. - # Remove version info from name if versioning should be avoided
  127971. - if test "$avoid_version" = yes && test "$need_version" = no; then
  127972. - major=
  127973. - versuffix=
  127974. - verstring=""
  127975. - fi
  127976. +#ifndef PATH_SEPARATOR_2
  127977. +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
  127978. +#else /* PATH_SEPARATOR_2 */
  127979. +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
  127980. +#endif /* PATH_SEPARATOR_2 */
  127981. - # Check to see if the archive will have undefined symbols.
  127982. - if test "$allow_undefined" = yes; then
  127983. - if test "$allow_undefined_flag" = unsupported; then
  127984. - $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2
  127985. - build_libtool_libs=no
  127986. - build_old_libs=yes
  127987. - fi
  127988. - else
  127989. - # Don't allow undefined symbols.
  127990. - allow_undefined_flag="$no_undefined_flag"
  127991. - fi
  127992. - fi
  127993. +#ifdef __CYGWIN__
  127994. +# define FOPEN_WB "wb"
  127995. +#endif
  127996. - if test "$mode" != relink; then
  127997. - # Remove our outputs, but don't remove object files since they
  127998. - # may have been created when compiling PIC objects.
  127999. - removelist=
  128000. - tempremovelist=`$echo "$output_objdir/*"`
  128001. - for p in $tempremovelist; do
  128002. - case $p in
  128003. - *.$objext)
  128004. - ;;
  128005. - $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
  128006. - if test "X$precious_files_regex" != "X"; then
  128007. - if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
  128008. - then
  128009. - continue
  128010. - fi
  128011. - fi
  128012. - removelist="$removelist $p"
  128013. - ;;
  128014. - *) ;;
  128015. - esac
  128016. - done
  128017. - if test -n "$removelist"; then
  128018. - $show "${rm}r $removelist"
  128019. - $run ${rm}r $removelist
  128020. - fi
  128021. - fi
  128022. +#ifndef FOPEN_WB
  128023. +# define FOPEN_WB "w"
  128024. +#endif
  128025. +#ifndef _O_BINARY
  128026. +# define _O_BINARY 0
  128027. +#endif
  128028. - # Now set the variables for building old libraries.
  128029. - if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
  128030. - oldlibs="$oldlibs $output_objdir/$libname.$libext"
  128031. +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
  128032. +#define XFREE(stale) do { \
  128033. + if (stale) { free ((void *) stale); stale = 0; } \
  128034. +} while (0)
  128035. - # Transform .lo files to .o files.
  128036. - oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
  128037. - fi
  128038. +#undef LTWRAPPER_DEBUGPRINTF
  128039. +#if defined DEBUGWRAPPER
  128040. +# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
  128041. +static void
  128042. +ltwrapper_debugprintf (const char *fmt, ...)
  128043. +{
  128044. + va_list args;
  128045. + va_start (args, fmt);
  128046. + (void) vfprintf (stderr, fmt, args);
  128047. + va_end (args);
  128048. +}
  128049. +#else
  128050. +# define LTWRAPPER_DEBUGPRINTF(args)
  128051. +#endif
  128052. - # Eliminate all temporary directories.
  128053. - #for path in $notinst_path; do
  128054. - # lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
  128055. - # deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
  128056. - # dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
  128057. - #done
  128058. +const char *program_name = NULL;
  128059. - if test -n "$xrpath"; then
  128060. - # If the user specified any rpath flags, then add them.
  128061. - temp_xrpath=
  128062. - for libdir in $xrpath; do
  128063. - temp_xrpath="$temp_xrpath -R$libdir"
  128064. - case "$finalize_rpath " in
  128065. - *" $libdir "*) ;;
  128066. - *) finalize_rpath="$finalize_rpath $libdir" ;;
  128067. - esac
  128068. - done
  128069. - if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
  128070. - dependency_libs="$temp_xrpath $dependency_libs"
  128071. - fi
  128072. - fi
  128073. +void *xmalloc (size_t num);
  128074. +char *xstrdup (const char *string);
  128075. +const char *base_name (const char *name);
  128076. +char *find_executable (const char *wrapper);
  128077. +char *chase_symlinks (const char *pathspec);
  128078. +int make_executable (const char *path);
  128079. +int check_executable (const char *path);
  128080. +char *strendzap (char *str, const char *pat);
  128081. +void lt_fatal (const char *message, ...);
  128082. +void lt_setenv (const char *name, const char *value);
  128083. +char *lt_extend_str (const char *orig_value, const char *add, int to_end);
  128084. +void lt_opt_process_env_set (const char *arg);
  128085. +void lt_opt_process_env_prepend (const char *arg);
  128086. +void lt_opt_process_env_append (const char *arg);
  128087. +int lt_split_name_value (const char *arg, char** name, char** value);
  128088. +void lt_update_exe_path (const char *name, const char *value);
  128089. +void lt_update_lib_path (const char *name, const char *value);
  128090. - # Make sure dlfiles contains only unique files that won't be dlpreopened
  128091. - old_dlfiles="$dlfiles"
  128092. - dlfiles=
  128093. - for lib in $old_dlfiles; do
  128094. - case " $dlprefiles $dlfiles " in
  128095. - *" $lib "*) ;;
  128096. - *) dlfiles="$dlfiles $lib" ;;
  128097. - esac
  128098. - done
  128099. +static const char *script_text_part1 =
  128100. +EOF
  128101. - # Make sure dlprefiles contains only unique files
  128102. - old_dlprefiles="$dlprefiles"
  128103. - dlprefiles=
  128104. - for lib in $old_dlprefiles; do
  128105. - case "$dlprefiles " in
  128106. - *" $lib "*) ;;
  128107. - *) dlprefiles="$dlprefiles $lib" ;;
  128108. - esac
  128109. - done
  128110. + func_emit_wrapper_part1 yes |
  128111. + $SED -e 's/\([\\"]\)/\\\1/g' \
  128112. + -e 's/^/ "/' -e 's/$/\\n"/'
  128113. + echo ";"
  128114. + cat <<EOF
  128115. - if test "$build_libtool_libs" = yes; then
  128116. - if test -n "$rpath"; then
  128117. - case $host in
  128118. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
  128119. - # these systems don't actually have a c library (as such)!
  128120. - ;;
  128121. - *-*-rhapsody* | *-*-darwin1.[012])
  128122. - # Rhapsody C library is in the System framework
  128123. - deplibs="$deplibs -framework System"
  128124. - ;;
  128125. - *-*-netbsd*)
  128126. - # Don't link with libc until the a.out ld.so is fixed.
  128127. - ;;
  128128. - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  128129. - # Do not include libc due to us having libc/libc_r.
  128130. - ;;
  128131. - *-*-sco3.2v5* | *-*-sco5v6*)
  128132. - # Causes problems with __ctype
  128133. - ;;
  128134. - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  128135. - # Compiler inserts libc in the correct place for threads to work
  128136. - ;;
  128137. - *)
  128138. - # Add libc to deplibs on all other systems if necessary.
  128139. - if test "$build_libtool_need_lc" = "yes"; then
  128140. - deplibs="$deplibs -lc"
  128141. - fi
  128142. - ;;
  128143. - esac
  128144. - fi
  128145. +static const char *script_text_part2 =
  128146. +EOF
  128147. + func_emit_wrapper_part2 yes |
  128148. + $SED -e 's/\([\\"]\)/\\\1/g' \
  128149. + -e 's/^/ "/' -e 's/$/\\n"/'
  128150. + echo ";"
  128151. +
  128152. + cat <<EOF
  128153. +const char * MAGIC_EXE = "$magic_exe";
  128154. +const char * LIB_PATH_VARNAME = "$shlibpath_var";
  128155. +EOF
  128156. - # Transform deplibs into only deplibs that can be linked in shared.
  128157. - name_save=$name
  128158. - libname_save=$libname
  128159. - release_save=$release
  128160. - versuffix_save=$versuffix
  128161. - major_save=$major
  128162. - # I'm not sure if I'm treating the release correctly. I think
  128163. - # release should show up in the -l (ie -lgmp5) so we don't want to
  128164. - # add it in twice. Is that correct?
  128165. - release=""
  128166. - versuffix=""
  128167. - major=""
  128168. - newdeplibs=
  128169. - droppeddeps=no
  128170. - case $deplibs_check_method in
  128171. - pass_all)
  128172. - # Don't check for shared/static. Everything works.
  128173. - # This might be a little naive. We might want to check
  128174. - # whether the library exists or not. But this is on
  128175. - # osf3 & osf4 and I'm not really sure... Just
  128176. - # implementing what was already the behavior.
  128177. - newdeplibs=$deplibs
  128178. - ;;
  128179. - test_compile)
  128180. - # This code stresses the "libraries are programs" paradigm to its
  128181. - # limits. Maybe even breaks it. We compile a program, linking it
  128182. - # against the deplibs as a proxy for the library. Then we can check
  128183. - # whether they linked in statically or dynamically with ldd.
  128184. - $rm conftest.c
  128185. - cat > conftest.c <<EOF
  128186. - int main() { return 0; }
  128187. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  128188. + func_to_host_pathlist "$temp_rpath"
  128189. + cat <<EOF
  128190. +const char * LIB_PATH_VALUE = "$func_to_host_pathlist_result";
  128191. EOF
  128192. - $rm conftest
  128193. - if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
  128194. - ldd_output=`ldd conftest`
  128195. - for i in $deplibs; do
  128196. - name=`expr $i : '-l\(.*\)'`
  128197. - # If $name is empty we are operating on a -L argument.
  128198. - if test "$name" != "" && test "$name" != "0"; then
  128199. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  128200. - case " $predeps $postdeps " in
  128201. - *" $i "*)
  128202. - newdeplibs="$newdeplibs $i"
  128203. - i=""
  128204. - ;;
  128205. - esac
  128206. - fi
  128207. - if test -n "$i" ; then
  128208. - libname=`eval \\$echo \"$libname_spec\"`
  128209. - deplib_matches=`eval \\$echo \"$library_names_spec\"`
  128210. - set dummy $deplib_matches
  128211. - deplib_match=$2
  128212. - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  128213. - newdeplibs="$newdeplibs $i"
  128214. - else
  128215. - droppeddeps=yes
  128216. - $echo
  128217. - $echo "*** Warning: dynamic linker does not accept needed library $i."
  128218. - $echo "*** I have the capability to make that library automatically link in when"
  128219. - $echo "*** you link to this library. But I can only do this if you have a"
  128220. - $echo "*** shared version of the library, which I believe you do not have"
  128221. - $echo "*** because a test_compile did reveal that the linker did not use it for"
  128222. - $echo "*** its dynamic dependency list that programs get resolved with at runtime."
  128223. - fi
  128224. - fi
  128225. - else
  128226. - newdeplibs="$newdeplibs $i"
  128227. - fi
  128228. - done
  128229. - else
  128230. - # Error occurred in the first compile. Let's try to salvage
  128231. - # the situation: Compile a separate program for each library.
  128232. - for i in $deplibs; do
  128233. - name=`expr $i : '-l\(.*\)'`
  128234. - # If $name is empty we are operating on a -L argument.
  128235. - if test "$name" != "" && test "$name" != "0"; then
  128236. - $rm conftest
  128237. - if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
  128238. - ldd_output=`ldd conftest`
  128239. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  128240. - case " $predeps $postdeps " in
  128241. - *" $i "*)
  128242. - newdeplibs="$newdeplibs $i"
  128243. - i=""
  128244. - ;;
  128245. - esac
  128246. - fi
  128247. - if test -n "$i" ; then
  128248. - libname=`eval \\$echo \"$libname_spec\"`
  128249. - deplib_matches=`eval \\$echo \"$library_names_spec\"`
  128250. - set dummy $deplib_matches
  128251. - deplib_match=$2
  128252. - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  128253. - newdeplibs="$newdeplibs $i"
  128254. - else
  128255. - droppeddeps=yes
  128256. - $echo
  128257. - $echo "*** Warning: dynamic linker does not accept needed library $i."
  128258. - $echo "*** I have the capability to make that library automatically link in when"
  128259. - $echo "*** you link to this library. But I can only do this if you have a"
  128260. - $echo "*** shared version of the library, which you do not appear to have"
  128261. - $echo "*** because a test_compile did reveal that the linker did not use this one"
  128262. - $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
  128263. - fi
  128264. - fi
  128265. - else
  128266. - droppeddeps=yes
  128267. - $echo
  128268. - $echo "*** Warning! Library $i is needed by this library but I was not able to"
  128269. - $echo "*** make it link in! You will probably need to install it or some"
  128270. - $echo "*** library that it depends on before this library will be fully"
  128271. - $echo "*** functional. Installing it before continuing would be even better."
  128272. - fi
  128273. - else
  128274. - newdeplibs="$newdeplibs $i"
  128275. - fi
  128276. - done
  128277. - fi
  128278. - ;;
  128279. - file_magic*)
  128280. - set dummy $deplibs_check_method
  128281. - file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
  128282. - for a_deplib in $deplibs; do
  128283. - name=`expr $a_deplib : '-l\(.*\)'`
  128284. - # If $name is empty we are operating on a -L argument.
  128285. - if test "$name" != "" && test "$name" != "0"; then
  128286. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  128287. - case " $predeps $postdeps " in
  128288. - *" $a_deplib "*)
  128289. - newdeplibs="$newdeplibs $a_deplib"
  128290. - a_deplib=""
  128291. - ;;
  128292. - esac
  128293. - fi
  128294. - if test -n "$a_deplib" ; then
  128295. - libname=`eval \\$echo \"$libname_spec\"`
  128296. - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  128297. - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  128298. - for potent_lib in $potential_libs; do
  128299. - # Follow soft links.
  128300. - if ls -lLd "$potent_lib" 2>/dev/null \
  128301. - | grep " -> " >/dev/null; then
  128302. - continue
  128303. - fi
  128304. - # The statement above tries to avoid entering an
  128305. - # endless loop below, in case of cyclic links.
  128306. - # We might still enter an endless loop, since a link
  128307. - # loop can be closed while we follow links,
  128308. - # but so what?
  128309. - potlib="$potent_lib"
  128310. - while test -h "$potlib" 2>/dev/null; do
  128311. - potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
  128312. - case $potliblink in
  128313. - [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
  128314. - *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
  128315. - esac
  128316. - done
  128317. - if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
  128318. - | ${SED} 10q \
  128319. - | $EGREP "$file_magic_regex" > /dev/null; then
  128320. - newdeplibs="$newdeplibs $a_deplib"
  128321. - a_deplib=""
  128322. - break 2
  128323. - fi
  128324. - done
  128325. - done
  128326. - fi
  128327. - if test -n "$a_deplib" ; then
  128328. - droppeddeps=yes
  128329. - $echo
  128330. - $echo "*** Warning: linker path does not have real file for library $a_deplib."
  128331. - $echo "*** I have the capability to make that library automatically link in when"
  128332. - $echo "*** you link to this library. But I can only do this if you have a"
  128333. - $echo "*** shared version of the library, which you do not appear to have"
  128334. - $echo "*** because I did check the linker path looking for a file starting"
  128335. - if test -z "$potlib" ; then
  128336. - $echo "*** with $libname but no candidates were found. (...for file magic test)"
  128337. - else
  128338. - $echo "*** with $libname and none of the candidates passed a file format test"
  128339. - $echo "*** using a file magic. Last file checked: $potlib"
  128340. - fi
  128341. - fi
  128342. else
  128343. - # Add a -L argument.
  128344. - newdeplibs="$newdeplibs $a_deplib"
  128345. + cat <<"EOF"
  128346. +const char * LIB_PATH_VALUE = "";
  128347. +EOF
  128348. fi
  128349. - done # Gone through all deplibs.
  128350. - ;;
  128351. - match_pattern*)
  128352. - set dummy $deplibs_check_method
  128353. - match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
  128354. - for a_deplib in $deplibs; do
  128355. - name=`expr $a_deplib : '-l\(.*\)'`
  128356. - # If $name is empty we are operating on a -L argument.
  128357. - if test -n "$name" && test "$name" != "0"; then
  128358. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  128359. - case " $predeps $postdeps " in
  128360. - *" $a_deplib "*)
  128361. - newdeplibs="$newdeplibs $a_deplib"
  128362. - a_deplib=""
  128363. - ;;
  128364. - esac
  128365. - fi
  128366. - if test -n "$a_deplib" ; then
  128367. - libname=`eval \\$echo \"$libname_spec\"`
  128368. - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  128369. - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  128370. - for potent_lib in $potential_libs; do
  128371. - potlib="$potent_lib" # see symlink-check above in file_magic test
  128372. - if eval $echo \"$potent_lib\" 2>/dev/null \
  128373. - | ${SED} 10q \
  128374. - | $EGREP "$match_pattern_regex" > /dev/null; then
  128375. - newdeplibs="$newdeplibs $a_deplib"
  128376. - a_deplib=""
  128377. - break 2
  128378. - fi
  128379. - done
  128380. - done
  128381. - fi
  128382. - if test -n "$a_deplib" ; then
  128383. - droppeddeps=yes
  128384. - $echo
  128385. - $echo "*** Warning: linker path does not have real file for library $a_deplib."
  128386. - $echo "*** I have the capability to make that library automatically link in when"
  128387. - $echo "*** you link to this library. But I can only do this if you have a"
  128388. - $echo "*** shared version of the library, which you do not appear to have"
  128389. - $echo "*** because I did check the linker path looking for a file starting"
  128390. - if test -z "$potlib" ; then
  128391. - $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
  128392. - else
  128393. - $echo "*** with $libname and none of the candidates passed a file format test"
  128394. - $echo "*** using a regex pattern. Last file checked: $potlib"
  128395. - fi
  128396. - fi
  128397. +
  128398. + if test -n "$dllsearchpath"; then
  128399. + func_to_host_pathlist "$dllsearchpath:"
  128400. + cat <<EOF
  128401. +const char * EXE_PATH_VARNAME = "PATH";
  128402. +const char * EXE_PATH_VALUE = "$func_to_host_pathlist_result";
  128403. +EOF
  128404. else
  128405. - # Add a -L argument.
  128406. - newdeplibs="$newdeplibs $a_deplib"
  128407. - fi
  128408. - done # Gone through all deplibs.
  128409. - ;;
  128410. - none | unknown | *)
  128411. - newdeplibs=""
  128412. - tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
  128413. - -e 's/ -[LR][^ ]*//g'`
  128414. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  128415. - for i in $predeps $postdeps ; do
  128416. - # can't use Xsed below, because $i might contain '/'
  128417. - tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
  128418. - done
  128419. - fi
  128420. - if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \
  128421. - | grep . >/dev/null; then
  128422. - $echo
  128423. - if test "X$deplibs_check_method" = "Xnone"; then
  128424. - $echo "*** Warning: inter-library dependencies are not supported in this platform."
  128425. - else
  128426. - $echo "*** Warning: inter-library dependencies are not known to be supported."
  128427. + cat <<"EOF"
  128428. +const char * EXE_PATH_VARNAME = "";
  128429. +const char * EXE_PATH_VALUE = "";
  128430. +EOF
  128431. fi
  128432. - $echo "*** All declared inter-library dependencies are being dropped."
  128433. - droppeddeps=yes
  128434. - fi
  128435. - ;;
  128436. - esac
  128437. - versuffix=$versuffix_save
  128438. - major=$major_save
  128439. - release=$release_save
  128440. - libname=$libname_save
  128441. - name=$name_save
  128442. - case $host in
  128443. - *-*-rhapsody* | *-*-darwin1.[012])
  128444. - # On Rhapsody replace the C library is the System framework
  128445. - newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
  128446. - ;;
  128447. - esac
  128448. -
  128449. - if test "$droppeddeps" = yes; then
  128450. - if test "$module" = yes; then
  128451. - $echo
  128452. - $echo "*** Warning: libtool could not satisfy all declared inter-library"
  128453. - $echo "*** dependencies of module $libname. Therefore, libtool will create"
  128454. - $echo "*** a static module, that should work as long as the dlopening"
  128455. - $echo "*** application is linked with the -dlopen flag."
  128456. - if test -z "$global_symbol_pipe"; then
  128457. - $echo
  128458. - $echo "*** However, this would only work if libtool was able to extract symbol"
  128459. - $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
  128460. - $echo "*** not find such a program. So, this module is probably useless."
  128461. - $echo "*** \`nm' from GNU binutils and a full rebuild may help."
  128462. - fi
  128463. - if test "$build_old_libs" = no; then
  128464. - oldlibs="$output_objdir/$libname.$libext"
  128465. - build_libtool_libs=module
  128466. - build_old_libs=yes
  128467. + if test "$fast_install" = yes; then
  128468. + cat <<EOF
  128469. +const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
  128470. +EOF
  128471. else
  128472. - build_libtool_libs=no
  128473. + cat <<EOF
  128474. +const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */
  128475. +EOF
  128476. fi
  128477. - else
  128478. - $echo "*** The inter-library dependencies that have been dropped here will be"
  128479. - $echo "*** automatically added whenever a program is linked with this library"
  128480. - $echo "*** or is declared to -dlopen it."
  128481. - if test "$allow_undefined" = no; then
  128482. - $echo
  128483. - $echo "*** Since this library must not contain undefined symbols,"
  128484. - $echo "*** because either the platform does not support them or"
  128485. - $echo "*** it was explicitly requested with -no-undefined,"
  128486. - $echo "*** libtool will only create a static version of it."
  128487. - if test "$build_old_libs" = no; then
  128488. - oldlibs="$output_objdir/$libname.$libext"
  128489. - build_libtool_libs=module
  128490. - build_old_libs=yes
  128491. - else
  128492. - build_libtool_libs=no
  128493. - fi
  128494. - fi
  128495. - fi
  128496. - fi
  128497. - # Done checking deplibs!
  128498. - deplibs=$newdeplibs
  128499. - fi
  128500. + cat <<"EOF"
  128501. - # move library search paths that coincide with paths to not yet
  128502. - # installed libraries to the beginning of the library search list
  128503. - new_libs=
  128504. - for path in $notinst_path; do
  128505. - case " $new_libs " in
  128506. - *" -L$path/$objdir "*) ;;
  128507. - *)
  128508. - case " $deplibs " in
  128509. - *" -L$path/$objdir "*)
  128510. - new_libs="$new_libs -L$path/$objdir" ;;
  128511. - esac
  128512. - ;;
  128513. - esac
  128514. - done
  128515. - for deplib in $deplibs; do
  128516. - case $deplib in
  128517. - -L*)
  128518. - case " $new_libs " in
  128519. - *" $deplib "*) ;;
  128520. - *) new_libs="$new_libs $deplib" ;;
  128521. - esac
  128522. - ;;
  128523. - *) new_libs="$new_libs $deplib" ;;
  128524. - esac
  128525. - done
  128526. - deplibs="$new_libs"
  128527. +#define LTWRAPPER_OPTION_PREFIX "--lt-"
  128528. +#define LTWRAPPER_OPTION_PREFIX_LENGTH 5
  128529. +static const size_t opt_prefix_len = LTWRAPPER_OPTION_PREFIX_LENGTH;
  128530. +static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
  128531. - # All the library-specific variables (install_libdir is set above).
  128532. - library_names=
  128533. - old_library=
  128534. - dlname=
  128535. +static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
  128536. - # Test again, we may have decided not to build it any more
  128537. - if test "$build_libtool_libs" = yes; then
  128538. - if test "$hardcode_into_libs" = yes; then
  128539. - # Hardcode the library paths
  128540. - hardcode_libdirs=
  128541. - dep_rpath=
  128542. - rpath="$finalize_rpath"
  128543. - test "$mode" != relink && rpath="$compile_rpath$rpath"
  128544. - for libdir in $rpath; do
  128545. - if test -n "$hardcode_libdir_flag_spec"; then
  128546. - if test -n "$hardcode_libdir_separator"; then
  128547. - if test -z "$hardcode_libdirs"; then
  128548. - hardcode_libdirs="$libdir"
  128549. - else
  128550. - # Just accumulate the unique libdirs.
  128551. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  128552. - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  128553. - ;;
  128554. - *)
  128555. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  128556. - ;;
  128557. - esac
  128558. - fi
  128559. - else
  128560. - eval flag=\"$hardcode_libdir_flag_spec\"
  128561. - dep_rpath="$dep_rpath $flag"
  128562. - fi
  128563. - elif test -n "$runpath_var"; then
  128564. - case "$perm_rpath " in
  128565. - *" $libdir "*) ;;
  128566. - *) perm_rpath="$perm_rpath $libdir" ;;
  128567. - esac
  128568. - fi
  128569. - done
  128570. - # Substitute the hardcoded libdirs into the rpath.
  128571. - if test -n "$hardcode_libdir_separator" &&
  128572. - test -n "$hardcode_libdirs"; then
  128573. - libdir="$hardcode_libdirs"
  128574. - if test -n "$hardcode_libdir_flag_spec_ld"; then
  128575. - case $archive_cmds in
  128576. - *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;;
  128577. - *) eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;;
  128578. - esac
  128579. - else
  128580. - eval dep_rpath=\"$hardcode_libdir_flag_spec\"
  128581. - fi
  128582. - fi
  128583. - if test -n "$runpath_var" && test -n "$perm_rpath"; then
  128584. - # We should set the runpath_var.
  128585. - rpath=
  128586. - for dir in $perm_rpath; do
  128587. - rpath="$rpath$dir:"
  128588. - done
  128589. - eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
  128590. - fi
  128591. - test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
  128592. - fi
  128593. +static const size_t env_set_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
  128594. +static const char *env_set_opt = LTWRAPPER_OPTION_PREFIX "env-set";
  128595. + /* argument is putenv-style "foo=bar", value of foo is set to bar */
  128596. - shlibpath="$finalize_shlibpath"
  128597. - test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
  128598. - if test -n "$shlibpath"; then
  128599. - eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
  128600. - fi
  128601. +static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
  128602. +static const char *env_prepend_opt = LTWRAPPER_OPTION_PREFIX "env-prepend";
  128603. + /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
  128604. - # Get the real and link names of the library.
  128605. - eval shared_ext=\"$shrext_cmds\"
  128606. - eval library_names=\"$library_names_spec\"
  128607. - set dummy $library_names
  128608. - realname="$2"
  128609. - shift; shift
  128610. +static const size_t env_append_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
  128611. +static const char *env_append_opt = LTWRAPPER_OPTION_PREFIX "env-append";
  128612. + /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
  128613. - if test -n "$soname_spec"; then
  128614. - eval soname=\"$soname_spec\"
  128615. - else
  128616. - soname="$realname"
  128617. - fi
  128618. - if test -z "$dlname"; then
  128619. - dlname=$soname
  128620. - fi
  128621. +int
  128622. +main (int argc, char *argv[])
  128623. +{
  128624. + char **newargz;
  128625. + int newargc;
  128626. + char *tmp_pathspec;
  128627. + char *actual_cwrapper_path;
  128628. + char *actual_cwrapper_name;
  128629. + char *target_name;
  128630. + char *lt_argv_zero;
  128631. + intptr_t rval = 127;
  128632. - lib="$output_objdir/$realname"
  128633. - linknames=
  128634. - for link
  128635. - do
  128636. - linknames="$linknames $link"
  128637. - done
  128638. + int i;
  128639. - # Use standard objects if they are pic
  128640. - test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  128641. + program_name = (char *) xstrdup (base_name (argv[0]));
  128642. + LTWRAPPER_DEBUGPRINTF (("(main) argv[0] : %s\n", argv[0]));
  128643. + LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
  128644. - # Prepare the list of exported symbols
  128645. - if test -z "$export_symbols"; then
  128646. - if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
  128647. - $show "generating symbol list for \`$libname.la'"
  128648. - export_symbols="$output_objdir/$libname.exp"
  128649. - $run $rm $export_symbols
  128650. - cmds=$export_symbols_cmds
  128651. - save_ifs="$IFS"; IFS='~'
  128652. - for cmd in $cmds; do
  128653. - IFS="$save_ifs"
  128654. - eval cmd=\"$cmd\"
  128655. - if len=`expr "X$cmd" : ".*"` &&
  128656. - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  128657. - $show "$cmd"
  128658. - $run eval "$cmd" || exit $?
  128659. - skipped_export=false
  128660. - else
  128661. - # The command line is too long to execute in one step.
  128662. - $show "using reloadable object file for export list..."
  128663. - skipped_export=:
  128664. - # Break out early, otherwise skipped_export may be
  128665. - # set to false by a later but shorter cmd.
  128666. - break
  128667. - fi
  128668. - done
  128669. - IFS="$save_ifs"
  128670. - if test -n "$export_symbols_regex"; then
  128671. - $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
  128672. - $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
  128673. - $show "$mv \"${export_symbols}T\" \"$export_symbols\""
  128674. - $run eval '$mv "${export_symbols}T" "$export_symbols"'
  128675. - fi
  128676. - fi
  128677. - fi
  128678. + /* very simple arg parsing; don't want to rely on getopt */
  128679. + for (i = 1; i < argc; i++)
  128680. + {
  128681. + if (strcmp (argv[i], dumpscript_opt) == 0)
  128682. + {
  128683. +EOF
  128684. + case "$host" in
  128685. + *mingw* | *cygwin* )
  128686. + # make stdout use "unix" line endings
  128687. + echo " setmode(1,_O_BINARY);"
  128688. + ;;
  128689. + esac
  128690. - if test -n "$export_symbols" && test -n "$include_expsyms"; then
  128691. - $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
  128692. - fi
  128693. + cat <<"EOF"
  128694. + printf ("%s", script_text_part1);
  128695. + printf ("%s", script_text_part2);
  128696. + return 0;
  128697. + }
  128698. + }
  128699. - tmp_deplibs=
  128700. - for test_deplib in $deplibs; do
  128701. - case " $convenience " in
  128702. - *" $test_deplib "*) ;;
  128703. - *)
  128704. - tmp_deplibs="$tmp_deplibs $test_deplib"
  128705. - ;;
  128706. - esac
  128707. - done
  128708. - deplibs="$tmp_deplibs"
  128709. + newargz = XMALLOC (char *, argc + 1);
  128710. + tmp_pathspec = find_executable (argv[0]);
  128711. + if (tmp_pathspec == NULL)
  128712. + lt_fatal ("Couldn't find %s", argv[0]);
  128713. + LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
  128714. + tmp_pathspec));
  128715. +
  128716. + actual_cwrapper_path = chase_symlinks (tmp_pathspec);
  128717. + LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
  128718. + actual_cwrapper_path));
  128719. + XFREE (tmp_pathspec);
  128720. +
  128721. + actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
  128722. + strendzap (actual_cwrapper_path, actual_cwrapper_name);
  128723. +
  128724. + /* wrapper name transforms */
  128725. + strendzap (actual_cwrapper_name, ".exe");
  128726. + tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1);
  128727. + XFREE (actual_cwrapper_name);
  128728. + actual_cwrapper_name = tmp_pathspec;
  128729. + tmp_pathspec = 0;
  128730. +
  128731. + /* target_name transforms -- use actual target program name; might have lt- prefix */
  128732. + target_name = xstrdup (base_name (TARGET_PROGRAM_NAME));
  128733. + strendzap (target_name, ".exe");
  128734. + tmp_pathspec = lt_extend_str (target_name, ".exe", 1);
  128735. + XFREE (target_name);
  128736. + target_name = tmp_pathspec;
  128737. + tmp_pathspec = 0;
  128738. - if test -n "$convenience"; then
  128739. - if test -n "$whole_archive_flag_spec"; then
  128740. - save_libobjs=$libobjs
  128741. - eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  128742. - else
  128743. - gentop="$output_objdir/${outputname}x"
  128744. - generated="$generated $gentop"
  128745. + LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
  128746. + target_name));
  128747. +EOF
  128748. - func_extract_archives $gentop $convenience
  128749. - libobjs="$libobjs $func_extract_archives_result"
  128750. - fi
  128751. - fi
  128752. -
  128753. - if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
  128754. - eval flag=\"$thread_safe_flag_spec\"
  128755. - linker_flags="$linker_flags $flag"
  128756. - fi
  128757. + cat <<EOF
  128758. + newargz[0] =
  128759. + XMALLOC (char, (strlen (actual_cwrapper_path) +
  128760. + strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1));
  128761. + strcpy (newargz[0], actual_cwrapper_path);
  128762. + strcat (newargz[0], "$objdir");
  128763. + strcat (newargz[0], "/");
  128764. +EOF
  128765. - # Make a backup of the uninstalled library when relinking
  128766. - if test "$mode" = relink; then
  128767. - $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
  128768. - fi
  128769. + cat <<"EOF"
  128770. + /* stop here, and copy so we don't have to do this twice */
  128771. + tmp_pathspec = xstrdup (newargz[0]);
  128772. +
  128773. + /* do NOT want the lt- prefix here, so use actual_cwrapper_name */
  128774. + strcat (newargz[0], actual_cwrapper_name);
  128775. +
  128776. + /* DO want the lt- prefix here if it exists, so use target_name */
  128777. + lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1);
  128778. + XFREE (tmp_pathspec);
  128779. + tmp_pathspec = NULL;
  128780. +EOF
  128781. - # Do each of the archive commands.
  128782. - if test "$module" = yes && test -n "$module_cmds" ; then
  128783. - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  128784. - eval test_cmds=\"$module_expsym_cmds\"
  128785. - cmds=$module_expsym_cmds
  128786. - else
  128787. - eval test_cmds=\"$module_cmds\"
  128788. - cmds=$module_cmds
  128789. - fi
  128790. - else
  128791. - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  128792. - eval test_cmds=\"$archive_expsym_cmds\"
  128793. - cmds=$archive_expsym_cmds
  128794. - else
  128795. - eval test_cmds=\"$archive_cmds\"
  128796. - cmds=$archive_cmds
  128797. - fi
  128798. - fi
  128799. + case $host_os in
  128800. + mingw*)
  128801. + cat <<"EOF"
  128802. + {
  128803. + char* p;
  128804. + while ((p = strchr (newargz[0], '\\')) != NULL)
  128805. + {
  128806. + *p = '/';
  128807. + }
  128808. + while ((p = strchr (lt_argv_zero, '\\')) != NULL)
  128809. + {
  128810. + *p = '/';
  128811. + }
  128812. + }
  128813. +EOF
  128814. + ;;
  128815. + esac
  128816. - if test "X$skipped_export" != "X:" &&
  128817. - len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
  128818. - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  128819. - :
  128820. - else
  128821. - # The command line is too long to link in one step, link piecewise.
  128822. - $echo "creating reloadable object files..."
  128823. + cat <<"EOF"
  128824. + XFREE (target_name);
  128825. + XFREE (actual_cwrapper_path);
  128826. + XFREE (actual_cwrapper_name);
  128827. +
  128828. + lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
  128829. + lt_setenv ("DUALCASE", "1"); /* for MSK sh */
  128830. + lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
  128831. + lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
  128832. - # Save the value of $output and $libobjs because we want to
  128833. - # use them later. If we have whole_archive_flag_spec, we
  128834. - # want to use save_libobjs as it was before
  128835. - # whole_archive_flag_spec was expanded, because we can't
  128836. - # assume the linker understands whole_archive_flag_spec.
  128837. - # This may have to be revisited, in case too many
  128838. - # convenience libraries get linked in and end up exceeding
  128839. - # the spec.
  128840. - if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
  128841. - save_libobjs=$libobjs
  128842. - fi
  128843. - save_output=$output
  128844. - output_la=`$echo "X$output" | $Xsed -e "$basename"`
  128845. + newargc=0;
  128846. + for (i = 1; i < argc; i++)
  128847. + {
  128848. + if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
  128849. + {
  128850. + if (argv[i][env_set_opt_len] == '=')
  128851. + {
  128852. + const char *p = argv[i] + env_set_opt_len + 1;
  128853. + lt_opt_process_env_set (p);
  128854. + }
  128855. + else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
  128856. + {
  128857. + lt_opt_process_env_set (argv[++i]); /* don't copy */
  128858. + }
  128859. + else
  128860. + lt_fatal ("%s missing required argument", env_set_opt);
  128861. + continue;
  128862. + }
  128863. + if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
  128864. + {
  128865. + if (argv[i][env_prepend_opt_len] == '=')
  128866. + {
  128867. + const char *p = argv[i] + env_prepend_opt_len + 1;
  128868. + lt_opt_process_env_prepend (p);
  128869. + }
  128870. + else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
  128871. + {
  128872. + lt_opt_process_env_prepend (argv[++i]); /* don't copy */
  128873. + }
  128874. + else
  128875. + lt_fatal ("%s missing required argument", env_prepend_opt);
  128876. + continue;
  128877. + }
  128878. + if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
  128879. + {
  128880. + if (argv[i][env_append_opt_len] == '=')
  128881. + {
  128882. + const char *p = argv[i] + env_append_opt_len + 1;
  128883. + lt_opt_process_env_append (p);
  128884. + }
  128885. + else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
  128886. + {
  128887. + lt_opt_process_env_append (argv[++i]); /* don't copy */
  128888. + }
  128889. + else
  128890. + lt_fatal ("%s missing required argument", env_append_opt);
  128891. + continue;
  128892. + }
  128893. + if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
  128894. + {
  128895. + /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
  128896. + namespace, but it is not one of the ones we know about and
  128897. + have already dealt with, above (inluding dump-script), then
  128898. + report an error. Otherwise, targets might begin to believe
  128899. + they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
  128900. + namespace. The first time any user complains about this, we'll
  128901. + need to make LTWRAPPER_OPTION_PREFIX a configure-time option
  128902. + or a configure.ac-settable value.
  128903. + */
  128904. + lt_fatal ("Unrecognized option in %s namespace: '%s'",
  128905. + ltwrapper_option_prefix, argv[i]);
  128906. + }
  128907. + /* otherwise ... */
  128908. + newargz[++newargc] = xstrdup (argv[i]);
  128909. + }
  128910. + newargz[++newargc] = NULL;
  128911. - # Clear the reloadable object creation command queue and
  128912. - # initialize k to one.
  128913. - test_cmds=
  128914. - concat_cmds=
  128915. - objlist=
  128916. - delfiles=
  128917. - last_robj=
  128918. - k=1
  128919. - output=$output_objdir/$output_la-${k}.$objext
  128920. - # Loop over the list of objects to be linked.
  128921. - for obj in $save_libobjs
  128922. - do
  128923. - eval test_cmds=\"$reload_cmds $objlist $last_robj\"
  128924. - if test "X$objlist" = X ||
  128925. - { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
  128926. - test "$len" -le "$max_cmd_len"; }; then
  128927. - objlist="$objlist $obj"
  128928. - else
  128929. - # The command $test_cmds is almost too long, add a
  128930. - # command to the queue.
  128931. - if test "$k" -eq 1 ; then
  128932. - # The first file doesn't have a previous command to add.
  128933. - eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
  128934. - else
  128935. - # All subsequent reloadable object files will link in
  128936. - # the last one created.
  128937. - eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
  128938. - fi
  128939. - last_robj=$output_objdir/$output_la-${k}.$objext
  128940. - k=`expr $k + 1`
  128941. - output=$output_objdir/$output_la-${k}.$objext
  128942. - objlist=$obj
  128943. - len=1
  128944. - fi
  128945. - done
  128946. - # Handle the remaining objects by creating one last
  128947. - # reloadable object file. All subsequent reloadable object
  128948. - # files will link in the last one created.
  128949. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  128950. - eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
  128951. + LTWRAPPER_DEBUGPRINTF (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
  128952. + for (i = 0; i < newargc; i++)
  128953. + {
  128954. + LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
  128955. + }
  128956. - if ${skipped_export-false}; then
  128957. - $show "generating symbol list for \`$libname.la'"
  128958. - export_symbols="$output_objdir/$libname.exp"
  128959. - $run $rm $export_symbols
  128960. - libobjs=$output
  128961. - # Append the command to create the export file.
  128962. - eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
  128963. - fi
  128964. -
  128965. - # Set up a command to remove the reloadable object files
  128966. - # after they are used.
  128967. - i=0
  128968. - while test "$i" -lt "$k"
  128969. - do
  128970. - i=`expr $i + 1`
  128971. - delfiles="$delfiles $output_objdir/$output_la-${i}.$objext"
  128972. - done
  128973. +EOF
  128974. - $echo "creating a temporary reloadable object file: $output"
  128975. + case $host_os in
  128976. + mingw*)
  128977. + cat <<"EOF"
  128978. + /* execv doesn't actually work on mingw as expected on unix */
  128979. + rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
  128980. + if (rval == -1)
  128981. + {
  128982. + /* failed to start process */
  128983. + LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
  128984. + return 127;
  128985. + }
  128986. + return rval;
  128987. +EOF
  128988. + ;;
  128989. + *)
  128990. + cat <<"EOF"
  128991. + execv (lt_argv_zero, newargz);
  128992. + return rval; /* =127, but avoids unused variable warning */
  128993. +EOF
  128994. + ;;
  128995. + esac
  128996. - # Loop through the commands generated above and execute them.
  128997. - save_ifs="$IFS"; IFS='~'
  128998. - for cmd in $concat_cmds; do
  128999. - IFS="$save_ifs"
  129000. - $show "$cmd"
  129001. - $run eval "$cmd" || exit $?
  129002. - done
  129003. - IFS="$save_ifs"
  129004. + cat <<"EOF"
  129005. +}
  129006. - libobjs=$output
  129007. - # Restore the value of output.
  129008. - output=$save_output
  129009. +void *
  129010. +xmalloc (size_t num)
  129011. +{
  129012. + void *p = (void *) malloc (num);
  129013. + if (!p)
  129014. + lt_fatal ("Memory exhausted");
  129015. - if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
  129016. - eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  129017. - fi
  129018. - # Expand the library linking commands again to reset the
  129019. - # value of $libobjs for piecewise linking.
  129020. + return p;
  129021. +}
  129022. - # Do each of the archive commands.
  129023. - if test "$module" = yes && test -n "$module_cmds" ; then
  129024. - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  129025. - cmds=$module_expsym_cmds
  129026. - else
  129027. - cmds=$module_cmds
  129028. - fi
  129029. - else
  129030. - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  129031. - cmds=$archive_expsym_cmds
  129032. - else
  129033. - cmds=$archive_cmds
  129034. - fi
  129035. - fi
  129036. +char *
  129037. +xstrdup (const char *string)
  129038. +{
  129039. + return string ? strcpy ((char *) xmalloc (strlen (string) + 1),
  129040. + string) : NULL;
  129041. +}
  129042. - # Append the command to remove the reloadable object files
  129043. - # to the just-reset $cmds.
  129044. - eval cmds=\"\$cmds~\$rm $delfiles\"
  129045. - fi
  129046. - save_ifs="$IFS"; IFS='~'
  129047. - for cmd in $cmds; do
  129048. - IFS="$save_ifs"
  129049. - eval cmd=\"$cmd\"
  129050. - $show "$cmd"
  129051. - $run eval "$cmd" || {
  129052. - lt_exit=$?
  129053. +const char *
  129054. +base_name (const char *name)
  129055. +{
  129056. + const char *base;
  129057. - # Restore the uninstalled library and exit
  129058. - if test "$mode" = relink; then
  129059. - $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
  129060. - fi
  129061. +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  129062. + /* Skip over the disk name in MSDOS pathnames. */
  129063. + if (isalpha ((unsigned char) name[0]) && name[1] == ':')
  129064. + name += 2;
  129065. +#endif
  129066. - exit $lt_exit
  129067. - }
  129068. - done
  129069. - IFS="$save_ifs"
  129070. + for (base = name; *name; name++)
  129071. + if (IS_DIR_SEPARATOR (*name))
  129072. + base = name + 1;
  129073. + return base;
  129074. +}
  129075. - # Restore the uninstalled library and exit
  129076. - if test "$mode" = relink; then
  129077. - $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
  129078. +int
  129079. +check_executable (const char *path)
  129080. +{
  129081. + struct stat st;
  129082. - if test -n "$convenience"; then
  129083. - if test -z "$whole_archive_flag_spec"; then
  129084. - $show "${rm}r $gentop"
  129085. - $run ${rm}r "$gentop"
  129086. - fi
  129087. - fi
  129088. + LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n",
  129089. + path ? (*path ? path : "EMPTY!") : "NULL!"));
  129090. + if ((!path) || (!*path))
  129091. + return 0;
  129092. - exit $EXIT_SUCCESS
  129093. - fi
  129094. + if ((stat (path, &st) >= 0)
  129095. + && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)))
  129096. + return 1;
  129097. + else
  129098. + return 0;
  129099. +}
  129100. - # Create links to the real library.
  129101. - for linkname in $linknames; do
  129102. - if test "$realname" != "$linkname"; then
  129103. - $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)"
  129104. - $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
  129105. - fi
  129106. - done
  129107. +int
  129108. +make_executable (const char *path)
  129109. +{
  129110. + int rval = 0;
  129111. + struct stat st;
  129112. - # If -module or -export-dynamic was specified, set the dlname.
  129113. - if test "$module" = yes || test "$export_dynamic" = yes; then
  129114. - # On all known operating systems, these are identical.
  129115. - dlname="$soname"
  129116. - fi
  129117. - fi
  129118. - ;;
  129119. + LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n",
  129120. + path ? (*path ? path : "EMPTY!") : "NULL!"));
  129121. + if ((!path) || (!*path))
  129122. + return 0;
  129123. - obj)
  129124. - case " $deplibs" in
  129125. - *\ -l* | *\ -L*)
  129126. - $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 ;;
  129127. - esac
  129128. + if (stat (path, &st) >= 0)
  129129. + {
  129130. + rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR);
  129131. + }
  129132. + return rval;
  129133. +}
  129134. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  129135. - $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
  129136. - fi
  129137. +/* Searches for the full path of the wrapper. Returns
  129138. + newly allocated full path name if found, NULL otherwise
  129139. + Does not chase symlinks, even on platforms that support them.
  129140. +*/
  129141. +char *
  129142. +find_executable (const char *wrapper)
  129143. +{
  129144. + int has_slash = 0;
  129145. + const char *p;
  129146. + const char *p_next;
  129147. + /* static buffer for getcwd */
  129148. + char tmp[LT_PATHMAX + 1];
  129149. + int tmp_len;
  129150. + char *concat_name;
  129151. - if test -n "$rpath"; then
  129152. - $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
  129153. - fi
  129154. + LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n",
  129155. + wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
  129156. - if test -n "$xrpath"; then
  129157. - $echo "$modename: warning: \`-R' is ignored for objects" 1>&2
  129158. - fi
  129159. + if ((wrapper == NULL) || (*wrapper == '\0'))
  129160. + return NULL;
  129161. - if test -n "$vinfo"; then
  129162. - $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
  129163. - fi
  129164. + /* Absolute path? */
  129165. +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  129166. + if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
  129167. + {
  129168. + concat_name = xstrdup (wrapper);
  129169. + if (check_executable (concat_name))
  129170. + return concat_name;
  129171. + XFREE (concat_name);
  129172. + }
  129173. + else
  129174. + {
  129175. +#endif
  129176. + if (IS_DIR_SEPARATOR (wrapper[0]))
  129177. + {
  129178. + concat_name = xstrdup (wrapper);
  129179. + if (check_executable (concat_name))
  129180. + return concat_name;
  129181. + XFREE (concat_name);
  129182. + }
  129183. +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  129184. + }
  129185. +#endif
  129186. - if test -n "$release"; then
  129187. - $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
  129188. - fi
  129189. + for (p = wrapper; *p; p++)
  129190. + if (*p == '/')
  129191. + {
  129192. + has_slash = 1;
  129193. + break;
  129194. + }
  129195. + if (!has_slash)
  129196. + {
  129197. + /* no slashes; search PATH */
  129198. + const char *path = getenv ("PATH");
  129199. + if (path != NULL)
  129200. + {
  129201. + for (p = path; *p; p = p_next)
  129202. + {
  129203. + const char *q;
  129204. + size_t p_len;
  129205. + for (q = p; *q; q++)
  129206. + if (IS_PATH_SEPARATOR (*q))
  129207. + break;
  129208. + p_len = q - p;
  129209. + p_next = (*q == '\0' ? q : q + 1);
  129210. + if (p_len == 0)
  129211. + {
  129212. + /* empty path: current directory */
  129213. + if (getcwd (tmp, LT_PATHMAX) == NULL)
  129214. + lt_fatal ("getcwd failed");
  129215. + tmp_len = strlen (tmp);
  129216. + concat_name =
  129217. + XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
  129218. + memcpy (concat_name, tmp, tmp_len);
  129219. + concat_name[tmp_len] = '/';
  129220. + strcpy (concat_name + tmp_len + 1, wrapper);
  129221. + }
  129222. + else
  129223. + {
  129224. + concat_name =
  129225. + XMALLOC (char, p_len + 1 + strlen (wrapper) + 1);
  129226. + memcpy (concat_name, p, p_len);
  129227. + concat_name[p_len] = '/';
  129228. + strcpy (concat_name + p_len + 1, wrapper);
  129229. + }
  129230. + if (check_executable (concat_name))
  129231. + return concat_name;
  129232. + XFREE (concat_name);
  129233. + }
  129234. + }
  129235. + /* not found in PATH; assume curdir */
  129236. + }
  129237. + /* Relative path | not found in path: prepend cwd */
  129238. + if (getcwd (tmp, LT_PATHMAX) == NULL)
  129239. + lt_fatal ("getcwd failed");
  129240. + tmp_len = strlen (tmp);
  129241. + concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
  129242. + memcpy (concat_name, tmp, tmp_len);
  129243. + concat_name[tmp_len] = '/';
  129244. + strcpy (concat_name + tmp_len + 1, wrapper);
  129245. - case $output in
  129246. - *.lo)
  129247. - if test -n "$objs$old_deplibs"; then
  129248. - $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
  129249. - exit $EXIT_FAILURE
  129250. - fi
  129251. - libobj="$output"
  129252. - obj=`$echo "X$output" | $Xsed -e "$lo2o"`
  129253. - ;;
  129254. - *)
  129255. - libobj=
  129256. - obj="$output"
  129257. - ;;
  129258. - esac
  129259. + if (check_executable (concat_name))
  129260. + return concat_name;
  129261. + XFREE (concat_name);
  129262. + return NULL;
  129263. +}
  129264. - # Delete the old objects.
  129265. - $run $rm $obj $libobj
  129266. +char *
  129267. +chase_symlinks (const char *pathspec)
  129268. +{
  129269. +#ifndef S_ISLNK
  129270. + return xstrdup (pathspec);
  129271. +#else
  129272. + char buf[LT_PATHMAX];
  129273. + struct stat s;
  129274. + char *tmp_pathspec = xstrdup (pathspec);
  129275. + char *p;
  129276. + int has_symlinks = 0;
  129277. + while (strlen (tmp_pathspec) && !has_symlinks)
  129278. + {
  129279. + LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
  129280. + tmp_pathspec));
  129281. + if (lstat (tmp_pathspec, &s) == 0)
  129282. + {
  129283. + if (S_ISLNK (s.st_mode) != 0)
  129284. + {
  129285. + has_symlinks = 1;
  129286. + break;
  129287. + }
  129288. - # Objects from convenience libraries. This assumes
  129289. - # single-version convenience libraries. Whenever we create
  129290. - # different ones for PIC/non-PIC, this we'll have to duplicate
  129291. - # the extraction.
  129292. - reload_conv_objs=
  129293. - gentop=
  129294. - # reload_cmds runs $LD directly, so let us get rid of
  129295. - # -Wl from whole_archive_flag_spec and hope we can get by with
  129296. - # turning comma into space..
  129297. - wl=
  129298. + /* search backwards for last DIR_SEPARATOR */
  129299. + p = tmp_pathspec + strlen (tmp_pathspec) - 1;
  129300. + while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
  129301. + p--;
  129302. + if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
  129303. + {
  129304. + /* no more DIR_SEPARATORS left */
  129305. + break;
  129306. + }
  129307. + *p = '\0';
  129308. + }
  129309. + else
  129310. + {
  129311. + char *errstr = strerror (errno);
  129312. + lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
  129313. + }
  129314. + }
  129315. + XFREE (tmp_pathspec);
  129316. - if test -n "$convenience"; then
  129317. - if test -n "$whole_archive_flag_spec"; then
  129318. - eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
  129319. - reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
  129320. - else
  129321. - gentop="$output_objdir/${obj}x"
  129322. - generated="$generated $gentop"
  129323. + if (!has_symlinks)
  129324. + {
  129325. + return xstrdup (pathspec);
  129326. + }
  129327. - func_extract_archives $gentop $convenience
  129328. - reload_conv_objs="$reload_objs $func_extract_archives_result"
  129329. - fi
  129330. - fi
  129331. + tmp_pathspec = realpath (pathspec, buf);
  129332. + if (tmp_pathspec == 0)
  129333. + {
  129334. + lt_fatal ("Could not follow symlinks for %s", pathspec);
  129335. + }
  129336. + return xstrdup (tmp_pathspec);
  129337. +#endif
  129338. +}
  129339. - # Create the old-style object.
  129340. - reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
  129341. +char *
  129342. +strendzap (char *str, const char *pat)
  129343. +{
  129344. + size_t len, patlen;
  129345. - output="$obj"
  129346. - cmds=$reload_cmds
  129347. - save_ifs="$IFS"; IFS='~'
  129348. - for cmd in $cmds; do
  129349. - IFS="$save_ifs"
  129350. - eval cmd=\"$cmd\"
  129351. - $show "$cmd"
  129352. - $run eval "$cmd" || exit $?
  129353. - done
  129354. - IFS="$save_ifs"
  129355. + assert (str != NULL);
  129356. + assert (pat != NULL);
  129357. - # Exit if we aren't doing a library object file.
  129358. - if test -z "$libobj"; then
  129359. - if test -n "$gentop"; then
  129360. - $show "${rm}r $gentop"
  129361. - $run ${rm}r $gentop
  129362. - fi
  129363. + len = strlen (str);
  129364. + patlen = strlen (pat);
  129365. - exit $EXIT_SUCCESS
  129366. - fi
  129367. + if (patlen <= len)
  129368. + {
  129369. + str += len - patlen;
  129370. + if (strcmp (str, pat) == 0)
  129371. + *str = '\0';
  129372. + }
  129373. + return str;
  129374. +}
  129375. - if test "$build_libtool_libs" != yes; then
  129376. - if test -n "$gentop"; then
  129377. - $show "${rm}r $gentop"
  129378. - $run ${rm}r $gentop
  129379. - fi
  129380. -
  129381. - # Create an invalid libtool object if no PIC, so that we don't
  129382. - # accidentally link it into a program.
  129383. - # $show "echo timestamp > $libobj"
  129384. - # $run eval "echo timestamp > $libobj" || exit $?
  129385. - exit $EXIT_SUCCESS
  129386. - fi
  129387. -
  129388. - if test -n "$pic_flag" || test "$pic_mode" != default; then
  129389. - # Only do commands if we really have different PIC objects.
  129390. - reload_objs="$libobjs $reload_conv_objs"
  129391. - output="$libobj"
  129392. - cmds=$reload_cmds
  129393. - save_ifs="$IFS"; IFS='~'
  129394. - for cmd in $cmds; do
  129395. - IFS="$save_ifs"
  129396. - eval cmd=\"$cmd\"
  129397. - $show "$cmd"
  129398. - $run eval "$cmd" || exit $?
  129399. - done
  129400. - IFS="$save_ifs"
  129401. - fi
  129402. +static void
  129403. +lt_error_core (int exit_status, const char *mode,
  129404. + const char *message, va_list ap)
  129405. +{
  129406. + fprintf (stderr, "%s: %s: ", program_name, mode);
  129407. + vfprintf (stderr, message, ap);
  129408. + fprintf (stderr, ".\n");
  129409. - if test -n "$gentop"; then
  129410. - $show "${rm}r $gentop"
  129411. - $run ${rm}r $gentop
  129412. - fi
  129413. + if (exit_status >= 0)
  129414. + exit (exit_status);
  129415. +}
  129416. - exit $EXIT_SUCCESS
  129417. - ;;
  129418. +void
  129419. +lt_fatal (const char *message, ...)
  129420. +{
  129421. + va_list ap;
  129422. + va_start (ap, message);
  129423. + lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
  129424. + va_end (ap);
  129425. +}
  129426. - prog)
  129427. - case $host in
  129428. - *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
  129429. - esac
  129430. - if test -n "$vinfo"; then
  129431. - $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
  129432. - fi
  129433. +void
  129434. +lt_setenv (const char *name, const char *value)
  129435. +{
  129436. + LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
  129437. + (name ? name : "<NULL>"),
  129438. + (value ? value : "<NULL>")));
  129439. + {
  129440. +#ifdef HAVE_SETENV
  129441. + /* always make a copy, for consistency with !HAVE_SETENV */
  129442. + char *str = xstrdup (value);
  129443. + setenv (name, str, 1);
  129444. +#else
  129445. + int len = strlen (name) + 1 + strlen (value) + 1;
  129446. + char *str = XMALLOC (char, len);
  129447. + sprintf (str, "%s=%s", name, value);
  129448. + if (putenv (str) != EXIT_SUCCESS)
  129449. + {
  129450. + XFREE (str);
  129451. + }
  129452. +#endif
  129453. + }
  129454. +}
  129455. - if test -n "$release"; then
  129456. - $echo "$modename: warning: \`-release' is ignored for programs" 1>&2
  129457. - fi
  129458. +char *
  129459. +lt_extend_str (const char *orig_value, const char *add, int to_end)
  129460. +{
  129461. + char *new_value;
  129462. + if (orig_value && *orig_value)
  129463. + {
  129464. + int orig_value_len = strlen (orig_value);
  129465. + int add_len = strlen (add);
  129466. + new_value = XMALLOC (char, add_len + orig_value_len + 1);
  129467. + if (to_end)
  129468. + {
  129469. + strcpy (new_value, orig_value);
  129470. + strcpy (new_value + orig_value_len, add);
  129471. + }
  129472. + else
  129473. + {
  129474. + strcpy (new_value, add);
  129475. + strcpy (new_value + add_len, orig_value);
  129476. + }
  129477. + }
  129478. + else
  129479. + {
  129480. + new_value = xstrdup (add);
  129481. + }
  129482. + return new_value;
  129483. +}
  129484. - if test "$preload" = yes; then
  129485. - if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
  129486. - test "$dlopen_self_static" = unknown; then
  129487. - $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
  129488. - fi
  129489. - fi
  129490. +int
  129491. +lt_split_name_value (const char *arg, char** name, char** value)
  129492. +{
  129493. + const char *p;
  129494. + int len;
  129495. + if (!arg || !*arg)
  129496. + return 1;
  129497. - case $host in
  129498. - *-*-rhapsody* | *-*-darwin1.[012])
  129499. - # On Rhapsody replace the C library is the System framework
  129500. - compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
  129501. - finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
  129502. - ;;
  129503. - esac
  129504. + p = strchr (arg, (int)'=');
  129505. - case $host in
  129506. - *darwin*)
  129507. - # Don't allow lazy linking, it breaks C++ global constructors
  129508. - if test "$tagname" = CXX ; then
  129509. - compile_command="$compile_command ${wl}-bind_at_load"
  129510. - finalize_command="$finalize_command ${wl}-bind_at_load"
  129511. - fi
  129512. - ;;
  129513. - esac
  129514. + if (!p)
  129515. + return 1;
  129516. + *value = xstrdup (++p);
  129517. - # move library search paths that coincide with paths to not yet
  129518. - # installed libraries to the beginning of the library search list
  129519. - new_libs=
  129520. - for path in $notinst_path; do
  129521. - case " $new_libs " in
  129522. - *" -L$path/$objdir "*) ;;
  129523. - *)
  129524. - case " $compile_deplibs " in
  129525. - *" -L$path/$objdir "*)
  129526. - new_libs="$new_libs -L$path/$objdir" ;;
  129527. - esac
  129528. - ;;
  129529. - esac
  129530. - done
  129531. - for deplib in $compile_deplibs; do
  129532. - case $deplib in
  129533. - -L*)
  129534. - case " $new_libs " in
  129535. - *" $deplib "*) ;;
  129536. - *) new_libs="$new_libs $deplib" ;;
  129537. - esac
  129538. - ;;
  129539. - *) new_libs="$new_libs $deplib" ;;
  129540. - esac
  129541. - done
  129542. - compile_deplibs="$new_libs"
  129543. + len = strlen (arg) - strlen (*value);
  129544. + *name = XMALLOC (char, len);
  129545. + strncpy (*name, arg, len-1);
  129546. + (*name)[len - 1] = '\0';
  129547. + return 0;
  129548. +}
  129549. - compile_command="$compile_command $compile_deplibs"
  129550. - finalize_command="$finalize_command $finalize_deplibs"
  129551. +void
  129552. +lt_opt_process_env_set (const char *arg)
  129553. +{
  129554. + char *name = NULL;
  129555. + char *value = NULL;
  129556. - if test -n "$rpath$xrpath"; then
  129557. - # If the user specified any rpath flags, then add them.
  129558. - for libdir in $rpath $xrpath; do
  129559. - # This is the magic to use -rpath.
  129560. - case "$finalize_rpath " in
  129561. - *" $libdir "*) ;;
  129562. - *) finalize_rpath="$finalize_rpath $libdir" ;;
  129563. - esac
  129564. - done
  129565. - fi
  129566. + if (lt_split_name_value (arg, &name, &value) != 0)
  129567. + {
  129568. + XFREE (name);
  129569. + XFREE (value);
  129570. + lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
  129571. + }
  129572. - # Now hardcode the library paths
  129573. - rpath=
  129574. - hardcode_libdirs=
  129575. - for libdir in $compile_rpath $finalize_rpath; do
  129576. - if test -n "$hardcode_libdir_flag_spec"; then
  129577. - if test -n "$hardcode_libdir_separator"; then
  129578. - if test -z "$hardcode_libdirs"; then
  129579. - hardcode_libdirs="$libdir"
  129580. - else
  129581. - # Just accumulate the unique libdirs.
  129582. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  129583. - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  129584. - ;;
  129585. - *)
  129586. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  129587. - ;;
  129588. - esac
  129589. - fi
  129590. - else
  129591. - eval flag=\"$hardcode_libdir_flag_spec\"
  129592. - rpath="$rpath $flag"
  129593. - fi
  129594. - elif test -n "$runpath_var"; then
  129595. - case "$perm_rpath " in
  129596. - *" $libdir "*) ;;
  129597. - *) perm_rpath="$perm_rpath $libdir" ;;
  129598. - esac
  129599. - fi
  129600. - case $host in
  129601. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  129602. - testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
  129603. - case :$dllsearchpath: in
  129604. - *":$libdir:"*) ;;
  129605. - *) dllsearchpath="$dllsearchpath:$libdir";;
  129606. - esac
  129607. - case :$dllsearchpath: in
  129608. - *":$testbindir:"*) ;;
  129609. - *) dllsearchpath="$dllsearchpath:$testbindir";;
  129610. - esac
  129611. - ;;
  129612. - esac
  129613. - done
  129614. - # Substitute the hardcoded libdirs into the rpath.
  129615. - if test -n "$hardcode_libdir_separator" &&
  129616. - test -n "$hardcode_libdirs"; then
  129617. - libdir="$hardcode_libdirs"
  129618. - eval rpath=\" $hardcode_libdir_flag_spec\"
  129619. - fi
  129620. - compile_rpath="$rpath"
  129621. + lt_setenv (name, value);
  129622. + XFREE (name);
  129623. + XFREE (value);
  129624. +}
  129625. - rpath=
  129626. - hardcode_libdirs=
  129627. - for libdir in $finalize_rpath; do
  129628. - if test -n "$hardcode_libdir_flag_spec"; then
  129629. - if test -n "$hardcode_libdir_separator"; then
  129630. - if test -z "$hardcode_libdirs"; then
  129631. - hardcode_libdirs="$libdir"
  129632. - else
  129633. - # Just accumulate the unique libdirs.
  129634. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  129635. - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  129636. - ;;
  129637. - *)
  129638. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  129639. - ;;
  129640. - esac
  129641. - fi
  129642. - else
  129643. - eval flag=\"$hardcode_libdir_flag_spec\"
  129644. - rpath="$rpath $flag"
  129645. - fi
  129646. - elif test -n "$runpath_var"; then
  129647. - case "$finalize_perm_rpath " in
  129648. - *" $libdir "*) ;;
  129649. - *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
  129650. - esac
  129651. - fi
  129652. - done
  129653. - # Substitute the hardcoded libdirs into the rpath.
  129654. - if test -n "$hardcode_libdir_separator" &&
  129655. - test -n "$hardcode_libdirs"; then
  129656. - libdir="$hardcode_libdirs"
  129657. - eval rpath=\" $hardcode_libdir_flag_spec\"
  129658. - fi
  129659. - finalize_rpath="$rpath"
  129660. +void
  129661. +lt_opt_process_env_prepend (const char *arg)
  129662. +{
  129663. + char *name = NULL;
  129664. + char *value = NULL;
  129665. + char *new_value = NULL;
  129666. - if test -n "$libobjs" && test "$build_old_libs" = yes; then
  129667. - # Transform all the library objects into standard objects.
  129668. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  129669. - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  129670. - fi
  129671. + if (lt_split_name_value (arg, &name, &value) != 0)
  129672. + {
  129673. + XFREE (name);
  129674. + XFREE (value);
  129675. + lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
  129676. + }
  129677. - dlsyms=
  129678. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  129679. - if test -n "$NM" && test -n "$global_symbol_pipe"; then
  129680. - dlsyms="${outputname}S.c"
  129681. - else
  129682. - $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
  129683. - fi
  129684. - fi
  129685. + new_value = lt_extend_str (getenv (name), value, 0);
  129686. + lt_setenv (name, new_value);
  129687. + XFREE (new_value);
  129688. + XFREE (name);
  129689. + XFREE (value);
  129690. +}
  129691. - if test -n "$dlsyms"; then
  129692. - case $dlsyms in
  129693. - "") ;;
  129694. - *.c)
  129695. - # Discover the nlist of each of the dlfiles.
  129696. - nlist="$output_objdir/${outputname}.nm"
  129697. +void
  129698. +lt_opt_process_env_append (const char *arg)
  129699. +{
  129700. + char *name = NULL;
  129701. + char *value = NULL;
  129702. + char *new_value = NULL;
  129703. - $show "$rm $nlist ${nlist}S ${nlist}T"
  129704. - $run $rm "$nlist" "${nlist}S" "${nlist}T"
  129705. + if (lt_split_name_value (arg, &name, &value) != 0)
  129706. + {
  129707. + XFREE (name);
  129708. + XFREE (value);
  129709. + lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
  129710. + }
  129711. - # Parse the name list into a source file.
  129712. - $show "creating $output_objdir/$dlsyms"
  129713. + new_value = lt_extend_str (getenv (name), value, 1);
  129714. + lt_setenv (name, new_value);
  129715. + XFREE (new_value);
  129716. + XFREE (name);
  129717. + XFREE (value);
  129718. +}
  129719. - test -z "$run" && $echo > "$output_objdir/$dlsyms" "\
  129720. -/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */
  129721. -/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
  129722. +void
  129723. +lt_update_exe_path (const char *name, const char *value)
  129724. +{
  129725. + LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
  129726. + (name ? name : "<NULL>"),
  129727. + (value ? value : "<NULL>")));
  129728. -#ifdef __cplusplus
  129729. -extern \"C\" {
  129730. -#endif
  129731. + if (name && *name && value && *value)
  129732. + {
  129733. + char *new_value = lt_extend_str (getenv (name), value, 0);
  129734. + /* some systems can't cope with a ':'-terminated path #' */
  129735. + int len = strlen (new_value);
  129736. + while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
  129737. + {
  129738. + new_value[len-1] = '\0';
  129739. + }
  129740. + lt_setenv (name, new_value);
  129741. + XFREE (new_value);
  129742. + }
  129743. +}
  129744. -/* Prevent the only kind of declaration conflicts we can make. */
  129745. -#define lt_preloaded_symbols some_other_symbol
  129746. +void
  129747. +lt_update_lib_path (const char *name, const char *value)
  129748. +{
  129749. + LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
  129750. + (name ? name : "<NULL>"),
  129751. + (value ? value : "<NULL>")));
  129752. -/* External symbol declarations for the compiler. */\
  129753. -"
  129754. + if (name && *name && value && *value)
  129755. + {
  129756. + char *new_value = lt_extend_str (getenv (name), value, 0);
  129757. + lt_setenv (name, new_value);
  129758. + XFREE (new_value);
  129759. + }
  129760. +}
  129761. - if test "$dlself" = yes; then
  129762. - $show "generating symbol list for \`$output'"
  129763. - test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
  129764. +EOF
  129765. +}
  129766. +# end: func_emit_cwrapperexe_src
  129767. - # Add our own program objects to the symbol list.
  129768. - progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  129769. - for arg in $progfiles; do
  129770. - $show "extracting global C symbols from \`$arg'"
  129771. - $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
  129772. - done
  129773. +# func_mode_link arg...
  129774. +func_mode_link ()
  129775. +{
  129776. + $opt_debug
  129777. + case $host in
  129778. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  129779. + # It is impossible to link a dll without this setting, and
  129780. + # we shouldn't force the makefile maintainer to figure out
  129781. + # which system we are compiling for in order to pass an extra
  129782. + # flag for every libtool invocation.
  129783. + # allow_undefined=no
  129784. - if test -n "$exclude_expsyms"; then
  129785. - $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
  129786. - $run eval '$mv "$nlist"T "$nlist"'
  129787. - fi
  129788. -
  129789. - if test -n "$export_symbols_regex"; then
  129790. - $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
  129791. - $run eval '$mv "$nlist"T "$nlist"'
  129792. - fi
  129793. -
  129794. - # Prepare the list of exported symbols
  129795. - if test -z "$export_symbols"; then
  129796. - export_symbols="$output_objdir/$outputname.exp"
  129797. - $run $rm $export_symbols
  129798. - $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
  129799. - case $host in
  129800. - *cygwin* | *mingw* )
  129801. - $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  129802. - $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
  129803. - ;;
  129804. - esac
  129805. - else
  129806. - $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
  129807. - $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
  129808. - $run eval 'mv "$nlist"T "$nlist"'
  129809. - case $host in
  129810. - *cygwin* | *mingw* )
  129811. - $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  129812. - $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
  129813. - ;;
  129814. - esac
  129815. - fi
  129816. + # FIXME: Unfortunately, there are problems with the above when trying
  129817. + # to make a dll which has undefined symbols, in which case not
  129818. + # even a static library is built. For now, we need to specify
  129819. + # -no-undefined on the libtool link line when we can be certain
  129820. + # that all symbols are satisfied, otherwise we get a static library.
  129821. + allow_undefined=yes
  129822. + ;;
  129823. + *)
  129824. + allow_undefined=yes
  129825. + ;;
  129826. + esac
  129827. + libtool_args=$nonopt
  129828. + base_compile="$nonopt $@"
  129829. + compile_command=$nonopt
  129830. + finalize_command=$nonopt
  129831. +
  129832. + compile_rpath=
  129833. + finalize_rpath=
  129834. + compile_shlibpath=
  129835. + finalize_shlibpath=
  129836. + convenience=
  129837. + old_convenience=
  129838. + deplibs=
  129839. + old_deplibs=
  129840. + compiler_flags=
  129841. + linker_flags=
  129842. + dllsearchpath=
  129843. + lib_search_path=`pwd`
  129844. + inst_prefix_dir=
  129845. + new_inherited_linker_flags=
  129846. +
  129847. + avoid_version=no
  129848. + dlfiles=
  129849. + dlprefiles=
  129850. + dlself=no
  129851. + export_dynamic=no
  129852. + export_symbols=
  129853. + export_symbols_regex=
  129854. + generated=
  129855. + libobjs=
  129856. + ltlibs=
  129857. + module=no
  129858. + no_install=no
  129859. + objs=
  129860. + non_pic_objects=
  129861. + precious_files_regex=
  129862. + prefer_static_libs=no
  129863. + preload=no
  129864. + prev=
  129865. + prevarg=
  129866. + release=
  129867. + rpath=
  129868. + xrpath=
  129869. + perm_rpath=
  129870. + temp_rpath=
  129871. + thread_safe=no
  129872. + vinfo=
  129873. + vinfo_number=no
  129874. + weak_libs=
  129875. + single_module="${wl}-single_module"
  129876. + func_infer_tag $base_compile
  129877. +
  129878. + # We need to know -static, to get the right output filenames.
  129879. + for arg
  129880. + do
  129881. + case $arg in
  129882. + -shared)
  129883. + test "$build_libtool_libs" != yes && \
  129884. + func_fatal_configuration "can not build a shared library"
  129885. + build_old_libs=no
  129886. + break
  129887. + ;;
  129888. + -all-static | -static | -static-libtool-libs)
  129889. + case $arg in
  129890. + -all-static)
  129891. + if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
  129892. + func_warning "complete static linking is impossible in this configuration"
  129893. + fi
  129894. + if test -n "$link_static_flag"; then
  129895. + dlopen_self=$dlopen_self_static
  129896. + fi
  129897. + prefer_static_libs=yes
  129898. + ;;
  129899. + -static)
  129900. + if test -z "$pic_flag" && test -n "$link_static_flag"; then
  129901. + dlopen_self=$dlopen_self_static
  129902. + fi
  129903. + prefer_static_libs=built
  129904. + ;;
  129905. + -static-libtool-libs)
  129906. + if test -z "$pic_flag" && test -n "$link_static_flag"; then
  129907. + dlopen_self=$dlopen_self_static
  129908. fi
  129909. + prefer_static_libs=yes
  129910. + ;;
  129911. + esac
  129912. + build_libtool_libs=no
  129913. + build_old_libs=yes
  129914. + break
  129915. + ;;
  129916. + esac
  129917. + done
  129918. - for arg in $dlprefiles; do
  129919. - $show "extracting global C symbols from \`$arg'"
  129920. - name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
  129921. - $run eval '$echo ": $name " >> "$nlist"'
  129922. - $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
  129923. - done
  129924. + # See if our shared archives depend on static archives.
  129925. + test -n "$old_archive_from_new_cmds" && build_old_libs=yes
  129926. - if test -z "$run"; then
  129927. - # Make sure we have at least an empty file.
  129928. - test -f "$nlist" || : > "$nlist"
  129929. -
  129930. - if test -n "$exclude_expsyms"; then
  129931. - $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
  129932. - $mv "$nlist"T "$nlist"
  129933. - fi
  129934. + # Go through the arguments, transforming them on the way.
  129935. + while test "$#" -gt 0; do
  129936. + arg="$1"
  129937. + shift
  129938. + func_quote_for_eval "$arg"
  129939. + qarg=$func_quote_for_eval_unquoted_result
  129940. + func_append libtool_args " $func_quote_for_eval_result"
  129941. - # Try sorting and uniquifying the output.
  129942. - if grep -v "^: " < "$nlist" |
  129943. - if sort -k 3 </dev/null >/dev/null 2>&1; then
  129944. - sort -k 3
  129945. - else
  129946. - sort +2
  129947. - fi |
  129948. - uniq > "$nlist"S; then
  129949. - :
  129950. + # If the previous option needs an argument, assign it.
  129951. + if test -n "$prev"; then
  129952. + case $prev in
  129953. + output)
  129954. + func_append compile_command " @OUTPUT@"
  129955. + func_append finalize_command " @OUTPUT@"
  129956. + ;;
  129957. + esac
  129958. +
  129959. + case $prev in
  129960. + dlfiles|dlprefiles)
  129961. + if test "$preload" = no; then
  129962. + # Add the symbol object into the linking commands.
  129963. + func_append compile_command " @SYMFILE@"
  129964. + func_append finalize_command " @SYMFILE@"
  129965. + preload=yes
  129966. + fi
  129967. + case $arg in
  129968. + *.la | *.lo) ;; # We handle these cases below.
  129969. + force)
  129970. + if test "$dlself" = no; then
  129971. + dlself=needless
  129972. + export_dynamic=yes
  129973. + fi
  129974. + prev=
  129975. + continue
  129976. + ;;
  129977. + self)
  129978. + if test "$prev" = dlprefiles; then
  129979. + dlself=yes
  129980. + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
  129981. + dlself=yes
  129982. else
  129983. - grep -v "^: " < "$nlist" > "$nlist"S
  129984. + dlself=needless
  129985. + export_dynamic=yes
  129986. fi
  129987. -
  129988. - if test -f "$nlist"S; then
  129989. - eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
  129990. + prev=
  129991. + continue
  129992. + ;;
  129993. + *)
  129994. + if test "$prev" = dlfiles; then
  129995. + dlfiles="$dlfiles $arg"
  129996. else
  129997. - $echo '/* NONE */' >> "$output_objdir/$dlsyms"
  129998. + dlprefiles="$dlprefiles $arg"
  129999. fi
  130000. + prev=
  130001. + continue
  130002. + ;;
  130003. + esac
  130004. + ;;
  130005. + expsyms)
  130006. + export_symbols="$arg"
  130007. + test -f "$arg" \
  130008. + || func_fatal_error "symbol file \`$arg' does not exist"
  130009. + prev=
  130010. + continue
  130011. + ;;
  130012. + expsyms_regex)
  130013. + export_symbols_regex="$arg"
  130014. + prev=
  130015. + continue
  130016. + ;;
  130017. + framework)
  130018. + case $host in
  130019. + *-*-darwin*)
  130020. + case "$deplibs " in
  130021. + *" $qarg.ltframework "*) ;;
  130022. + *) deplibs="$deplibs $qarg.ltframework" # this is fixed later
  130023. + ;;
  130024. + esac
  130025. + ;;
  130026. + esac
  130027. + prev=
  130028. + continue
  130029. + ;;
  130030. + inst_prefix)
  130031. + inst_prefix_dir="$arg"
  130032. + prev=
  130033. + continue
  130034. + ;;
  130035. + objectlist)
  130036. + if test -f "$arg"; then
  130037. + save_arg=$arg
  130038. + moreargs=
  130039. + for fil in `cat "$save_arg"`
  130040. + do
  130041. +# moreargs="$moreargs $fil"
  130042. + arg=$fil
  130043. + # A libtool-controlled object.
  130044. - $echo >> "$output_objdir/$dlsyms" "\
  130045. + # Check to see that this really is a libtool object.
  130046. + if func_lalib_unsafe_p "$arg"; then
  130047. + pic_object=
  130048. + non_pic_object=
  130049. -#undef lt_preloaded_symbols
  130050. + # Read the .lo file
  130051. + func_source "$arg"
  130052. -#if defined (__STDC__) && __STDC__
  130053. -# define lt_ptr void *
  130054. -#else
  130055. -# define lt_ptr char *
  130056. -# define const
  130057. -#endif
  130058. + if test -z "$pic_object" ||
  130059. + test -z "$non_pic_object" ||
  130060. + test "$pic_object" = none &&
  130061. + test "$non_pic_object" = none; then
  130062. + func_fatal_error "cannot find name of object for \`$arg'"
  130063. + fi
  130064. -/* The mapping between symbol names and symbols. */
  130065. -"
  130066. + # Extract subdirectory from the argument.
  130067. + func_dirname "$arg" "/" ""
  130068. + xdir="$func_dirname_result"
  130069. - case $host in
  130070. - *cygwin* | *mingw* )
  130071. - $echo >> "$output_objdir/$dlsyms" "\
  130072. -/* DATA imports from DLLs on WIN32 can't be const, because
  130073. - runtime relocations are performed -- see ld's documentation
  130074. - on pseudo-relocs */
  130075. -struct {
  130076. -"
  130077. - ;;
  130078. - * )
  130079. - $echo >> "$output_objdir/$dlsyms" "\
  130080. -const struct {
  130081. -"
  130082. - ;;
  130083. - esac
  130084. + if test "$pic_object" != none; then
  130085. + # Prepend the subdirectory the object is found in.
  130086. + pic_object="$xdir$pic_object"
  130087. + if test "$prev" = dlfiles; then
  130088. + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  130089. + dlfiles="$dlfiles $pic_object"
  130090. + prev=
  130091. + continue
  130092. + else
  130093. + # If libtool objects are unsupported, then we need to preload.
  130094. + prev=dlprefiles
  130095. + fi
  130096. + fi
  130097. - $echo >> "$output_objdir/$dlsyms" "\
  130098. - const char *name;
  130099. - lt_ptr address;
  130100. -}
  130101. -lt_preloaded_symbols[] =
  130102. -{\
  130103. -"
  130104. + # CHECK ME: I think I busted this. -Ossama
  130105. + if test "$prev" = dlprefiles; then
  130106. + # Preload the old-style object.
  130107. + dlprefiles="$dlprefiles $pic_object"
  130108. + prev=
  130109. + fi
  130110. - eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
  130111. + # A PIC object.
  130112. + func_append libobjs " $pic_object"
  130113. + arg="$pic_object"
  130114. + fi
  130115. - $echo >> "$output_objdir/$dlsyms" "\
  130116. - {0, (lt_ptr) 0}
  130117. -};
  130118. + # Non-PIC object.
  130119. + if test "$non_pic_object" != none; then
  130120. + # Prepend the subdirectory the object is found in.
  130121. + non_pic_object="$xdir$non_pic_object"
  130122. -/* This works around a problem in FreeBSD linker */
  130123. -#ifdef FREEBSD_WORKAROUND
  130124. -static const void *lt_preloaded_setup() {
  130125. - return lt_preloaded_symbols;
  130126. -}
  130127. -#endif
  130128. + # A standard non-PIC object
  130129. + func_append non_pic_objects " $non_pic_object"
  130130. + if test -z "$pic_object" || test "$pic_object" = none ; then
  130131. + arg="$non_pic_object"
  130132. + fi
  130133. + else
  130134. + # If the PIC object exists, use it instead.
  130135. + # $xdir was prepended to $pic_object above.
  130136. + non_pic_object="$pic_object"
  130137. + func_append non_pic_objects " $non_pic_object"
  130138. + fi
  130139. + else
  130140. + # Only an error if not doing a dry-run.
  130141. + if $opt_dry_run; then
  130142. + # Extract subdirectory from the argument.
  130143. + func_dirname "$arg" "/" ""
  130144. + xdir="$func_dirname_result"
  130145. -#ifdef __cplusplus
  130146. -}
  130147. -#endif\
  130148. -"
  130149. + func_lo2o "$arg"
  130150. + pic_object=$xdir$objdir/$func_lo2o_result
  130151. + non_pic_object=$xdir$func_lo2o_result
  130152. + func_append libobjs " $pic_object"
  130153. + func_append non_pic_objects " $non_pic_object"
  130154. + else
  130155. + func_fatal_error "\`$arg' is not a valid libtool object"
  130156. + fi
  130157. + fi
  130158. + done
  130159. + else
  130160. + func_fatal_error "link input file \`$arg' does not exist"
  130161. fi
  130162. -
  130163. - pic_flag_for_symtable=
  130164. - case $host in
  130165. - # compiling the symbol table file with pic_flag works around
  130166. - # a FreeBSD bug that causes programs to crash when -lm is
  130167. - # linked before any other PIC object. But we must not use
  130168. - # pic_flag when linking with -static. The problem exists in
  130169. - # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
  130170. - *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
  130171. - case "$compile_command " in
  130172. - *" -static "*) ;;
  130173. - *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
  130174. - esac;;
  130175. - *-*-hpux*)
  130176. - case "$compile_command " in
  130177. - *" -static "*) ;;
  130178. - *) pic_flag_for_symtable=" $pic_flag";;
  130179. - esac
  130180. + arg=$save_arg
  130181. + prev=
  130182. + continue
  130183. + ;;
  130184. + precious_regex)
  130185. + precious_files_regex="$arg"
  130186. + prev=
  130187. + continue
  130188. + ;;
  130189. + release)
  130190. + release="-$arg"
  130191. + prev=
  130192. + continue
  130193. + ;;
  130194. + rpath | xrpath)
  130195. + # We need an absolute path.
  130196. + case $arg in
  130197. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  130198. + *)
  130199. + func_fatal_error "only absolute run-paths are allowed"
  130200. + ;;
  130201. esac
  130202. -
  130203. - # Now compile the dynamic symbol file.
  130204. - $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
  130205. - $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
  130206. -
  130207. - # Clean up the generated files.
  130208. - $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
  130209. - $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
  130210. -
  130211. - # Transform the symbol file into the correct name.
  130212. - case $host in
  130213. - *cygwin* | *mingw* )
  130214. - if test -f "$output_objdir/${outputname}.def" ; then
  130215. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
  130216. - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
  130217. - else
  130218. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
  130219. - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
  130220. - fi
  130221. - ;;
  130222. - * )
  130223. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
  130224. - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
  130225. - ;;
  130226. - esac
  130227. + if test "$prev" = rpath; then
  130228. + case "$rpath " in
  130229. + *" $arg "*) ;;
  130230. + *) rpath="$rpath $arg" ;;
  130231. + esac
  130232. + else
  130233. + case "$xrpath " in
  130234. + *" $arg "*) ;;
  130235. + *) xrpath="$xrpath $arg" ;;
  130236. + esac
  130237. + fi
  130238. + prev=
  130239. + continue
  130240. + ;;
  130241. + shrext)
  130242. + shrext_cmds="$arg"
  130243. + prev=
  130244. + continue
  130245. + ;;
  130246. + weak)
  130247. + weak_libs="$weak_libs $arg"
  130248. + prev=
  130249. + continue
  130250. + ;;
  130251. + xcclinker)
  130252. + linker_flags="$linker_flags $qarg"
  130253. + compiler_flags="$compiler_flags $qarg"
  130254. + prev=
  130255. + func_append compile_command " $qarg"
  130256. + func_append finalize_command " $qarg"
  130257. + continue
  130258. + ;;
  130259. + xcompiler)
  130260. + compiler_flags="$compiler_flags $qarg"
  130261. + prev=
  130262. + func_append compile_command " $qarg"
  130263. + func_append finalize_command " $qarg"
  130264. + continue
  130265. ;;
  130266. - *-*-freebsd*)
  130267. - # FreeBSD doesn't need this...
  130268. + xlinker)
  130269. + linker_flags="$linker_flags $qarg"
  130270. + compiler_flags="$compiler_flags $wl$qarg"
  130271. + prev=
  130272. + func_append compile_command " $wl$qarg"
  130273. + func_append finalize_command " $wl$qarg"
  130274. + continue
  130275. ;;
  130276. *)
  130277. - $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
  130278. - exit $EXIT_FAILURE
  130279. + eval "$prev=\"\$arg\""
  130280. + prev=
  130281. + continue
  130282. ;;
  130283. esac
  130284. - else
  130285. - # We keep going just in case the user didn't refer to
  130286. - # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
  130287. - # really was required.
  130288. -
  130289. - # Nullify the symbol file.
  130290. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
  130291. - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
  130292. - fi
  130293. -
  130294. - if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
  130295. - # Replace the output file specification.
  130296. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP`
  130297. - link_command="$compile_command$compile_rpath"
  130298. + fi # test -n "$prev"
  130299. - # We have no uninstalled library dependencies, so finalize right now.
  130300. - $show "$link_command"
  130301. - $run eval "$link_command"
  130302. - exit_status=$?
  130303. + prevarg="$arg"
  130304. - # Delete the generated files.
  130305. - if test -n "$dlsyms"; then
  130306. - $show "$rm $output_objdir/${outputname}S.${objext}"
  130307. - $run $rm "$output_objdir/${outputname}S.${objext}"
  130308. + case $arg in
  130309. + -all-static)
  130310. + if test -n "$link_static_flag"; then
  130311. + # See comment for -static flag below, for more details.
  130312. + func_append compile_command " $link_static_flag"
  130313. + func_append finalize_command " $link_static_flag"
  130314. fi
  130315. + continue
  130316. + ;;
  130317. - exit $exit_status
  130318. - fi
  130319. -
  130320. - if test -n "$shlibpath_var"; then
  130321. - # We should set the shlibpath_var
  130322. - rpath=
  130323. - for dir in $temp_rpath; do
  130324. - case $dir in
  130325. - [\\/]* | [A-Za-z]:[\\/]*)
  130326. - # Absolute path.
  130327. - rpath="$rpath$dir:"
  130328. - ;;
  130329. - *)
  130330. - # Relative path: add a thisdir entry.
  130331. - rpath="$rpath\$thisdir/$dir:"
  130332. - ;;
  130333. - esac
  130334. - done
  130335. - temp_rpath="$rpath"
  130336. - fi
  130337. + -allow-undefined)
  130338. + # FIXME: remove this flag sometime in the future.
  130339. + func_fatal_error "\`-allow-undefined' must not be used because it is the default"
  130340. + ;;
  130341. - if test -n "$compile_shlibpath$finalize_shlibpath"; then
  130342. - compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
  130343. - fi
  130344. - if test -n "$finalize_shlibpath"; then
  130345. - finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
  130346. - fi
  130347. + -avoid-version)
  130348. + avoid_version=yes
  130349. + continue
  130350. + ;;
  130351. - compile_var=
  130352. - finalize_var=
  130353. - if test -n "$runpath_var"; then
  130354. - if test -n "$perm_rpath"; then
  130355. - # We should set the runpath_var.
  130356. - rpath=
  130357. - for dir in $perm_rpath; do
  130358. - rpath="$rpath$dir:"
  130359. - done
  130360. - compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
  130361. - fi
  130362. - if test -n "$finalize_perm_rpath"; then
  130363. - # We should set the runpath_var.
  130364. - rpath=
  130365. - for dir in $finalize_perm_rpath; do
  130366. - rpath="$rpath$dir:"
  130367. - done
  130368. - finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
  130369. - fi
  130370. - fi
  130371. + -dlopen)
  130372. + prev=dlfiles
  130373. + continue
  130374. + ;;
  130375. - if test "$no_install" = yes; then
  130376. - # We don't need to create a wrapper script.
  130377. - link_command="$compile_var$compile_command$compile_rpath"
  130378. - # Replace the output file specification.
  130379. - link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  130380. - # Delete the old output file.
  130381. - $run $rm $output
  130382. - # Link the executable and exit
  130383. - $show "$link_command"
  130384. - $run eval "$link_command" || exit $?
  130385. - exit $EXIT_SUCCESS
  130386. - fi
  130387. + -dlpreopen)
  130388. + prev=dlprefiles
  130389. + continue
  130390. + ;;
  130391. - if test "$hardcode_action" = relink; then
  130392. - # Fast installation is not supported
  130393. - link_command="$compile_var$compile_command$compile_rpath"
  130394. - relink_command="$finalize_var$finalize_command$finalize_rpath"
  130395. + -export-dynamic)
  130396. + export_dynamic=yes
  130397. + continue
  130398. + ;;
  130399. - $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
  130400. - $echo "$modename: \`$output' will be relinked during installation" 1>&2
  130401. - else
  130402. - if test "$fast_install" != no; then
  130403. - link_command="$finalize_var$compile_command$finalize_rpath"
  130404. - if test "$fast_install" = yes; then
  130405. - relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP`
  130406. - else
  130407. - # fast_install is set to needless
  130408. - relink_command=
  130409. - fi
  130410. + -export-symbols | -export-symbols-regex)
  130411. + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
  130412. + func_fatal_error "more than one -exported-symbols argument is not allowed"
  130413. + fi
  130414. + if test "X$arg" = "X-export-symbols"; then
  130415. + prev=expsyms
  130416. else
  130417. - link_command="$compile_var$compile_command$compile_rpath"
  130418. - relink_command="$finalize_var$finalize_command$finalize_rpath"
  130419. + prev=expsyms_regex
  130420. fi
  130421. - fi
  130422. -
  130423. - # Replace the output file specification.
  130424. - link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  130425. + continue
  130426. + ;;
  130427. - # Delete the old output files.
  130428. - $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
  130429. + -framework)
  130430. + prev=framework
  130431. + continue
  130432. + ;;
  130433. - $show "$link_command"
  130434. - $run eval "$link_command" || exit $?
  130435. + -inst-prefix-dir)
  130436. + prev=inst_prefix
  130437. + continue
  130438. + ;;
  130439. - # Now create the wrapper script.
  130440. - $show "creating $output"
  130441. + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
  130442. + # so, if we see these flags be careful not to treat them like -L
  130443. + -L[A-Z][A-Z]*:*)
  130444. + case $with_gcc/$host in
  130445. + no/*-*-irix* | /*-*-irix*)
  130446. + func_append compile_command " $arg"
  130447. + func_append finalize_command " $arg"
  130448. + ;;
  130449. + esac
  130450. + continue
  130451. + ;;
  130452. - # Quote the relink command for shipping.
  130453. - if test -n "$relink_command"; then
  130454. - # Preserve any variables that may affect compiler behavior
  130455. - for var in $variables_saved_for_relink; do
  130456. - if eval test -z \"\${$var+set}\"; then
  130457. - relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
  130458. - elif eval var_value=\$$var; test -z "$var_value"; then
  130459. - relink_command="$var=; export $var; $relink_command"
  130460. + -L*)
  130461. + func_stripname '-L' '' "$arg"
  130462. + dir=$func_stripname_result
  130463. + if test -z "$dir"; then
  130464. + if test "$#" -gt 0; then
  130465. + func_fatal_error "require no space between \`-L' and \`$1'"
  130466. else
  130467. - var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
  130468. - relink_command="$var=\"$var_value\"; export $var; $relink_command"
  130469. + func_fatal_error "need path for \`-L' option"
  130470. fi
  130471. - done
  130472. - relink_command="(cd `pwd`; $relink_command)"
  130473. - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
  130474. - fi
  130475. -
  130476. - # Quote $echo for shipping.
  130477. - if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
  130478. - case $progpath in
  130479. - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
  130480. - *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
  130481. + fi
  130482. + # We need an absolute path.
  130483. + case $dir in
  130484. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  130485. + *)
  130486. + absdir=`cd "$dir" && pwd`
  130487. + test -z "$absdir" && \
  130488. + func_fatal_error "cannot determine absolute directory name of \`$dir'"
  130489. + dir="$absdir"
  130490. + ;;
  130491. esac
  130492. - qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
  130493. - else
  130494. - qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
  130495. - fi
  130496. -
  130497. - # Only actually do things if our run command is non-null.
  130498. - if test -z "$run"; then
  130499. - # win32 will think the script is a binary if it has
  130500. - # a .exe suffix, so we strip it off here.
  130501. - case $output in
  130502. - *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
  130503. + case "$deplibs " in
  130504. + *" -L$dir "*) ;;
  130505. + *)
  130506. + deplibs="$deplibs -L$dir"
  130507. + lib_search_path="$lib_search_path $dir"
  130508. + ;;
  130509. esac
  130510. - # test for cygwin because mv fails w/o .exe extensions
  130511. case $host in
  130512. - *cygwin*)
  130513. - exeext=.exe
  130514. - outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
  130515. - *) exeext= ;;
  130516. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  130517. + testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
  130518. + case :$dllsearchpath: in
  130519. + *":$dir:"*) ;;
  130520. + ::) dllsearchpath=$dir;;
  130521. + *) dllsearchpath="$dllsearchpath:$dir";;
  130522. + esac
  130523. + case :$dllsearchpath: in
  130524. + *":$testbindir:"*) ;;
  130525. + ::) dllsearchpath=$testbindir;;
  130526. + *) dllsearchpath="$dllsearchpath:$testbindir";;
  130527. + esac
  130528. + ;;
  130529. esac
  130530. - case $host in
  130531. - *cygwin* | *mingw* )
  130532. - output_name=`basename $output`
  130533. - output_path=`dirname $output`
  130534. - cwrappersource="$output_path/$objdir/lt-$output_name.c"
  130535. - cwrapper="$output_path/$output_name.exe"
  130536. - $rm $cwrappersource $cwrapper
  130537. - trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
  130538. -
  130539. - cat > $cwrappersource <<EOF
  130540. -
  130541. -/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
  130542. - Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
  130543. -
  130544. - The $output program cannot be directly executed until all the libtool
  130545. - libraries that it depends on are installed.
  130546. -
  130547. - This wrapper executable should never be moved out of the build directory.
  130548. - If it is, it will not operate correctly.
  130549. + continue
  130550. + ;;
  130551. - Currently, it simply execs the wrapper *script* "/bin/sh $output",
  130552. - but could eventually absorb all of the scripts functionality and
  130553. - exec $objdir/$outputname directly.
  130554. -*/
  130555. -EOF
  130556. - cat >> $cwrappersource<<"EOF"
  130557. -#include <stdio.h>
  130558. -#include <stdlib.h>
  130559. -#include <unistd.h>
  130560. -#include <malloc.h>
  130561. -#include <stdarg.h>
  130562. -#include <assert.h>
  130563. -#include <string.h>
  130564. -#include <ctype.h>
  130565. -#include <sys/stat.h>
  130566. + -l*)
  130567. + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
  130568. + case $host in
  130569. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
  130570. + # These systems don't actually have a C or math library (as such)
  130571. + continue
  130572. + ;;
  130573. + *-*-os2*)
  130574. + # These systems don't actually have a C library (as such)
  130575. + test "X$arg" = "X-lc" && continue
  130576. + ;;
  130577. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  130578. + # Do not include libc due to us having libc/libc_r.
  130579. + test "X$arg" = "X-lc" && continue
  130580. + ;;
  130581. + *-*-rhapsody* | *-*-darwin1.[012])
  130582. + # Rhapsody C and math libraries are in the System framework
  130583. + deplibs="$deplibs System.ltframework"
  130584. + continue
  130585. + ;;
  130586. + *-*-sco3.2v5* | *-*-sco5v6*)
  130587. + # Causes problems with __ctype
  130588. + test "X$arg" = "X-lc" && continue
  130589. + ;;
  130590. + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  130591. + # Compiler inserts libc in the correct place for threads to work
  130592. + test "X$arg" = "X-lc" && continue
  130593. + ;;
  130594. + esac
  130595. + elif test "X$arg" = "X-lc_r"; then
  130596. + case $host in
  130597. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  130598. + # Do not include libc_r directly, use -pthread flag.
  130599. + continue
  130600. + ;;
  130601. + esac
  130602. + fi
  130603. + deplibs="$deplibs $arg"
  130604. + continue
  130605. + ;;
  130606. -#if defined(PATH_MAX)
  130607. -# define LT_PATHMAX PATH_MAX
  130608. -#elif defined(MAXPATHLEN)
  130609. -# define LT_PATHMAX MAXPATHLEN
  130610. -#else
  130611. -# define LT_PATHMAX 1024
  130612. -#endif
  130613. + -module)
  130614. + module=yes
  130615. + continue
  130616. + ;;
  130617. -#ifndef DIR_SEPARATOR
  130618. -# define DIR_SEPARATOR '/'
  130619. -# define PATH_SEPARATOR ':'
  130620. -#endif
  130621. + # Tru64 UNIX uses -model [arg] to determine the layout of C++
  130622. + # classes, name mangling, and exception handling.
  130623. + # Darwin uses the -arch flag to determine output architecture.
  130624. + -model|-arch|-isysroot)
  130625. + compiler_flags="$compiler_flags $arg"
  130626. + func_append compile_command " $arg"
  130627. + func_append finalize_command " $arg"
  130628. + prev=xcompiler
  130629. + continue
  130630. + ;;
  130631. -#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
  130632. - defined (__OS2__)
  130633. -# define HAVE_DOS_BASED_FILE_SYSTEM
  130634. -# ifndef DIR_SEPARATOR_2
  130635. -# define DIR_SEPARATOR_2 '\\'
  130636. -# endif
  130637. -# ifndef PATH_SEPARATOR_2
  130638. -# define PATH_SEPARATOR_2 ';'
  130639. -# endif
  130640. -#endif
  130641. + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  130642. + compiler_flags="$compiler_flags $arg"
  130643. + func_append compile_command " $arg"
  130644. + func_append finalize_command " $arg"
  130645. + case "$new_inherited_linker_flags " in
  130646. + *" $arg "*) ;;
  130647. + * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;;
  130648. + esac
  130649. + continue
  130650. + ;;
  130651. -#ifndef DIR_SEPARATOR_2
  130652. -# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
  130653. -#else /* DIR_SEPARATOR_2 */
  130654. -# define IS_DIR_SEPARATOR(ch) \
  130655. - (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
  130656. -#endif /* DIR_SEPARATOR_2 */
  130657. + -multi_module)
  130658. + single_module="${wl}-multi_module"
  130659. + continue
  130660. + ;;
  130661. -#ifndef PATH_SEPARATOR_2
  130662. -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
  130663. -#else /* PATH_SEPARATOR_2 */
  130664. -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
  130665. -#endif /* PATH_SEPARATOR_2 */
  130666. + -no-fast-install)
  130667. + fast_install=no
  130668. + continue
  130669. + ;;
  130670. -#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
  130671. -#define XFREE(stale) do { \
  130672. - if (stale) { free ((void *) stale); stale = 0; } \
  130673. -} while (0)
  130674. + -no-install)
  130675. + case $host in
  130676. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
  130677. + # The PATH hackery in wrapper scripts is required on Windows
  130678. + # and Darwin in order for the loader to find any dlls it needs.
  130679. + func_warning "\`-no-install' is ignored for $host"
  130680. + func_warning "assuming \`-no-fast-install' instead"
  130681. + fast_install=no
  130682. + ;;
  130683. + *) no_install=yes ;;
  130684. + esac
  130685. + continue
  130686. + ;;
  130687. -/* -DDEBUG is fairly common in CFLAGS. */
  130688. -#undef DEBUG
  130689. -#if defined DEBUGWRAPPER
  130690. -# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
  130691. -#else
  130692. -# define DEBUG(format, ...)
  130693. -#endif
  130694. + -no-undefined)
  130695. + allow_undefined=no
  130696. + continue
  130697. + ;;
  130698. -const char *program_name = NULL;
  130699. + -objectlist)
  130700. + prev=objectlist
  130701. + continue
  130702. + ;;
  130703. -void * xmalloc (size_t num);
  130704. -char * xstrdup (const char *string);
  130705. -const char * base_name (const char *name);
  130706. -char * find_executable(const char *wrapper);
  130707. -int check_executable(const char *path);
  130708. -char * strendzap(char *str, const char *pat);
  130709. -void lt_fatal (const char *message, ...);
  130710. + -o) prev=output ;;
  130711. -int
  130712. -main (int argc, char *argv[])
  130713. -{
  130714. - char **newargz;
  130715. - int i;
  130716. + -precious-files-regex)
  130717. + prev=precious_regex
  130718. + continue
  130719. + ;;
  130720. - program_name = (char *) xstrdup (base_name (argv[0]));
  130721. - DEBUG("(main) argv[0] : %s\n",argv[0]);
  130722. - DEBUG("(main) program_name : %s\n",program_name);
  130723. - newargz = XMALLOC(char *, argc+2);
  130724. -EOF
  130725. + -release)
  130726. + prev=release
  130727. + continue
  130728. + ;;
  130729. - cat >> $cwrappersource <<EOF
  130730. - newargz[0] = (char *) xstrdup("$SHELL");
  130731. -EOF
  130732. + -rpath)
  130733. + prev=rpath
  130734. + continue
  130735. + ;;
  130736. - cat >> $cwrappersource <<"EOF"
  130737. - newargz[1] = find_executable(argv[0]);
  130738. - if (newargz[1] == NULL)
  130739. - lt_fatal("Couldn't find %s", argv[0]);
  130740. - DEBUG("(main) found exe at : %s\n",newargz[1]);
  130741. - /* we know the script has the same name, without the .exe */
  130742. - /* so make sure newargz[1] doesn't end in .exe */
  130743. - strendzap(newargz[1],".exe");
  130744. - for (i = 1; i < argc; i++)
  130745. - newargz[i+1] = xstrdup(argv[i]);
  130746. - newargz[argc+1] = NULL;
  130747. + -R)
  130748. + prev=xrpath
  130749. + continue
  130750. + ;;
  130751. - for (i=0; i<argc+1; i++)
  130752. - {
  130753. - DEBUG("(main) newargz[%d] : %s\n",i,newargz[i]);
  130754. - ;
  130755. - }
  130756. + -R*)
  130757. + func_stripname '-R' '' "$arg"
  130758. + dir=$func_stripname_result
  130759. + # We need an absolute path.
  130760. + case $dir in
  130761. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  130762. + *)
  130763. + func_fatal_error "only absolute run-paths are allowed"
  130764. + ;;
  130765. + esac
  130766. + case "$xrpath " in
  130767. + *" $dir "*) ;;
  130768. + *) xrpath="$xrpath $dir" ;;
  130769. + esac
  130770. + continue
  130771. + ;;
  130772. -EOF
  130773. + -shared)
  130774. + # The effects of -shared are defined in a previous loop.
  130775. + continue
  130776. + ;;
  130777. - case $host_os in
  130778. - mingw*)
  130779. - cat >> $cwrappersource <<EOF
  130780. - execv("$SHELL",(char const **)newargz);
  130781. -EOF
  130782. - ;;
  130783. - *)
  130784. - cat >> $cwrappersource <<EOF
  130785. - execv("$SHELL",newargz);
  130786. -EOF
  130787. - ;;
  130788. - esac
  130789. + -shrext)
  130790. + prev=shrext
  130791. + continue
  130792. + ;;
  130793. - cat >> $cwrappersource <<"EOF"
  130794. - return 127;
  130795. -}
  130796. + -static | -static-libtool-libs)
  130797. + # The effects of -static are defined in a previous loop.
  130798. + # We used to do the same as -all-static on platforms that
  130799. + # didn't have a PIC flag, but the assumption that the effects
  130800. + # would be equivalent was wrong. It would break on at least
  130801. + # Digital Unix and AIX.
  130802. + continue
  130803. + ;;
  130804. -void *
  130805. -xmalloc (size_t num)
  130806. -{
  130807. - void * p = (void *) malloc (num);
  130808. - if (!p)
  130809. - lt_fatal ("Memory exhausted");
  130810. + -thread-safe)
  130811. + thread_safe=yes
  130812. + continue
  130813. + ;;
  130814. - return p;
  130815. -}
  130816. + -version-info)
  130817. + prev=vinfo
  130818. + continue
  130819. + ;;
  130820. -char *
  130821. -xstrdup (const char *string)
  130822. -{
  130823. - return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
  130824. -;
  130825. -}
  130826. + -version-number)
  130827. + prev=vinfo
  130828. + vinfo_number=yes
  130829. + continue
  130830. + ;;
  130831. -const char *
  130832. -base_name (const char *name)
  130833. -{
  130834. - const char *base;
  130835. + -weak)
  130836. + prev=weak
  130837. + continue
  130838. + ;;
  130839. -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  130840. - /* Skip over the disk name in MSDOS pathnames. */
  130841. - if (isalpha ((unsigned char)name[0]) && name[1] == ':')
  130842. - name += 2;
  130843. -#endif
  130844. + -Wc,*)
  130845. + func_stripname '-Wc,' '' "$arg"
  130846. + args=$func_stripname_result
  130847. + arg=
  130848. + save_ifs="$IFS"; IFS=','
  130849. + for flag in $args; do
  130850. + IFS="$save_ifs"
  130851. + func_quote_for_eval "$flag"
  130852. + arg="$arg $wl$func_quote_for_eval_result"
  130853. + compiler_flags="$compiler_flags $func_quote_for_eval_result"
  130854. + done
  130855. + IFS="$save_ifs"
  130856. + func_stripname ' ' '' "$arg"
  130857. + arg=$func_stripname_result
  130858. + ;;
  130859. - for (base = name; *name; name++)
  130860. - if (IS_DIR_SEPARATOR (*name))
  130861. - base = name + 1;
  130862. - return base;
  130863. -}
  130864. + -Wl,*)
  130865. + func_stripname '-Wl,' '' "$arg"
  130866. + args=$func_stripname_result
  130867. + arg=
  130868. + save_ifs="$IFS"; IFS=','
  130869. + for flag in $args; do
  130870. + IFS="$save_ifs"
  130871. + func_quote_for_eval "$flag"
  130872. + arg="$arg $wl$func_quote_for_eval_result"
  130873. + compiler_flags="$compiler_flags $wl$func_quote_for_eval_result"
  130874. + linker_flags="$linker_flags $func_quote_for_eval_result"
  130875. + done
  130876. + IFS="$save_ifs"
  130877. + func_stripname ' ' '' "$arg"
  130878. + arg=$func_stripname_result
  130879. + ;;
  130880. -int
  130881. -check_executable(const char * path)
  130882. -{
  130883. - struct stat st;
  130884. + -Xcompiler)
  130885. + prev=xcompiler
  130886. + continue
  130887. + ;;
  130888. - DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
  130889. - if ((!path) || (!*path))
  130890. - return 0;
  130891. + -Xlinker)
  130892. + prev=xlinker
  130893. + continue
  130894. + ;;
  130895. - if ((stat (path, &st) >= 0) &&
  130896. - (
  130897. - /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
  130898. -#if defined (S_IXOTH)
  130899. - ((st.st_mode & S_IXOTH) == S_IXOTH) ||
  130900. -#endif
  130901. -#if defined (S_IXGRP)
  130902. - ((st.st_mode & S_IXGRP) == S_IXGRP) ||
  130903. -#endif
  130904. - ((st.st_mode & S_IXUSR) == S_IXUSR))
  130905. - )
  130906. - return 1;
  130907. - else
  130908. - return 0;
  130909. -}
  130910. + -XCClinker)
  130911. + prev=xcclinker
  130912. + continue
  130913. + ;;
  130914. -/* Searches for the full path of the wrapper. Returns
  130915. - newly allocated full path name if found, NULL otherwise */
  130916. -char *
  130917. -find_executable (const char* wrapper)
  130918. -{
  130919. - int has_slash = 0;
  130920. - const char* p;
  130921. - const char* p_next;
  130922. - /* static buffer for getcwd */
  130923. - char tmp[LT_PATHMAX + 1];
  130924. - int tmp_len;
  130925. - char* concat_name;
  130926. + # -msg_* for osf cc
  130927. + -msg_*)
  130928. + func_quote_for_eval "$arg"
  130929. + arg="$func_quote_for_eval_result"
  130930. + ;;
  130931. - DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
  130932. + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
  130933. + # -r[0-9][0-9]* specifies the processor on the SGI compiler
  130934. + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
  130935. + # +DA*, +DD* enable 64-bit mode on the HP compiler
  130936. + # -q* pass through compiler args for the IBM compiler
  130937. + # -m*, -t[45]*, -txscale* pass through architecture-specific
  130938. + # compiler args for GCC
  130939. + # -F/path gives path to uninstalled frameworks, gcc on darwin
  130940. + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
  130941. + # @file GCC response files
  130942. + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
  130943. + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
  130944. + func_quote_for_eval "$arg"
  130945. + arg="$func_quote_for_eval_result"
  130946. + func_append compile_command " $arg"
  130947. + func_append finalize_command " $arg"
  130948. + compiler_flags="$compiler_flags $arg"
  130949. + continue
  130950. + ;;
  130951. - if ((wrapper == NULL) || (*wrapper == '\0'))
  130952. - return NULL;
  130953. + # Some other compiler flag.
  130954. + -* | +*)
  130955. + func_quote_for_eval "$arg"
  130956. + arg="$func_quote_for_eval_result"
  130957. + ;;
  130958. - /* Absolute path? */
  130959. -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  130960. - if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
  130961. - {
  130962. - concat_name = xstrdup (wrapper);
  130963. - if (check_executable(concat_name))
  130964. - return concat_name;
  130965. - XFREE(concat_name);
  130966. - }
  130967. - else
  130968. - {
  130969. -#endif
  130970. - if (IS_DIR_SEPARATOR (wrapper[0]))
  130971. - {
  130972. - concat_name = xstrdup (wrapper);
  130973. - if (check_executable(concat_name))
  130974. - return concat_name;
  130975. - XFREE(concat_name);
  130976. - }
  130977. -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  130978. - }
  130979. -#endif
  130980. + *.$objext)
  130981. + # A standard object.
  130982. + objs="$objs $arg"
  130983. + ;;
  130984. - for (p = wrapper; *p; p++)
  130985. - if (*p == '/')
  130986. - {
  130987. - has_slash = 1;
  130988. - break;
  130989. - }
  130990. - if (!has_slash)
  130991. - {
  130992. - /* no slashes; search PATH */
  130993. - const char* path = getenv ("PATH");
  130994. - if (path != NULL)
  130995. - {
  130996. - for (p = path; *p; p = p_next)
  130997. - {
  130998. - const char* q;
  130999. - size_t p_len;
  131000. - for (q = p; *q; q++)
  131001. - if (IS_PATH_SEPARATOR(*q))
  131002. - break;
  131003. - p_len = q - p;
  131004. - p_next = (*q == '\0' ? q : q + 1);
  131005. - if (p_len == 0)
  131006. - {
  131007. - /* empty path: current directory */
  131008. - if (getcwd (tmp, LT_PATHMAX) == NULL)
  131009. - lt_fatal ("getcwd failed");
  131010. - tmp_len = strlen(tmp);
  131011. - concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
  131012. - memcpy (concat_name, tmp, tmp_len);
  131013. - concat_name[tmp_len] = '/';
  131014. - strcpy (concat_name + tmp_len + 1, wrapper);
  131015. - }
  131016. - else
  131017. - {
  131018. - concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
  131019. - memcpy (concat_name, p, p_len);
  131020. - concat_name[p_len] = '/';
  131021. - strcpy (concat_name + p_len + 1, wrapper);
  131022. - }
  131023. - if (check_executable(concat_name))
  131024. - return concat_name;
  131025. - XFREE(concat_name);
  131026. - }
  131027. - }
  131028. - /* not found in PATH; assume curdir */
  131029. - }
  131030. - /* Relative path | not found in path: prepend cwd */
  131031. - if (getcwd (tmp, LT_PATHMAX) == NULL)
  131032. - lt_fatal ("getcwd failed");
  131033. - tmp_len = strlen(tmp);
  131034. - concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
  131035. - memcpy (concat_name, tmp, tmp_len);
  131036. - concat_name[tmp_len] = '/';
  131037. - strcpy (concat_name + tmp_len + 1, wrapper);
  131038. + *.lo)
  131039. + # A libtool-controlled object.
  131040. - if (check_executable(concat_name))
  131041. - return concat_name;
  131042. - XFREE(concat_name);
  131043. - return NULL;
  131044. -}
  131045. + # Check to see that this really is a libtool object.
  131046. + if func_lalib_unsafe_p "$arg"; then
  131047. + pic_object=
  131048. + non_pic_object=
  131049. -char *
  131050. -strendzap(char *str, const char *pat)
  131051. -{
  131052. - size_t len, patlen;
  131053. + # Read the .lo file
  131054. + func_source "$arg"
  131055. - assert(str != NULL);
  131056. - assert(pat != NULL);
  131057. + if test -z "$pic_object" ||
  131058. + test -z "$non_pic_object" ||
  131059. + test "$pic_object" = none &&
  131060. + test "$non_pic_object" = none; then
  131061. + func_fatal_error "cannot find name of object for \`$arg'"
  131062. + fi
  131063. - len = strlen(str);
  131064. - patlen = strlen(pat);
  131065. + # Extract subdirectory from the argument.
  131066. + func_dirname "$arg" "/" ""
  131067. + xdir="$func_dirname_result"
  131068. - if (patlen <= len)
  131069. - {
  131070. - str += len - patlen;
  131071. - if (strcmp(str, pat) == 0)
  131072. - *str = '\0';
  131073. - }
  131074. - return str;
  131075. -}
  131076. + if test "$pic_object" != none; then
  131077. + # Prepend the subdirectory the object is found in.
  131078. + pic_object="$xdir$pic_object"
  131079. -static void
  131080. -lt_error_core (int exit_status, const char * mode,
  131081. - const char * message, va_list ap)
  131082. -{
  131083. - fprintf (stderr, "%s: %s: ", program_name, mode);
  131084. - vfprintf (stderr, message, ap);
  131085. - fprintf (stderr, ".\n");
  131086. + if test "$prev" = dlfiles; then
  131087. + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  131088. + dlfiles="$dlfiles $pic_object"
  131089. + prev=
  131090. + continue
  131091. + else
  131092. + # If libtool objects are unsupported, then we need to preload.
  131093. + prev=dlprefiles
  131094. + fi
  131095. + fi
  131096. - if (exit_status >= 0)
  131097. - exit (exit_status);
  131098. -}
  131099. + # CHECK ME: I think I busted this. -Ossama
  131100. + if test "$prev" = dlprefiles; then
  131101. + # Preload the old-style object.
  131102. + dlprefiles="$dlprefiles $pic_object"
  131103. + prev=
  131104. + fi
  131105. -void
  131106. -lt_fatal (const char *message, ...)
  131107. -{
  131108. - va_list ap;
  131109. - va_start (ap, message);
  131110. - lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
  131111. - va_end (ap);
  131112. -}
  131113. -EOF
  131114. - # we should really use a build-platform specific compiler
  131115. - # here, but OTOH, the wrappers (shell script and this C one)
  131116. - # are only useful if you want to execute the "real" binary.
  131117. - # Since the "real" binary is built for $host, then this
  131118. - # wrapper might as well be built for $host, too.
  131119. - $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
  131120. - ;;
  131121. - esac
  131122. - $rm $output
  131123. - trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
  131124. + # A PIC object.
  131125. + func_append libobjs " $pic_object"
  131126. + arg="$pic_object"
  131127. + fi
  131128. - $echo > $output "\
  131129. -#! $SHELL
  131130. + # Non-PIC object.
  131131. + if test "$non_pic_object" != none; then
  131132. + # Prepend the subdirectory the object is found in.
  131133. + non_pic_object="$xdir$non_pic_object"
  131134. -# $output - temporary wrapper script for $objdir/$outputname
  131135. -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
  131136. -#
  131137. -# The $output program cannot be directly executed until all the libtool
  131138. -# libraries that it depends on are installed.
  131139. -#
  131140. -# This wrapper script should never be moved out of the build directory.
  131141. -# If it is, it will not operate correctly.
  131142. + # A standard non-PIC object
  131143. + func_append non_pic_objects " $non_pic_object"
  131144. + if test -z "$pic_object" || test "$pic_object" = none ; then
  131145. + arg="$non_pic_object"
  131146. + fi
  131147. + else
  131148. + # If the PIC object exists, use it instead.
  131149. + # $xdir was prepended to $pic_object above.
  131150. + non_pic_object="$pic_object"
  131151. + func_append non_pic_objects " $non_pic_object"
  131152. + fi
  131153. + else
  131154. + # Only an error if not doing a dry-run.
  131155. + if $opt_dry_run; then
  131156. + # Extract subdirectory from the argument.
  131157. + func_dirname "$arg" "/" ""
  131158. + xdir="$func_dirname_result"
  131159. -# Sed substitution that helps us do robust quoting. It backslashifies
  131160. -# metacharacters that are still active within double-quoted strings.
  131161. -Xsed='${SED} -e 1s/^X//'
  131162. -sed_quote_subst='$sed_quote_subst'
  131163. + func_lo2o "$arg"
  131164. + pic_object=$xdir$objdir/$func_lo2o_result
  131165. + non_pic_object=$xdir$func_lo2o_result
  131166. + func_append libobjs " $pic_object"
  131167. + func_append non_pic_objects " $non_pic_object"
  131168. + else
  131169. + func_fatal_error "\`$arg' is not a valid libtool object"
  131170. + fi
  131171. + fi
  131172. + ;;
  131173. -# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
  131174. -if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
  131175. - emulate sh
  131176. - NULLCMD=:
  131177. - # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
  131178. - # is contrary to our usage. Disable this feature.
  131179. - alias -g '\${1+\"\$@\"}'='\"\$@\"'
  131180. - setopt NO_GLOB_SUBST
  131181. -else
  131182. - case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
  131183. -fi
  131184. -BIN_SH=xpg4; export BIN_SH # for Tru64
  131185. -DUALCASE=1; export DUALCASE # for MKS sh
  131186. + *.$libext)
  131187. + # An archive.
  131188. + deplibs="$deplibs $arg"
  131189. + old_deplibs="$old_deplibs $arg"
  131190. + continue
  131191. + ;;
  131192. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  131193. -# if CDPATH is set.
  131194. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  131195. + *.la)
  131196. + # A libtool-controlled library.
  131197. -relink_command=\"$relink_command\"
  131198. + if test "$prev" = dlfiles; then
  131199. + # This library was specified with -dlopen.
  131200. + dlfiles="$dlfiles $arg"
  131201. + prev=
  131202. + elif test "$prev" = dlprefiles; then
  131203. + # The library was specified with -dlpreopen.
  131204. + dlprefiles="$dlprefiles $arg"
  131205. + prev=
  131206. + else
  131207. + deplibs="$deplibs $arg"
  131208. + fi
  131209. + continue
  131210. + ;;
  131211. -# This environment variable determines our operation mode.
  131212. -if test \"\$libtool_install_magic\" = \"$magic\"; then
  131213. - # install mode needs the following variable:
  131214. - notinst_deplibs='$notinst_deplibs'
  131215. -else
  131216. - # When we are sourced in execute mode, \$file and \$echo are already set.
  131217. - if test \"\$libtool_execute_magic\" != \"$magic\"; then
  131218. - echo=\"$qecho\"
  131219. - file=\"\$0\"
  131220. - # Make sure echo works.
  131221. - if test \"X\$1\" = X--no-reexec; then
  131222. - # Discard the --no-reexec flag, and continue.
  131223. - shift
  131224. - elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then
  131225. - # Yippee, \$echo works!
  131226. - :
  131227. - else
  131228. - # Restart under the correct shell, and then maybe \$echo will work.
  131229. - exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
  131230. - fi
  131231. - fi\
  131232. -"
  131233. - $echo >> $output "\
  131234. + # Some other compiler argument.
  131235. + *)
  131236. + # Unknown arguments in both finalize_command and compile_command need
  131237. + # to be aesthetically quoted because they are evaled later.
  131238. + func_quote_for_eval "$arg"
  131239. + arg="$func_quote_for_eval_result"
  131240. + ;;
  131241. + esac # arg
  131242. - # Find the directory that this script lives in.
  131243. - thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
  131244. - test \"x\$thisdir\" = \"x\$file\" && thisdir=.
  131245. + # Now actually substitute the argument into the commands.
  131246. + if test -n "$arg"; then
  131247. + func_append compile_command " $arg"
  131248. + func_append finalize_command " $arg"
  131249. + fi
  131250. + done # argument parsing loop
  131251. - # Follow symbolic links until we get to the real thisdir.
  131252. - file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
  131253. - while test -n \"\$file\"; do
  131254. - destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
  131255. + test -n "$prev" && \
  131256. + func_fatal_help "the \`$prevarg' option requires an argument"
  131257. - # If there was a directory component, then change thisdir.
  131258. - if test \"x\$destdir\" != \"x\$file\"; then
  131259. - case \"\$destdir\" in
  131260. - [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
  131261. - *) thisdir=\"\$thisdir/\$destdir\" ;;
  131262. - esac
  131263. + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
  131264. + eval arg=\"$export_dynamic_flag_spec\"
  131265. + func_append compile_command " $arg"
  131266. + func_append finalize_command " $arg"
  131267. fi
  131268. - file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
  131269. - file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
  131270. - done
  131271. + oldlibs=
  131272. + # calculate the name of the file, without its directory
  131273. + func_basename "$output"
  131274. + outputname="$func_basename_result"
  131275. + libobjs_save="$libobjs"
  131276. - # Try to get the absolute directory name.
  131277. - absdir=\`cd \"\$thisdir\" && pwd\`
  131278. - test -n \"\$absdir\" && thisdir=\"\$absdir\"
  131279. -"
  131280. + if test -n "$shlibpath_var"; then
  131281. + # get the directories listed in $shlibpath_var
  131282. + eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
  131283. + else
  131284. + shlib_search_path=
  131285. + fi
  131286. + eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
  131287. + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
  131288. +
  131289. + func_dirname "$output" "/" ""
  131290. + output_objdir="$func_dirname_result$objdir"
  131291. + # Create the object directory.
  131292. + func_mkdir_p "$output_objdir"
  131293. +
  131294. + # Determine the type of output
  131295. + case $output in
  131296. + "")
  131297. + func_fatal_help "you must specify an output file"
  131298. + ;;
  131299. + *.$libext) linkmode=oldlib ;;
  131300. + *.lo | *.$objext) linkmode=obj ;;
  131301. + *.la) linkmode=lib ;;
  131302. + *) linkmode=prog ;; # Anything else should be a program.
  131303. + esac
  131304. +
  131305. + specialdeplibs=
  131306. +
  131307. + libs=
  131308. + # Find all interdependent deplibs by searching for libraries
  131309. + # that are linked more than once (e.g. -la -lb -la)
  131310. + for deplib in $deplibs; do
  131311. + if $opt_duplicate_deps ; then
  131312. + case "$libs " in
  131313. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  131314. + esac
  131315. + fi
  131316. + libs="$libs $deplib"
  131317. + done
  131318. +
  131319. + if test "$linkmode" = lib; then
  131320. + libs="$predeps $libs $compiler_lib_search_path $postdeps"
  131321. +
  131322. + # Compute libraries that are listed more than once in $predeps
  131323. + # $postdeps and mark them as special (i.e., whose duplicates are
  131324. + # not to be eliminated).
  131325. + pre_post_deps=
  131326. + if $opt_duplicate_compiler_generated_deps; then
  131327. + for pre_post_dep in $predeps $postdeps; do
  131328. + case "$pre_post_deps " in
  131329. + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
  131330. + esac
  131331. + pre_post_deps="$pre_post_deps $pre_post_dep"
  131332. + done
  131333. + fi
  131334. + pre_post_deps=
  131335. + fi
  131336. +
  131337. + deplibs=
  131338. + newdependency_libs=
  131339. + newlib_search_path=
  131340. + need_relink=no # whether we're linking any uninstalled libtool libraries
  131341. + notinst_deplibs= # not-installed libtool libraries
  131342. + notinst_path= # paths that contain not-installed libtool libraries
  131343. +
  131344. + case $linkmode in
  131345. + lib)
  131346. + passes="conv dlpreopen link"
  131347. + for file in $dlfiles $dlprefiles; do
  131348. + case $file in
  131349. + *.la) ;;
  131350. + *)
  131351. + func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file"
  131352. + ;;
  131353. + esac
  131354. + done
  131355. + ;;
  131356. + prog)
  131357. + compile_deplibs=
  131358. + finalize_deplibs=
  131359. + alldeplibs=no
  131360. + newdlfiles=
  131361. + newdlprefiles=
  131362. + passes="conv scan dlopen dlpreopen link"
  131363. + ;;
  131364. + *) passes="conv"
  131365. + ;;
  131366. + esac
  131367. +
  131368. + for pass in $passes; do
  131369. + # The preopen pass in lib mode reverses $deplibs; put it back here
  131370. + # so that -L comes before libs that need it for instance...
  131371. + if test "$linkmode,$pass" = "lib,link"; then
  131372. + ## FIXME: Find the place where the list is rebuilt in the wrong
  131373. + ## order, and fix it there properly
  131374. + tmp_deplibs=
  131375. + for deplib in $deplibs; do
  131376. + tmp_deplibs="$deplib $tmp_deplibs"
  131377. + done
  131378. + deplibs="$tmp_deplibs"
  131379. + fi
  131380. +
  131381. + if test "$linkmode,$pass" = "lib,link" ||
  131382. + test "$linkmode,$pass" = "prog,scan"; then
  131383. + libs="$deplibs"
  131384. + deplibs=
  131385. + fi
  131386. + if test "$linkmode" = prog; then
  131387. + case $pass in
  131388. + dlopen) libs="$dlfiles" ;;
  131389. + dlpreopen) libs="$dlprefiles" ;;
  131390. + link)
  131391. + libs="$deplibs %DEPLIBS%"
  131392. + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
  131393. + ;;
  131394. + esac
  131395. + fi
  131396. + if test "$linkmode,$pass" = "lib,dlpreopen"; then
  131397. + # Collect and forward deplibs of preopened libtool libs
  131398. + for lib in $dlprefiles; do
  131399. + # Ignore non-libtool-libs
  131400. + dependency_libs=
  131401. + case $lib in
  131402. + *.la) func_source "$lib" ;;
  131403. + esac
  131404. +
  131405. + # Collect preopened libtool deplibs, except any this library
  131406. + # has declared as weak libs
  131407. + for deplib in $dependency_libs; do
  131408. + deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
  131409. + case " $weak_libs " in
  131410. + *" $deplib_base "*) ;;
  131411. + *) deplibs="$deplibs $deplib" ;;
  131412. + esac
  131413. + done
  131414. + done
  131415. + libs="$dlprefiles"
  131416. + fi
  131417. + if test "$pass" = dlopen; then
  131418. + # Collect dlpreopened libraries
  131419. + save_deplibs="$deplibs"
  131420. + deplibs=
  131421. + fi
  131422. +
  131423. + for deplib in $libs; do
  131424. + lib=
  131425. + found=no
  131426. + case $deplib in
  131427. + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  131428. + if test "$linkmode,$pass" = "prog,link"; then
  131429. + compile_deplibs="$deplib $compile_deplibs"
  131430. + finalize_deplibs="$deplib $finalize_deplibs"
  131431. + else
  131432. + compiler_flags="$compiler_flags $deplib"
  131433. + if test "$linkmode" = lib ; then
  131434. + case "$new_inherited_linker_flags " in
  131435. + *" $deplib "*) ;;
  131436. + * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
  131437. + esac
  131438. + fi
  131439. + fi
  131440. + continue
  131441. + ;;
  131442. + -l*)
  131443. + if test "$linkmode" != lib && test "$linkmode" != prog; then
  131444. + func_warning "\`-l' is ignored for archives/objects"
  131445. + continue
  131446. + fi
  131447. + func_stripname '-l' '' "$deplib"
  131448. + name=$func_stripname_result
  131449. + if test "$linkmode" = lib; then
  131450. + searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
  131451. + else
  131452. + searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
  131453. + fi
  131454. + for searchdir in $searchdirs; do
  131455. + for search_ext in .la $std_shrext .so .a; do
  131456. + # Search the libtool library
  131457. + lib="$searchdir/lib${name}${search_ext}"
  131458. + if test -f "$lib"; then
  131459. + if test "$search_ext" = ".la"; then
  131460. + found=yes
  131461. + else
  131462. + found=no
  131463. + fi
  131464. + break 2
  131465. + fi
  131466. + done
  131467. + done
  131468. + if test "$found" != yes; then
  131469. + # deplib doesn't seem to be a libtool library
  131470. + if test "$linkmode,$pass" = "prog,link"; then
  131471. + compile_deplibs="$deplib $compile_deplibs"
  131472. + finalize_deplibs="$deplib $finalize_deplibs"
  131473. + else
  131474. + deplibs="$deplib $deplibs"
  131475. + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  131476. + fi
  131477. + continue
  131478. + else # deplib is a libtool library
  131479. + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
  131480. + # We need to do some special things here, and not later.
  131481. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  131482. + case " $predeps $postdeps " in
  131483. + *" $deplib "*)
  131484. + if func_lalib_p "$lib"; then
  131485. + library_names=
  131486. + old_library=
  131487. + func_source "$lib"
  131488. + for l in $old_library $library_names; do
  131489. + ll="$l"
  131490. + done
  131491. + if test "X$ll" = "X$old_library" ; then # only static version available
  131492. + found=no
  131493. + func_dirname "$lib" "" "."
  131494. + ladir="$func_dirname_result"
  131495. + lib=$ladir/$old_library
  131496. + if test "$linkmode,$pass" = "prog,link"; then
  131497. + compile_deplibs="$deplib $compile_deplibs"
  131498. + finalize_deplibs="$deplib $finalize_deplibs"
  131499. + else
  131500. + deplibs="$deplib $deplibs"
  131501. + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  131502. + fi
  131503. + continue
  131504. + fi
  131505. + fi
  131506. + ;;
  131507. + *) ;;
  131508. + esac
  131509. + fi
  131510. + fi
  131511. + ;; # -l
  131512. + *.ltframework)
  131513. + if test "$linkmode,$pass" = "prog,link"; then
  131514. + compile_deplibs="$deplib $compile_deplibs"
  131515. + finalize_deplibs="$deplib $finalize_deplibs"
  131516. + else
  131517. + deplibs="$deplib $deplibs"
  131518. + if test "$linkmode" = lib ; then
  131519. + case "$new_inherited_linker_flags " in
  131520. + *" $deplib "*) ;;
  131521. + * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
  131522. + esac
  131523. + fi
  131524. + fi
  131525. + continue
  131526. + ;;
  131527. + -L*)
  131528. + case $linkmode in
  131529. + lib)
  131530. + deplibs="$deplib $deplibs"
  131531. + test "$pass" = conv && continue
  131532. + newdependency_libs="$deplib $newdependency_libs"
  131533. + func_stripname '-L' '' "$deplib"
  131534. + newlib_search_path="$newlib_search_path $func_stripname_result"
  131535. + ;;
  131536. + prog)
  131537. + if test "$pass" = conv; then
  131538. + deplibs="$deplib $deplibs"
  131539. + continue
  131540. + fi
  131541. + if test "$pass" = scan; then
  131542. + deplibs="$deplib $deplibs"
  131543. + else
  131544. + compile_deplibs="$deplib $compile_deplibs"
  131545. + finalize_deplibs="$deplib $finalize_deplibs"
  131546. + fi
  131547. + func_stripname '-L' '' "$deplib"
  131548. + newlib_search_path="$newlib_search_path $func_stripname_result"
  131549. + ;;
  131550. + *)
  131551. + func_warning "\`-L' is ignored for archives/objects"
  131552. + ;;
  131553. + esac # linkmode
  131554. + continue
  131555. + ;; # -L
  131556. + -R*)
  131557. + if test "$pass" = link; then
  131558. + func_stripname '-R' '' "$deplib"
  131559. + dir=$func_stripname_result
  131560. + # Make sure the xrpath contains only unique directories.
  131561. + case "$xrpath " in
  131562. + *" $dir "*) ;;
  131563. + *) xrpath="$xrpath $dir" ;;
  131564. + esac
  131565. + fi
  131566. + deplibs="$deplib $deplibs"
  131567. + continue
  131568. + ;;
  131569. + *.la) lib="$deplib" ;;
  131570. + *.$libext)
  131571. + if test "$pass" = conv; then
  131572. + deplibs="$deplib $deplibs"
  131573. + continue
  131574. + fi
  131575. + case $linkmode in
  131576. + lib)
  131577. + # Linking convenience modules into shared libraries is allowed,
  131578. + # but linking other static libraries is non-portable.
  131579. + case " $dlpreconveniencelibs " in
  131580. + *" $deplib "*) ;;
  131581. + *)
  131582. + valid_a_lib=no
  131583. + case $deplibs_check_method in
  131584. + match_pattern*)
  131585. + set dummy $deplibs_check_method; shift
  131586. + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  131587. + if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
  131588. + | $EGREP "$match_pattern_regex" > /dev/null; then
  131589. + valid_a_lib=yes
  131590. + fi
  131591. + ;;
  131592. + pass_all)
  131593. + valid_a_lib=yes
  131594. + ;;
  131595. + esac
  131596. + if test "$valid_a_lib" != yes; then
  131597. + $ECHO
  131598. + $ECHO "*** Warning: Trying to link with static lib archive $deplib."
  131599. + $ECHO "*** I have the capability to make that library automatically link in when"
  131600. + $ECHO "*** you link to this library. But I can only do this if you have a"
  131601. + $ECHO "*** shared version of the library, which you do not appear to have"
  131602. + $ECHO "*** because the file extensions .$libext of this argument makes me believe"
  131603. + $ECHO "*** that it is just a static archive that I should not use here."
  131604. + else
  131605. + $ECHO
  131606. + $ECHO "*** Warning: Linking the shared library $output against the"
  131607. + $ECHO "*** static library $deplib is not portable!"
  131608. + deplibs="$deplib $deplibs"
  131609. + fi
  131610. + ;;
  131611. + esac
  131612. + continue
  131613. + ;;
  131614. + prog)
  131615. + if test "$pass" != link; then
  131616. + deplibs="$deplib $deplibs"
  131617. + else
  131618. + compile_deplibs="$deplib $compile_deplibs"
  131619. + finalize_deplibs="$deplib $finalize_deplibs"
  131620. + fi
  131621. + continue
  131622. + ;;
  131623. + esac # linkmode
  131624. + ;; # *.$libext
  131625. + *.lo | *.$objext)
  131626. + if test "$pass" = conv; then
  131627. + deplibs="$deplib $deplibs"
  131628. + elif test "$linkmode" = prog; then
  131629. + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
  131630. + # If there is no dlopen support or we're linking statically,
  131631. + # we need to preload.
  131632. + newdlprefiles="$newdlprefiles $deplib"
  131633. + compile_deplibs="$deplib $compile_deplibs"
  131634. + finalize_deplibs="$deplib $finalize_deplibs"
  131635. + else
  131636. + newdlfiles="$newdlfiles $deplib"
  131637. + fi
  131638. + fi
  131639. + continue
  131640. + ;;
  131641. + %DEPLIBS%)
  131642. + alldeplibs=yes
  131643. + continue
  131644. + ;;
  131645. + esac # case $deplib
  131646. +
  131647. + if test "$found" = yes || test -f "$lib"; then :
  131648. + else
  131649. + func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'"
  131650. + fi
  131651. +
  131652. + # Check to see that this really is a libtool archive.
  131653. + func_lalib_unsafe_p "$lib" \
  131654. + || func_fatal_error "\`$lib' is not a valid libtool archive"
  131655. +
  131656. + func_dirname "$lib" "" "."
  131657. + ladir="$func_dirname_result"
  131658. +
  131659. + dlname=
  131660. + dlopen=
  131661. + dlpreopen=
  131662. + libdir=
  131663. + library_names=
  131664. + old_library=
  131665. + inherited_linker_flags=
  131666. + # If the library was installed with an old release of libtool,
  131667. + # it will not redefine variables installed, or shouldnotlink
  131668. + installed=yes
  131669. + shouldnotlink=no
  131670. + avoidtemprpath=
  131671. +
  131672. +
  131673. + # Read the .la file
  131674. + func_source "$lib"
  131675. +
  131676. + # Convert "-framework foo" to "foo.ltframework"
  131677. + if test -n "$inherited_linker_flags"; then
  131678. + tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
  131679. + for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
  131680. + case " $new_inherited_linker_flags " in
  131681. + *" $tmp_inherited_linker_flag "*) ;;
  131682. + *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";;
  131683. + esac
  131684. + done
  131685. + fi
  131686. + dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  131687. + if test "$linkmode,$pass" = "lib,link" ||
  131688. + test "$linkmode,$pass" = "prog,scan" ||
  131689. + { test "$linkmode" != prog && test "$linkmode" != lib; }; then
  131690. + test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
  131691. + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
  131692. + fi
  131693. +
  131694. + if test "$pass" = conv; then
  131695. + # Only check for convenience libraries
  131696. + deplibs="$lib $deplibs"
  131697. + if test -z "$libdir"; then
  131698. + if test -z "$old_library"; then
  131699. + func_fatal_error "cannot find name of link library for \`$lib'"
  131700. + fi
  131701. + # It is a libtool convenience library, so add in its objects.
  131702. + convenience="$convenience $ladir/$objdir/$old_library"
  131703. + old_convenience="$old_convenience $ladir/$objdir/$old_library"
  131704. + tmp_libs=
  131705. + for deplib in $dependency_libs; do
  131706. + deplibs="$deplib $deplibs"
  131707. + if $opt_duplicate_deps ; then
  131708. + case "$tmp_libs " in
  131709. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  131710. + esac
  131711. + fi
  131712. + tmp_libs="$tmp_libs $deplib"
  131713. + done
  131714. + elif test "$linkmode" != prog && test "$linkmode" != lib; then
  131715. + func_fatal_error "\`$lib' is not a convenience library"
  131716. + fi
  131717. + continue
  131718. + fi # $pass = conv
  131719. +
  131720. +
  131721. + # Get the name of the library we link against.
  131722. + linklib=
  131723. + for l in $old_library $library_names; do
  131724. + linklib="$l"
  131725. + done
  131726. + if test -z "$linklib"; then
  131727. + func_fatal_error "cannot find name of link library for \`$lib'"
  131728. + fi
  131729. +
  131730. + # This library was specified with -dlopen.
  131731. + if test "$pass" = dlopen; then
  131732. + if test -z "$libdir"; then
  131733. + func_fatal_error "cannot -dlopen a convenience library: \`$lib'"
  131734. + fi
  131735. + if test -z "$dlname" ||
  131736. + test "$dlopen_support" != yes ||
  131737. + test "$build_libtool_libs" = no; then
  131738. + # If there is no dlname, no dlopen support or we're linking
  131739. + # statically, we need to preload. We also need to preload any
  131740. + # dependent libraries so libltdl's deplib preloader doesn't
  131741. + # bomb out in the load deplibs phase.
  131742. + dlprefiles="$dlprefiles $lib $dependency_libs"
  131743. + else
  131744. + newdlfiles="$newdlfiles $lib"
  131745. + fi
  131746. + continue
  131747. + fi # $pass = dlopen
  131748. +
  131749. + # We need an absolute path.
  131750. + case $ladir in
  131751. + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
  131752. + *)
  131753. + abs_ladir=`cd "$ladir" && pwd`
  131754. + if test -z "$abs_ladir"; then
  131755. + func_warning "cannot determine absolute directory name of \`$ladir'"
  131756. + func_warning "passing it literally to the linker, although it might fail"
  131757. + abs_ladir="$ladir"
  131758. + fi
  131759. + ;;
  131760. + esac
  131761. + func_basename "$lib"
  131762. + laname="$func_basename_result"
  131763. +
  131764. + # Find the relevant object directory and library name.
  131765. + if test "X$installed" = Xyes; then
  131766. + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  131767. + func_warning "library \`$lib' was moved."
  131768. + dir="$ladir"
  131769. + absdir="$abs_ladir"
  131770. + libdir="$abs_ladir"
  131771. + else
  131772. + dir="$libdir"
  131773. + absdir="$libdir"
  131774. + fi
  131775. + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
  131776. + else
  131777. + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  131778. + dir="$ladir"
  131779. + absdir="$abs_ladir"
  131780. + # Remove this search path later
  131781. + notinst_path="$notinst_path $abs_ladir"
  131782. + else
  131783. + dir="$ladir/$objdir"
  131784. + absdir="$abs_ladir/$objdir"
  131785. + # Remove this search path later
  131786. + notinst_path="$notinst_path $abs_ladir"
  131787. + fi
  131788. + fi # $installed = yes
  131789. + func_stripname 'lib' '.la' "$laname"
  131790. + name=$func_stripname_result
  131791. +
  131792. + # This library was specified with -dlpreopen.
  131793. + if test "$pass" = dlpreopen; then
  131794. + if test -z "$libdir" && test "$linkmode" = prog; then
  131795. + func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
  131796. + fi
  131797. + # Prefer using a static library (so that no silly _DYNAMIC symbols
  131798. + # are required to link).
  131799. + if test -n "$old_library"; then
  131800. + newdlprefiles="$newdlprefiles $dir/$old_library"
  131801. + # Keep a list of preopened convenience libraries to check
  131802. + # that they are being used correctly in the link pass.
  131803. + test -z "$libdir" && \
  131804. + dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library"
  131805. + # Otherwise, use the dlname, so that lt_dlopen finds it.
  131806. + elif test -n "$dlname"; then
  131807. + newdlprefiles="$newdlprefiles $dir/$dlname"
  131808. + else
  131809. + newdlprefiles="$newdlprefiles $dir/$linklib"
  131810. + fi
  131811. + fi # $pass = dlpreopen
  131812. +
  131813. + if test -z "$libdir"; then
  131814. + # Link the convenience library
  131815. + if test "$linkmode" = lib; then
  131816. + deplibs="$dir/$old_library $deplibs"
  131817. + elif test "$linkmode,$pass" = "prog,link"; then
  131818. + compile_deplibs="$dir/$old_library $compile_deplibs"
  131819. + finalize_deplibs="$dir/$old_library $finalize_deplibs"
  131820. + else
  131821. + deplibs="$lib $deplibs" # used for prog,scan pass
  131822. + fi
  131823. + continue
  131824. + fi
  131825. +
  131826. +
  131827. + if test "$linkmode" = prog && test "$pass" != link; then
  131828. + newlib_search_path="$newlib_search_path $ladir"
  131829. + deplibs="$lib $deplibs"
  131830. +
  131831. + linkalldeplibs=no
  131832. + if test "$link_all_deplibs" != no || test -z "$library_names" ||
  131833. + test "$build_libtool_libs" = no; then
  131834. + linkalldeplibs=yes
  131835. + fi
  131836. +
  131837. + tmp_libs=
  131838. + for deplib in $dependency_libs; do
  131839. + case $deplib in
  131840. + -L*) func_stripname '-L' '' "$deplib"
  131841. + newlib_search_path="$newlib_search_path $func_stripname_result"
  131842. + ;;
  131843. + esac
  131844. + # Need to link against all dependency_libs?
  131845. + if test "$linkalldeplibs" = yes; then
  131846. + deplibs="$deplib $deplibs"
  131847. + else
  131848. + # Need to hardcode shared library paths
  131849. + # or/and link against static libraries
  131850. + newdependency_libs="$deplib $newdependency_libs"
  131851. + fi
  131852. + if $opt_duplicate_deps ; then
  131853. + case "$tmp_libs " in
  131854. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  131855. + esac
  131856. + fi
  131857. + tmp_libs="$tmp_libs $deplib"
  131858. + done # for deplib
  131859. + continue
  131860. + fi # $linkmode = prog...
  131861. +
  131862. + if test "$linkmode,$pass" = "prog,link"; then
  131863. + if test -n "$library_names" &&
  131864. + { { test "$prefer_static_libs" = no ||
  131865. + test "$prefer_static_libs,$installed" = "built,yes"; } ||
  131866. + test -z "$old_library"; }; then
  131867. + # We need to hardcode the library path
  131868. + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
  131869. + # Make sure the rpath contains only unique directories.
  131870. + case "$temp_rpath:" in
  131871. + *"$absdir:"*) ;;
  131872. + *) temp_rpath="$temp_rpath$absdir:" ;;
  131873. + esac
  131874. + fi
  131875. +
  131876. + # Hardcode the library path.
  131877. + # Skip directories that are in the system default run-time
  131878. + # search path.
  131879. + case " $sys_lib_dlsearch_path " in
  131880. + *" $absdir "*) ;;
  131881. + *)
  131882. + case "$compile_rpath " in
  131883. + *" $absdir "*) ;;
  131884. + *) compile_rpath="$compile_rpath $absdir"
  131885. + esac
  131886. + ;;
  131887. + esac
  131888. + case " $sys_lib_dlsearch_path " in
  131889. + *" $libdir "*) ;;
  131890. + *)
  131891. + case "$finalize_rpath " in
  131892. + *" $libdir "*) ;;
  131893. + *) finalize_rpath="$finalize_rpath $libdir"
  131894. + esac
  131895. + ;;
  131896. + esac
  131897. + fi # $linkmode,$pass = prog,link...
  131898. +
  131899. + if test "$alldeplibs" = yes &&
  131900. + { test "$deplibs_check_method" = pass_all ||
  131901. + { test "$build_libtool_libs" = yes &&
  131902. + test -n "$library_names"; }; }; then
  131903. + # We only need to search for static libraries
  131904. + continue
  131905. + fi
  131906. + fi
  131907. +
  131908. + link_static=no # Whether the deplib will be linked statically
  131909. + use_static_libs=$prefer_static_libs
  131910. + if test "$use_static_libs" = built && test "$installed" = yes; then
  131911. + use_static_libs=no
  131912. + fi
  131913. + if test -n "$library_names" &&
  131914. + { test "$use_static_libs" = no || test -z "$old_library"; }; then
  131915. + case $host in
  131916. + *cygwin* | *mingw* | *cegcc*)
  131917. + # No point in relinking DLLs because paths are not encoded
  131918. + notinst_deplibs="$notinst_deplibs $lib"
  131919. + need_relink=no
  131920. + ;;
  131921. + *)
  131922. + if test "$installed" = no; then
  131923. + notinst_deplibs="$notinst_deplibs $lib"
  131924. + need_relink=yes
  131925. + fi
  131926. + ;;
  131927. + esac
  131928. + # This is a shared library
  131929. +
  131930. + # Warn about portability, can't link against -module's on some
  131931. + # systems (darwin). Don't bleat about dlopened modules though!
  131932. + dlopenmodule=""
  131933. + for dlpremoduletest in $dlprefiles; do
  131934. + if test "X$dlpremoduletest" = "X$lib"; then
  131935. + dlopenmodule="$dlpremoduletest"
  131936. + break
  131937. + fi
  131938. + done
  131939. + if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
  131940. + $ECHO
  131941. + if test "$linkmode" = prog; then
  131942. + $ECHO "*** Warning: Linking the executable $output against the loadable module"
  131943. + else
  131944. + $ECHO "*** Warning: Linking the shared library $output against the loadable module"
  131945. + fi
  131946. + $ECHO "*** $linklib is not portable!"
  131947. + fi
  131948. + if test "$linkmode" = lib &&
  131949. + test "$hardcode_into_libs" = yes; then
  131950. + # Hardcode the library path.
  131951. + # Skip directories that are in the system default run-time
  131952. + # search path.
  131953. + case " $sys_lib_dlsearch_path " in
  131954. + *" $absdir "*) ;;
  131955. + *)
  131956. + case "$compile_rpath " in
  131957. + *" $absdir "*) ;;
  131958. + *) compile_rpath="$compile_rpath $absdir"
  131959. + esac
  131960. + ;;
  131961. + esac
  131962. + case " $sys_lib_dlsearch_path " in
  131963. + *" $libdir "*) ;;
  131964. + *)
  131965. + case "$finalize_rpath " in
  131966. + *" $libdir "*) ;;
  131967. + *) finalize_rpath="$finalize_rpath $libdir"
  131968. + esac
  131969. + ;;
  131970. + esac
  131971. + fi
  131972. +
  131973. + if test -n "$old_archive_from_expsyms_cmds"; then
  131974. + # figure out the soname
  131975. + set dummy $library_names
  131976. + shift
  131977. + realname="$1"
  131978. + shift
  131979. + libname=`eval "\\$ECHO \"$libname_spec\""`
  131980. + # use dlname if we got it. it's perfectly good, no?
  131981. + if test -n "$dlname"; then
  131982. + soname="$dlname"
  131983. + elif test -n "$soname_spec"; then
  131984. + # bleh windows
  131985. + case $host in
  131986. + *cygwin* | mingw* | *cegcc*)
  131987. + func_arith $current - $age
  131988. + major=$func_arith_result
  131989. + versuffix="-$major"
  131990. + ;;
  131991. + esac
  131992. + eval soname=\"$soname_spec\"
  131993. + else
  131994. + soname="$realname"
  131995. + fi
  131996. +
  131997. + # Make a new name for the extract_expsyms_cmds to use
  131998. + soroot="$soname"
  131999. + func_basename "$soroot"
  132000. + soname="$func_basename_result"
  132001. + func_stripname 'lib' '.dll' "$soname"
  132002. + newlib=libimp-$func_stripname_result.a
  132003. +
  132004. + # If the library has no export list, then create one now
  132005. + if test -f "$output_objdir/$soname-def"; then :
  132006. + else
  132007. + func_verbose "extracting exported symbol list from \`$soname'"
  132008. + func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
  132009. + fi
  132010. +
  132011. + # Create $newlib
  132012. + if test -f "$output_objdir/$newlib"; then :; else
  132013. + func_verbose "generating import library for \`$soname'"
  132014. + func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
  132015. + fi
  132016. + # make sure the library variables are pointing to the new library
  132017. + dir=$output_objdir
  132018. + linklib=$newlib
  132019. + fi # test -n "$old_archive_from_expsyms_cmds"
  132020. +
  132021. + if test "$linkmode" = prog || test "$mode" != relink; then
  132022. + add_shlibpath=
  132023. + add_dir=
  132024. + add=
  132025. + lib_linked=yes
  132026. + case $hardcode_action in
  132027. + immediate | unsupported)
  132028. + if test "$hardcode_direct" = no; then
  132029. + add="$dir/$linklib"
  132030. + case $host in
  132031. + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
  132032. + *-*-sysv4*uw2*) add_dir="-L$dir" ;;
  132033. + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
  132034. + *-*-unixware7*) add_dir="-L$dir" ;;
  132035. + *-*-darwin* )
  132036. + # if the lib is a (non-dlopened) module then we can not
  132037. + # link against it, someone is ignoring the earlier warnings
  132038. + if /usr/bin/file -L $add 2> /dev/null |
  132039. + $GREP ": [^:]* bundle" >/dev/null ; then
  132040. + if test "X$dlopenmodule" != "X$lib"; then
  132041. + $ECHO "*** Warning: lib $linklib is a module, not a shared library"
  132042. + if test -z "$old_library" ; then
  132043. + $ECHO
  132044. + $ECHO "*** And there doesn't seem to be a static archive available"
  132045. + $ECHO "*** The link will probably fail, sorry"
  132046. + else
  132047. + add="$dir/$old_library"
  132048. + fi
  132049. + elif test -n "$old_library"; then
  132050. + add="$dir/$old_library"
  132051. + fi
  132052. + fi
  132053. + esac
  132054. + elif test "$hardcode_minus_L" = no; then
  132055. + case $host in
  132056. + *-*-sunos*) add_shlibpath="$dir" ;;
  132057. + esac
  132058. + add_dir="-L$dir"
  132059. + add="-l$name"
  132060. + elif test "$hardcode_shlibpath_var" = no; then
  132061. + add_shlibpath="$dir"
  132062. + add="-l$name"
  132063. + else
  132064. + lib_linked=no
  132065. + fi
  132066. + ;;
  132067. + relink)
  132068. + if test "$hardcode_direct" = yes &&
  132069. + test "$hardcode_direct_absolute" = no; then
  132070. + add="$dir/$linklib"
  132071. + elif test "$hardcode_minus_L" = yes; then
  132072. + add_dir="-L$dir"
  132073. + # Try looking first in the location we're being installed to.
  132074. + if test -n "$inst_prefix_dir"; then
  132075. + case $libdir in
  132076. + [\\/]*)
  132077. + add_dir="$add_dir -L$inst_prefix_dir$libdir"
  132078. + ;;
  132079. + esac
  132080. + fi
  132081. + add="-l$name"
  132082. + elif test "$hardcode_shlibpath_var" = yes; then
  132083. + add_shlibpath="$dir"
  132084. + add="-l$name"
  132085. + else
  132086. + lib_linked=no
  132087. + fi
  132088. + ;;
  132089. + *) lib_linked=no ;;
  132090. + esac
  132091. +
  132092. + if test "$lib_linked" != yes; then
  132093. + func_fatal_configuration "unsupported hardcode properties"
  132094. + fi
  132095. +
  132096. + if test -n "$add_shlibpath"; then
  132097. + case :$compile_shlibpath: in
  132098. + *":$add_shlibpath:"*) ;;
  132099. + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
  132100. + esac
  132101. + fi
  132102. + if test "$linkmode" = prog; then
  132103. + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
  132104. + test -n "$add" && compile_deplibs="$add $compile_deplibs"
  132105. + else
  132106. + test -n "$add_dir" && deplibs="$add_dir $deplibs"
  132107. + test -n "$add" && deplibs="$add $deplibs"
  132108. + if test "$hardcode_direct" != yes &&
  132109. + test "$hardcode_minus_L" != yes &&
  132110. + test "$hardcode_shlibpath_var" = yes; then
  132111. + case :$finalize_shlibpath: in
  132112. + *":$libdir:"*) ;;
  132113. + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  132114. + esac
  132115. + fi
  132116. + fi
  132117. + fi
  132118. +
  132119. + if test "$linkmode" = prog || test "$mode" = relink; then
  132120. + add_shlibpath=
  132121. + add_dir=
  132122. + add=
  132123. + # Finalize command for both is simple: just hardcode it.
  132124. + if test "$hardcode_direct" = yes &&
  132125. + test "$hardcode_direct_absolute" = no; then
  132126. + add="$libdir/$linklib"
  132127. + elif test "$hardcode_minus_L" = yes; then
  132128. + add_dir="-L$libdir"
  132129. + add="-l$name"
  132130. + elif test "$hardcode_shlibpath_var" = yes; then
  132131. + case :$finalize_shlibpath: in
  132132. + *":$libdir:"*) ;;
  132133. + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  132134. + esac
  132135. + add="-l$name"
  132136. + elif test "$hardcode_automatic" = yes; then
  132137. + if test -n "$inst_prefix_dir" &&
  132138. + test -f "$inst_prefix_dir$libdir/$linklib" ; then
  132139. + add="$inst_prefix_dir$libdir/$linklib"
  132140. + else
  132141. + add="$libdir/$linklib"
  132142. + fi
  132143. + else
  132144. + # We cannot seem to hardcode it, guess we'll fake it.
  132145. + add_dir="-L$libdir"
  132146. + # Try looking first in the location we're being installed to.
  132147. + if test -n "$inst_prefix_dir"; then
  132148. + case $libdir in
  132149. + [\\/]*)
  132150. + add_dir="$add_dir -L$inst_prefix_dir$libdir"
  132151. + ;;
  132152. + esac
  132153. + fi
  132154. + add="-l$name"
  132155. + fi
  132156. +
  132157. + if test "$linkmode" = prog; then
  132158. + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
  132159. + test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
  132160. + else
  132161. + test -n "$add_dir" && deplibs="$add_dir $deplibs"
  132162. + test -n "$add" && deplibs="$add $deplibs"
  132163. + fi
  132164. + fi
  132165. + elif test "$linkmode" = prog; then
  132166. + # Here we assume that one of hardcode_direct or hardcode_minus_L
  132167. + # is not unsupported. This is valid on all known static and
  132168. + # shared platforms.
  132169. + if test "$hardcode_direct" != unsupported; then
  132170. + test -n "$old_library" && linklib="$old_library"
  132171. + compile_deplibs="$dir/$linklib $compile_deplibs"
  132172. + finalize_deplibs="$dir/$linklib $finalize_deplibs"
  132173. + else
  132174. + compile_deplibs="-l$name -L$dir $compile_deplibs"
  132175. + finalize_deplibs="-l$name -L$dir $finalize_deplibs"
  132176. + fi
  132177. + elif test "$build_libtool_libs" = yes; then
  132178. + # Not a shared library
  132179. + if test "$deplibs_check_method" != pass_all; then
  132180. + # We're trying link a shared library against a static one
  132181. + # but the system doesn't support it.
  132182. +
  132183. + # Just print a warning and add the library to dependency_libs so
  132184. + # that the program can be linked against the static library.
  132185. + $ECHO
  132186. + $ECHO "*** Warning: This system can not link to static lib archive $lib."
  132187. + $ECHO "*** I have the capability to make that library automatically link in when"
  132188. + $ECHO "*** you link to this library. But I can only do this if you have a"
  132189. + $ECHO "*** shared version of the library, which you do not appear to have."
  132190. + if test "$module" = yes; then
  132191. + $ECHO "*** But as you try to build a module library, libtool will still create "
  132192. + $ECHO "*** a static module, that should work as long as the dlopening application"
  132193. + $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
  132194. + if test -z "$global_symbol_pipe"; then
  132195. + $ECHO
  132196. + $ECHO "*** However, this would only work if libtool was able to extract symbol"
  132197. + $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
  132198. + $ECHO "*** not find such a program. So, this module is probably useless."
  132199. + $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
  132200. + fi
  132201. + if test "$build_old_libs" = no; then
  132202. + build_libtool_libs=module
  132203. + build_old_libs=yes
  132204. + else
  132205. + build_libtool_libs=no
  132206. + fi
  132207. + fi
  132208. + else
  132209. + deplibs="$dir/$old_library $deplibs"
  132210. + link_static=yes
  132211. + fi
  132212. + fi # link shared/static library?
  132213. +
  132214. + if test "$linkmode" = lib; then
  132215. + if test -n "$dependency_libs" &&
  132216. + { test "$hardcode_into_libs" != yes ||
  132217. + test "$build_old_libs" = yes ||
  132218. + test "$link_static" = yes; }; then
  132219. + # Extract -R from dependency_libs
  132220. + temp_deplibs=
  132221. + for libdir in $dependency_libs; do
  132222. + case $libdir in
  132223. + -R*) func_stripname '-R' '' "$libdir"
  132224. + temp_xrpath=$func_stripname_result
  132225. + case " $xrpath " in
  132226. + *" $temp_xrpath "*) ;;
  132227. + *) xrpath="$xrpath $temp_xrpath";;
  132228. + esac;;
  132229. + *) temp_deplibs="$temp_deplibs $libdir";;
  132230. + esac
  132231. + done
  132232. + dependency_libs="$temp_deplibs"
  132233. + fi
  132234. +
  132235. + newlib_search_path="$newlib_search_path $absdir"
  132236. + # Link against this library
  132237. + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
  132238. + # ... and its dependency_libs
  132239. + tmp_libs=
  132240. + for deplib in $dependency_libs; do
  132241. + newdependency_libs="$deplib $newdependency_libs"
  132242. + if $opt_duplicate_deps ; then
  132243. + case "$tmp_libs " in
  132244. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  132245. + esac
  132246. + fi
  132247. + tmp_libs="$tmp_libs $deplib"
  132248. + done
  132249. +
  132250. + if test "$link_all_deplibs" != no; then
  132251. + # Add the search paths of all dependency libraries
  132252. + for deplib in $dependency_libs; do
  132253. + path=
  132254. + case $deplib in
  132255. + -L*) path="$deplib" ;;
  132256. + *.la)
  132257. + func_dirname "$deplib" "" "."
  132258. + dir="$func_dirname_result"
  132259. + # We need an absolute path.
  132260. + case $dir in
  132261. + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
  132262. + *)
  132263. + absdir=`cd "$dir" && pwd`
  132264. + if test -z "$absdir"; then
  132265. + func_warning "cannot determine absolute directory name of \`$dir'"
  132266. + absdir="$dir"
  132267. + fi
  132268. + ;;
  132269. + esac
  132270. + if $GREP "^installed=no" $deplib > /dev/null; then
  132271. + case $host in
  132272. + *-*-darwin*)
  132273. + depdepl=
  132274. + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
  132275. + if test -n "$deplibrary_names" ; then
  132276. + for tmp in $deplibrary_names ; do
  132277. + depdepl=$tmp
  132278. + done
  132279. + if test -f "$absdir/$objdir/$depdepl" ; then
  132280. + depdepl="$absdir/$objdir/$depdepl"
  132281. + darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  132282. + if test -z "$darwin_install_name"; then
  132283. + darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  132284. + fi
  132285. + compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
  132286. + linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}"
  132287. + path=
  132288. + fi
  132289. + fi
  132290. + ;;
  132291. + *)
  132292. + path="-L$absdir/$objdir"
  132293. + ;;
  132294. + esac
  132295. + else
  132296. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  132297. + test -z "$libdir" && \
  132298. + func_fatal_error "\`$deplib' is not a valid libtool archive"
  132299. + test "$absdir" != "$libdir" && \
  132300. + func_warning "\`$deplib' seems to be moved"
  132301. +
  132302. + path="-L$absdir"
  132303. + fi
  132304. + ;;
  132305. + esac
  132306. + case " $deplibs " in
  132307. + *" $path "*) ;;
  132308. + *) deplibs="$path $deplibs" ;;
  132309. + esac
  132310. + done
  132311. + fi # link_all_deplibs != no
  132312. + fi # linkmode = lib
  132313. + done # for deplib in $libs
  132314. + if test "$pass" = link; then
  132315. + if test "$linkmode" = "prog"; then
  132316. + compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
  132317. + finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
  132318. + else
  132319. + compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  132320. + fi
  132321. + fi
  132322. + dependency_libs="$newdependency_libs"
  132323. + if test "$pass" = dlpreopen; then
  132324. + # Link the dlpreopened libraries before other libraries
  132325. + for deplib in $save_deplibs; do
  132326. + deplibs="$deplib $deplibs"
  132327. + done
  132328. + fi
  132329. + if test "$pass" != dlopen; then
  132330. + if test "$pass" != conv; then
  132331. + # Make sure lib_search_path contains only unique directories.
  132332. + lib_search_path=
  132333. + for dir in $newlib_search_path; do
  132334. + case "$lib_search_path " in
  132335. + *" $dir "*) ;;
  132336. + *) lib_search_path="$lib_search_path $dir" ;;
  132337. + esac
  132338. + done
  132339. + newlib_search_path=
  132340. + fi
  132341. +
  132342. + if test "$linkmode,$pass" != "prog,link"; then
  132343. + vars="deplibs"
  132344. + else
  132345. + vars="compile_deplibs finalize_deplibs"
  132346. + fi
  132347. + for var in $vars dependency_libs; do
  132348. + # Add libraries to $var in reverse order
  132349. + eval tmp_libs=\"\$$var\"
  132350. + new_libs=
  132351. + for deplib in $tmp_libs; do
  132352. + # FIXME: Pedantically, this is the right thing to do, so
  132353. + # that some nasty dependency loop isn't accidentally
  132354. + # broken:
  132355. + #new_libs="$deplib $new_libs"
  132356. + # Pragmatically, this seems to cause very few problems in
  132357. + # practice:
  132358. + case $deplib in
  132359. + -L*) new_libs="$deplib $new_libs" ;;
  132360. + -R*) ;;
  132361. + *)
  132362. + # And here is the reason: when a library appears more
  132363. + # than once as an explicit dependence of a library, or
  132364. + # is implicitly linked in more than once by the
  132365. + # compiler, it is considered special, and multiple
  132366. + # occurrences thereof are not removed. Compare this
  132367. + # with having the same library being listed as a
  132368. + # dependency of multiple other libraries: in this case,
  132369. + # we know (pedantically, we assume) the library does not
  132370. + # need to be listed more than once, so we keep only the
  132371. + # last copy. This is not always right, but it is rare
  132372. + # enough that we require users that really mean to play
  132373. + # such unportable linking tricks to link the library
  132374. + # using -Wl,-lname, so that libtool does not consider it
  132375. + # for duplicate removal.
  132376. + case " $specialdeplibs " in
  132377. + *" $deplib "*) new_libs="$deplib $new_libs" ;;
  132378. + *)
  132379. + case " $new_libs " in
  132380. + *" $deplib "*) ;;
  132381. + *) new_libs="$deplib $new_libs" ;;
  132382. + esac
  132383. + ;;
  132384. + esac
  132385. + ;;
  132386. + esac
  132387. + done
  132388. + tmp_libs=
  132389. + for deplib in $new_libs; do
  132390. + case $deplib in
  132391. + -L*)
  132392. + case " $tmp_libs " in
  132393. + *" $deplib "*) ;;
  132394. + *) tmp_libs="$tmp_libs $deplib" ;;
  132395. + esac
  132396. + ;;
  132397. + *) tmp_libs="$tmp_libs $deplib" ;;
  132398. + esac
  132399. + done
  132400. + eval $var=\"$tmp_libs\"
  132401. + done # for var
  132402. + fi
  132403. + # Last step: remove runtime libs from dependency_libs
  132404. + # (they stay in deplibs)
  132405. + tmp_libs=
  132406. + for i in $dependency_libs ; do
  132407. + case " $predeps $postdeps $compiler_lib_search_path " in
  132408. + *" $i "*)
  132409. + i=""
  132410. + ;;
  132411. + esac
  132412. + if test -n "$i" ; then
  132413. + tmp_libs="$tmp_libs $i"
  132414. + fi
  132415. + done
  132416. + dependency_libs=$tmp_libs
  132417. + done # for pass
  132418. + if test "$linkmode" = prog; then
  132419. + dlfiles="$newdlfiles"
  132420. + fi
  132421. + if test "$linkmode" = prog || test "$linkmode" = lib; then
  132422. + dlprefiles="$newdlprefiles"
  132423. + fi
  132424. +
  132425. + case $linkmode in
  132426. + oldlib)
  132427. + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  132428. + func_warning "\`-dlopen' is ignored for archives"
  132429. + fi
  132430. +
  132431. + case " $deplibs" in
  132432. + *\ -l* | *\ -L*)
  132433. + func_warning "\`-l' and \`-L' are ignored for archives" ;;
  132434. + esac
  132435. +
  132436. + test -n "$rpath" && \
  132437. + func_warning "\`-rpath' is ignored for archives"
  132438. +
  132439. + test -n "$xrpath" && \
  132440. + func_warning "\`-R' is ignored for archives"
  132441. +
  132442. + test -n "$vinfo" && \
  132443. + func_warning "\`-version-info/-version-number' is ignored for archives"
  132444. +
  132445. + test -n "$release" && \
  132446. + func_warning "\`-release' is ignored for archives"
  132447. +
  132448. + test -n "$export_symbols$export_symbols_regex" && \
  132449. + func_warning "\`-export-symbols' is ignored for archives"
  132450. +
  132451. + # Now set the variables for building old libraries.
  132452. + build_libtool_libs=no
  132453. + oldlibs="$output"
  132454. + objs="$objs$old_deplibs"
  132455. + ;;
  132456. +
  132457. + lib)
  132458. + # Make sure we only generate libraries of the form `libNAME.la'.
  132459. + case $outputname in
  132460. + lib*)
  132461. + func_stripname 'lib' '.la' "$outputname"
  132462. + name=$func_stripname_result
  132463. + eval shared_ext=\"$shrext_cmds\"
  132464. + eval libname=\"$libname_spec\"
  132465. + ;;
  132466. + *)
  132467. + test "$module" = no && \
  132468. + func_fatal_help "libtool library \`$output' must begin with \`lib'"
  132469. +
  132470. + if test "$need_lib_prefix" != no; then
  132471. + # Add the "lib" prefix for modules if required
  132472. + func_stripname '' '.la' "$outputname"
  132473. + name=$func_stripname_result
  132474. + eval shared_ext=\"$shrext_cmds\"
  132475. + eval libname=\"$libname_spec\"
  132476. + else
  132477. + func_stripname '' '.la' "$outputname"
  132478. + libname=$func_stripname_result
  132479. + fi
  132480. + ;;
  132481. + esac
  132482. +
  132483. + if test -n "$objs"; then
  132484. + if test "$deplibs_check_method" != pass_all; then
  132485. + func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
  132486. + else
  132487. + $ECHO
  132488. + $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
  132489. + $ECHO "*** objects $objs is not portable!"
  132490. + libobjs="$libobjs $objs"
  132491. + fi
  132492. + fi
  132493. +
  132494. + test "$dlself" != no && \
  132495. + func_warning "\`-dlopen self' is ignored for libtool libraries"
  132496. +
  132497. + set dummy $rpath
  132498. + shift
  132499. + test "$#" -gt 1 && \
  132500. + func_warning "ignoring multiple \`-rpath's for a libtool library"
  132501. +
  132502. + install_libdir="$1"
  132503. +
  132504. + oldlibs=
  132505. + if test -z "$rpath"; then
  132506. + if test "$build_libtool_libs" = yes; then
  132507. + # Building a libtool convenience library.
  132508. + # Some compilers have problems with a `.al' extension so
  132509. + # convenience libraries should have the same extension an
  132510. + # archive normally would.
  132511. + oldlibs="$output_objdir/$libname.$libext $oldlibs"
  132512. + build_libtool_libs=convenience
  132513. + build_old_libs=yes
  132514. + fi
  132515. +
  132516. + test -n "$vinfo" && \
  132517. + func_warning "\`-version-info/-version-number' is ignored for convenience libraries"
  132518. +
  132519. + test -n "$release" && \
  132520. + func_warning "\`-release' is ignored for convenience libraries"
  132521. + else
  132522. +
  132523. + # Parse the version information argument.
  132524. + save_ifs="$IFS"; IFS=':'
  132525. + set dummy $vinfo 0 0 0
  132526. + shift
  132527. + IFS="$save_ifs"
  132528. +
  132529. + test -n "$7" && \
  132530. + func_fatal_help "too many parameters to \`-version-info'"
  132531. +
  132532. + # convert absolute version numbers to libtool ages
  132533. + # this retains compatibility with .la files and attempts
  132534. + # to make the code below a bit more comprehensible
  132535. +
  132536. + case $vinfo_number in
  132537. + yes)
  132538. + number_major="$1"
  132539. + number_minor="$2"
  132540. + number_revision="$3"
  132541. + #
  132542. + # There are really only two kinds -- those that
  132543. + # use the current revision as the major version
  132544. + # and those that subtract age and use age as
  132545. + # a minor version. But, then there is irix
  132546. + # which has an extra 1 added just for fun
  132547. + #
  132548. + case $version_type in
  132549. + darwin|linux|osf|windows|none)
  132550. + func_arith $number_major + $number_minor
  132551. + current=$func_arith_result
  132552. + age="$number_minor"
  132553. + revision="$number_revision"
  132554. + ;;
  132555. + freebsd-aout|freebsd-elf|sunos)
  132556. + current="$number_major"
  132557. + revision="$number_minor"
  132558. + age="0"
  132559. + ;;
  132560. + irix|nonstopux)
  132561. + func_arith $number_major + $number_minor
  132562. + current=$func_arith_result
  132563. + age="$number_minor"
  132564. + revision="$number_minor"
  132565. + lt_irix_increment=no
  132566. + ;;
  132567. + *)
  132568. + func_fatal_configuration "$modename: unknown library version type \`$version_type'"
  132569. + ;;
  132570. + esac
  132571. + ;;
  132572. + no)
  132573. + current="$1"
  132574. + revision="$2"
  132575. + age="$3"
  132576. + ;;
  132577. + esac
  132578. +
  132579. + # Check that each of the things are valid numbers.
  132580. + case $current in
  132581. + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  132582. + *)
  132583. + func_error "CURRENT \`$current' must be a nonnegative integer"
  132584. + func_fatal_error "\`$vinfo' is not valid version information"
  132585. + ;;
  132586. + esac
  132587. +
  132588. + case $revision in
  132589. + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  132590. + *)
  132591. + func_error "REVISION \`$revision' must be a nonnegative integer"
  132592. + func_fatal_error "\`$vinfo' is not valid version information"
  132593. + ;;
  132594. + esac
  132595. +
  132596. + case $age in
  132597. + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  132598. + *)
  132599. + func_error "AGE \`$age' must be a nonnegative integer"
  132600. + func_fatal_error "\`$vinfo' is not valid version information"
  132601. + ;;
  132602. + esac
  132603. +
  132604. + if test "$age" -gt "$current"; then
  132605. + func_error "AGE \`$age' is greater than the current interface number \`$current'"
  132606. + func_fatal_error "\`$vinfo' is not valid version information"
  132607. + fi
  132608. +
  132609. + # Calculate the version variables.
  132610. + major=
  132611. + versuffix=
  132612. + verstring=
  132613. + case $version_type in
  132614. + none) ;;
  132615. +
  132616. + darwin)
  132617. + # Like Linux, but with the current version available in
  132618. + # verstring for coding it into the library header
  132619. + func_arith $current - $age
  132620. + major=.$func_arith_result
  132621. + versuffix="$major.$age.$revision"
  132622. + # Darwin ld doesn't like 0 for these options...
  132623. + func_arith $current + 1
  132624. + minor_current=$func_arith_result
  132625. + xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
  132626. + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
  132627. + ;;
  132628. +
  132629. + freebsd-aout)
  132630. + major=".$current"
  132631. + versuffix=".$current.$revision";
  132632. + ;;
  132633. +
  132634. + freebsd-elf)
  132635. + major=".$current"
  132636. + versuffix=".$current"
  132637. + ;;
  132638. +
  132639. + irix | nonstopux)
  132640. + if test "X$lt_irix_increment" = "Xno"; then
  132641. + func_arith $current - $age
  132642. + else
  132643. + func_arith $current - $age + 1
  132644. + fi
  132645. + major=$func_arith_result
  132646. +
  132647. + case $version_type in
  132648. + nonstopux) verstring_prefix=nonstopux ;;
  132649. + *) verstring_prefix=sgi ;;
  132650. + esac
  132651. + verstring="$verstring_prefix$major.$revision"
  132652. +
  132653. + # Add in all the interfaces that we are compatible with.
  132654. + loop=$revision
  132655. + while test "$loop" -ne 0; do
  132656. + func_arith $revision - $loop
  132657. + iface=$func_arith_result
  132658. + func_arith $loop - 1
  132659. + loop=$func_arith_result
  132660. + verstring="$verstring_prefix$major.$iface:$verstring"
  132661. + done
  132662. +
  132663. + # Before this point, $major must not contain `.'.
  132664. + major=.$major
  132665. + versuffix="$major.$revision"
  132666. + ;;
  132667. +
  132668. + linux)
  132669. + func_arith $current - $age
  132670. + major=.$func_arith_result
  132671. + versuffix="$major.$age.$revision"
  132672. + ;;
  132673. +
  132674. + osf)
  132675. + func_arith $current - $age
  132676. + major=.$func_arith_result
  132677. + versuffix=".$current.$age.$revision"
  132678. + verstring="$current.$age.$revision"
  132679. +
  132680. + # Add in all the interfaces that we are compatible with.
  132681. + loop=$age
  132682. + while test "$loop" -ne 0; do
  132683. + func_arith $current - $loop
  132684. + iface=$func_arith_result
  132685. + func_arith $loop - 1
  132686. + loop=$func_arith_result
  132687. + verstring="$verstring:${iface}.0"
  132688. + done
  132689. +
  132690. + # Make executables depend on our current version.
  132691. + verstring="$verstring:${current}.0"
  132692. + ;;
  132693. +
  132694. + qnx)
  132695. + major=".$current"
  132696. + versuffix=".$current"
  132697. + ;;
  132698. +
  132699. + sunos)
  132700. + major=".$current"
  132701. + versuffix=".$current.$revision"
  132702. + ;;
  132703. +
  132704. + windows)
  132705. + # Use '-' rather than '.', since we only want one
  132706. + # extension on DOS 8.3 filesystems.
  132707. + func_arith $current - $age
  132708. + major=$func_arith_result
  132709. + versuffix="-$major"
  132710. + ;;
  132711. +
  132712. + *)
  132713. + func_fatal_configuration "unknown library version type \`$version_type'"
  132714. + ;;
  132715. + esac
  132716. +
  132717. + # Clear the version info if we defaulted, and they specified a release.
  132718. + if test -z "$vinfo" && test -n "$release"; then
  132719. + major=
  132720. + case $version_type in
  132721. + darwin)
  132722. + # we can't check for "0.0" in archive_cmds due to quoting
  132723. + # problems, so we reset it completely
  132724. + verstring=
  132725. + ;;
  132726. + *)
  132727. + verstring="0.0"
  132728. + ;;
  132729. + esac
  132730. + if test "$need_version" = no; then
  132731. + versuffix=
  132732. + else
  132733. + versuffix=".0.0"
  132734. + fi
  132735. + fi
  132736. +
  132737. + # Remove version info from name if versioning should be avoided
  132738. + if test "$avoid_version" = yes && test "$need_version" = no; then
  132739. + major=
  132740. + versuffix=
  132741. + verstring=""
  132742. + fi
  132743. +
  132744. + # Check to see if the archive will have undefined symbols.
  132745. + if test "$allow_undefined" = yes; then
  132746. + if test "$allow_undefined_flag" = unsupported; then
  132747. + func_warning "undefined symbols not allowed in $host shared libraries"
  132748. + build_libtool_libs=no
  132749. + build_old_libs=yes
  132750. + fi
  132751. + else
  132752. + # Don't allow undefined symbols.
  132753. + allow_undefined_flag="$no_undefined_flag"
  132754. + fi
  132755. +
  132756. + fi
  132757. +
  132758. + func_generate_dlsyms "$libname" "$libname" "yes"
  132759. + libobjs="$libobjs $symfileobj"
  132760. + test "X$libobjs" = "X " && libobjs=
  132761. +
  132762. + if test "$mode" != relink; then
  132763. + # Remove our outputs, but don't remove object files since they
  132764. + # may have been created when compiling PIC objects.
  132765. + removelist=
  132766. + tempremovelist=`$ECHO "$output_objdir/*"`
  132767. + for p in $tempremovelist; do
  132768. + case $p in
  132769. + *.$objext | *.gcno)
  132770. + ;;
  132771. + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
  132772. + if test "X$precious_files_regex" != "X"; then
  132773. + if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
  132774. + then
  132775. + continue
  132776. + fi
  132777. + fi
  132778. + removelist="$removelist $p"
  132779. + ;;
  132780. + *) ;;
  132781. + esac
  132782. + done
  132783. + test -n "$removelist" && \
  132784. + func_show_eval "${RM}r \$removelist"
  132785. + fi
  132786. +
  132787. + # Now set the variables for building old libraries.
  132788. + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
  132789. + oldlibs="$oldlibs $output_objdir/$libname.$libext"
  132790. +
  132791. + # Transform .lo files to .o files.
  132792. + oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
  132793. + fi
  132794. +
  132795. + # Eliminate all temporary directories.
  132796. + #for path in $notinst_path; do
  132797. + # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
  132798. + # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
  132799. + # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
  132800. + #done
  132801. +
  132802. + if test -n "$xrpath"; then
  132803. + # If the user specified any rpath flags, then add them.
  132804. + temp_xrpath=
  132805. + for libdir in $xrpath; do
  132806. + temp_xrpath="$temp_xrpath -R$libdir"
  132807. + case "$finalize_rpath " in
  132808. + *" $libdir "*) ;;
  132809. + *) finalize_rpath="$finalize_rpath $libdir" ;;
  132810. + esac
  132811. + done
  132812. + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
  132813. + dependency_libs="$temp_xrpath $dependency_libs"
  132814. + fi
  132815. + fi
  132816. +
  132817. + # Make sure dlfiles contains only unique files that won't be dlpreopened
  132818. + old_dlfiles="$dlfiles"
  132819. + dlfiles=
  132820. + for lib in $old_dlfiles; do
  132821. + case " $dlprefiles $dlfiles " in
  132822. + *" $lib "*) ;;
  132823. + *) dlfiles="$dlfiles $lib" ;;
  132824. + esac
  132825. + done
  132826. +
  132827. + # Make sure dlprefiles contains only unique files
  132828. + old_dlprefiles="$dlprefiles"
  132829. + dlprefiles=
  132830. + for lib in $old_dlprefiles; do
  132831. + case "$dlprefiles " in
  132832. + *" $lib "*) ;;
  132833. + *) dlprefiles="$dlprefiles $lib" ;;
  132834. + esac
  132835. + done
  132836. +
  132837. + if test "$build_libtool_libs" = yes; then
  132838. + if test -n "$rpath"; then
  132839. + case $host in
  132840. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
  132841. + # these systems don't actually have a c library (as such)!
  132842. + ;;
  132843. + *-*-rhapsody* | *-*-darwin1.[012])
  132844. + # Rhapsody C library is in the System framework
  132845. + deplibs="$deplibs System.ltframework"
  132846. + ;;
  132847. + *-*-netbsd*)
  132848. + # Don't link with libc until the a.out ld.so is fixed.
  132849. + ;;
  132850. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  132851. + # Do not include libc due to us having libc/libc_r.
  132852. + ;;
  132853. + *-*-sco3.2v5* | *-*-sco5v6*)
  132854. + # Causes problems with __ctype
  132855. + ;;
  132856. + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  132857. + # Compiler inserts libc in the correct place for threads to work
  132858. + ;;
  132859. + *)
  132860. + # Add libc to deplibs on all other systems if necessary.
  132861. + if test "$build_libtool_need_lc" = "yes"; then
  132862. + deplibs="$deplibs -lc"
  132863. + fi
  132864. + ;;
  132865. + esac
  132866. + fi
  132867. +
  132868. + # Transform deplibs into only deplibs that can be linked in shared.
  132869. + name_save=$name
  132870. + libname_save=$libname
  132871. + release_save=$release
  132872. + versuffix_save=$versuffix
  132873. + major_save=$major
  132874. + # I'm not sure if I'm treating the release correctly. I think
  132875. + # release should show up in the -l (ie -lgmp5) so we don't want to
  132876. + # add it in twice. Is that correct?
  132877. + release=""
  132878. + versuffix=""
  132879. + major=""
  132880. + newdeplibs=
  132881. + droppeddeps=no
  132882. + case $deplibs_check_method in
  132883. + pass_all)
  132884. + # Don't check for shared/static. Everything works.
  132885. + # This might be a little naive. We might want to check
  132886. + # whether the library exists or not. But this is on
  132887. + # osf3 & osf4 and I'm not really sure... Just
  132888. + # implementing what was already the behavior.
  132889. + newdeplibs=$deplibs
  132890. + ;;
  132891. + test_compile)
  132892. + # This code stresses the "libraries are programs" paradigm to its
  132893. + # limits. Maybe even breaks it. We compile a program, linking it
  132894. + # against the deplibs as a proxy for the library. Then we can check
  132895. + # whether they linked in statically or dynamically with ldd.
  132896. + $opt_dry_run || $RM conftest.c
  132897. + cat > conftest.c <<EOF
  132898. + int main() { return 0; }
  132899. +EOF
  132900. + $opt_dry_run || $RM conftest
  132901. + if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
  132902. + ldd_output=`ldd conftest`
  132903. + for i in $deplibs; do
  132904. + case $i in
  132905. + -l*)
  132906. + func_stripname -l '' "$i"
  132907. + name=$func_stripname_result
  132908. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  132909. + case " $predeps $postdeps " in
  132910. + *" $i "*)
  132911. + newdeplibs="$newdeplibs $i"
  132912. + i=""
  132913. + ;;
  132914. + esac
  132915. + fi
  132916. + if test -n "$i" ; then
  132917. + libname=`eval "\\$ECHO \"$libname_spec\""`
  132918. + deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
  132919. + set dummy $deplib_matches; shift
  132920. + deplib_match=$1
  132921. + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  132922. + newdeplibs="$newdeplibs $i"
  132923. + else
  132924. + droppeddeps=yes
  132925. + $ECHO
  132926. + $ECHO "*** Warning: dynamic linker does not accept needed library $i."
  132927. + $ECHO "*** I have the capability to make that library automatically link in when"
  132928. + $ECHO "*** you link to this library. But I can only do this if you have a"
  132929. + $ECHO "*** shared version of the library, which I believe you do not have"
  132930. + $ECHO "*** because a test_compile did reveal that the linker did not use it for"
  132931. + $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
  132932. + fi
  132933. + fi
  132934. + ;;
  132935. + *)
  132936. + newdeplibs="$newdeplibs $i"
  132937. + ;;
  132938. + esac
  132939. + done
  132940. + else
  132941. + # Error occurred in the first compile. Let's try to salvage
  132942. + # the situation: Compile a separate program for each library.
  132943. + for i in $deplibs; do
  132944. + case $i in
  132945. + -l*)
  132946. + func_stripname -l '' "$i"
  132947. + name=$func_stripname_result
  132948. + $opt_dry_run || $RM conftest
  132949. + if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
  132950. + ldd_output=`ldd conftest`
  132951. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  132952. + case " $predeps $postdeps " in
  132953. + *" $i "*)
  132954. + newdeplibs="$newdeplibs $i"
  132955. + i=""
  132956. + ;;
  132957. + esac
  132958. + fi
  132959. + if test -n "$i" ; then
  132960. + libname=`eval "\\$ECHO \"$libname_spec\""`
  132961. + deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
  132962. + set dummy $deplib_matches; shift
  132963. + deplib_match=$1
  132964. + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  132965. + newdeplibs="$newdeplibs $i"
  132966. + else
  132967. + droppeddeps=yes
  132968. + $ECHO
  132969. + $ECHO "*** Warning: dynamic linker does not accept needed library $i."
  132970. + $ECHO "*** I have the capability to make that library automatically link in when"
  132971. + $ECHO "*** you link to this library. But I can only do this if you have a"
  132972. + $ECHO "*** shared version of the library, which you do not appear to have"
  132973. + $ECHO "*** because a test_compile did reveal that the linker did not use this one"
  132974. + $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
  132975. + fi
  132976. + fi
  132977. + else
  132978. + droppeddeps=yes
  132979. + $ECHO
  132980. + $ECHO "*** Warning! Library $i is needed by this library but I was not able to"
  132981. + $ECHO "*** make it link in! You will probably need to install it or some"
  132982. + $ECHO "*** library that it depends on before this library will be fully"
  132983. + $ECHO "*** functional. Installing it before continuing would be even better."
  132984. + fi
  132985. + ;;
  132986. + *)
  132987. + newdeplibs="$newdeplibs $i"
  132988. + ;;
  132989. + esac
  132990. + done
  132991. + fi
  132992. + ;;
  132993. + file_magic*)
  132994. + set dummy $deplibs_check_method; shift
  132995. + file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  132996. + for a_deplib in $deplibs; do
  132997. + case $a_deplib in
  132998. + -l*)
  132999. + func_stripname -l '' "$a_deplib"
  133000. + name=$func_stripname_result
  133001. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  133002. + case " $predeps $postdeps " in
  133003. + *" $a_deplib "*)
  133004. + newdeplibs="$newdeplibs $a_deplib"
  133005. + a_deplib=""
  133006. + ;;
  133007. + esac
  133008. + fi
  133009. + if test -n "$a_deplib" ; then
  133010. + libname=`eval "\\$ECHO \"$libname_spec\""`
  133011. + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  133012. + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  133013. + for potent_lib in $potential_libs; do
  133014. + # Follow soft links.
  133015. + if ls -lLd "$potent_lib" 2>/dev/null |
  133016. + $GREP " -> " >/dev/null; then
  133017. + continue
  133018. + fi
  133019. + # The statement above tries to avoid entering an
  133020. + # endless loop below, in case of cyclic links.
  133021. + # We might still enter an endless loop, since a link
  133022. + # loop can be closed while we follow links,
  133023. + # but so what?
  133024. + potlib="$potent_lib"
  133025. + while test -h "$potlib" 2>/dev/null; do
  133026. + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
  133027. + case $potliblink in
  133028. + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
  133029. + *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
  133030. + esac
  133031. + done
  133032. + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
  133033. + $SED -e 10q |
  133034. + $EGREP "$file_magic_regex" > /dev/null; then
  133035. + newdeplibs="$newdeplibs $a_deplib"
  133036. + a_deplib=""
  133037. + break 2
  133038. + fi
  133039. + done
  133040. + done
  133041. + fi
  133042. + if test -n "$a_deplib" ; then
  133043. + droppeddeps=yes
  133044. + $ECHO
  133045. + $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
  133046. + $ECHO "*** I have the capability to make that library automatically link in when"
  133047. + $ECHO "*** you link to this library. But I can only do this if you have a"
  133048. + $ECHO "*** shared version of the library, which you do not appear to have"
  133049. + $ECHO "*** because I did check the linker path looking for a file starting"
  133050. + if test -z "$potlib" ; then
  133051. + $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
  133052. + else
  133053. + $ECHO "*** with $libname and none of the candidates passed a file format test"
  133054. + $ECHO "*** using a file magic. Last file checked: $potlib"
  133055. + fi
  133056. + fi
  133057. + ;;
  133058. + *)
  133059. + # Add a -L argument.
  133060. + newdeplibs="$newdeplibs $a_deplib"
  133061. + ;;
  133062. + esac
  133063. + done # Gone through all deplibs.
  133064. + ;;
  133065. + match_pattern*)
  133066. + set dummy $deplibs_check_method; shift
  133067. + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  133068. + for a_deplib in $deplibs; do
  133069. + case $a_deplib in
  133070. + -l*)
  133071. + func_stripname -l '' "$a_deplib"
  133072. + name=$func_stripname_result
  133073. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  133074. + case " $predeps $postdeps " in
  133075. + *" $a_deplib "*)
  133076. + newdeplibs="$newdeplibs $a_deplib"
  133077. + a_deplib=""
  133078. + ;;
  133079. + esac
  133080. + fi
  133081. + if test -n "$a_deplib" ; then
  133082. + libname=`eval "\\$ECHO \"$libname_spec\""`
  133083. + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  133084. + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  133085. + for potent_lib in $potential_libs; do
  133086. + potlib="$potent_lib" # see symlink-check above in file_magic test
  133087. + if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
  133088. + $EGREP "$match_pattern_regex" > /dev/null; then
  133089. + newdeplibs="$newdeplibs $a_deplib"
  133090. + a_deplib=""
  133091. + break 2
  133092. + fi
  133093. + done
  133094. + done
  133095. + fi
  133096. + if test -n "$a_deplib" ; then
  133097. + droppeddeps=yes
  133098. + $ECHO
  133099. + $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
  133100. + $ECHO "*** I have the capability to make that library automatically link in when"
  133101. + $ECHO "*** you link to this library. But I can only do this if you have a"
  133102. + $ECHO "*** shared version of the library, which you do not appear to have"
  133103. + $ECHO "*** because I did check the linker path looking for a file starting"
  133104. + if test -z "$potlib" ; then
  133105. + $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
  133106. + else
  133107. + $ECHO "*** with $libname and none of the candidates passed a file format test"
  133108. + $ECHO "*** using a regex pattern. Last file checked: $potlib"
  133109. + fi
  133110. + fi
  133111. + ;;
  133112. + *)
  133113. + # Add a -L argument.
  133114. + newdeplibs="$newdeplibs $a_deplib"
  133115. + ;;
  133116. + esac
  133117. + done # Gone through all deplibs.
  133118. + ;;
  133119. + none | unknown | *)
  133120. + newdeplibs=""
  133121. + tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
  133122. + -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
  133123. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  133124. + for i in $predeps $postdeps ; do
  133125. + # can't use Xsed below, because $i might contain '/'
  133126. + tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
  133127. + done
  133128. + fi
  133129. + if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' |
  133130. + $GREP . >/dev/null; then
  133131. + $ECHO
  133132. + if test "X$deplibs_check_method" = "Xnone"; then
  133133. + $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
  133134. + else
  133135. + $ECHO "*** Warning: inter-library dependencies are not known to be supported."
  133136. + fi
  133137. + $ECHO "*** All declared inter-library dependencies are being dropped."
  133138. + droppeddeps=yes
  133139. + fi
  133140. + ;;
  133141. + esac
  133142. + versuffix=$versuffix_save
  133143. + major=$major_save
  133144. + release=$release_save
  133145. + libname=$libname_save
  133146. + name=$name_save
  133147. +
  133148. + case $host in
  133149. + *-*-rhapsody* | *-*-darwin1.[012])
  133150. + # On Rhapsody replace the C library with the System framework
  133151. + newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  133152. + ;;
  133153. + esac
  133154. +
  133155. + if test "$droppeddeps" = yes; then
  133156. + if test "$module" = yes; then
  133157. + $ECHO
  133158. + $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
  133159. + $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
  133160. + $ECHO "*** a static module, that should work as long as the dlopening"
  133161. + $ECHO "*** application is linked with the -dlopen flag."
  133162. + if test -z "$global_symbol_pipe"; then
  133163. + $ECHO
  133164. + $ECHO "*** However, this would only work if libtool was able to extract symbol"
  133165. + $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
  133166. + $ECHO "*** not find such a program. So, this module is probably useless."
  133167. + $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
  133168. + fi
  133169. + if test "$build_old_libs" = no; then
  133170. + oldlibs="$output_objdir/$libname.$libext"
  133171. + build_libtool_libs=module
  133172. + build_old_libs=yes
  133173. + else
  133174. + build_libtool_libs=no
  133175. + fi
  133176. + else
  133177. + $ECHO "*** The inter-library dependencies that have been dropped here will be"
  133178. + $ECHO "*** automatically added whenever a program is linked with this library"
  133179. + $ECHO "*** or is declared to -dlopen it."
  133180. +
  133181. + if test "$allow_undefined" = no; then
  133182. + $ECHO
  133183. + $ECHO "*** Since this library must not contain undefined symbols,"
  133184. + $ECHO "*** because either the platform does not support them or"
  133185. + $ECHO "*** it was explicitly requested with -no-undefined,"
  133186. + $ECHO "*** libtool will only create a static version of it."
  133187. + if test "$build_old_libs" = no; then
  133188. + oldlibs="$output_objdir/$libname.$libext"
  133189. + build_libtool_libs=module
  133190. + build_old_libs=yes
  133191. + else
  133192. + build_libtool_libs=no
  133193. + fi
  133194. + fi
  133195. + fi
  133196. + fi
  133197. + # Done checking deplibs!
  133198. + deplibs=$newdeplibs
  133199. + fi
  133200. + # Time to change all our "foo.ltframework" stuff back to "-framework foo"
  133201. + case $host in
  133202. + *-*-darwin*)
  133203. + newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  133204. + new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  133205. + deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  133206. + ;;
  133207. + esac
  133208. +
  133209. + # move library search paths that coincide with paths to not yet
  133210. + # installed libraries to the beginning of the library search list
  133211. + new_libs=
  133212. + for path in $notinst_path; do
  133213. + case " $new_libs " in
  133214. + *" -L$path/$objdir "*) ;;
  133215. + *)
  133216. + case " $deplibs " in
  133217. + *" -L$path/$objdir "*)
  133218. + new_libs="$new_libs -L$path/$objdir" ;;
  133219. + esac
  133220. + ;;
  133221. + esac
  133222. + done
  133223. + for deplib in $deplibs; do
  133224. + case $deplib in
  133225. + -L*)
  133226. + case " $new_libs " in
  133227. + *" $deplib "*) ;;
  133228. + *) new_libs="$new_libs $deplib" ;;
  133229. + esac
  133230. + ;;
  133231. + *) new_libs="$new_libs $deplib" ;;
  133232. + esac
  133233. + done
  133234. + deplibs="$new_libs"
  133235. +
  133236. + # All the library-specific variables (install_libdir is set above).
  133237. + library_names=
  133238. + old_library=
  133239. + dlname=
  133240. +
  133241. + # Test again, we may have decided not to build it any more
  133242. + if test "$build_libtool_libs" = yes; then
  133243. + if test "$hardcode_into_libs" = yes; then
  133244. + # Hardcode the library paths
  133245. + hardcode_libdirs=
  133246. + dep_rpath=
  133247. + rpath="$finalize_rpath"
  133248. + test "$mode" != relink && rpath="$compile_rpath$rpath"
  133249. + for libdir in $rpath; do
  133250. + if test -n "$hardcode_libdir_flag_spec"; then
  133251. + if test -n "$hardcode_libdir_separator"; then
  133252. + if test -z "$hardcode_libdirs"; then
  133253. + hardcode_libdirs="$libdir"
  133254. + else
  133255. + # Just accumulate the unique libdirs.
  133256. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  133257. + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  133258. + ;;
  133259. + *)
  133260. + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  133261. + ;;
  133262. + esac
  133263. + fi
  133264. + else
  133265. + eval flag=\"$hardcode_libdir_flag_spec\"
  133266. + dep_rpath="$dep_rpath $flag"
  133267. + fi
  133268. + elif test -n "$runpath_var"; then
  133269. + case "$perm_rpath " in
  133270. + *" $libdir "*) ;;
  133271. + *) perm_rpath="$perm_rpath $libdir" ;;
  133272. + esac
  133273. + fi
  133274. + done
  133275. + # Substitute the hardcoded libdirs into the rpath.
  133276. + if test -n "$hardcode_libdir_separator" &&
  133277. + test -n "$hardcode_libdirs"; then
  133278. + libdir="$hardcode_libdirs"
  133279. + if test -n "$hardcode_libdir_flag_spec_ld"; then
  133280. + eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
  133281. + else
  133282. + eval dep_rpath=\"$hardcode_libdir_flag_spec\"
  133283. + fi
  133284. + fi
  133285. + if test -n "$runpath_var" && test -n "$perm_rpath"; then
  133286. + # We should set the runpath_var.
  133287. + rpath=
  133288. + for dir in $perm_rpath; do
  133289. + rpath="$rpath$dir:"
  133290. + done
  133291. + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
  133292. + fi
  133293. + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
  133294. + fi
  133295. - if test "$fast_install" = yes; then
  133296. - $echo >> $output "\
  133297. - program=lt-'$outputname'$exeext
  133298. - progdir=\"\$thisdir/$objdir\"
  133299. + shlibpath="$finalize_shlibpath"
  133300. + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
  133301. + if test -n "$shlibpath"; then
  133302. + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
  133303. + fi
  133304. - if test ! -f \"\$progdir/\$program\" || \\
  133305. - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
  133306. - test \"X\$file\" != \"X\$progdir/\$program\"; }; then
  133307. + # Get the real and link names of the library.
  133308. + eval shared_ext=\"$shrext_cmds\"
  133309. + eval library_names=\"$library_names_spec\"
  133310. + set dummy $library_names
  133311. + shift
  133312. + realname="$1"
  133313. + shift
  133314. - file=\"\$\$-\$program\"
  133315. + if test -n "$soname_spec"; then
  133316. + eval soname=\"$soname_spec\"
  133317. + else
  133318. + soname="$realname"
  133319. + fi
  133320. + if test -z "$dlname"; then
  133321. + dlname=$soname
  133322. + fi
  133323. - if test ! -d \"\$progdir\"; then
  133324. - $mkdir \"\$progdir\"
  133325. - else
  133326. - $rm \"\$progdir/\$file\"
  133327. - fi"
  133328. + lib="$output_objdir/$realname"
  133329. + linknames=
  133330. + for link
  133331. + do
  133332. + linknames="$linknames $link"
  133333. + done
  133334. - $echo >> $output "\
  133335. + # Use standard objects if they are pic
  133336. + test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  133337. + test "X$libobjs" = "X " && libobjs=
  133338. - # relink executable if necessary
  133339. - if test -n \"\$relink_command\"; then
  133340. - if relink_command_output=\`eval \$relink_command 2>&1\`; then :
  133341. - else
  133342. - $echo \"\$relink_command_output\" >&2
  133343. - $rm \"\$progdir/\$file\"
  133344. - exit $EXIT_FAILURE
  133345. - fi
  133346. - fi
  133347. + delfiles=
  133348. + if test -n "$export_symbols" && test -n "$include_expsyms"; then
  133349. + $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
  133350. + export_symbols="$output_objdir/$libname.uexp"
  133351. + delfiles="$delfiles $export_symbols"
  133352. + fi
  133353. +
  133354. + orig_export_symbols=
  133355. + case $host_os in
  133356. + cygwin* | mingw* | cegcc*)
  133357. + if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
  133358. + # exporting using user supplied symfile
  133359. + if test "x`$SED 1q $export_symbols`" != xEXPORTS; then
  133360. + # and it's NOT already a .def file. Must figure out
  133361. + # which of the given symbols are data symbols and tag
  133362. + # them as such. So, trigger use of export_symbols_cmds.
  133363. + # export_symbols gets reassigned inside the "prepare
  133364. + # the list of exported symbols" if statement, so the
  133365. + # include_expsyms logic still works.
  133366. + orig_export_symbols="$export_symbols"
  133367. + export_symbols=
  133368. + always_export_symbols=yes
  133369. + fi
  133370. + fi
  133371. + ;;
  133372. + esac
  133373. - $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
  133374. - { $rm \"\$progdir/\$program\";
  133375. - $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; }
  133376. - $rm \"\$progdir/\$file\"
  133377. - fi"
  133378. - else
  133379. - $echo >> $output "\
  133380. - program='$outputname'
  133381. - progdir=\"\$thisdir/$objdir\"
  133382. -"
  133383. + # Prepare the list of exported symbols
  133384. + if test -z "$export_symbols"; then
  133385. + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
  133386. + func_verbose "generating symbol list for \`$libname.la'"
  133387. + export_symbols="$output_objdir/$libname.exp"
  133388. + $opt_dry_run || $RM $export_symbols
  133389. + cmds=$export_symbols_cmds
  133390. + save_ifs="$IFS"; IFS='~'
  133391. + for cmd in $cmds; do
  133392. + IFS="$save_ifs"
  133393. + eval cmd=\"$cmd\"
  133394. + func_len " $cmd"
  133395. + len=$func_len_result
  133396. + if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  133397. + func_show_eval "$cmd" 'exit $?'
  133398. + skipped_export=false
  133399. + else
  133400. + # The command line is too long to execute in one step.
  133401. + func_verbose "using reloadable object file for export list..."
  133402. + skipped_export=:
  133403. + # Break out early, otherwise skipped_export may be
  133404. + # set to false by a later but shorter cmd.
  133405. + break
  133406. + fi
  133407. + done
  133408. + IFS="$save_ifs"
  133409. + if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then
  133410. + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
  133411. + func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
  133412. + fi
  133413. + fi
  133414. fi
  133415. - $echo >> $output "\
  133416. -
  133417. - if test -f \"\$progdir/\$program\"; then"
  133418. + if test -n "$export_symbols" && test -n "$include_expsyms"; then
  133419. + tmp_export_symbols="$export_symbols"
  133420. + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
  133421. + $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
  133422. + fi
  133423. +
  133424. + if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
  133425. + # The given exports_symbols file has to be filtered, so filter it.
  133426. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
  133427. + # FIXME: $output_objdir/$libname.filter potentially contains lots of
  133428. + # 's' commands which not all seds can handle. GNU sed should be fine
  133429. + # though. Also, the filter scales superlinearly with the number of
  133430. + # global variables. join(1) would be nice here, but unfortunately
  133431. + # isn't a blessed tool.
  133432. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
  133433. + delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
  133434. + export_symbols=$output_objdir/$libname.def
  133435. + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
  133436. + fi
  133437. - # Export our shlibpath_var if we have one.
  133438. - if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  133439. - $echo >> $output "\
  133440. - # Add our own library path to $shlibpath_var
  133441. - $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
  133442. + tmp_deplibs=
  133443. + for test_deplib in $deplibs; do
  133444. + case " $convenience " in
  133445. + *" $test_deplib "*) ;;
  133446. + *)
  133447. + tmp_deplibs="$tmp_deplibs $test_deplib"
  133448. + ;;
  133449. + esac
  133450. + done
  133451. + deplibs="$tmp_deplibs"
  133452. - # Some systems cannot cope with colon-terminated $shlibpath_var
  133453. - # The second colon is a workaround for a bug in BeOS R4 sed
  133454. - $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
  133455. + if test -n "$convenience"; then
  133456. + if test -n "$whole_archive_flag_spec" &&
  133457. + test "$compiler_needs_object" = yes &&
  133458. + test -z "$libobjs"; then
  133459. + # extract the archives, so we have objects to list.
  133460. + # TODO: could optimize this to just extract one archive.
  133461. + whole_archive_flag_spec=
  133462. + fi
  133463. + if test -n "$whole_archive_flag_spec"; then
  133464. + save_libobjs=$libobjs
  133465. + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  133466. + test "X$libobjs" = "X " && libobjs=
  133467. + else
  133468. + gentop="$output_objdir/${outputname}x"
  133469. + generated="$generated $gentop"
  133470. - export $shlibpath_var
  133471. -"
  133472. + func_extract_archives $gentop $convenience
  133473. + libobjs="$libobjs $func_extract_archives_result"
  133474. + test "X$libobjs" = "X " && libobjs=
  133475. + fi
  133476. fi
  133477. - # fixup the dll searchpath if we need to.
  133478. - if test -n "$dllsearchpath"; then
  133479. - $echo >> $output "\
  133480. - # Add the dll search path components to the executable PATH
  133481. - PATH=$dllsearchpath:\$PATH
  133482. -"
  133483. + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
  133484. + eval flag=\"$thread_safe_flag_spec\"
  133485. + linker_flags="$linker_flags $flag"
  133486. fi
  133487. - $echo >> $output "\
  133488. - if test \"\$libtool_execute_magic\" != \"$magic\"; then
  133489. - # Run the actual program with our arguments.
  133490. -"
  133491. - case $host in
  133492. - # Backslashes separate directories on plain windows
  133493. - *-*-mingw | *-*-os2*)
  133494. - $echo >> $output "\
  133495. - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
  133496. -"
  133497. - ;;
  133498. -
  133499. - *)
  133500. - $echo >> $output "\
  133501. - exec \"\$progdir/\$program\" \${1+\"\$@\"}
  133502. -"
  133503. - ;;
  133504. - esac
  133505. - $echo >> $output "\
  133506. - \$echo \"\$0: cannot exec \$program \$*\"
  133507. - exit $EXIT_FAILURE
  133508. - fi
  133509. - else
  133510. - # The program doesn't exist.
  133511. - \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
  133512. - \$echo \"This script is just a wrapper for \$program.\" 1>&2
  133513. - $echo \"See the $PACKAGE documentation for more information.\" 1>&2
  133514. - exit $EXIT_FAILURE
  133515. - fi
  133516. -fi\
  133517. -"
  133518. - chmod +x $output
  133519. - fi
  133520. - exit $EXIT_SUCCESS
  133521. - ;;
  133522. - esac
  133523. -
  133524. - # See if we need to build an old-fashioned archive.
  133525. - for oldlib in $oldlibs; do
  133526. + # Make a backup of the uninstalled library when relinking
  133527. + if test "$mode" = relink; then
  133528. + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
  133529. + fi
  133530. - if test "$build_libtool_libs" = convenience; then
  133531. - oldobjs="$libobjs_save"
  133532. - addlibs="$convenience"
  133533. - build_libtool_libs=no
  133534. - else
  133535. - if test "$build_libtool_libs" = module; then
  133536. - oldobjs="$libobjs_save"
  133537. - build_libtool_libs=no
  133538. + # Do each of the archive commands.
  133539. + if test "$module" = yes && test -n "$module_cmds" ; then
  133540. + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  133541. + eval test_cmds=\"$module_expsym_cmds\"
  133542. + cmds=$module_expsym_cmds
  133543. + else
  133544. + eval test_cmds=\"$module_cmds\"
  133545. + cmds=$module_cmds
  133546. + fi
  133547. else
  133548. - oldobjs="$old_deplibs $non_pic_objects"
  133549. + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  133550. + eval test_cmds=\"$archive_expsym_cmds\"
  133551. + cmds=$archive_expsym_cmds
  133552. + else
  133553. + eval test_cmds=\"$archive_cmds\"
  133554. + cmds=$archive_cmds
  133555. + fi
  133556. fi
  133557. - addlibs="$old_convenience"
  133558. - fi
  133559. - if test -n "$addlibs"; then
  133560. - gentop="$output_objdir/${outputname}x"
  133561. - generated="$generated $gentop"
  133562. + if test "X$skipped_export" != "X:" &&
  133563. + func_len " $test_cmds" &&
  133564. + len=$func_len_result &&
  133565. + test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  133566. + :
  133567. + else
  133568. + # The command line is too long to link in one step, link piecewise
  133569. + # or, if using GNU ld and skipped_export is not :, use a linker
  133570. + # script.
  133571. - func_extract_archives $gentop $addlibs
  133572. - oldobjs="$oldobjs $func_extract_archives_result"
  133573. - fi
  133574. + # Save the value of $output and $libobjs because we want to
  133575. + # use them later. If we have whole_archive_flag_spec, we
  133576. + # want to use save_libobjs as it was before
  133577. + # whole_archive_flag_spec was expanded, because we can't
  133578. + # assume the linker understands whole_archive_flag_spec.
  133579. + # This may have to be revisited, in case too many
  133580. + # convenience libraries get linked in and end up exceeding
  133581. + # the spec.
  133582. + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
  133583. + save_libobjs=$libobjs
  133584. + fi
  133585. + save_output=$output
  133586. + output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
  133587. - # Do each command in the archive commands.
  133588. - if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
  133589. - cmds=$old_archive_from_new_cmds
  133590. - else
  133591. - # POSIX demands no paths to be encoded in archives. We have
  133592. - # to avoid creating archives with duplicate basenames if we
  133593. - # might have to extract them afterwards, e.g., when creating a
  133594. - # static archive out of a convenience library, or when linking
  133595. - # the entirety of a libtool archive into another (currently
  133596. - # not supported by libtool).
  133597. - if (for obj in $oldobjs
  133598. + # Clear the reloadable object creation command queue and
  133599. + # initialize k to one.
  133600. + test_cmds=
  133601. + concat_cmds=
  133602. + objlist=
  133603. + last_robj=
  133604. + k=1
  133605. +
  133606. + if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
  133607. + output=${output_objdir}/${output_la}.lnkscript
  133608. + func_verbose "creating GNU ld script: $output"
  133609. + $ECHO 'INPUT (' > $output
  133610. + for obj in $save_libobjs
  133611. do
  133612. - $echo "X$obj" | $Xsed -e 's%^.*/%%'
  133613. - done | sort | sort -uc >/dev/null 2>&1); then
  133614. - :
  133615. - else
  133616. - $echo "copying selected object files to avoid basename conflicts..."
  133617. + $ECHO "$obj" >> $output
  133618. + done
  133619. + $ECHO ')' >> $output
  133620. + delfiles="$delfiles $output"
  133621. + elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
  133622. + output=${output_objdir}/${output_la}.lnk
  133623. + func_verbose "creating linker input file list: $output"
  133624. + : > $output
  133625. + set x $save_libobjs
  133626. + shift
  133627. + firstobj=
  133628. + if test "$compiler_needs_object" = yes; then
  133629. + firstobj="$1 "
  133630. + shift
  133631. + fi
  133632. + for obj
  133633. + do
  133634. + $ECHO "$obj" >> $output
  133635. + done
  133636. + delfiles="$delfiles $output"
  133637. + output=$firstobj\"$file_list_spec$output\"
  133638. + else
  133639. + if test -n "$save_libobjs"; then
  133640. + func_verbose "creating reloadable object files..."
  133641. + output=$output_objdir/$output_la-${k}.$objext
  133642. + eval test_cmds=\"$reload_cmds\"
  133643. + func_len " $test_cmds"
  133644. + len0=$func_len_result
  133645. + len=$len0
  133646. +
  133647. + # Loop over the list of objects to be linked.
  133648. + for obj in $save_libobjs
  133649. + do
  133650. + func_len " $obj"
  133651. + func_arith $len + $func_len_result
  133652. + len=$func_arith_result
  133653. + if test "X$objlist" = X ||
  133654. + test "$len" -lt "$max_cmd_len"; then
  133655. + func_append objlist " $obj"
  133656. + else
  133657. + # The command $test_cmds is almost too long, add a
  133658. + # command to the queue.
  133659. + if test "$k" -eq 1 ; then
  133660. + # The first file doesn't have a previous command to add.
  133661. + eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
  133662. + else
  133663. + # All subsequent reloadable object files will link in
  133664. + # the last one created.
  133665. + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\"
  133666. + fi
  133667. + last_robj=$output_objdir/$output_la-${k}.$objext
  133668. + func_arith $k + 1
  133669. + k=$func_arith_result
  133670. + output=$output_objdir/$output_la-${k}.$objext
  133671. + objlist=$obj
  133672. + func_len " $last_robj"
  133673. + func_arith $len0 + $func_len_result
  133674. + len=$func_arith_result
  133675. + fi
  133676. + done
  133677. + # Handle the remaining objects by creating one last
  133678. + # reloadable object file. All subsequent reloadable object
  133679. + # files will link in the last one created.
  133680. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  133681. + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
  133682. + if test -n "$last_robj"; then
  133683. + eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
  133684. + fi
  133685. + delfiles="$delfiles $output"
  133686. - if test -z "$gentop"; then
  133687. - gentop="$output_objdir/${outputname}x"
  133688. - generated="$generated $gentop"
  133689. + else
  133690. + output=
  133691. + fi
  133692. +
  133693. + if ${skipped_export-false}; then
  133694. + func_verbose "generating symbol list for \`$libname.la'"
  133695. + export_symbols="$output_objdir/$libname.exp"
  133696. + $opt_dry_run || $RM $export_symbols
  133697. + libobjs=$output
  133698. + # Append the command to create the export file.
  133699. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  133700. + eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\"
  133701. + if test -n "$last_robj"; then
  133702. + eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
  133703. + fi
  133704. + fi
  133705. +
  133706. + test -n "$save_libobjs" &&
  133707. + func_verbose "creating a temporary reloadable object file: $output"
  133708. +
  133709. + # Loop through the commands generated above and execute them.
  133710. + save_ifs="$IFS"; IFS='~'
  133711. + for cmd in $concat_cmds; do
  133712. + IFS="$save_ifs"
  133713. + $opt_silent || {
  133714. + func_quote_for_expand "$cmd"
  133715. + eval "func_echo $func_quote_for_expand_result"
  133716. + }
  133717. + $opt_dry_run || eval "$cmd" || {
  133718. + lt_exit=$?
  133719. +
  133720. + # Restore the uninstalled library and exit
  133721. + if test "$mode" = relink; then
  133722. + ( cd "$output_objdir" && \
  133723. + $RM "${realname}T" && \
  133724. + $MV "${realname}U" "$realname" )
  133725. + fi
  133726. +
  133727. + exit $lt_exit
  133728. + }
  133729. + done
  133730. + IFS="$save_ifs"
  133731. - $show "${rm}r $gentop"
  133732. - $run ${rm}r "$gentop"
  133733. - $show "$mkdir $gentop"
  133734. - $run $mkdir "$gentop"
  133735. - exit_status=$?
  133736. - if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
  133737. - exit $exit_status
  133738. + if test -n "$export_symbols_regex" && ${skipped_export-false}; then
  133739. + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
  133740. + func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
  133741. fi
  133742. fi
  133743. - save_oldobjs=$oldobjs
  133744. - oldobjs=
  133745. - counter=1
  133746. - for obj in $save_oldobjs
  133747. - do
  133748. - objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
  133749. - case " $oldobjs " in
  133750. - " ") oldobjs=$obj ;;
  133751. - *[\ /]"$objbase "*)
  133752. - while :; do
  133753. - # Make sure we don't pick an alternate name that also
  133754. - # overlaps.
  133755. - newobj=lt$counter-$objbase
  133756. - counter=`expr $counter + 1`
  133757. - case " $oldobjs " in
  133758. - *[\ /]"$newobj "*) ;;
  133759. - *) if test ! -f "$gentop/$newobj"; then break; fi ;;
  133760. - esac
  133761. - done
  133762. - $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
  133763. - $run ln "$obj" "$gentop/$newobj" ||
  133764. - $run cp "$obj" "$gentop/$newobj"
  133765. - oldobjs="$oldobjs $gentop/$newobj"
  133766. - ;;
  133767. - *) oldobjs="$oldobjs $obj" ;;
  133768. - esac
  133769. - done
  133770. - fi
  133771. + if ${skipped_export-false}; then
  133772. + if test -n "$export_symbols" && test -n "$include_expsyms"; then
  133773. + tmp_export_symbols="$export_symbols"
  133774. + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
  133775. + $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
  133776. + fi
  133777. +
  133778. + if test -n "$orig_export_symbols"; then
  133779. + # The given exports_symbols file has to be filtered, so filter it.
  133780. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
  133781. + # FIXME: $output_objdir/$libname.filter potentially contains lots of
  133782. + # 's' commands which not all seds can handle. GNU sed should be fine
  133783. + # though. Also, the filter scales superlinearly with the number of
  133784. + # global variables. join(1) would be nice here, but unfortunately
  133785. + # isn't a blessed tool.
  133786. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
  133787. + delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
  133788. + export_symbols=$output_objdir/$libname.def
  133789. + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
  133790. + fi
  133791. + fi
  133792. - eval cmds=\"$old_archive_cmds\"
  133793. + libobjs=$output
  133794. + # Restore the value of output.
  133795. + output=$save_output
  133796. - if len=`expr "X$cmds" : ".*"` &&
  133797. - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  133798. - cmds=$old_archive_cmds
  133799. - else
  133800. - # the command line is too long to link in one step, link in parts
  133801. - $echo "using piecewise archive linking..."
  133802. - save_RANLIB=$RANLIB
  133803. - RANLIB=:
  133804. - objlist=
  133805. - concat_cmds=
  133806. - save_oldobjs=$oldobjs
  133807. + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
  133808. + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  133809. + test "X$libobjs" = "X " && libobjs=
  133810. + fi
  133811. + # Expand the library linking commands again to reset the
  133812. + # value of $libobjs for piecewise linking.
  133813. - # Is there a better way of finding the last object in the list?
  133814. - for obj in $save_oldobjs
  133815. - do
  133816. - last_oldobj=$obj
  133817. - done
  133818. - for obj in $save_oldobjs
  133819. - do
  133820. - oldobjs="$objlist $obj"
  133821. - objlist="$objlist $obj"
  133822. - eval test_cmds=\"$old_archive_cmds\"
  133823. - if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
  133824. - test "$len" -le "$max_cmd_len"; then
  133825. - :
  133826. + # Do each of the archive commands.
  133827. + if test "$module" = yes && test -n "$module_cmds" ; then
  133828. + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  133829. + cmds=$module_expsym_cmds
  133830. else
  133831. - # the above command should be used before it gets too long
  133832. - oldobjs=$objlist
  133833. - if test "$obj" = "$last_oldobj" ; then
  133834. - RANLIB=$save_RANLIB
  133835. - fi
  133836. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  133837. - eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
  133838. - objlist=
  133839. + cmds=$module_cmds
  133840. fi
  133841. - done
  133842. - RANLIB=$save_RANLIB
  133843. - oldobjs=$objlist
  133844. - if test "X$oldobjs" = "X" ; then
  133845. - eval cmds=\"\$concat_cmds\"
  133846. else
  133847. - eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
  133848. + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  133849. + cmds=$archive_expsym_cmds
  133850. + else
  133851. + cmds=$archive_cmds
  133852. + fi
  133853. fi
  133854. fi
  133855. - fi
  133856. - save_ifs="$IFS"; IFS='~'
  133857. - for cmd in $cmds; do
  133858. - eval cmd=\"$cmd\"
  133859. - IFS="$save_ifs"
  133860. - $show "$cmd"
  133861. - $run eval "$cmd" || exit $?
  133862. - done
  133863. - IFS="$save_ifs"
  133864. - done
  133865. - if test -n "$generated"; then
  133866. - $show "${rm}r$generated"
  133867. - $run ${rm}r$generated
  133868. - fi
  133869. + if test -n "$delfiles"; then
  133870. + # Append the command to remove temporary files to $cmds.
  133871. + eval cmds=\"\$cmds~\$RM $delfiles\"
  133872. + fi
  133873. - # Now create the libtool archive.
  133874. - case $output in
  133875. - *.la)
  133876. - old_library=
  133877. - test "$build_old_libs" = yes && old_library="$libname.$libext"
  133878. - $show "creating $output"
  133879. + # Add any objects from preloaded convenience libraries
  133880. + if test -n "$dlprefiles"; then
  133881. + gentop="$output_objdir/${outputname}x"
  133882. + generated="$generated $gentop"
  133883. - # Preserve any variables that may affect compiler behavior
  133884. - for var in $variables_saved_for_relink; do
  133885. - if eval test -z \"\${$var+set}\"; then
  133886. - relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
  133887. - elif eval var_value=\$$var; test -z "$var_value"; then
  133888. - relink_command="$var=; export $var; $relink_command"
  133889. - else
  133890. - var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
  133891. - relink_command="$var=\"$var_value\"; export $var; $relink_command"
  133892. + func_extract_archives $gentop $dlprefiles
  133893. + libobjs="$libobjs $func_extract_archives_result"
  133894. + test "X$libobjs" = "X " && libobjs=
  133895. fi
  133896. - done
  133897. - # Quote the link command for shipping.
  133898. - relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
  133899. - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
  133900. - if test "$hardcode_automatic" = yes ; then
  133901. - relink_command=
  133902. - fi
  133903. + save_ifs="$IFS"; IFS='~'
  133904. + for cmd in $cmds; do
  133905. + IFS="$save_ifs"
  133906. + eval cmd=\"$cmd\"
  133907. + $opt_silent || {
  133908. + func_quote_for_expand "$cmd"
  133909. + eval "func_echo $func_quote_for_expand_result"
  133910. + }
  133911. + $opt_dry_run || eval "$cmd" || {
  133912. + lt_exit=$?
  133913. - # Only create the output if not a dry run.
  133914. - if test -z "$run"; then
  133915. - for installed in no yes; do
  133916. - if test "$installed" = yes; then
  133917. - if test -z "$install_libdir"; then
  133918. - break
  133919. + # Restore the uninstalled library and exit
  133920. + if test "$mode" = relink; then
  133921. + ( cd "$output_objdir" && \
  133922. + $RM "${realname}T" && \
  133923. + $MV "${realname}U" "$realname" )
  133924. fi
  133925. - output="$output_objdir/$outputname"i
  133926. - # Replace all uninstalled libtool libraries with the installed ones
  133927. - newdependency_libs=
  133928. - for deplib in $dependency_libs; do
  133929. - case $deplib in
  133930. - *.la)
  133931. - name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
  133932. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  133933. - if test -z "$libdir"; then
  133934. - $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
  133935. - exit $EXIT_FAILURE
  133936. - fi
  133937. - newdependency_libs="$newdependency_libs $libdir/$name"
  133938. - ;;
  133939. - *) newdependency_libs="$newdependency_libs $deplib" ;;
  133940. - esac
  133941. - done
  133942. - dependency_libs="$newdependency_libs"
  133943. - newdlfiles=
  133944. - for lib in $dlfiles; do
  133945. - name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
  133946. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  133947. - if test -z "$libdir"; then
  133948. - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  133949. - exit $EXIT_FAILURE
  133950. - fi
  133951. - newdlfiles="$newdlfiles $libdir/$name"
  133952. - done
  133953. - dlfiles="$newdlfiles"
  133954. - newdlprefiles=
  133955. - for lib in $dlprefiles; do
  133956. - name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
  133957. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  133958. - if test -z "$libdir"; then
  133959. - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  133960. - exit $EXIT_FAILURE
  133961. - fi
  133962. - newdlprefiles="$newdlprefiles $libdir/$name"
  133963. - done
  133964. - dlprefiles="$newdlprefiles"
  133965. - else
  133966. - newdlfiles=
  133967. - for lib in $dlfiles; do
  133968. - case $lib in
  133969. - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  133970. - *) abs=`pwd`"/$lib" ;;
  133971. - esac
  133972. - newdlfiles="$newdlfiles $abs"
  133973. - done
  133974. - dlfiles="$newdlfiles"
  133975. - newdlprefiles=
  133976. - for lib in $dlprefiles; do
  133977. - case $lib in
  133978. - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  133979. - *) abs=`pwd`"/$lib" ;;
  133980. - esac
  133981. - newdlprefiles="$newdlprefiles $abs"
  133982. - done
  133983. - dlprefiles="$newdlprefiles"
  133984. - fi
  133985. - $rm $output
  133986. - # place dlname in correct position for cygwin
  133987. - tdlname=$dlname
  133988. - case $host,$output,$installed,$module,$dlname in
  133989. - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
  133990. - esac
  133991. - $echo > $output "\
  133992. -# $outputname - a libtool library file
  133993. -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
  133994. -#
  133995. -# Please DO NOT delete this file!
  133996. -# It is necessary for linking the library.
  133997. -# The name that we can dlopen(3).
  133998. -dlname='$tdlname'
  133999. + exit $lt_exit
  134000. + }
  134001. + done
  134002. + IFS="$save_ifs"
  134003. -# Names of this library.
  134004. -library_names='$library_names'
  134005. + # Restore the uninstalled library and exit
  134006. + if test "$mode" = relink; then
  134007. + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
  134008. -# The name of the static archive.
  134009. -old_library='$old_library'
  134010. + if test -n "$convenience"; then
  134011. + if test -z "$whole_archive_flag_spec"; then
  134012. + func_show_eval '${RM}r "$gentop"'
  134013. + fi
  134014. + fi
  134015. -# Libraries that this one depends upon.
  134016. -dependency_libs='$dependency_libs'
  134017. + exit $EXIT_SUCCESS
  134018. + fi
  134019. -# Version information for $libname.
  134020. -current=$current
  134021. -age=$age
  134022. -revision=$revision
  134023. + # Create links to the real library.
  134024. + for linkname in $linknames; do
  134025. + if test "$realname" != "$linkname"; then
  134026. + func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?'
  134027. + fi
  134028. + done
  134029. -# Is this an already installed library?
  134030. -installed=$installed
  134031. + # If -module or -export-dynamic was specified, set the dlname.
  134032. + if test "$module" = yes || test "$export_dynamic" = yes; then
  134033. + # On all known operating systems, these are identical.
  134034. + dlname="$soname"
  134035. + fi
  134036. + fi
  134037. + ;;
  134038. -# Should we warn about portability when linking against -modules?
  134039. -shouldnotlink=$module
  134040. + obj)
  134041. + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  134042. + func_warning "\`-dlopen' is ignored for objects"
  134043. + fi
  134044. -# Files to dlopen/dlpreopen
  134045. -dlopen='$dlfiles'
  134046. -dlpreopen='$dlprefiles'
  134047. + case " $deplibs" in
  134048. + *\ -l* | *\ -L*)
  134049. + func_warning "\`-l' and \`-L' are ignored for objects" ;;
  134050. + esac
  134051. -# Directory that this library needs to be installed in:
  134052. -libdir='$install_libdir'"
  134053. - if test "$installed" = no && test "$need_relink" = yes; then
  134054. - $echo >> $output "\
  134055. -relink_command=\"$relink_command\""
  134056. - fi
  134057. - done
  134058. - fi
  134059. + test -n "$rpath" && \
  134060. + func_warning "\`-rpath' is ignored for objects"
  134061. - # Do a symbolic link so that the libtool archive can be found in
  134062. - # LD_LIBRARY_PATH before the program is installed.
  134063. - $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
  134064. - $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
  134065. - ;;
  134066. - esac
  134067. - exit $EXIT_SUCCESS
  134068. - ;;
  134069. + test -n "$xrpath" && \
  134070. + func_warning "\`-R' is ignored for objects"
  134071. - # libtool install mode
  134072. - install)
  134073. - modename="$modename: install"
  134074. + test -n "$vinfo" && \
  134075. + func_warning "\`-version-info' is ignored for objects"
  134076. - # There may be an optional sh(1) argument at the beginning of
  134077. - # install_prog (especially on Windows NT).
  134078. - if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
  134079. - # Allow the use of GNU shtool's install command.
  134080. - $echo "X$nonopt" | grep shtool > /dev/null; then
  134081. - # Aesthetically quote it.
  134082. - arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
  134083. - case $arg in
  134084. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  134085. - arg="\"$arg\""
  134086. + test -n "$release" && \
  134087. + func_warning "\`-release' is ignored for objects"
  134088. +
  134089. + case $output in
  134090. + *.lo)
  134091. + test -n "$objs$old_deplibs" && \
  134092. + func_fatal_error "cannot build library object \`$output' from non-libtool objects"
  134093. +
  134094. + libobj=$output
  134095. + func_lo2o "$libobj"
  134096. + obj=$func_lo2o_result
  134097. + ;;
  134098. + *)
  134099. + libobj=
  134100. + obj="$output"
  134101. ;;
  134102. esac
  134103. - install_prog="$arg "
  134104. - arg="$1"
  134105. - shift
  134106. - else
  134107. - install_prog=
  134108. - arg=$nonopt
  134109. - fi
  134110. - # The real first argument should be the name of the installation program.
  134111. - # Aesthetically quote it.
  134112. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  134113. - case $arg in
  134114. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  134115. - arg="\"$arg\""
  134116. - ;;
  134117. - esac
  134118. - install_prog="$install_prog$arg"
  134119. + # Delete the old objects.
  134120. + $opt_dry_run || $RM $obj $libobj
  134121. - # We need to accept at least all the BSD install flags.
  134122. - dest=
  134123. - files=
  134124. - opts=
  134125. - prev=
  134126. - install_type=
  134127. - isdir=no
  134128. - stripme=
  134129. - for arg
  134130. - do
  134131. - if test -n "$dest"; then
  134132. - files="$files $dest"
  134133. - dest=$arg
  134134. - continue
  134135. - fi
  134136. + # Objects from convenience libraries. This assumes
  134137. + # single-version convenience libraries. Whenever we create
  134138. + # different ones for PIC/non-PIC, this we'll have to duplicate
  134139. + # the extraction.
  134140. + reload_conv_objs=
  134141. + gentop=
  134142. + # reload_cmds runs $LD directly, so let us get rid of
  134143. + # -Wl from whole_archive_flag_spec and hope we can get by with
  134144. + # turning comma into space..
  134145. + wl=
  134146. - case $arg in
  134147. - -d) isdir=yes ;;
  134148. - -f)
  134149. - case " $install_prog " in
  134150. - *[\\\ /]cp\ *) ;;
  134151. - *) prev=$arg ;;
  134152. - esac
  134153. - ;;
  134154. - -g | -m | -o) prev=$arg ;;
  134155. - -s)
  134156. - stripme=" -s"
  134157. - continue
  134158. - ;;
  134159. - -*)
  134160. - ;;
  134161. - *)
  134162. - # If the previous option needed an argument, then skip it.
  134163. - if test -n "$prev"; then
  134164. - prev=
  134165. + if test -n "$convenience"; then
  134166. + if test -n "$whole_archive_flag_spec"; then
  134167. + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
  134168. + reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
  134169. else
  134170. - dest=$arg
  134171. - continue
  134172. + gentop="$output_objdir/${obj}x"
  134173. + generated="$generated $gentop"
  134174. +
  134175. + func_extract_archives $gentop $convenience
  134176. + reload_conv_objs="$reload_objs $func_extract_archives_result"
  134177. fi
  134178. - ;;
  134179. - esac
  134180. + fi
  134181. - # Aesthetically quote the argument.
  134182. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  134183. - case $arg in
  134184. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  134185. - arg="\"$arg\""
  134186. - ;;
  134187. - esac
  134188. - install_prog="$install_prog $arg"
  134189. - done
  134190. + # Create the old-style object.
  134191. + reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
  134192. - if test -z "$install_prog"; then
  134193. - $echo "$modename: you must specify an install program" 1>&2
  134194. - $echo "$help" 1>&2
  134195. - exit $EXIT_FAILURE
  134196. - fi
  134197. + output="$obj"
  134198. + func_execute_cmds "$reload_cmds" 'exit $?'
  134199. - if test -n "$prev"; then
  134200. - $echo "$modename: the \`$prev' option requires an argument" 1>&2
  134201. - $echo "$help" 1>&2
  134202. - exit $EXIT_FAILURE
  134203. - fi
  134204. + # Exit if we aren't doing a library object file.
  134205. + if test -z "$libobj"; then
  134206. + if test -n "$gentop"; then
  134207. + func_show_eval '${RM}r "$gentop"'
  134208. + fi
  134209. - if test -z "$files"; then
  134210. - if test -z "$dest"; then
  134211. - $echo "$modename: no file or destination specified" 1>&2
  134212. - else
  134213. - $echo "$modename: you must specify a destination" 1>&2
  134214. + exit $EXIT_SUCCESS
  134215. fi
  134216. - $echo "$help" 1>&2
  134217. - exit $EXIT_FAILURE
  134218. - fi
  134219. - # Strip any trailing slash from the destination.
  134220. - dest=`$echo "X$dest" | $Xsed -e 's%/$%%'`
  134221. + if test "$build_libtool_libs" != yes; then
  134222. + if test -n "$gentop"; then
  134223. + func_show_eval '${RM}r "$gentop"'
  134224. + fi
  134225. - # Check to see that the destination is a directory.
  134226. - test -d "$dest" && isdir=yes
  134227. - if test "$isdir" = yes; then
  134228. - destdir="$dest"
  134229. - destname=
  134230. - else
  134231. - destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'`
  134232. - test "X$destdir" = "X$dest" && destdir=.
  134233. - destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'`
  134234. + # Create an invalid libtool object if no PIC, so that we don't
  134235. + # accidentally link it into a program.
  134236. + # $show "echo timestamp > $libobj"
  134237. + # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
  134238. + exit $EXIT_SUCCESS
  134239. + fi
  134240. - # Not a directory, so check to see that there is only one file specified.
  134241. - set dummy $files
  134242. - if test "$#" -gt 2; then
  134243. - $echo "$modename: \`$dest' is not a directory" 1>&2
  134244. - $echo "$help" 1>&2
  134245. - exit $EXIT_FAILURE
  134246. + if test -n "$pic_flag" || test "$pic_mode" != default; then
  134247. + # Only do commands if we really have different PIC objects.
  134248. + reload_objs="$libobjs $reload_conv_objs"
  134249. + output="$libobj"
  134250. + func_execute_cmds "$reload_cmds" 'exit $?'
  134251. fi
  134252. - fi
  134253. - case $destdir in
  134254. - [\\/]* | [A-Za-z]:[\\/]*) ;;
  134255. - *)
  134256. - for file in $files; do
  134257. - case $file in
  134258. - *.lo) ;;
  134259. - *)
  134260. - $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
  134261. - $echo "$help" 1>&2
  134262. - exit $EXIT_FAILURE
  134263. - ;;
  134264. - esac
  134265. - done
  134266. +
  134267. + if test -n "$gentop"; then
  134268. + func_show_eval '${RM}r "$gentop"'
  134269. + fi
  134270. +
  134271. + exit $EXIT_SUCCESS
  134272. ;;
  134273. - esac
  134274. - # This variable tells wrapper scripts just to set variables rather
  134275. - # than running their programs.
  134276. - libtool_install_magic="$magic"
  134277. + prog)
  134278. + case $host in
  134279. + *cygwin*) func_stripname '' '.exe' "$output"
  134280. + output=$func_stripname_result.exe;;
  134281. + esac
  134282. + test -n "$vinfo" && \
  134283. + func_warning "\`-version-info' is ignored for programs"
  134284. - staticlibs=
  134285. - future_libdirs=
  134286. - current_libdirs=
  134287. - for file in $files; do
  134288. + test -n "$release" && \
  134289. + func_warning "\`-release' is ignored for programs"
  134290. - # Do each installation.
  134291. - case $file in
  134292. - *.$libext)
  134293. - # Do the static libraries later.
  134294. - staticlibs="$staticlibs $file"
  134295. + test "$preload" = yes \
  134296. + && test "$dlopen_support" = unknown \
  134297. + && test "$dlopen_self" = unknown \
  134298. + && test "$dlopen_self_static" = unknown && \
  134299. + func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support."
  134300. +
  134301. + case $host in
  134302. + *-*-rhapsody* | *-*-darwin1.[012])
  134303. + # On Rhapsody replace the C library is the System framework
  134304. + compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  134305. + finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  134306. ;;
  134307. + esac
  134308. - *.la)
  134309. - # Check to see that this really is a libtool archive.
  134310. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
  134311. - else
  134312. - $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
  134313. - $echo "$help" 1>&2
  134314. - exit $EXIT_FAILURE
  134315. + case $host in
  134316. + *-*-darwin*)
  134317. + # Don't allow lazy linking, it breaks C++ global constructors
  134318. + # But is supposedly fixed on 10.4 or later (yay!).
  134319. + if test "$tagname" = CXX ; then
  134320. + case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
  134321. + 10.[0123])
  134322. + compile_command="$compile_command ${wl}-bind_at_load"
  134323. + finalize_command="$finalize_command ${wl}-bind_at_load"
  134324. + ;;
  134325. + esac
  134326. fi
  134327. + # Time to change all our "foo.ltframework" stuff back to "-framework foo"
  134328. + compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  134329. + finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  134330. + ;;
  134331. + esac
  134332. - library_names=
  134333. - old_library=
  134334. - relink_command=
  134335. - # If there is no directory component, then add one.
  134336. - case $file in
  134337. - */* | *\\*) . $file ;;
  134338. - *) . ./$file ;;
  134339. - esac
  134340. - # Add the libdir to current_libdirs if it is the destination.
  134341. - if test "X$destdir" = "X$libdir"; then
  134342. - case "$current_libdirs " in
  134343. - *" $libdir "*) ;;
  134344. - *) current_libdirs="$current_libdirs $libdir" ;;
  134345. + # move library search paths that coincide with paths to not yet
  134346. + # installed libraries to the beginning of the library search list
  134347. + new_libs=
  134348. + for path in $notinst_path; do
  134349. + case " $new_libs " in
  134350. + *" -L$path/$objdir "*) ;;
  134351. + *)
  134352. + case " $compile_deplibs " in
  134353. + *" -L$path/$objdir "*)
  134354. + new_libs="$new_libs -L$path/$objdir" ;;
  134355. esac
  134356. - else
  134357. - # Note the libdir as a future libdir.
  134358. - case "$future_libdirs " in
  134359. - *" $libdir "*) ;;
  134360. - *) future_libdirs="$future_libdirs $libdir" ;;
  134361. + ;;
  134362. + esac
  134363. + done
  134364. + for deplib in $compile_deplibs; do
  134365. + case $deplib in
  134366. + -L*)
  134367. + case " $new_libs " in
  134368. + *" $deplib "*) ;;
  134369. + *) new_libs="$new_libs $deplib" ;;
  134370. esac
  134371. - fi
  134372. + ;;
  134373. + *) new_libs="$new_libs $deplib" ;;
  134374. + esac
  134375. + done
  134376. + compile_deplibs="$new_libs"
  134377. - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
  134378. - test "X$dir" = "X$file/" && dir=
  134379. - dir="$dir$objdir"
  134380. - if test -n "$relink_command"; then
  134381. - # Determine the prefix the user has applied to our future dir.
  134382. - inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
  134383. + compile_command="$compile_command $compile_deplibs"
  134384. + finalize_command="$finalize_command $finalize_deplibs"
  134385. - # Don't allow the user to place us outside of our expected
  134386. - # location b/c this prevents finding dependent libraries that
  134387. - # are installed to the same prefix.
  134388. - # At present, this check doesn't affect windows .dll's that
  134389. - # are installed into $libdir/../bin (currently, that works fine)
  134390. - # but it's something to keep an eye on.
  134391. - if test "$inst_prefix_dir" = "$destdir"; then
  134392. - $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
  134393. - exit $EXIT_FAILURE
  134394. - fi
  134395. + if test -n "$rpath$xrpath"; then
  134396. + # If the user specified any rpath flags, then add them.
  134397. + for libdir in $rpath $xrpath; do
  134398. + # This is the magic to use -rpath.
  134399. + case "$finalize_rpath " in
  134400. + *" $libdir "*) ;;
  134401. + *) finalize_rpath="$finalize_rpath $libdir" ;;
  134402. + esac
  134403. + done
  134404. + fi
  134405. - if test -n "$inst_prefix_dir"; then
  134406. - # Stick the inst_prefix_dir data into the link command.
  134407. - relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP`
  134408. + # Now hardcode the library paths
  134409. + rpath=
  134410. + hardcode_libdirs=
  134411. + for libdir in $compile_rpath $finalize_rpath; do
  134412. + if test -n "$hardcode_libdir_flag_spec"; then
  134413. + if test -n "$hardcode_libdir_separator"; then
  134414. + if test -z "$hardcode_libdirs"; then
  134415. + hardcode_libdirs="$libdir"
  134416. + else
  134417. + # Just accumulate the unique libdirs.
  134418. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  134419. + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  134420. + ;;
  134421. + *)
  134422. + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  134423. + ;;
  134424. + esac
  134425. + fi
  134426. else
  134427. - relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP`
  134428. + eval flag=\"$hardcode_libdir_flag_spec\"
  134429. + rpath="$rpath $flag"
  134430. fi
  134431. + elif test -n "$runpath_var"; then
  134432. + case "$perm_rpath " in
  134433. + *" $libdir "*) ;;
  134434. + *) perm_rpath="$perm_rpath $libdir" ;;
  134435. + esac
  134436. + fi
  134437. + case $host in
  134438. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  134439. + testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
  134440. + case :$dllsearchpath: in
  134441. + *":$libdir:"*) ;;
  134442. + ::) dllsearchpath=$libdir;;
  134443. + *) dllsearchpath="$dllsearchpath:$libdir";;
  134444. + esac
  134445. + case :$dllsearchpath: in
  134446. + *":$testbindir:"*) ;;
  134447. + ::) dllsearchpath=$testbindir;;
  134448. + *) dllsearchpath="$dllsearchpath:$testbindir";;
  134449. + esac
  134450. + ;;
  134451. + esac
  134452. + done
  134453. + # Substitute the hardcoded libdirs into the rpath.
  134454. + if test -n "$hardcode_libdir_separator" &&
  134455. + test -n "$hardcode_libdirs"; then
  134456. + libdir="$hardcode_libdirs"
  134457. + eval rpath=\" $hardcode_libdir_flag_spec\"
  134458. + fi
  134459. + compile_rpath="$rpath"
  134460. - $echo "$modename: warning: relinking \`$file'" 1>&2
  134461. - $show "$relink_command"
  134462. - if $run eval "$relink_command"; then :
  134463. + rpath=
  134464. + hardcode_libdirs=
  134465. + for libdir in $finalize_rpath; do
  134466. + if test -n "$hardcode_libdir_flag_spec"; then
  134467. + if test -n "$hardcode_libdir_separator"; then
  134468. + if test -z "$hardcode_libdirs"; then
  134469. + hardcode_libdirs="$libdir"
  134470. + else
  134471. + # Just accumulate the unique libdirs.
  134472. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  134473. + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  134474. + ;;
  134475. + *)
  134476. + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  134477. + ;;
  134478. + esac
  134479. + fi
  134480. else
  134481. - $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
  134482. - exit $EXIT_FAILURE
  134483. + eval flag=\"$hardcode_libdir_flag_spec\"
  134484. + rpath="$rpath $flag"
  134485. fi
  134486. + elif test -n "$runpath_var"; then
  134487. + case "$finalize_perm_rpath " in
  134488. + *" $libdir "*) ;;
  134489. + *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
  134490. + esac
  134491. fi
  134492. + done
  134493. + # Substitute the hardcoded libdirs into the rpath.
  134494. + if test -n "$hardcode_libdir_separator" &&
  134495. + test -n "$hardcode_libdirs"; then
  134496. + libdir="$hardcode_libdirs"
  134497. + eval rpath=\" $hardcode_libdir_flag_spec\"
  134498. + fi
  134499. + finalize_rpath="$rpath"
  134500. - # See the names of the shared library.
  134501. - set dummy $library_names
  134502. - if test -n "$2"; then
  134503. - realname="$2"
  134504. - shift
  134505. - shift
  134506. + if test -n "$libobjs" && test "$build_old_libs" = yes; then
  134507. + # Transform all the library objects into standard objects.
  134508. + compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  134509. + finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  134510. + fi
  134511. - srcname="$realname"
  134512. - test -n "$relink_command" && srcname="$realname"T
  134513. + func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
  134514. - # Install the shared library and build the symlinks.
  134515. - $show "$install_prog $dir/$srcname $destdir/$realname"
  134516. - $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
  134517. - if test -n "$stripme" && test -n "$striplib"; then
  134518. - $show "$striplib $destdir/$realname"
  134519. - $run eval "$striplib $destdir/$realname" || exit $?
  134520. - fi
  134521. + # template prelinking step
  134522. + if test -n "$prelink_cmds"; then
  134523. + func_execute_cmds "$prelink_cmds" 'exit $?'
  134524. + fi
  134525. - if test "$#" -gt 0; then
  134526. - # Delete the old symlinks, and create new ones.
  134527. - # Try `ln -sf' first, because the `ln' binary might depend on
  134528. - # the symlink we replace! Solaris /bin/ln does not understand -f,
  134529. - # so we also need to try rm && ln -s.
  134530. - for linkname
  134531. - do
  134532. - if test "$linkname" != "$realname"; then
  134533. - $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
  134534. - $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
  134535. - fi
  134536. - done
  134537. - fi
  134538. + wrappers_required=yes
  134539. + case $host in
  134540. + *cygwin* | *mingw* )
  134541. + if test "$build_libtool_libs" != yes; then
  134542. + wrappers_required=no
  134543. + fi
  134544. + ;;
  134545. + *cegcc)
  134546. + # Disable wrappers for cegcc, we are cross compiling anyway.
  134547. + wrappers_required=no
  134548. + ;;
  134549. + *)
  134550. + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
  134551. + wrappers_required=no
  134552. + fi
  134553. + ;;
  134554. + esac
  134555. + if test "$wrappers_required" = no; then
  134556. + # Replace the output file specification.
  134557. + compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  134558. + link_command="$compile_command$compile_rpath"
  134559. - # Do each command in the postinstall commands.
  134560. - lib="$destdir/$realname"
  134561. - cmds=$postinstall_cmds
  134562. - save_ifs="$IFS"; IFS='~'
  134563. - for cmd in $cmds; do
  134564. - IFS="$save_ifs"
  134565. - eval cmd=\"$cmd\"
  134566. - $show "$cmd"
  134567. - $run eval "$cmd" || {
  134568. - lt_exit=$?
  134569. -
  134570. - # Restore the uninstalled library and exit
  134571. - if test "$mode" = relink; then
  134572. - $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
  134573. - fi
  134574. + # We have no uninstalled library dependencies, so finalize right now.
  134575. + exit_status=0
  134576. + func_show_eval "$link_command" 'exit_status=$?'
  134577. - exit $lt_exit
  134578. - }
  134579. - done
  134580. - IFS="$save_ifs"
  134581. + # Delete the generated files.
  134582. + if test -f "$output_objdir/${outputname}S.${objext}"; then
  134583. + func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
  134584. fi
  134585. - # Install the pseudo-library for information purposes.
  134586. - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  134587. - instname="$dir/$name"i
  134588. - $show "$install_prog $instname $destdir/$name"
  134589. - $run eval "$install_prog $instname $destdir/$name" || exit $?
  134590. -
  134591. - # Maybe install the static library, too.
  134592. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
  134593. - ;;
  134594. + exit $exit_status
  134595. + fi
  134596. - *.lo)
  134597. - # Install (i.e. copy) a libtool object.
  134598. + if test -n "$compile_shlibpath$finalize_shlibpath"; then
  134599. + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
  134600. + fi
  134601. + if test -n "$finalize_shlibpath"; then
  134602. + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
  134603. + fi
  134604. - # Figure out destination file name, if it wasn't already specified.
  134605. - if test -n "$destname"; then
  134606. - destfile="$destdir/$destname"
  134607. - else
  134608. - destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  134609. - destfile="$destdir/$destfile"
  134610. + compile_var=
  134611. + finalize_var=
  134612. + if test -n "$runpath_var"; then
  134613. + if test -n "$perm_rpath"; then
  134614. + # We should set the runpath_var.
  134615. + rpath=
  134616. + for dir in $perm_rpath; do
  134617. + rpath="$rpath$dir:"
  134618. + done
  134619. + compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
  134620. fi
  134621. -
  134622. - # Deduce the name of the destination old-style object file.
  134623. - case $destfile in
  134624. - *.lo)
  134625. - staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
  134626. - ;;
  134627. - *.$objext)
  134628. - staticdest="$destfile"
  134629. - destfile=
  134630. - ;;
  134631. - *)
  134632. - $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
  134633. - $echo "$help" 1>&2
  134634. - exit $EXIT_FAILURE
  134635. - ;;
  134636. - esac
  134637. -
  134638. - # Install the libtool object if requested.
  134639. - if test -n "$destfile"; then
  134640. - $show "$install_prog $file $destfile"
  134641. - $run eval "$install_prog $file $destfile" || exit $?
  134642. + if test -n "$finalize_perm_rpath"; then
  134643. + # We should set the runpath_var.
  134644. + rpath=
  134645. + for dir in $finalize_perm_rpath; do
  134646. + rpath="$rpath$dir:"
  134647. + done
  134648. + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
  134649. fi
  134650. + fi
  134651. - # Install the old object if enabled.
  134652. - if test "$build_old_libs" = yes; then
  134653. - # Deduce the name of the old-style object file.
  134654. - staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
  134655. -
  134656. - $show "$install_prog $staticobj $staticdest"
  134657. - $run eval "$install_prog \$staticobj \$staticdest" || exit $?
  134658. - fi
  134659. + if test "$no_install" = yes; then
  134660. + # We don't need to create a wrapper script.
  134661. + link_command="$compile_var$compile_command$compile_rpath"
  134662. + # Replace the output file specification.
  134663. + link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  134664. + # Delete the old output file.
  134665. + $opt_dry_run || $RM $output
  134666. + # Link the executable and exit
  134667. + func_show_eval "$link_command" 'exit $?'
  134668. exit $EXIT_SUCCESS
  134669. - ;;
  134670. + fi
  134671. - *)
  134672. - # Figure out destination file name, if it wasn't already specified.
  134673. - if test -n "$destname"; then
  134674. - destfile="$destdir/$destname"
  134675. + if test "$hardcode_action" = relink; then
  134676. + # Fast installation is not supported
  134677. + link_command="$compile_var$compile_command$compile_rpath"
  134678. + relink_command="$finalize_var$finalize_command$finalize_rpath"
  134679. +
  134680. + func_warning "this platform does not like uninstalled shared libraries"
  134681. + func_warning "\`$output' will be relinked during installation"
  134682. + else
  134683. + if test "$fast_install" != no; then
  134684. + link_command="$finalize_var$compile_command$finalize_rpath"
  134685. + if test "$fast_install" = yes; then
  134686. + relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
  134687. + else
  134688. + # fast_install is set to needless
  134689. + relink_command=
  134690. + fi
  134691. else
  134692. - destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  134693. - destfile="$destdir/$destfile"
  134694. + link_command="$compile_var$compile_command$compile_rpath"
  134695. + relink_command="$finalize_var$finalize_command$finalize_rpath"
  134696. fi
  134697. + fi
  134698. - # If the file is missing, and there is a .exe on the end, strip it
  134699. - # because it is most likely a libtool script we actually want to
  134700. - # install
  134701. - stripped_ext=""
  134702. - case $file in
  134703. - *.exe)
  134704. - if test ! -f "$file"; then
  134705. - file=`$echo $file|${SED} 's,.exe$,,'`
  134706. - stripped_ext=".exe"
  134707. - fi
  134708. - ;;
  134709. - esac
  134710. -
  134711. - # Do a test to see if this is really a libtool program.
  134712. - case $host in
  134713. - *cygwin*|*mingw*)
  134714. - wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
  134715. - ;;
  134716. - *)
  134717. - wrapper=$file
  134718. - ;;
  134719. - esac
  134720. - if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
  134721. - notinst_deplibs=
  134722. - relink_command=
  134723. -
  134724. - # Note that it is not necessary on cygwin/mingw to append a dot to
  134725. - # foo even if both foo and FILE.exe exist: automatic-append-.exe
  134726. - # behavior happens only for exec(3), not for open(2)! Also, sourcing
  134727. - # `FILE.' does not work on cygwin managed mounts.
  134728. - #
  134729. - # If there is no directory component, then add one.
  134730. - case $wrapper in
  134731. - */* | *\\*) . ${wrapper} ;;
  134732. - *) . ./${wrapper} ;;
  134733. - esac
  134734. -
  134735. - # Check the variables that should have been set.
  134736. - if test -z "$notinst_deplibs"; then
  134737. - $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
  134738. - exit $EXIT_FAILURE
  134739. - fi
  134740. + # Replace the output file specification.
  134741. + link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  134742. - finalize=yes
  134743. - for lib in $notinst_deplibs; do
  134744. - # Check to see that each library is installed.
  134745. - libdir=
  134746. - if test -f "$lib"; then
  134747. - # If there is no directory component, then add one.
  134748. - case $lib in
  134749. - */* | *\\*) . $lib ;;
  134750. - *) . ./$lib ;;
  134751. - esac
  134752. - fi
  134753. - libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
  134754. - if test -n "$libdir" && test ! -f "$libfile"; then
  134755. - $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
  134756. - finalize=no
  134757. - fi
  134758. - done
  134759. + # Delete the old output files.
  134760. + $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
  134761. - relink_command=
  134762. - # Note that it is not necessary on cygwin/mingw to append a dot to
  134763. - # foo even if both foo and FILE.exe exist: automatic-append-.exe
  134764. - # behavior happens only for exec(3), not for open(2)! Also, sourcing
  134765. - # `FILE.' does not work on cygwin managed mounts.
  134766. - #
  134767. - # If there is no directory component, then add one.
  134768. - case $wrapper in
  134769. - */* | *\\*) . ${wrapper} ;;
  134770. - *) . ./${wrapper} ;;
  134771. - esac
  134772. + func_show_eval "$link_command" 'exit $?'
  134773. - outputname=
  134774. - if test "$fast_install" = no && test -n "$relink_command"; then
  134775. - if test "$finalize" = yes && test -z "$run"; then
  134776. - tmpdir=`func_mktempdir`
  134777. - file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
  134778. - outputname="$tmpdir/$file"
  134779. - # Replace the output file specification.
  134780. - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP`
  134781. + # Now create the wrapper script.
  134782. + func_verbose "creating $output"
  134783. - $show "$relink_command"
  134784. - if $run eval "$relink_command"; then :
  134785. - else
  134786. - $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
  134787. - ${rm}r "$tmpdir"
  134788. - continue
  134789. - fi
  134790. - file="$outputname"
  134791. - else
  134792. - $echo "$modename: warning: cannot relink \`$file'" 1>&2
  134793. - fi
  134794. + # Quote the relink command for shipping.
  134795. + if test -n "$relink_command"; then
  134796. + # Preserve any variables that may affect compiler behavior
  134797. + for var in $variables_saved_for_relink; do
  134798. + if eval test -z \"\${$var+set}\"; then
  134799. + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
  134800. + elif eval var_value=\$$var; test -z "$var_value"; then
  134801. + relink_command="$var=; export $var; $relink_command"
  134802. else
  134803. - # Install the binary that we compiled earlier.
  134804. - file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
  134805. + func_quote_for_eval "$var_value"
  134806. + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
  134807. fi
  134808. - fi
  134809. + done
  134810. + relink_command="(cd `pwd`; $relink_command)"
  134811. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  134812. + fi
  134813. - # remove .exe since cygwin /usr/bin/install will append another
  134814. - # one anyway
  134815. - case $install_prog,$host in
  134816. - */usr/bin/install*,*cygwin*)
  134817. - case $file:$destfile in
  134818. - *.exe:*.exe)
  134819. - # this is ok
  134820. - ;;
  134821. - *.exe:*)
  134822. - destfile=$destfile.exe
  134823. - ;;
  134824. - *:*.exe)
  134825. - destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
  134826. - ;;
  134827. - esac
  134828. - ;;
  134829. + # Quote $ECHO for shipping.
  134830. + if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
  134831. + case $progpath in
  134832. + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
  134833. + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
  134834. + esac
  134835. + qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
  134836. + else
  134837. + qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
  134838. + fi
  134839. +
  134840. + # Only actually do things if not in dry run mode.
  134841. + $opt_dry_run || {
  134842. + # win32 will think the script is a binary if it has
  134843. + # a .exe suffix, so we strip it off here.
  134844. + case $output in
  134845. + *.exe) func_stripname '' '.exe' "$output"
  134846. + output=$func_stripname_result ;;
  134847. + esac
  134848. + # test for cygwin because mv fails w/o .exe extensions
  134849. + case $host in
  134850. + *cygwin*)
  134851. + exeext=.exe
  134852. + func_stripname '' '.exe' "$outputname"
  134853. + outputname=$func_stripname_result ;;
  134854. + *) exeext= ;;
  134855. esac
  134856. - $show "$install_prog$stripme $file $destfile"
  134857. - $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
  134858. - test -n "$outputname" && ${rm}r "$tmpdir"
  134859. - ;;
  134860. - esac
  134861. - done
  134862. + case $host in
  134863. + *cygwin* | *mingw* )
  134864. + func_dirname_and_basename "$output" "" "."
  134865. + output_name=$func_basename_result
  134866. + output_path=$func_dirname_result
  134867. + cwrappersource="$output_path/$objdir/lt-$output_name.c"
  134868. + cwrapper="$output_path/$output_name.exe"
  134869. + $RM $cwrappersource $cwrapper
  134870. + trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
  134871. +
  134872. + func_emit_cwrapperexe_src > $cwrappersource
  134873. +
  134874. + # The wrapper executable is built using the $host compiler,
  134875. + # because it contains $host paths and files. If cross-
  134876. + # compiling, it, like the target executable, must be
  134877. + # executed on the $host or under an emulation environment.
  134878. + $opt_dry_run || {
  134879. + $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
  134880. + $STRIP $cwrapper
  134881. + }
  134882. - for file in $staticlibs; do
  134883. - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  134884. + # Now, create the wrapper script for func_source use:
  134885. + func_ltwrapper_scriptname $cwrapper
  134886. + $RM $func_ltwrapper_scriptname_result
  134887. + trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15
  134888. + $opt_dry_run || {
  134889. + # note: this script will not be executed, so do not chmod.
  134890. + if test "x$build" = "x$host" ; then
  134891. + $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
  134892. + else
  134893. + func_emit_wrapper no > $func_ltwrapper_scriptname_result
  134894. + fi
  134895. + }
  134896. + ;;
  134897. + * )
  134898. + $RM $output
  134899. + trap "$RM $output; exit $EXIT_FAILURE" 1 2 15
  134900. - # Set up the ranlib parameters.
  134901. - oldlib="$destdir/$name"
  134902. + func_emit_wrapper no > $output
  134903. + chmod +x $output
  134904. + ;;
  134905. + esac
  134906. + }
  134907. + exit $EXIT_SUCCESS
  134908. + ;;
  134909. + esac
  134910. - $show "$install_prog $file $oldlib"
  134911. - $run eval "$install_prog \$file \$oldlib" || exit $?
  134912. + # See if we need to build an old-fashioned archive.
  134913. + for oldlib in $oldlibs; do
  134914. - if test -n "$stripme" && test -n "$old_striplib"; then
  134915. - $show "$old_striplib $oldlib"
  134916. - $run eval "$old_striplib $oldlib" || exit $?
  134917. + if test "$build_libtool_libs" = convenience; then
  134918. + oldobjs="$libobjs_save $symfileobj"
  134919. + addlibs="$convenience"
  134920. + build_libtool_libs=no
  134921. + else
  134922. + if test "$build_libtool_libs" = module; then
  134923. + oldobjs="$libobjs_save"
  134924. + build_libtool_libs=no
  134925. + else
  134926. + oldobjs="$old_deplibs $non_pic_objects"
  134927. + if test "$preload" = yes && test -f "$symfileobj"; then
  134928. + oldobjs="$oldobjs $symfileobj"
  134929. + fi
  134930. + fi
  134931. + addlibs="$old_convenience"
  134932. fi
  134933. - # Do each command in the postinstall commands.
  134934. - cmds=$old_postinstall_cmds
  134935. - save_ifs="$IFS"; IFS='~'
  134936. - for cmd in $cmds; do
  134937. - IFS="$save_ifs"
  134938. - eval cmd=\"$cmd\"
  134939. - $show "$cmd"
  134940. - $run eval "$cmd" || exit $?
  134941. - done
  134942. - IFS="$save_ifs"
  134943. - done
  134944. + if test -n "$addlibs"; then
  134945. + gentop="$output_objdir/${outputname}x"
  134946. + generated="$generated $gentop"
  134947. - if test -n "$future_libdirs"; then
  134948. - $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2
  134949. - fi
  134950. + func_extract_archives $gentop $addlibs
  134951. + oldobjs="$oldobjs $func_extract_archives_result"
  134952. + fi
  134953. - if test -n "$current_libdirs"; then
  134954. - # Maybe just do a dry run.
  134955. - test -n "$run" && current_libdirs=" -n$current_libdirs"
  134956. - exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
  134957. - else
  134958. - exit $EXIT_SUCCESS
  134959. - fi
  134960. - ;;
  134961. + # Do each command in the archive commands.
  134962. + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
  134963. + cmds=$old_archive_from_new_cmds
  134964. + else
  134965. - # libtool finish mode
  134966. - finish)
  134967. - modename="$modename: finish"
  134968. - libdirs="$nonopt"
  134969. - admincmds=
  134970. + # Add any objects from preloaded convenience libraries
  134971. + if test -n "$dlprefiles"; then
  134972. + gentop="$output_objdir/${outputname}x"
  134973. + generated="$generated $gentop"
  134974. - if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
  134975. - for dir
  134976. - do
  134977. - libdirs="$libdirs $dir"
  134978. - done
  134979. + func_extract_archives $gentop $dlprefiles
  134980. + oldobjs="$oldobjs $func_extract_archives_result"
  134981. + fi
  134982. - for libdir in $libdirs; do
  134983. - if test -n "$finish_cmds"; then
  134984. - # Do each command in the finish commands.
  134985. - cmds=$finish_cmds
  134986. - save_ifs="$IFS"; IFS='~'
  134987. - for cmd in $cmds; do
  134988. - IFS="$save_ifs"
  134989. - eval cmd=\"$cmd\"
  134990. - $show "$cmd"
  134991. - $run eval "$cmd" || admincmds="$admincmds
  134992. - $cmd"
  134993. + # POSIX demands no paths to be encoded in archives. We have
  134994. + # to avoid creating archives with duplicate basenames if we
  134995. + # might have to extract them afterwards, e.g., when creating a
  134996. + # static archive out of a convenience library, or when linking
  134997. + # the entirety of a libtool archive into another (currently
  134998. + # not supported by libtool).
  134999. + if (for obj in $oldobjs
  135000. + do
  135001. + func_basename "$obj"
  135002. + $ECHO "$func_basename_result"
  135003. + done | sort | sort -uc >/dev/null 2>&1); then
  135004. + :
  135005. + else
  135006. + $ECHO "copying selected object files to avoid basename conflicts..."
  135007. + gentop="$output_objdir/${outputname}x"
  135008. + generated="$generated $gentop"
  135009. + func_mkdir_p "$gentop"
  135010. + save_oldobjs=$oldobjs
  135011. + oldobjs=
  135012. + counter=1
  135013. + for obj in $save_oldobjs
  135014. + do
  135015. + func_basename "$obj"
  135016. + objbase="$func_basename_result"
  135017. + case " $oldobjs " in
  135018. + " ") oldobjs=$obj ;;
  135019. + *[\ /]"$objbase "*)
  135020. + while :; do
  135021. + # Make sure we don't pick an alternate name that also
  135022. + # overlaps.
  135023. + newobj=lt$counter-$objbase
  135024. + func_arith $counter + 1
  135025. + counter=$func_arith_result
  135026. + case " $oldobjs " in
  135027. + *[\ /]"$newobj "*) ;;
  135028. + *) if test ! -f "$gentop/$newobj"; then break; fi ;;
  135029. + esac
  135030. + done
  135031. + func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
  135032. + oldobjs="$oldobjs $gentop/$newobj"
  135033. + ;;
  135034. + *) oldobjs="$oldobjs $obj" ;;
  135035. + esac
  135036. done
  135037. - IFS="$save_ifs"
  135038. - fi
  135039. - if test -n "$finish_eval"; then
  135040. - # Do the single finish_eval.
  135041. - eval cmds=\"$finish_eval\"
  135042. - $run eval "$cmds" || admincmds="$admincmds
  135043. - $cmds"
  135044. fi
  135045. - done
  135046. - fi
  135047. -
  135048. - # Exit here if they wanted silent mode.
  135049. - test "$show" = : && exit $EXIT_SUCCESS
  135050. + eval cmds=\"$old_archive_cmds\"
  135051. - $echo "X----------------------------------------------------------------------" | $Xsed
  135052. - $echo "Libraries have been installed in:"
  135053. - for libdir in $libdirs; do
  135054. - $echo " $libdir"
  135055. + func_len " $cmds"
  135056. + len=$func_len_result
  135057. + if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  135058. + cmds=$old_archive_cmds
  135059. + else
  135060. + # the command line is too long to link in one step, link in parts
  135061. + func_verbose "using piecewise archive linking..."
  135062. + save_RANLIB=$RANLIB
  135063. + RANLIB=:
  135064. + objlist=
  135065. + concat_cmds=
  135066. + save_oldobjs=$oldobjs
  135067. + oldobjs=
  135068. + # Is there a better way of finding the last object in the list?
  135069. + for obj in $save_oldobjs
  135070. + do
  135071. + last_oldobj=$obj
  135072. + done
  135073. + eval test_cmds=\"$old_archive_cmds\"
  135074. + func_len " $test_cmds"
  135075. + len0=$func_len_result
  135076. + len=$len0
  135077. + for obj in $save_oldobjs
  135078. + do
  135079. + func_len " $obj"
  135080. + func_arith $len + $func_len_result
  135081. + len=$func_arith_result
  135082. + func_append objlist " $obj"
  135083. + if test "$len" -lt "$max_cmd_len"; then
  135084. + :
  135085. + else
  135086. + # the above command should be used before it gets too long
  135087. + oldobjs=$objlist
  135088. + if test "$obj" = "$last_oldobj" ; then
  135089. + RANLIB=$save_RANLIB
  135090. + fi
  135091. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  135092. + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
  135093. + objlist=
  135094. + len=$len0
  135095. + fi
  135096. + done
  135097. + RANLIB=$save_RANLIB
  135098. + oldobjs=$objlist
  135099. + if test "X$oldobjs" = "X" ; then
  135100. + eval cmds=\"\$concat_cmds\"
  135101. + else
  135102. + eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
  135103. + fi
  135104. + fi
  135105. + fi
  135106. + func_execute_cmds "$cmds" 'exit $?'
  135107. done
  135108. - $echo
  135109. - $echo "If you ever happen to want to link against installed libraries"
  135110. - $echo "in a given directory, LIBDIR, you must either use libtool, and"
  135111. - $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
  135112. - $echo "flag during linking and do at least one of the following:"
  135113. - if test -n "$shlibpath_var"; then
  135114. - $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
  135115. - $echo " during execution"
  135116. - fi
  135117. - if test -n "$runpath_var"; then
  135118. - $echo " - add LIBDIR to the \`$runpath_var' environment variable"
  135119. - $echo " during linking"
  135120. - fi
  135121. - if test -n "$hardcode_libdir_flag_spec"; then
  135122. - libdir=LIBDIR
  135123. - eval flag=\"$hardcode_libdir_flag_spec\"
  135124. -
  135125. - $echo " - use the \`$flag' linker flag"
  135126. - fi
  135127. - if test -n "$admincmds"; then
  135128. - $echo " - have your system administrator run these commands:$admincmds"
  135129. - fi
  135130. - if test -f /etc/ld.so.conf; then
  135131. - $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
  135132. - fi
  135133. - $echo
  135134. - $echo "See any operating system documentation about shared libraries for"
  135135. - $echo "more information, such as the ld(1) and ld.so(8) manual pages."
  135136. - $echo "X----------------------------------------------------------------------" | $Xsed
  135137. - exit $EXIT_SUCCESS
  135138. - ;;
  135139. -
  135140. - # libtool execute mode
  135141. - execute)
  135142. - modename="$modename: execute"
  135143. - # The first argument is the command name.
  135144. - cmd="$nonopt"
  135145. - if test -z "$cmd"; then
  135146. - $echo "$modename: you must specify a COMMAND" 1>&2
  135147. - $echo "$help"
  135148. - exit $EXIT_FAILURE
  135149. - fi
  135150. + test -n "$generated" && \
  135151. + func_show_eval "${RM}r$generated"
  135152. - # Handle -dlopen flags immediately.
  135153. - for file in $execute_dlfiles; do
  135154. - if test ! -f "$file"; then
  135155. - $echo "$modename: \`$file' is not a file" 1>&2
  135156. - $echo "$help" 1>&2
  135157. - exit $EXIT_FAILURE
  135158. - fi
  135159. + # Now create the libtool archive.
  135160. + case $output in
  135161. + *.la)
  135162. + old_library=
  135163. + test "$build_old_libs" = yes && old_library="$libname.$libext"
  135164. + func_verbose "creating $output"
  135165. - dir=
  135166. - case $file in
  135167. - *.la)
  135168. - # Check to see that this really is a libtool archive.
  135169. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
  135170. + # Preserve any variables that may affect compiler behavior
  135171. + for var in $variables_saved_for_relink; do
  135172. + if eval test -z \"\${$var+set}\"; then
  135173. + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
  135174. + elif eval var_value=\$$var; test -z "$var_value"; then
  135175. + relink_command="$var=; export $var; $relink_command"
  135176. else
  135177. - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  135178. - $echo "$help" 1>&2
  135179. - exit $EXIT_FAILURE
  135180. + func_quote_for_eval "$var_value"
  135181. + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
  135182. fi
  135183. + done
  135184. + # Quote the link command for shipping.
  135185. + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
  135186. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  135187. + if test "$hardcode_automatic" = yes ; then
  135188. + relink_command=
  135189. + fi
  135190. - # Read the libtool library.
  135191. - dlname=
  135192. - library_names=
  135193. + # Only create the output if not a dry run.
  135194. + $opt_dry_run || {
  135195. + for installed in no yes; do
  135196. + if test "$installed" = yes; then
  135197. + if test -z "$install_libdir"; then
  135198. + break
  135199. + fi
  135200. + output="$output_objdir/$outputname"i
  135201. + # Replace all uninstalled libtool libraries with the installed ones
  135202. + newdependency_libs=
  135203. + for deplib in $dependency_libs; do
  135204. + case $deplib in
  135205. + *.la)
  135206. + func_basename "$deplib"
  135207. + name="$func_basename_result"
  135208. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  135209. + test -z "$libdir" && \
  135210. + func_fatal_error "\`$deplib' is not a valid libtool archive"
  135211. + newdependency_libs="$newdependency_libs $libdir/$name"
  135212. + ;;
  135213. + *) newdependency_libs="$newdependency_libs $deplib" ;;
  135214. + esac
  135215. + done
  135216. + dependency_libs="$newdependency_libs"
  135217. + newdlfiles=
  135218. +
  135219. + for lib in $dlfiles; do
  135220. + case $lib in
  135221. + *.la)
  135222. + func_basename "$lib"
  135223. + name="$func_basename_result"
  135224. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  135225. + test -z "$libdir" && \
  135226. + func_fatal_error "\`$lib' is not a valid libtool archive"
  135227. + newdlfiles="$newdlfiles $libdir/$name"
  135228. + ;;
  135229. + *) newdlfiles="$newdlfiles $lib" ;;
  135230. + esac
  135231. + done
  135232. + dlfiles="$newdlfiles"
  135233. + newdlprefiles=
  135234. + for lib in $dlprefiles; do
  135235. + case $lib in
  135236. + *.la)
  135237. + # Only pass preopened files to the pseudo-archive (for
  135238. + # eventual linking with the app. that links it) if we
  135239. + # didn't already link the preopened objects directly into
  135240. + # the library:
  135241. + func_basename "$lib"
  135242. + name="$func_basename_result"
  135243. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  135244. + test -z "$libdir" && \
  135245. + func_fatal_error "\`$lib' is not a valid libtool archive"
  135246. + newdlprefiles="$newdlprefiles $libdir/$name"
  135247. + ;;
  135248. + esac
  135249. + done
  135250. + dlprefiles="$newdlprefiles"
  135251. + else
  135252. + newdlfiles=
  135253. + for lib in $dlfiles; do
  135254. + case $lib in
  135255. + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  135256. + *) abs=`pwd`"/$lib" ;;
  135257. + esac
  135258. + newdlfiles="$newdlfiles $abs"
  135259. + done
  135260. + dlfiles="$newdlfiles"
  135261. + newdlprefiles=
  135262. + for lib in $dlprefiles; do
  135263. + case $lib in
  135264. + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  135265. + *) abs=`pwd`"/$lib" ;;
  135266. + esac
  135267. + newdlprefiles="$newdlprefiles $abs"
  135268. + done
  135269. + dlprefiles="$newdlprefiles"
  135270. + fi
  135271. + $RM $output
  135272. + # place dlname in correct position for cygwin
  135273. + tdlname=$dlname
  135274. + case $host,$output,$installed,$module,$dlname in
  135275. + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
  135276. + esac
  135277. + $ECHO > $output "\
  135278. +# $outputname - a libtool library file
  135279. +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  135280. +#
  135281. +# Please DO NOT delete this file!
  135282. +# It is necessary for linking the library.
  135283. - # If there is no directory component, then add one.
  135284. - case $file in
  135285. - */* | *\\*) . $file ;;
  135286. - *) . ./$file ;;
  135287. - esac
  135288. +# The name that we can dlopen(3).
  135289. +dlname='$tdlname'
  135290. - # Skip this library if it cannot be dlopened.
  135291. - if test -z "$dlname"; then
  135292. - # Warn if it was a shared library.
  135293. - test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'"
  135294. - continue
  135295. - fi
  135296. +# Names of this library.
  135297. +library_names='$library_names'
  135298. - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
  135299. - test "X$dir" = "X$file" && dir=.
  135300. +# The name of the static archive.
  135301. +old_library='$old_library'
  135302. - if test -f "$dir/$objdir/$dlname"; then
  135303. - dir="$dir/$objdir"
  135304. - else
  135305. - if test ! -f "$dir/$dlname"; then
  135306. - $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
  135307. - exit $EXIT_FAILURE
  135308. - fi
  135309. - fi
  135310. - ;;
  135311. +# Linker flags that can not go in dependency_libs.
  135312. +inherited_linker_flags='$new_inherited_linker_flags'
  135313. - *.lo)
  135314. - # Just add the directory containing the .lo file.
  135315. - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
  135316. - test "X$dir" = "X$file" && dir=.
  135317. - ;;
  135318. +# Libraries that this one depends upon.
  135319. +dependency_libs='$dependency_libs'
  135320. - *)
  135321. - $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
  135322. - continue
  135323. - ;;
  135324. - esac
  135325. +# Names of additional weak libraries provided by this library
  135326. +weak_library_names='$weak_libs'
  135327. - # Get the absolute pathname.
  135328. - absdir=`cd "$dir" && pwd`
  135329. - test -n "$absdir" && dir="$absdir"
  135330. +# Version information for $libname.
  135331. +current=$current
  135332. +age=$age
  135333. +revision=$revision
  135334. - # Now add the directory to shlibpath_var.
  135335. - if eval "test -z \"\$$shlibpath_var\""; then
  135336. - eval "$shlibpath_var=\"\$dir\""
  135337. - else
  135338. - eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
  135339. - fi
  135340. - done
  135341. +# Is this an already installed library?
  135342. +installed=$installed
  135343. - # This variable tells wrapper scripts just to set shlibpath_var
  135344. - # rather than running their programs.
  135345. - libtool_execute_magic="$magic"
  135346. +# Should we warn about portability when linking against -modules?
  135347. +shouldnotlink=$module
  135348. - # Check if any of the arguments is a wrapper script.
  135349. - args=
  135350. - for file
  135351. - do
  135352. - case $file in
  135353. - -*) ;;
  135354. - *)
  135355. - # Do a test to see if this is really a libtool program.
  135356. - if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  135357. - # If there is no directory component, then add one.
  135358. - case $file in
  135359. - */* | *\\*) . $file ;;
  135360. - *) . ./$file ;;
  135361. - esac
  135362. +# Files to dlopen/dlpreopen
  135363. +dlopen='$dlfiles'
  135364. +dlpreopen='$dlprefiles'
  135365. - # Transform arg to wrapped name.
  135366. - file="$progdir/$program"
  135367. - fi
  135368. - ;;
  135369. - esac
  135370. - # Quote arguments (to preserve shell metacharacters).
  135371. - file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
  135372. - args="$args \"$file\""
  135373. - done
  135374. +# Directory that this library needs to be installed in:
  135375. +libdir='$install_libdir'"
  135376. + if test "$installed" = no && test "$need_relink" = yes; then
  135377. + $ECHO >> $output "\
  135378. +relink_command=\"$relink_command\""
  135379. + fi
  135380. + done
  135381. + }
  135382. - if test -z "$run"; then
  135383. - if test -n "$shlibpath_var"; then
  135384. - # Export the shlibpath_var.
  135385. - eval "export $shlibpath_var"
  135386. - fi
  135387. + # Do a symbolic link so that the libtool archive can be found in
  135388. + # LD_LIBRARY_PATH before the program is installed.
  135389. + func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?'
  135390. + ;;
  135391. + esac
  135392. + exit $EXIT_SUCCESS
  135393. +}
  135394. - # Restore saved environment variables
  135395. - for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  135396. - do
  135397. - eval "if test \"\${save_$lt_var+set}\" = set; then
  135398. - $lt_var=\$save_$lt_var; export $lt_var
  135399. - fi"
  135400. - done
  135401. +{ test "$mode" = link || test "$mode" = relink; } &&
  135402. + func_mode_link ${1+"$@"}
  135403. - # Now prepare to actually exec the command.
  135404. - exec_cmd="\$cmd$args"
  135405. - else
  135406. - # Display what would be done.
  135407. - if test -n "$shlibpath_var"; then
  135408. - eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
  135409. - $echo "export $shlibpath_var"
  135410. - fi
  135411. - $echo "$cmd$args"
  135412. - exit $EXIT_SUCCESS
  135413. - fi
  135414. - ;;
  135415. - # libtool clean and uninstall mode
  135416. - clean | uninstall)
  135417. - modename="$modename: $mode"
  135418. - rm="$nonopt"
  135419. +# func_mode_uninstall arg...
  135420. +func_mode_uninstall ()
  135421. +{
  135422. + $opt_debug
  135423. + RM="$nonopt"
  135424. files=
  135425. rmforce=
  135426. exit_status=0
  135427. @@ -6595,30 +8209,28 @@
  135428. for arg
  135429. do
  135430. case $arg in
  135431. - -f) rm="$rm $arg"; rmforce=yes ;;
  135432. - -*) rm="$rm $arg" ;;
  135433. + -f) RM="$RM $arg"; rmforce=yes ;;
  135434. + -*) RM="$RM $arg" ;;
  135435. *) files="$files $arg" ;;
  135436. esac
  135437. done
  135438. - if test -z "$rm"; then
  135439. - $echo "$modename: you must specify an RM program" 1>&2
  135440. - $echo "$help" 1>&2
  135441. - exit $EXIT_FAILURE
  135442. - fi
  135443. + test -z "$RM" && \
  135444. + func_fatal_help "you must specify an RM program"
  135445. rmdirs=
  135446. origobjdir="$objdir"
  135447. for file in $files; do
  135448. - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
  135449. - if test "X$dir" = "X$file"; then
  135450. - dir=.
  135451. + func_dirname "$file" "" "."
  135452. + dir="$func_dirname_result"
  135453. + if test "X$dir" = X.; then
  135454. objdir="$origobjdir"
  135455. else
  135456. objdir="$dir/$origobjdir"
  135457. fi
  135458. - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  135459. + func_basename "$file"
  135460. + name="$func_basename_result"
  135461. test "$mode" = uninstall && objdir="$dir"
  135462. # Remember objdir for removal later, being careful to avoid duplicates
  135463. @@ -6630,9 +8242,9 @@
  135464. fi
  135465. # Don't error if the file doesn't exist and rm -f was used.
  135466. - if (test -L "$file") >/dev/null 2>&1 \
  135467. - || (test -h "$file") >/dev/null 2>&1 \
  135468. - || test -f "$file"; then
  135469. + if { test -L "$file"; } >/dev/null 2>&1 ||
  135470. + { test -h "$file"; } >/dev/null 2>&1 ||
  135471. + test -f "$file"; then
  135472. :
  135473. elif test -d "$file"; then
  135474. exit_status=1
  135475. @@ -6646,8 +8258,8 @@
  135476. case $name in
  135477. *.la)
  135478. # Possibly a libtool archive, so verify it.
  135479. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  135480. - . $dir/$name
  135481. + if func_lalib_p "$file"; then
  135482. + func_source $dir/$name
  135483. # Delete the libtool libraries and symlinks.
  135484. for n in $library_names; do
  135485. @@ -6662,39 +8274,17 @@
  135486. *" $dlname "*) ;;
  135487. *) rmfiles="$rmfiles $objdir/$dlname" ;;
  135488. esac
  135489. - test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
  135490. + test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
  135491. ;;
  135492. uninstall)
  135493. if test -n "$library_names"; then
  135494. # Do each command in the postuninstall commands.
  135495. - cmds=$postuninstall_cmds
  135496. - save_ifs="$IFS"; IFS='~'
  135497. - for cmd in $cmds; do
  135498. - IFS="$save_ifs"
  135499. - eval cmd=\"$cmd\"
  135500. - $show "$cmd"
  135501. - $run eval "$cmd"
  135502. - if test "$?" -ne 0 && test "$rmforce" != yes; then
  135503. - exit_status=1
  135504. - fi
  135505. - done
  135506. - IFS="$save_ifs"
  135507. + func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
  135508. fi
  135509. if test -n "$old_library"; then
  135510. # Do each command in the old_postuninstall commands.
  135511. - cmds=$old_postuninstall_cmds
  135512. - save_ifs="$IFS"; IFS='~'
  135513. - for cmd in $cmds; do
  135514. - IFS="$save_ifs"
  135515. - eval cmd=\"$cmd\"
  135516. - $show "$cmd"
  135517. - $run eval "$cmd"
  135518. - if test "$?" -ne 0 && test "$rmforce" != yes; then
  135519. - exit_status=1
  135520. - fi
  135521. - done
  135522. - IFS="$save_ifs"
  135523. + func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
  135524. fi
  135525. # FIXME: should reinstall the best remaining shared library.
  135526. ;;
  135527. @@ -6704,20 +8294,20 @@
  135528. *.lo)
  135529. # Possibly a libtool object, so verify it.
  135530. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  135531. + if func_lalib_p "$file"; then
  135532. # Read the .lo file
  135533. - . $dir/$name
  135534. + func_source $dir/$name
  135535. # Add PIC object to the list of files to remove.
  135536. - if test -n "$pic_object" \
  135537. - && test "$pic_object" != none; then
  135538. + if test -n "$pic_object" &&
  135539. + test "$pic_object" != none; then
  135540. rmfiles="$rmfiles $dir/$pic_object"
  135541. fi
  135542. # Add non-PIC object to the list of files to remove.
  135543. - if test -n "$non_pic_object" \
  135544. - && test "$non_pic_object" != none; then
  135545. + if test -n "$non_pic_object" &&
  135546. + test "$non_pic_object" != none; then
  135547. rmfiles="$rmfiles $dir/$non_pic_object"
  135548. fi
  135549. fi
  135550. @@ -6728,17 +8318,26 @@
  135551. noexename=$name
  135552. case $file in
  135553. *.exe)
  135554. - file=`$echo $file|${SED} 's,.exe$,,'`
  135555. - noexename=`$echo $name|${SED} 's,.exe$,,'`
  135556. + func_stripname '' '.exe' "$file"
  135557. + file=$func_stripname_result
  135558. + func_stripname '' '.exe' "$name"
  135559. + noexename=$func_stripname_result
  135560. # $file with .exe has already been added to rmfiles,
  135561. # add $file without .exe
  135562. rmfiles="$rmfiles $file"
  135563. ;;
  135564. esac
  135565. # Do a test to see if this is a libtool program.
  135566. - if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  135567. - relink_command=
  135568. - . $dir/$noexename
  135569. + if func_ltwrapper_p "$file"; then
  135570. + if func_ltwrapper_executable_p "$file"; then
  135571. + func_ltwrapper_scriptname "$file"
  135572. + relink_command=
  135573. + func_source $func_ltwrapper_scriptname_result
  135574. + rmfiles="$rmfiles $func_ltwrapper_scriptname_result"
  135575. + else
  135576. + relink_command=
  135577. + func_source $dir/$noexename
  135578. + fi
  135579. # note $name still contains .exe if it was in $file originally
  135580. # as does the version of $file that was added into $rmfiles
  135581. @@ -6753,239 +8352,38 @@
  135582. fi
  135583. ;;
  135584. esac
  135585. - $show "$rm $rmfiles"
  135586. - $run $rm $rmfiles || exit_status=1
  135587. + func_show_eval "$RM $rmfiles" 'exit_status=1'
  135588. done
  135589. objdir="$origobjdir"
  135590. # Try to remove the ${objdir}s in the directories where we deleted files
  135591. for dir in $rmdirs; do
  135592. if test -d "$dir"; then
  135593. - $show "rmdir $dir"
  135594. - $run rmdir $dir >/dev/null 2>&1
  135595. + func_show_eval "rmdir $dir >/dev/null 2>&1"
  135596. fi
  135597. done
  135598. exit $exit_status
  135599. - ;;
  135600. +}
  135601. - "")
  135602. - $echo "$modename: you must specify a MODE" 1>&2
  135603. - $echo "$generic_help" 1>&2
  135604. - exit $EXIT_FAILURE
  135605. - ;;
  135606. - esac
  135607. +{ test "$mode" = uninstall || test "$mode" = clean; } &&
  135608. + func_mode_uninstall ${1+"$@"}
  135609. - if test -z "$exec_cmd"; then
  135610. - $echo "$modename: invalid operation mode \`$mode'" 1>&2
  135611. - $echo "$generic_help" 1>&2
  135612. - exit $EXIT_FAILURE
  135613. - fi
  135614. -fi # test -z "$show_help"
  135615. +test -z "$mode" && {
  135616. + help="$generic_help"
  135617. + func_fatal_help "you must specify a MODE"
  135618. +}
  135619. +
  135620. +test -z "$exec_cmd" && \
  135621. + func_fatal_help "invalid operation mode \`$mode'"
  135622. if test -n "$exec_cmd"; then
  135623. - eval exec $exec_cmd
  135624. + eval exec "$exec_cmd"
  135625. exit $EXIT_FAILURE
  135626. fi
  135627. -# We need to display help for each of the modes.
  135628. -case $mode in
  135629. -"") $echo \
  135630. -"Usage: $modename [OPTION]... [MODE-ARG]...
  135631. -
  135632. -Provide generalized library-building support services.
  135633. -
  135634. - --config show all configuration variables
  135635. - --debug enable verbose shell tracing
  135636. --n, --dry-run display commands without modifying any files
  135637. - --features display basic configuration information and exit
  135638. - --finish same as \`--mode=finish'
  135639. - --help display this help message and exit
  135640. - --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
  135641. - --quiet same as \`--silent'
  135642. - --silent don't print informational messages
  135643. - --tag=TAG use configuration variables from tag TAG
  135644. - --version print version information
  135645. -
  135646. -MODE must be one of the following:
  135647. -
  135648. - clean remove files from the build directory
  135649. - compile compile a source file into a libtool object
  135650. - execute automatically set library path, then run a program
  135651. - finish complete the installation of libtool libraries
  135652. - install install libraries or executables
  135653. - link create a library or an executable
  135654. - uninstall remove libraries from an installed directory
  135655. -
  135656. -MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
  135657. -a more detailed description of MODE.
  135658. -
  135659. -Report bugs to <bug-libtool@gnu.org>."
  135660. - exit $EXIT_SUCCESS
  135661. - ;;
  135662. -
  135663. -clean)
  135664. - $echo \
  135665. -"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
  135666. -
  135667. -Remove files from the build directory.
  135668. -
  135669. -RM is the name of the program to use to delete files associated with each FILE
  135670. -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  135671. -to RM.
  135672. -
  135673. -If FILE is a libtool library, object or program, all the files associated
  135674. -with it are deleted. Otherwise, only FILE itself is deleted using RM."
  135675. - ;;
  135676. -
  135677. -compile)
  135678. - $echo \
  135679. -"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
  135680. -
  135681. -Compile a source file into a libtool library object.
  135682. -
  135683. -This mode accepts the following additional options:
  135684. -
  135685. - -o OUTPUT-FILE set the output file name to OUTPUT-FILE
  135686. - -prefer-pic try to building PIC objects only
  135687. - -prefer-non-pic try to building non-PIC objects only
  135688. - -static always build a \`.o' file suitable for static linking
  135689. -
  135690. -COMPILE-COMMAND is a command to be used in creating a \`standard' object file
  135691. -from the given SOURCEFILE.
  135692. -
  135693. -The output file name is determined by removing the directory component from
  135694. -SOURCEFILE, then substituting the C source code suffix \`.c' with the
  135695. -library object suffix, \`.lo'."
  135696. - ;;
  135697. -
  135698. -execute)
  135699. - $echo \
  135700. -"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
  135701. -
  135702. -Automatically set library path, then run a program.
  135703. -
  135704. -This mode accepts the following additional options:
  135705. -
  135706. - -dlopen FILE add the directory containing FILE to the library path
  135707. -
  135708. -This mode sets the library path environment variable according to \`-dlopen'
  135709. -flags.
  135710. -
  135711. -If any of the ARGS are libtool executable wrappers, then they are translated
  135712. -into their corresponding uninstalled binary, and any of their required library
  135713. -directories are added to the library path.
  135714. -
  135715. -Then, COMMAND is executed, with ARGS as arguments."
  135716. - ;;
  135717. -
  135718. -finish)
  135719. - $echo \
  135720. -"Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
  135721. -
  135722. -Complete the installation of libtool libraries.
  135723. -
  135724. -Each LIBDIR is a directory that contains libtool libraries.
  135725. -
  135726. -The commands that this mode executes may require superuser privileges. Use
  135727. -the \`--dry-run' option if you just want to see what would be executed."
  135728. - ;;
  135729. -
  135730. -install)
  135731. - $echo \
  135732. -"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
  135733. -
  135734. -Install executables or libraries.
  135735. -
  135736. -INSTALL-COMMAND is the installation command. The first component should be
  135737. -either the \`install' or \`cp' program.
  135738. -
  135739. -The rest of the components are interpreted as arguments to that command (only
  135740. -BSD-compatible install options are recognized)."
  135741. - ;;
  135742. -
  135743. -link)
  135744. - $echo \
  135745. -"Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
  135746. -
  135747. -Link object files or libraries together to form another library, or to
  135748. -create an executable program.
  135749. +exit $exit_status
  135750. -LINK-COMMAND is a command using the C compiler that you would use to create
  135751. -a program from several object files.
  135752. -
  135753. -The following components of LINK-COMMAND are treated specially:
  135754. -
  135755. - -all-static do not do any dynamic linking at all
  135756. - -avoid-version do not add a version suffix if possible
  135757. - -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
  135758. - -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
  135759. - -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
  135760. - -export-symbols SYMFILE
  135761. - try to export only the symbols listed in SYMFILE
  135762. - -export-symbols-regex REGEX
  135763. - try to export only the symbols matching REGEX
  135764. - -LLIBDIR search LIBDIR for required installed libraries
  135765. - -lNAME OUTPUT-FILE requires the installed library libNAME
  135766. - -module build a library that can dlopened
  135767. - -no-fast-install disable the fast-install mode
  135768. - -no-install link a not-installable executable
  135769. - -no-undefined declare that a library does not refer to external symbols
  135770. - -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
  135771. - -objectlist FILE Use a list of object files found in FILE to specify objects
  135772. - -precious-files-regex REGEX
  135773. - don't remove output files matching REGEX
  135774. - -release RELEASE specify package release information
  135775. - -rpath LIBDIR the created library will eventually be installed in LIBDIR
  135776. - -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
  135777. - -static do not do any dynamic linking of uninstalled libtool libraries
  135778. - -static-libtool-libs
  135779. - do not do any dynamic linking of libtool libraries
  135780. - -version-info CURRENT[:REVISION[:AGE]]
  135781. - specify library version info [each variable defaults to 0]
  135782. -
  135783. -All other options (arguments beginning with \`-') are ignored.
  135784. -
  135785. -Every other argument is treated as a filename. Files ending in \`.la' are
  135786. -treated as uninstalled libtool libraries, other files are standard or library
  135787. -object files.
  135788. -
  135789. -If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
  135790. -only library objects (\`.lo' files) may be specified, and \`-rpath' is
  135791. -required, except when creating a convenience library.
  135792. -
  135793. -If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
  135794. -using \`ar' and \`ranlib', or on Windows using \`lib'.
  135795. -
  135796. -If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
  135797. -is created, otherwise an executable program is created."
  135798. - ;;
  135799. -
  135800. -uninstall)
  135801. - $echo \
  135802. -"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
  135803. -
  135804. -Remove libraries from an installation directory.
  135805. -
  135806. -RM is the name of the program to use to delete files associated with each FILE
  135807. -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  135808. -to RM.
  135809. -
  135810. -If FILE is a libtool library, all the files associated with it are deleted.
  135811. -Otherwise, only FILE itself is deleted using RM."
  135812. - ;;
  135813. -
  135814. -*)
  135815. - $echo "$modename: invalid operation mode \`$mode'" 1>&2
  135816. - $echo "$help" 1>&2
  135817. - exit $EXIT_FAILURE
  135818. - ;;
  135819. -esac
  135820. -
  135821. -$echo
  135822. -$echo "Try \`$modename --help' for more information about other modes."
  135823. -
  135824. -exit $?
  135825. # The TAGs below are defined such that we never get into a situation
  135826. # in which we disable both kinds of libraries. Given conflicting
  135827. @@ -6999,14 +8397,17 @@
  135828. # configuration. But we'll never go from static-only to shared-only.
  135829. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared
  135830. -disable_libs=shared
  135831. +build_libtool_libs=no
  135832. +build_old_libs=yes
  135833. # ### END LIBTOOL TAG CONFIG: disable-shared
  135834. # ### BEGIN LIBTOOL TAG CONFIG: disable-static
  135835. -disable_libs=static
  135836. +build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
  135837. # ### END LIBTOOL TAG CONFIG: disable-static
  135838. # Local Variables:
  135839. # mode:shell-script
  135840. # sh-indentation:2
  135841. # End:
  135842. +# vi:sw=2
  135843. +
  135844. diff -Nur squid-3.0.STABLE20.orig/lib/libTrie/cfgaux/missing squid-3.0.STABLE20/lib/libTrie/cfgaux/missing
  135845. --- squid-3.0.STABLE20.orig/lib/libTrie/cfgaux/missing 2009-10-29 11:05:44.000000000 +0100
  135846. +++ squid-3.0.STABLE20/lib/libTrie/cfgaux/missing 2010-02-19 00:39:33.944856264 +0100
  135847. @@ -1,10 +1,10 @@
  135848. #! /bin/sh
  135849. # Common stub for a few missing GNU programs while installing.
  135850. -scriptversion=2006-05-10.23
  135851. +scriptversion=2009-04-28.21; # UTC
  135852. -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
  135853. -# Free Software Foundation, Inc.
  135854. +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
  135855. +# 2008, 2009 Free Software Foundation, Inc.
  135856. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
  135857. # This program is free software; you can redistribute it and/or modify
  135858. @@ -18,9 +18,7 @@
  135859. # GNU General Public License for more details.
  135860. # You should have received a copy of the GNU General Public License
  135861. -# along with this program; if not, write to the Free Software
  135862. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  135863. -# 02110-1301, USA.
  135864. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  135865. # As a special exception to the GNU General Public License, if you
  135866. # distribute this file as part of a program that contains a
  135867. @@ -89,6 +87,9 @@
  135868. tar try tar, gnutar, gtar, then tar without non-portable flags
  135869. yacc create \`y.tab.[ch]', if possible, from existing .[ch]
  135870. +Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
  135871. +\`g' are ignored when checking the name.
  135872. +
  135873. Send bug reports to <bug-automake@gnu.org>."
  135874. exit $?
  135875. ;;
  135876. @@ -106,15 +107,22 @@
  135877. esac
  135878. +# normalize program name to check for.
  135879. +program=`echo "$1" | sed '
  135880. + s/^gnu-//; t
  135881. + s/^gnu//; t
  135882. + s/^g//; t'`
  135883. +
  135884. # Now exit if we have it, but it failed. Also exit now if we
  135885. # don't have it and --version was passed (most likely to detect
  135886. -# the program).
  135887. +# the program). This is about non-GNU programs, so use $1 not
  135888. +# $program.
  135889. case $1 in
  135890. - lex|yacc)
  135891. + lex*|yacc*)
  135892. # Not GNU programs, they don't have --version.
  135893. ;;
  135894. - tar)
  135895. + tar*)
  135896. if test -n "$run"; then
  135897. echo 1>&2 "ERROR: \`tar' requires --run"
  135898. exit 1
  135899. @@ -138,7 +146,7 @@
  135900. # If it does not exist, or fails to run (possibly an outdated version),
  135901. # try to emulate it.
  135902. -case $1 in
  135903. +case $program in
  135904. aclocal*)
  135905. echo 1>&2 "\
  135906. WARNING: \`$1' is $msg. You should only need it if
  135907. @@ -148,7 +156,7 @@
  135908. touch aclocal.m4
  135909. ;;
  135910. - autoconf)
  135911. + autoconf*)
  135912. echo 1>&2 "\
  135913. WARNING: \`$1' is $msg. You should only need it if
  135914. you modified \`${configure_ac}'. You might want to install the
  135915. @@ -157,7 +165,7 @@
  135916. touch configure
  135917. ;;
  135918. - autoheader)
  135919. + autoheader*)
  135920. echo 1>&2 "\
  135921. WARNING: \`$1' is $msg. You should only need it if
  135922. you modified \`acconfig.h' or \`${configure_ac}'. You might want
  135923. @@ -187,7 +195,7 @@
  135924. while read f; do touch "$f"; done
  135925. ;;
  135926. - autom4te)
  135927. + autom4te*)
  135928. echo 1>&2 "\
  135929. WARNING: \`$1' is needed, but is $msg.
  135930. You might have modified some files without having the
  135931. @@ -210,7 +218,7 @@
  135932. fi
  135933. ;;
  135934. - bison|yacc)
  135935. + bison*|yacc*)
  135936. echo 1>&2 "\
  135937. WARNING: \`$1' $msg. You should only need it if
  135938. you modified a \`.y' file. You may need the \`Bison' package
  135939. @@ -240,7 +248,7 @@
  135940. fi
  135941. ;;
  135942. - lex|flex)
  135943. + lex*|flex*)
  135944. echo 1>&2 "\
  135945. WARNING: \`$1' is $msg. You should only need it if
  135946. you modified a \`.l' file. You may need the \`Flex' package
  135947. @@ -263,7 +271,7 @@
  135948. fi
  135949. ;;
  135950. - help2man)
  135951. + help2man*)
  135952. echo 1>&2 "\
  135953. WARNING: \`$1' is $msg. You should only need it if
  135954. you modified a dependency of a manual page. You may need the
  135955. @@ -277,11 +285,11 @@
  135956. else
  135957. test -z "$file" || exec >$file
  135958. echo ".ab help2man is required to generate this page"
  135959. - exit 1
  135960. + exit $?
  135961. fi
  135962. ;;
  135963. - makeinfo)
  135964. + makeinfo*)
  135965. echo 1>&2 "\
  135966. WARNING: \`$1' is $msg. You should only need it if
  135967. you modified a \`.texi' or \`.texinfo' file, or any other file
  135968. @@ -310,7 +318,7 @@
  135969. touch $file
  135970. ;;
  135971. - tar)
  135972. + tar*)
  135973. shift
  135974. # We have already tried tar in the generic part.
  135975. @@ -363,5 +371,6 @@
  135976. # eval: (add-hook 'write-file-hooks 'time-stamp)
  135977. # time-stamp-start: "scriptversion="
  135978. # time-stamp-format: "%:y-%02m-%02d.%02H"
  135979. -# time-stamp-end: "$"
  135980. +# time-stamp-time-zone: "UTC"
  135981. +# time-stamp-end: "; # UTC"
  135982. # End:
  135983. diff -Nur squid-3.0.STABLE20.orig/lib/libTrie/config.h.in squid-3.0.STABLE20/lib/libTrie/config.h.in
  135984. --- squid-3.0.STABLE20.orig/lib/libTrie/config.h.in 2009-10-29 11:05:44.000000000 +0100
  135985. +++ squid-3.0.STABLE20/lib/libTrie/config.h.in 2010-02-19 00:38:23.360856452 +0100
  135986. @@ -42,6 +42,9 @@
  135987. /* Define to the one symbol short name of this package. */
  135988. #undef PACKAGE_TARNAME
  135989. +/* Define to the home page for this package. */
  135990. +#undef PACKAGE_URL
  135991. +
  135992. /* Define to the version of this package. */
  135993. #undef PACKAGE_VERSION
  135994. diff -Nur squid-3.0.STABLE20.orig/lib/libTrie/config.h.in~ squid-3.0.STABLE20/lib/libTrie/config.h.in~
  135995. --- squid-3.0.STABLE20.orig/lib/libTrie/config.h.in~ 1970-01-01 01:00:00.000000000 +0100
  135996. +++ squid-3.0.STABLE20/lib/libTrie/config.h.in~ 2009-10-29 11:05:44.000000000 +0100
  135997. @@ -0,0 +1,64 @@
  135998. +/* config.h.in. Generated from configure.in by autoheader. */
  135999. +
  136000. +/* Define to 1 if you have the <inttypes.h> header file. */
  136001. +#undef HAVE_INTTYPES_H
  136002. +
  136003. +/* Define to 1 if you have the <memory.h> header file. */
  136004. +#undef HAVE_MEMORY_H
  136005. +
  136006. +/* Define to 1 if you have the <stdint.h> header file. */
  136007. +#undef HAVE_STDINT_H
  136008. +
  136009. +/* Define to 1 if you have the <stdlib.h> header file. */
  136010. +#undef HAVE_STDLIB_H
  136011. +
  136012. +/* Define to 1 if you have the <strings.h> header file. */
  136013. +#undef HAVE_STRINGS_H
  136014. +
  136015. +/* Define to 1 if you have the <string.h> header file. */
  136016. +#undef HAVE_STRING_H
  136017. +
  136018. +/* Define to 1 if you have the <sys/stat.h> header file. */
  136019. +#undef HAVE_SYS_STAT_H
  136020. +
  136021. +/* Define to 1 if you have the <sys/types.h> header file. */
  136022. +#undef HAVE_SYS_TYPES_H
  136023. +
  136024. +/* Define to 1 if you have the <unistd.h> header file. */
  136025. +#undef HAVE_UNISTD_H
  136026. +
  136027. +/* Name of package */
  136028. +#undef PACKAGE
  136029. +
  136030. +/* Define to the address where bug reports for this package should be sent. */
  136031. +#undef PACKAGE_BUGREPORT
  136032. +
  136033. +/* Define to the full name of this package. */
  136034. +#undef PACKAGE_NAME
  136035. +
  136036. +/* Define to the full name and version of this package. */
  136037. +#undef PACKAGE_STRING
  136038. +
  136039. +/* Define to the one symbol short name of this package. */
  136040. +#undef PACKAGE_TARNAME
  136041. +
  136042. +/* Define to the version of this package. */
  136043. +#undef PACKAGE_VERSION
  136044. +
  136045. +/* Define to 1 if you have the ANSI C header files. */
  136046. +#undef STDC_HEADERS
  136047. +
  136048. +/* Version number of package */
  136049. +#undef VERSION
  136050. +
  136051. +/* Keyword used by squid for inlining methods */
  136052. +#undef _SQUID_INLINE_
  136053. +
  136054. +/* Include inline methods into header file */
  136055. +#undef _USE_INLINE_
  136056. +
  136057. +/* Define to empty if `const' does not conform to ANSI C. */
  136058. +#undef const
  136059. +
  136060. +/* Define to `unsigned int' if <sys/types.h> does not define. */
  136061. +#undef size_t
  136062. diff -Nur squid-3.0.STABLE20.orig/lib/libTrie/configure squid-3.0.STABLE20/lib/libTrie/configure
  136063. --- squid-3.0.STABLE20.orig/lib/libTrie/configure 2009-10-29 11:05:44.000000000 +0100
  136064. +++ squid-3.0.STABLE20/lib/libTrie/configure 2010-02-19 00:39:35.516852029 +0100
  136065. @@ -1,20 +1,24 @@
  136066. #! /bin/sh
  136067. # Guess values for system-dependent variables and create Makefiles.
  136068. -# Generated by GNU Autoconf 2.62 for libTrie 0.1.
  136069. +# Generated by GNU Autoconf 2.65 for libTrie 0.1.
  136070. #
  136071. # Report bugs to <rbtcollins@squid-cache.org>.
  136072. #
  136073. +#
  136074. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  136075. -# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  136076. +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  136077. +# Inc.
  136078. +#
  136079. +#
  136080. # This configure script is free software; the Free Software Foundation
  136081. # gives unlimited permission to copy, distribute and modify it.
  136082. -## --------------------- ##
  136083. -## M4sh Initialization. ##
  136084. -## --------------------- ##
  136085. +## -------------------- ##
  136086. +## M4sh Initialization. ##
  136087. +## -------------------- ##
  136088. # Be more Bourne compatible
  136089. DUALCASE=1; export DUALCASE # for MKS sh
  136090. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  136091. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  136092. emulate sh
  136093. NULLCMD=:
  136094. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  136095. @@ -22,23 +26,15 @@
  136096. alias -g '${1+"$@"}'='"$@"'
  136097. setopt NO_GLOB_SUBST
  136098. else
  136099. - case `(set -o) 2>/dev/null` in
  136100. - *posix*) set -o posix ;;
  136101. + case `(set -o) 2>/dev/null` in #(
  136102. + *posix*) :
  136103. + set -o posix ;; #(
  136104. + *) :
  136105. + ;;
  136106. esac
  136107. -
  136108. fi
  136109. -
  136110. -
  136111. -# PATH needs CR
  136112. -# Avoid depending upon Character Ranges.
  136113. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  136114. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  136115. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  136116. -as_cr_digits='0123456789'
  136117. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  136118. -
  136119. as_nl='
  136120. '
  136121. export as_nl
  136122. @@ -46,7 +42,13 @@
  136123. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  136124. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  136125. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  136126. -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  136127. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  136128. +# but without wasting forks for bash or zsh.
  136129. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  136130. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  136131. + as_echo='print -r --'
  136132. + as_echo_n='print -rn --'
  136133. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  136134. as_echo='printf %s\n'
  136135. as_echo_n='printf %s'
  136136. else
  136137. @@ -57,7 +59,7 @@
  136138. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  136139. as_echo_n_body='eval
  136140. arg=$1;
  136141. - case $arg in
  136142. + case $arg in #(
  136143. *"$as_nl"*)
  136144. expr "X$arg" : "X\\(.*\\)$as_nl";
  136145. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  136146. @@ -80,13 +82,6 @@
  136147. }
  136148. fi
  136149. -# Support unset when possible.
  136150. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  136151. - as_unset=unset
  136152. -else
  136153. - as_unset=false
  136154. -fi
  136155. -
  136156. # IFS
  136157. # We need space, tab and new line, in precisely that order. Quoting is
  136158. @@ -96,15 +91,15 @@
  136159. IFS=" "" $as_nl"
  136160. # Find who we are. Look in the path if we contain no directory separator.
  136161. -case $0 in
  136162. +case $0 in #((
  136163. *[\\/]* ) as_myself=$0 ;;
  136164. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  136165. for as_dir in $PATH
  136166. do
  136167. IFS=$as_save_IFS
  136168. test -z "$as_dir" && as_dir=.
  136169. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  136170. -done
  136171. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  136172. + done
  136173. IFS=$as_save_IFS
  136174. ;;
  136175. @@ -116,12 +111,16 @@
  136176. fi
  136177. if test ! -f "$as_myself"; then
  136178. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  136179. - { (exit 1); exit 1; }
  136180. + exit 1
  136181. fi
  136182. -# Work around bugs in pre-3.0 UWIN ksh.
  136183. -for as_var in ENV MAIL MAILPATH
  136184. -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  136185. +# Unset variables that we do not need and which cause bugs (e.g. in
  136186. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  136187. +# suppresses any "Segmentation fault" message there. '((' could
  136188. +# trigger a bug in pdksh 5.2.14.
  136189. +for as_var in BASH_ENV ENV MAIL MAILPATH
  136190. +do eval test x\${$as_var+set} = xset \
  136191. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  136192. done
  136193. PS1='$ '
  136194. PS2='> '
  136195. @@ -133,330 +132,300 @@
  136196. LANGUAGE=C
  136197. export LANGUAGE
  136198. -# Required to use basename.
  136199. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  136200. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  136201. - as_expr=expr
  136202. -else
  136203. - as_expr=false
  136204. -fi
  136205. -
  136206. -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  136207. - as_basename=basename
  136208. -else
  136209. - as_basename=false
  136210. -fi
  136211. -
  136212. -
  136213. -# Name of the executable.
  136214. -as_me=`$as_basename -- "$0" ||
  136215. -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  136216. - X"$0" : 'X\(//\)$' \| \
  136217. - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  136218. -$as_echo X/"$0" |
  136219. - sed '/^.*\/\([^/][^/]*\)\/*$/{
  136220. - s//\1/
  136221. - q
  136222. - }
  136223. - /^X\/\(\/\/\)$/{
  136224. - s//\1/
  136225. - q
  136226. - }
  136227. - /^X\/\(\/\).*/{
  136228. - s//\1/
  136229. - q
  136230. - }
  136231. - s/.*/./; q'`
  136232. -
  136233. # CDPATH.
  136234. -$as_unset CDPATH
  136235. -
  136236. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  136237. if test "x$CONFIG_SHELL" = x; then
  136238. - if (eval ":") 2>/dev/null; then
  136239. - as_have_required=yes
  136240. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  136241. + emulate sh
  136242. + NULLCMD=:
  136243. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  136244. + # is contrary to our usage. Disable this feature.
  136245. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  136246. + setopt NO_GLOB_SUBST
  136247. else
  136248. - as_have_required=no
  136249. + case \`(set -o) 2>/dev/null\` in #(
  136250. + *posix*) :
  136251. + set -o posix ;; #(
  136252. + *) :
  136253. + ;;
  136254. +esac
  136255. fi
  136256. -
  136257. - if test $as_have_required = yes && (eval ":
  136258. -(as_func_return () {
  136259. - (exit \$1)
  136260. -}
  136261. -as_func_success () {
  136262. - as_func_return 0
  136263. -}
  136264. -as_func_failure () {
  136265. - as_func_return 1
  136266. -}
  136267. -as_func_ret_success () {
  136268. - return 0
  136269. -}
  136270. -as_func_ret_failure () {
  136271. - return 1
  136272. -}
  136273. +"
  136274. + as_required="as_fn_return () { (exit \$1); }
  136275. +as_fn_success () { as_fn_return 0; }
  136276. +as_fn_failure () { as_fn_return 1; }
  136277. +as_fn_ret_success () { return 0; }
  136278. +as_fn_ret_failure () { return 1; }
  136279. exitcode=0
  136280. -if as_func_success; then
  136281. - :
  136282. -else
  136283. - exitcode=1
  136284. - echo as_func_success failed.
  136285. -fi
  136286. -
  136287. -if as_func_failure; then
  136288. - exitcode=1
  136289. - echo as_func_failure succeeded.
  136290. -fi
  136291. -
  136292. -if as_func_ret_success; then
  136293. - :
  136294. -else
  136295. - exitcode=1
  136296. - echo as_func_ret_success failed.
  136297. -fi
  136298. -
  136299. -if as_func_ret_failure; then
  136300. - exitcode=1
  136301. - echo as_func_ret_failure succeeded.
  136302. -fi
  136303. -
  136304. -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  136305. - :
  136306. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  136307. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  136308. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  136309. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  136310. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  136311. +
  136312. +else
  136313. + exitcode=1; echo positional parameters were not saved.
  136314. +fi
  136315. +test x\$exitcode = x0 || exit 1"
  136316. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  136317. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  136318. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  136319. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  136320. +test \$(( 1 + 1 )) = 2 || exit 1"
  136321. + if (eval "$as_required") 2>/dev/null; then :
  136322. + as_have_required=yes
  136323. else
  136324. - exitcode=1
  136325. - echo positional parameters were not saved.
  136326. + as_have_required=no
  136327. fi
  136328. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  136329. -test \$exitcode = 0) || { (exit 1); exit 1; }
  136330. -
  136331. -(
  136332. - as_lineno_1=\$LINENO
  136333. - as_lineno_2=\$LINENO
  136334. - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  136335. - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  136336. -") 2> /dev/null; then
  136337. - :
  136338. else
  136339. - as_candidate_shells=
  136340. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  136341. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  136342. +as_found=false
  136343. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  136344. do
  136345. IFS=$as_save_IFS
  136346. test -z "$as_dir" && as_dir=.
  136347. - case $as_dir in
  136348. + as_found=:
  136349. + case $as_dir in #(
  136350. /*)
  136351. for as_base in sh bash ksh sh5; do
  136352. - as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  136353. + # Try only shells that exist, to save several forks.
  136354. + as_shell=$as_dir/$as_base
  136355. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  136356. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  136357. + CONFIG_SHELL=$as_shell as_have_required=yes
  136358. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  136359. + break 2
  136360. +fi
  136361. +fi
  136362. done;;
  136363. esac
  136364. + as_found=false
  136365. done
  136366. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  136367. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  136368. + CONFIG_SHELL=$SHELL as_have_required=yes
  136369. +fi; }
  136370. IFS=$as_save_IFS
  136371. - for as_shell in $as_candidate_shells $SHELL; do
  136372. - # Try only shells that exist, to save several forks.
  136373. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  136374. - { ("$as_shell") 2> /dev/null <<\_ASEOF
  136375. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  136376. - emulate sh
  136377. - NULLCMD=:
  136378. - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  136379. - # is contrary to our usage. Disable this feature.
  136380. - alias -g '${1+"$@"}'='"$@"'
  136381. - setopt NO_GLOB_SUBST
  136382. -else
  136383. - case `(set -o) 2>/dev/null` in
  136384. - *posix*) set -o posix ;;
  136385. -esac
  136386. -
  136387. -fi
  136388. -
  136389. -
  136390. -:
  136391. -_ASEOF
  136392. -}; then
  136393. - CONFIG_SHELL=$as_shell
  136394. - as_have_required=yes
  136395. - if { "$as_shell" 2> /dev/null <<\_ASEOF
  136396. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  136397. - emulate sh
  136398. - NULLCMD=:
  136399. - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  136400. - # is contrary to our usage. Disable this feature.
  136401. - alias -g '${1+"$@"}'='"$@"'
  136402. - setopt NO_GLOB_SUBST
  136403. -else
  136404. - case `(set -o) 2>/dev/null` in
  136405. - *posix*) set -o posix ;;
  136406. -esac
  136407. -
  136408. -fi
  136409. -
  136410. -
  136411. -:
  136412. -(as_func_return () {
  136413. - (exit $1)
  136414. -}
  136415. -as_func_success () {
  136416. - as_func_return 0
  136417. -}
  136418. -as_func_failure () {
  136419. - as_func_return 1
  136420. -}
  136421. -as_func_ret_success () {
  136422. - return 0
  136423. -}
  136424. -as_func_ret_failure () {
  136425. - return 1
  136426. -}
  136427. -
  136428. -exitcode=0
  136429. -if as_func_success; then
  136430. - :
  136431. -else
  136432. - exitcode=1
  136433. - echo as_func_success failed.
  136434. -fi
  136435. -
  136436. -if as_func_failure; then
  136437. - exitcode=1
  136438. - echo as_func_failure succeeded.
  136439. -fi
  136440. -
  136441. -if as_func_ret_success; then
  136442. - :
  136443. -else
  136444. - exitcode=1
  136445. - echo as_func_ret_success failed.
  136446. -fi
  136447. -
  136448. -if as_func_ret_failure; then
  136449. - exitcode=1
  136450. - echo as_func_ret_failure succeeded.
  136451. + if test "x$CONFIG_SHELL" != x; then :
  136452. + # We cannot yet assume a decent shell, so we have to provide a
  136453. + # neutralization value for shells without unset; and this also
  136454. + # works around shells that cannot unset nonexistent variables.
  136455. + BASH_ENV=/dev/null
  136456. + ENV=/dev/null
  136457. + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  136458. + export CONFIG_SHELL
  136459. + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  136460. fi
  136461. -if ( set x; as_func_ret_success y && test x = "$1" ); then
  136462. - :
  136463. -else
  136464. - exitcode=1
  136465. - echo positional parameters were not saved.
  136466. + if test x$as_have_required = xno; then :
  136467. + $as_echo "$0: This script requires a shell more modern than all"
  136468. + $as_echo "$0: the shells that I found on your system."
  136469. + if test x${ZSH_VERSION+set} = xset ; then
  136470. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  136471. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  136472. + else
  136473. + $as_echo "$0: Please tell bug-autoconf@gnu.org and
  136474. +$0: rbtcollins@squid-cache.org about your system, including
  136475. +$0: any error possibly output before this message. Then
  136476. +$0: install a modern shell, or manually run the script
  136477. +$0: under such a shell if you do have one."
  136478. + fi
  136479. + exit 1
  136480. fi
  136481. -
  136482. -test $exitcode = 0) || { (exit 1); exit 1; }
  136483. -
  136484. -(
  136485. - as_lineno_1=$LINENO
  136486. - as_lineno_2=$LINENO
  136487. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  136488. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  136489. -
  136490. -_ASEOF
  136491. -}; then
  136492. - break
  136493. fi
  136494. -
  136495. fi
  136496. +SHELL=${CONFIG_SHELL-/bin/sh}
  136497. +export SHELL
  136498. +# Unset more variables known to interfere with behavior of common tools.
  136499. +CLICOLOR_FORCE= GREP_OPTIONS=
  136500. +unset CLICOLOR_FORCE GREP_OPTIONS
  136501. - done
  136502. -
  136503. - if test "x$CONFIG_SHELL" != x; then
  136504. - for as_var in BASH_ENV ENV
  136505. - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  136506. - done
  136507. - export CONFIG_SHELL
  136508. - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  136509. -fi
  136510. +## --------------------- ##
  136511. +## M4sh Shell Functions. ##
  136512. +## --------------------- ##
  136513. +# as_fn_unset VAR
  136514. +# ---------------
  136515. +# Portably unset VAR.
  136516. +as_fn_unset ()
  136517. +{
  136518. + { eval $1=; unset $1;}
  136519. +}
  136520. +as_unset=as_fn_unset
  136521. +# as_fn_set_status STATUS
  136522. +# -----------------------
  136523. +# Set $? to STATUS, without forking.
  136524. +as_fn_set_status ()
  136525. +{
  136526. + return $1
  136527. +} # as_fn_set_status
  136528. - if test $as_have_required = no; then
  136529. - echo This script requires a shell more modern than all the
  136530. - echo shells that I found on your system. Please install a
  136531. - echo modern shell, or manually run the script under such a
  136532. - echo shell if you do have one.
  136533. - { (exit 1); exit 1; }
  136534. -fi
  136535. +# as_fn_exit STATUS
  136536. +# -----------------
  136537. +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  136538. +as_fn_exit ()
  136539. +{
  136540. + set +e
  136541. + as_fn_set_status $1
  136542. + exit $1
  136543. +} # as_fn_exit
  136544. +
  136545. +# as_fn_mkdir_p
  136546. +# -------------
  136547. +# Create "$as_dir" as a directory, including parents if necessary.
  136548. +as_fn_mkdir_p ()
  136549. +{
  136550. + case $as_dir in #(
  136551. + -*) as_dir=./$as_dir;;
  136552. + esac
  136553. + test -d "$as_dir" || eval $as_mkdir_p || {
  136554. + as_dirs=
  136555. + while :; do
  136556. + case $as_dir in #(
  136557. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  136558. + *) as_qdir=$as_dir;;
  136559. + esac
  136560. + as_dirs="'$as_qdir' $as_dirs"
  136561. + as_dir=`$as_dirname -- "$as_dir" ||
  136562. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  136563. + X"$as_dir" : 'X\(//\)[^/]' \| \
  136564. + X"$as_dir" : 'X\(//\)$' \| \
  136565. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  136566. +$as_echo X"$as_dir" |
  136567. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  136568. + s//\1/
  136569. + q
  136570. + }
  136571. + /^X\(\/\/\)[^/].*/{
  136572. + s//\1/
  136573. + q
  136574. + }
  136575. + /^X\(\/\/\)$/{
  136576. + s//\1/
  136577. + q
  136578. + }
  136579. + /^X\(\/\).*/{
  136580. + s//\1/
  136581. + q
  136582. + }
  136583. + s/.*/./; q'`
  136584. + test -d "$as_dir" && break
  136585. + done
  136586. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  136587. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  136588. -fi
  136589. -fi
  136590. +} # as_fn_mkdir_p
  136591. +# as_fn_append VAR VALUE
  136592. +# ----------------------
  136593. +# Append the text in VALUE to the end of the definition contained in VAR. Take
  136594. +# advantage of any shell optimizations that allow amortized linear growth over
  136595. +# repeated appends, instead of the typical quadratic growth present in naive
  136596. +# implementations.
  136597. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  136598. + eval 'as_fn_append ()
  136599. + {
  136600. + eval $1+=\$2
  136601. + }'
  136602. +else
  136603. + as_fn_append ()
  136604. + {
  136605. + eval $1=\$$1\$2
  136606. + }
  136607. +fi # as_fn_append
  136608. +# as_fn_arith ARG...
  136609. +# ------------------
  136610. +# Perform arithmetic evaluation on the ARGs, and store the result in the
  136611. +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  136612. +# must be portable across $(()) and expr.
  136613. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  136614. + eval 'as_fn_arith ()
  136615. + {
  136616. + as_val=$(( $* ))
  136617. + }'
  136618. +else
  136619. + as_fn_arith ()
  136620. + {
  136621. + as_val=`expr "$@" || test $? -eq 1`
  136622. + }
  136623. +fi # as_fn_arith
  136624. -(eval "as_func_return () {
  136625. - (exit \$1)
  136626. -}
  136627. -as_func_success () {
  136628. - as_func_return 0
  136629. -}
  136630. -as_func_failure () {
  136631. - as_func_return 1
  136632. -}
  136633. -as_func_ret_success () {
  136634. - return 0
  136635. -}
  136636. -as_func_ret_failure () {
  136637. - return 1
  136638. -}
  136639. +# as_fn_error ERROR [LINENO LOG_FD]
  136640. +# ---------------------------------
  136641. +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  136642. +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  136643. +# script with status $?, using 1 if that was 0.
  136644. +as_fn_error ()
  136645. +{
  136646. + as_status=$?; test $as_status -eq 0 && as_status=1
  136647. + if test "$3"; then
  136648. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  136649. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  136650. + fi
  136651. + $as_echo "$as_me: error: $1" >&2
  136652. + as_fn_exit $as_status
  136653. +} # as_fn_error
  136654. -exitcode=0
  136655. -if as_func_success; then
  136656. - :
  136657. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  136658. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  136659. + as_expr=expr
  136660. else
  136661. - exitcode=1
  136662. - echo as_func_success failed.
  136663. -fi
  136664. -
  136665. -if as_func_failure; then
  136666. - exitcode=1
  136667. - echo as_func_failure succeeded.
  136668. + as_expr=false
  136669. fi
  136670. -if as_func_ret_success; then
  136671. - :
  136672. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  136673. + as_basename=basename
  136674. else
  136675. - exitcode=1
  136676. - echo as_func_ret_success failed.
  136677. -fi
  136678. -
  136679. -if as_func_ret_failure; then
  136680. - exitcode=1
  136681. - echo as_func_ret_failure succeeded.
  136682. + as_basename=false
  136683. fi
  136684. -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  136685. - :
  136686. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  136687. + as_dirname=dirname
  136688. else
  136689. - exitcode=1
  136690. - echo positional parameters were not saved.
  136691. + as_dirname=false
  136692. fi
  136693. -test \$exitcode = 0") || {
  136694. - echo No shell found that supports shell functions.
  136695. - echo Please tell bug-autoconf@gnu.org about your system,
  136696. - echo including any error possibly output before this message.
  136697. - echo This can help us improve future autoconf versions.
  136698. - echo Configuration will now proceed without shell functions.
  136699. -}
  136700. +as_me=`$as_basename -- "$0" ||
  136701. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  136702. + X"$0" : 'X\(//\)$' \| \
  136703. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  136704. +$as_echo X/"$0" |
  136705. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  136706. + s//\1/
  136707. + q
  136708. + }
  136709. + /^X\/\(\/\/\)$/{
  136710. + s//\1/
  136711. + q
  136712. + }
  136713. + /^X\/\(\/\).*/{
  136714. + s//\1/
  136715. + q
  136716. + }
  136717. + s/.*/./; q'`
  136718. +# Avoid depending upon Character Ranges.
  136719. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  136720. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  136721. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  136722. +as_cr_digits='0123456789'
  136723. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  136724. - as_lineno_1=$LINENO
  136725. - as_lineno_2=$LINENO
  136726. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  136727. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  136728. -
  136729. - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  136730. - # uniformly replaced by the line number. The first 'sed' inserts a
  136731. - # line-number line after each line using $LINENO; the second 'sed'
  136732. - # does the real work. The second script uses 'N' to pair each
  136733. - # line-number line with the line containing $LINENO, and appends
  136734. - # trailing '-' during substitution so that $LINENO is not a special
  136735. - # case at line end.
  136736. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  136737. - # scripts with optimization help from Paolo Bonzini. Blame Lee
  136738. - # E. McMahon (1931-1989) for sed's syntax. :-)
  136739. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  136740. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  136741. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  136742. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  136743. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  136744. sed -n '
  136745. p
  136746. /[$]LINENO/=
  136747. @@ -473,8 +442,7 @@
  136748. s/-\n.*//
  136749. ' >$as_me.lineno &&
  136750. chmod +x "$as_me.lineno" ||
  136751. - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  136752. - { (exit 1); exit 1; }; }
  136753. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  136754. # Don't try to exec as it changes $[0], causing all sort of problems
  136755. # (the dirname of $[0] is not the place where we might find the
  136756. @@ -484,29 +452,18 @@
  136757. exit
  136758. }
  136759. -
  136760. -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  136761. - as_dirname=dirname
  136762. -else
  136763. - as_dirname=false
  136764. -fi
  136765. -
  136766. ECHO_C= ECHO_N= ECHO_T=
  136767. -case `echo -n x` in
  136768. +case `echo -n x` in #(((((
  136769. -n*)
  136770. - case `echo 'x\c'` in
  136771. + case `echo 'xy\c'` in
  136772. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  136773. - *) ECHO_C='\c';;
  136774. + xy) ECHO_C='\c';;
  136775. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  136776. + ECHO_T=' ';;
  136777. esac;;
  136778. *)
  136779. ECHO_N='-n';;
  136780. esac
  136781. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  136782. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  136783. - as_expr=expr
  136784. -else
  136785. - as_expr=false
  136786. -fi
  136787. rm -f conf$$ conf$$.exe conf$$.file
  136788. if test -d conf$$.dir; then
  136789. @@ -536,7 +493,7 @@
  136790. rmdir conf$$.dir 2>/dev/null
  136791. if mkdir -p . 2>/dev/null; then
  136792. - as_mkdir_p=:
  136793. + as_mkdir_p='mkdir -p "$as_dir"'
  136794. else
  136795. test -d ./-p && rmdir ./-p
  136796. as_mkdir_p=false
  136797. @@ -555,10 +512,10 @@
  136798. if test -d "$1"; then
  136799. test -d "$1/.";
  136800. else
  136801. - case $1 in
  136802. + case $1 in #(
  136803. -*)set "./$1";;
  136804. esac;
  136805. - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  136806. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  136807. ???[sx]*):;;*)false;;esac;fi
  136808. '\'' sh
  136809. '
  136810. @@ -572,8 +529,8 @@
  136811. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  136812. -
  136813. -exec 7<&0 </dev/null 6>&1
  136814. +test -n "$DJDIR" || exec 7<&0 </dev/null
  136815. +exec 6>&1
  136816. # Name of the host.
  136817. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  136818. @@ -591,7 +548,6 @@
  136819. subdirs=
  136820. MFLAGS=
  136821. MAKEFLAGS=
  136822. -SHELL=${CONFIG_SHELL-/bin/sh}
  136823. # Identity of this package.
  136824. PACKAGE_NAME='libTrie'
  136825. @@ -599,6 +555,7 @@
  136826. PACKAGE_VERSION='0.1'
  136827. PACKAGE_STRING='libTrie 0.1'
  136828. PACKAGE_BUGREPORT='rbtcollins@squid-cache.org'
  136829. +PACKAGE_URL=''
  136830. ac_unique_file="src/Trie.cc"
  136831. # Factoring default headers for most tests.
  136832. @@ -633,103 +590,106 @@
  136833. #ifdef HAVE_STDINT_H
  136834. # include <stdint.h>
  136835. #endif
  136836. -#ifdef HAVE_UNISTD_H
  136837. -# include <unistd.h>
  136838. -#endif"
  136839. -
  136840. -ac_subst_vars='SHELL
  136841. -PATH_SEPARATOR
  136842. -PACKAGE_NAME
  136843. -PACKAGE_TARNAME
  136844. -PACKAGE_VERSION
  136845. -PACKAGE_STRING
  136846. -PACKAGE_BUGREPORT
  136847. -exec_prefix
  136848. -prefix
  136849. -program_transform_name
  136850. -bindir
  136851. -sbindir
  136852. -libexecdir
  136853. -datarootdir
  136854. -datadir
  136855. -sysconfdir
  136856. -sharedstatedir
  136857. -localstatedir
  136858. -includedir
  136859. -oldincludedir
  136860. -docdir
  136861. -infodir
  136862. -htmldir
  136863. -dvidir
  136864. -pdfdir
  136865. -psdir
  136866. -libdir
  136867. -localedir
  136868. -mandir
  136869. -DEFS
  136870. -ECHO_C
  136871. -ECHO_N
  136872. -ECHO_T
  136873. -LIBS
  136874. -build_alias
  136875. -host_alias
  136876. -target_alias
  136877. -CXX
  136878. -CXXFLAGS
  136879. -LDFLAGS
  136880. -CPPFLAGS
  136881. -ac_ct_CXX
  136882. -EXEEXT
  136883. -OBJEXT
  136884. -CC
  136885. -CFLAGS
  136886. -ac_ct_CC
  136887. -SET_MAKE
  136888. -INSTALL_PROGRAM
  136889. -INSTALL_SCRIPT
  136890. -INSTALL_DATA
  136891. -am__isrc
  136892. -CYGPATH_W
  136893. -PACKAGE
  136894. -VERSION
  136895. -ACLOCAL
  136896. -AUTOCONF
  136897. -AUTOMAKE
  136898. -AUTOHEADER
  136899. -MAKEINFO
  136900. -install_sh
  136901. -STRIP
  136902. -INSTALL_STRIP_PROGRAM
  136903. -MKDIR_P
  136904. -mkdir_p
  136905. -AWK
  136906. -am__leading_dot
  136907. -AMTAR
  136908. -am__tar
  136909. -am__untar
  136910. -DEPDIR
  136911. -am__include
  136912. -am__quote
  136913. -AMDEP_TRUE
  136914. -AMDEP_FALSE
  136915. -AMDEPBACKSLASH
  136916. -CCDEPMODE
  136917. -am__fastdepCC_TRUE
  136918. -am__fastdepCC_FALSE
  136919. -CXXDEPMODE
  136920. -am__fastdepCXX_TRUE
  136921. -am__fastdepCXX_FALSE
  136922. -MAINTAINER_MODE_TRUE
  136923. -MAINTAINER_MODE_FALSE
  136924. -MAINT
  136925. -RANLIB
  136926. -TRIE_CFLAGS
  136927. -TRIE_CXXFLAGS
  136928. -CPP
  136929. -GREP
  136930. -EGREP
  136931. +#ifdef HAVE_UNISTD_H
  136932. +# include <unistd.h>
  136933. +#endif"
  136934. +
  136935. +ac_subst_vars='am__EXEEXT_FALSE
  136936. +am__EXEEXT_TRUE
  136937. +LTLIBOBJS
  136938. LIBOBJS
  136939. -LTLIBOBJS'
  136940. +EGREP
  136941. +GREP
  136942. +CPP
  136943. +TRIE_CXXFLAGS
  136944. +TRIE_CFLAGS
  136945. +RANLIB
  136946. +MAINT
  136947. +MAINTAINER_MODE_FALSE
  136948. +MAINTAINER_MODE_TRUE
  136949. +am__fastdepCXX_FALSE
  136950. +am__fastdepCXX_TRUE
  136951. +CXXDEPMODE
  136952. +am__fastdepCC_FALSE
  136953. +am__fastdepCC_TRUE
  136954. +CCDEPMODE
  136955. +AMDEPBACKSLASH
  136956. +AMDEP_FALSE
  136957. +AMDEP_TRUE
  136958. +am__quote
  136959. +am__include
  136960. +DEPDIR
  136961. +am__untar
  136962. +am__tar
  136963. +AMTAR
  136964. +am__leading_dot
  136965. +AWK
  136966. +mkdir_p
  136967. +MKDIR_P
  136968. +INSTALL_STRIP_PROGRAM
  136969. +STRIP
  136970. +install_sh
  136971. +MAKEINFO
  136972. +AUTOHEADER
  136973. +AUTOMAKE
  136974. +AUTOCONF
  136975. +ACLOCAL
  136976. +VERSION
  136977. +PACKAGE
  136978. +CYGPATH_W
  136979. +am__isrc
  136980. +INSTALL_DATA
  136981. +INSTALL_SCRIPT
  136982. +INSTALL_PROGRAM
  136983. +SET_MAKE
  136984. +ac_ct_CC
  136985. +CFLAGS
  136986. +CC
  136987. +OBJEXT
  136988. +EXEEXT
  136989. +ac_ct_CXX
  136990. +CPPFLAGS
  136991. +LDFLAGS
  136992. +CXXFLAGS
  136993. +CXX
  136994. +target_alias
  136995. +host_alias
  136996. +build_alias
  136997. +LIBS
  136998. +ECHO_T
  136999. +ECHO_N
  137000. +ECHO_C
  137001. +DEFS
  137002. +mandir
  137003. +localedir
  137004. +libdir
  137005. +psdir
  137006. +pdfdir
  137007. +dvidir
  137008. +htmldir
  137009. +infodir
  137010. +docdir
  137011. +oldincludedir
  137012. +includedir
  137013. +localstatedir
  137014. +sharedstatedir
  137015. +sysconfdir
  137016. +datadir
  137017. +datarootdir
  137018. +libexecdir
  137019. +sbindir
  137020. +bindir
  137021. +program_transform_name
  137022. +prefix
  137023. +exec_prefix
  137024. +PACKAGE_URL
  137025. +PACKAGE_BUGREPORT
  137026. +PACKAGE_STRING
  137027. +PACKAGE_VERSION
  137028. +PACKAGE_TARNAME
  137029. +PACKAGE_NAME
  137030. +PATH_SEPARATOR
  137031. +SHELL'
  137032. ac_subst_files=''
  137033. ac_user_opts='
  137034. enable_option_checking
  137035. @@ -858,8 +818,7 @@
  137036. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  137037. # Reject names that are not valid shell variable names.
  137038. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  137039. - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  137040. - { (exit 1); exit 1; }; }
  137041. + as_fn_error "invalid feature name: $ac_useropt"
  137042. ac_useropt_orig=$ac_useropt
  137043. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  137044. case $ac_user_opts in
  137045. @@ -885,8 +844,7 @@
  137046. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  137047. # Reject names that are not valid shell variable names.
  137048. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  137049. - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  137050. - { (exit 1); exit 1; }; }
  137051. + as_fn_error "invalid feature name: $ac_useropt"
  137052. ac_useropt_orig=$ac_useropt
  137053. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  137054. case $ac_user_opts in
  137055. @@ -1090,8 +1048,7 @@
  137056. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  137057. # Reject names that are not valid shell variable names.
  137058. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  137059. - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  137060. - { (exit 1); exit 1; }; }
  137061. + as_fn_error "invalid package name: $ac_useropt"
  137062. ac_useropt_orig=$ac_useropt
  137063. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  137064. case $ac_user_opts in
  137065. @@ -1107,8 +1064,7 @@
  137066. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  137067. # Reject names that are not valid shell variable names.
  137068. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  137069. - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  137070. - { (exit 1); exit 1; }; }
  137071. + as_fn_error "invalid package name: $ac_useropt"
  137072. ac_useropt_orig=$ac_useropt
  137073. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  137074. case $ac_user_opts in
  137075. @@ -1138,17 +1094,17 @@
  137076. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  137077. x_libraries=$ac_optarg ;;
  137078. - -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
  137079. -Try \`$0 --help' for more information." >&2
  137080. - { (exit 1); exit 1; }; }
  137081. + -*) as_fn_error "unrecognized option: \`$ac_option'
  137082. +Try \`$0 --help' for more information."
  137083. ;;
  137084. *=*)
  137085. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  137086. # Reject names that are not valid shell variable names.
  137087. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  137088. - { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  137089. - { (exit 1); exit 1; }; }
  137090. + case $ac_envvar in #(
  137091. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  137092. + as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  137093. + esac
  137094. eval $ac_envvar=\$ac_optarg
  137095. export $ac_envvar ;;
  137096. @@ -1165,16 +1121,14 @@
  137097. if test -n "$ac_prev"; then
  137098. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  137099. - { $as_echo "$as_me: error: missing argument to $ac_option" >&2
  137100. - { (exit 1); exit 1; }; }
  137101. + as_fn_error "missing argument to $ac_option"
  137102. fi
  137103. if test -n "$ac_unrecognized_opts"; then
  137104. case $enable_option_checking in
  137105. no) ;;
  137106. - fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
  137107. - { (exit 1); exit 1; }; } ;;
  137108. - *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
  137109. + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  137110. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  137111. esac
  137112. fi
  137113. @@ -1196,8 +1150,7 @@
  137114. [\\/$]* | ?:[\\/]* ) continue;;
  137115. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  137116. esac
  137117. - { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  137118. - { (exit 1); exit 1; }; }
  137119. + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  137120. done
  137121. # There might be people who depend on the old broken behavior: `$host'
  137122. @@ -1227,11 +1180,9 @@
  137123. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  137124. ac_ls_di=`ls -di .` &&
  137125. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  137126. - { $as_echo "$as_me: error: Working directory cannot be determined" >&2
  137127. - { (exit 1); exit 1; }; }
  137128. + as_fn_error "working directory cannot be determined"
  137129. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  137130. - { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
  137131. - { (exit 1); exit 1; }; }
  137132. + as_fn_error "pwd does not report name of working directory"
  137133. # Find the source files, if location was not specified.
  137134. @@ -1270,13 +1221,11 @@
  137135. fi
  137136. if test ! -r "$srcdir/$ac_unique_file"; then
  137137. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  137138. - { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  137139. - { (exit 1); exit 1; }; }
  137140. + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  137141. fi
  137142. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  137143. ac_abs_confdir=`(
  137144. - cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
  137145. - { (exit 1); exit 1; }; }
  137146. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  137147. pwd)`
  137148. # When building in place, set srcdir=.
  137149. if test "$ac_abs_confdir" = "$ac_pwd"; then
  137150. @@ -1402,7 +1351,7 @@
  137151. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  137152. nonstandard directory <lib dir>
  137153. LIBS libraries to pass to the linker, e.g. -l<library>
  137154. - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  137155. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  137156. you have headers in a nonstandard directory <include dir>
  137157. CC C compiler command
  137158. CFLAGS C compiler flags
  137159. @@ -1475,21 +1424,264 @@
  137160. if $ac_init_version; then
  137161. cat <<\_ACEOF
  137162. libTrie configure 0.1
  137163. -generated by GNU Autoconf 2.62
  137164. +generated by GNU Autoconf 2.65
  137165. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  137166. -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  137167. +Copyright (C) 2009 Free Software Foundation, Inc.
  137168. This configure script is free software; the Free Software Foundation
  137169. gives unlimited permission to copy, distribute and modify it.
  137170. _ACEOF
  137171. exit
  137172. fi
  137173. +
  137174. +## ------------------------ ##
  137175. +## Autoconf initialization. ##
  137176. +## ------------------------ ##
  137177. +
  137178. +# ac_fn_cxx_try_compile LINENO
  137179. +# ----------------------------
  137180. +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  137181. +ac_fn_cxx_try_compile ()
  137182. +{
  137183. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  137184. + rm -f conftest.$ac_objext
  137185. + if { { ac_try="$ac_compile"
  137186. +case "(($ac_try" in
  137187. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  137188. + *) ac_try_echo=$ac_try;;
  137189. +esac
  137190. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  137191. +$as_echo "$ac_try_echo"; } >&5
  137192. + (eval "$ac_compile") 2>conftest.err
  137193. + ac_status=$?
  137194. + if test -s conftest.err; then
  137195. + grep -v '^ *+' conftest.err >conftest.er1
  137196. + cat conftest.er1 >&5
  137197. + mv -f conftest.er1 conftest.err
  137198. + fi
  137199. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  137200. + test $ac_status = 0; } && {
  137201. + test -z "$ac_cxx_werror_flag" ||
  137202. + test ! -s conftest.err
  137203. + } && test -s conftest.$ac_objext; then :
  137204. + ac_retval=0
  137205. +else
  137206. + $as_echo "$as_me: failed program was:" >&5
  137207. +sed 's/^/| /' conftest.$ac_ext >&5
  137208. +
  137209. + ac_retval=1
  137210. +fi
  137211. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  137212. + as_fn_set_status $ac_retval
  137213. +
  137214. +} # ac_fn_cxx_try_compile
  137215. +
  137216. +# ac_fn_c_try_compile LINENO
  137217. +# --------------------------
  137218. +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  137219. +ac_fn_c_try_compile ()
  137220. +{
  137221. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  137222. + rm -f conftest.$ac_objext
  137223. + if { { ac_try="$ac_compile"
  137224. +case "(($ac_try" in
  137225. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  137226. + *) ac_try_echo=$ac_try;;
  137227. +esac
  137228. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  137229. +$as_echo "$ac_try_echo"; } >&5
  137230. + (eval "$ac_compile") 2>conftest.err
  137231. + ac_status=$?
  137232. + if test -s conftest.err; then
  137233. + grep -v '^ *+' conftest.err >conftest.er1
  137234. + cat conftest.er1 >&5
  137235. + mv -f conftest.er1 conftest.err
  137236. + fi
  137237. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  137238. + test $ac_status = 0; } && {
  137239. + test -z "$ac_c_werror_flag" ||
  137240. + test ! -s conftest.err
  137241. + } && test -s conftest.$ac_objext; then :
  137242. + ac_retval=0
  137243. +else
  137244. + $as_echo "$as_me: failed program was:" >&5
  137245. +sed 's/^/| /' conftest.$ac_ext >&5
  137246. +
  137247. + ac_retval=1
  137248. +fi
  137249. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  137250. + as_fn_set_status $ac_retval
  137251. +
  137252. +} # ac_fn_c_try_compile
  137253. +
  137254. +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  137255. +# -------------------------------------------
  137256. +# Tests whether TYPE exists after having included INCLUDES, setting cache
  137257. +# variable VAR accordingly.
  137258. +ac_fn_c_check_type ()
  137259. +{
  137260. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  137261. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  137262. +$as_echo_n "checking for $2... " >&6; }
  137263. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  137264. + $as_echo_n "(cached) " >&6
  137265. +else
  137266. + eval "$3=no"
  137267. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  137268. +/* end confdefs.h. */
  137269. +$4
  137270. +int
  137271. +main ()
  137272. +{
  137273. +if (sizeof ($2))
  137274. + return 0;
  137275. + ;
  137276. + return 0;
  137277. +}
  137278. +_ACEOF
  137279. +if ac_fn_c_try_compile "$LINENO"; then :
  137280. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  137281. +/* end confdefs.h. */
  137282. +$4
  137283. +int
  137284. +main ()
  137285. +{
  137286. +if (sizeof (($2)))
  137287. + return 0;
  137288. + ;
  137289. + return 0;
  137290. +}
  137291. +_ACEOF
  137292. +if ac_fn_c_try_compile "$LINENO"; then :
  137293. +
  137294. +else
  137295. + eval "$3=yes"
  137296. +fi
  137297. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  137298. +fi
  137299. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  137300. +fi
  137301. +eval ac_res=\$$3
  137302. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  137303. +$as_echo "$ac_res" >&6; }
  137304. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  137305. +
  137306. +} # ac_fn_c_check_type
  137307. +
  137308. +# ac_fn_c_try_cpp LINENO
  137309. +# ----------------------
  137310. +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  137311. +ac_fn_c_try_cpp ()
  137312. +{
  137313. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  137314. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  137315. +case "(($ac_try" in
  137316. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  137317. + *) ac_try_echo=$ac_try;;
  137318. +esac
  137319. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  137320. +$as_echo "$ac_try_echo"; } >&5
  137321. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  137322. + ac_status=$?
  137323. + if test -s conftest.err; then
  137324. + grep -v '^ *+' conftest.err >conftest.er1
  137325. + cat conftest.er1 >&5
  137326. + mv -f conftest.er1 conftest.err
  137327. + fi
  137328. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  137329. + test $ac_status = 0; } >/dev/null && {
  137330. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  137331. + test ! -s conftest.err
  137332. + }; then :
  137333. + ac_retval=0
  137334. +else
  137335. + $as_echo "$as_me: failed program was:" >&5
  137336. +sed 's/^/| /' conftest.$ac_ext >&5
  137337. +
  137338. + ac_retval=1
  137339. +fi
  137340. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  137341. + as_fn_set_status $ac_retval
  137342. +
  137343. +} # ac_fn_c_try_cpp
  137344. +
  137345. +# ac_fn_c_try_run LINENO
  137346. +# ----------------------
  137347. +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  137348. +# that executables *can* be run.
  137349. +ac_fn_c_try_run ()
  137350. +{
  137351. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  137352. + if { { ac_try="$ac_link"
  137353. +case "(($ac_try" in
  137354. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  137355. + *) ac_try_echo=$ac_try;;
  137356. +esac
  137357. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  137358. +$as_echo "$ac_try_echo"; } >&5
  137359. + (eval "$ac_link") 2>&5
  137360. + ac_status=$?
  137361. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  137362. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  137363. + { { case "(($ac_try" in
  137364. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  137365. + *) ac_try_echo=$ac_try;;
  137366. +esac
  137367. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  137368. +$as_echo "$ac_try_echo"; } >&5
  137369. + (eval "$ac_try") 2>&5
  137370. + ac_status=$?
  137371. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  137372. + test $ac_status = 0; }; }; then :
  137373. + ac_retval=0
  137374. +else
  137375. + $as_echo "$as_me: program exited with status $ac_status" >&5
  137376. + $as_echo "$as_me: failed program was:" >&5
  137377. +sed 's/^/| /' conftest.$ac_ext >&5
  137378. +
  137379. + ac_retval=$ac_status
  137380. +fi
  137381. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  137382. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  137383. + as_fn_set_status $ac_retval
  137384. +
  137385. +} # ac_fn_c_try_run
  137386. +
  137387. +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  137388. +# -------------------------------------------------------
  137389. +# Tests whether HEADER exists and can be compiled using the include files in
  137390. +# INCLUDES, setting the cache variable VAR accordingly.
  137391. +ac_fn_c_check_header_compile ()
  137392. +{
  137393. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  137394. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  137395. +$as_echo_n "checking for $2... " >&6; }
  137396. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  137397. + $as_echo_n "(cached) " >&6
  137398. +else
  137399. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  137400. +/* end confdefs.h. */
  137401. +$4
  137402. +#include <$2>
  137403. +_ACEOF
  137404. +if ac_fn_c_try_compile "$LINENO"; then :
  137405. + eval "$3=yes"
  137406. +else
  137407. + eval "$3=no"
  137408. +fi
  137409. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  137410. +fi
  137411. +eval ac_res=\$$3
  137412. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  137413. +$as_echo "$ac_res" >&6; }
  137414. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  137415. +
  137416. +} # ac_fn_c_check_header_compile
  137417. cat >config.log <<_ACEOF
  137418. This file contains any messages produced by compilers while
  137419. running configure, to aid debugging if configure makes a mistake.
  137420. It was created by libTrie $as_me 0.1, which was
  137421. -generated by GNU Autoconf 2.62. Invocation command line was
  137422. +generated by GNU Autoconf 2.65. Invocation command line was
  137423. $ $0 $@
  137424. @@ -1525,8 +1717,8 @@
  137425. do
  137426. IFS=$as_save_IFS
  137427. test -z "$as_dir" && as_dir=.
  137428. - $as_echo "PATH: $as_dir"
  137429. -done
  137430. + $as_echo "PATH: $as_dir"
  137431. + done
  137432. IFS=$as_save_IFS
  137433. } >&5
  137434. @@ -1563,9 +1755,9 @@
  137435. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  137436. esac
  137437. case $ac_pass in
  137438. - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  137439. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  137440. 2)
  137441. - ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  137442. + as_fn_append ac_configure_args1 " '$ac_arg'"
  137443. if test $ac_must_keep_next = true; then
  137444. ac_must_keep_next=false # Got value, back to normal.
  137445. else
  137446. @@ -1581,13 +1773,13 @@
  137447. -* ) ac_must_keep_next=true ;;
  137448. esac
  137449. fi
  137450. - ac_configure_args="$ac_configure_args '$ac_arg'"
  137451. + as_fn_append ac_configure_args " '$ac_arg'"
  137452. ;;
  137453. esac
  137454. done
  137455. done
  137456. -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  137457. -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  137458. +{ ac_configure_args0=; unset ac_configure_args0;}
  137459. +{ ac_configure_args1=; unset ac_configure_args1;}
  137460. # When interrupted or exit'd, cleanup temporary files, and complete
  137461. # config.log. We remove comments because anyway the quotes in there
  137462. @@ -1612,13 +1804,13 @@
  137463. case $ac_val in #(
  137464. *${as_nl}*)
  137465. case $ac_var in #(
  137466. - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  137467. -$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  137468. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  137469. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  137470. esac
  137471. case $ac_var in #(
  137472. _ | IFS | as_nl) ;; #(
  137473. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  137474. - *) $as_unset $ac_var ;;
  137475. + *) { eval $ac_var=; unset $ac_var;} ;;
  137476. esac ;;
  137477. esac
  137478. done
  137479. @@ -1690,39 +1882,41 @@
  137480. exit $exit_status
  137481. ' 0
  137482. for ac_signal in 1 2 13 15; do
  137483. - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  137484. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  137485. done
  137486. ac_signal=0
  137487. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  137488. rm -f -r conftest* confdefs.h
  137489. +$as_echo "/* confdefs.h */" > confdefs.h
  137490. +
  137491. # Predefined preprocessor variables.
  137492. cat >>confdefs.h <<_ACEOF
  137493. #define PACKAGE_NAME "$PACKAGE_NAME"
  137494. _ACEOF
  137495. -
  137496. cat >>confdefs.h <<_ACEOF
  137497. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  137498. _ACEOF
  137499. -
  137500. cat >>confdefs.h <<_ACEOF
  137501. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  137502. _ACEOF
  137503. -
  137504. cat >>confdefs.h <<_ACEOF
  137505. #define PACKAGE_STRING "$PACKAGE_STRING"
  137506. _ACEOF
  137507. -
  137508. cat >>confdefs.h <<_ACEOF
  137509. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  137510. _ACEOF
  137511. +cat >>confdefs.h <<_ACEOF
  137512. +#define PACKAGE_URL "$PACKAGE_URL"
  137513. +_ACEOF
  137514. +
  137515. # Let the site file select an alternate cache file if it wants to.
  137516. # Prefer an explicitly selected file to automatically selected ones.
  137517. @@ -1740,8 +1934,8 @@
  137518. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  137519. do
  137520. test "x$ac_site_file" = xNONE && continue
  137521. - if test -r "$ac_site_file"; then
  137522. - { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  137523. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  137524. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  137525. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  137526. sed 's/^/| /' "$ac_site_file" >&5
  137527. . "$ac_site_file"
  137528. @@ -1749,10 +1943,10 @@
  137529. done
  137530. if test -r "$cache_file"; then
  137531. - # Some versions of bash will fail to source /dev/null (special
  137532. - # files actually), so we avoid doing that.
  137533. - if test -f "$cache_file"; then
  137534. - { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
  137535. + # Some versions of bash will fail to source /dev/null (special files
  137536. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  137537. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  137538. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  137539. $as_echo "$as_me: loading cache $cache_file" >&6;}
  137540. case $cache_file in
  137541. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  137542. @@ -1760,7 +1954,7 @@
  137543. esac
  137544. fi
  137545. else
  137546. - { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
  137547. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  137548. $as_echo "$as_me: creating cache $cache_file" >&6;}
  137549. >$cache_file
  137550. fi
  137551. @@ -1775,11 +1969,11 @@
  137552. eval ac_new_val=\$ac_env_${ac_var}_value
  137553. case $ac_old_set,$ac_new_set in
  137554. set,)
  137555. - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  137556. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  137557. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  137558. ac_cache_corrupted=: ;;
  137559. ,set)
  137560. - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  137561. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  137562. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  137563. ac_cache_corrupted=: ;;
  137564. ,);;
  137565. @@ -1789,63 +1983,42 @@
  137566. ac_old_val_w=`echo x $ac_old_val`
  137567. ac_new_val_w=`echo x $ac_new_val`
  137568. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  137569. - { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  137570. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  137571. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  137572. ac_cache_corrupted=:
  137573. else
  137574. - { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  137575. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  137576. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  137577. eval $ac_var=\$ac_old_val
  137578. - fi
  137579. - { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
  137580. -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  137581. - { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
  137582. -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  137583. - fi;;
  137584. - esac
  137585. - # Pass precious variables to config.status.
  137586. - if test "$ac_new_set" = set; then
  137587. - case $ac_new_val in
  137588. - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  137589. - *) ac_arg=$ac_var=$ac_new_val ;;
  137590. - esac
  137591. - case " $ac_configure_args " in
  137592. - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  137593. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  137594. - esac
  137595. - fi
  137596. -done
  137597. -if $ac_cache_corrupted; then
  137598. - { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  137599. -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  137600. - { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  137601. -$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  137602. - { (exit 1); exit 1; }; }
  137603. -fi
  137604. -
  137605. -
  137606. -
  137607. -
  137608. -
  137609. -
  137610. -
  137611. -
  137612. -
  137613. -
  137614. -
  137615. -
  137616. -
  137617. -
  137618. -
  137619. -
  137620. -
  137621. -
  137622. -
  137623. -
  137624. -
  137625. -
  137626. -
  137627. -
  137628. + fi
  137629. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  137630. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  137631. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  137632. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  137633. + fi;;
  137634. + esac
  137635. + # Pass precious variables to config.status.
  137636. + if test "$ac_new_set" = set; then
  137637. + case $ac_new_val in
  137638. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  137639. + *) ac_arg=$ac_var=$ac_new_val ;;
  137640. + esac
  137641. + case " $ac_configure_args " in
  137642. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  137643. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  137644. + esac
  137645. + fi
  137646. +done
  137647. +if $ac_cache_corrupted; then
  137648. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  137649. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  137650. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  137651. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  137652. + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  137653. +fi
  137654. +## -------------------- ##
  137655. +## Main body of script. ##
  137656. +## -------------------- ##
  137657. ac_ext=c
  137658. ac_cpp='$CPP $CPPFLAGS'
  137659. @@ -1859,24 +2032,16 @@
  137660. ac_aux_dir=
  137661. for ac_dir in cfgaux "$srcdir"/cfgaux; do
  137662. - if test -f "$ac_dir/install-sh"; then
  137663. - ac_aux_dir=$ac_dir
  137664. - ac_install_sh="$ac_aux_dir/install-sh -c"
  137665. - break
  137666. - elif test -f "$ac_dir/install.sh"; then
  137667. - ac_aux_dir=$ac_dir
  137668. - ac_install_sh="$ac_aux_dir/install.sh -c"
  137669. - break
  137670. - elif test -f "$ac_dir/shtool"; then
  137671. - ac_aux_dir=$ac_dir
  137672. - ac_install_sh="$ac_aux_dir/shtool install -c"
  137673. - break
  137674. - fi
  137675. + for ac_t in install-sh install.sh shtool; do
  137676. + if test -f "$ac_dir/$ac_t"; then
  137677. + ac_aux_dir=$ac_dir
  137678. + ac_install_sh="$ac_aux_dir/$ac_t -c"
  137679. + break 2
  137680. + fi
  137681. + done
  137682. done
  137683. if test -z "$ac_aux_dir"; then
  137684. - { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cfgaux \"$srcdir\"/cfgaux" >&5
  137685. -$as_echo "$as_me: error: cannot find install-sh or install.sh in cfgaux \"$srcdir\"/cfgaux" >&2;}
  137686. - { (exit 1); exit 1; }; }
  137687. + as_fn_error "cannot find install-sh, install.sh, or shtool in cfgaux \"$srcdir\"/cfgaux" "$LINENO" 5
  137688. fi
  137689. # These three variables are undocumented and unsupported,
  137690. @@ -1892,9 +2057,9 @@
  137691. SquidInline="yes"
  137692. # Check whether --enable-optimizations was given.
  137693. -if test "${enable_optimizations+set}" = set; then
  137694. +if test "${enable_optimizations+set}" = set; then :
  137695. enableval=$enable_optimizations; if test "$enableval" = "no" ; then
  137696. - { $as_echo "$as_me:$LINENO: Disabling compiler optimizations (-O flag)" >&5
  137697. + { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling compiler optimizations (-O flag)" >&5
  137698. $as_echo "$as_me: Disabling compiler optimizations (-O flag)" >&6;}
  137699. CFLAGS="`echo $CFLAGS | sed -e 's/-O[0-9]*//'`"
  137700. CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-O[0-9]*//'`"
  137701. @@ -1905,7 +2070,7 @@
  137702. # Check whether --enable-inline was given.
  137703. -if test "${enable_inline+set}" = set; then
  137704. +if test "${enable_inline+set}" = set; then :
  137705. enableval=$enable_inline; if test "$enableval" = "no" ; then
  137706. SquidInline="no"
  137707. fi
  137708. @@ -1915,22 +2080,16 @@
  137709. if test "$SquidInline" = "yes" ; then
  137710. -cat >>confdefs.h <<\_ACEOF
  137711. -#define _SQUID_INLINE_ inline
  137712. -_ACEOF
  137713. +$as_echo "#define _SQUID_INLINE_ inline" >>confdefs.h
  137714. -cat >>confdefs.h <<\_ACEOF
  137715. -#define _USE_INLINE_ /**/
  137716. -_ACEOF
  137717. +$as_echo "#define _USE_INLINE_ /**/" >>confdefs.h
  137718. else
  137719. - { $as_echo "$as_me:$LINENO: Inlining optimization disabled" >&5
  137720. + { $as_echo "$as_me:${as_lineno-$LINENO}: Inlining optimization disabled" >&5
  137721. $as_echo "$as_me: Inlining optimization disabled" >&6;}
  137722. -cat >>confdefs.h <<\_ACEOF
  137723. -#define _SQUID_INLINE_ /**/
  137724. -_ACEOF
  137725. +$as_echo "#define _SQUID_INLINE_ /**/" >>confdefs.h
  137726. fi
  137727. @@ -1950,9 +2109,9 @@
  137728. do
  137729. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  137730. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  137731. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  137732. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  137733. $as_echo_n "checking for $ac_word... " >&6; }
  137734. -if test "${ac_cv_prog_CXX+set}" = set; then
  137735. +if test "${ac_cv_prog_CXX+set}" = set; then :
  137736. $as_echo_n "(cached) " >&6
  137737. else
  137738. if test -n "$CXX"; then
  137739. @@ -1963,24 +2122,24 @@
  137740. do
  137741. IFS=$as_save_IFS
  137742. test -z "$as_dir" && as_dir=.
  137743. - for ac_exec_ext in '' $ac_executable_extensions; do
  137744. + for ac_exec_ext in '' $ac_executable_extensions; do
  137745. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  137746. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  137747. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  137748. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  137749. break 2
  137750. fi
  137751. done
  137752. -done
  137753. + done
  137754. IFS=$as_save_IFS
  137755. fi
  137756. fi
  137757. CXX=$ac_cv_prog_CXX
  137758. if test -n "$CXX"; then
  137759. - { $as_echo "$as_me:$LINENO: result: $CXX" >&5
  137760. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  137761. $as_echo "$CXX" >&6; }
  137762. else
  137763. - { $as_echo "$as_me:$LINENO: result: no" >&5
  137764. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  137765. $as_echo "no" >&6; }
  137766. fi
  137767. @@ -1994,9 +2153,9 @@
  137768. do
  137769. # Extract the first word of "$ac_prog", so it can be a program name with args.
  137770. set dummy $ac_prog; ac_word=$2
  137771. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  137772. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  137773. $as_echo_n "checking for $ac_word... " >&6; }
  137774. -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
  137775. +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
  137776. $as_echo_n "(cached) " >&6
  137777. else
  137778. if test -n "$ac_ct_CXX"; then
  137779. @@ -2007,24 +2166,24 @@
  137780. do
  137781. IFS=$as_save_IFS
  137782. test -z "$as_dir" && as_dir=.
  137783. - for ac_exec_ext in '' $ac_executable_extensions; do
  137784. + for ac_exec_ext in '' $ac_executable_extensions; do
  137785. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  137786. ac_cv_prog_ac_ct_CXX="$ac_prog"
  137787. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  137788. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  137789. break 2
  137790. fi
  137791. done
  137792. -done
  137793. + done
  137794. IFS=$as_save_IFS
  137795. fi
  137796. fi
  137797. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  137798. if test -n "$ac_ct_CXX"; then
  137799. - { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
  137800. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  137801. $as_echo "$ac_ct_CXX" >&6; }
  137802. else
  137803. - { $as_echo "$as_me:$LINENO: result: no" >&5
  137804. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  137805. $as_echo "no" >&6; }
  137806. fi
  137807. @@ -2037,12 +2196,8 @@
  137808. else
  137809. case $cross_compiling:$ac_tool_warned in
  137810. yes:)
  137811. -{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  137812. -whose name does not start with the host triplet. If you think this
  137813. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  137814. -$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  137815. -whose name does not start with the host triplet. If you think this
  137816. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  137817. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  137818. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  137819. ac_tool_warned=yes ;;
  137820. esac
  137821. CXX=$ac_ct_CXX
  137822. @@ -2052,48 +2207,31 @@
  137823. fi
  137824. fi
  137825. # Provide some information about the compiler.
  137826. -$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
  137827. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  137828. set X $ac_compile
  137829. ac_compiler=$2
  137830. -{ (ac_try="$ac_compiler --version >&5"
  137831. -case "(($ac_try" in
  137832. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  137833. - *) ac_try_echo=$ac_try;;
  137834. -esac
  137835. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  137836. -$as_echo "$ac_try_echo") >&5
  137837. - (eval "$ac_compiler --version >&5") 2>&5
  137838. - ac_status=$?
  137839. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  137840. - (exit $ac_status); }
  137841. -{ (ac_try="$ac_compiler -v >&5"
  137842. -case "(($ac_try" in
  137843. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  137844. - *) ac_try_echo=$ac_try;;
  137845. -esac
  137846. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  137847. -$as_echo "$ac_try_echo") >&5
  137848. - (eval "$ac_compiler -v >&5") 2>&5
  137849. - ac_status=$?
  137850. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  137851. - (exit $ac_status); }
  137852. -{ (ac_try="$ac_compiler -V >&5"
  137853. +for ac_option in --version -v -V -qversion; do
  137854. + { { ac_try="$ac_compiler $ac_option >&5"
  137855. case "(($ac_try" in
  137856. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  137857. *) ac_try_echo=$ac_try;;
  137858. esac
  137859. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  137860. -$as_echo "$ac_try_echo") >&5
  137861. - (eval "$ac_compiler -V >&5") 2>&5
  137862. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  137863. +$as_echo "$ac_try_echo"; } >&5
  137864. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  137865. ac_status=$?
  137866. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  137867. - (exit $ac_status); }
  137868. + if test -s conftest.err; then
  137869. + sed '10a\
  137870. +... rest of stderr output deleted ...
  137871. + 10q' conftest.err >conftest.er1
  137872. + cat conftest.er1 >&5
  137873. + fi
  137874. + rm -f conftest.er1 conftest.err
  137875. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  137876. + test $ac_status = 0; }
  137877. +done
  137878. -cat >conftest.$ac_ext <<_ACEOF
  137879. -/* confdefs.h. */
  137880. -_ACEOF
  137881. -cat confdefs.h >>conftest.$ac_ext
  137882. -cat >>conftest.$ac_ext <<_ACEOF
  137883. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  137884. /* end confdefs.h. */
  137885. int
  137886. @@ -2109,8 +2247,8 @@
  137887. # Try to create an executable without -o first, disregard a.out.
  137888. # It will help us diagnose broken compilers, and finding out an intuition
  137889. # of exeext.
  137890. -{ $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
  137891. -$as_echo_n "checking for C++ compiler default output file name... " >&6; }
  137892. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
  137893. +$as_echo_n "checking whether the C++ compiler works... " >&6; }
  137894. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  137895. # The possible output files:
  137896. @@ -2126,17 +2264,17 @@
  137897. done
  137898. rm -f $ac_rmfiles
  137899. -if { (ac_try="$ac_link_default"
  137900. +if { { ac_try="$ac_link_default"
  137901. case "(($ac_try" in
  137902. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  137903. *) ac_try_echo=$ac_try;;
  137904. esac
  137905. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  137906. -$as_echo "$ac_try_echo") >&5
  137907. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  137908. +$as_echo "$ac_try_echo"; } >&5
  137909. (eval "$ac_link_default") 2>&5
  137910. ac_status=$?
  137911. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  137912. - (exit $ac_status); }; then
  137913. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  137914. + test $ac_status = 0; }; then :
  137915. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  137916. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  137917. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  137918. @@ -2153,7 +2291,7 @@
  137919. # certainly right.
  137920. break;;
  137921. *.* )
  137922. - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  137923. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  137924. then :; else
  137925. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  137926. fi
  137927. @@ -2172,80 +2310,42 @@
  137928. else
  137929. ac_file=''
  137930. fi
  137931. -
  137932. -{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
  137933. -$as_echo "$ac_file" >&6; }
  137934. -if test -z "$ac_file"; then
  137935. - $as_echo "$as_me: failed program was:" >&5
  137936. +if test -z "$ac_file"; then :
  137937. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  137938. +$as_echo "no" >&6; }
  137939. +$as_echo "$as_me: failed program was:" >&5
  137940. sed 's/^/| /' conftest.$ac_ext >&5
  137941. -{ { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
  137942. -See \`config.log' for more details." >&5
  137943. -$as_echo "$as_me: error: C++ compiler cannot create executables
  137944. -See \`config.log' for more details." >&2;}
  137945. - { (exit 77); exit 77; }; }
  137946. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  137947. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  137948. +{ as_fn_set_status 77
  137949. +as_fn_error "C++ compiler cannot create executables
  137950. +See \`config.log' for more details." "$LINENO" 5; }; }
  137951. +else
  137952. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  137953. +$as_echo "yes" >&6; }
  137954. fi
  137955. -
  137956. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
  137957. +$as_echo_n "checking for C++ compiler default output file name... " >&6; }
  137958. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  137959. +$as_echo "$ac_file" >&6; }
  137960. ac_exeext=$ac_cv_exeext
  137961. -# Check that the compiler produces executables we can run. If not, either
  137962. -# the compiler is broken, or we cross compile.
  137963. -{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
  137964. -$as_echo_n "checking whether the C++ compiler works... " >&6; }
  137965. -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  137966. -# If not cross compiling, check that we can run a simple program.
  137967. -if test "$cross_compiling" != yes; then
  137968. - if { ac_try='./$ac_file'
  137969. - { (case "(($ac_try" in
  137970. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  137971. - *) ac_try_echo=$ac_try;;
  137972. -esac
  137973. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  137974. -$as_echo "$ac_try_echo") >&5
  137975. - (eval "$ac_try") 2>&5
  137976. - ac_status=$?
  137977. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  137978. - (exit $ac_status); }; }; then
  137979. - cross_compiling=no
  137980. - else
  137981. - if test "$cross_compiling" = maybe; then
  137982. - cross_compiling=yes
  137983. - else
  137984. - { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
  137985. -If you meant to cross compile, use \`--host'.
  137986. -See \`config.log' for more details." >&5
  137987. -$as_echo "$as_me: error: cannot run C++ compiled programs.
  137988. -If you meant to cross compile, use \`--host'.
  137989. -See \`config.log' for more details." >&2;}
  137990. - { (exit 1); exit 1; }; }
  137991. - fi
  137992. - fi
  137993. -fi
  137994. -{ $as_echo "$as_me:$LINENO: result: yes" >&5
  137995. -$as_echo "yes" >&6; }
  137996. -
  137997. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  137998. ac_clean_files=$ac_clean_files_save
  137999. -# Check that the compiler produces executables we can run. If not, either
  138000. -# the compiler is broken, or we cross compile.
  138001. -{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  138002. -$as_echo_n "checking whether we are cross compiling... " >&6; }
  138003. -{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
  138004. -$as_echo "$cross_compiling" >&6; }
  138005. -
  138006. -{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
  138007. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  138008. $as_echo_n "checking for suffix of executables... " >&6; }
  138009. -if { (ac_try="$ac_link"
  138010. +if { { ac_try="$ac_link"
  138011. case "(($ac_try" in
  138012. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  138013. *) ac_try_echo=$ac_try;;
  138014. esac
  138015. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  138016. -$as_echo "$ac_try_echo") >&5
  138017. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  138018. +$as_echo "$ac_try_echo"; } >&5
  138019. (eval "$ac_link") 2>&5
  138020. ac_status=$?
  138021. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  138022. - (exit $ac_status); }; then
  138023. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  138024. + test $ac_status = 0; }; then :
  138025. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  138026. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  138027. # work properly (i.e., refer to `conftest.exe'), while it won't with
  138028. @@ -2260,30 +2360,83 @@
  138029. esac
  138030. done
  138031. else
  138032. - { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  138033. -See \`config.log' for more details." >&5
  138034. -$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  138035. -See \`config.log' for more details." >&2;}
  138036. - { (exit 1); exit 1; }; }
  138037. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  138038. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  138039. +as_fn_error "cannot compute suffix of executables: cannot compile and link
  138040. +See \`config.log' for more details." "$LINENO" 5; }
  138041. fi
  138042. -
  138043. -rm -f conftest$ac_cv_exeext
  138044. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  138045. +rm -f conftest conftest$ac_cv_exeext
  138046. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  138047. $as_echo "$ac_cv_exeext" >&6; }
  138048. rm -f conftest.$ac_ext
  138049. EXEEXT=$ac_cv_exeext
  138050. ac_exeext=$EXEEXT
  138051. -{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
  138052. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  138053. +/* end confdefs.h. */
  138054. +#include <stdio.h>
  138055. +int
  138056. +main ()
  138057. +{
  138058. +FILE *f = fopen ("conftest.out", "w");
  138059. + return ferror (f) || fclose (f) != 0;
  138060. +
  138061. + ;
  138062. + return 0;
  138063. +}
  138064. +_ACEOF
  138065. +ac_clean_files="$ac_clean_files conftest.out"
  138066. +# Check that the compiler produces executables we can run. If not, either
  138067. +# the compiler is broken, or we cross compile.
  138068. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  138069. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  138070. +if test "$cross_compiling" != yes; then
  138071. + { { ac_try="$ac_link"
  138072. +case "(($ac_try" in
  138073. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  138074. + *) ac_try_echo=$ac_try;;
  138075. +esac
  138076. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  138077. +$as_echo "$ac_try_echo"; } >&5
  138078. + (eval "$ac_link") 2>&5
  138079. + ac_status=$?
  138080. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  138081. + test $ac_status = 0; }
  138082. + if { ac_try='./conftest$ac_cv_exeext'
  138083. + { { case "(($ac_try" in
  138084. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  138085. + *) ac_try_echo=$ac_try;;
  138086. +esac
  138087. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  138088. +$as_echo "$ac_try_echo"; } >&5
  138089. + (eval "$ac_try") 2>&5
  138090. + ac_status=$?
  138091. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  138092. + test $ac_status = 0; }; }; then
  138093. + cross_compiling=no
  138094. + else
  138095. + if test "$cross_compiling" = maybe; then
  138096. + cross_compiling=yes
  138097. + else
  138098. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  138099. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  138100. +as_fn_error "cannot run C++ compiled programs.
  138101. +If you meant to cross compile, use \`--host'.
  138102. +See \`config.log' for more details." "$LINENO" 5; }
  138103. + fi
  138104. + fi
  138105. +fi
  138106. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  138107. +$as_echo "$cross_compiling" >&6; }
  138108. +
  138109. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  138110. +ac_clean_files=$ac_clean_files_save
  138111. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  138112. $as_echo_n "checking for suffix of object files... " >&6; }
  138113. -if test "${ac_cv_objext+set}" = set; then
  138114. +if test "${ac_cv_objext+set}" = set; then :
  138115. $as_echo_n "(cached) " >&6
  138116. else
  138117. - cat >conftest.$ac_ext <<_ACEOF
  138118. -/* confdefs.h. */
  138119. -_ACEOF
  138120. -cat confdefs.h >>conftest.$ac_ext
  138121. -cat >>conftest.$ac_ext <<_ACEOF
  138122. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  138123. /* end confdefs.h. */
  138124. int
  138125. @@ -2295,17 +2448,17 @@
  138126. }
  138127. _ACEOF
  138128. rm -f conftest.o conftest.obj
  138129. -if { (ac_try="$ac_compile"
  138130. +if { { ac_try="$ac_compile"
  138131. case "(($ac_try" in
  138132. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  138133. *) ac_try_echo=$ac_try;;
  138134. esac
  138135. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  138136. -$as_echo "$ac_try_echo") >&5
  138137. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  138138. +$as_echo "$ac_try_echo"; } >&5
  138139. (eval "$ac_compile") 2>&5
  138140. ac_status=$?
  138141. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  138142. - (exit $ac_status); }; then
  138143. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  138144. + test $ac_status = 0; }; then :
  138145. for ac_file in conftest.o conftest.obj conftest.*; do
  138146. test -f "$ac_file" || continue;
  138147. case $ac_file in
  138148. @@ -2318,29 +2471,23 @@
  138149. $as_echo "$as_me: failed program was:" >&5
  138150. sed 's/^/| /' conftest.$ac_ext >&5
  138151. -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  138152. -See \`config.log' for more details." >&5
  138153. -$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
  138154. -See \`config.log' for more details." >&2;}
  138155. - { (exit 1); exit 1; }; }
  138156. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  138157. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  138158. +as_fn_error "cannot compute suffix of object files: cannot compile
  138159. +See \`config.log' for more details." "$LINENO" 5; }
  138160. fi
  138161. -
  138162. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  138163. fi
  138164. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  138165. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  138166. $as_echo "$ac_cv_objext" >&6; }
  138167. OBJEXT=$ac_cv_objext
  138168. ac_objext=$OBJEXT
  138169. -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
  138170. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  138171. $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  138172. -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
  138173. +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
  138174. $as_echo_n "(cached) " >&6
  138175. else
  138176. - cat >conftest.$ac_ext <<_ACEOF
  138177. -/* confdefs.h. */
  138178. -_ACEOF
  138179. -cat confdefs.h >>conftest.$ac_ext
  138180. -cat >>conftest.$ac_ext <<_ACEOF
  138181. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  138182. /* end confdefs.h. */
  138183. int
  138184. @@ -2354,37 +2501,16 @@
  138185. return 0;
  138186. }
  138187. _ACEOF
  138188. -rm -f conftest.$ac_objext
  138189. -if { (ac_try="$ac_compile"
  138190. -case "(($ac_try" in
  138191. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  138192. - *) ac_try_echo=$ac_try;;
  138193. -esac
  138194. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  138195. -$as_echo "$ac_try_echo") >&5
  138196. - (eval "$ac_compile") 2>conftest.er1
  138197. - ac_status=$?
  138198. - grep -v '^ *+' conftest.er1 >conftest.err
  138199. - rm -f conftest.er1
  138200. - cat conftest.err >&5
  138201. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  138202. - (exit $ac_status); } && {
  138203. - test -z "$ac_cxx_werror_flag" ||
  138204. - test ! -s conftest.err
  138205. - } && test -s conftest.$ac_objext; then
  138206. +if ac_fn_cxx_try_compile "$LINENO"; then :
  138207. ac_compiler_gnu=yes
  138208. else
  138209. - $as_echo "$as_me: failed program was:" >&5
  138210. -sed 's/^/| /' conftest.$ac_ext >&5
  138211. -
  138212. - ac_compiler_gnu=no
  138213. + ac_compiler_gnu=no
  138214. fi
  138215. -
  138216. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  138217. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  138218. fi
  138219. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
  138220. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  138221. $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  138222. if test $ac_compiler_gnu = yes; then
  138223. GXX=yes
  138224. @@ -2393,20 +2519,16 @@
  138225. fi
  138226. ac_test_CXXFLAGS=${CXXFLAGS+set}
  138227. ac_save_CXXFLAGS=$CXXFLAGS
  138228. -{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
  138229. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  138230. $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  138231. -if test "${ac_cv_prog_cxx_g+set}" = set; then
  138232. +if test "${ac_cv_prog_cxx_g+set}" = set; then :
  138233. $as_echo_n "(cached) " >&6
  138234. else
  138235. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  138236. ac_cxx_werror_flag=yes
  138237. ac_cv_prog_cxx_g=no
  138238. CXXFLAGS="-g"
  138239. - cat >conftest.$ac_ext <<_ACEOF
  138240. -/* confdefs.h. */
  138241. -_ACEOF
  138242. -cat confdefs.h >>conftest.$ac_ext
  138243. -cat >>conftest.$ac_ext <<_ACEOF
  138244. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  138245. /* end confdefs.h. */
  138246. int
  138247. @@ -2417,35 +2539,11 @@
  138248. return 0;
  138249. }
  138250. _ACEOF
  138251. -rm -f conftest.$ac_objext
  138252. -if { (ac_try="$ac_compile"
  138253. -case "(($ac_try" in
  138254. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  138255. - *) ac_try_echo=$ac_try;;
  138256. -esac
  138257. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  138258. -$as_echo "$ac_try_echo") >&5
  138259. - (eval "$ac_compile") 2>conftest.er1
  138260. - ac_status=$?
  138261. - grep -v '^ *+' conftest.er1 >conftest.err
  138262. - rm -f conftest.er1
  138263. - cat conftest.err >&5
  138264. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  138265. - (exit $ac_status); } && {
  138266. - test -z "$ac_cxx_werror_flag" ||
  138267. - test ! -s conftest.err
  138268. - } && test -s conftest.$ac_objext; then
  138269. +if ac_fn_cxx_try_compile "$LINENO"; then :
  138270. ac_cv_prog_cxx_g=yes
  138271. else
  138272. - $as_echo "$as_me: failed program was:" >&5
  138273. -sed 's/^/| /' conftest.$ac_ext >&5
  138274. -
  138275. - CXXFLAGS=""
  138276. - cat >conftest.$ac_ext <<_ACEOF
  138277. -/* confdefs.h. */
  138278. -_ACEOF
  138279. -cat confdefs.h >>conftest.$ac_ext
  138280. -cat >>conftest.$ac_ext <<_ACEOF
  138281. + CXXFLAGS=""
  138282. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  138283. /* end confdefs.h. */
  138284. int
  138285. @@ -2456,36 +2554,12 @@
  138286. return 0;
  138287. }
  138288. _ACEOF
  138289. -rm -f conftest.$ac_objext
  138290. -if { (ac_try="$ac_compile"
  138291. -case "(($ac_try" in
  138292. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  138293. - *) ac_try_echo=$ac_try;;
  138294. -esac
  138295. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  138296. -$as_echo "$ac_try_echo") >&5
  138297. - (eval "$ac_compile") 2>conftest.er1
  138298. - ac_status=$?
  138299. - grep -v '^ *+' conftest.er1 >conftest.err
  138300. - rm -f conftest.er1
  138301. - cat conftest.err >&5
  138302. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  138303. - (exit $ac_status); } && {
  138304. - test -z "$ac_cxx_werror_flag" ||
  138305. - test ! -s conftest.err
  138306. - } && test -s conftest.$ac_objext; then
  138307. - :
  138308. -else
  138309. - $as_echo "$as_me: failed program was:" >&5
  138310. -sed 's/^/| /' conftest.$ac_ext >&5
  138311. +if ac_fn_cxx_try_compile "$LINENO"; then :
  138312. - ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  138313. +else
  138314. + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  138315. CXXFLAGS="-g"
  138316. - cat >conftest.$ac_ext <<_ACEOF
  138317. -/* confdefs.h. */
  138318. -_ACEOF
  138319. -cat confdefs.h >>conftest.$ac_ext
  138320. -cat >>conftest.$ac_ext <<_ACEOF
  138321. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  138322. /* end confdefs.h. */
  138323. int
  138324. @@ -2496,42 +2570,17 @@
  138325. return 0;
  138326. }
  138327. _ACEOF
  138328. -rm -f conftest.$ac_objext
  138329. -if { (ac_try="$ac_compile"
  138330. -case "(($ac_try" in
  138331. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  138332. - *) ac_try_echo=$ac_try;;
  138333. -esac
  138334. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  138335. -$as_echo "$ac_try_echo") >&5
  138336. - (eval "$ac_compile") 2>conftest.er1
  138337. - ac_status=$?
  138338. - grep -v '^ *+' conftest.er1 >conftest.err
  138339. - rm -f conftest.er1
  138340. - cat conftest.err >&5
  138341. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  138342. - (exit $ac_status); } && {
  138343. - test -z "$ac_cxx_werror_flag" ||
  138344. - test ! -s conftest.err
  138345. - } && test -s conftest.$ac_objext; then
  138346. +if ac_fn_cxx_try_compile "$LINENO"; then :
  138347. ac_cv_prog_cxx_g=yes
  138348. -else
  138349. - $as_echo "$as_me: failed program was:" >&5
  138350. -sed 's/^/| /' conftest.$ac_ext >&5
  138351. -
  138352. -
  138353. fi
  138354. -
  138355. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  138356. fi
  138357. -
  138358. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  138359. fi
  138360. -
  138361. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  138362. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  138363. fi
  138364. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
  138365. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  138366. $as_echo "$ac_cv_prog_cxx_g" >&6; }
  138367. if test "$ac_test_CXXFLAGS" = set; then
  138368. CXXFLAGS=$ac_save_CXXFLAGS
  138369. @@ -2562,9 +2611,9 @@
  138370. if test -n "$ac_tool_prefix"; then
  138371. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  138372. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  138373. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  138374. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  138375. $as_echo_n "checking for $ac_word... " >&6; }
  138376. -if test "${ac_cv_prog_CC+set}" = set; then
  138377. +if test "${ac_cv_prog_CC+set}" = set; then :
  138378. $as_echo_n "(cached) " >&6
  138379. else
  138380. if test -n "$CC"; then
  138381. @@ -2575,24 +2624,24 @@
  138382. do
  138383. IFS=$as_save_IFS
  138384. test -z "$as_dir" && as_dir=.
  138385. - for ac_exec_ext in '' $ac_executable_extensions; do
  138386. + for ac_exec_ext in '' $ac_executable_extensions; do
  138387. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  138388. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  138389. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  138390. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  138391. break 2
  138392. fi
  138393. done
  138394. -done
  138395. + done
  138396. IFS=$as_save_IFS
  138397. fi
  138398. fi
  138399. CC=$ac_cv_prog_CC
  138400. if test -n "$CC"; then
  138401. - { $as_echo "$as_me:$LINENO: result: $CC" >&5
  138402. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  138403. $as_echo "$CC" >&6; }
  138404. else
  138405. - { $as_echo "$as_me:$LINENO: result: no" >&5
  138406. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  138407. $as_echo "no" >&6; }
  138408. fi
  138409. @@ -2602,9 +2651,9 @@
  138410. ac_ct_CC=$CC
  138411. # Extract the first word of "gcc", so it can be a program name with args.
  138412. set dummy gcc; ac_word=$2
  138413. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  138414. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  138415. $as_echo_n "checking for $ac_word... " >&6; }
  138416. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  138417. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  138418. $as_echo_n "(cached) " >&6
  138419. else
  138420. if test -n "$ac_ct_CC"; then
  138421. @@ -2615,24 +2664,24 @@
  138422. do
  138423. IFS=$as_save_IFS
  138424. test -z "$as_dir" && as_dir=.
  138425. - for ac_exec_ext in '' $ac_executable_extensions; do
  138426. + for ac_exec_ext in '' $ac_executable_extensions; do
  138427. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  138428. ac_cv_prog_ac_ct_CC="gcc"
  138429. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  138430. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  138431. break 2
  138432. fi
  138433. done
  138434. -done
  138435. + done
  138436. IFS=$as_save_IFS
  138437. fi
  138438. fi
  138439. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  138440. if test -n "$ac_ct_CC"; then
  138441. - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  138442. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  138443. $as_echo "$ac_ct_CC" >&6; }
  138444. else
  138445. - { $as_echo "$as_me:$LINENO: result: no" >&5
  138446. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  138447. $as_echo "no" >&6; }
  138448. fi
  138449. @@ -2641,12 +2690,8 @@
  138450. else
  138451. case $cross_compiling:$ac_tool_warned in
  138452. yes:)
  138453. -{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  138454. -whose name does not start with the host triplet. If you think this
  138455. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  138456. -$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  138457. -whose name does not start with the host triplet. If you think this
  138458. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  138459. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  138460. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  138461. ac_tool_warned=yes ;;
  138462. esac
  138463. CC=$ac_ct_CC
  138464. @@ -2659,9 +2704,9 @@
  138465. if test -n "$ac_tool_prefix"; then
  138466. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  138467. set dummy ${ac_tool_prefix}cc; ac_word=$2
  138468. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  138469. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  138470. $as_echo_n "checking for $ac_word... " >&6; }
  138471. -if test "${ac_cv_prog_CC+set}" = set; then
  138472. +if test "${ac_cv_prog_CC+set}" = set; then :
  138473. $as_echo_n "(cached) " >&6
  138474. else
  138475. if test -n "$CC"; then
  138476. @@ -2672,24 +2717,24 @@
  138477. do
  138478. IFS=$as_save_IFS
  138479. test -z "$as_dir" && as_dir=.
  138480. - for ac_exec_ext in '' $ac_executable_extensions; do
  138481. + for ac_exec_ext in '' $ac_executable_extensions; do
  138482. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  138483. ac_cv_prog_CC="${ac_tool_prefix}cc"
  138484. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  138485. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  138486. break 2
  138487. fi
  138488. done
  138489. -done
  138490. + done
  138491. IFS=$as_save_IFS
  138492. fi
  138493. fi
  138494. CC=$ac_cv_prog_CC
  138495. if test -n "$CC"; then
  138496. - { $as_echo "$as_me:$LINENO: result: $CC" >&5
  138497. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  138498. $as_echo "$CC" >&6; }
  138499. else
  138500. - { $as_echo "$as_me:$LINENO: result: no" >&5
  138501. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  138502. $as_echo "no" >&6; }
  138503. fi
  138504. @@ -2699,9 +2744,9 @@
  138505. if test -z "$CC"; then
  138506. # Extract the first word of "cc", so it can be a program name with args.
  138507. set dummy cc; ac_word=$2
  138508. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  138509. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  138510. $as_echo_n "checking for $ac_word... " >&6; }
  138511. -if test "${ac_cv_prog_CC+set}" = set; then
  138512. +if test "${ac_cv_prog_CC+set}" = set; then :
  138513. $as_echo_n "(cached) " >&6
  138514. else
  138515. if test -n "$CC"; then
  138516. @@ -2713,18 +2758,18 @@
  138517. do
  138518. IFS=$as_save_IFS
  138519. test -z "$as_dir" && as_dir=.
  138520. - for ac_exec_ext in '' $ac_executable_extensions; do
  138521. + for ac_exec_ext in '' $ac_executable_extensions; do
  138522. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  138523. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  138524. ac_prog_rejected=yes
  138525. continue
  138526. fi
  138527. ac_cv_prog_CC="cc"
  138528. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  138529. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  138530. break 2
  138531. fi
  138532. done
  138533. -done
  138534. + done
  138535. IFS=$as_save_IFS
  138536. if test $ac_prog_rejected = yes; then
  138537. @@ -2743,10 +2788,10 @@
  138538. fi
  138539. CC=$ac_cv_prog_CC
  138540. if test -n "$CC"; then
  138541. - { $as_echo "$as_me:$LINENO: result: $CC" >&5
  138542. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  138543. $as_echo "$CC" >&6; }
  138544. else
  138545. - { $as_echo "$as_me:$LINENO: result: no" >&5
  138546. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  138547. $as_echo "no" >&6; }
  138548. fi
  138549. @@ -2758,9 +2803,9 @@
  138550. do
  138551. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  138552. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  138553. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  138554. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  138555. $as_echo_n "checking for $ac_word... " >&6; }
  138556. -if test "${ac_cv_prog_CC+set}" = set; then
  138557. +if test "${ac_cv_prog_CC+set}" = set; then :
  138558. $as_echo_n "(cached) " >&6
  138559. else
  138560. if test -n "$CC"; then
  138561. @@ -2771,24 +2816,24 @@
  138562. do
  138563. IFS=$as_save_IFS
  138564. test -z "$as_dir" && as_dir=.
  138565. - for ac_exec_ext in '' $ac_executable_extensions; do
  138566. + for ac_exec_ext in '' $ac_executable_extensions; do
  138567. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  138568. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  138569. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  138570. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  138571. break 2
  138572. fi
  138573. done
  138574. -done
  138575. + done
  138576. IFS=$as_save_IFS
  138577. fi
  138578. fi
  138579. CC=$ac_cv_prog_CC
  138580. if test -n "$CC"; then
  138581. - { $as_echo "$as_me:$LINENO: result: $CC" >&5
  138582. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  138583. $as_echo "$CC" >&6; }
  138584. else
  138585. - { $as_echo "$as_me:$LINENO: result: no" >&5
  138586. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  138587. $as_echo "no" >&6; }
  138588. fi
  138589. @@ -2802,9 +2847,9 @@
  138590. do
  138591. # Extract the first word of "$ac_prog", so it can be a program name with args.
  138592. set dummy $ac_prog; ac_word=$2
  138593. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  138594. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  138595. $as_echo_n "checking for $ac_word... " >&6; }
  138596. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  138597. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  138598. $as_echo_n "(cached) " >&6
  138599. else
  138600. if test -n "$ac_ct_CC"; then
  138601. @@ -2815,24 +2860,24 @@
  138602. do
  138603. IFS=$as_save_IFS
  138604. test -z "$as_dir" && as_dir=.
  138605. - for ac_exec_ext in '' $ac_executable_extensions; do
  138606. + for ac_exec_ext in '' $ac_executable_extensions; do
  138607. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  138608. ac_cv_prog_ac_ct_CC="$ac_prog"
  138609. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  138610. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  138611. break 2
  138612. fi
  138613. done
  138614. -done
  138615. + done
  138616. IFS=$as_save_IFS
  138617. fi
  138618. fi
  138619. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  138620. if test -n "$ac_ct_CC"; then
  138621. - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  138622. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  138623. $as_echo "$ac_ct_CC" >&6; }
  138624. else
  138625. - { $as_echo "$as_me:$LINENO: result: no" >&5
  138626. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  138627. $as_echo "no" >&6; }
  138628. fi
  138629. @@ -2845,12 +2890,8 @@
  138630. else
  138631. case $cross_compiling:$ac_tool_warned in
  138632. yes:)
  138633. -{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  138634. -whose name does not start with the host triplet. If you think this
  138635. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  138636. -$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  138637. -whose name does not start with the host triplet. If you think this
  138638. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  138639. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  138640. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  138641. ac_tool_warned=yes ;;
  138642. esac
  138643. CC=$ac_ct_CC
  138644. @@ -2860,60 +2901,42 @@
  138645. fi
  138646. -test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  138647. -See \`config.log' for more details." >&5
  138648. -$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  138649. -See \`config.log' for more details." >&2;}
  138650. - { (exit 1); exit 1; }; }
  138651. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  138652. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  138653. +as_fn_error "no acceptable C compiler found in \$PATH
  138654. +See \`config.log' for more details." "$LINENO" 5; }
  138655. # Provide some information about the compiler.
  138656. -$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  138657. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  138658. set X $ac_compile
  138659. ac_compiler=$2
  138660. -{ (ac_try="$ac_compiler --version >&5"
  138661. -case "(($ac_try" in
  138662. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  138663. - *) ac_try_echo=$ac_try;;
  138664. -esac
  138665. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  138666. -$as_echo "$ac_try_echo") >&5
  138667. - (eval "$ac_compiler --version >&5") 2>&5
  138668. - ac_status=$?
  138669. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  138670. - (exit $ac_status); }
  138671. -{ (ac_try="$ac_compiler -v >&5"
  138672. -case "(($ac_try" in
  138673. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  138674. - *) ac_try_echo=$ac_try;;
  138675. -esac
  138676. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  138677. -$as_echo "$ac_try_echo") >&5
  138678. - (eval "$ac_compiler -v >&5") 2>&5
  138679. - ac_status=$?
  138680. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  138681. - (exit $ac_status); }
  138682. -{ (ac_try="$ac_compiler -V >&5"
  138683. +for ac_option in --version -v -V -qversion; do
  138684. + { { ac_try="$ac_compiler $ac_option >&5"
  138685. case "(($ac_try" in
  138686. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  138687. *) ac_try_echo=$ac_try;;
  138688. esac
  138689. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  138690. -$as_echo "$ac_try_echo") >&5
  138691. - (eval "$ac_compiler -V >&5") 2>&5
  138692. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  138693. +$as_echo "$ac_try_echo"; } >&5
  138694. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  138695. ac_status=$?
  138696. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  138697. - (exit $ac_status); }
  138698. + if test -s conftest.err; then
  138699. + sed '10a\
  138700. +... rest of stderr output deleted ...
  138701. + 10q' conftest.err >conftest.er1
  138702. + cat conftest.er1 >&5
  138703. + fi
  138704. + rm -f conftest.er1 conftest.err
  138705. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  138706. + test $ac_status = 0; }
  138707. +done
  138708. -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  138709. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  138710. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  138711. -if test "${ac_cv_c_compiler_gnu+set}" = set; then
  138712. +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  138713. $as_echo_n "(cached) " >&6
  138714. else
  138715. - cat >conftest.$ac_ext <<_ACEOF
  138716. -/* confdefs.h. */
  138717. -_ACEOF
  138718. -cat confdefs.h >>conftest.$ac_ext
  138719. -cat >>conftest.$ac_ext <<_ACEOF
  138720. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  138721. /* end confdefs.h. */
  138722. int
  138723. @@ -2927,37 +2950,16 @@
  138724. return 0;
  138725. }
  138726. _ACEOF
  138727. -rm -f conftest.$ac_objext
  138728. -if { (ac_try="$ac_compile"
  138729. -case "(($ac_try" in
  138730. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  138731. - *) ac_try_echo=$ac_try;;
  138732. -esac
  138733. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  138734. -$as_echo "$ac_try_echo") >&5
  138735. - (eval "$ac_compile") 2>conftest.er1
  138736. - ac_status=$?
  138737. - grep -v '^ *+' conftest.er1 >conftest.err
  138738. - rm -f conftest.er1
  138739. - cat conftest.err >&5
  138740. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  138741. - (exit $ac_status); } && {
  138742. - test -z "$ac_c_werror_flag" ||
  138743. - test ! -s conftest.err
  138744. - } && test -s conftest.$ac_objext; then
  138745. +if ac_fn_c_try_compile "$LINENO"; then :
  138746. ac_compiler_gnu=yes
  138747. else
  138748. - $as_echo "$as_me: failed program was:" >&5
  138749. -sed 's/^/| /' conftest.$ac_ext >&5
  138750. -
  138751. - ac_compiler_gnu=no
  138752. + ac_compiler_gnu=no
  138753. fi
  138754. -
  138755. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  138756. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  138757. fi
  138758. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  138759. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  138760. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  138761. if test $ac_compiler_gnu = yes; then
  138762. GCC=yes
  138763. @@ -2966,59 +2968,16 @@
  138764. fi
  138765. ac_test_CFLAGS=${CFLAGS+set}
  138766. ac_save_CFLAGS=$CFLAGS
  138767. -{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  138768. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  138769. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  138770. -if test "${ac_cv_prog_cc_g+set}" = set; then
  138771. +if test "${ac_cv_prog_cc_g+set}" = set; then :
  138772. $as_echo_n "(cached) " >&6
  138773. else
  138774. ac_save_c_werror_flag=$ac_c_werror_flag
  138775. ac_c_werror_flag=yes
  138776. ac_cv_prog_cc_g=no
  138777. CFLAGS="-g"
  138778. - cat >conftest.$ac_ext <<_ACEOF
  138779. -/* confdefs.h. */
  138780. -_ACEOF
  138781. -cat confdefs.h >>conftest.$ac_ext
  138782. -cat >>conftest.$ac_ext <<_ACEOF
  138783. -/* end confdefs.h. */
  138784. -
  138785. -int
  138786. -main ()
  138787. -{
  138788. -
  138789. - ;
  138790. - return 0;
  138791. -}
  138792. -_ACEOF
  138793. -rm -f conftest.$ac_objext
  138794. -if { (ac_try="$ac_compile"
  138795. -case "(($ac_try" in
  138796. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  138797. - *) ac_try_echo=$ac_try;;
  138798. -esac
  138799. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  138800. -$as_echo "$ac_try_echo") >&5
  138801. - (eval "$ac_compile") 2>conftest.er1
  138802. - ac_status=$?
  138803. - grep -v '^ *+' conftest.er1 >conftest.err
  138804. - rm -f conftest.er1
  138805. - cat conftest.err >&5
  138806. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  138807. - (exit $ac_status); } && {
  138808. - test -z "$ac_c_werror_flag" ||
  138809. - test ! -s conftest.err
  138810. - } && test -s conftest.$ac_objext; then
  138811. - ac_cv_prog_cc_g=yes
  138812. -else
  138813. - $as_echo "$as_me: failed program was:" >&5
  138814. -sed 's/^/| /' conftest.$ac_ext >&5
  138815. -
  138816. - CFLAGS=""
  138817. - cat >conftest.$ac_ext <<_ACEOF
  138818. -/* confdefs.h. */
  138819. -_ACEOF
  138820. -cat confdefs.h >>conftest.$ac_ext
  138821. -cat >>conftest.$ac_ext <<_ACEOF
  138822. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  138823. /* end confdefs.h. */
  138824. int
  138825. @@ -3027,38 +2986,13 @@
  138826. ;
  138827. return 0;
  138828. -}
  138829. -_ACEOF
  138830. -rm -f conftest.$ac_objext
  138831. -if { (ac_try="$ac_compile"
  138832. -case "(($ac_try" in
  138833. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  138834. - *) ac_try_echo=$ac_try;;
  138835. -esac
  138836. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  138837. -$as_echo "$ac_try_echo") >&5
  138838. - (eval "$ac_compile") 2>conftest.er1
  138839. - ac_status=$?
  138840. - grep -v '^ *+' conftest.er1 >conftest.err
  138841. - rm -f conftest.er1
  138842. - cat conftest.err >&5
  138843. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  138844. - (exit $ac_status); } && {
  138845. - test -z "$ac_c_werror_flag" ||
  138846. - test ! -s conftest.err
  138847. - } && test -s conftest.$ac_objext; then
  138848. - :
  138849. -else
  138850. - $as_echo "$as_me: failed program was:" >&5
  138851. -sed 's/^/| /' conftest.$ac_ext >&5
  138852. -
  138853. - ac_c_werror_flag=$ac_save_c_werror_flag
  138854. - CFLAGS="-g"
  138855. - cat >conftest.$ac_ext <<_ACEOF
  138856. -/* confdefs.h. */
  138857. +}
  138858. _ACEOF
  138859. -cat confdefs.h >>conftest.$ac_ext
  138860. -cat >>conftest.$ac_ext <<_ACEOF
  138861. +if ac_fn_c_try_compile "$LINENO"; then :
  138862. + ac_cv_prog_cc_g=yes
  138863. +else
  138864. + CFLAGS=""
  138865. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  138866. /* end confdefs.h. */
  138867. int
  138868. @@ -3069,42 +3003,33 @@
  138869. return 0;
  138870. }
  138871. _ACEOF
  138872. -rm -f conftest.$ac_objext
  138873. -if { (ac_try="$ac_compile"
  138874. -case "(($ac_try" in
  138875. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  138876. - *) ac_try_echo=$ac_try;;
  138877. -esac
  138878. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  138879. -$as_echo "$ac_try_echo") >&5
  138880. - (eval "$ac_compile") 2>conftest.er1
  138881. - ac_status=$?
  138882. - grep -v '^ *+' conftest.er1 >conftest.err
  138883. - rm -f conftest.er1
  138884. - cat conftest.err >&5
  138885. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  138886. - (exit $ac_status); } && {
  138887. - test -z "$ac_c_werror_flag" ||
  138888. - test ! -s conftest.err
  138889. - } && test -s conftest.$ac_objext; then
  138890. - ac_cv_prog_cc_g=yes
  138891. +if ac_fn_c_try_compile "$LINENO"; then :
  138892. +
  138893. else
  138894. - $as_echo "$as_me: failed program was:" >&5
  138895. -sed 's/^/| /' conftest.$ac_ext >&5
  138896. + ac_c_werror_flag=$ac_save_c_werror_flag
  138897. + CFLAGS="-g"
  138898. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  138899. +/* end confdefs.h. */
  138900. +int
  138901. +main ()
  138902. +{
  138903. + ;
  138904. + return 0;
  138905. +}
  138906. +_ACEOF
  138907. +if ac_fn_c_try_compile "$LINENO"; then :
  138908. + ac_cv_prog_cc_g=yes
  138909. fi
  138910. -
  138911. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  138912. fi
  138913. -
  138914. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  138915. fi
  138916. -
  138917. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  138918. ac_c_werror_flag=$ac_save_c_werror_flag
  138919. fi
  138920. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  138921. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  138922. $as_echo "$ac_cv_prog_cc_g" >&6; }
  138923. if test "$ac_test_CFLAGS" = set; then
  138924. CFLAGS=$ac_save_CFLAGS
  138925. @@ -3121,18 +3046,14 @@
  138926. CFLAGS=
  138927. fi
  138928. fi
  138929. -{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  138930. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  138931. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  138932. -if test "${ac_cv_prog_cc_c89+set}" = set; then
  138933. +if test "${ac_cv_prog_cc_c89+set}" = set; then :
  138934. $as_echo_n "(cached) " >&6
  138935. else
  138936. ac_cv_prog_cc_c89=no
  138937. ac_save_CC=$CC
  138938. -cat >conftest.$ac_ext <<_ACEOF
  138939. -/* confdefs.h. */
  138940. -_ACEOF
  138941. -cat confdefs.h >>conftest.$ac_ext
  138942. -cat >>conftest.$ac_ext <<_ACEOF
  138943. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  138944. /* end confdefs.h. */
  138945. #include <stdarg.h>
  138946. #include <stdio.h>
  138947. @@ -3189,32 +3110,9 @@
  138948. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  138949. do
  138950. CC="$ac_save_CC $ac_arg"
  138951. - rm -f conftest.$ac_objext
  138952. -if { (ac_try="$ac_compile"
  138953. -case "(($ac_try" in
  138954. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  138955. - *) ac_try_echo=$ac_try;;
  138956. -esac
  138957. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  138958. -$as_echo "$ac_try_echo") >&5
  138959. - (eval "$ac_compile") 2>conftest.er1
  138960. - ac_status=$?
  138961. - grep -v '^ *+' conftest.er1 >conftest.err
  138962. - rm -f conftest.er1
  138963. - cat conftest.err >&5
  138964. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  138965. - (exit $ac_status); } && {
  138966. - test -z "$ac_c_werror_flag" ||
  138967. - test ! -s conftest.err
  138968. - } && test -s conftest.$ac_objext; then
  138969. + if ac_fn_c_try_compile "$LINENO"; then :
  138970. ac_cv_prog_cc_c89=$ac_arg
  138971. -else
  138972. - $as_echo "$as_me: failed program was:" >&5
  138973. -sed 's/^/| /' conftest.$ac_ext >&5
  138974. -
  138975. -
  138976. fi
  138977. -
  138978. rm -f core conftest.err conftest.$ac_objext
  138979. test "x$ac_cv_prog_cc_c89" != "xno" && break
  138980. done
  138981. @@ -3225,17 +3123,19 @@
  138982. # AC_CACHE_VAL
  138983. case "x$ac_cv_prog_cc_c89" in
  138984. x)
  138985. - { $as_echo "$as_me:$LINENO: result: none needed" >&5
  138986. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  138987. $as_echo "none needed" >&6; } ;;
  138988. xno)
  138989. - { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  138990. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  138991. $as_echo "unsupported" >&6; } ;;
  138992. *)
  138993. CC="$CC $ac_cv_prog_cc_c89"
  138994. - { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  138995. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  138996. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  138997. esac
  138998. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  138999. +fi
  139000. ac_ext=c
  139001. ac_cpp='$CPP $CPPFLAGS'
  139002. @@ -3243,11 +3143,11 @@
  139003. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  139004. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  139005. -{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  139006. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  139007. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  139008. set x ${MAKE-make}
  139009. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  139010. -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  139011. +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  139012. $as_echo_n "(cached) " >&6
  139013. else
  139014. cat >conftest.make <<\_ACEOF
  139015. @@ -3265,17 +3165,17 @@
  139016. rm -f conftest.make
  139017. fi
  139018. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  139019. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  139020. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  139021. $as_echo "yes" >&6; }
  139022. SET_MAKE=
  139023. else
  139024. - { $as_echo "$as_me:$LINENO: result: no" >&5
  139025. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  139026. $as_echo "no" >&6; }
  139027. SET_MAKE="MAKE=${MAKE-make}"
  139028. fi
  139029. # for old automakes - like squid-cache.orgs!
  139030. -am__api_version='1.10'
  139031. +am__api_version='1.11'
  139032. # Find a good install program. We prefer a C program (faster),
  139033. # so one script is as good as another. But avoid the broken or
  139034. @@ -3291,10 +3191,10 @@
  139035. # OS/2's system install, which has a completely different semantic
  139036. # ./install, which can be erroneously created by make from ./install.sh.
  139037. # Reject install programs that cannot install multiple files.
  139038. -{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  139039. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  139040. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  139041. if test -z "$INSTALL"; then
  139042. -if test "${ac_cv_path_install+set}" = set; then
  139043. +if test "${ac_cv_path_install+set}" = set; then :
  139044. $as_echo_n "(cached) " >&6
  139045. else
  139046. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  139047. @@ -3302,11 +3202,11 @@
  139048. do
  139049. IFS=$as_save_IFS
  139050. test -z "$as_dir" && as_dir=.
  139051. - # Account for people who put trailing slashes in PATH elements.
  139052. -case $as_dir/ in
  139053. - ./ | .// | /cC/* | \
  139054. + # Account for people who put trailing slashes in PATH elements.
  139055. +case $as_dir/ in #((
  139056. + ./ | .// | /[cC]/* | \
  139057. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  139058. - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  139059. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  139060. /usr/ucb/* ) ;;
  139061. *)
  139062. # OSF1 and SCO ODT 3.0 have their own names for install.
  139063. @@ -3343,7 +3243,7 @@
  139064. ;;
  139065. esac
  139066. -done
  139067. + done
  139068. IFS=$as_save_IFS
  139069. rm -rf conftest.one conftest.two conftest.dir
  139070. @@ -3359,7 +3259,7 @@
  139071. INSTALL=$ac_install_sh
  139072. fi
  139073. fi
  139074. -{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  139075. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  139076. $as_echo "$INSTALL" >&6; }
  139077. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  139078. @@ -3370,21 +3270,34 @@
  139079. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  139080. -{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  139081. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  139082. $as_echo_n "checking whether build environment is sane... " >&6; }
  139083. # Just in case
  139084. sleep 1
  139085. echo timestamp > conftest.file
  139086. +# Reject unsafe characters in $srcdir or the absolute working directory
  139087. +# name. Accept space and tab only in the latter.
  139088. +am_lf='
  139089. +'
  139090. +case `pwd` in
  139091. + *[\\\"\#\$\&\'\`$am_lf]*)
  139092. + as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  139093. +esac
  139094. +case $srcdir in
  139095. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  139096. + as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  139097. +esac
  139098. +
  139099. # Do `set' in a subshell so we don't clobber the current shell's
  139100. # arguments. Must try -L first in case configure is actually a
  139101. # symlink; some systems play weird games with the mod time of symlinks
  139102. # (eg FreeBSD returns the mod time of the symlink's containing
  139103. # directory).
  139104. if (
  139105. - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  139106. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  139107. if test "$*" = "X"; then
  139108. # -L didn't work.
  139109. - set X `ls -t $srcdir/configure conftest.file`
  139110. + set X `ls -t "$srcdir/configure" conftest.file`
  139111. fi
  139112. rm -f conftest.file
  139113. if test "$*" != "X $srcdir/configure conftest.file" \
  139114. @@ -3394,11 +3307,8 @@
  139115. # if, for instance, CONFIG_SHELL is bash and it inherits a
  139116. # broken ls alias from the environment. This has actually
  139117. # happened. Such a system could not be considered "sane".
  139118. - { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
  139119. -alias in your environment" >&5
  139120. -$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
  139121. -alias in your environment" >&2;}
  139122. - { (exit 1); exit 1; }; }
  139123. + as_fn_error "ls -t appears to fail. Make sure there is not a broken
  139124. +alias in your environment" "$LINENO" 5
  139125. fi
  139126. test "$2" = conftest.file
  139127. @@ -3407,13 +3317,10 @@
  139128. # Ok.
  139129. :
  139130. else
  139131. - { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  139132. -Check your system clock" >&5
  139133. -$as_echo "$as_me: error: newly created file is older than distributed files!
  139134. -Check your system clock" >&2;}
  139135. - { (exit 1); exit 1; }; }
  139136. + as_fn_error "newly created file is older than distributed files!
  139137. +Check your system clock" "$LINENO" 5
  139138. fi
  139139. -{ $as_echo "$as_me:$LINENO: result: yes" >&5
  139140. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  139141. $as_echo "yes" >&6; }
  139142. test "$program_prefix" != NONE &&
  139143. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  139144. @@ -3428,20 +3335,136 @@
  139145. # expand $ac_aux_dir to an absolute path
  139146. am_aux_dir=`cd $ac_aux_dir && pwd`
  139147. -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  139148. +if test x"${MISSING+set}" != xset; then
  139149. + case $am_aux_dir in
  139150. + *\ * | *\ *)
  139151. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  139152. + *)
  139153. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  139154. + esac
  139155. +fi
  139156. # Use eval to expand $SHELL
  139157. if eval "$MISSING --run true"; then
  139158. am_missing_run="$MISSING --run "
  139159. else
  139160. am_missing_run=
  139161. - { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  139162. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  139163. $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  139164. fi
  139165. -{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
  139166. +if test x"${install_sh}" != xset; then
  139167. + case $am_aux_dir in
  139168. + *\ * | *\ *)
  139169. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  139170. + *)
  139171. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  139172. + esac
  139173. +fi
  139174. +
  139175. +# Installed binaries are usually stripped using `strip' when the user
  139176. +# run `make install-strip'. However `strip' might not be the right
  139177. +# tool to use in cross-compilation environments, therefore Automake
  139178. +# will honor the `STRIP' environment variable to overrule this program.
  139179. +if test "$cross_compiling" != no; then
  139180. + if test -n "$ac_tool_prefix"; then
  139181. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  139182. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  139183. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  139184. +$as_echo_n "checking for $ac_word... " >&6; }
  139185. +if test "${ac_cv_prog_STRIP+set}" = set; then :
  139186. + $as_echo_n "(cached) " >&6
  139187. +else
  139188. + if test -n "$STRIP"; then
  139189. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  139190. +else
  139191. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  139192. +for as_dir in $PATH
  139193. +do
  139194. + IFS=$as_save_IFS
  139195. + test -z "$as_dir" && as_dir=.
  139196. + for ac_exec_ext in '' $ac_executable_extensions; do
  139197. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  139198. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  139199. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  139200. + break 2
  139201. + fi
  139202. +done
  139203. + done
  139204. +IFS=$as_save_IFS
  139205. +
  139206. +fi
  139207. +fi
  139208. +STRIP=$ac_cv_prog_STRIP
  139209. +if test -n "$STRIP"; then
  139210. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  139211. +$as_echo "$STRIP" >&6; }
  139212. +else
  139213. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  139214. +$as_echo "no" >&6; }
  139215. +fi
  139216. +
  139217. +
  139218. +fi
  139219. +if test -z "$ac_cv_prog_STRIP"; then
  139220. + ac_ct_STRIP=$STRIP
  139221. + # Extract the first word of "strip", so it can be a program name with args.
  139222. +set dummy strip; ac_word=$2
  139223. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  139224. +$as_echo_n "checking for $ac_word... " >&6; }
  139225. +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  139226. + $as_echo_n "(cached) " >&6
  139227. +else
  139228. + if test -n "$ac_ct_STRIP"; then
  139229. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  139230. +else
  139231. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  139232. +for as_dir in $PATH
  139233. +do
  139234. + IFS=$as_save_IFS
  139235. + test -z "$as_dir" && as_dir=.
  139236. + for ac_exec_ext in '' $ac_executable_extensions; do
  139237. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  139238. + ac_cv_prog_ac_ct_STRIP="strip"
  139239. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  139240. + break 2
  139241. + fi
  139242. +done
  139243. + done
  139244. +IFS=$as_save_IFS
  139245. +
  139246. +fi
  139247. +fi
  139248. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  139249. +if test -n "$ac_ct_STRIP"; then
  139250. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  139251. +$as_echo "$ac_ct_STRIP" >&6; }
  139252. +else
  139253. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  139254. +$as_echo "no" >&6; }
  139255. +fi
  139256. +
  139257. + if test "x$ac_ct_STRIP" = x; then
  139258. + STRIP=":"
  139259. + else
  139260. + case $cross_compiling:$ac_tool_warned in
  139261. +yes:)
  139262. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  139263. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  139264. +ac_tool_warned=yes ;;
  139265. +esac
  139266. + STRIP=$ac_ct_STRIP
  139267. + fi
  139268. +else
  139269. + STRIP="$ac_cv_prog_STRIP"
  139270. +fi
  139271. +
  139272. +fi
  139273. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  139274. +
  139275. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  139276. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  139277. if test -z "$MKDIR_P"; then
  139278. - if test "${ac_cv_path_mkdir+set}" = set; then
  139279. + if test "${ac_cv_path_mkdir+set}" = set; then :
  139280. $as_echo_n "(cached) " >&6
  139281. else
  139282. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  139283. @@ -3449,7 +3472,7 @@
  139284. do
  139285. IFS=$as_save_IFS
  139286. test -z "$as_dir" && as_dir=.
  139287. - for ac_prog in mkdir gmkdir; do
  139288. + for ac_prog in mkdir gmkdir; do
  139289. for ac_exec_ext in '' $ac_executable_extensions; do
  139290. { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  139291. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  139292. @@ -3461,11 +3484,12 @@
  139293. esac
  139294. done
  139295. done
  139296. -done
  139297. + done
  139298. IFS=$as_save_IFS
  139299. fi
  139300. + test -d ./--version && rmdir ./--version
  139301. if test "${ac_cv_path_mkdir+set}" = set; then
  139302. MKDIR_P="$ac_cv_path_mkdir -p"
  139303. else
  139304. @@ -3473,11 +3497,10 @@
  139305. # value for MKDIR_P within a source directory, because that will
  139306. # break other packages using the cache if that directory is
  139307. # removed, or if the value is a relative name.
  139308. - test -d ./--version && rmdir ./--version
  139309. MKDIR_P="$ac_install_sh -d"
  139310. fi
  139311. fi
  139312. -{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
  139313. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  139314. $as_echo "$MKDIR_P" >&6; }
  139315. mkdir_p="$MKDIR_P"
  139316. @@ -3490,9 +3513,9 @@
  139317. do
  139318. # Extract the first word of "$ac_prog", so it can be a program name with args.
  139319. set dummy $ac_prog; ac_word=$2
  139320. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  139321. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  139322. $as_echo_n "checking for $ac_word... " >&6; }
  139323. -if test "${ac_cv_prog_AWK+set}" = set; then
  139324. +if test "${ac_cv_prog_AWK+set}" = set; then :
  139325. $as_echo_n "(cached) " >&6
  139326. else
  139327. if test -n "$AWK"; then
  139328. @@ -3503,24 +3526,24 @@
  139329. do
  139330. IFS=$as_save_IFS
  139331. test -z "$as_dir" && as_dir=.
  139332. - for ac_exec_ext in '' $ac_executable_extensions; do
  139333. + for ac_exec_ext in '' $ac_executable_extensions; do
  139334. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  139335. ac_cv_prog_AWK="$ac_prog"
  139336. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  139337. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  139338. break 2
  139339. fi
  139340. done
  139341. -done
  139342. + done
  139343. IFS=$as_save_IFS
  139344. fi
  139345. fi
  139346. AWK=$ac_cv_prog_AWK
  139347. if test -n "$AWK"; then
  139348. - { $as_echo "$as_me:$LINENO: result: $AWK" >&5
  139349. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  139350. $as_echo "$AWK" >&6; }
  139351. else
  139352. - { $as_echo "$as_me:$LINENO: result: no" >&5
  139353. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  139354. $as_echo "no" >&6; }
  139355. fi
  139356. @@ -3545,44 +3568,44 @@
  139357. am_make=${MAKE-make}
  139358. cat > confinc << 'END'
  139359. am__doit:
  139360. - @echo done
  139361. + @echo this is the am__doit target
  139362. .PHONY: am__doit
  139363. END
  139364. # If we don't find an include directive, just comment out the code.
  139365. -{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  139366. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  139367. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  139368. am__include="#"
  139369. am__quote=
  139370. _am_result=none
  139371. # First try GNU make style include.
  139372. echo "include confinc" > confmf
  139373. -# We grep out `Entering directory' and `Leaving directory'
  139374. -# messages which can occur if `w' ends up in MAKEFLAGS.
  139375. -# In particular we don't look at `^make:' because GNU make might
  139376. -# be invoked under some other name (usually "gmake"), in which
  139377. -# case it prints its new name instead of `make'.
  139378. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  139379. - am__include=include
  139380. - am__quote=
  139381. - _am_result=GNU
  139382. -fi
  139383. +# Ignore all kinds of additional output from `make'.
  139384. +case `$am_make -s -f confmf 2> /dev/null` in #(
  139385. +*the\ am__doit\ target*)
  139386. + am__include=include
  139387. + am__quote=
  139388. + _am_result=GNU
  139389. + ;;
  139390. +esac
  139391. # Now try BSD make style include.
  139392. if test "$am__include" = "#"; then
  139393. echo '.include "confinc"' > confmf
  139394. - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  139395. - am__include=.include
  139396. - am__quote="\""
  139397. - _am_result=BSD
  139398. - fi
  139399. + case `$am_make -s -f confmf 2> /dev/null` in #(
  139400. + *the\ am__doit\ target*)
  139401. + am__include=.include
  139402. + am__quote="\""
  139403. + _am_result=BSD
  139404. + ;;
  139405. + esac
  139406. fi
  139407. -{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
  139408. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  139409. $as_echo "$_am_result" >&6; }
  139410. rm -f confinc confmf
  139411. # Check whether --enable-dependency-tracking was given.
  139412. -if test "${enable_dependency_tracking+set}" = set; then
  139413. +if test "${enable_dependency_tracking+set}" = set; then :
  139414. enableval=$enable_dependency_tracking;
  139415. fi
  139416. @@ -3605,157 +3628,49 @@
  139417. am__isrc=' -I$(srcdir)'
  139418. # test to see if srcdir already configured
  139419. if test -f $srcdir/config.status; then
  139420. - { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  139421. -$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  139422. - { (exit 1); exit 1; }; }
  139423. - fi
  139424. -fi
  139425. -
  139426. -# test whether we have cygpath
  139427. -if test -z "$CYGPATH_W"; then
  139428. - if (cygpath --version) >/dev/null 2>/dev/null; then
  139429. - CYGPATH_W='cygpath -w'
  139430. - else
  139431. - CYGPATH_W=echo
  139432. - fi
  139433. -fi
  139434. -
  139435. -
  139436. -# Define the identity of the package.
  139437. - PACKAGE=libTrie
  139438. - VERSION=0.1
  139439. -
  139440. -
  139441. -cat >>confdefs.h <<_ACEOF
  139442. -#define PACKAGE "$PACKAGE"
  139443. -_ACEOF
  139444. -
  139445. -
  139446. -cat >>confdefs.h <<_ACEOF
  139447. -#define VERSION "$VERSION"
  139448. -_ACEOF
  139449. -
  139450. -# Some tools Automake needs.
  139451. -
  139452. -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  139453. -
  139454. -
  139455. -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  139456. -
  139457. -
  139458. -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  139459. -
  139460. -
  139461. -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  139462. -
  139463. -
  139464. -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  139465. -
  139466. -install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
  139467. -
  139468. -# Installed binaries are usually stripped using `strip' when the user
  139469. -# run `make install-strip'. However `strip' might not be the right
  139470. -# tool to use in cross-compilation environments, therefore Automake
  139471. -# will honor the `STRIP' environment variable to overrule this program.
  139472. -if test "$cross_compiling" != no; then
  139473. - if test -n "$ac_tool_prefix"; then
  139474. - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  139475. -set dummy ${ac_tool_prefix}strip; ac_word=$2
  139476. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  139477. -$as_echo_n "checking for $ac_word... " >&6; }
  139478. -if test "${ac_cv_prog_STRIP+set}" = set; then
  139479. - $as_echo_n "(cached) " >&6
  139480. -else
  139481. - if test -n "$STRIP"; then
  139482. - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  139483. -else
  139484. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  139485. -for as_dir in $PATH
  139486. -do
  139487. - IFS=$as_save_IFS
  139488. - test -z "$as_dir" && as_dir=.
  139489. - for ac_exec_ext in '' $ac_executable_extensions; do
  139490. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  139491. - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  139492. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  139493. - break 2
  139494. - fi
  139495. -done
  139496. -done
  139497. -IFS=$as_save_IFS
  139498. -
  139499. -fi
  139500. -fi
  139501. -STRIP=$ac_cv_prog_STRIP
  139502. -if test -n "$STRIP"; then
  139503. - { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  139504. -$as_echo "$STRIP" >&6; }
  139505. -else
  139506. - { $as_echo "$as_me:$LINENO: result: no" >&5
  139507. -$as_echo "no" >&6; }
  139508. -fi
  139509. -
  139510. -
  139511. -fi
  139512. -if test -z "$ac_cv_prog_STRIP"; then
  139513. - ac_ct_STRIP=$STRIP
  139514. - # Extract the first word of "strip", so it can be a program name with args.
  139515. -set dummy strip; ac_word=$2
  139516. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  139517. -$as_echo_n "checking for $ac_word... " >&6; }
  139518. -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  139519. - $as_echo_n "(cached) " >&6
  139520. -else
  139521. - if test -n "$ac_ct_STRIP"; then
  139522. - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  139523. -else
  139524. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  139525. -for as_dir in $PATH
  139526. -do
  139527. - IFS=$as_save_IFS
  139528. - test -z "$as_dir" && as_dir=.
  139529. - for ac_exec_ext in '' $ac_executable_extensions; do
  139530. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  139531. - ac_cv_prog_ac_ct_STRIP="strip"
  139532. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  139533. - break 2
  139534. + as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  139535. fi
  139536. -done
  139537. -done
  139538. -IFS=$as_save_IFS
  139539. -
  139540. -fi
  139541. -fi
  139542. -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  139543. -if test -n "$ac_ct_STRIP"; then
  139544. - { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  139545. -$as_echo "$ac_ct_STRIP" >&6; }
  139546. -else
  139547. - { $as_echo "$as_me:$LINENO: result: no" >&5
  139548. -$as_echo "no" >&6; }
  139549. fi
  139550. - if test "x$ac_ct_STRIP" = x; then
  139551. - STRIP=":"
  139552. +# test whether we have cygpath
  139553. +if test -z "$CYGPATH_W"; then
  139554. + if (cygpath --version) >/dev/null 2>/dev/null; then
  139555. + CYGPATH_W='cygpath -w'
  139556. else
  139557. - case $cross_compiling:$ac_tool_warned in
  139558. -yes:)
  139559. -{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  139560. -whose name does not start with the host triplet. If you think this
  139561. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  139562. -$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  139563. -whose name does not start with the host triplet. If you think this
  139564. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  139565. -ac_tool_warned=yes ;;
  139566. -esac
  139567. - STRIP=$ac_ct_STRIP
  139568. + CYGPATH_W=echo
  139569. fi
  139570. -else
  139571. - STRIP="$ac_cv_prog_STRIP"
  139572. fi
  139573. -fi
  139574. -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  139575. +
  139576. +# Define the identity of the package.
  139577. + PACKAGE=libTrie
  139578. + VERSION=0.1
  139579. +
  139580. +
  139581. +cat >>confdefs.h <<_ACEOF
  139582. +#define PACKAGE "$PACKAGE"
  139583. +_ACEOF
  139584. +
  139585. +
  139586. +cat >>confdefs.h <<_ACEOF
  139587. +#define VERSION "$VERSION"
  139588. +_ACEOF
  139589. +
  139590. +# Some tools Automake needs.
  139591. +
  139592. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  139593. +
  139594. +
  139595. +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  139596. +
  139597. +
  139598. +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  139599. +
  139600. +
  139601. +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  139602. +
  139603. +
  139604. +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  139605. # We need awk for the "check" target. The system "awk" is bad on
  139606. # some platforms.
  139607. @@ -3770,9 +3685,9 @@
  139608. depcc="$CC" am_compiler_list=
  139609. -{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  139610. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  139611. $as_echo_n "checking dependency style of $depcc... " >&6; }
  139612. -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  139613. +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  139614. $as_echo_n "(cached) " >&6
  139615. else
  139616. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  139617. @@ -3798,6 +3713,11 @@
  139618. if test "$am_compiler_list" = ""; then
  139619. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  139620. fi
  139621. + am__universal=false
  139622. + case " $depcc " in #(
  139623. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  139624. + esac
  139625. +
  139626. for depmode in $am_compiler_list; do
  139627. # Setup a source with many dependencies, because some compilers
  139628. # like to wrap large dependency lists on column 80 (with \), and
  139629. @@ -3815,7 +3735,17 @@
  139630. done
  139631. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  139632. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  139633. + # mode. It turns out that the SunPro C++ compiler does not properly
  139634. + # handle `-M -o', and we need to detect this. Also, some Intel
  139635. + # versions had trouble with output in subdirs
  139636. + am__obj=sub/conftest.${OBJEXT-o}
  139637. + am__minus_obj="-o $am__obj"
  139638. case $depmode in
  139639. + gcc)
  139640. + # This depmode causes a compiler race in universal mode.
  139641. + test "$am__universal" = false || continue
  139642. + ;;
  139643. nosideeffect)
  139644. # after this tag, mechanisms are not by side-effect, so they'll
  139645. # only be used when explicitly requested
  139646. @@ -3825,19 +3755,23 @@
  139647. break
  139648. fi
  139649. ;;
  139650. + msvisualcpp | msvcmsys)
  139651. + # This compiler won't grok `-c -o', but also, the minuso test has
  139652. + # not run yet. These depmodes are late enough in the game, and
  139653. + # so weak that their functioning should not be impacted.
  139654. + am__obj=conftest.${OBJEXT-o}
  139655. + am__minus_obj=
  139656. + ;;
  139657. none) break ;;
  139658. esac
  139659. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  139660. - # mode. It turns out that the SunPro C++ compiler does not properly
  139661. - # handle `-M -o', and we need to detect this.
  139662. if depmode=$depmode \
  139663. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  139664. + source=sub/conftest.c object=$am__obj \
  139665. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  139666. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  139667. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  139668. >/dev/null 2>conftest.err &&
  139669. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  139670. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  139671. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  139672. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  139673. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  139674. # icc doesn't choke on unknown options, it will just issue warnings
  139675. # or remarks (even with -Werror). So we grep stderr for any message
  139676. @@ -3861,7 +3795,7 @@
  139677. fi
  139678. fi
  139679. -{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  139680. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  139681. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  139682. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  139683. @@ -3878,9 +3812,9 @@
  139684. depcc="$CXX" am_compiler_list=
  139685. -{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  139686. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  139687. $as_echo_n "checking dependency style of $depcc... " >&6; }
  139688. -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
  139689. +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
  139690. $as_echo_n "(cached) " >&6
  139691. else
  139692. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  139693. @@ -3906,6 +3840,11 @@
  139694. if test "$am_compiler_list" = ""; then
  139695. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  139696. fi
  139697. + am__universal=false
  139698. + case " $depcc " in #(
  139699. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  139700. + esac
  139701. +
  139702. for depmode in $am_compiler_list; do
  139703. # Setup a source with many dependencies, because some compilers
  139704. # like to wrap large dependency lists on column 80 (with \), and
  139705. @@ -3923,7 +3862,17 @@
  139706. done
  139707. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  139708. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  139709. + # mode. It turns out that the SunPro C++ compiler does not properly
  139710. + # handle `-M -o', and we need to detect this. Also, some Intel
  139711. + # versions had trouble with output in subdirs
  139712. + am__obj=sub/conftest.${OBJEXT-o}
  139713. + am__minus_obj="-o $am__obj"
  139714. case $depmode in
  139715. + gcc)
  139716. + # This depmode causes a compiler race in universal mode.
  139717. + test "$am__universal" = false || continue
  139718. + ;;
  139719. nosideeffect)
  139720. # after this tag, mechanisms are not by side-effect, so they'll
  139721. # only be used when explicitly requested
  139722. @@ -3933,19 +3882,23 @@
  139723. break
  139724. fi
  139725. ;;
  139726. + msvisualcpp | msvcmsys)
  139727. + # This compiler won't grok `-c -o', but also, the minuso test has
  139728. + # not run yet. These depmodes are late enough in the game, and
  139729. + # so weak that their functioning should not be impacted.
  139730. + am__obj=conftest.${OBJEXT-o}
  139731. + am__minus_obj=
  139732. + ;;
  139733. none) break ;;
  139734. esac
  139735. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  139736. - # mode. It turns out that the SunPro C++ compiler does not properly
  139737. - # handle `-M -o', and we need to detect this.
  139738. if depmode=$depmode \
  139739. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  139740. + source=sub/conftest.c object=$am__obj \
  139741. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  139742. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  139743. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  139744. >/dev/null 2>conftest.err &&
  139745. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  139746. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  139747. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  139748. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  139749. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  139750. # icc doesn't choke on unknown options, it will just issue warnings
  139751. # or remarks (even with -Werror). So we grep stderr for any message
  139752. @@ -3969,7 +3922,7 @@
  139753. fi
  139754. fi
  139755. -{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
  139756. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
  139757. $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  139758. CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  139759. @@ -3985,16 +3938,17 @@
  139760. -{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  139761. +
  139762. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  139763. $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  139764. # Check whether --enable-maintainer-mode was given.
  139765. -if test "${enable_maintainer_mode+set}" = set; then
  139766. +if test "${enable_maintainer_mode+set}" = set; then :
  139767. enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  139768. else
  139769. USE_MAINTAINER_MODE=no
  139770. fi
  139771. - { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  139772. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  139773. $as_echo "$USE_MAINTAINER_MODE" >&6; }
  139774. if test $USE_MAINTAINER_MODE = yes; then
  139775. MAINTAINER_MODE_TRUE=
  139776. @@ -4010,9 +3964,9 @@
  139777. if test -n "$ac_tool_prefix"; then
  139778. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  139779. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  139780. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  139781. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  139782. $as_echo_n "checking for $ac_word... " >&6; }
  139783. -if test "${ac_cv_prog_RANLIB+set}" = set; then
  139784. +if test "${ac_cv_prog_RANLIB+set}" = set; then :
  139785. $as_echo_n "(cached) " >&6
  139786. else
  139787. if test -n "$RANLIB"; then
  139788. @@ -4023,24 +3977,24 @@
  139789. do
  139790. IFS=$as_save_IFS
  139791. test -z "$as_dir" && as_dir=.
  139792. - for ac_exec_ext in '' $ac_executable_extensions; do
  139793. + for ac_exec_ext in '' $ac_executable_extensions; do
  139794. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  139795. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  139796. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  139797. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  139798. break 2
  139799. fi
  139800. done
  139801. -done
  139802. + done
  139803. IFS=$as_save_IFS
  139804. fi
  139805. fi
  139806. RANLIB=$ac_cv_prog_RANLIB
  139807. if test -n "$RANLIB"; then
  139808. - { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
  139809. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  139810. $as_echo "$RANLIB" >&6; }
  139811. else
  139812. - { $as_echo "$as_me:$LINENO: result: no" >&5
  139813. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  139814. $as_echo "no" >&6; }
  139815. fi
  139816. @@ -4050,9 +4004,9 @@
  139817. ac_ct_RANLIB=$RANLIB
  139818. # Extract the first word of "ranlib", so it can be a program name with args.
  139819. set dummy ranlib; ac_word=$2
  139820. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  139821. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  139822. $as_echo_n "checking for $ac_word... " >&6; }
  139823. -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  139824. +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  139825. $as_echo_n "(cached) " >&6
  139826. else
  139827. if test -n "$ac_ct_RANLIB"; then
  139828. @@ -4063,24 +4017,24 @@
  139829. do
  139830. IFS=$as_save_IFS
  139831. test -z "$as_dir" && as_dir=.
  139832. - for ac_exec_ext in '' $ac_executable_extensions; do
  139833. + for ac_exec_ext in '' $ac_executable_extensions; do
  139834. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  139835. ac_cv_prog_ac_ct_RANLIB="ranlib"
  139836. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  139837. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  139838. break 2
  139839. fi
  139840. done
  139841. -done
  139842. + done
  139843. IFS=$as_save_IFS
  139844. fi
  139845. fi
  139846. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  139847. if test -n "$ac_ct_RANLIB"; then
  139848. - { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  139849. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  139850. $as_echo "$ac_ct_RANLIB" >&6; }
  139851. else
  139852. - { $as_echo "$as_me:$LINENO: result: no" >&5
  139853. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  139854. $as_echo "no" >&6; }
  139855. fi
  139856. @@ -4089,12 +4043,8 @@
  139857. else
  139858. case $cross_compiling:$ac_tool_warned in
  139859. yes:)
  139860. -{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  139861. -whose name does not start with the host triplet. If you think this
  139862. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  139863. -$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  139864. -whose name does not start with the host triplet. If you think this
  139865. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  139866. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  139867. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  139868. ac_tool_warned=yes ;;
  139869. esac
  139870. RANLIB=$ac_ct_RANLIB
  139871. @@ -4113,9 +4063,9 @@
  139872. fi
  139873. - { $as_echo "$as_me:$LINENO: checking whether compiler accepts -fhuge-objects" >&5
  139874. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts -fhuge-objects" >&5
  139875. $as_echo_n "checking whether compiler accepts -fhuge-objects... " >&6; }
  139876. - if test "${ac_cv_test_checkforhugeobjects+set}" = set; then
  139877. + if test "${ac_cv_test_checkforhugeobjects+set}" = set; then :
  139878. $as_echo_n "(cached) " >&6
  139879. else
  139880. @@ -4133,7 +4083,7 @@
  139881. fi
  139882. # end of CACHE_VAL
  139883. - { $as_echo "$as_me:$LINENO: result: ${ac_cv_test_checkforhugeobjects}" >&5
  139884. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_test_checkforhugeobjects}" >&5
  139885. $as_echo "${ac_cv_test_checkforhugeobjects}" >&6; }
  139886. if test "X${ac_cv_test_checkforhugeobjects}" != Xno
  139887. @@ -4154,16 +4104,12 @@
  139888. # Checks for typedefs, structures, and compiler characteristics.
  139889. -{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  139890. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  139891. $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  139892. -if test "${ac_cv_c_const+set}" = set; then
  139893. +if test "${ac_cv_c_const+set}" = set; then :
  139894. $as_echo_n "(cached) " >&6
  139895. else
  139896. - cat >conftest.$ac_ext <<_ACEOF
  139897. -/* confdefs.h. */
  139898. -_ACEOF
  139899. -cat confdefs.h >>conftest.$ac_ext
  139900. -cat >>conftest.$ac_ext <<_ACEOF
  139901. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  139902. /* end confdefs.h. */
  139903. int
  139904. @@ -4223,41 +4169,18 @@
  139905. return 0;
  139906. }
  139907. _ACEOF
  139908. -rm -f conftest.$ac_objext
  139909. -if { (ac_try="$ac_compile"
  139910. -case "(($ac_try" in
  139911. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  139912. - *) ac_try_echo=$ac_try;;
  139913. -esac
  139914. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  139915. -$as_echo "$ac_try_echo") >&5
  139916. - (eval "$ac_compile") 2>conftest.er1
  139917. - ac_status=$?
  139918. - grep -v '^ *+' conftest.er1 >conftest.err
  139919. - rm -f conftest.er1
  139920. - cat conftest.err >&5
  139921. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  139922. - (exit $ac_status); } && {
  139923. - test -z "$ac_c_werror_flag" ||
  139924. - test ! -s conftest.err
  139925. - } && test -s conftest.$ac_objext; then
  139926. +if ac_fn_c_try_compile "$LINENO"; then :
  139927. ac_cv_c_const=yes
  139928. else
  139929. - $as_echo "$as_me: failed program was:" >&5
  139930. -sed 's/^/| /' conftest.$ac_ext >&5
  139931. -
  139932. - ac_cv_c_const=no
  139933. + ac_cv_c_const=no
  139934. fi
  139935. -
  139936. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  139937. fi
  139938. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  139939. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  139940. $as_echo "$ac_cv_c_const" >&6; }
  139941. if test $ac_cv_c_const = no; then
  139942. -cat >>confdefs.h <<\_ACEOF
  139943. -#define const /**/
  139944. -_ACEOF
  139945. +$as_echo "#define const /**/" >>confdefs.h
  139946. fi
  139947. @@ -4266,14 +4189,14 @@
  139948. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  139949. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  139950. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  139951. -{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  139952. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  139953. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  139954. # On Suns, sometimes $CPP names a directory.
  139955. if test -n "$CPP" && test -d "$CPP"; then
  139956. CPP=
  139957. fi
  139958. if test -z "$CPP"; then
  139959. - if test "${ac_cv_prog_CPP+set}" = set; then
  139960. + if test "${ac_cv_prog_CPP+set}" = set; then :
  139961. $as_echo_n "(cached) " >&6
  139962. else
  139963. # Double quotes because CPP needs to be expanded
  139964. @@ -4288,11 +4211,7 @@
  139965. # <limits.h> exists even on freestanding compilers.
  139966. # On the NeXT, cc -E runs the code through the compiler's parser,
  139967. # not just through cpp. "Syntax error" is here to catch this case.
  139968. - cat >conftest.$ac_ext <<_ACEOF
  139969. -/* confdefs.h. */
  139970. -_ACEOF
  139971. -cat confdefs.h >>conftest.$ac_ext
  139972. -cat >>conftest.$ac_ext <<_ACEOF
  139973. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  139974. /* end confdefs.h. */
  139975. #ifdef __STDC__
  139976. # include <limits.h>
  139977. @@ -4301,78 +4220,34 @@
  139978. #endif
  139979. Syntax error
  139980. _ACEOF
  139981. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  139982. -case "(($ac_try" in
  139983. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  139984. - *) ac_try_echo=$ac_try;;
  139985. -esac
  139986. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  139987. -$as_echo "$ac_try_echo") >&5
  139988. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  139989. - ac_status=$?
  139990. - grep -v '^ *+' conftest.er1 >conftest.err
  139991. - rm -f conftest.er1
  139992. - cat conftest.err >&5
  139993. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  139994. - (exit $ac_status); } >/dev/null && {
  139995. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  139996. - test ! -s conftest.err
  139997. - }; then
  139998. - :
  139999. -else
  140000. - $as_echo "$as_me: failed program was:" >&5
  140001. -sed 's/^/| /' conftest.$ac_ext >&5
  140002. +if ac_fn_c_try_cpp "$LINENO"; then :
  140003. +else
  140004. # Broken: fails on valid input.
  140005. continue
  140006. fi
  140007. -
  140008. rm -f conftest.err conftest.$ac_ext
  140009. # OK, works on sane cases. Now check whether nonexistent headers
  140010. # can be detected and how.
  140011. - cat >conftest.$ac_ext <<_ACEOF
  140012. -/* confdefs.h. */
  140013. -_ACEOF
  140014. -cat confdefs.h >>conftest.$ac_ext
  140015. -cat >>conftest.$ac_ext <<_ACEOF
  140016. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  140017. /* end confdefs.h. */
  140018. #include <ac_nonexistent.h>
  140019. _ACEOF
  140020. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  140021. -case "(($ac_try" in
  140022. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  140023. - *) ac_try_echo=$ac_try;;
  140024. -esac
  140025. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  140026. -$as_echo "$ac_try_echo") >&5
  140027. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  140028. - ac_status=$?
  140029. - grep -v '^ *+' conftest.er1 >conftest.err
  140030. - rm -f conftest.er1
  140031. - cat conftest.err >&5
  140032. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  140033. - (exit $ac_status); } >/dev/null && {
  140034. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  140035. - test ! -s conftest.err
  140036. - }; then
  140037. +if ac_fn_c_try_cpp "$LINENO"; then :
  140038. # Broken: success on invalid input.
  140039. continue
  140040. else
  140041. - $as_echo "$as_me: failed program was:" >&5
  140042. -sed 's/^/| /' conftest.$ac_ext >&5
  140043. -
  140044. # Passes both tests.
  140045. ac_preproc_ok=:
  140046. break
  140047. fi
  140048. -
  140049. rm -f conftest.err conftest.$ac_ext
  140050. done
  140051. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  140052. rm -f conftest.err conftest.$ac_ext
  140053. -if $ac_preproc_ok; then
  140054. +if $ac_preproc_ok; then :
  140055. break
  140056. fi
  140057. @@ -4384,7 +4259,7 @@
  140058. else
  140059. ac_cv_prog_CPP=$CPP
  140060. fi
  140061. -{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
  140062. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  140063. $as_echo "$CPP" >&6; }
  140064. ac_preproc_ok=false
  140065. for ac_c_preproc_warn_flag in '' yes
  140066. @@ -4395,11 +4270,7 @@
  140067. # <limits.h> exists even on freestanding compilers.
  140068. # On the NeXT, cc -E runs the code through the compiler's parser,
  140069. # not just through cpp. "Syntax error" is here to catch this case.
  140070. - cat >conftest.$ac_ext <<_ACEOF
  140071. -/* confdefs.h. */
  140072. -_ACEOF
  140073. -cat confdefs.h >>conftest.$ac_ext
  140074. -cat >>conftest.$ac_ext <<_ACEOF
  140075. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  140076. /* end confdefs.h. */
  140077. #ifdef __STDC__
  140078. # include <limits.h>
  140079. @@ -4408,85 +4279,40 @@
  140080. #endif
  140081. Syntax error
  140082. _ACEOF
  140083. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  140084. -case "(($ac_try" in
  140085. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  140086. - *) ac_try_echo=$ac_try;;
  140087. -esac
  140088. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  140089. -$as_echo "$ac_try_echo") >&5
  140090. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  140091. - ac_status=$?
  140092. - grep -v '^ *+' conftest.er1 >conftest.err
  140093. - rm -f conftest.er1
  140094. - cat conftest.err >&5
  140095. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  140096. - (exit $ac_status); } >/dev/null && {
  140097. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  140098. - test ! -s conftest.err
  140099. - }; then
  140100. - :
  140101. -else
  140102. - $as_echo "$as_me: failed program was:" >&5
  140103. -sed 's/^/| /' conftest.$ac_ext >&5
  140104. +if ac_fn_c_try_cpp "$LINENO"; then :
  140105. +else
  140106. # Broken: fails on valid input.
  140107. continue
  140108. fi
  140109. -
  140110. rm -f conftest.err conftest.$ac_ext
  140111. # OK, works on sane cases. Now check whether nonexistent headers
  140112. # can be detected and how.
  140113. - cat >conftest.$ac_ext <<_ACEOF
  140114. -/* confdefs.h. */
  140115. -_ACEOF
  140116. -cat confdefs.h >>conftest.$ac_ext
  140117. -cat >>conftest.$ac_ext <<_ACEOF
  140118. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  140119. /* end confdefs.h. */
  140120. #include <ac_nonexistent.h>
  140121. _ACEOF
  140122. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  140123. -case "(($ac_try" in
  140124. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  140125. - *) ac_try_echo=$ac_try;;
  140126. -esac
  140127. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  140128. -$as_echo "$ac_try_echo") >&5
  140129. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  140130. - ac_status=$?
  140131. - grep -v '^ *+' conftest.er1 >conftest.err
  140132. - rm -f conftest.er1
  140133. - cat conftest.err >&5
  140134. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  140135. - (exit $ac_status); } >/dev/null && {
  140136. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  140137. - test ! -s conftest.err
  140138. - }; then
  140139. +if ac_fn_c_try_cpp "$LINENO"; then :
  140140. # Broken: success on invalid input.
  140141. continue
  140142. else
  140143. - $as_echo "$as_me: failed program was:" >&5
  140144. -sed 's/^/| /' conftest.$ac_ext >&5
  140145. -
  140146. # Passes both tests.
  140147. ac_preproc_ok=:
  140148. break
  140149. fi
  140150. -
  140151. rm -f conftest.err conftest.$ac_ext
  140152. done
  140153. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  140154. rm -f conftest.err conftest.$ac_ext
  140155. -if $ac_preproc_ok; then
  140156. - :
  140157. +if $ac_preproc_ok; then :
  140158. +
  140159. else
  140160. - { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  140161. -See \`config.log' for more details." >&5
  140162. -$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  140163. -See \`config.log' for more details." >&2;}
  140164. - { (exit 1); exit 1; }; }
  140165. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  140166. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  140167. +as_fn_error "C preprocessor \"$CPP\" fails sanity check
  140168. +See \`config.log' for more details." "$LINENO" 5; }
  140169. fi
  140170. ac_ext=c
  140171. @@ -4496,9 +4322,9 @@
  140172. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  140173. -{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  140174. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  140175. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  140176. -if test "${ac_cv_path_GREP+set}" = set; then
  140177. +if test "${ac_cv_path_GREP+set}" = set; then :
  140178. $as_echo_n "(cached) " >&6
  140179. else
  140180. if test -z "$GREP"; then
  140181. @@ -4509,7 +4335,7 @@
  140182. do
  140183. IFS=$as_save_IFS
  140184. test -z "$as_dir" && as_dir=.
  140185. - for ac_prog in grep ggrep; do
  140186. + for ac_prog in grep ggrep; do
  140187. for ac_exec_ext in '' $ac_executable_extensions; do
  140188. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  140189. { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  140190. @@ -4529,7 +4355,7 @@
  140191. $as_echo 'GREP' >> "conftest.nl"
  140192. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  140193. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  140194. - ac_count=`expr $ac_count + 1`
  140195. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  140196. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  140197. # Best one so far, save it but keep looking for a better one
  140198. ac_cv_path_GREP="$ac_path_GREP"
  140199. @@ -4544,26 +4370,24 @@
  140200. $ac_path_GREP_found && break 3
  140201. done
  140202. done
  140203. -done
  140204. + done
  140205. IFS=$as_save_IFS
  140206. if test -z "$ac_cv_path_GREP"; then
  140207. - { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  140208. -$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  140209. - { (exit 1); exit 1; }; }
  140210. + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  140211. fi
  140212. else
  140213. ac_cv_path_GREP=$GREP
  140214. fi
  140215. fi
  140216. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  140217. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  140218. $as_echo "$ac_cv_path_GREP" >&6; }
  140219. GREP="$ac_cv_path_GREP"
  140220. -{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
  140221. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  140222. $as_echo_n "checking for egrep... " >&6; }
  140223. -if test "${ac_cv_path_EGREP+set}" = set; then
  140224. +if test "${ac_cv_path_EGREP+set}" = set; then :
  140225. $as_echo_n "(cached) " >&6
  140226. else
  140227. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  140228. @@ -4577,7 +4401,7 @@
  140229. do
  140230. IFS=$as_save_IFS
  140231. test -z "$as_dir" && as_dir=.
  140232. - for ac_prog in egrep; do
  140233. + for ac_prog in egrep; do
  140234. for ac_exec_ext in '' $ac_executable_extensions; do
  140235. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  140236. { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  140237. @@ -4597,7 +4421,7 @@
  140238. $as_echo 'EGREP' >> "conftest.nl"
  140239. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  140240. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  140241. - ac_count=`expr $ac_count + 1`
  140242. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  140243. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  140244. # Best one so far, save it but keep looking for a better one
  140245. ac_cv_path_EGREP="$ac_path_EGREP"
  140246. @@ -4612,12 +4436,10 @@
  140247. $ac_path_EGREP_found && break 3
  140248. done
  140249. done
  140250. -done
  140251. + done
  140252. IFS=$as_save_IFS
  140253. if test -z "$ac_cv_path_EGREP"; then
  140254. - { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  140255. -$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  140256. - { (exit 1); exit 1; }; }
  140257. + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  140258. fi
  140259. else
  140260. ac_cv_path_EGREP=$EGREP
  140261. @@ -4625,21 +4447,17 @@
  140262. fi
  140263. fi
  140264. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  140265. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  140266. $as_echo "$ac_cv_path_EGREP" >&6; }
  140267. EGREP="$ac_cv_path_EGREP"
  140268. -{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  140269. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  140270. $as_echo_n "checking for ANSI C header files... " >&6; }
  140271. -if test "${ac_cv_header_stdc+set}" = set; then
  140272. +if test "${ac_cv_header_stdc+set}" = set; then :
  140273. $as_echo_n "(cached) " >&6
  140274. else
  140275. - cat >conftest.$ac_ext <<_ACEOF
  140276. -/* confdefs.h. */
  140277. -_ACEOF
  140278. -cat confdefs.h >>conftest.$ac_ext
  140279. -cat >>conftest.$ac_ext <<_ACEOF
  140280. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  140281. /* end confdefs.h. */
  140282. #include <stdlib.h>
  140283. #include <stdarg.h>
  140284. @@ -4654,48 +4472,23 @@
  140285. return 0;
  140286. }
  140287. _ACEOF
  140288. -rm -f conftest.$ac_objext
  140289. -if { (ac_try="$ac_compile"
  140290. -case "(($ac_try" in
  140291. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  140292. - *) ac_try_echo=$ac_try;;
  140293. -esac
  140294. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  140295. -$as_echo "$ac_try_echo") >&5
  140296. - (eval "$ac_compile") 2>conftest.er1
  140297. - ac_status=$?
  140298. - grep -v '^ *+' conftest.er1 >conftest.err
  140299. - rm -f conftest.er1
  140300. - cat conftest.err >&5
  140301. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  140302. - (exit $ac_status); } && {
  140303. - test -z "$ac_c_werror_flag" ||
  140304. - test ! -s conftest.err
  140305. - } && test -s conftest.$ac_objext; then
  140306. +if ac_fn_c_try_compile "$LINENO"; then :
  140307. ac_cv_header_stdc=yes
  140308. else
  140309. - $as_echo "$as_me: failed program was:" >&5
  140310. -sed 's/^/| /' conftest.$ac_ext >&5
  140311. -
  140312. - ac_cv_header_stdc=no
  140313. + ac_cv_header_stdc=no
  140314. fi
  140315. -
  140316. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  140317. if test $ac_cv_header_stdc = yes; then
  140318. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  140319. - cat >conftest.$ac_ext <<_ACEOF
  140320. -/* confdefs.h. */
  140321. -_ACEOF
  140322. -cat confdefs.h >>conftest.$ac_ext
  140323. -cat >>conftest.$ac_ext <<_ACEOF
  140324. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  140325. /* end confdefs.h. */
  140326. #include <string.h>
  140327. _ACEOF
  140328. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  140329. - $EGREP "memchr" >/dev/null 2>&1; then
  140330. - :
  140331. + $EGREP "memchr" >/dev/null 2>&1; then :
  140332. +
  140333. else
  140334. ac_cv_header_stdc=no
  140335. fi
  140336. @@ -4705,18 +4498,14 @@
  140337. if test $ac_cv_header_stdc = yes; then
  140338. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  140339. - cat >conftest.$ac_ext <<_ACEOF
  140340. -/* confdefs.h. */
  140341. -_ACEOF
  140342. -cat confdefs.h >>conftest.$ac_ext
  140343. -cat >>conftest.$ac_ext <<_ACEOF
  140344. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  140345. /* end confdefs.h. */
  140346. #include <stdlib.h>
  140347. _ACEOF
  140348. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  140349. - $EGREP "free" >/dev/null 2>&1; then
  140350. - :
  140351. + $EGREP "free" >/dev/null 2>&1; then :
  140352. +
  140353. else
  140354. ac_cv_header_stdc=no
  140355. fi
  140356. @@ -4726,14 +4515,10 @@
  140357. if test $ac_cv_header_stdc = yes; then
  140358. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  140359. - if test "$cross_compiling" = yes; then
  140360. + if test "$cross_compiling" = yes; then :
  140361. :
  140362. else
  140363. - cat >conftest.$ac_ext <<_ACEOF
  140364. -/* confdefs.h. */
  140365. -_ACEOF
  140366. -cat confdefs.h >>conftest.$ac_ext
  140367. -cat >>conftest.$ac_ext <<_ACEOF
  140368. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  140369. /* end confdefs.h. */
  140370. #include <ctype.h>
  140371. #include <stdlib.h>
  140372. @@ -4760,222 +4545,46 @@
  140373. return 0;
  140374. }
  140375. _ACEOF
  140376. -rm -f conftest$ac_exeext
  140377. -if { (ac_try="$ac_link"
  140378. -case "(($ac_try" in
  140379. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  140380. - *) ac_try_echo=$ac_try;;
  140381. -esac
  140382. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  140383. -$as_echo "$ac_try_echo") >&5
  140384. - (eval "$ac_link") 2>&5
  140385. - ac_status=$?
  140386. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  140387. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  140388. - { (case "(($ac_try" in
  140389. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  140390. - *) ac_try_echo=$ac_try;;
  140391. -esac
  140392. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  140393. -$as_echo "$ac_try_echo") >&5
  140394. - (eval "$ac_try") 2>&5
  140395. - ac_status=$?
  140396. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  140397. - (exit $ac_status); }; }; then
  140398. - :
  140399. -else
  140400. - $as_echo "$as_me: program exited with status $ac_status" >&5
  140401. -$as_echo "$as_me: failed program was:" >&5
  140402. -sed 's/^/| /' conftest.$ac_ext >&5
  140403. +if ac_fn_c_try_run "$LINENO"; then :
  140404. -( exit $ac_status )
  140405. -ac_cv_header_stdc=no
  140406. +else
  140407. + ac_cv_header_stdc=no
  140408. fi
  140409. -rm -rf conftest.dSYM
  140410. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  140411. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  140412. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  140413. fi
  140414. -
  140415. fi
  140416. fi
  140417. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  140418. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  140419. $as_echo "$ac_cv_header_stdc" >&6; }
  140420. if test $ac_cv_header_stdc = yes; then
  140421. -cat >>confdefs.h <<\_ACEOF
  140422. -#define STDC_HEADERS 1
  140423. -_ACEOF
  140424. +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
  140425. fi
  140426. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  140427. -
  140428. -
  140429. -
  140430. -
  140431. -
  140432. -
  140433. -
  140434. -
  140435. -
  140436. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  140437. inttypes.h stdint.h unistd.h
  140438. -do
  140439. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  140440. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  140441. -$as_echo_n "checking for $ac_header... " >&6; }
  140442. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  140443. - $as_echo_n "(cached) " >&6
  140444. -else
  140445. - cat >conftest.$ac_ext <<_ACEOF
  140446. -/* confdefs.h. */
  140447. -_ACEOF
  140448. -cat confdefs.h >>conftest.$ac_ext
  140449. -cat >>conftest.$ac_ext <<_ACEOF
  140450. -/* end confdefs.h. */
  140451. -$ac_includes_default
  140452. -
  140453. -#include <$ac_header>
  140454. -_ACEOF
  140455. -rm -f conftest.$ac_objext
  140456. -if { (ac_try="$ac_compile"
  140457. -case "(($ac_try" in
  140458. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  140459. - *) ac_try_echo=$ac_try;;
  140460. -esac
  140461. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  140462. -$as_echo "$ac_try_echo") >&5
  140463. - (eval "$ac_compile") 2>conftest.er1
  140464. - ac_status=$?
  140465. - grep -v '^ *+' conftest.er1 >conftest.err
  140466. - rm -f conftest.er1
  140467. - cat conftest.err >&5
  140468. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  140469. - (exit $ac_status); } && {
  140470. - test -z "$ac_c_werror_flag" ||
  140471. - test ! -s conftest.err
  140472. - } && test -s conftest.$ac_objext; then
  140473. - eval "$as_ac_Header=yes"
  140474. -else
  140475. - $as_echo "$as_me: failed program was:" >&5
  140476. -sed 's/^/| /' conftest.$ac_ext >&5
  140477. -
  140478. - eval "$as_ac_Header=no"
  140479. -fi
  140480. -
  140481. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  140482. -fi
  140483. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  140484. - $as_echo "$as_val"'`
  140485. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  140486. -$as_echo "$ac_res" >&6; }
  140487. -if test `eval 'as_val=${'$as_ac_Header'}
  140488. - $as_echo "$as_val"'` = yes; then
  140489. +do :
  140490. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  140491. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  140492. +"
  140493. +eval as_val=\$$as_ac_Header
  140494. + if test "x$as_val" = x""yes; then :
  140495. cat >>confdefs.h <<_ACEOF
  140496. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  140497. -_ACEOF
  140498. -
  140499. -fi
  140500. -
  140501. -done
  140502. -
  140503. -
  140504. -{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
  140505. -$as_echo_n "checking for size_t... " >&6; }
  140506. -if test "${ac_cv_type_size_t+set}" = set; then
  140507. - $as_echo_n "(cached) " >&6
  140508. -else
  140509. - ac_cv_type_size_t=no
  140510. -cat >conftest.$ac_ext <<_ACEOF
  140511. -/* confdefs.h. */
  140512. -_ACEOF
  140513. -cat confdefs.h >>conftest.$ac_ext
  140514. -cat >>conftest.$ac_ext <<_ACEOF
  140515. -/* end confdefs.h. */
  140516. -$ac_includes_default
  140517. -int
  140518. -main ()
  140519. -{
  140520. -if (sizeof (size_t))
  140521. - return 0;
  140522. - ;
  140523. - return 0;
  140524. -}
  140525. -_ACEOF
  140526. -rm -f conftest.$ac_objext
  140527. -if { (ac_try="$ac_compile"
  140528. -case "(($ac_try" in
  140529. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  140530. - *) ac_try_echo=$ac_try;;
  140531. -esac
  140532. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  140533. -$as_echo "$ac_try_echo") >&5
  140534. - (eval "$ac_compile") 2>conftest.er1
  140535. - ac_status=$?
  140536. - grep -v '^ *+' conftest.er1 >conftest.err
  140537. - rm -f conftest.er1
  140538. - cat conftest.err >&5
  140539. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  140540. - (exit $ac_status); } && {
  140541. - test -z "$ac_c_werror_flag" ||
  140542. - test ! -s conftest.err
  140543. - } && test -s conftest.$ac_objext; then
  140544. - cat >conftest.$ac_ext <<_ACEOF
  140545. -/* confdefs.h. */
  140546. -_ACEOF
  140547. -cat confdefs.h >>conftest.$ac_ext
  140548. -cat >>conftest.$ac_ext <<_ACEOF
  140549. -/* end confdefs.h. */
  140550. -$ac_includes_default
  140551. -int
  140552. -main ()
  140553. -{
  140554. -if (sizeof ((size_t)))
  140555. - return 0;
  140556. - ;
  140557. - return 0;
  140558. -}
  140559. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  140560. _ACEOF
  140561. -rm -f conftest.$ac_objext
  140562. -if { (ac_try="$ac_compile"
  140563. -case "(($ac_try" in
  140564. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  140565. - *) ac_try_echo=$ac_try;;
  140566. -esac
  140567. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  140568. -$as_echo "$ac_try_echo") >&5
  140569. - (eval "$ac_compile") 2>conftest.er1
  140570. - ac_status=$?
  140571. - grep -v '^ *+' conftest.er1 >conftest.err
  140572. - rm -f conftest.er1
  140573. - cat conftest.err >&5
  140574. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  140575. - (exit $ac_status); } && {
  140576. - test -z "$ac_c_werror_flag" ||
  140577. - test ! -s conftest.err
  140578. - } && test -s conftest.$ac_objext; then
  140579. - :
  140580. -else
  140581. - $as_echo "$as_me: failed program was:" >&5
  140582. -sed 's/^/| /' conftest.$ac_ext >&5
  140583. - ac_cv_type_size_t=yes
  140584. fi
  140585. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  140586. -else
  140587. - $as_echo "$as_me: failed program was:" >&5
  140588. -sed 's/^/| /' conftest.$ac_ext >&5
  140589. +done
  140590. -fi
  140591. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  140592. +if test "x$ac_cv_type_size_t" = x""yes; then :
  140593. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  140594. -fi
  140595. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
  140596. -$as_echo "$ac_cv_type_size_t" >&6; }
  140597. -if test $ac_cv_type_size_t = yes; then
  140598. - :
  140599. else
  140600. cat >>confdefs.h <<_ACEOF
  140601. @@ -5016,13 +4625,13 @@
  140602. case $ac_val in #(
  140603. *${as_nl}*)
  140604. case $ac_var in #(
  140605. - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  140606. -$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  140607. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  140608. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  140609. esac
  140610. case $ac_var in #(
  140611. _ | IFS | as_nl) ;; #(
  140612. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  140613. - *) $as_unset $ac_var ;;
  140614. + *) { eval $ac_var=; unset $ac_var;} ;;
  140615. esac ;;
  140616. esac
  140617. done
  140618. @@ -5030,8 +4639,8 @@
  140619. (set) 2>&1 |
  140620. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  140621. *${as_nl}ac_space=\ *)
  140622. - # `set' does not quote correctly, so add quotes (double-quote
  140623. - # substitution turns \\\\ into \\, and sed turns \\ into \).
  140624. + # `set' does not quote correctly, so add quotes: double-quote
  140625. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  140626. sed -n \
  140627. "s/'/'\\\\''/g;
  140628. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  140629. @@ -5054,11 +4663,11 @@
  140630. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  140631. if test -w "$cache_file"; then
  140632. test "x$cache_file" != "x/dev/null" &&
  140633. - { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
  140634. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  140635. $as_echo "$as_me: updating cache $cache_file" >&6;}
  140636. cat confcache >$cache_file
  140637. else
  140638. - { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  140639. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  140640. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  140641. fi
  140642. fi
  140643. @@ -5078,8 +4687,8 @@
  140644. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  140645. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  140646. # will be set to the directory where LIBOBJS objects are built.
  140647. - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  140648. - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  140649. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  140650. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  140651. done
  140652. LIBOBJS=$ac_libobjs
  140653. @@ -5087,41 +4696,38 @@
  140654. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  140655. - { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
  140656. -Usually this means the macro was only invoked conditionally." >&5
  140657. -$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
  140658. -Usually this means the macro was only invoked conditionally." >&2;}
  140659. - { (exit 1); exit 1; }; }
  140660. + as_fn_error "conditional \"AMDEP\" was never defined.
  140661. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  140662. fi
  140663. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  140664. - { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  140665. -Usually this means the macro was only invoked conditionally." >&5
  140666. -$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  140667. -Usually this means the macro was only invoked conditionally." >&2;}
  140668. - { (exit 1); exit 1; }; }
  140669. + as_fn_error "conditional \"am__fastdepCC\" was never defined.
  140670. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  140671. fi
  140672. if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  140673. - { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
  140674. -Usually this means the macro was only invoked conditionally." >&5
  140675. -$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
  140676. -Usually this means the macro was only invoked conditionally." >&2;}
  140677. - { (exit 1); exit 1; }; }
  140678. + as_fn_error "conditional \"am__fastdepCXX\" was never defined.
  140679. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  140680. +fi
  140681. + if test -n "$EXEEXT"; then
  140682. + am__EXEEXT_TRUE=
  140683. + am__EXEEXT_FALSE='#'
  140684. +else
  140685. + am__EXEEXT_TRUE='#'
  140686. + am__EXEEXT_FALSE=
  140687. fi
  140688. +
  140689. if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  140690. - { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
  140691. -Usually this means the macro was only invoked conditionally." >&5
  140692. -$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
  140693. -Usually this means the macro was only invoked conditionally." >&2;}
  140694. - { (exit 1); exit 1; }; }
  140695. + as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
  140696. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  140697. fi
  140698. : ${CONFIG_STATUS=./config.status}
  140699. ac_write_fail=0
  140700. ac_clean_files_save=$ac_clean_files
  140701. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  140702. -{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  140703. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  140704. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  140705. -cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  140706. +as_write_fail=0
  140707. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  140708. #! $SHELL
  140709. # Generated by $as_me.
  140710. # Run this file to recreate the current configuration.
  140711. @@ -5131,17 +4737,18 @@
  140712. debug=false
  140713. ac_cs_recheck=false
  140714. ac_cs_silent=false
  140715. -SHELL=\${CONFIG_SHELL-$SHELL}
  140716. -_ACEOF
  140717. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  140718. -## --------------------- ##
  140719. -## M4sh Initialization. ##
  140720. -## --------------------- ##
  140721. +SHELL=\${CONFIG_SHELL-$SHELL}
  140722. +export SHELL
  140723. +_ASEOF
  140724. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  140725. +## -------------------- ##
  140726. +## M4sh Initialization. ##
  140727. +## -------------------- ##
  140728. # Be more Bourne compatible
  140729. DUALCASE=1; export DUALCASE # for MKS sh
  140730. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  140731. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  140732. emulate sh
  140733. NULLCMD=:
  140734. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  140735. @@ -5149,23 +4756,15 @@
  140736. alias -g '${1+"$@"}'='"$@"'
  140737. setopt NO_GLOB_SUBST
  140738. else
  140739. - case `(set -o) 2>/dev/null` in
  140740. - *posix*) set -o posix ;;
  140741. + case `(set -o) 2>/dev/null` in #(
  140742. + *posix*) :
  140743. + set -o posix ;; #(
  140744. + *) :
  140745. + ;;
  140746. esac
  140747. -
  140748. fi
  140749. -
  140750. -
  140751. -# PATH needs CR
  140752. -# Avoid depending upon Character Ranges.
  140753. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  140754. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  140755. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  140756. -as_cr_digits='0123456789'
  140757. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  140758. -
  140759. as_nl='
  140760. '
  140761. export as_nl
  140762. @@ -5173,7 +4772,13 @@
  140763. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  140764. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  140765. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  140766. -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  140767. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  140768. +# but without wasting forks for bash or zsh.
  140769. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  140770. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  140771. + as_echo='print -r --'
  140772. + as_echo_n='print -rn --'
  140773. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  140774. as_echo='printf %s\n'
  140775. as_echo_n='printf %s'
  140776. else
  140777. @@ -5184,7 +4789,7 @@
  140778. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  140779. as_echo_n_body='eval
  140780. arg=$1;
  140781. - case $arg in
  140782. + case $arg in #(
  140783. *"$as_nl"*)
  140784. expr "X$arg" : "X\\(.*\\)$as_nl";
  140785. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  140786. @@ -5207,13 +4812,6 @@
  140787. }
  140788. fi
  140789. -# Support unset when possible.
  140790. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  140791. - as_unset=unset
  140792. -else
  140793. - as_unset=false
  140794. -fi
  140795. -
  140796. # IFS
  140797. # We need space, tab and new line, in precisely that order. Quoting is
  140798. @@ -5223,15 +4821,15 @@
  140799. IFS=" "" $as_nl"
  140800. # Find who we are. Look in the path if we contain no directory separator.
  140801. -case $0 in
  140802. +case $0 in #((
  140803. *[\\/]* ) as_myself=$0 ;;
  140804. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  140805. for as_dir in $PATH
  140806. do
  140807. IFS=$as_save_IFS
  140808. test -z "$as_dir" && as_dir=.
  140809. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  140810. -done
  140811. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  140812. + done
  140813. IFS=$as_save_IFS
  140814. ;;
  140815. @@ -5243,12 +4841,16 @@
  140816. fi
  140817. if test ! -f "$as_myself"; then
  140818. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  140819. - { (exit 1); exit 1; }
  140820. + exit 1
  140821. fi
  140822. -# Work around bugs in pre-3.0 UWIN ksh.
  140823. -for as_var in ENV MAIL MAILPATH
  140824. -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  140825. +# Unset variables that we do not need and which cause bugs (e.g. in
  140826. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  140827. +# suppresses any "Segmentation fault" message there. '((' could
  140828. +# trigger a bug in pdksh 5.2.14.
  140829. +for as_var in BASH_ENV ENV MAIL MAILPATH
  140830. +do eval test x\${$as_var+set} = xset \
  140831. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  140832. done
  140833. PS1='$ '
  140834. PS2='> '
  140835. @@ -5260,7 +4862,89 @@
  140836. LANGUAGE=C
  140837. export LANGUAGE
  140838. -# Required to use basename.
  140839. +# CDPATH.
  140840. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  140841. +
  140842. +
  140843. +# as_fn_error ERROR [LINENO LOG_FD]
  140844. +# ---------------------------------
  140845. +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  140846. +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  140847. +# script with status $?, using 1 if that was 0.
  140848. +as_fn_error ()
  140849. +{
  140850. + as_status=$?; test $as_status -eq 0 && as_status=1
  140851. + if test "$3"; then
  140852. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  140853. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  140854. + fi
  140855. + $as_echo "$as_me: error: $1" >&2
  140856. + as_fn_exit $as_status
  140857. +} # as_fn_error
  140858. +
  140859. +
  140860. +# as_fn_set_status STATUS
  140861. +# -----------------------
  140862. +# Set $? to STATUS, without forking.
  140863. +as_fn_set_status ()
  140864. +{
  140865. + return $1
  140866. +} # as_fn_set_status
  140867. +
  140868. +# as_fn_exit STATUS
  140869. +# -----------------
  140870. +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  140871. +as_fn_exit ()
  140872. +{
  140873. + set +e
  140874. + as_fn_set_status $1
  140875. + exit $1
  140876. +} # as_fn_exit
  140877. +
  140878. +# as_fn_unset VAR
  140879. +# ---------------
  140880. +# Portably unset VAR.
  140881. +as_fn_unset ()
  140882. +{
  140883. + { eval $1=; unset $1;}
  140884. +}
  140885. +as_unset=as_fn_unset
  140886. +# as_fn_append VAR VALUE
  140887. +# ----------------------
  140888. +# Append the text in VALUE to the end of the definition contained in VAR. Take
  140889. +# advantage of any shell optimizations that allow amortized linear growth over
  140890. +# repeated appends, instead of the typical quadratic growth present in naive
  140891. +# implementations.
  140892. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  140893. + eval 'as_fn_append ()
  140894. + {
  140895. + eval $1+=\$2
  140896. + }'
  140897. +else
  140898. + as_fn_append ()
  140899. + {
  140900. + eval $1=\$$1\$2
  140901. + }
  140902. +fi # as_fn_append
  140903. +
  140904. +# as_fn_arith ARG...
  140905. +# ------------------
  140906. +# Perform arithmetic evaluation on the ARGs, and store the result in the
  140907. +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  140908. +# must be portable across $(()) and expr.
  140909. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  140910. + eval 'as_fn_arith ()
  140911. + {
  140912. + as_val=$(( $* ))
  140913. + }'
  140914. +else
  140915. + as_fn_arith ()
  140916. + {
  140917. + as_val=`expr "$@" || test $? -eq 1`
  140918. + }
  140919. +fi # as_fn_arith
  140920. +
  140921. +
  140922. if expr a : '\(a\)' >/dev/null 2>&1 &&
  140923. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  140924. as_expr=expr
  140925. @@ -5274,8 +4958,12 @@
  140926. as_basename=false
  140927. fi
  140928. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  140929. + as_dirname=dirname
  140930. +else
  140931. + as_dirname=false
  140932. +fi
  140933. -# Name of the executable.
  140934. as_me=`$as_basename -- "$0" ||
  140935. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  140936. X"$0" : 'X\(//\)$' \| \
  140937. @@ -5295,76 +4983,25 @@
  140938. }
  140939. s/.*/./; q'`
  140940. -# CDPATH.
  140941. -$as_unset CDPATH
  140942. -
  140943. -
  140944. -
  140945. - as_lineno_1=$LINENO
  140946. - as_lineno_2=$LINENO
  140947. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  140948. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  140949. -
  140950. - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  140951. - # uniformly replaced by the line number. The first 'sed' inserts a
  140952. - # line-number line after each line using $LINENO; the second 'sed'
  140953. - # does the real work. The second script uses 'N' to pair each
  140954. - # line-number line with the line containing $LINENO, and appends
  140955. - # trailing '-' during substitution so that $LINENO is not a special
  140956. - # case at line end.
  140957. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  140958. - # scripts with optimization help from Paolo Bonzini. Blame Lee
  140959. - # E. McMahon (1931-1989) for sed's syntax. :-)
  140960. - sed -n '
  140961. - p
  140962. - /[$]LINENO/=
  140963. - ' <$as_myself |
  140964. - sed '
  140965. - s/[$]LINENO.*/&-/
  140966. - t lineno
  140967. - b
  140968. - :lineno
  140969. - N
  140970. - :loop
  140971. - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  140972. - t loop
  140973. - s/-\n.*//
  140974. - ' >$as_me.lineno &&
  140975. - chmod +x "$as_me.lineno" ||
  140976. - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  140977. - { (exit 1); exit 1; }; }
  140978. -
  140979. - # Don't try to exec as it changes $[0], causing all sort of problems
  140980. - # (the dirname of $[0] is not the place where we might find the
  140981. - # original and so on. Autoconf is especially sensitive to this).
  140982. - . "./$as_me.lineno"
  140983. - # Exit status is that of the last command.
  140984. - exit
  140985. -}
  140986. -
  140987. -
  140988. -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  140989. - as_dirname=dirname
  140990. -else
  140991. - as_dirname=false
  140992. -fi
  140993. +# Avoid depending upon Character Ranges.
  140994. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  140995. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  140996. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  140997. +as_cr_digits='0123456789'
  140998. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  140999. ECHO_C= ECHO_N= ECHO_T=
  141000. -case `echo -n x` in
  141001. +case `echo -n x` in #(((((
  141002. -n*)
  141003. - case `echo 'x\c'` in
  141004. + case `echo 'xy\c'` in
  141005. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  141006. - *) ECHO_C='\c';;
  141007. + xy) ECHO_C='\c';;
  141008. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  141009. + ECHO_T=' ';;
  141010. esac;;
  141011. *)
  141012. ECHO_N='-n';;
  141013. esac
  141014. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  141015. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  141016. - as_expr=expr
  141017. -else
  141018. - as_expr=false
  141019. -fi
  141020. rm -f conf$$ conf$$.exe conf$$.file
  141021. if test -d conf$$.dir; then
  141022. @@ -5393,8 +5030,56 @@
  141023. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  141024. rmdir conf$$.dir 2>/dev/null
  141025. +
  141026. +# as_fn_mkdir_p
  141027. +# -------------
  141028. +# Create "$as_dir" as a directory, including parents if necessary.
  141029. +as_fn_mkdir_p ()
  141030. +{
  141031. +
  141032. + case $as_dir in #(
  141033. + -*) as_dir=./$as_dir;;
  141034. + esac
  141035. + test -d "$as_dir" || eval $as_mkdir_p || {
  141036. + as_dirs=
  141037. + while :; do
  141038. + case $as_dir in #(
  141039. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  141040. + *) as_qdir=$as_dir;;
  141041. + esac
  141042. + as_dirs="'$as_qdir' $as_dirs"
  141043. + as_dir=`$as_dirname -- "$as_dir" ||
  141044. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  141045. + X"$as_dir" : 'X\(//\)[^/]' \| \
  141046. + X"$as_dir" : 'X\(//\)$' \| \
  141047. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  141048. +$as_echo X"$as_dir" |
  141049. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  141050. + s//\1/
  141051. + q
  141052. + }
  141053. + /^X\(\/\/\)[^/].*/{
  141054. + s//\1/
  141055. + q
  141056. + }
  141057. + /^X\(\/\/\)$/{
  141058. + s//\1/
  141059. + q
  141060. + }
  141061. + /^X\(\/\).*/{
  141062. + s//\1/
  141063. + q
  141064. + }
  141065. + s/.*/./; q'`
  141066. + test -d "$as_dir" && break
  141067. + done
  141068. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  141069. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  141070. +
  141071. +
  141072. +} # as_fn_mkdir_p
  141073. if mkdir -p . 2>/dev/null; then
  141074. - as_mkdir_p=:
  141075. + as_mkdir_p='mkdir -p "$as_dir"'
  141076. else
  141077. test -d ./-p && rmdir ./-p
  141078. as_mkdir_p=false
  141079. @@ -5413,10 +5098,10 @@
  141080. if test -d "$1"; then
  141081. test -d "$1/.";
  141082. else
  141083. - case $1 in
  141084. + case $1 in #(
  141085. -*)set "./$1";;
  141086. esac;
  141087. - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  141088. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  141089. ???[sx]*):;;*)false;;esac;fi
  141090. '\'' sh
  141091. '
  141092. @@ -5431,13 +5116,19 @@
  141093. exec 6>&1
  141094. +## ----------------------------------- ##
  141095. +## Main body of $CONFIG_STATUS script. ##
  141096. +## ----------------------------------- ##
  141097. +_ASEOF
  141098. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  141099. -# Save the log message, to keep $[0] and so on meaningful, and to
  141100. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  141101. +# Save the log message, to keep $0 and so on meaningful, and to
  141102. # report actual input values of CONFIG_FILES etc. instead of their
  141103. # values after options handling.
  141104. ac_log="
  141105. This file was extended by libTrie $as_me 0.1, which was
  141106. -generated by GNU Autoconf 2.62. Invocation command line was
  141107. +generated by GNU Autoconf 2.65. Invocation command line was
  141108. CONFIG_FILES = $CONFIG_FILES
  141109. CONFIG_HEADERS = $CONFIG_HEADERS
  141110. @@ -5450,6 +5141,15 @@
  141111. _ACEOF
  141112. +case $ac_config_files in *"
  141113. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  141114. +esac
  141115. +
  141116. +case $ac_config_headers in *"
  141117. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  141118. +esac
  141119. +
  141120. +
  141121. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  141122. # Files that config.status was made for.
  141123. config_files="$ac_config_files"
  141124. @@ -5460,19 +5160,22 @@
  141125. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  141126. ac_cs_usage="\
  141127. -\`$as_me' instantiates files from templates according to the
  141128. -current configuration.
  141129. +\`$as_me' instantiates files and other configuration actions
  141130. +from templates according to the current configuration. Unless the files
  141131. +and actions are specified as TAGs, all are instantiated by default.
  141132. -Usage: $0 [OPTIONS] [FILE]...
  141133. +Usage: $0 [OPTION]... [TAG]...
  141134. -h, --help print this help, then exit
  141135. -V, --version print version number and configuration settings, then exit
  141136. - -q, --quiet do not print progress messages
  141137. + --config print configuration, then exit
  141138. + -q, --quiet, --silent
  141139. + do not print progress messages
  141140. -d, --debug don't remove temporary files
  141141. --recheck update $as_me by reconfiguring in the same conditions
  141142. - --file=FILE[:TEMPLATE]
  141143. + --file=FILE[:TEMPLATE]
  141144. instantiate the configuration file FILE
  141145. - --header=FILE[:TEMPLATE]
  141146. + --header=FILE[:TEMPLATE]
  141147. instantiate the configuration header FILE
  141148. Configuration files:
  141149. @@ -5484,16 +5187,17 @@
  141150. Configuration commands:
  141151. $config_commands
  141152. -Report bugs to <bug-autoconf@gnu.org>."
  141153. +Report bugs to <rbtcollins@squid-cache.org>."
  141154. _ACEOF
  141155. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  141156. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  141157. ac_cs_version="\\
  141158. libTrie config.status 0.1
  141159. -configured by $0, generated by GNU Autoconf 2.62,
  141160. - with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  141161. +configured by $0, generated by GNU Autoconf 2.65,
  141162. + with options \\"\$ac_cs_config\\"
  141163. -Copyright (C) 2008 Free Software Foundation, Inc.
  141164. +Copyright (C) 2009 Free Software Foundation, Inc.
  141165. This config.status script is free software; the Free Software Foundation
  141166. gives unlimited permission to copy, distribute and modify it."
  141167. @@ -5529,6 +5233,8 @@
  141168. ac_cs_recheck=: ;;
  141169. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  141170. $as_echo "$ac_cs_version"; exit ;;
  141171. + --config | --confi | --conf | --con | --co | --c )
  141172. + $as_echo "$ac_cs_config"; exit ;;
  141173. --debug | --debu | --deb | --de | --d | -d )
  141174. debug=: ;;
  141175. --file | --fil | --fi | --f )
  141176. @@ -5536,20 +5242,19 @@
  141177. case $ac_optarg in
  141178. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  141179. esac
  141180. - CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
  141181. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  141182. ac_need_defaults=false;;
  141183. --header | --heade | --head | --hea )
  141184. $ac_shift
  141185. case $ac_optarg in
  141186. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  141187. esac
  141188. - CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
  141189. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  141190. ac_need_defaults=false;;
  141191. --he | --h)
  141192. # Conflict between --help and --header
  141193. - { $as_echo "$as_me: error: ambiguous option: $1
  141194. -Try \`$0 --help' for more information." >&2
  141195. - { (exit 1); exit 1; }; };;
  141196. + as_fn_error "ambiguous option: \`$1'
  141197. +Try \`$0 --help' for more information.";;
  141198. --help | --hel | -h )
  141199. $as_echo "$ac_cs_usage"; exit ;;
  141200. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  141201. @@ -5557,11 +5262,10 @@
  141202. ac_cs_silent=: ;;
  141203. # This is an error.
  141204. - -*) { $as_echo "$as_me: error: unrecognized option: $1
  141205. -Try \`$0 --help' for more information." >&2
  141206. - { (exit 1); exit 1; }; } ;;
  141207. + -*) as_fn_error "unrecognized option: \`$1'
  141208. +Try \`$0 --help' for more information." ;;
  141209. - *) ac_config_targets="$ac_config_targets $1"
  141210. + *) as_fn_append ac_config_targets " $1"
  141211. ac_need_defaults=false ;;
  141212. esac
  141213. @@ -5619,9 +5323,7 @@
  141214. "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  141215. "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
  141216. - *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  141217. -$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  141218. - { (exit 1); exit 1; }; };;
  141219. + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  141220. esac
  141221. done
  141222. @@ -5648,7 +5350,7 @@
  141223. trap 'exit_status=$?
  141224. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  141225. ' 0
  141226. - trap '{ (exit 1); exit 1; }' 1 2 13 15
  141227. + trap 'as_fn_exit 1' 1 2 13 15
  141228. }
  141229. # Create a (secure) tmp directory for tmp files.
  141230. @@ -5659,11 +5361,7 @@
  141231. {
  141232. tmp=./conf$$-$RANDOM
  141233. (umask 077 && mkdir "$tmp")
  141234. -} ||
  141235. -{
  141236. - $as_echo "$as_me: cannot create a temporary directory in ." >&2
  141237. - { (exit 1); exit 1; }
  141238. -}
  141239. +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  141240. # Set up the scripts for CONFIG_FILES section.
  141241. # No need to generate them if there are no CONFIG_FILES.
  141242. @@ -5671,10 +5369,16 @@
  141243. if test -n "$CONFIG_FILES"; then
  141244. -ac_cr=' '
  141245. +ac_cr=`echo X | tr X '\015'`
  141246. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  141247. +# But we know of no other shell where ac_cr would be empty at this
  141248. +# point, so we can use a bashism as a fallback.
  141249. +if test "x$ac_cr" = x; then
  141250. + eval ac_cr=\$\'\\r\'
  141251. +fi
  141252. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  141253. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  141254. - ac_cs_awk_cr='\\r'
  141255. + ac_cs_awk_cr='\r'
  141256. else
  141257. ac_cs_awk_cr=$ac_cr
  141258. fi
  141259. @@ -5688,23 +5392,18 @@
  141260. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  141261. echo "_ACEOF"
  141262. } >conf$$subs.sh ||
  141263. - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  141264. -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  141265. - { (exit 1); exit 1; }; }
  141266. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  141267. ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  141268. ac_delim='%!_!# '
  141269. for ac_last_try in false false false false false :; do
  141270. . ./conf$$subs.sh ||
  141271. - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  141272. -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  141273. - { (exit 1); exit 1; }; }
  141274. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  141275. - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
  141276. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  141277. + if test $ac_delim_n = $ac_delim_num; then
  141278. break
  141279. elif $ac_last_try; then
  141280. - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  141281. -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  141282. - { (exit 1); exit 1; }; }
  141283. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  141284. else
  141285. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  141286. fi
  141287. @@ -5726,7 +5425,7 @@
  141288. t delim
  141289. :nl
  141290. h
  141291. -s/\(.\{148\}\).*/\1/
  141292. +s/\(.\{148\}\)..*/\1/
  141293. t more1
  141294. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  141295. p
  141296. @@ -5740,7 +5439,7 @@
  141297. t nl
  141298. :delim
  141299. h
  141300. -s/\(.\{148\}\).*/\1/
  141301. +s/\(.\{148\}\)..*/\1/
  141302. t more2
  141303. s/["\\]/\\&/g; s/^/"/; s/$/"/
  141304. p
  141305. @@ -5793,9 +5492,7 @@
  141306. else
  141307. cat
  141308. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  141309. - || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
  141310. -$as_echo "$as_me: error: could not setup config files machinery" >&2;}
  141311. - { (exit 1); exit 1; }; }
  141312. + || as_fn_error "could not setup config files machinery" "$LINENO" 5
  141313. _ACEOF
  141314. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  141315. @@ -5836,9 +5533,7 @@
  141316. if test -z "$ac_t"; then
  141317. break
  141318. elif $ac_last_try; then
  141319. - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
  141320. -$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
  141321. - { (exit 1); exit 1; }; }
  141322. + as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
  141323. else
  141324. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  141325. fi
  141326. @@ -5904,9 +5599,9 @@
  141327. }
  141328. split(mac1, mac2, "(") #)
  141329. macro = mac2[1]
  141330. + prefix = substr(line, 1, index(line, defundef) - 1)
  141331. if (D_is_set[macro]) {
  141332. # Preserve the white space surrounding the "#".
  141333. - prefix = substr(line, 1, index(line, defundef) - 1)
  141334. print prefix "define", macro P[macro] D[macro]
  141335. next
  141336. } else {
  141337. @@ -5914,7 +5609,7 @@
  141338. # in the case of _POSIX_SOURCE, which is predefined and required
  141339. # on some systems where configure will not decide to define it.
  141340. if (defundef == "undef") {
  141341. - print "/*", line, "*/"
  141342. + print "/*", prefix defundef, macro, "*/"
  141343. next
  141344. }
  141345. }
  141346. @@ -5923,9 +5618,7 @@
  141347. _ACAWK
  141348. _ACEOF
  141349. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  141350. - { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
  141351. -$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
  141352. - { (exit 1); exit 1; }; }
  141353. + as_fn_error "could not setup config headers machinery" "$LINENO" 5
  141354. fi # test -n "$CONFIG_HEADERS"
  141355. @@ -5938,9 +5631,7 @@
  141356. esac
  141357. case $ac_mode$ac_tag in
  141358. :[FHL]*:*);;
  141359. - :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  141360. -$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  141361. - { (exit 1); exit 1; }; };;
  141362. + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  141363. :[FH]-) ac_tag=-:-;;
  141364. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  141365. esac
  141366. @@ -5968,12 +5659,10 @@
  141367. [\\/$]*) false;;
  141368. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  141369. esac ||
  141370. - { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  141371. -$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  141372. - { (exit 1); exit 1; }; };;
  141373. + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  141374. esac
  141375. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  141376. - ac_file_inputs="$ac_file_inputs '$ac_f'"
  141377. + as_fn_append ac_file_inputs " '$ac_f'"
  141378. done
  141379. # Let's still pretend it is `configure' which instantiates (i.e., don't
  141380. @@ -5984,7 +5673,7 @@
  141381. `' by configure.'
  141382. if test x"$ac_file" != x-; then
  141383. configure_input="$ac_file. $configure_input"
  141384. - { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
  141385. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  141386. $as_echo "$as_me: creating $ac_file" >&6;}
  141387. fi
  141388. # Neutralize special characters interpreted by sed in replacement strings.
  141389. @@ -5997,9 +5686,7 @@
  141390. case $ac_tag in
  141391. *:-:* | *:-) cat >"$tmp/stdin" \
  141392. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  141393. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  141394. - { (exit 1); exit 1; }; } ;;
  141395. + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  141396. esac
  141397. ;;
  141398. esac
  141399. @@ -6027,47 +5714,7 @@
  141400. q
  141401. }
  141402. s/.*/./; q'`
  141403. - { as_dir="$ac_dir"
  141404. - case $as_dir in #(
  141405. - -*) as_dir=./$as_dir;;
  141406. - esac
  141407. - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  141408. - as_dirs=
  141409. - while :; do
  141410. - case $as_dir in #(
  141411. - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  141412. - *) as_qdir=$as_dir;;
  141413. - esac
  141414. - as_dirs="'$as_qdir' $as_dirs"
  141415. - as_dir=`$as_dirname -- "$as_dir" ||
  141416. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  141417. - X"$as_dir" : 'X\(//\)[^/]' \| \
  141418. - X"$as_dir" : 'X\(//\)$' \| \
  141419. - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  141420. -$as_echo X"$as_dir" |
  141421. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  141422. - s//\1/
  141423. - q
  141424. - }
  141425. - /^X\(\/\/\)[^/].*/{
  141426. - s//\1/
  141427. - q
  141428. - }
  141429. - /^X\(\/\/\)$/{
  141430. - s//\1/
  141431. - q
  141432. - }
  141433. - /^X\(\/\).*/{
  141434. - s//\1/
  141435. - q
  141436. - }
  141437. - s/.*/./; q'`
  141438. - test -d "$as_dir" && break
  141439. - done
  141440. - test -z "$as_dirs" || eval "mkdir $as_dirs"
  141441. - } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  141442. -$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
  141443. - { (exit 1); exit 1; }; }; }
  141444. + as_dir="$ac_dir"; as_fn_mkdir_p
  141445. ac_builddir=.
  141446. case "$ac_dir" in
  141447. @@ -6124,7 +5771,6 @@
  141448. # If the template does not know about datarootdir, expand it.
  141449. # FIXME: This hack should be removed a few years after 2.60.
  141450. ac_datarootdir_hack=; ac_datarootdir_seen=
  141451. -
  141452. ac_sed_dataroot='
  141453. /datarootdir/ {
  141454. p
  141455. @@ -6134,12 +5780,11 @@
  141456. /@docdir@/p
  141457. /@infodir@/p
  141458. /@localedir@/p
  141459. -/@mandir@/p
  141460. -'
  141461. +/@mandir@/p'
  141462. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  141463. *datarootdir*) ac_datarootdir_seen=yes;;
  141464. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  141465. - { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  141466. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  141467. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  141468. _ACEOF
  141469. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  141470. @@ -6149,7 +5794,7 @@
  141471. s&@infodir@&$infodir&g
  141472. s&@localedir@&$localedir&g
  141473. s&@mandir@&$mandir&g
  141474. - s&\\\${datarootdir}&$datarootdir&g' ;;
  141475. + s&\\\${datarootdir}&$datarootdir&g' ;;
  141476. esac
  141477. _ACEOF
  141478. @@ -6178,14 +5823,12 @@
  141479. $ac_datarootdir_hack
  141480. "
  141481. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  141482. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  141483. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  141484. - { (exit 1); exit 1; }; }
  141485. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  141486. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  141487. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  141488. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  141489. - { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  141490. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  141491. which seems to be undefined. Please make sure it is defined." >&5
  141492. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  141493. which seems to be undefined. Please make sure it is defined." >&2;}
  141494. @@ -6195,9 +5838,7 @@
  141495. -) cat "$tmp/out" && rm -f "$tmp/out";;
  141496. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  141497. esac \
  141498. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  141499. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  141500. - { (exit 1); exit 1; }; }
  141501. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  141502. ;;
  141503. :H)
  141504. #
  141505. @@ -6208,25 +5849,19 @@
  141506. $as_echo "/* $configure_input */" \
  141507. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  141508. } >"$tmp/config.h" \
  141509. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  141510. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  141511. - { (exit 1); exit 1; }; }
  141512. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  141513. if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  141514. - { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  141515. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  141516. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  141517. else
  141518. rm -f "$ac_file"
  141519. mv "$tmp/config.h" "$ac_file" \
  141520. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  141521. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  141522. - { (exit 1); exit 1; }; }
  141523. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  141524. fi
  141525. else
  141526. $as_echo "/* $configure_input */" \
  141527. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  141528. - || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
  141529. -$as_echo "$as_me: error: could not create -" >&2;}
  141530. - { (exit 1); exit 1; }; }
  141531. + || as_fn_error "could not create -" "$LINENO" 5
  141532. fi
  141533. # Compute "$ac_file"'s index in $config_headers.
  141534. _am_arg="$ac_file"
  141535. @@ -6264,25 +5899,35 @@
  141536. s/.*/./; q'`/stamp-h$_am_stamp_count
  141537. ;;
  141538. - :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
  141539. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  141540. $as_echo "$as_me: executing $ac_file commands" >&6;}
  141541. ;;
  141542. esac
  141543. case $ac_file$ac_mode in
  141544. - "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
  141545. - # Strip MF so we end up with the name of the file.
  141546. - mf=`echo "$mf" | sed -e 's/:.*$//'`
  141547. - # Check whether this is an Automake generated Makefile or not.
  141548. - # We used to match only the files named `Makefile.in', but
  141549. - # some people rename them; so instead we look at the file content.
  141550. - # Grep'ing the first line is not enough: some people post-process
  141551. - # each Makefile.in and add a new line on top of each file to say so.
  141552. - # Grep'ing the whole file is not good either: AIX grep has a line
  141553. - # limit of 2048, but all sed's we know have understand at least 4000.
  141554. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  141555. - dirpart=`$as_dirname -- "$mf" ||
  141556. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  141557. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  141558. + # are listed without --file. Let's play safe and only enable the eval
  141559. + # if we detect the quoting.
  141560. + case $CONFIG_FILES in
  141561. + *\'*) eval set x "$CONFIG_FILES" ;;
  141562. + *) set x $CONFIG_FILES ;;
  141563. + esac
  141564. + shift
  141565. + for mf
  141566. + do
  141567. + # Strip MF so we end up with the name of the file.
  141568. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  141569. + # Check whether this is an Automake generated Makefile or not.
  141570. + # We used to match only the files named `Makefile.in', but
  141571. + # some people rename them; so instead we look at the file content.
  141572. + # Grep'ing the first line is not enough: some people post-process
  141573. + # each Makefile.in and add a new line on top of each file to say so.
  141574. + # Grep'ing the whole file is not good either: AIX grep has a line
  141575. + # limit of 2048, but all sed's we know have understand at least 4000.
  141576. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  141577. + dirpart=`$as_dirname -- "$mf" ||
  141578. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  141579. X"$mf" : 'X\(//\)[^/]' \| \
  141580. X"$mf" : 'X\(//\)$' \| \
  141581. @@ -6305,28 +5950,28 @@
  141582. q
  141583. }
  141584. s/.*/./; q'`
  141585. - else
  141586. - continue
  141587. - fi
  141588. - # Extract the definition of DEPDIR, am__include, and am__quote
  141589. - # from the Makefile without running `make'.
  141590. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  141591. - test -z "$DEPDIR" && continue
  141592. - am__include=`sed -n 's/^am__include = //p' < "$mf"`
  141593. - test -z "am__include" && continue
  141594. - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  141595. - # When using ansi2knr, U may be empty or an underscore; expand it
  141596. - U=`sed -n 's/^U = //p' < "$mf"`
  141597. - # Find all dependency output files, they are included files with
  141598. - # $(DEPDIR) in their names. We invoke sed twice because it is the
  141599. - # simplest approach to changing $(DEPDIR) to its actual value in the
  141600. - # expansion.
  141601. - for file in `sed -n "
  141602. - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  141603. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  141604. - # Make sure the directory exists.
  141605. - test -f "$dirpart/$file" && continue
  141606. - fdir=`$as_dirname -- "$file" ||
  141607. + else
  141608. + continue
  141609. + fi
  141610. + # Extract the definition of DEPDIR, am__include, and am__quote
  141611. + # from the Makefile without running `make'.
  141612. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  141613. + test -z "$DEPDIR" && continue
  141614. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  141615. + test -z "am__include" && continue
  141616. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  141617. + # When using ansi2knr, U may be empty or an underscore; expand it
  141618. + U=`sed -n 's/^U = //p' < "$mf"`
  141619. + # Find all dependency output files, they are included files with
  141620. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  141621. + # simplest approach to changing $(DEPDIR) to its actual value in the
  141622. + # expansion.
  141623. + for file in `sed -n "
  141624. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  141625. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  141626. + # Make sure the directory exists.
  141627. + test -f "$dirpart/$file" && continue
  141628. + fdir=`$as_dirname -- "$file" ||
  141629. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  141630. X"$file" : 'X\(//\)[^/]' \| \
  141631. X"$file" : 'X\(//\)$' \| \
  141632. @@ -6349,66 +5994,24 @@
  141633. q
  141634. }
  141635. s/.*/./; q'`
  141636. - { as_dir=$dirpart/$fdir
  141637. - case $as_dir in #(
  141638. - -*) as_dir=./$as_dir;;
  141639. - esac
  141640. - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  141641. - as_dirs=
  141642. - while :; do
  141643. - case $as_dir in #(
  141644. - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  141645. - *) as_qdir=$as_dir;;
  141646. - esac
  141647. - as_dirs="'$as_qdir' $as_dirs"
  141648. - as_dir=`$as_dirname -- "$as_dir" ||
  141649. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  141650. - X"$as_dir" : 'X\(//\)[^/]' \| \
  141651. - X"$as_dir" : 'X\(//\)$' \| \
  141652. - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  141653. -$as_echo X"$as_dir" |
  141654. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  141655. - s//\1/
  141656. - q
  141657. - }
  141658. - /^X\(\/\/\)[^/].*/{
  141659. - s//\1/
  141660. - q
  141661. - }
  141662. - /^X\(\/\/\)$/{
  141663. - s//\1/
  141664. - q
  141665. - }
  141666. - /^X\(\/\).*/{
  141667. - s//\1/
  141668. - q
  141669. - }
  141670. - s/.*/./; q'`
  141671. - test -d "$as_dir" && break
  141672. + as_dir=$dirpart/$fdir; as_fn_mkdir_p
  141673. + # echo "creating $dirpart/$file"
  141674. + echo '# dummy' > "$dirpart/$file"
  141675. done
  141676. - test -z "$as_dirs" || eval "mkdir $as_dirs"
  141677. - } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  141678. -$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
  141679. - { (exit 1); exit 1; }; }; }
  141680. - # echo "creating $dirpart/$file"
  141681. - echo '# dummy' > "$dirpart/$file"
  141682. done
  141683. -done
  141684. +}
  141685. ;;
  141686. esac
  141687. done # for ac_tag
  141688. -{ (exit 0); exit 0; }
  141689. +as_fn_exit 0
  141690. _ACEOF
  141691. -chmod +x $CONFIG_STATUS
  141692. ac_clean_files=$ac_clean_files_save
  141693. test $ac_write_fail = 0 ||
  141694. - { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
  141695. -$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
  141696. - { (exit 1); exit 1; }; }
  141697. + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  141698. # configure is writing to config.log, and then calls config.status.
  141699. @@ -6429,10 +6032,10 @@
  141700. exec 5>>config.log
  141701. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  141702. # would make configure fail if this is the last instruction.
  141703. - $ac_cs_success || { (exit 1); exit 1; }
  141704. + $ac_cs_success || as_fn_exit $?
  141705. fi
  141706. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  141707. - { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
  141708. -$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
  141709. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  141710. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  141711. fi
  141712. diff -Nur squid-3.0.STABLE20.orig/lib/libTrie/include/Makefile.in squid-3.0.STABLE20/lib/libTrie/include/Makefile.in
  141713. --- squid-3.0.STABLE20.orig/lib/libTrie/include/Makefile.in 2009-10-29 11:05:44.000000000 +0100
  141714. +++ squid-3.0.STABLE20/lib/libTrie/include/Makefile.in 2010-02-19 00:39:34.048852754 +0100
  141715. @@ -1,8 +1,9 @@
  141716. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  141717. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  141718. # @configure_input@
  141719. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  141720. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  141721. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  141722. +# Inc.
  141723. # This Makefile.in is free software; the Free Software Foundation
  141724. # gives unlimited permission to copy and/or distribute it,
  141725. # with or without modifications, as long as this notice is preserved.
  141726. @@ -16,8 +17,9 @@
  141727. VPATH = @srcdir@
  141728. pkgdatadir = $(datadir)/@PACKAGE@
  141729. -pkglibdir = $(libdir)/@PACKAGE@
  141730. pkgincludedir = $(includedir)/@PACKAGE@
  141731. +pkglibdir = $(libdir)/@PACKAGE@
  141732. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  141733. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  141734. install_sh_DATA = $(install_sh) -c -m 644
  141735. install_sh_PROGRAM = $(install_sh) -c
  141736. @@ -41,6 +43,7 @@
  141737. mkinstalldirs = $(install_sh) -d
  141738. CONFIG_HEADER = $(top_builddir)/config.h
  141739. CONFIG_CLEAN_FILES =
  141740. +CONFIG_CLEAN_VPATH_FILES =
  141741. SOURCES =
  141742. DIST_SOURCES =
  141743. HEADERS = $(noinst_HEADERS)
  141744. @@ -88,6 +91,7 @@
  141745. PACKAGE_NAME = @PACKAGE_NAME@
  141746. PACKAGE_STRING = @PACKAGE_STRING@
  141747. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  141748. +PACKAGE_URL = @PACKAGE_URL@
  141749. PACKAGE_VERSION = @PACKAGE_VERSION@
  141750. PATH_SEPARATOR = @PATH_SEPARATOR@
  141751. RANLIB = @RANLIB@
  141752. @@ -148,14 +152,14 @@
  141753. @for dep in $?; do \
  141754. case '$(am__configure_deps)' in \
  141755. *$$dep*) \
  141756. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  141757. - && exit 0; \
  141758. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  141759. + && { if test -f $@; then exit 0; else break; fi; }; \
  141760. exit 1;; \
  141761. esac; \
  141762. done; \
  141763. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign include/Makefile'; \
  141764. - cd $(top_srcdir) && \
  141765. - $(AUTOMAKE) --foreign include/Makefile
  141766. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign include/Makefile'; \
  141767. + $(am__cd) $(top_srcdir) && \
  141768. + $(AUTOMAKE) --foreign include/Makefile
  141769. .PRECIOUS: Makefile
  141770. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  141771. @case '$?' in \
  141772. @@ -173,20 +177,21 @@
  141773. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  141774. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  141775. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  141776. +$(am__aclocal_m4_deps):
  141777. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  141778. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  141779. unique=`for i in $$list; do \
  141780. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  141781. done | \
  141782. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  141783. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  141784. END { if (nonempty) { for (i in files) print i; }; }'`; \
  141785. mkid -fID $$unique
  141786. tags: TAGS
  141787. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  141788. $(TAGS_FILES) $(LISP)
  141789. - tags=; \
  141790. + set x; \
  141791. here=`pwd`; \
  141792. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  141793. unique=`for i in $$list; do \
  141794. @@ -194,29 +199,34 @@
  141795. done | \
  141796. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  141797. END { if (nonempty) { for (i in files) print i; }; }'`; \
  141798. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  141799. + shift; \
  141800. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  141801. test -n "$$unique" || unique=$$empty_fix; \
  141802. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  141803. - $$tags $$unique; \
  141804. + if test $$# -gt 0; then \
  141805. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  141806. + "$$@" $$unique; \
  141807. + else \
  141808. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  141809. + $$unique; \
  141810. + fi; \
  141811. fi
  141812. ctags: CTAGS
  141813. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  141814. $(TAGS_FILES) $(LISP)
  141815. - tags=; \
  141816. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  141817. unique=`for i in $$list; do \
  141818. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  141819. done | \
  141820. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  141821. END { if (nonempty) { for (i in files) print i; }; }'`; \
  141822. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  141823. + test -z "$(CTAGS_ARGS)$$unique" \
  141824. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  141825. - $$tags $$unique
  141826. + $$unique
  141827. GTAGS:
  141828. here=`$(am__cd) $(top_builddir) && pwd` \
  141829. - && cd $(top_srcdir) \
  141830. - && gtags -i $(GTAGS_ARGS) $$here
  141831. + && $(am__cd) $(top_srcdir) \
  141832. + && gtags -i $(GTAGS_ARGS) "$$here"
  141833. distclean-tags:
  141834. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  141835. @@ -237,13 +247,17 @@
  141836. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  141837. if test -d $$d/$$file; then \
  141838. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  141839. + if test -d "$(distdir)/$$file"; then \
  141840. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  141841. + fi; \
  141842. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  141843. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  141844. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  141845. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  141846. fi; \
  141847. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  141848. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  141849. else \
  141850. - test -f $(distdir)/$$file \
  141851. - || cp -p $$d/$$file $(distdir)/$$file \
  141852. + test -f "$(distdir)/$$file" \
  141853. + || cp -p $$d/$$file "$(distdir)/$$file" \
  141854. || exit 1; \
  141855. fi; \
  141856. done
  141857. @@ -271,6 +285,7 @@
  141858. distclean-generic:
  141859. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  141860. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  141861. maintainer-clean-generic:
  141862. @echo "This command is intended for maintainers to use"
  141863. @@ -289,6 +304,8 @@
  141864. html: html-am
  141865. +html-am:
  141866. +
  141867. info: info-am
  141868. info-am:
  141869. @@ -297,18 +314,28 @@
  141870. install-dvi: install-dvi-am
  141871. +install-dvi-am:
  141872. +
  141873. install-exec-am:
  141874. install-html: install-html-am
  141875. +install-html-am:
  141876. +
  141877. install-info: install-info-am
  141878. +install-info-am:
  141879. +
  141880. install-man:
  141881. install-pdf: install-pdf-am
  141882. +install-pdf-am:
  141883. +
  141884. install-ps: install-ps-am
  141885. +install-ps-am:
  141886. +
  141887. installcheck-am:
  141888. maintainer-clean: maintainer-clean-am
  141889. @@ -342,6 +369,7 @@
  141890. maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
  141891. pdf-am ps ps-am tags uninstall uninstall-am
  141892. +
  141893. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  141894. # Otherwise a system limit (for SysV at least) may be exceeded.
  141895. .NOEXPORT:
  141896. diff -Nur squid-3.0.STABLE20.orig/lib/libTrie/Makefile.in squid-3.0.STABLE20/lib/libTrie/Makefile.in
  141897. --- squid-3.0.STABLE20.orig/lib/libTrie/Makefile.in 2009-10-29 11:05:44.000000000 +0100
  141898. +++ squid-3.0.STABLE20/lib/libTrie/Makefile.in 2010-02-19 00:39:34.392852151 +0100
  141899. @@ -1,8 +1,9 @@
  141900. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  141901. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  141902. # @configure_input@
  141903. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  141904. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  141905. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  141906. +# Inc.
  141907. # This Makefile.in is free software; the Free Software Foundation
  141908. # gives unlimited permission to copy and/or distribute it,
  141909. # with or without modifications, as long as this notice is preserved.
  141910. @@ -19,8 +20,9 @@
  141911. #
  141912. VPATH = @srcdir@
  141913. pkgdatadir = $(datadir)/@PACKAGE@
  141914. -pkglibdir = $(libdir)/@PACKAGE@
  141915. pkgincludedir = $(includedir)/@PACKAGE@
  141916. +pkglibdir = $(libdir)/@PACKAGE@
  141917. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  141918. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  141919. install_sh_DATA = $(install_sh) -c -m 644
  141920. install_sh_PROGRAM = $(install_sh) -c
  141921. @@ -49,6 +51,7 @@
  141922. mkinstalldirs = $(install_sh) -d
  141923. CONFIG_HEADER = config.h
  141924. CONFIG_CLEAN_FILES =
  141925. +CONFIG_CLEAN_VPATH_FILES =
  141926. SOURCES =
  141927. DIST_SOURCES =
  141928. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  141929. @@ -60,15 +63,43 @@
  141930. ps-recursive uninstall-recursive
  141931. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  141932. distclean-recursive maintainer-clean-recursive
  141933. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  141934. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  141935. + distdir dist dist-all distcheck
  141936. ETAGS = etags
  141937. CTAGS = ctags
  141938. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  141939. distdir = $(PACKAGE)-$(VERSION)
  141940. top_distdir = $(distdir)
  141941. am__remove_distdir = \
  141942. - { test ! -d $(distdir) \
  141943. - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
  141944. - && rm -fr $(distdir); }; }
  141945. + { test ! -d "$(distdir)" \
  141946. + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  141947. + && rm -fr "$(distdir)"; }; }
  141948. +am__relativize = \
  141949. + dir0=`pwd`; \
  141950. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  141951. + sed_rest='s,^[^/]*/*,,'; \
  141952. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  141953. + sed_butlast='s,/*[^/]*$$,,'; \
  141954. + while test -n "$$dir1"; do \
  141955. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  141956. + if test "$$first" != "."; then \
  141957. + if test "$$first" = ".."; then \
  141958. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  141959. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  141960. + else \
  141961. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  141962. + if test "$$first2" = "$$first"; then \
  141963. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  141964. + else \
  141965. + dir2="../$$dir2"; \
  141966. + fi; \
  141967. + dir0="$$dir0"/"$$first"; \
  141968. + fi; \
  141969. + fi; \
  141970. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  141971. + done; \
  141972. + reldir="$$dir2"
  141973. DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
  141974. GZIP_ENV = --best
  141975. distuninstallcheck_listfiles = find . -type f -print
  141976. @@ -114,6 +145,7 @@
  141977. PACKAGE_NAME = @PACKAGE_NAME@
  141978. PACKAGE_STRING = @PACKAGE_STRING@
  141979. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  141980. +PACKAGE_URL = @PACKAGE_URL@
  141981. PACKAGE_VERSION = @PACKAGE_VERSION@
  141982. PATH_SEPARATOR = @PATH_SEPARATOR@
  141983. RANLIB = @RANLIB@
  141984. @@ -179,15 +211,15 @@
  141985. @for dep in $?; do \
  141986. case '$(am__configure_deps)' in \
  141987. *$$dep*) \
  141988. - echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
  141989. - cd $(srcdir) && $(AUTOMAKE) --foreign \
  141990. + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
  141991. + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
  141992. && exit 0; \
  141993. exit 1;; \
  141994. esac; \
  141995. done; \
  141996. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  141997. - cd $(top_srcdir) && \
  141998. - $(AUTOMAKE) --foreign Makefile
  141999. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  142000. + $(am__cd) $(top_srcdir) && \
  142001. + $(AUTOMAKE) --foreign Makefile
  142002. .PRECIOUS: Makefile
  142003. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  142004. @case '$?' in \
  142005. @@ -203,9 +235,10 @@
  142006. $(SHELL) ./config.status --recheck
  142007. $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  142008. - cd $(srcdir) && $(AUTOCONF)
  142009. + $(am__cd) $(srcdir) && $(AUTOCONF)
  142010. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  142011. - cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  142012. + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  142013. +$(am__aclocal_m4_deps):
  142014. config.h: stamp-h1
  142015. @if test ! -f $@; then \
  142016. @@ -217,7 +250,7 @@
  142017. @rm -f stamp-h1
  142018. cd $(top_builddir) && $(SHELL) ./config.status config.h
  142019. $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  142020. - cd $(top_srcdir) && $(AUTOHEADER)
  142021. + ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
  142022. rm -f stamp-h1
  142023. touch $@
  142024. @@ -231,7 +264,7 @@
  142025. # (which will cause the Makefiles to be regenerated when you run `make');
  142026. # (2) otherwise, pass the desired values on the `make' command line.
  142027. $(RECURSIVE_TARGETS):
  142028. - @failcom='exit 1'; \
  142029. + @fail= failcom='exit 1'; \
  142030. for f in x $$MAKEFLAGS; do \
  142031. case $$f in \
  142032. *=* | --[!k]*);; \
  142033. @@ -248,7 +281,7 @@
  142034. else \
  142035. local_target="$$target"; \
  142036. fi; \
  142037. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  142038. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  142039. || eval $$failcom; \
  142040. done; \
  142041. if test "$$dot_seen" = "no"; then \
  142042. @@ -256,7 +289,7 @@
  142043. fi; test -z "$$fail"
  142044. $(RECURSIVE_CLEAN_TARGETS):
  142045. - @failcom='exit 1'; \
  142046. + @fail= failcom='exit 1'; \
  142047. for f in x $$MAKEFLAGS; do \
  142048. case $$f in \
  142049. *=* | --[!k]*);; \
  142050. @@ -282,16 +315,16 @@
  142051. else \
  142052. local_target="$$target"; \
  142053. fi; \
  142054. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  142055. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  142056. || eval $$failcom; \
  142057. done && test -z "$$fail"
  142058. tags-recursive:
  142059. list='$(SUBDIRS)'; for subdir in $$list; do \
  142060. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  142061. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  142062. done
  142063. ctags-recursive:
  142064. list='$(SUBDIRS)'; for subdir in $$list; do \
  142065. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  142066. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  142067. done
  142068. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  142069. @@ -299,14 +332,14 @@
  142070. unique=`for i in $$list; do \
  142071. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  142072. done | \
  142073. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  142074. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  142075. END { if (nonempty) { for (i in files) print i; }; }'`; \
  142076. mkid -fID $$unique
  142077. tags: TAGS
  142078. TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  142079. $(TAGS_FILES) $(LISP)
  142080. - tags=; \
  142081. + set x; \
  142082. here=`pwd`; \
  142083. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  142084. include_option=--etags-include; \
  142085. @@ -318,7 +351,7 @@
  142086. list='$(SUBDIRS)'; for subdir in $$list; do \
  142087. if test "$$subdir" = .; then :; else \
  142088. test ! -f $$subdir/TAGS || \
  142089. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  142090. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  142091. fi; \
  142092. done; \
  142093. list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  142094. @@ -327,36 +360,41 @@
  142095. done | \
  142096. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  142097. END { if (nonempty) { for (i in files) print i; }; }'`; \
  142098. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  142099. + shift; \
  142100. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  142101. test -n "$$unique" || unique=$$empty_fix; \
  142102. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  142103. - $$tags $$unique; \
  142104. + if test $$# -gt 0; then \
  142105. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  142106. + "$$@" $$unique; \
  142107. + else \
  142108. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  142109. + $$unique; \
  142110. + fi; \
  142111. fi
  142112. ctags: CTAGS
  142113. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  142114. $(TAGS_FILES) $(LISP)
  142115. - tags=; \
  142116. list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  142117. unique=`for i in $$list; do \
  142118. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  142119. done | \
  142120. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  142121. END { if (nonempty) { for (i in files) print i; }; }'`; \
  142122. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  142123. + test -z "$(CTAGS_ARGS)$$unique" \
  142124. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  142125. - $$tags $$unique
  142126. + $$unique
  142127. GTAGS:
  142128. here=`$(am__cd) $(top_builddir) && pwd` \
  142129. - && cd $(top_srcdir) \
  142130. - && gtags -i $(GTAGS_ARGS) $$here
  142131. + && $(am__cd) $(top_srcdir) \
  142132. + && gtags -i $(GTAGS_ARGS) "$$here"
  142133. distclean-tags:
  142134. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  142135. distdir: $(DISTFILES)
  142136. $(am__remove_distdir)
  142137. - test -d $(distdir) || mkdir $(distdir)
  142138. + test -d "$(distdir)" || mkdir "$(distdir)"
  142139. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  142140. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  142141. list='$(DISTFILES)'; \
  142142. @@ -372,38 +410,55 @@
  142143. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  142144. if test -d $$d/$$file; then \
  142145. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  142146. + if test -d "$(distdir)/$$file"; then \
  142147. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  142148. + fi; \
  142149. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  142150. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  142151. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  142152. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  142153. fi; \
  142154. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  142155. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  142156. else \
  142157. - test -f $(distdir)/$$file \
  142158. - || cp -p $$d/$$file $(distdir)/$$file \
  142159. + test -f "$(distdir)/$$file" \
  142160. + || cp -p $$d/$$file "$(distdir)/$$file" \
  142161. || exit 1; \
  142162. fi; \
  142163. done
  142164. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  142165. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  142166. if test "$$subdir" = .; then :; else \
  142167. test -d "$(distdir)/$$subdir" \
  142168. || $(MKDIR_P) "$(distdir)/$$subdir" \
  142169. || exit 1; \
  142170. - distdir=`$(am__cd) $(distdir) && pwd`; \
  142171. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  142172. - (cd $$subdir && \
  142173. + fi; \
  142174. + done
  142175. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  142176. + if test "$$subdir" = .; then :; else \
  142177. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  142178. + $(am__relativize); \
  142179. + new_distdir=$$reldir; \
  142180. + dir1=$$subdir; dir2="$(top_distdir)"; \
  142181. + $(am__relativize); \
  142182. + new_top_distdir=$$reldir; \
  142183. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  142184. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  142185. + ($(am__cd) $$subdir && \
  142186. $(MAKE) $(AM_MAKEFLAGS) \
  142187. - top_distdir="$$top_distdir" \
  142188. - distdir="$$distdir/$$subdir" \
  142189. + top_distdir="$$new_top_distdir" \
  142190. + distdir="$$new_distdir" \
  142191. am__remove_distdir=: \
  142192. am__skip_length_check=: \
  142193. + am__skip_mode_fix=: \
  142194. distdir) \
  142195. || exit 1; \
  142196. fi; \
  142197. done
  142198. - -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
  142199. + -test -n "$(am__skip_mode_fix)" \
  142200. + || find "$(distdir)" -type d ! -perm -755 \
  142201. + -exec chmod u+rwx,go+rx {} \; -o \
  142202. ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  142203. ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  142204. ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  142205. - || chmod -R a+r $(distdir)
  142206. + || chmod -R a+r "$(distdir)"
  142207. dist-gzip: distdir
  142208. tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  142209. $(am__remove_distdir)
  142210. @@ -415,6 +470,10 @@
  142211. tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  142212. $(am__remove_distdir)
  142213. +dist-xz: distdir
  142214. + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
  142215. + $(am__remove_distdir)
  142216. +
  142217. dist-tarZ: distdir
  142218. tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  142219. $(am__remove_distdir)
  142220. @@ -439,15 +498,17 @@
  142221. distcheck: dist
  142222. case '$(DIST_ARCHIVES)' in \
  142223. *.tar.gz*) \
  142224. - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
  142225. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  142226. *.tar.bz2*) \
  142227. - bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
  142228. + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  142229. *.tar.lzma*) \
  142230. - unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
  142231. + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
  142232. + *.tar.xz*) \
  142233. + xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  142234. *.tar.Z*) \
  142235. uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  142236. *.shar.gz*) \
  142237. - GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
  142238. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
  142239. *.zip*) \
  142240. unzip $(distdir).zip ;;\
  142241. esac
  142242. @@ -455,9 +516,11 @@
  142243. mkdir $(distdir)/_build
  142244. mkdir $(distdir)/_inst
  142245. chmod a-w $(distdir)
  142246. + test -d $(distdir)/_build || exit 0; \
  142247. dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  142248. && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  142249. - && cd $(distdir)/_build \
  142250. + && am__cwd=`pwd` \
  142251. + && $(am__cd) $(distdir)/_build \
  142252. && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  142253. $(DISTCHECK_CONFIGURE_FLAGS) \
  142254. && $(MAKE) $(AM_MAKEFLAGS) \
  142255. @@ -479,13 +542,15 @@
  142256. && rm -rf "$$dc_destdir" \
  142257. && $(MAKE) $(AM_MAKEFLAGS) dist \
  142258. && rm -rf $(DIST_ARCHIVES) \
  142259. - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
  142260. + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  142261. + && cd "$$am__cwd" \
  142262. + || exit 1
  142263. $(am__remove_distdir)
  142264. @(echo "$(distdir) archives ready for distribution: "; \
  142265. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  142266. sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  142267. distuninstallcheck:
  142268. - @cd $(distuninstallcheck_dir) \
  142269. + @$(am__cd) '$(distuninstallcheck_dir)' \
  142270. && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  142271. || { echo "ERROR: files left after uninstall:" ; \
  142272. if test -n "$(DESTDIR)"; then \
  142273. @@ -527,6 +592,7 @@
  142274. distclean-generic:
  142275. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  142276. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  142277. maintainer-clean-generic:
  142278. @echo "This command is intended for maintainers to use"
  142279. @@ -546,6 +612,8 @@
  142280. html: html-recursive
  142281. +html-am:
  142282. +
  142283. info: info-recursive
  142284. info-am:
  142285. @@ -554,18 +622,28 @@
  142286. install-dvi: install-dvi-recursive
  142287. +install-dvi-am:
  142288. +
  142289. install-exec-am:
  142290. install-html: install-html-recursive
  142291. +install-html-am:
  142292. +
  142293. install-info: install-info-recursive
  142294. +install-info-am:
  142295. +
  142296. install-man:
  142297. install-pdf: install-pdf-recursive
  142298. +install-pdf-am:
  142299. +
  142300. install-ps: install-ps-recursive
  142301. +install-ps-am:
  142302. +
  142303. installcheck-am:
  142304. maintainer-clean: maintainer-clean-recursive
  142305. @@ -588,24 +666,25 @@
  142306. uninstall-am:
  142307. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  142308. - install-strip
  142309. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
  142310. + ctags-recursive install-am install-strip tags-recursive
  142311. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  142312. all all-am am--refresh check check-am clean clean-generic \
  142313. ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
  142314. - dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \
  142315. - distclean-generic distclean-hdr distclean-tags distcleancheck \
  142316. - distdir distuninstallcheck dvi dvi-am html html-am info \
  142317. - info-am install install-am install-data install-data-am \
  142318. - install-dvi install-dvi-am install-exec install-exec-am \
  142319. - install-html install-html-am install-info install-info-am \
  142320. - install-man install-pdf install-pdf-am install-ps \
  142321. - install-ps-am install-strip installcheck installcheck-am \
  142322. - installdirs installdirs-am maintainer-clean \
  142323. + dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
  142324. + distclean distclean-generic distclean-hdr distclean-tags \
  142325. + distcleancheck distdir distuninstallcheck dvi dvi-am html \
  142326. + html-am info info-am install install-am install-data \
  142327. + install-data-am install-dvi install-dvi-am install-exec \
  142328. + install-exec-am install-html install-html-am install-info \
  142329. + install-info-am install-man install-pdf install-pdf-am \
  142330. + install-ps install-ps-am install-strip installcheck \
  142331. + installcheck-am installdirs installdirs-am maintainer-clean \
  142332. maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
  142333. pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
  142334. +
  142335. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  142336. # Otherwise a system limit (for SysV at least) may be exceeded.
  142337. .NOEXPORT:
  142338. diff -Nur squid-3.0.STABLE20.orig/lib/libTrie/src/Makefile.in squid-3.0.STABLE20/lib/libTrie/src/Makefile.in
  142339. --- squid-3.0.STABLE20.orig/lib/libTrie/src/Makefile.in 2009-10-29 11:05:44.000000000 +0100
  142340. +++ squid-3.0.STABLE20/lib/libTrie/src/Makefile.in 2010-02-19 00:39:34.164852721 +0100
  142341. @@ -1,8 +1,9 @@
  142342. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  142343. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  142344. # @configure_input@
  142345. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  142346. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  142347. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  142348. +# Inc.
  142349. # This Makefile.in is free software; the Free Software Foundation
  142350. # gives unlimited permission to copy and/or distribute it,
  142351. # with or without modifications, as long as this notice is preserved.
  142352. @@ -17,8 +18,9 @@
  142353. VPATH = @srcdir@
  142354. pkgdatadir = $(datadir)/@PACKAGE@
  142355. -pkglibdir = $(libdir)/@PACKAGE@
  142356. pkgincludedir = $(includedir)/@PACKAGE@
  142357. +pkglibdir = $(libdir)/@PACKAGE@
  142358. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  142359. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  142360. install_sh_DATA = $(install_sh) -c -m 644
  142361. install_sh_PROGRAM = $(install_sh) -c
  142362. @@ -42,6 +44,7 @@
  142363. mkinstalldirs = $(install_sh) -d
  142364. CONFIG_HEADER = $(top_builddir)/config.h
  142365. CONFIG_CLEAN_FILES =
  142366. +CONFIG_CLEAN_VPATH_FILES =
  142367. LIBRARIES = $(noinst_LIBRARIES)
  142368. AR = ar
  142369. ARFLAGS = cru
  142370. @@ -52,6 +55,7 @@
  142371. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  142372. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  142373. am__depfiles_maybe = depfiles
  142374. +am__mv = mv -f
  142375. CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  142376. $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
  142377. CXXLD = $(CXX)
  142378. @@ -104,6 +108,7 @@
  142379. PACKAGE_NAME = @PACKAGE_NAME@
  142380. PACKAGE_STRING = @PACKAGE_STRING@
  142381. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  142382. +PACKAGE_URL = @PACKAGE_URL@
  142383. PACKAGE_VERSION = @PACKAGE_VERSION@
  142384. PATH_SEPARATOR = @PATH_SEPARATOR@
  142385. RANLIB = @RANLIB@
  142386. @@ -174,14 +179,14 @@
  142387. @for dep in $?; do \
  142388. case '$(am__configure_deps)' in \
  142389. *$$dep*) \
  142390. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  142391. - && exit 0; \
  142392. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  142393. + && { if test -f $@; then exit 0; else break; fi; }; \
  142394. exit 1;; \
  142395. esac; \
  142396. done; \
  142397. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
  142398. - cd $(top_srcdir) && \
  142399. - $(AUTOMAKE) --foreign src/Makefile
  142400. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
  142401. + $(am__cd) $(top_srcdir) && \
  142402. + $(AUTOMAKE) --foreign src/Makefile
  142403. .PRECIOUS: Makefile
  142404. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  142405. @case '$?' in \
  142406. @@ -199,6 +204,7 @@
  142407. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  142408. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  142409. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  142410. +$(am__aclocal_m4_deps):
  142411. clean-noinstLIBRARIES:
  142412. -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
  142413. @@ -218,14 +224,14 @@
  142414. .cc.o:
  142415. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  142416. -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  142417. +@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  142418. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  142419. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  142420. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
  142421. .cc.obj:
  142422. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  142423. -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  142424. +@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  142425. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  142426. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  142427. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  142428. @@ -235,14 +241,14 @@
  142429. unique=`for i in $$list; do \
  142430. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  142431. done | \
  142432. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  142433. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  142434. END { if (nonempty) { for (i in files) print i; }; }'`; \
  142435. mkid -fID $$unique
  142436. tags: TAGS
  142437. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  142438. $(TAGS_FILES) $(LISP)
  142439. - tags=; \
  142440. + set x; \
  142441. here=`pwd`; \
  142442. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  142443. unique=`for i in $$list; do \
  142444. @@ -250,29 +256,34 @@
  142445. done | \
  142446. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  142447. END { if (nonempty) { for (i in files) print i; }; }'`; \
  142448. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  142449. + shift; \
  142450. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  142451. test -n "$$unique" || unique=$$empty_fix; \
  142452. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  142453. - $$tags $$unique; \
  142454. + if test $$# -gt 0; then \
  142455. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  142456. + "$$@" $$unique; \
  142457. + else \
  142458. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  142459. + $$unique; \
  142460. + fi; \
  142461. fi
  142462. ctags: CTAGS
  142463. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  142464. $(TAGS_FILES) $(LISP)
  142465. - tags=; \
  142466. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  142467. unique=`for i in $$list; do \
  142468. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  142469. done | \
  142470. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  142471. END { if (nonempty) { for (i in files) print i; }; }'`; \
  142472. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  142473. + test -z "$(CTAGS_ARGS)$$unique" \
  142474. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  142475. - $$tags $$unique
  142476. + $$unique
  142477. GTAGS:
  142478. here=`$(am__cd) $(top_builddir) && pwd` \
  142479. - && cd $(top_srcdir) \
  142480. - && gtags -i $(GTAGS_ARGS) $$here
  142481. + && $(am__cd) $(top_srcdir) \
  142482. + && gtags -i $(GTAGS_ARGS) "$$here"
  142483. distclean-tags:
  142484. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  142485. @@ -293,13 +304,17 @@
  142486. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  142487. if test -d $$d/$$file; then \
  142488. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  142489. + if test -d "$(distdir)/$$file"; then \
  142490. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  142491. + fi; \
  142492. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  142493. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  142494. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  142495. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  142496. fi; \
  142497. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  142498. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  142499. else \
  142500. - test -f $(distdir)/$$file \
  142501. - || cp -p $$d/$$file $(distdir)/$$file \
  142502. + test -f "$(distdir)/$$file" \
  142503. + || cp -p $$d/$$file "$(distdir)/$$file" \
  142504. || exit 1; \
  142505. fi; \
  142506. done
  142507. @@ -327,6 +342,7 @@
  142508. distclean-generic:
  142509. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  142510. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  142511. maintainer-clean-generic:
  142512. @echo "This command is intended for maintainers to use"
  142513. @@ -347,6 +363,8 @@
  142514. html: html-am
  142515. +html-am:
  142516. +
  142517. info: info-am
  142518. info-am:
  142519. @@ -355,18 +373,28 @@
  142520. install-dvi: install-dvi-am
  142521. +install-dvi-am:
  142522. +
  142523. install-exec-am:
  142524. install-html: install-html-am
  142525. +install-html-am:
  142526. +
  142527. install-info: install-info-am
  142528. +install-info-am:
  142529. +
  142530. install-man:
  142531. install-pdf: install-pdf-am
  142532. +install-pdf-am:
  142533. +
  142534. install-ps: install-ps-am
  142535. +install-ps-am:
  142536. +
  142537. installcheck-am:
  142538. maintainer-clean: maintainer-clean-am
  142539. @@ -403,6 +431,7 @@
  142540. mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  142541. uninstall-am
  142542. +
  142543. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  142544. # Otherwise a system limit (for SysV at least) may be exceeded.
  142545. .NOEXPORT:
  142546. diff -Nur squid-3.0.STABLE20.orig/lib/libTrie/test/Makefile.in squid-3.0.STABLE20/lib/libTrie/test/Makefile.in
  142547. --- squid-3.0.STABLE20.orig/lib/libTrie/test/Makefile.in 2009-10-29 11:05:44.000000000 +0100
  142548. +++ squid-3.0.STABLE20/lib/libTrie/test/Makefile.in 2010-02-19 00:39:34.296852763 +0100
  142549. @@ -1,8 +1,9 @@
  142550. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  142551. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  142552. # @configure_input@
  142553. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  142554. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  142555. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  142556. +# Inc.
  142557. # This Makefile.in is free software; the Free Software Foundation
  142558. # gives unlimited permission to copy and/or distribute it,
  142559. # with or without modifications, as long as this notice is preserved.
  142560. @@ -15,8 +16,9 @@
  142561. @SET_MAKE@
  142562. VPATH = @srcdir@
  142563. pkgdatadir = $(datadir)/@PACKAGE@
  142564. -pkglibdir = $(libdir)/@PACKAGE@
  142565. pkgincludedir = $(includedir)/@PACKAGE@
  142566. +pkglibdir = $(libdir)/@PACKAGE@
  142567. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  142568. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  142569. install_sh_DATA = $(install_sh) -c -m 644
  142570. install_sh_PROGRAM = $(install_sh) -c
  142571. @@ -41,6 +43,7 @@
  142572. mkinstalldirs = $(install_sh) -d
  142573. CONFIG_HEADER = $(top_builddir)/config.h
  142574. CONFIG_CLEAN_FILES =
  142575. +CONFIG_CLEAN_VPATH_FILES =
  142576. am_trie_OBJECTS = trie.$(OBJEXT)
  142577. trie_OBJECTS = $(am_trie_OBJECTS)
  142578. trie_DEPENDENCIES = $(top_builddir)/src/libTrie.a
  142579. @@ -50,6 +53,7 @@
  142580. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  142581. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  142582. am__depfiles_maybe = depfiles
  142583. +am__mv = mv -f
  142584. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  142585. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  142586. CCLD = $(CC)
  142587. @@ -63,6 +67,8 @@
  142588. DIST_SOURCES = $(trie_SOURCES) $(trie_c_SOURCES)
  142589. ETAGS = etags
  142590. CTAGS = ctags
  142591. +am__tty_colors = \
  142592. +red=; grn=; lgn=; blu=; std=
  142593. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  142594. ACLOCAL = @ACLOCAL@
  142595. AMTAR = @AMTAR@
  142596. @@ -105,6 +111,7 @@
  142597. PACKAGE_NAME = @PACKAGE_NAME@
  142598. PACKAGE_STRING = @PACKAGE_STRING@
  142599. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  142600. +PACKAGE_URL = @PACKAGE_URL@
  142601. PACKAGE_VERSION = @PACKAGE_VERSION@
  142602. PATH_SEPARATOR = @PATH_SEPARATOR@
  142603. RANLIB = @RANLIB@
  142604. @@ -172,14 +179,14 @@
  142605. @for dep in $?; do \
  142606. case '$(am__configure_deps)' in \
  142607. *$$dep*) \
  142608. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  142609. - && exit 0; \
  142610. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  142611. + && { if test -f $@; then exit 0; else break; fi; }; \
  142612. exit 1;; \
  142613. esac; \
  142614. done; \
  142615. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/Makefile'; \
  142616. - cd $(top_srcdir) && \
  142617. - $(AUTOMAKE) --foreign test/Makefile
  142618. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/Makefile'; \
  142619. + $(am__cd) $(top_srcdir) && \
  142620. + $(AUTOMAKE) --foreign test/Makefile
  142621. .PRECIOUS: Makefile
  142622. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  142623. @case '$?' in \
  142624. @@ -197,6 +204,7 @@
  142625. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  142626. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  142627. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  142628. +$(am__aclocal_m4_deps):
  142629. clean-checkPROGRAMS:
  142630. -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
  142631. @@ -218,28 +226,28 @@
  142632. .c.o:
  142633. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  142634. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  142635. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  142636. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  142637. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  142638. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  142639. .c.obj:
  142640. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  142641. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  142642. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  142643. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  142644. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  142645. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  142646. .cc.o:
  142647. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  142648. -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  142649. +@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  142650. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  142651. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  142652. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
  142653. .cc.obj:
  142654. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  142655. -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  142656. +@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  142657. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  142658. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  142659. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  142660. @@ -249,14 +257,14 @@
  142661. unique=`for i in $$list; do \
  142662. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  142663. done | \
  142664. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  142665. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  142666. END { if (nonempty) { for (i in files) print i; }; }'`; \
  142667. mkid -fID $$unique
  142668. tags: TAGS
  142669. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  142670. $(TAGS_FILES) $(LISP)
  142671. - tags=; \
  142672. + set x; \
  142673. here=`pwd`; \
  142674. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  142675. unique=`for i in $$list; do \
  142676. @@ -264,37 +272,43 @@
  142677. done | \
  142678. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  142679. END { if (nonempty) { for (i in files) print i; }; }'`; \
  142680. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  142681. + shift; \
  142682. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  142683. test -n "$$unique" || unique=$$empty_fix; \
  142684. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  142685. - $$tags $$unique; \
  142686. + if test $$# -gt 0; then \
  142687. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  142688. + "$$@" $$unique; \
  142689. + else \
  142690. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  142691. + $$unique; \
  142692. + fi; \
  142693. fi
  142694. ctags: CTAGS
  142695. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  142696. $(TAGS_FILES) $(LISP)
  142697. - tags=; \
  142698. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  142699. unique=`for i in $$list; do \
  142700. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  142701. done | \
  142702. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  142703. END { if (nonempty) { for (i in files) print i; }; }'`; \
  142704. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  142705. + test -z "$(CTAGS_ARGS)$$unique" \
  142706. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  142707. - $$tags $$unique
  142708. + $$unique
  142709. GTAGS:
  142710. here=`$(am__cd) $(top_builddir) && pwd` \
  142711. - && cd $(top_srcdir) \
  142712. - && gtags -i $(GTAGS_ARGS) $$here
  142713. + && $(am__cd) $(top_srcdir) \
  142714. + && gtags -i $(GTAGS_ARGS) "$$here"
  142715. distclean-tags:
  142716. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  142717. check-TESTS: $(TESTS)
  142718. - @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
  142719. + @failed=0; all=0; xfail=0; xpass=0; skip=0; \
  142720. srcdir=$(srcdir); export srcdir; \
  142721. list=' $(TESTS) '; \
  142722. + $(am__tty_colors); \
  142723. if test -n "$$list"; then \
  142724. for tst in $$list; do \
  142725. if test -f ./$$tst; then dir=./; \
  142726. @@ -303,49 +317,63 @@
  142727. if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
  142728. all=`expr $$all + 1`; \
  142729. case " $(XFAIL_TESTS) " in \
  142730. - *$$ws$$tst$$ws*) \
  142731. + *[\ \ ]$$tst[\ \ ]*) \
  142732. xpass=`expr $$xpass + 1`; \
  142733. failed=`expr $$failed + 1`; \
  142734. - echo "XPASS: $$tst"; \
  142735. + col=$$red; res=XPASS; \
  142736. ;; \
  142737. *) \
  142738. - echo "PASS: $$tst"; \
  142739. + col=$$grn; res=PASS; \
  142740. ;; \
  142741. esac; \
  142742. elif test $$? -ne 77; then \
  142743. all=`expr $$all + 1`; \
  142744. case " $(XFAIL_TESTS) " in \
  142745. - *$$ws$$tst$$ws*) \
  142746. + *[\ \ ]$$tst[\ \ ]*) \
  142747. xfail=`expr $$xfail + 1`; \
  142748. - echo "XFAIL: $$tst"; \
  142749. + col=$$lgn; res=XFAIL; \
  142750. ;; \
  142751. *) \
  142752. failed=`expr $$failed + 1`; \
  142753. - echo "FAIL: $$tst"; \
  142754. + col=$$red; res=FAIL; \
  142755. ;; \
  142756. esac; \
  142757. else \
  142758. skip=`expr $$skip + 1`; \
  142759. - echo "SKIP: $$tst"; \
  142760. + col=$$blu; res=SKIP; \
  142761. fi; \
  142762. + echo "$${col}$$res$${std}: $$tst"; \
  142763. done; \
  142764. + if test "$$all" -eq 1; then \
  142765. + tests="test"; \
  142766. + All=""; \
  142767. + else \
  142768. + tests="tests"; \
  142769. + All="All "; \
  142770. + fi; \
  142771. if test "$$failed" -eq 0; then \
  142772. if test "$$xfail" -eq 0; then \
  142773. - banner="All $$all tests passed"; \
  142774. + banner="$$All$$all $$tests passed"; \
  142775. else \
  142776. - banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
  142777. + if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
  142778. + banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
  142779. fi; \
  142780. else \
  142781. if test "$$xpass" -eq 0; then \
  142782. - banner="$$failed of $$all tests failed"; \
  142783. + banner="$$failed of $$all $$tests failed"; \
  142784. else \
  142785. - banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
  142786. + if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
  142787. + banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
  142788. fi; \
  142789. fi; \
  142790. dashes="$$banner"; \
  142791. skipped=""; \
  142792. if test "$$skip" -ne 0; then \
  142793. - skipped="($$skip tests were not run)"; \
  142794. + if test "$$skip" -eq 1; then \
  142795. + skipped="($$skip test was not run)"; \
  142796. + else \
  142797. + skipped="($$skip tests were not run)"; \
  142798. + fi; \
  142799. test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
  142800. dashes="$$skipped"; \
  142801. fi; \
  142802. @@ -356,11 +384,15 @@
  142803. dashes="$$report"; \
  142804. fi; \
  142805. dashes=`echo "$$dashes" | sed s/./=/g`; \
  142806. - echo "$$dashes"; \
  142807. + if test "$$failed" -eq 0; then \
  142808. + echo "$$grn$$dashes"; \
  142809. + else \
  142810. + echo "$$red$$dashes"; \
  142811. + fi; \
  142812. echo "$$banner"; \
  142813. test -z "$$skipped" || echo "$$skipped"; \
  142814. test -z "$$report" || echo "$$report"; \
  142815. - echo "$$dashes"; \
  142816. + echo "$$dashes$$std"; \
  142817. test "$$failed" -eq 0; \
  142818. else :; fi
  142819. @@ -380,13 +412,17 @@
  142820. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  142821. if test -d $$d/$$file; then \
  142822. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  142823. + if test -d "$(distdir)/$$file"; then \
  142824. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  142825. + fi; \
  142826. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  142827. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  142828. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  142829. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  142830. fi; \
  142831. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  142832. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  142833. else \
  142834. - test -f $(distdir)/$$file \
  142835. - || cp -p $$d/$$file $(distdir)/$$file \
  142836. + test -f "$(distdir)/$$file" \
  142837. + || cp -p $$d/$$file "$(distdir)/$$file" \
  142838. || exit 1; \
  142839. fi; \
  142840. done
  142841. @@ -416,6 +452,7 @@
  142842. distclean-generic:
  142843. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  142844. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  142845. maintainer-clean-generic:
  142846. @echo "This command is intended for maintainers to use"
  142847. @@ -436,6 +473,8 @@
  142848. html: html-am
  142849. +html-am:
  142850. +
  142851. info: info-am
  142852. info-am:
  142853. @@ -444,18 +483,28 @@
  142854. install-dvi: install-dvi-am
  142855. +install-dvi-am:
  142856. +
  142857. install-exec-am:
  142858. install-html: install-html-am
  142859. +install-html-am:
  142860. +
  142861. install-info: install-info-am
  142862. +install-info-am:
  142863. +
  142864. install-man:
  142865. install-pdf: install-pdf-am
  142866. +install-pdf-am:
  142867. +
  142868. install-ps: install-ps-am
  142869. +install-ps-am:
  142870. +
  142871. installcheck-am:
  142872. maintainer-clean: maintainer-clean-am
  142873. @@ -477,7 +526,7 @@
  142874. uninstall-am:
  142875. -.MAKE: install-am install-strip
  142876. +.MAKE: check-am install-am install-strip
  142877. .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
  142878. clean-checkPROGRAMS clean-generic ctags distclean \
  142879. @@ -492,6 +541,7 @@
  142880. mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  142881. uninstall-am
  142882. +
  142883. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  142884. # Otherwise a system limit (for SysV at least) may be exceeded.
  142885. .NOEXPORT:
  142886. diff -Nur squid-3.0.STABLE20.orig/lib/Makefile.in squid-3.0.STABLE20/lib/Makefile.in
  142887. --- squid-3.0.STABLE20.orig/lib/Makefile.in 2009-10-29 11:05:43.000000000 +0100
  142888. +++ squid-3.0.STABLE20/lib/Makefile.in 2010-02-19 00:39:22.448852025 +0100
  142889. @@ -1,8 +1,9 @@
  142890. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  142891. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  142892. # @configure_input@
  142893. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  142894. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  142895. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  142896. +# Inc.
  142897. # This Makefile.in is free software; the Free Software Foundation
  142898. # gives unlimited permission to copy and/or distribute it,
  142899. # with or without modifications, as long as this notice is preserved.
  142900. @@ -20,8 +21,9 @@
  142901. VPATH = @srcdir@
  142902. pkgdatadir = $(datadir)/@PACKAGE@
  142903. -pkglibdir = $(libdir)/@PACKAGE@
  142904. pkgincludedir = $(includedir)/@PACKAGE@
  142905. +pkglibdir = $(libdir)/@PACKAGE@
  142906. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  142907. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  142908. install_sh_DATA = $(install_sh) -c -m 644
  142909. install_sh_PROGRAM = $(install_sh) -c
  142910. @@ -49,6 +51,7 @@
  142911. mkinstalldirs = $(install_sh) -d
  142912. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  142913. CONFIG_CLEAN_FILES =
  142914. +CONFIG_CLEAN_VPATH_FILES =
  142915. LIBRARIES = $(noinst_LIBRARIES)
  142916. ARFLAGS = cru
  142917. libmiscutil_a_AR = $(AR) $(ARFLAGS)
  142918. @@ -96,6 +99,7 @@
  142919. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  142920. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  142921. am__depfiles_maybe = depfiles
  142922. +am__mv = mv -f
  142923. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  142924. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  142925. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  142926. @@ -130,9 +134,39 @@
  142927. ps-recursive uninstall-recursive
  142928. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  142929. distclean-recursive maintainer-clean-recursive
  142930. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  142931. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  142932. + distdir
  142933. ETAGS = etags
  142934. CTAGS = ctags
  142935. +am__tty_colors = \
  142936. +red=; grn=; lgn=; blu=; std=
  142937. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  142938. +am__relativize = \
  142939. + dir0=`pwd`; \
  142940. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  142941. + sed_rest='s,^[^/]*/*,,'; \
  142942. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  142943. + sed_butlast='s,/*[^/]*$$,,'; \
  142944. + while test -n "$$dir1"; do \
  142945. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  142946. + if test "$$first" != "."; then \
  142947. + if test "$$first" = ".."; then \
  142948. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  142949. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  142950. + else \
  142951. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  142952. + if test "$$first2" = "$$first"; then \
  142953. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  142954. + else \
  142955. + dir2="../$$dir2"; \
  142956. + fi; \
  142957. + dir0="$$dir0"/"$$first"; \
  142958. + fi; \
  142959. + fi; \
  142960. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  142961. + done; \
  142962. + reldir="$$dir2"
  142963. ACLOCAL = @ACLOCAL@
  142964. ALLOCA = @ALLOCA@
  142965. AMTAR = @AMTAR@
  142966. @@ -170,7 +204,7 @@
  142967. DISK_LINKOBJS = @DISK_LINKOBJS@
  142968. DISK_PROGRAMS = @DISK_PROGRAMS@
  142969. DSYMUTIL = @DSYMUTIL@
  142970. -ECHO = @ECHO@
  142971. +DUMPBIN = @DUMPBIN@
  142972. ECHO_C = @ECHO_C@
  142973. ECHO_N = @ECHO_N@
  142974. ECHO_T = @ECHO_T@
  142975. @@ -180,10 +214,10 @@
  142976. ERR_LANGUAGES = @ERR_LANGUAGES@
  142977. EXEEXT = @EXEEXT@
  142978. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  142979. -F77 = @F77@
  142980. FALSE = @FALSE@
  142981. -FFLAGS = @FFLAGS@
  142982. +FGREP = @FGREP@
  142983. GREP = @GREP@
  142984. +HOSTCXX = @HOSTCXX@
  142985. ICAP_LIBS = @ICAP_LIBS@
  142986. INSTALL = @INSTALL@
  142987. INSTALL_DATA = @INSTALL_DATA@
  142988. @@ -192,8 +226,12 @@
  142989. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  142990. KRB5INCS = @KRB5INCS@
  142991. KRB5LIBS = @KRB5LIBS@
  142992. +LD = @LD@
  142993. LDFLAGS = @LDFLAGS@
  142994. LIBADD_DL = @LIBADD_DL@
  142995. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  142996. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  142997. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  142998. LIBOBJS = @LIBOBJS@
  142999. LIBREGEX = @LIBREGEX@
  143000. LIBS = @LIBS@
  143001. @@ -202,9 +240,12 @@
  143002. LIB_DB = @LIB_DB@
  143003. LIB_LBER = @LIB_LBER@
  143004. LIB_LDAP = @LIB_LDAP@
  143005. +LIPO = @LIPO@
  143006. LN = @LN@
  143007. LN_S = @LN_S@
  143008. LTLIBOBJS = @LTLIBOBJS@
  143009. +LT_DLLOADERS = @LT_DLLOADERS@
  143010. +LT_DLPREOPEN = @LT_DLPREOPEN@
  143011. MAINT = @MAINT@
  143012. MAKEINFO = @MAKEINFO@
  143013. MINGW_LIBS = @MINGW_LIBS@
  143014. @@ -212,15 +253,20 @@
  143015. MKDIR_P = @MKDIR_P@
  143016. MV = @MV@
  143017. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  143018. +NM = @NM@
  143019. NMEDIT = @NMEDIT@
  143020. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  143021. +OBJDUMP = @OBJDUMP@
  143022. OBJEXT = @OBJEXT@
  143023. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  143024. +OTOOL = @OTOOL@
  143025. +OTOOL64 = @OTOOL64@
  143026. PACKAGE = @PACKAGE@
  143027. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  143028. PACKAGE_NAME = @PACKAGE_NAME@
  143029. PACKAGE_STRING = @PACKAGE_STRING@
  143030. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  143031. +PACKAGE_URL = @PACKAGE_URL@
  143032. PACKAGE_VERSION = @PACKAGE_VERSION@
  143033. PATH_SEPARATOR = @PATH_SEPARATOR@
  143034. PERL = @PERL@
  143035. @@ -257,7 +303,7 @@
  143036. abs_top_srcdir = @abs_top_srcdir@
  143037. ac_ct_CC = @ac_ct_CC@
  143038. ac_ct_CXX = @ac_ct_CXX@
  143039. -ac_ct_F77 = @ac_ct_F77@
  143040. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  143041. ac_krb5_config = @ac_krb5_config@
  143042. am__include = @am__include@
  143043. am__leading_dot = @am__leading_dot@
  143044. @@ -289,6 +335,7 @@
  143045. libexecdir = @libexecdir@
  143046. localedir = @localedir@
  143047. localstatedir = @localstatedir@
  143048. +lt_ECHO = @lt_ECHO@
  143049. makesnmplib = @makesnmplib@
  143050. mandir = @mandir@
  143051. mkdir_p = @mkdir_p@
  143052. @@ -398,14 +445,14 @@
  143053. @for dep in $?; do \
  143054. case '$(am__configure_deps)' in \
  143055. *$$dep*) \
  143056. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  143057. - && exit 0; \
  143058. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  143059. + && { if test -f $@; then exit 0; else break; fi; }; \
  143060. exit 1;; \
  143061. esac; \
  143062. done; \
  143063. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/Makefile'; \
  143064. - cd $(top_srcdir) && \
  143065. - $(AUTOMAKE) --foreign lib/Makefile
  143066. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/Makefile'; \
  143067. + $(am__cd) $(top_srcdir) && \
  143068. + $(AUTOMAKE) --foreign lib/Makefile
  143069. .PRECIOUS: Makefile
  143070. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  143071. @case '$?' in \
  143072. @@ -423,6 +470,7 @@
  143073. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  143074. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  143075. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  143076. +$(am__aclocal_m4_deps):
  143077. clean-noinstLIBRARIES:
  143078. -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
  143079. @@ -444,11 +492,13 @@
  143080. $(RANLIB) libsspwin32.a
  143081. clean-checkPROGRAMS:
  143082. - @list='$(check_PROGRAMS)'; for p in $$list; do \
  143083. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  143084. - echo " rm -f $$p $$f"; \
  143085. - rm -f $$p $$f ; \
  143086. - done
  143087. + @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
  143088. + echo " rm -f" $$list; \
  143089. + rm -f $$list || exit $$?; \
  143090. + test -n "$(EXEEXT)" || exit 0; \
  143091. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  143092. + echo " rm -f" $$list; \
  143093. + rm -f $$list
  143094. tests/$(am__dirstamp):
  143095. @$(MKDIR_P) tests
  143096. @: > tests/$(am__dirstamp)
  143097. @@ -503,70 +553,70 @@
  143098. .c.o:
  143099. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  143100. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  143101. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  143102. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  143103. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  143104. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  143105. .c.obj:
  143106. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  143107. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  143108. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  143109. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  143110. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  143111. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  143112. .c.lo:
  143113. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  143114. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  143115. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  143116. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  143117. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  143118. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  143119. .cc.o:
  143120. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  143121. -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  143122. +@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  143123. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  143124. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  143125. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
  143126. .cc.obj:
  143127. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  143128. -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  143129. +@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  143130. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  143131. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  143132. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  143133. .cc.lo:
  143134. @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  143135. -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  143136. +@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  143137. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  143138. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  143139. @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
  143140. testArray.o: tests/testArray.cc
  143141. @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT testArray.o -MD -MP -MF $(DEPDIR)/testArray.Tpo -c -o testArray.o `test -f 'tests/testArray.cc' || echo '$(srcdir)/'`tests/testArray.cc
  143142. -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/testArray.Tpo $(DEPDIR)/testArray.Po
  143143. +@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/testArray.Tpo $(DEPDIR)/testArray.Po
  143144. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/testArray.cc' object='testArray.o' libtool=no @AMDEPBACKSLASH@
  143145. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  143146. @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o testArray.o `test -f 'tests/testArray.cc' || echo '$(srcdir)/'`tests/testArray.cc
  143147. testArray.obj: tests/testArray.cc
  143148. @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT testArray.obj -MD -MP -MF $(DEPDIR)/testArray.Tpo -c -o testArray.obj `if test -f 'tests/testArray.cc'; then $(CYGPATH_W) 'tests/testArray.cc'; else $(CYGPATH_W) '$(srcdir)/tests/testArray.cc'; fi`
  143149. -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/testArray.Tpo $(DEPDIR)/testArray.Po
  143150. +@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/testArray.Tpo $(DEPDIR)/testArray.Po
  143151. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/testArray.cc' object='testArray.obj' libtool=no @AMDEPBACKSLASH@
  143152. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  143153. @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o testArray.obj `if test -f 'tests/testArray.cc'; then $(CYGPATH_W) 'tests/testArray.cc'; else $(CYGPATH_W) '$(srcdir)/tests/testArray.cc'; fi`
  143154. testMain.o: tests/testMain.cc
  143155. @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT testMain.o -MD -MP -MF $(DEPDIR)/testMain.Tpo -c -o testMain.o `test -f 'tests/testMain.cc' || echo '$(srcdir)/'`tests/testMain.cc
  143156. -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/testMain.Tpo $(DEPDIR)/testMain.Po
  143157. +@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/testMain.Tpo $(DEPDIR)/testMain.Po
  143158. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/testMain.cc' object='testMain.o' libtool=no @AMDEPBACKSLASH@
  143159. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  143160. @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o testMain.o `test -f 'tests/testMain.cc' || echo '$(srcdir)/'`tests/testMain.cc
  143161. testMain.obj: tests/testMain.cc
  143162. @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT testMain.obj -MD -MP -MF $(DEPDIR)/testMain.Tpo -c -o testMain.obj `if test -f 'tests/testMain.cc'; then $(CYGPATH_W) 'tests/testMain.cc'; else $(CYGPATH_W) '$(srcdir)/tests/testMain.cc'; fi`
  143163. -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/testMain.Tpo $(DEPDIR)/testMain.Po
  143164. +@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/testMain.Tpo $(DEPDIR)/testMain.Po
  143165. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/testMain.cc' object='testMain.obj' libtool=no @AMDEPBACKSLASH@
  143166. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  143167. @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o testMain.obj `if test -f 'tests/testMain.cc'; then $(CYGPATH_W) 'tests/testMain.cc'; else $(CYGPATH_W) '$(srcdir)/tests/testMain.cc'; fi`
  143168. @@ -585,7 +635,7 @@
  143169. # (which will cause the Makefiles to be regenerated when you run `make');
  143170. # (2) otherwise, pass the desired values on the `make' command line.
  143171. $(RECURSIVE_TARGETS):
  143172. - @failcom='exit 1'; \
  143173. + @fail= failcom='exit 1'; \
  143174. for f in x $$MAKEFLAGS; do \
  143175. case $$f in \
  143176. *=* | --[!k]*);; \
  143177. @@ -602,7 +652,7 @@
  143178. else \
  143179. local_target="$$target"; \
  143180. fi; \
  143181. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  143182. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  143183. || eval $$failcom; \
  143184. done; \
  143185. if test "$$dot_seen" = "no"; then \
  143186. @@ -610,7 +660,7 @@
  143187. fi; test -z "$$fail"
  143188. $(RECURSIVE_CLEAN_TARGETS):
  143189. - @failcom='exit 1'; \
  143190. + @fail= failcom='exit 1'; \
  143191. for f in x $$MAKEFLAGS; do \
  143192. case $$f in \
  143193. *=* | --[!k]*);; \
  143194. @@ -636,16 +686,16 @@
  143195. else \
  143196. local_target="$$target"; \
  143197. fi; \
  143198. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  143199. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  143200. || eval $$failcom; \
  143201. done && test -z "$$fail"
  143202. tags-recursive:
  143203. list='$(SUBDIRS)'; for subdir in $$list; do \
  143204. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  143205. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  143206. done
  143207. ctags-recursive:
  143208. list='$(SUBDIRS)'; for subdir in $$list; do \
  143209. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  143210. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  143211. done
  143212. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  143213. @@ -653,14 +703,14 @@
  143214. unique=`for i in $$list; do \
  143215. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  143216. done | \
  143217. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  143218. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  143219. END { if (nonempty) { for (i in files) print i; }; }'`; \
  143220. mkid -fID $$unique
  143221. tags: TAGS
  143222. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  143223. $(TAGS_FILES) $(LISP)
  143224. - tags=; \
  143225. + set x; \
  143226. here=`pwd`; \
  143227. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  143228. include_option=--etags-include; \
  143229. @@ -672,7 +722,7 @@
  143230. list='$(SUBDIRS)'; for subdir in $$list; do \
  143231. if test "$$subdir" = .; then :; else \
  143232. test ! -f $$subdir/TAGS || \
  143233. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  143234. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  143235. fi; \
  143236. done; \
  143237. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  143238. @@ -681,37 +731,43 @@
  143239. done | \
  143240. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  143241. END { if (nonempty) { for (i in files) print i; }; }'`; \
  143242. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  143243. + shift; \
  143244. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  143245. test -n "$$unique" || unique=$$empty_fix; \
  143246. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  143247. - $$tags $$unique; \
  143248. + if test $$# -gt 0; then \
  143249. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  143250. + "$$@" $$unique; \
  143251. + else \
  143252. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  143253. + $$unique; \
  143254. + fi; \
  143255. fi
  143256. ctags: CTAGS
  143257. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  143258. $(TAGS_FILES) $(LISP)
  143259. - tags=; \
  143260. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  143261. unique=`for i in $$list; do \
  143262. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  143263. done | \
  143264. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  143265. END { if (nonempty) { for (i in files) print i; }; }'`; \
  143266. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  143267. + test -z "$(CTAGS_ARGS)$$unique" \
  143268. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  143269. - $$tags $$unique
  143270. + $$unique
  143271. GTAGS:
  143272. here=`$(am__cd) $(top_builddir) && pwd` \
  143273. - && cd $(top_srcdir) \
  143274. - && gtags -i $(GTAGS_ARGS) $$here
  143275. + && $(am__cd) $(top_srcdir) \
  143276. + && gtags -i $(GTAGS_ARGS) "$$here"
  143277. distclean-tags:
  143278. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  143279. check-TESTS: $(TESTS)
  143280. - @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
  143281. + @failed=0; all=0; xfail=0; xpass=0; skip=0; \
  143282. srcdir=$(srcdir); export srcdir; \
  143283. list=' $(TESTS) '; \
  143284. + $(am__tty_colors); \
  143285. if test -n "$$list"; then \
  143286. for tst in $$list; do \
  143287. if test -f ./$$tst; then dir=./; \
  143288. @@ -720,49 +776,63 @@
  143289. if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
  143290. all=`expr $$all + 1`; \
  143291. case " $(XFAIL_TESTS) " in \
  143292. - *$$ws$$tst$$ws*) \
  143293. + *[\ \ ]$$tst[\ \ ]*) \
  143294. xpass=`expr $$xpass + 1`; \
  143295. failed=`expr $$failed + 1`; \
  143296. - echo "XPASS: $$tst"; \
  143297. + col=$$red; res=XPASS; \
  143298. ;; \
  143299. *) \
  143300. - echo "PASS: $$tst"; \
  143301. + col=$$grn; res=PASS; \
  143302. ;; \
  143303. esac; \
  143304. elif test $$? -ne 77; then \
  143305. all=`expr $$all + 1`; \
  143306. case " $(XFAIL_TESTS) " in \
  143307. - *$$ws$$tst$$ws*) \
  143308. + *[\ \ ]$$tst[\ \ ]*) \
  143309. xfail=`expr $$xfail + 1`; \
  143310. - echo "XFAIL: $$tst"; \
  143311. + col=$$lgn; res=XFAIL; \
  143312. ;; \
  143313. *) \
  143314. failed=`expr $$failed + 1`; \
  143315. - echo "FAIL: $$tst"; \
  143316. + col=$$red; res=FAIL; \
  143317. ;; \
  143318. esac; \
  143319. else \
  143320. skip=`expr $$skip + 1`; \
  143321. - echo "SKIP: $$tst"; \
  143322. + col=$$blu; res=SKIP; \
  143323. fi; \
  143324. + echo "$${col}$$res$${std}: $$tst"; \
  143325. done; \
  143326. + if test "$$all" -eq 1; then \
  143327. + tests="test"; \
  143328. + All=""; \
  143329. + else \
  143330. + tests="tests"; \
  143331. + All="All "; \
  143332. + fi; \
  143333. if test "$$failed" -eq 0; then \
  143334. if test "$$xfail" -eq 0; then \
  143335. - banner="All $$all tests passed"; \
  143336. + banner="$$All$$all $$tests passed"; \
  143337. else \
  143338. - banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
  143339. + if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
  143340. + banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
  143341. fi; \
  143342. else \
  143343. if test "$$xpass" -eq 0; then \
  143344. - banner="$$failed of $$all tests failed"; \
  143345. + banner="$$failed of $$all $$tests failed"; \
  143346. else \
  143347. - banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
  143348. + if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
  143349. + banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
  143350. fi; \
  143351. fi; \
  143352. dashes="$$banner"; \
  143353. skipped=""; \
  143354. if test "$$skip" -ne 0; then \
  143355. - skipped="($$skip tests were not run)"; \
  143356. + if test "$$skip" -eq 1; then \
  143357. + skipped="($$skip test was not run)"; \
  143358. + else \
  143359. + skipped="($$skip tests were not run)"; \
  143360. + fi; \
  143361. test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
  143362. dashes="$$skipped"; \
  143363. fi; \
  143364. @@ -773,11 +843,15 @@
  143365. dashes="$$report"; \
  143366. fi; \
  143367. dashes=`echo "$$dashes" | sed s/./=/g`; \
  143368. - echo "$$dashes"; \
  143369. + if test "$$failed" -eq 0; then \
  143370. + echo "$$grn$$dashes"; \
  143371. + else \
  143372. + echo "$$red$$dashes"; \
  143373. + fi; \
  143374. echo "$$banner"; \
  143375. test -z "$$skipped" || echo "$$skipped"; \
  143376. test -z "$$report" || echo "$$report"; \
  143377. - echo "$$dashes"; \
  143378. + echo "$$dashes$$std"; \
  143379. test "$$failed" -eq 0; \
  143380. else :; fi
  143381. @@ -797,29 +871,44 @@
  143382. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  143383. if test -d $$d/$$file; then \
  143384. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  143385. + if test -d "$(distdir)/$$file"; then \
  143386. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  143387. + fi; \
  143388. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  143389. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  143390. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  143391. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  143392. fi; \
  143393. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  143394. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  143395. else \
  143396. - test -f $(distdir)/$$file \
  143397. - || cp -p $$d/$$file $(distdir)/$$file \
  143398. + test -f "$(distdir)/$$file" \
  143399. + || cp -p $$d/$$file "$(distdir)/$$file" \
  143400. || exit 1; \
  143401. fi; \
  143402. done
  143403. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  143404. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  143405. if test "$$subdir" = .; then :; else \
  143406. test -d "$(distdir)/$$subdir" \
  143407. || $(MKDIR_P) "$(distdir)/$$subdir" \
  143408. || exit 1; \
  143409. - distdir=`$(am__cd) $(distdir) && pwd`; \
  143410. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  143411. - (cd $$subdir && \
  143412. + fi; \
  143413. + done
  143414. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  143415. + if test "$$subdir" = .; then :; else \
  143416. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  143417. + $(am__relativize); \
  143418. + new_distdir=$$reldir; \
  143419. + dir1=$$subdir; dir2="$(top_distdir)"; \
  143420. + $(am__relativize); \
  143421. + new_top_distdir=$$reldir; \
  143422. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  143423. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  143424. + ($(am__cd) $$subdir && \
  143425. $(MAKE) $(AM_MAKEFLAGS) \
  143426. - top_distdir="$$top_distdir" \
  143427. - distdir="$$distdir/$$subdir" \
  143428. + top_distdir="$$new_top_distdir" \
  143429. + distdir="$$new_distdir" \
  143430. am__remove_distdir=: \
  143431. am__skip_length_check=: \
  143432. + am__skip_mode_fix=: \
  143433. distdir) \
  143434. || exit 1; \
  143435. fi; \
  143436. @@ -845,6 +934,7 @@
  143437. distclean-generic:
  143438. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  143439. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  143440. -rm -f tests/$(am__dirstamp)
  143441. maintainer-clean-generic:
  143442. @@ -867,6 +957,8 @@
  143443. html: html-recursive
  143444. +html-am:
  143445. +
  143446. info: info-recursive
  143447. info-am:
  143448. @@ -875,18 +967,28 @@
  143449. install-dvi: install-dvi-recursive
  143450. +install-dvi-am:
  143451. +
  143452. install-exec-am:
  143453. install-html: install-html-recursive
  143454. +install-html-am:
  143455. +
  143456. install-info: install-info-recursive
  143457. +install-info-am:
  143458. +
  143459. install-man:
  143460. install-pdf: install-pdf-recursive
  143461. +install-pdf-am:
  143462. +
  143463. install-ps: install-ps-recursive
  143464. +install-ps-am:
  143465. +
  143466. installcheck-am:
  143467. maintainer-clean: maintainer-clean-recursive
  143468. @@ -909,8 +1011,8 @@
  143469. uninstall-am:
  143470. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  143471. - install-strip
  143472. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \
  143473. + ctags-recursive install-am install-strip tags-recursive
  143474. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  143475. all all-am check check-TESTS check-am clean \
  143476. @@ -931,6 +1033,7 @@
  143477. install: all
  143478. install-strip: all
  143479. +
  143480. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  143481. # Otherwise a system limit (for SysV at least) may be exceeded.
  143482. .NOEXPORT:
  143483. diff -Nur squid-3.0.STABLE20.orig/Makefile.in squid-3.0.STABLE20/Makefile.in
  143484. --- squid-3.0.STABLE20.orig/Makefile.in 2009-10-29 11:05:32.000000000 +0100
  143485. +++ squid-3.0.STABLE20/Makefile.in 2010-02-19 00:39:25.676855926 +0100
  143486. @@ -1,8 +1,9 @@
  143487. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  143488. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  143489. # @configure_input@
  143490. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  143491. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  143492. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  143493. +# Inc.
  143494. # This Makefile.in is free software; the Free Software Foundation
  143495. # gives unlimited permission to copy and/or distribute it,
  143496. # with or without modifications, as long as this notice is preserved.
  143497. @@ -19,8 +20,9 @@
  143498. #
  143499. VPATH = @srcdir@
  143500. pkgdatadir = $(datadir)/@PACKAGE@
  143501. -pkglibdir = $(libdir)/@PACKAGE@
  143502. pkgincludedir = $(includedir)/@PACKAGE@
  143503. +pkglibdir = $(libdir)/@PACKAGE@
  143504. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  143505. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  143506. install_sh_DATA = $(install_sh) -c -m 644
  143507. install_sh_PROGRAM = $(install_sh) -c
  143508. @@ -52,6 +54,7 @@
  143509. mkinstalldirs = $(install_sh) -d
  143510. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  143511. CONFIG_CLEAN_FILES =
  143512. +CONFIG_CLEAN_VPATH_FILES =
  143513. SOURCES =
  143514. DIST_SOURCES =
  143515. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  143516. @@ -63,15 +66,43 @@
  143517. ps-recursive uninstall-recursive
  143518. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  143519. distclean-recursive maintainer-clean-recursive
  143520. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  143521. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  143522. + distdir dist dist-all distcheck
  143523. ETAGS = etags
  143524. CTAGS = ctags
  143525. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  143526. distdir = $(PACKAGE)-$(VERSION)
  143527. top_distdir = $(distdir)
  143528. am__remove_distdir = \
  143529. - { test ! -d $(distdir) \
  143530. - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
  143531. - && rm -fr $(distdir); }; }
  143532. + { test ! -d "$(distdir)" \
  143533. + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  143534. + && rm -fr "$(distdir)"; }; }
  143535. +am__relativize = \
  143536. + dir0=`pwd`; \
  143537. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  143538. + sed_rest='s,^[^/]*/*,,'; \
  143539. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  143540. + sed_butlast='s,/*[^/]*$$,,'; \
  143541. + while test -n "$$dir1"; do \
  143542. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  143543. + if test "$$first" != "."; then \
  143544. + if test "$$first" = ".."; then \
  143545. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  143546. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  143547. + else \
  143548. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  143549. + if test "$$first2" = "$$first"; then \
  143550. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  143551. + else \
  143552. + dir2="../$$dir2"; \
  143553. + fi; \
  143554. + dir0="$$dir0"/"$$first"; \
  143555. + fi; \
  143556. + fi; \
  143557. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  143558. + done; \
  143559. + reldir="$$dir2"
  143560. DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
  143561. GZIP_ENV = --best
  143562. distuninstallcheck_listfiles = find . -type f -print
  143563. @@ -113,7 +144,7 @@
  143564. DISK_LINKOBJS = @DISK_LINKOBJS@
  143565. DISK_PROGRAMS = @DISK_PROGRAMS@
  143566. DSYMUTIL = @DSYMUTIL@
  143567. -ECHO = @ECHO@
  143568. +DUMPBIN = @DUMPBIN@
  143569. ECHO_C = @ECHO_C@
  143570. ECHO_N = @ECHO_N@
  143571. ECHO_T = @ECHO_T@
  143572. @@ -123,10 +154,10 @@
  143573. ERR_LANGUAGES = @ERR_LANGUAGES@
  143574. EXEEXT = @EXEEXT@
  143575. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  143576. -F77 = @F77@
  143577. FALSE = @FALSE@
  143578. -FFLAGS = @FFLAGS@
  143579. +FGREP = @FGREP@
  143580. GREP = @GREP@
  143581. +HOSTCXX = @HOSTCXX@
  143582. ICAP_LIBS = @ICAP_LIBS@
  143583. INSTALL = @INSTALL@
  143584. INSTALL_DATA = @INSTALL_DATA@
  143585. @@ -135,8 +166,12 @@
  143586. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  143587. KRB5INCS = @KRB5INCS@
  143588. KRB5LIBS = @KRB5LIBS@
  143589. +LD = @LD@
  143590. LDFLAGS = @LDFLAGS@
  143591. LIBADD_DL = @LIBADD_DL@
  143592. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  143593. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  143594. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  143595. LIBOBJS = @LIBOBJS@
  143596. LIBREGEX = @LIBREGEX@
  143597. LIBS = @LIBS@
  143598. @@ -145,9 +180,12 @@
  143599. LIB_DB = @LIB_DB@
  143600. LIB_LBER = @LIB_LBER@
  143601. LIB_LDAP = @LIB_LDAP@
  143602. +LIPO = @LIPO@
  143603. LN = @LN@
  143604. LN_S = @LN_S@
  143605. LTLIBOBJS = @LTLIBOBJS@
  143606. +LT_DLLOADERS = @LT_DLLOADERS@
  143607. +LT_DLPREOPEN = @LT_DLPREOPEN@
  143608. MAINT = @MAINT@
  143609. MAKEINFO = @MAKEINFO@
  143610. MINGW_LIBS = @MINGW_LIBS@
  143611. @@ -155,15 +193,20 @@
  143612. MKDIR_P = @MKDIR_P@
  143613. MV = @MV@
  143614. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  143615. +NM = @NM@
  143616. NMEDIT = @NMEDIT@
  143617. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  143618. +OBJDUMP = @OBJDUMP@
  143619. OBJEXT = @OBJEXT@
  143620. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  143621. +OTOOL = @OTOOL@
  143622. +OTOOL64 = @OTOOL64@
  143623. PACKAGE = @PACKAGE@
  143624. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  143625. PACKAGE_NAME = @PACKAGE_NAME@
  143626. PACKAGE_STRING = @PACKAGE_STRING@
  143627. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  143628. +PACKAGE_URL = @PACKAGE_URL@
  143629. PACKAGE_VERSION = @PACKAGE_VERSION@
  143630. PATH_SEPARATOR = @PATH_SEPARATOR@
  143631. PERL = @PERL@
  143632. @@ -200,7 +243,7 @@
  143633. abs_top_srcdir = @abs_top_srcdir@
  143634. ac_ct_CC = @ac_ct_CC@
  143635. ac_ct_CXX = @ac_ct_CXX@
  143636. -ac_ct_F77 = @ac_ct_F77@
  143637. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  143638. ac_krb5_config = @ac_krb5_config@
  143639. am__include = @am__include@
  143640. am__leading_dot = @am__leading_dot@
  143641. @@ -232,6 +275,7 @@
  143642. libexecdir = @libexecdir@
  143643. localedir = @localedir@
  143644. localstatedir = @localstatedir@
  143645. +lt_ECHO = @lt_ECHO@
  143646. makesnmplib = @makesnmplib@
  143647. mandir = @mandir@
  143648. mkdir_p = @mkdir_p@
  143649. @@ -275,15 +319,15 @@
  143650. @for dep in $?; do \
  143651. case '$(am__configure_deps)' in \
  143652. *$$dep*) \
  143653. - echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
  143654. - cd $(srcdir) && $(AUTOMAKE) --foreign \
  143655. + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
  143656. + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
  143657. && exit 0; \
  143658. exit 1;; \
  143659. esac; \
  143660. done; \
  143661. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  143662. - cd $(top_srcdir) && \
  143663. - $(AUTOMAKE) --foreign Makefile
  143664. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  143665. + $(am__cd) $(top_srcdir) && \
  143666. + $(AUTOMAKE) --foreign Makefile
  143667. .PRECIOUS: Makefile
  143668. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  143669. @case '$?' in \
  143670. @@ -299,9 +343,10 @@
  143671. $(SHELL) ./config.status --recheck
  143672. $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  143673. - cd $(srcdir) && $(AUTOCONF)
  143674. + $(am__cd) $(srcdir) && $(AUTOCONF)
  143675. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  143676. - cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  143677. + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  143678. +$(am__aclocal_m4_deps):
  143679. include/autoconf.h: include/stamp-h1
  143680. @if test ! -f $@; then \
  143681. @@ -313,7 +358,7 @@
  143682. @rm -f include/stamp-h1
  143683. cd $(top_builddir) && $(SHELL) ./config.status include/autoconf.h
  143684. $(top_srcdir)/include/autoconf.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  143685. - cd $(top_srcdir) && $(AUTOHEADER)
  143686. + ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
  143687. rm -f include/stamp-h1
  143688. touch $@
  143689. @@ -327,7 +372,7 @@
  143690. -rm -rf .libs _libs
  143691. distclean-libtool:
  143692. - -rm -f libtool
  143693. + -rm -f libtool config.lt
  143694. # This directory's subdirectories are mostly independent; you can cd
  143695. # into them and run `make' without going through this Makefile.
  143696. @@ -336,7 +381,7 @@
  143697. # (which will cause the Makefiles to be regenerated when you run `make');
  143698. # (2) otherwise, pass the desired values on the `make' command line.
  143699. $(RECURSIVE_TARGETS):
  143700. - @failcom='exit 1'; \
  143701. + @fail= failcom='exit 1'; \
  143702. for f in x $$MAKEFLAGS; do \
  143703. case $$f in \
  143704. *=* | --[!k]*);; \
  143705. @@ -353,7 +398,7 @@
  143706. else \
  143707. local_target="$$target"; \
  143708. fi; \
  143709. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  143710. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  143711. || eval $$failcom; \
  143712. done; \
  143713. if test "$$dot_seen" = "no"; then \
  143714. @@ -361,7 +406,7 @@
  143715. fi; test -z "$$fail"
  143716. $(RECURSIVE_CLEAN_TARGETS):
  143717. - @failcom='exit 1'; \
  143718. + @fail= failcom='exit 1'; \
  143719. for f in x $$MAKEFLAGS; do \
  143720. case $$f in \
  143721. *=* | --[!k]*);; \
  143722. @@ -387,16 +432,16 @@
  143723. else \
  143724. local_target="$$target"; \
  143725. fi; \
  143726. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  143727. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  143728. || eval $$failcom; \
  143729. done && test -z "$$fail"
  143730. tags-recursive:
  143731. list='$(SUBDIRS)'; for subdir in $$list; do \
  143732. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  143733. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  143734. done
  143735. ctags-recursive:
  143736. list='$(SUBDIRS)'; for subdir in $$list; do \
  143737. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  143738. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  143739. done
  143740. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  143741. @@ -404,14 +449,14 @@
  143742. unique=`for i in $$list; do \
  143743. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  143744. done | \
  143745. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  143746. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  143747. END { if (nonempty) { for (i in files) print i; }; }'`; \
  143748. mkid -fID $$unique
  143749. tags: TAGS
  143750. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  143751. $(TAGS_FILES) $(LISP)
  143752. - tags=; \
  143753. + set x; \
  143754. here=`pwd`; \
  143755. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  143756. include_option=--etags-include; \
  143757. @@ -423,7 +468,7 @@
  143758. list='$(SUBDIRS)'; for subdir in $$list; do \
  143759. if test "$$subdir" = .; then :; else \
  143760. test ! -f $$subdir/TAGS || \
  143761. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  143762. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  143763. fi; \
  143764. done; \
  143765. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  143766. @@ -432,36 +477,41 @@
  143767. done | \
  143768. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  143769. END { if (nonempty) { for (i in files) print i; }; }'`; \
  143770. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  143771. + shift; \
  143772. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  143773. test -n "$$unique" || unique=$$empty_fix; \
  143774. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  143775. - $$tags $$unique; \
  143776. + if test $$# -gt 0; then \
  143777. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  143778. + "$$@" $$unique; \
  143779. + else \
  143780. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  143781. + $$unique; \
  143782. + fi; \
  143783. fi
  143784. ctags: CTAGS
  143785. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  143786. $(TAGS_FILES) $(LISP)
  143787. - tags=; \
  143788. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  143789. unique=`for i in $$list; do \
  143790. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  143791. done | \
  143792. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  143793. END { if (nonempty) { for (i in files) print i; }; }'`; \
  143794. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  143795. + test -z "$(CTAGS_ARGS)$$unique" \
  143796. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  143797. - $$tags $$unique
  143798. + $$unique
  143799. GTAGS:
  143800. here=`$(am__cd) $(top_builddir) && pwd` \
  143801. - && cd $(top_srcdir) \
  143802. - && gtags -i $(GTAGS_ARGS) $$here
  143803. + && $(am__cd) $(top_srcdir) \
  143804. + && gtags -i $(GTAGS_ARGS) "$$here"
  143805. distclean-tags:
  143806. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  143807. distdir: $(DISTFILES)
  143808. $(am__remove_distdir)
  143809. - test -d $(distdir) || mkdir $(distdir)
  143810. + test -d "$(distdir)" || mkdir "$(distdir)"
  143811. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  143812. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  143813. list='$(DISTFILES)'; \
  143814. @@ -477,29 +527,44 @@
  143815. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  143816. if test -d $$d/$$file; then \
  143817. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  143818. + if test -d "$(distdir)/$$file"; then \
  143819. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  143820. + fi; \
  143821. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  143822. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  143823. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  143824. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  143825. fi; \
  143826. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  143827. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  143828. else \
  143829. - test -f $(distdir)/$$file \
  143830. - || cp -p $$d/$$file $(distdir)/$$file \
  143831. + test -f "$(distdir)/$$file" \
  143832. + || cp -p $$d/$$file "$(distdir)/$$file" \
  143833. || exit 1; \
  143834. fi; \
  143835. done
  143836. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  143837. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  143838. if test "$$subdir" = .; then :; else \
  143839. test -d "$(distdir)/$$subdir" \
  143840. || $(MKDIR_P) "$(distdir)/$$subdir" \
  143841. || exit 1; \
  143842. - distdir=`$(am__cd) $(distdir) && pwd`; \
  143843. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  143844. - (cd $$subdir && \
  143845. + fi; \
  143846. + done
  143847. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  143848. + if test "$$subdir" = .; then :; else \
  143849. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  143850. + $(am__relativize); \
  143851. + new_distdir=$$reldir; \
  143852. + dir1=$$subdir; dir2="$(top_distdir)"; \
  143853. + $(am__relativize); \
  143854. + new_top_distdir=$$reldir; \
  143855. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  143856. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  143857. + ($(am__cd) $$subdir && \
  143858. $(MAKE) $(AM_MAKEFLAGS) \
  143859. - top_distdir="$$top_distdir" \
  143860. - distdir="$$distdir/$$subdir" \
  143861. + top_distdir="$$new_top_distdir" \
  143862. + distdir="$$new_distdir" \
  143863. am__remove_distdir=: \
  143864. am__skip_length_check=: \
  143865. + am__skip_mode_fix=: \
  143866. distdir) \
  143867. || exit 1; \
  143868. fi; \
  143869. @@ -507,11 +572,13 @@
  143870. $(MAKE) $(AM_MAKEFLAGS) \
  143871. top_distdir="$(top_distdir)" distdir="$(distdir)" \
  143872. dist-hook
  143873. - -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
  143874. + -test -n "$(am__skip_mode_fix)" \
  143875. + || find "$(distdir)" -type d ! -perm -755 \
  143876. + -exec chmod u+rwx,go+rx {} \; -o \
  143877. ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  143878. ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  143879. ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  143880. - || chmod -R a+r $(distdir)
  143881. + || chmod -R a+r "$(distdir)"
  143882. dist-gzip: distdir
  143883. tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  143884. $(am__remove_distdir)
  143885. @@ -523,6 +590,10 @@
  143886. tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  143887. $(am__remove_distdir)
  143888. +dist-xz: distdir
  143889. + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
  143890. + $(am__remove_distdir)
  143891. +
  143892. dist-tarZ: distdir
  143893. tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  143894. $(am__remove_distdir)
  143895. @@ -547,15 +618,17 @@
  143896. distcheck: dist
  143897. case '$(DIST_ARCHIVES)' in \
  143898. *.tar.gz*) \
  143899. - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
  143900. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  143901. *.tar.bz2*) \
  143902. - bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
  143903. + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  143904. *.tar.lzma*) \
  143905. - unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
  143906. + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
  143907. + *.tar.xz*) \
  143908. + xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  143909. *.tar.Z*) \
  143910. uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  143911. *.shar.gz*) \
  143912. - GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
  143913. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
  143914. *.zip*) \
  143915. unzip $(distdir).zip ;;\
  143916. esac
  143917. @@ -563,9 +636,11 @@
  143918. mkdir $(distdir)/_build
  143919. mkdir $(distdir)/_inst
  143920. chmod a-w $(distdir)
  143921. + test -d $(distdir)/_build || exit 0; \
  143922. dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  143923. && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  143924. - && cd $(distdir)/_build \
  143925. + && am__cwd=`pwd` \
  143926. + && $(am__cd) $(distdir)/_build \
  143927. && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  143928. $(DISTCHECK_CONFIGURE_FLAGS) \
  143929. && $(MAKE) $(AM_MAKEFLAGS) \
  143930. @@ -587,13 +662,15 @@
  143931. && rm -rf "$$dc_destdir" \
  143932. && $(MAKE) $(AM_MAKEFLAGS) dist \
  143933. && rm -rf $(DIST_ARCHIVES) \
  143934. - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
  143935. + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  143936. + && cd "$$am__cwd" \
  143937. + || exit 1
  143938. $(am__remove_distdir)
  143939. @(echo "$(distdir) archives ready for distribution: "; \
  143940. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  143941. sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  143942. distuninstallcheck:
  143943. - @cd $(distuninstallcheck_dir) \
  143944. + @$(am__cd) '$(distuninstallcheck_dir)' \
  143945. && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  143946. || { echo "ERROR: files left after uninstall:" ; \
  143947. if test -n "$(DESTDIR)"; then \
  143948. @@ -635,6 +712,7 @@
  143949. distclean-generic:
  143950. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  143951. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  143952. -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
  143953. maintainer-clean-generic:
  143954. @@ -656,6 +734,8 @@
  143955. html: html-recursive
  143956. +html-am:
  143957. +
  143958. info: info-recursive
  143959. info-am:
  143960. @@ -664,18 +744,28 @@
  143961. install-dvi: install-dvi-recursive
  143962. +install-dvi-am:
  143963. +
  143964. install-exec-am:
  143965. install-html: install-html-recursive
  143966. +install-html-am:
  143967. +
  143968. install-info: install-info-recursive
  143969. +install-info-am:
  143970. +
  143971. install-man:
  143972. install-pdf: install-pdf-recursive
  143973. +install-pdf-am:
  143974. +
  143975. install-ps: install-ps-recursive
  143976. +install-ps-am:
  143977. +
  143978. installcheck-am:
  143979. maintainer-clean: maintainer-clean-recursive
  143980. @@ -698,14 +788,14 @@
  143981. uninstall-am:
  143982. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  143983. - install-strip
  143984. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  143985. + install-am install-strip tags-recursive
  143986. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  143987. all all-am am--refresh check check-am clean clean-generic \
  143988. clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
  143989. - dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-zip \
  143990. - distcheck distclean distclean-generic distclean-hdr \
  143991. + dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-xz \
  143992. + dist-zip distcheck distclean distclean-generic distclean-hdr \
  143993. distclean-libtool distclean-tags distcleancheck distdir \
  143994. distuninstallcheck dvi dvi-am html html-am info info-am \
  143995. install install-am install-data install-data-am install-dvi \
  143996. @@ -751,6 +841,7 @@
  143997. fi
  143998. .PHONY: have-cppunit
  143999. +
  144000. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  144001. # Otherwise a system limit (for SysV at least) may be exceeded.
  144002. .NOEXPORT:
  144003. diff -Nur squid-3.0.STABLE20.orig/scripts/Makefile.in squid-3.0.STABLE20/scripts/Makefile.in
  144004. --- squid-3.0.STABLE20.orig/scripts/Makefile.in 2009-10-29 11:05:44.000000000 +0100
  144005. +++ squid-3.0.STABLE20/scripts/Makefile.in 2010-02-19 00:39:22.584854267 +0100
  144006. @@ -1,8 +1,9 @@
  144007. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  144008. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  144009. # @configure_input@
  144010. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  144011. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  144012. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  144013. +# Inc.
  144014. # This Makefile.in is free software; the Free Software Foundation
  144015. # gives unlimited permission to copy and/or distribute it,
  144016. # with or without modifications, as long as this notice is preserved.
  144017. @@ -21,8 +22,9 @@
  144018. VPATH = @srcdir@
  144019. pkgdatadir = $(datadir)/@PACKAGE@
  144020. -pkglibdir = $(libdir)/@PACKAGE@
  144021. pkgincludedir = $(includedir)/@PACKAGE@
  144022. +pkglibdir = $(libdir)/@PACKAGE@
  144023. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  144024. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  144025. install_sh_DATA = $(install_sh) -c -m 644
  144026. install_sh_PROGRAM = $(install_sh) -c
  144027. @@ -48,8 +50,29 @@
  144028. mkinstalldirs = $(install_sh) -d
  144029. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  144030. CONFIG_CLEAN_FILES = RunCache RunAccel
  144031. +CONFIG_CLEAN_VPATH_FILES =
  144032. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  144033. +am__vpath_adj = case $$p in \
  144034. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  144035. + *) f=$$p;; \
  144036. + esac;
  144037. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  144038. +am__install_max = 40
  144039. +am__nobase_strip_setup = \
  144040. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  144041. +am__nobase_strip = \
  144042. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  144043. +am__nobase_list = $(am__nobase_strip_setup); \
  144044. + for p in $$list; do echo "$$p $$p"; done | \
  144045. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  144046. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  144047. + if (++n[$$2] == $(am__install_max)) \
  144048. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  144049. + END { for (dir in files) print dir, files[dir] }'
  144050. +am__base_list = \
  144051. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  144052. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  144053. am__installdirs = "$(DESTDIR)$(bindir)"
  144054. -binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
  144055. SCRIPTS = $(bin_SCRIPTS)
  144056. SOURCES =
  144057. DIST_SOURCES =
  144058. @@ -91,7 +114,7 @@
  144059. DISK_LINKOBJS = @DISK_LINKOBJS@
  144060. DISK_PROGRAMS = @DISK_PROGRAMS@
  144061. DSYMUTIL = @DSYMUTIL@
  144062. -ECHO = @ECHO@
  144063. +DUMPBIN = @DUMPBIN@
  144064. ECHO_C = @ECHO_C@
  144065. ECHO_N = @ECHO_N@
  144066. ECHO_T = @ECHO_T@
  144067. @@ -101,10 +124,10 @@
  144068. ERR_LANGUAGES = @ERR_LANGUAGES@
  144069. EXEEXT = @EXEEXT@
  144070. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  144071. -F77 = @F77@
  144072. FALSE = @FALSE@
  144073. -FFLAGS = @FFLAGS@
  144074. +FGREP = @FGREP@
  144075. GREP = @GREP@
  144076. +HOSTCXX = @HOSTCXX@
  144077. ICAP_LIBS = @ICAP_LIBS@
  144078. INSTALL = @INSTALL@
  144079. INSTALL_DATA = @INSTALL_DATA@
  144080. @@ -113,8 +136,12 @@
  144081. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  144082. KRB5INCS = @KRB5INCS@
  144083. KRB5LIBS = @KRB5LIBS@
  144084. +LD = @LD@
  144085. LDFLAGS = @LDFLAGS@
  144086. LIBADD_DL = @LIBADD_DL@
  144087. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  144088. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  144089. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  144090. LIBOBJS = @LIBOBJS@
  144091. LIBREGEX = @LIBREGEX@
  144092. LIBS = @LIBS@
  144093. @@ -123,9 +150,12 @@
  144094. LIB_DB = @LIB_DB@
  144095. LIB_LBER = @LIB_LBER@
  144096. LIB_LDAP = @LIB_LDAP@
  144097. +LIPO = @LIPO@
  144098. LN = @LN@
  144099. LN_S = @LN_S@
  144100. LTLIBOBJS = @LTLIBOBJS@
  144101. +LT_DLLOADERS = @LT_DLLOADERS@
  144102. +LT_DLPREOPEN = @LT_DLPREOPEN@
  144103. MAINT = @MAINT@
  144104. MAKEINFO = @MAKEINFO@
  144105. MINGW_LIBS = @MINGW_LIBS@
  144106. @@ -133,15 +163,20 @@
  144107. MKDIR_P = @MKDIR_P@
  144108. MV = @MV@
  144109. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  144110. +NM = @NM@
  144111. NMEDIT = @NMEDIT@
  144112. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  144113. +OBJDUMP = @OBJDUMP@
  144114. OBJEXT = @OBJEXT@
  144115. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  144116. +OTOOL = @OTOOL@
  144117. +OTOOL64 = @OTOOL64@
  144118. PACKAGE = @PACKAGE@
  144119. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  144120. PACKAGE_NAME = @PACKAGE_NAME@
  144121. PACKAGE_STRING = @PACKAGE_STRING@
  144122. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  144123. +PACKAGE_URL = @PACKAGE_URL@
  144124. PACKAGE_VERSION = @PACKAGE_VERSION@
  144125. PATH_SEPARATOR = @PATH_SEPARATOR@
  144126. PERL = @PERL@
  144127. @@ -178,7 +213,7 @@
  144128. abs_top_srcdir = @abs_top_srcdir@
  144129. ac_ct_CC = @ac_ct_CC@
  144130. ac_ct_CXX = @ac_ct_CXX@
  144131. -ac_ct_F77 = @ac_ct_F77@
  144132. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  144133. ac_krb5_config = @ac_krb5_config@
  144134. am__include = @am__include@
  144135. am__leading_dot = @am__leading_dot@
  144136. @@ -210,6 +245,7 @@
  144137. libexecdir = @libexecdir@
  144138. localedir = @localedir@
  144139. localstatedir = @localstatedir@
  144140. +lt_ECHO = @lt_ECHO@
  144141. makesnmplib = @makesnmplib@
  144142. mandir = @mandir@
  144143. mkdir_p = @mkdir_p@
  144144. @@ -240,14 +276,14 @@
  144145. @for dep in $?; do \
  144146. case '$(am__configure_deps)' in \
  144147. *$$dep*) \
  144148. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  144149. - && exit 0; \
  144150. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  144151. + && { if test -f $@; then exit 0; else break; fi; }; \
  144152. exit 1;; \
  144153. esac; \
  144154. done; \
  144155. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign scripts/Makefile'; \
  144156. - cd $(top_srcdir) && \
  144157. - $(AUTOMAKE) --foreign scripts/Makefile
  144158. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign scripts/Makefile'; \
  144159. + $(am__cd) $(top_srcdir) && \
  144160. + $(AUTOMAKE) --foreign scripts/Makefile
  144161. .PRECIOUS: Makefile
  144162. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  144163. @case '$?' in \
  144164. @@ -265,6 +301,7 @@
  144165. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  144166. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  144167. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  144168. +$(am__aclocal_m4_deps):
  144169. RunCache: $(top_builddir)/config.status $(srcdir)/RunCache.in
  144170. cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
  144171. RunAccel: $(top_builddir)/config.status $(srcdir)/RunAccel.in
  144172. @@ -272,22 +309,37 @@
  144173. install-binSCRIPTS: $(bin_SCRIPTS)
  144174. @$(NORMAL_INSTALL)
  144175. test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  144176. - @list='$(bin_SCRIPTS)'; for p in $$list; do \
  144177. + @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
  144178. + for p in $$list; do \
  144179. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  144180. - if test -f $$d$$p; then \
  144181. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  144182. - echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  144183. - $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
  144184. - else :; fi; \
  144185. - done
  144186. + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
  144187. + done | \
  144188. + sed -e 'p;s,.*/,,;n' \
  144189. + -e 'h;s|.*|.|' \
  144190. + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
  144191. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
  144192. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  144193. + if ($$2 == $$4) { files[d] = files[d] " " $$1; \
  144194. + if (++n[d] == $(am__install_max)) { \
  144195. + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
  144196. + else { print "f", d "/" $$4, $$1 } } \
  144197. + END { for (d in files) print "f", d, files[d] }' | \
  144198. + while read type dir files; do \
  144199. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  144200. + test -z "$$files" || { \
  144201. + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  144202. + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  144203. + } \
  144204. + ; done
  144205. uninstall-binSCRIPTS:
  144206. @$(NORMAL_UNINSTALL)
  144207. - @list='$(bin_SCRIPTS)'; for p in $$list; do \
  144208. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  144209. - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
  144210. - rm -f "$(DESTDIR)$(bindir)/$$f"; \
  144211. - done
  144212. + @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
  144213. + files=`for p in $$list; do echo "$$p"; done | \
  144214. + sed -e 's,.*/,,;$(transform)'`; \
  144215. + test -n "$$list" || exit 0; \
  144216. + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  144217. + cd "$(DESTDIR)$(bindir)" && rm -f $$files
  144218. mostlyclean-libtool:
  144219. -rm -f *.lo
  144220. @@ -317,13 +369,17 @@
  144221. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  144222. if test -d $$d/$$file; then \
  144223. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  144224. + if test -d "$(distdir)/$$file"; then \
  144225. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  144226. + fi; \
  144227. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  144228. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  144229. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  144230. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  144231. fi; \
  144232. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  144233. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  144234. else \
  144235. - test -f $(distdir)/$$file \
  144236. - || cp -p $$d/$$file $(distdir)/$$file \
  144237. + test -f "$(distdir)/$$file" \
  144238. + || cp -p $$d/$$file "$(distdir)/$$file" \
  144239. || exit 1; \
  144240. fi; \
  144241. done
  144242. @@ -354,6 +410,7 @@
  144243. distclean-generic:
  144244. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  144245. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  144246. maintainer-clean-generic:
  144247. @echo "This command is intended for maintainers to use"
  144248. @@ -372,6 +429,8 @@
  144249. html: html-am
  144250. +html-am:
  144251. +
  144252. info: info-am
  144253. info-am:
  144254. @@ -380,18 +439,28 @@
  144255. install-dvi: install-dvi-am
  144256. +install-dvi-am:
  144257. +
  144258. install-exec-am: install-binSCRIPTS
  144259. install-html: install-html-am
  144260. +install-html-am:
  144261. +
  144262. install-info: install-info-am
  144263. +install-info-am:
  144264. +
  144265. install-man:
  144266. install-pdf: install-pdf-am
  144267. +install-pdf-am:
  144268. +
  144269. install-ps: install-ps-am
  144270. +install-ps-am:
  144271. +
  144272. installcheck-am:
  144273. maintainer-clean: maintainer-clean-am
  144274. @@ -426,6 +495,7 @@
  144275. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  144276. uninstall uninstall-am uninstall-binSCRIPTS
  144277. +
  144278. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  144279. # Otherwise a system limit (for SysV at least) may be exceeded.
  144280. .NOEXPORT:
  144281. diff -Nur squid-3.0.STABLE20.orig/snmplib/Makefile.in squid-3.0.STABLE20/snmplib/Makefile.in
  144282. --- squid-3.0.STABLE20.orig/snmplib/Makefile.in 2009-10-29 11:05:44.000000000 +0100
  144283. +++ squid-3.0.STABLE20/snmplib/Makefile.in 2010-02-19 00:39:22.732854395 +0100
  144284. @@ -1,8 +1,9 @@
  144285. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  144286. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  144287. # @configure_input@
  144288. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  144289. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  144290. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  144291. +# Inc.
  144292. # This Makefile.in is free software; the Free Software Foundation
  144293. # gives unlimited permission to copy and/or distribute it,
  144294. # with or without modifications, as long as this notice is preserved.
  144295. @@ -16,8 +17,9 @@
  144296. VPATH = @srcdir@
  144297. pkgdatadir = $(datadir)/@PACKAGE@
  144298. -pkglibdir = $(libdir)/@PACKAGE@
  144299. pkgincludedir = $(includedir)/@PACKAGE@
  144300. +pkglibdir = $(libdir)/@PACKAGE@
  144301. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  144302. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  144303. install_sh_DATA = $(install_sh) -c -m 644
  144304. install_sh_PROGRAM = $(install_sh) -c
  144305. @@ -42,6 +44,7 @@
  144306. mkinstalldirs = $(install_sh) -d
  144307. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  144308. CONFIG_CLEAN_FILES =
  144309. +CONFIG_CLEAN_VPATH_FILES =
  144310. LIBRARIES = $(noinst_LIBRARIES)
  144311. ARFLAGS = cru
  144312. libsnmp_a_AR = $(AR) $(ARFLAGS)
  144313. @@ -54,6 +57,7 @@
  144314. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  144315. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  144316. am__depfiles_maybe = depfiles
  144317. +am__mv = mv -f
  144318. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  144319. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  144320. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  144321. @@ -105,7 +109,7 @@
  144322. DISK_LINKOBJS = @DISK_LINKOBJS@
  144323. DISK_PROGRAMS = @DISK_PROGRAMS@
  144324. DSYMUTIL = @DSYMUTIL@
  144325. -ECHO = @ECHO@
  144326. +DUMPBIN = @DUMPBIN@
  144327. ECHO_C = @ECHO_C@
  144328. ECHO_N = @ECHO_N@
  144329. ECHO_T = @ECHO_T@
  144330. @@ -115,10 +119,10 @@
  144331. ERR_LANGUAGES = @ERR_LANGUAGES@
  144332. EXEEXT = @EXEEXT@
  144333. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  144334. -F77 = @F77@
  144335. FALSE = @FALSE@
  144336. -FFLAGS = @FFLAGS@
  144337. +FGREP = @FGREP@
  144338. GREP = @GREP@
  144339. +HOSTCXX = @HOSTCXX@
  144340. ICAP_LIBS = @ICAP_LIBS@
  144341. INSTALL = @INSTALL@
  144342. INSTALL_DATA = @INSTALL_DATA@
  144343. @@ -127,8 +131,12 @@
  144344. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  144345. KRB5INCS = @KRB5INCS@
  144346. KRB5LIBS = @KRB5LIBS@
  144347. +LD = @LD@
  144348. LDFLAGS = @LDFLAGS@
  144349. LIBADD_DL = @LIBADD_DL@
  144350. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  144351. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  144352. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  144353. LIBOBJS = @LIBOBJS@
  144354. LIBREGEX = @LIBREGEX@
  144355. LIBS = @LIBS@
  144356. @@ -137,9 +145,12 @@
  144357. LIB_DB = @LIB_DB@
  144358. LIB_LBER = @LIB_LBER@
  144359. LIB_LDAP = @LIB_LDAP@
  144360. +LIPO = @LIPO@
  144361. LN = @LN@
  144362. LN_S = @LN_S@
  144363. LTLIBOBJS = @LTLIBOBJS@
  144364. +LT_DLLOADERS = @LT_DLLOADERS@
  144365. +LT_DLPREOPEN = @LT_DLPREOPEN@
  144366. MAINT = @MAINT@
  144367. MAKEINFO = @MAKEINFO@
  144368. MINGW_LIBS = @MINGW_LIBS@
  144369. @@ -147,15 +158,20 @@
  144370. MKDIR_P = @MKDIR_P@
  144371. MV = @MV@
  144372. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  144373. +NM = @NM@
  144374. NMEDIT = @NMEDIT@
  144375. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  144376. +OBJDUMP = @OBJDUMP@
  144377. OBJEXT = @OBJEXT@
  144378. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  144379. +OTOOL = @OTOOL@
  144380. +OTOOL64 = @OTOOL64@
  144381. PACKAGE = @PACKAGE@
  144382. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  144383. PACKAGE_NAME = @PACKAGE_NAME@
  144384. PACKAGE_STRING = @PACKAGE_STRING@
  144385. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  144386. +PACKAGE_URL = @PACKAGE_URL@
  144387. PACKAGE_VERSION = @PACKAGE_VERSION@
  144388. PATH_SEPARATOR = @PATH_SEPARATOR@
  144389. PERL = @PERL@
  144390. @@ -192,7 +208,7 @@
  144391. abs_top_srcdir = @abs_top_srcdir@
  144392. ac_ct_CC = @ac_ct_CC@
  144393. ac_ct_CXX = @ac_ct_CXX@
  144394. -ac_ct_F77 = @ac_ct_F77@
  144395. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  144396. ac_krb5_config = @ac_krb5_config@
  144397. am__include = @am__include@
  144398. am__leading_dot = @am__leading_dot@
  144399. @@ -224,6 +240,7 @@
  144400. libexecdir = @libexecdir@
  144401. localedir = @localedir@
  144402. localstatedir = @localstatedir@
  144403. +lt_ECHO = @lt_ECHO@
  144404. makesnmplib = @makesnmplib@
  144405. mandir = @mandir@
  144406. mkdir_p = @mkdir_p@
  144407. @@ -259,14 +276,14 @@
  144408. @for dep in $?; do \
  144409. case '$(am__configure_deps)' in \
  144410. *$$dep*) \
  144411. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  144412. - && exit 0; \
  144413. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  144414. + && { if test -f $@; then exit 0; else break; fi; }; \
  144415. exit 1;; \
  144416. esac; \
  144417. done; \
  144418. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign snmplib/Makefile'; \
  144419. - cd $(top_srcdir) && \
  144420. - $(AUTOMAKE) --foreign snmplib/Makefile
  144421. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign snmplib/Makefile'; \
  144422. + $(am__cd) $(top_srcdir) && \
  144423. + $(AUTOMAKE) --foreign snmplib/Makefile
  144424. .PRECIOUS: Makefile
  144425. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  144426. @case '$?' in \
  144427. @@ -284,6 +301,7 @@
  144428. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  144429. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  144430. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  144431. +$(am__aclocal_m4_deps):
  144432. clean-noinstLIBRARIES:
  144433. -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
  144434. @@ -312,21 +330,21 @@
  144435. .c.o:
  144436. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  144437. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  144438. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  144439. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  144440. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  144441. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  144442. .c.obj:
  144443. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  144444. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  144445. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  144446. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  144447. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  144448. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  144449. .c.lo:
  144450. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  144451. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  144452. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  144453. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  144454. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  144455. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  144456. @@ -342,14 +360,14 @@
  144457. unique=`for i in $$list; do \
  144458. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  144459. done | \
  144460. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  144461. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  144462. END { if (nonempty) { for (i in files) print i; }; }'`; \
  144463. mkid -fID $$unique
  144464. tags: TAGS
  144465. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  144466. $(TAGS_FILES) $(LISP)
  144467. - tags=; \
  144468. + set x; \
  144469. here=`pwd`; \
  144470. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  144471. unique=`for i in $$list; do \
  144472. @@ -357,29 +375,34 @@
  144473. done | \
  144474. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  144475. END { if (nonempty) { for (i in files) print i; }; }'`; \
  144476. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  144477. + shift; \
  144478. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  144479. test -n "$$unique" || unique=$$empty_fix; \
  144480. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  144481. - $$tags $$unique; \
  144482. + if test $$# -gt 0; then \
  144483. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  144484. + "$$@" $$unique; \
  144485. + else \
  144486. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  144487. + $$unique; \
  144488. + fi; \
  144489. fi
  144490. ctags: CTAGS
  144491. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  144492. $(TAGS_FILES) $(LISP)
  144493. - tags=; \
  144494. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  144495. unique=`for i in $$list; do \
  144496. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  144497. done | \
  144498. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  144499. END { if (nonempty) { for (i in files) print i; }; }'`; \
  144500. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  144501. + test -z "$(CTAGS_ARGS)$$unique" \
  144502. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  144503. - $$tags $$unique
  144504. + $$unique
  144505. GTAGS:
  144506. here=`$(am__cd) $(top_builddir) && pwd` \
  144507. - && cd $(top_srcdir) \
  144508. - && gtags -i $(GTAGS_ARGS) $$here
  144509. + && $(am__cd) $(top_srcdir) \
  144510. + && gtags -i $(GTAGS_ARGS) "$$here"
  144511. distclean-tags:
  144512. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  144513. @@ -400,13 +423,17 @@
  144514. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  144515. if test -d $$d/$$file; then \
  144516. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  144517. + if test -d "$(distdir)/$$file"; then \
  144518. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  144519. + fi; \
  144520. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  144521. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  144522. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  144523. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  144524. fi; \
  144525. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  144526. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  144527. else \
  144528. - test -f $(distdir)/$$file \
  144529. - || cp -p $$d/$$file $(distdir)/$$file \
  144530. + test -f "$(distdir)/$$file" \
  144531. + || cp -p $$d/$$file "$(distdir)/$$file" \
  144532. || exit 1; \
  144533. fi; \
  144534. done
  144535. @@ -434,6 +461,7 @@
  144536. distclean-generic:
  144537. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  144538. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  144539. maintainer-clean-generic:
  144540. @echo "This command is intended for maintainers to use"
  144541. @@ -455,6 +483,8 @@
  144542. html: html-am
  144543. +html-am:
  144544. +
  144545. info: info-am
  144546. info-am:
  144547. @@ -463,18 +493,28 @@
  144548. install-dvi: install-dvi-am
  144549. +install-dvi-am:
  144550. +
  144551. install-exec-am:
  144552. install-html: install-html-am
  144553. +install-html-am:
  144554. +
  144555. install-info: install-info-am
  144556. +install-info-am:
  144557. +
  144558. install-man:
  144559. install-pdf: install-pdf-am
  144560. +install-pdf-am:
  144561. +
  144562. install-ps: install-ps-am
  144563. +install-ps-am:
  144564. +
  144565. installcheck-am:
  144566. maintainer-clean: maintainer-clean-am
  144567. @@ -512,6 +552,7 @@
  144568. mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  144569. pdf pdf-am ps ps-am tags uninstall uninstall-am
  144570. +
  144571. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  144572. # Otherwise a system limit (for SysV at least) may be exceeded.
  144573. .NOEXPORT:
  144574. diff -Nur squid-3.0.STABLE20.orig/src/auth/Makefile.in squid-3.0.STABLE20/src/auth/Makefile.in
  144575. --- squid-3.0.STABLE20.orig/src/auth/Makefile.in 2009-10-29 11:05:46.000000000 +0100
  144576. +++ squid-3.0.STABLE20/src/auth/Makefile.in 2010-02-19 00:39:24.584852311 +0100
  144577. @@ -1,8 +1,9 @@
  144578. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  144579. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  144580. # @configure_input@
  144581. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  144582. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  144583. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  144584. +# Inc.
  144585. # This Makefile.in is free software; the Free Software Foundation
  144586. # gives unlimited permission to copy and/or distribute it,
  144587. # with or without modifications, as long as this notice is preserved.
  144588. @@ -16,8 +17,9 @@
  144589. VPATH = @srcdir@
  144590. pkgdatadir = $(datadir)/@PACKAGE@
  144591. -pkglibdir = $(libdir)/@PACKAGE@
  144592. pkgincludedir = $(includedir)/@PACKAGE@
  144593. +pkglibdir = $(libdir)/@PACKAGE@
  144594. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  144595. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  144596. install_sh_DATA = $(install_sh) -c -m 644
  144597. install_sh_PROGRAM = $(install_sh) -c
  144598. @@ -42,6 +44,7 @@
  144599. mkinstalldirs = $(install_sh) -d
  144600. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  144601. CONFIG_CLEAN_FILES =
  144602. +CONFIG_CLEAN_VPATH_FILES =
  144603. LIBRARIES = $(noinst_LIBRARIES)
  144604. ARFLAGS = cru
  144605. libbasic_a_AR = $(AR) $(ARFLAGS)
  144606. @@ -65,6 +68,7 @@
  144607. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  144608. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  144609. am__depfiles_maybe = depfiles
  144610. +am__mv = mv -f
  144611. CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  144612. $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
  144613. LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  144614. @@ -127,7 +131,7 @@
  144615. DISK_LINKOBJS = @DISK_LINKOBJS@
  144616. DISK_PROGRAMS = @DISK_PROGRAMS@
  144617. DSYMUTIL = @DSYMUTIL@
  144618. -ECHO = @ECHO@
  144619. +DUMPBIN = @DUMPBIN@
  144620. ECHO_C = @ECHO_C@
  144621. ECHO_N = @ECHO_N@
  144622. ECHO_T = @ECHO_T@
  144623. @@ -137,10 +141,10 @@
  144624. ERR_LANGUAGES = @ERR_LANGUAGES@
  144625. EXEEXT = @EXEEXT@
  144626. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  144627. -F77 = @F77@
  144628. FALSE = @FALSE@
  144629. -FFLAGS = @FFLAGS@
  144630. +FGREP = @FGREP@
  144631. GREP = @GREP@
  144632. +HOSTCXX = @HOSTCXX@
  144633. ICAP_LIBS = @ICAP_LIBS@
  144634. INSTALL = @INSTALL@
  144635. INSTALL_DATA = @INSTALL_DATA@
  144636. @@ -149,8 +153,12 @@
  144637. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  144638. KRB5INCS = @KRB5INCS@
  144639. KRB5LIBS = @KRB5LIBS@
  144640. +LD = @LD@
  144641. LDFLAGS = @LDFLAGS@
  144642. LIBADD_DL = @LIBADD_DL@
  144643. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  144644. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  144645. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  144646. LIBOBJS = @LIBOBJS@
  144647. LIBREGEX = @LIBREGEX@
  144648. LIBS = @LIBS@
  144649. @@ -159,9 +167,12 @@
  144650. LIB_DB = @LIB_DB@
  144651. LIB_LBER = @LIB_LBER@
  144652. LIB_LDAP = @LIB_LDAP@
  144653. +LIPO = @LIPO@
  144654. LN = @LN@
  144655. LN_S = @LN_S@
  144656. LTLIBOBJS = @LTLIBOBJS@
  144657. +LT_DLLOADERS = @LT_DLLOADERS@
  144658. +LT_DLPREOPEN = @LT_DLPREOPEN@
  144659. MAINT = @MAINT@
  144660. MAKEINFO = @MAKEINFO@
  144661. MINGW_LIBS = @MINGW_LIBS@
  144662. @@ -169,15 +180,20 @@
  144663. MKDIR_P = @MKDIR_P@
  144664. MV = @MV@
  144665. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  144666. +NM = @NM@
  144667. NMEDIT = @NMEDIT@
  144668. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  144669. +OBJDUMP = @OBJDUMP@
  144670. OBJEXT = @OBJEXT@
  144671. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  144672. +OTOOL = @OTOOL@
  144673. +OTOOL64 = @OTOOL64@
  144674. PACKAGE = @PACKAGE@
  144675. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  144676. PACKAGE_NAME = @PACKAGE_NAME@
  144677. PACKAGE_STRING = @PACKAGE_STRING@
  144678. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  144679. +PACKAGE_URL = @PACKAGE_URL@
  144680. PACKAGE_VERSION = @PACKAGE_VERSION@
  144681. PATH_SEPARATOR = @PATH_SEPARATOR@
  144682. PERL = @PERL@
  144683. @@ -214,7 +230,7 @@
  144684. abs_top_srcdir = @abs_top_srcdir@
  144685. ac_ct_CC = @ac_ct_CC@
  144686. ac_ct_CXX = @ac_ct_CXX@
  144687. -ac_ct_F77 = @ac_ct_F77@
  144688. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  144689. ac_krb5_config = @ac_krb5_config@
  144690. am__include = @am__include@
  144691. am__leading_dot = @am__leading_dot@
  144692. @@ -246,6 +262,7 @@
  144693. libexecdir = @libexecdir@
  144694. localedir = @localedir@
  144695. localstatedir = @localstatedir@
  144696. +lt_ECHO = @lt_ECHO@
  144697. makesnmplib = @makesnmplib@
  144698. mandir = @mandir@
  144699. mkdir_p = @mkdir_p@
  144700. @@ -288,14 +305,14 @@
  144701. @for dep in $?; do \
  144702. case '$(am__configure_deps)' in \
  144703. *$$dep*) \
  144704. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  144705. - && exit 0; \
  144706. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  144707. + && { if test -f $@; then exit 0; else break; fi; }; \
  144708. exit 1;; \
  144709. esac; \
  144710. done; \
  144711. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/auth/Makefile'; \
  144712. - cd $(top_srcdir) && \
  144713. - $(AUTOMAKE) --foreign src/auth/Makefile
  144714. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/auth/Makefile'; \
  144715. + $(am__cd) $(top_srcdir) && \
  144716. + $(AUTOMAKE) --foreign src/auth/Makefile
  144717. .PRECIOUS: Makefile
  144718. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  144719. @case '$?' in \
  144720. @@ -313,6 +330,7 @@
  144721. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  144722. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  144723. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  144724. +$(am__aclocal_m4_deps):
  144725. clean-noinstLIBRARIES:
  144726. -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
  144727. @@ -387,7 +405,7 @@
  144728. .cc.o:
  144729. @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
  144730. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
  144731. -@am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po
  144732. +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
  144733. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  144734. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  144735. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
  144736. @@ -395,7 +413,7 @@
  144737. .cc.obj:
  144738. @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
  144739. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
  144740. -@am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po
  144741. +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
  144742. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  144743. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  144744. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  144745. @@ -403,7 +421,7 @@
  144746. .cc.lo:
  144747. @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
  144748. @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
  144749. -@am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo
  144750. +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
  144751. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  144752. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  144753. @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
  144754. @@ -419,14 +437,14 @@
  144755. unique=`for i in $$list; do \
  144756. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  144757. done | \
  144758. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  144759. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  144760. END { if (nonempty) { for (i in files) print i; }; }'`; \
  144761. mkid -fID $$unique
  144762. tags: TAGS
  144763. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  144764. $(TAGS_FILES) $(LISP)
  144765. - tags=; \
  144766. + set x; \
  144767. here=`pwd`; \
  144768. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  144769. unique=`for i in $$list; do \
  144770. @@ -434,29 +452,34 @@
  144771. done | \
  144772. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  144773. END { if (nonempty) { for (i in files) print i; }; }'`; \
  144774. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  144775. + shift; \
  144776. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  144777. test -n "$$unique" || unique=$$empty_fix; \
  144778. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  144779. - $$tags $$unique; \
  144780. + if test $$# -gt 0; then \
  144781. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  144782. + "$$@" $$unique; \
  144783. + else \
  144784. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  144785. + $$unique; \
  144786. + fi; \
  144787. fi
  144788. ctags: CTAGS
  144789. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  144790. $(TAGS_FILES) $(LISP)
  144791. - tags=; \
  144792. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  144793. unique=`for i in $$list; do \
  144794. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  144795. done | \
  144796. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  144797. END { if (nonempty) { for (i in files) print i; }; }'`; \
  144798. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  144799. + test -z "$(CTAGS_ARGS)$$unique" \
  144800. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  144801. - $$tags $$unique
  144802. + $$unique
  144803. GTAGS:
  144804. here=`$(am__cd) $(top_builddir) && pwd` \
  144805. - && cd $(top_srcdir) \
  144806. - && gtags -i $(GTAGS_ARGS) $$here
  144807. + && $(am__cd) $(top_srcdir) \
  144808. + && gtags -i $(GTAGS_ARGS) "$$here"
  144809. distclean-tags:
  144810. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  144811. @@ -477,13 +500,17 @@
  144812. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  144813. if test -d $$d/$$file; then \
  144814. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  144815. + if test -d "$(distdir)/$$file"; then \
  144816. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  144817. + fi; \
  144818. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  144819. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  144820. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  144821. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  144822. fi; \
  144823. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  144824. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  144825. else \
  144826. - test -f $(distdir)/$$file \
  144827. - || cp -p $$d/$$file $(distdir)/$$file \
  144828. + test -f "$(distdir)/$$file" \
  144829. + || cp -p $$d/$$file "$(distdir)/$$file" \
  144830. || exit 1; \
  144831. fi; \
  144832. done
  144833. @@ -511,6 +538,7 @@
  144834. distclean-generic:
  144835. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  144836. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  144837. -rm -f basic/$(DEPDIR)/$(am__dirstamp)
  144838. -rm -f basic/$(am__dirstamp)
  144839. -rm -f digest/$(DEPDIR)/$(am__dirstamp)
  144840. @@ -540,6 +568,8 @@
  144841. html: html-am
  144842. +html-am:
  144843. +
  144844. info: info-am
  144845. info-am:
  144846. @@ -548,18 +578,28 @@
  144847. install-dvi: install-dvi-am
  144848. +install-dvi-am:
  144849. +
  144850. install-exec-am:
  144851. install-html: install-html-am
  144852. +install-html-am:
  144853. +
  144854. install-info: install-info-am
  144855. +install-info-am:
  144856. +
  144857. install-man:
  144858. install-pdf: install-pdf-am
  144859. +install-pdf-am:
  144860. +
  144861. install-ps: install-ps-am
  144862. +install-ps-am:
  144863. +
  144864. installcheck-am:
  144865. maintainer-clean: maintainer-clean-am
  144866. @@ -597,6 +637,7 @@
  144867. mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  144868. pdf pdf-am ps ps-am tags uninstall uninstall-am
  144869. +
  144870. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  144871. # Otherwise a system limit (for SysV at least) may be exceeded.
  144872. .NOEXPORT:
  144873. diff -Nur squid-3.0.STABLE20.orig/src/fs/Makefile.in squid-3.0.STABLE20/src/fs/Makefile.in
  144874. --- squid-3.0.STABLE20.orig/src/fs/Makefile.in 2009-10-29 11:05:47.000000000 +0100
  144875. +++ squid-3.0.STABLE20/src/fs/Makefile.in 2010-02-19 00:39:24.756854656 +0100
  144876. @@ -1,8 +1,9 @@
  144877. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  144878. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  144879. # @configure_input@
  144880. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  144881. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  144882. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  144883. +# Inc.
  144884. # This Makefile.in is free software; the Free Software Foundation
  144885. # gives unlimited permission to copy and/or distribute it,
  144886. # with or without modifications, as long as this notice is preserved.
  144887. @@ -21,8 +22,9 @@
  144888. VPATH = @srcdir@
  144889. pkgdatadir = $(datadir)/@PACKAGE@
  144890. -pkglibdir = $(libdir)/@PACKAGE@
  144891. pkgincludedir = $(includedir)/@PACKAGE@
  144892. +pkglibdir = $(libdir)/@PACKAGE@
  144893. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  144894. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  144895. install_sh_DATA = $(install_sh) -c -m 644
  144896. install_sh_PROGRAM = $(install_sh) -c
  144897. @@ -47,6 +49,7 @@
  144898. mkinstalldirs = $(install_sh) -d
  144899. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  144900. CONFIG_CLEAN_FILES =
  144901. +CONFIG_CLEAN_VPATH_FILES =
  144902. LIBRARIES = $(noinst_LIBRARIES)
  144903. ARFLAGS = cru
  144904. libcoss_a_AR = $(AR) $(ARFLAGS)
  144905. @@ -67,6 +70,7 @@
  144906. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  144907. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  144908. am__depfiles_maybe = depfiles
  144909. +am__mv = mv -f
  144910. CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  144911. $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
  144912. LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  144913. @@ -129,7 +133,7 @@
  144914. DISK_LINKOBJS = @DISK_LINKOBJS@
  144915. DISK_PROGRAMS = @DISK_PROGRAMS@
  144916. DSYMUTIL = @DSYMUTIL@
  144917. -ECHO = @ECHO@
  144918. +DUMPBIN = @DUMPBIN@
  144919. ECHO_C = @ECHO_C@
  144920. ECHO_N = @ECHO_N@
  144921. ECHO_T = @ECHO_T@
  144922. @@ -139,10 +143,10 @@
  144923. ERR_LANGUAGES = @ERR_LANGUAGES@
  144924. EXEEXT = @EXEEXT@
  144925. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  144926. -F77 = @F77@
  144927. FALSE = @FALSE@
  144928. -FFLAGS = @FFLAGS@
  144929. +FGREP = @FGREP@
  144930. GREP = @GREP@
  144931. +HOSTCXX = @HOSTCXX@
  144932. ICAP_LIBS = @ICAP_LIBS@
  144933. INSTALL = @INSTALL@
  144934. INSTALL_DATA = @INSTALL_DATA@
  144935. @@ -151,8 +155,12 @@
  144936. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  144937. KRB5INCS = @KRB5INCS@
  144938. KRB5LIBS = @KRB5LIBS@
  144939. +LD = @LD@
  144940. LDFLAGS = @LDFLAGS@
  144941. LIBADD_DL = @LIBADD_DL@
  144942. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  144943. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  144944. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  144945. LIBOBJS = @LIBOBJS@
  144946. LIBREGEX = @LIBREGEX@
  144947. LIBS = @LIBS@
  144948. @@ -161,9 +169,12 @@
  144949. LIB_DB = @LIB_DB@
  144950. LIB_LBER = @LIB_LBER@
  144951. LIB_LDAP = @LIB_LDAP@
  144952. +LIPO = @LIPO@
  144953. LN = @LN@
  144954. LN_S = @LN_S@
  144955. LTLIBOBJS = @LTLIBOBJS@
  144956. +LT_DLLOADERS = @LT_DLLOADERS@
  144957. +LT_DLPREOPEN = @LT_DLPREOPEN@
  144958. MAINT = @MAINT@
  144959. MAKEINFO = @MAKEINFO@
  144960. MINGW_LIBS = @MINGW_LIBS@
  144961. @@ -171,15 +182,20 @@
  144962. MKDIR_P = @MKDIR_P@
  144963. MV = @MV@
  144964. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  144965. +NM = @NM@
  144966. NMEDIT = @NMEDIT@
  144967. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  144968. +OBJDUMP = @OBJDUMP@
  144969. OBJEXT = @OBJEXT@
  144970. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  144971. +OTOOL = @OTOOL@
  144972. +OTOOL64 = @OTOOL64@
  144973. PACKAGE = @PACKAGE@
  144974. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  144975. PACKAGE_NAME = @PACKAGE_NAME@
  144976. PACKAGE_STRING = @PACKAGE_STRING@
  144977. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  144978. +PACKAGE_URL = @PACKAGE_URL@
  144979. PACKAGE_VERSION = @PACKAGE_VERSION@
  144980. PATH_SEPARATOR = @PATH_SEPARATOR@
  144981. PERL = @PERL@
  144982. @@ -216,7 +232,7 @@
  144983. abs_top_srcdir = @abs_top_srcdir@
  144984. ac_ct_CC = @ac_ct_CC@
  144985. ac_ct_CXX = @ac_ct_CXX@
  144986. -ac_ct_F77 = @ac_ct_F77@
  144987. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  144988. ac_krb5_config = @ac_krb5_config@
  144989. am__include = @am__include@
  144990. am__leading_dot = @am__leading_dot@
  144991. @@ -248,6 +264,7 @@
  144992. libexecdir = @libexecdir@
  144993. localedir = @localedir@
  144994. localstatedir = @localstatedir@
  144995. +lt_ECHO = @lt_ECHO@
  144996. makesnmplib = @makesnmplib@
  144997. mandir = @mandir@
  144998. mkdir_p = @mkdir_p@
  144999. @@ -299,14 +316,14 @@
  145000. @for dep in $?; do \
  145001. case '$(am__configure_deps)' in \
  145002. *$$dep*) \
  145003. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  145004. - && exit 0; \
  145005. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  145006. + && { if test -f $@; then exit 0; else break; fi; }; \
  145007. exit 1;; \
  145008. esac; \
  145009. done; \
  145010. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/fs/Makefile'; \
  145011. - cd $(top_srcdir) && \
  145012. - $(AUTOMAKE) --foreign src/fs/Makefile
  145013. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/fs/Makefile'; \
  145014. + $(am__cd) $(top_srcdir) && \
  145015. + $(AUTOMAKE) --foreign src/fs/Makefile
  145016. .PRECIOUS: Makefile
  145017. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  145018. @case '$?' in \
  145019. @@ -324,6 +341,7 @@
  145020. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  145021. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  145022. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  145023. +$(am__aclocal_m4_deps):
  145024. clean-noinstLIBRARIES:
  145025. -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
  145026. @@ -392,7 +410,7 @@
  145027. .cc.o:
  145028. @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
  145029. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
  145030. -@am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po
  145031. +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
  145032. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  145033. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  145034. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
  145035. @@ -400,7 +418,7 @@
  145036. .cc.obj:
  145037. @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
  145038. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
  145039. -@am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po
  145040. +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
  145041. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  145042. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  145043. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  145044. @@ -408,7 +426,7 @@
  145045. .cc.lo:
  145046. @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
  145047. @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
  145048. -@am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo
  145049. +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
  145050. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  145051. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  145052. @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
  145053. @@ -424,14 +442,14 @@
  145054. unique=`for i in $$list; do \
  145055. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  145056. done | \
  145057. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  145058. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  145059. END { if (nonempty) { for (i in files) print i; }; }'`; \
  145060. mkid -fID $$unique
  145061. tags: TAGS
  145062. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  145063. $(TAGS_FILES) $(LISP)
  145064. - tags=; \
  145065. + set x; \
  145066. here=`pwd`; \
  145067. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  145068. unique=`for i in $$list; do \
  145069. @@ -439,29 +457,34 @@
  145070. done | \
  145071. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  145072. END { if (nonempty) { for (i in files) print i; }; }'`; \
  145073. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  145074. + shift; \
  145075. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  145076. test -n "$$unique" || unique=$$empty_fix; \
  145077. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  145078. - $$tags $$unique; \
  145079. + if test $$# -gt 0; then \
  145080. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  145081. + "$$@" $$unique; \
  145082. + else \
  145083. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  145084. + $$unique; \
  145085. + fi; \
  145086. fi
  145087. ctags: CTAGS
  145088. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  145089. $(TAGS_FILES) $(LISP)
  145090. - tags=; \
  145091. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  145092. unique=`for i in $$list; do \
  145093. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  145094. done | \
  145095. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  145096. END { if (nonempty) { for (i in files) print i; }; }'`; \
  145097. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  145098. + test -z "$(CTAGS_ARGS)$$unique" \
  145099. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  145100. - $$tags $$unique
  145101. + $$unique
  145102. GTAGS:
  145103. here=`$(am__cd) $(top_builddir) && pwd` \
  145104. - && cd $(top_srcdir) \
  145105. - && gtags -i $(GTAGS_ARGS) $$here
  145106. + && $(am__cd) $(top_srcdir) \
  145107. + && gtags -i $(GTAGS_ARGS) "$$here"
  145108. distclean-tags:
  145109. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  145110. @@ -482,13 +505,17 @@
  145111. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  145112. if test -d $$d/$$file; then \
  145113. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  145114. + if test -d "$(distdir)/$$file"; then \
  145115. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  145116. + fi; \
  145117. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  145118. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  145119. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  145120. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  145121. fi; \
  145122. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  145123. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  145124. else \
  145125. - test -f $(distdir)/$$file \
  145126. - || cp -p $$d/$$file $(distdir)/$$file \
  145127. + test -f "$(distdir)/$$file" \
  145128. + || cp -p $$d/$$file "$(distdir)/$$file" \
  145129. || exit 1; \
  145130. fi; \
  145131. done
  145132. @@ -516,6 +543,7 @@
  145133. distclean-generic:
  145134. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  145135. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  145136. -rm -f coss/$(DEPDIR)/$(am__dirstamp)
  145137. -rm -f coss/$(am__dirstamp)
  145138. -rm -f null/$(DEPDIR)/$(am__dirstamp)
  145139. @@ -543,6 +571,8 @@
  145140. html: html-am
  145141. +html-am:
  145142. +
  145143. info: info-am
  145144. info-am:
  145145. @@ -551,18 +581,28 @@
  145146. install-dvi: install-dvi-am
  145147. +install-dvi-am:
  145148. +
  145149. install-exec-am:
  145150. install-html: install-html-am
  145151. +install-html-am:
  145152. +
  145153. install-info: install-info-am
  145154. +install-info-am:
  145155. +
  145156. install-man:
  145157. install-pdf: install-pdf-am
  145158. +install-pdf-am:
  145159. +
  145160. install-ps: install-ps-am
  145161. +install-ps-am:
  145162. +
  145163. installcheck-am:
  145164. maintainer-clean: maintainer-clean-am
  145165. @@ -607,6 +647,7 @@
  145166. null/clean: clean
  145167. ufs/all: libufs.a
  145168. ufs/clean: clean
  145169. +
  145170. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  145171. # Otherwise a system limit (for SysV at least) may be exceeded.
  145172. .NOEXPORT:
  145173. diff -Nur squid-3.0.STABLE20.orig/src/Makefile.am squid-3.0.STABLE20/src/Makefile.am
  145174. --- squid-3.0.STABLE20.orig/src/Makefile.am 2009-10-29 11:05:46.000000000 +0100
  145175. +++ squid-3.0.STABLE20/src/Makefile.am 2010-02-19 00:38:53.504856088 +0100
  145176. @@ -1010,6 +1010,7 @@
  145177. DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  145178. DEFS = @DEFS@ -DDEFAULT_CONFIG_FILE=\"$(DEFAULT_CONFIG_FILE)\"
  145179. +HOSTCXX ?= @HOSTCXX@
  145180. $(OBJS): $(top_srcdir)/include/version.h ../include/autoconf.h
  145181. @@ -1034,6 +1035,11 @@
  145182. squid.conf.default: cf_parser.h
  145183. true
  145184. +cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES)
  145185. + $(HOSTCXX) -o $@ $(srcdir)/cf_gen.cc \
  145186. + $(top_srcdir)/lib/util.c $(top_srcdir)/lib/assert.c \
  145187. + -DNDEBUG -DBUILD_HOST_TOOL ${INCLUDES} ${HOSTCFLAGS}
  145188. +
  145189. cf_parser.h: cf.data cf_gen$(EXEEXT)
  145190. ./cf_gen cf.data $(srcdir)/cf.data.depend
  145191. diff -Nur squid-3.0.STABLE20.orig/src/Makefile.in squid-3.0.STABLE20/src/Makefile.in
  145192. --- squid-3.0.STABLE20.orig/src/Makefile.in 2009-10-29 11:05:46.000000000 +0100
  145193. +++ squid-3.0.STABLE20/src/Makefile.in 2010-02-19 00:39:24.416857166 +0100
  145194. @@ -1,8 +1,9 @@
  145195. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  145196. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  145197. # @configure_input@
  145198. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  145199. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  145200. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  145201. +# Inc.
  145202. # This Makefile.in is free software; the Free Software Foundation
  145203. # gives unlimited permission to copy and/or distribute it,
  145204. # with or without modifications, as long as this notice is preserved.
  145205. @@ -28,8 +29,9 @@
  145206. VPATH = @srcdir@
  145207. pkgdatadir = $(datadir)/@PACKAGE@
  145208. -pkglibdir = $(libdir)/@PACKAGE@
  145209. pkgincludedir = $(includedir)/@PACKAGE@
  145210. +pkglibdir = $(libdir)/@PACKAGE@
  145211. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  145212. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  145213. install_sh_DATA = $(install_sh) -c -m 644
  145214. install_sh_PROGRAM = $(install_sh) -c
  145215. @@ -71,6 +73,7 @@
  145216. mkinstalldirs = $(install_sh) -d
  145217. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  145218. CONFIG_CLEAN_FILES =
  145219. +CONFIG_CLEAN_VPATH_FILES =
  145220. LIBRARIES = $(noinst_LIBRARIES)
  145221. ARFLAGS = cru
  145222. ICAP_libicap_a_AR = $(AR) $(ARFLAGS)
  145223. @@ -137,12 +140,9 @@
  145224. am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" \
  145225. "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(datadir)" \
  145226. "$(DESTDIR)$(sysconfdir)"
  145227. -binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  145228. @ENABLE_PINGER_TRUE@am__EXEEXT_1 = pinger$(EXEEXT)
  145229. @USE_DNSSERVER_TRUE@am__EXEEXT_2 = dnsserver$(EXEEXT)
  145230. @ENABLE_UNLINKD_TRUE@am__EXEEXT_3 = unlinkd$(EXEEXT)
  145231. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  145232. -sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  145233. PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS) $(noinst_PROGRAMS) \
  145234. $(sbin_PROGRAMS)
  145235. am_DiskIO_DiskDaemon_diskd_OBJECTS = \
  145236. @@ -1519,6 +1519,7 @@
  145237. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  145238. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  145239. am__depfiles_maybe = depfiles
  145240. +am__mv = mv -f
  145241. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  145242. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  145243. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  145244. @@ -1595,17 +1596,60 @@
  145245. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  145246. *) f=$$p;; \
  145247. esac;
  145248. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  145249. -dataDATA_INSTALL = $(INSTALL_DATA)
  145250. -sysconfDATA_INSTALL = $(INSTALL_DATA)
  145251. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  145252. +am__install_max = 40
  145253. +am__nobase_strip_setup = \
  145254. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  145255. +am__nobase_strip = \
  145256. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  145257. +am__nobase_list = $(am__nobase_strip_setup); \
  145258. + for p in $$list; do echo "$$p $$p"; done | \
  145259. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  145260. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  145261. + if (++n[$$2] == $(am__install_max)) \
  145262. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  145263. + END { for (dir in files) print dir, files[dir] }'
  145264. +am__base_list = \
  145265. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  145266. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  145267. DATA = $(data_DATA) $(sysconf_DATA)
  145268. HEADERS = $(noinst_HEADERS)
  145269. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  145270. distclean-recursive maintainer-clean-recursive
  145271. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  145272. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  145273. + distdir
  145274. ETAGS = etags
  145275. CTAGS = ctags
  145276. +am__tty_colors = \
  145277. +red=; grn=; lgn=; blu=; std=
  145278. DIST_SUBDIRS = $(SUBDIRS)
  145279. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  145280. +am__relativize = \
  145281. + dir0=`pwd`; \
  145282. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  145283. + sed_rest='s,^[^/]*/*,,'; \
  145284. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  145285. + sed_butlast='s,/*[^/]*$$,,'; \
  145286. + while test -n "$$dir1"; do \
  145287. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  145288. + if test "$$first" != "."; then \
  145289. + if test "$$first" = ".."; then \
  145290. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  145291. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  145292. + else \
  145293. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  145294. + if test "$$first2" = "$$first"; then \
  145295. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  145296. + else \
  145297. + dir2="../$$dir2"; \
  145298. + fi; \
  145299. + dir0="$$dir0"/"$$first"; \
  145300. + fi; \
  145301. + fi; \
  145302. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  145303. + done; \
  145304. + reldir="$$dir2"
  145305. ACLOCAL = @ACLOCAL@
  145306. ALLOCA = @ALLOCA@
  145307. AMTAR = @AMTAR@
  145308. @@ -1643,7 +1687,7 @@
  145309. DISK_LINKOBJS = @DISK_LINKOBJS@
  145310. DISK_PROGRAMS = @DISK_PROGRAMS@
  145311. DSYMUTIL = @DSYMUTIL@
  145312. -ECHO = @ECHO@
  145313. +DUMPBIN = @DUMPBIN@
  145314. ECHO_C = @ECHO_C@
  145315. ECHO_N = @ECHO_N@
  145316. ECHO_T = @ECHO_T@
  145317. @@ -1653,10 +1697,10 @@
  145318. ERR_LANGUAGES = @ERR_LANGUAGES@
  145319. EXEEXT = @EXEEXT@
  145320. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  145321. -F77 = @F77@
  145322. FALSE = @FALSE@
  145323. -FFLAGS = @FFLAGS@
  145324. +FGREP = @FGREP@
  145325. GREP = @GREP@
  145326. +HOSTCXX = @HOSTCXX@
  145327. ICAP_LIBS = @ICAP_LIBS@
  145328. INSTALL = @INSTALL@
  145329. INSTALL_DATA = @INSTALL_DATA@
  145330. @@ -1665,8 +1709,12 @@
  145331. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  145332. KRB5INCS = @KRB5INCS@
  145333. KRB5LIBS = @KRB5LIBS@
  145334. +LD = @LD@
  145335. LDFLAGS = @LDFLAGS@
  145336. LIBADD_DL = @LIBADD_DL@
  145337. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  145338. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  145339. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  145340. LIBOBJS = @LIBOBJS@
  145341. LIBREGEX = @LIBREGEX@
  145342. LIBS = @LIBS@
  145343. @@ -1675,9 +1723,12 @@
  145344. LIB_DB = @LIB_DB@
  145345. LIB_LBER = @LIB_LBER@
  145346. LIB_LDAP = @LIB_LDAP@
  145347. +LIPO = @LIPO@
  145348. LN = @LN@
  145349. LN_S = @LN_S@
  145350. LTLIBOBJS = @LTLIBOBJS@
  145351. +LT_DLLOADERS = @LT_DLLOADERS@
  145352. +LT_DLPREOPEN = @LT_DLPREOPEN@
  145353. MAINT = @MAINT@
  145354. MAKEINFO = @MAKEINFO@
  145355. MINGW_LIBS = @MINGW_LIBS@
  145356. @@ -1685,15 +1736,20 @@
  145357. MKDIR_P = @MKDIR_P@
  145358. MV = @MV@
  145359. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  145360. +NM = @NM@
  145361. NMEDIT = @NMEDIT@
  145362. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  145363. +OBJDUMP = @OBJDUMP@
  145364. OBJEXT = @OBJEXT@
  145365. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  145366. +OTOOL = @OTOOL@
  145367. +OTOOL64 = @OTOOL64@
  145368. PACKAGE = @PACKAGE@
  145369. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  145370. PACKAGE_NAME = @PACKAGE_NAME@
  145371. PACKAGE_STRING = @PACKAGE_STRING@
  145372. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  145373. +PACKAGE_URL = @PACKAGE_URL@
  145374. PACKAGE_VERSION = @PACKAGE_VERSION@
  145375. PATH_SEPARATOR = @PATH_SEPARATOR@
  145376. PERL = @PERL@
  145377. @@ -1730,7 +1786,7 @@
  145378. abs_top_srcdir = @abs_top_srcdir@
  145379. ac_ct_CC = @ac_ct_CC@
  145380. ac_ct_CXX = @ac_ct_CXX@
  145381. -ac_ct_F77 = @ac_ct_F77@
  145382. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  145383. ac_krb5_config = @ac_krb5_config@
  145384. am__include = @am__include@
  145385. am__leading_dot = @am__leading_dot@
  145386. @@ -1762,6 +1818,7 @@
  145387. libexecdir = @libexecdir@
  145388. localedir = @localedir@
  145389. localstatedir = @localstatedir@
  145390. +lt_ECHO = @lt_ECHO@
  145391. makesnmplib = @makesnmplib@
  145392. mandir = @mandir@
  145393. mkdir_p = @mkdir_p@
  145394. @@ -3998,14 +4055,14 @@
  145395. @for dep in $?; do \
  145396. case '$(am__configure_deps)' in \
  145397. *$$dep*) \
  145398. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  145399. - && exit 0; \
  145400. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  145401. + && { if test -f $@; then exit 0; else break; fi; }; \
  145402. exit 1;; \
  145403. esac; \
  145404. done; \
  145405. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
  145406. - cd $(top_srcdir) && \
  145407. - $(AUTOMAKE) --foreign src/Makefile
  145408. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
  145409. + $(am__cd) $(top_srcdir) && \
  145410. + $(AUTOMAKE) --foreign src/Makefile
  145411. .PRECIOUS: Makefile
  145412. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  145413. @case '$?' in \
  145414. @@ -4023,6 +4080,7 @@
  145415. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  145416. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  145417. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  145418. +$(am__aclocal_m4_deps):
  145419. clean-noinstLIBRARIES:
  145420. -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
  145421. @@ -4149,109 +4207,155 @@
  145422. install-binPROGRAMS: $(bin_PROGRAMS)
  145423. @$(NORMAL_INSTALL)
  145424. test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  145425. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  145426. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  145427. - if test -f $$p \
  145428. - || test -f $$p1 \
  145429. - ; then \
  145430. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  145431. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  145432. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
  145433. - else :; fi; \
  145434. - done
  145435. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  145436. + for p in $$list; do echo "$$p $$p"; done | \
  145437. + sed 's/$(EXEEXT)$$//' | \
  145438. + while read p p1; do if test -f $$p || test -f $$p1; \
  145439. + then echo "$$p"; echo "$$p"; else :; fi; \
  145440. + done | \
  145441. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  145442. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  145443. + sed 'N;N;N;s,\n, ,g' | \
  145444. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  145445. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  145446. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  145447. + else { print "f", $$3 "/" $$4, $$1; } } \
  145448. + END { for (d in files) print "f", d, files[d] }' | \
  145449. + while read type dir files; do \
  145450. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  145451. + test -z "$$files" || { \
  145452. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  145453. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  145454. + } \
  145455. + ; done
  145456. uninstall-binPROGRAMS:
  145457. @$(NORMAL_UNINSTALL)
  145458. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  145459. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  145460. - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
  145461. - rm -f "$(DESTDIR)$(bindir)/$$f"; \
  145462. - done
  145463. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  145464. + files=`for p in $$list; do echo "$$p"; done | \
  145465. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  145466. + -e 's/$$/$(EXEEXT)/' `; \
  145467. + test -n "$$list" || exit 0; \
  145468. + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  145469. + cd "$(DESTDIR)$(bindir)" && rm -f $$files
  145470. clean-binPROGRAMS:
  145471. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  145472. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  145473. - echo " rm -f $$p $$f"; \
  145474. - rm -f $$p $$f ; \
  145475. - done
  145476. + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
  145477. + echo " rm -f" $$list; \
  145478. + rm -f $$list || exit $$?; \
  145479. + test -n "$(EXEEXT)" || exit 0; \
  145480. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  145481. + echo " rm -f" $$list; \
  145482. + rm -f $$list
  145483. clean-checkPROGRAMS:
  145484. - @list='$(check_PROGRAMS)'; for p in $$list; do \
  145485. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  145486. - echo " rm -f $$p $$f"; \
  145487. - rm -f $$p $$f ; \
  145488. - done
  145489. + @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
  145490. + echo " rm -f" $$list; \
  145491. + rm -f $$list || exit $$?; \
  145492. + test -n "$(EXEEXT)" || exit 0; \
  145493. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  145494. + echo " rm -f" $$list; \
  145495. + rm -f $$list
  145496. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  145497. @$(NORMAL_INSTALL)
  145498. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  145499. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  145500. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  145501. - if test -f $$p \
  145502. - || test -f $$p1 \
  145503. - ; then \
  145504. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  145505. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  145506. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  145507. - else :; fi; \
  145508. - done
  145509. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  145510. + for p in $$list; do echo "$$p $$p"; done | \
  145511. + sed 's/$(EXEEXT)$$//' | \
  145512. + while read p p1; do if test -f $$p || test -f $$p1; \
  145513. + then echo "$$p"; echo "$$p"; else :; fi; \
  145514. + done | \
  145515. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  145516. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  145517. + sed 'N;N;N;s,\n, ,g' | \
  145518. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  145519. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  145520. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  145521. + else { print "f", $$3 "/" $$4, $$1; } } \
  145522. + END { for (d in files) print "f", d, files[d] }' | \
  145523. + while read type dir files; do \
  145524. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  145525. + test -z "$$files" || { \
  145526. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  145527. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  145528. + } \
  145529. + ; done
  145530. uninstall-libexecPROGRAMS:
  145531. @$(NORMAL_UNINSTALL)
  145532. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  145533. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  145534. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  145535. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  145536. - done
  145537. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  145538. + files=`for p in $$list; do echo "$$p"; done | \
  145539. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  145540. + -e 's/$$/$(EXEEXT)/' `; \
  145541. + test -n "$$list" || exit 0; \
  145542. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  145543. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  145544. clean-libexecPROGRAMS:
  145545. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  145546. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  145547. - echo " rm -f $$p $$f"; \
  145548. - rm -f $$p $$f ; \
  145549. - done
  145550. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  145551. + echo " rm -f" $$list; \
  145552. + rm -f $$list || exit $$?; \
  145553. + test -n "$(EXEEXT)" || exit 0; \
  145554. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  145555. + echo " rm -f" $$list; \
  145556. + rm -f $$list
  145557. clean-noinstPROGRAMS:
  145558. - @list='$(noinst_PROGRAMS)'; for p in $$list; do \
  145559. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  145560. - echo " rm -f $$p $$f"; \
  145561. - rm -f $$p $$f ; \
  145562. - done
  145563. + @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
  145564. + echo " rm -f" $$list; \
  145565. + rm -f $$list || exit $$?; \
  145566. + test -n "$(EXEEXT)" || exit 0; \
  145567. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  145568. + echo " rm -f" $$list; \
  145569. + rm -f $$list
  145570. install-sbinPROGRAMS: $(sbin_PROGRAMS)
  145571. @$(NORMAL_INSTALL)
  145572. test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
  145573. - @list='$(sbin_PROGRAMS)'; for p in $$list; do \
  145574. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  145575. - if test -f $$p \
  145576. - || test -f $$p1 \
  145577. - ; then \
  145578. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  145579. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
  145580. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
  145581. - else :; fi; \
  145582. - done
  145583. + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
  145584. + for p in $$list; do echo "$$p $$p"; done | \
  145585. + sed 's/$(EXEEXT)$$//' | \
  145586. + while read p p1; do if test -f $$p || test -f $$p1; \
  145587. + then echo "$$p"; echo "$$p"; else :; fi; \
  145588. + done | \
  145589. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  145590. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  145591. + sed 'N;N;N;s,\n, ,g' | \
  145592. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  145593. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  145594. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  145595. + else { print "f", $$3 "/" $$4, $$1; } } \
  145596. + END { for (d in files) print "f", d, files[d] }' | \
  145597. + while read type dir files; do \
  145598. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  145599. + test -z "$$files" || { \
  145600. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
  145601. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
  145602. + } \
  145603. + ; done
  145604. uninstall-sbinPROGRAMS:
  145605. @$(NORMAL_UNINSTALL)
  145606. - @list='$(sbin_PROGRAMS)'; for p in $$list; do \
  145607. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  145608. - echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
  145609. - rm -f "$(DESTDIR)$(sbindir)/$$f"; \
  145610. - done
  145611. + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
  145612. + files=`for p in $$list; do echo "$$p"; done | \
  145613. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  145614. + -e 's/$$/$(EXEEXT)/' `; \
  145615. + test -n "$$list" || exit 0; \
  145616. + echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
  145617. + cd "$(DESTDIR)$(sbindir)" && rm -f $$files
  145618. clean-sbinPROGRAMS:
  145619. - @list='$(sbin_PROGRAMS)'; for p in $$list; do \
  145620. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  145621. - echo " rm -f $$p $$f"; \
  145622. - rm -f $$p $$f ; \
  145623. - done
  145624. + @list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \
  145625. + echo " rm -f" $$list; \
  145626. + rm -f $$list || exit $$?; \
  145627. + test -n "$(EXEEXT)" || exit 0; \
  145628. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  145629. + echo " rm -f" $$list; \
  145630. + rm -f $$list
  145631. DiskIO/DiskDaemon/diskd.$(OBJEXT): DiskIO/DiskDaemon/$(am__dirstamp) \
  145632. DiskIO/DiskDaemon/$(DEPDIR)/$(am__dirstamp)
  145633. DiskIO/DiskDaemon/diskd$(EXEEXT): $(DiskIO_DiskDaemon_diskd_OBJECTS) $(DiskIO_DiskDaemon_diskd_DEPENDENCIES) DiskIO/DiskDaemon/$(am__dirstamp)
  145634. @rm -f DiskIO/DiskDaemon/diskd$(EXEEXT)
  145635. $(CXXLINK) $(DiskIO_DiskDaemon_diskd_OBJECTS) $(DiskIO_DiskDaemon_diskd_LDADD) $(LIBS)
  145636. -cf_gen$(EXEEXT): $(cf_gen_OBJECTS) $(cf_gen_DEPENDENCIES)
  145637. - @rm -f cf_gen$(EXEEXT)
  145638. - $(CXXLINK) $(cf_gen_OBJECTS) $(cf_gen_LDADD) $(LIBS)
  145639. dnsserver$(EXEEXT): $(dnsserver_OBJECTS) $(dnsserver_DEPENDENCIES)
  145640. @rm -f dnsserver$(EXEEXT)
  145641. $(CXXLINK) $(dnsserver_OBJECTS) $(dnsserver_LDADD) $(LIBS)
  145642. @@ -5001,7 +5105,7 @@
  145643. .c.o:
  145644. @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
  145645. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
  145646. -@am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Po
  145647. +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
  145648. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  145649. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  145650. @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $<
  145651. @@ -5009,7 +5113,7 @@
  145652. .c.obj:
  145653. @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
  145654. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
  145655. -@am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Po
  145656. +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
  145657. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  145658. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  145659. @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  145660. @@ -5017,7 +5121,7 @@
  145661. .c.lo:
  145662. @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
  145663. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
  145664. -@am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo
  145665. +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
  145666. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  145667. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  145668. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  145669. @@ -5025,7 +5129,7 @@
  145670. .cc.o:
  145671. @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
  145672. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
  145673. -@am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po
  145674. +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
  145675. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  145676. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  145677. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
  145678. @@ -5033,7 +5137,7 @@
  145679. .cc.obj:
  145680. @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
  145681. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
  145682. -@am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po
  145683. +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
  145684. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  145685. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  145686. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  145687. @@ -5041,7 +5145,7 @@
  145688. .cc.lo:
  145689. @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
  145690. @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
  145691. -@am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo
  145692. +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
  145693. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  145694. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  145695. @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
  145696. @@ -5056,37 +5160,43 @@
  145697. install-dataDATA: $(data_DATA)
  145698. @$(NORMAL_INSTALL)
  145699. test -z "$(datadir)" || $(MKDIR_P) "$(DESTDIR)$(datadir)"
  145700. - @list='$(data_DATA)'; for p in $$list; do \
  145701. + @list='$(data_DATA)'; test -n "$(datadir)" || list=; \
  145702. + for p in $$list; do \
  145703. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  145704. - f=$(am__strip_dir) \
  145705. - echo " $(dataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(datadir)/$$f'"; \
  145706. - $(dataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(datadir)/$$f"; \
  145707. + echo "$$d$$p"; \
  145708. + done | $(am__base_list) | \
  145709. + while read files; do \
  145710. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(datadir)'"; \
  145711. + $(INSTALL_DATA) $$files "$(DESTDIR)$(datadir)" || exit $$?; \
  145712. done
  145713. uninstall-dataDATA:
  145714. @$(NORMAL_UNINSTALL)
  145715. - @list='$(data_DATA)'; for p in $$list; do \
  145716. - f=$(am__strip_dir) \
  145717. - echo " rm -f '$(DESTDIR)$(datadir)/$$f'"; \
  145718. - rm -f "$(DESTDIR)$(datadir)/$$f"; \
  145719. - done
  145720. + @list='$(data_DATA)'; test -n "$(datadir)" || list=; \
  145721. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  145722. + test -n "$$files" || exit 0; \
  145723. + echo " ( cd '$(DESTDIR)$(datadir)' && rm -f" $$files ")"; \
  145724. + cd "$(DESTDIR)$(datadir)" && rm -f $$files
  145725. install-sysconfDATA: $(sysconf_DATA)
  145726. @$(NORMAL_INSTALL)
  145727. test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
  145728. - @list='$(sysconf_DATA)'; for p in $$list; do \
  145729. + @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
  145730. + for p in $$list; do \
  145731. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  145732. - f=$(am__strip_dir) \
  145733. - echo " $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \
  145734. - $(sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \
  145735. + echo "$$d$$p"; \
  145736. + done | $(am__base_list) | \
  145737. + while read files; do \
  145738. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sysconfdir)'"; \
  145739. + $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfdir)" || exit $$?; \
  145740. done
  145741. uninstall-sysconfDATA:
  145742. @$(NORMAL_UNINSTALL)
  145743. - @list='$(sysconf_DATA)'; for p in $$list; do \
  145744. - f=$(am__strip_dir) \
  145745. - echo " rm -f '$(DESTDIR)$(sysconfdir)/$$f'"; \
  145746. - rm -f "$(DESTDIR)$(sysconfdir)/$$f"; \
  145747. - done
  145748. + @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
  145749. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  145750. + test -n "$$files" || exit 0; \
  145751. + echo " ( cd '$(DESTDIR)$(sysconfdir)' && rm -f" $$files ")"; \
  145752. + cd "$(DESTDIR)$(sysconfdir)" && rm -f $$files
  145753. # This directory's subdirectories are mostly independent; you can cd
  145754. # into them and run `make' without going through this Makefile.
  145755. @@ -5095,7 +5205,7 @@
  145756. # (which will cause the Makefiles to be regenerated when you run `make');
  145757. # (2) otherwise, pass the desired values on the `make' command line.
  145758. $(RECURSIVE_TARGETS):
  145759. - @failcom='exit 1'; \
  145760. + @fail= failcom='exit 1'; \
  145761. for f in x $$MAKEFLAGS; do \
  145762. case $$f in \
  145763. *=* | --[!k]*);; \
  145764. @@ -5112,7 +5222,7 @@
  145765. else \
  145766. local_target="$$target"; \
  145767. fi; \
  145768. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  145769. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  145770. || eval $$failcom; \
  145771. done; \
  145772. if test "$$dot_seen" = "no"; then \
  145773. @@ -5120,7 +5230,7 @@
  145774. fi; test -z "$$fail"
  145775. $(RECURSIVE_CLEAN_TARGETS):
  145776. - @failcom='exit 1'; \
  145777. + @fail= failcom='exit 1'; \
  145778. for f in x $$MAKEFLAGS; do \
  145779. case $$f in \
  145780. *=* | --[!k]*);; \
  145781. @@ -5146,16 +5256,16 @@
  145782. else \
  145783. local_target="$$target"; \
  145784. fi; \
  145785. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  145786. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  145787. || eval $$failcom; \
  145788. done && test -z "$$fail"
  145789. tags-recursive:
  145790. list='$(SUBDIRS)'; for subdir in $$list; do \
  145791. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  145792. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  145793. done
  145794. ctags-recursive:
  145795. list='$(SUBDIRS)'; for subdir in $$list; do \
  145796. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  145797. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  145798. done
  145799. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  145800. @@ -5163,14 +5273,14 @@
  145801. unique=`for i in $$list; do \
  145802. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  145803. done | \
  145804. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  145805. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  145806. END { if (nonempty) { for (i in files) print i; }; }'`; \
  145807. mkid -fID $$unique
  145808. tags: TAGS
  145809. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  145810. $(TAGS_FILES) $(LISP)
  145811. - tags=; \
  145812. + set x; \
  145813. here=`pwd`; \
  145814. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  145815. include_option=--etags-include; \
  145816. @@ -5182,7 +5292,7 @@
  145817. list='$(SUBDIRS)'; for subdir in $$list; do \
  145818. if test "$$subdir" = .; then :; else \
  145819. test ! -f $$subdir/TAGS || \
  145820. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  145821. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  145822. fi; \
  145823. done; \
  145824. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  145825. @@ -5191,37 +5301,43 @@
  145826. done | \
  145827. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  145828. END { if (nonempty) { for (i in files) print i; }; }'`; \
  145829. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  145830. + shift; \
  145831. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  145832. test -n "$$unique" || unique=$$empty_fix; \
  145833. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  145834. - $$tags $$unique; \
  145835. + if test $$# -gt 0; then \
  145836. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  145837. + "$$@" $$unique; \
  145838. + else \
  145839. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  145840. + $$unique; \
  145841. + fi; \
  145842. fi
  145843. ctags: CTAGS
  145844. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  145845. $(TAGS_FILES) $(LISP)
  145846. - tags=; \
  145847. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  145848. unique=`for i in $$list; do \
  145849. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  145850. done | \
  145851. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  145852. END { if (nonempty) { for (i in files) print i; }; }'`; \
  145853. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  145854. + test -z "$(CTAGS_ARGS)$$unique" \
  145855. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  145856. - $$tags $$unique
  145857. + $$unique
  145858. GTAGS:
  145859. here=`$(am__cd) $(top_builddir) && pwd` \
  145860. - && cd $(top_srcdir) \
  145861. - && gtags -i $(GTAGS_ARGS) $$here
  145862. + && $(am__cd) $(top_srcdir) \
  145863. + && gtags -i $(GTAGS_ARGS) "$$here"
  145864. distclean-tags:
  145865. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  145866. check-TESTS: $(TESTS)
  145867. - @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
  145868. + @failed=0; all=0; xfail=0; xpass=0; skip=0; \
  145869. srcdir=$(srcdir); export srcdir; \
  145870. list=' $(TESTS) '; \
  145871. + $(am__tty_colors); \
  145872. if test -n "$$list"; then \
  145873. for tst in $$list; do \
  145874. if test -f ./$$tst; then dir=./; \
  145875. @@ -5230,49 +5346,63 @@
  145876. if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
  145877. all=`expr $$all + 1`; \
  145878. case " $(XFAIL_TESTS) " in \
  145879. - *$$ws$$tst$$ws*) \
  145880. + *[\ \ ]$$tst[\ \ ]*) \
  145881. xpass=`expr $$xpass + 1`; \
  145882. failed=`expr $$failed + 1`; \
  145883. - echo "XPASS: $$tst"; \
  145884. + col=$$red; res=XPASS; \
  145885. ;; \
  145886. *) \
  145887. - echo "PASS: $$tst"; \
  145888. + col=$$grn; res=PASS; \
  145889. ;; \
  145890. esac; \
  145891. elif test $$? -ne 77; then \
  145892. all=`expr $$all + 1`; \
  145893. case " $(XFAIL_TESTS) " in \
  145894. - *$$ws$$tst$$ws*) \
  145895. + *[\ \ ]$$tst[\ \ ]*) \
  145896. xfail=`expr $$xfail + 1`; \
  145897. - echo "XFAIL: $$tst"; \
  145898. + col=$$lgn; res=XFAIL; \
  145899. ;; \
  145900. *) \
  145901. failed=`expr $$failed + 1`; \
  145902. - echo "FAIL: $$tst"; \
  145903. + col=$$red; res=FAIL; \
  145904. ;; \
  145905. esac; \
  145906. else \
  145907. skip=`expr $$skip + 1`; \
  145908. - echo "SKIP: $$tst"; \
  145909. + col=$$blu; res=SKIP; \
  145910. fi; \
  145911. + echo "$${col}$$res$${std}: $$tst"; \
  145912. done; \
  145913. + if test "$$all" -eq 1; then \
  145914. + tests="test"; \
  145915. + All=""; \
  145916. + else \
  145917. + tests="tests"; \
  145918. + All="All "; \
  145919. + fi; \
  145920. if test "$$failed" -eq 0; then \
  145921. if test "$$xfail" -eq 0; then \
  145922. - banner="All $$all tests passed"; \
  145923. + banner="$$All$$all $$tests passed"; \
  145924. else \
  145925. - banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
  145926. + if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
  145927. + banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
  145928. fi; \
  145929. else \
  145930. if test "$$xpass" -eq 0; then \
  145931. - banner="$$failed of $$all tests failed"; \
  145932. + banner="$$failed of $$all $$tests failed"; \
  145933. else \
  145934. - banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
  145935. + if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
  145936. + banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
  145937. fi; \
  145938. fi; \
  145939. dashes="$$banner"; \
  145940. skipped=""; \
  145941. if test "$$skip" -ne 0; then \
  145942. - skipped="($$skip tests were not run)"; \
  145943. + if test "$$skip" -eq 1; then \
  145944. + skipped="($$skip test was not run)"; \
  145945. + else \
  145946. + skipped="($$skip tests were not run)"; \
  145947. + fi; \
  145948. test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
  145949. dashes="$$skipped"; \
  145950. fi; \
  145951. @@ -5283,11 +5413,15 @@
  145952. dashes="$$report"; \
  145953. fi; \
  145954. dashes=`echo "$$dashes" | sed s/./=/g`; \
  145955. - echo "$$dashes"; \
  145956. + if test "$$failed" -eq 0; then \
  145957. + echo "$$grn$$dashes"; \
  145958. + else \
  145959. + echo "$$red$$dashes"; \
  145960. + fi; \
  145961. echo "$$banner"; \
  145962. test -z "$$skipped" || echo "$$skipped"; \
  145963. test -z "$$report" || echo "$$report"; \
  145964. - echo "$$dashes"; \
  145965. + echo "$$dashes$$std"; \
  145966. test "$$failed" -eq 0; \
  145967. else :; fi
  145968. @@ -5307,29 +5441,44 @@
  145969. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  145970. if test -d $$d/$$file; then \
  145971. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  145972. + if test -d "$(distdir)/$$file"; then \
  145973. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  145974. + fi; \
  145975. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  145976. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  145977. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  145978. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  145979. fi; \
  145980. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  145981. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  145982. else \
  145983. - test -f $(distdir)/$$file \
  145984. - || cp -p $$d/$$file $(distdir)/$$file \
  145985. + test -f "$(distdir)/$$file" \
  145986. + || cp -p $$d/$$file "$(distdir)/$$file" \
  145987. || exit 1; \
  145988. fi; \
  145989. done
  145990. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  145991. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  145992. if test "$$subdir" = .; then :; else \
  145993. test -d "$(distdir)/$$subdir" \
  145994. || $(MKDIR_P) "$(distdir)/$$subdir" \
  145995. || exit 1; \
  145996. - distdir=`$(am__cd) $(distdir) && pwd`; \
  145997. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  145998. - (cd $$subdir && \
  145999. + fi; \
  146000. + done
  146001. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  146002. + if test "$$subdir" = .; then :; else \
  146003. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  146004. + $(am__relativize); \
  146005. + new_distdir=$$reldir; \
  146006. + dir1=$$subdir; dir2="$(top_distdir)"; \
  146007. + $(am__relativize); \
  146008. + new_top_distdir=$$reldir; \
  146009. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  146010. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  146011. + ($(am__cd) $$subdir && \
  146012. $(MAKE) $(AM_MAKEFLAGS) \
  146013. - top_distdir="$$top_distdir" \
  146014. - distdir="$$distdir/$$subdir" \
  146015. + top_distdir="$$new_top_distdir" \
  146016. + distdir="$$new_distdir" \
  146017. am__remove_distdir=: \
  146018. am__skip_length_check=: \
  146019. + am__skip_mode_fix=: \
  146020. distdir) \
  146021. || exit 1; \
  146022. fi; \
  146023. @@ -5367,6 +5516,7 @@
  146024. distclean-generic:
  146025. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  146026. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  146027. -rm -f ../test-suite/$(DEPDIR)/$(am__dirstamp)
  146028. -rm -f ../test-suite/$(am__dirstamp)
  146029. -rm -f DiskIO/$(DEPDIR)/$(am__dirstamp)
  146030. @@ -5426,6 +5576,8 @@
  146031. html: html-recursive
  146032. +html-am:
  146033. +
  146034. info: info-recursive
  146035. info-am:
  146036. @@ -5434,19 +5586,29 @@
  146037. install-dvi: install-dvi-recursive
  146038. +install-dvi-am:
  146039. +
  146040. install-exec-am: install-binPROGRAMS install-libexecPROGRAMS \
  146041. install-sbinPROGRAMS install-sysconfDATA
  146042. install-html: install-html-recursive
  146043. +install-html-am:
  146044. +
  146045. install-info: install-info-recursive
  146046. +install-info-am:
  146047. +
  146048. install-man:
  146049. install-pdf: install-pdf-recursive
  146050. +install-pdf-am:
  146051. +
  146052. install-ps: install-ps-recursive
  146053. +install-ps-am:
  146054. +
  146055. installcheck-am:
  146056. maintainer-clean: maintainer-clean-recursive
  146057. @@ -5471,8 +5633,9 @@
  146058. uninstall-libexecPROGRAMS uninstall-local \
  146059. uninstall-sbinPROGRAMS uninstall-sysconfDATA
  146060. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  146061. - install-strip
  146062. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
  146063. + check-am ctags-recursive install install-am install-strip \
  146064. + tags-recursive
  146065. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  146066. all all-am check check-TESTS check-am clean clean-binPROGRAMS \
  146067. @@ -5497,6 +5660,7 @@
  146068. uninstall-sbinPROGRAMS uninstall-sysconfDATA
  146069. cf_gen.$(OBJEXT): cf_gen_defines.h
  146070. +HOSTCXX ?= @HOSTCXX@
  146071. $(OBJS): $(top_srcdir)/include/version.h ../include/autoconf.h
  146072. @@ -5520,6 +5684,11 @@
  146073. squid.conf.default: cf_parser.h
  146074. true
  146075. +cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES)
  146076. + $(HOSTCXX) -o $@ $(srcdir)/cf_gen.cc \
  146077. + $(top_srcdir)/lib/util.c $(top_srcdir)/lib/assert.c \
  146078. + -DNDEBUG -DBUILD_HOST_TOOL ${INCLUDES} ${HOSTCFLAGS}
  146079. +
  146080. cf_parser.h: cf.data cf_gen$(EXEEXT)
  146081. ./cf_gen cf.data $(srcdir)/cf.data.depend
  146082. @@ -5572,6 +5741,7 @@
  146083. echo "rm -f $(DESTDIR)$(DEFAULT_MIME_TABLE)"; \
  146084. $(RM) -f $(DESTDIR)$(DEFAULT_MIME_TABLE); \
  146085. fi
  146086. +
  146087. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  146088. # Otherwise a system limit (for SysV at least) may be exceeded.
  146089. .NOEXPORT:
  146090. diff -Nur squid-3.0.STABLE20.orig/src/repl/Makefile.in squid-3.0.STABLE20/src/repl/Makefile.in
  146091. --- squid-3.0.STABLE20.orig/src/repl/Makefile.in 2009-10-29 11:05:48.000000000 +0100
  146092. +++ squid-3.0.STABLE20/src/repl/Makefile.in 2010-02-19 00:39:24.940852961 +0100
  146093. @@ -1,8 +1,9 @@
  146094. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  146095. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  146096. # @configure_input@
  146097. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  146098. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  146099. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  146100. +# Inc.
  146101. # This Makefile.in is free software; the Free Software Foundation
  146102. # gives unlimited permission to copy and/or distribute it,
  146103. # with or without modifications, as long as this notice is preserved.
  146104. @@ -21,8 +22,9 @@
  146105. VPATH = @srcdir@
  146106. pkgdatadir = $(datadir)/@PACKAGE@
  146107. -pkglibdir = $(libdir)/@PACKAGE@
  146108. pkgincludedir = $(includedir)/@PACKAGE@
  146109. +pkglibdir = $(libdir)/@PACKAGE@
  146110. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  146111. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  146112. install_sh_DATA = $(install_sh) -c -m 644
  146113. install_sh_PROGRAM = $(install_sh) -c
  146114. @@ -47,6 +49,7 @@
  146115. mkinstalldirs = $(install_sh) -d
  146116. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  146117. CONFIG_CLEAN_FILES =
  146118. +CONFIG_CLEAN_VPATH_FILES =
  146119. LIBRARIES = $(noinst_LIBRARIES)
  146120. ARFLAGS = cru
  146121. libheap_a_AR = $(AR) $(ARFLAGS)
  146122. @@ -62,6 +65,7 @@
  146123. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  146124. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  146125. am__depfiles_maybe = depfiles
  146126. +am__mv = mv -f
  146127. CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  146128. $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
  146129. LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  146130. @@ -122,7 +126,7 @@
  146131. DISK_LINKOBJS = @DISK_LINKOBJS@
  146132. DISK_PROGRAMS = @DISK_PROGRAMS@
  146133. DSYMUTIL = @DSYMUTIL@
  146134. -ECHO = @ECHO@
  146135. +DUMPBIN = @DUMPBIN@
  146136. ECHO_C = @ECHO_C@
  146137. ECHO_N = @ECHO_N@
  146138. ECHO_T = @ECHO_T@
  146139. @@ -132,10 +136,10 @@
  146140. ERR_LANGUAGES = @ERR_LANGUAGES@
  146141. EXEEXT = @EXEEXT@
  146142. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  146143. -F77 = @F77@
  146144. FALSE = @FALSE@
  146145. -FFLAGS = @FFLAGS@
  146146. +FGREP = @FGREP@
  146147. GREP = @GREP@
  146148. +HOSTCXX = @HOSTCXX@
  146149. ICAP_LIBS = @ICAP_LIBS@
  146150. INSTALL = @INSTALL@
  146151. INSTALL_DATA = @INSTALL_DATA@
  146152. @@ -144,8 +148,12 @@
  146153. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  146154. KRB5INCS = @KRB5INCS@
  146155. KRB5LIBS = @KRB5LIBS@
  146156. +LD = @LD@
  146157. LDFLAGS = @LDFLAGS@
  146158. LIBADD_DL = @LIBADD_DL@
  146159. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  146160. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  146161. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  146162. LIBOBJS = @LIBOBJS@
  146163. LIBREGEX = @LIBREGEX@
  146164. LIBS = @LIBS@
  146165. @@ -154,9 +162,12 @@
  146166. LIB_DB = @LIB_DB@
  146167. LIB_LBER = @LIB_LBER@
  146168. LIB_LDAP = @LIB_LDAP@
  146169. +LIPO = @LIPO@
  146170. LN = @LN@
  146171. LN_S = @LN_S@
  146172. LTLIBOBJS = @LTLIBOBJS@
  146173. +LT_DLLOADERS = @LT_DLLOADERS@
  146174. +LT_DLPREOPEN = @LT_DLPREOPEN@
  146175. MAINT = @MAINT@
  146176. MAKEINFO = @MAKEINFO@
  146177. MINGW_LIBS = @MINGW_LIBS@
  146178. @@ -164,15 +175,20 @@
  146179. MKDIR_P = @MKDIR_P@
  146180. MV = @MV@
  146181. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  146182. +NM = @NM@
  146183. NMEDIT = @NMEDIT@
  146184. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  146185. +OBJDUMP = @OBJDUMP@
  146186. OBJEXT = @OBJEXT@
  146187. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  146188. +OTOOL = @OTOOL@
  146189. +OTOOL64 = @OTOOL64@
  146190. PACKAGE = @PACKAGE@
  146191. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  146192. PACKAGE_NAME = @PACKAGE_NAME@
  146193. PACKAGE_STRING = @PACKAGE_STRING@
  146194. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  146195. +PACKAGE_URL = @PACKAGE_URL@
  146196. PACKAGE_VERSION = @PACKAGE_VERSION@
  146197. PATH_SEPARATOR = @PATH_SEPARATOR@
  146198. PERL = @PERL@
  146199. @@ -209,7 +225,7 @@
  146200. abs_top_srcdir = @abs_top_srcdir@
  146201. ac_ct_CC = @ac_ct_CC@
  146202. ac_ct_CXX = @ac_ct_CXX@
  146203. -ac_ct_F77 = @ac_ct_F77@
  146204. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  146205. ac_krb5_config = @ac_krb5_config@
  146206. am__include = @am__include@
  146207. am__leading_dot = @am__leading_dot@
  146208. @@ -241,6 +257,7 @@
  146209. libexecdir = @libexecdir@
  146210. localedir = @localedir@
  146211. localstatedir = @localstatedir@
  146212. +lt_ECHO = @lt_ECHO@
  146213. makesnmplib = @makesnmplib@
  146214. mandir = @mandir@
  146215. mkdir_p = @mkdir_p@
  146216. @@ -278,14 +295,14 @@
  146217. @for dep in $?; do \
  146218. case '$(am__configure_deps)' in \
  146219. *$$dep*) \
  146220. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  146221. - && exit 0; \
  146222. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  146223. + && { if test -f $@; then exit 0; else break; fi; }; \
  146224. exit 1;; \
  146225. esac; \
  146226. done; \
  146227. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/repl/Makefile'; \
  146228. - cd $(top_srcdir) && \
  146229. - $(AUTOMAKE) --foreign src/repl/Makefile
  146230. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/repl/Makefile'; \
  146231. + $(am__cd) $(top_srcdir) && \
  146232. + $(AUTOMAKE) --foreign src/repl/Makefile
  146233. .PRECIOUS: Makefile
  146234. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  146235. @case '$?' in \
  146236. @@ -303,6 +320,7 @@
  146237. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  146238. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  146239. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  146240. +$(am__aclocal_m4_deps):
  146241. clean-noinstLIBRARIES:
  146242. -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
  146243. @@ -349,7 +367,7 @@
  146244. .cc.o:
  146245. @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
  146246. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
  146247. -@am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po
  146248. +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
  146249. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  146250. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  146251. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
  146252. @@ -357,7 +375,7 @@
  146253. .cc.obj:
  146254. @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
  146255. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
  146256. -@am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po
  146257. +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
  146258. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  146259. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  146260. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  146261. @@ -365,7 +383,7 @@
  146262. .cc.lo:
  146263. @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
  146264. @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
  146265. -@am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo
  146266. +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
  146267. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  146268. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  146269. @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
  146270. @@ -381,14 +399,14 @@
  146271. unique=`for i in $$list; do \
  146272. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  146273. done | \
  146274. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  146275. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  146276. END { if (nonempty) { for (i in files) print i; }; }'`; \
  146277. mkid -fID $$unique
  146278. tags: TAGS
  146279. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  146280. $(TAGS_FILES) $(LISP)
  146281. - tags=; \
  146282. + set x; \
  146283. here=`pwd`; \
  146284. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  146285. unique=`for i in $$list; do \
  146286. @@ -396,29 +414,34 @@
  146287. done | \
  146288. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  146289. END { if (nonempty) { for (i in files) print i; }; }'`; \
  146290. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  146291. + shift; \
  146292. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  146293. test -n "$$unique" || unique=$$empty_fix; \
  146294. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  146295. - $$tags $$unique; \
  146296. + if test $$# -gt 0; then \
  146297. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  146298. + "$$@" $$unique; \
  146299. + else \
  146300. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  146301. + $$unique; \
  146302. + fi; \
  146303. fi
  146304. ctags: CTAGS
  146305. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  146306. $(TAGS_FILES) $(LISP)
  146307. - tags=; \
  146308. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  146309. unique=`for i in $$list; do \
  146310. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  146311. done | \
  146312. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  146313. END { if (nonempty) { for (i in files) print i; }; }'`; \
  146314. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  146315. + test -z "$(CTAGS_ARGS)$$unique" \
  146316. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  146317. - $$tags $$unique
  146318. + $$unique
  146319. GTAGS:
  146320. here=`$(am__cd) $(top_builddir) && pwd` \
  146321. - && cd $(top_srcdir) \
  146322. - && gtags -i $(GTAGS_ARGS) $$here
  146323. + && $(am__cd) $(top_srcdir) \
  146324. + && gtags -i $(GTAGS_ARGS) "$$here"
  146325. distclean-tags:
  146326. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  146327. @@ -439,13 +462,17 @@
  146328. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  146329. if test -d $$d/$$file; then \
  146330. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  146331. + if test -d "$(distdir)/$$file"; then \
  146332. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  146333. + fi; \
  146334. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  146335. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  146336. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  146337. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  146338. fi; \
  146339. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  146340. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  146341. else \
  146342. - test -f $(distdir)/$$file \
  146343. - || cp -p $$d/$$file $(distdir)/$$file \
  146344. + test -f "$(distdir)/$$file" \
  146345. + || cp -p $$d/$$file "$(distdir)/$$file" \
  146346. || exit 1; \
  146347. fi; \
  146348. done
  146349. @@ -473,6 +500,7 @@
  146350. distclean-generic:
  146351. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  146352. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  146353. -rm -f heap/$(DEPDIR)/$(am__dirstamp)
  146354. -rm -f heap/$(am__dirstamp)
  146355. -rm -f lru/$(DEPDIR)/$(am__dirstamp)
  146356. @@ -498,6 +526,8 @@
  146357. html: html-am
  146358. +html-am:
  146359. +
  146360. info: info-am
  146361. info-am:
  146362. @@ -506,18 +536,28 @@
  146363. install-dvi: install-dvi-am
  146364. +install-dvi-am:
  146365. +
  146366. install-exec-am:
  146367. install-html: install-html-am
  146368. +install-html-am:
  146369. +
  146370. install-info: install-info-am
  146371. +install-info-am:
  146372. +
  146373. install-man:
  146374. install-pdf: install-pdf-am
  146375. +install-pdf-am:
  146376. +
  146377. install-ps: install-ps-am
  146378. +install-ps-am:
  146379. +
  146380. installcheck-am:
  146381. maintainer-clean: maintainer-clean-am
  146382. @@ -555,6 +595,7 @@
  146383. mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  146384. pdf pdf-am ps ps-am tags uninstall uninstall-am
  146385. +
  146386. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  146387. # Otherwise a system limit (for SysV at least) may be exceeded.
  146388. .NOEXPORT:
  146389. diff -Nur squid-3.0.STABLE20.orig/test-suite/Makefile.in squid-3.0.STABLE20/test-suite/Makefile.in
  146390. --- squid-3.0.STABLE20.orig/test-suite/Makefile.in 2009-10-29 11:05:48.000000000 +0100
  146391. +++ squid-3.0.STABLE20/test-suite/Makefile.in 2010-02-19 00:39:25.232855792 +0100
  146392. @@ -1,8 +1,9 @@
  146393. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  146394. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  146395. # @configure_input@
  146396. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  146397. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  146398. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  146399. +# Inc.
  146400. # This Makefile.in is free software; the Free Software Foundation
  146401. # gives unlimited permission to copy and/or distribute it,
  146402. # with or without modifications, as long as this notice is preserved.
  146403. @@ -21,8 +22,9 @@
  146404. #
  146405. VPATH = @srcdir@
  146406. pkgdatadir = $(datadir)/@PACKAGE@
  146407. -pkglibdir = $(libdir)/@PACKAGE@
  146408. pkgincludedir = $(includedir)/@PACKAGE@
  146409. +pkglibdir = $(libdir)/@PACKAGE@
  146410. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  146411. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  146412. install_sh_DATA = $(install_sh) -c -m 644
  146413. install_sh_PROGRAM = $(install_sh) -c
  146414. @@ -58,6 +60,7 @@
  146415. mkinstalldirs = $(install_sh) -d
  146416. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  146417. CONFIG_CLEAN_FILES =
  146418. +CONFIG_CLEAN_VPATH_FILES =
  146419. am__EXEEXT_1 = ESIExpressions$(EXEEXT)
  146420. @USE_ESI_TRUE@am__EXEEXT_2 = $(am__EXEEXT_1)
  146421. am__objects_1 = test_tools.$(OBJEXT)
  146422. @@ -128,6 +131,7 @@
  146423. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  146424. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  146425. am__depfiles_maybe = depfiles
  146426. +am__mv = mv -f
  146427. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  146428. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  146429. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  146430. @@ -160,6 +164,8 @@
  146431. $(syntheticoperators_SOURCES) tcp-banger2.c
  146432. ETAGS = etags
  146433. CTAGS = ctags
  146434. +am__tty_colors = \
  146435. +red=; grn=; lgn=; blu=; std=
  146436. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  146437. ACLOCAL = @ACLOCAL@
  146438. ALLOCA = @ALLOCA@
  146439. @@ -198,7 +204,7 @@
  146440. DISK_LINKOBJS = @DISK_LINKOBJS@
  146441. DISK_PROGRAMS = @DISK_PROGRAMS@
  146442. DSYMUTIL = @DSYMUTIL@
  146443. -ECHO = @ECHO@
  146444. +DUMPBIN = @DUMPBIN@
  146445. ECHO_C = @ECHO_C@
  146446. ECHO_N = @ECHO_N@
  146447. ECHO_T = @ECHO_T@
  146448. @@ -208,10 +214,10 @@
  146449. ERR_LANGUAGES = @ERR_LANGUAGES@
  146450. EXEEXT = @EXEEXT@
  146451. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  146452. -F77 = @F77@
  146453. FALSE = @FALSE@
  146454. -FFLAGS = @FFLAGS@
  146455. +FGREP = @FGREP@
  146456. GREP = @GREP@
  146457. +HOSTCXX = @HOSTCXX@
  146458. ICAP_LIBS = @ICAP_LIBS@
  146459. INSTALL = @INSTALL@
  146460. INSTALL_DATA = @INSTALL_DATA@
  146461. @@ -220,8 +226,12 @@
  146462. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  146463. KRB5INCS = @KRB5INCS@
  146464. KRB5LIBS = @KRB5LIBS@
  146465. +LD = @LD@
  146466. LDFLAGS = @LDFLAGS@
  146467. LIBADD_DL = @LIBADD_DL@
  146468. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  146469. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  146470. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  146471. LIBOBJS = @LIBOBJS@
  146472. LIBREGEX = @LIBREGEX@
  146473. LIBS = @LIBS@
  146474. @@ -230,9 +240,12 @@
  146475. LIB_DB = @LIB_DB@
  146476. LIB_LBER = @LIB_LBER@
  146477. LIB_LDAP = @LIB_LDAP@
  146478. +LIPO = @LIPO@
  146479. LN = @LN@
  146480. LN_S = @LN_S@
  146481. LTLIBOBJS = @LTLIBOBJS@
  146482. +LT_DLLOADERS = @LT_DLLOADERS@
  146483. +LT_DLPREOPEN = @LT_DLPREOPEN@
  146484. MAINT = @MAINT@
  146485. MAKEINFO = @MAKEINFO@
  146486. MINGW_LIBS = @MINGW_LIBS@
  146487. @@ -240,15 +253,20 @@
  146488. MKDIR_P = @MKDIR_P@
  146489. MV = @MV@
  146490. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  146491. +NM = @NM@
  146492. NMEDIT = @NMEDIT@
  146493. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  146494. +OBJDUMP = @OBJDUMP@
  146495. OBJEXT = @OBJEXT@
  146496. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  146497. +OTOOL = @OTOOL@
  146498. +OTOOL64 = @OTOOL64@
  146499. PACKAGE = @PACKAGE@
  146500. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  146501. PACKAGE_NAME = @PACKAGE_NAME@
  146502. PACKAGE_STRING = @PACKAGE_STRING@
  146503. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  146504. +PACKAGE_URL = @PACKAGE_URL@
  146505. PACKAGE_VERSION = @PACKAGE_VERSION@
  146506. PATH_SEPARATOR = @PATH_SEPARATOR@
  146507. PERL = @PERL@
  146508. @@ -285,7 +303,7 @@
  146509. abs_top_srcdir = @abs_top_srcdir@
  146510. ac_ct_CC = @ac_ct_CC@
  146511. ac_ct_CXX = @ac_ct_CXX@
  146512. -ac_ct_F77 = @ac_ct_F77@
  146513. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  146514. ac_krb5_config = @ac_krb5_config@
  146515. am__include = @am__include@
  146516. am__leading_dot = @am__leading_dot@
  146517. @@ -317,6 +335,7 @@
  146518. libexecdir = @libexecdir@
  146519. localedir = @localedir@
  146520. localstatedir = @localstatedir@
  146521. +lt_ECHO = @lt_ECHO@
  146522. makesnmplib = @makesnmplib@
  146523. mandir = @mandir@
  146524. mkdir_p = @mkdir_p@
  146525. @@ -372,14 +391,14 @@
  146526. @for dep in $?; do \
  146527. case '$(am__configure_deps)' in \
  146528. *$$dep*) \
  146529. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  146530. - && exit 0; \
  146531. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  146532. + && { if test -f $@; then exit 0; else break; fi; }; \
  146533. exit 1;; \
  146534. esac; \
  146535. done; \
  146536. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test-suite/Makefile'; \
  146537. - cd $(top_srcdir) && \
  146538. - $(AUTOMAKE) --foreign test-suite/Makefile
  146539. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test-suite/Makefile'; \
  146540. + $(am__cd) $(top_srcdir) && \
  146541. + $(AUTOMAKE) --foreign test-suite/Makefile
  146542. .PRECIOUS: Makefile
  146543. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  146544. @case '$?' in \
  146545. @@ -397,13 +416,16 @@
  146546. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  146547. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  146548. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  146549. +$(am__aclocal_m4_deps):
  146550. clean-checkPROGRAMS:
  146551. - @list='$(check_PROGRAMS)'; for p in $$list; do \
  146552. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  146553. - echo " rm -f $$p $$f"; \
  146554. - rm -f $$p $$f ; \
  146555. - done
  146556. + @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
  146557. + echo " rm -f" $$list; \
  146558. + rm -f $$list || exit $$?; \
  146559. + test -n "$(EXEEXT)" || exit 0; \
  146560. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  146561. + echo " rm -f" $$list; \
  146562. + rm -f $$list
  146563. ESIExpressions$(EXEEXT): $(ESIExpressions_OBJECTS) $(ESIExpressions_DEPENDENCIES)
  146564. @rm -f ESIExpressions$(EXEEXT)
  146565. $(CXXLINK) $(ESIExpressions_OBJECTS) $(ESIExpressions_LDADD) $(LIBS)
  146566. @@ -468,7 +490,7 @@
  146567. .c.o:
  146568. @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
  146569. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
  146570. -@am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Po
  146571. +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
  146572. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  146573. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  146574. @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $<
  146575. @@ -476,7 +498,7 @@
  146576. .c.obj:
  146577. @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
  146578. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
  146579. -@am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Po
  146580. +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
  146581. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  146582. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  146583. @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  146584. @@ -484,7 +506,7 @@
  146585. .c.lo:
  146586. @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
  146587. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
  146588. -@am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo
  146589. +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
  146590. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  146591. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  146592. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  146593. @@ -492,7 +514,7 @@
  146594. .cc.o:
  146595. @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
  146596. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
  146597. -@am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po
  146598. +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
  146599. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  146600. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  146601. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
  146602. @@ -500,7 +522,7 @@
  146603. .cc.obj:
  146604. @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
  146605. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
  146606. -@am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po
  146607. +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
  146608. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  146609. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  146610. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  146611. @@ -508,7 +530,7 @@
  146612. .cc.lo:
  146613. @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
  146614. @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
  146615. -@am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo
  146616. +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
  146617. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  146618. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  146619. @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
  146620. @@ -524,14 +546,14 @@
  146621. unique=`for i in $$list; do \
  146622. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  146623. done | \
  146624. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  146625. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  146626. END { if (nonempty) { for (i in files) print i; }; }'`; \
  146627. mkid -fID $$unique
  146628. tags: TAGS
  146629. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  146630. $(TAGS_FILES) $(LISP)
  146631. - tags=; \
  146632. + set x; \
  146633. here=`pwd`; \
  146634. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  146635. unique=`for i in $$list; do \
  146636. @@ -539,37 +561,43 @@
  146637. done | \
  146638. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  146639. END { if (nonempty) { for (i in files) print i; }; }'`; \
  146640. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  146641. + shift; \
  146642. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  146643. test -n "$$unique" || unique=$$empty_fix; \
  146644. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  146645. - $$tags $$unique; \
  146646. + if test $$# -gt 0; then \
  146647. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  146648. + "$$@" $$unique; \
  146649. + else \
  146650. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  146651. + $$unique; \
  146652. + fi; \
  146653. fi
  146654. ctags: CTAGS
  146655. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  146656. $(TAGS_FILES) $(LISP)
  146657. - tags=; \
  146658. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  146659. unique=`for i in $$list; do \
  146660. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  146661. done | \
  146662. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  146663. END { if (nonempty) { for (i in files) print i; }; }'`; \
  146664. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  146665. + test -z "$(CTAGS_ARGS)$$unique" \
  146666. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  146667. - $$tags $$unique
  146668. + $$unique
  146669. GTAGS:
  146670. here=`$(am__cd) $(top_builddir) && pwd` \
  146671. - && cd $(top_srcdir) \
  146672. - && gtags -i $(GTAGS_ARGS) $$here
  146673. + && $(am__cd) $(top_srcdir) \
  146674. + && gtags -i $(GTAGS_ARGS) "$$here"
  146675. distclean-tags:
  146676. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  146677. check-TESTS: $(TESTS)
  146678. - @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
  146679. + @failed=0; all=0; xfail=0; xpass=0; skip=0; \
  146680. srcdir=$(srcdir); export srcdir; \
  146681. list=' $(TESTS) '; \
  146682. + $(am__tty_colors); \
  146683. if test -n "$$list"; then \
  146684. for tst in $$list; do \
  146685. if test -f ./$$tst; then dir=./; \
  146686. @@ -578,49 +606,63 @@
  146687. if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
  146688. all=`expr $$all + 1`; \
  146689. case " $(XFAIL_TESTS) " in \
  146690. - *$$ws$$tst$$ws*) \
  146691. + *[\ \ ]$$tst[\ \ ]*) \
  146692. xpass=`expr $$xpass + 1`; \
  146693. failed=`expr $$failed + 1`; \
  146694. - echo "XPASS: $$tst"; \
  146695. + col=$$red; res=XPASS; \
  146696. ;; \
  146697. *) \
  146698. - echo "PASS: $$tst"; \
  146699. + col=$$grn; res=PASS; \
  146700. ;; \
  146701. esac; \
  146702. elif test $$? -ne 77; then \
  146703. all=`expr $$all + 1`; \
  146704. case " $(XFAIL_TESTS) " in \
  146705. - *$$ws$$tst$$ws*) \
  146706. + *[\ \ ]$$tst[\ \ ]*) \
  146707. xfail=`expr $$xfail + 1`; \
  146708. - echo "XFAIL: $$tst"; \
  146709. + col=$$lgn; res=XFAIL; \
  146710. ;; \
  146711. *) \
  146712. failed=`expr $$failed + 1`; \
  146713. - echo "FAIL: $$tst"; \
  146714. + col=$$red; res=FAIL; \
  146715. ;; \
  146716. esac; \
  146717. else \
  146718. skip=`expr $$skip + 1`; \
  146719. - echo "SKIP: $$tst"; \
  146720. + col=$$blu; res=SKIP; \
  146721. fi; \
  146722. + echo "$${col}$$res$${std}: $$tst"; \
  146723. done; \
  146724. + if test "$$all" -eq 1; then \
  146725. + tests="test"; \
  146726. + All=""; \
  146727. + else \
  146728. + tests="tests"; \
  146729. + All="All "; \
  146730. + fi; \
  146731. if test "$$failed" -eq 0; then \
  146732. if test "$$xfail" -eq 0; then \
  146733. - banner="All $$all tests passed"; \
  146734. + banner="$$All$$all $$tests passed"; \
  146735. else \
  146736. - banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
  146737. + if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
  146738. + banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
  146739. fi; \
  146740. else \
  146741. if test "$$xpass" -eq 0; then \
  146742. - banner="$$failed of $$all tests failed"; \
  146743. + banner="$$failed of $$all $$tests failed"; \
  146744. else \
  146745. - banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
  146746. + if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
  146747. + banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
  146748. fi; \
  146749. fi; \
  146750. dashes="$$banner"; \
  146751. skipped=""; \
  146752. if test "$$skip" -ne 0; then \
  146753. - skipped="($$skip tests were not run)"; \
  146754. + if test "$$skip" -eq 1; then \
  146755. + skipped="($$skip test was not run)"; \
  146756. + else \
  146757. + skipped="($$skip tests were not run)"; \
  146758. + fi; \
  146759. test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
  146760. dashes="$$skipped"; \
  146761. fi; \
  146762. @@ -631,11 +673,15 @@
  146763. dashes="$$report"; \
  146764. fi; \
  146765. dashes=`echo "$$dashes" | sed s/./=/g`; \
  146766. - echo "$$dashes"; \
  146767. + if test "$$failed" -eq 0; then \
  146768. + echo "$$grn$$dashes"; \
  146769. + else \
  146770. + echo "$$red$$dashes"; \
  146771. + fi; \
  146772. echo "$$banner"; \
  146773. test -z "$$skipped" || echo "$$skipped"; \
  146774. test -z "$$report" || echo "$$report"; \
  146775. - echo "$$dashes"; \
  146776. + echo "$$dashes$$std"; \
  146777. test "$$failed" -eq 0; \
  146778. else :; fi
  146779. @@ -655,13 +701,17 @@
  146780. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  146781. if test -d $$d/$$file; then \
  146782. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  146783. + if test -d "$(distdir)/$$file"; then \
  146784. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  146785. + fi; \
  146786. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  146787. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  146788. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  146789. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  146790. fi; \
  146791. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  146792. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  146793. else \
  146794. - test -f $(distdir)/$$file \
  146795. - || cp -p $$d/$$file $(distdir)/$$file \
  146796. + test -f "$(distdir)/$$file" \
  146797. + || cp -p $$d/$$file "$(distdir)/$$file" \
  146798. || exit 1; \
  146799. fi; \
  146800. done
  146801. @@ -691,6 +741,7 @@
  146802. distclean-generic:
  146803. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  146804. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  146805. maintainer-clean-generic:
  146806. @echo "This command is intended for maintainers to use"
  146807. @@ -712,6 +763,8 @@
  146808. html: html-am
  146809. +html-am:
  146810. +
  146811. info: info-am
  146812. info-am:
  146813. @@ -720,18 +773,28 @@
  146814. install-dvi: install-dvi-am
  146815. +install-dvi-am:
  146816. +
  146817. install-exec-am:
  146818. install-html: install-html-am
  146819. +install-html-am:
  146820. +
  146821. install-info: install-info-am
  146822. +install-info-am:
  146823. +
  146824. install-man:
  146825. install-pdf: install-pdf-am
  146826. +install-pdf-am:
  146827. +
  146828. install-ps: install-ps-am
  146829. +install-ps-am:
  146830. +
  146831. installcheck-am:
  146832. maintainer-clean: maintainer-clean-am
  146833. @@ -754,7 +817,7 @@
  146834. uninstall-am:
  146835. -.MAKE: install-am install-strip
  146836. +.MAKE: check-am install-am install-strip
  146837. .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
  146838. clean-checkPROGRAMS clean-generic clean-libtool ctags \
  146839. @@ -770,6 +833,7 @@
  146840. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  146841. tags uninstall uninstall-am
  146842. +
  146843. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  146844. # Otherwise a system limit (for SysV at least) may be exceeded.
  146845. .NOEXPORT:
  146846. diff -Nur squid-3.0.STABLE20.orig/tools/Makefile.in squid-3.0.STABLE20/tools/Makefile.in
  146847. --- squid-3.0.STABLE20.orig/tools/Makefile.in 2009-10-29 11:05:48.000000000 +0100
  146848. +++ squid-3.0.STABLE20/tools/Makefile.in 2010-02-19 00:39:25.468852897 +0100
  146849. @@ -1,8 +1,9 @@
  146850. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  146851. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  146852. # @configure_input@
  146853. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  146854. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  146855. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  146856. +# Inc.
  146857. # This Makefile.in is free software; the Free Software Foundation
  146858. # gives unlimited permission to copy and/or distribute it,
  146859. # with or without modifications, as long as this notice is preserved.
  146860. @@ -24,8 +25,9 @@
  146861. VPATH = @srcdir@
  146862. pkgdatadir = $(datadir)/@PACKAGE@
  146863. -pkglibdir = $(libdir)/@PACKAGE@
  146864. pkgincludedir = $(includedir)/@PACKAGE@
  146865. +pkglibdir = $(libdir)/@PACKAGE@
  146866. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  146867. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  146868. install_sh_DATA = $(install_sh) -c -m 644
  146869. install_sh_PROGRAM = $(install_sh) -c
  146870. @@ -54,9 +56,8 @@
  146871. mkinstalldirs = $(install_sh) -d
  146872. CONFIG_HEADER = $(top_builddir)/include/autoconf.h
  146873. CONFIG_CLEAN_FILES =
  146874. +CONFIG_CLEAN_VPATH_FILES =
  146875. am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)"
  146876. -binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  146877. -libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  146878. PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
  146879. am_cachemgr__CGIEXT__OBJECTS = cachemgr__CGIEXT_-cachemgr.$(OBJEXT)
  146880. cachemgr__CGIEXT__OBJECTS = $(am_cachemgr__CGIEXT__OBJECTS)
  146881. @@ -74,6 +75,7 @@
  146882. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  146883. depcomp = $(SHELL) $(top_srcdir)/cfgaux/depcomp
  146884. am__depfiles_maybe = depfiles
  146885. +am__mv = mv -f
  146886. CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  146887. $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
  146888. LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  146889. @@ -94,11 +96,41 @@
  146890. ps-recursive uninstall-recursive
  146891. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  146892. distclean-recursive maintainer-clean-recursive
  146893. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  146894. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  146895. + distdir
  146896. ETAGS = etags
  146897. CTAGS = ctags
  146898. +am__tty_colors = \
  146899. +red=; grn=; lgn=; blu=; std=
  146900. am__EXEEXT_1 =
  146901. DIST_SUBDIRS = $(SUBDIRS)
  146902. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  146903. +am__relativize = \
  146904. + dir0=`pwd`; \
  146905. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  146906. + sed_rest='s,^[^/]*/*,,'; \
  146907. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  146908. + sed_butlast='s,/*[^/]*$$,,'; \
  146909. + while test -n "$$dir1"; do \
  146910. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  146911. + if test "$$first" != "."; then \
  146912. + if test "$$first" = ".."; then \
  146913. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  146914. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  146915. + else \
  146916. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  146917. + if test "$$first2" = "$$first"; then \
  146918. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  146919. + else \
  146920. + dir2="../$$dir2"; \
  146921. + fi; \
  146922. + dir0="$$dir0"/"$$first"; \
  146923. + fi; \
  146924. + fi; \
  146925. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  146926. + done; \
  146927. + reldir="$$dir2"
  146928. ACLOCAL = @ACLOCAL@
  146929. ALLOCA = @ALLOCA@
  146930. AMTAR = @AMTAR@
  146931. @@ -136,7 +168,7 @@
  146932. DISK_LINKOBJS = @DISK_LINKOBJS@
  146933. DISK_PROGRAMS = @DISK_PROGRAMS@
  146934. DSYMUTIL = @DSYMUTIL@
  146935. -ECHO = @ECHO@
  146936. +DUMPBIN = @DUMPBIN@
  146937. ECHO_C = @ECHO_C@
  146938. ECHO_N = @ECHO_N@
  146939. ECHO_T = @ECHO_T@
  146940. @@ -146,10 +178,10 @@
  146941. ERR_LANGUAGES = @ERR_LANGUAGES@
  146942. EXEEXT = @EXEEXT@
  146943. EXTERNAL_ACL_HELPERS = @EXTERNAL_ACL_HELPERS@
  146944. -F77 = @F77@
  146945. FALSE = @FALSE@
  146946. -FFLAGS = @FFLAGS@
  146947. +FGREP = @FGREP@
  146948. GREP = @GREP@
  146949. +HOSTCXX = @HOSTCXX@
  146950. ICAP_LIBS = @ICAP_LIBS@
  146951. INSTALL = @INSTALL@
  146952. INSTALL_DATA = @INSTALL_DATA@
  146953. @@ -158,8 +190,12 @@
  146954. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  146955. KRB5INCS = @KRB5INCS@
  146956. KRB5LIBS = @KRB5LIBS@
  146957. +LD = @LD@
  146958. LDFLAGS = @LDFLAGS@
  146959. LIBADD_DL = @LIBADD_DL@
  146960. +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
  146961. +LIBADD_DLOPEN = @LIBADD_DLOPEN@
  146962. +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
  146963. LIBOBJS = @LIBOBJS@
  146964. LIBREGEX = @LIBREGEX@
  146965. LIBS = @LIBS@
  146966. @@ -168,9 +204,12 @@
  146967. LIB_DB = @LIB_DB@
  146968. LIB_LBER = @LIB_LBER@
  146969. LIB_LDAP = @LIB_LDAP@
  146970. +LIPO = @LIPO@
  146971. LN = @LN@
  146972. LN_S = @LN_S@
  146973. LTLIBOBJS = @LTLIBOBJS@
  146974. +LT_DLLOADERS = @LT_DLLOADERS@
  146975. +LT_DLPREOPEN = @LT_DLPREOPEN@
  146976. MAINT = @MAINT@
  146977. MAKEINFO = @MAKEINFO@
  146978. MINGW_LIBS = @MINGW_LIBS@
  146979. @@ -178,15 +217,20 @@
  146980. MKDIR_P = @MKDIR_P@
  146981. MV = @MV@
  146982. NEGOTIATE_AUTH_HELPERS = @NEGOTIATE_AUTH_HELPERS@
  146983. +NM = @NM@
  146984. NMEDIT = @NMEDIT@
  146985. NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
  146986. +OBJDUMP = @OBJDUMP@
  146987. OBJEXT = @OBJEXT@
  146988. OPT_DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
  146989. +OTOOL = @OTOOL@
  146990. +OTOOL64 = @OTOOL64@
  146991. PACKAGE = @PACKAGE@
  146992. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  146993. PACKAGE_NAME = @PACKAGE_NAME@
  146994. PACKAGE_STRING = @PACKAGE_STRING@
  146995. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  146996. +PACKAGE_URL = @PACKAGE_URL@
  146997. PACKAGE_VERSION = @PACKAGE_VERSION@
  146998. PATH_SEPARATOR = @PATH_SEPARATOR@
  146999. PERL = @PERL@
  147000. @@ -223,7 +267,7 @@
  147001. abs_top_srcdir = @abs_top_srcdir@
  147002. ac_ct_CC = @ac_ct_CC@
  147003. ac_ct_CXX = @ac_ct_CXX@
  147004. -ac_ct_F77 = @ac_ct_F77@
  147005. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  147006. ac_krb5_config = @ac_krb5_config@
  147007. am__include = @am__include@
  147008. am__leading_dot = @am__leading_dot@
  147009. @@ -255,6 +299,7 @@
  147010. libexecdir = @libexecdir@
  147011. localedir = @localedir@
  147012. localstatedir = @localstatedir@
  147013. +lt_ECHO = @lt_ECHO@
  147014. makesnmplib = @makesnmplib@
  147015. mandir = @mandir@
  147016. mkdir_p = @mkdir_p@
  147017. @@ -300,14 +345,14 @@
  147018. @for dep in $?; do \
  147019. case '$(am__configure_deps)' in \
  147020. *$$dep*) \
  147021. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  147022. - && exit 0; \
  147023. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  147024. + && { if test -f $@; then exit 0; else break; fi; }; \
  147025. exit 1;; \
  147026. esac; \
  147027. done; \
  147028. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tools/Makefile'; \
  147029. - cd $(top_srcdir) && \
  147030. - $(AUTOMAKE) --foreign tools/Makefile
  147031. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tools/Makefile'; \
  147032. + $(am__cd) $(top_srcdir) && \
  147033. + $(AUTOMAKE) --foreign tools/Makefile
  147034. .PRECIOUS: Makefile
  147035. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  147036. @case '$?' in \
  147037. @@ -325,69 +370,102 @@
  147038. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  147039. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  147040. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  147041. +$(am__aclocal_m4_deps):
  147042. install-binPROGRAMS: $(bin_PROGRAMS)
  147043. @$(NORMAL_INSTALL)
  147044. test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  147045. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  147046. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  147047. - if test -f $$p \
  147048. - || test -f $$p1 \
  147049. - ; then \
  147050. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  147051. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  147052. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
  147053. - else :; fi; \
  147054. - done
  147055. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  147056. + for p in $$list; do echo "$$p $$p"; done | \
  147057. + sed 's/$(EXEEXT)$$//' | \
  147058. + while read p p1; do if test -f $$p || test -f $$p1; \
  147059. + then echo "$$p"; echo "$$p"; else :; fi; \
  147060. + done | \
  147061. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  147062. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  147063. + sed 'N;N;N;s,\n, ,g' | \
  147064. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  147065. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  147066. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  147067. + else { print "f", $$3 "/" $$4, $$1; } } \
  147068. + END { for (d in files) print "f", d, files[d] }' | \
  147069. + while read type dir files; do \
  147070. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  147071. + test -z "$$files" || { \
  147072. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  147073. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  147074. + } \
  147075. + ; done
  147076. uninstall-binPROGRAMS:
  147077. @$(NORMAL_UNINSTALL)
  147078. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  147079. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  147080. - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
  147081. - rm -f "$(DESTDIR)$(bindir)/$$f"; \
  147082. - done
  147083. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  147084. + files=`for p in $$list; do echo "$$p"; done | \
  147085. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  147086. + -e 's/$$/$(EXEEXT)/' `; \
  147087. + test -n "$$list" || exit 0; \
  147088. + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  147089. + cd "$(DESTDIR)$(bindir)" && rm -f $$files
  147090. clean-binPROGRAMS:
  147091. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  147092. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  147093. - echo " rm -f $$p $$f"; \
  147094. - rm -f $$p $$f ; \
  147095. - done
  147096. + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
  147097. + echo " rm -f" $$list; \
  147098. + rm -f $$list || exit $$?; \
  147099. + test -n "$(EXEEXT)" || exit 0; \
  147100. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  147101. + echo " rm -f" $$list; \
  147102. + rm -f $$list
  147103. clean-checkPROGRAMS:
  147104. - @list='$(check_PROGRAMS)'; for p in $$list; do \
  147105. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  147106. - echo " rm -f $$p $$f"; \
  147107. - rm -f $$p $$f ; \
  147108. - done
  147109. + @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
  147110. + echo " rm -f" $$list; \
  147111. + rm -f $$list || exit $$?; \
  147112. + test -n "$(EXEEXT)" || exit 0; \
  147113. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  147114. + echo " rm -f" $$list; \
  147115. + rm -f $$list
  147116. install-libexecPROGRAMS: $(libexec_PROGRAMS)
  147117. @$(NORMAL_INSTALL)
  147118. test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
  147119. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  147120. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  147121. - if test -f $$p \
  147122. - || test -f $$p1 \
  147123. - ; then \
  147124. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  147125. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(libexecdir)/$$f'"; \
  147126. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(libexecdir)/$$f" || exit 1; \
  147127. - else :; fi; \
  147128. - done
  147129. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  147130. + for p in $$list; do echo "$$p $$p"; done | \
  147131. + sed 's/$(EXEEXT)$$//' | \
  147132. + while read p p1; do if test -f $$p || test -f $$p1; \
  147133. + then echo "$$p"; echo "$$p"; else :; fi; \
  147134. + done | \
  147135. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  147136. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  147137. + sed 'N;N;N;s,\n, ,g' | \
  147138. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  147139. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  147140. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  147141. + else { print "f", $$3 "/" $$4, $$1; } } \
  147142. + END { for (d in files) print "f", d, files[d] }' | \
  147143. + while read type dir files; do \
  147144. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  147145. + test -z "$$files" || { \
  147146. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
  147147. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
  147148. + } \
  147149. + ; done
  147150. uninstall-libexecPROGRAMS:
  147151. @$(NORMAL_UNINSTALL)
  147152. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  147153. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  147154. - echo " rm -f '$(DESTDIR)$(libexecdir)/$$f'"; \
  147155. - rm -f "$(DESTDIR)$(libexecdir)/$$f"; \
  147156. - done
  147157. + @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
  147158. + files=`for p in $$list; do echo "$$p"; done | \
  147159. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  147160. + -e 's/$$/$(EXEEXT)/' `; \
  147161. + test -n "$$list" || exit 0; \
  147162. + echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
  147163. + cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
  147164. clean-libexecPROGRAMS:
  147165. - @list='$(libexec_PROGRAMS)'; for p in $$list; do \
  147166. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  147167. - echo " rm -f $$p $$f"; \
  147168. - rm -f $$p $$f ; \
  147169. - done
  147170. + @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
  147171. + echo " rm -f" $$list; \
  147172. + rm -f $$list || exit $$?; \
  147173. + test -n "$(EXEEXT)" || exit 0; \
  147174. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  147175. + echo " rm -f" $$list; \
  147176. + rm -f $$list
  147177. cachemgr$(CGIEXT)$(EXEEXT): $(cachemgr__CGIEXT__OBJECTS) $(cachemgr__CGIEXT__DEPENDENCIES)
  147178. @rm -f cachemgr$(CGIEXT)$(EXEEXT)
  147179. $(cachemgr__CGIEXT__LINK) $(cachemgr__CGIEXT__OBJECTS) $(cachemgr__CGIEXT__LDADD) $(LIBS)
  147180. @@ -407,7 +485,7 @@
  147181. .cc.o:
  147182. @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
  147183. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
  147184. -@am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po
  147185. +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
  147186. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  147187. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  147188. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
  147189. @@ -415,7 +493,7 @@
  147190. .cc.obj:
  147191. @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
  147192. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
  147193. -@am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Po
  147194. +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
  147195. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  147196. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  147197. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  147198. @@ -423,21 +501,21 @@
  147199. .cc.lo:
  147200. @am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
  147201. @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
  147202. -@am__fastdepCXX_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo
  147203. +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
  147204. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  147205. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  147206. @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
  147207. cachemgr__CGIEXT_-cachemgr.o: cachemgr.cc
  147208. @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cachemgr__CGIEXT__CXXFLAGS) $(CXXFLAGS) -MT cachemgr__CGIEXT_-cachemgr.o -MD -MP -MF $(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Tpo -c -o cachemgr__CGIEXT_-cachemgr.o `test -f 'cachemgr.cc' || echo '$(srcdir)/'`cachemgr.cc
  147209. -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Tpo $(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Po
  147210. +@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Tpo $(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Po
  147211. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='cachemgr.cc' object='cachemgr__CGIEXT_-cachemgr.o' libtool=no @AMDEPBACKSLASH@
  147212. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  147213. @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cachemgr__CGIEXT__CXXFLAGS) $(CXXFLAGS) -c -o cachemgr__CGIEXT_-cachemgr.o `test -f 'cachemgr.cc' || echo '$(srcdir)/'`cachemgr.cc
  147214. cachemgr__CGIEXT_-cachemgr.obj: cachemgr.cc
  147215. @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cachemgr__CGIEXT__CXXFLAGS) $(CXXFLAGS) -MT cachemgr__CGIEXT_-cachemgr.obj -MD -MP -MF $(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Tpo -c -o cachemgr__CGIEXT_-cachemgr.obj `if test -f 'cachemgr.cc'; then $(CYGPATH_W) 'cachemgr.cc'; else $(CYGPATH_W) '$(srcdir)/cachemgr.cc'; fi`
  147216. -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Tpo $(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Po
  147217. +@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Tpo $(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Po
  147218. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='cachemgr.cc' object='cachemgr__CGIEXT_-cachemgr.obj' libtool=no @AMDEPBACKSLASH@
  147219. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  147220. @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cachemgr__CGIEXT__CXXFLAGS) $(CXXFLAGS) -c -o cachemgr__CGIEXT_-cachemgr.obj `if test -f 'cachemgr.cc'; then $(CYGPATH_W) 'cachemgr.cc'; else $(CYGPATH_W) '$(srcdir)/cachemgr.cc'; fi`
  147221. @@ -455,7 +533,7 @@
  147222. # (which will cause the Makefiles to be regenerated when you run `make');
  147223. # (2) otherwise, pass the desired values on the `make' command line.
  147224. $(RECURSIVE_TARGETS):
  147225. - @failcom='exit 1'; \
  147226. + @fail= failcom='exit 1'; \
  147227. for f in x $$MAKEFLAGS; do \
  147228. case $$f in \
  147229. *=* | --[!k]*);; \
  147230. @@ -472,7 +550,7 @@
  147231. else \
  147232. local_target="$$target"; \
  147233. fi; \
  147234. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  147235. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  147236. || eval $$failcom; \
  147237. done; \
  147238. if test "$$dot_seen" = "no"; then \
  147239. @@ -480,7 +558,7 @@
  147240. fi; test -z "$$fail"
  147241. $(RECURSIVE_CLEAN_TARGETS):
  147242. - @failcom='exit 1'; \
  147243. + @fail= failcom='exit 1'; \
  147244. for f in x $$MAKEFLAGS; do \
  147245. case $$f in \
  147246. *=* | --[!k]*);; \
  147247. @@ -506,16 +584,16 @@
  147248. else \
  147249. local_target="$$target"; \
  147250. fi; \
  147251. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  147252. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  147253. || eval $$failcom; \
  147254. done && test -z "$$fail"
  147255. tags-recursive:
  147256. list='$(SUBDIRS)'; for subdir in $$list; do \
  147257. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  147258. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  147259. done
  147260. ctags-recursive:
  147261. list='$(SUBDIRS)'; for subdir in $$list; do \
  147262. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  147263. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  147264. done
  147265. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  147266. @@ -523,14 +601,14 @@
  147267. unique=`for i in $$list; do \
  147268. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  147269. done | \
  147270. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  147271. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  147272. END { if (nonempty) { for (i in files) print i; }; }'`; \
  147273. mkid -fID $$unique
  147274. tags: TAGS
  147275. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  147276. $(TAGS_FILES) $(LISP)
  147277. - tags=; \
  147278. + set x; \
  147279. here=`pwd`; \
  147280. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  147281. include_option=--etags-include; \
  147282. @@ -542,7 +620,7 @@
  147283. list='$(SUBDIRS)'; for subdir in $$list; do \
  147284. if test "$$subdir" = .; then :; else \
  147285. test ! -f $$subdir/TAGS || \
  147286. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  147287. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  147288. fi; \
  147289. done; \
  147290. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  147291. @@ -551,37 +629,43 @@
  147292. done | \
  147293. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  147294. END { if (nonempty) { for (i in files) print i; }; }'`; \
  147295. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  147296. + shift; \
  147297. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  147298. test -n "$$unique" || unique=$$empty_fix; \
  147299. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  147300. - $$tags $$unique; \
  147301. + if test $$# -gt 0; then \
  147302. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  147303. + "$$@" $$unique; \
  147304. + else \
  147305. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  147306. + $$unique; \
  147307. + fi; \
  147308. fi
  147309. ctags: CTAGS
  147310. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  147311. $(TAGS_FILES) $(LISP)
  147312. - tags=; \
  147313. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  147314. unique=`for i in $$list; do \
  147315. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  147316. done | \
  147317. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  147318. END { if (nonempty) { for (i in files) print i; }; }'`; \
  147319. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  147320. + test -z "$(CTAGS_ARGS)$$unique" \
  147321. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  147322. - $$tags $$unique
  147323. + $$unique
  147324. GTAGS:
  147325. here=`$(am__cd) $(top_builddir) && pwd` \
  147326. - && cd $(top_srcdir) \
  147327. - && gtags -i $(GTAGS_ARGS) $$here
  147328. + && $(am__cd) $(top_srcdir) \
  147329. + && gtags -i $(GTAGS_ARGS) "$$here"
  147330. distclean-tags:
  147331. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  147332. check-TESTS: $(TESTS)
  147333. - @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
  147334. + @failed=0; all=0; xfail=0; xpass=0; skip=0; \
  147335. srcdir=$(srcdir); export srcdir; \
  147336. list=' $(TESTS) '; \
  147337. + $(am__tty_colors); \
  147338. if test -n "$$list"; then \
  147339. for tst in $$list; do \
  147340. if test -f ./$$tst; then dir=./; \
  147341. @@ -590,49 +674,63 @@
  147342. if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
  147343. all=`expr $$all + 1`; \
  147344. case " $(XFAIL_TESTS) " in \
  147345. - *$$ws$$tst$$ws*) \
  147346. + *[\ \ ]$$tst[\ \ ]*) \
  147347. xpass=`expr $$xpass + 1`; \
  147348. failed=`expr $$failed + 1`; \
  147349. - echo "XPASS: $$tst"; \
  147350. + col=$$red; res=XPASS; \
  147351. ;; \
  147352. *) \
  147353. - echo "PASS: $$tst"; \
  147354. + col=$$grn; res=PASS; \
  147355. ;; \
  147356. esac; \
  147357. elif test $$? -ne 77; then \
  147358. all=`expr $$all + 1`; \
  147359. case " $(XFAIL_TESTS) " in \
  147360. - *$$ws$$tst$$ws*) \
  147361. + *[\ \ ]$$tst[\ \ ]*) \
  147362. xfail=`expr $$xfail + 1`; \
  147363. - echo "XFAIL: $$tst"; \
  147364. + col=$$lgn; res=XFAIL; \
  147365. ;; \
  147366. *) \
  147367. failed=`expr $$failed + 1`; \
  147368. - echo "FAIL: $$tst"; \
  147369. + col=$$red; res=FAIL; \
  147370. ;; \
  147371. esac; \
  147372. else \
  147373. skip=`expr $$skip + 1`; \
  147374. - echo "SKIP: $$tst"; \
  147375. + col=$$blu; res=SKIP; \
  147376. fi; \
  147377. + echo "$${col}$$res$${std}: $$tst"; \
  147378. done; \
  147379. + if test "$$all" -eq 1; then \
  147380. + tests="test"; \
  147381. + All=""; \
  147382. + else \
  147383. + tests="tests"; \
  147384. + All="All "; \
  147385. + fi; \
  147386. if test "$$failed" -eq 0; then \
  147387. if test "$$xfail" -eq 0; then \
  147388. - banner="All $$all tests passed"; \
  147389. + banner="$$All$$all $$tests passed"; \
  147390. else \
  147391. - banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
  147392. + if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
  147393. + banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
  147394. fi; \
  147395. else \
  147396. if test "$$xpass" -eq 0; then \
  147397. - banner="$$failed of $$all tests failed"; \
  147398. + banner="$$failed of $$all $$tests failed"; \
  147399. else \
  147400. - banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
  147401. + if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
  147402. + banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
  147403. fi; \
  147404. fi; \
  147405. dashes="$$banner"; \
  147406. skipped=""; \
  147407. if test "$$skip" -ne 0; then \
  147408. - skipped="($$skip tests were not run)"; \
  147409. + if test "$$skip" -eq 1; then \
  147410. + skipped="($$skip test was not run)"; \
  147411. + else \
  147412. + skipped="($$skip tests were not run)"; \
  147413. + fi; \
  147414. test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
  147415. dashes="$$skipped"; \
  147416. fi; \
  147417. @@ -643,11 +741,15 @@
  147418. dashes="$$report"; \
  147419. fi; \
  147420. dashes=`echo "$$dashes" | sed s/./=/g`; \
  147421. - echo "$$dashes"; \
  147422. + if test "$$failed" -eq 0; then \
  147423. + echo "$$grn$$dashes"; \
  147424. + else \
  147425. + echo "$$red$$dashes"; \
  147426. + fi; \
  147427. echo "$$banner"; \
  147428. test -z "$$skipped" || echo "$$skipped"; \
  147429. test -z "$$report" || echo "$$report"; \
  147430. - echo "$$dashes"; \
  147431. + echo "$$dashes$$std"; \
  147432. test "$$failed" -eq 0; \
  147433. else :; fi
  147434. @@ -667,29 +769,44 @@
  147435. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  147436. if test -d $$d/$$file; then \
  147437. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  147438. + if test -d "$(distdir)/$$file"; then \
  147439. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  147440. + fi; \
  147441. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  147442. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  147443. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  147444. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  147445. fi; \
  147446. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  147447. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  147448. else \
  147449. - test -f $(distdir)/$$file \
  147450. - || cp -p $$d/$$file $(distdir)/$$file \
  147451. + test -f "$(distdir)/$$file" \
  147452. + || cp -p $$d/$$file "$(distdir)/$$file" \
  147453. || exit 1; \
  147454. fi; \
  147455. done
  147456. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  147457. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  147458. if test "$$subdir" = .; then :; else \
  147459. test -d "$(distdir)/$$subdir" \
  147460. || $(MKDIR_P) "$(distdir)/$$subdir" \
  147461. || exit 1; \
  147462. - distdir=`$(am__cd) $(distdir) && pwd`; \
  147463. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  147464. - (cd $$subdir && \
  147465. + fi; \
  147466. + done
  147467. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  147468. + if test "$$subdir" = .; then :; else \
  147469. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  147470. + $(am__relativize); \
  147471. + new_distdir=$$reldir; \
  147472. + dir1=$$subdir; dir2="$(top_distdir)"; \
  147473. + $(am__relativize); \
  147474. + new_top_distdir=$$reldir; \
  147475. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  147476. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  147477. + ($(am__cd) $$subdir && \
  147478. $(MAKE) $(AM_MAKEFLAGS) \
  147479. - top_distdir="$$top_distdir" \
  147480. - distdir="$$distdir/$$subdir" \
  147481. + top_distdir="$$new_top_distdir" \
  147482. + distdir="$$new_distdir" \
  147483. am__remove_distdir=: \
  147484. am__skip_length_check=: \
  147485. + am__skip_mode_fix=: \
  147486. distdir) \
  147487. || exit 1; \
  147488. fi; \
  147489. @@ -724,6 +841,7 @@
  147490. distclean-generic:
  147491. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  147492. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  147493. -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
  147494. maintainer-clean-generic:
  147495. @@ -746,6 +864,8 @@
  147496. html: html-recursive
  147497. +html-am:
  147498. +
  147499. info: info-recursive
  147500. info-am:
  147501. @@ -754,18 +874,28 @@
  147502. install-dvi: install-dvi-recursive
  147503. +install-dvi-am:
  147504. +
  147505. install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
  147506. install-html: install-html-recursive
  147507. +install-html-am:
  147508. +
  147509. install-info: install-info-recursive
  147510. +install-info-am:
  147511. +
  147512. install-man:
  147513. install-pdf: install-pdf-recursive
  147514. +install-pdf-am:
  147515. +
  147516. install-ps: install-ps-recursive
  147517. +install-ps-am:
  147518. +
  147519. installcheck-am:
  147520. maintainer-clean: maintainer-clean-recursive
  147521. @@ -789,8 +919,8 @@
  147522. uninstall-am: uninstall-binPROGRAMS uninstall-libexecPROGRAMS \
  147523. uninstall-local
  147524. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  147525. - install-strip
  147526. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \
  147527. + ctags-recursive install-am install-strip tags-recursive
  147528. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  147529. all all-am check check-TESTS check-am clean clean-binPROGRAMS \
  147530. @@ -824,6 +954,7 @@
  147531. fi
  147532. uninstall-local:
  147533. +
  147534. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  147535. # Otherwise a system limit (for SysV at least) may be exceeded.
  147536. .NOEXPORT: