configure 370 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.65 for libenet 1-8-2008.
  4. #
  5. #
  6. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  7. # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  8. # Inc.
  9. #
  10. #
  11. # This configure script is free software; the Free Software Foundation
  12. # gives unlimited permission to copy, distribute and modify it.
  13. ## -------------------- ##
  14. ## M4sh Initialization. ##
  15. ## -------------------- ##
  16. # Be more Bourne compatible
  17. DUALCASE=1; export DUALCASE # for MKS sh
  18. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  19. emulate sh
  20. NULLCMD=:
  21. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  22. # is contrary to our usage. Disable this feature.
  23. alias -g '${1+"$@"}'='"$@"'
  24. setopt NO_GLOB_SUBST
  25. else
  26. case `(set -o) 2>/dev/null` in #(
  27. *posix*) :
  28. set -o posix ;; #(
  29. *) :
  30. ;;
  31. esac
  32. fi
  33. as_nl='
  34. '
  35. export as_nl
  36. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  37. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  38. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  39. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  40. # Prefer a ksh shell builtin over an external printf program on Solaris,
  41. # but without wasting forks for bash or zsh.
  42. if test -z "$BASH_VERSION$ZSH_VERSION" \
  43. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  44. as_echo='print -r --'
  45. as_echo_n='print -rn --'
  46. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  47. as_echo='printf %s\n'
  48. as_echo_n='printf %s'
  49. else
  50. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  51. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  52. as_echo_n='/usr/ucb/echo -n'
  53. else
  54. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  55. as_echo_n_body='eval
  56. arg=$1;
  57. case $arg in #(
  58. *"$as_nl"*)
  59. expr "X$arg" : "X\\(.*\\)$as_nl";
  60. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  61. esac;
  62. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  63. '
  64. export as_echo_n_body
  65. as_echo_n='sh -c $as_echo_n_body as_echo'
  66. fi
  67. export as_echo_body
  68. as_echo='sh -c $as_echo_body as_echo'
  69. fi
  70. # The user is always right.
  71. if test "${PATH_SEPARATOR+set}" != set; then
  72. PATH_SEPARATOR=:
  73. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  74. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  75. PATH_SEPARATOR=';'
  76. }
  77. fi
  78. # IFS
  79. # We need space, tab and new line, in precisely that order. Quoting is
  80. # there to prevent editors from complaining about space-tab.
  81. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  82. # splitting by setting IFS to empty value.)
  83. IFS=" "" $as_nl"
  84. # Find who we are. Look in the path if we contain no directory separator.
  85. case $0 in #((
  86. *[\\/]* ) as_myself=$0 ;;
  87. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  88. for as_dir in $PATH
  89. do
  90. IFS=$as_save_IFS
  91. test -z "$as_dir" && as_dir=.
  92. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  93. done
  94. IFS=$as_save_IFS
  95. ;;
  96. esac
  97. # We did not find ourselves, most probably we were run as `sh COMMAND'
  98. # in which case we are not to be found in the path.
  99. if test "x$as_myself" = x; then
  100. as_myself=$0
  101. fi
  102. if test ! -f "$as_myself"; then
  103. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  104. exit 1
  105. fi
  106. # Unset variables that we do not need and which cause bugs (e.g. in
  107. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  108. # suppresses any "Segmentation fault" message there. '((' could
  109. # trigger a bug in pdksh 5.2.14.
  110. for as_var in BASH_ENV ENV MAIL MAILPATH
  111. do eval test x\${$as_var+set} = xset \
  112. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  113. done
  114. PS1='$ '
  115. PS2='> '
  116. PS4='+ '
  117. # NLS nuisances.
  118. LC_ALL=C
  119. export LC_ALL
  120. LANGUAGE=C
  121. export LANGUAGE
  122. # CDPATH.
  123. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  124. if test "x$CONFIG_SHELL" = x; then
  125. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  126. emulate sh
  127. NULLCMD=:
  128. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  129. # is contrary to our usage. Disable this feature.
  130. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  131. setopt NO_GLOB_SUBST
  132. else
  133. case \`(set -o) 2>/dev/null\` in #(
  134. *posix*) :
  135. set -o posix ;; #(
  136. *) :
  137. ;;
  138. esac
  139. fi
  140. "
  141. as_required="as_fn_return () { (exit \$1); }
  142. as_fn_success () { as_fn_return 0; }
  143. as_fn_failure () { as_fn_return 1; }
  144. as_fn_ret_success () { return 0; }
  145. as_fn_ret_failure () { return 1; }
  146. exitcode=0
  147. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  148. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  149. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  150. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  151. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  152. else
  153. exitcode=1; echo positional parameters were not saved.
  154. fi
  155. test x\$exitcode = x0 || exit 1"
  156. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  157. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  158. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  159. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  160. test \$(( 1 + 1 )) = 2 || exit 1"
  161. if (eval "$as_required") 2>/dev/null; then :
  162. as_have_required=yes
  163. else
  164. as_have_required=no
  165. fi
  166. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  167. else
  168. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  169. as_found=false
  170. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  171. do
  172. IFS=$as_save_IFS
  173. test -z "$as_dir" && as_dir=.
  174. as_found=:
  175. case $as_dir in #(
  176. /*)
  177. for as_base in sh bash ksh sh5; do
  178. # Try only shells that exist, to save several forks.
  179. as_shell=$as_dir/$as_base
  180. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  181. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  182. CONFIG_SHELL=$as_shell as_have_required=yes
  183. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  184. break 2
  185. fi
  186. fi
  187. done;;
  188. esac
  189. as_found=false
  190. done
  191. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  192. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  193. CONFIG_SHELL=$SHELL as_have_required=yes
  194. fi; }
  195. IFS=$as_save_IFS
  196. if test "x$CONFIG_SHELL" != x; then :
  197. # We cannot yet assume a decent shell, so we have to provide a
  198. # neutralization value for shells without unset; and this also
  199. # works around shells that cannot unset nonexistent variables.
  200. BASH_ENV=/dev/null
  201. ENV=/dev/null
  202. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  203. export CONFIG_SHELL
  204. exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  205. fi
  206. if test x$as_have_required = xno; then :
  207. $as_echo "$0: This script requires a shell more modern than all"
  208. $as_echo "$0: the shells that I found on your system."
  209. if test x${ZSH_VERSION+set} = xset ; then
  210. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  211. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  212. else
  213. $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  214. $0: including any error possibly output before this
  215. $0: message. Then install a modern shell, or manually run
  216. $0: the script under such a shell if you do have one."
  217. fi
  218. exit 1
  219. fi
  220. fi
  221. fi
  222. SHELL=${CONFIG_SHELL-/bin/sh}
  223. export SHELL
  224. # Unset more variables known to interfere with behavior of common tools.
  225. CLICOLOR_FORCE= GREP_OPTIONS=
  226. unset CLICOLOR_FORCE GREP_OPTIONS
  227. ## --------------------- ##
  228. ## M4sh Shell Functions. ##
  229. ## --------------------- ##
  230. # as_fn_unset VAR
  231. # ---------------
  232. # Portably unset VAR.
  233. as_fn_unset ()
  234. {
  235. { eval $1=; unset $1;}
  236. }
  237. as_unset=as_fn_unset
  238. # as_fn_set_status STATUS
  239. # -----------------------
  240. # Set $? to STATUS, without forking.
  241. as_fn_set_status ()
  242. {
  243. return $1
  244. } # as_fn_set_status
  245. # as_fn_exit STATUS
  246. # -----------------
  247. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  248. as_fn_exit ()
  249. {
  250. set +e
  251. as_fn_set_status $1
  252. exit $1
  253. } # as_fn_exit
  254. # as_fn_mkdir_p
  255. # -------------
  256. # Create "$as_dir" as a directory, including parents if necessary.
  257. as_fn_mkdir_p ()
  258. {
  259. case $as_dir in #(
  260. -*) as_dir=./$as_dir;;
  261. esac
  262. test -d "$as_dir" || eval $as_mkdir_p || {
  263. as_dirs=
  264. while :; do
  265. case $as_dir in #(
  266. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  267. *) as_qdir=$as_dir;;
  268. esac
  269. as_dirs="'$as_qdir' $as_dirs"
  270. as_dir=`$as_dirname -- "$as_dir" ||
  271. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  272. X"$as_dir" : 'X\(//\)[^/]' \| \
  273. X"$as_dir" : 'X\(//\)$' \| \
  274. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  275. $as_echo X"$as_dir" |
  276. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  277. s//\1/
  278. q
  279. }
  280. /^X\(\/\/\)[^/].*/{
  281. s//\1/
  282. q
  283. }
  284. /^X\(\/\/\)$/{
  285. s//\1/
  286. q
  287. }
  288. /^X\(\/\).*/{
  289. s//\1/
  290. q
  291. }
  292. s/.*/./; q'`
  293. test -d "$as_dir" && break
  294. done
  295. test -z "$as_dirs" || eval "mkdir $as_dirs"
  296. } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  297. } # as_fn_mkdir_p
  298. # as_fn_append VAR VALUE
  299. # ----------------------
  300. # Append the text in VALUE to the end of the definition contained in VAR. Take
  301. # advantage of any shell optimizations that allow amortized linear growth over
  302. # repeated appends, instead of the typical quadratic growth present in naive
  303. # implementations.
  304. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  305. eval 'as_fn_append ()
  306. {
  307. eval $1+=\$2
  308. }'
  309. else
  310. as_fn_append ()
  311. {
  312. eval $1=\$$1\$2
  313. }
  314. fi # as_fn_append
  315. # as_fn_arith ARG...
  316. # ------------------
  317. # Perform arithmetic evaluation on the ARGs, and store the result in the
  318. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  319. # must be portable across $(()) and expr.
  320. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  321. eval 'as_fn_arith ()
  322. {
  323. as_val=$(( $* ))
  324. }'
  325. else
  326. as_fn_arith ()
  327. {
  328. as_val=`expr "$@" || test $? -eq 1`
  329. }
  330. fi # as_fn_arith
  331. # as_fn_error ERROR [LINENO LOG_FD]
  332. # ---------------------------------
  333. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  334. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  335. # script with status $?, using 1 if that was 0.
  336. as_fn_error ()
  337. {
  338. as_status=$?; test $as_status -eq 0 && as_status=1
  339. if test "$3"; then
  340. as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  341. $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  342. fi
  343. $as_echo "$as_me: error: $1" >&2
  344. as_fn_exit $as_status
  345. } # as_fn_error
  346. if expr a : '\(a\)' >/dev/null 2>&1 &&
  347. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  348. as_expr=expr
  349. else
  350. as_expr=false
  351. fi
  352. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  353. as_basename=basename
  354. else
  355. as_basename=false
  356. fi
  357. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  358. as_dirname=dirname
  359. else
  360. as_dirname=false
  361. fi
  362. as_me=`$as_basename -- "$0" ||
  363. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  364. X"$0" : 'X\(//\)$' \| \
  365. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  366. $as_echo X/"$0" |
  367. sed '/^.*\/\([^/][^/]*\)\/*$/{
  368. s//\1/
  369. q
  370. }
  371. /^X\/\(\/\/\)$/{
  372. s//\1/
  373. q
  374. }
  375. /^X\/\(\/\).*/{
  376. s//\1/
  377. q
  378. }
  379. s/.*/./; q'`
  380. # Avoid depending upon Character Ranges.
  381. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  382. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  383. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  384. as_cr_digits='0123456789'
  385. as_cr_alnum=$as_cr_Letters$as_cr_digits
  386. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  387. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  388. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  389. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  390. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  391. sed -n '
  392. p
  393. /[$]LINENO/=
  394. ' <$as_myself |
  395. sed '
  396. s/[$]LINENO.*/&-/
  397. t lineno
  398. b
  399. :lineno
  400. N
  401. :loop
  402. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  403. t loop
  404. s/-\n.*//
  405. ' >$as_me.lineno &&
  406. chmod +x "$as_me.lineno" ||
  407. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  408. # Don't try to exec as it changes $[0], causing all sort of problems
  409. # (the dirname of $[0] is not the place where we might find the
  410. # original and so on. Autoconf is especially sensitive to this).
  411. . "./$as_me.lineno"
  412. # Exit status is that of the last command.
  413. exit
  414. }
  415. ECHO_C= ECHO_N= ECHO_T=
  416. case `echo -n x` in #(((((
  417. -n*)
  418. case `echo 'xy\c'` in
  419. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  420. xy) ECHO_C='\c';;
  421. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  422. ECHO_T=' ';;
  423. esac;;
  424. *)
  425. ECHO_N='-n';;
  426. esac
  427. rm -f conf$$ conf$$.exe conf$$.file
  428. if test -d conf$$.dir; then
  429. rm -f conf$$.dir/conf$$.file
  430. else
  431. rm -f conf$$.dir
  432. mkdir conf$$.dir 2>/dev/null
  433. fi
  434. if (echo >conf$$.file) 2>/dev/null; then
  435. if ln -s conf$$.file conf$$ 2>/dev/null; then
  436. as_ln_s='ln -s'
  437. # ... but there are two gotchas:
  438. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  439. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  440. # In both cases, we have to default to `cp -p'.
  441. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  442. as_ln_s='cp -p'
  443. elif ln conf$$.file conf$$ 2>/dev/null; then
  444. as_ln_s=ln
  445. else
  446. as_ln_s='cp -p'
  447. fi
  448. else
  449. as_ln_s='cp -p'
  450. fi
  451. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  452. rmdir conf$$.dir 2>/dev/null
  453. if mkdir -p . 2>/dev/null; then
  454. as_mkdir_p='mkdir -p "$as_dir"'
  455. else
  456. test -d ./-p && rmdir ./-p
  457. as_mkdir_p=false
  458. fi
  459. if test -x / >/dev/null 2>&1; then
  460. as_test_x='test -x'
  461. else
  462. if ls -dL / >/dev/null 2>&1; then
  463. as_ls_L_option=L
  464. else
  465. as_ls_L_option=
  466. fi
  467. as_test_x='
  468. eval sh -c '\''
  469. if test -d "$1"; then
  470. test -d "$1/.";
  471. else
  472. case $1 in #(
  473. -*)set "./$1";;
  474. esac;
  475. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  476. ???[sx]*):;;*)false;;esac;fi
  477. '\'' sh
  478. '
  479. fi
  480. as_executable_p=$as_test_x
  481. # Sed expression to map a string onto a valid CPP name.
  482. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  483. # Sed expression to map a string onto a valid variable name.
  484. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  485. # Check that we are running under the correct shell.
  486. SHELL=${CONFIG_SHELL-/bin/sh}
  487. case X$lt_ECHO in
  488. X*--fallback-echo)
  489. # Remove one level of quotation (which was required for Make).
  490. ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  491. ;;
  492. esac
  493. ECHO=${lt_ECHO-echo}
  494. if test "X$1" = X--no-reexec; then
  495. # Discard the --no-reexec flag, and continue.
  496. shift
  497. elif test "X$1" = X--fallback-echo; then
  498. # Avoid inline document here, it may be left over
  499. :
  500. elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  501. # Yippee, $ECHO works!
  502. :
  503. else
  504. # Restart under the correct shell.
  505. exec $SHELL "$0" --no-reexec ${1+"$@"}
  506. fi
  507. if test "X$1" = X--fallback-echo; then
  508. # used as fallback echo
  509. shift
  510. cat <<_LT_EOF
  511. $*
  512. _LT_EOF
  513. exit 0
  514. fi
  515. # The HP-UX ksh and POSIX shell print the target directory to stdout
  516. # if CDPATH is set.
  517. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  518. if test -z "$lt_ECHO"; then
  519. if test "X${echo_test_string+set}" != Xset; then
  520. # find a string as large as possible, as long as the shell can cope with it
  521. for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  522. # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  523. if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  524. { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  525. then
  526. break
  527. fi
  528. done
  529. fi
  530. if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  531. echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  532. test "X$echo_testing_string" = "X$echo_test_string"; then
  533. :
  534. else
  535. # The Solaris, AIX, and Digital Unix default echo programs unquote
  536. # backslashes. This makes it impossible to quote backslashes using
  537. # echo "$something" | sed 's/\\/\\\\/g'
  538. #
  539. # So, first we look for a working echo in the user's PATH.
  540. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  541. for dir in $PATH /usr/ucb; do
  542. IFS="$lt_save_ifs"
  543. if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  544. test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  545. echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  546. test "X$echo_testing_string" = "X$echo_test_string"; then
  547. ECHO="$dir/echo"
  548. break
  549. fi
  550. done
  551. IFS="$lt_save_ifs"
  552. if test "X$ECHO" = Xecho; then
  553. # We didn't find a better echo, so look for alternatives.
  554. if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  555. echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  556. test "X$echo_testing_string" = "X$echo_test_string"; then
  557. # This shell has a builtin print -r that does the trick.
  558. ECHO='print -r'
  559. elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  560. test "X$CONFIG_SHELL" != X/bin/ksh; then
  561. # If we have ksh, try running configure again with it.
  562. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  563. export ORIGINAL_CONFIG_SHELL
  564. CONFIG_SHELL=/bin/ksh
  565. export CONFIG_SHELL
  566. exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  567. else
  568. # Try using printf.
  569. ECHO='printf %s\n'
  570. if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  571. echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  572. test "X$echo_testing_string" = "X$echo_test_string"; then
  573. # Cool, printf works
  574. :
  575. elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  576. test "X$echo_testing_string" = 'X\t' &&
  577. echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  578. test "X$echo_testing_string" = "X$echo_test_string"; then
  579. CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  580. export CONFIG_SHELL
  581. SHELL="$CONFIG_SHELL"
  582. export SHELL
  583. ECHO="$CONFIG_SHELL $0 --fallback-echo"
  584. elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  585. test "X$echo_testing_string" = 'X\t' &&
  586. echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  587. test "X$echo_testing_string" = "X$echo_test_string"; then
  588. ECHO="$CONFIG_SHELL $0 --fallback-echo"
  589. else
  590. # maybe with a smaller string...
  591. prev=:
  592. for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  593. if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  594. then
  595. break
  596. fi
  597. prev="$cmd"
  598. done
  599. if test "$prev" != 'sed 50q "$0"'; then
  600. echo_test_string=`eval $prev`
  601. export echo_test_string
  602. exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  603. else
  604. # Oops. We lost completely, so just stick with echo.
  605. ECHO=echo
  606. fi
  607. fi
  608. fi
  609. fi
  610. fi
  611. fi
  612. # Copy echo and quote the copy suitably for passing to libtool from
  613. # the Makefile, instead of quoting the original, which is used later.
  614. lt_ECHO=$ECHO
  615. if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  616. lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  617. fi
  618. test -n "$DJDIR" || exec 7<&0 </dev/null
  619. exec 6>&1
  620. # Name of the host.
  621. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  622. # so uname gets run too.
  623. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  624. #
  625. # Initializations.
  626. #
  627. ac_default_prefix=/usr/local
  628. ac_clean_files=
  629. ac_config_libobj_dir=.
  630. LIBOBJS=
  631. cross_compiling=no
  632. subdirs=
  633. MFLAGS=
  634. MAKEFLAGS=
  635. # Identity of this package.
  636. PACKAGE_NAME='libenet'
  637. PACKAGE_TARNAME='libenet'
  638. PACKAGE_VERSION='1-8-2008'
  639. PACKAGE_STRING='libenet 1-8-2008'
  640. PACKAGE_BUGREPORT=''
  641. PACKAGE_URL=''
  642. # Factoring default headers for most tests.
  643. ac_includes_default="\
  644. #include <stdio.h>
  645. #ifdef HAVE_SYS_TYPES_H
  646. # include <sys/types.h>
  647. #endif
  648. #ifdef HAVE_SYS_STAT_H
  649. # include <sys/stat.h>
  650. #endif
  651. #ifdef STDC_HEADERS
  652. # include <stdlib.h>
  653. # include <stddef.h>
  654. #else
  655. # ifdef HAVE_STDLIB_H
  656. # include <stdlib.h>
  657. # endif
  658. #endif
  659. #ifdef HAVE_STRING_H
  660. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  661. # include <memory.h>
  662. # endif
  663. # include <string.h>
  664. #endif
  665. #ifdef HAVE_STRINGS_H
  666. # include <strings.h>
  667. #endif
  668. #ifdef HAVE_INTTYPES_H
  669. # include <inttypes.h>
  670. #endif
  671. #ifdef HAVE_STDINT_H
  672. # include <stdint.h>
  673. #endif
  674. #ifdef HAVE_UNISTD_H
  675. # include <unistd.h>
  676. #endif"
  677. ac_subst_vars='am__EXEEXT_FALSE
  678. am__EXEEXT_TRUE
  679. LTLIBOBJS
  680. LIBOBJS
  681. CPP
  682. OTOOL64
  683. OTOOL
  684. LIPO
  685. NMEDIT
  686. DSYMUTIL
  687. lt_ECHO
  688. AR
  689. OBJDUMP
  690. LN_S
  691. NM
  692. ac_ct_DUMPBIN
  693. DUMPBIN
  694. LD
  695. FGREP
  696. EGREP
  697. GREP
  698. SED
  699. host_os
  700. host_vendor
  701. host_cpu
  702. host
  703. build_os
  704. build_vendor
  705. build_cpu
  706. build
  707. LIBTOOL
  708. RANLIB
  709. am__fastdepCC_FALSE
  710. am__fastdepCC_TRUE
  711. CCDEPMODE
  712. AMDEPBACKSLASH
  713. AMDEP_FALSE
  714. AMDEP_TRUE
  715. am__quote
  716. am__include
  717. DEPDIR
  718. OBJEXT
  719. EXEEXT
  720. ac_ct_CC
  721. CPPFLAGS
  722. LDFLAGS
  723. CFLAGS
  724. CC
  725. am__untar
  726. am__tar
  727. AMTAR
  728. am__leading_dot
  729. SET_MAKE
  730. AWK
  731. mkdir_p
  732. MKDIR_P
  733. INSTALL_STRIP_PROGRAM
  734. STRIP
  735. install_sh
  736. MAKEINFO
  737. AUTOHEADER
  738. AUTOMAKE
  739. AUTOCONF
  740. ACLOCAL
  741. VERSION
  742. PACKAGE
  743. CYGPATH_W
  744. am__isrc
  745. INSTALL_DATA
  746. INSTALL_SCRIPT
  747. INSTALL_PROGRAM
  748. target_alias
  749. host_alias
  750. build_alias
  751. LIBS
  752. ECHO_T
  753. ECHO_N
  754. ECHO_C
  755. DEFS
  756. mandir
  757. localedir
  758. libdir
  759. psdir
  760. pdfdir
  761. dvidir
  762. htmldir
  763. infodir
  764. docdir
  765. oldincludedir
  766. includedir
  767. localstatedir
  768. sharedstatedir
  769. sysconfdir
  770. datadir
  771. datarootdir
  772. libexecdir
  773. sbindir
  774. bindir
  775. program_transform_name
  776. prefix
  777. exec_prefix
  778. PACKAGE_URL
  779. PACKAGE_BUGREPORT
  780. PACKAGE_STRING
  781. PACKAGE_VERSION
  782. PACKAGE_TARNAME
  783. PACKAGE_NAME
  784. PATH_SEPARATOR
  785. SHELL'
  786. ac_subst_files=''
  787. ac_user_opts='
  788. enable_option_checking
  789. enable_dependency_tracking
  790. enable_shared
  791. enable_static
  792. with_pic
  793. enable_fast_install
  794. with_gnu_ld
  795. enable_libtool_lock
  796. enable_crc32
  797. '
  798. ac_precious_vars='build_alias
  799. host_alias
  800. target_alias
  801. CC
  802. CFLAGS
  803. LDFLAGS
  804. LIBS
  805. CPPFLAGS
  806. CPP'
  807. # Initialize some variables set by options.
  808. ac_init_help=
  809. ac_init_version=false
  810. ac_unrecognized_opts=
  811. ac_unrecognized_sep=
  812. # The variables have the same names as the options, with
  813. # dashes changed to underlines.
  814. cache_file=/dev/null
  815. exec_prefix=NONE
  816. no_create=
  817. no_recursion=
  818. prefix=NONE
  819. program_prefix=NONE
  820. program_suffix=NONE
  821. program_transform_name=s,x,x,
  822. silent=
  823. site=
  824. srcdir=
  825. verbose=
  826. x_includes=NONE
  827. x_libraries=NONE
  828. # Installation directory options.
  829. # These are left unexpanded so users can "make install exec_prefix=/foo"
  830. # and all the variables that are supposed to be based on exec_prefix
  831. # by default will actually change.
  832. # Use braces instead of parens because sh, perl, etc. also accept them.
  833. # (The list follows the same order as the GNU Coding Standards.)
  834. bindir='${exec_prefix}/bin'
  835. sbindir='${exec_prefix}/sbin'
  836. libexecdir='${exec_prefix}/libexec'
  837. datarootdir='${prefix}/share'
  838. datadir='${datarootdir}'
  839. sysconfdir='${prefix}/etc'
  840. sharedstatedir='${prefix}/com'
  841. localstatedir='${prefix}/var'
  842. includedir='${prefix}/include'
  843. oldincludedir='/usr/include'
  844. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  845. infodir='${datarootdir}/info'
  846. htmldir='${docdir}'
  847. dvidir='${docdir}'
  848. pdfdir='${docdir}'
  849. psdir='${docdir}'
  850. libdir='${exec_prefix}/lib'
  851. localedir='${datarootdir}/locale'
  852. mandir='${datarootdir}/man'
  853. ac_prev=
  854. ac_dashdash=
  855. for ac_option
  856. do
  857. # If the previous option needs an argument, assign it.
  858. if test -n "$ac_prev"; then
  859. eval $ac_prev=\$ac_option
  860. ac_prev=
  861. continue
  862. fi
  863. case $ac_option in
  864. *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  865. *) ac_optarg=yes ;;
  866. esac
  867. # Accept the important Cygnus configure options, so we can diagnose typos.
  868. case $ac_dashdash$ac_option in
  869. --)
  870. ac_dashdash=yes ;;
  871. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  872. ac_prev=bindir ;;
  873. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  874. bindir=$ac_optarg ;;
  875. -build | --build | --buil | --bui | --bu)
  876. ac_prev=build_alias ;;
  877. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  878. build_alias=$ac_optarg ;;
  879. -cache-file | --cache-file | --cache-fil | --cache-fi \
  880. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  881. ac_prev=cache_file ;;
  882. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  883. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  884. cache_file=$ac_optarg ;;
  885. --config-cache | -C)
  886. cache_file=config.cache ;;
  887. -datadir | --datadir | --datadi | --datad)
  888. ac_prev=datadir ;;
  889. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  890. datadir=$ac_optarg ;;
  891. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  892. | --dataroo | --dataro | --datar)
  893. ac_prev=datarootdir ;;
  894. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  895. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  896. datarootdir=$ac_optarg ;;
  897. -disable-* | --disable-*)
  898. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  899. # Reject names that are not valid shell variable names.
  900. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  901. as_fn_error "invalid feature name: $ac_useropt"
  902. ac_useropt_orig=$ac_useropt
  903. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  904. case $ac_user_opts in
  905. *"
  906. "enable_$ac_useropt"
  907. "*) ;;
  908. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  909. ac_unrecognized_sep=', ';;
  910. esac
  911. eval enable_$ac_useropt=no ;;
  912. -docdir | --docdir | --docdi | --doc | --do)
  913. ac_prev=docdir ;;
  914. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  915. docdir=$ac_optarg ;;
  916. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  917. ac_prev=dvidir ;;
  918. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  919. dvidir=$ac_optarg ;;
  920. -enable-* | --enable-*)
  921. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  922. # Reject names that are not valid shell variable names.
  923. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  924. as_fn_error "invalid feature name: $ac_useropt"
  925. ac_useropt_orig=$ac_useropt
  926. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  927. case $ac_user_opts in
  928. *"
  929. "enable_$ac_useropt"
  930. "*) ;;
  931. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  932. ac_unrecognized_sep=', ';;
  933. esac
  934. eval enable_$ac_useropt=\$ac_optarg ;;
  935. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  936. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  937. | --exec | --exe | --ex)
  938. ac_prev=exec_prefix ;;
  939. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  940. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  941. | --exec=* | --exe=* | --ex=*)
  942. exec_prefix=$ac_optarg ;;
  943. -gas | --gas | --ga | --g)
  944. # Obsolete; use --with-gas.
  945. with_gas=yes ;;
  946. -help | --help | --hel | --he | -h)
  947. ac_init_help=long ;;
  948. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  949. ac_init_help=recursive ;;
  950. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  951. ac_init_help=short ;;
  952. -host | --host | --hos | --ho)
  953. ac_prev=host_alias ;;
  954. -host=* | --host=* | --hos=* | --ho=*)
  955. host_alias=$ac_optarg ;;
  956. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  957. ac_prev=htmldir ;;
  958. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  959. | --ht=*)
  960. htmldir=$ac_optarg ;;
  961. -includedir | --includedir | --includedi | --included | --include \
  962. | --includ | --inclu | --incl | --inc)
  963. ac_prev=includedir ;;
  964. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  965. | --includ=* | --inclu=* | --incl=* | --inc=*)
  966. includedir=$ac_optarg ;;
  967. -infodir | --infodir | --infodi | --infod | --info | --inf)
  968. ac_prev=infodir ;;
  969. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  970. infodir=$ac_optarg ;;
  971. -libdir | --libdir | --libdi | --libd)
  972. ac_prev=libdir ;;
  973. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  974. libdir=$ac_optarg ;;
  975. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  976. | --libexe | --libex | --libe)
  977. ac_prev=libexecdir ;;
  978. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  979. | --libexe=* | --libex=* | --libe=*)
  980. libexecdir=$ac_optarg ;;
  981. -localedir | --localedir | --localedi | --localed | --locale)
  982. ac_prev=localedir ;;
  983. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  984. localedir=$ac_optarg ;;
  985. -localstatedir | --localstatedir | --localstatedi | --localstated \
  986. | --localstate | --localstat | --localsta | --localst | --locals)
  987. ac_prev=localstatedir ;;
  988. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  989. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  990. localstatedir=$ac_optarg ;;
  991. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  992. ac_prev=mandir ;;
  993. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  994. mandir=$ac_optarg ;;
  995. -nfp | --nfp | --nf)
  996. # Obsolete; use --without-fp.
  997. with_fp=no ;;
  998. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  999. | --no-cr | --no-c | -n)
  1000. no_create=yes ;;
  1001. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1002. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1003. no_recursion=yes ;;
  1004. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1005. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1006. | --oldin | --oldi | --old | --ol | --o)
  1007. ac_prev=oldincludedir ;;
  1008. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1009. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1010. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1011. oldincludedir=$ac_optarg ;;
  1012. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1013. ac_prev=prefix ;;
  1014. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1015. prefix=$ac_optarg ;;
  1016. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1017. | --program-pre | --program-pr | --program-p)
  1018. ac_prev=program_prefix ;;
  1019. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1020. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1021. program_prefix=$ac_optarg ;;
  1022. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1023. | --program-suf | --program-su | --program-s)
  1024. ac_prev=program_suffix ;;
  1025. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1026. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1027. program_suffix=$ac_optarg ;;
  1028. -program-transform-name | --program-transform-name \
  1029. | --program-transform-nam | --program-transform-na \
  1030. | --program-transform-n | --program-transform- \
  1031. | --program-transform | --program-transfor \
  1032. | --program-transfo | --program-transf \
  1033. | --program-trans | --program-tran \
  1034. | --progr-tra | --program-tr | --program-t)
  1035. ac_prev=program_transform_name ;;
  1036. -program-transform-name=* | --program-transform-name=* \
  1037. | --program-transform-nam=* | --program-transform-na=* \
  1038. | --program-transform-n=* | --program-transform-=* \
  1039. | --program-transform=* | --program-transfor=* \
  1040. | --program-transfo=* | --program-transf=* \
  1041. | --program-trans=* | --program-tran=* \
  1042. | --progr-tra=* | --program-tr=* | --program-t=*)
  1043. program_transform_name=$ac_optarg ;;
  1044. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1045. ac_prev=pdfdir ;;
  1046. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1047. pdfdir=$ac_optarg ;;
  1048. -psdir | --psdir | --psdi | --psd | --ps)
  1049. ac_prev=psdir ;;
  1050. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1051. psdir=$ac_optarg ;;
  1052. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1053. | -silent | --silent | --silen | --sile | --sil)
  1054. silent=yes ;;
  1055. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1056. ac_prev=sbindir ;;
  1057. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1058. | --sbi=* | --sb=*)
  1059. sbindir=$ac_optarg ;;
  1060. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1061. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1062. | --sharedst | --shareds | --shared | --share | --shar \
  1063. | --sha | --sh)
  1064. ac_prev=sharedstatedir ;;
  1065. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1066. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1067. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1068. | --sha=* | --sh=*)
  1069. sharedstatedir=$ac_optarg ;;
  1070. -site | --site | --sit)
  1071. ac_prev=site ;;
  1072. -site=* | --site=* | --sit=*)
  1073. site=$ac_optarg ;;
  1074. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1075. ac_prev=srcdir ;;
  1076. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1077. srcdir=$ac_optarg ;;
  1078. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1079. | --syscon | --sysco | --sysc | --sys | --sy)
  1080. ac_prev=sysconfdir ;;
  1081. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1082. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1083. sysconfdir=$ac_optarg ;;
  1084. -target | --target | --targe | --targ | --tar | --ta | --t)
  1085. ac_prev=target_alias ;;
  1086. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1087. target_alias=$ac_optarg ;;
  1088. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1089. verbose=yes ;;
  1090. -version | --version | --versio | --versi | --vers | -V)
  1091. ac_init_version=: ;;
  1092. -with-* | --with-*)
  1093. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1094. # Reject names that are not valid shell variable names.
  1095. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1096. as_fn_error "invalid package name: $ac_useropt"
  1097. ac_useropt_orig=$ac_useropt
  1098. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1099. case $ac_user_opts in
  1100. *"
  1101. "with_$ac_useropt"
  1102. "*) ;;
  1103. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1104. ac_unrecognized_sep=', ';;
  1105. esac
  1106. eval with_$ac_useropt=\$ac_optarg ;;
  1107. -without-* | --without-*)
  1108. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1109. # Reject names that are not valid shell variable names.
  1110. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1111. as_fn_error "invalid package name: $ac_useropt"
  1112. ac_useropt_orig=$ac_useropt
  1113. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1114. case $ac_user_opts in
  1115. *"
  1116. "with_$ac_useropt"
  1117. "*) ;;
  1118. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1119. ac_unrecognized_sep=', ';;
  1120. esac
  1121. eval with_$ac_useropt=no ;;
  1122. --x)
  1123. # Obsolete; use --with-x.
  1124. with_x=yes ;;
  1125. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1126. | --x-incl | --x-inc | --x-in | --x-i)
  1127. ac_prev=x_includes ;;
  1128. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1129. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1130. x_includes=$ac_optarg ;;
  1131. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1132. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1133. ac_prev=x_libraries ;;
  1134. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1135. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1136. x_libraries=$ac_optarg ;;
  1137. -*) as_fn_error "unrecognized option: \`$ac_option'
  1138. Try \`$0 --help' for more information."
  1139. ;;
  1140. *=*)
  1141. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1142. # Reject names that are not valid shell variable names.
  1143. case $ac_envvar in #(
  1144. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1145. as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  1146. esac
  1147. eval $ac_envvar=\$ac_optarg
  1148. export $ac_envvar ;;
  1149. *)
  1150. # FIXME: should be removed in autoconf 3.0.
  1151. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1152. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1153. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1154. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1155. ;;
  1156. esac
  1157. done
  1158. if test -n "$ac_prev"; then
  1159. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1160. as_fn_error "missing argument to $ac_option"
  1161. fi
  1162. if test -n "$ac_unrecognized_opts"; then
  1163. case $enable_option_checking in
  1164. no) ;;
  1165. fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  1166. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1167. esac
  1168. fi
  1169. # Check all directory arguments for consistency.
  1170. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1171. datadir sysconfdir sharedstatedir localstatedir includedir \
  1172. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1173. libdir localedir mandir
  1174. do
  1175. eval ac_val=\$$ac_var
  1176. # Remove trailing slashes.
  1177. case $ac_val in
  1178. */ )
  1179. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1180. eval $ac_var=\$ac_val;;
  1181. esac
  1182. # Be sure to have absolute directory names.
  1183. case $ac_val in
  1184. [\\/$]* | ?:[\\/]* ) continue;;
  1185. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1186. esac
  1187. as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  1188. done
  1189. # There might be people who depend on the old broken behavior: `$host'
  1190. # used to hold the argument of --host etc.
  1191. # FIXME: To remove some day.
  1192. build=$build_alias
  1193. host=$host_alias
  1194. target=$target_alias
  1195. # FIXME: To remove some day.
  1196. if test "x$host_alias" != x; then
  1197. if test "x$build_alias" = x; then
  1198. cross_compiling=maybe
  1199. $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1200. If a cross compiler is detected then cross compile mode will be used." >&2
  1201. elif test "x$build_alias" != "x$host_alias"; then
  1202. cross_compiling=yes
  1203. fi
  1204. fi
  1205. ac_tool_prefix=
  1206. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1207. test "$silent" = yes && exec 6>/dev/null
  1208. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1209. ac_ls_di=`ls -di .` &&
  1210. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1211. as_fn_error "working directory cannot be determined"
  1212. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1213. as_fn_error "pwd does not report name of working directory"
  1214. # Find the source files, if location was not specified.
  1215. if test -z "$srcdir"; then
  1216. ac_srcdir_defaulted=yes
  1217. # Try the directory containing this script, then the parent directory.
  1218. ac_confdir=`$as_dirname -- "$as_myself" ||
  1219. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1220. X"$as_myself" : 'X\(//\)[^/]' \| \
  1221. X"$as_myself" : 'X\(//\)$' \| \
  1222. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1223. $as_echo X"$as_myself" |
  1224. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1225. s//\1/
  1226. q
  1227. }
  1228. /^X\(\/\/\)[^/].*/{
  1229. s//\1/
  1230. q
  1231. }
  1232. /^X\(\/\/\)$/{
  1233. s//\1/
  1234. q
  1235. }
  1236. /^X\(\/\).*/{
  1237. s//\1/
  1238. q
  1239. }
  1240. s/.*/./; q'`
  1241. srcdir=$ac_confdir
  1242. if test ! -r "$srcdir/$ac_unique_file"; then
  1243. srcdir=..
  1244. fi
  1245. else
  1246. ac_srcdir_defaulted=no
  1247. fi
  1248. if test ! -r "$srcdir/$ac_unique_file"; then
  1249. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1250. as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  1251. fi
  1252. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1253. ac_abs_confdir=`(
  1254. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  1255. pwd)`
  1256. # When building in place, set srcdir=.
  1257. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1258. srcdir=.
  1259. fi
  1260. # Remove unnecessary trailing slashes from srcdir.
  1261. # Double slashes in file names in object file debugging info
  1262. # mess up M-x gdb in Emacs.
  1263. case $srcdir in
  1264. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1265. esac
  1266. for ac_var in $ac_precious_vars; do
  1267. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1268. eval ac_env_${ac_var}_value=\$${ac_var}
  1269. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1270. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1271. done
  1272. #
  1273. # Report the --help message.
  1274. #
  1275. if test "$ac_init_help" = "long"; then
  1276. # Omit some internal or obsolete options to make the list less imposing.
  1277. # This message is too long to be a string in the A/UX 3.1 sh.
  1278. cat <<_ACEOF
  1279. \`configure' configures libenet 1-8-2008 to adapt to many kinds of systems.
  1280. Usage: $0 [OPTION]... [VAR=VALUE]...
  1281. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1282. VAR=VALUE. See below for descriptions of some of the useful variables.
  1283. Defaults for the options are specified in brackets.
  1284. Configuration:
  1285. -h, --help display this help and exit
  1286. --help=short display options specific to this package
  1287. --help=recursive display the short help of all the included packages
  1288. -V, --version display version information and exit
  1289. -q, --quiet, --silent do not print \`checking...' messages
  1290. --cache-file=FILE cache test results in FILE [disabled]
  1291. -C, --config-cache alias for \`--cache-file=config.cache'
  1292. -n, --no-create do not create output files
  1293. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1294. Installation directories:
  1295. --prefix=PREFIX install architecture-independent files in PREFIX
  1296. [$ac_default_prefix]
  1297. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1298. [PREFIX]
  1299. By default, \`make install' will install all the files in
  1300. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1301. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1302. for instance \`--prefix=\$HOME'.
  1303. For better control, use the options below.
  1304. Fine tuning of the installation directories:
  1305. --bindir=DIR user executables [EPREFIX/bin]
  1306. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1307. --libexecdir=DIR program executables [EPREFIX/libexec]
  1308. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1309. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1310. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1311. --libdir=DIR object code libraries [EPREFIX/lib]
  1312. --includedir=DIR C header files [PREFIX/include]
  1313. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1314. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1315. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1316. --infodir=DIR info documentation [DATAROOTDIR/info]
  1317. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1318. --mandir=DIR man documentation [DATAROOTDIR/man]
  1319. --docdir=DIR documentation root [DATAROOTDIR/doc/libenet]
  1320. --htmldir=DIR html documentation [DOCDIR]
  1321. --dvidir=DIR dvi documentation [DOCDIR]
  1322. --pdfdir=DIR pdf documentation [DOCDIR]
  1323. --psdir=DIR ps documentation [DOCDIR]
  1324. _ACEOF
  1325. cat <<\_ACEOF
  1326. Program names:
  1327. --program-prefix=PREFIX prepend PREFIX to installed program names
  1328. --program-suffix=SUFFIX append SUFFIX to installed program names
  1329. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1330. System types:
  1331. --build=BUILD configure for building on BUILD [guessed]
  1332. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1333. _ACEOF
  1334. fi
  1335. if test -n "$ac_init_help"; then
  1336. case $ac_init_help in
  1337. short | recursive ) echo "Configuration of libenet 1-8-2008:";;
  1338. esac
  1339. cat <<\_ACEOF
  1340. Optional Features:
  1341. --disable-option-checking ignore unrecognized --enable/--with options
  1342. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1343. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1344. --disable-dependency-tracking speeds up one-time build
  1345. --enable-dependency-tracking do not reject slow dependency extractors
  1346. --enable-shared[=PKGS] build shared libraries [default=yes]
  1347. --enable-static[=PKGS] build static libraries [default=yes]
  1348. --enable-fast-install[=PKGS]
  1349. optimize for fast installation [default=yes]
  1350. --disable-libtool-lock avoid locking (might break parallel builds)
  1351. --enable-crc32 enable CRC32 packet verification
  1352. Optional Packages:
  1353. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1354. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1355. --with-pic try to use only PIC/non-PIC objects [default=use
  1356. both]
  1357. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1358. Some influential environment variables:
  1359. CC C compiler command
  1360. CFLAGS C compiler flags
  1361. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1362. nonstandard directory <lib dir>
  1363. LIBS libraries to pass to the linker, e.g. -l<library>
  1364. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1365. you have headers in a nonstandard directory <include dir>
  1366. CPP C preprocessor
  1367. Use these variables to override the choices made by `configure' or to help
  1368. it to find libraries and programs with nonstandard names/locations.
  1369. Report bugs to the package provider.
  1370. _ACEOF
  1371. ac_status=$?
  1372. fi
  1373. if test "$ac_init_help" = "recursive"; then
  1374. # If there are subdirs, report their specific --help.
  1375. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1376. test -d "$ac_dir" ||
  1377. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1378. continue
  1379. ac_builddir=.
  1380. case "$ac_dir" in
  1381. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1382. *)
  1383. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1384. # A ".." for each directory in $ac_dir_suffix.
  1385. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1386. case $ac_top_builddir_sub in
  1387. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1388. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1389. esac ;;
  1390. esac
  1391. ac_abs_top_builddir=$ac_pwd
  1392. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1393. # for backward compatibility:
  1394. ac_top_builddir=$ac_top_build_prefix
  1395. case $srcdir in
  1396. .) # We are building in place.
  1397. ac_srcdir=.
  1398. ac_top_srcdir=$ac_top_builddir_sub
  1399. ac_abs_top_srcdir=$ac_pwd ;;
  1400. [\\/]* | ?:[\\/]* ) # Absolute name.
  1401. ac_srcdir=$srcdir$ac_dir_suffix;
  1402. ac_top_srcdir=$srcdir
  1403. ac_abs_top_srcdir=$srcdir ;;
  1404. *) # Relative name.
  1405. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1406. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1407. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1408. esac
  1409. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1410. cd "$ac_dir" || { ac_status=$?; continue; }
  1411. # Check for guested configure.
  1412. if test -f "$ac_srcdir/configure.gnu"; then
  1413. echo &&
  1414. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1415. elif test -f "$ac_srcdir/configure"; then
  1416. echo &&
  1417. $SHELL "$ac_srcdir/configure" --help=recursive
  1418. else
  1419. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1420. fi || ac_status=$?
  1421. cd "$ac_pwd" || { ac_status=$?; break; }
  1422. done
  1423. fi
  1424. test -n "$ac_init_help" && exit $ac_status
  1425. if $ac_init_version; then
  1426. cat <<\_ACEOF
  1427. libenet configure 1-8-2008
  1428. generated by GNU Autoconf 2.65
  1429. Copyright (C) 2009 Free Software Foundation, Inc.
  1430. This configure script is free software; the Free Software Foundation
  1431. gives unlimited permission to copy, distribute and modify it.
  1432. _ACEOF
  1433. exit
  1434. fi
  1435. ## ------------------------ ##
  1436. ## Autoconf initialization. ##
  1437. ## ------------------------ ##
  1438. # ac_fn_c_try_compile LINENO
  1439. # --------------------------
  1440. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1441. ac_fn_c_try_compile ()
  1442. {
  1443. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1444. rm -f conftest.$ac_objext
  1445. if { { ac_try="$ac_compile"
  1446. case "(($ac_try" in
  1447. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1448. *) ac_try_echo=$ac_try;;
  1449. esac
  1450. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1451. $as_echo "$ac_try_echo"; } >&5
  1452. (eval "$ac_compile") 2>conftest.err
  1453. ac_status=$?
  1454. if test -s conftest.err; then
  1455. grep -v '^ *+' conftest.err >conftest.er1
  1456. cat conftest.er1 >&5
  1457. mv -f conftest.er1 conftest.err
  1458. fi
  1459. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1460. test $ac_status = 0; } && {
  1461. test -z "$ac_c_werror_flag" ||
  1462. test ! -s conftest.err
  1463. } && test -s conftest.$ac_objext; then :
  1464. ac_retval=0
  1465. else
  1466. $as_echo "$as_me: failed program was:" >&5
  1467. sed 's/^/| /' conftest.$ac_ext >&5
  1468. ac_retval=1
  1469. fi
  1470. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1471. as_fn_set_status $ac_retval
  1472. } # ac_fn_c_try_compile
  1473. # ac_fn_c_try_link LINENO
  1474. # -----------------------
  1475. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1476. ac_fn_c_try_link ()
  1477. {
  1478. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1479. rm -f conftest.$ac_objext conftest$ac_exeext
  1480. if { { ac_try="$ac_link"
  1481. case "(($ac_try" in
  1482. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1483. *) ac_try_echo=$ac_try;;
  1484. esac
  1485. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1486. $as_echo "$ac_try_echo"; } >&5
  1487. (eval "$ac_link") 2>conftest.err
  1488. ac_status=$?
  1489. if test -s conftest.err; then
  1490. grep -v '^ *+' conftest.err >conftest.er1
  1491. cat conftest.er1 >&5
  1492. mv -f conftest.er1 conftest.err
  1493. fi
  1494. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1495. test $ac_status = 0; } && {
  1496. test -z "$ac_c_werror_flag" ||
  1497. test ! -s conftest.err
  1498. } && test -s conftest$ac_exeext && {
  1499. test "$cross_compiling" = yes ||
  1500. $as_test_x conftest$ac_exeext
  1501. }; then :
  1502. ac_retval=0
  1503. else
  1504. $as_echo "$as_me: failed program was:" >&5
  1505. sed 's/^/| /' conftest.$ac_ext >&5
  1506. ac_retval=1
  1507. fi
  1508. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1509. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1510. # interfere with the next link command; also delete a directory that is
  1511. # left behind by Apple's compiler. We do this before executing the actions.
  1512. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1513. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1514. as_fn_set_status $ac_retval
  1515. } # ac_fn_c_try_link
  1516. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1517. # -------------------------------------------------------
  1518. # Tests whether HEADER exists and can be compiled using the include files in
  1519. # INCLUDES, setting the cache variable VAR accordingly.
  1520. ac_fn_c_check_header_compile ()
  1521. {
  1522. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1523. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1524. $as_echo_n "checking for $2... " >&6; }
  1525. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1526. $as_echo_n "(cached) " >&6
  1527. else
  1528. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1529. /* end confdefs.h. */
  1530. $4
  1531. #include <$2>
  1532. _ACEOF
  1533. if ac_fn_c_try_compile "$LINENO"; then :
  1534. eval "$3=yes"
  1535. else
  1536. eval "$3=no"
  1537. fi
  1538. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1539. fi
  1540. eval ac_res=\$$3
  1541. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1542. $as_echo "$ac_res" >&6; }
  1543. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1544. } # ac_fn_c_check_header_compile
  1545. # ac_fn_c_try_cpp LINENO
  1546. # ----------------------
  1547. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1548. ac_fn_c_try_cpp ()
  1549. {
  1550. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1551. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1552. case "(($ac_try" in
  1553. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1554. *) ac_try_echo=$ac_try;;
  1555. esac
  1556. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1557. $as_echo "$ac_try_echo"; } >&5
  1558. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1559. ac_status=$?
  1560. if test -s conftest.err; then
  1561. grep -v '^ *+' conftest.err >conftest.er1
  1562. cat conftest.er1 >&5
  1563. mv -f conftest.er1 conftest.err
  1564. fi
  1565. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1566. test $ac_status = 0; } >/dev/null && {
  1567. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1568. test ! -s conftest.err
  1569. }; then :
  1570. ac_retval=0
  1571. else
  1572. $as_echo "$as_me: failed program was:" >&5
  1573. sed 's/^/| /' conftest.$ac_ext >&5
  1574. ac_retval=1
  1575. fi
  1576. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1577. as_fn_set_status $ac_retval
  1578. } # ac_fn_c_try_cpp
  1579. # ac_fn_c_try_run LINENO
  1580. # ----------------------
  1581. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1582. # that executables *can* be run.
  1583. ac_fn_c_try_run ()
  1584. {
  1585. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1586. if { { ac_try="$ac_link"
  1587. case "(($ac_try" in
  1588. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1589. *) ac_try_echo=$ac_try;;
  1590. esac
  1591. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1592. $as_echo "$ac_try_echo"; } >&5
  1593. (eval "$ac_link") 2>&5
  1594. ac_status=$?
  1595. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1596. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1597. { { case "(($ac_try" in
  1598. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1599. *) ac_try_echo=$ac_try;;
  1600. esac
  1601. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1602. $as_echo "$ac_try_echo"; } >&5
  1603. (eval "$ac_try") 2>&5
  1604. ac_status=$?
  1605. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1606. test $ac_status = 0; }; }; then :
  1607. ac_retval=0
  1608. else
  1609. $as_echo "$as_me: program exited with status $ac_status" >&5
  1610. $as_echo "$as_me: failed program was:" >&5
  1611. sed 's/^/| /' conftest.$ac_ext >&5
  1612. ac_retval=$ac_status
  1613. fi
  1614. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1615. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1616. as_fn_set_status $ac_retval
  1617. } # ac_fn_c_try_run
  1618. # ac_fn_c_check_func LINENO FUNC VAR
  1619. # ----------------------------------
  1620. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1621. ac_fn_c_check_func ()
  1622. {
  1623. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1624. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1625. $as_echo_n "checking for $2... " >&6; }
  1626. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1627. $as_echo_n "(cached) " >&6
  1628. else
  1629. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1630. /* end confdefs.h. */
  1631. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1632. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1633. #define $2 innocuous_$2
  1634. /* System header to define __stub macros and hopefully few prototypes,
  1635. which can conflict with char $2 (); below.
  1636. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1637. <limits.h> exists even on freestanding compilers. */
  1638. #ifdef __STDC__
  1639. # include <limits.h>
  1640. #else
  1641. # include <assert.h>
  1642. #endif
  1643. #undef $2
  1644. /* Override any GCC internal prototype to avoid an error.
  1645. Use char because int might match the return type of a GCC
  1646. builtin and then its argument prototype would still apply. */
  1647. #ifdef __cplusplus
  1648. extern "C"
  1649. #endif
  1650. char $2 ();
  1651. /* The GNU C library defines this for functions which it implements
  1652. to always fail with ENOSYS. Some functions are actually named
  1653. something starting with __ and the normal name is an alias. */
  1654. #if defined __stub_$2 || defined __stub___$2
  1655. choke me
  1656. #endif
  1657. int
  1658. main ()
  1659. {
  1660. return $2 ();
  1661. ;
  1662. return 0;
  1663. }
  1664. _ACEOF
  1665. if ac_fn_c_try_link "$LINENO"; then :
  1666. eval "$3=yes"
  1667. else
  1668. eval "$3=no"
  1669. fi
  1670. rm -f core conftest.err conftest.$ac_objext \
  1671. conftest$ac_exeext conftest.$ac_ext
  1672. fi
  1673. eval ac_res=\$$3
  1674. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1675. $as_echo "$ac_res" >&6; }
  1676. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1677. } # ac_fn_c_check_func
  1678. # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  1679. # ----------------------------------------------------
  1680. # Tries to find if the field MEMBER exists in type AGGR, after including
  1681. # INCLUDES, setting cache variable VAR accordingly.
  1682. ac_fn_c_check_member ()
  1683. {
  1684. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1685. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  1686. $as_echo_n "checking for $2.$3... " >&6; }
  1687. if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
  1688. $as_echo_n "(cached) " >&6
  1689. else
  1690. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1691. /* end confdefs.h. */
  1692. $5
  1693. int
  1694. main ()
  1695. {
  1696. static $2 ac_aggr;
  1697. if (ac_aggr.$3)
  1698. return 0;
  1699. ;
  1700. return 0;
  1701. }
  1702. _ACEOF
  1703. if ac_fn_c_try_compile "$LINENO"; then :
  1704. eval "$4=yes"
  1705. else
  1706. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1707. /* end confdefs.h. */
  1708. $5
  1709. int
  1710. main ()
  1711. {
  1712. static $2 ac_aggr;
  1713. if (sizeof ac_aggr.$3)
  1714. return 0;
  1715. ;
  1716. return 0;
  1717. }
  1718. _ACEOF
  1719. if ac_fn_c_try_compile "$LINENO"; then :
  1720. eval "$4=yes"
  1721. else
  1722. eval "$4=no"
  1723. fi
  1724. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1725. fi
  1726. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1727. fi
  1728. eval ac_res=\$$4
  1729. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1730. $as_echo "$ac_res" >&6; }
  1731. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1732. } # ac_fn_c_check_member
  1733. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1734. # -------------------------------------------
  1735. # Tests whether TYPE exists after having included INCLUDES, setting cache
  1736. # variable VAR accordingly.
  1737. ac_fn_c_check_type ()
  1738. {
  1739. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1740. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1741. $as_echo_n "checking for $2... " >&6; }
  1742. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1743. $as_echo_n "(cached) " >&6
  1744. else
  1745. eval "$3=no"
  1746. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1747. /* end confdefs.h. */
  1748. $4
  1749. int
  1750. main ()
  1751. {
  1752. if (sizeof ($2))
  1753. return 0;
  1754. ;
  1755. return 0;
  1756. }
  1757. _ACEOF
  1758. if ac_fn_c_try_compile "$LINENO"; then :
  1759. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1760. /* end confdefs.h. */
  1761. $4
  1762. int
  1763. main ()
  1764. {
  1765. if (sizeof (($2)))
  1766. return 0;
  1767. ;
  1768. return 0;
  1769. }
  1770. _ACEOF
  1771. if ac_fn_c_try_compile "$LINENO"; then :
  1772. else
  1773. eval "$3=yes"
  1774. fi
  1775. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1776. fi
  1777. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1778. fi
  1779. eval ac_res=\$$3
  1780. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1781. $as_echo "$ac_res" >&6; }
  1782. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1783. } # ac_fn_c_check_type
  1784. cat >config.log <<_ACEOF
  1785. This file contains any messages produced by compilers while
  1786. running configure, to aid debugging if configure makes a mistake.
  1787. It was created by libenet $as_me 1-8-2008, which was
  1788. generated by GNU Autoconf 2.65. Invocation command line was
  1789. $ $0 $@
  1790. _ACEOF
  1791. exec 5>>config.log
  1792. {
  1793. cat <<_ASUNAME
  1794. ## --------- ##
  1795. ## Platform. ##
  1796. ## --------- ##
  1797. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1798. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1799. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1800. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1801. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1802. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1803. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1804. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1805. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1806. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1807. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1808. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1809. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1810. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1811. _ASUNAME
  1812. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1813. for as_dir in $PATH
  1814. do
  1815. IFS=$as_save_IFS
  1816. test -z "$as_dir" && as_dir=.
  1817. $as_echo "PATH: $as_dir"
  1818. done
  1819. IFS=$as_save_IFS
  1820. } >&5
  1821. cat >&5 <<_ACEOF
  1822. ## ----------- ##
  1823. ## Core tests. ##
  1824. ## ----------- ##
  1825. _ACEOF
  1826. # Keep a trace of the command line.
  1827. # Strip out --no-create and --no-recursion so they do not pile up.
  1828. # Strip out --silent because we don't want to record it for future runs.
  1829. # Also quote any args containing shell meta-characters.
  1830. # Make two passes to allow for proper duplicate-argument suppression.
  1831. ac_configure_args=
  1832. ac_configure_args0=
  1833. ac_configure_args1=
  1834. ac_must_keep_next=false
  1835. for ac_pass in 1 2
  1836. do
  1837. for ac_arg
  1838. do
  1839. case $ac_arg in
  1840. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1841. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1842. | -silent | --silent | --silen | --sile | --sil)
  1843. continue ;;
  1844. *\'*)
  1845. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1846. esac
  1847. case $ac_pass in
  1848. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1849. 2)
  1850. as_fn_append ac_configure_args1 " '$ac_arg'"
  1851. if test $ac_must_keep_next = true; then
  1852. ac_must_keep_next=false # Got value, back to normal.
  1853. else
  1854. case $ac_arg in
  1855. *=* | --config-cache | -C | -disable-* | --disable-* \
  1856. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1857. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1858. | -with-* | --with-* | -without-* | --without-* | --x)
  1859. case "$ac_configure_args0 " in
  1860. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1861. esac
  1862. ;;
  1863. -* ) ac_must_keep_next=true ;;
  1864. esac
  1865. fi
  1866. as_fn_append ac_configure_args " '$ac_arg'"
  1867. ;;
  1868. esac
  1869. done
  1870. done
  1871. { ac_configure_args0=; unset ac_configure_args0;}
  1872. { ac_configure_args1=; unset ac_configure_args1;}
  1873. # When interrupted or exit'd, cleanup temporary files, and complete
  1874. # config.log. We remove comments because anyway the quotes in there
  1875. # would cause problems or look ugly.
  1876. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1877. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1878. trap 'exit_status=$?
  1879. # Save into config.log some information that might help in debugging.
  1880. {
  1881. echo
  1882. cat <<\_ASBOX
  1883. ## ---------------- ##
  1884. ## Cache variables. ##
  1885. ## ---------------- ##
  1886. _ASBOX
  1887. echo
  1888. # The following way of writing the cache mishandles newlines in values,
  1889. (
  1890. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1891. eval ac_val=\$$ac_var
  1892. case $ac_val in #(
  1893. *${as_nl}*)
  1894. case $ac_var in #(
  1895. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1896. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1897. esac
  1898. case $ac_var in #(
  1899. _ | IFS | as_nl) ;; #(
  1900. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1901. *) { eval $ac_var=; unset $ac_var;} ;;
  1902. esac ;;
  1903. esac
  1904. done
  1905. (set) 2>&1 |
  1906. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1907. *${as_nl}ac_space=\ *)
  1908. sed -n \
  1909. "s/'\''/'\''\\\\'\'''\''/g;
  1910. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1911. ;; #(
  1912. *)
  1913. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1914. ;;
  1915. esac |
  1916. sort
  1917. )
  1918. echo
  1919. cat <<\_ASBOX
  1920. ## ----------------- ##
  1921. ## Output variables. ##
  1922. ## ----------------- ##
  1923. _ASBOX
  1924. echo
  1925. for ac_var in $ac_subst_vars
  1926. do
  1927. eval ac_val=\$$ac_var
  1928. case $ac_val in
  1929. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1930. esac
  1931. $as_echo "$ac_var='\''$ac_val'\''"
  1932. done | sort
  1933. echo
  1934. if test -n "$ac_subst_files"; then
  1935. cat <<\_ASBOX
  1936. ## ------------------- ##
  1937. ## File substitutions. ##
  1938. ## ------------------- ##
  1939. _ASBOX
  1940. echo
  1941. for ac_var in $ac_subst_files
  1942. do
  1943. eval ac_val=\$$ac_var
  1944. case $ac_val in
  1945. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1946. esac
  1947. $as_echo "$ac_var='\''$ac_val'\''"
  1948. done | sort
  1949. echo
  1950. fi
  1951. if test -s confdefs.h; then
  1952. cat <<\_ASBOX
  1953. ## ----------- ##
  1954. ## confdefs.h. ##
  1955. ## ----------- ##
  1956. _ASBOX
  1957. echo
  1958. cat confdefs.h
  1959. echo
  1960. fi
  1961. test "$ac_signal" != 0 &&
  1962. $as_echo "$as_me: caught signal $ac_signal"
  1963. $as_echo "$as_me: exit $exit_status"
  1964. } >&5
  1965. rm -f core *.core core.conftest.* &&
  1966. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1967. exit $exit_status
  1968. ' 0
  1969. for ac_signal in 1 2 13 15; do
  1970. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1971. done
  1972. ac_signal=0
  1973. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1974. rm -f -r conftest* confdefs.h
  1975. $as_echo "/* confdefs.h */" > confdefs.h
  1976. # Predefined preprocessor variables.
  1977. cat >>confdefs.h <<_ACEOF
  1978. #define PACKAGE_NAME "$PACKAGE_NAME"
  1979. _ACEOF
  1980. cat >>confdefs.h <<_ACEOF
  1981. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1982. _ACEOF
  1983. cat >>confdefs.h <<_ACEOF
  1984. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1985. _ACEOF
  1986. cat >>confdefs.h <<_ACEOF
  1987. #define PACKAGE_STRING "$PACKAGE_STRING"
  1988. _ACEOF
  1989. cat >>confdefs.h <<_ACEOF
  1990. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1991. _ACEOF
  1992. cat >>confdefs.h <<_ACEOF
  1993. #define PACKAGE_URL "$PACKAGE_URL"
  1994. _ACEOF
  1995. # Let the site file select an alternate cache file if it wants to.
  1996. # Prefer an explicitly selected file to automatically selected ones.
  1997. ac_site_file1=NONE
  1998. ac_site_file2=NONE
  1999. if test -n "$CONFIG_SITE"; then
  2000. ac_site_file1=$CONFIG_SITE
  2001. elif test "x$prefix" != xNONE; then
  2002. ac_site_file1=$prefix/share/config.site
  2003. ac_site_file2=$prefix/etc/config.site
  2004. else
  2005. ac_site_file1=$ac_default_prefix/share/config.site
  2006. ac_site_file2=$ac_default_prefix/etc/config.site
  2007. fi
  2008. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2009. do
  2010. test "x$ac_site_file" = xNONE && continue
  2011. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2012. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2013. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2014. sed 's/^/| /' "$ac_site_file" >&5
  2015. . "$ac_site_file"
  2016. fi
  2017. done
  2018. if test -r "$cache_file"; then
  2019. # Some versions of bash will fail to source /dev/null (special files
  2020. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  2021. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2022. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2023. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2024. case $cache_file in
  2025. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2026. *) . "./$cache_file";;
  2027. esac
  2028. fi
  2029. else
  2030. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2031. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2032. >$cache_file
  2033. fi
  2034. # Check that the precious variables saved in the cache have kept the same
  2035. # value.
  2036. ac_cache_corrupted=false
  2037. for ac_var in $ac_precious_vars; do
  2038. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2039. eval ac_new_set=\$ac_env_${ac_var}_set
  2040. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2041. eval ac_new_val=\$ac_env_${ac_var}_value
  2042. case $ac_old_set,$ac_new_set in
  2043. set,)
  2044. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2045. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2046. ac_cache_corrupted=: ;;
  2047. ,set)
  2048. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2049. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2050. ac_cache_corrupted=: ;;
  2051. ,);;
  2052. *)
  2053. if test "x$ac_old_val" != "x$ac_new_val"; then
  2054. # differences in whitespace do not lead to failure.
  2055. ac_old_val_w=`echo x $ac_old_val`
  2056. ac_new_val_w=`echo x $ac_new_val`
  2057. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2058. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2059. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2060. ac_cache_corrupted=:
  2061. else
  2062. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2063. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2064. eval $ac_var=\$ac_old_val
  2065. fi
  2066. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2067. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2068. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2069. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2070. fi;;
  2071. esac
  2072. # Pass precious variables to config.status.
  2073. if test "$ac_new_set" = set; then
  2074. case $ac_new_val in
  2075. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2076. *) ac_arg=$ac_var=$ac_new_val ;;
  2077. esac
  2078. case " $ac_configure_args " in
  2079. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2080. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2081. esac
  2082. fi
  2083. done
  2084. if $ac_cache_corrupted; then
  2085. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2086. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2087. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2088. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2089. as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2090. fi
  2091. ## -------------------- ##
  2092. ## Main body of script. ##
  2093. ## -------------------- ##
  2094. ac_ext=c
  2095. ac_cpp='$CPP $CPPFLAGS'
  2096. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2097. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2098. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2099. am__api_version='1.11'
  2100. ac_aux_dir=
  2101. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2102. for ac_t in install-sh install.sh shtool; do
  2103. if test -f "$ac_dir/$ac_t"; then
  2104. ac_aux_dir=$ac_dir
  2105. ac_install_sh="$ac_aux_dir/$ac_t -c"
  2106. break 2
  2107. fi
  2108. done
  2109. done
  2110. if test -z "$ac_aux_dir"; then
  2111. as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2112. fi
  2113. # These three variables are undocumented and unsupported,
  2114. # and are intended to be withdrawn in a future Autoconf release.
  2115. # They can cause serious problems if a builder's source tree is in a directory
  2116. # whose full name contains unusual characters.
  2117. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2118. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2119. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2120. # Find a good install program. We prefer a C program (faster),
  2121. # so one script is as good as another. But avoid the broken or
  2122. # incompatible versions:
  2123. # SysV /etc/install, /usr/sbin/install
  2124. # SunOS /usr/etc/install
  2125. # IRIX /sbin/install
  2126. # AIX /bin/install
  2127. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2128. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2129. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2130. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2131. # OS/2's system install, which has a completely different semantic
  2132. # ./install, which can be erroneously created by make from ./install.sh.
  2133. # Reject install programs that cannot install multiple files.
  2134. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2135. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2136. if test -z "$INSTALL"; then
  2137. if test "${ac_cv_path_install+set}" = set; then :
  2138. $as_echo_n "(cached) " >&6
  2139. else
  2140. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2141. for as_dir in $PATH
  2142. do
  2143. IFS=$as_save_IFS
  2144. test -z "$as_dir" && as_dir=.
  2145. # Account for people who put trailing slashes in PATH elements.
  2146. case $as_dir/ in #((
  2147. ./ | .// | /[cC]/* | \
  2148. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2149. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2150. /usr/ucb/* ) ;;
  2151. *)
  2152. # OSF1 and SCO ODT 3.0 have their own names for install.
  2153. # Don't use installbsd from OSF since it installs stuff as root
  2154. # by default.
  2155. for ac_prog in ginstall scoinst install; do
  2156. for ac_exec_ext in '' $ac_executable_extensions; do
  2157. if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2158. if test $ac_prog = install &&
  2159. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2160. # AIX install. It has an incompatible calling convention.
  2161. :
  2162. elif test $ac_prog = install &&
  2163. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2164. # program-specific install script used by HP pwplus--don't use.
  2165. :
  2166. else
  2167. rm -rf conftest.one conftest.two conftest.dir
  2168. echo one > conftest.one
  2169. echo two > conftest.two
  2170. mkdir conftest.dir
  2171. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2172. test -s conftest.one && test -s conftest.two &&
  2173. test -s conftest.dir/conftest.one &&
  2174. test -s conftest.dir/conftest.two
  2175. then
  2176. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2177. break 3
  2178. fi
  2179. fi
  2180. fi
  2181. done
  2182. done
  2183. ;;
  2184. esac
  2185. done
  2186. IFS=$as_save_IFS
  2187. rm -rf conftest.one conftest.two conftest.dir
  2188. fi
  2189. if test "${ac_cv_path_install+set}" = set; then
  2190. INSTALL=$ac_cv_path_install
  2191. else
  2192. # As a last resort, use the slow shell script. Don't cache a
  2193. # value for INSTALL within a source directory, because that will
  2194. # break other packages using the cache if that directory is
  2195. # removed, or if the value is a relative name.
  2196. INSTALL=$ac_install_sh
  2197. fi
  2198. fi
  2199. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2200. $as_echo "$INSTALL" >&6; }
  2201. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2202. # It thinks the first close brace ends the variable substitution.
  2203. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2204. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2205. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2206. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2207. $as_echo_n "checking whether build environment is sane... " >&6; }
  2208. # Just in case
  2209. sleep 1
  2210. echo timestamp > conftest.file
  2211. # Reject unsafe characters in $srcdir or the absolute working directory
  2212. # name. Accept space and tab only in the latter.
  2213. am_lf='
  2214. '
  2215. case `pwd` in
  2216. *[\\\"\#\$\&\'\`$am_lf]*)
  2217. as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  2218. esac
  2219. case $srcdir in
  2220. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2221. as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  2222. esac
  2223. # Do `set' in a subshell so we don't clobber the current shell's
  2224. # arguments. Must try -L first in case configure is actually a
  2225. # symlink; some systems play weird games with the mod time of symlinks
  2226. # (eg FreeBSD returns the mod time of the symlink's containing
  2227. # directory).
  2228. if (
  2229. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2230. if test "$*" = "X"; then
  2231. # -L didn't work.
  2232. set X `ls -t "$srcdir/configure" conftest.file`
  2233. fi
  2234. rm -f conftest.file
  2235. if test "$*" != "X $srcdir/configure conftest.file" \
  2236. && test "$*" != "X conftest.file $srcdir/configure"; then
  2237. # If neither matched, then we have a broken ls. This can happen
  2238. # if, for instance, CONFIG_SHELL is bash and it inherits a
  2239. # broken ls alias from the environment. This has actually
  2240. # happened. Such a system could not be considered "sane".
  2241. as_fn_error "ls -t appears to fail. Make sure there is not a broken
  2242. alias in your environment" "$LINENO" 5
  2243. fi
  2244. test "$2" = conftest.file
  2245. )
  2246. then
  2247. # Ok.
  2248. :
  2249. else
  2250. as_fn_error "newly created file is older than distributed files!
  2251. Check your system clock" "$LINENO" 5
  2252. fi
  2253. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2254. $as_echo "yes" >&6; }
  2255. test "$program_prefix" != NONE &&
  2256. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2257. # Use a double $ so make ignores it.
  2258. test "$program_suffix" != NONE &&
  2259. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2260. # Double any \ or $.
  2261. # By default was `s,x,x', remove it if useless.
  2262. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2263. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2264. # expand $ac_aux_dir to an absolute path
  2265. am_aux_dir=`cd $ac_aux_dir && pwd`
  2266. if test x"${MISSING+set}" != xset; then
  2267. case $am_aux_dir in
  2268. *\ * | *\ *)
  2269. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2270. *)
  2271. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2272. esac
  2273. fi
  2274. # Use eval to expand $SHELL
  2275. if eval "$MISSING --run true"; then
  2276. am_missing_run="$MISSING --run "
  2277. else
  2278. am_missing_run=
  2279. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  2280. $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2281. fi
  2282. if test x"${install_sh}" != xset; then
  2283. case $am_aux_dir in
  2284. *\ * | *\ *)
  2285. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2286. *)
  2287. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2288. esac
  2289. fi
  2290. # Installed binaries are usually stripped using `strip' when the user
  2291. # run `make install-strip'. However `strip' might not be the right
  2292. # tool to use in cross-compilation environments, therefore Automake
  2293. # will honor the `STRIP' environment variable to overrule this program.
  2294. if test "$cross_compiling" != no; then
  2295. if test -n "$ac_tool_prefix"; then
  2296. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2297. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2298. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2299. $as_echo_n "checking for $ac_word... " >&6; }
  2300. if test "${ac_cv_prog_STRIP+set}" = set; then :
  2301. $as_echo_n "(cached) " >&6
  2302. else
  2303. if test -n "$STRIP"; then
  2304. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2305. else
  2306. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2307. for as_dir in $PATH
  2308. do
  2309. IFS=$as_save_IFS
  2310. test -z "$as_dir" && as_dir=.
  2311. for ac_exec_ext in '' $ac_executable_extensions; do
  2312. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2313. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2314. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2315. break 2
  2316. fi
  2317. done
  2318. done
  2319. IFS=$as_save_IFS
  2320. fi
  2321. fi
  2322. STRIP=$ac_cv_prog_STRIP
  2323. if test -n "$STRIP"; then
  2324. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2325. $as_echo "$STRIP" >&6; }
  2326. else
  2327. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2328. $as_echo "no" >&6; }
  2329. fi
  2330. fi
  2331. if test -z "$ac_cv_prog_STRIP"; then
  2332. ac_ct_STRIP=$STRIP
  2333. # Extract the first word of "strip", so it can be a program name with args.
  2334. set dummy strip; ac_word=$2
  2335. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2336. $as_echo_n "checking for $ac_word... " >&6; }
  2337. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  2338. $as_echo_n "(cached) " >&6
  2339. else
  2340. if test -n "$ac_ct_STRIP"; then
  2341. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2342. else
  2343. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2344. for as_dir in $PATH
  2345. do
  2346. IFS=$as_save_IFS
  2347. test -z "$as_dir" && as_dir=.
  2348. for ac_exec_ext in '' $ac_executable_extensions; do
  2349. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2350. ac_cv_prog_ac_ct_STRIP="strip"
  2351. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2352. break 2
  2353. fi
  2354. done
  2355. done
  2356. IFS=$as_save_IFS
  2357. fi
  2358. fi
  2359. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2360. if test -n "$ac_ct_STRIP"; then
  2361. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2362. $as_echo "$ac_ct_STRIP" >&6; }
  2363. else
  2364. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2365. $as_echo "no" >&6; }
  2366. fi
  2367. if test "x$ac_ct_STRIP" = x; then
  2368. STRIP=":"
  2369. else
  2370. case $cross_compiling:$ac_tool_warned in
  2371. yes:)
  2372. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2373. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2374. ac_tool_warned=yes ;;
  2375. esac
  2376. STRIP=$ac_ct_STRIP
  2377. fi
  2378. else
  2379. STRIP="$ac_cv_prog_STRIP"
  2380. fi
  2381. fi
  2382. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2383. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2384. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2385. if test -z "$MKDIR_P"; then
  2386. if test "${ac_cv_path_mkdir+set}" = set; then :
  2387. $as_echo_n "(cached) " >&6
  2388. else
  2389. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2390. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2391. do
  2392. IFS=$as_save_IFS
  2393. test -z "$as_dir" && as_dir=.
  2394. for ac_prog in mkdir gmkdir; do
  2395. for ac_exec_ext in '' $ac_executable_extensions; do
  2396. { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  2397. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2398. 'mkdir (GNU coreutils) '* | \
  2399. 'mkdir (coreutils) '* | \
  2400. 'mkdir (fileutils) '4.1*)
  2401. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2402. break 3;;
  2403. esac
  2404. done
  2405. done
  2406. done
  2407. IFS=$as_save_IFS
  2408. fi
  2409. test -d ./--version && rmdir ./--version
  2410. if test "${ac_cv_path_mkdir+set}" = set; then
  2411. MKDIR_P="$ac_cv_path_mkdir -p"
  2412. else
  2413. # As a last resort, use the slow shell script. Don't cache a
  2414. # value for MKDIR_P within a source directory, because that will
  2415. # break other packages using the cache if that directory is
  2416. # removed, or if the value is a relative name.
  2417. MKDIR_P="$ac_install_sh -d"
  2418. fi
  2419. fi
  2420. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2421. $as_echo "$MKDIR_P" >&6; }
  2422. mkdir_p="$MKDIR_P"
  2423. case $mkdir_p in
  2424. [\\/$]* | ?:[\\/]*) ;;
  2425. */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  2426. esac
  2427. for ac_prog in gawk mawk nawk awk
  2428. do
  2429. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2430. set dummy $ac_prog; ac_word=$2
  2431. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2432. $as_echo_n "checking for $ac_word... " >&6; }
  2433. if test "${ac_cv_prog_AWK+set}" = set; then :
  2434. $as_echo_n "(cached) " >&6
  2435. else
  2436. if test -n "$AWK"; then
  2437. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2438. else
  2439. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2440. for as_dir in $PATH
  2441. do
  2442. IFS=$as_save_IFS
  2443. test -z "$as_dir" && as_dir=.
  2444. for ac_exec_ext in '' $ac_executable_extensions; do
  2445. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2446. ac_cv_prog_AWK="$ac_prog"
  2447. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2448. break 2
  2449. fi
  2450. done
  2451. done
  2452. IFS=$as_save_IFS
  2453. fi
  2454. fi
  2455. AWK=$ac_cv_prog_AWK
  2456. if test -n "$AWK"; then
  2457. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2458. $as_echo "$AWK" >&6; }
  2459. else
  2460. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2461. $as_echo "no" >&6; }
  2462. fi
  2463. test -n "$AWK" && break
  2464. done
  2465. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2466. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2467. set x ${MAKE-make}
  2468. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2469. if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  2470. $as_echo_n "(cached) " >&6
  2471. else
  2472. cat >conftest.make <<\_ACEOF
  2473. SHELL = /bin/sh
  2474. all:
  2475. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2476. _ACEOF
  2477. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2478. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2479. *@@@%%%=?*=@@@%%%*)
  2480. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2481. *)
  2482. eval ac_cv_prog_make_${ac_make}_set=no;;
  2483. esac
  2484. rm -f conftest.make
  2485. fi
  2486. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2487. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2488. $as_echo "yes" >&6; }
  2489. SET_MAKE=
  2490. else
  2491. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2492. $as_echo "no" >&6; }
  2493. SET_MAKE="MAKE=${MAKE-make}"
  2494. fi
  2495. rm -rf .tst 2>/dev/null
  2496. mkdir .tst 2>/dev/null
  2497. if test -d .tst; then
  2498. am__leading_dot=.
  2499. else
  2500. am__leading_dot=_
  2501. fi
  2502. rmdir .tst 2>/dev/null
  2503. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2504. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2505. # is not polluted with repeated "-I."
  2506. am__isrc=' -I$(srcdir)'
  2507. # test to see if srcdir already configured
  2508. if test -f $srcdir/config.status; then
  2509. as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2510. fi
  2511. fi
  2512. # test whether we have cygpath
  2513. if test -z "$CYGPATH_W"; then
  2514. if (cygpath --version) >/dev/null 2>/dev/null; then
  2515. CYGPATH_W='cygpath -w'
  2516. else
  2517. CYGPATH_W=echo
  2518. fi
  2519. fi
  2520. # Define the identity of the package.
  2521. PACKAGE=libenet.a
  2522. VERSION=1-8-2008
  2523. cat >>confdefs.h <<_ACEOF
  2524. #define PACKAGE "$PACKAGE"
  2525. _ACEOF
  2526. cat >>confdefs.h <<_ACEOF
  2527. #define VERSION "$VERSION"
  2528. _ACEOF
  2529. # Some tools Automake needs.
  2530. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2531. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2532. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2533. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2534. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2535. # We need awk for the "check" target. The system "awk" is bad on
  2536. # some platforms.
  2537. # Always define AMTAR for backward compatibility.
  2538. AMTAR=${AMTAR-"${am_missing_run}tar"}
  2539. am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2540. ac_ext=c
  2541. ac_cpp='$CPP $CPPFLAGS'
  2542. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2543. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2544. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2545. if test -n "$ac_tool_prefix"; then
  2546. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2547. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2548. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2549. $as_echo_n "checking for $ac_word... " >&6; }
  2550. if test "${ac_cv_prog_CC+set}" = set; then :
  2551. $as_echo_n "(cached) " >&6
  2552. else
  2553. if test -n "$CC"; then
  2554. ac_cv_prog_CC="$CC" # Let the user override the test.
  2555. else
  2556. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2557. for as_dir in $PATH
  2558. do
  2559. IFS=$as_save_IFS
  2560. test -z "$as_dir" && as_dir=.
  2561. for ac_exec_ext in '' $ac_executable_extensions; do
  2562. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2563. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2564. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2565. break 2
  2566. fi
  2567. done
  2568. done
  2569. IFS=$as_save_IFS
  2570. fi
  2571. fi
  2572. CC=$ac_cv_prog_CC
  2573. if test -n "$CC"; then
  2574. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2575. $as_echo "$CC" >&6; }
  2576. else
  2577. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2578. $as_echo "no" >&6; }
  2579. fi
  2580. fi
  2581. if test -z "$ac_cv_prog_CC"; then
  2582. ac_ct_CC=$CC
  2583. # Extract the first word of "gcc", so it can be a program name with args.
  2584. set dummy gcc; ac_word=$2
  2585. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2586. $as_echo_n "checking for $ac_word... " >&6; }
  2587. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  2588. $as_echo_n "(cached) " >&6
  2589. else
  2590. if test -n "$ac_ct_CC"; then
  2591. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2592. else
  2593. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2594. for as_dir in $PATH
  2595. do
  2596. IFS=$as_save_IFS
  2597. test -z "$as_dir" && as_dir=.
  2598. for ac_exec_ext in '' $ac_executable_extensions; do
  2599. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2600. ac_cv_prog_ac_ct_CC="gcc"
  2601. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2602. break 2
  2603. fi
  2604. done
  2605. done
  2606. IFS=$as_save_IFS
  2607. fi
  2608. fi
  2609. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2610. if test -n "$ac_ct_CC"; then
  2611. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2612. $as_echo "$ac_ct_CC" >&6; }
  2613. else
  2614. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2615. $as_echo "no" >&6; }
  2616. fi
  2617. if test "x$ac_ct_CC" = x; then
  2618. CC=""
  2619. else
  2620. case $cross_compiling:$ac_tool_warned in
  2621. yes:)
  2622. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2623. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2624. ac_tool_warned=yes ;;
  2625. esac
  2626. CC=$ac_ct_CC
  2627. fi
  2628. else
  2629. CC="$ac_cv_prog_CC"
  2630. fi
  2631. if test -z "$CC"; then
  2632. if test -n "$ac_tool_prefix"; then
  2633. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2634. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2635. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2636. $as_echo_n "checking for $ac_word... " >&6; }
  2637. if test "${ac_cv_prog_CC+set}" = set; then :
  2638. $as_echo_n "(cached) " >&6
  2639. else
  2640. if test -n "$CC"; then
  2641. ac_cv_prog_CC="$CC" # Let the user override the test.
  2642. else
  2643. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2644. for as_dir in $PATH
  2645. do
  2646. IFS=$as_save_IFS
  2647. test -z "$as_dir" && as_dir=.
  2648. for ac_exec_ext in '' $ac_executable_extensions; do
  2649. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2650. ac_cv_prog_CC="${ac_tool_prefix}cc"
  2651. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2652. break 2
  2653. fi
  2654. done
  2655. done
  2656. IFS=$as_save_IFS
  2657. fi
  2658. fi
  2659. CC=$ac_cv_prog_CC
  2660. if test -n "$CC"; then
  2661. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2662. $as_echo "$CC" >&6; }
  2663. else
  2664. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2665. $as_echo "no" >&6; }
  2666. fi
  2667. fi
  2668. fi
  2669. if test -z "$CC"; then
  2670. # Extract the first word of "cc", so it can be a program name with args.
  2671. set dummy cc; ac_word=$2
  2672. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2673. $as_echo_n "checking for $ac_word... " >&6; }
  2674. if test "${ac_cv_prog_CC+set}" = set; then :
  2675. $as_echo_n "(cached) " >&6
  2676. else
  2677. if test -n "$CC"; then
  2678. ac_cv_prog_CC="$CC" # Let the user override the test.
  2679. else
  2680. ac_prog_rejected=no
  2681. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2682. for as_dir in $PATH
  2683. do
  2684. IFS=$as_save_IFS
  2685. test -z "$as_dir" && as_dir=.
  2686. for ac_exec_ext in '' $ac_executable_extensions; do
  2687. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2688. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2689. ac_prog_rejected=yes
  2690. continue
  2691. fi
  2692. ac_cv_prog_CC="cc"
  2693. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2694. break 2
  2695. fi
  2696. done
  2697. done
  2698. IFS=$as_save_IFS
  2699. if test $ac_prog_rejected = yes; then
  2700. # We found a bogon in the path, so make sure we never use it.
  2701. set dummy $ac_cv_prog_CC
  2702. shift
  2703. if test $# != 0; then
  2704. # We chose a different compiler from the bogus one.
  2705. # However, it has the same basename, so the bogon will be chosen
  2706. # first if we set CC to just the basename; use the full file name.
  2707. shift
  2708. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2709. fi
  2710. fi
  2711. fi
  2712. fi
  2713. CC=$ac_cv_prog_CC
  2714. if test -n "$CC"; then
  2715. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2716. $as_echo "$CC" >&6; }
  2717. else
  2718. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2719. $as_echo "no" >&6; }
  2720. fi
  2721. fi
  2722. if test -z "$CC"; then
  2723. if test -n "$ac_tool_prefix"; then
  2724. for ac_prog in cl.exe
  2725. do
  2726. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2727. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2728. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2729. $as_echo_n "checking for $ac_word... " >&6; }
  2730. if test "${ac_cv_prog_CC+set}" = set; then :
  2731. $as_echo_n "(cached) " >&6
  2732. else
  2733. if test -n "$CC"; then
  2734. ac_cv_prog_CC="$CC" # Let the user override the test.
  2735. else
  2736. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2737. for as_dir in $PATH
  2738. do
  2739. IFS=$as_save_IFS
  2740. test -z "$as_dir" && as_dir=.
  2741. for ac_exec_ext in '' $ac_executable_extensions; do
  2742. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2743. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2744. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2745. break 2
  2746. fi
  2747. done
  2748. done
  2749. IFS=$as_save_IFS
  2750. fi
  2751. fi
  2752. CC=$ac_cv_prog_CC
  2753. if test -n "$CC"; then
  2754. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2755. $as_echo "$CC" >&6; }
  2756. else
  2757. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2758. $as_echo "no" >&6; }
  2759. fi
  2760. test -n "$CC" && break
  2761. done
  2762. fi
  2763. if test -z "$CC"; then
  2764. ac_ct_CC=$CC
  2765. for ac_prog in cl.exe
  2766. do
  2767. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2768. set dummy $ac_prog; ac_word=$2
  2769. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2770. $as_echo_n "checking for $ac_word... " >&6; }
  2771. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  2772. $as_echo_n "(cached) " >&6
  2773. else
  2774. if test -n "$ac_ct_CC"; then
  2775. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2776. else
  2777. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2778. for as_dir in $PATH
  2779. do
  2780. IFS=$as_save_IFS
  2781. test -z "$as_dir" && as_dir=.
  2782. for ac_exec_ext in '' $ac_executable_extensions; do
  2783. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2784. ac_cv_prog_ac_ct_CC="$ac_prog"
  2785. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2786. break 2
  2787. fi
  2788. done
  2789. done
  2790. IFS=$as_save_IFS
  2791. fi
  2792. fi
  2793. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2794. if test -n "$ac_ct_CC"; then
  2795. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2796. $as_echo "$ac_ct_CC" >&6; }
  2797. else
  2798. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2799. $as_echo "no" >&6; }
  2800. fi
  2801. test -n "$ac_ct_CC" && break
  2802. done
  2803. if test "x$ac_ct_CC" = x; then
  2804. CC=""
  2805. else
  2806. case $cross_compiling:$ac_tool_warned in
  2807. yes:)
  2808. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2809. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2810. ac_tool_warned=yes ;;
  2811. esac
  2812. CC=$ac_ct_CC
  2813. fi
  2814. fi
  2815. fi
  2816. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2817. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2818. as_fn_error "no acceptable C compiler found in \$PATH
  2819. See \`config.log' for more details." "$LINENO" 5; }
  2820. # Provide some information about the compiler.
  2821. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  2822. set X $ac_compile
  2823. ac_compiler=$2
  2824. for ac_option in --version -v -V -qversion; do
  2825. { { ac_try="$ac_compiler $ac_option >&5"
  2826. case "(($ac_try" in
  2827. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2828. *) ac_try_echo=$ac_try;;
  2829. esac
  2830. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2831. $as_echo "$ac_try_echo"; } >&5
  2832. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2833. ac_status=$?
  2834. if test -s conftest.err; then
  2835. sed '10a\
  2836. ... rest of stderr output deleted ...
  2837. 10q' conftest.err >conftest.er1
  2838. cat conftest.er1 >&5
  2839. fi
  2840. rm -f conftest.er1 conftest.err
  2841. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2842. test $ac_status = 0; }
  2843. done
  2844. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2845. /* end confdefs.h. */
  2846. int
  2847. main ()
  2848. {
  2849. ;
  2850. return 0;
  2851. }
  2852. _ACEOF
  2853. ac_clean_files_save=$ac_clean_files
  2854. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2855. # Try to create an executable without -o first, disregard a.out.
  2856. # It will help us diagnose broken compilers, and finding out an intuition
  2857. # of exeext.
  2858. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  2859. $as_echo_n "checking whether the C compiler works... " >&6; }
  2860. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2861. # The possible output files:
  2862. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2863. ac_rmfiles=
  2864. for ac_file in $ac_files
  2865. do
  2866. case $ac_file in
  2867. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2868. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2869. esac
  2870. done
  2871. rm -f $ac_rmfiles
  2872. if { { ac_try="$ac_link_default"
  2873. case "(($ac_try" in
  2874. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2875. *) ac_try_echo=$ac_try;;
  2876. esac
  2877. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2878. $as_echo "$ac_try_echo"; } >&5
  2879. (eval "$ac_link_default") 2>&5
  2880. ac_status=$?
  2881. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2882. test $ac_status = 0; }; then :
  2883. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2884. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2885. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  2886. # so that the user can short-circuit this test for compilers unknown to
  2887. # Autoconf.
  2888. for ac_file in $ac_files ''
  2889. do
  2890. test -f "$ac_file" || continue
  2891. case $ac_file in
  2892. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2893. ;;
  2894. [ab].out )
  2895. # We found the default executable, but exeext='' is most
  2896. # certainly right.
  2897. break;;
  2898. *.* )
  2899. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2900. then :; else
  2901. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2902. fi
  2903. # We set ac_cv_exeext here because the later test for it is not
  2904. # safe: cross compilers may not add the suffix if given an `-o'
  2905. # argument, so we may need to know it at that point already.
  2906. # Even if this section looks crufty: it has the advantage of
  2907. # actually working.
  2908. break;;
  2909. * )
  2910. break;;
  2911. esac
  2912. done
  2913. test "$ac_cv_exeext" = no && ac_cv_exeext=
  2914. else
  2915. ac_file=''
  2916. fi
  2917. if test -z "$ac_file"; then :
  2918. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2919. $as_echo "no" >&6; }
  2920. $as_echo "$as_me: failed program was:" >&5
  2921. sed 's/^/| /' conftest.$ac_ext >&5
  2922. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2923. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2924. { as_fn_set_status 77
  2925. as_fn_error "C compiler cannot create executables
  2926. See \`config.log' for more details." "$LINENO" 5; }; }
  2927. else
  2928. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2929. $as_echo "yes" >&6; }
  2930. fi
  2931. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  2932. $as_echo_n "checking for C compiler default output file name... " >&6; }
  2933. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  2934. $as_echo "$ac_file" >&6; }
  2935. ac_exeext=$ac_cv_exeext
  2936. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  2937. ac_clean_files=$ac_clean_files_save
  2938. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  2939. $as_echo_n "checking for suffix of executables... " >&6; }
  2940. if { { ac_try="$ac_link"
  2941. case "(($ac_try" in
  2942. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2943. *) ac_try_echo=$ac_try;;
  2944. esac
  2945. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2946. $as_echo "$ac_try_echo"; } >&5
  2947. (eval "$ac_link") 2>&5
  2948. ac_status=$?
  2949. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2950. test $ac_status = 0; }; then :
  2951. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2952. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  2953. # work properly (i.e., refer to `conftest.exe'), while it won't with
  2954. # `rm'.
  2955. for ac_file in conftest.exe conftest conftest.*; do
  2956. test -f "$ac_file" || continue
  2957. case $ac_file in
  2958. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2959. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2960. break;;
  2961. * ) break;;
  2962. esac
  2963. done
  2964. else
  2965. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2966. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2967. as_fn_error "cannot compute suffix of executables: cannot compile and link
  2968. See \`config.log' for more details." "$LINENO" 5; }
  2969. fi
  2970. rm -f conftest conftest$ac_cv_exeext
  2971. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  2972. $as_echo "$ac_cv_exeext" >&6; }
  2973. rm -f conftest.$ac_ext
  2974. EXEEXT=$ac_cv_exeext
  2975. ac_exeext=$EXEEXT
  2976. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2977. /* end confdefs.h. */
  2978. #include <stdio.h>
  2979. int
  2980. main ()
  2981. {
  2982. FILE *f = fopen ("conftest.out", "w");
  2983. return ferror (f) || fclose (f) != 0;
  2984. ;
  2985. return 0;
  2986. }
  2987. _ACEOF
  2988. ac_clean_files="$ac_clean_files conftest.out"
  2989. # Check that the compiler produces executables we can run. If not, either
  2990. # the compiler is broken, or we cross compile.
  2991. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  2992. $as_echo_n "checking whether we are cross compiling... " >&6; }
  2993. if test "$cross_compiling" != yes; then
  2994. { { ac_try="$ac_link"
  2995. case "(($ac_try" in
  2996. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2997. *) ac_try_echo=$ac_try;;
  2998. esac
  2999. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3000. $as_echo "$ac_try_echo"; } >&5
  3001. (eval "$ac_link") 2>&5
  3002. ac_status=$?
  3003. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3004. test $ac_status = 0; }
  3005. if { ac_try='./conftest$ac_cv_exeext'
  3006. { { case "(($ac_try" in
  3007. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3008. *) ac_try_echo=$ac_try;;
  3009. esac
  3010. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3011. $as_echo "$ac_try_echo"; } >&5
  3012. (eval "$ac_try") 2>&5
  3013. ac_status=$?
  3014. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3015. test $ac_status = 0; }; }; then
  3016. cross_compiling=no
  3017. else
  3018. if test "$cross_compiling" = maybe; then
  3019. cross_compiling=yes
  3020. else
  3021. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3022. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3023. as_fn_error "cannot run C compiled programs.
  3024. If you meant to cross compile, use \`--host'.
  3025. See \`config.log' for more details." "$LINENO" 5; }
  3026. fi
  3027. fi
  3028. fi
  3029. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3030. $as_echo "$cross_compiling" >&6; }
  3031. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3032. ac_clean_files=$ac_clean_files_save
  3033. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3034. $as_echo_n "checking for suffix of object files... " >&6; }
  3035. if test "${ac_cv_objext+set}" = set; then :
  3036. $as_echo_n "(cached) " >&6
  3037. else
  3038. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3039. /* end confdefs.h. */
  3040. int
  3041. main ()
  3042. {
  3043. ;
  3044. return 0;
  3045. }
  3046. _ACEOF
  3047. rm -f conftest.o conftest.obj
  3048. if { { ac_try="$ac_compile"
  3049. case "(($ac_try" in
  3050. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3051. *) ac_try_echo=$ac_try;;
  3052. esac
  3053. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3054. $as_echo "$ac_try_echo"; } >&5
  3055. (eval "$ac_compile") 2>&5
  3056. ac_status=$?
  3057. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3058. test $ac_status = 0; }; then :
  3059. for ac_file in conftest.o conftest.obj conftest.*; do
  3060. test -f "$ac_file" || continue;
  3061. case $ac_file in
  3062. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3063. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3064. break;;
  3065. esac
  3066. done
  3067. else
  3068. $as_echo "$as_me: failed program was:" >&5
  3069. sed 's/^/| /' conftest.$ac_ext >&5
  3070. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3071. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3072. as_fn_error "cannot compute suffix of object files: cannot compile
  3073. See \`config.log' for more details." "$LINENO" 5; }
  3074. fi
  3075. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3076. fi
  3077. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3078. $as_echo "$ac_cv_objext" >&6; }
  3079. OBJEXT=$ac_cv_objext
  3080. ac_objext=$OBJEXT
  3081. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3082. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3083. if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  3084. $as_echo_n "(cached) " >&6
  3085. else
  3086. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3087. /* end confdefs.h. */
  3088. int
  3089. main ()
  3090. {
  3091. #ifndef __GNUC__
  3092. choke me
  3093. #endif
  3094. ;
  3095. return 0;
  3096. }
  3097. _ACEOF
  3098. if ac_fn_c_try_compile "$LINENO"; then :
  3099. ac_compiler_gnu=yes
  3100. else
  3101. ac_compiler_gnu=no
  3102. fi
  3103. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3104. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3105. fi
  3106. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3107. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3108. if test $ac_compiler_gnu = yes; then
  3109. GCC=yes
  3110. else
  3111. GCC=
  3112. fi
  3113. ac_test_CFLAGS=${CFLAGS+set}
  3114. ac_save_CFLAGS=$CFLAGS
  3115. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3116. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3117. if test "${ac_cv_prog_cc_g+set}" = set; then :
  3118. $as_echo_n "(cached) " >&6
  3119. else
  3120. ac_save_c_werror_flag=$ac_c_werror_flag
  3121. ac_c_werror_flag=yes
  3122. ac_cv_prog_cc_g=no
  3123. CFLAGS="-g"
  3124. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3125. /* end confdefs.h. */
  3126. int
  3127. main ()
  3128. {
  3129. ;
  3130. return 0;
  3131. }
  3132. _ACEOF
  3133. if ac_fn_c_try_compile "$LINENO"; then :
  3134. ac_cv_prog_cc_g=yes
  3135. else
  3136. CFLAGS=""
  3137. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3138. /* end confdefs.h. */
  3139. int
  3140. main ()
  3141. {
  3142. ;
  3143. return 0;
  3144. }
  3145. _ACEOF
  3146. if ac_fn_c_try_compile "$LINENO"; then :
  3147. else
  3148. ac_c_werror_flag=$ac_save_c_werror_flag
  3149. CFLAGS="-g"
  3150. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3151. /* end confdefs.h. */
  3152. int
  3153. main ()
  3154. {
  3155. ;
  3156. return 0;
  3157. }
  3158. _ACEOF
  3159. if ac_fn_c_try_compile "$LINENO"; then :
  3160. ac_cv_prog_cc_g=yes
  3161. fi
  3162. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3163. fi
  3164. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3165. fi
  3166. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3167. ac_c_werror_flag=$ac_save_c_werror_flag
  3168. fi
  3169. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3170. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3171. if test "$ac_test_CFLAGS" = set; then
  3172. CFLAGS=$ac_save_CFLAGS
  3173. elif test $ac_cv_prog_cc_g = yes; then
  3174. if test "$GCC" = yes; then
  3175. CFLAGS="-g -O2"
  3176. else
  3177. CFLAGS="-g"
  3178. fi
  3179. else
  3180. if test "$GCC" = yes; then
  3181. CFLAGS="-O2"
  3182. else
  3183. CFLAGS=
  3184. fi
  3185. fi
  3186. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3187. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3188. if test "${ac_cv_prog_cc_c89+set}" = set; then :
  3189. $as_echo_n "(cached) " >&6
  3190. else
  3191. ac_cv_prog_cc_c89=no
  3192. ac_save_CC=$CC
  3193. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3194. /* end confdefs.h. */
  3195. #include <stdarg.h>
  3196. #include <stdio.h>
  3197. #include <sys/types.h>
  3198. #include <sys/stat.h>
  3199. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3200. struct buf { int x; };
  3201. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3202. static char *e (p, i)
  3203. char **p;
  3204. int i;
  3205. {
  3206. return p[i];
  3207. }
  3208. static char *f (char * (*g) (char **, int), char **p, ...)
  3209. {
  3210. char *s;
  3211. va_list v;
  3212. va_start (v,p);
  3213. s = g (p, va_arg (v,int));
  3214. va_end (v);
  3215. return s;
  3216. }
  3217. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3218. function prototypes and stuff, but not '\xHH' hex character constants.
  3219. These don't provoke an error unfortunately, instead are silently treated
  3220. as 'x'. The following induces an error, until -std is added to get
  3221. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3222. array size at least. It's necessary to write '\x00'==0 to get something
  3223. that's true only with -std. */
  3224. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3225. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3226. inside strings and character constants. */
  3227. #define FOO(x) 'x'
  3228. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3229. int test (int i, double x);
  3230. struct s1 {int (*f) (int a);};
  3231. struct s2 {int (*f) (double a);};
  3232. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3233. int argc;
  3234. char **argv;
  3235. int
  3236. main ()
  3237. {
  3238. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3239. ;
  3240. return 0;
  3241. }
  3242. _ACEOF
  3243. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3244. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3245. do
  3246. CC="$ac_save_CC $ac_arg"
  3247. if ac_fn_c_try_compile "$LINENO"; then :
  3248. ac_cv_prog_cc_c89=$ac_arg
  3249. fi
  3250. rm -f core conftest.err conftest.$ac_objext
  3251. test "x$ac_cv_prog_cc_c89" != "xno" && break
  3252. done
  3253. rm -f conftest.$ac_ext
  3254. CC=$ac_save_CC
  3255. fi
  3256. # AC_CACHE_VAL
  3257. case "x$ac_cv_prog_cc_c89" in
  3258. x)
  3259. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3260. $as_echo "none needed" >&6; } ;;
  3261. xno)
  3262. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3263. $as_echo "unsupported" >&6; } ;;
  3264. *)
  3265. CC="$CC $ac_cv_prog_cc_c89"
  3266. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3267. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3268. esac
  3269. if test "x$ac_cv_prog_cc_c89" != xno; then :
  3270. fi
  3271. ac_ext=c
  3272. ac_cpp='$CPP $CPPFLAGS'
  3273. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3274. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3275. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3276. DEPDIR="${am__leading_dot}deps"
  3277. ac_config_commands="$ac_config_commands depfiles"
  3278. am_make=${MAKE-make}
  3279. cat > confinc << 'END'
  3280. am__doit:
  3281. @echo this is the am__doit target
  3282. .PHONY: am__doit
  3283. END
  3284. # If we don't find an include directive, just comment out the code.
  3285. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  3286. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  3287. am__include="#"
  3288. am__quote=
  3289. _am_result=none
  3290. # First try GNU make style include.
  3291. echo "include confinc" > confmf
  3292. # Ignore all kinds of additional output from `make'.
  3293. case `$am_make -s -f confmf 2> /dev/null` in #(
  3294. *the\ am__doit\ target*)
  3295. am__include=include
  3296. am__quote=
  3297. _am_result=GNU
  3298. ;;
  3299. esac
  3300. # Now try BSD make style include.
  3301. if test "$am__include" = "#"; then
  3302. echo '.include "confinc"' > confmf
  3303. case `$am_make -s -f confmf 2> /dev/null` in #(
  3304. *the\ am__doit\ target*)
  3305. am__include=.include
  3306. am__quote="\""
  3307. _am_result=BSD
  3308. ;;
  3309. esac
  3310. fi
  3311. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  3312. $as_echo "$_am_result" >&6; }
  3313. rm -f confinc confmf
  3314. # Check whether --enable-dependency-tracking was given.
  3315. if test "${enable_dependency_tracking+set}" = set; then :
  3316. enableval=$enable_dependency_tracking;
  3317. fi
  3318. if test "x$enable_dependency_tracking" != xno; then
  3319. am_depcomp="$ac_aux_dir/depcomp"
  3320. AMDEPBACKSLASH='\'
  3321. fi
  3322. if test "x$enable_dependency_tracking" != xno; then
  3323. AMDEP_TRUE=
  3324. AMDEP_FALSE='#'
  3325. else
  3326. AMDEP_TRUE='#'
  3327. AMDEP_FALSE=
  3328. fi
  3329. depcc="$CC" am_compiler_list=
  3330. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3331. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3332. if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  3333. $as_echo_n "(cached) " >&6
  3334. else
  3335. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3336. # We make a subdir and do the tests there. Otherwise we can end up
  3337. # making bogus files that we don't know about and never remove. For
  3338. # instance it was reported that on HP-UX the gcc test will end up
  3339. # making a dummy file named `D' -- because `-MD' means `put the output
  3340. # in D'.
  3341. mkdir conftest.dir
  3342. # Copy depcomp to subdir because otherwise we won't find it if we're
  3343. # using a relative directory.
  3344. cp "$am_depcomp" conftest.dir
  3345. cd conftest.dir
  3346. # We will build objects and dependencies in a subdirectory because
  3347. # it helps to detect inapplicable dependency modes. For instance
  3348. # both Tru64's cc and ICC support -MD to output dependencies as a
  3349. # side effect of compilation, but ICC will put the dependencies in
  3350. # the current directory while Tru64 will put them in the object
  3351. # directory.
  3352. mkdir sub
  3353. am_cv_CC_dependencies_compiler_type=none
  3354. if test "$am_compiler_list" = ""; then
  3355. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3356. fi
  3357. am__universal=false
  3358. case " $depcc " in #(
  3359. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3360. esac
  3361. for depmode in $am_compiler_list; do
  3362. # Setup a source with many dependencies, because some compilers
  3363. # like to wrap large dependency lists on column 80 (with \), and
  3364. # we should not choose a depcomp mode which is confused by this.
  3365. #
  3366. # We need to recreate these files for each test, as the compiler may
  3367. # overwrite some of them when testing with obscure command lines.
  3368. # This happens at least with the AIX C compiler.
  3369. : > sub/conftest.c
  3370. for i in 1 2 3 4 5 6; do
  3371. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3372. # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3373. # Solaris 8's {/usr,}/bin/sh.
  3374. touch sub/conftst$i.h
  3375. done
  3376. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3377. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3378. # mode. It turns out that the SunPro C++ compiler does not properly
  3379. # handle `-M -o', and we need to detect this. Also, some Intel
  3380. # versions had trouble with output in subdirs
  3381. am__obj=sub/conftest.${OBJEXT-o}
  3382. am__minus_obj="-o $am__obj"
  3383. case $depmode in
  3384. gcc)
  3385. # This depmode causes a compiler race in universal mode.
  3386. test "$am__universal" = false || continue
  3387. ;;
  3388. nosideeffect)
  3389. # after this tag, mechanisms are not by side-effect, so they'll
  3390. # only be used when explicitly requested
  3391. if test "x$enable_dependency_tracking" = xyes; then
  3392. continue
  3393. else
  3394. break
  3395. fi
  3396. ;;
  3397. msvisualcpp | msvcmsys)
  3398. # This compiler won't grok `-c -o', but also, the minuso test has
  3399. # not run yet. These depmodes are late enough in the game, and
  3400. # so weak that their functioning should not be impacted.
  3401. am__obj=conftest.${OBJEXT-o}
  3402. am__minus_obj=
  3403. ;;
  3404. none) break ;;
  3405. esac
  3406. if depmode=$depmode \
  3407. source=sub/conftest.c object=$am__obj \
  3408. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3409. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3410. >/dev/null 2>conftest.err &&
  3411. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3412. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3413. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3414. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3415. # icc doesn't choke on unknown options, it will just issue warnings
  3416. # or remarks (even with -Werror). So we grep stderr for any message
  3417. # that says an option was ignored or not supported.
  3418. # When given -MP, icc 7.0 and 7.1 complain thusly:
  3419. # icc: Command line warning: ignoring option '-M'; no argument required
  3420. # The diagnosis changed in icc 8.0:
  3421. # icc: Command line remark: option '-MP' not supported
  3422. if (grep 'ignoring option' conftest.err ||
  3423. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3424. am_cv_CC_dependencies_compiler_type=$depmode
  3425. break
  3426. fi
  3427. fi
  3428. done
  3429. cd ..
  3430. rm -rf conftest.dir
  3431. else
  3432. am_cv_CC_dependencies_compiler_type=none
  3433. fi
  3434. fi
  3435. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  3436. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3437. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3438. if
  3439. test "x$enable_dependency_tracking" != xno \
  3440. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3441. am__fastdepCC_TRUE=
  3442. am__fastdepCC_FALSE='#'
  3443. else
  3444. am__fastdepCC_TRUE='#'
  3445. am__fastdepCC_FALSE=
  3446. fi
  3447. if test -n "$ac_tool_prefix"; then
  3448. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  3449. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  3450. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3451. $as_echo_n "checking for $ac_word... " >&6; }
  3452. if test "${ac_cv_prog_RANLIB+set}" = set; then :
  3453. $as_echo_n "(cached) " >&6
  3454. else
  3455. if test -n "$RANLIB"; then
  3456. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  3457. else
  3458. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3459. for as_dir in $PATH
  3460. do
  3461. IFS=$as_save_IFS
  3462. test -z "$as_dir" && as_dir=.
  3463. for ac_exec_ext in '' $ac_executable_extensions; do
  3464. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3465. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  3466. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3467. break 2
  3468. fi
  3469. done
  3470. done
  3471. IFS=$as_save_IFS
  3472. fi
  3473. fi
  3474. RANLIB=$ac_cv_prog_RANLIB
  3475. if test -n "$RANLIB"; then
  3476. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  3477. $as_echo "$RANLIB" >&6; }
  3478. else
  3479. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3480. $as_echo "no" >&6; }
  3481. fi
  3482. fi
  3483. if test -z "$ac_cv_prog_RANLIB"; then
  3484. ac_ct_RANLIB=$RANLIB
  3485. # Extract the first word of "ranlib", so it can be a program name with args.
  3486. set dummy ranlib; ac_word=$2
  3487. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3488. $as_echo_n "checking for $ac_word... " >&6; }
  3489. if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  3490. $as_echo_n "(cached) " >&6
  3491. else
  3492. if test -n "$ac_ct_RANLIB"; then
  3493. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  3494. else
  3495. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3496. for as_dir in $PATH
  3497. do
  3498. IFS=$as_save_IFS
  3499. test -z "$as_dir" && as_dir=.
  3500. for ac_exec_ext in '' $ac_executable_extensions; do
  3501. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3502. ac_cv_prog_ac_ct_RANLIB="ranlib"
  3503. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3504. break 2
  3505. fi
  3506. done
  3507. done
  3508. IFS=$as_save_IFS
  3509. fi
  3510. fi
  3511. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  3512. if test -n "$ac_ct_RANLIB"; then
  3513. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  3514. $as_echo "$ac_ct_RANLIB" >&6; }
  3515. else
  3516. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3517. $as_echo "no" >&6; }
  3518. fi
  3519. if test "x$ac_ct_RANLIB" = x; then
  3520. RANLIB=":"
  3521. else
  3522. case $cross_compiling:$ac_tool_warned in
  3523. yes:)
  3524. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3525. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3526. ac_tool_warned=yes ;;
  3527. esac
  3528. RANLIB=$ac_ct_RANLIB
  3529. fi
  3530. else
  3531. RANLIB="$ac_cv_prog_RANLIB"
  3532. fi
  3533. case `pwd` in
  3534. *\ * | *\ *)
  3535. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  3536. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  3537. esac
  3538. macro_version='2.2.6b'
  3539. macro_revision='1.3017'
  3540. ltmain="$ac_aux_dir/ltmain.sh"
  3541. # Make sure we can run config.sub.
  3542. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  3543. as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  3544. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  3545. $as_echo_n "checking build system type... " >&6; }
  3546. if test "${ac_cv_build+set}" = set; then :
  3547. $as_echo_n "(cached) " >&6
  3548. else
  3549. ac_build_alias=$build_alias
  3550. test "x$ac_build_alias" = x &&
  3551. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  3552. test "x$ac_build_alias" = x &&
  3553. as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
  3554. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  3555. as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  3556. fi
  3557. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  3558. $as_echo "$ac_cv_build" >&6; }
  3559. case $ac_cv_build in
  3560. *-*-*) ;;
  3561. *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
  3562. esac
  3563. build=$ac_cv_build
  3564. ac_save_IFS=$IFS; IFS='-'
  3565. set x $ac_cv_build
  3566. shift
  3567. build_cpu=$1
  3568. build_vendor=$2
  3569. shift; shift
  3570. # Remember, the first character of IFS is used to create $*,
  3571. # except with old shells:
  3572. build_os=$*
  3573. IFS=$ac_save_IFS
  3574. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  3575. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  3576. $as_echo_n "checking host system type... " >&6; }
  3577. if test "${ac_cv_host+set}" = set; then :
  3578. $as_echo_n "(cached) " >&6
  3579. else
  3580. if test "x$host_alias" = x; then
  3581. ac_cv_host=$ac_cv_build
  3582. else
  3583. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  3584. as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  3585. fi
  3586. fi
  3587. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  3588. $as_echo "$ac_cv_host" >&6; }
  3589. case $ac_cv_host in
  3590. *-*-*) ;;
  3591. *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
  3592. esac
  3593. host=$ac_cv_host
  3594. ac_save_IFS=$IFS; IFS='-'
  3595. set x $ac_cv_host
  3596. shift
  3597. host_cpu=$1
  3598. host_vendor=$2
  3599. shift; shift
  3600. # Remember, the first character of IFS is used to create $*,
  3601. # except with old shells:
  3602. host_os=$*
  3603. IFS=$ac_save_IFS
  3604. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  3605. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  3606. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  3607. if test "${ac_cv_path_SED+set}" = set; then :
  3608. $as_echo_n "(cached) " >&6
  3609. else
  3610. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  3611. for ac_i in 1 2 3 4 5 6 7; do
  3612. ac_script="$ac_script$as_nl$ac_script"
  3613. done
  3614. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  3615. { ac_script=; unset ac_script;}
  3616. if test -z "$SED"; then
  3617. ac_path_SED_found=false
  3618. # Loop through the user's path and test for each of PROGNAME-LIST
  3619. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3620. for as_dir in $PATH
  3621. do
  3622. IFS=$as_save_IFS
  3623. test -z "$as_dir" && as_dir=.
  3624. for ac_prog in sed gsed; do
  3625. for ac_exec_ext in '' $ac_executable_extensions; do
  3626. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  3627. { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  3628. # Check for GNU ac_path_SED and select it if it is found.
  3629. # Check for GNU $ac_path_SED
  3630. case `"$ac_path_SED" --version 2>&1` in
  3631. *GNU*)
  3632. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  3633. *)
  3634. ac_count=0
  3635. $as_echo_n 0123456789 >"conftest.in"
  3636. while :
  3637. do
  3638. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3639. mv "conftest.tmp" "conftest.in"
  3640. cp "conftest.in" "conftest.nl"
  3641. $as_echo '' >> "conftest.nl"
  3642. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3643. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3644. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3645. if test $ac_count -gt ${ac_path_SED_max-0}; then
  3646. # Best one so far, save it but keep looking for a better one
  3647. ac_cv_path_SED="$ac_path_SED"
  3648. ac_path_SED_max=$ac_count
  3649. fi
  3650. # 10*(2^10) chars as input seems more than enough
  3651. test $ac_count -gt 10 && break
  3652. done
  3653. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3654. esac
  3655. $ac_path_SED_found && break 3
  3656. done
  3657. done
  3658. done
  3659. IFS=$as_save_IFS
  3660. if test -z "$ac_cv_path_SED"; then
  3661. as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
  3662. fi
  3663. else
  3664. ac_cv_path_SED=$SED
  3665. fi
  3666. fi
  3667. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  3668. $as_echo "$ac_cv_path_SED" >&6; }
  3669. SED="$ac_cv_path_SED"
  3670. rm -f conftest.sed
  3671. test -z "$SED" && SED=sed
  3672. Xsed="$SED -e 1s/^X//"
  3673. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  3674. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  3675. if test "${ac_cv_path_GREP+set}" = set; then :
  3676. $as_echo_n "(cached) " >&6
  3677. else
  3678. if test -z "$GREP"; then
  3679. ac_path_GREP_found=false
  3680. # Loop through the user's path and test for each of PROGNAME-LIST
  3681. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3682. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3683. do
  3684. IFS=$as_save_IFS
  3685. test -z "$as_dir" && as_dir=.
  3686. for ac_prog in grep ggrep; do
  3687. for ac_exec_ext in '' $ac_executable_extensions; do
  3688. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3689. { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  3690. # Check for GNU ac_path_GREP and select it if it is found.
  3691. # Check for GNU $ac_path_GREP
  3692. case `"$ac_path_GREP" --version 2>&1` in
  3693. *GNU*)
  3694. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3695. *)
  3696. ac_count=0
  3697. $as_echo_n 0123456789 >"conftest.in"
  3698. while :
  3699. do
  3700. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3701. mv "conftest.tmp" "conftest.in"
  3702. cp "conftest.in" "conftest.nl"
  3703. $as_echo 'GREP' >> "conftest.nl"
  3704. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3705. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3706. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3707. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3708. # Best one so far, save it but keep looking for a better one
  3709. ac_cv_path_GREP="$ac_path_GREP"
  3710. ac_path_GREP_max=$ac_count
  3711. fi
  3712. # 10*(2^10) chars as input seems more than enough
  3713. test $ac_count -gt 10 && break
  3714. done
  3715. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3716. esac
  3717. $ac_path_GREP_found && break 3
  3718. done
  3719. done
  3720. done
  3721. IFS=$as_save_IFS
  3722. if test -z "$ac_cv_path_GREP"; then
  3723. as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3724. fi
  3725. else
  3726. ac_cv_path_GREP=$GREP
  3727. fi
  3728. fi
  3729. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  3730. $as_echo "$ac_cv_path_GREP" >&6; }
  3731. GREP="$ac_cv_path_GREP"
  3732. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  3733. $as_echo_n "checking for egrep... " >&6; }
  3734. if test "${ac_cv_path_EGREP+set}" = set; then :
  3735. $as_echo_n "(cached) " >&6
  3736. else
  3737. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3738. then ac_cv_path_EGREP="$GREP -E"
  3739. else
  3740. if test -z "$EGREP"; then
  3741. ac_path_EGREP_found=false
  3742. # Loop through the user's path and test for each of PROGNAME-LIST
  3743. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3744. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3745. do
  3746. IFS=$as_save_IFS
  3747. test -z "$as_dir" && as_dir=.
  3748. for ac_prog in egrep; do
  3749. for ac_exec_ext in '' $ac_executable_extensions; do
  3750. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3751. { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  3752. # Check for GNU ac_path_EGREP and select it if it is found.
  3753. # Check for GNU $ac_path_EGREP
  3754. case `"$ac_path_EGREP" --version 2>&1` in
  3755. *GNU*)
  3756. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3757. *)
  3758. ac_count=0
  3759. $as_echo_n 0123456789 >"conftest.in"
  3760. while :
  3761. do
  3762. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3763. mv "conftest.tmp" "conftest.in"
  3764. cp "conftest.in" "conftest.nl"
  3765. $as_echo 'EGREP' >> "conftest.nl"
  3766. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3767. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3768. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3769. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3770. # Best one so far, save it but keep looking for a better one
  3771. ac_cv_path_EGREP="$ac_path_EGREP"
  3772. ac_path_EGREP_max=$ac_count
  3773. fi
  3774. # 10*(2^10) chars as input seems more than enough
  3775. test $ac_count -gt 10 && break
  3776. done
  3777. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3778. esac
  3779. $ac_path_EGREP_found && break 3
  3780. done
  3781. done
  3782. done
  3783. IFS=$as_save_IFS
  3784. if test -z "$ac_cv_path_EGREP"; then
  3785. as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3786. fi
  3787. else
  3788. ac_cv_path_EGREP=$EGREP
  3789. fi
  3790. fi
  3791. fi
  3792. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  3793. $as_echo "$ac_cv_path_EGREP" >&6; }
  3794. EGREP="$ac_cv_path_EGREP"
  3795. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  3796. $as_echo_n "checking for fgrep... " >&6; }
  3797. if test "${ac_cv_path_FGREP+set}" = set; then :
  3798. $as_echo_n "(cached) " >&6
  3799. else
  3800. if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  3801. then ac_cv_path_FGREP="$GREP -F"
  3802. else
  3803. if test -z "$FGREP"; then
  3804. ac_path_FGREP_found=false
  3805. # Loop through the user's path and test for each of PROGNAME-LIST
  3806. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3807. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3808. do
  3809. IFS=$as_save_IFS
  3810. test -z "$as_dir" && as_dir=.
  3811. for ac_prog in fgrep; do
  3812. for ac_exec_ext in '' $ac_executable_extensions; do
  3813. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  3814. { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  3815. # Check for GNU ac_path_FGREP and select it if it is found.
  3816. # Check for GNU $ac_path_FGREP
  3817. case `"$ac_path_FGREP" --version 2>&1` in
  3818. *GNU*)
  3819. ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  3820. *)
  3821. ac_count=0
  3822. $as_echo_n 0123456789 >"conftest.in"
  3823. while :
  3824. do
  3825. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3826. mv "conftest.tmp" "conftest.in"
  3827. cp "conftest.in" "conftest.nl"
  3828. $as_echo 'FGREP' >> "conftest.nl"
  3829. "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3830. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3831. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3832. if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  3833. # Best one so far, save it but keep looking for a better one
  3834. ac_cv_path_FGREP="$ac_path_FGREP"
  3835. ac_path_FGREP_max=$ac_count
  3836. fi
  3837. # 10*(2^10) chars as input seems more than enough
  3838. test $ac_count -gt 10 && break
  3839. done
  3840. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3841. esac
  3842. $ac_path_FGREP_found && break 3
  3843. done
  3844. done
  3845. done
  3846. IFS=$as_save_IFS
  3847. if test -z "$ac_cv_path_FGREP"; then
  3848. as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3849. fi
  3850. else
  3851. ac_cv_path_FGREP=$FGREP
  3852. fi
  3853. fi
  3854. fi
  3855. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  3856. $as_echo "$ac_cv_path_FGREP" >&6; }
  3857. FGREP="$ac_cv_path_FGREP"
  3858. test -z "$GREP" && GREP=grep
  3859. # Check whether --with-gnu-ld was given.
  3860. if test "${with_gnu_ld+set}" = set; then :
  3861. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  3862. else
  3863. with_gnu_ld=no
  3864. fi
  3865. ac_prog=ld
  3866. if test "$GCC" = yes; then
  3867. # Check if gcc -print-prog-name=ld gives a path.
  3868. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  3869. $as_echo_n "checking for ld used by $CC... " >&6; }
  3870. case $host in
  3871. *-*-mingw*)
  3872. # gcc leaves a trailing carriage return which upsets mingw
  3873. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  3874. *)
  3875. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  3876. esac
  3877. case $ac_prog in
  3878. # Accept absolute paths.
  3879. [\\/]* | ?:[\\/]*)
  3880. re_direlt='/[^/][^/]*/\.\./'
  3881. # Canonicalize the pathname of ld
  3882. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  3883. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  3884. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  3885. done
  3886. test -z "$LD" && LD="$ac_prog"
  3887. ;;
  3888. "")
  3889. # If it fails, then pretend we aren't using GCC.
  3890. ac_prog=ld
  3891. ;;
  3892. *)
  3893. # If it is relative, then search for the first ld in PATH.
  3894. with_gnu_ld=unknown
  3895. ;;
  3896. esac
  3897. elif test "$with_gnu_ld" = yes; then
  3898. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  3899. $as_echo_n "checking for GNU ld... " >&6; }
  3900. else
  3901. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  3902. $as_echo_n "checking for non-GNU ld... " >&6; }
  3903. fi
  3904. if test "${lt_cv_path_LD+set}" = set; then :
  3905. $as_echo_n "(cached) " >&6
  3906. else
  3907. if test -z "$LD"; then
  3908. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  3909. for ac_dir in $PATH; do
  3910. IFS="$lt_save_ifs"
  3911. test -z "$ac_dir" && ac_dir=.
  3912. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  3913. lt_cv_path_LD="$ac_dir/$ac_prog"
  3914. # Check to see if the program is GNU ld. I'd rather use --version,
  3915. # but apparently some variants of GNU ld only accept -v.
  3916. # Break only if it was the GNU/non-GNU ld that we prefer.
  3917. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  3918. *GNU* | *'with BFD'*)
  3919. test "$with_gnu_ld" != no && break
  3920. ;;
  3921. *)
  3922. test "$with_gnu_ld" != yes && break
  3923. ;;
  3924. esac
  3925. fi
  3926. done
  3927. IFS="$lt_save_ifs"
  3928. else
  3929. lt_cv_path_LD="$LD" # Let the user override the test with a path.
  3930. fi
  3931. fi
  3932. LD="$lt_cv_path_LD"
  3933. if test -n "$LD"; then
  3934. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  3935. $as_echo "$LD" >&6; }
  3936. else
  3937. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3938. $as_echo "no" >&6; }
  3939. fi
  3940. test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
  3941. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  3942. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  3943. if test "${lt_cv_prog_gnu_ld+set}" = set; then :
  3944. $as_echo_n "(cached) " >&6
  3945. else
  3946. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  3947. case `$LD -v 2>&1 </dev/null` in
  3948. *GNU* | *'with BFD'*)
  3949. lt_cv_prog_gnu_ld=yes
  3950. ;;
  3951. *)
  3952. lt_cv_prog_gnu_ld=no
  3953. ;;
  3954. esac
  3955. fi
  3956. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  3957. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  3958. with_gnu_ld=$lt_cv_prog_gnu_ld
  3959. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  3960. $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  3961. if test "${lt_cv_path_NM+set}" = set; then :
  3962. $as_echo_n "(cached) " >&6
  3963. else
  3964. if test -n "$NM"; then
  3965. # Let the user override the test.
  3966. lt_cv_path_NM="$NM"
  3967. else
  3968. lt_nm_to_check="${ac_tool_prefix}nm"
  3969. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  3970. lt_nm_to_check="$lt_nm_to_check nm"
  3971. fi
  3972. for lt_tmp_nm in $lt_nm_to_check; do
  3973. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  3974. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  3975. IFS="$lt_save_ifs"
  3976. test -z "$ac_dir" && ac_dir=.
  3977. tmp_nm="$ac_dir/$lt_tmp_nm"
  3978. if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  3979. # Check to see if the nm accepts a BSD-compat flag.
  3980. # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  3981. # nm: unknown option "B" ignored
  3982. # Tru64's nm complains that /dev/null is an invalid object file
  3983. case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  3984. */dev/null* | *'Invalid file or object type'*)
  3985. lt_cv_path_NM="$tmp_nm -B"
  3986. break
  3987. ;;
  3988. *)
  3989. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  3990. */dev/null*)
  3991. lt_cv_path_NM="$tmp_nm -p"
  3992. break
  3993. ;;
  3994. *)
  3995. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  3996. continue # so that we can try to find one that supports BSD flags
  3997. ;;
  3998. esac
  3999. ;;
  4000. esac
  4001. fi
  4002. done
  4003. IFS="$lt_save_ifs"
  4004. done
  4005. : ${lt_cv_path_NM=no}
  4006. fi
  4007. fi
  4008. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  4009. $as_echo "$lt_cv_path_NM" >&6; }
  4010. if test "$lt_cv_path_NM" != "no"; then
  4011. NM="$lt_cv_path_NM"
  4012. else
  4013. # Didn't find any BSD compatible name lister, look for dumpbin.
  4014. if test -n "$ac_tool_prefix"; then
  4015. for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  4016. do
  4017. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4018. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4019. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4020. $as_echo_n "checking for $ac_word... " >&6; }
  4021. if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
  4022. $as_echo_n "(cached) " >&6
  4023. else
  4024. if test -n "$DUMPBIN"; then
  4025. ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  4026. else
  4027. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4028. for as_dir in $PATH
  4029. do
  4030. IFS=$as_save_IFS
  4031. test -z "$as_dir" && as_dir=.
  4032. for ac_exec_ext in '' $ac_executable_extensions; do
  4033. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4034. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  4035. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4036. break 2
  4037. fi
  4038. done
  4039. done
  4040. IFS=$as_save_IFS
  4041. fi
  4042. fi
  4043. DUMPBIN=$ac_cv_prog_DUMPBIN
  4044. if test -n "$DUMPBIN"; then
  4045. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  4046. $as_echo "$DUMPBIN" >&6; }
  4047. else
  4048. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4049. $as_echo "no" >&6; }
  4050. fi
  4051. test -n "$DUMPBIN" && break
  4052. done
  4053. fi
  4054. if test -z "$DUMPBIN"; then
  4055. ac_ct_DUMPBIN=$DUMPBIN
  4056. for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  4057. do
  4058. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4059. set dummy $ac_prog; ac_word=$2
  4060. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4061. $as_echo_n "checking for $ac_word... " >&6; }
  4062. if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
  4063. $as_echo_n "(cached) " >&6
  4064. else
  4065. if test -n "$ac_ct_DUMPBIN"; then
  4066. ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  4067. else
  4068. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4069. for as_dir in $PATH
  4070. do
  4071. IFS=$as_save_IFS
  4072. test -z "$as_dir" && as_dir=.
  4073. for ac_exec_ext in '' $ac_executable_extensions; do
  4074. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4075. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  4076. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4077. break 2
  4078. fi
  4079. done
  4080. done
  4081. IFS=$as_save_IFS
  4082. fi
  4083. fi
  4084. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  4085. if test -n "$ac_ct_DUMPBIN"; then
  4086. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  4087. $as_echo "$ac_ct_DUMPBIN" >&6; }
  4088. else
  4089. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4090. $as_echo "no" >&6; }
  4091. fi
  4092. test -n "$ac_ct_DUMPBIN" && break
  4093. done
  4094. if test "x$ac_ct_DUMPBIN" = x; then
  4095. DUMPBIN=":"
  4096. else
  4097. case $cross_compiling:$ac_tool_warned in
  4098. yes:)
  4099. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4100. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4101. ac_tool_warned=yes ;;
  4102. esac
  4103. DUMPBIN=$ac_ct_DUMPBIN
  4104. fi
  4105. fi
  4106. if test "$DUMPBIN" != ":"; then
  4107. NM="$DUMPBIN"
  4108. fi
  4109. fi
  4110. test -z "$NM" && NM=nm
  4111. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  4112. $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  4113. if test "${lt_cv_nm_interface+set}" = set; then :
  4114. $as_echo_n "(cached) " >&6
  4115. else
  4116. lt_cv_nm_interface="BSD nm"
  4117. echo "int some_variable = 0;" > conftest.$ac_ext
  4118. (eval echo "\"\$as_me:4573: $ac_compile\"" >&5)
  4119. (eval "$ac_compile" 2>conftest.err)
  4120. cat conftest.err >&5
  4121. (eval echo "\"\$as_me:4576: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  4122. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  4123. cat conftest.err >&5
  4124. (eval echo "\"\$as_me:4579: output\"" >&5)
  4125. cat conftest.out >&5
  4126. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  4127. lt_cv_nm_interface="MS dumpbin"
  4128. fi
  4129. rm -f conftest*
  4130. fi
  4131. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  4132. $as_echo "$lt_cv_nm_interface" >&6; }
  4133. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  4134. $as_echo_n "checking whether ln -s works... " >&6; }
  4135. LN_S=$as_ln_s
  4136. if test "$LN_S" = "ln -s"; then
  4137. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4138. $as_echo "yes" >&6; }
  4139. else
  4140. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  4141. $as_echo "no, using $LN_S" >&6; }
  4142. fi
  4143. # find the maximum length of command line arguments
  4144. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  4145. $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  4146. if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
  4147. $as_echo_n "(cached) " >&6
  4148. else
  4149. i=0
  4150. teststring="ABCD"
  4151. case $build_os in
  4152. msdosdjgpp*)
  4153. # On DJGPP, this test can blow up pretty badly due to problems in libc
  4154. # (any single argument exceeding 2000 bytes causes a buffer overrun
  4155. # during glob expansion). Even if it were fixed, the result of this
  4156. # check would be larger than it should be.
  4157. lt_cv_sys_max_cmd_len=12288; # 12K is about right
  4158. ;;
  4159. gnu*)
  4160. # Under GNU Hurd, this test is not required because there is
  4161. # no limit to the length of command line arguments.
  4162. # Libtool will interpret -1 as no limit whatsoever
  4163. lt_cv_sys_max_cmd_len=-1;
  4164. ;;
  4165. cygwin* | mingw* | cegcc*)
  4166. # On Win9x/ME, this test blows up -- it succeeds, but takes
  4167. # about 5 minutes as the teststring grows exponentially.
  4168. # Worse, since 9x/ME are not pre-emptively multitasking,
  4169. # you end up with a "frozen" computer, even though with patience
  4170. # the test eventually succeeds (with a max line length of 256k).
  4171. # Instead, let's just punt: use the minimum linelength reported by
  4172. # all of the supported platforms: 8192 (on NT/2K/XP).
  4173. lt_cv_sys_max_cmd_len=8192;
  4174. ;;
  4175. amigaos*)
  4176. # On AmigaOS with pdksh, this test takes hours, literally.
  4177. # So we just punt and use a minimum line length of 8192.
  4178. lt_cv_sys_max_cmd_len=8192;
  4179. ;;
  4180. netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  4181. # This has been around since 386BSD, at least. Likely further.
  4182. if test -x /sbin/sysctl; then
  4183. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  4184. elif test -x /usr/sbin/sysctl; then
  4185. lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  4186. else
  4187. lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  4188. fi
  4189. # And add a safety zone
  4190. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4191. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4192. ;;
  4193. interix*)
  4194. # We know the value 262144 and hardcode it with a safety zone (like BSD)
  4195. lt_cv_sys_max_cmd_len=196608
  4196. ;;
  4197. osf*)
  4198. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  4199. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  4200. # nice to cause kernel panics so lets avoid the loop below.
  4201. # First set a reasonable default.
  4202. lt_cv_sys_max_cmd_len=16384
  4203. #
  4204. if test -x /sbin/sysconfig; then
  4205. case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  4206. *1*) lt_cv_sys_max_cmd_len=-1 ;;
  4207. esac
  4208. fi
  4209. ;;
  4210. sco3.2v5*)
  4211. lt_cv_sys_max_cmd_len=102400
  4212. ;;
  4213. sysv5* | sco5v6* | sysv4.2uw2*)
  4214. kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  4215. if test -n "$kargmax"; then
  4216. lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  4217. else
  4218. lt_cv_sys_max_cmd_len=32768
  4219. fi
  4220. ;;
  4221. *)
  4222. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  4223. if test -n "$lt_cv_sys_max_cmd_len"; then
  4224. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4225. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4226. else
  4227. # Make teststring a little bigger before we do anything with it.
  4228. # a 1K string should be a reasonable start.
  4229. for i in 1 2 3 4 5 6 7 8 ; do
  4230. teststring=$teststring$teststring
  4231. done
  4232. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  4233. # If test is not a shell built-in, we'll probably end up computing a
  4234. # maximum length that is only half of the actual maximum length, but
  4235. # we can't tell.
  4236. while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  4237. = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  4238. test $i != 17 # 1/2 MB should be enough
  4239. do
  4240. i=`expr $i + 1`
  4241. teststring=$teststring$teststring
  4242. done
  4243. # Only check the string length outside the loop.
  4244. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  4245. teststring=
  4246. # Add a significant safety factor because C++ compilers can tack on
  4247. # massive amounts of additional arguments before passing them to the
  4248. # linker. It appears as though 1/2 is a usable value.
  4249. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  4250. fi
  4251. ;;
  4252. esac
  4253. fi
  4254. if test -n $lt_cv_sys_max_cmd_len ; then
  4255. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  4256. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  4257. else
  4258. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  4259. $as_echo "none" >&6; }
  4260. fi
  4261. max_cmd_len=$lt_cv_sys_max_cmd_len
  4262. : ${CP="cp -f"}
  4263. : ${MV="mv -f"}
  4264. : ${RM="rm -f"}
  4265. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  4266. $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  4267. # Try some XSI features
  4268. xsi_shell=no
  4269. ( _lt_dummy="a/b/c"
  4270. test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  4271. = c,a/b,, \
  4272. && eval 'test $(( 1 + 1 )) -eq 2 \
  4273. && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  4274. && xsi_shell=yes
  4275. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  4276. $as_echo "$xsi_shell" >&6; }
  4277. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  4278. $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  4279. lt_shell_append=no
  4280. ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  4281. >/dev/null 2>&1 \
  4282. && lt_shell_append=yes
  4283. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  4284. $as_echo "$lt_shell_append" >&6; }
  4285. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  4286. lt_unset=unset
  4287. else
  4288. lt_unset=false
  4289. fi
  4290. # test EBCDIC or ASCII
  4291. case `echo X|tr X '\101'` in
  4292. A) # ASCII based system
  4293. # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  4294. lt_SP2NL='tr \040 \012'
  4295. lt_NL2SP='tr \015\012 \040\040'
  4296. ;;
  4297. *) # EBCDIC based system
  4298. lt_SP2NL='tr \100 \n'
  4299. lt_NL2SP='tr \r\n \100\100'
  4300. ;;
  4301. esac
  4302. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  4303. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  4304. if test "${lt_cv_ld_reload_flag+set}" = set; then :
  4305. $as_echo_n "(cached) " >&6
  4306. else
  4307. lt_cv_ld_reload_flag='-r'
  4308. fi
  4309. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  4310. $as_echo "$lt_cv_ld_reload_flag" >&6; }
  4311. reload_flag=$lt_cv_ld_reload_flag
  4312. case $reload_flag in
  4313. "" | " "*) ;;
  4314. *) reload_flag=" $reload_flag" ;;
  4315. esac
  4316. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4317. case $host_os in
  4318. darwin*)
  4319. if test "$GCC" = yes; then
  4320. reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  4321. else
  4322. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4323. fi
  4324. ;;
  4325. esac
  4326. if test -n "$ac_tool_prefix"; then
  4327. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  4328. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  4329. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4330. $as_echo_n "checking for $ac_word... " >&6; }
  4331. if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
  4332. $as_echo_n "(cached) " >&6
  4333. else
  4334. if test -n "$OBJDUMP"; then
  4335. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  4336. else
  4337. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4338. for as_dir in $PATH
  4339. do
  4340. IFS=$as_save_IFS
  4341. test -z "$as_dir" && as_dir=.
  4342. for ac_exec_ext in '' $ac_executable_extensions; do
  4343. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4344. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  4345. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4346. break 2
  4347. fi
  4348. done
  4349. done
  4350. IFS=$as_save_IFS
  4351. fi
  4352. fi
  4353. OBJDUMP=$ac_cv_prog_OBJDUMP
  4354. if test -n "$OBJDUMP"; then
  4355. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  4356. $as_echo "$OBJDUMP" >&6; }
  4357. else
  4358. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4359. $as_echo "no" >&6; }
  4360. fi
  4361. fi
  4362. if test -z "$ac_cv_prog_OBJDUMP"; then
  4363. ac_ct_OBJDUMP=$OBJDUMP
  4364. # Extract the first word of "objdump", so it can be a program name with args.
  4365. set dummy objdump; ac_word=$2
  4366. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4367. $as_echo_n "checking for $ac_word... " >&6; }
  4368. if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
  4369. $as_echo_n "(cached) " >&6
  4370. else
  4371. if test -n "$ac_ct_OBJDUMP"; then
  4372. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  4373. else
  4374. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4375. for as_dir in $PATH
  4376. do
  4377. IFS=$as_save_IFS
  4378. test -z "$as_dir" && as_dir=.
  4379. for ac_exec_ext in '' $ac_executable_extensions; do
  4380. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4381. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  4382. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4383. break 2
  4384. fi
  4385. done
  4386. done
  4387. IFS=$as_save_IFS
  4388. fi
  4389. fi
  4390. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  4391. if test -n "$ac_ct_OBJDUMP"; then
  4392. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  4393. $as_echo "$ac_ct_OBJDUMP" >&6; }
  4394. else
  4395. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4396. $as_echo "no" >&6; }
  4397. fi
  4398. if test "x$ac_ct_OBJDUMP" = x; then
  4399. OBJDUMP="false"
  4400. else
  4401. case $cross_compiling:$ac_tool_warned in
  4402. yes:)
  4403. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4404. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4405. ac_tool_warned=yes ;;
  4406. esac
  4407. OBJDUMP=$ac_ct_OBJDUMP
  4408. fi
  4409. else
  4410. OBJDUMP="$ac_cv_prog_OBJDUMP"
  4411. fi
  4412. test -z "$OBJDUMP" && OBJDUMP=objdump
  4413. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  4414. $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  4415. if test "${lt_cv_deplibs_check_method+set}" = set; then :
  4416. $as_echo_n "(cached) " >&6
  4417. else
  4418. lt_cv_file_magic_cmd='$MAGIC_CMD'
  4419. lt_cv_file_magic_test_file=
  4420. lt_cv_deplibs_check_method='unknown'
  4421. # Need to set the preceding variable on all platforms that support
  4422. # interlibrary dependencies.
  4423. # 'none' -- dependencies not supported.
  4424. # `unknown' -- same as none, but documents that we really don't know.
  4425. # 'pass_all' -- all dependencies passed with no checks.
  4426. # 'test_compile' -- check by making test program.
  4427. # 'file_magic [[regex]]' -- check by looking for files in library path
  4428. # which responds to the $file_magic_cmd with a given extended regex.
  4429. # If you have `file' or equivalent on your system and you're not sure
  4430. # whether `pass_all' will *always* work, you probably want this one.
  4431. case $host_os in
  4432. aix[4-9]*)
  4433. lt_cv_deplibs_check_method=pass_all
  4434. ;;
  4435. beos*)
  4436. lt_cv_deplibs_check_method=pass_all
  4437. ;;
  4438. bsdi[45]*)
  4439. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  4440. lt_cv_file_magic_cmd='/usr/bin/file -L'
  4441. lt_cv_file_magic_test_file=/shlib/libc.so
  4442. ;;
  4443. cygwin*)
  4444. # func_win32_libid is a shell function defined in ltmain.sh
  4445. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4446. lt_cv_file_magic_cmd='func_win32_libid'
  4447. ;;
  4448. mingw* | pw32*)
  4449. # Base MSYS/MinGW do not provide the 'file' command needed by
  4450. # func_win32_libid shell function, so use a weaker test based on 'objdump',
  4451. # unless we find 'file', for example because we are cross-compiling.
  4452. if ( file / ) >/dev/null 2>&1; then
  4453. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4454. lt_cv_file_magic_cmd='func_win32_libid'
  4455. else
  4456. lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  4457. lt_cv_file_magic_cmd='$OBJDUMP -f'
  4458. fi
  4459. ;;
  4460. cegcc)
  4461. # use the weaker test based on 'objdump'. See mingw*.
  4462. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  4463. lt_cv_file_magic_cmd='$OBJDUMP -f'
  4464. ;;
  4465. darwin* | rhapsody*)
  4466. lt_cv_deplibs_check_method=pass_all
  4467. ;;
  4468. freebsd* | dragonfly*)
  4469. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  4470. case $host_cpu in
  4471. i*86 )
  4472. # Not sure whether the presence of OpenBSD here was a mistake.
  4473. # Let's accept both of them until this is cleared up.
  4474. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  4475. lt_cv_file_magic_cmd=/usr/bin/file
  4476. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  4477. ;;
  4478. esac
  4479. else
  4480. lt_cv_deplibs_check_method=pass_all
  4481. fi
  4482. ;;
  4483. gnu*)
  4484. lt_cv_deplibs_check_method=pass_all
  4485. ;;
  4486. hpux10.20* | hpux11*)
  4487. lt_cv_file_magic_cmd=/usr/bin/file
  4488. case $host_cpu in
  4489. ia64*)
  4490. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  4491. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  4492. ;;
  4493. hppa*64*)
  4494. 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]'
  4495. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  4496. ;;
  4497. *)
  4498. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  4499. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  4500. ;;
  4501. esac
  4502. ;;
  4503. interix[3-9]*)
  4504. # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  4505. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  4506. ;;
  4507. irix5* | irix6* | nonstopux*)
  4508. case $LD in
  4509. *-32|*"-32 ") libmagic=32-bit;;
  4510. *-n32|*"-n32 ") libmagic=N32;;
  4511. *-64|*"-64 ") libmagic=64-bit;;
  4512. *) libmagic=never-match;;
  4513. esac
  4514. lt_cv_deplibs_check_method=pass_all
  4515. ;;
  4516. # This must be Linux ELF.
  4517. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  4518. lt_cv_deplibs_check_method=pass_all
  4519. ;;
  4520. netbsd* | netbsdelf*-gnu)
  4521. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  4522. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  4523. else
  4524. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  4525. fi
  4526. ;;
  4527. newos6*)
  4528. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  4529. lt_cv_file_magic_cmd=/usr/bin/file
  4530. lt_cv_file_magic_test_file=/usr/lib/libnls.so
  4531. ;;
  4532. *nto* | *qnx*)
  4533. lt_cv_deplibs_check_method=pass_all
  4534. ;;
  4535. openbsd*)
  4536. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  4537. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  4538. else
  4539. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  4540. fi
  4541. ;;
  4542. osf3* | osf4* | osf5*)
  4543. lt_cv_deplibs_check_method=pass_all
  4544. ;;
  4545. rdos*)
  4546. lt_cv_deplibs_check_method=pass_all
  4547. ;;
  4548. solaris*)
  4549. lt_cv_deplibs_check_method=pass_all
  4550. ;;
  4551. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  4552. lt_cv_deplibs_check_method=pass_all
  4553. ;;
  4554. sysv4 | sysv4.3*)
  4555. case $host_vendor in
  4556. motorola)
  4557. 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]'
  4558. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  4559. ;;
  4560. ncr)
  4561. lt_cv_deplibs_check_method=pass_all
  4562. ;;
  4563. sequent)
  4564. lt_cv_file_magic_cmd='/bin/file'
  4565. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  4566. ;;
  4567. sni)
  4568. lt_cv_file_magic_cmd='/bin/file'
  4569. lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  4570. lt_cv_file_magic_test_file=/lib/libc.so
  4571. ;;
  4572. siemens)
  4573. lt_cv_deplibs_check_method=pass_all
  4574. ;;
  4575. pc)
  4576. lt_cv_deplibs_check_method=pass_all
  4577. ;;
  4578. esac
  4579. ;;
  4580. tpf*)
  4581. lt_cv_deplibs_check_method=pass_all
  4582. ;;
  4583. esac
  4584. fi
  4585. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  4586. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  4587. file_magic_cmd=$lt_cv_file_magic_cmd
  4588. deplibs_check_method=$lt_cv_deplibs_check_method
  4589. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  4590. if test -n "$ac_tool_prefix"; then
  4591. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  4592. set dummy ${ac_tool_prefix}ar; ac_word=$2
  4593. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4594. $as_echo_n "checking for $ac_word... " >&6; }
  4595. if test "${ac_cv_prog_AR+set}" = set; then :
  4596. $as_echo_n "(cached) " >&6
  4597. else
  4598. if test -n "$AR"; then
  4599. ac_cv_prog_AR="$AR" # Let the user override the test.
  4600. else
  4601. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4602. for as_dir in $PATH
  4603. do
  4604. IFS=$as_save_IFS
  4605. test -z "$as_dir" && as_dir=.
  4606. for ac_exec_ext in '' $ac_executable_extensions; do
  4607. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4608. ac_cv_prog_AR="${ac_tool_prefix}ar"
  4609. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4610. break 2
  4611. fi
  4612. done
  4613. done
  4614. IFS=$as_save_IFS
  4615. fi
  4616. fi
  4617. AR=$ac_cv_prog_AR
  4618. if test -n "$AR"; then
  4619. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  4620. $as_echo "$AR" >&6; }
  4621. else
  4622. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4623. $as_echo "no" >&6; }
  4624. fi
  4625. fi
  4626. if test -z "$ac_cv_prog_AR"; then
  4627. ac_ct_AR=$AR
  4628. # Extract the first word of "ar", so it can be a program name with args.
  4629. set dummy ar; ac_word=$2
  4630. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4631. $as_echo_n "checking for $ac_word... " >&6; }
  4632. if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
  4633. $as_echo_n "(cached) " >&6
  4634. else
  4635. if test -n "$ac_ct_AR"; then
  4636. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  4637. else
  4638. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4639. for as_dir in $PATH
  4640. do
  4641. IFS=$as_save_IFS
  4642. test -z "$as_dir" && as_dir=.
  4643. for ac_exec_ext in '' $ac_executable_extensions; do
  4644. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4645. ac_cv_prog_ac_ct_AR="ar"
  4646. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4647. break 2
  4648. fi
  4649. done
  4650. done
  4651. IFS=$as_save_IFS
  4652. fi
  4653. fi
  4654. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  4655. if test -n "$ac_ct_AR"; then
  4656. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  4657. $as_echo "$ac_ct_AR" >&6; }
  4658. else
  4659. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4660. $as_echo "no" >&6; }
  4661. fi
  4662. if test "x$ac_ct_AR" = x; then
  4663. AR="false"
  4664. else
  4665. case $cross_compiling:$ac_tool_warned in
  4666. yes:)
  4667. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4668. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4669. ac_tool_warned=yes ;;
  4670. esac
  4671. AR=$ac_ct_AR
  4672. fi
  4673. else
  4674. AR="$ac_cv_prog_AR"
  4675. fi
  4676. test -z "$AR" && AR=ar
  4677. test -z "$AR_FLAGS" && AR_FLAGS=cru
  4678. if test -n "$ac_tool_prefix"; then
  4679. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  4680. set dummy ${ac_tool_prefix}strip; ac_word=$2
  4681. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4682. $as_echo_n "checking for $ac_word... " >&6; }
  4683. if test "${ac_cv_prog_STRIP+set}" = set; then :
  4684. $as_echo_n "(cached) " >&6
  4685. else
  4686. if test -n "$STRIP"; then
  4687. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  4688. else
  4689. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4690. for as_dir in $PATH
  4691. do
  4692. IFS=$as_save_IFS
  4693. test -z "$as_dir" && as_dir=.
  4694. for ac_exec_ext in '' $ac_executable_extensions; do
  4695. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4696. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  4697. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4698. break 2
  4699. fi
  4700. done
  4701. done
  4702. IFS=$as_save_IFS
  4703. fi
  4704. fi
  4705. STRIP=$ac_cv_prog_STRIP
  4706. if test -n "$STRIP"; then
  4707. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  4708. $as_echo "$STRIP" >&6; }
  4709. else
  4710. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4711. $as_echo "no" >&6; }
  4712. fi
  4713. fi
  4714. if test -z "$ac_cv_prog_STRIP"; then
  4715. ac_ct_STRIP=$STRIP
  4716. # Extract the first word of "strip", so it can be a program name with args.
  4717. set dummy strip; ac_word=$2
  4718. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4719. $as_echo_n "checking for $ac_word... " >&6; }
  4720. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  4721. $as_echo_n "(cached) " >&6
  4722. else
  4723. if test -n "$ac_ct_STRIP"; then
  4724. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  4725. else
  4726. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4727. for as_dir in $PATH
  4728. do
  4729. IFS=$as_save_IFS
  4730. test -z "$as_dir" && as_dir=.
  4731. for ac_exec_ext in '' $ac_executable_extensions; do
  4732. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4733. ac_cv_prog_ac_ct_STRIP="strip"
  4734. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4735. break 2
  4736. fi
  4737. done
  4738. done
  4739. IFS=$as_save_IFS
  4740. fi
  4741. fi
  4742. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  4743. if test -n "$ac_ct_STRIP"; then
  4744. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  4745. $as_echo "$ac_ct_STRIP" >&6; }
  4746. else
  4747. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4748. $as_echo "no" >&6; }
  4749. fi
  4750. if test "x$ac_ct_STRIP" = x; then
  4751. STRIP=":"
  4752. else
  4753. case $cross_compiling:$ac_tool_warned in
  4754. yes:)
  4755. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4756. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4757. ac_tool_warned=yes ;;
  4758. esac
  4759. STRIP=$ac_ct_STRIP
  4760. fi
  4761. else
  4762. STRIP="$ac_cv_prog_STRIP"
  4763. fi
  4764. test -z "$STRIP" && STRIP=:
  4765. if test -n "$ac_tool_prefix"; then
  4766. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  4767. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  4768. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4769. $as_echo_n "checking for $ac_word... " >&6; }
  4770. if test "${ac_cv_prog_RANLIB+set}" = set; then :
  4771. $as_echo_n "(cached) " >&6
  4772. else
  4773. if test -n "$RANLIB"; then
  4774. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  4775. else
  4776. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4777. for as_dir in $PATH
  4778. do
  4779. IFS=$as_save_IFS
  4780. test -z "$as_dir" && as_dir=.
  4781. for ac_exec_ext in '' $ac_executable_extensions; do
  4782. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4783. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  4784. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4785. break 2
  4786. fi
  4787. done
  4788. done
  4789. IFS=$as_save_IFS
  4790. fi
  4791. fi
  4792. RANLIB=$ac_cv_prog_RANLIB
  4793. if test -n "$RANLIB"; then
  4794. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  4795. $as_echo "$RANLIB" >&6; }
  4796. else
  4797. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4798. $as_echo "no" >&6; }
  4799. fi
  4800. fi
  4801. if test -z "$ac_cv_prog_RANLIB"; then
  4802. ac_ct_RANLIB=$RANLIB
  4803. # Extract the first word of "ranlib", so it can be a program name with args.
  4804. set dummy ranlib; ac_word=$2
  4805. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4806. $as_echo_n "checking for $ac_word... " >&6; }
  4807. if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  4808. $as_echo_n "(cached) " >&6
  4809. else
  4810. if test -n "$ac_ct_RANLIB"; then
  4811. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  4812. else
  4813. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4814. for as_dir in $PATH
  4815. do
  4816. IFS=$as_save_IFS
  4817. test -z "$as_dir" && as_dir=.
  4818. for ac_exec_ext in '' $ac_executable_extensions; do
  4819. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4820. ac_cv_prog_ac_ct_RANLIB="ranlib"
  4821. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4822. break 2
  4823. fi
  4824. done
  4825. done
  4826. IFS=$as_save_IFS
  4827. fi
  4828. fi
  4829. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  4830. if test -n "$ac_ct_RANLIB"; then
  4831. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  4832. $as_echo "$ac_ct_RANLIB" >&6; }
  4833. else
  4834. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4835. $as_echo "no" >&6; }
  4836. fi
  4837. if test "x$ac_ct_RANLIB" = x; then
  4838. RANLIB=":"
  4839. else
  4840. case $cross_compiling:$ac_tool_warned in
  4841. yes:)
  4842. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4843. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4844. ac_tool_warned=yes ;;
  4845. esac
  4846. RANLIB=$ac_ct_RANLIB
  4847. fi
  4848. else
  4849. RANLIB="$ac_cv_prog_RANLIB"
  4850. fi
  4851. test -z "$RANLIB" && RANLIB=:
  4852. # Determine commands to create old-style static archives.
  4853. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  4854. old_postinstall_cmds='chmod 644 $oldlib'
  4855. old_postuninstall_cmds=
  4856. if test -n "$RANLIB"; then
  4857. case $host_os in
  4858. openbsd*)
  4859. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  4860. ;;
  4861. *)
  4862. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  4863. ;;
  4864. esac
  4865. old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  4866. fi
  4867. # If no C compiler was specified, use CC.
  4868. LTCC=${LTCC-"$CC"}
  4869. # If no C compiler flags were specified, use CFLAGS.
  4870. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  4871. # Allow CC to be a program name with arguments.
  4872. compiler=$CC
  4873. # Check for command to grab the raw symbol name followed by C symbol from nm.
  4874. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  4875. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  4876. if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
  4877. $as_echo_n "(cached) " >&6
  4878. else
  4879. # These are sane defaults that work on at least a few old systems.
  4880. # [They come from Ultrix. What could be older than Ultrix?!! ;)]
  4881. # Character class describing NM global symbol codes.
  4882. symcode='[BCDEGRST]'
  4883. # Regexp to match symbols that can be accessed directly from C.
  4884. sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  4885. # Define system-specific variables.
  4886. case $host_os in
  4887. aix*)
  4888. symcode='[BCDT]'
  4889. ;;
  4890. cygwin* | mingw* | pw32* | cegcc*)
  4891. symcode='[ABCDGISTW]'
  4892. ;;
  4893. hpux*)
  4894. if test "$host_cpu" = ia64; then
  4895. symcode='[ABCDEGRST]'
  4896. fi
  4897. ;;
  4898. irix* | nonstopux*)
  4899. symcode='[BCDEGRST]'
  4900. ;;
  4901. osf*)
  4902. symcode='[BCDEGQRST]'
  4903. ;;
  4904. solaris*)
  4905. symcode='[BDRT]'
  4906. ;;
  4907. sco3.2v5*)
  4908. symcode='[DT]'
  4909. ;;
  4910. sysv4.2uw2*)
  4911. symcode='[DT]'
  4912. ;;
  4913. sysv5* | sco5v6* | unixware* | OpenUNIX*)
  4914. symcode='[ABDT]'
  4915. ;;
  4916. sysv4)
  4917. symcode='[DFNSTU]'
  4918. ;;
  4919. esac
  4920. # If we're using GNU nm, then use its standard symbol codes.
  4921. case `$NM -V 2>&1` in
  4922. *GNU* | *'with BFD'*)
  4923. symcode='[ABCDGIRSTW]' ;;
  4924. esac
  4925. # Transform an extracted symbol line into a proper C declaration.
  4926. # Some systems (esp. on ia64) link data and code symbols differently,
  4927. # so use this general approach.
  4928. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  4929. # Transform an extracted symbol line into symbol name and symbol address
  4930. lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  4931. 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'"
  4932. # Handle CRLF in mingw tool chain
  4933. opt_cr=
  4934. case $build_os in
  4935. mingw*)
  4936. opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  4937. ;;
  4938. esac
  4939. # Try without a prefix underscore, then with it.
  4940. for ac_symprfx in "" "_"; do
  4941. # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  4942. symxfrm="\\1 $ac_symprfx\\2 \\2"
  4943. # Write the raw and C identifiers.
  4944. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  4945. # Fake it for dumpbin and say T for any non-static function
  4946. # and D for any global variable.
  4947. # Also find C++ and __fastcall symbols from MSVC++,
  4948. # which start with @ or ?.
  4949. lt_cv_sys_global_symbol_pipe="$AWK '"\
  4950. " {last_section=section; section=\$ 3};"\
  4951. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  4952. " \$ 0!~/External *\|/{next};"\
  4953. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  4954. " {if(hide[section]) next};"\
  4955. " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  4956. " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  4957. " s[1]~/^[@?]/{print s[1], s[1]; next};"\
  4958. " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  4959. " ' prfx=^$ac_symprfx"
  4960. else
  4961. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  4962. fi
  4963. # Check to see that the pipe works correctly.
  4964. pipe_works=no
  4965. rm -f conftest*
  4966. cat > conftest.$ac_ext <<_LT_EOF
  4967. #ifdef __cplusplus
  4968. extern "C" {
  4969. #endif
  4970. char nm_test_var;
  4971. void nm_test_func(void);
  4972. void nm_test_func(void){}
  4973. #ifdef __cplusplus
  4974. }
  4975. #endif
  4976. int main(){nm_test_var='a';nm_test_func();return(0);}
  4977. _LT_EOF
  4978. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  4979. (eval $ac_compile) 2>&5
  4980. ac_status=$?
  4981. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4982. test $ac_status = 0; }; then
  4983. # Now try to grab the symbols.
  4984. nlist=conftest.nm
  4985. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
  4986. (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  4987. ac_status=$?
  4988. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4989. test $ac_status = 0; } && test -s "$nlist"; then
  4990. # Try sorting and uniquifying the output.
  4991. if sort "$nlist" | uniq > "$nlist"T; then
  4992. mv -f "$nlist"T "$nlist"
  4993. else
  4994. rm -f "$nlist"T
  4995. fi
  4996. # Make sure that we snagged all the symbols we need.
  4997. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  4998. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  4999. cat <<_LT_EOF > conftest.$ac_ext
  5000. #ifdef __cplusplus
  5001. extern "C" {
  5002. #endif
  5003. _LT_EOF
  5004. # Now generate the symbol file.
  5005. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  5006. cat <<_LT_EOF >> conftest.$ac_ext
  5007. /* The mapping between symbol names and symbols. */
  5008. const struct {
  5009. const char *name;
  5010. void *address;
  5011. }
  5012. lt__PROGRAM__LTX_preloaded_symbols[] =
  5013. {
  5014. { "@PROGRAM@", (void *) 0 },
  5015. _LT_EOF
  5016. $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  5017. cat <<\_LT_EOF >> conftest.$ac_ext
  5018. {0, (void *) 0}
  5019. };
  5020. /* This works around a problem in FreeBSD linker */
  5021. #ifdef FREEBSD_WORKAROUND
  5022. static const void *lt_preloaded_setup() {
  5023. return lt__PROGRAM__LTX_preloaded_symbols;
  5024. }
  5025. #endif
  5026. #ifdef __cplusplus
  5027. }
  5028. #endif
  5029. _LT_EOF
  5030. # Now try linking the two files.
  5031. mv conftest.$ac_objext conftstm.$ac_objext
  5032. lt_save_LIBS="$LIBS"
  5033. lt_save_CFLAGS="$CFLAGS"
  5034. LIBS="conftstm.$ac_objext"
  5035. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  5036. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  5037. (eval $ac_link) 2>&5
  5038. ac_status=$?
  5039. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5040. test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  5041. pipe_works=yes
  5042. fi
  5043. LIBS="$lt_save_LIBS"
  5044. CFLAGS="$lt_save_CFLAGS"
  5045. else
  5046. echo "cannot find nm_test_func in $nlist" >&5
  5047. fi
  5048. else
  5049. echo "cannot find nm_test_var in $nlist" >&5
  5050. fi
  5051. else
  5052. echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  5053. fi
  5054. else
  5055. echo "$progname: failed program was:" >&5
  5056. cat conftest.$ac_ext >&5
  5057. fi
  5058. rm -rf conftest* conftst*
  5059. # Do not use the global_symbol_pipe unless it works.
  5060. if test "$pipe_works" = yes; then
  5061. break
  5062. else
  5063. lt_cv_sys_global_symbol_pipe=
  5064. fi
  5065. done
  5066. fi
  5067. if test -z "$lt_cv_sys_global_symbol_pipe"; then
  5068. lt_cv_sys_global_symbol_to_cdecl=
  5069. fi
  5070. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  5071. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  5072. $as_echo "failed" >&6; }
  5073. else
  5074. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  5075. $as_echo "ok" >&6; }
  5076. fi
  5077. # Check whether --enable-libtool-lock was given.
  5078. if test "${enable_libtool_lock+set}" = set; then :
  5079. enableval=$enable_libtool_lock;
  5080. fi
  5081. test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  5082. # Some flags need to be propagated to the compiler or linker for good
  5083. # libtool support.
  5084. case $host in
  5085. ia64-*-hpux*)
  5086. # Find out which ABI we are using.
  5087. echo 'int i;' > conftest.$ac_ext
  5088. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5089. (eval $ac_compile) 2>&5
  5090. ac_status=$?
  5091. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5092. test $ac_status = 0; }; then
  5093. case `/usr/bin/file conftest.$ac_objext` in
  5094. *ELF-32*)
  5095. HPUX_IA64_MODE="32"
  5096. ;;
  5097. *ELF-64*)
  5098. HPUX_IA64_MODE="64"
  5099. ;;
  5100. esac
  5101. fi
  5102. rm -rf conftest*
  5103. ;;
  5104. *-*-irix6*)
  5105. # Find out which ABI we are using.
  5106. echo '#line 5785 "configure"' > conftest.$ac_ext
  5107. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5108. (eval $ac_compile) 2>&5
  5109. ac_status=$?
  5110. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5111. test $ac_status = 0; }; then
  5112. if test "$lt_cv_prog_gnu_ld" = yes; then
  5113. case `/usr/bin/file conftest.$ac_objext` in
  5114. *32-bit*)
  5115. LD="${LD-ld} -melf32bsmip"
  5116. ;;
  5117. *N32*)
  5118. LD="${LD-ld} -melf32bmipn32"
  5119. ;;
  5120. *64-bit*)
  5121. LD="${LD-ld} -melf64bmip"
  5122. ;;
  5123. esac
  5124. else
  5125. case `/usr/bin/file conftest.$ac_objext` in
  5126. *32-bit*)
  5127. LD="${LD-ld} -32"
  5128. ;;
  5129. *N32*)
  5130. LD="${LD-ld} -n32"
  5131. ;;
  5132. *64-bit*)
  5133. LD="${LD-ld} -64"
  5134. ;;
  5135. esac
  5136. fi
  5137. fi
  5138. rm -rf conftest*
  5139. ;;
  5140. x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  5141. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  5142. # Find out which ABI we are using.
  5143. echo 'int i;' > conftest.$ac_ext
  5144. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5145. (eval $ac_compile) 2>&5
  5146. ac_status=$?
  5147. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5148. test $ac_status = 0; }; then
  5149. case `/usr/bin/file conftest.o` in
  5150. *32-bit*)
  5151. case $host in
  5152. x86_64-*kfreebsd*-gnu)
  5153. LD="${LD-ld} -m elf_i386_fbsd"
  5154. ;;
  5155. x86_64-*linux*)
  5156. LD="${LD-ld} -m elf_i386"
  5157. ;;
  5158. ppc64-*linux*|powerpc64-*linux*)
  5159. LD="${LD-ld} -m elf32ppclinux"
  5160. ;;
  5161. s390x-*linux*)
  5162. LD="${LD-ld} -m elf_s390"
  5163. ;;
  5164. sparc64-*linux*)
  5165. LD="${LD-ld} -m elf32_sparc"
  5166. ;;
  5167. esac
  5168. ;;
  5169. *64-bit*)
  5170. case $host in
  5171. x86_64-*kfreebsd*-gnu)
  5172. LD="${LD-ld} -m elf_x86_64_fbsd"
  5173. ;;
  5174. x86_64-*linux*)
  5175. LD="${LD-ld} -m elf_x86_64"
  5176. ;;
  5177. ppc*-*linux*|powerpc*-*linux*)
  5178. LD="${LD-ld} -m elf64ppc"
  5179. ;;
  5180. s390*-*linux*|s390*-*tpf*)
  5181. LD="${LD-ld} -m elf64_s390"
  5182. ;;
  5183. sparc*-*linux*)
  5184. LD="${LD-ld} -m elf64_sparc"
  5185. ;;
  5186. esac
  5187. ;;
  5188. esac
  5189. fi
  5190. rm -rf conftest*
  5191. ;;
  5192. *-*-sco3.2v5*)
  5193. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  5194. SAVE_CFLAGS="$CFLAGS"
  5195. CFLAGS="$CFLAGS -belf"
  5196. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  5197. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  5198. if test "${lt_cv_cc_needs_belf+set}" = set; then :
  5199. $as_echo_n "(cached) " >&6
  5200. else
  5201. ac_ext=c
  5202. ac_cpp='$CPP $CPPFLAGS'
  5203. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5204. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5205. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5206. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5207. /* end confdefs.h. */
  5208. int
  5209. main ()
  5210. {
  5211. ;
  5212. return 0;
  5213. }
  5214. _ACEOF
  5215. if ac_fn_c_try_link "$LINENO"; then :
  5216. lt_cv_cc_needs_belf=yes
  5217. else
  5218. lt_cv_cc_needs_belf=no
  5219. fi
  5220. rm -f core conftest.err conftest.$ac_objext \
  5221. conftest$ac_exeext conftest.$ac_ext
  5222. ac_ext=c
  5223. ac_cpp='$CPP $CPPFLAGS'
  5224. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5225. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5226. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5227. fi
  5228. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  5229. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  5230. if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  5231. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  5232. CFLAGS="$SAVE_CFLAGS"
  5233. fi
  5234. ;;
  5235. sparc*-*solaris*)
  5236. # Find out which ABI we are using.
  5237. echo 'int i;' > conftest.$ac_ext
  5238. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5239. (eval $ac_compile) 2>&5
  5240. ac_status=$?
  5241. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5242. test $ac_status = 0; }; then
  5243. case `/usr/bin/file conftest.o` in
  5244. *64-bit*)
  5245. case $lt_cv_prog_gnu_ld in
  5246. yes*) LD="${LD-ld} -m elf64_sparc" ;;
  5247. *)
  5248. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  5249. LD="${LD-ld} -64"
  5250. fi
  5251. ;;
  5252. esac
  5253. ;;
  5254. esac
  5255. fi
  5256. rm -rf conftest*
  5257. ;;
  5258. esac
  5259. need_locks="$enable_libtool_lock"
  5260. case $host_os in
  5261. rhapsody* | darwin*)
  5262. if test -n "$ac_tool_prefix"; then
  5263. # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  5264. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  5265. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5266. $as_echo_n "checking for $ac_word... " >&6; }
  5267. if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
  5268. $as_echo_n "(cached) " >&6
  5269. else
  5270. if test -n "$DSYMUTIL"; then
  5271. ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  5272. else
  5273. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5274. for as_dir in $PATH
  5275. do
  5276. IFS=$as_save_IFS
  5277. test -z "$as_dir" && as_dir=.
  5278. for ac_exec_ext in '' $ac_executable_extensions; do
  5279. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5280. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  5281. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5282. break 2
  5283. fi
  5284. done
  5285. done
  5286. IFS=$as_save_IFS
  5287. fi
  5288. fi
  5289. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  5290. if test -n "$DSYMUTIL"; then
  5291. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  5292. $as_echo "$DSYMUTIL" >&6; }
  5293. else
  5294. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5295. $as_echo "no" >&6; }
  5296. fi
  5297. fi
  5298. if test -z "$ac_cv_prog_DSYMUTIL"; then
  5299. ac_ct_DSYMUTIL=$DSYMUTIL
  5300. # Extract the first word of "dsymutil", so it can be a program name with args.
  5301. set dummy dsymutil; ac_word=$2
  5302. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5303. $as_echo_n "checking for $ac_word... " >&6; }
  5304. if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
  5305. $as_echo_n "(cached) " >&6
  5306. else
  5307. if test -n "$ac_ct_DSYMUTIL"; then
  5308. ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  5309. else
  5310. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5311. for as_dir in $PATH
  5312. do
  5313. IFS=$as_save_IFS
  5314. test -z "$as_dir" && as_dir=.
  5315. for ac_exec_ext in '' $ac_executable_extensions; do
  5316. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5317. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  5318. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5319. break 2
  5320. fi
  5321. done
  5322. done
  5323. IFS=$as_save_IFS
  5324. fi
  5325. fi
  5326. ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  5327. if test -n "$ac_ct_DSYMUTIL"; then
  5328. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  5329. $as_echo "$ac_ct_DSYMUTIL" >&6; }
  5330. else
  5331. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5332. $as_echo "no" >&6; }
  5333. fi
  5334. if test "x$ac_ct_DSYMUTIL" = x; then
  5335. DSYMUTIL=":"
  5336. else
  5337. case $cross_compiling:$ac_tool_warned in
  5338. yes:)
  5339. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5340. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5341. ac_tool_warned=yes ;;
  5342. esac
  5343. DSYMUTIL=$ac_ct_DSYMUTIL
  5344. fi
  5345. else
  5346. DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  5347. fi
  5348. if test -n "$ac_tool_prefix"; then
  5349. # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  5350. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  5351. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5352. $as_echo_n "checking for $ac_word... " >&6; }
  5353. if test "${ac_cv_prog_NMEDIT+set}" = set; then :
  5354. $as_echo_n "(cached) " >&6
  5355. else
  5356. if test -n "$NMEDIT"; then
  5357. ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  5358. else
  5359. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5360. for as_dir in $PATH
  5361. do
  5362. IFS=$as_save_IFS
  5363. test -z "$as_dir" && as_dir=.
  5364. for ac_exec_ext in '' $ac_executable_extensions; do
  5365. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5366. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  5367. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5368. break 2
  5369. fi
  5370. done
  5371. done
  5372. IFS=$as_save_IFS
  5373. fi
  5374. fi
  5375. NMEDIT=$ac_cv_prog_NMEDIT
  5376. if test -n "$NMEDIT"; then
  5377. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  5378. $as_echo "$NMEDIT" >&6; }
  5379. else
  5380. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5381. $as_echo "no" >&6; }
  5382. fi
  5383. fi
  5384. if test -z "$ac_cv_prog_NMEDIT"; then
  5385. ac_ct_NMEDIT=$NMEDIT
  5386. # Extract the first word of "nmedit", so it can be a program name with args.
  5387. set dummy nmedit; ac_word=$2
  5388. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5389. $as_echo_n "checking for $ac_word... " >&6; }
  5390. if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
  5391. $as_echo_n "(cached) " >&6
  5392. else
  5393. if test -n "$ac_ct_NMEDIT"; then
  5394. ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  5395. else
  5396. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5397. for as_dir in $PATH
  5398. do
  5399. IFS=$as_save_IFS
  5400. test -z "$as_dir" && as_dir=.
  5401. for ac_exec_ext in '' $ac_executable_extensions; do
  5402. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5403. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  5404. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5405. break 2
  5406. fi
  5407. done
  5408. done
  5409. IFS=$as_save_IFS
  5410. fi
  5411. fi
  5412. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  5413. if test -n "$ac_ct_NMEDIT"; then
  5414. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  5415. $as_echo "$ac_ct_NMEDIT" >&6; }
  5416. else
  5417. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5418. $as_echo "no" >&6; }
  5419. fi
  5420. if test "x$ac_ct_NMEDIT" = x; then
  5421. NMEDIT=":"
  5422. else
  5423. case $cross_compiling:$ac_tool_warned in
  5424. yes:)
  5425. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5426. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5427. ac_tool_warned=yes ;;
  5428. esac
  5429. NMEDIT=$ac_ct_NMEDIT
  5430. fi
  5431. else
  5432. NMEDIT="$ac_cv_prog_NMEDIT"
  5433. fi
  5434. if test -n "$ac_tool_prefix"; then
  5435. # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  5436. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  5437. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5438. $as_echo_n "checking for $ac_word... " >&6; }
  5439. if test "${ac_cv_prog_LIPO+set}" = set; then :
  5440. $as_echo_n "(cached) " >&6
  5441. else
  5442. if test -n "$LIPO"; then
  5443. ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  5444. else
  5445. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5446. for as_dir in $PATH
  5447. do
  5448. IFS=$as_save_IFS
  5449. test -z "$as_dir" && as_dir=.
  5450. for ac_exec_ext in '' $ac_executable_extensions; do
  5451. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5452. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  5453. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5454. break 2
  5455. fi
  5456. done
  5457. done
  5458. IFS=$as_save_IFS
  5459. fi
  5460. fi
  5461. LIPO=$ac_cv_prog_LIPO
  5462. if test -n "$LIPO"; then
  5463. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  5464. $as_echo "$LIPO" >&6; }
  5465. else
  5466. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5467. $as_echo "no" >&6; }
  5468. fi
  5469. fi
  5470. if test -z "$ac_cv_prog_LIPO"; then
  5471. ac_ct_LIPO=$LIPO
  5472. # Extract the first word of "lipo", so it can be a program name with args.
  5473. set dummy lipo; ac_word=$2
  5474. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5475. $as_echo_n "checking for $ac_word... " >&6; }
  5476. if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
  5477. $as_echo_n "(cached) " >&6
  5478. else
  5479. if test -n "$ac_ct_LIPO"; then
  5480. ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  5481. else
  5482. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5483. for as_dir in $PATH
  5484. do
  5485. IFS=$as_save_IFS
  5486. test -z "$as_dir" && as_dir=.
  5487. for ac_exec_ext in '' $ac_executable_extensions; do
  5488. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5489. ac_cv_prog_ac_ct_LIPO="lipo"
  5490. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5491. break 2
  5492. fi
  5493. done
  5494. done
  5495. IFS=$as_save_IFS
  5496. fi
  5497. fi
  5498. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  5499. if test -n "$ac_ct_LIPO"; then
  5500. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  5501. $as_echo "$ac_ct_LIPO" >&6; }
  5502. else
  5503. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5504. $as_echo "no" >&6; }
  5505. fi
  5506. if test "x$ac_ct_LIPO" = x; then
  5507. LIPO=":"
  5508. else
  5509. case $cross_compiling:$ac_tool_warned in
  5510. yes:)
  5511. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5512. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5513. ac_tool_warned=yes ;;
  5514. esac
  5515. LIPO=$ac_ct_LIPO
  5516. fi
  5517. else
  5518. LIPO="$ac_cv_prog_LIPO"
  5519. fi
  5520. if test -n "$ac_tool_prefix"; then
  5521. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  5522. set dummy ${ac_tool_prefix}otool; ac_word=$2
  5523. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5524. $as_echo_n "checking for $ac_word... " >&6; }
  5525. if test "${ac_cv_prog_OTOOL+set}" = set; then :
  5526. $as_echo_n "(cached) " >&6
  5527. else
  5528. if test -n "$OTOOL"; then
  5529. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  5530. else
  5531. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5532. for as_dir in $PATH
  5533. do
  5534. IFS=$as_save_IFS
  5535. test -z "$as_dir" && as_dir=.
  5536. for ac_exec_ext in '' $ac_executable_extensions; do
  5537. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5538. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  5539. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5540. break 2
  5541. fi
  5542. done
  5543. done
  5544. IFS=$as_save_IFS
  5545. fi
  5546. fi
  5547. OTOOL=$ac_cv_prog_OTOOL
  5548. if test -n "$OTOOL"; then
  5549. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  5550. $as_echo "$OTOOL" >&6; }
  5551. else
  5552. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5553. $as_echo "no" >&6; }
  5554. fi
  5555. fi
  5556. if test -z "$ac_cv_prog_OTOOL"; then
  5557. ac_ct_OTOOL=$OTOOL
  5558. # Extract the first word of "otool", so it can be a program name with args.
  5559. set dummy otool; ac_word=$2
  5560. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5561. $as_echo_n "checking for $ac_word... " >&6; }
  5562. if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
  5563. $as_echo_n "(cached) " >&6
  5564. else
  5565. if test -n "$ac_ct_OTOOL"; then
  5566. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  5567. else
  5568. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5569. for as_dir in $PATH
  5570. do
  5571. IFS=$as_save_IFS
  5572. test -z "$as_dir" && as_dir=.
  5573. for ac_exec_ext in '' $ac_executable_extensions; do
  5574. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5575. ac_cv_prog_ac_ct_OTOOL="otool"
  5576. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5577. break 2
  5578. fi
  5579. done
  5580. done
  5581. IFS=$as_save_IFS
  5582. fi
  5583. fi
  5584. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  5585. if test -n "$ac_ct_OTOOL"; then
  5586. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  5587. $as_echo "$ac_ct_OTOOL" >&6; }
  5588. else
  5589. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5590. $as_echo "no" >&6; }
  5591. fi
  5592. if test "x$ac_ct_OTOOL" = x; then
  5593. OTOOL=":"
  5594. else
  5595. case $cross_compiling:$ac_tool_warned in
  5596. yes:)
  5597. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5598. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5599. ac_tool_warned=yes ;;
  5600. esac
  5601. OTOOL=$ac_ct_OTOOL
  5602. fi
  5603. else
  5604. OTOOL="$ac_cv_prog_OTOOL"
  5605. fi
  5606. if test -n "$ac_tool_prefix"; then
  5607. # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  5608. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  5609. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5610. $as_echo_n "checking for $ac_word... " >&6; }
  5611. if test "${ac_cv_prog_OTOOL64+set}" = set; then :
  5612. $as_echo_n "(cached) " >&6
  5613. else
  5614. if test -n "$OTOOL64"; then
  5615. ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  5616. else
  5617. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5618. for as_dir in $PATH
  5619. do
  5620. IFS=$as_save_IFS
  5621. test -z "$as_dir" && as_dir=.
  5622. for ac_exec_ext in '' $ac_executable_extensions; do
  5623. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5624. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  5625. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5626. break 2
  5627. fi
  5628. done
  5629. done
  5630. IFS=$as_save_IFS
  5631. fi
  5632. fi
  5633. OTOOL64=$ac_cv_prog_OTOOL64
  5634. if test -n "$OTOOL64"; then
  5635. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  5636. $as_echo "$OTOOL64" >&6; }
  5637. else
  5638. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5639. $as_echo "no" >&6; }
  5640. fi
  5641. fi
  5642. if test -z "$ac_cv_prog_OTOOL64"; then
  5643. ac_ct_OTOOL64=$OTOOL64
  5644. # Extract the first word of "otool64", so it can be a program name with args.
  5645. set dummy otool64; ac_word=$2
  5646. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5647. $as_echo_n "checking for $ac_word... " >&6; }
  5648. if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
  5649. $as_echo_n "(cached) " >&6
  5650. else
  5651. if test -n "$ac_ct_OTOOL64"; then
  5652. ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  5653. else
  5654. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5655. for as_dir in $PATH
  5656. do
  5657. IFS=$as_save_IFS
  5658. test -z "$as_dir" && as_dir=.
  5659. for ac_exec_ext in '' $ac_executable_extensions; do
  5660. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5661. ac_cv_prog_ac_ct_OTOOL64="otool64"
  5662. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5663. break 2
  5664. fi
  5665. done
  5666. done
  5667. IFS=$as_save_IFS
  5668. fi
  5669. fi
  5670. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  5671. if test -n "$ac_ct_OTOOL64"; then
  5672. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  5673. $as_echo "$ac_ct_OTOOL64" >&6; }
  5674. else
  5675. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5676. $as_echo "no" >&6; }
  5677. fi
  5678. if test "x$ac_ct_OTOOL64" = x; then
  5679. OTOOL64=":"
  5680. else
  5681. case $cross_compiling:$ac_tool_warned in
  5682. yes:)
  5683. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5684. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5685. ac_tool_warned=yes ;;
  5686. esac
  5687. OTOOL64=$ac_ct_OTOOL64
  5688. fi
  5689. else
  5690. OTOOL64="$ac_cv_prog_OTOOL64"
  5691. fi
  5692. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  5693. $as_echo_n "checking for -single_module linker flag... " >&6; }
  5694. if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
  5695. $as_echo_n "(cached) " >&6
  5696. else
  5697. lt_cv_apple_cc_single_mod=no
  5698. if test -z "${LT_MULTI_MODULE}"; then
  5699. # By default we will add the -single_module flag. You can override
  5700. # by either setting the environment variable LT_MULTI_MODULE
  5701. # non-empty at configure time, or by adding -multi_module to the
  5702. # link flags.
  5703. rm -rf libconftest.dylib*
  5704. echo "int foo(void){return 1;}" > conftest.c
  5705. echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  5706. -dynamiclib -Wl,-single_module conftest.c" >&5
  5707. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  5708. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  5709. _lt_result=$?
  5710. if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  5711. lt_cv_apple_cc_single_mod=yes
  5712. else
  5713. cat conftest.err >&5
  5714. fi
  5715. rm -rf libconftest.dylib*
  5716. rm -f conftest.*
  5717. fi
  5718. fi
  5719. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  5720. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  5721. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  5722. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  5723. if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
  5724. $as_echo_n "(cached) " >&6
  5725. else
  5726. lt_cv_ld_exported_symbols_list=no
  5727. save_LDFLAGS=$LDFLAGS
  5728. echo "_main" > conftest.sym
  5729. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  5730. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5731. /* end confdefs.h. */
  5732. int
  5733. main ()
  5734. {
  5735. ;
  5736. return 0;
  5737. }
  5738. _ACEOF
  5739. if ac_fn_c_try_link "$LINENO"; then :
  5740. lt_cv_ld_exported_symbols_list=yes
  5741. else
  5742. lt_cv_ld_exported_symbols_list=no
  5743. fi
  5744. rm -f core conftest.err conftest.$ac_objext \
  5745. conftest$ac_exeext conftest.$ac_ext
  5746. LDFLAGS="$save_LDFLAGS"
  5747. fi
  5748. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  5749. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  5750. case $host_os in
  5751. rhapsody* | darwin1.[012])
  5752. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  5753. darwin1.*)
  5754. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  5755. darwin*) # darwin 5.x on
  5756. # if running on 10.5 or later, the deployment target defaults
  5757. # to the OS version, if on x86, and 10.4, the deployment
  5758. # target defaults to 10.4. Don't you love it?
  5759. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  5760. 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  5761. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  5762. 10.[012]*)
  5763. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  5764. 10.*)
  5765. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  5766. esac
  5767. ;;
  5768. esac
  5769. if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  5770. _lt_dar_single_mod='$single_module'
  5771. fi
  5772. if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  5773. _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  5774. else
  5775. _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  5776. fi
  5777. if test "$DSYMUTIL" != ":"; then
  5778. _lt_dsymutil='~$DSYMUTIL $lib || :'
  5779. else
  5780. _lt_dsymutil=
  5781. fi
  5782. ;;
  5783. esac
  5784. ac_ext=c
  5785. ac_cpp='$CPP $CPPFLAGS'
  5786. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5787. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5788. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5789. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  5790. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  5791. # On Suns, sometimes $CPP names a directory.
  5792. if test -n "$CPP" && test -d "$CPP"; then
  5793. CPP=
  5794. fi
  5795. if test -z "$CPP"; then
  5796. if test "${ac_cv_prog_CPP+set}" = set; then :
  5797. $as_echo_n "(cached) " >&6
  5798. else
  5799. # Double quotes because CPP needs to be expanded
  5800. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5801. do
  5802. ac_preproc_ok=false
  5803. for ac_c_preproc_warn_flag in '' yes
  5804. do
  5805. # Use a header file that comes with gcc, so configuring glibc
  5806. # with a fresh cross-compiler works.
  5807. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5808. # <limits.h> exists even on freestanding compilers.
  5809. # On the NeXT, cc -E runs the code through the compiler's parser,
  5810. # not just through cpp. "Syntax error" is here to catch this case.
  5811. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5812. /* end confdefs.h. */
  5813. #ifdef __STDC__
  5814. # include <limits.h>
  5815. #else
  5816. # include <assert.h>
  5817. #endif
  5818. Syntax error
  5819. _ACEOF
  5820. if ac_fn_c_try_cpp "$LINENO"; then :
  5821. else
  5822. # Broken: fails on valid input.
  5823. continue
  5824. fi
  5825. rm -f conftest.err conftest.$ac_ext
  5826. # OK, works on sane cases. Now check whether nonexistent headers
  5827. # can be detected and how.
  5828. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5829. /* end confdefs.h. */
  5830. #include <ac_nonexistent.h>
  5831. _ACEOF
  5832. if ac_fn_c_try_cpp "$LINENO"; then :
  5833. # Broken: success on invalid input.
  5834. continue
  5835. else
  5836. # Passes both tests.
  5837. ac_preproc_ok=:
  5838. break
  5839. fi
  5840. rm -f conftest.err conftest.$ac_ext
  5841. done
  5842. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5843. rm -f conftest.err conftest.$ac_ext
  5844. if $ac_preproc_ok; then :
  5845. break
  5846. fi
  5847. done
  5848. ac_cv_prog_CPP=$CPP
  5849. fi
  5850. CPP=$ac_cv_prog_CPP
  5851. else
  5852. ac_cv_prog_CPP=$CPP
  5853. fi
  5854. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  5855. $as_echo "$CPP" >&6; }
  5856. ac_preproc_ok=false
  5857. for ac_c_preproc_warn_flag in '' yes
  5858. do
  5859. # Use a header file that comes with gcc, so configuring glibc
  5860. # with a fresh cross-compiler works.
  5861. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5862. # <limits.h> exists even on freestanding compilers.
  5863. # On the NeXT, cc -E runs the code through the compiler's parser,
  5864. # not just through cpp. "Syntax error" is here to catch this case.
  5865. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5866. /* end confdefs.h. */
  5867. #ifdef __STDC__
  5868. # include <limits.h>
  5869. #else
  5870. # include <assert.h>
  5871. #endif
  5872. Syntax error
  5873. _ACEOF
  5874. if ac_fn_c_try_cpp "$LINENO"; then :
  5875. else
  5876. # Broken: fails on valid input.
  5877. continue
  5878. fi
  5879. rm -f conftest.err conftest.$ac_ext
  5880. # OK, works on sane cases. Now check whether nonexistent headers
  5881. # can be detected and how.
  5882. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5883. /* end confdefs.h. */
  5884. #include <ac_nonexistent.h>
  5885. _ACEOF
  5886. if ac_fn_c_try_cpp "$LINENO"; then :
  5887. # Broken: success on invalid input.
  5888. continue
  5889. else
  5890. # Passes both tests.
  5891. ac_preproc_ok=:
  5892. break
  5893. fi
  5894. rm -f conftest.err conftest.$ac_ext
  5895. done
  5896. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5897. rm -f conftest.err conftest.$ac_ext
  5898. if $ac_preproc_ok; then :
  5899. else
  5900. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5901. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5902. as_fn_error "C preprocessor \"$CPP\" fails sanity check
  5903. See \`config.log' for more details." "$LINENO" 5; }
  5904. fi
  5905. ac_ext=c
  5906. ac_cpp='$CPP $CPPFLAGS'
  5907. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5908. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5909. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5910. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  5911. $as_echo_n "checking for ANSI C header files... " >&6; }
  5912. if test "${ac_cv_header_stdc+set}" = set; then :
  5913. $as_echo_n "(cached) " >&6
  5914. else
  5915. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5916. /* end confdefs.h. */
  5917. #include <stdlib.h>
  5918. #include <stdarg.h>
  5919. #include <string.h>
  5920. #include <float.h>
  5921. int
  5922. main ()
  5923. {
  5924. ;
  5925. return 0;
  5926. }
  5927. _ACEOF
  5928. if ac_fn_c_try_compile "$LINENO"; then :
  5929. ac_cv_header_stdc=yes
  5930. else
  5931. ac_cv_header_stdc=no
  5932. fi
  5933. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5934. if test $ac_cv_header_stdc = yes; then
  5935. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  5936. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5937. /* end confdefs.h. */
  5938. #include <string.h>
  5939. _ACEOF
  5940. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5941. $EGREP "memchr" >/dev/null 2>&1; then :
  5942. else
  5943. ac_cv_header_stdc=no
  5944. fi
  5945. rm -f conftest*
  5946. fi
  5947. if test $ac_cv_header_stdc = yes; then
  5948. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  5949. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5950. /* end confdefs.h. */
  5951. #include <stdlib.h>
  5952. _ACEOF
  5953. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5954. $EGREP "free" >/dev/null 2>&1; then :
  5955. else
  5956. ac_cv_header_stdc=no
  5957. fi
  5958. rm -f conftest*
  5959. fi
  5960. if test $ac_cv_header_stdc = yes; then
  5961. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  5962. if test "$cross_compiling" = yes; then :
  5963. :
  5964. else
  5965. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5966. /* end confdefs.h. */
  5967. #include <ctype.h>
  5968. #include <stdlib.h>
  5969. #if ((' ' & 0x0FF) == 0x020)
  5970. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  5971. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  5972. #else
  5973. # define ISLOWER(c) \
  5974. (('a' <= (c) && (c) <= 'i') \
  5975. || ('j' <= (c) && (c) <= 'r') \
  5976. || ('s' <= (c) && (c) <= 'z'))
  5977. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  5978. #endif
  5979. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  5980. int
  5981. main ()
  5982. {
  5983. int i;
  5984. for (i = 0; i < 256; i++)
  5985. if (XOR (islower (i), ISLOWER (i))
  5986. || toupper (i) != TOUPPER (i))
  5987. return 2;
  5988. return 0;
  5989. }
  5990. _ACEOF
  5991. if ac_fn_c_try_run "$LINENO"; then :
  5992. else
  5993. ac_cv_header_stdc=no
  5994. fi
  5995. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5996. conftest.$ac_objext conftest.beam conftest.$ac_ext
  5997. fi
  5998. fi
  5999. fi
  6000. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  6001. $as_echo "$ac_cv_header_stdc" >&6; }
  6002. if test $ac_cv_header_stdc = yes; then
  6003. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  6004. fi
  6005. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6006. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6007. inttypes.h stdint.h unistd.h
  6008. do :
  6009. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6010. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  6011. "
  6012. eval as_val=\$$as_ac_Header
  6013. if test "x$as_val" = x""yes; then :
  6014. cat >>confdefs.h <<_ACEOF
  6015. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6016. _ACEOF
  6017. fi
  6018. done
  6019. for ac_header in dlfcn.h
  6020. do :
  6021. ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  6022. "
  6023. if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
  6024. cat >>confdefs.h <<_ACEOF
  6025. #define HAVE_DLFCN_H 1
  6026. _ACEOF
  6027. fi
  6028. done
  6029. # Set options
  6030. enable_dlopen=no
  6031. enable_win32_dll=no
  6032. # Check whether --enable-shared was given.
  6033. if test "${enable_shared+set}" = set; then :
  6034. enableval=$enable_shared; p=${PACKAGE-default}
  6035. case $enableval in
  6036. yes) enable_shared=yes ;;
  6037. no) enable_shared=no ;;
  6038. *)
  6039. enable_shared=no
  6040. # Look at the argument we got. We use all the common list separators.
  6041. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  6042. for pkg in $enableval; do
  6043. IFS="$lt_save_ifs"
  6044. if test "X$pkg" = "X$p"; then
  6045. enable_shared=yes
  6046. fi
  6047. done
  6048. IFS="$lt_save_ifs"
  6049. ;;
  6050. esac
  6051. else
  6052. enable_shared=yes
  6053. fi
  6054. # Check whether --enable-static was given.
  6055. if test "${enable_static+set}" = set; then :
  6056. enableval=$enable_static; p=${PACKAGE-default}
  6057. case $enableval in
  6058. yes) enable_static=yes ;;
  6059. no) enable_static=no ;;
  6060. *)
  6061. enable_static=no
  6062. # Look at the argument we got. We use all the common list separators.
  6063. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  6064. for pkg in $enableval; do
  6065. IFS="$lt_save_ifs"
  6066. if test "X$pkg" = "X$p"; then
  6067. enable_static=yes
  6068. fi
  6069. done
  6070. IFS="$lt_save_ifs"
  6071. ;;
  6072. esac
  6073. else
  6074. enable_static=yes
  6075. fi
  6076. # Check whether --with-pic was given.
  6077. if test "${with_pic+set}" = set; then :
  6078. withval=$with_pic; pic_mode="$withval"
  6079. else
  6080. pic_mode=default
  6081. fi
  6082. test -z "$pic_mode" && pic_mode=default
  6083. # Check whether --enable-fast-install was given.
  6084. if test "${enable_fast_install+set}" = set; then :
  6085. enableval=$enable_fast_install; p=${PACKAGE-default}
  6086. case $enableval in
  6087. yes) enable_fast_install=yes ;;
  6088. no) enable_fast_install=no ;;
  6089. *)
  6090. enable_fast_install=no
  6091. # Look at the argument we got. We use all the common list separators.
  6092. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  6093. for pkg in $enableval; do
  6094. IFS="$lt_save_ifs"
  6095. if test "X$pkg" = "X$p"; then
  6096. enable_fast_install=yes
  6097. fi
  6098. done
  6099. IFS="$lt_save_ifs"
  6100. ;;
  6101. esac
  6102. else
  6103. enable_fast_install=yes
  6104. fi
  6105. # This can be used to rebuild libtool when needed
  6106. LIBTOOL_DEPS="$ltmain"
  6107. # Always use our own libtool.
  6108. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  6109. test -z "$LN_S" && LN_S="ln -s"
  6110. if test -n "${ZSH_VERSION+set}" ; then
  6111. setopt NO_GLOB_SUBST
  6112. fi
  6113. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  6114. $as_echo_n "checking for objdir... " >&6; }
  6115. if test "${lt_cv_objdir+set}" = set; then :
  6116. $as_echo_n "(cached) " >&6
  6117. else
  6118. rm -f .libs 2>/dev/null
  6119. mkdir .libs 2>/dev/null
  6120. if test -d .libs; then
  6121. lt_cv_objdir=.libs
  6122. else
  6123. # MS-DOS does not allow filenames that begin with a dot.
  6124. lt_cv_objdir=_libs
  6125. fi
  6126. rmdir .libs 2>/dev/null
  6127. fi
  6128. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  6129. $as_echo "$lt_cv_objdir" >&6; }
  6130. objdir=$lt_cv_objdir
  6131. cat >>confdefs.h <<_ACEOF
  6132. #define LT_OBJDIR "$lt_cv_objdir/"
  6133. _ACEOF
  6134. case $host_os in
  6135. aix3*)
  6136. # AIX sometimes has problems with the GCC collect2 program. For some
  6137. # reason, if we set the COLLECT_NAMES environment variable, the problems
  6138. # vanish in a puff of smoke.
  6139. if test "X${COLLECT_NAMES+set}" != Xset; then
  6140. COLLECT_NAMES=
  6141. export COLLECT_NAMES
  6142. fi
  6143. ;;
  6144. esac
  6145. # Sed substitution that helps us do robust quoting. It backslashifies
  6146. # metacharacters that are still active within double-quoted strings.
  6147. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  6148. # Same as above, but do not quote variable references.
  6149. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  6150. # Sed substitution to delay expansion of an escaped shell variable in a
  6151. # double_quote_subst'ed string.
  6152. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  6153. # Sed substitution to delay expansion of an escaped single quote.
  6154. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  6155. # Sed substitution to avoid accidental globbing in evaled expressions
  6156. no_glob_subst='s/\*/\\\*/g'
  6157. # Global variables:
  6158. ofile=libtool
  6159. can_build_shared=yes
  6160. # All known linkers require a `.a' archive for static linking (except MSVC,
  6161. # which needs '.lib').
  6162. libext=a
  6163. with_gnu_ld="$lt_cv_prog_gnu_ld"
  6164. old_CC="$CC"
  6165. old_CFLAGS="$CFLAGS"
  6166. # Set sane defaults for various variables
  6167. test -z "$CC" && CC=cc
  6168. test -z "$LTCC" && LTCC=$CC
  6169. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  6170. test -z "$LD" && LD=ld
  6171. test -z "$ac_objext" && ac_objext=o
  6172. for cc_temp in $compiler""; do
  6173. case $cc_temp in
  6174. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  6175. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  6176. \-*) ;;
  6177. *) break;;
  6178. esac
  6179. done
  6180. cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  6181. # Only perform the check for file, if the check method requires it
  6182. test -z "$MAGIC_CMD" && MAGIC_CMD=file
  6183. case $deplibs_check_method in
  6184. file_magic*)
  6185. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  6186. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  6187. $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  6188. if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  6189. $as_echo_n "(cached) " >&6
  6190. else
  6191. case $MAGIC_CMD in
  6192. [\\/*] | ?:[\\/]*)
  6193. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  6194. ;;
  6195. *)
  6196. lt_save_MAGIC_CMD="$MAGIC_CMD"
  6197. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  6198. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  6199. for ac_dir in $ac_dummy; do
  6200. IFS="$lt_save_ifs"
  6201. test -z "$ac_dir" && ac_dir=.
  6202. if test -f $ac_dir/${ac_tool_prefix}file; then
  6203. lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  6204. if test -n "$file_magic_test_file"; then
  6205. case $deplibs_check_method in
  6206. "file_magic "*)
  6207. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  6208. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  6209. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  6210. $EGREP "$file_magic_regex" > /dev/null; then
  6211. :
  6212. else
  6213. cat <<_LT_EOF 1>&2
  6214. *** Warning: the command libtool uses to detect shared libraries,
  6215. *** $file_magic_cmd, produces output that libtool cannot recognize.
  6216. *** The result is that libtool may fail to recognize shared libraries
  6217. *** as such. This will affect the creation of libtool libraries that
  6218. *** depend on shared libraries, but programs linked with such libtool
  6219. *** libraries will work regardless of this problem. Nevertheless, you
  6220. *** may want to report the problem to your system manager and/or to
  6221. *** bug-libtool@gnu.org
  6222. _LT_EOF
  6223. fi ;;
  6224. esac
  6225. fi
  6226. break
  6227. fi
  6228. done
  6229. IFS="$lt_save_ifs"
  6230. MAGIC_CMD="$lt_save_MAGIC_CMD"
  6231. ;;
  6232. esac
  6233. fi
  6234. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  6235. if test -n "$MAGIC_CMD"; then
  6236. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  6237. $as_echo "$MAGIC_CMD" >&6; }
  6238. else
  6239. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6240. $as_echo "no" >&6; }
  6241. fi
  6242. if test -z "$lt_cv_path_MAGIC_CMD"; then
  6243. if test -n "$ac_tool_prefix"; then
  6244. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  6245. $as_echo_n "checking for file... " >&6; }
  6246. if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  6247. $as_echo_n "(cached) " >&6
  6248. else
  6249. case $MAGIC_CMD in
  6250. [\\/*] | ?:[\\/]*)
  6251. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  6252. ;;
  6253. *)
  6254. lt_save_MAGIC_CMD="$MAGIC_CMD"
  6255. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  6256. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  6257. for ac_dir in $ac_dummy; do
  6258. IFS="$lt_save_ifs"
  6259. test -z "$ac_dir" && ac_dir=.
  6260. if test -f $ac_dir/file; then
  6261. lt_cv_path_MAGIC_CMD="$ac_dir/file"
  6262. if test -n "$file_magic_test_file"; then
  6263. case $deplibs_check_method in
  6264. "file_magic "*)
  6265. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  6266. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  6267. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  6268. $EGREP "$file_magic_regex" > /dev/null; then
  6269. :
  6270. else
  6271. cat <<_LT_EOF 1>&2
  6272. *** Warning: the command libtool uses to detect shared libraries,
  6273. *** $file_magic_cmd, produces output that libtool cannot recognize.
  6274. *** The result is that libtool may fail to recognize shared libraries
  6275. *** as such. This will affect the creation of libtool libraries that
  6276. *** depend on shared libraries, but programs linked with such libtool
  6277. *** libraries will work regardless of this problem. Nevertheless, you
  6278. *** may want to report the problem to your system manager and/or to
  6279. *** bug-libtool@gnu.org
  6280. _LT_EOF
  6281. fi ;;
  6282. esac
  6283. fi
  6284. break
  6285. fi
  6286. done
  6287. IFS="$lt_save_ifs"
  6288. MAGIC_CMD="$lt_save_MAGIC_CMD"
  6289. ;;
  6290. esac
  6291. fi
  6292. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  6293. if test -n "$MAGIC_CMD"; then
  6294. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  6295. $as_echo "$MAGIC_CMD" >&6; }
  6296. else
  6297. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6298. $as_echo "no" >&6; }
  6299. fi
  6300. else
  6301. MAGIC_CMD=:
  6302. fi
  6303. fi
  6304. fi
  6305. ;;
  6306. esac
  6307. # Use C for the default configuration in the libtool script
  6308. lt_save_CC="$CC"
  6309. ac_ext=c
  6310. ac_cpp='$CPP $CPPFLAGS'
  6311. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6312. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6313. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6314. # Source file extension for C test sources.
  6315. ac_ext=c
  6316. # Object file extension for compiled C test sources.
  6317. objext=o
  6318. objext=$objext
  6319. # Code to be used in simple compile tests
  6320. lt_simple_compile_test_code="int some_variable = 0;"
  6321. # Code to be used in simple link tests
  6322. lt_simple_link_test_code='int main(){return(0);}'
  6323. # If no C compiler was specified, use CC.
  6324. LTCC=${LTCC-"$CC"}
  6325. # If no C compiler flags were specified, use CFLAGS.
  6326. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  6327. # Allow CC to be a program name with arguments.
  6328. compiler=$CC
  6329. # Save the default compiler, since it gets overwritten when the other
  6330. # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  6331. compiler_DEFAULT=$CC
  6332. # save warnings/boilerplate of simple test code
  6333. ac_outfile=conftest.$ac_objext
  6334. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  6335. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  6336. _lt_compiler_boilerplate=`cat conftest.err`
  6337. $RM conftest*
  6338. ac_outfile=conftest.$ac_objext
  6339. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  6340. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  6341. _lt_linker_boilerplate=`cat conftest.err`
  6342. $RM -r conftest*
  6343. if test -n "$compiler"; then
  6344. lt_prog_compiler_no_builtin_flag=
  6345. if test "$GCC" = yes; then
  6346. lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  6347. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  6348. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  6349. if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
  6350. $as_echo_n "(cached) " >&6
  6351. else
  6352. lt_cv_prog_compiler_rtti_exceptions=no
  6353. ac_outfile=conftest.$ac_objext
  6354. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  6355. lt_compiler_flag="-fno-rtti -fno-exceptions"
  6356. # Insert the option either (1) after the last *FLAGS variable, or
  6357. # (2) before a word containing "conftest.", or (3) at the end.
  6358. # Note that $ac_compile itself does not contain backslashes and begins
  6359. # with a dollar sign (not a hyphen), so the echo should work correctly.
  6360. # The option is referenced via a variable to avoid confusing sed.
  6361. lt_compile=`echo "$ac_compile" | $SED \
  6362. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  6363. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  6364. -e 's:$: $lt_compiler_flag:'`
  6365. (eval echo "\"\$as_me:7311: $lt_compile\"" >&5)
  6366. (eval "$lt_compile" 2>conftest.err)
  6367. ac_status=$?
  6368. cat conftest.err >&5
  6369. echo "$as_me:7315: \$? = $ac_status" >&5
  6370. if (exit $ac_status) && test -s "$ac_outfile"; then
  6371. # The compiler can only warn and ignore the option if not recognized
  6372. # So say no if there are warnings other than the usual output.
  6373. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  6374. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  6375. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  6376. lt_cv_prog_compiler_rtti_exceptions=yes
  6377. fi
  6378. fi
  6379. $RM conftest*
  6380. fi
  6381. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  6382. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  6383. if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  6384. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  6385. else
  6386. :
  6387. fi
  6388. fi
  6389. lt_prog_compiler_wl=
  6390. lt_prog_compiler_pic=
  6391. lt_prog_compiler_static=
  6392. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  6393. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  6394. if test "$GCC" = yes; then
  6395. lt_prog_compiler_wl='-Wl,'
  6396. lt_prog_compiler_static='-static'
  6397. case $host_os in
  6398. aix*)
  6399. # All AIX code is PIC.
  6400. if test "$host_cpu" = ia64; then
  6401. # AIX 5 now supports IA64 processor
  6402. lt_prog_compiler_static='-Bstatic'
  6403. fi
  6404. ;;
  6405. amigaos*)
  6406. case $host_cpu in
  6407. powerpc)
  6408. # see comment about AmigaOS4 .so support
  6409. lt_prog_compiler_pic='-fPIC'
  6410. ;;
  6411. m68k)
  6412. # FIXME: we need at least 68020 code to build shared libraries, but
  6413. # adding the `-m68020' flag to GCC prevents building anything better,
  6414. # like `-m68040'.
  6415. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  6416. ;;
  6417. esac
  6418. ;;
  6419. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  6420. # PIC is the default for these OSes.
  6421. ;;
  6422. mingw* | cygwin* | pw32* | os2* | cegcc*)
  6423. # This hack is so that the source file can tell whether it is being
  6424. # built for inclusion in a dll (and should export symbols for example).
  6425. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  6426. # (--disable-auto-import) libraries
  6427. lt_prog_compiler_pic='-DDLL_EXPORT'
  6428. ;;
  6429. darwin* | rhapsody*)
  6430. # PIC is the default on this platform
  6431. # Common symbols not allowed in MH_DYLIB files
  6432. lt_prog_compiler_pic='-fno-common'
  6433. ;;
  6434. hpux*)
  6435. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  6436. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  6437. # sets the default TLS model and affects inlining.
  6438. case $host_cpu in
  6439. hppa*64*)
  6440. # +Z the default
  6441. ;;
  6442. *)
  6443. lt_prog_compiler_pic='-fPIC'
  6444. ;;
  6445. esac
  6446. ;;
  6447. interix[3-9]*)
  6448. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  6449. # Instead, we relocate shared libraries at runtime.
  6450. ;;
  6451. msdosdjgpp*)
  6452. # Just because we use GCC doesn't mean we suddenly get shared libraries
  6453. # on systems that don't support them.
  6454. lt_prog_compiler_can_build_shared=no
  6455. enable_shared=no
  6456. ;;
  6457. *nto* | *qnx*)
  6458. # QNX uses GNU C++, but need to define -shared option too, otherwise
  6459. # it will coredump.
  6460. lt_prog_compiler_pic='-fPIC -shared'
  6461. ;;
  6462. sysv4*MP*)
  6463. if test -d /usr/nec; then
  6464. lt_prog_compiler_pic=-Kconform_pic
  6465. fi
  6466. ;;
  6467. *)
  6468. lt_prog_compiler_pic='-fPIC'
  6469. ;;
  6470. esac
  6471. else
  6472. # PORTME Check for flag to pass linker flags through the system compiler.
  6473. case $host_os in
  6474. aix*)
  6475. lt_prog_compiler_wl='-Wl,'
  6476. if test "$host_cpu" = ia64; then
  6477. # AIX 5 now supports IA64 processor
  6478. lt_prog_compiler_static='-Bstatic'
  6479. else
  6480. lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  6481. fi
  6482. ;;
  6483. mingw* | cygwin* | pw32* | os2* | cegcc*)
  6484. # This hack is so that the source file can tell whether it is being
  6485. # built for inclusion in a dll (and should export symbols for example).
  6486. lt_prog_compiler_pic='-DDLL_EXPORT'
  6487. ;;
  6488. hpux9* | hpux10* | hpux11*)
  6489. lt_prog_compiler_wl='-Wl,'
  6490. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  6491. # not for PA HP-UX.
  6492. case $host_cpu in
  6493. hppa*64*|ia64*)
  6494. # +Z the default
  6495. ;;
  6496. *)
  6497. lt_prog_compiler_pic='+Z'
  6498. ;;
  6499. esac
  6500. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  6501. lt_prog_compiler_static='${wl}-a ${wl}archive'
  6502. ;;
  6503. irix5* | irix6* | nonstopux*)
  6504. lt_prog_compiler_wl='-Wl,'
  6505. # PIC (with -KPIC) is the default.
  6506. lt_prog_compiler_static='-non_shared'
  6507. ;;
  6508. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  6509. case $cc_basename in
  6510. # old Intel for x86_64 which still supported -KPIC.
  6511. ecc*)
  6512. lt_prog_compiler_wl='-Wl,'
  6513. lt_prog_compiler_pic='-KPIC'
  6514. lt_prog_compiler_static='-static'
  6515. ;;
  6516. # icc used to be incompatible with GCC.
  6517. # ICC 10 doesn't accept -KPIC any more.
  6518. icc* | ifort*)
  6519. lt_prog_compiler_wl='-Wl,'
  6520. lt_prog_compiler_pic='-fPIC'
  6521. lt_prog_compiler_static='-static'
  6522. ;;
  6523. # Lahey Fortran 8.1.
  6524. lf95*)
  6525. lt_prog_compiler_wl='-Wl,'
  6526. lt_prog_compiler_pic='--shared'
  6527. lt_prog_compiler_static='--static'
  6528. ;;
  6529. pgcc* | pgf77* | pgf90* | pgf95*)
  6530. # Portland Group compilers (*not* the Pentium gcc compiler,
  6531. # which looks to be a dead project)
  6532. lt_prog_compiler_wl='-Wl,'
  6533. lt_prog_compiler_pic='-fpic'
  6534. lt_prog_compiler_static='-Bstatic'
  6535. ;;
  6536. ccc*)
  6537. lt_prog_compiler_wl='-Wl,'
  6538. # All Alpha code is PIC.
  6539. lt_prog_compiler_static='-non_shared'
  6540. ;;
  6541. xl*)
  6542. # IBM XL C 8.0/Fortran 10.1 on PPC
  6543. lt_prog_compiler_wl='-Wl,'
  6544. lt_prog_compiler_pic='-qpic'
  6545. lt_prog_compiler_static='-qstaticlink'
  6546. ;;
  6547. *)
  6548. case `$CC -V 2>&1 | sed 5q` in
  6549. *Sun\ C*)
  6550. # Sun C 5.9
  6551. lt_prog_compiler_pic='-KPIC'
  6552. lt_prog_compiler_static='-Bstatic'
  6553. lt_prog_compiler_wl='-Wl,'
  6554. ;;
  6555. *Sun\ F*)
  6556. # Sun Fortran 8.3 passes all unrecognized flags to the linker
  6557. lt_prog_compiler_pic='-KPIC'
  6558. lt_prog_compiler_static='-Bstatic'
  6559. lt_prog_compiler_wl=''
  6560. ;;
  6561. esac
  6562. ;;
  6563. esac
  6564. ;;
  6565. newsos6)
  6566. lt_prog_compiler_pic='-KPIC'
  6567. lt_prog_compiler_static='-Bstatic'
  6568. ;;
  6569. *nto* | *qnx*)
  6570. # QNX uses GNU C++, but need to define -shared option too, otherwise
  6571. # it will coredump.
  6572. lt_prog_compiler_pic='-fPIC -shared'
  6573. ;;
  6574. osf3* | osf4* | osf5*)
  6575. lt_prog_compiler_wl='-Wl,'
  6576. # All OSF/1 code is PIC.
  6577. lt_prog_compiler_static='-non_shared'
  6578. ;;
  6579. rdos*)
  6580. lt_prog_compiler_static='-non_shared'
  6581. ;;
  6582. solaris*)
  6583. lt_prog_compiler_pic='-KPIC'
  6584. lt_prog_compiler_static='-Bstatic'
  6585. case $cc_basename in
  6586. f77* | f90* | f95*)
  6587. lt_prog_compiler_wl='-Qoption ld ';;
  6588. *)
  6589. lt_prog_compiler_wl='-Wl,';;
  6590. esac
  6591. ;;
  6592. sunos4*)
  6593. lt_prog_compiler_wl='-Qoption ld '
  6594. lt_prog_compiler_pic='-PIC'
  6595. lt_prog_compiler_static='-Bstatic'
  6596. ;;
  6597. sysv4 | sysv4.2uw2* | sysv4.3*)
  6598. lt_prog_compiler_wl='-Wl,'
  6599. lt_prog_compiler_pic='-KPIC'
  6600. lt_prog_compiler_static='-Bstatic'
  6601. ;;
  6602. sysv4*MP*)
  6603. if test -d /usr/nec ;then
  6604. lt_prog_compiler_pic='-Kconform_pic'
  6605. lt_prog_compiler_static='-Bstatic'
  6606. fi
  6607. ;;
  6608. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  6609. lt_prog_compiler_wl='-Wl,'
  6610. lt_prog_compiler_pic='-KPIC'
  6611. lt_prog_compiler_static='-Bstatic'
  6612. ;;
  6613. unicos*)
  6614. lt_prog_compiler_wl='-Wl,'
  6615. lt_prog_compiler_can_build_shared=no
  6616. ;;
  6617. uts4*)
  6618. lt_prog_compiler_pic='-pic'
  6619. lt_prog_compiler_static='-Bstatic'
  6620. ;;
  6621. *)
  6622. lt_prog_compiler_can_build_shared=no
  6623. ;;
  6624. esac
  6625. fi
  6626. case $host_os in
  6627. # For platforms which do not support PIC, -DPIC is meaningless:
  6628. *djgpp*)
  6629. lt_prog_compiler_pic=
  6630. ;;
  6631. *)
  6632. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  6633. ;;
  6634. esac
  6635. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  6636. $as_echo "$lt_prog_compiler_pic" >&6; }
  6637. #
  6638. # Check to make sure the PIC flag actually works.
  6639. #
  6640. if test -n "$lt_prog_compiler_pic"; then
  6641. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  6642. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  6643. if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
  6644. $as_echo_n "(cached) " >&6
  6645. else
  6646. lt_cv_prog_compiler_pic_works=no
  6647. ac_outfile=conftest.$ac_objext
  6648. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  6649. lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  6650. # Insert the option either (1) after the last *FLAGS variable, or
  6651. # (2) before a word containing "conftest.", or (3) at the end.
  6652. # Note that $ac_compile itself does not contain backslashes and begins
  6653. # with a dollar sign (not a hyphen), so the echo should work correctly.
  6654. # The option is referenced via a variable to avoid confusing sed.
  6655. lt_compile=`echo "$ac_compile" | $SED \
  6656. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  6657. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  6658. -e 's:$: $lt_compiler_flag:'`
  6659. (eval echo "\"\$as_me:7650: $lt_compile\"" >&5)
  6660. (eval "$lt_compile" 2>conftest.err)
  6661. ac_status=$?
  6662. cat conftest.err >&5
  6663. echo "$as_me:7654: \$? = $ac_status" >&5
  6664. if (exit $ac_status) && test -s "$ac_outfile"; then
  6665. # The compiler can only warn and ignore the option if not recognized
  6666. # So say no if there are warnings other than the usual output.
  6667. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  6668. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  6669. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  6670. lt_cv_prog_compiler_pic_works=yes
  6671. fi
  6672. fi
  6673. $RM conftest*
  6674. fi
  6675. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  6676. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  6677. if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  6678. case $lt_prog_compiler_pic in
  6679. "" | " "*) ;;
  6680. *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  6681. esac
  6682. else
  6683. lt_prog_compiler_pic=
  6684. lt_prog_compiler_can_build_shared=no
  6685. fi
  6686. fi
  6687. #
  6688. # Check to make sure the static flag actually works.
  6689. #
  6690. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  6691. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  6692. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  6693. if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
  6694. $as_echo_n "(cached) " >&6
  6695. else
  6696. lt_cv_prog_compiler_static_works=no
  6697. save_LDFLAGS="$LDFLAGS"
  6698. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  6699. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  6700. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  6701. # The linker can only warn and ignore the option if not recognized
  6702. # So say no if there are warnings
  6703. if test -s conftest.err; then
  6704. # Append any errors to the config.log.
  6705. cat conftest.err 1>&5
  6706. $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  6707. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  6708. if diff conftest.exp conftest.er2 >/dev/null; then
  6709. lt_cv_prog_compiler_static_works=yes
  6710. fi
  6711. else
  6712. lt_cv_prog_compiler_static_works=yes
  6713. fi
  6714. fi
  6715. $RM -r conftest*
  6716. LDFLAGS="$save_LDFLAGS"
  6717. fi
  6718. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  6719. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  6720. if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  6721. :
  6722. else
  6723. lt_prog_compiler_static=
  6724. fi
  6725. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  6726. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  6727. if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  6728. $as_echo_n "(cached) " >&6
  6729. else
  6730. lt_cv_prog_compiler_c_o=no
  6731. $RM -r conftest 2>/dev/null
  6732. mkdir conftest
  6733. cd conftest
  6734. mkdir out
  6735. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  6736. lt_compiler_flag="-o out/conftest2.$ac_objext"
  6737. # Insert the option either (1) after the last *FLAGS variable, or
  6738. # (2) before a word containing "conftest.", or (3) at the end.
  6739. # Note that $ac_compile itself does not contain backslashes and begins
  6740. # with a dollar sign (not a hyphen), so the echo should work correctly.
  6741. lt_compile=`echo "$ac_compile" | $SED \
  6742. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  6743. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  6744. -e 's:$: $lt_compiler_flag:'`
  6745. (eval echo "\"\$as_me:7755: $lt_compile\"" >&5)
  6746. (eval "$lt_compile" 2>out/conftest.err)
  6747. ac_status=$?
  6748. cat out/conftest.err >&5
  6749. echo "$as_me:7759: \$? = $ac_status" >&5
  6750. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  6751. then
  6752. # The compiler can only warn and ignore the option if not recognized
  6753. # So say no if there are warnings
  6754. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  6755. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  6756. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  6757. lt_cv_prog_compiler_c_o=yes
  6758. fi
  6759. fi
  6760. chmod u+w . 2>&5
  6761. $RM conftest*
  6762. # SGI C++ compiler will create directory out/ii_files/ for
  6763. # template instantiation
  6764. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  6765. $RM out/* && rmdir out
  6766. cd ..
  6767. $RM -r conftest
  6768. $RM conftest*
  6769. fi
  6770. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  6771. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  6772. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  6773. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  6774. if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  6775. $as_echo_n "(cached) " >&6
  6776. else
  6777. lt_cv_prog_compiler_c_o=no
  6778. $RM -r conftest 2>/dev/null
  6779. mkdir conftest
  6780. cd conftest
  6781. mkdir out
  6782. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  6783. lt_compiler_flag="-o out/conftest2.$ac_objext"
  6784. # Insert the option either (1) after the last *FLAGS variable, or
  6785. # (2) before a word containing "conftest.", or (3) at the end.
  6786. # Note that $ac_compile itself does not contain backslashes and begins
  6787. # with a dollar sign (not a hyphen), so the echo should work correctly.
  6788. lt_compile=`echo "$ac_compile" | $SED \
  6789. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  6790. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  6791. -e 's:$: $lt_compiler_flag:'`
  6792. (eval echo "\"\$as_me:7810: $lt_compile\"" >&5)
  6793. (eval "$lt_compile" 2>out/conftest.err)
  6794. ac_status=$?
  6795. cat out/conftest.err >&5
  6796. echo "$as_me:7814: \$? = $ac_status" >&5
  6797. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  6798. then
  6799. # The compiler can only warn and ignore the option if not recognized
  6800. # So say no if there are warnings
  6801. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  6802. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  6803. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  6804. lt_cv_prog_compiler_c_o=yes
  6805. fi
  6806. fi
  6807. chmod u+w . 2>&5
  6808. $RM conftest*
  6809. # SGI C++ compiler will create directory out/ii_files/ for
  6810. # template instantiation
  6811. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  6812. $RM out/* && rmdir out
  6813. cd ..
  6814. $RM -r conftest
  6815. $RM conftest*
  6816. fi
  6817. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  6818. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  6819. hard_links="nottested"
  6820. if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  6821. # do not overwrite the value of need_locks provided by the user
  6822. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  6823. $as_echo_n "checking if we can lock with hard links... " >&6; }
  6824. hard_links=yes
  6825. $RM conftest*
  6826. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  6827. touch conftest.a
  6828. ln conftest.a conftest.b 2>&5 || hard_links=no
  6829. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  6830. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  6831. $as_echo "$hard_links" >&6; }
  6832. if test "$hard_links" = no; then
  6833. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  6834. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  6835. need_locks=warn
  6836. fi
  6837. else
  6838. need_locks=no
  6839. fi
  6840. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  6841. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  6842. runpath_var=
  6843. allow_undefined_flag=
  6844. always_export_symbols=no
  6845. archive_cmds=
  6846. archive_expsym_cmds=
  6847. compiler_needs_object=no
  6848. enable_shared_with_static_runtimes=no
  6849. export_dynamic_flag_spec=
  6850. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  6851. hardcode_automatic=no
  6852. hardcode_direct=no
  6853. hardcode_direct_absolute=no
  6854. hardcode_libdir_flag_spec=
  6855. hardcode_libdir_flag_spec_ld=
  6856. hardcode_libdir_separator=
  6857. hardcode_minus_L=no
  6858. hardcode_shlibpath_var=unsupported
  6859. inherit_rpath=no
  6860. link_all_deplibs=unknown
  6861. module_cmds=
  6862. module_expsym_cmds=
  6863. old_archive_from_new_cmds=
  6864. old_archive_from_expsyms_cmds=
  6865. thread_safe_flag_spec=
  6866. whole_archive_flag_spec=
  6867. # include_expsyms should be a list of space-separated symbols to be *always*
  6868. # included in the symbol list
  6869. include_expsyms=
  6870. # exclude_expsyms can be an extended regexp of symbols to exclude
  6871. # it will be wrapped by ` (' and `)$', so one must not match beginning or
  6872. # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  6873. # as well as any symbol that contains `d'.
  6874. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  6875. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  6876. # platforms (ab)use it in PIC code, but their linkers get confused if
  6877. # the symbol is explicitly referenced. Since portable code cannot
  6878. # rely on this symbol name, it's probably fine to never include it in
  6879. # preloaded symbol tables.
  6880. # Exclude shared library initialization/finalization symbols.
  6881. extract_expsyms_cmds=
  6882. case $host_os in
  6883. cygwin* | mingw* | pw32* | cegcc*)
  6884. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  6885. # When not using gcc, we currently assume that we are using
  6886. # Microsoft Visual C++.
  6887. if test "$GCC" != yes; then
  6888. with_gnu_ld=no
  6889. fi
  6890. ;;
  6891. interix*)
  6892. # we just hope/assume this is gcc and not c89 (= MSVC++)
  6893. with_gnu_ld=yes
  6894. ;;
  6895. openbsd*)
  6896. with_gnu_ld=no
  6897. ;;
  6898. linux* | k*bsd*-gnu)
  6899. link_all_deplibs=no
  6900. ;;
  6901. esac
  6902. ld_shlibs=yes
  6903. if test "$with_gnu_ld" = yes; then
  6904. # If archive_cmds runs LD, not CC, wlarc should be empty
  6905. wlarc='${wl}'
  6906. # Set some defaults for GNU ld with shared library support. These
  6907. # are reset later if shared libraries are not supported. Putting them
  6908. # here allows them to be overridden if necessary.
  6909. runpath_var=LD_RUN_PATH
  6910. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  6911. export_dynamic_flag_spec='${wl}--export-dynamic'
  6912. # ancient GNU ld didn't support --whole-archive et. al.
  6913. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  6914. whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  6915. else
  6916. whole_archive_flag_spec=
  6917. fi
  6918. supports_anon_versioning=no
  6919. case `$LD -v 2>&1` in
  6920. *GNU\ gold*) supports_anon_versioning=yes ;;
  6921. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  6922. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  6923. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  6924. *\ 2.11.*) ;; # other 2.11 versions
  6925. *) supports_anon_versioning=yes ;;
  6926. esac
  6927. # See if GNU ld supports shared libraries.
  6928. case $host_os in
  6929. aix[3-9]*)
  6930. # On AIX/PPC, the GNU linker is very broken
  6931. if test "$host_cpu" != ia64; then
  6932. ld_shlibs=no
  6933. cat <<_LT_EOF 1>&2
  6934. *** Warning: the GNU linker, at least up to release 2.9.1, is reported
  6935. *** to be unable to reliably create shared libraries on AIX.
  6936. *** Therefore, libtool is disabling shared libraries support. If you
  6937. *** really care for shared libraries, you may want to modify your PATH
  6938. *** so that a non-GNU linker is found, and then restart.
  6939. _LT_EOF
  6940. fi
  6941. ;;
  6942. amigaos*)
  6943. case $host_cpu in
  6944. powerpc)
  6945. # see comment about AmigaOS4 .so support
  6946. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  6947. archive_expsym_cmds=''
  6948. ;;
  6949. m68k)
  6950. 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)'
  6951. hardcode_libdir_flag_spec='-L$libdir'
  6952. hardcode_minus_L=yes
  6953. ;;
  6954. esac
  6955. ;;
  6956. beos*)
  6957. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  6958. allow_undefined_flag=unsupported
  6959. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  6960. # support --undefined. This deserves some investigation. FIXME
  6961. archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  6962. else
  6963. ld_shlibs=no
  6964. fi
  6965. ;;
  6966. cygwin* | mingw* | pw32* | cegcc*)
  6967. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  6968. # as there is no search path for DLLs.
  6969. hardcode_libdir_flag_spec='-L$libdir'
  6970. allow_undefined_flag=unsupported
  6971. always_export_symbols=no
  6972. enable_shared_with_static_runtimes=yes
  6973. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  6974. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  6975. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  6976. # If the export-symbols file already is a .def file (1st line
  6977. # is EXPORTS), use it as is; otherwise, prepend...
  6978. archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  6979. cp $export_symbols $output_objdir/$soname.def;
  6980. else
  6981. echo EXPORTS > $output_objdir/$soname.def;
  6982. cat $export_symbols >> $output_objdir/$soname.def;
  6983. fi~
  6984. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  6985. else
  6986. ld_shlibs=no
  6987. fi
  6988. ;;
  6989. interix[3-9]*)
  6990. hardcode_direct=no
  6991. hardcode_shlibpath_var=no
  6992. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  6993. export_dynamic_flag_spec='${wl}-E'
  6994. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  6995. # Instead, shared libraries are loaded at an image base (0x10000000 by
  6996. # default) and relocated if they conflict, which is a slow very memory
  6997. # consuming and fragmenting process. To avoid this, we pick a random,
  6998. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  6999. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  7000. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  7001. 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'
  7002. ;;
  7003. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  7004. tmp_diet=no
  7005. if test "$host_os" = linux-dietlibc; then
  7006. case $cc_basename in
  7007. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  7008. esac
  7009. fi
  7010. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  7011. && test "$tmp_diet" = no
  7012. then
  7013. tmp_addflag=
  7014. tmp_sharedflag='-shared'
  7015. case $cc_basename,$host_cpu in
  7016. pgcc*) # Portland Group C compiler
  7017. 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'
  7018. tmp_addflag=' $pic_flag'
  7019. ;;
  7020. pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  7021. 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'
  7022. tmp_addflag=' $pic_flag -Mnomain' ;;
  7023. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  7024. tmp_addflag=' -i_dynamic' ;;
  7025. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  7026. tmp_addflag=' -i_dynamic -nofor_main' ;;
  7027. ifc* | ifort*) # Intel Fortran compiler
  7028. tmp_addflag=' -nofor_main' ;;
  7029. lf95*) # Lahey Fortran 8.1
  7030. whole_archive_flag_spec=
  7031. tmp_sharedflag='--shared' ;;
  7032. xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  7033. tmp_sharedflag='-qmkshrobj'
  7034. tmp_addflag= ;;
  7035. esac
  7036. case `$CC -V 2>&1 | sed 5q` in
  7037. *Sun\ C*) # Sun C 5.9
  7038. 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'
  7039. compiler_needs_object=yes
  7040. tmp_sharedflag='-G' ;;
  7041. *Sun\ F*) # Sun Fortran 8.3
  7042. tmp_sharedflag='-G' ;;
  7043. esac
  7044. archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7045. if test "x$supports_anon_versioning" = xyes; then
  7046. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  7047. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  7048. echo "local: *; };" >> $output_objdir/$libname.ver~
  7049. $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  7050. fi
  7051. case $cc_basename in
  7052. xlf*)
  7053. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  7054. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  7055. hardcode_libdir_flag_spec=
  7056. hardcode_libdir_flag_spec_ld='-rpath $libdir'
  7057. archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  7058. if test "x$supports_anon_versioning" = xyes; then
  7059. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  7060. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  7061. echo "local: *; };" >> $output_objdir/$libname.ver~
  7062. $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  7063. fi
  7064. ;;
  7065. esac
  7066. else
  7067. ld_shlibs=no
  7068. fi
  7069. ;;
  7070. netbsd* | netbsdelf*-gnu)
  7071. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  7072. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  7073. wlarc=
  7074. else
  7075. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7076. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7077. fi
  7078. ;;
  7079. solaris*)
  7080. if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  7081. ld_shlibs=no
  7082. cat <<_LT_EOF 1>&2
  7083. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  7084. *** create shared libraries on Solaris systems. Therefore, libtool
  7085. *** is disabling shared libraries support. We urge you to upgrade GNU
  7086. *** binutils to release 2.9.1 or newer. Another option is to modify
  7087. *** your PATH or compiler configuration so that the native linker is
  7088. *** used, and then restart.
  7089. _LT_EOF
  7090. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7091. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7092. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7093. else
  7094. ld_shlibs=no
  7095. fi
  7096. ;;
  7097. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  7098. case `$LD -v 2>&1` in
  7099. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  7100. ld_shlibs=no
  7101. cat <<_LT_EOF 1>&2
  7102. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  7103. *** reliably create shared libraries on SCO systems. Therefore, libtool
  7104. *** is disabling shared libraries support. We urge you to upgrade GNU
  7105. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  7106. *** your PATH or compiler configuration so that the native linker is
  7107. *** used, and then restart.
  7108. _LT_EOF
  7109. ;;
  7110. *)
  7111. # For security reasons, it is highly recommended that you always
  7112. # use absolute paths for naming shared libraries, and exclude the
  7113. # DT_RUNPATH tag from executables and libraries. But doing so
  7114. # requires that you compile everything twice, which is a pain.
  7115. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7116. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7117. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7118. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7119. else
  7120. ld_shlibs=no
  7121. fi
  7122. ;;
  7123. esac
  7124. ;;
  7125. sunos4*)
  7126. archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  7127. wlarc=
  7128. hardcode_direct=yes
  7129. hardcode_shlibpath_var=no
  7130. ;;
  7131. *)
  7132. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7133. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7134. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7135. else
  7136. ld_shlibs=no
  7137. fi
  7138. ;;
  7139. esac
  7140. if test "$ld_shlibs" = no; then
  7141. runpath_var=
  7142. hardcode_libdir_flag_spec=
  7143. export_dynamic_flag_spec=
  7144. whole_archive_flag_spec=
  7145. fi
  7146. else
  7147. # PORTME fill in a description of your system's linker (not GNU ld)
  7148. case $host_os in
  7149. aix3*)
  7150. allow_undefined_flag=unsupported
  7151. always_export_symbols=yes
  7152. 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'
  7153. # Note: this linker hardcodes the directories in LIBPATH if there
  7154. # are no directories specified by -L.
  7155. hardcode_minus_L=yes
  7156. if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  7157. # Neither direct hardcoding nor static linking is supported with a
  7158. # broken collect2.
  7159. hardcode_direct=unsupported
  7160. fi
  7161. ;;
  7162. aix[4-9]*)
  7163. if test "$host_cpu" = ia64; then
  7164. # On IA64, the linker does run time linking by default, so we don't
  7165. # have to do anything special.
  7166. aix_use_runtimelinking=no
  7167. exp_sym_flag='-Bexport'
  7168. no_entry_flag=""
  7169. else
  7170. # If we're using GNU nm, then we don't want the "-C" option.
  7171. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  7172. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  7173. 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'
  7174. else
  7175. 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'
  7176. fi
  7177. aix_use_runtimelinking=no
  7178. # Test if we are trying to use run time linking or normal
  7179. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  7180. # need to do runtime linking.
  7181. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  7182. for ld_flag in $LDFLAGS; do
  7183. if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  7184. aix_use_runtimelinking=yes
  7185. break
  7186. fi
  7187. done
  7188. ;;
  7189. esac
  7190. exp_sym_flag='-bexport'
  7191. no_entry_flag='-bnoentry'
  7192. fi
  7193. # When large executables or shared objects are built, AIX ld can
  7194. # have problems creating the table of contents. If linking a library
  7195. # or program results in "error TOC overflow" add -mminimal-toc to
  7196. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  7197. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  7198. archive_cmds=''
  7199. hardcode_direct=yes
  7200. hardcode_direct_absolute=yes
  7201. hardcode_libdir_separator=':'
  7202. link_all_deplibs=yes
  7203. file_list_spec='${wl}-f,'
  7204. if test "$GCC" = yes; then
  7205. case $host_os in aix4.[012]|aix4.[012].*)
  7206. # We only want to do this on AIX 4.2 and lower, the check
  7207. # below for broken collect2 doesn't work under 4.3+
  7208. collect2name=`${CC} -print-prog-name=collect2`
  7209. if test -f "$collect2name" &&
  7210. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  7211. then
  7212. # We have reworked collect2
  7213. :
  7214. else
  7215. # We have old collect2
  7216. hardcode_direct=unsupported
  7217. # It fails to find uninstalled libraries when the uninstalled
  7218. # path is not listed in the libpath. Setting hardcode_minus_L
  7219. # to unsupported forces relinking
  7220. hardcode_minus_L=yes
  7221. hardcode_libdir_flag_spec='-L$libdir'
  7222. hardcode_libdir_separator=
  7223. fi
  7224. ;;
  7225. esac
  7226. shared_flag='-shared'
  7227. if test "$aix_use_runtimelinking" = yes; then
  7228. shared_flag="$shared_flag "'${wl}-G'
  7229. fi
  7230. link_all_deplibs=no
  7231. else
  7232. # not using gcc
  7233. if test "$host_cpu" = ia64; then
  7234. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  7235. # chokes on -Wl,-G. The following line is correct:
  7236. shared_flag='-G'
  7237. else
  7238. if test "$aix_use_runtimelinking" = yes; then
  7239. shared_flag='${wl}-G'
  7240. else
  7241. shared_flag='${wl}-bM:SRE'
  7242. fi
  7243. fi
  7244. fi
  7245. export_dynamic_flag_spec='${wl}-bexpall'
  7246. # It seems that -bexpall does not export symbols beginning with
  7247. # underscore (_), so it is better to generate a list of symbols to export.
  7248. always_export_symbols=yes
  7249. if test "$aix_use_runtimelinking" = yes; then
  7250. # Warning - without using the other runtime loading flags (-brtl),
  7251. # -berok will link without error, but may produce a broken library.
  7252. allow_undefined_flag='-berok'
  7253. # Determine the default libpath from the value encoded in an
  7254. # empty executable.
  7255. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7256. /* end confdefs.h. */
  7257. int
  7258. main ()
  7259. {
  7260. ;
  7261. return 0;
  7262. }
  7263. _ACEOF
  7264. if ac_fn_c_try_link "$LINENO"; then :
  7265. lt_aix_libpath_sed='
  7266. /Import File Strings/,/^$/ {
  7267. /^0/ {
  7268. s/^0 *\(.*\)$/\1/
  7269. p
  7270. }
  7271. }'
  7272. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  7273. # Check for a 64-bit object if we didn't find anything.
  7274. if test -z "$aix_libpath"; then
  7275. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  7276. fi
  7277. fi
  7278. rm -f core conftest.err conftest.$ac_objext \
  7279. conftest$ac_exeext conftest.$ac_ext
  7280. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  7281. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  7282. 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"
  7283. else
  7284. if test "$host_cpu" = ia64; then
  7285. hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  7286. allow_undefined_flag="-z nodefs"
  7287. 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"
  7288. else
  7289. # Determine the default libpath from the value encoded in an
  7290. # empty executable.
  7291. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7292. /* end confdefs.h. */
  7293. int
  7294. main ()
  7295. {
  7296. ;
  7297. return 0;
  7298. }
  7299. _ACEOF
  7300. if ac_fn_c_try_link "$LINENO"; then :
  7301. lt_aix_libpath_sed='
  7302. /Import File Strings/,/^$/ {
  7303. /^0/ {
  7304. s/^0 *\(.*\)$/\1/
  7305. p
  7306. }
  7307. }'
  7308. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  7309. # Check for a 64-bit object if we didn't find anything.
  7310. if test -z "$aix_libpath"; then
  7311. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  7312. fi
  7313. fi
  7314. rm -f core conftest.err conftest.$ac_objext \
  7315. conftest$ac_exeext conftest.$ac_ext
  7316. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  7317. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  7318. # Warning - without using the other run time loading flags,
  7319. # -berok will link without error, but may produce a broken library.
  7320. no_undefined_flag=' ${wl}-bernotok'
  7321. allow_undefined_flag=' ${wl}-berok'
  7322. # Exported symbols can be pulled into shared objects from archives
  7323. whole_archive_flag_spec='$convenience'
  7324. archive_cmds_need_lc=yes
  7325. # This is similar to how AIX traditionally builds its shared libraries.
  7326. 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'
  7327. fi
  7328. fi
  7329. ;;
  7330. amigaos*)
  7331. case $host_cpu in
  7332. powerpc)
  7333. # see comment about AmigaOS4 .so support
  7334. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7335. archive_expsym_cmds=''
  7336. ;;
  7337. m68k)
  7338. 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)'
  7339. hardcode_libdir_flag_spec='-L$libdir'
  7340. hardcode_minus_L=yes
  7341. ;;
  7342. esac
  7343. ;;
  7344. bsdi[45]*)
  7345. export_dynamic_flag_spec=-rdynamic
  7346. ;;
  7347. cygwin* | mingw* | pw32* | cegcc*)
  7348. # When not using gcc, we currently assume that we are using
  7349. # Microsoft Visual C++.
  7350. # hardcode_libdir_flag_spec is actually meaningless, as there is
  7351. # no search path for DLLs.
  7352. hardcode_libdir_flag_spec=' '
  7353. allow_undefined_flag=unsupported
  7354. # Tell ltmain to make .lib files, not .a files.
  7355. libext=lib
  7356. # Tell ltmain to make .dll files, not .so files.
  7357. shrext_cmds=".dll"
  7358. # FIXME: Setting linknames here is a bad hack.
  7359. archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  7360. # The linker will automatically build a .lib file if we build a DLL.
  7361. old_archive_from_new_cmds='true'
  7362. # FIXME: Should let the user specify the lib program.
  7363. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  7364. fix_srcfile_path='`cygpath -w "$srcfile"`'
  7365. enable_shared_with_static_runtimes=yes
  7366. ;;
  7367. darwin* | rhapsody*)
  7368. archive_cmds_need_lc=no
  7369. hardcode_direct=no
  7370. hardcode_automatic=yes
  7371. hardcode_shlibpath_var=unsupported
  7372. whole_archive_flag_spec=''
  7373. link_all_deplibs=yes
  7374. allow_undefined_flag="$_lt_dar_allow_undefined"
  7375. case $cc_basename in
  7376. ifort*) _lt_dar_can_shared=yes ;;
  7377. *) _lt_dar_can_shared=$GCC ;;
  7378. esac
  7379. if test "$_lt_dar_can_shared" = "yes"; then
  7380. output_verbose_link_cmd=echo
  7381. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  7382. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  7383. 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}"
  7384. 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}"
  7385. else
  7386. ld_shlibs=no
  7387. fi
  7388. ;;
  7389. dgux*)
  7390. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7391. hardcode_libdir_flag_spec='-L$libdir'
  7392. hardcode_shlibpath_var=no
  7393. ;;
  7394. freebsd1*)
  7395. ld_shlibs=no
  7396. ;;
  7397. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  7398. # support. Future versions do this automatically, but an explicit c++rt0.o
  7399. # does not break anything, and helps significantly (at the cost of a little
  7400. # extra space).
  7401. freebsd2.2*)
  7402. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  7403. hardcode_libdir_flag_spec='-R$libdir'
  7404. hardcode_direct=yes
  7405. hardcode_shlibpath_var=no
  7406. ;;
  7407. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  7408. freebsd2*)
  7409. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  7410. hardcode_direct=yes
  7411. hardcode_minus_L=yes
  7412. hardcode_shlibpath_var=no
  7413. ;;
  7414. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  7415. freebsd* | dragonfly*)
  7416. archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  7417. hardcode_libdir_flag_spec='-R$libdir'
  7418. hardcode_direct=yes
  7419. hardcode_shlibpath_var=no
  7420. ;;
  7421. hpux9*)
  7422. if test "$GCC" = yes; then
  7423. 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'
  7424. else
  7425. 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'
  7426. fi
  7427. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  7428. hardcode_libdir_separator=:
  7429. hardcode_direct=yes
  7430. # hardcode_minus_L: Not really in the search PATH,
  7431. # but as the default location of the library.
  7432. hardcode_minus_L=yes
  7433. export_dynamic_flag_spec='${wl}-E'
  7434. ;;
  7435. hpux10*)
  7436. if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  7437. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  7438. else
  7439. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  7440. fi
  7441. if test "$with_gnu_ld" = no; then
  7442. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  7443. hardcode_libdir_flag_spec_ld='+b $libdir'
  7444. hardcode_libdir_separator=:
  7445. hardcode_direct=yes
  7446. hardcode_direct_absolute=yes
  7447. export_dynamic_flag_spec='${wl}-E'
  7448. # hardcode_minus_L: Not really in the search PATH,
  7449. # but as the default location of the library.
  7450. hardcode_minus_L=yes
  7451. fi
  7452. ;;
  7453. hpux11*)
  7454. if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  7455. case $host_cpu in
  7456. hppa*64*)
  7457. archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  7458. ;;
  7459. ia64*)
  7460. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  7461. ;;
  7462. *)
  7463. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  7464. ;;
  7465. esac
  7466. else
  7467. case $host_cpu in
  7468. hppa*64*)
  7469. archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  7470. ;;
  7471. ia64*)
  7472. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  7473. ;;
  7474. *)
  7475. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  7476. ;;
  7477. esac
  7478. fi
  7479. if test "$with_gnu_ld" = no; then
  7480. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  7481. hardcode_libdir_separator=:
  7482. case $host_cpu in
  7483. hppa*64*|ia64*)
  7484. hardcode_direct=no
  7485. hardcode_shlibpath_var=no
  7486. ;;
  7487. *)
  7488. hardcode_direct=yes
  7489. hardcode_direct_absolute=yes
  7490. export_dynamic_flag_spec='${wl}-E'
  7491. # hardcode_minus_L: Not really in the search PATH,
  7492. # but as the default location of the library.
  7493. hardcode_minus_L=yes
  7494. ;;
  7495. esac
  7496. fi
  7497. ;;
  7498. irix5* | irix6* | nonstopux*)
  7499. if test "$GCC" = yes; then
  7500. 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'
  7501. # Try to use the -exported_symbol ld option, if it does not
  7502. # work, assume that -exports_file does not work either and
  7503. # implicitly export all symbols.
  7504. save_LDFLAGS="$LDFLAGS"
  7505. LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  7506. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7507. /* end confdefs.h. */
  7508. int foo(void) {}
  7509. _ACEOF
  7510. if ac_fn_c_try_link "$LINENO"; then :
  7511. 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'
  7512. fi
  7513. rm -f core conftest.err conftest.$ac_objext \
  7514. conftest$ac_exeext conftest.$ac_ext
  7515. LDFLAGS="$save_LDFLAGS"
  7516. else
  7517. 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'
  7518. 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'
  7519. fi
  7520. archive_cmds_need_lc='no'
  7521. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7522. hardcode_libdir_separator=:
  7523. inherit_rpath=yes
  7524. link_all_deplibs=yes
  7525. ;;
  7526. netbsd* | netbsdelf*-gnu)
  7527. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  7528. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  7529. else
  7530. archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  7531. fi
  7532. hardcode_libdir_flag_spec='-R$libdir'
  7533. hardcode_direct=yes
  7534. hardcode_shlibpath_var=no
  7535. ;;
  7536. newsos6)
  7537. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7538. hardcode_direct=yes
  7539. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7540. hardcode_libdir_separator=:
  7541. hardcode_shlibpath_var=no
  7542. ;;
  7543. *nto* | *qnx*)
  7544. ;;
  7545. openbsd*)
  7546. if test -f /usr/libexec/ld.so; then
  7547. hardcode_direct=yes
  7548. hardcode_shlibpath_var=no
  7549. hardcode_direct_absolute=yes
  7550. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  7551. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  7552. archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  7553. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  7554. export_dynamic_flag_spec='${wl}-E'
  7555. else
  7556. case $host_os in
  7557. openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  7558. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  7559. hardcode_libdir_flag_spec='-R$libdir'
  7560. ;;
  7561. *)
  7562. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  7563. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  7564. ;;
  7565. esac
  7566. fi
  7567. else
  7568. ld_shlibs=no
  7569. fi
  7570. ;;
  7571. os2*)
  7572. hardcode_libdir_flag_spec='-L$libdir'
  7573. hardcode_minus_L=yes
  7574. allow_undefined_flag=unsupported
  7575. 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'
  7576. old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  7577. ;;
  7578. osf3*)
  7579. if test "$GCC" = yes; then
  7580. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  7581. 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'
  7582. else
  7583. allow_undefined_flag=' -expect_unresolved \*'
  7584. 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'
  7585. fi
  7586. archive_cmds_need_lc='no'
  7587. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7588. hardcode_libdir_separator=:
  7589. ;;
  7590. osf4* | osf5*) # as osf3* with the addition of -msym flag
  7591. if test "$GCC" = yes; then
  7592. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  7593. 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'
  7594. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7595. else
  7596. allow_undefined_flag=' -expect_unresolved \*'
  7597. 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'
  7598. 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~
  7599. $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'
  7600. # Both c and cxx compiler support -rpath directly
  7601. hardcode_libdir_flag_spec='-rpath $libdir'
  7602. fi
  7603. archive_cmds_need_lc='no'
  7604. hardcode_libdir_separator=:
  7605. ;;
  7606. solaris*)
  7607. no_undefined_flag=' -z defs'
  7608. if test "$GCC" = yes; then
  7609. wlarc='${wl}'
  7610. archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  7611. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  7612. $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  7613. else
  7614. case `$CC -V 2>&1` in
  7615. *"Compilers 5.0"*)
  7616. wlarc=''
  7617. archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7618. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  7619. $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  7620. ;;
  7621. *)
  7622. wlarc='${wl}'
  7623. archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  7624. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  7625. $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  7626. ;;
  7627. esac
  7628. fi
  7629. hardcode_libdir_flag_spec='-R$libdir'
  7630. hardcode_shlibpath_var=no
  7631. case $host_os in
  7632. solaris2.[0-5] | solaris2.[0-5].*) ;;
  7633. *)
  7634. # The compiler driver will combine and reorder linker options,
  7635. # but understands `-z linker_flag'. GCC discards it without `$wl',
  7636. # but is careful enough not to reorder.
  7637. # Supported since Solaris 2.6 (maybe 2.5.1?)
  7638. if test "$GCC" = yes; then
  7639. whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  7640. else
  7641. whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  7642. fi
  7643. ;;
  7644. esac
  7645. link_all_deplibs=yes
  7646. ;;
  7647. sunos4*)
  7648. if test "x$host_vendor" = xsequent; then
  7649. # Use $CC to link under sequent, because it throws in some extra .o
  7650. # files that make .init and .fini sections work.
  7651. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  7652. else
  7653. archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  7654. fi
  7655. hardcode_libdir_flag_spec='-L$libdir'
  7656. hardcode_direct=yes
  7657. hardcode_minus_L=yes
  7658. hardcode_shlibpath_var=no
  7659. ;;
  7660. sysv4)
  7661. case $host_vendor in
  7662. sni)
  7663. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7664. hardcode_direct=yes # is this really true???
  7665. ;;
  7666. siemens)
  7667. ## LD is ld it makes a PLAMLIB
  7668. ## CC just makes a GrossModule.
  7669. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  7670. reload_cmds='$CC -r -o $output$reload_objs'
  7671. hardcode_direct=no
  7672. ;;
  7673. motorola)
  7674. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7675. hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  7676. ;;
  7677. esac
  7678. runpath_var='LD_RUN_PATH'
  7679. hardcode_shlibpath_var=no
  7680. ;;
  7681. sysv4.3*)
  7682. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7683. hardcode_shlibpath_var=no
  7684. export_dynamic_flag_spec='-Bexport'
  7685. ;;
  7686. sysv4*MP*)
  7687. if test -d /usr/nec; then
  7688. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7689. hardcode_shlibpath_var=no
  7690. runpath_var=LD_RUN_PATH
  7691. hardcode_runpath_var=yes
  7692. ld_shlibs=yes
  7693. fi
  7694. ;;
  7695. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  7696. no_undefined_flag='${wl}-z,text'
  7697. archive_cmds_need_lc=no
  7698. hardcode_shlibpath_var=no
  7699. runpath_var='LD_RUN_PATH'
  7700. if test "$GCC" = yes; then
  7701. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  7702. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  7703. else
  7704. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  7705. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  7706. fi
  7707. ;;
  7708. sysv5* | sco3.2v5* | sco5v6*)
  7709. # Note: We can NOT use -z defs as we might desire, because we do not
  7710. # link with -lc, and that would cause any symbols used from libc to
  7711. # always be unresolved, which means just about no library would
  7712. # ever link correctly. If we're not using GNU ld we use -z text
  7713. # though, which does catch some bad symbols but isn't as heavy-handed
  7714. # as -z defs.
  7715. no_undefined_flag='${wl}-z,text'
  7716. allow_undefined_flag='${wl}-z,nodefs'
  7717. archive_cmds_need_lc=no
  7718. hardcode_shlibpath_var=no
  7719. hardcode_libdir_flag_spec='${wl}-R,$libdir'
  7720. hardcode_libdir_separator=':'
  7721. link_all_deplibs=yes
  7722. export_dynamic_flag_spec='${wl}-Bexport'
  7723. runpath_var='LD_RUN_PATH'
  7724. if test "$GCC" = yes; then
  7725. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  7726. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  7727. else
  7728. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  7729. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  7730. fi
  7731. ;;
  7732. uts4*)
  7733. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7734. hardcode_libdir_flag_spec='-L$libdir'
  7735. hardcode_shlibpath_var=no
  7736. ;;
  7737. *)
  7738. ld_shlibs=no
  7739. ;;
  7740. esac
  7741. if test x$host_vendor = xsni; then
  7742. case $host in
  7743. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  7744. export_dynamic_flag_spec='${wl}-Blargedynsym'
  7745. ;;
  7746. esac
  7747. fi
  7748. fi
  7749. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  7750. $as_echo "$ld_shlibs" >&6; }
  7751. test "$ld_shlibs" = no && can_build_shared=no
  7752. with_gnu_ld=$with_gnu_ld
  7753. #
  7754. # Do we need to explicitly link libc?
  7755. #
  7756. case "x$archive_cmds_need_lc" in
  7757. x|xyes)
  7758. # Assume -lc should be added
  7759. archive_cmds_need_lc=yes
  7760. if test "$enable_shared" = yes && test "$GCC" = yes; then
  7761. case $archive_cmds in
  7762. *'~'*)
  7763. # FIXME: we may have to deal with multi-command sequences.
  7764. ;;
  7765. '$CC '*)
  7766. # Test whether the compiler implicitly links with -lc since on some
  7767. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  7768. # to ld, don't add -lc before -lgcc.
  7769. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  7770. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  7771. $RM conftest*
  7772. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7773. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7774. (eval $ac_compile) 2>&5
  7775. ac_status=$?
  7776. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7777. test $ac_status = 0; } 2>conftest.err; then
  7778. soname=conftest
  7779. lib=conftest
  7780. libobjs=conftest.$ac_objext
  7781. deplibs=
  7782. wl=$lt_prog_compiler_wl
  7783. pic_flag=$lt_prog_compiler_pic
  7784. compiler_flags=-v
  7785. linker_flags=-v
  7786. verstring=
  7787. output_objdir=.
  7788. libname=conftest
  7789. lt_save_allow_undefined_flag=$allow_undefined_flag
  7790. allow_undefined_flag=
  7791. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  7792. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  7793. ac_status=$?
  7794. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7795. test $ac_status = 0; }
  7796. then
  7797. archive_cmds_need_lc=no
  7798. else
  7799. archive_cmds_need_lc=yes
  7800. fi
  7801. allow_undefined_flag=$lt_save_allow_undefined_flag
  7802. else
  7803. cat conftest.err 1>&5
  7804. fi
  7805. $RM conftest*
  7806. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
  7807. $as_echo "$archive_cmds_need_lc" >&6; }
  7808. ;;
  7809. esac
  7810. fi
  7811. ;;
  7812. esac
  7813. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  7814. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  7815. if test "$GCC" = yes; then
  7816. case $host_os in
  7817. darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  7818. *) lt_awk_arg="/^libraries:/" ;;
  7819. esac
  7820. lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  7821. if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  7822. # if the path contains ";" then we assume it to be the separator
  7823. # otherwise default to the standard path separator (i.e. ":") - it is
  7824. # assumed that no part of a normal pathname contains ";" but that should
  7825. # okay in the real world where ";" in dirpaths is itself problematic.
  7826. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  7827. else
  7828. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  7829. fi
  7830. # Ok, now we have the path, separated by spaces, we can step through it
  7831. # and add multilib dir if necessary.
  7832. lt_tmp_lt_search_path_spec=
  7833. lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  7834. for lt_sys_path in $lt_search_path_spec; do
  7835. if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  7836. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  7837. else
  7838. test -d "$lt_sys_path" && \
  7839. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  7840. fi
  7841. done
  7842. lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  7843. BEGIN {RS=" "; FS="/|\n";} {
  7844. lt_foo="";
  7845. lt_count=0;
  7846. for (lt_i = NF; lt_i > 0; lt_i--) {
  7847. if ($lt_i != "" && $lt_i != ".") {
  7848. if ($lt_i == "..") {
  7849. lt_count++;
  7850. } else {
  7851. if (lt_count == 0) {
  7852. lt_foo="/" $lt_i lt_foo;
  7853. } else {
  7854. lt_count--;
  7855. }
  7856. }
  7857. }
  7858. }
  7859. if (lt_foo != "") { lt_freq[lt_foo]++; }
  7860. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  7861. }'`
  7862. sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  7863. else
  7864. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  7865. fi
  7866. library_names_spec=
  7867. libname_spec='lib$name'
  7868. soname_spec=
  7869. shrext_cmds=".so"
  7870. postinstall_cmds=
  7871. postuninstall_cmds=
  7872. finish_cmds=
  7873. finish_eval=
  7874. shlibpath_var=
  7875. shlibpath_overrides_runpath=unknown
  7876. version_type=none
  7877. dynamic_linker="$host_os ld.so"
  7878. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  7879. need_lib_prefix=unknown
  7880. hardcode_into_libs=no
  7881. # when you set need_version to no, make sure it does not cause -set_version
  7882. # flags to be left without arguments
  7883. need_version=unknown
  7884. case $host_os in
  7885. aix3*)
  7886. version_type=linux
  7887. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  7888. shlibpath_var=LIBPATH
  7889. # AIX 3 has no versioning support, so we append a major version to the name.
  7890. soname_spec='${libname}${release}${shared_ext}$major'
  7891. ;;
  7892. aix[4-9]*)
  7893. version_type=linux
  7894. need_lib_prefix=no
  7895. need_version=no
  7896. hardcode_into_libs=yes
  7897. if test "$host_cpu" = ia64; then
  7898. # AIX 5 supports IA64
  7899. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  7900. shlibpath_var=LD_LIBRARY_PATH
  7901. else
  7902. # With GCC up to 2.95.x, collect2 would create an import file
  7903. # for dependence libraries. The import file would start with
  7904. # the line `#! .'. This would cause the generated library to
  7905. # depend on `.', always an invalid library. This was fixed in
  7906. # development snapshots of GCC prior to 3.0.
  7907. case $host_os in
  7908. aix4 | aix4.[01] | aix4.[01].*)
  7909. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  7910. echo ' yes '
  7911. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  7912. :
  7913. else
  7914. can_build_shared=no
  7915. fi
  7916. ;;
  7917. esac
  7918. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  7919. # soname into executable. Probably we can add versioning support to
  7920. # collect2, so additional links can be useful in future.
  7921. if test "$aix_use_runtimelinking" = yes; then
  7922. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  7923. # instead of lib<name>.a to let people know that these are not
  7924. # typical AIX shared libraries.
  7925. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  7926. else
  7927. # We preserve .a as extension for shared libraries through AIX4.2
  7928. # and later when we are not doing run time linking.
  7929. library_names_spec='${libname}${release}.a $libname.a'
  7930. soname_spec='${libname}${release}${shared_ext}$major'
  7931. fi
  7932. shlibpath_var=LIBPATH
  7933. fi
  7934. ;;
  7935. amigaos*)
  7936. case $host_cpu in
  7937. powerpc)
  7938. # Since July 2007 AmigaOS4 officially supports .so libraries.
  7939. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  7940. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  7941. ;;
  7942. m68k)
  7943. library_names_spec='$libname.ixlibrary $libname.a'
  7944. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  7945. 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'
  7946. ;;
  7947. esac
  7948. ;;
  7949. beos*)
  7950. library_names_spec='${libname}${shared_ext}'
  7951. dynamic_linker="$host_os ld.so"
  7952. shlibpath_var=LIBRARY_PATH
  7953. ;;
  7954. bsdi[45]*)
  7955. version_type=linux
  7956. need_version=no
  7957. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  7958. soname_spec='${libname}${release}${shared_ext}$major'
  7959. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  7960. shlibpath_var=LD_LIBRARY_PATH
  7961. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  7962. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  7963. # the default ld.so.conf also contains /usr/contrib/lib and
  7964. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  7965. # libtool to hard-code these into programs
  7966. ;;
  7967. cygwin* | mingw* | pw32* | cegcc*)
  7968. version_type=windows
  7969. shrext_cmds=".dll"
  7970. need_version=no
  7971. need_lib_prefix=no
  7972. case $GCC,$host_os in
  7973. yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  7974. library_names_spec='$libname.dll.a'
  7975. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  7976. postinstall_cmds='base_file=`basename \${file}`~
  7977. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  7978. dldir=$destdir/`dirname \$dlpath`~
  7979. test -d \$dldir || mkdir -p \$dldir~
  7980. $install_prog $dir/$dlname \$dldir/$dlname~
  7981. chmod a+x \$dldir/$dlname~
  7982. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  7983. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  7984. fi'
  7985. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  7986. dlpath=$dir/\$dldll~
  7987. $RM \$dlpath'
  7988. shlibpath_overrides_runpath=yes
  7989. case $host_os in
  7990. cygwin*)
  7991. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  7992. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  7993. sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  7994. ;;
  7995. mingw* | cegcc*)
  7996. # MinGW DLLs use traditional 'lib' prefix
  7997. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  7998. sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  7999. if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  8000. # It is most probably a Windows format PATH printed by
  8001. # mingw gcc, but we are running on Cygwin. Gcc prints its search
  8002. # path with ; separators, and with drive letters. We can handle the
  8003. # drive letters (cygwin fileutils understands them), so leave them,
  8004. # especially as we might pass files found there to a mingw objdump,
  8005. # which wouldn't understand a cygwinified path. Ahh.
  8006. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  8007. else
  8008. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  8009. fi
  8010. ;;
  8011. pw32*)
  8012. # pw32 DLLs use 'pw' prefix rather than 'lib'
  8013. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  8014. ;;
  8015. esac
  8016. ;;
  8017. *)
  8018. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  8019. ;;
  8020. esac
  8021. dynamic_linker='Win32 ld.exe'
  8022. # FIXME: first we should search . and the directory the executable is in
  8023. shlibpath_var=PATH
  8024. ;;
  8025. darwin* | rhapsody*)
  8026. dynamic_linker="$host_os dyld"
  8027. version_type=darwin
  8028. need_lib_prefix=no
  8029. need_version=no
  8030. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  8031. soname_spec='${libname}${release}${major}$shared_ext'
  8032. shlibpath_overrides_runpath=yes
  8033. shlibpath_var=DYLD_LIBRARY_PATH
  8034. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  8035. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  8036. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  8037. ;;
  8038. dgux*)
  8039. version_type=linux
  8040. need_lib_prefix=no
  8041. need_version=no
  8042. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  8043. soname_spec='${libname}${release}${shared_ext}$major'
  8044. shlibpath_var=LD_LIBRARY_PATH
  8045. ;;
  8046. freebsd1*)
  8047. dynamic_linker=no
  8048. ;;
  8049. freebsd* | dragonfly*)
  8050. # DragonFly does not have aout. When/if they implement a new
  8051. # versioning mechanism, adjust this.
  8052. if test -x /usr/bin/objformat; then
  8053. objformat=`/usr/bin/objformat`
  8054. else
  8055. case $host_os in
  8056. freebsd[123]*) objformat=aout ;;
  8057. *) objformat=elf ;;
  8058. esac
  8059. fi
  8060. version_type=freebsd-$objformat
  8061. case $version_type in
  8062. freebsd-elf*)
  8063. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  8064. need_version=no
  8065. need_lib_prefix=no
  8066. ;;
  8067. freebsd-*)
  8068. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  8069. need_version=yes
  8070. ;;
  8071. esac
  8072. shlibpath_var=LD_LIBRARY_PATH
  8073. case $host_os in
  8074. freebsd2*)
  8075. shlibpath_overrides_runpath=yes
  8076. ;;
  8077. freebsd3.[01]* | freebsdelf3.[01]*)
  8078. shlibpath_overrides_runpath=yes
  8079. hardcode_into_libs=yes
  8080. ;;
  8081. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  8082. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  8083. shlibpath_overrides_runpath=no
  8084. hardcode_into_libs=yes
  8085. ;;
  8086. *) # from 4.6 on, and DragonFly
  8087. shlibpath_overrides_runpath=yes
  8088. hardcode_into_libs=yes
  8089. ;;
  8090. esac
  8091. ;;
  8092. gnu*)
  8093. version_type=linux
  8094. need_lib_prefix=no
  8095. need_version=no
  8096. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  8097. soname_spec='${libname}${release}${shared_ext}$major'
  8098. shlibpath_var=LD_LIBRARY_PATH
  8099. hardcode_into_libs=yes
  8100. ;;
  8101. hpux9* | hpux10* | hpux11*)
  8102. # Give a soname corresponding to the major version so that dld.sl refuses to
  8103. # link against other versions.
  8104. version_type=sunos
  8105. need_lib_prefix=no
  8106. need_version=no
  8107. case $host_cpu in
  8108. ia64*)
  8109. shrext_cmds='.so'
  8110. hardcode_into_libs=yes
  8111. dynamic_linker="$host_os dld.so"
  8112. shlibpath_var=LD_LIBRARY_PATH
  8113. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  8114. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8115. soname_spec='${libname}${release}${shared_ext}$major'
  8116. if test "X$HPUX_IA64_MODE" = X32; then
  8117. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  8118. else
  8119. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  8120. fi
  8121. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  8122. ;;
  8123. hppa*64*)
  8124. shrext_cmds='.sl'
  8125. hardcode_into_libs=yes
  8126. dynamic_linker="$host_os dld.sl"
  8127. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  8128. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  8129. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8130. soname_spec='${libname}${release}${shared_ext}$major'
  8131. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  8132. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  8133. ;;
  8134. *)
  8135. shrext_cmds='.sl'
  8136. dynamic_linker="$host_os dld.sl"
  8137. shlibpath_var=SHLIB_PATH
  8138. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  8139. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8140. soname_spec='${libname}${release}${shared_ext}$major'
  8141. ;;
  8142. esac
  8143. # HP-UX runs *really* slowly unless shared libraries are mode 555.
  8144. postinstall_cmds='chmod 555 $lib'
  8145. ;;
  8146. interix[3-9]*)
  8147. version_type=linux
  8148. need_lib_prefix=no
  8149. need_version=no
  8150. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  8151. soname_spec='${libname}${release}${shared_ext}$major'
  8152. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  8153. shlibpath_var=LD_LIBRARY_PATH
  8154. shlibpath_overrides_runpath=no
  8155. hardcode_into_libs=yes
  8156. ;;
  8157. irix5* | irix6* | nonstopux*)
  8158. case $host_os in
  8159. nonstopux*) version_type=nonstopux ;;
  8160. *)
  8161. if test "$lt_cv_prog_gnu_ld" = yes; then
  8162. version_type=linux
  8163. else
  8164. version_type=irix
  8165. fi ;;
  8166. esac
  8167. need_lib_prefix=no
  8168. need_version=no
  8169. soname_spec='${libname}${release}${shared_ext}$major'
  8170. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  8171. case $host_os in
  8172. irix5* | nonstopux*)
  8173. libsuff= shlibsuff=
  8174. ;;
  8175. *)
  8176. case $LD in # libtool.m4 will add one of these switches to LD
  8177. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  8178. libsuff= shlibsuff= libmagic=32-bit;;
  8179. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  8180. libsuff=32 shlibsuff=N32 libmagic=N32;;
  8181. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  8182. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  8183. *) libsuff= shlibsuff= libmagic=never-match;;
  8184. esac
  8185. ;;
  8186. esac
  8187. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  8188. shlibpath_overrides_runpath=no
  8189. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  8190. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  8191. hardcode_into_libs=yes
  8192. ;;
  8193. # No shared lib support for Linux oldld, aout, or coff.
  8194. linux*oldld* | linux*aout* | linux*coff*)
  8195. dynamic_linker=no
  8196. ;;
  8197. # This must be Linux ELF.
  8198. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  8199. version_type=linux
  8200. need_lib_prefix=no
  8201. need_version=no
  8202. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8203. soname_spec='${libname}${release}${shared_ext}$major'
  8204. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  8205. shlibpath_var=LD_LIBRARY_PATH
  8206. shlibpath_overrides_runpath=no
  8207. # Some binutils ld are patched to set DT_RUNPATH
  8208. save_LDFLAGS=$LDFLAGS
  8209. save_libdir=$libdir
  8210. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  8211. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  8212. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8213. /* end confdefs.h. */
  8214. int
  8215. main ()
  8216. {
  8217. ;
  8218. return 0;
  8219. }
  8220. _ACEOF
  8221. if ac_fn_c_try_link "$LINENO"; then :
  8222. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  8223. shlibpath_overrides_runpath=yes
  8224. fi
  8225. fi
  8226. rm -f core conftest.err conftest.$ac_objext \
  8227. conftest$ac_exeext conftest.$ac_ext
  8228. LDFLAGS=$save_LDFLAGS
  8229. libdir=$save_libdir
  8230. # This implies no fast_install, which is unacceptable.
  8231. # Some rework will be needed to allow for fast_install
  8232. # before this can be enabled.
  8233. hardcode_into_libs=yes
  8234. # Append ld.so.conf contents to the search path
  8235. if test -f /etc/ld.so.conf; then
  8236. 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' ' '`
  8237. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  8238. fi
  8239. # We used to test for /lib/ld.so.1 and disable shared libraries on
  8240. # powerpc, because MkLinux only supported shared libraries with the
  8241. # GNU dynamic linker. Since this was broken with cross compilers,
  8242. # most powerpc-linux boxes support dynamic linking these days and
  8243. # people can always --disable-shared, the test was removed, and we
  8244. # assume the GNU/Linux dynamic linker is in use.
  8245. dynamic_linker='GNU/Linux ld.so'
  8246. ;;
  8247. netbsdelf*-gnu)
  8248. version_type=linux
  8249. need_lib_prefix=no
  8250. need_version=no
  8251. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  8252. soname_spec='${libname}${release}${shared_ext}$major'
  8253. shlibpath_var=LD_LIBRARY_PATH
  8254. shlibpath_overrides_runpath=no
  8255. hardcode_into_libs=yes
  8256. dynamic_linker='NetBSD ld.elf_so'
  8257. ;;
  8258. netbsd*)
  8259. version_type=sunos
  8260. need_lib_prefix=no
  8261. need_version=no
  8262. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8263. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  8264. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  8265. dynamic_linker='NetBSD (a.out) ld.so'
  8266. else
  8267. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  8268. soname_spec='${libname}${release}${shared_ext}$major'
  8269. dynamic_linker='NetBSD ld.elf_so'
  8270. fi
  8271. shlibpath_var=LD_LIBRARY_PATH
  8272. shlibpath_overrides_runpath=yes
  8273. hardcode_into_libs=yes
  8274. ;;
  8275. newsos6)
  8276. version_type=linux
  8277. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8278. shlibpath_var=LD_LIBRARY_PATH
  8279. shlibpath_overrides_runpath=yes
  8280. ;;
  8281. *nto* | *qnx*)
  8282. version_type=qnx
  8283. need_lib_prefix=no
  8284. need_version=no
  8285. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8286. soname_spec='${libname}${release}${shared_ext}$major'
  8287. shlibpath_var=LD_LIBRARY_PATH
  8288. shlibpath_overrides_runpath=no
  8289. hardcode_into_libs=yes
  8290. dynamic_linker='ldqnx.so'
  8291. ;;
  8292. openbsd*)
  8293. version_type=sunos
  8294. sys_lib_dlsearch_path_spec="/usr/lib"
  8295. need_lib_prefix=no
  8296. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  8297. case $host_os in
  8298. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  8299. *) need_version=no ;;
  8300. esac
  8301. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  8302. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  8303. shlibpath_var=LD_LIBRARY_PATH
  8304. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  8305. case $host_os in
  8306. openbsd2.[89] | openbsd2.[89].*)
  8307. shlibpath_overrides_runpath=no
  8308. ;;
  8309. *)
  8310. shlibpath_overrides_runpath=yes
  8311. ;;
  8312. esac
  8313. else
  8314. shlibpath_overrides_runpath=yes
  8315. fi
  8316. ;;
  8317. os2*)
  8318. libname_spec='$name'
  8319. shrext_cmds=".dll"
  8320. need_lib_prefix=no
  8321. library_names_spec='$libname${shared_ext} $libname.a'
  8322. dynamic_linker='OS/2 ld.exe'
  8323. shlibpath_var=LIBPATH
  8324. ;;
  8325. osf3* | osf4* | osf5*)
  8326. version_type=osf
  8327. need_lib_prefix=no
  8328. need_version=no
  8329. soname_spec='${libname}${release}${shared_ext}$major'
  8330. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8331. shlibpath_var=LD_LIBRARY_PATH
  8332. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  8333. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  8334. ;;
  8335. rdos*)
  8336. dynamic_linker=no
  8337. ;;
  8338. solaris*)
  8339. version_type=linux
  8340. need_lib_prefix=no
  8341. need_version=no
  8342. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8343. soname_spec='${libname}${release}${shared_ext}$major'
  8344. shlibpath_var=LD_LIBRARY_PATH
  8345. shlibpath_overrides_runpath=yes
  8346. hardcode_into_libs=yes
  8347. # ldd complains unless libraries are executable
  8348. postinstall_cmds='chmod +x $lib'
  8349. ;;
  8350. sunos4*)
  8351. version_type=sunos
  8352. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  8353. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  8354. shlibpath_var=LD_LIBRARY_PATH
  8355. shlibpath_overrides_runpath=yes
  8356. if test "$with_gnu_ld" = yes; then
  8357. need_lib_prefix=no
  8358. fi
  8359. need_version=yes
  8360. ;;
  8361. sysv4 | sysv4.3*)
  8362. version_type=linux
  8363. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8364. soname_spec='${libname}${release}${shared_ext}$major'
  8365. shlibpath_var=LD_LIBRARY_PATH
  8366. case $host_vendor in
  8367. sni)
  8368. shlibpath_overrides_runpath=no
  8369. need_lib_prefix=no
  8370. runpath_var=LD_RUN_PATH
  8371. ;;
  8372. siemens)
  8373. need_lib_prefix=no
  8374. ;;
  8375. motorola)
  8376. need_lib_prefix=no
  8377. need_version=no
  8378. shlibpath_overrides_runpath=no
  8379. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  8380. ;;
  8381. esac
  8382. ;;
  8383. sysv4*MP*)
  8384. if test -d /usr/nec ;then
  8385. version_type=linux
  8386. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  8387. soname_spec='$libname${shared_ext}.$major'
  8388. shlibpath_var=LD_LIBRARY_PATH
  8389. fi
  8390. ;;
  8391. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  8392. version_type=freebsd-elf
  8393. need_lib_prefix=no
  8394. need_version=no
  8395. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  8396. soname_spec='${libname}${release}${shared_ext}$major'
  8397. shlibpath_var=LD_LIBRARY_PATH
  8398. shlibpath_overrides_runpath=yes
  8399. hardcode_into_libs=yes
  8400. if test "$with_gnu_ld" = yes; then
  8401. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  8402. else
  8403. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  8404. case $host_os in
  8405. sco3.2v5*)
  8406. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  8407. ;;
  8408. esac
  8409. fi
  8410. sys_lib_dlsearch_path_spec='/usr/lib'
  8411. ;;
  8412. tpf*)
  8413. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  8414. version_type=linux
  8415. need_lib_prefix=no
  8416. need_version=no
  8417. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8418. shlibpath_var=LD_LIBRARY_PATH
  8419. shlibpath_overrides_runpath=no
  8420. hardcode_into_libs=yes
  8421. ;;
  8422. uts4*)
  8423. version_type=linux
  8424. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8425. soname_spec='${libname}${release}${shared_ext}$major'
  8426. shlibpath_var=LD_LIBRARY_PATH
  8427. ;;
  8428. *)
  8429. dynamic_linker=no
  8430. ;;
  8431. esac
  8432. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  8433. $as_echo "$dynamic_linker" >&6; }
  8434. test "$dynamic_linker" = no && can_build_shared=no
  8435. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  8436. if test "$GCC" = yes; then
  8437. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  8438. fi
  8439. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  8440. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  8441. fi
  8442. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  8443. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  8444. fi
  8445. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  8446. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  8447. hardcode_action=
  8448. if test -n "$hardcode_libdir_flag_spec" ||
  8449. test -n "$runpath_var" ||
  8450. test "X$hardcode_automatic" = "Xyes" ; then
  8451. # We can hardcode non-existent directories.
  8452. if test "$hardcode_direct" != no &&
  8453. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  8454. # have to relink, otherwise we might link with an installed library
  8455. # when we should be linking with a yet-to-be-installed one
  8456. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  8457. test "$hardcode_minus_L" != no; then
  8458. # Linking always hardcodes the temporary library directory.
  8459. hardcode_action=relink
  8460. else
  8461. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  8462. hardcode_action=immediate
  8463. fi
  8464. else
  8465. # We cannot hardcode anything, or else we can only hardcode existing
  8466. # directories.
  8467. hardcode_action=unsupported
  8468. fi
  8469. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  8470. $as_echo "$hardcode_action" >&6; }
  8471. if test "$hardcode_action" = relink ||
  8472. test "$inherit_rpath" = yes; then
  8473. # Fast installation is not supported
  8474. enable_fast_install=no
  8475. elif test "$shlibpath_overrides_runpath" = yes ||
  8476. test "$enable_shared" = no; then
  8477. # Fast installation is not necessary
  8478. enable_fast_install=needless
  8479. fi
  8480. if test "x$enable_dlopen" != xyes; then
  8481. enable_dlopen=unknown
  8482. enable_dlopen_self=unknown
  8483. enable_dlopen_self_static=unknown
  8484. else
  8485. lt_cv_dlopen=no
  8486. lt_cv_dlopen_libs=
  8487. case $host_os in
  8488. beos*)
  8489. lt_cv_dlopen="load_add_on"
  8490. lt_cv_dlopen_libs=
  8491. lt_cv_dlopen_self=yes
  8492. ;;
  8493. mingw* | pw32* | cegcc*)
  8494. lt_cv_dlopen="LoadLibrary"
  8495. lt_cv_dlopen_libs=
  8496. ;;
  8497. cygwin*)
  8498. lt_cv_dlopen="dlopen"
  8499. lt_cv_dlopen_libs=
  8500. ;;
  8501. darwin*)
  8502. # if libdl is installed we need to link against it
  8503. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  8504. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  8505. if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  8506. $as_echo_n "(cached) " >&6
  8507. else
  8508. ac_check_lib_save_LIBS=$LIBS
  8509. LIBS="-ldl $LIBS"
  8510. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8511. /* end confdefs.h. */
  8512. /* Override any GCC internal prototype to avoid an error.
  8513. Use char because int might match the return type of a GCC
  8514. builtin and then its argument prototype would still apply. */
  8515. #ifdef __cplusplus
  8516. extern "C"
  8517. #endif
  8518. char dlopen ();
  8519. int
  8520. main ()
  8521. {
  8522. return dlopen ();
  8523. ;
  8524. return 0;
  8525. }
  8526. _ACEOF
  8527. if ac_fn_c_try_link "$LINENO"; then :
  8528. ac_cv_lib_dl_dlopen=yes
  8529. else
  8530. ac_cv_lib_dl_dlopen=no
  8531. fi
  8532. rm -f core conftest.err conftest.$ac_objext \
  8533. conftest$ac_exeext conftest.$ac_ext
  8534. LIBS=$ac_check_lib_save_LIBS
  8535. fi
  8536. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  8537. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  8538. if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  8539. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  8540. else
  8541. lt_cv_dlopen="dyld"
  8542. lt_cv_dlopen_libs=
  8543. lt_cv_dlopen_self=yes
  8544. fi
  8545. ;;
  8546. *)
  8547. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  8548. if test "x$ac_cv_func_shl_load" = x""yes; then :
  8549. lt_cv_dlopen="shl_load"
  8550. else
  8551. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  8552. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  8553. if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
  8554. $as_echo_n "(cached) " >&6
  8555. else
  8556. ac_check_lib_save_LIBS=$LIBS
  8557. LIBS="-ldld $LIBS"
  8558. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8559. /* end confdefs.h. */
  8560. /* Override any GCC internal prototype to avoid an error.
  8561. Use char because int might match the return type of a GCC
  8562. builtin and then its argument prototype would still apply. */
  8563. #ifdef __cplusplus
  8564. extern "C"
  8565. #endif
  8566. char shl_load ();
  8567. int
  8568. main ()
  8569. {
  8570. return shl_load ();
  8571. ;
  8572. return 0;
  8573. }
  8574. _ACEOF
  8575. if ac_fn_c_try_link "$LINENO"; then :
  8576. ac_cv_lib_dld_shl_load=yes
  8577. else
  8578. ac_cv_lib_dld_shl_load=no
  8579. fi
  8580. rm -f core conftest.err conftest.$ac_objext \
  8581. conftest$ac_exeext conftest.$ac_ext
  8582. LIBS=$ac_check_lib_save_LIBS
  8583. fi
  8584. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  8585. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  8586. if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
  8587. lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  8588. else
  8589. ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  8590. if test "x$ac_cv_func_dlopen" = x""yes; then :
  8591. lt_cv_dlopen="dlopen"
  8592. else
  8593. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  8594. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  8595. if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  8596. $as_echo_n "(cached) " >&6
  8597. else
  8598. ac_check_lib_save_LIBS=$LIBS
  8599. LIBS="-ldl $LIBS"
  8600. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8601. /* end confdefs.h. */
  8602. /* Override any GCC internal prototype to avoid an error.
  8603. Use char because int might match the return type of a GCC
  8604. builtin and then its argument prototype would still apply. */
  8605. #ifdef __cplusplus
  8606. extern "C"
  8607. #endif
  8608. char dlopen ();
  8609. int
  8610. main ()
  8611. {
  8612. return dlopen ();
  8613. ;
  8614. return 0;
  8615. }
  8616. _ACEOF
  8617. if ac_fn_c_try_link "$LINENO"; then :
  8618. ac_cv_lib_dl_dlopen=yes
  8619. else
  8620. ac_cv_lib_dl_dlopen=no
  8621. fi
  8622. rm -f core conftest.err conftest.$ac_objext \
  8623. conftest$ac_exeext conftest.$ac_ext
  8624. LIBS=$ac_check_lib_save_LIBS
  8625. fi
  8626. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  8627. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  8628. if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  8629. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  8630. else
  8631. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  8632. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  8633. if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
  8634. $as_echo_n "(cached) " >&6
  8635. else
  8636. ac_check_lib_save_LIBS=$LIBS
  8637. LIBS="-lsvld $LIBS"
  8638. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8639. /* end confdefs.h. */
  8640. /* Override any GCC internal prototype to avoid an error.
  8641. Use char because int might match the return type of a GCC
  8642. builtin and then its argument prototype would still apply. */
  8643. #ifdef __cplusplus
  8644. extern "C"
  8645. #endif
  8646. char dlopen ();
  8647. int
  8648. main ()
  8649. {
  8650. return dlopen ();
  8651. ;
  8652. return 0;
  8653. }
  8654. _ACEOF
  8655. if ac_fn_c_try_link "$LINENO"; then :
  8656. ac_cv_lib_svld_dlopen=yes
  8657. else
  8658. ac_cv_lib_svld_dlopen=no
  8659. fi
  8660. rm -f core conftest.err conftest.$ac_objext \
  8661. conftest$ac_exeext conftest.$ac_ext
  8662. LIBS=$ac_check_lib_save_LIBS
  8663. fi
  8664. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  8665. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  8666. if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
  8667. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  8668. else
  8669. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  8670. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  8671. if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
  8672. $as_echo_n "(cached) " >&6
  8673. else
  8674. ac_check_lib_save_LIBS=$LIBS
  8675. LIBS="-ldld $LIBS"
  8676. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8677. /* end confdefs.h. */
  8678. /* Override any GCC internal prototype to avoid an error.
  8679. Use char because int might match the return type of a GCC
  8680. builtin and then its argument prototype would still apply. */
  8681. #ifdef __cplusplus
  8682. extern "C"
  8683. #endif
  8684. char dld_link ();
  8685. int
  8686. main ()
  8687. {
  8688. return dld_link ();
  8689. ;
  8690. return 0;
  8691. }
  8692. _ACEOF
  8693. if ac_fn_c_try_link "$LINENO"; then :
  8694. ac_cv_lib_dld_dld_link=yes
  8695. else
  8696. ac_cv_lib_dld_dld_link=no
  8697. fi
  8698. rm -f core conftest.err conftest.$ac_objext \
  8699. conftest$ac_exeext conftest.$ac_ext
  8700. LIBS=$ac_check_lib_save_LIBS
  8701. fi
  8702. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  8703. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  8704. if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
  8705. lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  8706. fi
  8707. fi
  8708. fi
  8709. fi
  8710. fi
  8711. fi
  8712. ;;
  8713. esac
  8714. if test "x$lt_cv_dlopen" != xno; then
  8715. enable_dlopen=yes
  8716. else
  8717. enable_dlopen=no
  8718. fi
  8719. case $lt_cv_dlopen in
  8720. dlopen)
  8721. save_CPPFLAGS="$CPPFLAGS"
  8722. test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  8723. save_LDFLAGS="$LDFLAGS"
  8724. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  8725. save_LIBS="$LIBS"
  8726. LIBS="$lt_cv_dlopen_libs $LIBS"
  8727. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  8728. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  8729. if test "${lt_cv_dlopen_self+set}" = set; then :
  8730. $as_echo_n "(cached) " >&6
  8731. else
  8732. if test "$cross_compiling" = yes; then :
  8733. lt_cv_dlopen_self=cross
  8734. else
  8735. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  8736. lt_status=$lt_dlunknown
  8737. cat > conftest.$ac_ext <<_LT_EOF
  8738. #line 10194 "configure"
  8739. #include "confdefs.h"
  8740. #if HAVE_DLFCN_H
  8741. #include <dlfcn.h>
  8742. #endif
  8743. #include <stdio.h>
  8744. #ifdef RTLD_GLOBAL
  8745. # define LT_DLGLOBAL RTLD_GLOBAL
  8746. #else
  8747. # ifdef DL_GLOBAL
  8748. # define LT_DLGLOBAL DL_GLOBAL
  8749. # else
  8750. # define LT_DLGLOBAL 0
  8751. # endif
  8752. #endif
  8753. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  8754. find out it does not work in some platform. */
  8755. #ifndef LT_DLLAZY_OR_NOW
  8756. # ifdef RTLD_LAZY
  8757. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  8758. # else
  8759. # ifdef DL_LAZY
  8760. # define LT_DLLAZY_OR_NOW DL_LAZY
  8761. # else
  8762. # ifdef RTLD_NOW
  8763. # define LT_DLLAZY_OR_NOW RTLD_NOW
  8764. # else
  8765. # ifdef DL_NOW
  8766. # define LT_DLLAZY_OR_NOW DL_NOW
  8767. # else
  8768. # define LT_DLLAZY_OR_NOW 0
  8769. # endif
  8770. # endif
  8771. # endif
  8772. # endif
  8773. #endif
  8774. void fnord() { int i=42;}
  8775. int main ()
  8776. {
  8777. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  8778. int status = $lt_dlunknown;
  8779. if (self)
  8780. {
  8781. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  8782. else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  8783. /* dlclose (self); */
  8784. }
  8785. else
  8786. puts (dlerror ());
  8787. return status;
  8788. }
  8789. _LT_EOF
  8790. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  8791. (eval $ac_link) 2>&5
  8792. ac_status=$?
  8793. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8794. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  8795. (./conftest; exit; ) >&5 2>/dev/null
  8796. lt_status=$?
  8797. case x$lt_status in
  8798. x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  8799. x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  8800. x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  8801. esac
  8802. else :
  8803. # compilation failed
  8804. lt_cv_dlopen_self=no
  8805. fi
  8806. fi
  8807. rm -fr conftest*
  8808. fi
  8809. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  8810. $as_echo "$lt_cv_dlopen_self" >&6; }
  8811. if test "x$lt_cv_dlopen_self" = xyes; then
  8812. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  8813. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  8814. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  8815. if test "${lt_cv_dlopen_self_static+set}" = set; then :
  8816. $as_echo_n "(cached) " >&6
  8817. else
  8818. if test "$cross_compiling" = yes; then :
  8819. lt_cv_dlopen_self_static=cross
  8820. else
  8821. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  8822. lt_status=$lt_dlunknown
  8823. cat > conftest.$ac_ext <<_LT_EOF
  8824. #line 10290 "configure"
  8825. #include "confdefs.h"
  8826. #if HAVE_DLFCN_H
  8827. #include <dlfcn.h>
  8828. #endif
  8829. #include <stdio.h>
  8830. #ifdef RTLD_GLOBAL
  8831. # define LT_DLGLOBAL RTLD_GLOBAL
  8832. #else
  8833. # ifdef DL_GLOBAL
  8834. # define LT_DLGLOBAL DL_GLOBAL
  8835. # else
  8836. # define LT_DLGLOBAL 0
  8837. # endif
  8838. #endif
  8839. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  8840. find out it does not work in some platform. */
  8841. #ifndef LT_DLLAZY_OR_NOW
  8842. # ifdef RTLD_LAZY
  8843. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  8844. # else
  8845. # ifdef DL_LAZY
  8846. # define LT_DLLAZY_OR_NOW DL_LAZY
  8847. # else
  8848. # ifdef RTLD_NOW
  8849. # define LT_DLLAZY_OR_NOW RTLD_NOW
  8850. # else
  8851. # ifdef DL_NOW
  8852. # define LT_DLLAZY_OR_NOW DL_NOW
  8853. # else
  8854. # define LT_DLLAZY_OR_NOW 0
  8855. # endif
  8856. # endif
  8857. # endif
  8858. # endif
  8859. #endif
  8860. void fnord() { int i=42;}
  8861. int main ()
  8862. {
  8863. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  8864. int status = $lt_dlunknown;
  8865. if (self)
  8866. {
  8867. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  8868. else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  8869. /* dlclose (self); */
  8870. }
  8871. else
  8872. puts (dlerror ());
  8873. return status;
  8874. }
  8875. _LT_EOF
  8876. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  8877. (eval $ac_link) 2>&5
  8878. ac_status=$?
  8879. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8880. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  8881. (./conftest; exit; ) >&5 2>/dev/null
  8882. lt_status=$?
  8883. case x$lt_status in
  8884. x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  8885. x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  8886. x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  8887. esac
  8888. else :
  8889. # compilation failed
  8890. lt_cv_dlopen_self_static=no
  8891. fi
  8892. fi
  8893. rm -fr conftest*
  8894. fi
  8895. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  8896. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  8897. fi
  8898. CPPFLAGS="$save_CPPFLAGS"
  8899. LDFLAGS="$save_LDFLAGS"
  8900. LIBS="$save_LIBS"
  8901. ;;
  8902. esac
  8903. case $lt_cv_dlopen_self in
  8904. yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  8905. *) enable_dlopen_self=unknown ;;
  8906. esac
  8907. case $lt_cv_dlopen_self_static in
  8908. yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  8909. *) enable_dlopen_self_static=unknown ;;
  8910. esac
  8911. fi
  8912. striplib=
  8913. old_striplib=
  8914. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  8915. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  8916. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  8917. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  8918. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  8919. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8920. $as_echo "yes" >&6; }
  8921. else
  8922. # FIXME - insert some real tests, host_os isn't really good enough
  8923. case $host_os in
  8924. darwin*)
  8925. if test -n "$STRIP" ; then
  8926. striplib="$STRIP -x"
  8927. old_striplib="$STRIP -S"
  8928. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8929. $as_echo "yes" >&6; }
  8930. else
  8931. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8932. $as_echo "no" >&6; }
  8933. fi
  8934. ;;
  8935. *)
  8936. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8937. $as_echo "no" >&6; }
  8938. ;;
  8939. esac
  8940. fi
  8941. # Report which library types will actually be built
  8942. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  8943. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  8944. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  8945. $as_echo "$can_build_shared" >&6; }
  8946. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  8947. $as_echo_n "checking whether to build shared libraries... " >&6; }
  8948. test "$can_build_shared" = "no" && enable_shared=no
  8949. # On AIX, shared libraries and static libraries use the same namespace, and
  8950. # are all built from PIC.
  8951. case $host_os in
  8952. aix3*)
  8953. test "$enable_shared" = yes && enable_static=no
  8954. if test -n "$RANLIB"; then
  8955. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  8956. postinstall_cmds='$RANLIB $lib'
  8957. fi
  8958. ;;
  8959. aix[4-9]*)
  8960. if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  8961. test "$enable_shared" = yes && enable_static=no
  8962. fi
  8963. ;;
  8964. esac
  8965. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  8966. $as_echo "$enable_shared" >&6; }
  8967. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  8968. $as_echo_n "checking whether to build static libraries... " >&6; }
  8969. # Make sure either enable_shared or enable_static is yes.
  8970. test "$enable_shared" = yes || enable_static=yes
  8971. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  8972. $as_echo "$enable_static" >&6; }
  8973. fi
  8974. ac_ext=c
  8975. ac_cpp='$CPP $CPPFLAGS'
  8976. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8977. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8978. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8979. CC="$lt_save_CC"
  8980. ac_config_commands="$ac_config_commands libtool"
  8981. # Only expand once:
  8982. ac_fn_c_check_func "$LINENO" "gethostbyaddr_r" "ac_cv_func_gethostbyaddr_r"
  8983. if test "x$ac_cv_func_gethostbyaddr_r" = x""yes; then :
  8984. $as_echo "#define HAS_GETHOSTBYADDR_R 1" >>confdefs.h
  8985. fi
  8986. ac_fn_c_check_func "$LINENO" "gethostbyname_r" "ac_cv_func_gethostbyname_r"
  8987. if test "x$ac_cv_func_gethostbyname_r" = x""yes; then :
  8988. $as_echo "#define HAS_GETHOSTBYNAME_R 1" >>confdefs.h
  8989. fi
  8990. ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
  8991. if test "x$ac_cv_func_poll" = x""yes; then :
  8992. $as_echo "#define HAS_POLL 1" >>confdefs.h
  8993. fi
  8994. ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
  8995. if test "x$ac_cv_func_fcntl" = x""yes; then :
  8996. $as_echo "#define HAS_FCNTL 1" >>confdefs.h
  8997. fi
  8998. ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton"
  8999. if test "x$ac_cv_func_inet_pton" = x""yes; then :
  9000. $as_echo "#define HAS_INET_PTON 1" >>confdefs.h
  9001. fi
  9002. ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
  9003. if test "x$ac_cv_func_inet_ntop" = x""yes; then :
  9004. $as_echo "#define HAS_INET_NTOP 1" >>confdefs.h
  9005. fi
  9006. ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_flags" "ac_cv_member_struct_msghdr_msg_flags" "#include <sys/socket.h>
  9007. "
  9008. if test "x$ac_cv_member_struct_msghdr_msg_flags" = x""yes; then :
  9009. $as_echo "#define HAS_MSGHDR_FLAGS 1" >>confdefs.h
  9010. fi
  9011. ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
  9012. #include <sys/socket.h>
  9013. "
  9014. if test "x$ac_cv_type_socklen_t" = x""yes; then :
  9015. $as_echo "#define HAS_SOCKLEN_T 1" >>confdefs.h
  9016. fi
  9017. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9018. /* end confdefs.h. */
  9019. #include </usr/include/sys/socket.h>
  9020. _ACEOF
  9021. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  9022. $EGREP "MSG_MAXIOVLEN" >/dev/null 2>&1; then :
  9023. $as_echo "#define ENET_BUFFER_MAXIMUM MSG_MAXIOVLEN" >>confdefs.h
  9024. fi
  9025. rm -f conftest*
  9026. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9027. /* end confdefs.h. */
  9028. #include <socket.h>
  9029. _ACEOF
  9030. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  9031. $EGREP "MSG_MAXIOVLEN" >/dev/null 2>&1; then :
  9032. $as_echo "#define ENET_BUFFER_MAXIMUM MSG_MAXIOVLEN" >>confdefs.h
  9033. fi
  9034. rm -f conftest*
  9035. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CRC32" >&5
  9036. $as_echo_n "checking whether to use CRC32... " >&6; }
  9037. # Check whether --enable-crc32 was given.
  9038. if test "${enable_crc32+set}" = set; then :
  9039. enableval=$enable_crc32; if test "$enableval" = yes; then
  9040. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  9041. $as_echo "yes" >&6; }
  9042. $as_echo "#define USE_CRC32 1" >>confdefs.h
  9043. else
  9044. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9045. $as_echo "no" >&6; }
  9046. fi
  9047. else
  9048. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9049. $as_echo "no" >&6; }
  9050. fi
  9051. ac_config_files="$ac_config_files Makefile include/Makefile include/enet/Makefile"
  9052. cat >confcache <<\_ACEOF
  9053. # This file is a shell script that caches the results of configure
  9054. # tests run on this system so they can be shared between configure
  9055. # scripts and configure runs, see configure's option --config-cache.
  9056. # It is not useful on other systems. If it contains results you don't
  9057. # want to keep, you may remove or edit it.
  9058. #
  9059. # config.status only pays attention to the cache file if you give it
  9060. # the --recheck option to rerun configure.
  9061. #
  9062. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  9063. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  9064. # following values.
  9065. _ACEOF
  9066. # The following way of writing the cache mishandles newlines in values,
  9067. # but we know of no workaround that is simple, portable, and efficient.
  9068. # So, we kill variables containing newlines.
  9069. # Ultrix sh set writes to stderr and can't be redirected directly,
  9070. # and sets the high bit in the cache file unless we assign to the vars.
  9071. (
  9072. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  9073. eval ac_val=\$$ac_var
  9074. case $ac_val in #(
  9075. *${as_nl}*)
  9076. case $ac_var in #(
  9077. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  9078. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  9079. esac
  9080. case $ac_var in #(
  9081. _ | IFS | as_nl) ;; #(
  9082. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  9083. *) { eval $ac_var=; unset $ac_var;} ;;
  9084. esac ;;
  9085. esac
  9086. done
  9087. (set) 2>&1 |
  9088. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  9089. *${as_nl}ac_space=\ *)
  9090. # `set' does not quote correctly, so add quotes: double-quote
  9091. # substitution turns \\\\ into \\, and sed turns \\ into \.
  9092. sed -n \
  9093. "s/'/'\\\\''/g;
  9094. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  9095. ;; #(
  9096. *)
  9097. # `set' quotes correctly as required by POSIX, so do not add quotes.
  9098. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  9099. ;;
  9100. esac |
  9101. sort
  9102. ) |
  9103. sed '
  9104. /^ac_cv_env_/b end
  9105. t clear
  9106. :clear
  9107. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  9108. t end
  9109. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  9110. :end' >>confcache
  9111. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  9112. if test -w "$cache_file"; then
  9113. test "x$cache_file" != "x/dev/null" &&
  9114. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  9115. $as_echo "$as_me: updating cache $cache_file" >&6;}
  9116. cat confcache >$cache_file
  9117. else
  9118. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  9119. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  9120. fi
  9121. fi
  9122. rm -f confcache
  9123. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  9124. # Let make expand exec_prefix.
  9125. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  9126. # Transform confdefs.h into DEFS.
  9127. # Protect against shell expansion while executing Makefile rules.
  9128. # Protect against Makefile macro expansion.
  9129. #
  9130. # If the first sed substitution is executed (which looks for macros that
  9131. # take arguments), then branch to the quote section. Otherwise,
  9132. # look for a macro that doesn't take arguments.
  9133. ac_script='
  9134. :mline
  9135. /\\$/{
  9136. N
  9137. s,\\\n,,
  9138. b mline
  9139. }
  9140. t clear
  9141. :clear
  9142. s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
  9143. t quote
  9144. s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
  9145. t quote
  9146. b any
  9147. :quote
  9148. s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  9149. s/\[/\\&/g
  9150. s/\]/\\&/g
  9151. s/\$/$$/g
  9152. H
  9153. :any
  9154. ${
  9155. g
  9156. s/^\n//
  9157. s/\n/ /g
  9158. p
  9159. }
  9160. '
  9161. DEFS=`sed -n "$ac_script" confdefs.h`
  9162. ac_libobjs=
  9163. ac_ltlibobjs=
  9164. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  9165. # 1. Remove the extension, and $U if already installed.
  9166. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  9167. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  9168. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  9169. # will be set to the directory where LIBOBJS objects are built.
  9170. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  9171. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  9172. done
  9173. LIBOBJS=$ac_libobjs
  9174. LTLIBOBJS=$ac_ltlibobjs
  9175. if test -n "$EXEEXT"; then
  9176. am__EXEEXT_TRUE=
  9177. am__EXEEXT_FALSE='#'
  9178. else
  9179. am__EXEEXT_TRUE='#'
  9180. am__EXEEXT_FALSE=
  9181. fi
  9182. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  9183. as_fn_error "conditional \"AMDEP\" was never defined.
  9184. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  9185. fi
  9186. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  9187. as_fn_error "conditional \"am__fastdepCC\" was never defined.
  9188. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  9189. fi
  9190. : ${CONFIG_STATUS=./config.status}
  9191. ac_write_fail=0
  9192. ac_clean_files_save=$ac_clean_files
  9193. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  9194. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  9195. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  9196. as_write_fail=0
  9197. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  9198. #! $SHELL
  9199. # Generated by $as_me.
  9200. # Run this file to recreate the current configuration.
  9201. # Compiler output produced by configure, useful for debugging
  9202. # configure, is in config.log if it exists.
  9203. debug=false
  9204. ac_cs_recheck=false
  9205. ac_cs_silent=false
  9206. SHELL=\${CONFIG_SHELL-$SHELL}
  9207. export SHELL
  9208. _ASEOF
  9209. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  9210. ## -------------------- ##
  9211. ## M4sh Initialization. ##
  9212. ## -------------------- ##
  9213. # Be more Bourne compatible
  9214. DUALCASE=1; export DUALCASE # for MKS sh
  9215. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  9216. emulate sh
  9217. NULLCMD=:
  9218. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  9219. # is contrary to our usage. Disable this feature.
  9220. alias -g '${1+"$@"}'='"$@"'
  9221. setopt NO_GLOB_SUBST
  9222. else
  9223. case `(set -o) 2>/dev/null` in #(
  9224. *posix*) :
  9225. set -o posix ;; #(
  9226. *) :
  9227. ;;
  9228. esac
  9229. fi
  9230. as_nl='
  9231. '
  9232. export as_nl
  9233. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  9234. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  9235. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  9236. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  9237. # Prefer a ksh shell builtin over an external printf program on Solaris,
  9238. # but without wasting forks for bash or zsh.
  9239. if test -z "$BASH_VERSION$ZSH_VERSION" \
  9240. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  9241. as_echo='print -r --'
  9242. as_echo_n='print -rn --'
  9243. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  9244. as_echo='printf %s\n'
  9245. as_echo_n='printf %s'
  9246. else
  9247. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  9248. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  9249. as_echo_n='/usr/ucb/echo -n'
  9250. else
  9251. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  9252. as_echo_n_body='eval
  9253. arg=$1;
  9254. case $arg in #(
  9255. *"$as_nl"*)
  9256. expr "X$arg" : "X\\(.*\\)$as_nl";
  9257. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  9258. esac;
  9259. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  9260. '
  9261. export as_echo_n_body
  9262. as_echo_n='sh -c $as_echo_n_body as_echo'
  9263. fi
  9264. export as_echo_body
  9265. as_echo='sh -c $as_echo_body as_echo'
  9266. fi
  9267. # The user is always right.
  9268. if test "${PATH_SEPARATOR+set}" != set; then
  9269. PATH_SEPARATOR=:
  9270. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  9271. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  9272. PATH_SEPARATOR=';'
  9273. }
  9274. fi
  9275. # IFS
  9276. # We need space, tab and new line, in precisely that order. Quoting is
  9277. # there to prevent editors from complaining about space-tab.
  9278. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  9279. # splitting by setting IFS to empty value.)
  9280. IFS=" "" $as_nl"
  9281. # Find who we are. Look in the path if we contain no directory separator.
  9282. case $0 in #((
  9283. *[\\/]* ) as_myself=$0 ;;
  9284. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9285. for as_dir in $PATH
  9286. do
  9287. IFS=$as_save_IFS
  9288. test -z "$as_dir" && as_dir=.
  9289. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  9290. done
  9291. IFS=$as_save_IFS
  9292. ;;
  9293. esac
  9294. # We did not find ourselves, most probably we were run as `sh COMMAND'
  9295. # in which case we are not to be found in the path.
  9296. if test "x$as_myself" = x; then
  9297. as_myself=$0
  9298. fi
  9299. if test ! -f "$as_myself"; then
  9300. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  9301. exit 1
  9302. fi
  9303. # Unset variables that we do not need and which cause bugs (e.g. in
  9304. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  9305. # suppresses any "Segmentation fault" message there. '((' could
  9306. # trigger a bug in pdksh 5.2.14.
  9307. for as_var in BASH_ENV ENV MAIL MAILPATH
  9308. do eval test x\${$as_var+set} = xset \
  9309. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  9310. done
  9311. PS1='$ '
  9312. PS2='> '
  9313. PS4='+ '
  9314. # NLS nuisances.
  9315. LC_ALL=C
  9316. export LC_ALL
  9317. LANGUAGE=C
  9318. export LANGUAGE
  9319. # CDPATH.
  9320. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  9321. # as_fn_error ERROR [LINENO LOG_FD]
  9322. # ---------------------------------
  9323. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  9324. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  9325. # script with status $?, using 1 if that was 0.
  9326. as_fn_error ()
  9327. {
  9328. as_status=$?; test $as_status -eq 0 && as_status=1
  9329. if test "$3"; then
  9330. as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  9331. $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  9332. fi
  9333. $as_echo "$as_me: error: $1" >&2
  9334. as_fn_exit $as_status
  9335. } # as_fn_error
  9336. # as_fn_set_status STATUS
  9337. # -----------------------
  9338. # Set $? to STATUS, without forking.
  9339. as_fn_set_status ()
  9340. {
  9341. return $1
  9342. } # as_fn_set_status
  9343. # as_fn_exit STATUS
  9344. # -----------------
  9345. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  9346. as_fn_exit ()
  9347. {
  9348. set +e
  9349. as_fn_set_status $1
  9350. exit $1
  9351. } # as_fn_exit
  9352. # as_fn_unset VAR
  9353. # ---------------
  9354. # Portably unset VAR.
  9355. as_fn_unset ()
  9356. {
  9357. { eval $1=; unset $1;}
  9358. }
  9359. as_unset=as_fn_unset
  9360. # as_fn_append VAR VALUE
  9361. # ----------------------
  9362. # Append the text in VALUE to the end of the definition contained in VAR. Take
  9363. # advantage of any shell optimizations that allow amortized linear growth over
  9364. # repeated appends, instead of the typical quadratic growth present in naive
  9365. # implementations.
  9366. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  9367. eval 'as_fn_append ()
  9368. {
  9369. eval $1+=\$2
  9370. }'
  9371. else
  9372. as_fn_append ()
  9373. {
  9374. eval $1=\$$1\$2
  9375. }
  9376. fi # as_fn_append
  9377. # as_fn_arith ARG...
  9378. # ------------------
  9379. # Perform arithmetic evaluation on the ARGs, and store the result in the
  9380. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  9381. # must be portable across $(()) and expr.
  9382. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  9383. eval 'as_fn_arith ()
  9384. {
  9385. as_val=$(( $* ))
  9386. }'
  9387. else
  9388. as_fn_arith ()
  9389. {
  9390. as_val=`expr "$@" || test $? -eq 1`
  9391. }
  9392. fi # as_fn_arith
  9393. if expr a : '\(a\)' >/dev/null 2>&1 &&
  9394. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  9395. as_expr=expr
  9396. else
  9397. as_expr=false
  9398. fi
  9399. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  9400. as_basename=basename
  9401. else
  9402. as_basename=false
  9403. fi
  9404. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  9405. as_dirname=dirname
  9406. else
  9407. as_dirname=false
  9408. fi
  9409. as_me=`$as_basename -- "$0" ||
  9410. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  9411. X"$0" : 'X\(//\)$' \| \
  9412. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  9413. $as_echo X/"$0" |
  9414. sed '/^.*\/\([^/][^/]*\)\/*$/{
  9415. s//\1/
  9416. q
  9417. }
  9418. /^X\/\(\/\/\)$/{
  9419. s//\1/
  9420. q
  9421. }
  9422. /^X\/\(\/\).*/{
  9423. s//\1/
  9424. q
  9425. }
  9426. s/.*/./; q'`
  9427. # Avoid depending upon Character Ranges.
  9428. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  9429. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  9430. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  9431. as_cr_digits='0123456789'
  9432. as_cr_alnum=$as_cr_Letters$as_cr_digits
  9433. ECHO_C= ECHO_N= ECHO_T=
  9434. case `echo -n x` in #(((((
  9435. -n*)
  9436. case `echo 'xy\c'` in
  9437. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  9438. xy) ECHO_C='\c';;
  9439. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  9440. ECHO_T=' ';;
  9441. esac;;
  9442. *)
  9443. ECHO_N='-n';;
  9444. esac
  9445. rm -f conf$$ conf$$.exe conf$$.file
  9446. if test -d conf$$.dir; then
  9447. rm -f conf$$.dir/conf$$.file
  9448. else
  9449. rm -f conf$$.dir
  9450. mkdir conf$$.dir 2>/dev/null
  9451. fi
  9452. if (echo >conf$$.file) 2>/dev/null; then
  9453. if ln -s conf$$.file conf$$ 2>/dev/null; then
  9454. as_ln_s='ln -s'
  9455. # ... but there are two gotchas:
  9456. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  9457. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  9458. # In both cases, we have to default to `cp -p'.
  9459. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  9460. as_ln_s='cp -p'
  9461. elif ln conf$$.file conf$$ 2>/dev/null; then
  9462. as_ln_s=ln
  9463. else
  9464. as_ln_s='cp -p'
  9465. fi
  9466. else
  9467. as_ln_s='cp -p'
  9468. fi
  9469. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  9470. rmdir conf$$.dir 2>/dev/null
  9471. # as_fn_mkdir_p
  9472. # -------------
  9473. # Create "$as_dir" as a directory, including parents if necessary.
  9474. as_fn_mkdir_p ()
  9475. {
  9476. case $as_dir in #(
  9477. -*) as_dir=./$as_dir;;
  9478. esac
  9479. test -d "$as_dir" || eval $as_mkdir_p || {
  9480. as_dirs=
  9481. while :; do
  9482. case $as_dir in #(
  9483. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  9484. *) as_qdir=$as_dir;;
  9485. esac
  9486. as_dirs="'$as_qdir' $as_dirs"
  9487. as_dir=`$as_dirname -- "$as_dir" ||
  9488. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  9489. X"$as_dir" : 'X\(//\)[^/]' \| \
  9490. X"$as_dir" : 'X\(//\)$' \| \
  9491. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  9492. $as_echo X"$as_dir" |
  9493. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  9494. s//\1/
  9495. q
  9496. }
  9497. /^X\(\/\/\)[^/].*/{
  9498. s//\1/
  9499. q
  9500. }
  9501. /^X\(\/\/\)$/{
  9502. s//\1/
  9503. q
  9504. }
  9505. /^X\(\/\).*/{
  9506. s//\1/
  9507. q
  9508. }
  9509. s/.*/./; q'`
  9510. test -d "$as_dir" && break
  9511. done
  9512. test -z "$as_dirs" || eval "mkdir $as_dirs"
  9513. } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  9514. } # as_fn_mkdir_p
  9515. if mkdir -p . 2>/dev/null; then
  9516. as_mkdir_p='mkdir -p "$as_dir"'
  9517. else
  9518. test -d ./-p && rmdir ./-p
  9519. as_mkdir_p=false
  9520. fi
  9521. if test -x / >/dev/null 2>&1; then
  9522. as_test_x='test -x'
  9523. else
  9524. if ls -dL / >/dev/null 2>&1; then
  9525. as_ls_L_option=L
  9526. else
  9527. as_ls_L_option=
  9528. fi
  9529. as_test_x='
  9530. eval sh -c '\''
  9531. if test -d "$1"; then
  9532. test -d "$1/.";
  9533. else
  9534. case $1 in #(
  9535. -*)set "./$1";;
  9536. esac;
  9537. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  9538. ???[sx]*):;;*)false;;esac;fi
  9539. '\'' sh
  9540. '
  9541. fi
  9542. as_executable_p=$as_test_x
  9543. # Sed expression to map a string onto a valid CPP name.
  9544. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  9545. # Sed expression to map a string onto a valid variable name.
  9546. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  9547. exec 6>&1
  9548. ## ----------------------------------- ##
  9549. ## Main body of $CONFIG_STATUS script. ##
  9550. ## ----------------------------------- ##
  9551. _ASEOF
  9552. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  9553. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  9554. # Save the log message, to keep $0 and so on meaningful, and to
  9555. # report actual input values of CONFIG_FILES etc. instead of their
  9556. # values after options handling.
  9557. ac_log="
  9558. This file was extended by libenet $as_me 1-8-2008, which was
  9559. generated by GNU Autoconf 2.65. Invocation command line was
  9560. CONFIG_FILES = $CONFIG_FILES
  9561. CONFIG_HEADERS = $CONFIG_HEADERS
  9562. CONFIG_LINKS = $CONFIG_LINKS
  9563. CONFIG_COMMANDS = $CONFIG_COMMANDS
  9564. $ $0 $@
  9565. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  9566. "
  9567. _ACEOF
  9568. case $ac_config_files in *"
  9569. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  9570. esac
  9571. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  9572. # Files that config.status was made for.
  9573. config_files="$ac_config_files"
  9574. config_commands="$ac_config_commands"
  9575. _ACEOF
  9576. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  9577. ac_cs_usage="\
  9578. \`$as_me' instantiates files and other configuration actions
  9579. from templates according to the current configuration. Unless the files
  9580. and actions are specified as TAGs, all are instantiated by default.
  9581. Usage: $0 [OPTION]... [TAG]...
  9582. -h, --help print this help, then exit
  9583. -V, --version print version number and configuration settings, then exit
  9584. --config print configuration, then exit
  9585. -q, --quiet, --silent
  9586. do not print progress messages
  9587. -d, --debug don't remove temporary files
  9588. --recheck update $as_me by reconfiguring in the same conditions
  9589. --file=FILE[:TEMPLATE]
  9590. instantiate the configuration file FILE
  9591. Configuration files:
  9592. $config_files
  9593. Configuration commands:
  9594. $config_commands
  9595. Report bugs to the package provider."
  9596. _ACEOF
  9597. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  9598. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  9599. ac_cs_version="\\
  9600. libenet config.status 1-8-2008
  9601. configured by $0, generated by GNU Autoconf 2.65,
  9602. with options \\"\$ac_cs_config\\"
  9603. Copyright (C) 2009 Free Software Foundation, Inc.
  9604. This config.status script is free software; the Free Software Foundation
  9605. gives unlimited permission to copy, distribute and modify it."
  9606. ac_pwd='$ac_pwd'
  9607. srcdir='$srcdir'
  9608. INSTALL='$INSTALL'
  9609. MKDIR_P='$MKDIR_P'
  9610. AWK='$AWK'
  9611. test -n "\$AWK" || AWK=awk
  9612. _ACEOF
  9613. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  9614. # The default lists apply if the user does not specify any file.
  9615. ac_need_defaults=:
  9616. while test $# != 0
  9617. do
  9618. case $1 in
  9619. --*=*)
  9620. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  9621. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  9622. ac_shift=:
  9623. ;;
  9624. *)
  9625. ac_option=$1
  9626. ac_optarg=$2
  9627. ac_shift=shift
  9628. ;;
  9629. esac
  9630. case $ac_option in
  9631. # Handling of the options.
  9632. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  9633. ac_cs_recheck=: ;;
  9634. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  9635. $as_echo "$ac_cs_version"; exit ;;
  9636. --config | --confi | --conf | --con | --co | --c )
  9637. $as_echo "$ac_cs_config"; exit ;;
  9638. --debug | --debu | --deb | --de | --d | -d )
  9639. debug=: ;;
  9640. --file | --fil | --fi | --f )
  9641. $ac_shift
  9642. case $ac_optarg in
  9643. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  9644. esac
  9645. as_fn_append CONFIG_FILES " '$ac_optarg'"
  9646. ac_need_defaults=false;;
  9647. --he | --h | --help | --hel | -h )
  9648. $as_echo "$ac_cs_usage"; exit ;;
  9649. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  9650. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  9651. ac_cs_silent=: ;;
  9652. # This is an error.
  9653. -*) as_fn_error "unrecognized option: \`$1'
  9654. Try \`$0 --help' for more information." ;;
  9655. *) as_fn_append ac_config_targets " $1"
  9656. ac_need_defaults=false ;;
  9657. esac
  9658. shift
  9659. done
  9660. ac_configure_extra_args=
  9661. if $ac_cs_silent; then
  9662. exec 6>/dev/null
  9663. ac_configure_extra_args="$ac_configure_extra_args --silent"
  9664. fi
  9665. _ACEOF
  9666. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  9667. if \$ac_cs_recheck; then
  9668. set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  9669. shift
  9670. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  9671. CONFIG_SHELL='$SHELL'
  9672. export CONFIG_SHELL
  9673. exec "\$@"
  9674. fi
  9675. _ACEOF
  9676. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  9677. exec 5>>config.log
  9678. {
  9679. echo
  9680. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  9681. ## Running $as_me. ##
  9682. _ASBOX
  9683. $as_echo "$ac_log"
  9684. } >&5
  9685. _ACEOF
  9686. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  9687. #
  9688. # INIT-COMMANDS
  9689. #
  9690. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  9691. # The HP-UX ksh and POSIX shell print the target directory to stdout
  9692. # if CDPATH is set.
  9693. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  9694. sed_quote_subst='$sed_quote_subst'
  9695. double_quote_subst='$double_quote_subst'
  9696. delay_variable_subst='$delay_variable_subst'
  9697. macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
  9698. macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
  9699. enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
  9700. enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
  9701. pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
  9702. enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
  9703. host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
  9704. host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
  9705. host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
  9706. build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
  9707. build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
  9708. build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
  9709. SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
  9710. Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
  9711. GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
  9712. EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
  9713. FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
  9714. LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
  9715. NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
  9716. LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
  9717. max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
  9718. ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
  9719. exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
  9720. lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
  9721. lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
  9722. lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
  9723. reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
  9724. reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  9725. OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
  9726. deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
  9727. file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
  9728. AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
  9729. AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  9730. STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
  9731. RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
  9732. old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  9733. old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  9734. old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  9735. CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
  9736. CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  9737. compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
  9738. GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
  9739. lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
  9740. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
  9741. 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"`'
  9742. 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"`'
  9743. objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
  9744. SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
  9745. ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
  9746. MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
  9747. lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
  9748. lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
  9749. lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
  9750. lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
  9751. lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
  9752. need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
  9753. DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
  9754. NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
  9755. LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
  9756. OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  9757. OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
  9758. libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
  9759. shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  9760. extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  9761. archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
  9762. enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
  9763. export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  9764. whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  9765. compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
  9766. old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  9767. old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  9768. archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  9769. archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  9770. module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  9771. module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  9772. with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
  9773. allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  9774. no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  9775. hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  9776. hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
  9777. hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
  9778. hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
  9779. hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
  9780. hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
  9781. hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  9782. hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
  9783. inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
  9784. link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
  9785. fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
  9786. always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
  9787. export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  9788. exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  9789. include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  9790. prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  9791. file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
  9792. variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
  9793. need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  9794. need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
  9795. version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
  9796. runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  9797. shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  9798. shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
  9799. libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  9800. library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
  9801. soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  9802. postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  9803. postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  9804. finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  9805. finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
  9806. hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
  9807. sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  9808. sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  9809. hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
  9810. enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
  9811. enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
  9812. enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
  9813. old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
  9814. striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
  9815. LTCC='$LTCC'
  9816. LTCFLAGS='$LTCFLAGS'
  9817. compiler='$compiler_DEFAULT'
  9818. # Quote evaled strings.
  9819. for var in SED \
  9820. GREP \
  9821. EGREP \
  9822. FGREP \
  9823. LD \
  9824. NM \
  9825. LN_S \
  9826. lt_SP2NL \
  9827. lt_NL2SP \
  9828. reload_flag \
  9829. OBJDUMP \
  9830. deplibs_check_method \
  9831. file_magic_cmd \
  9832. AR \
  9833. AR_FLAGS \
  9834. STRIP \
  9835. RANLIB \
  9836. CC \
  9837. CFLAGS \
  9838. compiler \
  9839. lt_cv_sys_global_symbol_pipe \
  9840. lt_cv_sys_global_symbol_to_cdecl \
  9841. lt_cv_sys_global_symbol_to_c_name_address \
  9842. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  9843. SHELL \
  9844. ECHO \
  9845. lt_prog_compiler_no_builtin_flag \
  9846. lt_prog_compiler_wl \
  9847. lt_prog_compiler_pic \
  9848. lt_prog_compiler_static \
  9849. lt_cv_prog_compiler_c_o \
  9850. need_locks \
  9851. DSYMUTIL \
  9852. NMEDIT \
  9853. LIPO \
  9854. OTOOL \
  9855. OTOOL64 \
  9856. shrext_cmds \
  9857. export_dynamic_flag_spec \
  9858. whole_archive_flag_spec \
  9859. compiler_needs_object \
  9860. with_gnu_ld \
  9861. allow_undefined_flag \
  9862. no_undefined_flag \
  9863. hardcode_libdir_flag_spec \
  9864. hardcode_libdir_flag_spec_ld \
  9865. hardcode_libdir_separator \
  9866. fix_srcfile_path \
  9867. exclude_expsyms \
  9868. include_expsyms \
  9869. file_list_spec \
  9870. variables_saved_for_relink \
  9871. libname_spec \
  9872. library_names_spec \
  9873. soname_spec \
  9874. finish_eval \
  9875. old_striplib \
  9876. striplib; do
  9877. case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  9878. *[\\\\\\\`\\"\\\$]*)
  9879. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  9880. ;;
  9881. *)
  9882. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  9883. ;;
  9884. esac
  9885. done
  9886. # Double-quote double-evaled strings.
  9887. for var in reload_cmds \
  9888. old_postinstall_cmds \
  9889. old_postuninstall_cmds \
  9890. old_archive_cmds \
  9891. extract_expsyms_cmds \
  9892. old_archive_from_new_cmds \
  9893. old_archive_from_expsyms_cmds \
  9894. archive_cmds \
  9895. archive_expsym_cmds \
  9896. module_cmds \
  9897. module_expsym_cmds \
  9898. export_symbols_cmds \
  9899. prelink_cmds \
  9900. postinstall_cmds \
  9901. postuninstall_cmds \
  9902. finish_cmds \
  9903. sys_lib_search_path_spec \
  9904. sys_lib_dlsearch_path_spec; do
  9905. case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  9906. *[\\\\\\\`\\"\\\$]*)
  9907. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  9908. ;;
  9909. *)
  9910. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  9911. ;;
  9912. esac
  9913. done
  9914. # Fix-up fallback echo if it was mangled by the above quoting rules.
  9915. case \$lt_ECHO in
  9916. *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
  9917. ;;
  9918. esac
  9919. ac_aux_dir='$ac_aux_dir'
  9920. xsi_shell='$xsi_shell'
  9921. lt_shell_append='$lt_shell_append'
  9922. # See if we are running on zsh, and set the options which allow our
  9923. # commands through without removal of \ escapes INIT.
  9924. if test -n "\${ZSH_VERSION+set}" ; then
  9925. setopt NO_GLOB_SUBST
  9926. fi
  9927. PACKAGE='$PACKAGE'
  9928. VERSION='$VERSION'
  9929. TIMESTAMP='$TIMESTAMP'
  9930. RM='$RM'
  9931. ofile='$ofile'
  9932. _ACEOF
  9933. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  9934. # Handling of arguments.
  9935. for ac_config_target in $ac_config_targets
  9936. do
  9937. case $ac_config_target in
  9938. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  9939. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  9940. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  9941. "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
  9942. "include/enet/Makefile") CONFIG_FILES="$CONFIG_FILES include/enet/Makefile" ;;
  9943. *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  9944. esac
  9945. done
  9946. # If the user did not use the arguments to specify the items to instantiate,
  9947. # then the envvar interface is used. Set only those that are not.
  9948. # We use the long form for the default assignment because of an extremely
  9949. # bizarre bug on SunOS 4.1.3.
  9950. if $ac_need_defaults; then
  9951. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  9952. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  9953. fi
  9954. # Have a temporary directory for convenience. Make it in the build tree
  9955. # simply because there is no reason against having it here, and in addition,
  9956. # creating and moving files from /tmp can sometimes cause problems.
  9957. # Hook for its removal unless debugging.
  9958. # Note that there is a small window in which the directory will not be cleaned:
  9959. # after its creation but before its name has been assigned to `$tmp'.
  9960. $debug ||
  9961. {
  9962. tmp=
  9963. trap 'exit_status=$?
  9964. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  9965. ' 0
  9966. trap 'as_fn_exit 1' 1 2 13 15
  9967. }
  9968. # Create a (secure) tmp directory for tmp files.
  9969. {
  9970. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  9971. test -n "$tmp" && test -d "$tmp"
  9972. } ||
  9973. {
  9974. tmp=./conf$$-$RANDOM
  9975. (umask 077 && mkdir "$tmp")
  9976. } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  9977. # Set up the scripts for CONFIG_FILES section.
  9978. # No need to generate them if there are no CONFIG_FILES.
  9979. # This happens for instance with `./config.status config.h'.
  9980. if test -n "$CONFIG_FILES"; then
  9981. ac_cr=`echo X | tr X '\015'`
  9982. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  9983. # But we know of no other shell where ac_cr would be empty at this
  9984. # point, so we can use a bashism as a fallback.
  9985. if test "x$ac_cr" = x; then
  9986. eval ac_cr=\$\'\\r\'
  9987. fi
  9988. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  9989. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  9990. ac_cs_awk_cr='\r'
  9991. else
  9992. ac_cs_awk_cr=$ac_cr
  9993. fi
  9994. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  9995. _ACEOF
  9996. {
  9997. echo "cat >conf$$subs.awk <<_ACEOF" &&
  9998. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  9999. echo "_ACEOF"
  10000. } >conf$$subs.sh ||
  10001. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  10002. ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  10003. ac_delim='%!_!# '
  10004. for ac_last_try in false false false false false :; do
  10005. . ./conf$$subs.sh ||
  10006. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  10007. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  10008. if test $ac_delim_n = $ac_delim_num; then
  10009. break
  10010. elif $ac_last_try; then
  10011. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  10012. else
  10013. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  10014. fi
  10015. done
  10016. rm -f conf$$subs.sh
  10017. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  10018. cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  10019. _ACEOF
  10020. sed -n '
  10021. h
  10022. s/^/S["/; s/!.*/"]=/
  10023. p
  10024. g
  10025. s/^[^!]*!//
  10026. :repl
  10027. t repl
  10028. s/'"$ac_delim"'$//
  10029. t delim
  10030. :nl
  10031. h
  10032. s/\(.\{148\}\)..*/\1/
  10033. t more1
  10034. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  10035. p
  10036. n
  10037. b repl
  10038. :more1
  10039. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  10040. p
  10041. g
  10042. s/.\{148\}//
  10043. t nl
  10044. :delim
  10045. h
  10046. s/\(.\{148\}\)..*/\1/
  10047. t more2
  10048. s/["\\]/\\&/g; s/^/"/; s/$/"/
  10049. p
  10050. b
  10051. :more2
  10052. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  10053. p
  10054. g
  10055. s/.\{148\}//
  10056. t delim
  10057. ' <conf$$subs.awk | sed '
  10058. /^[^""]/{
  10059. N
  10060. s/\n//
  10061. }
  10062. ' >>$CONFIG_STATUS || ac_write_fail=1
  10063. rm -f conf$$subs.awk
  10064. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  10065. _ACAWK
  10066. cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  10067. for (key in S) S_is_set[key] = 1
  10068. FS = ""
  10069. }
  10070. {
  10071. line = $ 0
  10072. nfields = split(line, field, "@")
  10073. substed = 0
  10074. len = length(field[1])
  10075. for (i = 2; i < nfields; i++) {
  10076. key = field[i]
  10077. keylen = length(key)
  10078. if (S_is_set[key]) {
  10079. value = S[key]
  10080. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  10081. len += length(value) + length(field[++i])
  10082. substed = 1
  10083. } else
  10084. len += 1 + keylen
  10085. }
  10086. print line
  10087. }
  10088. _ACAWK
  10089. _ACEOF
  10090. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  10091. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  10092. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  10093. else
  10094. cat
  10095. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  10096. || as_fn_error "could not setup config files machinery" "$LINENO" 5
  10097. _ACEOF
  10098. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  10099. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  10100. # trailing colons and then remove the whole line if VPATH becomes empty
  10101. # (actually we leave an empty line to preserve line numbers).
  10102. if test "x$srcdir" = x.; then
  10103. ac_vpsub='/^[ ]*VPATH[ ]*=/{
  10104. s/:*\$(srcdir):*/:/
  10105. s/:*\${srcdir}:*/:/
  10106. s/:*@srcdir@:*/:/
  10107. s/^\([^=]*=[ ]*\):*/\1/
  10108. s/:*$//
  10109. s/^[^=]*=[ ]*$//
  10110. }'
  10111. fi
  10112. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  10113. fi # test -n "$CONFIG_FILES"
  10114. eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
  10115. shift
  10116. for ac_tag
  10117. do
  10118. case $ac_tag in
  10119. :[FHLC]) ac_mode=$ac_tag; continue;;
  10120. esac
  10121. case $ac_mode$ac_tag in
  10122. :[FHL]*:*);;
  10123. :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  10124. :[FH]-) ac_tag=-:-;;
  10125. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  10126. esac
  10127. ac_save_IFS=$IFS
  10128. IFS=:
  10129. set x $ac_tag
  10130. IFS=$ac_save_IFS
  10131. shift
  10132. ac_file=$1
  10133. shift
  10134. case $ac_mode in
  10135. :L) ac_source=$1;;
  10136. :[FH])
  10137. ac_file_inputs=
  10138. for ac_f
  10139. do
  10140. case $ac_f in
  10141. -) ac_f="$tmp/stdin";;
  10142. *) # Look for the file first in the build tree, then in the source tree
  10143. # (if the path is not absolute). The absolute path cannot be DOS-style,
  10144. # because $ac_f cannot contain `:'.
  10145. test -f "$ac_f" ||
  10146. case $ac_f in
  10147. [\\/$]*) false;;
  10148. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  10149. esac ||
  10150. as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  10151. esac
  10152. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  10153. as_fn_append ac_file_inputs " '$ac_f'"
  10154. done
  10155. # Let's still pretend it is `configure' which instantiates (i.e., don't
  10156. # use $as_me), people would be surprised to read:
  10157. # /* config.h. Generated by config.status. */
  10158. configure_input='Generated from '`
  10159. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  10160. `' by configure.'
  10161. if test x"$ac_file" != x-; then
  10162. configure_input="$ac_file. $configure_input"
  10163. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  10164. $as_echo "$as_me: creating $ac_file" >&6;}
  10165. fi
  10166. # Neutralize special characters interpreted by sed in replacement strings.
  10167. case $configure_input in #(
  10168. *\&* | *\|* | *\\* )
  10169. ac_sed_conf_input=`$as_echo "$configure_input" |
  10170. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  10171. *) ac_sed_conf_input=$configure_input;;
  10172. esac
  10173. case $ac_tag in
  10174. *:-:* | *:-) cat >"$tmp/stdin" \
  10175. || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  10176. esac
  10177. ;;
  10178. esac
  10179. ac_dir=`$as_dirname -- "$ac_file" ||
  10180. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  10181. X"$ac_file" : 'X\(//\)[^/]' \| \
  10182. X"$ac_file" : 'X\(//\)$' \| \
  10183. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  10184. $as_echo X"$ac_file" |
  10185. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  10186. s//\1/
  10187. q
  10188. }
  10189. /^X\(\/\/\)[^/].*/{
  10190. s//\1/
  10191. q
  10192. }
  10193. /^X\(\/\/\)$/{
  10194. s//\1/
  10195. q
  10196. }
  10197. /^X\(\/\).*/{
  10198. s//\1/
  10199. q
  10200. }
  10201. s/.*/./; q'`
  10202. as_dir="$ac_dir"; as_fn_mkdir_p
  10203. ac_builddir=.
  10204. case "$ac_dir" in
  10205. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  10206. *)
  10207. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  10208. # A ".." for each directory in $ac_dir_suffix.
  10209. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  10210. case $ac_top_builddir_sub in
  10211. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  10212. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  10213. esac ;;
  10214. esac
  10215. ac_abs_top_builddir=$ac_pwd
  10216. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  10217. # for backward compatibility:
  10218. ac_top_builddir=$ac_top_build_prefix
  10219. case $srcdir in
  10220. .) # We are building in place.
  10221. ac_srcdir=.
  10222. ac_top_srcdir=$ac_top_builddir_sub
  10223. ac_abs_top_srcdir=$ac_pwd ;;
  10224. [\\/]* | ?:[\\/]* ) # Absolute name.
  10225. ac_srcdir=$srcdir$ac_dir_suffix;
  10226. ac_top_srcdir=$srcdir
  10227. ac_abs_top_srcdir=$srcdir ;;
  10228. *) # Relative name.
  10229. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  10230. ac_top_srcdir=$ac_top_build_prefix$srcdir
  10231. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  10232. esac
  10233. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  10234. case $ac_mode in
  10235. :F)
  10236. #
  10237. # CONFIG_FILE
  10238. #
  10239. case $INSTALL in
  10240. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  10241. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  10242. esac
  10243. ac_MKDIR_P=$MKDIR_P
  10244. case $MKDIR_P in
  10245. [\\/$]* | ?:[\\/]* ) ;;
  10246. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  10247. esac
  10248. _ACEOF
  10249. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  10250. # If the template does not know about datarootdir, expand it.
  10251. # FIXME: This hack should be removed a few years after 2.60.
  10252. ac_datarootdir_hack=; ac_datarootdir_seen=
  10253. ac_sed_dataroot='
  10254. /datarootdir/ {
  10255. p
  10256. q
  10257. }
  10258. /@datadir@/p
  10259. /@docdir@/p
  10260. /@infodir@/p
  10261. /@localedir@/p
  10262. /@mandir@/p'
  10263. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  10264. *datarootdir*) ac_datarootdir_seen=yes;;
  10265. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  10266. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  10267. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  10268. _ACEOF
  10269. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  10270. ac_datarootdir_hack='
  10271. s&@datadir@&$datadir&g
  10272. s&@docdir@&$docdir&g
  10273. s&@infodir@&$infodir&g
  10274. s&@localedir@&$localedir&g
  10275. s&@mandir@&$mandir&g
  10276. s&\\\${datarootdir}&$datarootdir&g' ;;
  10277. esac
  10278. _ACEOF
  10279. # Neutralize VPATH when `$srcdir' = `.'.
  10280. # Shell code in configure.ac might set extrasub.
  10281. # FIXME: do we really want to maintain this feature?
  10282. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  10283. ac_sed_extra="$ac_vpsub
  10284. $extrasub
  10285. _ACEOF
  10286. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  10287. :t
  10288. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  10289. s|@configure_input@|$ac_sed_conf_input|;t t
  10290. s&@top_builddir@&$ac_top_builddir_sub&;t t
  10291. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  10292. s&@srcdir@&$ac_srcdir&;t t
  10293. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  10294. s&@top_srcdir@&$ac_top_srcdir&;t t
  10295. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  10296. s&@builddir@&$ac_builddir&;t t
  10297. s&@abs_builddir@&$ac_abs_builddir&;t t
  10298. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  10299. s&@INSTALL@&$ac_INSTALL&;t t
  10300. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  10301. $ac_datarootdir_hack
  10302. "
  10303. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  10304. || as_fn_error "could not create $ac_file" "$LINENO" 5
  10305. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  10306. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  10307. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  10308. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  10309. which seems to be undefined. Please make sure it is defined." >&5
  10310. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  10311. which seems to be undefined. Please make sure it is defined." >&2;}
  10312. rm -f "$tmp/stdin"
  10313. case $ac_file in
  10314. -) cat "$tmp/out" && rm -f "$tmp/out";;
  10315. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  10316. esac \
  10317. || as_fn_error "could not create $ac_file" "$LINENO" 5
  10318. ;;
  10319. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  10320. $as_echo "$as_me: executing $ac_file commands" >&6;}
  10321. ;;
  10322. esac
  10323. case $ac_file$ac_mode in
  10324. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  10325. # Autoconf 2.62 quotes --file arguments for eval, but not when files
  10326. # are listed without --file. Let's play safe and only enable the eval
  10327. # if we detect the quoting.
  10328. case $CONFIG_FILES in
  10329. *\'*) eval set x "$CONFIG_FILES" ;;
  10330. *) set x $CONFIG_FILES ;;
  10331. esac
  10332. shift
  10333. for mf
  10334. do
  10335. # Strip MF so we end up with the name of the file.
  10336. mf=`echo "$mf" | sed -e 's/:.*$//'`
  10337. # Check whether this is an Automake generated Makefile or not.
  10338. # We used to match only the files named `Makefile.in', but
  10339. # some people rename them; so instead we look at the file content.
  10340. # Grep'ing the first line is not enough: some people post-process
  10341. # each Makefile.in and add a new line on top of each file to say so.
  10342. # Grep'ing the whole file is not good either: AIX grep has a line
  10343. # limit of 2048, but all sed's we know have understand at least 4000.
  10344. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  10345. dirpart=`$as_dirname -- "$mf" ||
  10346. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  10347. X"$mf" : 'X\(//\)[^/]' \| \
  10348. X"$mf" : 'X\(//\)$' \| \
  10349. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  10350. $as_echo X"$mf" |
  10351. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  10352. s//\1/
  10353. q
  10354. }
  10355. /^X\(\/\/\)[^/].*/{
  10356. s//\1/
  10357. q
  10358. }
  10359. /^X\(\/\/\)$/{
  10360. s//\1/
  10361. q
  10362. }
  10363. /^X\(\/\).*/{
  10364. s//\1/
  10365. q
  10366. }
  10367. s/.*/./; q'`
  10368. else
  10369. continue
  10370. fi
  10371. # Extract the definition of DEPDIR, am__include, and am__quote
  10372. # from the Makefile without running `make'.
  10373. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  10374. test -z "$DEPDIR" && continue
  10375. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  10376. test -z "am__include" && continue
  10377. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  10378. # When using ansi2knr, U may be empty or an underscore; expand it
  10379. U=`sed -n 's/^U = //p' < "$mf"`
  10380. # Find all dependency output files, they are included files with
  10381. # $(DEPDIR) in their names. We invoke sed twice because it is the
  10382. # simplest approach to changing $(DEPDIR) to its actual value in the
  10383. # expansion.
  10384. for file in `sed -n "
  10385. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  10386. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  10387. # Make sure the directory exists.
  10388. test -f "$dirpart/$file" && continue
  10389. fdir=`$as_dirname -- "$file" ||
  10390. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  10391. X"$file" : 'X\(//\)[^/]' \| \
  10392. X"$file" : 'X\(//\)$' \| \
  10393. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  10394. $as_echo X"$file" |
  10395. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  10396. s//\1/
  10397. q
  10398. }
  10399. /^X\(\/\/\)[^/].*/{
  10400. s//\1/
  10401. q
  10402. }
  10403. /^X\(\/\/\)$/{
  10404. s//\1/
  10405. q
  10406. }
  10407. /^X\(\/\).*/{
  10408. s//\1/
  10409. q
  10410. }
  10411. s/.*/./; q'`
  10412. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  10413. # echo "creating $dirpart/$file"
  10414. echo '# dummy' > "$dirpart/$file"
  10415. done
  10416. done
  10417. }
  10418. ;;
  10419. "libtool":C)
  10420. # See if we are running on zsh, and set the options which allow our
  10421. # commands through without removal of \ escapes.
  10422. if test -n "${ZSH_VERSION+set}" ; then
  10423. setopt NO_GLOB_SUBST
  10424. fi
  10425. cfgfile="${ofile}T"
  10426. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  10427. $RM "$cfgfile"
  10428. cat <<_LT_EOF >> "$cfgfile"
  10429. #! $SHELL
  10430. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  10431. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  10432. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  10433. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  10434. #
  10435. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  10436. # 2006, 2007, 2008 Free Software Foundation, Inc.
  10437. # Written by Gordon Matzigkeit, 1996
  10438. #
  10439. # This file is part of GNU Libtool.
  10440. #
  10441. # GNU Libtool is free software; you can redistribute it and/or
  10442. # modify it under the terms of the GNU General Public License as
  10443. # published by the Free Software Foundation; either version 2 of
  10444. # the License, or (at your option) any later version.
  10445. #
  10446. # As a special exception to the GNU General Public License,
  10447. # if you distribute this file as part of a program or library that
  10448. # is built using GNU Libtool, you may include this file under the
  10449. # same distribution terms that you use for the rest of that program.
  10450. #
  10451. # GNU Libtool is distributed in the hope that it will be useful,
  10452. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10453. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10454. # GNU General Public License for more details.
  10455. #
  10456. # You should have received a copy of the GNU General Public License
  10457. # along with GNU Libtool; see the file COPYING. If not, a copy
  10458. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  10459. # obtained by writing to the Free Software Foundation, Inc.,
  10460. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  10461. # The names of the tagged configurations supported by this script.
  10462. available_tags=""
  10463. # ### BEGIN LIBTOOL CONFIG
  10464. # Which release of libtool.m4 was used?
  10465. macro_version=$macro_version
  10466. macro_revision=$macro_revision
  10467. # Whether or not to build shared libraries.
  10468. build_libtool_libs=$enable_shared
  10469. # Whether or not to build static libraries.
  10470. build_old_libs=$enable_static
  10471. # What type of objects to build.
  10472. pic_mode=$pic_mode
  10473. # Whether or not to optimize for fast installation.
  10474. fast_install=$enable_fast_install
  10475. # The host system.
  10476. host_alias=$host_alias
  10477. host=$host
  10478. host_os=$host_os
  10479. # The build system.
  10480. build_alias=$build_alias
  10481. build=$build
  10482. build_os=$build_os
  10483. # A sed program that does not truncate output.
  10484. SED=$lt_SED
  10485. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  10486. Xsed="\$SED -e 1s/^X//"
  10487. # A grep program that handles long lines.
  10488. GREP=$lt_GREP
  10489. # An ERE matcher.
  10490. EGREP=$lt_EGREP
  10491. # A literal string matcher.
  10492. FGREP=$lt_FGREP
  10493. # A BSD- or MS-compatible name lister.
  10494. NM=$lt_NM
  10495. # Whether we need soft or hard links.
  10496. LN_S=$lt_LN_S
  10497. # What is the maximum length of a command?
  10498. max_cmd_len=$max_cmd_len
  10499. # Object file suffix (normally "o").
  10500. objext=$ac_objext
  10501. # Executable file suffix (normally "").
  10502. exeext=$exeext
  10503. # whether the shell understands "unset".
  10504. lt_unset=$lt_unset
  10505. # turn spaces into newlines.
  10506. SP2NL=$lt_lt_SP2NL
  10507. # turn newlines into spaces.
  10508. NL2SP=$lt_lt_NL2SP
  10509. # How to create reloadable object files.
  10510. reload_flag=$lt_reload_flag
  10511. reload_cmds=$lt_reload_cmds
  10512. # An object symbol dumper.
  10513. OBJDUMP=$lt_OBJDUMP
  10514. # Method to check whether dependent libraries are shared objects.
  10515. deplibs_check_method=$lt_deplibs_check_method
  10516. # Command to use when deplibs_check_method == "file_magic".
  10517. file_magic_cmd=$lt_file_magic_cmd
  10518. # The archiver.
  10519. AR=$lt_AR
  10520. AR_FLAGS=$lt_AR_FLAGS
  10521. # A symbol stripping program.
  10522. STRIP=$lt_STRIP
  10523. # Commands used to install an old-style archive.
  10524. RANLIB=$lt_RANLIB
  10525. old_postinstall_cmds=$lt_old_postinstall_cmds
  10526. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  10527. # A C compiler.
  10528. LTCC=$lt_CC
  10529. # LTCC compiler flags.
  10530. LTCFLAGS=$lt_CFLAGS
  10531. # Take the output of nm and produce a listing of raw symbols and C names.
  10532. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  10533. # Transform the output of nm in a proper C declaration.
  10534. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  10535. # Transform the output of nm in a C name address pair.
  10536. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  10537. # Transform the output of nm in a C name address pair when lib prefix is needed.
  10538. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  10539. # The name of the directory that contains temporary libtool files.
  10540. objdir=$objdir
  10541. # Shell to use when invoking shell scripts.
  10542. SHELL=$lt_SHELL
  10543. # An echo program that does not interpret backslashes.
  10544. ECHO=$lt_ECHO
  10545. # Used to examine libraries when file_magic_cmd begins with "file".
  10546. MAGIC_CMD=$MAGIC_CMD
  10547. # Must we lock files when doing compilation?
  10548. need_locks=$lt_need_locks
  10549. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  10550. DSYMUTIL=$lt_DSYMUTIL
  10551. # Tool to change global to local symbols on Mac OS X.
  10552. NMEDIT=$lt_NMEDIT
  10553. # Tool to manipulate fat objects and archives on Mac OS X.
  10554. LIPO=$lt_LIPO
  10555. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  10556. OTOOL=$lt_OTOOL
  10557. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  10558. OTOOL64=$lt_OTOOL64
  10559. # Old archive suffix (normally "a").
  10560. libext=$libext
  10561. # Shared library suffix (normally ".so").
  10562. shrext_cmds=$lt_shrext_cmds
  10563. # The commands to extract the exported symbol list from a shared archive.
  10564. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  10565. # Variables whose values should be saved in libtool wrapper scripts and
  10566. # restored at link time.
  10567. variables_saved_for_relink=$lt_variables_saved_for_relink
  10568. # Do we need the "lib" prefix for modules?
  10569. need_lib_prefix=$need_lib_prefix
  10570. # Do we need a version for libraries?
  10571. need_version=$need_version
  10572. # Library versioning type.
  10573. version_type=$version_type
  10574. # Shared library runtime path variable.
  10575. runpath_var=$runpath_var
  10576. # Shared library path variable.
  10577. shlibpath_var=$shlibpath_var
  10578. # Is shlibpath searched before the hard-coded library search path?
  10579. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  10580. # Format of library name prefix.
  10581. libname_spec=$lt_libname_spec
  10582. # List of archive names. First name is the real one, the rest are links.
  10583. # The last name is the one that the linker finds with -lNAME
  10584. library_names_spec=$lt_library_names_spec
  10585. # The coded name of the library, if different from the real name.
  10586. soname_spec=$lt_soname_spec
  10587. # Command to use after installation of a shared archive.
  10588. postinstall_cmds=$lt_postinstall_cmds
  10589. # Command to use after uninstallation of a shared archive.
  10590. postuninstall_cmds=$lt_postuninstall_cmds
  10591. # Commands used to finish a libtool library installation in a directory.
  10592. finish_cmds=$lt_finish_cmds
  10593. # As "finish_cmds", except a single script fragment to be evaled but
  10594. # not shown.
  10595. finish_eval=$lt_finish_eval
  10596. # Whether we should hardcode library paths into libraries.
  10597. hardcode_into_libs=$hardcode_into_libs
  10598. # Compile-time system search path for libraries.
  10599. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  10600. # Run-time system search path for libraries.
  10601. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  10602. # Whether dlopen is supported.
  10603. dlopen_support=$enable_dlopen
  10604. # Whether dlopen of programs is supported.
  10605. dlopen_self=$enable_dlopen_self
  10606. # Whether dlopen of statically linked programs is supported.
  10607. dlopen_self_static=$enable_dlopen_self_static
  10608. # Commands to strip libraries.
  10609. old_striplib=$lt_old_striplib
  10610. striplib=$lt_striplib
  10611. # The linker used to build libraries.
  10612. LD=$lt_LD
  10613. # Commands used to build an old-style archive.
  10614. old_archive_cmds=$lt_old_archive_cmds
  10615. # A language specific compiler.
  10616. CC=$lt_compiler
  10617. # Is the compiler the GNU compiler?
  10618. with_gcc=$GCC
  10619. # Compiler flag to turn off builtin functions.
  10620. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  10621. # How to pass a linker flag through the compiler.
  10622. wl=$lt_lt_prog_compiler_wl
  10623. # Additional compiler flags for building library objects.
  10624. pic_flag=$lt_lt_prog_compiler_pic
  10625. # Compiler flag to prevent dynamic linking.
  10626. link_static_flag=$lt_lt_prog_compiler_static
  10627. # Does compiler simultaneously support -c and -o options?
  10628. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  10629. # Whether or not to add -lc for building shared libraries.
  10630. build_libtool_need_lc=$archive_cmds_need_lc
  10631. # Whether or not to disallow shared libs when runtime libs are static.
  10632. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  10633. # Compiler flag to allow reflexive dlopens.
  10634. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  10635. # Compiler flag to generate shared objects directly from archives.
  10636. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  10637. # Whether the compiler copes with passing no objects directly.
  10638. compiler_needs_object=$lt_compiler_needs_object
  10639. # Create an old-style archive from a shared archive.
  10640. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  10641. # Create a temporary old-style archive to link instead of a shared archive.
  10642. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  10643. # Commands used to build a shared archive.
  10644. archive_cmds=$lt_archive_cmds
  10645. archive_expsym_cmds=$lt_archive_expsym_cmds
  10646. # Commands used to build a loadable module if different from building
  10647. # a shared archive.
  10648. module_cmds=$lt_module_cmds
  10649. module_expsym_cmds=$lt_module_expsym_cmds
  10650. # Whether we are building with GNU ld or not.
  10651. with_gnu_ld=$lt_with_gnu_ld
  10652. # Flag that allows shared libraries with undefined symbols to be built.
  10653. allow_undefined_flag=$lt_allow_undefined_flag
  10654. # Flag that enforces no undefined symbols.
  10655. no_undefined_flag=$lt_no_undefined_flag
  10656. # Flag to hardcode \$libdir into a binary during linking.
  10657. # This must work even if \$libdir does not exist
  10658. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  10659. # If ld is used when linking, flag to hardcode \$libdir into a binary
  10660. # during linking. This must work even if \$libdir does not exist.
  10661. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  10662. # Whether we need a single "-rpath" flag with a separated argument.
  10663. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  10664. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  10665. # DIR into the resulting binary.
  10666. hardcode_direct=$hardcode_direct
  10667. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  10668. # DIR into the resulting binary and the resulting library dependency is
  10669. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  10670. # library is relocated.
  10671. hardcode_direct_absolute=$hardcode_direct_absolute
  10672. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  10673. # into the resulting binary.
  10674. hardcode_minus_L=$hardcode_minus_L
  10675. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  10676. # into the resulting binary.
  10677. hardcode_shlibpath_var=$hardcode_shlibpath_var
  10678. # Set to "yes" if building a shared library automatically hardcodes DIR
  10679. # into the library and all subsequent libraries and executables linked
  10680. # against it.
  10681. hardcode_automatic=$hardcode_automatic
  10682. # Set to yes if linker adds runtime paths of dependent libraries
  10683. # to runtime path list.
  10684. inherit_rpath=$inherit_rpath
  10685. # Whether libtool must link a program against all its dependency libraries.
  10686. link_all_deplibs=$link_all_deplibs
  10687. # Fix the shell variable \$srcfile for the compiler.
  10688. fix_srcfile_path=$lt_fix_srcfile_path
  10689. # Set to "yes" if exported symbols are required.
  10690. always_export_symbols=$always_export_symbols
  10691. # The commands to list exported symbols.
  10692. export_symbols_cmds=$lt_export_symbols_cmds
  10693. # Symbols that should not be listed in the preloaded symbols.
  10694. exclude_expsyms=$lt_exclude_expsyms
  10695. # Symbols that must always be exported.
  10696. include_expsyms=$lt_include_expsyms
  10697. # Commands necessary for linking programs (against libraries) with templates.
  10698. prelink_cmds=$lt_prelink_cmds
  10699. # Specify filename containing input files.
  10700. file_list_spec=$lt_file_list_spec
  10701. # How to hardcode a shared library path into an executable.
  10702. hardcode_action=$hardcode_action
  10703. # ### END LIBTOOL CONFIG
  10704. _LT_EOF
  10705. case $host_os in
  10706. aix3*)
  10707. cat <<\_LT_EOF >> "$cfgfile"
  10708. # AIX sometimes has problems with the GCC collect2 program. For some
  10709. # reason, if we set the COLLECT_NAMES environment variable, the problems
  10710. # vanish in a puff of smoke.
  10711. if test "X${COLLECT_NAMES+set}" != Xset; then
  10712. COLLECT_NAMES=
  10713. export COLLECT_NAMES
  10714. fi
  10715. _LT_EOF
  10716. ;;
  10717. esac
  10718. ltmain="$ac_aux_dir/ltmain.sh"
  10719. # We use sed instead of cat because bash on DJGPP gets confused if
  10720. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  10721. # text mode, it properly converts lines to CR/LF. This bash problem
  10722. # is reportedly fixed, but why not run on old versions too?
  10723. sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  10724. || (rm -f "$cfgfile"; exit 1)
  10725. case $xsi_shell in
  10726. yes)
  10727. cat << \_LT_EOF >> "$cfgfile"
  10728. # func_dirname file append nondir_replacement
  10729. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  10730. # otherwise set result to NONDIR_REPLACEMENT.
  10731. func_dirname ()
  10732. {
  10733. case ${1} in
  10734. */*) func_dirname_result="${1%/*}${2}" ;;
  10735. * ) func_dirname_result="${3}" ;;
  10736. esac
  10737. }
  10738. # func_basename file
  10739. func_basename ()
  10740. {
  10741. func_basename_result="${1##*/}"
  10742. }
  10743. # func_dirname_and_basename file append nondir_replacement
  10744. # perform func_basename and func_dirname in a single function
  10745. # call:
  10746. # dirname: Compute the dirname of FILE. If nonempty,
  10747. # add APPEND to the result, otherwise set result
  10748. # to NONDIR_REPLACEMENT.
  10749. # value returned in "$func_dirname_result"
  10750. # basename: Compute filename of FILE.
  10751. # value retuned in "$func_basename_result"
  10752. # Implementation must be kept synchronized with func_dirname
  10753. # and func_basename. For efficiency, we do not delegate to
  10754. # those functions but instead duplicate the functionality here.
  10755. func_dirname_and_basename ()
  10756. {
  10757. case ${1} in
  10758. */*) func_dirname_result="${1%/*}${2}" ;;
  10759. * ) func_dirname_result="${3}" ;;
  10760. esac
  10761. func_basename_result="${1##*/}"
  10762. }
  10763. # func_stripname prefix suffix name
  10764. # strip PREFIX and SUFFIX off of NAME.
  10765. # PREFIX and SUFFIX must not contain globbing or regex special
  10766. # characters, hashes, percent signs, but SUFFIX may contain a leading
  10767. # dot (in which case that matches only a dot).
  10768. func_stripname ()
  10769. {
  10770. # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  10771. # positional parameters, so assign one to ordinary parameter first.
  10772. func_stripname_result=${3}
  10773. func_stripname_result=${func_stripname_result#"${1}"}
  10774. func_stripname_result=${func_stripname_result%"${2}"}
  10775. }
  10776. # func_opt_split
  10777. func_opt_split ()
  10778. {
  10779. func_opt_split_opt=${1%%=*}
  10780. func_opt_split_arg=${1#*=}
  10781. }
  10782. # func_lo2o object
  10783. func_lo2o ()
  10784. {
  10785. case ${1} in
  10786. *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  10787. *) func_lo2o_result=${1} ;;
  10788. esac
  10789. }
  10790. # func_xform libobj-or-source
  10791. func_xform ()
  10792. {
  10793. func_xform_result=${1%.*}.lo
  10794. }
  10795. # func_arith arithmetic-term...
  10796. func_arith ()
  10797. {
  10798. func_arith_result=$(( $* ))
  10799. }
  10800. # func_len string
  10801. # STRING may not start with a hyphen.
  10802. func_len ()
  10803. {
  10804. func_len_result=${#1}
  10805. }
  10806. _LT_EOF
  10807. ;;
  10808. *) # Bourne compatible functions.
  10809. cat << \_LT_EOF >> "$cfgfile"
  10810. # func_dirname file append nondir_replacement
  10811. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  10812. # otherwise set result to NONDIR_REPLACEMENT.
  10813. func_dirname ()
  10814. {
  10815. # Extract subdirectory from the argument.
  10816. func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  10817. if test "X$func_dirname_result" = "X${1}"; then
  10818. func_dirname_result="${3}"
  10819. else
  10820. func_dirname_result="$func_dirname_result${2}"
  10821. fi
  10822. }
  10823. # func_basename file
  10824. func_basename ()
  10825. {
  10826. func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  10827. }
  10828. # func_stripname prefix suffix name
  10829. # strip PREFIX and SUFFIX off of NAME.
  10830. # PREFIX and SUFFIX must not contain globbing or regex special
  10831. # characters, hashes, percent signs, but SUFFIX may contain a leading
  10832. # dot (in which case that matches only a dot).
  10833. # func_strip_suffix prefix name
  10834. func_stripname ()
  10835. {
  10836. case ${2} in
  10837. .*) func_stripname_result=`$ECHO "X${3}" \
  10838. | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  10839. *) func_stripname_result=`$ECHO "X${3}" \
  10840. | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  10841. esac
  10842. }
  10843. # sed scripts:
  10844. my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  10845. my_sed_long_arg='1s/^-[^=]*=//'
  10846. # func_opt_split
  10847. func_opt_split ()
  10848. {
  10849. func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  10850. func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  10851. }
  10852. # func_lo2o object
  10853. func_lo2o ()
  10854. {
  10855. func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  10856. }
  10857. # func_xform libobj-or-source
  10858. func_xform ()
  10859. {
  10860. func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
  10861. }
  10862. # func_arith arithmetic-term...
  10863. func_arith ()
  10864. {
  10865. func_arith_result=`expr "$@"`
  10866. }
  10867. # func_len string
  10868. # STRING may not start with a hyphen.
  10869. func_len ()
  10870. {
  10871. func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  10872. }
  10873. _LT_EOF
  10874. esac
  10875. case $lt_shell_append in
  10876. yes)
  10877. cat << \_LT_EOF >> "$cfgfile"
  10878. # func_append var value
  10879. # Append VALUE to the end of shell variable VAR.
  10880. func_append ()
  10881. {
  10882. eval "$1+=\$2"
  10883. }
  10884. _LT_EOF
  10885. ;;
  10886. *)
  10887. cat << \_LT_EOF >> "$cfgfile"
  10888. # func_append var value
  10889. # Append VALUE to the end of shell variable VAR.
  10890. func_append ()
  10891. {
  10892. eval "$1=\$$1\$2"
  10893. }
  10894. _LT_EOF
  10895. ;;
  10896. esac
  10897. sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  10898. || (rm -f "$cfgfile"; exit 1)
  10899. mv -f "$cfgfile" "$ofile" ||
  10900. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  10901. chmod +x "$ofile"
  10902. ;;
  10903. esac
  10904. done # for ac_tag
  10905. as_fn_exit 0
  10906. _ACEOF
  10907. ac_clean_files=$ac_clean_files_save
  10908. test $ac_write_fail = 0 ||
  10909. as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  10910. # configure is writing to config.log, and then calls config.status.
  10911. # config.status does its own redirection, appending to config.log.
  10912. # Unfortunately, on DOS this fails, as config.log is still kept open
  10913. # by configure, so config.status won't be able to write to it; its
  10914. # output is simply discarded. So we exec the FD to /dev/null,
  10915. # effectively closing config.log, so it can be properly (re)opened and
  10916. # appended to by config.status. When coming back to configure, we
  10917. # need to make the FD available again.
  10918. if test "$no_create" != yes; then
  10919. ac_cs_success=:
  10920. ac_config_status_args=
  10921. test "$silent" = yes &&
  10922. ac_config_status_args="$ac_config_status_args --quiet"
  10923. exec 5>/dev/null
  10924. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  10925. exec 5>>config.log
  10926. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  10927. # would make configure fail if this is the last instruction.
  10928. $ac_cs_success || as_fn_exit $?
  10929. fi
  10930. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  10931. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  10932. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  10933. fi