autotools.patch 1.3 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975
  1. diff -Nur ulogd-2.0.2.orig/aclocal.m4 ulogd-2.0.2/aclocal.m4
  2. --- ulogd-2.0.2.orig/aclocal.m4 2013-03-03 22:19:15.825642278 +0100
  3. +++ ulogd-2.0.2/aclocal.m4 2013-08-21 19:34:24.812639159 +0200
  4. @@ -1,4 +1,4 @@
  5. -# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
  6. +# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
  7. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  8. # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
  9. @@ -14,8 +14,8 @@
  10. m4_ifndef([AC_AUTOCONF_VERSION],
  11. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  12. -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
  13. -[m4_warning([this file was generated for autoconf 2.69.
  14. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
  15. +[m4_warning([this file was generated for autoconf 2.68.
  16. You have another version of autoconf. It may work, but is not guaranteed to.
  17. If you have problems, you may need to regenerate the build system entirely.
  18. To do so, use the procedure documented by the package, typically `autoreconf'.])])
  19. @@ -198,7 +198,7 @@
  20. [am__api_version='1.11'
  21. dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  22. dnl require some minimum version. Point them to the right macro.
  23. -m4_if([$1], [1.11.6], [],
  24. +m4_if([$1], [1.11.3], [],
  25. [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  26. ])
  27. @@ -214,7 +214,7 @@
  28. # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  29. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  30. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  31. -[AM_AUTOMAKE_VERSION([1.11.6])dnl
  32. +[AM_AUTOMAKE_VERSION([1.11.3])dnl
  33. m4_ifndef([AC_AUTOCONF_VERSION],
  34. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  35. _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  36. diff -Nur ulogd-2.0.2.orig/autom4te.cache/output.0 ulogd-2.0.2/autom4te.cache/output.0
  37. --- ulogd-2.0.2.orig/autom4te.cache/output.0 1970-01-01 01:00:00.000000000 +0100
  38. +++ ulogd-2.0.2/autom4te.cache/output.0 2013-08-21 19:34:24.300645595 +0200
  39. @@ -0,0 +1,16870 @@
  40. +@%:@! /bin/sh
  41. +@%:@ Guess values for system-dependent variables and create Makefiles.
  42. +@%:@ Generated by GNU Autoconf 2.68 for ulogd 2.0.2.
  43. +@%:@
  44. +@%:@
  45. +@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  46. +@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
  47. +@%:@ Foundation, Inc.
  48. +@%:@
  49. +@%:@
  50. +@%:@ This configure script is free software; the Free Software Foundation
  51. +@%:@ gives unlimited permission to copy, distribute and modify it.
  52. +## -------------------- ##
  53. +## M4sh Initialization. ##
  54. +## -------------------- ##
  55. +
  56. +# Be more Bourne compatible
  57. +DUALCASE=1; export DUALCASE # for MKS sh
  58. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  59. + emulate sh
  60. + NULLCMD=:
  61. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  62. + # is contrary to our usage. Disable this feature.
  63. + alias -g '${1+"$@"}'='"$@"'
  64. + setopt NO_GLOB_SUBST
  65. +else
  66. + case `(set -o) 2>/dev/null` in @%:@(
  67. + *posix*) :
  68. + set -o posix ;; @%:@(
  69. + *) :
  70. + ;;
  71. +esac
  72. +fi
  73. +
  74. +
  75. +as_nl='
  76. +'
  77. +export as_nl
  78. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  79. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  80. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  81. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  82. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  83. +# but without wasting forks for bash or zsh.
  84. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  85. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  86. + as_echo='print -r --'
  87. + as_echo_n='print -rn --'
  88. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  89. + as_echo='printf %s\n'
  90. + as_echo_n='printf %s'
  91. +else
  92. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  93. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  94. + as_echo_n='/usr/ucb/echo -n'
  95. + else
  96. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  97. + as_echo_n_body='eval
  98. + arg=$1;
  99. + case $arg in @%:@(
  100. + *"$as_nl"*)
  101. + expr "X$arg" : "X\\(.*\\)$as_nl";
  102. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  103. + esac;
  104. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  105. + '
  106. + export as_echo_n_body
  107. + as_echo_n='sh -c $as_echo_n_body as_echo'
  108. + fi
  109. + export as_echo_body
  110. + as_echo='sh -c $as_echo_body as_echo'
  111. +fi
  112. +
  113. +# The user is always right.
  114. +if test "${PATH_SEPARATOR+set}" != set; then
  115. + PATH_SEPARATOR=:
  116. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  117. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  118. + PATH_SEPARATOR=';'
  119. + }
  120. +fi
  121. +
  122. +
  123. +# IFS
  124. +# We need space, tab and new line, in precisely that order. Quoting is
  125. +# there to prevent editors from complaining about space-tab.
  126. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  127. +# splitting by setting IFS to empty value.)
  128. +IFS=" "" $as_nl"
  129. +
  130. +# Find who we are. Look in the path if we contain no directory separator.
  131. +as_myself=
  132. +case $0 in @%:@((
  133. + *[\\/]* ) as_myself=$0 ;;
  134. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  135. +for as_dir in $PATH
  136. +do
  137. + IFS=$as_save_IFS
  138. + test -z "$as_dir" && as_dir=.
  139. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  140. + done
  141. +IFS=$as_save_IFS
  142. +
  143. + ;;
  144. +esac
  145. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  146. +# in which case we are not to be found in the path.
  147. +if test "x$as_myself" = x; then
  148. + as_myself=$0
  149. +fi
  150. +if test ! -f "$as_myself"; then
  151. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  152. + exit 1
  153. +fi
  154. +
  155. +# Unset variables that we do not need and which cause bugs (e.g. in
  156. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  157. +# suppresses any "Segmentation fault" message there. '((' could
  158. +# trigger a bug in pdksh 5.2.14.
  159. +for as_var in BASH_ENV ENV MAIL MAILPATH
  160. +do eval test x\${$as_var+set} = xset \
  161. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  162. +done
  163. +PS1='$ '
  164. +PS2='> '
  165. +PS4='+ '
  166. +
  167. +# NLS nuisances.
  168. +LC_ALL=C
  169. +export LC_ALL
  170. +LANGUAGE=C
  171. +export LANGUAGE
  172. +
  173. +# CDPATH.
  174. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  175. +
  176. +if test "x$CONFIG_SHELL" = x; then
  177. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  178. + emulate sh
  179. + NULLCMD=:
  180. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  181. + # is contrary to our usage. Disable this feature.
  182. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  183. + setopt NO_GLOB_SUBST
  184. +else
  185. + case \`(set -o) 2>/dev/null\` in @%:@(
  186. + *posix*) :
  187. + set -o posix ;; @%:@(
  188. + *) :
  189. + ;;
  190. +esac
  191. +fi
  192. +"
  193. + as_required="as_fn_return () { (exit \$1); }
  194. +as_fn_success () { as_fn_return 0; }
  195. +as_fn_failure () { as_fn_return 1; }
  196. +as_fn_ret_success () { return 0; }
  197. +as_fn_ret_failure () { return 1; }
  198. +
  199. +exitcode=0
  200. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  201. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  202. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  203. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  204. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  205. +
  206. +else
  207. + exitcode=1; echo positional parameters were not saved.
  208. +fi
  209. +test x\$exitcode = x0 || exit 1"
  210. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  211. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  212. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  213. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  214. +
  215. + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  216. + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  217. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  218. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  219. + PATH=/empty FPATH=/empty; export PATH FPATH
  220. + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  221. + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
  222. +test \$(( 1 + 1 )) = 2 || exit 1"
  223. + if (eval "$as_required") 2>/dev/null; then :
  224. + as_have_required=yes
  225. +else
  226. + as_have_required=no
  227. +fi
  228. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  229. +
  230. +else
  231. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  232. +as_found=false
  233. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  234. +do
  235. + IFS=$as_save_IFS
  236. + test -z "$as_dir" && as_dir=.
  237. + as_found=:
  238. + case $as_dir in @%:@(
  239. + /*)
  240. + for as_base in sh bash ksh sh5; do
  241. + # Try only shells that exist, to save several forks.
  242. + as_shell=$as_dir/$as_base
  243. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  244. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  245. + CONFIG_SHELL=$as_shell as_have_required=yes
  246. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  247. + break 2
  248. +fi
  249. +fi
  250. + done;;
  251. + esac
  252. + as_found=false
  253. +done
  254. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  255. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  256. + CONFIG_SHELL=$SHELL as_have_required=yes
  257. +fi; }
  258. +IFS=$as_save_IFS
  259. +
  260. +
  261. + if test "x$CONFIG_SHELL" != x; then :
  262. + # We cannot yet assume a decent shell, so we have to provide a
  263. + # neutralization value for shells without unset; and this also
  264. + # works around shells that cannot unset nonexistent variables.
  265. + # Preserve -v and -x to the replacement shell.
  266. + BASH_ENV=/dev/null
  267. + ENV=/dev/null
  268. + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  269. + export CONFIG_SHELL
  270. + case $- in @%:@ ((((
  271. + *v*x* | *x*v* ) as_opts=-vx ;;
  272. + *v* ) as_opts=-v ;;
  273. + *x* ) as_opts=-x ;;
  274. + * ) as_opts= ;;
  275. + esac
  276. + exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
  277. +fi
  278. +
  279. + if test x$as_have_required = xno; then :
  280. + $as_echo "$0: This script requires a shell more modern than all"
  281. + $as_echo "$0: the shells that I found on your system."
  282. + if test x${ZSH_VERSION+set} = xset ; then
  283. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  284. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  285. + else
  286. + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  287. +$0: including any error possibly output before this
  288. +$0: message. Then install a modern shell, or manually run
  289. +$0: the script under such a shell if you do have one."
  290. + fi
  291. + exit 1
  292. +fi
  293. +fi
  294. +fi
  295. +SHELL=${CONFIG_SHELL-/bin/sh}
  296. +export SHELL
  297. +# Unset more variables known to interfere with behavior of common tools.
  298. +CLICOLOR_FORCE= GREP_OPTIONS=
  299. +unset CLICOLOR_FORCE GREP_OPTIONS
  300. +
  301. +## --------------------- ##
  302. +## M4sh Shell Functions. ##
  303. +## --------------------- ##
  304. +@%:@ as_fn_unset VAR
  305. +@%:@ ---------------
  306. +@%:@ Portably unset VAR.
  307. +as_fn_unset ()
  308. +{
  309. + { eval $1=; unset $1;}
  310. +}
  311. +as_unset=as_fn_unset
  312. +
  313. +@%:@ as_fn_set_status STATUS
  314. +@%:@ -----------------------
  315. +@%:@ Set @S|@? to STATUS, without forking.
  316. +as_fn_set_status ()
  317. +{
  318. + return $1
  319. +} @%:@ as_fn_set_status
  320. +
  321. +@%:@ as_fn_exit STATUS
  322. +@%:@ -----------------
  323. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  324. +as_fn_exit ()
  325. +{
  326. + set +e
  327. + as_fn_set_status $1
  328. + exit $1
  329. +} @%:@ as_fn_exit
  330. +
  331. +@%:@ as_fn_mkdir_p
  332. +@%:@ -------------
  333. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  334. +as_fn_mkdir_p ()
  335. +{
  336. +
  337. + case $as_dir in #(
  338. + -*) as_dir=./$as_dir;;
  339. + esac
  340. + test -d "$as_dir" || eval $as_mkdir_p || {
  341. + as_dirs=
  342. + while :; do
  343. + case $as_dir in #(
  344. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  345. + *) as_qdir=$as_dir;;
  346. + esac
  347. + as_dirs="'$as_qdir' $as_dirs"
  348. + as_dir=`$as_dirname -- "$as_dir" ||
  349. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  350. + X"$as_dir" : 'X\(//\)[^/]' \| \
  351. + X"$as_dir" : 'X\(//\)$' \| \
  352. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  353. +$as_echo X"$as_dir" |
  354. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  355. + s//\1/
  356. + q
  357. + }
  358. + /^X\(\/\/\)[^/].*/{
  359. + s//\1/
  360. + q
  361. + }
  362. + /^X\(\/\/\)$/{
  363. + s//\1/
  364. + q
  365. + }
  366. + /^X\(\/\).*/{
  367. + s//\1/
  368. + q
  369. + }
  370. + s/.*/./; q'`
  371. + test -d "$as_dir" && break
  372. + done
  373. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  374. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  375. +
  376. +
  377. +} @%:@ as_fn_mkdir_p
  378. +@%:@ as_fn_append VAR VALUE
  379. +@%:@ ----------------------
  380. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  381. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  382. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  383. +@%:@ implementations.
  384. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  385. + eval 'as_fn_append ()
  386. + {
  387. + eval $1+=\$2
  388. + }'
  389. +else
  390. + as_fn_append ()
  391. + {
  392. + eval $1=\$$1\$2
  393. + }
  394. +fi # as_fn_append
  395. +
  396. +@%:@ as_fn_arith ARG...
  397. +@%:@ ------------------
  398. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  399. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  400. +@%:@ must be portable across @S|@(()) and expr.
  401. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  402. + eval 'as_fn_arith ()
  403. + {
  404. + as_val=$(( $* ))
  405. + }'
  406. +else
  407. + as_fn_arith ()
  408. + {
  409. + as_val=`expr "$@" || test $? -eq 1`
  410. + }
  411. +fi # as_fn_arith
  412. +
  413. +
  414. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  415. +@%:@ ----------------------------------------
  416. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  417. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  418. +@%:@ script with STATUS, using 1 if that was 0.
  419. +as_fn_error ()
  420. +{
  421. + as_status=$1; test $as_status -eq 0 && as_status=1
  422. + if test "$4"; then
  423. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  424. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  425. + fi
  426. + $as_echo "$as_me: error: $2" >&2
  427. + as_fn_exit $as_status
  428. +} @%:@ as_fn_error
  429. +
  430. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  431. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  432. + as_expr=expr
  433. +else
  434. + as_expr=false
  435. +fi
  436. +
  437. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  438. + as_basename=basename
  439. +else
  440. + as_basename=false
  441. +fi
  442. +
  443. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  444. + as_dirname=dirname
  445. +else
  446. + as_dirname=false
  447. +fi
  448. +
  449. +as_me=`$as_basename -- "$0" ||
  450. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  451. + X"$0" : 'X\(//\)$' \| \
  452. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  453. +$as_echo X/"$0" |
  454. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  455. + s//\1/
  456. + q
  457. + }
  458. + /^X\/\(\/\/\)$/{
  459. + s//\1/
  460. + q
  461. + }
  462. + /^X\/\(\/\).*/{
  463. + s//\1/
  464. + q
  465. + }
  466. + s/.*/./; q'`
  467. +
  468. +# Avoid depending upon Character Ranges.
  469. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  470. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  471. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  472. +as_cr_digits='0123456789'
  473. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  474. +
  475. +
  476. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  477. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  478. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  479. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  480. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  481. + sed -n '
  482. + p
  483. + /[$]LINENO/=
  484. + ' <$as_myself |
  485. + sed '
  486. + s/[$]LINENO.*/&-/
  487. + t lineno
  488. + b
  489. + :lineno
  490. + N
  491. + :loop
  492. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  493. + t loop
  494. + s/-\n.*//
  495. + ' >$as_me.lineno &&
  496. + chmod +x "$as_me.lineno" ||
  497. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  498. +
  499. + # Don't try to exec as it changes $[0], causing all sort of problems
  500. + # (the dirname of $[0] is not the place where we might find the
  501. + # original and so on. Autoconf is especially sensitive to this).
  502. + . "./$as_me.lineno"
  503. + # Exit status is that of the last command.
  504. + exit
  505. +}
  506. +
  507. +ECHO_C= ECHO_N= ECHO_T=
  508. +case `echo -n x` in @%:@(((((
  509. +-n*)
  510. + case `echo 'xy\c'` in
  511. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  512. + xy) ECHO_C='\c';;
  513. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  514. + ECHO_T=' ';;
  515. + esac;;
  516. +*)
  517. + ECHO_N='-n';;
  518. +esac
  519. +
  520. +rm -f conf$$ conf$$.exe conf$$.file
  521. +if test -d conf$$.dir; then
  522. + rm -f conf$$.dir/conf$$.file
  523. +else
  524. + rm -f conf$$.dir
  525. + mkdir conf$$.dir 2>/dev/null
  526. +fi
  527. +if (echo >conf$$.file) 2>/dev/null; then
  528. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  529. + as_ln_s='ln -s'
  530. + # ... but there are two gotchas:
  531. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  532. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  533. + # In both cases, we have to default to `cp -p'.
  534. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  535. + as_ln_s='cp -p'
  536. + elif ln conf$$.file conf$$ 2>/dev/null; then
  537. + as_ln_s=ln
  538. + else
  539. + as_ln_s='cp -p'
  540. + fi
  541. +else
  542. + as_ln_s='cp -p'
  543. +fi
  544. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  545. +rmdir conf$$.dir 2>/dev/null
  546. +
  547. +if mkdir -p . 2>/dev/null; then
  548. + as_mkdir_p='mkdir -p "$as_dir"'
  549. +else
  550. + test -d ./-p && rmdir ./-p
  551. + as_mkdir_p=false
  552. +fi
  553. +
  554. +if test -x / >/dev/null 2>&1; then
  555. + as_test_x='test -x'
  556. +else
  557. + if ls -dL / >/dev/null 2>&1; then
  558. + as_ls_L_option=L
  559. + else
  560. + as_ls_L_option=
  561. + fi
  562. + as_test_x='
  563. + eval sh -c '\''
  564. + if test -d "$1"; then
  565. + test -d "$1/.";
  566. + else
  567. + case $1 in @%:@(
  568. + -*)set "./$1";;
  569. + esac;
  570. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
  571. + ???[sx]*):;;*)false;;esac;fi
  572. + '\'' sh
  573. + '
  574. +fi
  575. +as_executable_p=$as_test_x
  576. +
  577. +# Sed expression to map a string onto a valid CPP name.
  578. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  579. +
  580. +# Sed expression to map a string onto a valid variable name.
  581. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  582. +
  583. +SHELL=${CONFIG_SHELL-/bin/sh}
  584. +
  585. +
  586. +test -n "$DJDIR" || exec 7<&0 </dev/null
  587. +exec 6>&1
  588. +
  589. +# Name of the host.
  590. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  591. +# so uname gets run too.
  592. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  593. +
  594. +#
  595. +# Initializations.
  596. +#
  597. +ac_default_prefix=/usr/local
  598. +ac_clean_files=
  599. +ac_config_libobj_dir=.
  600. +LIB@&t@OBJS=
  601. +cross_compiling=no
  602. +subdirs=
  603. +MFLAGS=
  604. +MAKEFLAGS=
  605. +
  606. +# Identity of this package.
  607. +PACKAGE_NAME='ulogd'
  608. +PACKAGE_TARNAME='ulogd'
  609. +PACKAGE_VERSION='2.0.2'
  610. +PACKAGE_STRING='ulogd 2.0.2'
  611. +PACKAGE_BUGREPORT=''
  612. +PACKAGE_URL=''
  613. +
  614. +# Factoring default headers for most tests.
  615. +ac_includes_default="\
  616. +#include <stdio.h>
  617. +#ifdef HAVE_SYS_TYPES_H
  618. +# include <sys/types.h>
  619. +#endif
  620. +#ifdef HAVE_SYS_STAT_H
  621. +# include <sys/stat.h>
  622. +#endif
  623. +#ifdef STDC_HEADERS
  624. +# include <stdlib.h>
  625. +# include <stddef.h>
  626. +#else
  627. +# ifdef HAVE_STDLIB_H
  628. +# include <stdlib.h>
  629. +# endif
  630. +#endif
  631. +#ifdef HAVE_STRING_H
  632. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  633. +# include <memory.h>
  634. +# endif
  635. +# include <string.h>
  636. +#endif
  637. +#ifdef HAVE_STRINGS_H
  638. +# include <strings.h>
  639. +#endif
  640. +#ifdef HAVE_INTTYPES_H
  641. +# include <inttypes.h>
  642. +#endif
  643. +#ifdef HAVE_STDINT_H
  644. +# include <stdint.h>
  645. +#endif
  646. +#ifdef HAVE_UNISTD_H
  647. +# include <unistd.h>
  648. +#endif"
  649. +
  650. +ac_subst_vars='am__EXEEXT_FALSE
  651. +am__EXEEXT_TRUE
  652. +LTLIBOBJS
  653. +LIB@&t@OBJS
  654. +HAVE_DBI_FALSE
  655. +HAVE_DBI_TRUE
  656. +DBI_LIB
  657. +DBI_INC
  658. +HAVE_SQLITE3_FALSE
  659. +HAVE_SQLITE3_TRUE
  660. +libsqlite3_LIBS
  661. +libsqlite3_CFLAGS
  662. +HAVE_MYSQL_FALSE
  663. +HAVE_MYSQL_TRUE
  664. +MYSQL_LIB
  665. +MYSQL_INC
  666. +HAVE_PGSQL_FALSE
  667. +HAVE_PGSQL_TRUE
  668. +PQLIBS
  669. +PQLIBPATH
  670. +PQINCPATH
  671. +BUILD_NFACCT_FALSE
  672. +BUILD_NFACCT_TRUE
  673. +LIBNETFILTER_ACCT_LIBS
  674. +LIBNETFILTER_ACCT_CFLAGS
  675. +BUILD_NFCT_FALSE
  676. +BUILD_NFCT_TRUE
  677. +LIBNETFILTER_CONNTRACK_LIBS
  678. +LIBNETFILTER_CONNTRACK_CFLAGS
  679. +BUILD_NFLOG_FALSE
  680. +BUILD_NFLOG_TRUE
  681. +LIBNETFILTER_LOG_LIBS
  682. +LIBNETFILTER_LOG_CFLAGS
  683. +LIBMNL_LIBS
  684. +LIBMNL_CFLAGS
  685. +LIBNFNETLINK_LIBS
  686. +LIBNFNETLINK_CFLAGS
  687. +PKG_CONFIG_LIBDIR
  688. +PKG_CONFIG_PATH
  689. +PKG_CONFIG
  690. +regular_CFLAGS
  691. +HAVE_PCAP_FALSE
  692. +HAVE_PCAP_TRUE
  693. +libpcap_LIBS
  694. +libdl_LIBS
  695. +CPP
  696. +OTOOL64
  697. +OTOOL
  698. +LIPO
  699. +NMEDIT
  700. +DSYMUTIL
  701. +MANIFEST_TOOL
  702. +RANLIB
  703. +DLLTOOL
  704. +OBJDUMP
  705. +LN_S
  706. +NM
  707. +ac_ct_DUMPBIN
  708. +DUMPBIN
  709. +LD
  710. +FGREP
  711. +EGREP
  712. +GREP
  713. +SED
  714. +host_os
  715. +host_vendor
  716. +host_cpu
  717. +host
  718. +build_os
  719. +build_vendor
  720. +build_cpu
  721. +build
  722. +LIBTOOL
  723. +AM_BACKSLASH
  724. +AM_DEFAULT_VERBOSITY
  725. +AM_DEFAULT_V
  726. +AM_V
  727. +am__fastdepCC_FALSE
  728. +am__fastdepCC_TRUE
  729. +CCDEPMODE
  730. +am__nodep
  731. +AMDEPBACKSLASH
  732. +AMDEP_FALSE
  733. +AMDEP_TRUE
  734. +am__quote
  735. +am__include
  736. +DEPDIR
  737. +OBJEXT
  738. +EXEEXT
  739. +ac_ct_CC
  740. +CPPFLAGS
  741. +LDFLAGS
  742. +CFLAGS
  743. +CC
  744. +ac_ct_AR
  745. +AR
  746. +am__untar
  747. +am__tar
  748. +AMTAR
  749. +am__leading_dot
  750. +SET_MAKE
  751. +AWK
  752. +mkdir_p
  753. +MKDIR_P
  754. +INSTALL_STRIP_PROGRAM
  755. +STRIP
  756. +install_sh
  757. +MAKEINFO
  758. +AUTOHEADER
  759. +AUTOMAKE
  760. +AUTOCONF
  761. +ACLOCAL
  762. +VERSION
  763. +PACKAGE
  764. +CYGPATH_W
  765. +am__isrc
  766. +INSTALL_DATA
  767. +INSTALL_SCRIPT
  768. +INSTALL_PROGRAM
  769. +target_alias
  770. +host_alias
  771. +build_alias
  772. +LIBS
  773. +ECHO_T
  774. +ECHO_N
  775. +ECHO_C
  776. +DEFS
  777. +mandir
  778. +localedir
  779. +libdir
  780. +psdir
  781. +pdfdir
  782. +dvidir
  783. +htmldir
  784. +infodir
  785. +docdir
  786. +oldincludedir
  787. +includedir
  788. +localstatedir
  789. +sharedstatedir
  790. +sysconfdir
  791. +datadir
  792. +datarootdir
  793. +libexecdir
  794. +sbindir
  795. +bindir
  796. +program_transform_name
  797. +prefix
  798. +exec_prefix
  799. +PACKAGE_URL
  800. +PACKAGE_BUGREPORT
  801. +PACKAGE_STRING
  802. +PACKAGE_VERSION
  803. +PACKAGE_TARNAME
  804. +PACKAGE_NAME
  805. +PATH_SEPARATOR
  806. +SHELL'
  807. +ac_subst_files=''
  808. +ac_user_opts='
  809. +enable_option_checking
  810. +enable_dependency_tracking
  811. +enable_silent_rules
  812. +enable_static
  813. +enable_shared
  814. +with_pic
  815. +enable_fast_install
  816. +with_gnu_ld
  817. +with_sysroot
  818. +enable_libtool_lock
  819. +enable_largefile
  820. +enable_nflog
  821. +enable_nfct
  822. +enable_nfacct
  823. +with_pgsql
  824. +with_pgsql_inc
  825. +with_pgsql_lib
  826. +with_mysql
  827. +with_mysql_inc
  828. +with_mysql_lib
  829. +with_dbi
  830. +with_dbi_inc
  831. +with_dbi_lib
  832. +'
  833. + ac_precious_vars='build_alias
  834. +host_alias
  835. +target_alias
  836. +CC
  837. +CFLAGS
  838. +LDFLAGS
  839. +LIBS
  840. +CPPFLAGS
  841. +CPP
  842. +PKG_CONFIG
  843. +PKG_CONFIG_PATH
  844. +PKG_CONFIG_LIBDIR
  845. +LIBNFNETLINK_CFLAGS
  846. +LIBNFNETLINK_LIBS
  847. +LIBMNL_CFLAGS
  848. +LIBMNL_LIBS
  849. +LIBNETFILTER_LOG_CFLAGS
  850. +LIBNETFILTER_LOG_LIBS
  851. +LIBNETFILTER_CONNTRACK_CFLAGS
  852. +LIBNETFILTER_CONNTRACK_LIBS
  853. +LIBNETFILTER_ACCT_CFLAGS
  854. +LIBNETFILTER_ACCT_LIBS
  855. +libsqlite3_CFLAGS
  856. +libsqlite3_LIBS'
  857. +
  858. +
  859. +# Initialize some variables set by options.
  860. +ac_init_help=
  861. +ac_init_version=false
  862. +ac_unrecognized_opts=
  863. +ac_unrecognized_sep=
  864. +# The variables have the same names as the options, with
  865. +# dashes changed to underlines.
  866. +cache_file=/dev/null
  867. +exec_prefix=NONE
  868. +no_create=
  869. +no_recursion=
  870. +prefix=NONE
  871. +program_prefix=NONE
  872. +program_suffix=NONE
  873. +program_transform_name=s,x,x,
  874. +silent=
  875. +site=
  876. +srcdir=
  877. +verbose=
  878. +x_includes=NONE
  879. +x_libraries=NONE
  880. +
  881. +# Installation directory options.
  882. +# These are left unexpanded so users can "make install exec_prefix=/foo"
  883. +# and all the variables that are supposed to be based on exec_prefix
  884. +# by default will actually change.
  885. +# Use braces instead of parens because sh, perl, etc. also accept them.
  886. +# (The list follows the same order as the GNU Coding Standards.)
  887. +bindir='${exec_prefix}/bin'
  888. +sbindir='${exec_prefix}/sbin'
  889. +libexecdir='${exec_prefix}/libexec'
  890. +datarootdir='${prefix}/share'
  891. +datadir='${datarootdir}'
  892. +sysconfdir='${prefix}/etc'
  893. +sharedstatedir='${prefix}/com'
  894. +localstatedir='${prefix}/var'
  895. +includedir='${prefix}/include'
  896. +oldincludedir='/usr/include'
  897. +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  898. +infodir='${datarootdir}/info'
  899. +htmldir='${docdir}'
  900. +dvidir='${docdir}'
  901. +pdfdir='${docdir}'
  902. +psdir='${docdir}'
  903. +libdir='${exec_prefix}/lib'
  904. +localedir='${datarootdir}/locale'
  905. +mandir='${datarootdir}/man'
  906. +
  907. +ac_prev=
  908. +ac_dashdash=
  909. +for ac_option
  910. +do
  911. + # If the previous option needs an argument, assign it.
  912. + if test -n "$ac_prev"; then
  913. + eval $ac_prev=\$ac_option
  914. + ac_prev=
  915. + continue
  916. + fi
  917. +
  918. + case $ac_option in
  919. + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  920. + *=) ac_optarg= ;;
  921. + *) ac_optarg=yes ;;
  922. + esac
  923. +
  924. + # Accept the important Cygnus configure options, so we can diagnose typos.
  925. +
  926. + case $ac_dashdash$ac_option in
  927. + --)
  928. + ac_dashdash=yes ;;
  929. +
  930. + -bindir | --bindir | --bindi | --bind | --bin | --bi)
  931. + ac_prev=bindir ;;
  932. + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  933. + bindir=$ac_optarg ;;
  934. +
  935. + -build | --build | --buil | --bui | --bu)
  936. + ac_prev=build_alias ;;
  937. + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  938. + build_alias=$ac_optarg ;;
  939. +
  940. + -cache-file | --cache-file | --cache-fil | --cache-fi \
  941. + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  942. + ac_prev=cache_file ;;
  943. + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  944. + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  945. + cache_file=$ac_optarg ;;
  946. +
  947. + --config-cache | -C)
  948. + cache_file=config.cache ;;
  949. +
  950. + -datadir | --datadir | --datadi | --datad)
  951. + ac_prev=datadir ;;
  952. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  953. + datadir=$ac_optarg ;;
  954. +
  955. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  956. + | --dataroo | --dataro | --datar)
  957. + ac_prev=datarootdir ;;
  958. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  959. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  960. + datarootdir=$ac_optarg ;;
  961. +
  962. + -disable-* | --disable-*)
  963. + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  964. + # Reject names that are not valid shell variable names.
  965. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  966. + as_fn_error $? "invalid feature name: $ac_useropt"
  967. + ac_useropt_orig=$ac_useropt
  968. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  969. + case $ac_user_opts in
  970. + *"
  971. +"enable_$ac_useropt"
  972. +"*) ;;
  973. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  974. + ac_unrecognized_sep=', ';;
  975. + esac
  976. + eval enable_$ac_useropt=no ;;
  977. +
  978. + -docdir | --docdir | --docdi | --doc | --do)
  979. + ac_prev=docdir ;;
  980. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  981. + docdir=$ac_optarg ;;
  982. +
  983. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  984. + ac_prev=dvidir ;;
  985. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  986. + dvidir=$ac_optarg ;;
  987. +
  988. + -enable-* | --enable-*)
  989. + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  990. + # Reject names that are not valid shell variable names.
  991. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  992. + as_fn_error $? "invalid feature name: $ac_useropt"
  993. + ac_useropt_orig=$ac_useropt
  994. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  995. + case $ac_user_opts in
  996. + *"
  997. +"enable_$ac_useropt"
  998. +"*) ;;
  999. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1000. + ac_unrecognized_sep=', ';;
  1001. + esac
  1002. + eval enable_$ac_useropt=\$ac_optarg ;;
  1003. +
  1004. + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1005. + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1006. + | --exec | --exe | --ex)
  1007. + ac_prev=exec_prefix ;;
  1008. + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1009. + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1010. + | --exec=* | --exe=* | --ex=*)
  1011. + exec_prefix=$ac_optarg ;;
  1012. +
  1013. + -gas | --gas | --ga | --g)
  1014. + # Obsolete; use --with-gas.
  1015. + with_gas=yes ;;
  1016. +
  1017. + -help | --help | --hel | --he | -h)
  1018. + ac_init_help=long ;;
  1019. + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1020. + ac_init_help=recursive ;;
  1021. + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1022. + ac_init_help=short ;;
  1023. +
  1024. + -host | --host | --hos | --ho)
  1025. + ac_prev=host_alias ;;
  1026. + -host=* | --host=* | --hos=* | --ho=*)
  1027. + host_alias=$ac_optarg ;;
  1028. +
  1029. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1030. + ac_prev=htmldir ;;
  1031. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1032. + | --ht=*)
  1033. + htmldir=$ac_optarg ;;
  1034. +
  1035. + -includedir | --includedir | --includedi | --included | --include \
  1036. + | --includ | --inclu | --incl | --inc)
  1037. + ac_prev=includedir ;;
  1038. + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1039. + | --includ=* | --inclu=* | --incl=* | --inc=*)
  1040. + includedir=$ac_optarg ;;
  1041. +
  1042. + -infodir | --infodir | --infodi | --infod | --info | --inf)
  1043. + ac_prev=infodir ;;
  1044. + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1045. + infodir=$ac_optarg ;;
  1046. +
  1047. + -libdir | --libdir | --libdi | --libd)
  1048. + ac_prev=libdir ;;
  1049. + -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1050. + libdir=$ac_optarg ;;
  1051. +
  1052. + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1053. + | --libexe | --libex | --libe)
  1054. + ac_prev=libexecdir ;;
  1055. + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1056. + | --libexe=* | --libex=* | --libe=*)
  1057. + libexecdir=$ac_optarg ;;
  1058. +
  1059. + -localedir | --localedir | --localedi | --localed | --locale)
  1060. + ac_prev=localedir ;;
  1061. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1062. + localedir=$ac_optarg ;;
  1063. +
  1064. + -localstatedir | --localstatedir | --localstatedi | --localstated \
  1065. + | --localstate | --localstat | --localsta | --localst | --locals)
  1066. + ac_prev=localstatedir ;;
  1067. + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1068. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1069. + localstatedir=$ac_optarg ;;
  1070. +
  1071. + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1072. + ac_prev=mandir ;;
  1073. + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1074. + mandir=$ac_optarg ;;
  1075. +
  1076. + -nfp | --nfp | --nf)
  1077. + # Obsolete; use --without-fp.
  1078. + with_fp=no ;;
  1079. +
  1080. + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1081. + | --no-cr | --no-c | -n)
  1082. + no_create=yes ;;
  1083. +
  1084. + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1085. + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1086. + no_recursion=yes ;;
  1087. +
  1088. + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1089. + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1090. + | --oldin | --oldi | --old | --ol | --o)
  1091. + ac_prev=oldincludedir ;;
  1092. + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1093. + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1094. + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1095. + oldincludedir=$ac_optarg ;;
  1096. +
  1097. + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1098. + ac_prev=prefix ;;
  1099. + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1100. + prefix=$ac_optarg ;;
  1101. +
  1102. + -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1103. + | --program-pre | --program-pr | --program-p)
  1104. + ac_prev=program_prefix ;;
  1105. + -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1106. + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1107. + program_prefix=$ac_optarg ;;
  1108. +
  1109. + -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1110. + | --program-suf | --program-su | --program-s)
  1111. + ac_prev=program_suffix ;;
  1112. + -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1113. + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1114. + program_suffix=$ac_optarg ;;
  1115. +
  1116. + -program-transform-name | --program-transform-name \
  1117. + | --program-transform-nam | --program-transform-na \
  1118. + | --program-transform-n | --program-transform- \
  1119. + | --program-transform | --program-transfor \
  1120. + | --program-transfo | --program-transf \
  1121. + | --program-trans | --program-tran \
  1122. + | --progr-tra | --program-tr | --program-t)
  1123. + ac_prev=program_transform_name ;;
  1124. + -program-transform-name=* | --program-transform-name=* \
  1125. + | --program-transform-nam=* | --program-transform-na=* \
  1126. + | --program-transform-n=* | --program-transform-=* \
  1127. + | --program-transform=* | --program-transfor=* \
  1128. + | --program-transfo=* | --program-transf=* \
  1129. + | --program-trans=* | --program-tran=* \
  1130. + | --progr-tra=* | --program-tr=* | --program-t=*)
  1131. + program_transform_name=$ac_optarg ;;
  1132. +
  1133. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1134. + ac_prev=pdfdir ;;
  1135. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1136. + pdfdir=$ac_optarg ;;
  1137. +
  1138. + -psdir | --psdir | --psdi | --psd | --ps)
  1139. + ac_prev=psdir ;;
  1140. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1141. + psdir=$ac_optarg ;;
  1142. +
  1143. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1144. + | -silent | --silent | --silen | --sile | --sil)
  1145. + silent=yes ;;
  1146. +
  1147. + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1148. + ac_prev=sbindir ;;
  1149. + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1150. + | --sbi=* | --sb=*)
  1151. + sbindir=$ac_optarg ;;
  1152. +
  1153. + -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1154. + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1155. + | --sharedst | --shareds | --shared | --share | --shar \
  1156. + | --sha | --sh)
  1157. + ac_prev=sharedstatedir ;;
  1158. + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1159. + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1160. + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1161. + | --sha=* | --sh=*)
  1162. + sharedstatedir=$ac_optarg ;;
  1163. +
  1164. + -site | --site | --sit)
  1165. + ac_prev=site ;;
  1166. + -site=* | --site=* | --sit=*)
  1167. + site=$ac_optarg ;;
  1168. +
  1169. + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1170. + ac_prev=srcdir ;;
  1171. + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1172. + srcdir=$ac_optarg ;;
  1173. +
  1174. + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1175. + | --syscon | --sysco | --sysc | --sys | --sy)
  1176. + ac_prev=sysconfdir ;;
  1177. + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1178. + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1179. + sysconfdir=$ac_optarg ;;
  1180. +
  1181. + -target | --target | --targe | --targ | --tar | --ta | --t)
  1182. + ac_prev=target_alias ;;
  1183. + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1184. + target_alias=$ac_optarg ;;
  1185. +
  1186. + -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1187. + verbose=yes ;;
  1188. +
  1189. + -version | --version | --versio | --versi | --vers | -V)
  1190. + ac_init_version=: ;;
  1191. +
  1192. + -with-* | --with-*)
  1193. + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1194. + # Reject names that are not valid shell variable names.
  1195. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1196. + as_fn_error $? "invalid package name: $ac_useropt"
  1197. + ac_useropt_orig=$ac_useropt
  1198. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1199. + case $ac_user_opts in
  1200. + *"
  1201. +"with_$ac_useropt"
  1202. +"*) ;;
  1203. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1204. + ac_unrecognized_sep=', ';;
  1205. + esac
  1206. + eval with_$ac_useropt=\$ac_optarg ;;
  1207. +
  1208. + -without-* | --without-*)
  1209. + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1210. + # Reject names that are not valid shell variable names.
  1211. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1212. + as_fn_error $? "invalid package name: $ac_useropt"
  1213. + ac_useropt_orig=$ac_useropt
  1214. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1215. + case $ac_user_opts in
  1216. + *"
  1217. +"with_$ac_useropt"
  1218. +"*) ;;
  1219. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1220. + ac_unrecognized_sep=', ';;
  1221. + esac
  1222. + eval with_$ac_useropt=no ;;
  1223. +
  1224. + --x)
  1225. + # Obsolete; use --with-x.
  1226. + with_x=yes ;;
  1227. +
  1228. + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1229. + | --x-incl | --x-inc | --x-in | --x-i)
  1230. + ac_prev=x_includes ;;
  1231. + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1232. + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1233. + x_includes=$ac_optarg ;;
  1234. +
  1235. + -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1236. + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1237. + ac_prev=x_libraries ;;
  1238. + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1239. + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1240. + x_libraries=$ac_optarg ;;
  1241. +
  1242. + -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1243. +Try \`$0 --help' for more information"
  1244. + ;;
  1245. +
  1246. + *=*)
  1247. + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1248. + # Reject names that are not valid shell variable names.
  1249. + case $ac_envvar in #(
  1250. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  1251. + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1252. + esac
  1253. + eval $ac_envvar=\$ac_optarg
  1254. + export $ac_envvar ;;
  1255. +
  1256. + *)
  1257. + # FIXME: should be removed in autoconf 3.0.
  1258. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1259. + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1260. + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1261. + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1262. + ;;
  1263. +
  1264. + esac
  1265. +done
  1266. +
  1267. +if test -n "$ac_prev"; then
  1268. + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1269. + as_fn_error $? "missing argument to $ac_option"
  1270. +fi
  1271. +
  1272. +if test -n "$ac_unrecognized_opts"; then
  1273. + case $enable_option_checking in
  1274. + no) ;;
  1275. + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1276. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1277. + esac
  1278. +fi
  1279. +
  1280. +# Check all directory arguments for consistency.
  1281. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1282. + datadir sysconfdir sharedstatedir localstatedir includedir \
  1283. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1284. + libdir localedir mandir
  1285. +do
  1286. + eval ac_val=\$$ac_var
  1287. + # Remove trailing slashes.
  1288. + case $ac_val in
  1289. + */ )
  1290. + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1291. + eval $ac_var=\$ac_val;;
  1292. + esac
  1293. + # Be sure to have absolute directory names.
  1294. + case $ac_val in
  1295. + [\\/$]* | ?:[\\/]* ) continue;;
  1296. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1297. + esac
  1298. + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1299. +done
  1300. +
  1301. +# There might be people who depend on the old broken behavior: `$host'
  1302. +# used to hold the argument of --host etc.
  1303. +# FIXME: To remove some day.
  1304. +build=$build_alias
  1305. +host=$host_alias
  1306. +target=$target_alias
  1307. +
  1308. +# FIXME: To remove some day.
  1309. +if test "x$host_alias" != x; then
  1310. + if test "x$build_alias" = x; then
  1311. + cross_compiling=maybe
  1312. + $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
  1313. + If a cross compiler is detected then cross compile mode will be used" >&2
  1314. + elif test "x$build_alias" != "x$host_alias"; then
  1315. + cross_compiling=yes
  1316. + fi
  1317. +fi
  1318. +
  1319. +ac_tool_prefix=
  1320. +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1321. +
  1322. +test "$silent" = yes && exec 6>/dev/null
  1323. +
  1324. +
  1325. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1326. +ac_ls_di=`ls -di .` &&
  1327. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1328. + as_fn_error $? "working directory cannot be determined"
  1329. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1330. + as_fn_error $? "pwd does not report name of working directory"
  1331. +
  1332. +
  1333. +# Find the source files, if location was not specified.
  1334. +if test -z "$srcdir"; then
  1335. + ac_srcdir_defaulted=yes
  1336. + # Try the directory containing this script, then the parent directory.
  1337. + ac_confdir=`$as_dirname -- "$as_myself" ||
  1338. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1339. + X"$as_myself" : 'X\(//\)[^/]' \| \
  1340. + X"$as_myself" : 'X\(//\)$' \| \
  1341. + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1342. +$as_echo X"$as_myself" |
  1343. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1344. + s//\1/
  1345. + q
  1346. + }
  1347. + /^X\(\/\/\)[^/].*/{
  1348. + s//\1/
  1349. + q
  1350. + }
  1351. + /^X\(\/\/\)$/{
  1352. + s//\1/
  1353. + q
  1354. + }
  1355. + /^X\(\/\).*/{
  1356. + s//\1/
  1357. + q
  1358. + }
  1359. + s/.*/./; q'`
  1360. + srcdir=$ac_confdir
  1361. + if test ! -r "$srcdir/$ac_unique_file"; then
  1362. + srcdir=..
  1363. + fi
  1364. +else
  1365. + ac_srcdir_defaulted=no
  1366. +fi
  1367. +if test ! -r "$srcdir/$ac_unique_file"; then
  1368. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1369. + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1370. +fi
  1371. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1372. +ac_abs_confdir=`(
  1373. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1374. + pwd)`
  1375. +# When building in place, set srcdir=.
  1376. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  1377. + srcdir=.
  1378. +fi
  1379. +# Remove unnecessary trailing slashes from srcdir.
  1380. +# Double slashes in file names in object file debugging info
  1381. +# mess up M-x gdb in Emacs.
  1382. +case $srcdir in
  1383. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1384. +esac
  1385. +for ac_var in $ac_precious_vars; do
  1386. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1387. + eval ac_env_${ac_var}_value=\$${ac_var}
  1388. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1389. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1390. +done
  1391. +
  1392. +#
  1393. +# Report the --help message.
  1394. +#
  1395. +if test "$ac_init_help" = "long"; then
  1396. + # Omit some internal or obsolete options to make the list less imposing.
  1397. + # This message is too long to be a string in the A/UX 3.1 sh.
  1398. + cat <<_ACEOF
  1399. +\`configure' configures ulogd 2.0.2 to adapt to many kinds of systems.
  1400. +
  1401. +Usage: $0 [OPTION]... [VAR=VALUE]...
  1402. +
  1403. +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1404. +VAR=VALUE. See below for descriptions of some of the useful variables.
  1405. +
  1406. +Defaults for the options are specified in brackets.
  1407. +
  1408. +Configuration:
  1409. + -h, --help display this help and exit
  1410. + --help=short display options specific to this package
  1411. + --help=recursive display the short help of all the included packages
  1412. + -V, --version display version information and exit
  1413. + -q, --quiet, --silent do not print \`checking ...' messages
  1414. + --cache-file=FILE cache test results in FILE [disabled]
  1415. + -C, --config-cache alias for \`--cache-file=config.cache'
  1416. + -n, --no-create do not create output files
  1417. + --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1418. +
  1419. +Installation directories:
  1420. + --prefix=PREFIX install architecture-independent files in PREFIX
  1421. + @<:@@S|@ac_default_prefix@:>@
  1422. + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1423. + @<:@PREFIX@:>@
  1424. +
  1425. +By default, \`make install' will install all the files in
  1426. +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1427. +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1428. +for instance \`--prefix=\$HOME'.
  1429. +
  1430. +For better control, use the options below.
  1431. +
  1432. +Fine tuning of the installation directories:
  1433. + --bindir=DIR user executables [EPREFIX/bin]
  1434. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  1435. + --libexecdir=DIR program executables [EPREFIX/libexec]
  1436. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1437. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1438. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1439. + --libdir=DIR object code libraries [EPREFIX/lib]
  1440. + --includedir=DIR C header files [PREFIX/include]
  1441. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1442. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1443. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1444. + --infodir=DIR info documentation [DATAROOTDIR/info]
  1445. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1446. + --mandir=DIR man documentation [DATAROOTDIR/man]
  1447. + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/ulogd@:>@
  1448. + --htmldir=DIR html documentation [DOCDIR]
  1449. + --dvidir=DIR dvi documentation [DOCDIR]
  1450. + --pdfdir=DIR pdf documentation [DOCDIR]
  1451. + --psdir=DIR ps documentation [DOCDIR]
  1452. +_ACEOF
  1453. +
  1454. + cat <<\_ACEOF
  1455. +
  1456. +Program names:
  1457. + --program-prefix=PREFIX prepend PREFIX to installed program names
  1458. + --program-suffix=SUFFIX append SUFFIX to installed program names
  1459. + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1460. +
  1461. +System types:
  1462. + --build=BUILD configure for building on BUILD [guessed]
  1463. + --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1464. +_ACEOF
  1465. +fi
  1466. +
  1467. +if test -n "$ac_init_help"; then
  1468. + case $ac_init_help in
  1469. + short | recursive ) echo "Configuration of ulogd 2.0.2:";;
  1470. + esac
  1471. + cat <<\_ACEOF
  1472. +
  1473. +Optional Features:
  1474. + --disable-option-checking ignore unrecognized --enable/--with options
  1475. + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1476. + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1477. + --disable-dependency-tracking speeds up one-time build
  1478. + --enable-dependency-tracking do not reject slow dependency extractors
  1479. + --enable-silent-rules less verbose build output (undo: `make V=1')
  1480. + --disable-silent-rules verbose build output (undo: `make V=0')
  1481. + --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@
  1482. + --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
  1483. + --enable-fast-install@<:@=PKGS@:>@
  1484. + optimize for fast installation @<:@default=yes@:>@
  1485. + --disable-libtool-lock avoid locking (might break parallel builds)
  1486. + --disable-largefile omit support for large files
  1487. + --enable-nflog Enable nflog module @<:@default=yes@:>@
  1488. + --enable-nfct Enable nfct module @<:@default=yes@:>@
  1489. + --enable-nfacct Enable nfacct module @<:@default=yes@:>@
  1490. +
  1491. +Optional Packages:
  1492. + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1493. + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1494. + --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
  1495. + both@:>@
  1496. + --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
  1497. + --with-sysroot=DIR Search for dependent libraries within DIR
  1498. + (or the compiler's sysroot if not specified).
  1499. + --with-pgsql=PREFIX Prefix of your PostgreSQL installation
  1500. + --with-pgsql-inc=PATH Path to the include directory of PostgreSQL
  1501. + --with-pgsql-lib=PATH Path to the libraries of PostgreSQL
  1502. + --with-mysql=PREFIX Prefix of your MySQL installation
  1503. + --with-mysql-inc=PATH Path to the include directory of MySQL
  1504. + --with-mysql-lib=PATH Path to the libraries of MySQL
  1505. + --with-dbi=PREFIX Prefix of your libdbi installation
  1506. + --with-dbi-inc=PATH Path to the include directory of dbi
  1507. + --with-dbi-lib=PATH Path to the libraries of dbi
  1508. +
  1509. +Some influential environment variables:
  1510. + CC C compiler command
  1511. + CFLAGS C compiler flags
  1512. + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1513. + nonstandard directory <lib dir>
  1514. + LIBS libraries to pass to the linker, e.g. -l<library>
  1515. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1516. + you have headers in a nonstandard directory <include dir>
  1517. + CPP C preprocessor
  1518. + PKG_CONFIG path to pkg-config utility
  1519. + PKG_CONFIG_PATH
  1520. + directories to add to pkg-config's search path
  1521. + PKG_CONFIG_LIBDIR
  1522. + path overriding pkg-config's built-in search path
  1523. + LIBNFNETLINK_CFLAGS
  1524. + C compiler flags for LIBNFNETLINK, overriding pkg-config
  1525. + LIBNFNETLINK_LIBS
  1526. + linker flags for LIBNFNETLINK, overriding pkg-config
  1527. + LIBMNL_CFLAGS
  1528. + C compiler flags for LIBMNL, overriding pkg-config
  1529. + LIBMNL_LIBS linker flags for LIBMNL, overriding pkg-config
  1530. + LIBNETFILTER_LOG_CFLAGS
  1531. + C compiler flags for LIBNETFILTER_LOG, overriding pkg-config
  1532. + LIBNETFILTER_LOG_LIBS
  1533. + linker flags for LIBNETFILTER_LOG, overriding pkg-config
  1534. + LIBNETFILTER_CONNTRACK_CFLAGS
  1535. + C compiler flags for LIBNETFILTER_CONNTRACK, overriding
  1536. + pkg-config
  1537. + LIBNETFILTER_CONNTRACK_LIBS
  1538. + linker flags for LIBNETFILTER_CONNTRACK, overriding pkg-config
  1539. + LIBNETFILTER_ACCT_CFLAGS
  1540. + C compiler flags for LIBNETFILTER_ACCT, overriding pkg-config
  1541. + LIBNETFILTER_ACCT_LIBS
  1542. + linker flags for LIBNETFILTER_ACCT, overriding pkg-config
  1543. + libsqlite3_CFLAGS
  1544. + C compiler flags for libsqlite3, overriding pkg-config
  1545. + libsqlite3_LIBS
  1546. + linker flags for libsqlite3, overriding pkg-config
  1547. +
  1548. +Use these variables to override the choices made by `configure' or to help
  1549. +it to find libraries and programs with nonstandard names/locations.
  1550. +
  1551. +Report bugs to the package provider.
  1552. +_ACEOF
  1553. +ac_status=$?
  1554. +fi
  1555. +
  1556. +if test "$ac_init_help" = "recursive"; then
  1557. + # If there are subdirs, report their specific --help.
  1558. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1559. + test -d "$ac_dir" ||
  1560. + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1561. + continue
  1562. + ac_builddir=.
  1563. +
  1564. +case "$ac_dir" in
  1565. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1566. +*)
  1567. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1568. + # A ".." for each directory in $ac_dir_suffix.
  1569. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1570. + case $ac_top_builddir_sub in
  1571. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1572. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1573. + esac ;;
  1574. +esac
  1575. +ac_abs_top_builddir=$ac_pwd
  1576. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1577. +# for backward compatibility:
  1578. +ac_top_builddir=$ac_top_build_prefix
  1579. +
  1580. +case $srcdir in
  1581. + .) # We are building in place.
  1582. + ac_srcdir=.
  1583. + ac_top_srcdir=$ac_top_builddir_sub
  1584. + ac_abs_top_srcdir=$ac_pwd ;;
  1585. + [\\/]* | ?:[\\/]* ) # Absolute name.
  1586. + ac_srcdir=$srcdir$ac_dir_suffix;
  1587. + ac_top_srcdir=$srcdir
  1588. + ac_abs_top_srcdir=$srcdir ;;
  1589. + *) # Relative name.
  1590. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1591. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  1592. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1593. +esac
  1594. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1595. +
  1596. + cd "$ac_dir" || { ac_status=$?; continue; }
  1597. + # Check for guested configure.
  1598. + if test -f "$ac_srcdir/configure.gnu"; then
  1599. + echo &&
  1600. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1601. + elif test -f "$ac_srcdir/configure"; then
  1602. + echo &&
  1603. + $SHELL "$ac_srcdir/configure" --help=recursive
  1604. + else
  1605. + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1606. + fi || ac_status=$?
  1607. + cd "$ac_pwd" || { ac_status=$?; break; }
  1608. + done
  1609. +fi
  1610. +
  1611. +test -n "$ac_init_help" && exit $ac_status
  1612. +if $ac_init_version; then
  1613. + cat <<\_ACEOF
  1614. +ulogd configure 2.0.2
  1615. +generated by GNU Autoconf 2.68
  1616. +
  1617. +Copyright (C) 2010 Free Software Foundation, Inc.
  1618. +This configure script is free software; the Free Software Foundation
  1619. +gives unlimited permission to copy, distribute and modify it.
  1620. +_ACEOF
  1621. + exit
  1622. +fi
  1623. +
  1624. +## ------------------------ ##
  1625. +## Autoconf initialization. ##
  1626. +## ------------------------ ##
  1627. +
  1628. +@%:@ ac_fn_c_try_compile LINENO
  1629. +@%:@ --------------------------
  1630. +@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
  1631. +ac_fn_c_try_compile ()
  1632. +{
  1633. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1634. + rm -f conftest.$ac_objext
  1635. + if { { ac_try="$ac_compile"
  1636. +case "(($ac_try" in
  1637. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1638. + *) ac_try_echo=$ac_try;;
  1639. +esac
  1640. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1641. +$as_echo "$ac_try_echo"; } >&5
  1642. + (eval "$ac_compile") 2>conftest.err
  1643. + ac_status=$?
  1644. + if test -s conftest.err; then
  1645. + grep -v '^ *+' conftest.err >conftest.er1
  1646. + cat conftest.er1 >&5
  1647. + mv -f conftest.er1 conftest.err
  1648. + fi
  1649. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1650. + test $ac_status = 0; } && {
  1651. + test -z "$ac_c_werror_flag" ||
  1652. + test ! -s conftest.err
  1653. + } && test -s conftest.$ac_objext; then :
  1654. + ac_retval=0
  1655. +else
  1656. + $as_echo "$as_me: failed program was:" >&5
  1657. +sed 's/^/| /' conftest.$ac_ext >&5
  1658. +
  1659. + ac_retval=1
  1660. +fi
  1661. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1662. + as_fn_set_status $ac_retval
  1663. +
  1664. +} @%:@ ac_fn_c_try_compile
  1665. +
  1666. +@%:@ ac_fn_c_try_link LINENO
  1667. +@%:@ -----------------------
  1668. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
  1669. +ac_fn_c_try_link ()
  1670. +{
  1671. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1672. + rm -f conftest.$ac_objext conftest$ac_exeext
  1673. + if { { ac_try="$ac_link"
  1674. +case "(($ac_try" in
  1675. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1676. + *) ac_try_echo=$ac_try;;
  1677. +esac
  1678. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1679. +$as_echo "$ac_try_echo"; } >&5
  1680. + (eval "$ac_link") 2>conftest.err
  1681. + ac_status=$?
  1682. + if test -s conftest.err; then
  1683. + grep -v '^ *+' conftest.err >conftest.er1
  1684. + cat conftest.er1 >&5
  1685. + mv -f conftest.er1 conftest.err
  1686. + fi
  1687. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1688. + test $ac_status = 0; } && {
  1689. + test -z "$ac_c_werror_flag" ||
  1690. + test ! -s conftest.err
  1691. + } && test -s conftest$ac_exeext && {
  1692. + test "$cross_compiling" = yes ||
  1693. + $as_test_x conftest$ac_exeext
  1694. + }; then :
  1695. + ac_retval=0
  1696. +else
  1697. + $as_echo "$as_me: failed program was:" >&5
  1698. +sed 's/^/| /' conftest.$ac_ext >&5
  1699. +
  1700. + ac_retval=1
  1701. +fi
  1702. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1703. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1704. + # interfere with the next link command; also delete a directory that is
  1705. + # left behind by Apple's compiler. We do this before executing the actions.
  1706. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1707. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1708. + as_fn_set_status $ac_retval
  1709. +
  1710. +} @%:@ ac_fn_c_try_link
  1711. +
  1712. +@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1713. +@%:@ -------------------------------------------------------
  1714. +@%:@ Tests whether HEADER exists and can be compiled using the include files in
  1715. +@%:@ INCLUDES, setting the cache variable VAR accordingly.
  1716. +ac_fn_c_check_header_compile ()
  1717. +{
  1718. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1719. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1720. +$as_echo_n "checking for $2... " >&6; }
  1721. +if eval \${$3+:} false; then :
  1722. + $as_echo_n "(cached) " >&6
  1723. +else
  1724. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1725. +/* end confdefs.h. */
  1726. +$4
  1727. +@%:@include <$2>
  1728. +_ACEOF
  1729. +if ac_fn_c_try_compile "$LINENO"; then :
  1730. + eval "$3=yes"
  1731. +else
  1732. + eval "$3=no"
  1733. +fi
  1734. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1735. +fi
  1736. +eval ac_res=\$$3
  1737. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1738. +$as_echo "$ac_res" >&6; }
  1739. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1740. +
  1741. +} @%:@ ac_fn_c_check_header_compile
  1742. +
  1743. +@%:@ ac_fn_c_try_cpp LINENO
  1744. +@%:@ ----------------------
  1745. +@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
  1746. +ac_fn_c_try_cpp ()
  1747. +{
  1748. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1749. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  1750. +case "(($ac_try" in
  1751. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1752. + *) ac_try_echo=$ac_try;;
  1753. +esac
  1754. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1755. +$as_echo "$ac_try_echo"; } >&5
  1756. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1757. + ac_status=$?
  1758. + if test -s conftest.err; then
  1759. + grep -v '^ *+' conftest.err >conftest.er1
  1760. + cat conftest.er1 >&5
  1761. + mv -f conftest.er1 conftest.err
  1762. + fi
  1763. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1764. + test $ac_status = 0; } > conftest.i && {
  1765. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1766. + test ! -s conftest.err
  1767. + }; then :
  1768. + ac_retval=0
  1769. +else
  1770. + $as_echo "$as_me: failed program was:" >&5
  1771. +sed 's/^/| /' conftest.$ac_ext >&5
  1772. +
  1773. + ac_retval=1
  1774. +fi
  1775. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1776. + as_fn_set_status $ac_retval
  1777. +
  1778. +} @%:@ ac_fn_c_try_cpp
  1779. +
  1780. +@%:@ ac_fn_c_try_run LINENO
  1781. +@%:@ ----------------------
  1782. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
  1783. +@%:@ that executables *can* be run.
  1784. +ac_fn_c_try_run ()
  1785. +{
  1786. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1787. + if { { ac_try="$ac_link"
  1788. +case "(($ac_try" in
  1789. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1790. + *) ac_try_echo=$ac_try;;
  1791. +esac
  1792. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1793. +$as_echo "$ac_try_echo"; } >&5
  1794. + (eval "$ac_link") 2>&5
  1795. + ac_status=$?
  1796. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1797. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1798. + { { case "(($ac_try" in
  1799. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1800. + *) ac_try_echo=$ac_try;;
  1801. +esac
  1802. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1803. +$as_echo "$ac_try_echo"; } >&5
  1804. + (eval "$ac_try") 2>&5
  1805. + ac_status=$?
  1806. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1807. + test $ac_status = 0; }; }; then :
  1808. + ac_retval=0
  1809. +else
  1810. + $as_echo "$as_me: program exited with status $ac_status" >&5
  1811. + $as_echo "$as_me: failed program was:" >&5
  1812. +sed 's/^/| /' conftest.$ac_ext >&5
  1813. +
  1814. + ac_retval=$ac_status
  1815. +fi
  1816. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1817. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1818. + as_fn_set_status $ac_retval
  1819. +
  1820. +} @%:@ ac_fn_c_try_run
  1821. +
  1822. +@%:@ ac_fn_c_check_func LINENO FUNC VAR
  1823. +@%:@ ----------------------------------
  1824. +@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
  1825. +ac_fn_c_check_func ()
  1826. +{
  1827. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1828. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1829. +$as_echo_n "checking for $2... " >&6; }
  1830. +if eval \${$3+:} false; then :
  1831. + $as_echo_n "(cached) " >&6
  1832. +else
  1833. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1834. +/* end confdefs.h. */
  1835. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1836. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1837. +#define $2 innocuous_$2
  1838. +
  1839. +/* System header to define __stub macros and hopefully few prototypes,
  1840. + which can conflict with char $2 (); below.
  1841. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1842. + <limits.h> exists even on freestanding compilers. */
  1843. +
  1844. +#ifdef __STDC__
  1845. +# include <limits.h>
  1846. +#else
  1847. +# include <assert.h>
  1848. +#endif
  1849. +
  1850. +#undef $2
  1851. +
  1852. +/* Override any GCC internal prototype to avoid an error.
  1853. + Use char because int might match the return type of a GCC
  1854. + builtin and then its argument prototype would still apply. */
  1855. +#ifdef __cplusplus
  1856. +extern "C"
  1857. +#endif
  1858. +char $2 ();
  1859. +/* The GNU C library defines this for functions which it implements
  1860. + to always fail with ENOSYS. Some functions are actually named
  1861. + something starting with __ and the normal name is an alias. */
  1862. +#if defined __stub_$2 || defined __stub___$2
  1863. +choke me
  1864. +#endif
  1865. +
  1866. +int
  1867. +main ()
  1868. +{
  1869. +return $2 ();
  1870. + ;
  1871. + return 0;
  1872. +}
  1873. +_ACEOF
  1874. +if ac_fn_c_try_link "$LINENO"; then :
  1875. + eval "$3=yes"
  1876. +else
  1877. + eval "$3=no"
  1878. +fi
  1879. +rm -f core conftest.err conftest.$ac_objext \
  1880. + conftest$ac_exeext conftest.$ac_ext
  1881. +fi
  1882. +eval ac_res=\$$3
  1883. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1884. +$as_echo "$ac_res" >&6; }
  1885. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1886. +
  1887. +} @%:@ ac_fn_c_check_func
  1888. +
  1889. +@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1890. +@%:@ -------------------------------------------------------
  1891. +@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1892. +@%:@ the include files in INCLUDES and setting the cache variable VAR
  1893. +@%:@ accordingly.
  1894. +ac_fn_c_check_header_mongrel ()
  1895. +{
  1896. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1897. + if eval \${$3+:} false; then :
  1898. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1899. +$as_echo_n "checking for $2... " >&6; }
  1900. +if eval \${$3+:} false; then :
  1901. + $as_echo_n "(cached) " >&6
  1902. +fi
  1903. +eval ac_res=\$$3
  1904. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1905. +$as_echo "$ac_res" >&6; }
  1906. +else
  1907. + # Is the header compilable?
  1908. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1909. +$as_echo_n "checking $2 usability... " >&6; }
  1910. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1911. +/* end confdefs.h. */
  1912. +$4
  1913. +@%:@include <$2>
  1914. +_ACEOF
  1915. +if ac_fn_c_try_compile "$LINENO"; then :
  1916. + ac_header_compiler=yes
  1917. +else
  1918. + ac_header_compiler=no
  1919. +fi
  1920. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1921. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1922. +$as_echo "$ac_header_compiler" >&6; }
  1923. +
  1924. +# Is the header present?
  1925. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1926. +$as_echo_n "checking $2 presence... " >&6; }
  1927. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1928. +/* end confdefs.h. */
  1929. +@%:@include <$2>
  1930. +_ACEOF
  1931. +if ac_fn_c_try_cpp "$LINENO"; then :
  1932. + ac_header_preproc=yes
  1933. +else
  1934. + ac_header_preproc=no
  1935. +fi
  1936. +rm -f conftest.err conftest.i conftest.$ac_ext
  1937. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1938. +$as_echo "$ac_header_preproc" >&6; }
  1939. +
  1940. +# So? What about this header?
  1941. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1942. + yes:no: )
  1943. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1944. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1945. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1946. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1947. + ;;
  1948. + no:yes:* )
  1949. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1950. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1951. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  1952. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  1953. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1954. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1955. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  1956. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  1957. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1958. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1959. + ;;
  1960. +esac
  1961. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1962. +$as_echo_n "checking for $2... " >&6; }
  1963. +if eval \${$3+:} false; then :
  1964. + $as_echo_n "(cached) " >&6
  1965. +else
  1966. + eval "$3=\$ac_header_compiler"
  1967. +fi
  1968. +eval ac_res=\$$3
  1969. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1970. +$as_echo "$ac_res" >&6; }
  1971. +fi
  1972. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1973. +
  1974. +} @%:@ ac_fn_c_check_header_mongrel
  1975. +
  1976. +@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1977. +@%:@ -------------------------------------------
  1978. +@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
  1979. +@%:@ variable VAR accordingly.
  1980. +ac_fn_c_check_type ()
  1981. +{
  1982. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1983. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1984. +$as_echo_n "checking for $2... " >&6; }
  1985. +if eval \${$3+:} false; then :
  1986. + $as_echo_n "(cached) " >&6
  1987. +else
  1988. + eval "$3=no"
  1989. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1990. +/* end confdefs.h. */
  1991. +$4
  1992. +int
  1993. +main ()
  1994. +{
  1995. +if (sizeof ($2))
  1996. + return 0;
  1997. + ;
  1998. + return 0;
  1999. +}
  2000. +_ACEOF
  2001. +if ac_fn_c_try_compile "$LINENO"; then :
  2002. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2003. +/* end confdefs.h. */
  2004. +$4
  2005. +int
  2006. +main ()
  2007. +{
  2008. +if (sizeof (($2)))
  2009. + return 0;
  2010. + ;
  2011. + return 0;
  2012. +}
  2013. +_ACEOF
  2014. +if ac_fn_c_try_compile "$LINENO"; then :
  2015. +
  2016. +else
  2017. + eval "$3=yes"
  2018. +fi
  2019. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2020. +fi
  2021. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2022. +fi
  2023. +eval ac_res=\$$3
  2024. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2025. +$as_echo "$ac_res" >&6; }
  2026. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2027. +
  2028. +} @%:@ ac_fn_c_check_type
  2029. +cat >config.log <<_ACEOF
  2030. +This file contains any messages produced by compilers while
  2031. +running configure, to aid debugging if configure makes a mistake.
  2032. +
  2033. +It was created by ulogd $as_me 2.0.2, which was
  2034. +generated by GNU Autoconf 2.68. Invocation command line was
  2035. +
  2036. + $ $0 $@
  2037. +
  2038. +_ACEOF
  2039. +exec 5>>config.log
  2040. +{
  2041. +cat <<_ASUNAME
  2042. +## --------- ##
  2043. +## Platform. ##
  2044. +## --------- ##
  2045. +
  2046. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  2047. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  2048. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  2049. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  2050. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  2051. +
  2052. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  2053. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  2054. +
  2055. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  2056. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  2057. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  2058. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  2059. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  2060. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  2061. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  2062. +
  2063. +_ASUNAME
  2064. +
  2065. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2066. +for as_dir in $PATH
  2067. +do
  2068. + IFS=$as_save_IFS
  2069. + test -z "$as_dir" && as_dir=.
  2070. + $as_echo "PATH: $as_dir"
  2071. + done
  2072. +IFS=$as_save_IFS
  2073. +
  2074. +} >&5
  2075. +
  2076. +cat >&5 <<_ACEOF
  2077. +
  2078. +
  2079. +## ----------- ##
  2080. +## Core tests. ##
  2081. +## ----------- ##
  2082. +
  2083. +_ACEOF
  2084. +
  2085. +
  2086. +# Keep a trace of the command line.
  2087. +# Strip out --no-create and --no-recursion so they do not pile up.
  2088. +# Strip out --silent because we don't want to record it for future runs.
  2089. +# Also quote any args containing shell meta-characters.
  2090. +# Make two passes to allow for proper duplicate-argument suppression.
  2091. +ac_configure_args=
  2092. +ac_configure_args0=
  2093. +ac_configure_args1=
  2094. +ac_must_keep_next=false
  2095. +for ac_pass in 1 2
  2096. +do
  2097. + for ac_arg
  2098. + do
  2099. + case $ac_arg in
  2100. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2101. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2102. + | -silent | --silent | --silen | --sile | --sil)
  2103. + continue ;;
  2104. + *\'*)
  2105. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2106. + esac
  2107. + case $ac_pass in
  2108. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2109. + 2)
  2110. + as_fn_append ac_configure_args1 " '$ac_arg'"
  2111. + if test $ac_must_keep_next = true; then
  2112. + ac_must_keep_next=false # Got value, back to normal.
  2113. + else
  2114. + case $ac_arg in
  2115. + *=* | --config-cache | -C | -disable-* | --disable-* \
  2116. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2117. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2118. + | -with-* | --with-* | -without-* | --without-* | --x)
  2119. + case "$ac_configure_args0 " in
  2120. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2121. + esac
  2122. + ;;
  2123. + -* ) ac_must_keep_next=true ;;
  2124. + esac
  2125. + fi
  2126. + as_fn_append ac_configure_args " '$ac_arg'"
  2127. + ;;
  2128. + esac
  2129. + done
  2130. +done
  2131. +{ ac_configure_args0=; unset ac_configure_args0;}
  2132. +{ ac_configure_args1=; unset ac_configure_args1;}
  2133. +
  2134. +# When interrupted or exit'd, cleanup temporary files, and complete
  2135. +# config.log. We remove comments because anyway the quotes in there
  2136. +# would cause problems or look ugly.
  2137. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  2138. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2139. +trap 'exit_status=$?
  2140. + # Save into config.log some information that might help in debugging.
  2141. + {
  2142. + echo
  2143. +
  2144. + $as_echo "## ---------------- ##
  2145. +## Cache variables. ##
  2146. +## ---------------- ##"
  2147. + echo
  2148. + # The following way of writing the cache mishandles newlines in values,
  2149. +(
  2150. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2151. + eval ac_val=\$$ac_var
  2152. + case $ac_val in #(
  2153. + *${as_nl}*)
  2154. + case $ac_var in #(
  2155. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2156. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2157. + esac
  2158. + case $ac_var in #(
  2159. + _ | IFS | as_nl) ;; #(
  2160. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2161. + *) { eval $ac_var=; unset $ac_var;} ;;
  2162. + esac ;;
  2163. + esac
  2164. + done
  2165. + (set) 2>&1 |
  2166. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2167. + *${as_nl}ac_space=\ *)
  2168. + sed -n \
  2169. + "s/'\''/'\''\\\\'\'''\''/g;
  2170. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2171. + ;; #(
  2172. + *)
  2173. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2174. + ;;
  2175. + esac |
  2176. + sort
  2177. +)
  2178. + echo
  2179. +
  2180. + $as_echo "## ----------------- ##
  2181. +## Output variables. ##
  2182. +## ----------------- ##"
  2183. + echo
  2184. + for ac_var in $ac_subst_vars
  2185. + do
  2186. + eval ac_val=\$$ac_var
  2187. + case $ac_val in
  2188. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2189. + esac
  2190. + $as_echo "$ac_var='\''$ac_val'\''"
  2191. + done | sort
  2192. + echo
  2193. +
  2194. + if test -n "$ac_subst_files"; then
  2195. + $as_echo "## ------------------- ##
  2196. +## File substitutions. ##
  2197. +## ------------------- ##"
  2198. + echo
  2199. + for ac_var in $ac_subst_files
  2200. + do
  2201. + eval ac_val=\$$ac_var
  2202. + case $ac_val in
  2203. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2204. + esac
  2205. + $as_echo "$ac_var='\''$ac_val'\''"
  2206. + done | sort
  2207. + echo
  2208. + fi
  2209. +
  2210. + if test -s confdefs.h; then
  2211. + $as_echo "## ----------- ##
  2212. +## confdefs.h. ##
  2213. +## ----------- ##"
  2214. + echo
  2215. + cat confdefs.h
  2216. + echo
  2217. + fi
  2218. + test "$ac_signal" != 0 &&
  2219. + $as_echo "$as_me: caught signal $ac_signal"
  2220. + $as_echo "$as_me: exit $exit_status"
  2221. + } >&5
  2222. + rm -f core *.core core.conftest.* &&
  2223. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2224. + exit $exit_status
  2225. +' 0
  2226. +for ac_signal in 1 2 13 15; do
  2227. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2228. +done
  2229. +ac_signal=0
  2230. +
  2231. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  2232. +rm -f -r conftest* confdefs.h
  2233. +
  2234. +$as_echo "/* confdefs.h */" > confdefs.h
  2235. +
  2236. +# Predefined preprocessor variables.
  2237. +
  2238. +cat >>confdefs.h <<_ACEOF
  2239. +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
  2240. +_ACEOF
  2241. +
  2242. +cat >>confdefs.h <<_ACEOF
  2243. +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2244. +_ACEOF
  2245. +
  2246. +cat >>confdefs.h <<_ACEOF
  2247. +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  2248. +_ACEOF
  2249. +
  2250. +cat >>confdefs.h <<_ACEOF
  2251. +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
  2252. +_ACEOF
  2253. +
  2254. +cat >>confdefs.h <<_ACEOF
  2255. +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2256. +_ACEOF
  2257. +
  2258. +cat >>confdefs.h <<_ACEOF
  2259. +@%:@define PACKAGE_URL "$PACKAGE_URL"
  2260. +_ACEOF
  2261. +
  2262. +
  2263. +# Let the site file select an alternate cache file if it wants to.
  2264. +# Prefer an explicitly selected file to automatically selected ones.
  2265. +ac_site_file1=NONE
  2266. +ac_site_file2=NONE
  2267. +if test -n "$CONFIG_SITE"; then
  2268. + # We do not want a PATH search for config.site.
  2269. + case $CONFIG_SITE in @%:@((
  2270. + -*) ac_site_file1=./$CONFIG_SITE;;
  2271. + */*) ac_site_file1=$CONFIG_SITE;;
  2272. + *) ac_site_file1=./$CONFIG_SITE;;
  2273. + esac
  2274. +elif test "x$prefix" != xNONE; then
  2275. + ac_site_file1=$prefix/share/config.site
  2276. + ac_site_file2=$prefix/etc/config.site
  2277. +else
  2278. + ac_site_file1=$ac_default_prefix/share/config.site
  2279. + ac_site_file2=$ac_default_prefix/etc/config.site
  2280. +fi
  2281. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2282. +do
  2283. + test "x$ac_site_file" = xNONE && continue
  2284. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2285. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2286. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2287. + sed 's/^/| /' "$ac_site_file" >&5
  2288. + . "$ac_site_file" \
  2289. + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2290. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2291. +as_fn_error $? "failed to load site script $ac_site_file
  2292. +See \`config.log' for more details" "$LINENO" 5; }
  2293. + fi
  2294. +done
  2295. +
  2296. +if test -r "$cache_file"; then
  2297. + # Some versions of bash will fail to source /dev/null (special files
  2298. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  2299. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2300. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2301. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  2302. + case $cache_file in
  2303. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2304. + *) . "./$cache_file";;
  2305. + esac
  2306. + fi
  2307. +else
  2308. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2309. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  2310. + >$cache_file
  2311. +fi
  2312. +
  2313. +# Check that the precious variables saved in the cache have kept the same
  2314. +# value.
  2315. +ac_cache_corrupted=false
  2316. +for ac_var in $ac_precious_vars; do
  2317. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2318. + eval ac_new_set=\$ac_env_${ac_var}_set
  2319. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2320. + eval ac_new_val=\$ac_env_${ac_var}_value
  2321. + case $ac_old_set,$ac_new_set in
  2322. + set,)
  2323. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2324. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2325. + ac_cache_corrupted=: ;;
  2326. + ,set)
  2327. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2328. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2329. + ac_cache_corrupted=: ;;
  2330. + ,);;
  2331. + *)
  2332. + if test "x$ac_old_val" != "x$ac_new_val"; then
  2333. + # differences in whitespace do not lead to failure.
  2334. + ac_old_val_w=`echo x $ac_old_val`
  2335. + ac_new_val_w=`echo x $ac_new_val`
  2336. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2337. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2338. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2339. + ac_cache_corrupted=:
  2340. + else
  2341. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2342. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2343. + eval $ac_var=\$ac_old_val
  2344. + fi
  2345. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2346. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2347. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2348. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2349. + fi;;
  2350. + esac
  2351. + # Pass precious variables to config.status.
  2352. + if test "$ac_new_set" = set; then
  2353. + case $ac_new_val in
  2354. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2355. + *) ac_arg=$ac_var=$ac_new_val ;;
  2356. + esac
  2357. + case " $ac_configure_args " in
  2358. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2359. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2360. + esac
  2361. + fi
  2362. +done
  2363. +if $ac_cache_corrupted; then
  2364. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2365. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2366. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2367. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2368. + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2369. +fi
  2370. +## -------------------- ##
  2371. +## Main body of script. ##
  2372. +## -------------------- ##
  2373. +
  2374. +ac_ext=c
  2375. +ac_cpp='$CPP $CPPFLAGS'
  2376. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2377. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2378. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2379. +
  2380. +
  2381. +
  2382. +ac_aux_dir=
  2383. +for ac_dir in build-aux "$srcdir"/build-aux; do
  2384. + if test -f "$ac_dir/install-sh"; then
  2385. + ac_aux_dir=$ac_dir
  2386. + ac_install_sh="$ac_aux_dir/install-sh -c"
  2387. + break
  2388. + elif test -f "$ac_dir/install.sh"; then
  2389. + ac_aux_dir=$ac_dir
  2390. + ac_install_sh="$ac_aux_dir/install.sh -c"
  2391. + break
  2392. + elif test -f "$ac_dir/shtool"; then
  2393. + ac_aux_dir=$ac_dir
  2394. + ac_install_sh="$ac_aux_dir/shtool install -c"
  2395. + break
  2396. + fi
  2397. +done
  2398. +if test -z "$ac_aux_dir"; then
  2399. + as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
  2400. +fi
  2401. +
  2402. +# These three variables are undocumented and unsupported,
  2403. +# and are intended to be withdrawn in a future Autoconf release.
  2404. +# They can cause serious problems if a builder's source tree is in a directory
  2405. +# whose full name contains unusual characters.
  2406. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2407. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2408. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2409. +
  2410. +
  2411. +am__api_version='1.11'
  2412. +
  2413. +# Find a good install program. We prefer a C program (faster),
  2414. +# so one script is as good as another. But avoid the broken or
  2415. +# incompatible versions:
  2416. +# SysV /etc/install, /usr/sbin/install
  2417. +# SunOS /usr/etc/install
  2418. +# IRIX /sbin/install
  2419. +# AIX /bin/install
  2420. +# AmigaOS /C/install, which installs bootblocks on floppy discs
  2421. +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2422. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2423. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2424. +# OS/2's system install, which has a completely different semantic
  2425. +# ./install, which can be erroneously created by make from ./install.sh.
  2426. +# Reject install programs that cannot install multiple files.
  2427. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2428. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  2429. +if test -z "$INSTALL"; then
  2430. +if ${ac_cv_path_install+:} false; then :
  2431. + $as_echo_n "(cached) " >&6
  2432. +else
  2433. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2434. +for as_dir in $PATH
  2435. +do
  2436. + IFS=$as_save_IFS
  2437. + test -z "$as_dir" && as_dir=.
  2438. + # Account for people who put trailing slashes in PATH elements.
  2439. +case $as_dir/ in @%:@((
  2440. + ./ | .// | /[cC]/* | \
  2441. + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2442. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2443. + /usr/ucb/* ) ;;
  2444. + *)
  2445. + # OSF1 and SCO ODT 3.0 have their own names for install.
  2446. + # Don't use installbsd from OSF since it installs stuff as root
  2447. + # by default.
  2448. + for ac_prog in ginstall scoinst install; do
  2449. + for ac_exec_ext in '' $ac_executable_extensions; do
  2450. + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2451. + if test $ac_prog = install &&
  2452. + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2453. + # AIX install. It has an incompatible calling convention.
  2454. + :
  2455. + elif test $ac_prog = install &&
  2456. + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2457. + # program-specific install script used by HP pwplus--don't use.
  2458. + :
  2459. + else
  2460. + rm -rf conftest.one conftest.two conftest.dir
  2461. + echo one > conftest.one
  2462. + echo two > conftest.two
  2463. + mkdir conftest.dir
  2464. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2465. + test -s conftest.one && test -s conftest.two &&
  2466. + test -s conftest.dir/conftest.one &&
  2467. + test -s conftest.dir/conftest.two
  2468. + then
  2469. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2470. + break 3
  2471. + fi
  2472. + fi
  2473. + fi
  2474. + done
  2475. + done
  2476. + ;;
  2477. +esac
  2478. +
  2479. + done
  2480. +IFS=$as_save_IFS
  2481. +
  2482. +rm -rf conftest.one conftest.two conftest.dir
  2483. +
  2484. +fi
  2485. + if test "${ac_cv_path_install+set}" = set; then
  2486. + INSTALL=$ac_cv_path_install
  2487. + else
  2488. + # As a last resort, use the slow shell script. Don't cache a
  2489. + # value for INSTALL within a source directory, because that will
  2490. + # break other packages using the cache if that directory is
  2491. + # removed, or if the value is a relative name.
  2492. + INSTALL=$ac_install_sh
  2493. + fi
  2494. +fi
  2495. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2496. +$as_echo "$INSTALL" >&6; }
  2497. +
  2498. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2499. +# It thinks the first close brace ends the variable substitution.
  2500. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2501. +
  2502. +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2503. +
  2504. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2505. +
  2506. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2507. +$as_echo_n "checking whether build environment is sane... " >&6; }
  2508. +# Just in case
  2509. +sleep 1
  2510. +echo timestamp > conftest.file
  2511. +# Reject unsafe characters in $srcdir or the absolute working directory
  2512. +# name. Accept space and tab only in the latter.
  2513. +am_lf='
  2514. +'
  2515. +case `pwd` in
  2516. + *[\\\"\#\$\&\'\`$am_lf]*)
  2517. + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2518. +esac
  2519. +case $srcdir in
  2520. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2521. + as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  2522. +esac
  2523. +
  2524. +# Do `set' in a subshell so we don't clobber the current shell's
  2525. +# arguments. Must try -L first in case configure is actually a
  2526. +# symlink; some systems play weird games with the mod time of symlinks
  2527. +# (eg FreeBSD returns the mod time of the symlink's containing
  2528. +# directory).
  2529. +if (
  2530. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2531. + if test "$*" = "X"; then
  2532. + # -L didn't work.
  2533. + set X `ls -t "$srcdir/configure" conftest.file`
  2534. + fi
  2535. + rm -f conftest.file
  2536. + if test "$*" != "X $srcdir/configure conftest.file" \
  2537. + && test "$*" != "X conftest.file $srcdir/configure"; then
  2538. +
  2539. + # If neither matched, then we have a broken ls. This can happen
  2540. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  2541. + # broken ls alias from the environment. This has actually
  2542. + # happened. Such a system could not be considered "sane".
  2543. + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  2544. +alias in your environment" "$LINENO" 5
  2545. + fi
  2546. +
  2547. + test "$2" = conftest.file
  2548. + )
  2549. +then
  2550. + # Ok.
  2551. + :
  2552. +else
  2553. + as_fn_error $? "newly created file is older than distributed files!
  2554. +Check your system clock" "$LINENO" 5
  2555. +fi
  2556. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2557. +$as_echo "yes" >&6; }
  2558. +test "$program_prefix" != NONE &&
  2559. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2560. +# Use a double $ so make ignores it.
  2561. +test "$program_suffix" != NONE &&
  2562. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2563. +# Double any \ or $.
  2564. +# By default was `s,x,x', remove it if useless.
  2565. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2566. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2567. +
  2568. +# expand $ac_aux_dir to an absolute path
  2569. +am_aux_dir=`cd $ac_aux_dir && pwd`
  2570. +
  2571. +if test x"${MISSING+set}" != xset; then
  2572. + case $am_aux_dir in
  2573. + *\ * | *\ *)
  2574. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2575. + *)
  2576. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2577. + esac
  2578. +fi
  2579. +# Use eval to expand $SHELL
  2580. +if eval "$MISSING --run true"; then
  2581. + am_missing_run="$MISSING --run "
  2582. +else
  2583. + am_missing_run=
  2584. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  2585. +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2586. +fi
  2587. +
  2588. +if test x"${install_sh}" != xset; then
  2589. + case $am_aux_dir in
  2590. + *\ * | *\ *)
  2591. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2592. + *)
  2593. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  2594. + esac
  2595. +fi
  2596. +
  2597. +# Installed binaries are usually stripped using `strip' when the user
  2598. +# run `make install-strip'. However `strip' might not be the right
  2599. +# tool to use in cross-compilation environments, therefore Automake
  2600. +# will honor the `STRIP' environment variable to overrule this program.
  2601. +if test "$cross_compiling" != no; then
  2602. + if test -n "$ac_tool_prefix"; then
  2603. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2604. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  2605. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2606. +$as_echo_n "checking for $ac_word... " >&6; }
  2607. +if ${ac_cv_prog_STRIP+:} false; then :
  2608. + $as_echo_n "(cached) " >&6
  2609. +else
  2610. + if test -n "$STRIP"; then
  2611. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2612. +else
  2613. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2614. +for as_dir in $PATH
  2615. +do
  2616. + IFS=$as_save_IFS
  2617. + test -z "$as_dir" && as_dir=.
  2618. + for ac_exec_ext in '' $ac_executable_extensions; do
  2619. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2620. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2621. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2622. + break 2
  2623. + fi
  2624. +done
  2625. + done
  2626. +IFS=$as_save_IFS
  2627. +
  2628. +fi
  2629. +fi
  2630. +STRIP=$ac_cv_prog_STRIP
  2631. +if test -n "$STRIP"; then
  2632. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2633. +$as_echo "$STRIP" >&6; }
  2634. +else
  2635. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2636. +$as_echo "no" >&6; }
  2637. +fi
  2638. +
  2639. +
  2640. +fi
  2641. +if test -z "$ac_cv_prog_STRIP"; then
  2642. + ac_ct_STRIP=$STRIP
  2643. + # Extract the first word of "strip", so it can be a program name with args.
  2644. +set dummy strip; ac_word=$2
  2645. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2646. +$as_echo_n "checking for $ac_word... " >&6; }
  2647. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  2648. + $as_echo_n "(cached) " >&6
  2649. +else
  2650. + if test -n "$ac_ct_STRIP"; then
  2651. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2652. +else
  2653. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2654. +for as_dir in $PATH
  2655. +do
  2656. + IFS=$as_save_IFS
  2657. + test -z "$as_dir" && as_dir=.
  2658. + for ac_exec_ext in '' $ac_executable_extensions; do
  2659. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2660. + ac_cv_prog_ac_ct_STRIP="strip"
  2661. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2662. + break 2
  2663. + fi
  2664. +done
  2665. + done
  2666. +IFS=$as_save_IFS
  2667. +
  2668. +fi
  2669. +fi
  2670. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2671. +if test -n "$ac_ct_STRIP"; then
  2672. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2673. +$as_echo "$ac_ct_STRIP" >&6; }
  2674. +else
  2675. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2676. +$as_echo "no" >&6; }
  2677. +fi
  2678. +
  2679. + if test "x$ac_ct_STRIP" = x; then
  2680. + STRIP=":"
  2681. + else
  2682. + case $cross_compiling:$ac_tool_warned in
  2683. +yes:)
  2684. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2685. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2686. +ac_tool_warned=yes ;;
  2687. +esac
  2688. + STRIP=$ac_ct_STRIP
  2689. + fi
  2690. +else
  2691. + STRIP="$ac_cv_prog_STRIP"
  2692. +fi
  2693. +
  2694. +fi
  2695. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2696. +
  2697. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2698. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2699. +if test -z "$MKDIR_P"; then
  2700. + if ${ac_cv_path_mkdir+:} false; then :
  2701. + $as_echo_n "(cached) " >&6
  2702. +else
  2703. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2704. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2705. +do
  2706. + IFS=$as_save_IFS
  2707. + test -z "$as_dir" && as_dir=.
  2708. + for ac_prog in mkdir gmkdir; do
  2709. + for ac_exec_ext in '' $ac_executable_extensions; do
  2710. + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  2711. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2712. + 'mkdir (GNU coreutils) '* | \
  2713. + 'mkdir (coreutils) '* | \
  2714. + 'mkdir (fileutils) '4.1*)
  2715. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2716. + break 3;;
  2717. + esac
  2718. + done
  2719. + done
  2720. + done
  2721. +IFS=$as_save_IFS
  2722. +
  2723. +fi
  2724. +
  2725. + test -d ./--version && rmdir ./--version
  2726. + if test "${ac_cv_path_mkdir+set}" = set; then
  2727. + MKDIR_P="$ac_cv_path_mkdir -p"
  2728. + else
  2729. + # As a last resort, use the slow shell script. Don't cache a
  2730. + # value for MKDIR_P within a source directory, because that will
  2731. + # break other packages using the cache if that directory is
  2732. + # removed, or if the value is a relative name.
  2733. + MKDIR_P="$ac_install_sh -d"
  2734. + fi
  2735. +fi
  2736. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2737. +$as_echo "$MKDIR_P" >&6; }
  2738. +
  2739. +mkdir_p="$MKDIR_P"
  2740. +case $mkdir_p in
  2741. + [\\/$]* | ?:[\\/]*) ;;
  2742. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  2743. +esac
  2744. +
  2745. +for ac_prog in gawk mawk nawk awk
  2746. +do
  2747. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  2748. +set dummy $ac_prog; ac_word=$2
  2749. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2750. +$as_echo_n "checking for $ac_word... " >&6; }
  2751. +if ${ac_cv_prog_AWK+:} false; then :
  2752. + $as_echo_n "(cached) " >&6
  2753. +else
  2754. + if test -n "$AWK"; then
  2755. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2756. +else
  2757. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2758. +for as_dir in $PATH
  2759. +do
  2760. + IFS=$as_save_IFS
  2761. + test -z "$as_dir" && as_dir=.
  2762. + for ac_exec_ext in '' $ac_executable_extensions; do
  2763. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2764. + ac_cv_prog_AWK="$ac_prog"
  2765. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2766. + break 2
  2767. + fi
  2768. +done
  2769. + done
  2770. +IFS=$as_save_IFS
  2771. +
  2772. +fi
  2773. +fi
  2774. +AWK=$ac_cv_prog_AWK
  2775. +if test -n "$AWK"; then
  2776. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2777. +$as_echo "$AWK" >&6; }
  2778. +else
  2779. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2780. +$as_echo "no" >&6; }
  2781. +fi
  2782. +
  2783. +
  2784. + test -n "$AWK" && break
  2785. +done
  2786. +
  2787. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2788. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2789. +set x ${MAKE-make}
  2790. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2791. +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  2792. + $as_echo_n "(cached) " >&6
  2793. +else
  2794. + cat >conftest.make <<\_ACEOF
  2795. +SHELL = /bin/sh
  2796. +all:
  2797. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  2798. +_ACEOF
  2799. +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2800. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2801. + *@@@%%%=?*=@@@%%%*)
  2802. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  2803. + *)
  2804. + eval ac_cv_prog_make_${ac_make}_set=no;;
  2805. +esac
  2806. +rm -f conftest.make
  2807. +fi
  2808. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2809. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2810. +$as_echo "yes" >&6; }
  2811. + SET_MAKE=
  2812. +else
  2813. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2814. +$as_echo "no" >&6; }
  2815. + SET_MAKE="MAKE=${MAKE-make}"
  2816. +fi
  2817. +
  2818. +rm -rf .tst 2>/dev/null
  2819. +mkdir .tst 2>/dev/null
  2820. +if test -d .tst; then
  2821. + am__leading_dot=.
  2822. +else
  2823. + am__leading_dot=_
  2824. +fi
  2825. +rmdir .tst 2>/dev/null
  2826. +
  2827. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2828. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2829. + # is not polluted with repeated "-I."
  2830. + am__isrc=' -I$(srcdir)'
  2831. + # test to see if srcdir already configured
  2832. + if test -f $srcdir/config.status; then
  2833. + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2834. + fi
  2835. +fi
  2836. +
  2837. +# test whether we have cygpath
  2838. +if test -z "$CYGPATH_W"; then
  2839. + if (cygpath --version) >/dev/null 2>/dev/null; then
  2840. + CYGPATH_W='cygpath -w'
  2841. + else
  2842. + CYGPATH_W=echo
  2843. + fi
  2844. +fi
  2845. +
  2846. +
  2847. +# Define the identity of the package.
  2848. + PACKAGE='ulogd'
  2849. + VERSION='2.0.2'
  2850. +
  2851. +
  2852. +cat >>confdefs.h <<_ACEOF
  2853. +@%:@define PACKAGE "$PACKAGE"
  2854. +_ACEOF
  2855. +
  2856. +
  2857. +cat >>confdefs.h <<_ACEOF
  2858. +@%:@define VERSION "$VERSION"
  2859. +_ACEOF
  2860. +
  2861. +# Some tools Automake needs.
  2862. +
  2863. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2864. +
  2865. +
  2866. +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2867. +
  2868. +
  2869. +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2870. +
  2871. +
  2872. +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2873. +
  2874. +
  2875. +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2876. +
  2877. +# We need awk for the "check" target. The system "awk" is bad on
  2878. +# some platforms.
  2879. +# Always define AMTAR for backward compatibility. Yes, it's still used
  2880. +# in the wild :-( We should find a proper way to deprecate it ...
  2881. +AMTAR='$${TAR-tar}'
  2882. +
  2883. +
  2884. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
  2885. +$as_echo_n "checking how to create a pax tar archive... " >&6; }
  2886. +# Loop over all known methods to create a tar archive until one works.
  2887. +_am_tools='gnutar pax cpio none'
  2888. +_am_tools=${am_cv_prog_tar_pax-$_am_tools}
  2889. +# Do not fold the above two line into one, because Tru64 sh and
  2890. +# Solaris sh will not grok spaces in the rhs of `-'.
  2891. +for _am_tool in $_am_tools
  2892. +do
  2893. + case $_am_tool in
  2894. + gnutar)
  2895. + for _am_tar in tar gnutar gtar;
  2896. + do
  2897. + { echo "$as_me:$LINENO: $_am_tar --version" >&5
  2898. + ($_am_tar --version) >&5 2>&5
  2899. + ac_status=$?
  2900. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2901. + (exit $ac_status); } && break
  2902. + done
  2903. + am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
  2904. + am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
  2905. + am__untar="$_am_tar -xf -"
  2906. + ;;
  2907. + plaintar)
  2908. + # Must skip GNU tar: if it does not support --format= it doesn't create
  2909. + # ustar tarball either.
  2910. + (tar --version) >/dev/null 2>&1 && continue
  2911. + am__tar='tar chf - "$$tardir"'
  2912. + am__tar_='tar chf - "$tardir"'
  2913. + am__untar='tar xf -'
  2914. + ;;
  2915. + pax)
  2916. + am__tar='pax -L -x pax -w "$$tardir"'
  2917. + am__tar_='pax -L -x pax -w "$tardir"'
  2918. + am__untar='pax -r'
  2919. + ;;
  2920. + cpio)
  2921. + am__tar='find "$$tardir" -print | cpio -o -H pax -L'
  2922. + am__tar_='find "$tardir" -print | cpio -o -H pax -L'
  2923. + am__untar='cpio -i -H pax -d'
  2924. + ;;
  2925. + none)
  2926. + am__tar=false
  2927. + am__tar_=false
  2928. + am__untar=false
  2929. + ;;
  2930. + esac
  2931. +
  2932. + # If the value was cached, stop now. We just wanted to have am__tar
  2933. + # and am__untar set.
  2934. + test -n "${am_cv_prog_tar_pax}" && break
  2935. +
  2936. + # tar/untar a dummy directory, and stop if the command works
  2937. + rm -rf conftest.dir
  2938. + mkdir conftest.dir
  2939. + echo GrepMe > conftest.dir/file
  2940. + { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
  2941. + (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
  2942. + ac_status=$?
  2943. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2944. + (exit $ac_status); }
  2945. + rm -rf conftest.dir
  2946. + if test -s conftest.tar; then
  2947. + { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
  2948. + ($am__untar <conftest.tar) >&5 2>&5
  2949. + ac_status=$?
  2950. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2951. + (exit $ac_status); }
  2952. + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  2953. + fi
  2954. +done
  2955. +rm -rf conftest.dir
  2956. +
  2957. +if ${am_cv_prog_tar_pax+:} false; then :
  2958. + $as_echo_n "(cached) " >&6
  2959. +else
  2960. + am_cv_prog_tar_pax=$_am_tool
  2961. +fi
  2962. +
  2963. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
  2964. +$as_echo "$am_cv_prog_tar_pax" >&6; }
  2965. +
  2966. +
  2967. +
  2968. +
  2969. +
  2970. +ac_config_headers="$ac_config_headers config.h"
  2971. +
  2972. +
  2973. +
  2974. +DEPDIR="${am__leading_dot}deps"
  2975. +
  2976. +ac_config_commands="$ac_config_commands depfiles"
  2977. +
  2978. +
  2979. +am_make=${MAKE-make}
  2980. +cat > confinc << 'END'
  2981. +am__doit:
  2982. + @echo this is the am__doit target
  2983. +.PHONY: am__doit
  2984. +END
  2985. +# If we don't find an include directive, just comment out the code.
  2986. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  2987. +$as_echo_n "checking for style of include used by $am_make... " >&6; }
  2988. +am__include="#"
  2989. +am__quote=
  2990. +_am_result=none
  2991. +# First try GNU make style include.
  2992. +echo "include confinc" > confmf
  2993. +# Ignore all kinds of additional output from `make'.
  2994. +case `$am_make -s -f confmf 2> /dev/null` in #(
  2995. +*the\ am__doit\ target*)
  2996. + am__include=include
  2997. + am__quote=
  2998. + _am_result=GNU
  2999. + ;;
  3000. +esac
  3001. +# Now try BSD make style include.
  3002. +if test "$am__include" = "#"; then
  3003. + echo '.include "confinc"' > confmf
  3004. + case `$am_make -s -f confmf 2> /dev/null` in #(
  3005. + *the\ am__doit\ target*)
  3006. + am__include=.include
  3007. + am__quote="\""
  3008. + _am_result=BSD
  3009. + ;;
  3010. + esac
  3011. +fi
  3012. +
  3013. +
  3014. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  3015. +$as_echo "$_am_result" >&6; }
  3016. +rm -f confinc confmf
  3017. +
  3018. +@%:@ Check whether --enable-dependency-tracking was given.
  3019. +if test "${enable_dependency_tracking+set}" = set; then :
  3020. + enableval=$enable_dependency_tracking;
  3021. +fi
  3022. +
  3023. +if test "x$enable_dependency_tracking" != xno; then
  3024. + am_depcomp="$ac_aux_dir/depcomp"
  3025. + AMDEPBACKSLASH='\'
  3026. + am__nodep='_no'
  3027. +fi
  3028. + if test "x$enable_dependency_tracking" != xno; then
  3029. + AMDEP_TRUE=
  3030. + AMDEP_FALSE='#'
  3031. +else
  3032. + AMDEP_TRUE='#'
  3033. + AMDEP_FALSE=
  3034. +fi
  3035. +
  3036. +
  3037. +ac_ext=c
  3038. +ac_cpp='$CPP $CPPFLAGS'
  3039. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3040. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3041. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3042. +if test -n "$ac_tool_prefix"; then
  3043. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3044. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3045. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3046. +$as_echo_n "checking for $ac_word... " >&6; }
  3047. +if ${ac_cv_prog_CC+:} false; then :
  3048. + $as_echo_n "(cached) " >&6
  3049. +else
  3050. + if test -n "$CC"; then
  3051. + ac_cv_prog_CC="$CC" # Let the user override the test.
  3052. +else
  3053. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3054. +for as_dir in $PATH
  3055. +do
  3056. + IFS=$as_save_IFS
  3057. + test -z "$as_dir" && as_dir=.
  3058. + for ac_exec_ext in '' $ac_executable_extensions; do
  3059. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3060. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3061. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3062. + break 2
  3063. + fi
  3064. +done
  3065. + done
  3066. +IFS=$as_save_IFS
  3067. +
  3068. +fi
  3069. +fi
  3070. +CC=$ac_cv_prog_CC
  3071. +if test -n "$CC"; then
  3072. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3073. +$as_echo "$CC" >&6; }
  3074. +else
  3075. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3076. +$as_echo "no" >&6; }
  3077. +fi
  3078. +
  3079. +
  3080. +fi
  3081. +if test -z "$ac_cv_prog_CC"; then
  3082. + ac_ct_CC=$CC
  3083. + # Extract the first word of "gcc", so it can be a program name with args.
  3084. +set dummy gcc; ac_word=$2
  3085. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3086. +$as_echo_n "checking for $ac_word... " >&6; }
  3087. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3088. + $as_echo_n "(cached) " >&6
  3089. +else
  3090. + if test -n "$ac_ct_CC"; then
  3091. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3092. +else
  3093. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3094. +for as_dir in $PATH
  3095. +do
  3096. + IFS=$as_save_IFS
  3097. + test -z "$as_dir" && as_dir=.
  3098. + for ac_exec_ext in '' $ac_executable_extensions; do
  3099. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3100. + ac_cv_prog_ac_ct_CC="gcc"
  3101. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3102. + break 2
  3103. + fi
  3104. +done
  3105. + done
  3106. +IFS=$as_save_IFS
  3107. +
  3108. +fi
  3109. +fi
  3110. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3111. +if test -n "$ac_ct_CC"; then
  3112. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3113. +$as_echo "$ac_ct_CC" >&6; }
  3114. +else
  3115. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3116. +$as_echo "no" >&6; }
  3117. +fi
  3118. +
  3119. + if test "x$ac_ct_CC" = x; then
  3120. + CC=""
  3121. + else
  3122. + case $cross_compiling:$ac_tool_warned in
  3123. +yes:)
  3124. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3125. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3126. +ac_tool_warned=yes ;;
  3127. +esac
  3128. + CC=$ac_ct_CC
  3129. + fi
  3130. +else
  3131. + CC="$ac_cv_prog_CC"
  3132. +fi
  3133. +
  3134. +if test -z "$CC"; then
  3135. + if test -n "$ac_tool_prefix"; then
  3136. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3137. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  3138. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3139. +$as_echo_n "checking for $ac_word... " >&6; }
  3140. +if ${ac_cv_prog_CC+:} false; then :
  3141. + $as_echo_n "(cached) " >&6
  3142. +else
  3143. + if test -n "$CC"; then
  3144. + ac_cv_prog_CC="$CC" # Let the user override the test.
  3145. +else
  3146. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3147. +for as_dir in $PATH
  3148. +do
  3149. + IFS=$as_save_IFS
  3150. + test -z "$as_dir" && as_dir=.
  3151. + for ac_exec_ext in '' $ac_executable_extensions; do
  3152. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3153. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  3154. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3155. + break 2
  3156. + fi
  3157. +done
  3158. + done
  3159. +IFS=$as_save_IFS
  3160. +
  3161. +fi
  3162. +fi
  3163. +CC=$ac_cv_prog_CC
  3164. +if test -n "$CC"; then
  3165. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3166. +$as_echo "$CC" >&6; }
  3167. +else
  3168. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3169. +$as_echo "no" >&6; }
  3170. +fi
  3171. +
  3172. +
  3173. + fi
  3174. +fi
  3175. +if test -z "$CC"; then
  3176. + # Extract the first word of "cc", so it can be a program name with args.
  3177. +set dummy cc; ac_word=$2
  3178. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3179. +$as_echo_n "checking for $ac_word... " >&6; }
  3180. +if ${ac_cv_prog_CC+:} false; then :
  3181. + $as_echo_n "(cached) " >&6
  3182. +else
  3183. + if test -n "$CC"; then
  3184. + ac_cv_prog_CC="$CC" # Let the user override the test.
  3185. +else
  3186. + ac_prog_rejected=no
  3187. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3188. +for as_dir in $PATH
  3189. +do
  3190. + IFS=$as_save_IFS
  3191. + test -z "$as_dir" && as_dir=.
  3192. + for ac_exec_ext in '' $ac_executable_extensions; do
  3193. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3194. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3195. + ac_prog_rejected=yes
  3196. + continue
  3197. + fi
  3198. + ac_cv_prog_CC="cc"
  3199. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3200. + break 2
  3201. + fi
  3202. +done
  3203. + done
  3204. +IFS=$as_save_IFS
  3205. +
  3206. +if test $ac_prog_rejected = yes; then
  3207. + # We found a bogon in the path, so make sure we never use it.
  3208. + set dummy $ac_cv_prog_CC
  3209. + shift
  3210. + if test $@%:@ != 0; then
  3211. + # We chose a different compiler from the bogus one.
  3212. + # However, it has the same basename, so the bogon will be chosen
  3213. + # first if we set CC to just the basename; use the full file name.
  3214. + shift
  3215. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3216. + fi
  3217. +fi
  3218. +fi
  3219. +fi
  3220. +CC=$ac_cv_prog_CC
  3221. +if test -n "$CC"; then
  3222. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3223. +$as_echo "$CC" >&6; }
  3224. +else
  3225. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3226. +$as_echo "no" >&6; }
  3227. +fi
  3228. +
  3229. +
  3230. +fi
  3231. +if test -z "$CC"; then
  3232. + if test -n "$ac_tool_prefix"; then
  3233. + for ac_prog in cl.exe
  3234. + do
  3235. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3236. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3237. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3238. +$as_echo_n "checking for $ac_word... " >&6; }
  3239. +if ${ac_cv_prog_CC+:} false; then :
  3240. + $as_echo_n "(cached) " >&6
  3241. +else
  3242. + if test -n "$CC"; then
  3243. + ac_cv_prog_CC="$CC" # Let the user override the test.
  3244. +else
  3245. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3246. +for as_dir in $PATH
  3247. +do
  3248. + IFS=$as_save_IFS
  3249. + test -z "$as_dir" && as_dir=.
  3250. + for ac_exec_ext in '' $ac_executable_extensions; do
  3251. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3252. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3253. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3254. + break 2
  3255. + fi
  3256. +done
  3257. + done
  3258. +IFS=$as_save_IFS
  3259. +
  3260. +fi
  3261. +fi
  3262. +CC=$ac_cv_prog_CC
  3263. +if test -n "$CC"; then
  3264. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3265. +$as_echo "$CC" >&6; }
  3266. +else
  3267. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3268. +$as_echo "no" >&6; }
  3269. +fi
  3270. +
  3271. +
  3272. + test -n "$CC" && break
  3273. + done
  3274. +fi
  3275. +if test -z "$CC"; then
  3276. + ac_ct_CC=$CC
  3277. + for ac_prog in cl.exe
  3278. +do
  3279. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  3280. +set dummy $ac_prog; ac_word=$2
  3281. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3282. +$as_echo_n "checking for $ac_word... " >&6; }
  3283. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3284. + $as_echo_n "(cached) " >&6
  3285. +else
  3286. + if test -n "$ac_ct_CC"; then
  3287. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3288. +else
  3289. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3290. +for as_dir in $PATH
  3291. +do
  3292. + IFS=$as_save_IFS
  3293. + test -z "$as_dir" && as_dir=.
  3294. + for ac_exec_ext in '' $ac_executable_extensions; do
  3295. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3296. + ac_cv_prog_ac_ct_CC="$ac_prog"
  3297. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3298. + break 2
  3299. + fi
  3300. +done
  3301. + done
  3302. +IFS=$as_save_IFS
  3303. +
  3304. +fi
  3305. +fi
  3306. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3307. +if test -n "$ac_ct_CC"; then
  3308. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3309. +$as_echo "$ac_ct_CC" >&6; }
  3310. +else
  3311. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3312. +$as_echo "no" >&6; }
  3313. +fi
  3314. +
  3315. +
  3316. + test -n "$ac_ct_CC" && break
  3317. +done
  3318. +
  3319. + if test "x$ac_ct_CC" = x; then
  3320. + CC=""
  3321. + else
  3322. + case $cross_compiling:$ac_tool_warned in
  3323. +yes:)
  3324. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3325. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3326. +ac_tool_warned=yes ;;
  3327. +esac
  3328. + CC=$ac_ct_CC
  3329. + fi
  3330. +fi
  3331. +
  3332. +fi
  3333. +
  3334. +
  3335. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3336. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3337. +as_fn_error $? "no acceptable C compiler found in \$PATH
  3338. +See \`config.log' for more details" "$LINENO" 5; }
  3339. +
  3340. +# Provide some information about the compiler.
  3341. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3342. +set X $ac_compile
  3343. +ac_compiler=$2
  3344. +for ac_option in --version -v -V -qversion; do
  3345. + { { ac_try="$ac_compiler $ac_option >&5"
  3346. +case "(($ac_try" in
  3347. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3348. + *) ac_try_echo=$ac_try;;
  3349. +esac
  3350. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3351. +$as_echo "$ac_try_echo"; } >&5
  3352. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3353. + ac_status=$?
  3354. + if test -s conftest.err; then
  3355. + sed '10a\
  3356. +... rest of stderr output deleted ...
  3357. + 10q' conftest.err >conftest.er1
  3358. + cat conftest.er1 >&5
  3359. + fi
  3360. + rm -f conftest.er1 conftest.err
  3361. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3362. + test $ac_status = 0; }
  3363. +done
  3364. +
  3365. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3366. +/* end confdefs.h. */
  3367. +
  3368. +int
  3369. +main ()
  3370. +{
  3371. +
  3372. + ;
  3373. + return 0;
  3374. +}
  3375. +_ACEOF
  3376. +ac_clean_files_save=$ac_clean_files
  3377. +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  3378. +# Try to create an executable without -o first, disregard a.out.
  3379. +# It will help us diagnose broken compilers, and finding out an intuition
  3380. +# of exeext.
  3381. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  3382. +$as_echo_n "checking whether the C compiler works... " >&6; }
  3383. +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3384. +
  3385. +# The possible output files:
  3386. +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3387. +
  3388. +ac_rmfiles=
  3389. +for ac_file in $ac_files
  3390. +do
  3391. + case $ac_file in
  3392. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3393. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3394. + esac
  3395. +done
  3396. +rm -f $ac_rmfiles
  3397. +
  3398. +if { { ac_try="$ac_link_default"
  3399. +case "(($ac_try" in
  3400. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3401. + *) ac_try_echo=$ac_try;;
  3402. +esac
  3403. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3404. +$as_echo "$ac_try_echo"; } >&5
  3405. + (eval "$ac_link_default") 2>&5
  3406. + ac_status=$?
  3407. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3408. + test $ac_status = 0; }; then :
  3409. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3410. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3411. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  3412. +# so that the user can short-circuit this test for compilers unknown to
  3413. +# Autoconf.
  3414. +for ac_file in $ac_files ''
  3415. +do
  3416. + test -f "$ac_file" || continue
  3417. + case $ac_file in
  3418. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3419. + ;;
  3420. + [ab].out )
  3421. + # We found the default executable, but exeext='' is most
  3422. + # certainly right.
  3423. + break;;
  3424. + *.* )
  3425. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3426. + then :; else
  3427. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3428. + fi
  3429. + # We set ac_cv_exeext here because the later test for it is not
  3430. + # safe: cross compilers may not add the suffix if given an `-o'
  3431. + # argument, so we may need to know it at that point already.
  3432. + # Even if this section looks crufty: it has the advantage of
  3433. + # actually working.
  3434. + break;;
  3435. + * )
  3436. + break;;
  3437. + esac
  3438. +done
  3439. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  3440. +
  3441. +else
  3442. + ac_file=''
  3443. +fi
  3444. +if test -z "$ac_file"; then :
  3445. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3446. +$as_echo "no" >&6; }
  3447. +$as_echo "$as_me: failed program was:" >&5
  3448. +sed 's/^/| /' conftest.$ac_ext >&5
  3449. +
  3450. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3451. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3452. +as_fn_error 77 "C compiler cannot create executables
  3453. +See \`config.log' for more details" "$LINENO" 5; }
  3454. +else
  3455. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3456. +$as_echo "yes" >&6; }
  3457. +fi
  3458. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3459. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  3460. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3461. +$as_echo "$ac_file" >&6; }
  3462. +ac_exeext=$ac_cv_exeext
  3463. +
  3464. +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3465. +ac_clean_files=$ac_clean_files_save
  3466. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3467. +$as_echo_n "checking for suffix of executables... " >&6; }
  3468. +if { { ac_try="$ac_link"
  3469. +case "(($ac_try" in
  3470. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3471. + *) ac_try_echo=$ac_try;;
  3472. +esac
  3473. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3474. +$as_echo "$ac_try_echo"; } >&5
  3475. + (eval "$ac_link") 2>&5
  3476. + ac_status=$?
  3477. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3478. + test $ac_status = 0; }; then :
  3479. + # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3480. +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  3481. +# work properly (i.e., refer to `conftest.exe'), while it won't with
  3482. +# `rm'.
  3483. +for ac_file in conftest.exe conftest conftest.*; do
  3484. + test -f "$ac_file" || continue
  3485. + case $ac_file in
  3486. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3487. + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3488. + break;;
  3489. + * ) break;;
  3490. + esac
  3491. +done
  3492. +else
  3493. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3494. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3495. +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3496. +See \`config.log' for more details" "$LINENO" 5; }
  3497. +fi
  3498. +rm -f conftest conftest$ac_cv_exeext
  3499. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3500. +$as_echo "$ac_cv_exeext" >&6; }
  3501. +
  3502. +rm -f conftest.$ac_ext
  3503. +EXEEXT=$ac_cv_exeext
  3504. +ac_exeext=$EXEEXT
  3505. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3506. +/* end confdefs.h. */
  3507. +@%:@include <stdio.h>
  3508. +int
  3509. +main ()
  3510. +{
  3511. +FILE *f = fopen ("conftest.out", "w");
  3512. + return ferror (f) || fclose (f) != 0;
  3513. +
  3514. + ;
  3515. + return 0;
  3516. +}
  3517. +_ACEOF
  3518. +ac_clean_files="$ac_clean_files conftest.out"
  3519. +# Check that the compiler produces executables we can run. If not, either
  3520. +# the compiler is broken, or we cross compile.
  3521. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3522. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  3523. +if test "$cross_compiling" != yes; then
  3524. + { { ac_try="$ac_link"
  3525. +case "(($ac_try" in
  3526. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3527. + *) ac_try_echo=$ac_try;;
  3528. +esac
  3529. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3530. +$as_echo "$ac_try_echo"; } >&5
  3531. + (eval "$ac_link") 2>&5
  3532. + ac_status=$?
  3533. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3534. + test $ac_status = 0; }
  3535. + if { ac_try='./conftest$ac_cv_exeext'
  3536. + { { case "(($ac_try" in
  3537. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3538. + *) ac_try_echo=$ac_try;;
  3539. +esac
  3540. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3541. +$as_echo "$ac_try_echo"; } >&5
  3542. + (eval "$ac_try") 2>&5
  3543. + ac_status=$?
  3544. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3545. + test $ac_status = 0; }; }; then
  3546. + cross_compiling=no
  3547. + else
  3548. + if test "$cross_compiling" = maybe; then
  3549. + cross_compiling=yes
  3550. + else
  3551. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3552. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3553. +as_fn_error $? "cannot run C compiled programs.
  3554. +If you meant to cross compile, use \`--host'.
  3555. +See \`config.log' for more details" "$LINENO" 5; }
  3556. + fi
  3557. + fi
  3558. +fi
  3559. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3560. +$as_echo "$cross_compiling" >&6; }
  3561. +
  3562. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3563. +ac_clean_files=$ac_clean_files_save
  3564. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3565. +$as_echo_n "checking for suffix of object files... " >&6; }
  3566. +if ${ac_cv_objext+:} false; then :
  3567. + $as_echo_n "(cached) " >&6
  3568. +else
  3569. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3570. +/* end confdefs.h. */
  3571. +
  3572. +int
  3573. +main ()
  3574. +{
  3575. +
  3576. + ;
  3577. + return 0;
  3578. +}
  3579. +_ACEOF
  3580. +rm -f conftest.o conftest.obj
  3581. +if { { ac_try="$ac_compile"
  3582. +case "(($ac_try" in
  3583. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3584. + *) ac_try_echo=$ac_try;;
  3585. +esac
  3586. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3587. +$as_echo "$ac_try_echo"; } >&5
  3588. + (eval "$ac_compile") 2>&5
  3589. + ac_status=$?
  3590. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3591. + test $ac_status = 0; }; then :
  3592. + for ac_file in conftest.o conftest.obj conftest.*; do
  3593. + test -f "$ac_file" || continue;
  3594. + case $ac_file in
  3595. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3596. + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3597. + break;;
  3598. + esac
  3599. +done
  3600. +else
  3601. + $as_echo "$as_me: failed program was:" >&5
  3602. +sed 's/^/| /' conftest.$ac_ext >&5
  3603. +
  3604. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3605. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3606. +as_fn_error $? "cannot compute suffix of object files: cannot compile
  3607. +See \`config.log' for more details" "$LINENO" 5; }
  3608. +fi
  3609. +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3610. +fi
  3611. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3612. +$as_echo "$ac_cv_objext" >&6; }
  3613. +OBJEXT=$ac_cv_objext
  3614. +ac_objext=$OBJEXT
  3615. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3616. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3617. +if ${ac_cv_c_compiler_gnu+:} false; then :
  3618. + $as_echo_n "(cached) " >&6
  3619. +else
  3620. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3621. +/* end confdefs.h. */
  3622. +
  3623. +int
  3624. +main ()
  3625. +{
  3626. +#ifndef __GNUC__
  3627. + choke me
  3628. +#endif
  3629. +
  3630. + ;
  3631. + return 0;
  3632. +}
  3633. +_ACEOF
  3634. +if ac_fn_c_try_compile "$LINENO"; then :
  3635. + ac_compiler_gnu=yes
  3636. +else
  3637. + ac_compiler_gnu=no
  3638. +fi
  3639. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3640. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3641. +
  3642. +fi
  3643. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3644. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3645. +if test $ac_compiler_gnu = yes; then
  3646. + GCC=yes
  3647. +else
  3648. + GCC=
  3649. +fi
  3650. +ac_test_CFLAGS=${CFLAGS+set}
  3651. +ac_save_CFLAGS=$CFLAGS
  3652. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3653. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  3654. +if ${ac_cv_prog_cc_g+:} false; then :
  3655. + $as_echo_n "(cached) " >&6
  3656. +else
  3657. + ac_save_c_werror_flag=$ac_c_werror_flag
  3658. + ac_c_werror_flag=yes
  3659. + ac_cv_prog_cc_g=no
  3660. + CFLAGS="-g"
  3661. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3662. +/* end confdefs.h. */
  3663. +
  3664. +int
  3665. +main ()
  3666. +{
  3667. +
  3668. + ;
  3669. + return 0;
  3670. +}
  3671. +_ACEOF
  3672. +if ac_fn_c_try_compile "$LINENO"; then :
  3673. + ac_cv_prog_cc_g=yes
  3674. +else
  3675. + CFLAGS=""
  3676. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3677. +/* end confdefs.h. */
  3678. +
  3679. +int
  3680. +main ()
  3681. +{
  3682. +
  3683. + ;
  3684. + return 0;
  3685. +}
  3686. +_ACEOF
  3687. +if ac_fn_c_try_compile "$LINENO"; then :
  3688. +
  3689. +else
  3690. + ac_c_werror_flag=$ac_save_c_werror_flag
  3691. + CFLAGS="-g"
  3692. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3693. +/* end confdefs.h. */
  3694. +
  3695. +int
  3696. +main ()
  3697. +{
  3698. +
  3699. + ;
  3700. + return 0;
  3701. +}
  3702. +_ACEOF
  3703. +if ac_fn_c_try_compile "$LINENO"; then :
  3704. + ac_cv_prog_cc_g=yes
  3705. +fi
  3706. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3707. +fi
  3708. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3709. +fi
  3710. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3711. + ac_c_werror_flag=$ac_save_c_werror_flag
  3712. +fi
  3713. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3714. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  3715. +if test "$ac_test_CFLAGS" = set; then
  3716. + CFLAGS=$ac_save_CFLAGS
  3717. +elif test $ac_cv_prog_cc_g = yes; then
  3718. + if test "$GCC" = yes; then
  3719. + CFLAGS="-g -O2"
  3720. + else
  3721. + CFLAGS="-g"
  3722. + fi
  3723. +else
  3724. + if test "$GCC" = yes; then
  3725. + CFLAGS="-O2"
  3726. + else
  3727. + CFLAGS=
  3728. + fi
  3729. +fi
  3730. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3731. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3732. +if ${ac_cv_prog_cc_c89+:} false; then :
  3733. + $as_echo_n "(cached) " >&6
  3734. +else
  3735. + ac_cv_prog_cc_c89=no
  3736. +ac_save_CC=$CC
  3737. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3738. +/* end confdefs.h. */
  3739. +#include <stdarg.h>
  3740. +#include <stdio.h>
  3741. +#include <sys/types.h>
  3742. +#include <sys/stat.h>
  3743. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3744. +struct buf { int x; };
  3745. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3746. +static char *e (p, i)
  3747. + char **p;
  3748. + int i;
  3749. +{
  3750. + return p[i];
  3751. +}
  3752. +static char *f (char * (*g) (char **, int), char **p, ...)
  3753. +{
  3754. + char *s;
  3755. + va_list v;
  3756. + va_start (v,p);
  3757. + s = g (p, va_arg (v,int));
  3758. + va_end (v);
  3759. + return s;
  3760. +}
  3761. +
  3762. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3763. + function prototypes and stuff, but not '\xHH' hex character constants.
  3764. + These don't provoke an error unfortunately, instead are silently treated
  3765. + as 'x'. The following induces an error, until -std is added to get
  3766. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3767. + array size at least. It's necessary to write '\x00'==0 to get something
  3768. + that's true only with -std. */
  3769. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3770. +
  3771. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3772. + inside strings and character constants. */
  3773. +#define FOO(x) 'x'
  3774. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3775. +
  3776. +int test (int i, double x);
  3777. +struct s1 {int (*f) (int a);};
  3778. +struct s2 {int (*f) (double a);};
  3779. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3780. +int argc;
  3781. +char **argv;
  3782. +int
  3783. +main ()
  3784. +{
  3785. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3786. + ;
  3787. + return 0;
  3788. +}
  3789. +_ACEOF
  3790. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3791. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3792. +do
  3793. + CC="$ac_save_CC $ac_arg"
  3794. + if ac_fn_c_try_compile "$LINENO"; then :
  3795. + ac_cv_prog_cc_c89=$ac_arg
  3796. +fi
  3797. +rm -f core conftest.err conftest.$ac_objext
  3798. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  3799. +done
  3800. +rm -f conftest.$ac_ext
  3801. +CC=$ac_save_CC
  3802. +
  3803. +fi
  3804. +# AC_CACHE_VAL
  3805. +case "x$ac_cv_prog_cc_c89" in
  3806. + x)
  3807. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3808. +$as_echo "none needed" >&6; } ;;
  3809. + xno)
  3810. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3811. +$as_echo "unsupported" >&6; } ;;
  3812. + *)
  3813. + CC="$CC $ac_cv_prog_cc_c89"
  3814. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3815. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3816. +esac
  3817. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  3818. +
  3819. +fi
  3820. +
  3821. +ac_ext=c
  3822. +ac_cpp='$CPP $CPPFLAGS'
  3823. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3824. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3825. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3826. +
  3827. +depcc="$CC" am_compiler_list=
  3828. +
  3829. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3830. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  3831. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  3832. + $as_echo_n "(cached) " >&6
  3833. +else
  3834. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3835. + # We make a subdir and do the tests there. Otherwise we can end up
  3836. + # making bogus files that we don't know about and never remove. For
  3837. + # instance it was reported that on HP-UX the gcc test will end up
  3838. + # making a dummy file named `D' -- because `-MD' means `put the output
  3839. + # in D'.
  3840. + rm -rf conftest.dir
  3841. + mkdir conftest.dir
  3842. + # Copy depcomp to subdir because otherwise we won't find it if we're
  3843. + # using a relative directory.
  3844. + cp "$am_depcomp" conftest.dir
  3845. + cd conftest.dir
  3846. + # We will build objects and dependencies in a subdirectory because
  3847. + # it helps to detect inapplicable dependency modes. For instance
  3848. + # both Tru64's cc and ICC support -MD to output dependencies as a
  3849. + # side effect of compilation, but ICC will put the dependencies in
  3850. + # the current directory while Tru64 will put them in the object
  3851. + # directory.
  3852. + mkdir sub
  3853. +
  3854. + am_cv_CC_dependencies_compiler_type=none
  3855. + if test "$am_compiler_list" = ""; then
  3856. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3857. + fi
  3858. + am__universal=false
  3859. + case " $depcc " in #(
  3860. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3861. + esac
  3862. +
  3863. + for depmode in $am_compiler_list; do
  3864. + # Setup a source with many dependencies, because some compilers
  3865. + # like to wrap large dependency lists on column 80 (with \), and
  3866. + # we should not choose a depcomp mode which is confused by this.
  3867. + #
  3868. + # We need to recreate these files for each test, as the compiler may
  3869. + # overwrite some of them when testing with obscure command lines.
  3870. + # This happens at least with the AIX C compiler.
  3871. + : > sub/conftest.c
  3872. + for i in 1 2 3 4 5 6; do
  3873. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3874. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3875. + # Solaris 8's {/usr,}/bin/sh.
  3876. + touch sub/conftst$i.h
  3877. + done
  3878. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3879. +
  3880. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3881. + # mode. It turns out that the SunPro C++ compiler does not properly
  3882. + # handle `-M -o', and we need to detect this. Also, some Intel
  3883. + # versions had trouble with output in subdirs
  3884. + am__obj=sub/conftest.${OBJEXT-o}
  3885. + am__minus_obj="-o $am__obj"
  3886. + case $depmode in
  3887. + gcc)
  3888. + # This depmode causes a compiler race in universal mode.
  3889. + test "$am__universal" = false || continue
  3890. + ;;
  3891. + nosideeffect)
  3892. + # after this tag, mechanisms are not by side-effect, so they'll
  3893. + # only be used when explicitly requested
  3894. + if test "x$enable_dependency_tracking" = xyes; then
  3895. + continue
  3896. + else
  3897. + break
  3898. + fi
  3899. + ;;
  3900. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  3901. + # This compiler won't grok `-c -o', but also, the minuso test has
  3902. + # not run yet. These depmodes are late enough in the game, and
  3903. + # so weak that their functioning should not be impacted.
  3904. + am__obj=conftest.${OBJEXT-o}
  3905. + am__minus_obj=
  3906. + ;;
  3907. + none) break ;;
  3908. + esac
  3909. + if depmode=$depmode \
  3910. + source=sub/conftest.c object=$am__obj \
  3911. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3912. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3913. + >/dev/null 2>conftest.err &&
  3914. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3915. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3916. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3917. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3918. + # icc doesn't choke on unknown options, it will just issue warnings
  3919. + # or remarks (even with -Werror). So we grep stderr for any message
  3920. + # that says an option was ignored or not supported.
  3921. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  3922. + # icc: Command line warning: ignoring option '-M'; no argument required
  3923. + # The diagnosis changed in icc 8.0:
  3924. + # icc: Command line remark: option '-MP' not supported
  3925. + if (grep 'ignoring option' conftest.err ||
  3926. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3927. + am_cv_CC_dependencies_compiler_type=$depmode
  3928. + break
  3929. + fi
  3930. + fi
  3931. + done
  3932. +
  3933. + cd ..
  3934. + rm -rf conftest.dir
  3935. +else
  3936. + am_cv_CC_dependencies_compiler_type=none
  3937. +fi
  3938. +
  3939. +fi
  3940. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  3941. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3942. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3943. +
  3944. + if
  3945. + test "x$enable_dependency_tracking" != xno \
  3946. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3947. + am__fastdepCC_TRUE=
  3948. + am__fastdepCC_FALSE='#'
  3949. +else
  3950. + am__fastdepCC_TRUE='#'
  3951. + am__fastdepCC_FALSE=
  3952. +fi
  3953. +
  3954. +
  3955. +
  3956. +if test -n "$ac_tool_prefix"; then
  3957. + for ac_prog in ar lib "link -lib"
  3958. + do
  3959. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3960. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3961. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3962. +$as_echo_n "checking for $ac_word... " >&6; }
  3963. +if ${ac_cv_prog_AR+:} false; then :
  3964. + $as_echo_n "(cached) " >&6
  3965. +else
  3966. + if test -n "$AR"; then
  3967. + ac_cv_prog_AR="$AR" # Let the user override the test.
  3968. +else
  3969. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3970. +for as_dir in $PATH
  3971. +do
  3972. + IFS=$as_save_IFS
  3973. + test -z "$as_dir" && as_dir=.
  3974. + for ac_exec_ext in '' $ac_executable_extensions; do
  3975. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3976. + ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  3977. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3978. + break 2
  3979. + fi
  3980. +done
  3981. + done
  3982. +IFS=$as_save_IFS
  3983. +
  3984. +fi
  3985. +fi
  3986. +AR=$ac_cv_prog_AR
  3987. +if test -n "$AR"; then
  3988. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  3989. +$as_echo "$AR" >&6; }
  3990. +else
  3991. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3992. +$as_echo "no" >&6; }
  3993. +fi
  3994. +
  3995. +
  3996. + test -n "$AR" && break
  3997. + done
  3998. +fi
  3999. +if test -z "$AR"; then
  4000. + ac_ct_AR=$AR
  4001. + for ac_prog in ar lib "link -lib"
  4002. +do
  4003. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  4004. +set dummy $ac_prog; ac_word=$2
  4005. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4006. +$as_echo_n "checking for $ac_word... " >&6; }
  4007. +if ${ac_cv_prog_ac_ct_AR+:} false; then :
  4008. + $as_echo_n "(cached) " >&6
  4009. +else
  4010. + if test -n "$ac_ct_AR"; then
  4011. + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  4012. +else
  4013. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4014. +for as_dir in $PATH
  4015. +do
  4016. + IFS=$as_save_IFS
  4017. + test -z "$as_dir" && as_dir=.
  4018. + for ac_exec_ext in '' $ac_executable_extensions; do
  4019. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4020. + ac_cv_prog_ac_ct_AR="$ac_prog"
  4021. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4022. + break 2
  4023. + fi
  4024. +done
  4025. + done
  4026. +IFS=$as_save_IFS
  4027. +
  4028. +fi
  4029. +fi
  4030. +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  4031. +if test -n "$ac_ct_AR"; then
  4032. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  4033. +$as_echo "$ac_ct_AR" >&6; }
  4034. +else
  4035. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4036. +$as_echo "no" >&6; }
  4037. +fi
  4038. +
  4039. +
  4040. + test -n "$ac_ct_AR" && break
  4041. +done
  4042. +
  4043. + if test "x$ac_ct_AR" = x; then
  4044. + AR="false"
  4045. + else
  4046. + case $cross_compiling:$ac_tool_warned in
  4047. +yes:)
  4048. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4049. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4050. +ac_tool_warned=yes ;;
  4051. +esac
  4052. + AR=$ac_ct_AR
  4053. + fi
  4054. +fi
  4055. +
  4056. +: ${AR=ar}
  4057. +
  4058. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
  4059. +$as_echo_n "checking the archiver ($AR) interface... " >&6; }
  4060. +if ${am_cv_ar_interface+:} false; then :
  4061. + $as_echo_n "(cached) " >&6
  4062. +else
  4063. + am_cv_ar_interface=ar
  4064. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4065. +/* end confdefs.h. */
  4066. +int some_variable = 0;
  4067. +_ACEOF
  4068. +if ac_fn_c_try_compile "$LINENO"; then :
  4069. + am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
  4070. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
  4071. + (eval $am_ar_try) 2>&5
  4072. + ac_status=$?
  4073. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4074. + test $ac_status = 0; }
  4075. + if test "$ac_status" -eq 0; then
  4076. + am_cv_ar_interface=ar
  4077. + else
  4078. + am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
  4079. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
  4080. + (eval $am_ar_try) 2>&5
  4081. + ac_status=$?
  4082. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4083. + test $ac_status = 0; }
  4084. + if test "$ac_status" -eq 0; then
  4085. + am_cv_ar_interface=lib
  4086. + else
  4087. + am_cv_ar_interface=unknown
  4088. + fi
  4089. + fi
  4090. + rm -f conftest.lib libconftest.a
  4091. +
  4092. +fi
  4093. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4094. +
  4095. +fi
  4096. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
  4097. +$as_echo "$am_cv_ar_interface" >&6; }
  4098. +
  4099. +case $am_cv_ar_interface in
  4100. +ar)
  4101. + ;;
  4102. +lib)
  4103. + # Microsoft lib, so override with the ar-lib wrapper script.
  4104. + # FIXME: It is wrong to rewrite AR.
  4105. + # But if we don't then we get into trouble of one sort or another.
  4106. + # A longer-term fix would be to have automake use am__AR in this case,
  4107. + # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
  4108. + # similar.
  4109. + AR="$am_aux_dir/ar-lib $AR"
  4110. + ;;
  4111. +unknown)
  4112. + as_fn_error $? "could not determine $AR interface" "$LINENO" 5
  4113. + ;;
  4114. +esac
  4115. +
  4116. +@%:@ Check whether --enable-silent-rules was given.
  4117. +if test "${enable_silent_rules+set}" = set; then :
  4118. + enableval=$enable_silent_rules;
  4119. +fi
  4120. +
  4121. +case $enable_silent_rules in
  4122. +yes) AM_DEFAULT_VERBOSITY=0;;
  4123. +no) AM_DEFAULT_VERBOSITY=1;;
  4124. +*) AM_DEFAULT_VERBOSITY=0;;
  4125. +esac
  4126. +am_make=${MAKE-make}
  4127. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  4128. +$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  4129. +if ${am_cv_make_support_nested_variables+:} false; then :
  4130. + $as_echo_n "(cached) " >&6
  4131. +else
  4132. + if $as_echo 'TRUE=$(BAR$(V))
  4133. +BAR0=false
  4134. +BAR1=true
  4135. +V=1
  4136. +am__doit:
  4137. + @$(TRUE)
  4138. +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  4139. + am_cv_make_support_nested_variables=yes
  4140. +else
  4141. + am_cv_make_support_nested_variables=no
  4142. +fi
  4143. +fi
  4144. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  4145. +$as_echo "$am_cv_make_support_nested_variables" >&6; }
  4146. +if test $am_cv_make_support_nested_variables = yes; then
  4147. + AM_V='$(V)'
  4148. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  4149. +else
  4150. + AM_V=$AM_DEFAULT_VERBOSITY
  4151. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  4152. +fi
  4153. +AM_BACKSLASH='\'
  4154. +
  4155. +
  4156. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  4157. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  4158. +set x ${MAKE-make}
  4159. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  4160. +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  4161. + $as_echo_n "(cached) " >&6
  4162. +else
  4163. + cat >conftest.make <<\_ACEOF
  4164. +SHELL = /bin/sh
  4165. +all:
  4166. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  4167. +_ACEOF
  4168. +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  4169. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  4170. + *@@@%%%=?*=@@@%%%*)
  4171. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  4172. + *)
  4173. + eval ac_cv_prog_make_${ac_make}_set=no;;
  4174. +esac
  4175. +rm -f conftest.make
  4176. +fi
  4177. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  4178. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4179. +$as_echo "yes" >&6; }
  4180. + SET_MAKE=
  4181. +else
  4182. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4183. +$as_echo "no" >&6; }
  4184. + SET_MAKE="MAKE=${MAKE-make}"
  4185. +fi
  4186. +
  4187. +ac_ext=c
  4188. +ac_cpp='$CPP $CPPFLAGS'
  4189. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4190. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4191. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4192. +if test -n "$ac_tool_prefix"; then
  4193. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4194. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4195. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4196. +$as_echo_n "checking for $ac_word... " >&6; }
  4197. +if ${ac_cv_prog_CC+:} false; then :
  4198. + $as_echo_n "(cached) " >&6
  4199. +else
  4200. + if test -n "$CC"; then
  4201. + ac_cv_prog_CC="$CC" # Let the user override the test.
  4202. +else
  4203. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4204. +for as_dir in $PATH
  4205. +do
  4206. + IFS=$as_save_IFS
  4207. + test -z "$as_dir" && as_dir=.
  4208. + for ac_exec_ext in '' $ac_executable_extensions; do
  4209. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4210. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4211. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4212. + break 2
  4213. + fi
  4214. +done
  4215. + done
  4216. +IFS=$as_save_IFS
  4217. +
  4218. +fi
  4219. +fi
  4220. +CC=$ac_cv_prog_CC
  4221. +if test -n "$CC"; then
  4222. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4223. +$as_echo "$CC" >&6; }
  4224. +else
  4225. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4226. +$as_echo "no" >&6; }
  4227. +fi
  4228. +
  4229. +
  4230. +fi
  4231. +if test -z "$ac_cv_prog_CC"; then
  4232. + ac_ct_CC=$CC
  4233. + # Extract the first word of "gcc", so it can be a program name with args.
  4234. +set dummy gcc; ac_word=$2
  4235. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4236. +$as_echo_n "checking for $ac_word... " >&6; }
  4237. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  4238. + $as_echo_n "(cached) " >&6
  4239. +else
  4240. + if test -n "$ac_ct_CC"; then
  4241. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4242. +else
  4243. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4244. +for as_dir in $PATH
  4245. +do
  4246. + IFS=$as_save_IFS
  4247. + test -z "$as_dir" && as_dir=.
  4248. + for ac_exec_ext in '' $ac_executable_extensions; do
  4249. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4250. + ac_cv_prog_ac_ct_CC="gcc"
  4251. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4252. + break 2
  4253. + fi
  4254. +done
  4255. + done
  4256. +IFS=$as_save_IFS
  4257. +
  4258. +fi
  4259. +fi
  4260. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4261. +if test -n "$ac_ct_CC"; then
  4262. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4263. +$as_echo "$ac_ct_CC" >&6; }
  4264. +else
  4265. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4266. +$as_echo "no" >&6; }
  4267. +fi
  4268. +
  4269. + if test "x$ac_ct_CC" = x; then
  4270. + CC=""
  4271. + else
  4272. + case $cross_compiling:$ac_tool_warned in
  4273. +yes:)
  4274. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4275. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4276. +ac_tool_warned=yes ;;
  4277. +esac
  4278. + CC=$ac_ct_CC
  4279. + fi
  4280. +else
  4281. + CC="$ac_cv_prog_CC"
  4282. +fi
  4283. +
  4284. +if test -z "$CC"; then
  4285. + if test -n "$ac_tool_prefix"; then
  4286. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4287. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  4288. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4289. +$as_echo_n "checking for $ac_word... " >&6; }
  4290. +if ${ac_cv_prog_CC+:} false; then :
  4291. + $as_echo_n "(cached) " >&6
  4292. +else
  4293. + if test -n "$CC"; then
  4294. + ac_cv_prog_CC="$CC" # Let the user override the test.
  4295. +else
  4296. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4297. +for as_dir in $PATH
  4298. +do
  4299. + IFS=$as_save_IFS
  4300. + test -z "$as_dir" && as_dir=.
  4301. + for ac_exec_ext in '' $ac_executable_extensions; do
  4302. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4303. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  4304. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4305. + break 2
  4306. + fi
  4307. +done
  4308. + done
  4309. +IFS=$as_save_IFS
  4310. +
  4311. +fi
  4312. +fi
  4313. +CC=$ac_cv_prog_CC
  4314. +if test -n "$CC"; then
  4315. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4316. +$as_echo "$CC" >&6; }
  4317. +else
  4318. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4319. +$as_echo "no" >&6; }
  4320. +fi
  4321. +
  4322. +
  4323. + fi
  4324. +fi
  4325. +if test -z "$CC"; then
  4326. + # Extract the first word of "cc", so it can be a program name with args.
  4327. +set dummy cc; ac_word=$2
  4328. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4329. +$as_echo_n "checking for $ac_word... " >&6; }
  4330. +if ${ac_cv_prog_CC+:} false; then :
  4331. + $as_echo_n "(cached) " >&6
  4332. +else
  4333. + if test -n "$CC"; then
  4334. + ac_cv_prog_CC="$CC" # Let the user override the test.
  4335. +else
  4336. + ac_prog_rejected=no
  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. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4345. + ac_prog_rejected=yes
  4346. + continue
  4347. + fi
  4348. + ac_cv_prog_CC="cc"
  4349. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4350. + break 2
  4351. + fi
  4352. +done
  4353. + done
  4354. +IFS=$as_save_IFS
  4355. +
  4356. +if test $ac_prog_rejected = yes; then
  4357. + # We found a bogon in the path, so make sure we never use it.
  4358. + set dummy $ac_cv_prog_CC
  4359. + shift
  4360. + if test $@%:@ != 0; then
  4361. + # We chose a different compiler from the bogus one.
  4362. + # However, it has the same basename, so the bogon will be chosen
  4363. + # first if we set CC to just the basename; use the full file name.
  4364. + shift
  4365. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4366. + fi
  4367. +fi
  4368. +fi
  4369. +fi
  4370. +CC=$ac_cv_prog_CC
  4371. +if test -n "$CC"; then
  4372. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4373. +$as_echo "$CC" >&6; }
  4374. +else
  4375. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4376. +$as_echo "no" >&6; }
  4377. +fi
  4378. +
  4379. +
  4380. +fi
  4381. +if test -z "$CC"; then
  4382. + if test -n "$ac_tool_prefix"; then
  4383. + for ac_prog in cl.exe
  4384. + do
  4385. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4386. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4387. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4388. +$as_echo_n "checking for $ac_word... " >&6; }
  4389. +if ${ac_cv_prog_CC+:} false; then :
  4390. + $as_echo_n "(cached) " >&6
  4391. +else
  4392. + if test -n "$CC"; then
  4393. + ac_cv_prog_CC="$CC" # Let the user override the test.
  4394. +else
  4395. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4396. +for as_dir in $PATH
  4397. +do
  4398. + IFS=$as_save_IFS
  4399. + test -z "$as_dir" && as_dir=.
  4400. + for ac_exec_ext in '' $ac_executable_extensions; do
  4401. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4402. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4403. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4404. + break 2
  4405. + fi
  4406. +done
  4407. + done
  4408. +IFS=$as_save_IFS
  4409. +
  4410. +fi
  4411. +fi
  4412. +CC=$ac_cv_prog_CC
  4413. +if test -n "$CC"; then
  4414. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4415. +$as_echo "$CC" >&6; }
  4416. +else
  4417. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4418. +$as_echo "no" >&6; }
  4419. +fi
  4420. +
  4421. +
  4422. + test -n "$CC" && break
  4423. + done
  4424. +fi
  4425. +if test -z "$CC"; then
  4426. + ac_ct_CC=$CC
  4427. + for ac_prog in cl.exe
  4428. +do
  4429. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  4430. +set dummy $ac_prog; ac_word=$2
  4431. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4432. +$as_echo_n "checking for $ac_word... " >&6; }
  4433. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  4434. + $as_echo_n "(cached) " >&6
  4435. +else
  4436. + if test -n "$ac_ct_CC"; then
  4437. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4438. +else
  4439. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4440. +for as_dir in $PATH
  4441. +do
  4442. + IFS=$as_save_IFS
  4443. + test -z "$as_dir" && as_dir=.
  4444. + for ac_exec_ext in '' $ac_executable_extensions; do
  4445. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4446. + ac_cv_prog_ac_ct_CC="$ac_prog"
  4447. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4448. + break 2
  4449. + fi
  4450. +done
  4451. + done
  4452. +IFS=$as_save_IFS
  4453. +
  4454. +fi
  4455. +fi
  4456. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4457. +if test -n "$ac_ct_CC"; then
  4458. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4459. +$as_echo "$ac_ct_CC" >&6; }
  4460. +else
  4461. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4462. +$as_echo "no" >&6; }
  4463. +fi
  4464. +
  4465. +
  4466. + test -n "$ac_ct_CC" && break
  4467. +done
  4468. +
  4469. + if test "x$ac_ct_CC" = x; then
  4470. + CC=""
  4471. + else
  4472. + case $cross_compiling:$ac_tool_warned in
  4473. +yes:)
  4474. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4475. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4476. +ac_tool_warned=yes ;;
  4477. +esac
  4478. + CC=$ac_ct_CC
  4479. + fi
  4480. +fi
  4481. +
  4482. +fi
  4483. +
  4484. +
  4485. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4486. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4487. +as_fn_error $? "no acceptable C compiler found in \$PATH
  4488. +See \`config.log' for more details" "$LINENO" 5; }
  4489. +
  4490. +# Provide some information about the compiler.
  4491. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  4492. +set X $ac_compile
  4493. +ac_compiler=$2
  4494. +for ac_option in --version -v -V -qversion; do
  4495. + { { ac_try="$ac_compiler $ac_option >&5"
  4496. +case "(($ac_try" in
  4497. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4498. + *) ac_try_echo=$ac_try;;
  4499. +esac
  4500. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4501. +$as_echo "$ac_try_echo"; } >&5
  4502. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  4503. + ac_status=$?
  4504. + if test -s conftest.err; then
  4505. + sed '10a\
  4506. +... rest of stderr output deleted ...
  4507. + 10q' conftest.err >conftest.er1
  4508. + cat conftest.er1 >&5
  4509. + fi
  4510. + rm -f conftest.er1 conftest.err
  4511. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4512. + test $ac_status = 0; }
  4513. +done
  4514. +
  4515. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  4516. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4517. +if ${ac_cv_c_compiler_gnu+:} false; then :
  4518. + $as_echo_n "(cached) " >&6
  4519. +else
  4520. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4521. +/* end confdefs.h. */
  4522. +
  4523. +int
  4524. +main ()
  4525. +{
  4526. +#ifndef __GNUC__
  4527. + choke me
  4528. +#endif
  4529. +
  4530. + ;
  4531. + return 0;
  4532. +}
  4533. +_ACEOF
  4534. +if ac_fn_c_try_compile "$LINENO"; then :
  4535. + ac_compiler_gnu=yes
  4536. +else
  4537. + ac_compiler_gnu=no
  4538. +fi
  4539. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4540. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4541. +
  4542. +fi
  4543. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  4544. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4545. +if test $ac_compiler_gnu = yes; then
  4546. + GCC=yes
  4547. +else
  4548. + GCC=
  4549. +fi
  4550. +ac_test_CFLAGS=${CFLAGS+set}
  4551. +ac_save_CFLAGS=$CFLAGS
  4552. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  4553. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  4554. +if ${ac_cv_prog_cc_g+:} false; then :
  4555. + $as_echo_n "(cached) " >&6
  4556. +else
  4557. + ac_save_c_werror_flag=$ac_c_werror_flag
  4558. + ac_c_werror_flag=yes
  4559. + ac_cv_prog_cc_g=no
  4560. + CFLAGS="-g"
  4561. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4562. +/* end confdefs.h. */
  4563. +
  4564. +int
  4565. +main ()
  4566. +{
  4567. +
  4568. + ;
  4569. + return 0;
  4570. +}
  4571. +_ACEOF
  4572. +if ac_fn_c_try_compile "$LINENO"; then :
  4573. + ac_cv_prog_cc_g=yes
  4574. +else
  4575. + CFLAGS=""
  4576. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4577. +/* end confdefs.h. */
  4578. +
  4579. +int
  4580. +main ()
  4581. +{
  4582. +
  4583. + ;
  4584. + return 0;
  4585. +}
  4586. +_ACEOF
  4587. +if ac_fn_c_try_compile "$LINENO"; then :
  4588. +
  4589. +else
  4590. + ac_c_werror_flag=$ac_save_c_werror_flag
  4591. + CFLAGS="-g"
  4592. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4593. +/* end confdefs.h. */
  4594. +
  4595. +int
  4596. +main ()
  4597. +{
  4598. +
  4599. + ;
  4600. + return 0;
  4601. +}
  4602. +_ACEOF
  4603. +if ac_fn_c_try_compile "$LINENO"; then :
  4604. + ac_cv_prog_cc_g=yes
  4605. +fi
  4606. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4607. +fi
  4608. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4609. +fi
  4610. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4611. + ac_c_werror_flag=$ac_save_c_werror_flag
  4612. +fi
  4613. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  4614. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  4615. +if test "$ac_test_CFLAGS" = set; then
  4616. + CFLAGS=$ac_save_CFLAGS
  4617. +elif test $ac_cv_prog_cc_g = yes; then
  4618. + if test "$GCC" = yes; then
  4619. + CFLAGS="-g -O2"
  4620. + else
  4621. + CFLAGS="-g"
  4622. + fi
  4623. +else
  4624. + if test "$GCC" = yes; then
  4625. + CFLAGS="-O2"
  4626. + else
  4627. + CFLAGS=
  4628. + fi
  4629. +fi
  4630. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  4631. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4632. +if ${ac_cv_prog_cc_c89+:} false; then :
  4633. + $as_echo_n "(cached) " >&6
  4634. +else
  4635. + ac_cv_prog_cc_c89=no
  4636. +ac_save_CC=$CC
  4637. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4638. +/* end confdefs.h. */
  4639. +#include <stdarg.h>
  4640. +#include <stdio.h>
  4641. +#include <sys/types.h>
  4642. +#include <sys/stat.h>
  4643. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  4644. +struct buf { int x; };
  4645. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4646. +static char *e (p, i)
  4647. + char **p;
  4648. + int i;
  4649. +{
  4650. + return p[i];
  4651. +}
  4652. +static char *f (char * (*g) (char **, int), char **p, ...)
  4653. +{
  4654. + char *s;
  4655. + va_list v;
  4656. + va_start (v,p);
  4657. + s = g (p, va_arg (v,int));
  4658. + va_end (v);
  4659. + return s;
  4660. +}
  4661. +
  4662. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  4663. + function prototypes and stuff, but not '\xHH' hex character constants.
  4664. + These don't provoke an error unfortunately, instead are silently treated
  4665. + as 'x'. The following induces an error, until -std is added to get
  4666. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  4667. + array size at least. It's necessary to write '\x00'==0 to get something
  4668. + that's true only with -std. */
  4669. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4670. +
  4671. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4672. + inside strings and character constants. */
  4673. +#define FOO(x) 'x'
  4674. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4675. +
  4676. +int test (int i, double x);
  4677. +struct s1 {int (*f) (int a);};
  4678. +struct s2 {int (*f) (double a);};
  4679. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4680. +int argc;
  4681. +char **argv;
  4682. +int
  4683. +main ()
  4684. +{
  4685. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  4686. + ;
  4687. + return 0;
  4688. +}
  4689. +_ACEOF
  4690. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4691. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4692. +do
  4693. + CC="$ac_save_CC $ac_arg"
  4694. + if ac_fn_c_try_compile "$LINENO"; then :
  4695. + ac_cv_prog_cc_c89=$ac_arg
  4696. +fi
  4697. +rm -f core conftest.err conftest.$ac_objext
  4698. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  4699. +done
  4700. +rm -f conftest.$ac_ext
  4701. +CC=$ac_save_CC
  4702. +
  4703. +fi
  4704. +# AC_CACHE_VAL
  4705. +case "x$ac_cv_prog_cc_c89" in
  4706. + x)
  4707. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4708. +$as_echo "none needed" >&6; } ;;
  4709. + xno)
  4710. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4711. +$as_echo "unsupported" >&6; } ;;
  4712. + *)
  4713. + CC="$CC $ac_cv_prog_cc_c89"
  4714. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  4715. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4716. +esac
  4717. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  4718. +
  4719. +fi
  4720. +
  4721. +ac_ext=c
  4722. +ac_cpp='$CPP $CPPFLAGS'
  4723. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4724. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4725. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4726. +
  4727. +depcc="$CC" am_compiler_list=
  4728. +
  4729. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  4730. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  4731. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  4732. + $as_echo_n "(cached) " >&6
  4733. +else
  4734. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4735. + # We make a subdir and do the tests there. Otherwise we can end up
  4736. + # making bogus files that we don't know about and never remove. For
  4737. + # instance it was reported that on HP-UX the gcc test will end up
  4738. + # making a dummy file named `D' -- because `-MD' means `put the output
  4739. + # in D'.
  4740. + rm -rf conftest.dir
  4741. + mkdir conftest.dir
  4742. + # Copy depcomp to subdir because otherwise we won't find it if we're
  4743. + # using a relative directory.
  4744. + cp "$am_depcomp" conftest.dir
  4745. + cd conftest.dir
  4746. + # We will build objects and dependencies in a subdirectory because
  4747. + # it helps to detect inapplicable dependency modes. For instance
  4748. + # both Tru64's cc and ICC support -MD to output dependencies as a
  4749. + # side effect of compilation, but ICC will put the dependencies in
  4750. + # the current directory while Tru64 will put them in the object
  4751. + # directory.
  4752. + mkdir sub
  4753. +
  4754. + am_cv_CC_dependencies_compiler_type=none
  4755. + if test "$am_compiler_list" = ""; then
  4756. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4757. + fi
  4758. + am__universal=false
  4759. + case " $depcc " in #(
  4760. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  4761. + esac
  4762. +
  4763. + for depmode in $am_compiler_list; do
  4764. + # Setup a source with many dependencies, because some compilers
  4765. + # like to wrap large dependency lists on column 80 (with \), and
  4766. + # we should not choose a depcomp mode which is confused by this.
  4767. + #
  4768. + # We need to recreate these files for each test, as the compiler may
  4769. + # overwrite some of them when testing with obscure command lines.
  4770. + # This happens at least with the AIX C compiler.
  4771. + : > sub/conftest.c
  4772. + for i in 1 2 3 4 5 6; do
  4773. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4774. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4775. + # Solaris 8's {/usr,}/bin/sh.
  4776. + touch sub/conftst$i.h
  4777. + done
  4778. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4779. +
  4780. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4781. + # mode. It turns out that the SunPro C++ compiler does not properly
  4782. + # handle `-M -o', and we need to detect this. Also, some Intel
  4783. + # versions had trouble with output in subdirs
  4784. + am__obj=sub/conftest.${OBJEXT-o}
  4785. + am__minus_obj="-o $am__obj"
  4786. + case $depmode in
  4787. + gcc)
  4788. + # This depmode causes a compiler race in universal mode.
  4789. + test "$am__universal" = false || continue
  4790. + ;;
  4791. + nosideeffect)
  4792. + # after this tag, mechanisms are not by side-effect, so they'll
  4793. + # only be used when explicitly requested
  4794. + if test "x$enable_dependency_tracking" = xyes; then
  4795. + continue
  4796. + else
  4797. + break
  4798. + fi
  4799. + ;;
  4800. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  4801. + # This compiler won't grok `-c -o', but also, the minuso test has
  4802. + # not run yet. These depmodes are late enough in the game, and
  4803. + # so weak that their functioning should not be impacted.
  4804. + am__obj=conftest.${OBJEXT-o}
  4805. + am__minus_obj=
  4806. + ;;
  4807. + none) break ;;
  4808. + esac
  4809. + if depmode=$depmode \
  4810. + source=sub/conftest.c object=$am__obj \
  4811. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4812. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  4813. + >/dev/null 2>conftest.err &&
  4814. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  4815. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4816. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  4817. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4818. + # icc doesn't choke on unknown options, it will just issue warnings
  4819. + # or remarks (even with -Werror). So we grep stderr for any message
  4820. + # that says an option was ignored or not supported.
  4821. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  4822. + # icc: Command line warning: ignoring option '-M'; no argument required
  4823. + # The diagnosis changed in icc 8.0:
  4824. + # icc: Command line remark: option '-MP' not supported
  4825. + if (grep 'ignoring option' conftest.err ||
  4826. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4827. + am_cv_CC_dependencies_compiler_type=$depmode
  4828. + break
  4829. + fi
  4830. + fi
  4831. + done
  4832. +
  4833. + cd ..
  4834. + rm -rf conftest.dir
  4835. +else
  4836. + am_cv_CC_dependencies_compiler_type=none
  4837. +fi
  4838. +
  4839. +fi
  4840. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  4841. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4842. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4843. +
  4844. + if
  4845. + test "x$enable_dependency_tracking" != xno \
  4846. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4847. + am__fastdepCC_TRUE=
  4848. + am__fastdepCC_FALSE='#'
  4849. +else
  4850. + am__fastdepCC_TRUE='#'
  4851. + am__fastdepCC_FALSE=
  4852. +fi
  4853. +
  4854. +
  4855. +
  4856. +@%:@ Check whether --enable-static was given.
  4857. +if test "${enable_static+set}" = set; then :
  4858. + enableval=$enable_static; p=${PACKAGE-default}
  4859. + case $enableval in
  4860. + yes) enable_static=yes ;;
  4861. + no) enable_static=no ;;
  4862. + *)
  4863. + enable_static=no
  4864. + # Look at the argument we got. We use all the common list separators.
  4865. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  4866. + for pkg in $enableval; do
  4867. + IFS="$lt_save_ifs"
  4868. + if test "X$pkg" = "X$p"; then
  4869. + enable_static=yes
  4870. + fi
  4871. + done
  4872. + IFS="$lt_save_ifs"
  4873. + ;;
  4874. + esac
  4875. +else
  4876. + enable_static=no
  4877. +fi
  4878. +
  4879. +
  4880. +
  4881. +
  4882. +
  4883. +
  4884. +
  4885. +
  4886. +
  4887. +case `pwd` in
  4888. + *\ * | *\ *)
  4889. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  4890. +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  4891. +esac
  4892. +
  4893. +
  4894. +
  4895. +macro_version='2.4.2'
  4896. +macro_revision='1.3337'
  4897. +
  4898. +
  4899. +
  4900. +
  4901. +
  4902. +
  4903. +
  4904. +
  4905. +
  4906. +
  4907. +
  4908. +
  4909. +
  4910. +ltmain="$ac_aux_dir/ltmain.sh"
  4911. +
  4912. +# Make sure we can run config.sub.
  4913. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  4914. + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  4915. +
  4916. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  4917. +$as_echo_n "checking build system type... " >&6; }
  4918. +if ${ac_cv_build+:} false; then :
  4919. + $as_echo_n "(cached) " >&6
  4920. +else
  4921. + ac_build_alias=$build_alias
  4922. +test "x$ac_build_alias" = x &&
  4923. + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  4924. +test "x$ac_build_alias" = x &&
  4925. + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  4926. +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  4927. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  4928. +
  4929. +fi
  4930. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  4931. +$as_echo "$ac_cv_build" >&6; }
  4932. +case $ac_cv_build in
  4933. +*-*-*) ;;
  4934. +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  4935. +esac
  4936. +build=$ac_cv_build
  4937. +ac_save_IFS=$IFS; IFS='-'
  4938. +set x $ac_cv_build
  4939. +shift
  4940. +build_cpu=$1
  4941. +build_vendor=$2
  4942. +shift; shift
  4943. +# Remember, the first character of IFS is used to create $*,
  4944. +# except with old shells:
  4945. +build_os=$*
  4946. +IFS=$ac_save_IFS
  4947. +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  4948. +
  4949. +
  4950. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  4951. +$as_echo_n "checking host system type... " >&6; }
  4952. +if ${ac_cv_host+:} false; then :
  4953. + $as_echo_n "(cached) " >&6
  4954. +else
  4955. + if test "x$host_alias" = x; then
  4956. + ac_cv_host=$ac_cv_build
  4957. +else
  4958. + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  4959. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  4960. +fi
  4961. +
  4962. +fi
  4963. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  4964. +$as_echo "$ac_cv_host" >&6; }
  4965. +case $ac_cv_host in
  4966. +*-*-*) ;;
  4967. +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  4968. +esac
  4969. +host=$ac_cv_host
  4970. +ac_save_IFS=$IFS; IFS='-'
  4971. +set x $ac_cv_host
  4972. +shift
  4973. +host_cpu=$1
  4974. +host_vendor=$2
  4975. +shift; shift
  4976. +# Remember, the first character of IFS is used to create $*,
  4977. +# except with old shells:
  4978. +host_os=$*
  4979. +IFS=$ac_save_IFS
  4980. +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  4981. +
  4982. +
  4983. +# Backslashify metacharacters that are still active within
  4984. +# double-quoted strings.
  4985. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  4986. +
  4987. +# Same as above, but do not quote variable references.
  4988. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  4989. +
  4990. +# Sed substitution to delay expansion of an escaped shell variable in a
  4991. +# double_quote_subst'ed string.
  4992. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  4993. +
  4994. +# Sed substitution to delay expansion of an escaped single quote.
  4995. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  4996. +
  4997. +# Sed substitution to avoid accidental globbing in evaled expressions
  4998. +no_glob_subst='s/\*/\\\*/g'
  4999. +
  5000. +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  5001. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  5002. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  5003. +
  5004. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  5005. +$as_echo_n "checking how to print strings... " >&6; }
  5006. +# Test print first, because it will be a builtin if present.
  5007. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  5008. + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  5009. + ECHO='print -r --'
  5010. +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  5011. + ECHO='printf %s\n'
  5012. +else
  5013. + # Use this function as a fallback that always works.
  5014. + func_fallback_echo ()
  5015. + {
  5016. + eval 'cat <<_LTECHO_EOF
  5017. +$1
  5018. +_LTECHO_EOF'
  5019. + }
  5020. + ECHO='func_fallback_echo'
  5021. +fi
  5022. +
  5023. +# func_echo_all arg...
  5024. +# Invoke $ECHO with all args, space-separated.
  5025. +func_echo_all ()
  5026. +{
  5027. + $ECHO ""
  5028. +}
  5029. +
  5030. +case "$ECHO" in
  5031. + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  5032. +$as_echo "printf" >&6; } ;;
  5033. + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  5034. +$as_echo "print -r" >&6; } ;;
  5035. + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  5036. +$as_echo "cat" >&6; } ;;
  5037. +esac
  5038. +
  5039. +
  5040. +
  5041. +
  5042. +
  5043. +
  5044. +
  5045. +
  5046. +
  5047. +
  5048. +
  5049. +
  5050. +
  5051. +
  5052. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  5053. +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
  5054. +if ${ac_cv_path_SED+:} false; then :
  5055. + $as_echo_n "(cached) " >&6
  5056. +else
  5057. + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  5058. + for ac_i in 1 2 3 4 5 6 7; do
  5059. + ac_script="$ac_script$as_nl$ac_script"
  5060. + done
  5061. + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  5062. + { ac_script=; unset ac_script;}
  5063. + if test -z "$SED"; then
  5064. + ac_path_SED_found=false
  5065. + # Loop through the user's path and test for each of PROGNAME-LIST
  5066. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5067. +for as_dir in $PATH
  5068. +do
  5069. + IFS=$as_save_IFS
  5070. + test -z "$as_dir" && as_dir=.
  5071. + for ac_prog in sed gsed; do
  5072. + for ac_exec_ext in '' $ac_executable_extensions; do
  5073. + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  5074. + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  5075. +# Check for GNU ac_path_SED and select it if it is found.
  5076. + # Check for GNU $ac_path_SED
  5077. +case `"$ac_path_SED" --version 2>&1` in
  5078. +*GNU*)
  5079. + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  5080. +*)
  5081. + ac_count=0
  5082. + $as_echo_n 0123456789 >"conftest.in"
  5083. + while :
  5084. + do
  5085. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  5086. + mv "conftest.tmp" "conftest.in"
  5087. + cp "conftest.in" "conftest.nl"
  5088. + $as_echo '' >> "conftest.nl"
  5089. + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5090. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5091. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  5092. + if test $ac_count -gt ${ac_path_SED_max-0}; then
  5093. + # Best one so far, save it but keep looking for a better one
  5094. + ac_cv_path_SED="$ac_path_SED"
  5095. + ac_path_SED_max=$ac_count
  5096. + fi
  5097. + # 10*(2^10) chars as input seems more than enough
  5098. + test $ac_count -gt 10 && break
  5099. + done
  5100. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5101. +esac
  5102. +
  5103. + $ac_path_SED_found && break 3
  5104. + done
  5105. + done
  5106. + done
  5107. +IFS=$as_save_IFS
  5108. + if test -z "$ac_cv_path_SED"; then
  5109. + as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  5110. + fi
  5111. +else
  5112. + ac_cv_path_SED=$SED
  5113. +fi
  5114. +
  5115. +fi
  5116. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  5117. +$as_echo "$ac_cv_path_SED" >&6; }
  5118. + SED="$ac_cv_path_SED"
  5119. + rm -f conftest.sed
  5120. +
  5121. +test -z "$SED" && SED=sed
  5122. +Xsed="$SED -e 1s/^X//"
  5123. +
  5124. +
  5125. +
  5126. +
  5127. +
  5128. +
  5129. +
  5130. +
  5131. +
  5132. +
  5133. +
  5134. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  5135. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  5136. +if ${ac_cv_path_GREP+:} false; then :
  5137. + $as_echo_n "(cached) " >&6
  5138. +else
  5139. + if test -z "$GREP"; then
  5140. + ac_path_GREP_found=false
  5141. + # Loop through the user's path and test for each of PROGNAME-LIST
  5142. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5143. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5144. +do
  5145. + IFS=$as_save_IFS
  5146. + test -z "$as_dir" && as_dir=.
  5147. + for ac_prog in grep ggrep; do
  5148. + for ac_exec_ext in '' $ac_executable_extensions; do
  5149. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  5150. + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  5151. +# Check for GNU ac_path_GREP and select it if it is found.
  5152. + # Check for GNU $ac_path_GREP
  5153. +case `"$ac_path_GREP" --version 2>&1` in
  5154. +*GNU*)
  5155. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  5156. +*)
  5157. + ac_count=0
  5158. + $as_echo_n 0123456789 >"conftest.in"
  5159. + while :
  5160. + do
  5161. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  5162. + mv "conftest.tmp" "conftest.in"
  5163. + cp "conftest.in" "conftest.nl"
  5164. + $as_echo 'GREP' >> "conftest.nl"
  5165. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5166. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5167. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  5168. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  5169. + # Best one so far, save it but keep looking for a better one
  5170. + ac_cv_path_GREP="$ac_path_GREP"
  5171. + ac_path_GREP_max=$ac_count
  5172. + fi
  5173. + # 10*(2^10) chars as input seems more than enough
  5174. + test $ac_count -gt 10 && break
  5175. + done
  5176. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5177. +esac
  5178. +
  5179. + $ac_path_GREP_found && break 3
  5180. + done
  5181. + done
  5182. + done
  5183. +IFS=$as_save_IFS
  5184. + if test -z "$ac_cv_path_GREP"; then
  5185. + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  5186. + fi
  5187. +else
  5188. + ac_cv_path_GREP=$GREP
  5189. +fi
  5190. +
  5191. +fi
  5192. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  5193. +$as_echo "$ac_cv_path_GREP" >&6; }
  5194. + GREP="$ac_cv_path_GREP"
  5195. +
  5196. +
  5197. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  5198. +$as_echo_n "checking for egrep... " >&6; }
  5199. +if ${ac_cv_path_EGREP+:} false; then :
  5200. + $as_echo_n "(cached) " >&6
  5201. +else
  5202. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  5203. + then ac_cv_path_EGREP="$GREP -E"
  5204. + else
  5205. + if test -z "$EGREP"; then
  5206. + ac_path_EGREP_found=false
  5207. + # Loop through the user's path and test for each of PROGNAME-LIST
  5208. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5209. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5210. +do
  5211. + IFS=$as_save_IFS
  5212. + test -z "$as_dir" && as_dir=.
  5213. + for ac_prog in egrep; do
  5214. + for ac_exec_ext in '' $ac_executable_extensions; do
  5215. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  5216. + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  5217. +# Check for GNU ac_path_EGREP and select it if it is found.
  5218. + # Check for GNU $ac_path_EGREP
  5219. +case `"$ac_path_EGREP" --version 2>&1` in
  5220. +*GNU*)
  5221. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  5222. +*)
  5223. + ac_count=0
  5224. + $as_echo_n 0123456789 >"conftest.in"
  5225. + while :
  5226. + do
  5227. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  5228. + mv "conftest.tmp" "conftest.in"
  5229. + cp "conftest.in" "conftest.nl"
  5230. + $as_echo 'EGREP' >> "conftest.nl"
  5231. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5232. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5233. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  5234. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  5235. + # Best one so far, save it but keep looking for a better one
  5236. + ac_cv_path_EGREP="$ac_path_EGREP"
  5237. + ac_path_EGREP_max=$ac_count
  5238. + fi
  5239. + # 10*(2^10) chars as input seems more than enough
  5240. + test $ac_count -gt 10 && break
  5241. + done
  5242. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5243. +esac
  5244. +
  5245. + $ac_path_EGREP_found && break 3
  5246. + done
  5247. + done
  5248. + done
  5249. +IFS=$as_save_IFS
  5250. + if test -z "$ac_cv_path_EGREP"; then
  5251. + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  5252. + fi
  5253. +else
  5254. + ac_cv_path_EGREP=$EGREP
  5255. +fi
  5256. +
  5257. + fi
  5258. +fi
  5259. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  5260. +$as_echo "$ac_cv_path_EGREP" >&6; }
  5261. + EGREP="$ac_cv_path_EGREP"
  5262. +
  5263. +
  5264. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  5265. +$as_echo_n "checking for fgrep... " >&6; }
  5266. +if ${ac_cv_path_FGREP+:} false; then :
  5267. + $as_echo_n "(cached) " >&6
  5268. +else
  5269. + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  5270. + then ac_cv_path_FGREP="$GREP -F"
  5271. + else
  5272. + if test -z "$FGREP"; then
  5273. + ac_path_FGREP_found=false
  5274. + # Loop through the user's path and test for each of PROGNAME-LIST
  5275. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5276. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5277. +do
  5278. + IFS=$as_save_IFS
  5279. + test -z "$as_dir" && as_dir=.
  5280. + for ac_prog in fgrep; do
  5281. + for ac_exec_ext in '' $ac_executable_extensions; do
  5282. + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  5283. + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  5284. +# Check for GNU ac_path_FGREP and select it if it is found.
  5285. + # Check for GNU $ac_path_FGREP
  5286. +case `"$ac_path_FGREP" --version 2>&1` in
  5287. +*GNU*)
  5288. + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  5289. +*)
  5290. + ac_count=0
  5291. + $as_echo_n 0123456789 >"conftest.in"
  5292. + while :
  5293. + do
  5294. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  5295. + mv "conftest.tmp" "conftest.in"
  5296. + cp "conftest.in" "conftest.nl"
  5297. + $as_echo 'FGREP' >> "conftest.nl"
  5298. + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5299. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5300. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  5301. + if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  5302. + # Best one so far, save it but keep looking for a better one
  5303. + ac_cv_path_FGREP="$ac_path_FGREP"
  5304. + ac_path_FGREP_max=$ac_count
  5305. + fi
  5306. + # 10*(2^10) chars as input seems more than enough
  5307. + test $ac_count -gt 10 && break
  5308. + done
  5309. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5310. +esac
  5311. +
  5312. + $ac_path_FGREP_found && break 3
  5313. + done
  5314. + done
  5315. + done
  5316. +IFS=$as_save_IFS
  5317. + if test -z "$ac_cv_path_FGREP"; then
  5318. + as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  5319. + fi
  5320. +else
  5321. + ac_cv_path_FGREP=$FGREP
  5322. +fi
  5323. +
  5324. + fi
  5325. +fi
  5326. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  5327. +$as_echo "$ac_cv_path_FGREP" >&6; }
  5328. + FGREP="$ac_cv_path_FGREP"
  5329. +
  5330. +
  5331. +test -z "$GREP" && GREP=grep
  5332. +
  5333. +
  5334. +
  5335. +
  5336. +
  5337. +
  5338. +
  5339. +
  5340. +
  5341. +
  5342. +
  5343. +
  5344. +
  5345. +
  5346. +
  5347. +
  5348. +
  5349. +
  5350. +
  5351. +@%:@ Check whether --with-gnu-ld was given.
  5352. +if test "${with_gnu_ld+set}" = set; then :
  5353. + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  5354. +else
  5355. + with_gnu_ld=no
  5356. +fi
  5357. +
  5358. +ac_prog=ld
  5359. +if test "$GCC" = yes; then
  5360. + # Check if gcc -print-prog-name=ld gives a path.
  5361. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  5362. +$as_echo_n "checking for ld used by $CC... " >&6; }
  5363. + case $host in
  5364. + *-*-mingw*)
  5365. + # gcc leaves a trailing carriage return which upsets mingw
  5366. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  5367. + *)
  5368. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  5369. + esac
  5370. + case $ac_prog in
  5371. + # Accept absolute paths.
  5372. + [\\/]* | ?:[\\/]*)
  5373. + re_direlt='/[^/][^/]*/\.\./'
  5374. + # Canonicalize the pathname of ld
  5375. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  5376. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  5377. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  5378. + done
  5379. + test -z "$LD" && LD="$ac_prog"
  5380. + ;;
  5381. + "")
  5382. + # If it fails, then pretend we aren't using GCC.
  5383. + ac_prog=ld
  5384. + ;;
  5385. + *)
  5386. + # If it is relative, then search for the first ld in PATH.
  5387. + with_gnu_ld=unknown
  5388. + ;;
  5389. + esac
  5390. +elif test "$with_gnu_ld" = yes; then
  5391. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  5392. +$as_echo_n "checking for GNU ld... " >&6; }
  5393. +else
  5394. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  5395. +$as_echo_n "checking for non-GNU ld... " >&6; }
  5396. +fi
  5397. +if ${lt_cv_path_LD+:} false; then :
  5398. + $as_echo_n "(cached) " >&6
  5399. +else
  5400. + if test -z "$LD"; then
  5401. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  5402. + for ac_dir in $PATH; do
  5403. + IFS="$lt_save_ifs"
  5404. + test -z "$ac_dir" && ac_dir=.
  5405. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  5406. + lt_cv_path_LD="$ac_dir/$ac_prog"
  5407. + # Check to see if the program is GNU ld. I'd rather use --version,
  5408. + # but apparently some variants of GNU ld only accept -v.
  5409. + # Break only if it was the GNU/non-GNU ld that we prefer.
  5410. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  5411. + *GNU* | *'with BFD'*)
  5412. + test "$with_gnu_ld" != no && break
  5413. + ;;
  5414. + *)
  5415. + test "$with_gnu_ld" != yes && break
  5416. + ;;
  5417. + esac
  5418. + fi
  5419. + done
  5420. + IFS="$lt_save_ifs"
  5421. +else
  5422. + lt_cv_path_LD="$LD" # Let the user override the test with a path.
  5423. +fi
  5424. +fi
  5425. +
  5426. +LD="$lt_cv_path_LD"
  5427. +if test -n "$LD"; then
  5428. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  5429. +$as_echo "$LD" >&6; }
  5430. +else
  5431. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5432. +$as_echo "no" >&6; }
  5433. +fi
  5434. +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  5435. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  5436. +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  5437. +if ${lt_cv_prog_gnu_ld+:} false; then :
  5438. + $as_echo_n "(cached) " >&6
  5439. +else
  5440. + # I'd rather use --version here, but apparently some GNU lds only accept -v.
  5441. +case `$LD -v 2>&1 </dev/null` in
  5442. +*GNU* | *'with BFD'*)
  5443. + lt_cv_prog_gnu_ld=yes
  5444. + ;;
  5445. +*)
  5446. + lt_cv_prog_gnu_ld=no
  5447. + ;;
  5448. +esac
  5449. +fi
  5450. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  5451. +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
  5452. +with_gnu_ld=$lt_cv_prog_gnu_ld
  5453. +
  5454. +
  5455. +
  5456. +
  5457. +
  5458. +
  5459. +
  5460. +
  5461. +
  5462. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  5463. +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  5464. +if ${lt_cv_path_NM+:} false; then :
  5465. + $as_echo_n "(cached) " >&6
  5466. +else
  5467. + if test -n "$NM"; then
  5468. + # Let the user override the test.
  5469. + lt_cv_path_NM="$NM"
  5470. +else
  5471. + lt_nm_to_check="${ac_tool_prefix}nm"
  5472. + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  5473. + lt_nm_to_check="$lt_nm_to_check nm"
  5474. + fi
  5475. + for lt_tmp_nm in $lt_nm_to_check; do
  5476. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  5477. + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  5478. + IFS="$lt_save_ifs"
  5479. + test -z "$ac_dir" && ac_dir=.
  5480. + tmp_nm="$ac_dir/$lt_tmp_nm"
  5481. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  5482. + # Check to see if the nm accepts a BSD-compat flag.
  5483. + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  5484. + # nm: unknown option "B" ignored
  5485. + # Tru64's nm complains that /dev/null is an invalid object file
  5486. + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  5487. + */dev/null* | *'Invalid file or object type'*)
  5488. + lt_cv_path_NM="$tmp_nm -B"
  5489. + break
  5490. + ;;
  5491. + *)
  5492. + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  5493. + */dev/null*)
  5494. + lt_cv_path_NM="$tmp_nm -p"
  5495. + break
  5496. + ;;
  5497. + *)
  5498. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  5499. + continue # so that we can try to find one that supports BSD flags
  5500. + ;;
  5501. + esac
  5502. + ;;
  5503. + esac
  5504. + fi
  5505. + done
  5506. + IFS="$lt_save_ifs"
  5507. + done
  5508. + : ${lt_cv_path_NM=no}
  5509. +fi
  5510. +fi
  5511. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  5512. +$as_echo "$lt_cv_path_NM" >&6; }
  5513. +if test "$lt_cv_path_NM" != "no"; then
  5514. + NM="$lt_cv_path_NM"
  5515. +else
  5516. + # Didn't find any BSD compatible name lister, look for dumpbin.
  5517. + if test -n "$DUMPBIN"; then :
  5518. + # Let the user override the test.
  5519. + else
  5520. + if test -n "$ac_tool_prefix"; then
  5521. + for ac_prog in dumpbin "link -dump"
  5522. + do
  5523. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5524. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5525. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5526. +$as_echo_n "checking for $ac_word... " >&6; }
  5527. +if ${ac_cv_prog_DUMPBIN+:} false; then :
  5528. + $as_echo_n "(cached) " >&6
  5529. +else
  5530. + if test -n "$DUMPBIN"; then
  5531. + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  5532. +else
  5533. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5534. +for as_dir in $PATH
  5535. +do
  5536. + IFS=$as_save_IFS
  5537. + test -z "$as_dir" && as_dir=.
  5538. + for ac_exec_ext in '' $ac_executable_extensions; do
  5539. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5540. + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  5541. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5542. + break 2
  5543. + fi
  5544. +done
  5545. + done
  5546. +IFS=$as_save_IFS
  5547. +
  5548. +fi
  5549. +fi
  5550. +DUMPBIN=$ac_cv_prog_DUMPBIN
  5551. +if test -n "$DUMPBIN"; then
  5552. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  5553. +$as_echo "$DUMPBIN" >&6; }
  5554. +else
  5555. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5556. +$as_echo "no" >&6; }
  5557. +fi
  5558. +
  5559. +
  5560. + test -n "$DUMPBIN" && break
  5561. + done
  5562. +fi
  5563. +if test -z "$DUMPBIN"; then
  5564. + ac_ct_DUMPBIN=$DUMPBIN
  5565. + for ac_prog in dumpbin "link -dump"
  5566. +do
  5567. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  5568. +set dummy $ac_prog; ac_word=$2
  5569. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5570. +$as_echo_n "checking for $ac_word... " >&6; }
  5571. +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  5572. + $as_echo_n "(cached) " >&6
  5573. +else
  5574. + if test -n "$ac_ct_DUMPBIN"; then
  5575. + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  5576. +else
  5577. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5578. +for as_dir in $PATH
  5579. +do
  5580. + IFS=$as_save_IFS
  5581. + test -z "$as_dir" && as_dir=.
  5582. + for ac_exec_ext in '' $ac_executable_extensions; do
  5583. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5584. + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  5585. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5586. + break 2
  5587. + fi
  5588. +done
  5589. + done
  5590. +IFS=$as_save_IFS
  5591. +
  5592. +fi
  5593. +fi
  5594. +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  5595. +if test -n "$ac_ct_DUMPBIN"; then
  5596. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  5597. +$as_echo "$ac_ct_DUMPBIN" >&6; }
  5598. +else
  5599. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5600. +$as_echo "no" >&6; }
  5601. +fi
  5602. +
  5603. +
  5604. + test -n "$ac_ct_DUMPBIN" && break
  5605. +done
  5606. +
  5607. + if test "x$ac_ct_DUMPBIN" = x; then
  5608. + DUMPBIN=":"
  5609. + else
  5610. + case $cross_compiling:$ac_tool_warned in
  5611. +yes:)
  5612. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5613. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5614. +ac_tool_warned=yes ;;
  5615. +esac
  5616. + DUMPBIN=$ac_ct_DUMPBIN
  5617. + fi
  5618. +fi
  5619. +
  5620. + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  5621. + *COFF*)
  5622. + DUMPBIN="$DUMPBIN -symbols"
  5623. + ;;
  5624. + *)
  5625. + DUMPBIN=:
  5626. + ;;
  5627. + esac
  5628. + fi
  5629. +
  5630. + if test "$DUMPBIN" != ":"; then
  5631. + NM="$DUMPBIN"
  5632. + fi
  5633. +fi
  5634. +test -z "$NM" && NM=nm
  5635. +
  5636. +
  5637. +
  5638. +
  5639. +
  5640. +
  5641. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  5642. +$as_echo_n "checking the name lister ($NM) interface... " >&6; }
  5643. +if ${lt_cv_nm_interface+:} false; then :
  5644. + $as_echo_n "(cached) " >&6
  5645. +else
  5646. + lt_cv_nm_interface="BSD nm"
  5647. + echo "int some_variable = 0;" > conftest.$ac_ext
  5648. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  5649. + (eval "$ac_compile" 2>conftest.err)
  5650. + cat conftest.err >&5
  5651. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  5652. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  5653. + cat conftest.err >&5
  5654. + (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  5655. + cat conftest.out >&5
  5656. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  5657. + lt_cv_nm_interface="MS dumpbin"
  5658. + fi
  5659. + rm -f conftest*
  5660. +fi
  5661. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  5662. +$as_echo "$lt_cv_nm_interface" >&6; }
  5663. +
  5664. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  5665. +$as_echo_n "checking whether ln -s works... " >&6; }
  5666. +LN_S=$as_ln_s
  5667. +if test "$LN_S" = "ln -s"; then
  5668. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5669. +$as_echo "yes" >&6; }
  5670. +else
  5671. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  5672. +$as_echo "no, using $LN_S" >&6; }
  5673. +fi
  5674. +
  5675. +# find the maximum length of command line arguments
  5676. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  5677. +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
  5678. +if ${lt_cv_sys_max_cmd_len+:} false; then :
  5679. + $as_echo_n "(cached) " >&6
  5680. +else
  5681. + i=0
  5682. + teststring="ABCD"
  5683. +
  5684. + case $build_os in
  5685. + msdosdjgpp*)
  5686. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  5687. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  5688. + # during glob expansion). Even if it were fixed, the result of this
  5689. + # check would be larger than it should be.
  5690. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  5691. + ;;
  5692. +
  5693. + gnu*)
  5694. + # Under GNU Hurd, this test is not required because there is
  5695. + # no limit to the length of command line arguments.
  5696. + # Libtool will interpret -1 as no limit whatsoever
  5697. + lt_cv_sys_max_cmd_len=-1;
  5698. + ;;
  5699. +
  5700. + cygwin* | mingw* | cegcc*)
  5701. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  5702. + # about 5 minutes as the teststring grows exponentially.
  5703. + # Worse, since 9x/ME are not pre-emptively multitasking,
  5704. + # you end up with a "frozen" computer, even though with patience
  5705. + # the test eventually succeeds (with a max line length of 256k).
  5706. + # Instead, let's just punt: use the minimum linelength reported by
  5707. + # all of the supported platforms: 8192 (on NT/2K/XP).
  5708. + lt_cv_sys_max_cmd_len=8192;
  5709. + ;;
  5710. +
  5711. + mint*)
  5712. + # On MiNT this can take a long time and run out of memory.
  5713. + lt_cv_sys_max_cmd_len=8192;
  5714. + ;;
  5715. +
  5716. + amigaos*)
  5717. + # On AmigaOS with pdksh, this test takes hours, literally.
  5718. + # So we just punt and use a minimum line length of 8192.
  5719. + lt_cv_sys_max_cmd_len=8192;
  5720. + ;;
  5721. +
  5722. + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  5723. + # This has been around since 386BSD, at least. Likely further.
  5724. + if test -x /sbin/sysctl; then
  5725. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  5726. + elif test -x /usr/sbin/sysctl; then
  5727. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  5728. + else
  5729. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  5730. + fi
  5731. + # And add a safety zone
  5732. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5733. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5734. + ;;
  5735. +
  5736. + interix*)
  5737. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  5738. + lt_cv_sys_max_cmd_len=196608
  5739. + ;;
  5740. +
  5741. + os2*)
  5742. + # The test takes a long time on OS/2.
  5743. + lt_cv_sys_max_cmd_len=8192
  5744. + ;;
  5745. +
  5746. + osf*)
  5747. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  5748. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  5749. + # nice to cause kernel panics so lets avoid the loop below.
  5750. + # First set a reasonable default.
  5751. + lt_cv_sys_max_cmd_len=16384
  5752. + #
  5753. + if test -x /sbin/sysconfig; then
  5754. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  5755. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  5756. + esac
  5757. + fi
  5758. + ;;
  5759. + sco3.2v5*)
  5760. + lt_cv_sys_max_cmd_len=102400
  5761. + ;;
  5762. + sysv5* | sco5v6* | sysv4.2uw2*)
  5763. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  5764. + if test -n "$kargmax"; then
  5765. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  5766. + else
  5767. + lt_cv_sys_max_cmd_len=32768
  5768. + fi
  5769. + ;;
  5770. + *)
  5771. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  5772. + if test -n "$lt_cv_sys_max_cmd_len"; then
  5773. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5774. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5775. + else
  5776. + # Make teststring a little bigger before we do anything with it.
  5777. + # a 1K string should be a reasonable start.
  5778. + for i in 1 2 3 4 5 6 7 8 ; do
  5779. + teststring=$teststring$teststring
  5780. + done
  5781. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  5782. + # If test is not a shell built-in, we'll probably end up computing a
  5783. + # maximum length that is only half of the actual maximum length, but
  5784. + # we can't tell.
  5785. + while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
  5786. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  5787. + test $i != 17 # 1/2 MB should be enough
  5788. + do
  5789. + i=`expr $i + 1`
  5790. + teststring=$teststring$teststring
  5791. + done
  5792. + # Only check the string length outside the loop.
  5793. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  5794. + teststring=
  5795. + # Add a significant safety factor because C++ compilers can tack on
  5796. + # massive amounts of additional arguments before passing them to the
  5797. + # linker. It appears as though 1/2 is a usable value.
  5798. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  5799. + fi
  5800. + ;;
  5801. + esac
  5802. +
  5803. +fi
  5804. +
  5805. +if test -n $lt_cv_sys_max_cmd_len ; then
  5806. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  5807. +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  5808. +else
  5809. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  5810. +$as_echo "none" >&6; }
  5811. +fi
  5812. +max_cmd_len=$lt_cv_sys_max_cmd_len
  5813. +
  5814. +
  5815. +
  5816. +
  5817. +
  5818. +
  5819. +: ${CP="cp -f"}
  5820. +: ${MV="mv -f"}
  5821. +: ${RM="rm -f"}
  5822. +
  5823. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  5824. +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  5825. +# Try some XSI features
  5826. +xsi_shell=no
  5827. +( _lt_dummy="a/b/c"
  5828. + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
  5829. + = c,a/b,b/c, \
  5830. + && eval 'test $(( 1 + 1 )) -eq 2 \
  5831. + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  5832. + && xsi_shell=yes
  5833. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  5834. +$as_echo "$xsi_shell" >&6; }
  5835. +
  5836. +
  5837. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  5838. +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  5839. +lt_shell_append=no
  5840. +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  5841. + >/dev/null 2>&1 \
  5842. + && lt_shell_append=yes
  5843. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  5844. +$as_echo "$lt_shell_append" >&6; }
  5845. +
  5846. +
  5847. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  5848. + lt_unset=unset
  5849. +else
  5850. + lt_unset=false
  5851. +fi
  5852. +
  5853. +
  5854. +
  5855. +
  5856. +
  5857. +# test EBCDIC or ASCII
  5858. +case `echo X|tr X '\101'` in
  5859. + A) # ASCII based system
  5860. + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  5861. + lt_SP2NL='tr \040 \012'
  5862. + lt_NL2SP='tr \015\012 \040\040'
  5863. + ;;
  5864. + *) # EBCDIC based system
  5865. + lt_SP2NL='tr \100 \n'
  5866. + lt_NL2SP='tr \r\n \100\100'
  5867. + ;;
  5868. +esac
  5869. +
  5870. +
  5871. +
  5872. +
  5873. +
  5874. +
  5875. +
  5876. +
  5877. +
  5878. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  5879. +$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  5880. +if ${lt_cv_to_host_file_cmd+:} false; then :
  5881. + $as_echo_n "(cached) " >&6
  5882. +else
  5883. + case $host in
  5884. + *-*-mingw* )
  5885. + case $build in
  5886. + *-*-mingw* ) # actually msys
  5887. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  5888. + ;;
  5889. + *-*-cygwin* )
  5890. + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  5891. + ;;
  5892. + * ) # otherwise, assume *nix
  5893. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  5894. + ;;
  5895. + esac
  5896. + ;;
  5897. + *-*-cygwin* )
  5898. + case $build in
  5899. + *-*-mingw* ) # actually msys
  5900. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  5901. + ;;
  5902. + *-*-cygwin* )
  5903. + lt_cv_to_host_file_cmd=func_convert_file_noop
  5904. + ;;
  5905. + * ) # otherwise, assume *nix
  5906. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  5907. + ;;
  5908. + esac
  5909. + ;;
  5910. + * ) # unhandled hosts (and "normal" native builds)
  5911. + lt_cv_to_host_file_cmd=func_convert_file_noop
  5912. + ;;
  5913. +esac
  5914. +
  5915. +fi
  5916. +
  5917. +to_host_file_cmd=$lt_cv_to_host_file_cmd
  5918. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  5919. +$as_echo "$lt_cv_to_host_file_cmd" >&6; }
  5920. +
  5921. +
  5922. +
  5923. +
  5924. +
  5925. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  5926. +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  5927. +if ${lt_cv_to_tool_file_cmd+:} false; then :
  5928. + $as_echo_n "(cached) " >&6
  5929. +else
  5930. + #assume ordinary cross tools, or native build.
  5931. +lt_cv_to_tool_file_cmd=func_convert_file_noop
  5932. +case $host in
  5933. + *-*-mingw* )
  5934. + case $build in
  5935. + *-*-mingw* ) # actually msys
  5936. + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  5937. + ;;
  5938. + esac
  5939. + ;;
  5940. +esac
  5941. +
  5942. +fi
  5943. +
  5944. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  5945. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  5946. +$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  5947. +
  5948. +
  5949. +
  5950. +
  5951. +
  5952. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  5953. +$as_echo_n "checking for $LD option to reload object files... " >&6; }
  5954. +if ${lt_cv_ld_reload_flag+:} false; then :
  5955. + $as_echo_n "(cached) " >&6
  5956. +else
  5957. + lt_cv_ld_reload_flag='-r'
  5958. +fi
  5959. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  5960. +$as_echo "$lt_cv_ld_reload_flag" >&6; }
  5961. +reload_flag=$lt_cv_ld_reload_flag
  5962. +case $reload_flag in
  5963. +"" | " "*) ;;
  5964. +*) reload_flag=" $reload_flag" ;;
  5965. +esac
  5966. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5967. +case $host_os in
  5968. + cygwin* | mingw* | pw32* | cegcc*)
  5969. + if test "$GCC" != yes; then
  5970. + reload_cmds=false
  5971. + fi
  5972. + ;;
  5973. + darwin*)
  5974. + if test "$GCC" = yes; then
  5975. + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  5976. + else
  5977. + reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5978. + fi
  5979. + ;;
  5980. +esac
  5981. +
  5982. +
  5983. +
  5984. +
  5985. +
  5986. +
  5987. +
  5988. +
  5989. +
  5990. +if test -n "$ac_tool_prefix"; then
  5991. + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  5992. +set dummy ${ac_tool_prefix}objdump; ac_word=$2
  5993. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5994. +$as_echo_n "checking for $ac_word... " >&6; }
  5995. +if ${ac_cv_prog_OBJDUMP+:} false; then :
  5996. + $as_echo_n "(cached) " >&6
  5997. +else
  5998. + if test -n "$OBJDUMP"; then
  5999. + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  6000. +else
  6001. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6002. +for as_dir in $PATH
  6003. +do
  6004. + IFS=$as_save_IFS
  6005. + test -z "$as_dir" && as_dir=.
  6006. + for ac_exec_ext in '' $ac_executable_extensions; do
  6007. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6008. + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  6009. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6010. + break 2
  6011. + fi
  6012. +done
  6013. + done
  6014. +IFS=$as_save_IFS
  6015. +
  6016. +fi
  6017. +fi
  6018. +OBJDUMP=$ac_cv_prog_OBJDUMP
  6019. +if test -n "$OBJDUMP"; then
  6020. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  6021. +$as_echo "$OBJDUMP" >&6; }
  6022. +else
  6023. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6024. +$as_echo "no" >&6; }
  6025. +fi
  6026. +
  6027. +
  6028. +fi
  6029. +if test -z "$ac_cv_prog_OBJDUMP"; then
  6030. + ac_ct_OBJDUMP=$OBJDUMP
  6031. + # Extract the first word of "objdump", so it can be a program name with args.
  6032. +set dummy objdump; ac_word=$2
  6033. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6034. +$as_echo_n "checking for $ac_word... " >&6; }
  6035. +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  6036. + $as_echo_n "(cached) " >&6
  6037. +else
  6038. + if test -n "$ac_ct_OBJDUMP"; then
  6039. + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  6040. +else
  6041. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6042. +for as_dir in $PATH
  6043. +do
  6044. + IFS=$as_save_IFS
  6045. + test -z "$as_dir" && as_dir=.
  6046. + for ac_exec_ext in '' $ac_executable_extensions; do
  6047. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6048. + ac_cv_prog_ac_ct_OBJDUMP="objdump"
  6049. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6050. + break 2
  6051. + fi
  6052. +done
  6053. + done
  6054. +IFS=$as_save_IFS
  6055. +
  6056. +fi
  6057. +fi
  6058. +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  6059. +if test -n "$ac_ct_OBJDUMP"; then
  6060. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  6061. +$as_echo "$ac_ct_OBJDUMP" >&6; }
  6062. +else
  6063. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6064. +$as_echo "no" >&6; }
  6065. +fi
  6066. +
  6067. + if test "x$ac_ct_OBJDUMP" = x; then
  6068. + OBJDUMP="false"
  6069. + else
  6070. + case $cross_compiling:$ac_tool_warned in
  6071. +yes:)
  6072. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6073. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6074. +ac_tool_warned=yes ;;
  6075. +esac
  6076. + OBJDUMP=$ac_ct_OBJDUMP
  6077. + fi
  6078. +else
  6079. + OBJDUMP="$ac_cv_prog_OBJDUMP"
  6080. +fi
  6081. +
  6082. +test -z "$OBJDUMP" && OBJDUMP=objdump
  6083. +
  6084. +
  6085. +
  6086. +
  6087. +
  6088. +
  6089. +
  6090. +
  6091. +
  6092. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  6093. +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
  6094. +if ${lt_cv_deplibs_check_method+:} false; then :
  6095. + $as_echo_n "(cached) " >&6
  6096. +else
  6097. + lt_cv_file_magic_cmd='$MAGIC_CMD'
  6098. +lt_cv_file_magic_test_file=
  6099. +lt_cv_deplibs_check_method='unknown'
  6100. +# Need to set the preceding variable on all platforms that support
  6101. +# interlibrary dependencies.
  6102. +# 'none' -- dependencies not supported.
  6103. +# `unknown' -- same as none, but documents that we really don't know.
  6104. +# 'pass_all' -- all dependencies passed with no checks.
  6105. +# 'test_compile' -- check by making test program.
  6106. +# 'file_magic [[regex]]' -- check by looking for files in library path
  6107. +# which responds to the $file_magic_cmd with a given extended regex.
  6108. +# If you have `file' or equivalent on your system and you're not sure
  6109. +# whether `pass_all' will *always* work, you probably want this one.
  6110. +
  6111. +case $host_os in
  6112. +aix[4-9]*)
  6113. + lt_cv_deplibs_check_method=pass_all
  6114. + ;;
  6115. +
  6116. +beos*)
  6117. + lt_cv_deplibs_check_method=pass_all
  6118. + ;;
  6119. +
  6120. +bsdi[45]*)
  6121. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  6122. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  6123. + lt_cv_file_magic_test_file=/shlib/libc.so
  6124. + ;;
  6125. +
  6126. +cygwin*)
  6127. + # func_win32_libid is a shell function defined in ltmain.sh
  6128. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  6129. + lt_cv_file_magic_cmd='func_win32_libid'
  6130. + ;;
  6131. +
  6132. +mingw* | pw32*)
  6133. + # Base MSYS/MinGW do not provide the 'file' command needed by
  6134. + # func_win32_libid shell function, so use a weaker test based on 'objdump',
  6135. + # unless we find 'file', for example because we are cross-compiling.
  6136. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  6137. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  6138. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  6139. + lt_cv_file_magic_cmd='func_win32_libid'
  6140. + else
  6141. + # Keep this pattern in sync with the one in func_win32_libid.
  6142. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  6143. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  6144. + fi
  6145. + ;;
  6146. +
  6147. +cegcc*)
  6148. + # use the weaker test based on 'objdump'. See mingw*.
  6149. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  6150. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  6151. + ;;
  6152. +
  6153. +darwin* | rhapsody*)
  6154. + lt_cv_deplibs_check_method=pass_all
  6155. + ;;
  6156. +
  6157. +freebsd* | dragonfly*)
  6158. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  6159. + case $host_cpu in
  6160. + i*86 )
  6161. + # Not sure whether the presence of OpenBSD here was a mistake.
  6162. + # Let's accept both of them until this is cleared up.
  6163. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  6164. + lt_cv_file_magic_cmd=/usr/bin/file
  6165. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  6166. + ;;
  6167. + esac
  6168. + else
  6169. + lt_cv_deplibs_check_method=pass_all
  6170. + fi
  6171. + ;;
  6172. +
  6173. +haiku*)
  6174. + lt_cv_deplibs_check_method=pass_all
  6175. + ;;
  6176. +
  6177. +hpux10.20* | hpux11*)
  6178. + lt_cv_file_magic_cmd=/usr/bin/file
  6179. + case $host_cpu in
  6180. + ia64*)
  6181. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  6182. + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  6183. + ;;
  6184. + hppa*64*)
  6185. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
  6186. + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  6187. + ;;
  6188. + *)
  6189. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  6190. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  6191. + ;;
  6192. + esac
  6193. + ;;
  6194. +
  6195. +interix[3-9]*)
  6196. + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  6197. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  6198. + ;;
  6199. +
  6200. +irix5* | irix6* | nonstopux*)
  6201. + case $LD in
  6202. + *-32|*"-32 ") libmagic=32-bit;;
  6203. + *-n32|*"-n32 ") libmagic=N32;;
  6204. + *-64|*"-64 ") libmagic=64-bit;;
  6205. + *) libmagic=never-match;;
  6206. + esac
  6207. + lt_cv_deplibs_check_method=pass_all
  6208. + ;;
  6209. +
  6210. +# This must be glibc/ELF.
  6211. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  6212. + lt_cv_deplibs_check_method=pass_all
  6213. + ;;
  6214. +
  6215. +netbsd* | netbsdelf*-gnu)
  6216. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  6217. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  6218. + else
  6219. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  6220. + fi
  6221. + ;;
  6222. +
  6223. +newos6*)
  6224. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  6225. + lt_cv_file_magic_cmd=/usr/bin/file
  6226. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  6227. + ;;
  6228. +
  6229. +*nto* | *qnx*)
  6230. + lt_cv_deplibs_check_method=pass_all
  6231. + ;;
  6232. +
  6233. +openbsd*)
  6234. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  6235. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  6236. + else
  6237. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  6238. + fi
  6239. + ;;
  6240. +
  6241. +osf3* | osf4* | osf5*)
  6242. + lt_cv_deplibs_check_method=pass_all
  6243. + ;;
  6244. +
  6245. +rdos*)
  6246. + lt_cv_deplibs_check_method=pass_all
  6247. + ;;
  6248. +
  6249. +solaris*)
  6250. + lt_cv_deplibs_check_method=pass_all
  6251. + ;;
  6252. +
  6253. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  6254. + lt_cv_deplibs_check_method=pass_all
  6255. + ;;
  6256. +
  6257. +sysv4 | sysv4.3*)
  6258. + case $host_vendor in
  6259. + motorola)
  6260. + 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]'
  6261. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  6262. + ;;
  6263. + ncr)
  6264. + lt_cv_deplibs_check_method=pass_all
  6265. + ;;
  6266. + sequent)
  6267. + lt_cv_file_magic_cmd='/bin/file'
  6268. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  6269. + ;;
  6270. + sni)
  6271. + lt_cv_file_magic_cmd='/bin/file'
  6272. + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  6273. + lt_cv_file_magic_test_file=/lib/libc.so
  6274. + ;;
  6275. + siemens)
  6276. + lt_cv_deplibs_check_method=pass_all
  6277. + ;;
  6278. + pc)
  6279. + lt_cv_deplibs_check_method=pass_all
  6280. + ;;
  6281. + esac
  6282. + ;;
  6283. +
  6284. +tpf*)
  6285. + lt_cv_deplibs_check_method=pass_all
  6286. + ;;
  6287. +esac
  6288. +
  6289. +fi
  6290. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  6291. +$as_echo "$lt_cv_deplibs_check_method" >&6; }
  6292. +
  6293. +file_magic_glob=
  6294. +want_nocaseglob=no
  6295. +if test "$build" = "$host"; then
  6296. + case $host_os in
  6297. + mingw* | pw32*)
  6298. + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  6299. + want_nocaseglob=yes
  6300. + else
  6301. + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  6302. + fi
  6303. + ;;
  6304. + esac
  6305. +fi
  6306. +
  6307. +file_magic_cmd=$lt_cv_file_magic_cmd
  6308. +deplibs_check_method=$lt_cv_deplibs_check_method
  6309. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  6310. +
  6311. +
  6312. +
  6313. +
  6314. +
  6315. +
  6316. +
  6317. +
  6318. +
  6319. +
  6320. +
  6321. +
  6322. +
  6323. +
  6324. +
  6325. +
  6326. +
  6327. +
  6328. +
  6329. +
  6330. +
  6331. +
  6332. +if test -n "$ac_tool_prefix"; then
  6333. + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  6334. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  6335. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6336. +$as_echo_n "checking for $ac_word... " >&6; }
  6337. +if ${ac_cv_prog_DLLTOOL+:} false; then :
  6338. + $as_echo_n "(cached) " >&6
  6339. +else
  6340. + if test -n "$DLLTOOL"; then
  6341. + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  6342. +else
  6343. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6344. +for as_dir in $PATH
  6345. +do
  6346. + IFS=$as_save_IFS
  6347. + test -z "$as_dir" && as_dir=.
  6348. + for ac_exec_ext in '' $ac_executable_extensions; do
  6349. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6350. + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  6351. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6352. + break 2
  6353. + fi
  6354. +done
  6355. + done
  6356. +IFS=$as_save_IFS
  6357. +
  6358. +fi
  6359. +fi
  6360. +DLLTOOL=$ac_cv_prog_DLLTOOL
  6361. +if test -n "$DLLTOOL"; then
  6362. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  6363. +$as_echo "$DLLTOOL" >&6; }
  6364. +else
  6365. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6366. +$as_echo "no" >&6; }
  6367. +fi
  6368. +
  6369. +
  6370. +fi
  6371. +if test -z "$ac_cv_prog_DLLTOOL"; then
  6372. + ac_ct_DLLTOOL=$DLLTOOL
  6373. + # Extract the first word of "dlltool", so it can be a program name with args.
  6374. +set dummy dlltool; ac_word=$2
  6375. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6376. +$as_echo_n "checking for $ac_word... " >&6; }
  6377. +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  6378. + $as_echo_n "(cached) " >&6
  6379. +else
  6380. + if test -n "$ac_ct_DLLTOOL"; then
  6381. + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  6382. +else
  6383. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6384. +for as_dir in $PATH
  6385. +do
  6386. + IFS=$as_save_IFS
  6387. + test -z "$as_dir" && as_dir=.
  6388. + for ac_exec_ext in '' $ac_executable_extensions; do
  6389. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6390. + ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  6391. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6392. + break 2
  6393. + fi
  6394. +done
  6395. + done
  6396. +IFS=$as_save_IFS
  6397. +
  6398. +fi
  6399. +fi
  6400. +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  6401. +if test -n "$ac_ct_DLLTOOL"; then
  6402. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  6403. +$as_echo "$ac_ct_DLLTOOL" >&6; }
  6404. +else
  6405. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6406. +$as_echo "no" >&6; }
  6407. +fi
  6408. +
  6409. + if test "x$ac_ct_DLLTOOL" = x; then
  6410. + DLLTOOL="false"
  6411. + else
  6412. + case $cross_compiling:$ac_tool_warned in
  6413. +yes:)
  6414. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6415. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6416. +ac_tool_warned=yes ;;
  6417. +esac
  6418. + DLLTOOL=$ac_ct_DLLTOOL
  6419. + fi
  6420. +else
  6421. + DLLTOOL="$ac_cv_prog_DLLTOOL"
  6422. +fi
  6423. +
  6424. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  6425. +
  6426. +
  6427. +
  6428. +
  6429. +
  6430. +
  6431. +
  6432. +
  6433. +
  6434. +
  6435. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  6436. +$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  6437. +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  6438. + $as_echo_n "(cached) " >&6
  6439. +else
  6440. + lt_cv_sharedlib_from_linklib_cmd='unknown'
  6441. +
  6442. +case $host_os in
  6443. +cygwin* | mingw* | pw32* | cegcc*)
  6444. + # two different shell functions defined in ltmain.sh
  6445. + # decide which to use based on capabilities of $DLLTOOL
  6446. + case `$DLLTOOL --help 2>&1` in
  6447. + *--identify-strict*)
  6448. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  6449. + ;;
  6450. + *)
  6451. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  6452. + ;;
  6453. + esac
  6454. + ;;
  6455. +*)
  6456. + # fallback: assume linklib IS sharedlib
  6457. + lt_cv_sharedlib_from_linklib_cmd="$ECHO"
  6458. + ;;
  6459. +esac
  6460. +
  6461. +fi
  6462. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  6463. +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  6464. +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  6465. +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  6466. +
  6467. +
  6468. +
  6469. +
  6470. +
  6471. +
  6472. +
  6473. +if test -n "$ac_tool_prefix"; then
  6474. + for ac_prog in ar
  6475. + do
  6476. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  6477. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  6478. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6479. +$as_echo_n "checking for $ac_word... " >&6; }
  6480. +if ${ac_cv_prog_AR+:} false; then :
  6481. + $as_echo_n "(cached) " >&6
  6482. +else
  6483. + if test -n "$AR"; then
  6484. + ac_cv_prog_AR="$AR" # Let the user override the test.
  6485. +else
  6486. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6487. +for as_dir in $PATH
  6488. +do
  6489. + IFS=$as_save_IFS
  6490. + test -z "$as_dir" && as_dir=.
  6491. + for ac_exec_ext in '' $ac_executable_extensions; do
  6492. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6493. + ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  6494. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6495. + break 2
  6496. + fi
  6497. +done
  6498. + done
  6499. +IFS=$as_save_IFS
  6500. +
  6501. +fi
  6502. +fi
  6503. +AR=$ac_cv_prog_AR
  6504. +if test -n "$AR"; then
  6505. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  6506. +$as_echo "$AR" >&6; }
  6507. +else
  6508. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6509. +$as_echo "no" >&6; }
  6510. +fi
  6511. +
  6512. +
  6513. + test -n "$AR" && break
  6514. + done
  6515. +fi
  6516. +if test -z "$AR"; then
  6517. + ac_ct_AR=$AR
  6518. + for ac_prog in ar
  6519. +do
  6520. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  6521. +set dummy $ac_prog; ac_word=$2
  6522. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6523. +$as_echo_n "checking for $ac_word... " >&6; }
  6524. +if ${ac_cv_prog_ac_ct_AR+:} false; then :
  6525. + $as_echo_n "(cached) " >&6
  6526. +else
  6527. + if test -n "$ac_ct_AR"; then
  6528. + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  6529. +else
  6530. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6531. +for as_dir in $PATH
  6532. +do
  6533. + IFS=$as_save_IFS
  6534. + test -z "$as_dir" && as_dir=.
  6535. + for ac_exec_ext in '' $ac_executable_extensions; do
  6536. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6537. + ac_cv_prog_ac_ct_AR="$ac_prog"
  6538. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6539. + break 2
  6540. + fi
  6541. +done
  6542. + done
  6543. +IFS=$as_save_IFS
  6544. +
  6545. +fi
  6546. +fi
  6547. +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  6548. +if test -n "$ac_ct_AR"; then
  6549. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  6550. +$as_echo "$ac_ct_AR" >&6; }
  6551. +else
  6552. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6553. +$as_echo "no" >&6; }
  6554. +fi
  6555. +
  6556. +
  6557. + test -n "$ac_ct_AR" && break
  6558. +done
  6559. +
  6560. + if test "x$ac_ct_AR" = x; then
  6561. + AR="false"
  6562. + else
  6563. + case $cross_compiling:$ac_tool_warned in
  6564. +yes:)
  6565. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6566. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6567. +ac_tool_warned=yes ;;
  6568. +esac
  6569. + AR=$ac_ct_AR
  6570. + fi
  6571. +fi
  6572. +
  6573. +: ${AR=ar}
  6574. +: ${AR_FLAGS=cru}
  6575. +
  6576. +
  6577. +
  6578. +
  6579. +
  6580. +
  6581. +
  6582. +
  6583. +
  6584. +
  6585. +
  6586. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  6587. +$as_echo_n "checking for archiver @FILE support... " >&6; }
  6588. +if ${lt_cv_ar_at_file+:} false; then :
  6589. + $as_echo_n "(cached) " >&6
  6590. +else
  6591. + lt_cv_ar_at_file=no
  6592. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6593. +/* end confdefs.h. */
  6594. +
  6595. +int
  6596. +main ()
  6597. +{
  6598. +
  6599. + ;
  6600. + return 0;
  6601. +}
  6602. +_ACEOF
  6603. +if ac_fn_c_try_compile "$LINENO"; then :
  6604. + echo conftest.$ac_objext > conftest.lst
  6605. + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  6606. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  6607. + (eval $lt_ar_try) 2>&5
  6608. + ac_status=$?
  6609. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6610. + test $ac_status = 0; }
  6611. + if test "$ac_status" -eq 0; then
  6612. + # Ensure the archiver fails upon bogus file names.
  6613. + rm -f conftest.$ac_objext libconftest.a
  6614. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  6615. + (eval $lt_ar_try) 2>&5
  6616. + ac_status=$?
  6617. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6618. + test $ac_status = 0; }
  6619. + if test "$ac_status" -ne 0; then
  6620. + lt_cv_ar_at_file=@
  6621. + fi
  6622. + fi
  6623. + rm -f conftest.* libconftest.a
  6624. +
  6625. +fi
  6626. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6627. +
  6628. +fi
  6629. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  6630. +$as_echo "$lt_cv_ar_at_file" >&6; }
  6631. +
  6632. +if test "x$lt_cv_ar_at_file" = xno; then
  6633. + archiver_list_spec=
  6634. +else
  6635. + archiver_list_spec=$lt_cv_ar_at_file
  6636. +fi
  6637. +
  6638. +
  6639. +
  6640. +
  6641. +
  6642. +
  6643. +
  6644. +if test -n "$ac_tool_prefix"; then
  6645. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  6646. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  6647. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6648. +$as_echo_n "checking for $ac_word... " >&6; }
  6649. +if ${ac_cv_prog_STRIP+:} false; then :
  6650. + $as_echo_n "(cached) " >&6
  6651. +else
  6652. + if test -n "$STRIP"; then
  6653. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  6654. +else
  6655. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6656. +for as_dir in $PATH
  6657. +do
  6658. + IFS=$as_save_IFS
  6659. + test -z "$as_dir" && as_dir=.
  6660. + for ac_exec_ext in '' $ac_executable_extensions; do
  6661. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6662. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  6663. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6664. + break 2
  6665. + fi
  6666. +done
  6667. + done
  6668. +IFS=$as_save_IFS
  6669. +
  6670. +fi
  6671. +fi
  6672. +STRIP=$ac_cv_prog_STRIP
  6673. +if test -n "$STRIP"; then
  6674. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  6675. +$as_echo "$STRIP" >&6; }
  6676. +else
  6677. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6678. +$as_echo "no" >&6; }
  6679. +fi
  6680. +
  6681. +
  6682. +fi
  6683. +if test -z "$ac_cv_prog_STRIP"; then
  6684. + ac_ct_STRIP=$STRIP
  6685. + # Extract the first word of "strip", so it can be a program name with args.
  6686. +set dummy strip; ac_word=$2
  6687. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6688. +$as_echo_n "checking for $ac_word... " >&6; }
  6689. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  6690. + $as_echo_n "(cached) " >&6
  6691. +else
  6692. + if test -n "$ac_ct_STRIP"; then
  6693. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  6694. +else
  6695. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6696. +for as_dir in $PATH
  6697. +do
  6698. + IFS=$as_save_IFS
  6699. + test -z "$as_dir" && as_dir=.
  6700. + for ac_exec_ext in '' $ac_executable_extensions; do
  6701. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6702. + ac_cv_prog_ac_ct_STRIP="strip"
  6703. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6704. + break 2
  6705. + fi
  6706. +done
  6707. + done
  6708. +IFS=$as_save_IFS
  6709. +
  6710. +fi
  6711. +fi
  6712. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  6713. +if test -n "$ac_ct_STRIP"; then
  6714. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  6715. +$as_echo "$ac_ct_STRIP" >&6; }
  6716. +else
  6717. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6718. +$as_echo "no" >&6; }
  6719. +fi
  6720. +
  6721. + if test "x$ac_ct_STRIP" = x; then
  6722. + STRIP=":"
  6723. + else
  6724. + case $cross_compiling:$ac_tool_warned in
  6725. +yes:)
  6726. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6727. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6728. +ac_tool_warned=yes ;;
  6729. +esac
  6730. + STRIP=$ac_ct_STRIP
  6731. + fi
  6732. +else
  6733. + STRIP="$ac_cv_prog_STRIP"
  6734. +fi
  6735. +
  6736. +test -z "$STRIP" && STRIP=:
  6737. +
  6738. +
  6739. +
  6740. +
  6741. +
  6742. +
  6743. +if test -n "$ac_tool_prefix"; then
  6744. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  6745. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  6746. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6747. +$as_echo_n "checking for $ac_word... " >&6; }
  6748. +if ${ac_cv_prog_RANLIB+:} false; then :
  6749. + $as_echo_n "(cached) " >&6
  6750. +else
  6751. + if test -n "$RANLIB"; then
  6752. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  6753. +else
  6754. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6755. +for as_dir in $PATH
  6756. +do
  6757. + IFS=$as_save_IFS
  6758. + test -z "$as_dir" && as_dir=.
  6759. + for ac_exec_ext in '' $ac_executable_extensions; do
  6760. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6761. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  6762. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6763. + break 2
  6764. + fi
  6765. +done
  6766. + done
  6767. +IFS=$as_save_IFS
  6768. +
  6769. +fi
  6770. +fi
  6771. +RANLIB=$ac_cv_prog_RANLIB
  6772. +if test -n "$RANLIB"; then
  6773. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  6774. +$as_echo "$RANLIB" >&6; }
  6775. +else
  6776. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6777. +$as_echo "no" >&6; }
  6778. +fi
  6779. +
  6780. +
  6781. +fi
  6782. +if test -z "$ac_cv_prog_RANLIB"; then
  6783. + ac_ct_RANLIB=$RANLIB
  6784. + # Extract the first word of "ranlib", so it can be a program name with args.
  6785. +set dummy ranlib; ac_word=$2
  6786. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6787. +$as_echo_n "checking for $ac_word... " >&6; }
  6788. +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  6789. + $as_echo_n "(cached) " >&6
  6790. +else
  6791. + if test -n "$ac_ct_RANLIB"; then
  6792. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  6793. +else
  6794. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6795. +for as_dir in $PATH
  6796. +do
  6797. + IFS=$as_save_IFS
  6798. + test -z "$as_dir" && as_dir=.
  6799. + for ac_exec_ext in '' $ac_executable_extensions; do
  6800. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6801. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  6802. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6803. + break 2
  6804. + fi
  6805. +done
  6806. + done
  6807. +IFS=$as_save_IFS
  6808. +
  6809. +fi
  6810. +fi
  6811. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  6812. +if test -n "$ac_ct_RANLIB"; then
  6813. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  6814. +$as_echo "$ac_ct_RANLIB" >&6; }
  6815. +else
  6816. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6817. +$as_echo "no" >&6; }
  6818. +fi
  6819. +
  6820. + if test "x$ac_ct_RANLIB" = x; then
  6821. + RANLIB=":"
  6822. + else
  6823. + case $cross_compiling:$ac_tool_warned in
  6824. +yes:)
  6825. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6826. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6827. +ac_tool_warned=yes ;;
  6828. +esac
  6829. + RANLIB=$ac_ct_RANLIB
  6830. + fi
  6831. +else
  6832. + RANLIB="$ac_cv_prog_RANLIB"
  6833. +fi
  6834. +
  6835. +test -z "$RANLIB" && RANLIB=:
  6836. +
  6837. +
  6838. +
  6839. +
  6840. +
  6841. +
  6842. +# Determine commands to create old-style static archives.
  6843. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  6844. +old_postinstall_cmds='chmod 644 $oldlib'
  6845. +old_postuninstall_cmds=
  6846. +
  6847. +if test -n "$RANLIB"; then
  6848. + case $host_os in
  6849. + openbsd*)
  6850. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  6851. + ;;
  6852. + *)
  6853. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  6854. + ;;
  6855. + esac
  6856. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  6857. +fi
  6858. +
  6859. +case $host_os in
  6860. + darwin*)
  6861. + lock_old_archive_extraction=yes ;;
  6862. + *)
  6863. + lock_old_archive_extraction=no ;;
  6864. +esac
  6865. +
  6866. +
  6867. +
  6868. +
  6869. +
  6870. +
  6871. +
  6872. +
  6873. +
  6874. +
  6875. +
  6876. +
  6877. +
  6878. +
  6879. +
  6880. +
  6881. +
  6882. +
  6883. +
  6884. +
  6885. +
  6886. +
  6887. +
  6888. +
  6889. +
  6890. +
  6891. +
  6892. +
  6893. +
  6894. +
  6895. +
  6896. +
  6897. +
  6898. +
  6899. +
  6900. +
  6901. +
  6902. +
  6903. +
  6904. +# If no C compiler was specified, use CC.
  6905. +LTCC=${LTCC-"$CC"}
  6906. +
  6907. +# If no C compiler flags were specified, use CFLAGS.
  6908. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  6909. +
  6910. +# Allow CC to be a program name with arguments.
  6911. +compiler=$CC
  6912. +
  6913. +
  6914. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  6915. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  6916. +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  6917. +if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  6918. + $as_echo_n "(cached) " >&6
  6919. +else
  6920. +
  6921. +# These are sane defaults that work on at least a few old systems.
  6922. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  6923. +
  6924. +# Character class describing NM global symbol codes.
  6925. +symcode='[BCDEGRST]'
  6926. +
  6927. +# Regexp to match symbols that can be accessed directly from C.
  6928. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  6929. +
  6930. +# Define system-specific variables.
  6931. +case $host_os in
  6932. +aix*)
  6933. + symcode='[BCDT]'
  6934. + ;;
  6935. +cygwin* | mingw* | pw32* | cegcc*)
  6936. + symcode='[ABCDGISTW]'
  6937. + ;;
  6938. +hpux*)
  6939. + if test "$host_cpu" = ia64; then
  6940. + symcode='[ABCDEGRST]'
  6941. + fi
  6942. + ;;
  6943. +irix* | nonstopux*)
  6944. + symcode='[BCDEGRST]'
  6945. + ;;
  6946. +osf*)
  6947. + symcode='[BCDEGQRST]'
  6948. + ;;
  6949. +solaris*)
  6950. + symcode='[BDRT]'
  6951. + ;;
  6952. +sco3.2v5*)
  6953. + symcode='[DT]'
  6954. + ;;
  6955. +sysv4.2uw2*)
  6956. + symcode='[DT]'
  6957. + ;;
  6958. +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  6959. + symcode='[ABDT]'
  6960. + ;;
  6961. +sysv4)
  6962. + symcode='[DFNSTU]'
  6963. + ;;
  6964. +esac
  6965. +
  6966. +# If we're using GNU nm, then use its standard symbol codes.
  6967. +case `$NM -V 2>&1` in
  6968. +*GNU* | *'with BFD'*)
  6969. + symcode='[ABCDGIRSTW]' ;;
  6970. +esac
  6971. +
  6972. +# Transform an extracted symbol line into a proper C declaration.
  6973. +# Some systems (esp. on ia64) link data and code symbols differently,
  6974. +# so use this general approach.
  6975. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  6976. +
  6977. +# Transform an extracted symbol line into symbol name and symbol address
  6978. +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  6979. +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'"
  6980. +
  6981. +# Handle CRLF in mingw tool chain
  6982. +opt_cr=
  6983. +case $build_os in
  6984. +mingw*)
  6985. + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  6986. + ;;
  6987. +esac
  6988. +
  6989. +# Try without a prefix underscore, then with it.
  6990. +for ac_symprfx in "" "_"; do
  6991. +
  6992. + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  6993. + symxfrm="\\1 $ac_symprfx\\2 \\2"
  6994. +
  6995. + # Write the raw and C identifiers.
  6996. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  6997. + # Fake it for dumpbin and say T for any non-static function
  6998. + # and D for any global variable.
  6999. + # Also find C++ and __fastcall symbols from MSVC++,
  7000. + # which start with @ or ?.
  7001. + lt_cv_sys_global_symbol_pipe="$AWK '"\
  7002. +" {last_section=section; section=\$ 3};"\
  7003. +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  7004. +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  7005. +" \$ 0!~/External *\|/{next};"\
  7006. +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  7007. +" {if(hide[section]) next};"\
  7008. +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  7009. +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  7010. +" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  7011. +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  7012. +" ' prfx=^$ac_symprfx"
  7013. + else
  7014. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  7015. + fi
  7016. + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  7017. +
  7018. + # Check to see that the pipe works correctly.
  7019. + pipe_works=no
  7020. +
  7021. + rm -f conftest*
  7022. + cat > conftest.$ac_ext <<_LT_EOF
  7023. +#ifdef __cplusplus
  7024. +extern "C" {
  7025. +#endif
  7026. +char nm_test_var;
  7027. +void nm_test_func(void);
  7028. +void nm_test_func(void){}
  7029. +#ifdef __cplusplus
  7030. +}
  7031. +#endif
  7032. +int main(){nm_test_var='a';nm_test_func();return(0);}
  7033. +_LT_EOF
  7034. +
  7035. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7036. + (eval $ac_compile) 2>&5
  7037. + ac_status=$?
  7038. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7039. + test $ac_status = 0; }; then
  7040. + # Now try to grab the symbols.
  7041. + nlist=conftest.nm
  7042. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  7043. + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  7044. + ac_status=$?
  7045. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7046. + test $ac_status = 0; } && test -s "$nlist"; then
  7047. + # Try sorting and uniquifying the output.
  7048. + if sort "$nlist" | uniq > "$nlist"T; then
  7049. + mv -f "$nlist"T "$nlist"
  7050. + else
  7051. + rm -f "$nlist"T
  7052. + fi
  7053. +
  7054. + # Make sure that we snagged all the symbols we need.
  7055. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  7056. + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  7057. + cat <<_LT_EOF > conftest.$ac_ext
  7058. +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  7059. +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
  7060. +/* DATA imports from DLLs on WIN32 con't be const, because runtime
  7061. + relocations are performed -- see ld's documentation on pseudo-relocs. */
  7062. +# define LT@&t@_DLSYM_CONST
  7063. +#elif defined(__osf__)
  7064. +/* This system does not cope well with relocations in const data. */
  7065. +# define LT@&t@_DLSYM_CONST
  7066. +#else
  7067. +# define LT@&t@_DLSYM_CONST const
  7068. +#endif
  7069. +
  7070. +#ifdef __cplusplus
  7071. +extern "C" {
  7072. +#endif
  7073. +
  7074. +_LT_EOF
  7075. + # Now generate the symbol file.
  7076. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  7077. +
  7078. + cat <<_LT_EOF >> conftest.$ac_ext
  7079. +
  7080. +/* The mapping between symbol names and symbols. */
  7081. +LT@&t@_DLSYM_CONST struct {
  7082. + const char *name;
  7083. + void *address;
  7084. +}
  7085. +lt__PROGRAM__LTX_preloaded_symbols[] =
  7086. +{
  7087. + { "@PROGRAM@", (void *) 0 },
  7088. +_LT_EOF
  7089. + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  7090. + cat <<\_LT_EOF >> conftest.$ac_ext
  7091. + {0, (void *) 0}
  7092. +};
  7093. +
  7094. +/* This works around a problem in FreeBSD linker */
  7095. +#ifdef FREEBSD_WORKAROUND
  7096. +static const void *lt_preloaded_setup() {
  7097. + return lt__PROGRAM__LTX_preloaded_symbols;
  7098. +}
  7099. +#endif
  7100. +
  7101. +#ifdef __cplusplus
  7102. +}
  7103. +#endif
  7104. +_LT_EOF
  7105. + # Now try linking the two files.
  7106. + mv conftest.$ac_objext conftstm.$ac_objext
  7107. + lt_globsym_save_LIBS=$LIBS
  7108. + lt_globsym_save_CFLAGS=$CFLAGS
  7109. + LIBS="conftstm.$ac_objext"
  7110. + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  7111. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  7112. + (eval $ac_link) 2>&5
  7113. + ac_status=$?
  7114. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7115. + test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  7116. + pipe_works=yes
  7117. + fi
  7118. + LIBS=$lt_globsym_save_LIBS
  7119. + CFLAGS=$lt_globsym_save_CFLAGS
  7120. + else
  7121. + echo "cannot find nm_test_func in $nlist" >&5
  7122. + fi
  7123. + else
  7124. + echo "cannot find nm_test_var in $nlist" >&5
  7125. + fi
  7126. + else
  7127. + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  7128. + fi
  7129. + else
  7130. + echo "$progname: failed program was:" >&5
  7131. + cat conftest.$ac_ext >&5
  7132. + fi
  7133. + rm -rf conftest* conftst*
  7134. +
  7135. + # Do not use the global_symbol_pipe unless it works.
  7136. + if test "$pipe_works" = yes; then
  7137. + break
  7138. + else
  7139. + lt_cv_sys_global_symbol_pipe=
  7140. + fi
  7141. +done
  7142. +
  7143. +fi
  7144. +
  7145. +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  7146. + lt_cv_sys_global_symbol_to_cdecl=
  7147. +fi
  7148. +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  7149. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  7150. +$as_echo "failed" >&6; }
  7151. +else
  7152. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  7153. +$as_echo "ok" >&6; }
  7154. +fi
  7155. +
  7156. +# Response file support.
  7157. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  7158. + nm_file_list_spec='@'
  7159. +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  7160. + nm_file_list_spec='@'
  7161. +fi
  7162. +
  7163. +
  7164. +
  7165. +
  7166. +
  7167. +
  7168. +
  7169. +
  7170. +
  7171. +
  7172. +
  7173. +
  7174. +
  7175. +
  7176. +
  7177. +
  7178. +
  7179. +
  7180. +
  7181. +
  7182. +
  7183. +
  7184. +
  7185. +
  7186. +
  7187. +
  7188. +
  7189. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  7190. +$as_echo_n "checking for sysroot... " >&6; }
  7191. +
  7192. +@%:@ Check whether --with-sysroot was given.
  7193. +if test "${with_sysroot+set}" = set; then :
  7194. + withval=$with_sysroot;
  7195. +else
  7196. + with_sysroot=no
  7197. +fi
  7198. +
  7199. +
  7200. +lt_sysroot=
  7201. +case ${with_sysroot} in #(
  7202. + yes)
  7203. + if test "$GCC" = yes; then
  7204. + lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  7205. + fi
  7206. + ;; #(
  7207. + /*)
  7208. + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  7209. + ;; #(
  7210. + no|'')
  7211. + ;; #(
  7212. + *)
  7213. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
  7214. +$as_echo "${with_sysroot}" >&6; }
  7215. + as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  7216. + ;;
  7217. +esac
  7218. +
  7219. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  7220. +$as_echo "${lt_sysroot:-no}" >&6; }
  7221. +
  7222. +
  7223. +
  7224. +
  7225. +
  7226. +@%:@ Check whether --enable-libtool-lock was given.
  7227. +if test "${enable_libtool_lock+set}" = set; then :
  7228. + enableval=$enable_libtool_lock;
  7229. +fi
  7230. +
  7231. +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  7232. +
  7233. +# Some flags need to be propagated to the compiler or linker for good
  7234. +# libtool support.
  7235. +case $host in
  7236. +ia64-*-hpux*)
  7237. + # Find out which ABI we are using.
  7238. + echo 'int i;' > conftest.$ac_ext
  7239. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7240. + (eval $ac_compile) 2>&5
  7241. + ac_status=$?
  7242. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7243. + test $ac_status = 0; }; then
  7244. + case `/usr/bin/file conftest.$ac_objext` in
  7245. + *ELF-32*)
  7246. + HPUX_IA64_MODE="32"
  7247. + ;;
  7248. + *ELF-64*)
  7249. + HPUX_IA64_MODE="64"
  7250. + ;;
  7251. + esac
  7252. + fi
  7253. + rm -rf conftest*
  7254. + ;;
  7255. +*-*-irix6*)
  7256. + # Find out which ABI we are using.
  7257. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  7258. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7259. + (eval $ac_compile) 2>&5
  7260. + ac_status=$?
  7261. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7262. + test $ac_status = 0; }; then
  7263. + if test "$lt_cv_prog_gnu_ld" = yes; then
  7264. + case `/usr/bin/file conftest.$ac_objext` in
  7265. + *32-bit*)
  7266. + LD="${LD-ld} -melf32bsmip"
  7267. + ;;
  7268. + *N32*)
  7269. + LD="${LD-ld} -melf32bmipn32"
  7270. + ;;
  7271. + *64-bit*)
  7272. + LD="${LD-ld} -melf64bmip"
  7273. + ;;
  7274. + esac
  7275. + else
  7276. + case `/usr/bin/file conftest.$ac_objext` in
  7277. + *32-bit*)
  7278. + LD="${LD-ld} -32"
  7279. + ;;
  7280. + *N32*)
  7281. + LD="${LD-ld} -n32"
  7282. + ;;
  7283. + *64-bit*)
  7284. + LD="${LD-ld} -64"
  7285. + ;;
  7286. + esac
  7287. + fi
  7288. + fi
  7289. + rm -rf conftest*
  7290. + ;;
  7291. +
  7292. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  7293. +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  7294. + # Find out which ABI we are using.
  7295. + echo 'int i;' > conftest.$ac_ext
  7296. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7297. + (eval $ac_compile) 2>&5
  7298. + ac_status=$?
  7299. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7300. + test $ac_status = 0; }; then
  7301. + case `/usr/bin/file conftest.o` in
  7302. + *32-bit*)
  7303. + case $host in
  7304. + x86_64-*kfreebsd*-gnu)
  7305. + LD="${LD-ld} -m elf_i386_fbsd"
  7306. + ;;
  7307. + x86_64-*linux*)
  7308. + LD="${LD-ld} -m elf_i386"
  7309. + ;;
  7310. + ppc64-*linux*|powerpc64-*linux*)
  7311. + LD="${LD-ld} -m elf32ppclinux"
  7312. + ;;
  7313. + s390x-*linux*)
  7314. + LD="${LD-ld} -m elf_s390"
  7315. + ;;
  7316. + sparc64-*linux*)
  7317. + LD="${LD-ld} -m elf32_sparc"
  7318. + ;;
  7319. + esac
  7320. + ;;
  7321. + *64-bit*)
  7322. + case $host in
  7323. + x86_64-*kfreebsd*-gnu)
  7324. + LD="${LD-ld} -m elf_x86_64_fbsd"
  7325. + ;;
  7326. + x86_64-*linux*)
  7327. + LD="${LD-ld} -m elf_x86_64"
  7328. + ;;
  7329. + ppc*-*linux*|powerpc*-*linux*)
  7330. + LD="${LD-ld} -m elf64ppc"
  7331. + ;;
  7332. + s390*-*linux*|s390*-*tpf*)
  7333. + LD="${LD-ld} -m elf64_s390"
  7334. + ;;
  7335. + sparc*-*linux*)
  7336. + LD="${LD-ld} -m elf64_sparc"
  7337. + ;;
  7338. + esac
  7339. + ;;
  7340. + esac
  7341. + fi
  7342. + rm -rf conftest*
  7343. + ;;
  7344. +
  7345. +*-*-sco3.2v5*)
  7346. + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  7347. + SAVE_CFLAGS="$CFLAGS"
  7348. + CFLAGS="$CFLAGS -belf"
  7349. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  7350. +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  7351. +if ${lt_cv_cc_needs_belf+:} false; then :
  7352. + $as_echo_n "(cached) " >&6
  7353. +else
  7354. + ac_ext=c
  7355. +ac_cpp='$CPP $CPPFLAGS'
  7356. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7357. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7358. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7359. +
  7360. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7361. +/* end confdefs.h. */
  7362. +
  7363. +int
  7364. +main ()
  7365. +{
  7366. +
  7367. + ;
  7368. + return 0;
  7369. +}
  7370. +_ACEOF
  7371. +if ac_fn_c_try_link "$LINENO"; then :
  7372. + lt_cv_cc_needs_belf=yes
  7373. +else
  7374. + lt_cv_cc_needs_belf=no
  7375. +fi
  7376. +rm -f core conftest.err conftest.$ac_objext \
  7377. + conftest$ac_exeext conftest.$ac_ext
  7378. + ac_ext=c
  7379. +ac_cpp='$CPP $CPPFLAGS'
  7380. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7381. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7382. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7383. +
  7384. +fi
  7385. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  7386. +$as_echo "$lt_cv_cc_needs_belf" >&6; }
  7387. + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  7388. + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  7389. + CFLAGS="$SAVE_CFLAGS"
  7390. + fi
  7391. + ;;
  7392. +*-*solaris*)
  7393. + # Find out which ABI we are using.
  7394. + echo 'int i;' > conftest.$ac_ext
  7395. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7396. + (eval $ac_compile) 2>&5
  7397. + ac_status=$?
  7398. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7399. + test $ac_status = 0; }; then
  7400. + case `/usr/bin/file conftest.o` in
  7401. + *64-bit*)
  7402. + case $lt_cv_prog_gnu_ld in
  7403. + yes*)
  7404. + case $host in
  7405. + i?86-*-solaris*)
  7406. + LD="${LD-ld} -m elf_x86_64"
  7407. + ;;
  7408. + sparc*-*-solaris*)
  7409. + LD="${LD-ld} -m elf64_sparc"
  7410. + ;;
  7411. + esac
  7412. + # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
  7413. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  7414. + LD="${LD-ld}_sol2"
  7415. + fi
  7416. + ;;
  7417. + *)
  7418. + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  7419. + LD="${LD-ld} -64"
  7420. + fi
  7421. + ;;
  7422. + esac
  7423. + ;;
  7424. + esac
  7425. + fi
  7426. + rm -rf conftest*
  7427. + ;;
  7428. +esac
  7429. +
  7430. +need_locks="$enable_libtool_lock"
  7431. +
  7432. +if test -n "$ac_tool_prefix"; then
  7433. + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  7434. +set dummy ${ac_tool_prefix}mt; ac_word=$2
  7435. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7436. +$as_echo_n "checking for $ac_word... " >&6; }
  7437. +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  7438. + $as_echo_n "(cached) " >&6
  7439. +else
  7440. + if test -n "$MANIFEST_TOOL"; then
  7441. + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  7442. +else
  7443. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7444. +for as_dir in $PATH
  7445. +do
  7446. + IFS=$as_save_IFS
  7447. + test -z "$as_dir" && as_dir=.
  7448. + for ac_exec_ext in '' $ac_executable_extensions; do
  7449. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7450. + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  7451. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7452. + break 2
  7453. + fi
  7454. +done
  7455. + done
  7456. +IFS=$as_save_IFS
  7457. +
  7458. +fi
  7459. +fi
  7460. +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  7461. +if test -n "$MANIFEST_TOOL"; then
  7462. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  7463. +$as_echo "$MANIFEST_TOOL" >&6; }
  7464. +else
  7465. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7466. +$as_echo "no" >&6; }
  7467. +fi
  7468. +
  7469. +
  7470. +fi
  7471. +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  7472. + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  7473. + # Extract the first word of "mt", so it can be a program name with args.
  7474. +set dummy mt; ac_word=$2
  7475. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7476. +$as_echo_n "checking for $ac_word... " >&6; }
  7477. +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  7478. + $as_echo_n "(cached) " >&6
  7479. +else
  7480. + if test -n "$ac_ct_MANIFEST_TOOL"; then
  7481. + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  7482. +else
  7483. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7484. +for as_dir in $PATH
  7485. +do
  7486. + IFS=$as_save_IFS
  7487. + test -z "$as_dir" && as_dir=.
  7488. + for ac_exec_ext in '' $ac_executable_extensions; do
  7489. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7490. + ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  7491. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7492. + break 2
  7493. + fi
  7494. +done
  7495. + done
  7496. +IFS=$as_save_IFS
  7497. +
  7498. +fi
  7499. +fi
  7500. +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  7501. +if test -n "$ac_ct_MANIFEST_TOOL"; then
  7502. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  7503. +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  7504. +else
  7505. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7506. +$as_echo "no" >&6; }
  7507. +fi
  7508. +
  7509. + if test "x$ac_ct_MANIFEST_TOOL" = x; then
  7510. + MANIFEST_TOOL=":"
  7511. + else
  7512. + case $cross_compiling:$ac_tool_warned in
  7513. +yes:)
  7514. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7515. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7516. +ac_tool_warned=yes ;;
  7517. +esac
  7518. + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  7519. + fi
  7520. +else
  7521. + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  7522. +fi
  7523. +
  7524. +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  7525. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  7526. +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  7527. +if ${lt_cv_path_mainfest_tool+:} false; then :
  7528. + $as_echo_n "(cached) " >&6
  7529. +else
  7530. + lt_cv_path_mainfest_tool=no
  7531. + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  7532. + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  7533. + cat conftest.err >&5
  7534. + if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  7535. + lt_cv_path_mainfest_tool=yes
  7536. + fi
  7537. + rm -f conftest*
  7538. +fi
  7539. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  7540. +$as_echo "$lt_cv_path_mainfest_tool" >&6; }
  7541. +if test "x$lt_cv_path_mainfest_tool" != xyes; then
  7542. + MANIFEST_TOOL=:
  7543. +fi
  7544. +
  7545. +
  7546. +
  7547. +
  7548. +
  7549. +
  7550. + case $host_os in
  7551. + rhapsody* | darwin*)
  7552. + if test -n "$ac_tool_prefix"; then
  7553. + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  7554. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  7555. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7556. +$as_echo_n "checking for $ac_word... " >&6; }
  7557. +if ${ac_cv_prog_DSYMUTIL+:} false; then :
  7558. + $as_echo_n "(cached) " >&6
  7559. +else
  7560. + if test -n "$DSYMUTIL"; then
  7561. + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  7562. +else
  7563. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7564. +for as_dir in $PATH
  7565. +do
  7566. + IFS=$as_save_IFS
  7567. + test -z "$as_dir" && as_dir=.
  7568. + for ac_exec_ext in '' $ac_executable_extensions; do
  7569. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7570. + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  7571. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7572. + break 2
  7573. + fi
  7574. +done
  7575. + done
  7576. +IFS=$as_save_IFS
  7577. +
  7578. +fi
  7579. +fi
  7580. +DSYMUTIL=$ac_cv_prog_DSYMUTIL
  7581. +if test -n "$DSYMUTIL"; then
  7582. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  7583. +$as_echo "$DSYMUTIL" >&6; }
  7584. +else
  7585. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7586. +$as_echo "no" >&6; }
  7587. +fi
  7588. +
  7589. +
  7590. +fi
  7591. +if test -z "$ac_cv_prog_DSYMUTIL"; then
  7592. + ac_ct_DSYMUTIL=$DSYMUTIL
  7593. + # Extract the first word of "dsymutil", so it can be a program name with args.
  7594. +set dummy dsymutil; ac_word=$2
  7595. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7596. +$as_echo_n "checking for $ac_word... " >&6; }
  7597. +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  7598. + $as_echo_n "(cached) " >&6
  7599. +else
  7600. + if test -n "$ac_ct_DSYMUTIL"; then
  7601. + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  7602. +else
  7603. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7604. +for as_dir in $PATH
  7605. +do
  7606. + IFS=$as_save_IFS
  7607. + test -z "$as_dir" && as_dir=.
  7608. + for ac_exec_ext in '' $ac_executable_extensions; do
  7609. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7610. + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  7611. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7612. + break 2
  7613. + fi
  7614. +done
  7615. + done
  7616. +IFS=$as_save_IFS
  7617. +
  7618. +fi
  7619. +fi
  7620. +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  7621. +if test -n "$ac_ct_DSYMUTIL"; then
  7622. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  7623. +$as_echo "$ac_ct_DSYMUTIL" >&6; }
  7624. +else
  7625. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7626. +$as_echo "no" >&6; }
  7627. +fi
  7628. +
  7629. + if test "x$ac_ct_DSYMUTIL" = x; then
  7630. + DSYMUTIL=":"
  7631. + else
  7632. + case $cross_compiling:$ac_tool_warned in
  7633. +yes:)
  7634. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7635. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7636. +ac_tool_warned=yes ;;
  7637. +esac
  7638. + DSYMUTIL=$ac_ct_DSYMUTIL
  7639. + fi
  7640. +else
  7641. + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  7642. +fi
  7643. +
  7644. + if test -n "$ac_tool_prefix"; then
  7645. + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  7646. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  7647. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7648. +$as_echo_n "checking for $ac_word... " >&6; }
  7649. +if ${ac_cv_prog_NMEDIT+:} false; then :
  7650. + $as_echo_n "(cached) " >&6
  7651. +else
  7652. + if test -n "$NMEDIT"; then
  7653. + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  7654. +else
  7655. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7656. +for as_dir in $PATH
  7657. +do
  7658. + IFS=$as_save_IFS
  7659. + test -z "$as_dir" && as_dir=.
  7660. + for ac_exec_ext in '' $ac_executable_extensions; do
  7661. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7662. + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  7663. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7664. + break 2
  7665. + fi
  7666. +done
  7667. + done
  7668. +IFS=$as_save_IFS
  7669. +
  7670. +fi
  7671. +fi
  7672. +NMEDIT=$ac_cv_prog_NMEDIT
  7673. +if test -n "$NMEDIT"; then
  7674. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  7675. +$as_echo "$NMEDIT" >&6; }
  7676. +else
  7677. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7678. +$as_echo "no" >&6; }
  7679. +fi
  7680. +
  7681. +
  7682. +fi
  7683. +if test -z "$ac_cv_prog_NMEDIT"; then
  7684. + ac_ct_NMEDIT=$NMEDIT
  7685. + # Extract the first word of "nmedit", so it can be a program name with args.
  7686. +set dummy nmedit; ac_word=$2
  7687. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7688. +$as_echo_n "checking for $ac_word... " >&6; }
  7689. +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  7690. + $as_echo_n "(cached) " >&6
  7691. +else
  7692. + if test -n "$ac_ct_NMEDIT"; then
  7693. + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  7694. +else
  7695. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7696. +for as_dir in $PATH
  7697. +do
  7698. + IFS=$as_save_IFS
  7699. + test -z "$as_dir" && as_dir=.
  7700. + for ac_exec_ext in '' $ac_executable_extensions; do
  7701. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7702. + ac_cv_prog_ac_ct_NMEDIT="nmedit"
  7703. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7704. + break 2
  7705. + fi
  7706. +done
  7707. + done
  7708. +IFS=$as_save_IFS
  7709. +
  7710. +fi
  7711. +fi
  7712. +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  7713. +if test -n "$ac_ct_NMEDIT"; then
  7714. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  7715. +$as_echo "$ac_ct_NMEDIT" >&6; }
  7716. +else
  7717. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7718. +$as_echo "no" >&6; }
  7719. +fi
  7720. +
  7721. + if test "x$ac_ct_NMEDIT" = x; then
  7722. + NMEDIT=":"
  7723. + else
  7724. + case $cross_compiling:$ac_tool_warned in
  7725. +yes:)
  7726. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7727. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7728. +ac_tool_warned=yes ;;
  7729. +esac
  7730. + NMEDIT=$ac_ct_NMEDIT
  7731. + fi
  7732. +else
  7733. + NMEDIT="$ac_cv_prog_NMEDIT"
  7734. +fi
  7735. +
  7736. + if test -n "$ac_tool_prefix"; then
  7737. + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  7738. +set dummy ${ac_tool_prefix}lipo; ac_word=$2
  7739. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7740. +$as_echo_n "checking for $ac_word... " >&6; }
  7741. +if ${ac_cv_prog_LIPO+:} false; then :
  7742. + $as_echo_n "(cached) " >&6
  7743. +else
  7744. + if test -n "$LIPO"; then
  7745. + ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  7746. +else
  7747. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7748. +for as_dir in $PATH
  7749. +do
  7750. + IFS=$as_save_IFS
  7751. + test -z "$as_dir" && as_dir=.
  7752. + for ac_exec_ext in '' $ac_executable_extensions; do
  7753. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7754. + ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  7755. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7756. + break 2
  7757. + fi
  7758. +done
  7759. + done
  7760. +IFS=$as_save_IFS
  7761. +
  7762. +fi
  7763. +fi
  7764. +LIPO=$ac_cv_prog_LIPO
  7765. +if test -n "$LIPO"; then
  7766. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  7767. +$as_echo "$LIPO" >&6; }
  7768. +else
  7769. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7770. +$as_echo "no" >&6; }
  7771. +fi
  7772. +
  7773. +
  7774. +fi
  7775. +if test -z "$ac_cv_prog_LIPO"; then
  7776. + ac_ct_LIPO=$LIPO
  7777. + # Extract the first word of "lipo", so it can be a program name with args.
  7778. +set dummy lipo; ac_word=$2
  7779. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7780. +$as_echo_n "checking for $ac_word... " >&6; }
  7781. +if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  7782. + $as_echo_n "(cached) " >&6
  7783. +else
  7784. + if test -n "$ac_ct_LIPO"; then
  7785. + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  7786. +else
  7787. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7788. +for as_dir in $PATH
  7789. +do
  7790. + IFS=$as_save_IFS
  7791. + test -z "$as_dir" && as_dir=.
  7792. + for ac_exec_ext in '' $ac_executable_extensions; do
  7793. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7794. + ac_cv_prog_ac_ct_LIPO="lipo"
  7795. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7796. + break 2
  7797. + fi
  7798. +done
  7799. + done
  7800. +IFS=$as_save_IFS
  7801. +
  7802. +fi
  7803. +fi
  7804. +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  7805. +if test -n "$ac_ct_LIPO"; then
  7806. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  7807. +$as_echo "$ac_ct_LIPO" >&6; }
  7808. +else
  7809. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7810. +$as_echo "no" >&6; }
  7811. +fi
  7812. +
  7813. + if test "x$ac_ct_LIPO" = x; then
  7814. + LIPO=":"
  7815. + else
  7816. + case $cross_compiling:$ac_tool_warned in
  7817. +yes:)
  7818. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7819. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7820. +ac_tool_warned=yes ;;
  7821. +esac
  7822. + LIPO=$ac_ct_LIPO
  7823. + fi
  7824. +else
  7825. + LIPO="$ac_cv_prog_LIPO"
  7826. +fi
  7827. +
  7828. + if test -n "$ac_tool_prefix"; then
  7829. + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  7830. +set dummy ${ac_tool_prefix}otool; ac_word=$2
  7831. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7832. +$as_echo_n "checking for $ac_word... " >&6; }
  7833. +if ${ac_cv_prog_OTOOL+:} false; then :
  7834. + $as_echo_n "(cached) " >&6
  7835. +else
  7836. + if test -n "$OTOOL"; then
  7837. + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  7838. +else
  7839. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7840. +for as_dir in $PATH
  7841. +do
  7842. + IFS=$as_save_IFS
  7843. + test -z "$as_dir" && as_dir=.
  7844. + for ac_exec_ext in '' $ac_executable_extensions; do
  7845. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7846. + ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  7847. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7848. + break 2
  7849. + fi
  7850. +done
  7851. + done
  7852. +IFS=$as_save_IFS
  7853. +
  7854. +fi
  7855. +fi
  7856. +OTOOL=$ac_cv_prog_OTOOL
  7857. +if test -n "$OTOOL"; then
  7858. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  7859. +$as_echo "$OTOOL" >&6; }
  7860. +else
  7861. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7862. +$as_echo "no" >&6; }
  7863. +fi
  7864. +
  7865. +
  7866. +fi
  7867. +if test -z "$ac_cv_prog_OTOOL"; then
  7868. + ac_ct_OTOOL=$OTOOL
  7869. + # Extract the first word of "otool", so it can be a program name with args.
  7870. +set dummy otool; ac_word=$2
  7871. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7872. +$as_echo_n "checking for $ac_word... " >&6; }
  7873. +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  7874. + $as_echo_n "(cached) " >&6
  7875. +else
  7876. + if test -n "$ac_ct_OTOOL"; then
  7877. + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  7878. +else
  7879. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7880. +for as_dir in $PATH
  7881. +do
  7882. + IFS=$as_save_IFS
  7883. + test -z "$as_dir" && as_dir=.
  7884. + for ac_exec_ext in '' $ac_executable_extensions; do
  7885. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7886. + ac_cv_prog_ac_ct_OTOOL="otool"
  7887. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7888. + break 2
  7889. + fi
  7890. +done
  7891. + done
  7892. +IFS=$as_save_IFS
  7893. +
  7894. +fi
  7895. +fi
  7896. +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  7897. +if test -n "$ac_ct_OTOOL"; then
  7898. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  7899. +$as_echo "$ac_ct_OTOOL" >&6; }
  7900. +else
  7901. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7902. +$as_echo "no" >&6; }
  7903. +fi
  7904. +
  7905. + if test "x$ac_ct_OTOOL" = x; then
  7906. + OTOOL=":"
  7907. + else
  7908. + case $cross_compiling:$ac_tool_warned in
  7909. +yes:)
  7910. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7911. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7912. +ac_tool_warned=yes ;;
  7913. +esac
  7914. + OTOOL=$ac_ct_OTOOL
  7915. + fi
  7916. +else
  7917. + OTOOL="$ac_cv_prog_OTOOL"
  7918. +fi
  7919. +
  7920. + if test -n "$ac_tool_prefix"; then
  7921. + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  7922. +set dummy ${ac_tool_prefix}otool64; ac_word=$2
  7923. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7924. +$as_echo_n "checking for $ac_word... " >&6; }
  7925. +if ${ac_cv_prog_OTOOL64+:} false; then :
  7926. + $as_echo_n "(cached) " >&6
  7927. +else
  7928. + if test -n "$OTOOL64"; then
  7929. + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  7930. +else
  7931. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7932. +for as_dir in $PATH
  7933. +do
  7934. + IFS=$as_save_IFS
  7935. + test -z "$as_dir" && as_dir=.
  7936. + for ac_exec_ext in '' $ac_executable_extensions; do
  7937. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7938. + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  7939. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7940. + break 2
  7941. + fi
  7942. +done
  7943. + done
  7944. +IFS=$as_save_IFS
  7945. +
  7946. +fi
  7947. +fi
  7948. +OTOOL64=$ac_cv_prog_OTOOL64
  7949. +if test -n "$OTOOL64"; then
  7950. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  7951. +$as_echo "$OTOOL64" >&6; }
  7952. +else
  7953. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7954. +$as_echo "no" >&6; }
  7955. +fi
  7956. +
  7957. +
  7958. +fi
  7959. +if test -z "$ac_cv_prog_OTOOL64"; then
  7960. + ac_ct_OTOOL64=$OTOOL64
  7961. + # Extract the first word of "otool64", so it can be a program name with args.
  7962. +set dummy otool64; ac_word=$2
  7963. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7964. +$as_echo_n "checking for $ac_word... " >&6; }
  7965. +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  7966. + $as_echo_n "(cached) " >&6
  7967. +else
  7968. + if test -n "$ac_ct_OTOOL64"; then
  7969. + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  7970. +else
  7971. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7972. +for as_dir in $PATH
  7973. +do
  7974. + IFS=$as_save_IFS
  7975. + test -z "$as_dir" && as_dir=.
  7976. + for ac_exec_ext in '' $ac_executable_extensions; do
  7977. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7978. + ac_cv_prog_ac_ct_OTOOL64="otool64"
  7979. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7980. + break 2
  7981. + fi
  7982. +done
  7983. + done
  7984. +IFS=$as_save_IFS
  7985. +
  7986. +fi
  7987. +fi
  7988. +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  7989. +if test -n "$ac_ct_OTOOL64"; then
  7990. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  7991. +$as_echo "$ac_ct_OTOOL64" >&6; }
  7992. +else
  7993. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7994. +$as_echo "no" >&6; }
  7995. +fi
  7996. +
  7997. + if test "x$ac_ct_OTOOL64" = x; then
  7998. + OTOOL64=":"
  7999. + else
  8000. + case $cross_compiling:$ac_tool_warned in
  8001. +yes:)
  8002. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8003. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8004. +ac_tool_warned=yes ;;
  8005. +esac
  8006. + OTOOL64=$ac_ct_OTOOL64
  8007. + fi
  8008. +else
  8009. + OTOOL64="$ac_cv_prog_OTOOL64"
  8010. +fi
  8011. +
  8012. +
  8013. +
  8014. +
  8015. +
  8016. +
  8017. +
  8018. +
  8019. +
  8020. +
  8021. +
  8022. +
  8023. +
  8024. +
  8025. +
  8026. +
  8027. +
  8028. +
  8029. +
  8030. +
  8031. +
  8032. +
  8033. +
  8034. +
  8035. +
  8036. +
  8037. +
  8038. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  8039. +$as_echo_n "checking for -single_module linker flag... " >&6; }
  8040. +if ${lt_cv_apple_cc_single_mod+:} false; then :
  8041. + $as_echo_n "(cached) " >&6
  8042. +else
  8043. + lt_cv_apple_cc_single_mod=no
  8044. + if test -z "${LT_MULTI_MODULE}"; then
  8045. + # By default we will add the -single_module flag. You can override
  8046. + # by either setting the environment variable LT_MULTI_MODULE
  8047. + # non-empty at configure time, or by adding -multi_module to the
  8048. + # link flags.
  8049. + rm -rf libconftest.dylib*
  8050. + echo "int foo(void){return 1;}" > conftest.c
  8051. + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  8052. +-dynamiclib -Wl,-single_module conftest.c" >&5
  8053. + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  8054. + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  8055. + _lt_result=$?
  8056. + # If there is a non-empty error log, and "single_module"
  8057. + # appears in it, assume the flag caused a linker warning
  8058. + if test -s conftest.err && $GREP single_module conftest.err; then
  8059. + cat conftest.err >&5
  8060. + # Otherwise, if the output was created with a 0 exit code from
  8061. + # the compiler, it worked.
  8062. + elif test -f libconftest.dylib && test $_lt_result -eq 0; then
  8063. + lt_cv_apple_cc_single_mod=yes
  8064. + else
  8065. + cat conftest.err >&5
  8066. + fi
  8067. + rm -rf libconftest.dylib*
  8068. + rm -f conftest.*
  8069. + fi
  8070. +fi
  8071. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  8072. +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  8073. +
  8074. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  8075. +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  8076. +if ${lt_cv_ld_exported_symbols_list+:} false; then :
  8077. + $as_echo_n "(cached) " >&6
  8078. +else
  8079. + lt_cv_ld_exported_symbols_list=no
  8080. + save_LDFLAGS=$LDFLAGS
  8081. + echo "_main" > conftest.sym
  8082. + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  8083. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8084. +/* end confdefs.h. */
  8085. +
  8086. +int
  8087. +main ()
  8088. +{
  8089. +
  8090. + ;
  8091. + return 0;
  8092. +}
  8093. +_ACEOF
  8094. +if ac_fn_c_try_link "$LINENO"; then :
  8095. + lt_cv_ld_exported_symbols_list=yes
  8096. +else
  8097. + lt_cv_ld_exported_symbols_list=no
  8098. +fi
  8099. +rm -f core conftest.err conftest.$ac_objext \
  8100. + conftest$ac_exeext conftest.$ac_ext
  8101. + LDFLAGS="$save_LDFLAGS"
  8102. +
  8103. +fi
  8104. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  8105. +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  8106. +
  8107. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  8108. +$as_echo_n "checking for -force_load linker flag... " >&6; }
  8109. +if ${lt_cv_ld_force_load+:} false; then :
  8110. + $as_echo_n "(cached) " >&6
  8111. +else
  8112. + lt_cv_ld_force_load=no
  8113. + cat > conftest.c << _LT_EOF
  8114. +int forced_loaded() { return 2;}
  8115. +_LT_EOF
  8116. + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  8117. + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  8118. + echo "$AR cru libconftest.a conftest.o" >&5
  8119. + $AR cru libconftest.a conftest.o 2>&5
  8120. + echo "$RANLIB libconftest.a" >&5
  8121. + $RANLIB libconftest.a 2>&5
  8122. + cat > conftest.c << _LT_EOF
  8123. +int main() { return 0;}
  8124. +_LT_EOF
  8125. + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  8126. + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  8127. + _lt_result=$?
  8128. + if test -s conftest.err && $GREP force_load conftest.err; then
  8129. + cat conftest.err >&5
  8130. + elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
  8131. + lt_cv_ld_force_load=yes
  8132. + else
  8133. + cat conftest.err >&5
  8134. + fi
  8135. + rm -f conftest.err libconftest.a conftest conftest.c
  8136. + rm -rf conftest.dSYM
  8137. +
  8138. +fi
  8139. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  8140. +$as_echo "$lt_cv_ld_force_load" >&6; }
  8141. + case $host_os in
  8142. + rhapsody* | darwin1.[012])
  8143. + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  8144. + darwin1.*)
  8145. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  8146. + darwin*) # darwin 5.x on
  8147. + # if running on 10.5 or later, the deployment target defaults
  8148. + # to the OS version, if on x86, and 10.4, the deployment
  8149. + # target defaults to 10.4. Don't you love it?
  8150. + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  8151. + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  8152. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  8153. + 10.[012]*)
  8154. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  8155. + 10.*)
  8156. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  8157. + esac
  8158. + ;;
  8159. + esac
  8160. + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  8161. + _lt_dar_single_mod='$single_module'
  8162. + fi
  8163. + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  8164. + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  8165. + else
  8166. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  8167. + fi
  8168. + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  8169. + _lt_dsymutil='~$DSYMUTIL $lib || :'
  8170. + else
  8171. + _lt_dsymutil=
  8172. + fi
  8173. + ;;
  8174. + esac
  8175. +
  8176. +ac_ext=c
  8177. +ac_cpp='$CPP $CPPFLAGS'
  8178. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8179. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8180. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8181. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  8182. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  8183. +# On Suns, sometimes $CPP names a directory.
  8184. +if test -n "$CPP" && test -d "$CPP"; then
  8185. + CPP=
  8186. +fi
  8187. +if test -z "$CPP"; then
  8188. + if ${ac_cv_prog_CPP+:} false; then :
  8189. + $as_echo_n "(cached) " >&6
  8190. +else
  8191. + # Double quotes because CPP needs to be expanded
  8192. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  8193. + do
  8194. + ac_preproc_ok=false
  8195. +for ac_c_preproc_warn_flag in '' yes
  8196. +do
  8197. + # Use a header file that comes with gcc, so configuring glibc
  8198. + # with a fresh cross-compiler works.
  8199. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8200. + # <limits.h> exists even on freestanding compilers.
  8201. + # On the NeXT, cc -E runs the code through the compiler's parser,
  8202. + # not just through cpp. "Syntax error" is here to catch this case.
  8203. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8204. +/* end confdefs.h. */
  8205. +@%:@ifdef __STDC__
  8206. +@%:@ include <limits.h>
  8207. +@%:@else
  8208. +@%:@ include <assert.h>
  8209. +@%:@endif
  8210. + Syntax error
  8211. +_ACEOF
  8212. +if ac_fn_c_try_cpp "$LINENO"; then :
  8213. +
  8214. +else
  8215. + # Broken: fails on valid input.
  8216. +continue
  8217. +fi
  8218. +rm -f conftest.err conftest.i conftest.$ac_ext
  8219. +
  8220. + # OK, works on sane cases. Now check whether nonexistent headers
  8221. + # can be detected and how.
  8222. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8223. +/* end confdefs.h. */
  8224. +@%:@include <ac_nonexistent.h>
  8225. +_ACEOF
  8226. +if ac_fn_c_try_cpp "$LINENO"; then :
  8227. + # Broken: success on invalid input.
  8228. +continue
  8229. +else
  8230. + # Passes both tests.
  8231. +ac_preproc_ok=:
  8232. +break
  8233. +fi
  8234. +rm -f conftest.err conftest.i conftest.$ac_ext
  8235. +
  8236. +done
  8237. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  8238. +rm -f conftest.i conftest.err conftest.$ac_ext
  8239. +if $ac_preproc_ok; then :
  8240. + break
  8241. +fi
  8242. +
  8243. + done
  8244. + ac_cv_prog_CPP=$CPP
  8245. +
  8246. +fi
  8247. + CPP=$ac_cv_prog_CPP
  8248. +else
  8249. + ac_cv_prog_CPP=$CPP
  8250. +fi
  8251. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  8252. +$as_echo "$CPP" >&6; }
  8253. +ac_preproc_ok=false
  8254. +for ac_c_preproc_warn_flag in '' yes
  8255. +do
  8256. + # Use a header file that comes with gcc, so configuring glibc
  8257. + # with a fresh cross-compiler works.
  8258. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8259. + # <limits.h> exists even on freestanding compilers.
  8260. + # On the NeXT, cc -E runs the code through the compiler's parser,
  8261. + # not just through cpp. "Syntax error" is here to catch this case.
  8262. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8263. +/* end confdefs.h. */
  8264. +@%:@ifdef __STDC__
  8265. +@%:@ include <limits.h>
  8266. +@%:@else
  8267. +@%:@ include <assert.h>
  8268. +@%:@endif
  8269. + Syntax error
  8270. +_ACEOF
  8271. +if ac_fn_c_try_cpp "$LINENO"; then :
  8272. +
  8273. +else
  8274. + # Broken: fails on valid input.
  8275. +continue
  8276. +fi
  8277. +rm -f conftest.err conftest.i conftest.$ac_ext
  8278. +
  8279. + # OK, works on sane cases. Now check whether nonexistent headers
  8280. + # can be detected and how.
  8281. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8282. +/* end confdefs.h. */
  8283. +@%:@include <ac_nonexistent.h>
  8284. +_ACEOF
  8285. +if ac_fn_c_try_cpp "$LINENO"; then :
  8286. + # Broken: success on invalid input.
  8287. +continue
  8288. +else
  8289. + # Passes both tests.
  8290. +ac_preproc_ok=:
  8291. +break
  8292. +fi
  8293. +rm -f conftest.err conftest.i conftest.$ac_ext
  8294. +
  8295. +done
  8296. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  8297. +rm -f conftest.i conftest.err conftest.$ac_ext
  8298. +if $ac_preproc_ok; then :
  8299. +
  8300. +else
  8301. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  8302. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  8303. +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  8304. +See \`config.log' for more details" "$LINENO" 5; }
  8305. +fi
  8306. +
  8307. +ac_ext=c
  8308. +ac_cpp='$CPP $CPPFLAGS'
  8309. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8310. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8311. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8312. +
  8313. +
  8314. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  8315. +$as_echo_n "checking for ANSI C header files... " >&6; }
  8316. +if ${ac_cv_header_stdc+:} false; then :
  8317. + $as_echo_n "(cached) " >&6
  8318. +else
  8319. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8320. +/* end confdefs.h. */
  8321. +#include <stdlib.h>
  8322. +#include <stdarg.h>
  8323. +#include <string.h>
  8324. +#include <float.h>
  8325. +
  8326. +int
  8327. +main ()
  8328. +{
  8329. +
  8330. + ;
  8331. + return 0;
  8332. +}
  8333. +_ACEOF
  8334. +if ac_fn_c_try_compile "$LINENO"; then :
  8335. + ac_cv_header_stdc=yes
  8336. +else
  8337. + ac_cv_header_stdc=no
  8338. +fi
  8339. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8340. +
  8341. +if test $ac_cv_header_stdc = yes; then
  8342. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  8343. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8344. +/* end confdefs.h. */
  8345. +#include <string.h>
  8346. +
  8347. +_ACEOF
  8348. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  8349. + $EGREP "memchr" >/dev/null 2>&1; then :
  8350. +
  8351. +else
  8352. + ac_cv_header_stdc=no
  8353. +fi
  8354. +rm -f conftest*
  8355. +
  8356. +fi
  8357. +
  8358. +if test $ac_cv_header_stdc = yes; then
  8359. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  8360. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8361. +/* end confdefs.h. */
  8362. +#include <stdlib.h>
  8363. +
  8364. +_ACEOF
  8365. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  8366. + $EGREP "free" >/dev/null 2>&1; then :
  8367. +
  8368. +else
  8369. + ac_cv_header_stdc=no
  8370. +fi
  8371. +rm -f conftest*
  8372. +
  8373. +fi
  8374. +
  8375. +if test $ac_cv_header_stdc = yes; then
  8376. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  8377. + if test "$cross_compiling" = yes; then :
  8378. + :
  8379. +else
  8380. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8381. +/* end confdefs.h. */
  8382. +#include <ctype.h>
  8383. +#include <stdlib.h>
  8384. +#if ((' ' & 0x0FF) == 0x020)
  8385. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  8386. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  8387. +#else
  8388. +# define ISLOWER(c) \
  8389. + (('a' <= (c) && (c) <= 'i') \
  8390. + || ('j' <= (c) && (c) <= 'r') \
  8391. + || ('s' <= (c) && (c) <= 'z'))
  8392. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  8393. +#endif
  8394. +
  8395. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  8396. +int
  8397. +main ()
  8398. +{
  8399. + int i;
  8400. + for (i = 0; i < 256; i++)
  8401. + if (XOR (islower (i), ISLOWER (i))
  8402. + || toupper (i) != TOUPPER (i))
  8403. + return 2;
  8404. + return 0;
  8405. +}
  8406. +_ACEOF
  8407. +if ac_fn_c_try_run "$LINENO"; then :
  8408. +
  8409. +else
  8410. + ac_cv_header_stdc=no
  8411. +fi
  8412. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8413. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  8414. +fi
  8415. +
  8416. +fi
  8417. +fi
  8418. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  8419. +$as_echo "$ac_cv_header_stdc" >&6; }
  8420. +if test $ac_cv_header_stdc = yes; then
  8421. +
  8422. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  8423. +
  8424. +fi
  8425. +
  8426. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  8427. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  8428. + inttypes.h stdint.h unistd.h
  8429. +do :
  8430. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  8431. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  8432. +"
  8433. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  8434. + cat >>confdefs.h <<_ACEOF
  8435. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  8436. +_ACEOF
  8437. +
  8438. +fi
  8439. +
  8440. +done
  8441. +
  8442. +
  8443. +for ac_header in dlfcn.h
  8444. +do :
  8445. + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  8446. +"
  8447. +if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  8448. + cat >>confdefs.h <<_ACEOF
  8449. +@%:@define HAVE_DLFCN_H 1
  8450. +_ACEOF
  8451. +
  8452. +fi
  8453. +
  8454. +done
  8455. +
  8456. +
  8457. +
  8458. +
  8459. +
  8460. +# Set options
  8461. +
  8462. +
  8463. +
  8464. + enable_dlopen=no
  8465. +
  8466. +
  8467. + enable_win32_dll=no
  8468. +
  8469. +
  8470. + @%:@ Check whether --enable-shared was given.
  8471. +if test "${enable_shared+set}" = set; then :
  8472. + enableval=$enable_shared; p=${PACKAGE-default}
  8473. + case $enableval in
  8474. + yes) enable_shared=yes ;;
  8475. + no) enable_shared=no ;;
  8476. + *)
  8477. + enable_shared=no
  8478. + # Look at the argument we got. We use all the common list separators.
  8479. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  8480. + for pkg in $enableval; do
  8481. + IFS="$lt_save_ifs"
  8482. + if test "X$pkg" = "X$p"; then
  8483. + enable_shared=yes
  8484. + fi
  8485. + done
  8486. + IFS="$lt_save_ifs"
  8487. + ;;
  8488. + esac
  8489. +else
  8490. + enable_shared=yes
  8491. +fi
  8492. +
  8493. +
  8494. +
  8495. +
  8496. +
  8497. +
  8498. +
  8499. +
  8500. +
  8501. +
  8502. +
  8503. +@%:@ Check whether --with-pic was given.
  8504. +if test "${with_pic+set}" = set; then :
  8505. + withval=$with_pic; lt_p=${PACKAGE-default}
  8506. + case $withval in
  8507. + yes|no) pic_mode=$withval ;;
  8508. + *)
  8509. + pic_mode=default
  8510. + # Look at the argument we got. We use all the common list separators.
  8511. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  8512. + for lt_pkg in $withval; do
  8513. + IFS="$lt_save_ifs"
  8514. + if test "X$lt_pkg" = "X$lt_p"; then
  8515. + pic_mode=yes
  8516. + fi
  8517. + done
  8518. + IFS="$lt_save_ifs"
  8519. + ;;
  8520. + esac
  8521. +else
  8522. + pic_mode=default
  8523. +fi
  8524. +
  8525. +
  8526. +test -z "$pic_mode" && pic_mode=default
  8527. +
  8528. +
  8529. +
  8530. +
  8531. +
  8532. +
  8533. +
  8534. + @%:@ Check whether --enable-fast-install was given.
  8535. +if test "${enable_fast_install+set}" = set; then :
  8536. + enableval=$enable_fast_install; p=${PACKAGE-default}
  8537. + case $enableval in
  8538. + yes) enable_fast_install=yes ;;
  8539. + no) enable_fast_install=no ;;
  8540. + *)
  8541. + enable_fast_install=no
  8542. + # Look at the argument we got. We use all the common list separators.
  8543. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  8544. + for pkg in $enableval; do
  8545. + IFS="$lt_save_ifs"
  8546. + if test "X$pkg" = "X$p"; then
  8547. + enable_fast_install=yes
  8548. + fi
  8549. + done
  8550. + IFS="$lt_save_ifs"
  8551. + ;;
  8552. + esac
  8553. +else
  8554. + enable_fast_install=yes
  8555. +fi
  8556. +
  8557. +
  8558. +
  8559. +
  8560. +
  8561. +
  8562. +
  8563. +
  8564. +
  8565. +
  8566. +
  8567. +# This can be used to rebuild libtool when needed
  8568. +LIBTOOL_DEPS="$ltmain"
  8569. +
  8570. +# Always use our own libtool.
  8571. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  8572. +
  8573. +
  8574. +
  8575. +
  8576. +
  8577. +
  8578. +
  8579. +
  8580. +
  8581. +
  8582. +
  8583. +
  8584. +
  8585. +
  8586. +
  8587. +
  8588. +
  8589. +
  8590. +
  8591. +
  8592. +
  8593. +
  8594. +
  8595. +
  8596. +
  8597. +
  8598. +
  8599. +
  8600. +
  8601. +
  8602. +test -z "$LN_S" && LN_S="ln -s"
  8603. +
  8604. +
  8605. +
  8606. +
  8607. +
  8608. +
  8609. +
  8610. +
  8611. +
  8612. +
  8613. +
  8614. +
  8615. +
  8616. +
  8617. +if test -n "${ZSH_VERSION+set}" ; then
  8618. + setopt NO_GLOB_SUBST
  8619. +fi
  8620. +
  8621. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  8622. +$as_echo_n "checking for objdir... " >&6; }
  8623. +if ${lt_cv_objdir+:} false; then :
  8624. + $as_echo_n "(cached) " >&6
  8625. +else
  8626. + rm -f .libs 2>/dev/null
  8627. +mkdir .libs 2>/dev/null
  8628. +if test -d .libs; then
  8629. + lt_cv_objdir=.libs
  8630. +else
  8631. + # MS-DOS does not allow filenames that begin with a dot.
  8632. + lt_cv_objdir=_libs
  8633. +fi
  8634. +rmdir .libs 2>/dev/null
  8635. +fi
  8636. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  8637. +$as_echo "$lt_cv_objdir" >&6; }
  8638. +objdir=$lt_cv_objdir
  8639. +
  8640. +
  8641. +
  8642. +
  8643. +
  8644. +cat >>confdefs.h <<_ACEOF
  8645. +@%:@define LT_OBJDIR "$lt_cv_objdir/"
  8646. +_ACEOF
  8647. +
  8648. +
  8649. +
  8650. +
  8651. +case $host_os in
  8652. +aix3*)
  8653. + # AIX sometimes has problems with the GCC collect2 program. For some
  8654. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  8655. + # vanish in a puff of smoke.
  8656. + if test "X${COLLECT_NAMES+set}" != Xset; then
  8657. + COLLECT_NAMES=
  8658. + export COLLECT_NAMES
  8659. + fi
  8660. + ;;
  8661. +esac
  8662. +
  8663. +# Global variables:
  8664. +ofile=libtool
  8665. +can_build_shared=yes
  8666. +
  8667. +# All known linkers require a `.a' archive for static linking (except MSVC,
  8668. +# which needs '.lib').
  8669. +libext=a
  8670. +
  8671. +with_gnu_ld="$lt_cv_prog_gnu_ld"
  8672. +
  8673. +old_CC="$CC"
  8674. +old_CFLAGS="$CFLAGS"
  8675. +
  8676. +# Set sane defaults for various variables
  8677. +test -z "$CC" && CC=cc
  8678. +test -z "$LTCC" && LTCC=$CC
  8679. +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  8680. +test -z "$LD" && LD=ld
  8681. +test -z "$ac_objext" && ac_objext=o
  8682. +
  8683. +for cc_temp in $compiler""; do
  8684. + case $cc_temp in
  8685. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  8686. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  8687. + \-*) ;;
  8688. + *) break;;
  8689. + esac
  8690. +done
  8691. +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  8692. +
  8693. +
  8694. +# Only perform the check for file, if the check method requires it
  8695. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  8696. +case $deplibs_check_method in
  8697. +file_magic*)
  8698. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  8699. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  8700. +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  8701. +if ${lt_cv_path_MAGIC_CMD+:} false; then :
  8702. + $as_echo_n "(cached) " >&6
  8703. +else
  8704. + case $MAGIC_CMD in
  8705. +[\\/*] | ?:[\\/]*)
  8706. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  8707. + ;;
  8708. +*)
  8709. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  8710. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  8711. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  8712. + for ac_dir in $ac_dummy; do
  8713. + IFS="$lt_save_ifs"
  8714. + test -z "$ac_dir" && ac_dir=.
  8715. + if test -f $ac_dir/${ac_tool_prefix}file; then
  8716. + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  8717. + if test -n "$file_magic_test_file"; then
  8718. + case $deplibs_check_method in
  8719. + "file_magic "*)
  8720. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  8721. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8722. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  8723. + $EGREP "$file_magic_regex" > /dev/null; then
  8724. + :
  8725. + else
  8726. + cat <<_LT_EOF 1>&2
  8727. +
  8728. +*** Warning: the command libtool uses to detect shared libraries,
  8729. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  8730. +*** The result is that libtool may fail to recognize shared libraries
  8731. +*** as such. This will affect the creation of libtool libraries that
  8732. +*** depend on shared libraries, but programs linked with such libtool
  8733. +*** libraries will work regardless of this problem. Nevertheless, you
  8734. +*** may want to report the problem to your system manager and/or to
  8735. +*** bug-libtool@gnu.org
  8736. +
  8737. +_LT_EOF
  8738. + fi ;;
  8739. + esac
  8740. + fi
  8741. + break
  8742. + fi
  8743. + done
  8744. + IFS="$lt_save_ifs"
  8745. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  8746. + ;;
  8747. +esac
  8748. +fi
  8749. +
  8750. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8751. +if test -n "$MAGIC_CMD"; then
  8752. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  8753. +$as_echo "$MAGIC_CMD" >&6; }
  8754. +else
  8755. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8756. +$as_echo "no" >&6; }
  8757. +fi
  8758. +
  8759. +
  8760. +
  8761. +
  8762. +
  8763. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  8764. + if test -n "$ac_tool_prefix"; then
  8765. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  8766. +$as_echo_n "checking for file... " >&6; }
  8767. +if ${lt_cv_path_MAGIC_CMD+:} false; then :
  8768. + $as_echo_n "(cached) " >&6
  8769. +else
  8770. + case $MAGIC_CMD in
  8771. +[\\/*] | ?:[\\/]*)
  8772. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  8773. + ;;
  8774. +*)
  8775. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  8776. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  8777. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  8778. + for ac_dir in $ac_dummy; do
  8779. + IFS="$lt_save_ifs"
  8780. + test -z "$ac_dir" && ac_dir=.
  8781. + if test -f $ac_dir/file; then
  8782. + lt_cv_path_MAGIC_CMD="$ac_dir/file"
  8783. + if test -n "$file_magic_test_file"; then
  8784. + case $deplibs_check_method in
  8785. + "file_magic "*)
  8786. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  8787. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8788. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  8789. + $EGREP "$file_magic_regex" > /dev/null; then
  8790. + :
  8791. + else
  8792. + cat <<_LT_EOF 1>&2
  8793. +
  8794. +*** Warning: the command libtool uses to detect shared libraries,
  8795. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  8796. +*** The result is that libtool may fail to recognize shared libraries
  8797. +*** as such. This will affect the creation of libtool libraries that
  8798. +*** depend on shared libraries, but programs linked with such libtool
  8799. +*** libraries will work regardless of this problem. Nevertheless, you
  8800. +*** may want to report the problem to your system manager and/or to
  8801. +*** bug-libtool@gnu.org
  8802. +
  8803. +_LT_EOF
  8804. + fi ;;
  8805. + esac
  8806. + fi
  8807. + break
  8808. + fi
  8809. + done
  8810. + IFS="$lt_save_ifs"
  8811. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  8812. + ;;
  8813. +esac
  8814. +fi
  8815. +
  8816. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8817. +if test -n "$MAGIC_CMD"; then
  8818. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  8819. +$as_echo "$MAGIC_CMD" >&6; }
  8820. +else
  8821. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8822. +$as_echo "no" >&6; }
  8823. +fi
  8824. +
  8825. +
  8826. + else
  8827. + MAGIC_CMD=:
  8828. + fi
  8829. +fi
  8830. +
  8831. + fi
  8832. + ;;
  8833. +esac
  8834. +
  8835. +# Use C for the default configuration in the libtool script
  8836. +
  8837. +lt_save_CC="$CC"
  8838. +ac_ext=c
  8839. +ac_cpp='$CPP $CPPFLAGS'
  8840. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8841. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8842. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8843. +
  8844. +
  8845. +# Source file extension for C test sources.
  8846. +ac_ext=c
  8847. +
  8848. +# Object file extension for compiled C test sources.
  8849. +objext=o
  8850. +objext=$objext
  8851. +
  8852. +# Code to be used in simple compile tests
  8853. +lt_simple_compile_test_code="int some_variable = 0;"
  8854. +
  8855. +# Code to be used in simple link tests
  8856. +lt_simple_link_test_code='int main(){return(0);}'
  8857. +
  8858. +
  8859. +
  8860. +
  8861. +
  8862. +
  8863. +
  8864. +# If no C compiler was specified, use CC.
  8865. +LTCC=${LTCC-"$CC"}
  8866. +
  8867. +# If no C compiler flags were specified, use CFLAGS.
  8868. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  8869. +
  8870. +# Allow CC to be a program name with arguments.
  8871. +compiler=$CC
  8872. +
  8873. +# Save the default compiler, since it gets overwritten when the other
  8874. +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  8875. +compiler_DEFAULT=$CC
  8876. +
  8877. +# save warnings/boilerplate of simple test code
  8878. +ac_outfile=conftest.$ac_objext
  8879. +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  8880. +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8881. +_lt_compiler_boilerplate=`cat conftest.err`
  8882. +$RM conftest*
  8883. +
  8884. +ac_outfile=conftest.$ac_objext
  8885. +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  8886. +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8887. +_lt_linker_boilerplate=`cat conftest.err`
  8888. +$RM -r conftest*
  8889. +
  8890. +
  8891. +## CAVEAT EMPTOR:
  8892. +## There is no encapsulation within the following macros, do not change
  8893. +## the running order or otherwise move them around unless you know exactly
  8894. +## what you are doing...
  8895. +if test -n "$compiler"; then
  8896. +
  8897. +lt_prog_compiler_no_builtin_flag=
  8898. +
  8899. +if test "$GCC" = yes; then
  8900. + case $cc_basename in
  8901. + nvcc*)
  8902. + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  8903. + *)
  8904. + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  8905. + esac
  8906. +
  8907. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  8908. +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  8909. +if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  8910. + $as_echo_n "(cached) " >&6
  8911. +else
  8912. + lt_cv_prog_compiler_rtti_exceptions=no
  8913. + ac_outfile=conftest.$ac_objext
  8914. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8915. + lt_compiler_flag="-fno-rtti -fno-exceptions"
  8916. + # Insert the option either (1) after the last *FLAGS variable, or
  8917. + # (2) before a word containing "conftest.", or (3) at the end.
  8918. + # Note that $ac_compile itself does not contain backslashes and begins
  8919. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  8920. + # The option is referenced via a variable to avoid confusing sed.
  8921. + lt_compile=`echo "$ac_compile" | $SED \
  8922. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8923. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8924. + -e 's:$: $lt_compiler_flag:'`
  8925. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8926. + (eval "$lt_compile" 2>conftest.err)
  8927. + ac_status=$?
  8928. + cat conftest.err >&5
  8929. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8930. + if (exit $ac_status) && test -s "$ac_outfile"; then
  8931. + # The compiler can only warn and ignore the option if not recognized
  8932. + # So say no if there are warnings other than the usual output.
  8933. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  8934. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8935. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8936. + lt_cv_prog_compiler_rtti_exceptions=yes
  8937. + fi
  8938. + fi
  8939. + $RM conftest*
  8940. +
  8941. +fi
  8942. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  8943. +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  8944. +
  8945. +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  8946. + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  8947. +else
  8948. + :
  8949. +fi
  8950. +
  8951. +fi
  8952. +
  8953. +
  8954. +
  8955. +
  8956. +
  8957. +
  8958. + lt_prog_compiler_wl=
  8959. +lt_prog_compiler_pic=
  8960. +lt_prog_compiler_static=
  8961. +
  8962. +
  8963. + if test "$GCC" = yes; then
  8964. + lt_prog_compiler_wl='-Wl,'
  8965. + lt_prog_compiler_static='-static'
  8966. +
  8967. + case $host_os in
  8968. + aix*)
  8969. + # All AIX code is PIC.
  8970. + if test "$host_cpu" = ia64; then
  8971. + # AIX 5 now supports IA64 processor
  8972. + lt_prog_compiler_static='-Bstatic'
  8973. + fi
  8974. + ;;
  8975. +
  8976. + amigaos*)
  8977. + case $host_cpu in
  8978. + powerpc)
  8979. + # see comment about AmigaOS4 .so support
  8980. + lt_prog_compiler_pic='-fPIC'
  8981. + ;;
  8982. + m68k)
  8983. + # FIXME: we need at least 68020 code to build shared libraries, but
  8984. + # adding the `-m68020' flag to GCC prevents building anything better,
  8985. + # like `-m68040'.
  8986. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  8987. + ;;
  8988. + esac
  8989. + ;;
  8990. +
  8991. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  8992. + # PIC is the default for these OSes.
  8993. + ;;
  8994. +
  8995. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  8996. + # This hack is so that the source file can tell whether it is being
  8997. + # built for inclusion in a dll (and should export symbols for example).
  8998. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  8999. + # (--disable-auto-import) libraries
  9000. + lt_prog_compiler_pic='-DDLL_EXPORT'
  9001. + ;;
  9002. +
  9003. + darwin* | rhapsody*)
  9004. + # PIC is the default on this platform
  9005. + # Common symbols not allowed in MH_DYLIB files
  9006. + lt_prog_compiler_pic='-fno-common'
  9007. + ;;
  9008. +
  9009. + haiku*)
  9010. + # PIC is the default for Haiku.
  9011. + # The "-static" flag exists, but is broken.
  9012. + lt_prog_compiler_static=
  9013. + ;;
  9014. +
  9015. + hpux*)
  9016. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  9017. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  9018. + # sets the default TLS model and affects inlining.
  9019. + case $host_cpu in
  9020. + hppa*64*)
  9021. + # +Z the default
  9022. + ;;
  9023. + *)
  9024. + lt_prog_compiler_pic='-fPIC'
  9025. + ;;
  9026. + esac
  9027. + ;;
  9028. +
  9029. + interix[3-9]*)
  9030. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  9031. + # Instead, we relocate shared libraries at runtime.
  9032. + ;;
  9033. +
  9034. + msdosdjgpp*)
  9035. + # Just because we use GCC doesn't mean we suddenly get shared libraries
  9036. + # on systems that don't support them.
  9037. + lt_prog_compiler_can_build_shared=no
  9038. + enable_shared=no
  9039. + ;;
  9040. +
  9041. + *nto* | *qnx*)
  9042. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  9043. + # it will coredump.
  9044. + lt_prog_compiler_pic='-fPIC -shared'
  9045. + ;;
  9046. +
  9047. + sysv4*MP*)
  9048. + if test -d /usr/nec; then
  9049. + lt_prog_compiler_pic=-Kconform_pic
  9050. + fi
  9051. + ;;
  9052. +
  9053. + *)
  9054. + lt_prog_compiler_pic='-fPIC'
  9055. + ;;
  9056. + esac
  9057. +
  9058. + case $cc_basename in
  9059. + nvcc*) # Cuda Compiler Driver 2.2
  9060. + lt_prog_compiler_wl='-Xlinker '
  9061. + if test -n "$lt_prog_compiler_pic"; then
  9062. + lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  9063. + fi
  9064. + ;;
  9065. + esac
  9066. + else
  9067. + # PORTME Check for flag to pass linker flags through the system compiler.
  9068. + case $host_os in
  9069. + aix*)
  9070. + lt_prog_compiler_wl='-Wl,'
  9071. + if test "$host_cpu" = ia64; then
  9072. + # AIX 5 now supports IA64 processor
  9073. + lt_prog_compiler_static='-Bstatic'
  9074. + else
  9075. + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  9076. + fi
  9077. + ;;
  9078. +
  9079. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  9080. + # This hack is so that the source file can tell whether it is being
  9081. + # built for inclusion in a dll (and should export symbols for example).
  9082. + lt_prog_compiler_pic='-DDLL_EXPORT'
  9083. + ;;
  9084. +
  9085. + hpux9* | hpux10* | hpux11*)
  9086. + lt_prog_compiler_wl='-Wl,'
  9087. + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  9088. + # not for PA HP-UX.
  9089. + case $host_cpu in
  9090. + hppa*64*|ia64*)
  9091. + # +Z the default
  9092. + ;;
  9093. + *)
  9094. + lt_prog_compiler_pic='+Z'
  9095. + ;;
  9096. + esac
  9097. + # Is there a better lt_prog_compiler_static that works with the bundled CC?
  9098. + lt_prog_compiler_static='${wl}-a ${wl}archive'
  9099. + ;;
  9100. +
  9101. + irix5* | irix6* | nonstopux*)
  9102. + lt_prog_compiler_wl='-Wl,'
  9103. + # PIC (with -KPIC) is the default.
  9104. + lt_prog_compiler_static='-non_shared'
  9105. + ;;
  9106. +
  9107. + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  9108. + case $cc_basename in
  9109. + # old Intel for x86_64 which still supported -KPIC.
  9110. + ecc*)
  9111. + lt_prog_compiler_wl='-Wl,'
  9112. + lt_prog_compiler_pic='-KPIC'
  9113. + lt_prog_compiler_static='-static'
  9114. + ;;
  9115. + # icc used to be incompatible with GCC.
  9116. + # ICC 10 doesn't accept -KPIC any more.
  9117. + icc* | ifort*)
  9118. + lt_prog_compiler_wl='-Wl,'
  9119. + lt_prog_compiler_pic='-fPIC'
  9120. + lt_prog_compiler_static='-static'
  9121. + ;;
  9122. + # Lahey Fortran 8.1.
  9123. + lf95*)
  9124. + lt_prog_compiler_wl='-Wl,'
  9125. + lt_prog_compiler_pic='--shared'
  9126. + lt_prog_compiler_static='--static'
  9127. + ;;
  9128. + nagfor*)
  9129. + # NAG Fortran compiler
  9130. + lt_prog_compiler_wl='-Wl,-Wl,,'
  9131. + lt_prog_compiler_pic='-PIC'
  9132. + lt_prog_compiler_static='-Bstatic'
  9133. + ;;
  9134. + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  9135. + # Portland Group compilers (*not* the Pentium gcc compiler,
  9136. + # which looks to be a dead project)
  9137. + lt_prog_compiler_wl='-Wl,'
  9138. + lt_prog_compiler_pic='-fpic'
  9139. + lt_prog_compiler_static='-Bstatic'
  9140. + ;;
  9141. + ccc*)
  9142. + lt_prog_compiler_wl='-Wl,'
  9143. + # All Alpha code is PIC.
  9144. + lt_prog_compiler_static='-non_shared'
  9145. + ;;
  9146. + xl* | bgxl* | bgf* | mpixl*)
  9147. + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  9148. + lt_prog_compiler_wl='-Wl,'
  9149. + lt_prog_compiler_pic='-qpic'
  9150. + lt_prog_compiler_static='-qstaticlink'
  9151. + ;;
  9152. + *)
  9153. + case `$CC -V 2>&1 | sed 5q` in
  9154. + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  9155. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  9156. + lt_prog_compiler_pic='-KPIC'
  9157. + lt_prog_compiler_static='-Bstatic'
  9158. + lt_prog_compiler_wl=''
  9159. + ;;
  9160. + *Sun\ F* | *Sun*Fortran*)
  9161. + lt_prog_compiler_pic='-KPIC'
  9162. + lt_prog_compiler_static='-Bstatic'
  9163. + lt_prog_compiler_wl='-Qoption ld '
  9164. + ;;
  9165. + *Sun\ C*)
  9166. + # Sun C 5.9
  9167. + lt_prog_compiler_pic='-KPIC'
  9168. + lt_prog_compiler_static='-Bstatic'
  9169. + lt_prog_compiler_wl='-Wl,'
  9170. + ;;
  9171. + *Intel*\ [CF]*Compiler*)
  9172. + lt_prog_compiler_wl='-Wl,'
  9173. + lt_prog_compiler_pic='-fPIC'
  9174. + lt_prog_compiler_static='-static'
  9175. + ;;
  9176. + *Portland\ Group*)
  9177. + lt_prog_compiler_wl='-Wl,'
  9178. + lt_prog_compiler_pic='-fpic'
  9179. + lt_prog_compiler_static='-Bstatic'
  9180. + ;;
  9181. + esac
  9182. + ;;
  9183. + esac
  9184. + ;;
  9185. +
  9186. + newsos6)
  9187. + lt_prog_compiler_pic='-KPIC'
  9188. + lt_prog_compiler_static='-Bstatic'
  9189. + ;;
  9190. +
  9191. + *nto* | *qnx*)
  9192. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  9193. + # it will coredump.
  9194. + lt_prog_compiler_pic='-fPIC -shared'
  9195. + ;;
  9196. +
  9197. + osf3* | osf4* | osf5*)
  9198. + lt_prog_compiler_wl='-Wl,'
  9199. + # All OSF/1 code is PIC.
  9200. + lt_prog_compiler_static='-non_shared'
  9201. + ;;
  9202. +
  9203. + rdos*)
  9204. + lt_prog_compiler_static='-non_shared'
  9205. + ;;
  9206. +
  9207. + solaris*)
  9208. + lt_prog_compiler_pic='-KPIC'
  9209. + lt_prog_compiler_static='-Bstatic'
  9210. + case $cc_basename in
  9211. + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  9212. + lt_prog_compiler_wl='-Qoption ld ';;
  9213. + *)
  9214. + lt_prog_compiler_wl='-Wl,';;
  9215. + esac
  9216. + ;;
  9217. +
  9218. + sunos4*)
  9219. + lt_prog_compiler_wl='-Qoption ld '
  9220. + lt_prog_compiler_pic='-PIC'
  9221. + lt_prog_compiler_static='-Bstatic'
  9222. + ;;
  9223. +
  9224. + sysv4 | sysv4.2uw2* | sysv4.3*)
  9225. + lt_prog_compiler_wl='-Wl,'
  9226. + lt_prog_compiler_pic='-KPIC'
  9227. + lt_prog_compiler_static='-Bstatic'
  9228. + ;;
  9229. +
  9230. + sysv4*MP*)
  9231. + if test -d /usr/nec ;then
  9232. + lt_prog_compiler_pic='-Kconform_pic'
  9233. + lt_prog_compiler_static='-Bstatic'
  9234. + fi
  9235. + ;;
  9236. +
  9237. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  9238. + lt_prog_compiler_wl='-Wl,'
  9239. + lt_prog_compiler_pic='-KPIC'
  9240. + lt_prog_compiler_static='-Bstatic'
  9241. + ;;
  9242. +
  9243. + unicos*)
  9244. + lt_prog_compiler_wl='-Wl,'
  9245. + lt_prog_compiler_can_build_shared=no
  9246. + ;;
  9247. +
  9248. + uts4*)
  9249. + lt_prog_compiler_pic='-pic'
  9250. + lt_prog_compiler_static='-Bstatic'
  9251. + ;;
  9252. +
  9253. + *)
  9254. + lt_prog_compiler_can_build_shared=no
  9255. + ;;
  9256. + esac
  9257. + fi
  9258. +
  9259. +case $host_os in
  9260. + # For platforms which do not support PIC, -DPIC is meaningless:
  9261. + *djgpp*)
  9262. + lt_prog_compiler_pic=
  9263. + ;;
  9264. + *)
  9265. + lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
  9266. + ;;
  9267. +esac
  9268. +
  9269. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  9270. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  9271. +if ${lt_cv_prog_compiler_pic+:} false; then :
  9272. + $as_echo_n "(cached) " >&6
  9273. +else
  9274. + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  9275. +fi
  9276. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  9277. +$as_echo "$lt_cv_prog_compiler_pic" >&6; }
  9278. +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  9279. +
  9280. +#
  9281. +# Check to make sure the PIC flag actually works.
  9282. +#
  9283. +if test -n "$lt_prog_compiler_pic"; then
  9284. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  9285. +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  9286. +if ${lt_cv_prog_compiler_pic_works+:} false; then :
  9287. + $as_echo_n "(cached) " >&6
  9288. +else
  9289. + lt_cv_prog_compiler_pic_works=no
  9290. + ac_outfile=conftest.$ac_objext
  9291. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9292. + lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
  9293. + # Insert the option either (1) after the last *FLAGS variable, or
  9294. + # (2) before a word containing "conftest.", or (3) at the end.
  9295. + # Note that $ac_compile itself does not contain backslashes and begins
  9296. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  9297. + # The option is referenced via a variable to avoid confusing sed.
  9298. + lt_compile=`echo "$ac_compile" | $SED \
  9299. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  9300. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  9301. + -e 's:$: $lt_compiler_flag:'`
  9302. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  9303. + (eval "$lt_compile" 2>conftest.err)
  9304. + ac_status=$?
  9305. + cat conftest.err >&5
  9306. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9307. + if (exit $ac_status) && test -s "$ac_outfile"; then
  9308. + # The compiler can only warn and ignore the option if not recognized
  9309. + # So say no if there are warnings other than the usual output.
  9310. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  9311. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  9312. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  9313. + lt_cv_prog_compiler_pic_works=yes
  9314. + fi
  9315. + fi
  9316. + $RM conftest*
  9317. +
  9318. +fi
  9319. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  9320. +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  9321. +
  9322. +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  9323. + case $lt_prog_compiler_pic in
  9324. + "" | " "*) ;;
  9325. + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  9326. + esac
  9327. +else
  9328. + lt_prog_compiler_pic=
  9329. + lt_prog_compiler_can_build_shared=no
  9330. +fi
  9331. +
  9332. +fi
  9333. +
  9334. +
  9335. +
  9336. +
  9337. +
  9338. +
  9339. +
  9340. +
  9341. +
  9342. +
  9343. +
  9344. +#
  9345. +# Check to make sure the static flag actually works.
  9346. +#
  9347. +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  9348. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  9349. +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  9350. +if ${lt_cv_prog_compiler_static_works+:} false; then :
  9351. + $as_echo_n "(cached) " >&6
  9352. +else
  9353. + lt_cv_prog_compiler_static_works=no
  9354. + save_LDFLAGS="$LDFLAGS"
  9355. + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  9356. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  9357. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  9358. + # The linker can only warn and ignore the option if not recognized
  9359. + # So say no if there are warnings
  9360. + if test -s conftest.err; then
  9361. + # Append any errors to the config.log.
  9362. + cat conftest.err 1>&5
  9363. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  9364. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  9365. + if diff conftest.exp conftest.er2 >/dev/null; then
  9366. + lt_cv_prog_compiler_static_works=yes
  9367. + fi
  9368. + else
  9369. + lt_cv_prog_compiler_static_works=yes
  9370. + fi
  9371. + fi
  9372. + $RM -r conftest*
  9373. + LDFLAGS="$save_LDFLAGS"
  9374. +
  9375. +fi
  9376. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  9377. +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  9378. +
  9379. +if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  9380. + :
  9381. +else
  9382. + lt_prog_compiler_static=
  9383. +fi
  9384. +
  9385. +
  9386. +
  9387. +
  9388. +
  9389. +
  9390. +
  9391. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  9392. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  9393. +if ${lt_cv_prog_compiler_c_o+:} false; then :
  9394. + $as_echo_n "(cached) " >&6
  9395. +else
  9396. + lt_cv_prog_compiler_c_o=no
  9397. + $RM -r conftest 2>/dev/null
  9398. + mkdir conftest
  9399. + cd conftest
  9400. + mkdir out
  9401. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9402. +
  9403. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  9404. + # Insert the option either (1) after the last *FLAGS variable, or
  9405. + # (2) before a word containing "conftest.", or (3) at the end.
  9406. + # Note that $ac_compile itself does not contain backslashes and begins
  9407. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  9408. + lt_compile=`echo "$ac_compile" | $SED \
  9409. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  9410. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  9411. + -e 's:$: $lt_compiler_flag:'`
  9412. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  9413. + (eval "$lt_compile" 2>out/conftest.err)
  9414. + ac_status=$?
  9415. + cat out/conftest.err >&5
  9416. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9417. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  9418. + then
  9419. + # The compiler can only warn and ignore the option if not recognized
  9420. + # So say no if there are warnings
  9421. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  9422. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  9423. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  9424. + lt_cv_prog_compiler_c_o=yes
  9425. + fi
  9426. + fi
  9427. + chmod u+w . 2>&5
  9428. + $RM conftest*
  9429. + # SGI C++ compiler will create directory out/ii_files/ for
  9430. + # template instantiation
  9431. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  9432. + $RM out/* && rmdir out
  9433. + cd ..
  9434. + $RM -r conftest
  9435. + $RM conftest*
  9436. +
  9437. +fi
  9438. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  9439. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  9440. +
  9441. +
  9442. +
  9443. +
  9444. +
  9445. +
  9446. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  9447. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  9448. +if ${lt_cv_prog_compiler_c_o+:} false; then :
  9449. + $as_echo_n "(cached) " >&6
  9450. +else
  9451. + lt_cv_prog_compiler_c_o=no
  9452. + $RM -r conftest 2>/dev/null
  9453. + mkdir conftest
  9454. + cd conftest
  9455. + mkdir out
  9456. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9457. +
  9458. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  9459. + # Insert the option either (1) after the last *FLAGS variable, or
  9460. + # (2) before a word containing "conftest.", or (3) at the end.
  9461. + # Note that $ac_compile itself does not contain backslashes and begins
  9462. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  9463. + lt_compile=`echo "$ac_compile" | $SED \
  9464. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  9465. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  9466. + -e 's:$: $lt_compiler_flag:'`
  9467. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  9468. + (eval "$lt_compile" 2>out/conftest.err)
  9469. + ac_status=$?
  9470. + cat out/conftest.err >&5
  9471. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9472. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  9473. + then
  9474. + # The compiler can only warn and ignore the option if not recognized
  9475. + # So say no if there are warnings
  9476. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  9477. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  9478. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  9479. + lt_cv_prog_compiler_c_o=yes
  9480. + fi
  9481. + fi
  9482. + chmod u+w . 2>&5
  9483. + $RM conftest*
  9484. + # SGI C++ compiler will create directory out/ii_files/ for
  9485. + # template instantiation
  9486. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  9487. + $RM out/* && rmdir out
  9488. + cd ..
  9489. + $RM -r conftest
  9490. + $RM conftest*
  9491. +
  9492. +fi
  9493. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  9494. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  9495. +
  9496. +
  9497. +
  9498. +
  9499. +hard_links="nottested"
  9500. +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  9501. + # do not overwrite the value of need_locks provided by the user
  9502. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  9503. +$as_echo_n "checking if we can lock with hard links... " >&6; }
  9504. + hard_links=yes
  9505. + $RM conftest*
  9506. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  9507. + touch conftest.a
  9508. + ln conftest.a conftest.b 2>&5 || hard_links=no
  9509. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  9510. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  9511. +$as_echo "$hard_links" >&6; }
  9512. + if test "$hard_links" = no; then
  9513. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  9514. +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  9515. + need_locks=warn
  9516. + fi
  9517. +else
  9518. + need_locks=no
  9519. +fi
  9520. +
  9521. +
  9522. +
  9523. +
  9524. +
  9525. +
  9526. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  9527. +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  9528. +
  9529. + runpath_var=
  9530. + allow_undefined_flag=
  9531. + always_export_symbols=no
  9532. + archive_cmds=
  9533. + archive_expsym_cmds=
  9534. + compiler_needs_object=no
  9535. + enable_shared_with_static_runtimes=no
  9536. + export_dynamic_flag_spec=
  9537. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  9538. + hardcode_automatic=no
  9539. + hardcode_direct=no
  9540. + hardcode_direct_absolute=no
  9541. + hardcode_libdir_flag_spec=
  9542. + hardcode_libdir_separator=
  9543. + hardcode_minus_L=no
  9544. + hardcode_shlibpath_var=unsupported
  9545. + inherit_rpath=no
  9546. + link_all_deplibs=unknown
  9547. + module_cmds=
  9548. + module_expsym_cmds=
  9549. + old_archive_from_new_cmds=
  9550. + old_archive_from_expsyms_cmds=
  9551. + thread_safe_flag_spec=
  9552. + whole_archive_flag_spec=
  9553. + # include_expsyms should be a list of space-separated symbols to be *always*
  9554. + # included in the symbol list
  9555. + include_expsyms=
  9556. + # exclude_expsyms can be an extended regexp of symbols to exclude
  9557. + # it will be wrapped by ` (' and `)$', so one must not match beginning or
  9558. + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  9559. + # as well as any symbol that contains `d'.
  9560. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  9561. + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  9562. + # platforms (ab)use it in PIC code, but their linkers get confused if
  9563. + # the symbol is explicitly referenced. Since portable code cannot
  9564. + # rely on this symbol name, it's probably fine to never include it in
  9565. + # preloaded symbol tables.
  9566. + # Exclude shared library initialization/finalization symbols.
  9567. + extract_expsyms_cmds=
  9568. +
  9569. + case $host_os in
  9570. + cygwin* | mingw* | pw32* | cegcc*)
  9571. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  9572. + # When not using gcc, we currently assume that we are using
  9573. + # Microsoft Visual C++.
  9574. + if test "$GCC" != yes; then
  9575. + with_gnu_ld=no
  9576. + fi
  9577. + ;;
  9578. + interix*)
  9579. + # we just hope/assume this is gcc and not c89 (= MSVC++)
  9580. + with_gnu_ld=yes
  9581. + ;;
  9582. + openbsd*)
  9583. + with_gnu_ld=no
  9584. + ;;
  9585. + linux* | k*bsd*-gnu | gnu*)
  9586. + link_all_deplibs=no
  9587. + ;;
  9588. + esac
  9589. +
  9590. + ld_shlibs=yes
  9591. +
  9592. + # On some targets, GNU ld is compatible enough with the native linker
  9593. + # that we're better off using the native interface for both.
  9594. + lt_use_gnu_ld_interface=no
  9595. + if test "$with_gnu_ld" = yes; then
  9596. + case $host_os in
  9597. + aix*)
  9598. + # The AIX port of GNU ld has always aspired to compatibility
  9599. + # with the native linker. However, as the warning in the GNU ld
  9600. + # block says, versions before 2.19.5* couldn't really create working
  9601. + # shared libraries, regardless of the interface used.
  9602. + case `$LD -v 2>&1` in
  9603. + *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  9604. + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  9605. + *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  9606. + *)
  9607. + lt_use_gnu_ld_interface=yes
  9608. + ;;
  9609. + esac
  9610. + ;;
  9611. + *)
  9612. + lt_use_gnu_ld_interface=yes
  9613. + ;;
  9614. + esac
  9615. + fi
  9616. +
  9617. + if test "$lt_use_gnu_ld_interface" = yes; then
  9618. + # If archive_cmds runs LD, not CC, wlarc should be empty
  9619. + wlarc='${wl}'
  9620. +
  9621. + # Set some defaults for GNU ld with shared library support. These
  9622. + # are reset later if shared libraries are not supported. Putting them
  9623. + # here allows them to be overridden if necessary.
  9624. + runpath_var=LD_RUN_PATH
  9625. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9626. + export_dynamic_flag_spec='${wl}--export-dynamic'
  9627. + # ancient GNU ld didn't support --whole-archive et. al.
  9628. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  9629. + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  9630. + else
  9631. + whole_archive_flag_spec=
  9632. + fi
  9633. + supports_anon_versioning=no
  9634. + case `$LD -v 2>&1` in
  9635. + *GNU\ gold*) supports_anon_versioning=yes ;;
  9636. + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  9637. + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  9638. + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  9639. + *\ 2.11.*) ;; # other 2.11 versions
  9640. + *) supports_anon_versioning=yes ;;
  9641. + esac
  9642. +
  9643. + # See if GNU ld supports shared libraries.
  9644. + case $host_os in
  9645. + aix[3-9]*)
  9646. + # On AIX/PPC, the GNU linker is very broken
  9647. + if test "$host_cpu" != ia64; then
  9648. + ld_shlibs=no
  9649. + cat <<_LT_EOF 1>&2
  9650. +
  9651. +*** Warning: the GNU linker, at least up to release 2.19, is reported
  9652. +*** to be unable to reliably create shared libraries on AIX.
  9653. +*** Therefore, libtool is disabling shared libraries support. If you
  9654. +*** really care for shared libraries, you may want to install binutils
  9655. +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  9656. +*** You will then need to restart the configuration process.
  9657. +
  9658. +_LT_EOF
  9659. + fi
  9660. + ;;
  9661. +
  9662. + amigaos*)
  9663. + case $host_cpu in
  9664. + powerpc)
  9665. + # see comment about AmigaOS4 .so support
  9666. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9667. + archive_expsym_cmds=''
  9668. + ;;
  9669. + m68k)
  9670. + 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)'
  9671. + hardcode_libdir_flag_spec='-L$libdir'
  9672. + hardcode_minus_L=yes
  9673. + ;;
  9674. + esac
  9675. + ;;
  9676. +
  9677. + beos*)
  9678. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9679. + allow_undefined_flag=unsupported
  9680. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  9681. + # support --undefined. This deserves some investigation. FIXME
  9682. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9683. + else
  9684. + ld_shlibs=no
  9685. + fi
  9686. + ;;
  9687. +
  9688. + cygwin* | mingw* | pw32* | cegcc*)
  9689. + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  9690. + # as there is no search path for DLLs.
  9691. + hardcode_libdir_flag_spec='-L$libdir'
  9692. + export_dynamic_flag_spec='${wl}--export-all-symbols'
  9693. + allow_undefined_flag=unsupported
  9694. + always_export_symbols=no
  9695. + enable_shared_with_static_runtimes=yes
  9696. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  9697. + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  9698. +
  9699. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  9700. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9701. + # If the export-symbols file already is a .def file (1st line
  9702. + # is EXPORTS), use it as is; otherwise, prepend...
  9703. + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  9704. + cp $export_symbols $output_objdir/$soname.def;
  9705. + else
  9706. + echo EXPORTS > $output_objdir/$soname.def;
  9707. + cat $export_symbols >> $output_objdir/$soname.def;
  9708. + fi~
  9709. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9710. + else
  9711. + ld_shlibs=no
  9712. + fi
  9713. + ;;
  9714. +
  9715. + haiku*)
  9716. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9717. + link_all_deplibs=yes
  9718. + ;;
  9719. +
  9720. + interix[3-9]*)
  9721. + hardcode_direct=no
  9722. + hardcode_shlibpath_var=no
  9723. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9724. + export_dynamic_flag_spec='${wl}-E'
  9725. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  9726. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  9727. + # default) and relocated if they conflict, which is a slow very memory
  9728. + # consuming and fragmenting process. To avoid this, we pick a random,
  9729. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  9730. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  9731. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  9732. + 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'
  9733. + ;;
  9734. +
  9735. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  9736. + tmp_diet=no
  9737. + if test "$host_os" = linux-dietlibc; then
  9738. + case $cc_basename in
  9739. + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  9740. + esac
  9741. + fi
  9742. + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  9743. + && test "$tmp_diet" = no
  9744. + then
  9745. + tmp_addflag=' $pic_flag'
  9746. + tmp_sharedflag='-shared'
  9747. + case $cc_basename,$host_cpu in
  9748. + pgcc*) # Portland Group C compiler
  9749. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  9750. + tmp_addflag=' $pic_flag'
  9751. + ;;
  9752. + pgf77* | pgf90* | pgf95* | pgfortran*)
  9753. + # Portland Group f77 and f90 compilers
  9754. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  9755. + tmp_addflag=' $pic_flag -Mnomain' ;;
  9756. + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  9757. + tmp_addflag=' -i_dynamic' ;;
  9758. + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  9759. + tmp_addflag=' -i_dynamic -nofor_main' ;;
  9760. + ifc* | ifort*) # Intel Fortran compiler
  9761. + tmp_addflag=' -nofor_main' ;;
  9762. + lf95*) # Lahey Fortran 8.1
  9763. + whole_archive_flag_spec=
  9764. + tmp_sharedflag='--shared' ;;
  9765. + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  9766. + tmp_sharedflag='-qmkshrobj'
  9767. + tmp_addflag= ;;
  9768. + nvcc*) # Cuda Compiler Driver 2.2
  9769. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  9770. + compiler_needs_object=yes
  9771. + ;;
  9772. + esac
  9773. + case `$CC -V 2>&1 | sed 5q` in
  9774. + *Sun\ C*) # Sun C 5.9
  9775. + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  9776. + compiler_needs_object=yes
  9777. + tmp_sharedflag='-G' ;;
  9778. + *Sun\ F*) # Sun Fortran 8.3
  9779. + tmp_sharedflag='-G' ;;
  9780. + esac
  9781. + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9782. +
  9783. + if test "x$supports_anon_versioning" = xyes; then
  9784. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  9785. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9786. + echo "local: *; };" >> $output_objdir/$libname.ver~
  9787. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  9788. + fi
  9789. +
  9790. + case $cc_basename in
  9791. + xlf* | bgf* | bgxlf* | mpixlf*)
  9792. + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  9793. + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  9794. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9795. + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  9796. + if test "x$supports_anon_versioning" = xyes; then
  9797. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  9798. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9799. + echo "local: *; };" >> $output_objdir/$libname.ver~
  9800. + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  9801. + fi
  9802. + ;;
  9803. + esac
  9804. + else
  9805. + ld_shlibs=no
  9806. + fi
  9807. + ;;
  9808. +
  9809. + netbsd* | netbsdelf*-gnu)
  9810. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9811. + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  9812. + wlarc=
  9813. + else
  9814. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9815. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9816. + fi
  9817. + ;;
  9818. +
  9819. + solaris*)
  9820. + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  9821. + ld_shlibs=no
  9822. + cat <<_LT_EOF 1>&2
  9823. +
  9824. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  9825. +*** create shared libraries on Solaris systems. Therefore, libtool
  9826. +*** is disabling shared libraries support. We urge you to upgrade GNU
  9827. +*** binutils to release 2.9.1 or newer. Another option is to modify
  9828. +*** your PATH or compiler configuration so that the native linker is
  9829. +*** used, and then restart.
  9830. +
  9831. +_LT_EOF
  9832. + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9833. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9834. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9835. + else
  9836. + ld_shlibs=no
  9837. + fi
  9838. + ;;
  9839. +
  9840. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  9841. + case `$LD -v 2>&1` in
  9842. + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  9843. + ld_shlibs=no
  9844. + cat <<_LT_EOF 1>&2
  9845. +
  9846. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  9847. +*** reliably create shared libraries on SCO systems. Therefore, libtool
  9848. +*** is disabling shared libraries support. We urge you to upgrade GNU
  9849. +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  9850. +*** your PATH or compiler configuration so that the native linker is
  9851. +*** used, and then restart.
  9852. +
  9853. +_LT_EOF
  9854. + ;;
  9855. + *)
  9856. + # For security reasons, it is highly recommended that you always
  9857. + # use absolute paths for naming shared libraries, and exclude the
  9858. + # DT_RUNPATH tag from executables and libraries. But doing so
  9859. + # requires that you compile everything twice, which is a pain.
  9860. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9861. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9862. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9863. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9864. + else
  9865. + ld_shlibs=no
  9866. + fi
  9867. + ;;
  9868. + esac
  9869. + ;;
  9870. +
  9871. + sunos4*)
  9872. + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9873. + wlarc=
  9874. + hardcode_direct=yes
  9875. + hardcode_shlibpath_var=no
  9876. + ;;
  9877. +
  9878. + *)
  9879. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9880. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9881. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9882. + else
  9883. + ld_shlibs=no
  9884. + fi
  9885. + ;;
  9886. + esac
  9887. +
  9888. + if test "$ld_shlibs" = no; then
  9889. + runpath_var=
  9890. + hardcode_libdir_flag_spec=
  9891. + export_dynamic_flag_spec=
  9892. + whole_archive_flag_spec=
  9893. + fi
  9894. + else
  9895. + # PORTME fill in a description of your system's linker (not GNU ld)
  9896. + case $host_os in
  9897. + aix3*)
  9898. + allow_undefined_flag=unsupported
  9899. + always_export_symbols=yes
  9900. + 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'
  9901. + # Note: this linker hardcodes the directories in LIBPATH if there
  9902. + # are no directories specified by -L.
  9903. + hardcode_minus_L=yes
  9904. + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  9905. + # Neither direct hardcoding nor static linking is supported with a
  9906. + # broken collect2.
  9907. + hardcode_direct=unsupported
  9908. + fi
  9909. + ;;
  9910. +
  9911. + aix[4-9]*)
  9912. + if test "$host_cpu" = ia64; then
  9913. + # On IA64, the linker does run time linking by default, so we don't
  9914. + # have to do anything special.
  9915. + aix_use_runtimelinking=no
  9916. + exp_sym_flag='-Bexport'
  9917. + no_entry_flag=""
  9918. + else
  9919. + # If we're using GNU nm, then we don't want the "-C" option.
  9920. + # -C means demangle to AIX nm, but means don't demangle with GNU nm
  9921. + # Also, AIX nm treats weak defined symbols like other global
  9922. + # defined symbols, whereas GNU nm marks them as "W".
  9923. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  9924. + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  9925. + else
  9926. + 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'
  9927. + fi
  9928. + aix_use_runtimelinking=no
  9929. +
  9930. + # Test if we are trying to use run time linking or normal
  9931. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  9932. + # need to do runtime linking.
  9933. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  9934. + for ld_flag in $LDFLAGS; do
  9935. + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  9936. + aix_use_runtimelinking=yes
  9937. + break
  9938. + fi
  9939. + done
  9940. + ;;
  9941. + esac
  9942. +
  9943. + exp_sym_flag='-bexport'
  9944. + no_entry_flag='-bnoentry'
  9945. + fi
  9946. +
  9947. + # When large executables or shared objects are built, AIX ld can
  9948. + # have problems creating the table of contents. If linking a library
  9949. + # or program results in "error TOC overflow" add -mminimal-toc to
  9950. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  9951. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  9952. +
  9953. + archive_cmds=''
  9954. + hardcode_direct=yes
  9955. + hardcode_direct_absolute=yes
  9956. + hardcode_libdir_separator=':'
  9957. + link_all_deplibs=yes
  9958. + file_list_spec='${wl}-f,'
  9959. +
  9960. + if test "$GCC" = yes; then
  9961. + case $host_os in aix4.[012]|aix4.[012].*)
  9962. + # We only want to do this on AIX 4.2 and lower, the check
  9963. + # below for broken collect2 doesn't work under 4.3+
  9964. + collect2name=`${CC} -print-prog-name=collect2`
  9965. + if test -f "$collect2name" &&
  9966. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  9967. + then
  9968. + # We have reworked collect2
  9969. + :
  9970. + else
  9971. + # We have old collect2
  9972. + hardcode_direct=unsupported
  9973. + # It fails to find uninstalled libraries when the uninstalled
  9974. + # path is not listed in the libpath. Setting hardcode_minus_L
  9975. + # to unsupported forces relinking
  9976. + hardcode_minus_L=yes
  9977. + hardcode_libdir_flag_spec='-L$libdir'
  9978. + hardcode_libdir_separator=
  9979. + fi
  9980. + ;;
  9981. + esac
  9982. + shared_flag='-shared'
  9983. + if test "$aix_use_runtimelinking" = yes; then
  9984. + shared_flag="$shared_flag "'${wl}-G'
  9985. + fi
  9986. + link_all_deplibs=no
  9987. + else
  9988. + # not using gcc
  9989. + if test "$host_cpu" = ia64; then
  9990. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  9991. + # chokes on -Wl,-G. The following line is correct:
  9992. + shared_flag='-G'
  9993. + else
  9994. + if test "$aix_use_runtimelinking" = yes; then
  9995. + shared_flag='${wl}-G'
  9996. + else
  9997. + shared_flag='${wl}-bM:SRE'
  9998. + fi
  9999. + fi
  10000. + fi
  10001. +
  10002. + export_dynamic_flag_spec='${wl}-bexpall'
  10003. + # It seems that -bexpall does not export symbols beginning with
  10004. + # underscore (_), so it is better to generate a list of symbols to export.
  10005. + always_export_symbols=yes
  10006. + if test "$aix_use_runtimelinking" = yes; then
  10007. + # Warning - without using the other runtime loading flags (-brtl),
  10008. + # -berok will link without error, but may produce a broken library.
  10009. + allow_undefined_flag='-berok'
  10010. + # Determine the default libpath from the value encoded in an
  10011. + # empty executable.
  10012. + if test "${lt_cv_aix_libpath+set}" = set; then
  10013. + aix_libpath=$lt_cv_aix_libpath
  10014. +else
  10015. + if ${lt_cv_aix_libpath_+:} false; then :
  10016. + $as_echo_n "(cached) " >&6
  10017. +else
  10018. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10019. +/* end confdefs.h. */
  10020. +
  10021. +int
  10022. +main ()
  10023. +{
  10024. +
  10025. + ;
  10026. + return 0;
  10027. +}
  10028. +_ACEOF
  10029. +if ac_fn_c_try_link "$LINENO"; then :
  10030. +
  10031. + lt_aix_libpath_sed='
  10032. + /Import File Strings/,/^$/ {
  10033. + /^0/ {
  10034. + s/^0 *\([^ ]*\) *$/\1/
  10035. + p
  10036. + }
  10037. + }'
  10038. + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  10039. + # Check for a 64-bit object if we didn't find anything.
  10040. + if test -z "$lt_cv_aix_libpath_"; then
  10041. + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  10042. + fi
  10043. +fi
  10044. +rm -f core conftest.err conftest.$ac_objext \
  10045. + conftest$ac_exeext conftest.$ac_ext
  10046. + if test -z "$lt_cv_aix_libpath_"; then
  10047. + lt_cv_aix_libpath_="/usr/lib:/lib"
  10048. + fi
  10049. +
  10050. +fi
  10051. +
  10052. + aix_libpath=$lt_cv_aix_libpath_
  10053. +fi
  10054. +
  10055. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  10056. + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  10057. + else
  10058. + if test "$host_cpu" = ia64; then
  10059. + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  10060. + allow_undefined_flag="-z nodefs"
  10061. + 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"
  10062. + else
  10063. + # Determine the default libpath from the value encoded in an
  10064. + # empty executable.
  10065. + if test "${lt_cv_aix_libpath+set}" = set; then
  10066. + aix_libpath=$lt_cv_aix_libpath
  10067. +else
  10068. + if ${lt_cv_aix_libpath_+:} false; then :
  10069. + $as_echo_n "(cached) " >&6
  10070. +else
  10071. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10072. +/* end confdefs.h. */
  10073. +
  10074. +int
  10075. +main ()
  10076. +{
  10077. +
  10078. + ;
  10079. + return 0;
  10080. +}
  10081. +_ACEOF
  10082. +if ac_fn_c_try_link "$LINENO"; then :
  10083. +
  10084. + lt_aix_libpath_sed='
  10085. + /Import File Strings/,/^$/ {
  10086. + /^0/ {
  10087. + s/^0 *\([^ ]*\) *$/\1/
  10088. + p
  10089. + }
  10090. + }'
  10091. + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  10092. + # Check for a 64-bit object if we didn't find anything.
  10093. + if test -z "$lt_cv_aix_libpath_"; then
  10094. + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  10095. + fi
  10096. +fi
  10097. +rm -f core conftest.err conftest.$ac_objext \
  10098. + conftest$ac_exeext conftest.$ac_ext
  10099. + if test -z "$lt_cv_aix_libpath_"; then
  10100. + lt_cv_aix_libpath_="/usr/lib:/lib"
  10101. + fi
  10102. +
  10103. +fi
  10104. +
  10105. + aix_libpath=$lt_cv_aix_libpath_
  10106. +fi
  10107. +
  10108. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  10109. + # Warning - without using the other run time loading flags,
  10110. + # -berok will link without error, but may produce a broken library.
  10111. + no_undefined_flag=' ${wl}-bernotok'
  10112. + allow_undefined_flag=' ${wl}-berok'
  10113. + if test "$with_gnu_ld" = yes; then
  10114. + # We only use this code for GNU lds that support --whole-archive.
  10115. + whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  10116. + else
  10117. + # Exported symbols can be pulled into shared objects from archives
  10118. + whole_archive_flag_spec='$convenience'
  10119. + fi
  10120. + archive_cmds_need_lc=yes
  10121. + # This is similar to how AIX traditionally builds its shared libraries.
  10122. + 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'
  10123. + fi
  10124. + fi
  10125. + ;;
  10126. +
  10127. + amigaos*)
  10128. + case $host_cpu in
  10129. + powerpc)
  10130. + # see comment about AmigaOS4 .so support
  10131. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  10132. + archive_expsym_cmds=''
  10133. + ;;
  10134. + m68k)
  10135. + 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)'
  10136. + hardcode_libdir_flag_spec='-L$libdir'
  10137. + hardcode_minus_L=yes
  10138. + ;;
  10139. + esac
  10140. + ;;
  10141. +
  10142. + bsdi[45]*)
  10143. + export_dynamic_flag_spec=-rdynamic
  10144. + ;;
  10145. +
  10146. + cygwin* | mingw* | pw32* | cegcc*)
  10147. + # When not using gcc, we currently assume that we are using
  10148. + # Microsoft Visual C++.
  10149. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  10150. + # no search path for DLLs.
  10151. + case $cc_basename in
  10152. + cl*)
  10153. + # Native MSVC
  10154. + hardcode_libdir_flag_spec=' '
  10155. + allow_undefined_flag=unsupported
  10156. + always_export_symbols=yes
  10157. + file_list_spec='@'
  10158. + # Tell ltmain to make .lib files, not .a files.
  10159. + libext=lib
  10160. + # Tell ltmain to make .dll files, not .so files.
  10161. + shrext_cmds=".dll"
  10162. + # FIXME: Setting linknames here is a bad hack.
  10163. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
  10164. + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  10165. + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
  10166. + else
  10167. + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
  10168. + fi~
  10169. + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  10170. + linknames='
  10171. + # The linker will not automatically build a static lib if we build a DLL.
  10172. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  10173. + enable_shared_with_static_runtimes=yes
  10174. + exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  10175. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  10176. + # Don't use ranlib
  10177. + old_postinstall_cmds='chmod 644 $oldlib'
  10178. + postlink_cmds='lt_outputfile="@OUTPUT@"~
  10179. + lt_tool_outputfile="@TOOL_OUTPUT@"~
  10180. + case $lt_outputfile in
  10181. + *.exe|*.EXE) ;;
  10182. + *)
  10183. + lt_outputfile="$lt_outputfile.exe"
  10184. + lt_tool_outputfile="$lt_tool_outputfile.exe"
  10185. + ;;
  10186. + esac~
  10187. + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
  10188. + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  10189. + $RM "$lt_outputfile.manifest";
  10190. + fi'
  10191. + ;;
  10192. + *)
  10193. + # Assume MSVC wrapper
  10194. + hardcode_libdir_flag_spec=' '
  10195. + allow_undefined_flag=unsupported
  10196. + # Tell ltmain to make .lib files, not .a files.
  10197. + libext=lib
  10198. + # Tell ltmain to make .dll files, not .so files.
  10199. + shrext_cmds=".dll"
  10200. + # FIXME: Setting linknames here is a bad hack.
  10201. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  10202. + # The linker will automatically build a .lib file if we build a DLL.
  10203. + old_archive_from_new_cmds='true'
  10204. + # FIXME: Should let the user specify the lib program.
  10205. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  10206. + enable_shared_with_static_runtimes=yes
  10207. + ;;
  10208. + esac
  10209. + ;;
  10210. +
  10211. + darwin* | rhapsody*)
  10212. +
  10213. +
  10214. + archive_cmds_need_lc=no
  10215. + hardcode_direct=no
  10216. + hardcode_automatic=yes
  10217. + hardcode_shlibpath_var=unsupported
  10218. + if test "$lt_cv_ld_force_load" = "yes"; then
  10219. + whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  10220. +
  10221. + else
  10222. + whole_archive_flag_spec=''
  10223. + fi
  10224. + link_all_deplibs=yes
  10225. + allow_undefined_flag="$_lt_dar_allow_undefined"
  10226. + case $cc_basename in
  10227. + ifort*) _lt_dar_can_shared=yes ;;
  10228. + *) _lt_dar_can_shared=$GCC ;;
  10229. + esac
  10230. + if test "$_lt_dar_can_shared" = "yes"; then
  10231. + output_verbose_link_cmd=func_echo_all
  10232. + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  10233. + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  10234. + 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}"
  10235. + 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}"
  10236. +
  10237. + else
  10238. + ld_shlibs=no
  10239. + fi
  10240. +
  10241. + ;;
  10242. +
  10243. + dgux*)
  10244. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10245. + hardcode_libdir_flag_spec='-L$libdir'
  10246. + hardcode_shlibpath_var=no
  10247. + ;;
  10248. +
  10249. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  10250. + # support. Future versions do this automatically, but an explicit c++rt0.o
  10251. + # does not break anything, and helps significantly (at the cost of a little
  10252. + # extra space).
  10253. + freebsd2.2*)
  10254. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  10255. + hardcode_libdir_flag_spec='-R$libdir'
  10256. + hardcode_direct=yes
  10257. + hardcode_shlibpath_var=no
  10258. + ;;
  10259. +
  10260. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  10261. + freebsd2.*)
  10262. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  10263. + hardcode_direct=yes
  10264. + hardcode_minus_L=yes
  10265. + hardcode_shlibpath_var=no
  10266. + ;;
  10267. +
  10268. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  10269. + freebsd* | dragonfly*)
  10270. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  10271. + hardcode_libdir_flag_spec='-R$libdir'
  10272. + hardcode_direct=yes
  10273. + hardcode_shlibpath_var=no
  10274. + ;;
  10275. +
  10276. + hpux9*)
  10277. + if test "$GCC" = yes; then
  10278. + archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  10279. + else
  10280. + 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'
  10281. + fi
  10282. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  10283. + hardcode_libdir_separator=:
  10284. + hardcode_direct=yes
  10285. +
  10286. + # hardcode_minus_L: Not really in the search PATH,
  10287. + # but as the default location of the library.
  10288. + hardcode_minus_L=yes
  10289. + export_dynamic_flag_spec='${wl}-E'
  10290. + ;;
  10291. +
  10292. + hpux10*)
  10293. + if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  10294. + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  10295. + else
  10296. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  10297. + fi
  10298. + if test "$with_gnu_ld" = no; then
  10299. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  10300. + hardcode_libdir_separator=:
  10301. + hardcode_direct=yes
  10302. + hardcode_direct_absolute=yes
  10303. + export_dynamic_flag_spec='${wl}-E'
  10304. + # hardcode_minus_L: Not really in the search PATH,
  10305. + # but as the default location of the library.
  10306. + hardcode_minus_L=yes
  10307. + fi
  10308. + ;;
  10309. +
  10310. + hpux11*)
  10311. + if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  10312. + case $host_cpu in
  10313. + hppa*64*)
  10314. + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  10315. + ;;
  10316. + ia64*)
  10317. + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  10318. + ;;
  10319. + *)
  10320. + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  10321. + ;;
  10322. + esac
  10323. + else
  10324. + case $host_cpu in
  10325. + hppa*64*)
  10326. + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  10327. + ;;
  10328. + ia64*)
  10329. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  10330. + ;;
  10331. + *)
  10332. +
  10333. + # Older versions of the 11.00 compiler do not understand -b yet
  10334. + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  10335. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  10336. +$as_echo_n "checking if $CC understands -b... " >&6; }
  10337. +if ${lt_cv_prog_compiler__b+:} false; then :
  10338. + $as_echo_n "(cached) " >&6
  10339. +else
  10340. + lt_cv_prog_compiler__b=no
  10341. + save_LDFLAGS="$LDFLAGS"
  10342. + LDFLAGS="$LDFLAGS -b"
  10343. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  10344. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  10345. + # The linker can only warn and ignore the option if not recognized
  10346. + # So say no if there are warnings
  10347. + if test -s conftest.err; then
  10348. + # Append any errors to the config.log.
  10349. + cat conftest.err 1>&5
  10350. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  10351. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  10352. + if diff conftest.exp conftest.er2 >/dev/null; then
  10353. + lt_cv_prog_compiler__b=yes
  10354. + fi
  10355. + else
  10356. + lt_cv_prog_compiler__b=yes
  10357. + fi
  10358. + fi
  10359. + $RM -r conftest*
  10360. + LDFLAGS="$save_LDFLAGS"
  10361. +
  10362. +fi
  10363. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  10364. +$as_echo "$lt_cv_prog_compiler__b" >&6; }
  10365. +
  10366. +if test x"$lt_cv_prog_compiler__b" = xyes; then
  10367. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  10368. +else
  10369. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  10370. +fi
  10371. +
  10372. + ;;
  10373. + esac
  10374. + fi
  10375. + if test "$with_gnu_ld" = no; then
  10376. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  10377. + hardcode_libdir_separator=:
  10378. +
  10379. + case $host_cpu in
  10380. + hppa*64*|ia64*)
  10381. + hardcode_direct=no
  10382. + hardcode_shlibpath_var=no
  10383. + ;;
  10384. + *)
  10385. + hardcode_direct=yes
  10386. + hardcode_direct_absolute=yes
  10387. + export_dynamic_flag_spec='${wl}-E'
  10388. +
  10389. + # hardcode_minus_L: Not really in the search PATH,
  10390. + # but as the default location of the library.
  10391. + hardcode_minus_L=yes
  10392. + ;;
  10393. + esac
  10394. + fi
  10395. + ;;
  10396. +
  10397. + irix5* | irix6* | nonstopux*)
  10398. + if test "$GCC" = yes; then
  10399. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  10400. + # Try to use the -exported_symbol ld option, if it does not
  10401. + # work, assume that -exports_file does not work either and
  10402. + # implicitly export all symbols.
  10403. + # This should be the same for all languages, so no per-tag cache variable.
  10404. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  10405. +$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  10406. +if ${lt_cv_irix_exported_symbol+:} false; then :
  10407. + $as_echo_n "(cached) " >&6
  10408. +else
  10409. + save_LDFLAGS="$LDFLAGS"
  10410. + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  10411. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10412. +/* end confdefs.h. */
  10413. +int foo (void) { return 0; }
  10414. +_ACEOF
  10415. +if ac_fn_c_try_link "$LINENO"; then :
  10416. + lt_cv_irix_exported_symbol=yes
  10417. +else
  10418. + lt_cv_irix_exported_symbol=no
  10419. +fi
  10420. +rm -f core conftest.err conftest.$ac_objext \
  10421. + conftest$ac_exeext conftest.$ac_ext
  10422. + LDFLAGS="$save_LDFLAGS"
  10423. +fi
  10424. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  10425. +$as_echo "$lt_cv_irix_exported_symbol" >&6; }
  10426. + if test "$lt_cv_irix_exported_symbol" = yes; then
  10427. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  10428. + fi
  10429. + else
  10430. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  10431. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  10432. + fi
  10433. + archive_cmds_need_lc='no'
  10434. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  10435. + hardcode_libdir_separator=:
  10436. + inherit_rpath=yes
  10437. + link_all_deplibs=yes
  10438. + ;;
  10439. +
  10440. + netbsd* | netbsdelf*-gnu)
  10441. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  10442. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  10443. + else
  10444. + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  10445. + fi
  10446. + hardcode_libdir_flag_spec='-R$libdir'
  10447. + hardcode_direct=yes
  10448. + hardcode_shlibpath_var=no
  10449. + ;;
  10450. +
  10451. + newsos6)
  10452. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10453. + hardcode_direct=yes
  10454. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  10455. + hardcode_libdir_separator=:
  10456. + hardcode_shlibpath_var=no
  10457. + ;;
  10458. +
  10459. + *nto* | *qnx*)
  10460. + ;;
  10461. +
  10462. + openbsd*)
  10463. + if test -f /usr/libexec/ld.so; then
  10464. + hardcode_direct=yes
  10465. + hardcode_shlibpath_var=no
  10466. + hardcode_direct_absolute=yes
  10467. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  10468. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  10469. + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  10470. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  10471. + export_dynamic_flag_spec='${wl}-E'
  10472. + else
  10473. + case $host_os in
  10474. + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  10475. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  10476. + hardcode_libdir_flag_spec='-R$libdir'
  10477. + ;;
  10478. + *)
  10479. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  10480. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  10481. + ;;
  10482. + esac
  10483. + fi
  10484. + else
  10485. + ld_shlibs=no
  10486. + fi
  10487. + ;;
  10488. +
  10489. + os2*)
  10490. + hardcode_libdir_flag_spec='-L$libdir'
  10491. + hardcode_minus_L=yes
  10492. + allow_undefined_flag=unsupported
  10493. + 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'
  10494. + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  10495. + ;;
  10496. +
  10497. + osf3*)
  10498. + if test "$GCC" = yes; then
  10499. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  10500. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  10501. + else
  10502. + allow_undefined_flag=' -expect_unresolved \*'
  10503. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  10504. + fi
  10505. + archive_cmds_need_lc='no'
  10506. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  10507. + hardcode_libdir_separator=:
  10508. + ;;
  10509. +
  10510. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  10511. + if test "$GCC" = yes; then
  10512. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  10513. + archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  10514. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  10515. + else
  10516. + allow_undefined_flag=' -expect_unresolved \*'
  10517. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  10518. + 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~
  10519. + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  10520. +
  10521. + # Both c and cxx compiler support -rpath directly
  10522. + hardcode_libdir_flag_spec='-rpath $libdir'
  10523. + fi
  10524. + archive_cmds_need_lc='no'
  10525. + hardcode_libdir_separator=:
  10526. + ;;
  10527. +
  10528. + solaris*)
  10529. + no_undefined_flag=' -z defs'
  10530. + if test "$GCC" = yes; then
  10531. + wlarc='${wl}'
  10532. + archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  10533. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  10534. + $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  10535. + else
  10536. + case `$CC -V 2>&1` in
  10537. + *"Compilers 5.0"*)
  10538. + wlarc=''
  10539. + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10540. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  10541. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  10542. + ;;
  10543. + *)
  10544. + wlarc='${wl}'
  10545. + archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  10546. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  10547. + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  10548. + ;;
  10549. + esac
  10550. + fi
  10551. + hardcode_libdir_flag_spec='-R$libdir'
  10552. + hardcode_shlibpath_var=no
  10553. + case $host_os in
  10554. + solaris2.[0-5] | solaris2.[0-5].*) ;;
  10555. + *)
  10556. + # The compiler driver will combine and reorder linker options,
  10557. + # but understands `-z linker_flag'. GCC discards it without `$wl',
  10558. + # but is careful enough not to reorder.
  10559. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  10560. + if test "$GCC" = yes; then
  10561. + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  10562. + else
  10563. + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  10564. + fi
  10565. + ;;
  10566. + esac
  10567. + link_all_deplibs=yes
  10568. + ;;
  10569. +
  10570. + sunos4*)
  10571. + if test "x$host_vendor" = xsequent; then
  10572. + # Use $CC to link under sequent, because it throws in some extra .o
  10573. + # files that make .init and .fini sections work.
  10574. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  10575. + else
  10576. + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  10577. + fi
  10578. + hardcode_libdir_flag_spec='-L$libdir'
  10579. + hardcode_direct=yes
  10580. + hardcode_minus_L=yes
  10581. + hardcode_shlibpath_var=no
  10582. + ;;
  10583. +
  10584. + sysv4)
  10585. + case $host_vendor in
  10586. + sni)
  10587. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10588. + hardcode_direct=yes # is this really true???
  10589. + ;;
  10590. + siemens)
  10591. + ## LD is ld it makes a PLAMLIB
  10592. + ## CC just makes a GrossModule.
  10593. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  10594. + reload_cmds='$CC -r -o $output$reload_objs'
  10595. + hardcode_direct=no
  10596. + ;;
  10597. + motorola)
  10598. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10599. + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  10600. + ;;
  10601. + esac
  10602. + runpath_var='LD_RUN_PATH'
  10603. + hardcode_shlibpath_var=no
  10604. + ;;
  10605. +
  10606. + sysv4.3*)
  10607. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10608. + hardcode_shlibpath_var=no
  10609. + export_dynamic_flag_spec='-Bexport'
  10610. + ;;
  10611. +
  10612. + sysv4*MP*)
  10613. + if test -d /usr/nec; then
  10614. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10615. + hardcode_shlibpath_var=no
  10616. + runpath_var=LD_RUN_PATH
  10617. + hardcode_runpath_var=yes
  10618. + ld_shlibs=yes
  10619. + fi
  10620. + ;;
  10621. +
  10622. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  10623. + no_undefined_flag='${wl}-z,text'
  10624. + archive_cmds_need_lc=no
  10625. + hardcode_shlibpath_var=no
  10626. + runpath_var='LD_RUN_PATH'
  10627. +
  10628. + if test "$GCC" = yes; then
  10629. + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10630. + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10631. + else
  10632. + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10633. + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10634. + fi
  10635. + ;;
  10636. +
  10637. + sysv5* | sco3.2v5* | sco5v6*)
  10638. + # Note: We can NOT use -z defs as we might desire, because we do not
  10639. + # link with -lc, and that would cause any symbols used from libc to
  10640. + # always be unresolved, which means just about no library would
  10641. + # ever link correctly. If we're not using GNU ld we use -z text
  10642. + # though, which does catch some bad symbols but isn't as heavy-handed
  10643. + # as -z defs.
  10644. + no_undefined_flag='${wl}-z,text'
  10645. + allow_undefined_flag='${wl}-z,nodefs'
  10646. + archive_cmds_need_lc=no
  10647. + hardcode_shlibpath_var=no
  10648. + hardcode_libdir_flag_spec='${wl}-R,$libdir'
  10649. + hardcode_libdir_separator=':'
  10650. + link_all_deplibs=yes
  10651. + export_dynamic_flag_spec='${wl}-Bexport'
  10652. + runpath_var='LD_RUN_PATH'
  10653. +
  10654. + if test "$GCC" = yes; then
  10655. + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10656. + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10657. + else
  10658. + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10659. + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10660. + fi
  10661. + ;;
  10662. +
  10663. + uts4*)
  10664. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10665. + hardcode_libdir_flag_spec='-L$libdir'
  10666. + hardcode_shlibpath_var=no
  10667. + ;;
  10668. +
  10669. + *)
  10670. + ld_shlibs=no
  10671. + ;;
  10672. + esac
  10673. +
  10674. + if test x$host_vendor = xsni; then
  10675. + case $host in
  10676. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  10677. + export_dynamic_flag_spec='${wl}-Blargedynsym'
  10678. + ;;
  10679. + esac
  10680. + fi
  10681. + fi
  10682. +
  10683. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  10684. +$as_echo "$ld_shlibs" >&6; }
  10685. +test "$ld_shlibs" = no && can_build_shared=no
  10686. +
  10687. +with_gnu_ld=$with_gnu_ld
  10688. +
  10689. +
  10690. +
  10691. +
  10692. +
  10693. +
  10694. +
  10695. +
  10696. +
  10697. +
  10698. +
  10699. +
  10700. +
  10701. +
  10702. +
  10703. +#
  10704. +# Do we need to explicitly link libc?
  10705. +#
  10706. +case "x$archive_cmds_need_lc" in
  10707. +x|xyes)
  10708. + # Assume -lc should be added
  10709. + archive_cmds_need_lc=yes
  10710. +
  10711. + if test "$enable_shared" = yes && test "$GCC" = yes; then
  10712. + case $archive_cmds in
  10713. + *'~'*)
  10714. + # FIXME: we may have to deal with multi-command sequences.
  10715. + ;;
  10716. + '$CC '*)
  10717. + # Test whether the compiler implicitly links with -lc since on some
  10718. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  10719. + # to ld, don't add -lc before -lgcc.
  10720. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  10721. +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  10722. +if ${lt_cv_archive_cmds_need_lc+:} false; then :
  10723. + $as_echo_n "(cached) " >&6
  10724. +else
  10725. + $RM conftest*
  10726. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  10727. +
  10728. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  10729. + (eval $ac_compile) 2>&5
  10730. + ac_status=$?
  10731. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10732. + test $ac_status = 0; } 2>conftest.err; then
  10733. + soname=conftest
  10734. + lib=conftest
  10735. + libobjs=conftest.$ac_objext
  10736. + deplibs=
  10737. + wl=$lt_prog_compiler_wl
  10738. + pic_flag=$lt_prog_compiler_pic
  10739. + compiler_flags=-v
  10740. + linker_flags=-v
  10741. + verstring=
  10742. + output_objdir=.
  10743. + libname=conftest
  10744. + lt_save_allow_undefined_flag=$allow_undefined_flag
  10745. + allow_undefined_flag=
  10746. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  10747. + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  10748. + ac_status=$?
  10749. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10750. + test $ac_status = 0; }
  10751. + then
  10752. + lt_cv_archive_cmds_need_lc=no
  10753. + else
  10754. + lt_cv_archive_cmds_need_lc=yes
  10755. + fi
  10756. + allow_undefined_flag=$lt_save_allow_undefined_flag
  10757. + else
  10758. + cat conftest.err 1>&5
  10759. + fi
  10760. + $RM conftest*
  10761. +
  10762. +fi
  10763. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  10764. +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  10765. + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  10766. + ;;
  10767. + esac
  10768. + fi
  10769. + ;;
  10770. +esac
  10771. +
  10772. +
  10773. +
  10774. +
  10775. +
  10776. +
  10777. +
  10778. +
  10779. +
  10780. +
  10781. +
  10782. +
  10783. +
  10784. +
  10785. +
  10786. +
  10787. +
  10788. +
  10789. +
  10790. +
  10791. +
  10792. +
  10793. +
  10794. +
  10795. +
  10796. +
  10797. +
  10798. +
  10799. +
  10800. +
  10801. +
  10802. +
  10803. +
  10804. +
  10805. +
  10806. +
  10807. +
  10808. +
  10809. +
  10810. +
  10811. +
  10812. +
  10813. +
  10814. +
  10815. +
  10816. +
  10817. +
  10818. +
  10819. +
  10820. +
  10821. +
  10822. +
  10823. +
  10824. +
  10825. +
  10826. +
  10827. +
  10828. +
  10829. +
  10830. +
  10831. +
  10832. +
  10833. +
  10834. +
  10835. +
  10836. +
  10837. +
  10838. +
  10839. +
  10840. +
  10841. +
  10842. +
  10843. +
  10844. +
  10845. +
  10846. +
  10847. +
  10848. +
  10849. +
  10850. +
  10851. +
  10852. +
  10853. +
  10854. +
  10855. +
  10856. +
  10857. +
  10858. +
  10859. +
  10860. +
  10861. +
  10862. +
  10863. +
  10864. +
  10865. +
  10866. +
  10867. +
  10868. +
  10869. +
  10870. +
  10871. +
  10872. +
  10873. +
  10874. +
  10875. +
  10876. +
  10877. +
  10878. +
  10879. +
  10880. +
  10881. +
  10882. +
  10883. +
  10884. +
  10885. +
  10886. +
  10887. +
  10888. +
  10889. +
  10890. +
  10891. +
  10892. +
  10893. +
  10894. +
  10895. +
  10896. +
  10897. +
  10898. +
  10899. +
  10900. +
  10901. +
  10902. +
  10903. +
  10904. +
  10905. +
  10906. +
  10907. +
  10908. +
  10909. +
  10910. +
  10911. +
  10912. +
  10913. +
  10914. +
  10915. +
  10916. +
  10917. +
  10918. +
  10919. +
  10920. +
  10921. +
  10922. +
  10923. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  10924. +$as_echo_n "checking dynamic linker characteristics... " >&6; }
  10925. +
  10926. +if test "$GCC" = yes; then
  10927. + case $host_os in
  10928. + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  10929. + *) lt_awk_arg="/^libraries:/" ;;
  10930. + esac
  10931. + case $host_os in
  10932. + mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
  10933. + *) lt_sed_strip_eq="s,=/,/,g" ;;
  10934. + esac
  10935. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  10936. + case $lt_search_path_spec in
  10937. + *\;*)
  10938. + # if the path contains ";" then we assume it to be the separator
  10939. + # otherwise default to the standard path separator (i.e. ":") - it is
  10940. + # assumed that no part of a normal pathname contains ";" but that should
  10941. + # okay in the real world where ";" in dirpaths is itself problematic.
  10942. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  10943. + ;;
  10944. + *)
  10945. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  10946. + ;;
  10947. + esac
  10948. + # Ok, now we have the path, separated by spaces, we can step through it
  10949. + # and add multilib dir if necessary.
  10950. + lt_tmp_lt_search_path_spec=
  10951. + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  10952. + for lt_sys_path in $lt_search_path_spec; do
  10953. + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  10954. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  10955. + else
  10956. + test -d "$lt_sys_path" && \
  10957. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  10958. + fi
  10959. + done
  10960. + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  10961. +BEGIN {RS=" "; FS="/|\n";} {
  10962. + lt_foo="";
  10963. + lt_count=0;
  10964. + for (lt_i = NF; lt_i > 0; lt_i--) {
  10965. + if ($lt_i != "" && $lt_i != ".") {
  10966. + if ($lt_i == "..") {
  10967. + lt_count++;
  10968. + } else {
  10969. + if (lt_count == 0) {
  10970. + lt_foo="/" $lt_i lt_foo;
  10971. + } else {
  10972. + lt_count--;
  10973. + }
  10974. + }
  10975. + }
  10976. + }
  10977. + if (lt_foo != "") { lt_freq[lt_foo]++; }
  10978. + if (lt_freq[lt_foo] == 1) { print lt_foo; }
  10979. +}'`
  10980. + # AWK program above erroneously prepends '/' to C:/dos/paths
  10981. + # for these hosts.
  10982. + case $host_os in
  10983. + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  10984. + $SED 's,/\([A-Za-z]:\),\1,g'` ;;
  10985. + esac
  10986. + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  10987. +else
  10988. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  10989. +fi
  10990. +library_names_spec=
  10991. +libname_spec='lib$name'
  10992. +soname_spec=
  10993. +shrext_cmds=".so"
  10994. +postinstall_cmds=
  10995. +postuninstall_cmds=
  10996. +finish_cmds=
  10997. +finish_eval=
  10998. +shlibpath_var=
  10999. +shlibpath_overrides_runpath=unknown
  11000. +version_type=none
  11001. +dynamic_linker="$host_os ld.so"
  11002. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  11003. +need_lib_prefix=unknown
  11004. +hardcode_into_libs=no
  11005. +
  11006. +# when you set need_version to no, make sure it does not cause -set_version
  11007. +# flags to be left without arguments
  11008. +need_version=unknown
  11009. +
  11010. +case $host_os in
  11011. +aix3*)
  11012. + version_type=linux # correct to gnu/linux during the next big refactor
  11013. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  11014. + shlibpath_var=LIBPATH
  11015. +
  11016. + # AIX 3 has no versioning support, so we append a major version to the name.
  11017. + soname_spec='${libname}${release}${shared_ext}$major'
  11018. + ;;
  11019. +
  11020. +aix[4-9]*)
  11021. + version_type=linux # correct to gnu/linux during the next big refactor
  11022. + need_lib_prefix=no
  11023. + need_version=no
  11024. + hardcode_into_libs=yes
  11025. + if test "$host_cpu" = ia64; then
  11026. + # AIX 5 supports IA64
  11027. + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  11028. + shlibpath_var=LD_LIBRARY_PATH
  11029. + else
  11030. + # With GCC up to 2.95.x, collect2 would create an import file
  11031. + # for dependence libraries. The import file would start with
  11032. + # the line `#! .'. This would cause the generated library to
  11033. + # depend on `.', always an invalid library. This was fixed in
  11034. + # development snapshots of GCC prior to 3.0.
  11035. + case $host_os in
  11036. + aix4 | aix4.[01] | aix4.[01].*)
  11037. + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  11038. + echo ' yes '
  11039. + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  11040. + :
  11041. + else
  11042. + can_build_shared=no
  11043. + fi
  11044. + ;;
  11045. + esac
  11046. + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  11047. + # soname into executable. Probably we can add versioning support to
  11048. + # collect2, so additional links can be useful in future.
  11049. + if test "$aix_use_runtimelinking" = yes; then
  11050. + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  11051. + # instead of lib<name>.a to let people know that these are not
  11052. + # typical AIX shared libraries.
  11053. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11054. + else
  11055. + # We preserve .a as extension for shared libraries through AIX4.2
  11056. + # and later when we are not doing run time linking.
  11057. + library_names_spec='${libname}${release}.a $libname.a'
  11058. + soname_spec='${libname}${release}${shared_ext}$major'
  11059. + fi
  11060. + shlibpath_var=LIBPATH
  11061. + fi
  11062. + ;;
  11063. +
  11064. +amigaos*)
  11065. + case $host_cpu in
  11066. + powerpc)
  11067. + # Since July 2007 AmigaOS4 officially supports .so libraries.
  11068. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  11069. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11070. + ;;
  11071. + m68k)
  11072. + library_names_spec='$libname.ixlibrary $libname.a'
  11073. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  11074. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
  11075. + ;;
  11076. + esac
  11077. + ;;
  11078. +
  11079. +beos*)
  11080. + library_names_spec='${libname}${shared_ext}'
  11081. + dynamic_linker="$host_os ld.so"
  11082. + shlibpath_var=LIBRARY_PATH
  11083. + ;;
  11084. +
  11085. +bsdi[45]*)
  11086. + version_type=linux # correct to gnu/linux during the next big refactor
  11087. + need_version=no
  11088. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11089. + soname_spec='${libname}${release}${shared_ext}$major'
  11090. + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  11091. + shlibpath_var=LD_LIBRARY_PATH
  11092. + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  11093. + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  11094. + # the default ld.so.conf also contains /usr/contrib/lib and
  11095. + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  11096. + # libtool to hard-code these into programs
  11097. + ;;
  11098. +
  11099. +cygwin* | mingw* | pw32* | cegcc*)
  11100. + version_type=windows
  11101. + shrext_cmds=".dll"
  11102. + need_version=no
  11103. + need_lib_prefix=no
  11104. +
  11105. + case $GCC,$cc_basename in
  11106. + yes,*)
  11107. + # gcc
  11108. + library_names_spec='$libname.dll.a'
  11109. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  11110. + postinstall_cmds='base_file=`basename \${file}`~
  11111. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  11112. + dldir=$destdir/`dirname \$dlpath`~
  11113. + test -d \$dldir || mkdir -p \$dldir~
  11114. + $install_prog $dir/$dlname \$dldir/$dlname~
  11115. + chmod a+x \$dldir/$dlname~
  11116. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  11117. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  11118. + fi'
  11119. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  11120. + dlpath=$dir/\$dldll~
  11121. + $RM \$dlpath'
  11122. + shlibpath_overrides_runpath=yes
  11123. +
  11124. + case $host_os in
  11125. + cygwin*)
  11126. + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  11127. + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  11128. +
  11129. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  11130. + ;;
  11131. + mingw* | cegcc*)
  11132. + # MinGW DLLs use traditional 'lib' prefix
  11133. + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  11134. + ;;
  11135. + pw32*)
  11136. + # pw32 DLLs use 'pw' prefix rather than 'lib'
  11137. + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  11138. + ;;
  11139. + esac
  11140. + dynamic_linker='Win32 ld.exe'
  11141. + ;;
  11142. +
  11143. + *,cl*)
  11144. + # Native MSVC
  11145. + libname_spec='$name'
  11146. + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  11147. + library_names_spec='${libname}.dll.lib'
  11148. +
  11149. + case $build_os in
  11150. + mingw*)
  11151. + sys_lib_search_path_spec=
  11152. + lt_save_ifs=$IFS
  11153. + IFS=';'
  11154. + for lt_path in $LIB
  11155. + do
  11156. + IFS=$lt_save_ifs
  11157. + # Let DOS variable expansion print the short 8.3 style file name.
  11158. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  11159. + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  11160. + done
  11161. + IFS=$lt_save_ifs
  11162. + # Convert to MSYS style.
  11163. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  11164. + ;;
  11165. + cygwin*)
  11166. + # Convert to unix form, then to dos form, then back to unix form
  11167. + # but this time dos style (no spaces!) so that the unix form looks
  11168. + # like /cygdrive/c/PROGRA~1:/cygdr...
  11169. + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  11170. + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  11171. + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  11172. + ;;
  11173. + *)
  11174. + sys_lib_search_path_spec="$LIB"
  11175. + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  11176. + # It is most probably a Windows format PATH.
  11177. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  11178. + else
  11179. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  11180. + fi
  11181. + # FIXME: find the short name or the path components, as spaces are
  11182. + # common. (e.g. "Program Files" -> "PROGRA~1")
  11183. + ;;
  11184. + esac
  11185. +
  11186. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  11187. + postinstall_cmds='base_file=`basename \${file}`~
  11188. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  11189. + dldir=$destdir/`dirname \$dlpath`~
  11190. + test -d \$dldir || mkdir -p \$dldir~
  11191. + $install_prog $dir/$dlname \$dldir/$dlname'
  11192. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  11193. + dlpath=$dir/\$dldll~
  11194. + $RM \$dlpath'
  11195. + shlibpath_overrides_runpath=yes
  11196. + dynamic_linker='Win32 link.exe'
  11197. + ;;
  11198. +
  11199. + *)
  11200. + # Assume MSVC wrapper
  11201. + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  11202. + dynamic_linker='Win32 ld.exe'
  11203. + ;;
  11204. + esac
  11205. + # FIXME: first we should search . and the directory the executable is in
  11206. + shlibpath_var=PATH
  11207. + ;;
  11208. +
  11209. +darwin* | rhapsody*)
  11210. + dynamic_linker="$host_os dyld"
  11211. + version_type=darwin
  11212. + need_lib_prefix=no
  11213. + need_version=no
  11214. + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  11215. + soname_spec='${libname}${release}${major}$shared_ext'
  11216. + shlibpath_overrides_runpath=yes
  11217. + shlibpath_var=DYLD_LIBRARY_PATH
  11218. + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  11219. +
  11220. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  11221. + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  11222. + ;;
  11223. +
  11224. +dgux*)
  11225. + version_type=linux # correct to gnu/linux during the next big refactor
  11226. + need_lib_prefix=no
  11227. + need_version=no
  11228. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  11229. + soname_spec='${libname}${release}${shared_ext}$major'
  11230. + shlibpath_var=LD_LIBRARY_PATH
  11231. + ;;
  11232. +
  11233. +freebsd* | dragonfly*)
  11234. + # DragonFly does not have aout. When/if they implement a new
  11235. + # versioning mechanism, adjust this.
  11236. + if test -x /usr/bin/objformat; then
  11237. + objformat=`/usr/bin/objformat`
  11238. + else
  11239. + case $host_os in
  11240. + freebsd[23].*) objformat=aout ;;
  11241. + *) objformat=elf ;;
  11242. + esac
  11243. + fi
  11244. + version_type=freebsd-$objformat
  11245. + case $version_type in
  11246. + freebsd-elf*)
  11247. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  11248. + need_version=no
  11249. + need_lib_prefix=no
  11250. + ;;
  11251. + freebsd-*)
  11252. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  11253. + need_version=yes
  11254. + ;;
  11255. + esac
  11256. + shlibpath_var=LD_LIBRARY_PATH
  11257. + case $host_os in
  11258. + freebsd2.*)
  11259. + shlibpath_overrides_runpath=yes
  11260. + ;;
  11261. + freebsd3.[01]* | freebsdelf3.[01]*)
  11262. + shlibpath_overrides_runpath=yes
  11263. + hardcode_into_libs=yes
  11264. + ;;
  11265. + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  11266. + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  11267. + shlibpath_overrides_runpath=no
  11268. + hardcode_into_libs=yes
  11269. + ;;
  11270. + *) # from 4.6 on, and DragonFly
  11271. + shlibpath_overrides_runpath=yes
  11272. + hardcode_into_libs=yes
  11273. + ;;
  11274. + esac
  11275. + ;;
  11276. +
  11277. +haiku*)
  11278. + version_type=linux # correct to gnu/linux during the next big refactor
  11279. + need_lib_prefix=no
  11280. + need_version=no
  11281. + dynamic_linker="$host_os runtime_loader"
  11282. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  11283. + soname_spec='${libname}${release}${shared_ext}$major'
  11284. + shlibpath_var=LIBRARY_PATH
  11285. + shlibpath_overrides_runpath=yes
  11286. + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  11287. + hardcode_into_libs=yes
  11288. + ;;
  11289. +
  11290. +hpux9* | hpux10* | hpux11*)
  11291. + # Give a soname corresponding to the major version so that dld.sl refuses to
  11292. + # link against other versions.
  11293. + version_type=sunos
  11294. + need_lib_prefix=no
  11295. + need_version=no
  11296. + case $host_cpu in
  11297. + ia64*)
  11298. + shrext_cmds='.so'
  11299. + hardcode_into_libs=yes
  11300. + dynamic_linker="$host_os dld.so"
  11301. + shlibpath_var=LD_LIBRARY_PATH
  11302. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  11303. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11304. + soname_spec='${libname}${release}${shared_ext}$major'
  11305. + if test "X$HPUX_IA64_MODE" = X32; then
  11306. + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  11307. + else
  11308. + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  11309. + fi
  11310. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  11311. + ;;
  11312. + hppa*64*)
  11313. + shrext_cmds='.sl'
  11314. + hardcode_into_libs=yes
  11315. + dynamic_linker="$host_os dld.sl"
  11316. + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  11317. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  11318. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11319. + soname_spec='${libname}${release}${shared_ext}$major'
  11320. + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  11321. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  11322. + ;;
  11323. + *)
  11324. + shrext_cmds='.sl'
  11325. + dynamic_linker="$host_os dld.sl"
  11326. + shlibpath_var=SHLIB_PATH
  11327. + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  11328. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11329. + soname_spec='${libname}${release}${shared_ext}$major'
  11330. + ;;
  11331. + esac
  11332. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  11333. + postinstall_cmds='chmod 555 $lib'
  11334. + # or fails outright, so override atomically:
  11335. + install_override_mode=555
  11336. + ;;
  11337. +
  11338. +interix[3-9]*)
  11339. + version_type=linux # correct to gnu/linux during the next big refactor
  11340. + need_lib_prefix=no
  11341. + need_version=no
  11342. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  11343. + soname_spec='${libname}${release}${shared_ext}$major'
  11344. + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  11345. + shlibpath_var=LD_LIBRARY_PATH
  11346. + shlibpath_overrides_runpath=no
  11347. + hardcode_into_libs=yes
  11348. + ;;
  11349. +
  11350. +irix5* | irix6* | nonstopux*)
  11351. + case $host_os in
  11352. + nonstopux*) version_type=nonstopux ;;
  11353. + *)
  11354. + if test "$lt_cv_prog_gnu_ld" = yes; then
  11355. + version_type=linux # correct to gnu/linux during the next big refactor
  11356. + else
  11357. + version_type=irix
  11358. + fi ;;
  11359. + esac
  11360. + need_lib_prefix=no
  11361. + need_version=no
  11362. + soname_spec='${libname}${release}${shared_ext}$major'
  11363. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  11364. + case $host_os in
  11365. + irix5* | nonstopux*)
  11366. + libsuff= shlibsuff=
  11367. + ;;
  11368. + *)
  11369. + case $LD in # libtool.m4 will add one of these switches to LD
  11370. + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  11371. + libsuff= shlibsuff= libmagic=32-bit;;
  11372. + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  11373. + libsuff=32 shlibsuff=N32 libmagic=N32;;
  11374. + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  11375. + libsuff=64 shlibsuff=64 libmagic=64-bit;;
  11376. + *) libsuff= shlibsuff= libmagic=never-match;;
  11377. + esac
  11378. + ;;
  11379. + esac
  11380. + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  11381. + shlibpath_overrides_runpath=no
  11382. + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  11383. + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  11384. + hardcode_into_libs=yes
  11385. + ;;
  11386. +
  11387. +# No shared lib support for Linux oldld, aout, or coff.
  11388. +linux*oldld* | linux*aout* | linux*coff*)
  11389. + dynamic_linker=no
  11390. + ;;
  11391. +
  11392. +# This must be glibc/ELF.
  11393. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  11394. + version_type=linux # correct to gnu/linux during the next big refactor
  11395. + need_lib_prefix=no
  11396. + need_version=no
  11397. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11398. + soname_spec='${libname}${release}${shared_ext}$major'
  11399. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  11400. + shlibpath_var=LD_LIBRARY_PATH
  11401. + shlibpath_overrides_runpath=no
  11402. +
  11403. + # Some binutils ld are patched to set DT_RUNPATH
  11404. + if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  11405. + $as_echo_n "(cached) " >&6
  11406. +else
  11407. + lt_cv_shlibpath_overrides_runpath=no
  11408. + save_LDFLAGS=$LDFLAGS
  11409. + save_libdir=$libdir
  11410. + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  11411. + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  11412. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11413. +/* end confdefs.h. */
  11414. +
  11415. +int
  11416. +main ()
  11417. +{
  11418. +
  11419. + ;
  11420. + return 0;
  11421. +}
  11422. +_ACEOF
  11423. +if ac_fn_c_try_link "$LINENO"; then :
  11424. + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  11425. + lt_cv_shlibpath_overrides_runpath=yes
  11426. +fi
  11427. +fi
  11428. +rm -f core conftest.err conftest.$ac_objext \
  11429. + conftest$ac_exeext conftest.$ac_ext
  11430. + LDFLAGS=$save_LDFLAGS
  11431. + libdir=$save_libdir
  11432. +
  11433. +fi
  11434. +
  11435. + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  11436. +
  11437. + # This implies no fast_install, which is unacceptable.
  11438. + # Some rework will be needed to allow for fast_install
  11439. + # before this can be enabled.
  11440. + hardcode_into_libs=yes
  11441. +
  11442. + # Append ld.so.conf contents to the search path
  11443. + if test -f /etc/ld.so.conf; then
  11444. + 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;s/"//g;/^$/d' | tr '\n' ' '`
  11445. + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  11446. + fi
  11447. +
  11448. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  11449. + # powerpc, because MkLinux only supported shared libraries with the
  11450. + # GNU dynamic linker. Since this was broken with cross compilers,
  11451. + # most powerpc-linux boxes support dynamic linking these days and
  11452. + # people can always --disable-shared, the test was removed, and we
  11453. + # assume the GNU/Linux dynamic linker is in use.
  11454. + dynamic_linker='GNU/Linux ld.so'
  11455. + ;;
  11456. +
  11457. +netbsdelf*-gnu)
  11458. + version_type=linux
  11459. + need_lib_prefix=no
  11460. + need_version=no
  11461. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  11462. + soname_spec='${libname}${release}${shared_ext}$major'
  11463. + shlibpath_var=LD_LIBRARY_PATH
  11464. + shlibpath_overrides_runpath=no
  11465. + hardcode_into_libs=yes
  11466. + dynamic_linker='NetBSD ld.elf_so'
  11467. + ;;
  11468. +
  11469. +netbsd*)
  11470. + version_type=sunos
  11471. + need_lib_prefix=no
  11472. + need_version=no
  11473. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  11474. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  11475. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  11476. + dynamic_linker='NetBSD (a.out) ld.so'
  11477. + else
  11478. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  11479. + soname_spec='${libname}${release}${shared_ext}$major'
  11480. + dynamic_linker='NetBSD ld.elf_so'
  11481. + fi
  11482. + shlibpath_var=LD_LIBRARY_PATH
  11483. + shlibpath_overrides_runpath=yes
  11484. + hardcode_into_libs=yes
  11485. + ;;
  11486. +
  11487. +newsos6)
  11488. + version_type=linux # correct to gnu/linux during the next big refactor
  11489. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11490. + shlibpath_var=LD_LIBRARY_PATH
  11491. + shlibpath_overrides_runpath=yes
  11492. + ;;
  11493. +
  11494. +*nto* | *qnx*)
  11495. + version_type=qnx
  11496. + need_lib_prefix=no
  11497. + need_version=no
  11498. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11499. + soname_spec='${libname}${release}${shared_ext}$major'
  11500. + shlibpath_var=LD_LIBRARY_PATH
  11501. + shlibpath_overrides_runpath=no
  11502. + hardcode_into_libs=yes
  11503. + dynamic_linker='ldqnx.so'
  11504. + ;;
  11505. +
  11506. +openbsd*)
  11507. + version_type=sunos
  11508. + sys_lib_dlsearch_path_spec="/usr/lib"
  11509. + need_lib_prefix=no
  11510. + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  11511. + case $host_os in
  11512. + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  11513. + *) need_version=no ;;
  11514. + esac
  11515. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  11516. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  11517. + shlibpath_var=LD_LIBRARY_PATH
  11518. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  11519. + case $host_os in
  11520. + openbsd2.[89] | openbsd2.[89].*)
  11521. + shlibpath_overrides_runpath=no
  11522. + ;;
  11523. + *)
  11524. + shlibpath_overrides_runpath=yes
  11525. + ;;
  11526. + esac
  11527. + else
  11528. + shlibpath_overrides_runpath=yes
  11529. + fi
  11530. + ;;
  11531. +
  11532. +os2*)
  11533. + libname_spec='$name'
  11534. + shrext_cmds=".dll"
  11535. + need_lib_prefix=no
  11536. + library_names_spec='$libname${shared_ext} $libname.a'
  11537. + dynamic_linker='OS/2 ld.exe'
  11538. + shlibpath_var=LIBPATH
  11539. + ;;
  11540. +
  11541. +osf3* | osf4* | osf5*)
  11542. + version_type=osf
  11543. + need_lib_prefix=no
  11544. + need_version=no
  11545. + soname_spec='${libname}${release}${shared_ext}$major'
  11546. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11547. + shlibpath_var=LD_LIBRARY_PATH
  11548. + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  11549. + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  11550. + ;;
  11551. +
  11552. +rdos*)
  11553. + dynamic_linker=no
  11554. + ;;
  11555. +
  11556. +solaris*)
  11557. + version_type=linux # correct to gnu/linux during the next big refactor
  11558. + need_lib_prefix=no
  11559. + need_version=no
  11560. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11561. + soname_spec='${libname}${release}${shared_ext}$major'
  11562. + shlibpath_var=LD_LIBRARY_PATH
  11563. + shlibpath_overrides_runpath=yes
  11564. + hardcode_into_libs=yes
  11565. + # ldd complains unless libraries are executable
  11566. + postinstall_cmds='chmod +x $lib'
  11567. + ;;
  11568. +
  11569. +sunos4*)
  11570. + version_type=sunos
  11571. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  11572. + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  11573. + shlibpath_var=LD_LIBRARY_PATH
  11574. + shlibpath_overrides_runpath=yes
  11575. + if test "$with_gnu_ld" = yes; then
  11576. + need_lib_prefix=no
  11577. + fi
  11578. + need_version=yes
  11579. + ;;
  11580. +
  11581. +sysv4 | sysv4.3*)
  11582. + version_type=linux # correct to gnu/linux during the next big refactor
  11583. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11584. + soname_spec='${libname}${release}${shared_ext}$major'
  11585. + shlibpath_var=LD_LIBRARY_PATH
  11586. + case $host_vendor in
  11587. + sni)
  11588. + shlibpath_overrides_runpath=no
  11589. + need_lib_prefix=no
  11590. + runpath_var=LD_RUN_PATH
  11591. + ;;
  11592. + siemens)
  11593. + need_lib_prefix=no
  11594. + ;;
  11595. + motorola)
  11596. + need_lib_prefix=no
  11597. + need_version=no
  11598. + shlibpath_overrides_runpath=no
  11599. + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  11600. + ;;
  11601. + esac
  11602. + ;;
  11603. +
  11604. +sysv4*MP*)
  11605. + if test -d /usr/nec ;then
  11606. + version_type=linux # correct to gnu/linux during the next big refactor
  11607. + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  11608. + soname_spec='$libname${shared_ext}.$major'
  11609. + shlibpath_var=LD_LIBRARY_PATH
  11610. + fi
  11611. + ;;
  11612. +
  11613. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  11614. + version_type=freebsd-elf
  11615. + need_lib_prefix=no
  11616. + need_version=no
  11617. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  11618. + soname_spec='${libname}${release}${shared_ext}$major'
  11619. + shlibpath_var=LD_LIBRARY_PATH
  11620. + shlibpath_overrides_runpath=yes
  11621. + hardcode_into_libs=yes
  11622. + if test "$with_gnu_ld" = yes; then
  11623. + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  11624. + else
  11625. + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  11626. + case $host_os in
  11627. + sco3.2v5*)
  11628. + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  11629. + ;;
  11630. + esac
  11631. + fi
  11632. + sys_lib_dlsearch_path_spec='/usr/lib'
  11633. + ;;
  11634. +
  11635. +tpf*)
  11636. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  11637. + version_type=linux # correct to gnu/linux during the next big refactor
  11638. + need_lib_prefix=no
  11639. + need_version=no
  11640. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11641. + shlibpath_var=LD_LIBRARY_PATH
  11642. + shlibpath_overrides_runpath=no
  11643. + hardcode_into_libs=yes
  11644. + ;;
  11645. +
  11646. +uts4*)
  11647. + version_type=linux # correct to gnu/linux during the next big refactor
  11648. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11649. + soname_spec='${libname}${release}${shared_ext}$major'
  11650. + shlibpath_var=LD_LIBRARY_PATH
  11651. + ;;
  11652. +
  11653. +*)
  11654. + dynamic_linker=no
  11655. + ;;
  11656. +esac
  11657. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  11658. +$as_echo "$dynamic_linker" >&6; }
  11659. +test "$dynamic_linker" = no && can_build_shared=no
  11660. +
  11661. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  11662. +if test "$GCC" = yes; then
  11663. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  11664. +fi
  11665. +
  11666. +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  11667. + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  11668. +fi
  11669. +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  11670. + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  11671. +fi
  11672. +
  11673. +
  11674. +
  11675. +
  11676. +
  11677. +
  11678. +
  11679. +
  11680. +
  11681. +
  11682. +
  11683. +
  11684. +
  11685. +
  11686. +
  11687. +
  11688. +
  11689. +
  11690. +
  11691. +
  11692. +
  11693. +
  11694. +
  11695. +
  11696. +
  11697. +
  11698. +
  11699. +
  11700. +
  11701. +
  11702. +
  11703. +
  11704. +
  11705. +
  11706. +
  11707. +
  11708. +
  11709. +
  11710. +
  11711. +
  11712. +
  11713. +
  11714. +
  11715. +
  11716. +
  11717. +
  11718. +
  11719. +
  11720. +
  11721. +
  11722. +
  11723. +
  11724. +
  11725. +
  11726. +
  11727. +
  11728. +
  11729. +
  11730. +
  11731. +
  11732. +
  11733. +
  11734. +
  11735. +
  11736. +
  11737. +
  11738. +
  11739. +
  11740. +
  11741. +
  11742. +
  11743. +
  11744. +
  11745. +
  11746. +
  11747. +
  11748. +
  11749. +
  11750. +
  11751. +
  11752. +
  11753. +
  11754. +
  11755. +
  11756. +
  11757. +
  11758. +
  11759. +
  11760. +
  11761. +
  11762. +
  11763. +
  11764. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  11765. +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  11766. +hardcode_action=
  11767. +if test -n "$hardcode_libdir_flag_spec" ||
  11768. + test -n "$runpath_var" ||
  11769. + test "X$hardcode_automatic" = "Xyes" ; then
  11770. +
  11771. + # We can hardcode non-existent directories.
  11772. + if test "$hardcode_direct" != no &&
  11773. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  11774. + # have to relink, otherwise we might link with an installed library
  11775. + # when we should be linking with a yet-to-be-installed one
  11776. + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  11777. + test "$hardcode_minus_L" != no; then
  11778. + # Linking always hardcodes the temporary library directory.
  11779. + hardcode_action=relink
  11780. + else
  11781. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  11782. + hardcode_action=immediate
  11783. + fi
  11784. +else
  11785. + # We cannot hardcode anything, or else we can only hardcode existing
  11786. + # directories.
  11787. + hardcode_action=unsupported
  11788. +fi
  11789. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  11790. +$as_echo "$hardcode_action" >&6; }
  11791. +
  11792. +if test "$hardcode_action" = relink ||
  11793. + test "$inherit_rpath" = yes; then
  11794. + # Fast installation is not supported
  11795. + enable_fast_install=no
  11796. +elif test "$shlibpath_overrides_runpath" = yes ||
  11797. + test "$enable_shared" = no; then
  11798. + # Fast installation is not necessary
  11799. + enable_fast_install=needless
  11800. +fi
  11801. +
  11802. +
  11803. +
  11804. +
  11805. +
  11806. +
  11807. + if test "x$enable_dlopen" != xyes; then
  11808. + enable_dlopen=unknown
  11809. + enable_dlopen_self=unknown
  11810. + enable_dlopen_self_static=unknown
  11811. +else
  11812. + lt_cv_dlopen=no
  11813. + lt_cv_dlopen_libs=
  11814. +
  11815. + case $host_os in
  11816. + beos*)
  11817. + lt_cv_dlopen="load_add_on"
  11818. + lt_cv_dlopen_libs=
  11819. + lt_cv_dlopen_self=yes
  11820. + ;;
  11821. +
  11822. + mingw* | pw32* | cegcc*)
  11823. + lt_cv_dlopen="LoadLibrary"
  11824. + lt_cv_dlopen_libs=
  11825. + ;;
  11826. +
  11827. + cygwin*)
  11828. + lt_cv_dlopen="dlopen"
  11829. + lt_cv_dlopen_libs=
  11830. + ;;
  11831. +
  11832. + darwin*)
  11833. + # if libdl is installed we need to link against it
  11834. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  11835. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  11836. +if ${ac_cv_lib_dl_dlopen+:} false; then :
  11837. + $as_echo_n "(cached) " >&6
  11838. +else
  11839. + ac_check_lib_save_LIBS=$LIBS
  11840. +LIBS="-ldl $LIBS"
  11841. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11842. +/* end confdefs.h. */
  11843. +
  11844. +/* Override any GCC internal prototype to avoid an error.
  11845. + Use char because int might match the return type of a GCC
  11846. + builtin and then its argument prototype would still apply. */
  11847. +#ifdef __cplusplus
  11848. +extern "C"
  11849. +#endif
  11850. +char dlopen ();
  11851. +int
  11852. +main ()
  11853. +{
  11854. +return dlopen ();
  11855. + ;
  11856. + return 0;
  11857. +}
  11858. +_ACEOF
  11859. +if ac_fn_c_try_link "$LINENO"; then :
  11860. + ac_cv_lib_dl_dlopen=yes
  11861. +else
  11862. + ac_cv_lib_dl_dlopen=no
  11863. +fi
  11864. +rm -f core conftest.err conftest.$ac_objext \
  11865. + conftest$ac_exeext conftest.$ac_ext
  11866. +LIBS=$ac_check_lib_save_LIBS
  11867. +fi
  11868. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  11869. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  11870. +if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  11871. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  11872. +else
  11873. +
  11874. + lt_cv_dlopen="dyld"
  11875. + lt_cv_dlopen_libs=
  11876. + lt_cv_dlopen_self=yes
  11877. +
  11878. +fi
  11879. +
  11880. + ;;
  11881. +
  11882. + *)
  11883. + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  11884. +if test "x$ac_cv_func_shl_load" = xyes; then :
  11885. + lt_cv_dlopen="shl_load"
  11886. +else
  11887. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  11888. +$as_echo_n "checking for shl_load in -ldld... " >&6; }
  11889. +if ${ac_cv_lib_dld_shl_load+:} false; then :
  11890. + $as_echo_n "(cached) " >&6
  11891. +else
  11892. + ac_check_lib_save_LIBS=$LIBS
  11893. +LIBS="-ldld $LIBS"
  11894. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11895. +/* end confdefs.h. */
  11896. +
  11897. +/* Override any GCC internal prototype to avoid an error.
  11898. + Use char because int might match the return type of a GCC
  11899. + builtin and then its argument prototype would still apply. */
  11900. +#ifdef __cplusplus
  11901. +extern "C"
  11902. +#endif
  11903. +char shl_load ();
  11904. +int
  11905. +main ()
  11906. +{
  11907. +return shl_load ();
  11908. + ;
  11909. + return 0;
  11910. +}
  11911. +_ACEOF
  11912. +if ac_fn_c_try_link "$LINENO"; then :
  11913. + ac_cv_lib_dld_shl_load=yes
  11914. +else
  11915. + ac_cv_lib_dld_shl_load=no
  11916. +fi
  11917. +rm -f core conftest.err conftest.$ac_objext \
  11918. + conftest$ac_exeext conftest.$ac_ext
  11919. +LIBS=$ac_check_lib_save_LIBS
  11920. +fi
  11921. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  11922. +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  11923. +if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  11924. + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  11925. +else
  11926. + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  11927. +if test "x$ac_cv_func_dlopen" = xyes; then :
  11928. + lt_cv_dlopen="dlopen"
  11929. +else
  11930. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  11931. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  11932. +if ${ac_cv_lib_dl_dlopen+:} false; then :
  11933. + $as_echo_n "(cached) " >&6
  11934. +else
  11935. + ac_check_lib_save_LIBS=$LIBS
  11936. +LIBS="-ldl $LIBS"
  11937. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11938. +/* end confdefs.h. */
  11939. +
  11940. +/* Override any GCC internal prototype to avoid an error.
  11941. + Use char because int might match the return type of a GCC
  11942. + builtin and then its argument prototype would still apply. */
  11943. +#ifdef __cplusplus
  11944. +extern "C"
  11945. +#endif
  11946. +char dlopen ();
  11947. +int
  11948. +main ()
  11949. +{
  11950. +return dlopen ();
  11951. + ;
  11952. + return 0;
  11953. +}
  11954. +_ACEOF
  11955. +if ac_fn_c_try_link "$LINENO"; then :
  11956. + ac_cv_lib_dl_dlopen=yes
  11957. +else
  11958. + ac_cv_lib_dl_dlopen=no
  11959. +fi
  11960. +rm -f core conftest.err conftest.$ac_objext \
  11961. + conftest$ac_exeext conftest.$ac_ext
  11962. +LIBS=$ac_check_lib_save_LIBS
  11963. +fi
  11964. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  11965. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  11966. +if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  11967. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  11968. +else
  11969. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  11970. +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  11971. +if ${ac_cv_lib_svld_dlopen+:} false; then :
  11972. + $as_echo_n "(cached) " >&6
  11973. +else
  11974. + ac_check_lib_save_LIBS=$LIBS
  11975. +LIBS="-lsvld $LIBS"
  11976. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11977. +/* end confdefs.h. */
  11978. +
  11979. +/* Override any GCC internal prototype to avoid an error.
  11980. + Use char because int might match the return type of a GCC
  11981. + builtin and then its argument prototype would still apply. */
  11982. +#ifdef __cplusplus
  11983. +extern "C"
  11984. +#endif
  11985. +char dlopen ();
  11986. +int
  11987. +main ()
  11988. +{
  11989. +return dlopen ();
  11990. + ;
  11991. + return 0;
  11992. +}
  11993. +_ACEOF
  11994. +if ac_fn_c_try_link "$LINENO"; then :
  11995. + ac_cv_lib_svld_dlopen=yes
  11996. +else
  11997. + ac_cv_lib_svld_dlopen=no
  11998. +fi
  11999. +rm -f core conftest.err conftest.$ac_objext \
  12000. + conftest$ac_exeext conftest.$ac_ext
  12001. +LIBS=$ac_check_lib_save_LIBS
  12002. +fi
  12003. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  12004. +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  12005. +if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  12006. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  12007. +else
  12008. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  12009. +$as_echo_n "checking for dld_link in -ldld... " >&6; }
  12010. +if ${ac_cv_lib_dld_dld_link+:} false; then :
  12011. + $as_echo_n "(cached) " >&6
  12012. +else
  12013. + ac_check_lib_save_LIBS=$LIBS
  12014. +LIBS="-ldld $LIBS"
  12015. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12016. +/* end confdefs.h. */
  12017. +
  12018. +/* Override any GCC internal prototype to avoid an error.
  12019. + Use char because int might match the return type of a GCC
  12020. + builtin and then its argument prototype would still apply. */
  12021. +#ifdef __cplusplus
  12022. +extern "C"
  12023. +#endif
  12024. +char dld_link ();
  12025. +int
  12026. +main ()
  12027. +{
  12028. +return dld_link ();
  12029. + ;
  12030. + return 0;
  12031. +}
  12032. +_ACEOF
  12033. +if ac_fn_c_try_link "$LINENO"; then :
  12034. + ac_cv_lib_dld_dld_link=yes
  12035. +else
  12036. + ac_cv_lib_dld_dld_link=no
  12037. +fi
  12038. +rm -f core conftest.err conftest.$ac_objext \
  12039. + conftest$ac_exeext conftest.$ac_ext
  12040. +LIBS=$ac_check_lib_save_LIBS
  12041. +fi
  12042. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  12043. +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  12044. +if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  12045. + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  12046. +fi
  12047. +
  12048. +
  12049. +fi
  12050. +
  12051. +
  12052. +fi
  12053. +
  12054. +
  12055. +fi
  12056. +
  12057. +
  12058. +fi
  12059. +
  12060. +
  12061. +fi
  12062. +
  12063. + ;;
  12064. + esac
  12065. +
  12066. + if test "x$lt_cv_dlopen" != xno; then
  12067. + enable_dlopen=yes
  12068. + else
  12069. + enable_dlopen=no
  12070. + fi
  12071. +
  12072. + case $lt_cv_dlopen in
  12073. + dlopen)
  12074. + save_CPPFLAGS="$CPPFLAGS"
  12075. + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  12076. +
  12077. + save_LDFLAGS="$LDFLAGS"
  12078. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  12079. +
  12080. + save_LIBS="$LIBS"
  12081. + LIBS="$lt_cv_dlopen_libs $LIBS"
  12082. +
  12083. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  12084. +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
  12085. +if ${lt_cv_dlopen_self+:} false; then :
  12086. + $as_echo_n "(cached) " >&6
  12087. +else
  12088. + if test "$cross_compiling" = yes; then :
  12089. + lt_cv_dlopen_self=cross
  12090. +else
  12091. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  12092. + lt_status=$lt_dlunknown
  12093. + cat > conftest.$ac_ext <<_LT_EOF
  12094. +#line $LINENO "configure"
  12095. +#include "confdefs.h"
  12096. +
  12097. +#if HAVE_DLFCN_H
  12098. +#include <dlfcn.h>
  12099. +#endif
  12100. +
  12101. +#include <stdio.h>
  12102. +
  12103. +#ifdef RTLD_GLOBAL
  12104. +# define LT_DLGLOBAL RTLD_GLOBAL
  12105. +#else
  12106. +# ifdef DL_GLOBAL
  12107. +# define LT_DLGLOBAL DL_GLOBAL
  12108. +# else
  12109. +# define LT_DLGLOBAL 0
  12110. +# endif
  12111. +#endif
  12112. +
  12113. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  12114. + find out it does not work in some platform. */
  12115. +#ifndef LT_DLLAZY_OR_NOW
  12116. +# ifdef RTLD_LAZY
  12117. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  12118. +# else
  12119. +# ifdef DL_LAZY
  12120. +# define LT_DLLAZY_OR_NOW DL_LAZY
  12121. +# else
  12122. +# ifdef RTLD_NOW
  12123. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  12124. +# else
  12125. +# ifdef DL_NOW
  12126. +# define LT_DLLAZY_OR_NOW DL_NOW
  12127. +# else
  12128. +# define LT_DLLAZY_OR_NOW 0
  12129. +# endif
  12130. +# endif
  12131. +# endif
  12132. +# endif
  12133. +#endif
  12134. +
  12135. +/* When -fvisbility=hidden is used, assume the code has been annotated
  12136. + correspondingly for the symbols needed. */
  12137. +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  12138. +int fnord () __attribute__((visibility("default")));
  12139. +#endif
  12140. +
  12141. +int fnord () { return 42; }
  12142. +int main ()
  12143. +{
  12144. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  12145. + int status = $lt_dlunknown;
  12146. +
  12147. + if (self)
  12148. + {
  12149. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  12150. + else
  12151. + {
  12152. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  12153. + else puts (dlerror ());
  12154. + }
  12155. + /* dlclose (self); */
  12156. + }
  12157. + else
  12158. + puts (dlerror ());
  12159. +
  12160. + return status;
  12161. +}
  12162. +_LT_EOF
  12163. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  12164. + (eval $ac_link) 2>&5
  12165. + ac_status=$?
  12166. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12167. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  12168. + (./conftest; exit; ) >&5 2>/dev/null
  12169. + lt_status=$?
  12170. + case x$lt_status in
  12171. + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  12172. + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  12173. + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  12174. + esac
  12175. + else :
  12176. + # compilation failed
  12177. + lt_cv_dlopen_self=no
  12178. + fi
  12179. +fi
  12180. +rm -fr conftest*
  12181. +
  12182. +
  12183. +fi
  12184. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  12185. +$as_echo "$lt_cv_dlopen_self" >&6; }
  12186. +
  12187. + if test "x$lt_cv_dlopen_self" = xyes; then
  12188. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  12189. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  12190. +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  12191. +if ${lt_cv_dlopen_self_static+:} false; then :
  12192. + $as_echo_n "(cached) " >&6
  12193. +else
  12194. + if test "$cross_compiling" = yes; then :
  12195. + lt_cv_dlopen_self_static=cross
  12196. +else
  12197. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  12198. + lt_status=$lt_dlunknown
  12199. + cat > conftest.$ac_ext <<_LT_EOF
  12200. +#line $LINENO "configure"
  12201. +#include "confdefs.h"
  12202. +
  12203. +#if HAVE_DLFCN_H
  12204. +#include <dlfcn.h>
  12205. +#endif
  12206. +
  12207. +#include <stdio.h>
  12208. +
  12209. +#ifdef RTLD_GLOBAL
  12210. +# define LT_DLGLOBAL RTLD_GLOBAL
  12211. +#else
  12212. +# ifdef DL_GLOBAL
  12213. +# define LT_DLGLOBAL DL_GLOBAL
  12214. +# else
  12215. +# define LT_DLGLOBAL 0
  12216. +# endif
  12217. +#endif
  12218. +
  12219. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  12220. + find out it does not work in some platform. */
  12221. +#ifndef LT_DLLAZY_OR_NOW
  12222. +# ifdef RTLD_LAZY
  12223. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  12224. +# else
  12225. +# ifdef DL_LAZY
  12226. +# define LT_DLLAZY_OR_NOW DL_LAZY
  12227. +# else
  12228. +# ifdef RTLD_NOW
  12229. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  12230. +# else
  12231. +# ifdef DL_NOW
  12232. +# define LT_DLLAZY_OR_NOW DL_NOW
  12233. +# else
  12234. +# define LT_DLLAZY_OR_NOW 0
  12235. +# endif
  12236. +# endif
  12237. +# endif
  12238. +# endif
  12239. +#endif
  12240. +
  12241. +/* When -fvisbility=hidden is used, assume the code has been annotated
  12242. + correspondingly for the symbols needed. */
  12243. +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  12244. +int fnord () __attribute__((visibility("default")));
  12245. +#endif
  12246. +
  12247. +int fnord () { return 42; }
  12248. +int main ()
  12249. +{
  12250. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  12251. + int status = $lt_dlunknown;
  12252. +
  12253. + if (self)
  12254. + {
  12255. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  12256. + else
  12257. + {
  12258. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  12259. + else puts (dlerror ());
  12260. + }
  12261. + /* dlclose (self); */
  12262. + }
  12263. + else
  12264. + puts (dlerror ());
  12265. +
  12266. + return status;
  12267. +}
  12268. +_LT_EOF
  12269. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  12270. + (eval $ac_link) 2>&5
  12271. + ac_status=$?
  12272. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12273. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  12274. + (./conftest; exit; ) >&5 2>/dev/null
  12275. + lt_status=$?
  12276. + case x$lt_status in
  12277. + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  12278. + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  12279. + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  12280. + esac
  12281. + else :
  12282. + # compilation failed
  12283. + lt_cv_dlopen_self_static=no
  12284. + fi
  12285. +fi
  12286. +rm -fr conftest*
  12287. +
  12288. +
  12289. +fi
  12290. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  12291. +$as_echo "$lt_cv_dlopen_self_static" >&6; }
  12292. + fi
  12293. +
  12294. + CPPFLAGS="$save_CPPFLAGS"
  12295. + LDFLAGS="$save_LDFLAGS"
  12296. + LIBS="$save_LIBS"
  12297. + ;;
  12298. + esac
  12299. +
  12300. + case $lt_cv_dlopen_self in
  12301. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  12302. + *) enable_dlopen_self=unknown ;;
  12303. + esac
  12304. +
  12305. + case $lt_cv_dlopen_self_static in
  12306. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  12307. + *) enable_dlopen_self_static=unknown ;;
  12308. + esac
  12309. +fi
  12310. +
  12311. +
  12312. +
  12313. +
  12314. +
  12315. +
  12316. +
  12317. +
  12318. +
  12319. +
  12320. +
  12321. +
  12322. +
  12323. +
  12324. +
  12325. +
  12326. +
  12327. +striplib=
  12328. +old_striplib=
  12329. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  12330. +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
  12331. +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  12332. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  12333. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  12334. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12335. +$as_echo "yes" >&6; }
  12336. +else
  12337. +# FIXME - insert some real tests, host_os isn't really good enough
  12338. + case $host_os in
  12339. + darwin*)
  12340. + if test -n "$STRIP" ; then
  12341. + striplib="$STRIP -x"
  12342. + old_striplib="$STRIP -S"
  12343. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12344. +$as_echo "yes" >&6; }
  12345. + else
  12346. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12347. +$as_echo "no" >&6; }
  12348. + fi
  12349. + ;;
  12350. + *)
  12351. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12352. +$as_echo "no" >&6; }
  12353. + ;;
  12354. + esac
  12355. +fi
  12356. +
  12357. +
  12358. +
  12359. +
  12360. +
  12361. +
  12362. +
  12363. +
  12364. +
  12365. +
  12366. +
  12367. +
  12368. + # Report which library types will actually be built
  12369. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  12370. +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
  12371. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  12372. +$as_echo "$can_build_shared" >&6; }
  12373. +
  12374. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  12375. +$as_echo_n "checking whether to build shared libraries... " >&6; }
  12376. + test "$can_build_shared" = "no" && enable_shared=no
  12377. +
  12378. + # On AIX, shared libraries and static libraries use the same namespace, and
  12379. + # are all built from PIC.
  12380. + case $host_os in
  12381. + aix3*)
  12382. + test "$enable_shared" = yes && enable_static=no
  12383. + if test -n "$RANLIB"; then
  12384. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  12385. + postinstall_cmds='$RANLIB $lib'
  12386. + fi
  12387. + ;;
  12388. +
  12389. + aix[4-9]*)
  12390. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  12391. + test "$enable_shared" = yes && enable_static=no
  12392. + fi
  12393. + ;;
  12394. + esac
  12395. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  12396. +$as_echo "$enable_shared" >&6; }
  12397. +
  12398. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  12399. +$as_echo_n "checking whether to build static libraries... " >&6; }
  12400. + # Make sure either enable_shared or enable_static is yes.
  12401. + test "$enable_shared" = yes || enable_static=yes
  12402. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  12403. +$as_echo "$enable_static" >&6; }
  12404. +
  12405. +
  12406. +
  12407. +
  12408. +fi
  12409. +ac_ext=c
  12410. +ac_cpp='$CPP $CPPFLAGS'
  12411. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  12412. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  12413. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  12414. +
  12415. +CC="$lt_save_CC"
  12416. +
  12417. +
  12418. +
  12419. +
  12420. +
  12421. +
  12422. +
  12423. +
  12424. +
  12425. +
  12426. +
  12427. +
  12428. +
  12429. +
  12430. +
  12431. + ac_config_commands="$ac_config_commands libtool"
  12432. +
  12433. +
  12434. +
  12435. +
  12436. +# Only expand once:
  12437. +
  12438. +
  12439. +
  12440. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
  12441. +$as_echo_n "checking for library containing dlopen... " >&6; }
  12442. +if ${ac_cv_search_dlopen+:} false; then :
  12443. + $as_echo_n "(cached) " >&6
  12444. +else
  12445. + ac_func_search_save_LIBS=$LIBS
  12446. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12447. +/* end confdefs.h. */
  12448. +
  12449. +/* Override any GCC internal prototype to avoid an error.
  12450. + Use char because int might match the return type of a GCC
  12451. + builtin and then its argument prototype would still apply. */
  12452. +#ifdef __cplusplus
  12453. +extern "C"
  12454. +#endif
  12455. +char dlopen ();
  12456. +int
  12457. +main ()
  12458. +{
  12459. +return dlopen ();
  12460. + ;
  12461. + return 0;
  12462. +}
  12463. +_ACEOF
  12464. +for ac_lib in '' dl; do
  12465. + if test -z "$ac_lib"; then
  12466. + ac_res="none required"
  12467. + else
  12468. + ac_res=-l$ac_lib
  12469. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  12470. + fi
  12471. + if ac_fn_c_try_link "$LINENO"; then :
  12472. + ac_cv_search_dlopen=$ac_res
  12473. +fi
  12474. +rm -f core conftest.err conftest.$ac_objext \
  12475. + conftest$ac_exeext
  12476. + if ${ac_cv_search_dlopen+:} false; then :
  12477. + break
  12478. +fi
  12479. +done
  12480. +if ${ac_cv_search_dlopen+:} false; then :
  12481. +
  12482. +else
  12483. + ac_cv_search_dlopen=no
  12484. +fi
  12485. +rm conftest.$ac_ext
  12486. +LIBS=$ac_func_search_save_LIBS
  12487. +fi
  12488. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
  12489. +$as_echo "$ac_cv_search_dlopen" >&6; }
  12490. +ac_res=$ac_cv_search_dlopen
  12491. +if test "$ac_res" != no; then :
  12492. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  12493. + libdl_LIBS="$LIBS"; LIBS=""
  12494. +fi
  12495. +
  12496. +
  12497. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcap_close" >&5
  12498. +$as_echo_n "checking for library containing pcap_close... " >&6; }
  12499. +if ${ac_cv_search_pcap_close+:} false; then :
  12500. + $as_echo_n "(cached) " >&6
  12501. +else
  12502. + ac_func_search_save_LIBS=$LIBS
  12503. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12504. +/* end confdefs.h. */
  12505. +
  12506. +/* Override any GCC internal prototype to avoid an error.
  12507. + Use char because int might match the return type of a GCC
  12508. + builtin and then its argument prototype would still apply. */
  12509. +#ifdef __cplusplus
  12510. +extern "C"
  12511. +#endif
  12512. +char pcap_close ();
  12513. +int
  12514. +main ()
  12515. +{
  12516. +return pcap_close ();
  12517. + ;
  12518. + return 0;
  12519. +}
  12520. +_ACEOF
  12521. +for ac_lib in '' pcap; do
  12522. + if test -z "$ac_lib"; then
  12523. + ac_res="none required"
  12524. + else
  12525. + ac_res=-l$ac_lib
  12526. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  12527. + fi
  12528. + if ac_fn_c_try_link "$LINENO"; then :
  12529. + ac_cv_search_pcap_close=$ac_res
  12530. +fi
  12531. +rm -f core conftest.err conftest.$ac_objext \
  12532. + conftest$ac_exeext
  12533. + if ${ac_cv_search_pcap_close+:} false; then :
  12534. + break
  12535. +fi
  12536. +done
  12537. +if ${ac_cv_search_pcap_close+:} false; then :
  12538. +
  12539. +else
  12540. + ac_cv_search_pcap_close=no
  12541. +fi
  12542. +rm conftest.$ac_ext
  12543. +LIBS=$ac_func_search_save_LIBS
  12544. +fi
  12545. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcap_close" >&5
  12546. +$as_echo "$ac_cv_search_pcap_close" >&6; }
  12547. +ac_res=$ac_cv_search_pcap_close
  12548. +if test "$ac_res" != no; then :
  12549. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  12550. + libpcap_LIBS="-lpcap"; LIBS=""
  12551. +fi
  12552. +
  12553. +
  12554. + if test -n "$libpcap_LIBS"; then
  12555. + HAVE_PCAP_TRUE=
  12556. + HAVE_PCAP_FALSE='#'
  12557. +else
  12558. + HAVE_PCAP_TRUE='#'
  12559. + HAVE_PCAP_FALSE=
  12560. +fi
  12561. +
  12562. +if test "x$libpcap_LIBS" != "x"; then
  12563. + enable_pcap="yes"
  12564. +else
  12565. + enable_pcap="no"
  12566. +fi
  12567. +
  12568. +ac_header_dirent=no
  12569. +for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
  12570. + as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
  12571. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
  12572. +$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
  12573. +if eval \${$as_ac_Header+:} false; then :
  12574. + $as_echo_n "(cached) " >&6
  12575. +else
  12576. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12577. +/* end confdefs.h. */
  12578. +#include <sys/types.h>
  12579. +#include <$ac_hdr>
  12580. +
  12581. +int
  12582. +main ()
  12583. +{
  12584. +if ((DIR *) 0)
  12585. +return 0;
  12586. + ;
  12587. + return 0;
  12588. +}
  12589. +_ACEOF
  12590. +if ac_fn_c_try_compile "$LINENO"; then :
  12591. + eval "$as_ac_Header=yes"
  12592. +else
  12593. + eval "$as_ac_Header=no"
  12594. +fi
  12595. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12596. +fi
  12597. +eval ac_res=\$$as_ac_Header
  12598. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  12599. +$as_echo "$ac_res" >&6; }
  12600. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  12601. + cat >>confdefs.h <<_ACEOF
  12602. +@%:@define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
  12603. +_ACEOF
  12604. +
  12605. +ac_header_dirent=$ac_hdr; break
  12606. +fi
  12607. +
  12608. +done
  12609. +# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  12610. +if test $ac_header_dirent = dirent.h; then
  12611. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
  12612. +$as_echo_n "checking for library containing opendir... " >&6; }
  12613. +if ${ac_cv_search_opendir+:} false; then :
  12614. + $as_echo_n "(cached) " >&6
  12615. +else
  12616. + ac_func_search_save_LIBS=$LIBS
  12617. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12618. +/* end confdefs.h. */
  12619. +
  12620. +/* Override any GCC internal prototype to avoid an error.
  12621. + Use char because int might match the return type of a GCC
  12622. + builtin and then its argument prototype would still apply. */
  12623. +#ifdef __cplusplus
  12624. +extern "C"
  12625. +#endif
  12626. +char opendir ();
  12627. +int
  12628. +main ()
  12629. +{
  12630. +return opendir ();
  12631. + ;
  12632. + return 0;
  12633. +}
  12634. +_ACEOF
  12635. +for ac_lib in '' dir; do
  12636. + if test -z "$ac_lib"; then
  12637. + ac_res="none required"
  12638. + else
  12639. + ac_res=-l$ac_lib
  12640. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  12641. + fi
  12642. + if ac_fn_c_try_link "$LINENO"; then :
  12643. + ac_cv_search_opendir=$ac_res
  12644. +fi
  12645. +rm -f core conftest.err conftest.$ac_objext \
  12646. + conftest$ac_exeext
  12647. + if ${ac_cv_search_opendir+:} false; then :
  12648. + break
  12649. +fi
  12650. +done
  12651. +if ${ac_cv_search_opendir+:} false; then :
  12652. +
  12653. +else
  12654. + ac_cv_search_opendir=no
  12655. +fi
  12656. +rm conftest.$ac_ext
  12657. +LIBS=$ac_func_search_save_LIBS
  12658. +fi
  12659. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
  12660. +$as_echo "$ac_cv_search_opendir" >&6; }
  12661. +ac_res=$ac_cv_search_opendir
  12662. +if test "$ac_res" != no; then :
  12663. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  12664. +
  12665. +fi
  12666. +
  12667. +else
  12668. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
  12669. +$as_echo_n "checking for library containing opendir... " >&6; }
  12670. +if ${ac_cv_search_opendir+:} false; then :
  12671. + $as_echo_n "(cached) " >&6
  12672. +else
  12673. + ac_func_search_save_LIBS=$LIBS
  12674. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12675. +/* end confdefs.h. */
  12676. +
  12677. +/* Override any GCC internal prototype to avoid an error.
  12678. + Use char because int might match the return type of a GCC
  12679. + builtin and then its argument prototype would still apply. */
  12680. +#ifdef __cplusplus
  12681. +extern "C"
  12682. +#endif
  12683. +char opendir ();
  12684. +int
  12685. +main ()
  12686. +{
  12687. +return opendir ();
  12688. + ;
  12689. + return 0;
  12690. +}
  12691. +_ACEOF
  12692. +for ac_lib in '' x; do
  12693. + if test -z "$ac_lib"; then
  12694. + ac_res="none required"
  12695. + else
  12696. + ac_res=-l$ac_lib
  12697. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  12698. + fi
  12699. + if ac_fn_c_try_link "$LINENO"; then :
  12700. + ac_cv_search_opendir=$ac_res
  12701. +fi
  12702. +rm -f core conftest.err conftest.$ac_objext \
  12703. + conftest$ac_exeext
  12704. + if ${ac_cv_search_opendir+:} false; then :
  12705. + break
  12706. +fi
  12707. +done
  12708. +if ${ac_cv_search_opendir+:} false; then :
  12709. +
  12710. +else
  12711. + ac_cv_search_opendir=no
  12712. +fi
  12713. +rm conftest.$ac_ext
  12714. +LIBS=$ac_func_search_save_LIBS
  12715. +fi
  12716. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
  12717. +$as_echo "$ac_cv_search_opendir" >&6; }
  12718. +ac_res=$ac_cv_search_opendir
  12719. +if test "$ac_res" != no; then :
  12720. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  12721. +
  12722. +fi
  12723. +
  12724. +fi
  12725. +
  12726. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  12727. +$as_echo_n "checking for ANSI C header files... " >&6; }
  12728. +if ${ac_cv_header_stdc+:} false; then :
  12729. + $as_echo_n "(cached) " >&6
  12730. +else
  12731. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12732. +/* end confdefs.h. */
  12733. +#include <stdlib.h>
  12734. +#include <stdarg.h>
  12735. +#include <string.h>
  12736. +#include <float.h>
  12737. +
  12738. +int
  12739. +main ()
  12740. +{
  12741. +
  12742. + ;
  12743. + return 0;
  12744. +}
  12745. +_ACEOF
  12746. +if ac_fn_c_try_compile "$LINENO"; then :
  12747. + ac_cv_header_stdc=yes
  12748. +else
  12749. + ac_cv_header_stdc=no
  12750. +fi
  12751. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12752. +
  12753. +if test $ac_cv_header_stdc = yes; then
  12754. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  12755. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12756. +/* end confdefs.h. */
  12757. +#include <string.h>
  12758. +
  12759. +_ACEOF
  12760. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  12761. + $EGREP "memchr" >/dev/null 2>&1; then :
  12762. +
  12763. +else
  12764. + ac_cv_header_stdc=no
  12765. +fi
  12766. +rm -f conftest*
  12767. +
  12768. +fi
  12769. +
  12770. +if test $ac_cv_header_stdc = yes; then
  12771. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  12772. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12773. +/* end confdefs.h. */
  12774. +#include <stdlib.h>
  12775. +
  12776. +_ACEOF
  12777. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  12778. + $EGREP "free" >/dev/null 2>&1; then :
  12779. +
  12780. +else
  12781. + ac_cv_header_stdc=no
  12782. +fi
  12783. +rm -f conftest*
  12784. +
  12785. +fi
  12786. +
  12787. +if test $ac_cv_header_stdc = yes; then
  12788. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  12789. + if test "$cross_compiling" = yes; then :
  12790. + :
  12791. +else
  12792. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12793. +/* end confdefs.h. */
  12794. +#include <ctype.h>
  12795. +#include <stdlib.h>
  12796. +#if ((' ' & 0x0FF) == 0x020)
  12797. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  12798. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  12799. +#else
  12800. +# define ISLOWER(c) \
  12801. + (('a' <= (c) && (c) <= 'i') \
  12802. + || ('j' <= (c) && (c) <= 'r') \
  12803. + || ('s' <= (c) && (c) <= 'z'))
  12804. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  12805. +#endif
  12806. +
  12807. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  12808. +int
  12809. +main ()
  12810. +{
  12811. + int i;
  12812. + for (i = 0; i < 256; i++)
  12813. + if (XOR (islower (i), ISLOWER (i))
  12814. + || toupper (i) != TOUPPER (i))
  12815. + return 2;
  12816. + return 0;
  12817. +}
  12818. +_ACEOF
  12819. +if ac_fn_c_try_run "$LINENO"; then :
  12820. +
  12821. +else
  12822. + ac_cv_header_stdc=no
  12823. +fi
  12824. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  12825. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  12826. +fi
  12827. +
  12828. +fi
  12829. +fi
  12830. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  12831. +$as_echo "$ac_cv_header_stdc" >&6; }
  12832. +if test $ac_cv_header_stdc = yes; then
  12833. +
  12834. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  12835. +
  12836. +fi
  12837. +
  12838. +for ac_header in fcntl.h unistd.h sys/queue.h
  12839. +do :
  12840. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12841. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  12842. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  12843. + cat >>confdefs.h <<_ACEOF
  12844. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12845. +_ACEOF
  12846. +
  12847. +fi
  12848. +
  12849. +done
  12850. +
  12851. +
  12852. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  12853. +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  12854. +if ${ac_cv_c_const+:} false; then :
  12855. + $as_echo_n "(cached) " >&6
  12856. +else
  12857. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12858. +/* end confdefs.h. */
  12859. +
  12860. +int
  12861. +main ()
  12862. +{
  12863. +/* FIXME: Include the comments suggested by Paul. */
  12864. +#ifndef __cplusplus
  12865. + /* Ultrix mips cc rejects this. */
  12866. + typedef int charset[2];
  12867. + const charset cs;
  12868. + /* SunOS 4.1.1 cc rejects this. */
  12869. + char const *const *pcpcc;
  12870. + char **ppc;
  12871. + /* NEC SVR4.0.2 mips cc rejects this. */
  12872. + struct point {int x, y;};
  12873. + static struct point const zero = {0,0};
  12874. + /* AIX XL C 1.02.0.0 rejects this.
  12875. + It does not let you subtract one const X* pointer from another in
  12876. + an arm of an if-expression whose if-part is not a constant
  12877. + expression */
  12878. + const char *g = "string";
  12879. + pcpcc = &g + (g ? g-g : 0);
  12880. + /* HPUX 7.0 cc rejects these. */
  12881. + ++pcpcc;
  12882. + ppc = (char**) pcpcc;
  12883. + pcpcc = (char const *const *) ppc;
  12884. + { /* SCO 3.2v4 cc rejects this. */
  12885. + char *t;
  12886. + char const *s = 0 ? (char *) 0 : (char const *) 0;
  12887. +
  12888. + *t++ = 0;
  12889. + if (s) return 0;
  12890. + }
  12891. + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  12892. + int x[] = {25, 17};
  12893. + const int *foo = &x[0];
  12894. + ++foo;
  12895. + }
  12896. + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  12897. + typedef const int *iptr;
  12898. + iptr p = 0;
  12899. + ++p;
  12900. + }
  12901. + { /* AIX XL C 1.02.0.0 rejects this saying
  12902. + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  12903. + struct s { int j; const int *ap[3]; };
  12904. + struct s *b; b->j = 5;
  12905. + }
  12906. + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  12907. + const int foo = 10;
  12908. + if (!foo) return 0;
  12909. + }
  12910. + return !cs[0] && !zero.x;
  12911. +#endif
  12912. +
  12913. + ;
  12914. + return 0;
  12915. +}
  12916. +_ACEOF
  12917. +if ac_fn_c_try_compile "$LINENO"; then :
  12918. + ac_cv_c_const=yes
  12919. +else
  12920. + ac_cv_c_const=no
  12921. +fi
  12922. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12923. +fi
  12924. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  12925. +$as_echo "$ac_cv_c_const" >&6; }
  12926. +if test $ac_cv_c_const = no; then
  12927. +
  12928. +$as_echo "@%:@define const /**/" >>confdefs.h
  12929. +
  12930. +fi
  12931. +
  12932. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  12933. +if test "x$ac_cv_type_size_t" = xyes; then :
  12934. +
  12935. +else
  12936. +
  12937. +cat >>confdefs.h <<_ACEOF
  12938. +@%:@define size_t unsigned int
  12939. +_ACEOF
  12940. +
  12941. +fi
  12942. +
  12943. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
  12944. +$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
  12945. +if ${ac_cv_struct_tm+:} false; then :
  12946. + $as_echo_n "(cached) " >&6
  12947. +else
  12948. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12949. +/* end confdefs.h. */
  12950. +#include <sys/types.h>
  12951. +#include <time.h>
  12952. +
  12953. +int
  12954. +main ()
  12955. +{
  12956. +struct tm tm;
  12957. + int *p = &tm.tm_sec;
  12958. + return !p;
  12959. + ;
  12960. + return 0;
  12961. +}
  12962. +_ACEOF
  12963. +if ac_fn_c_try_compile "$LINENO"; then :
  12964. + ac_cv_struct_tm=time.h
  12965. +else
  12966. + ac_cv_struct_tm=sys/time.h
  12967. +fi
  12968. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12969. +fi
  12970. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
  12971. +$as_echo "$ac_cv_struct_tm" >&6; }
  12972. +if test $ac_cv_struct_tm = sys/time.h; then
  12973. +
  12974. +$as_echo "@%:@define TM_IN_SYS_TIME 1" >>confdefs.h
  12975. +
  12976. +fi
  12977. +
  12978. +@%:@ Check whether --enable-largefile was given.
  12979. +if test "${enable_largefile+set}" = set; then :
  12980. + enableval=$enable_largefile;
  12981. +fi
  12982. +
  12983. +if test "$enable_largefile" != no; then
  12984. +
  12985. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  12986. +$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
  12987. +if ${ac_cv_sys_largefile_CC+:} false; then :
  12988. + $as_echo_n "(cached) " >&6
  12989. +else
  12990. + ac_cv_sys_largefile_CC=no
  12991. + if test "$GCC" != yes; then
  12992. + ac_save_CC=$CC
  12993. + while :; do
  12994. + # IRIX 6.2 and later do not support large files by default,
  12995. + # so use the C compiler's -n32 option if that helps.
  12996. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12997. +/* end confdefs.h. */
  12998. +@%:@include <sys/types.h>
  12999. + /* Check that off_t can represent 2**63 - 1 correctly.
  13000. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  13001. + since some C++ compilers masquerading as C compilers
  13002. + incorrectly reject 9223372036854775807. */
  13003. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  13004. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  13005. + && LARGE_OFF_T % 2147483647 == 1)
  13006. + ? 1 : -1];
  13007. +int
  13008. +main ()
  13009. +{
  13010. +
  13011. + ;
  13012. + return 0;
  13013. +}
  13014. +_ACEOF
  13015. + if ac_fn_c_try_compile "$LINENO"; then :
  13016. + break
  13017. +fi
  13018. +rm -f core conftest.err conftest.$ac_objext
  13019. + CC="$CC -n32"
  13020. + if ac_fn_c_try_compile "$LINENO"; then :
  13021. + ac_cv_sys_largefile_CC=' -n32'; break
  13022. +fi
  13023. +rm -f core conftest.err conftest.$ac_objext
  13024. + break
  13025. + done
  13026. + CC=$ac_save_CC
  13027. + rm -f conftest.$ac_ext
  13028. + fi
  13029. +fi
  13030. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
  13031. +$as_echo "$ac_cv_sys_largefile_CC" >&6; }
  13032. + if test "$ac_cv_sys_largefile_CC" != no; then
  13033. + CC=$CC$ac_cv_sys_largefile_CC
  13034. + fi
  13035. +
  13036. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  13037. +$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  13038. +if ${ac_cv_sys_file_offset_bits+:} false; then :
  13039. + $as_echo_n "(cached) " >&6
  13040. +else
  13041. + while :; do
  13042. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13043. +/* end confdefs.h. */
  13044. +@%:@include <sys/types.h>
  13045. + /* Check that off_t can represent 2**63 - 1 correctly.
  13046. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  13047. + since some C++ compilers masquerading as C compilers
  13048. + incorrectly reject 9223372036854775807. */
  13049. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  13050. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  13051. + && LARGE_OFF_T % 2147483647 == 1)
  13052. + ? 1 : -1];
  13053. +int
  13054. +main ()
  13055. +{
  13056. +
  13057. + ;
  13058. + return 0;
  13059. +}
  13060. +_ACEOF
  13061. +if ac_fn_c_try_compile "$LINENO"; then :
  13062. + ac_cv_sys_file_offset_bits=no; break
  13063. +fi
  13064. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13065. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13066. +/* end confdefs.h. */
  13067. +@%:@define _FILE_OFFSET_BITS 64
  13068. +@%:@include <sys/types.h>
  13069. + /* Check that off_t can represent 2**63 - 1 correctly.
  13070. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  13071. + since some C++ compilers masquerading as C compilers
  13072. + incorrectly reject 9223372036854775807. */
  13073. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  13074. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  13075. + && LARGE_OFF_T % 2147483647 == 1)
  13076. + ? 1 : -1];
  13077. +int
  13078. +main ()
  13079. +{
  13080. +
  13081. + ;
  13082. + return 0;
  13083. +}
  13084. +_ACEOF
  13085. +if ac_fn_c_try_compile "$LINENO"; then :
  13086. + ac_cv_sys_file_offset_bits=64; break
  13087. +fi
  13088. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13089. + ac_cv_sys_file_offset_bits=unknown
  13090. + break
  13091. +done
  13092. +fi
  13093. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  13094. +$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
  13095. +case $ac_cv_sys_file_offset_bits in #(
  13096. + no | unknown) ;;
  13097. + *)
  13098. +cat >>confdefs.h <<_ACEOF
  13099. +@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
  13100. +_ACEOF
  13101. +;;
  13102. +esac
  13103. +rm -rf conftest*
  13104. + if test $ac_cv_sys_file_offset_bits = unknown; then
  13105. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  13106. +$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  13107. +if ${ac_cv_sys_large_files+:} false; then :
  13108. + $as_echo_n "(cached) " >&6
  13109. +else
  13110. + while :; do
  13111. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13112. +/* end confdefs.h. */
  13113. +@%:@include <sys/types.h>
  13114. + /* Check that off_t can represent 2**63 - 1 correctly.
  13115. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  13116. + since some C++ compilers masquerading as C compilers
  13117. + incorrectly reject 9223372036854775807. */
  13118. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  13119. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  13120. + && LARGE_OFF_T % 2147483647 == 1)
  13121. + ? 1 : -1];
  13122. +int
  13123. +main ()
  13124. +{
  13125. +
  13126. + ;
  13127. + return 0;
  13128. +}
  13129. +_ACEOF
  13130. +if ac_fn_c_try_compile "$LINENO"; then :
  13131. + ac_cv_sys_large_files=no; break
  13132. +fi
  13133. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13134. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13135. +/* end confdefs.h. */
  13136. +@%:@define _LARGE_FILES 1
  13137. +@%:@include <sys/types.h>
  13138. + /* Check that off_t can represent 2**63 - 1 correctly.
  13139. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  13140. + since some C++ compilers masquerading as C compilers
  13141. + incorrectly reject 9223372036854775807. */
  13142. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  13143. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  13144. + && LARGE_OFF_T % 2147483647 == 1)
  13145. + ? 1 : -1];
  13146. +int
  13147. +main ()
  13148. +{
  13149. +
  13150. + ;
  13151. + return 0;
  13152. +}
  13153. +_ACEOF
  13154. +if ac_fn_c_try_compile "$LINENO"; then :
  13155. + ac_cv_sys_large_files=1; break
  13156. +fi
  13157. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13158. + ac_cv_sys_large_files=unknown
  13159. + break
  13160. +done
  13161. +fi
  13162. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  13163. +$as_echo "$ac_cv_sys_large_files" >&6; }
  13164. +case $ac_cv_sys_large_files in #(
  13165. + no | unknown) ;;
  13166. + *)
  13167. +cat >>confdefs.h <<_ACEOF
  13168. +@%:@define _LARGE_FILES $ac_cv_sys_large_files
  13169. +_ACEOF
  13170. +;;
  13171. +esac
  13172. +rm -rf conftest*
  13173. + fi
  13174. +fi
  13175. +
  13176. +
  13177. +for ac_func in vprintf
  13178. +do :
  13179. + ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
  13180. +if test "x$ac_cv_func_vprintf" = xyes; then :
  13181. + cat >>confdefs.h <<_ACEOF
  13182. +@%:@define HAVE_VPRINTF 1
  13183. +_ACEOF
  13184. +
  13185. +ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
  13186. +if test "x$ac_cv_func__doprnt" = xyes; then :
  13187. +
  13188. +$as_echo "@%:@define HAVE_DOPRNT 1" >>confdefs.h
  13189. +
  13190. +fi
  13191. +
  13192. +fi
  13193. +done
  13194. +
  13195. +
  13196. +for ac_func in socket strerror
  13197. +do :
  13198. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  13199. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  13200. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  13201. + cat >>confdefs.h <<_ACEOF
  13202. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  13203. +_ACEOF
  13204. +
  13205. +fi
  13206. +done
  13207. +
  13208. +
  13209. +regular_CFLAGS="-Wall -Wextra -Wno-unused-parameter"
  13210. +
  13211. +
  13212. +
  13213. +
  13214. +
  13215. +
  13216. +
  13217. +
  13218. +
  13219. +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  13220. + if test -n "$ac_tool_prefix"; then
  13221. + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  13222. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  13223. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13224. +$as_echo_n "checking for $ac_word... " >&6; }
  13225. +if ${ac_cv_path_PKG_CONFIG+:} false; then :
  13226. + $as_echo_n "(cached) " >&6
  13227. +else
  13228. + case $PKG_CONFIG in
  13229. + [\\/]* | ?:[\\/]*)
  13230. + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  13231. + ;;
  13232. + *)
  13233. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13234. +for as_dir in $PATH
  13235. +do
  13236. + IFS=$as_save_IFS
  13237. + test -z "$as_dir" && as_dir=.
  13238. + for ac_exec_ext in '' $ac_executable_extensions; do
  13239. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13240. + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  13241. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13242. + break 2
  13243. + fi
  13244. +done
  13245. + done
  13246. +IFS=$as_save_IFS
  13247. +
  13248. + ;;
  13249. +esac
  13250. +fi
  13251. +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  13252. +if test -n "$PKG_CONFIG"; then
  13253. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  13254. +$as_echo "$PKG_CONFIG" >&6; }
  13255. +else
  13256. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13257. +$as_echo "no" >&6; }
  13258. +fi
  13259. +
  13260. +
  13261. +fi
  13262. +if test -z "$ac_cv_path_PKG_CONFIG"; then
  13263. + ac_pt_PKG_CONFIG=$PKG_CONFIG
  13264. + # Extract the first word of "pkg-config", so it can be a program name with args.
  13265. +set dummy pkg-config; ac_word=$2
  13266. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13267. +$as_echo_n "checking for $ac_word... " >&6; }
  13268. +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  13269. + $as_echo_n "(cached) " >&6
  13270. +else
  13271. + case $ac_pt_PKG_CONFIG in
  13272. + [\\/]* | ?:[\\/]*)
  13273. + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  13274. + ;;
  13275. + *)
  13276. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13277. +for as_dir in $PATH
  13278. +do
  13279. + IFS=$as_save_IFS
  13280. + test -z "$as_dir" && as_dir=.
  13281. + for ac_exec_ext in '' $ac_executable_extensions; do
  13282. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13283. + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  13284. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13285. + break 2
  13286. + fi
  13287. +done
  13288. + done
  13289. +IFS=$as_save_IFS
  13290. +
  13291. + ;;
  13292. +esac
  13293. +fi
  13294. +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  13295. +if test -n "$ac_pt_PKG_CONFIG"; then
  13296. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  13297. +$as_echo "$ac_pt_PKG_CONFIG" >&6; }
  13298. +else
  13299. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13300. +$as_echo "no" >&6; }
  13301. +fi
  13302. +
  13303. + if test "x$ac_pt_PKG_CONFIG" = x; then
  13304. + PKG_CONFIG=""
  13305. + else
  13306. + case $cross_compiling:$ac_tool_warned in
  13307. +yes:)
  13308. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13309. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13310. +ac_tool_warned=yes ;;
  13311. +esac
  13312. + PKG_CONFIG=$ac_pt_PKG_CONFIG
  13313. + fi
  13314. +else
  13315. + PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  13316. +fi
  13317. +
  13318. +fi
  13319. +if test -n "$PKG_CONFIG"; then
  13320. + _pkg_min_version=0.9.0
  13321. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  13322. +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  13323. + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  13324. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13325. +$as_echo "yes" >&6; }
  13326. + else
  13327. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13328. +$as_echo "no" >&6; }
  13329. + PKG_CONFIG=""
  13330. + fi
  13331. +fi
  13332. +
  13333. +pkg_failed=no
  13334. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNFNETLINK" >&5
  13335. +$as_echo_n "checking for LIBNFNETLINK... " >&6; }
  13336. +
  13337. +if test -n "$LIBNFNETLINK_CFLAGS"; then
  13338. + pkg_cv_LIBNFNETLINK_CFLAGS="$LIBNFNETLINK_CFLAGS"
  13339. + elif test -n "$PKG_CONFIG"; then
  13340. + if test -n "$PKG_CONFIG" && \
  13341. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= 1.0.1\""; } >&5
  13342. + ($PKG_CONFIG --exists --print-errors "libnfnetlink >= 1.0.1") 2>&5
  13343. + ac_status=$?
  13344. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13345. + test $ac_status = 0; }; then
  13346. + pkg_cv_LIBNFNETLINK_CFLAGS=`$PKG_CONFIG --cflags "libnfnetlink >= 1.0.1" 2>/dev/null`
  13347. + test "x$?" != "x0" && pkg_failed=yes
  13348. +else
  13349. + pkg_failed=yes
  13350. +fi
  13351. + else
  13352. + pkg_failed=untried
  13353. +fi
  13354. +if test -n "$LIBNFNETLINK_LIBS"; then
  13355. + pkg_cv_LIBNFNETLINK_LIBS="$LIBNFNETLINK_LIBS"
  13356. + elif test -n "$PKG_CONFIG"; then
  13357. + if test -n "$PKG_CONFIG" && \
  13358. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= 1.0.1\""; } >&5
  13359. + ($PKG_CONFIG --exists --print-errors "libnfnetlink >= 1.0.1") 2>&5
  13360. + ac_status=$?
  13361. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13362. + test $ac_status = 0; }; then
  13363. + pkg_cv_LIBNFNETLINK_LIBS=`$PKG_CONFIG --libs "libnfnetlink >= 1.0.1" 2>/dev/null`
  13364. + test "x$?" != "x0" && pkg_failed=yes
  13365. +else
  13366. + pkg_failed=yes
  13367. +fi
  13368. + else
  13369. + pkg_failed=untried
  13370. +fi
  13371. +
  13372. +
  13373. +
  13374. +if test $pkg_failed = yes; then
  13375. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13376. +$as_echo "no" >&6; }
  13377. +
  13378. +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  13379. + _pkg_short_errors_supported=yes
  13380. +else
  13381. + _pkg_short_errors_supported=no
  13382. +fi
  13383. + if test $_pkg_short_errors_supported = yes; then
  13384. + LIBNFNETLINK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnfnetlink >= 1.0.1" 2>&1`
  13385. + else
  13386. + LIBNFNETLINK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnfnetlink >= 1.0.1" 2>&1`
  13387. + fi
  13388. + # Put the nasty error message in config.log where it belongs
  13389. + echo "$LIBNFNETLINK_PKG_ERRORS" >&5
  13390. +
  13391. + as_fn_error $? "Package requirements (libnfnetlink >= 1.0.1) were not met:
  13392. +
  13393. +$LIBNFNETLINK_PKG_ERRORS
  13394. +
  13395. +Consider adjusting the PKG_CONFIG_PATH environment variable if you
  13396. +installed software in a non-standard prefix.
  13397. +
  13398. +Alternatively, you may set the environment variables LIBNFNETLINK_CFLAGS
  13399. +and LIBNFNETLINK_LIBS to avoid the need to call pkg-config.
  13400. +See the pkg-config man page for more details." "$LINENO" 5
  13401. +elif test $pkg_failed = untried; then
  13402. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13403. +$as_echo "no" >&6; }
  13404. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13405. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13406. +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  13407. +is in your PATH or set the PKG_CONFIG environment variable to the full
  13408. +path to pkg-config.
  13409. +
  13410. +Alternatively, you may set the environment variables LIBNFNETLINK_CFLAGS
  13411. +and LIBNFNETLINK_LIBS to avoid the need to call pkg-config.
  13412. +See the pkg-config man page for more details.
  13413. +
  13414. +To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  13415. +See \`config.log' for more details" "$LINENO" 5; }
  13416. +else
  13417. + LIBNFNETLINK_CFLAGS=$pkg_cv_LIBNFNETLINK_CFLAGS
  13418. + LIBNFNETLINK_LIBS=$pkg_cv_LIBNFNETLINK_LIBS
  13419. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13420. +$as_echo "yes" >&6; }
  13421. +
  13422. +fi
  13423. +
  13424. +pkg_failed=no
  13425. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMNL" >&5
  13426. +$as_echo_n "checking for LIBMNL... " >&6; }
  13427. +
  13428. +if test -n "$LIBMNL_CFLAGS"; then
  13429. + pkg_cv_LIBMNL_CFLAGS="$LIBMNL_CFLAGS"
  13430. + elif test -n "$PKG_CONFIG"; then
  13431. + if test -n "$PKG_CONFIG" && \
  13432. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmnl >= 1.0.3\""; } >&5
  13433. + ($PKG_CONFIG --exists --print-errors "libmnl >= 1.0.3") 2>&5
  13434. + ac_status=$?
  13435. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13436. + test $ac_status = 0; }; then
  13437. + pkg_cv_LIBMNL_CFLAGS=`$PKG_CONFIG --cflags "libmnl >= 1.0.3" 2>/dev/null`
  13438. + test "x$?" != "x0" && pkg_failed=yes
  13439. +else
  13440. + pkg_failed=yes
  13441. +fi
  13442. + else
  13443. + pkg_failed=untried
  13444. +fi
  13445. +if test -n "$LIBMNL_LIBS"; then
  13446. + pkg_cv_LIBMNL_LIBS="$LIBMNL_LIBS"
  13447. + elif test -n "$PKG_CONFIG"; then
  13448. + if test -n "$PKG_CONFIG" && \
  13449. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmnl >= 1.0.3\""; } >&5
  13450. + ($PKG_CONFIG --exists --print-errors "libmnl >= 1.0.3") 2>&5
  13451. + ac_status=$?
  13452. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13453. + test $ac_status = 0; }; then
  13454. + pkg_cv_LIBMNL_LIBS=`$PKG_CONFIG --libs "libmnl >= 1.0.3" 2>/dev/null`
  13455. + test "x$?" != "x0" && pkg_failed=yes
  13456. +else
  13457. + pkg_failed=yes
  13458. +fi
  13459. + else
  13460. + pkg_failed=untried
  13461. +fi
  13462. +
  13463. +
  13464. +
  13465. +if test $pkg_failed = yes; then
  13466. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13467. +$as_echo "no" >&6; }
  13468. +
  13469. +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  13470. + _pkg_short_errors_supported=yes
  13471. +else
  13472. + _pkg_short_errors_supported=no
  13473. +fi
  13474. + if test $_pkg_short_errors_supported = yes; then
  13475. + LIBMNL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmnl >= 1.0.3" 2>&1`
  13476. + else
  13477. + LIBMNL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmnl >= 1.0.3" 2>&1`
  13478. + fi
  13479. + # Put the nasty error message in config.log where it belongs
  13480. + echo "$LIBMNL_PKG_ERRORS" >&5
  13481. +
  13482. + as_fn_error $? "Package requirements (libmnl >= 1.0.3) were not met:
  13483. +
  13484. +$LIBMNL_PKG_ERRORS
  13485. +
  13486. +Consider adjusting the PKG_CONFIG_PATH environment variable if you
  13487. +installed software in a non-standard prefix.
  13488. +
  13489. +Alternatively, you may set the environment variables LIBMNL_CFLAGS
  13490. +and LIBMNL_LIBS to avoid the need to call pkg-config.
  13491. +See the pkg-config man page for more details." "$LINENO" 5
  13492. +elif test $pkg_failed = untried; then
  13493. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13494. +$as_echo "no" >&6; }
  13495. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13496. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13497. +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  13498. +is in your PATH or set the PKG_CONFIG environment variable to the full
  13499. +path to pkg-config.
  13500. +
  13501. +Alternatively, you may set the environment variables LIBMNL_CFLAGS
  13502. +and LIBMNL_LIBS to avoid the need to call pkg-config.
  13503. +See the pkg-config man page for more details.
  13504. +
  13505. +To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  13506. +See \`config.log' for more details" "$LINENO" 5; }
  13507. +else
  13508. + LIBMNL_CFLAGS=$pkg_cv_LIBMNL_CFLAGS
  13509. + LIBMNL_LIBS=$pkg_cv_LIBMNL_LIBS
  13510. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13511. +$as_echo "yes" >&6; }
  13512. +
  13513. +fi
  13514. +@%:@ Check whether --enable-nflog was given.
  13515. +if test "${enable_nflog+set}" = set; then :
  13516. + enableval=$enable_nflog;
  13517. +else
  13518. + enable_nflog=yes
  13519. +fi
  13520. +
  13521. +if test "x$enable_nflog" = "xyes"; then :
  13522. +
  13523. +
  13524. +pkg_failed=no
  13525. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNETFILTER_LOG" >&5
  13526. +$as_echo_n "checking for LIBNETFILTER_LOG... " >&6; }
  13527. +
  13528. +if test -n "$LIBNETFILTER_LOG_CFLAGS"; then
  13529. + pkg_cv_LIBNETFILTER_LOG_CFLAGS="$LIBNETFILTER_LOG_CFLAGS"
  13530. + elif test -n "$PKG_CONFIG"; then
  13531. + if test -n "$PKG_CONFIG" && \
  13532. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_log >= 1.0.0\""; } >&5
  13533. + ($PKG_CONFIG --exists --print-errors "libnetfilter_log >= 1.0.0") 2>&5
  13534. + ac_status=$?
  13535. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13536. + test $ac_status = 0; }; then
  13537. + pkg_cv_LIBNETFILTER_LOG_CFLAGS=`$PKG_CONFIG --cflags "libnetfilter_log >= 1.0.0" 2>/dev/null`
  13538. + test "x$?" != "x0" && pkg_failed=yes
  13539. +else
  13540. + pkg_failed=yes
  13541. +fi
  13542. + else
  13543. + pkg_failed=untried
  13544. +fi
  13545. +if test -n "$LIBNETFILTER_LOG_LIBS"; then
  13546. + pkg_cv_LIBNETFILTER_LOG_LIBS="$LIBNETFILTER_LOG_LIBS"
  13547. + elif test -n "$PKG_CONFIG"; then
  13548. + if test -n "$PKG_CONFIG" && \
  13549. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_log >= 1.0.0\""; } >&5
  13550. + ($PKG_CONFIG --exists --print-errors "libnetfilter_log >= 1.0.0") 2>&5
  13551. + ac_status=$?
  13552. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13553. + test $ac_status = 0; }; then
  13554. + pkg_cv_LIBNETFILTER_LOG_LIBS=`$PKG_CONFIG --libs "libnetfilter_log >= 1.0.0" 2>/dev/null`
  13555. + test "x$?" != "x0" && pkg_failed=yes
  13556. +else
  13557. + pkg_failed=yes
  13558. +fi
  13559. + else
  13560. + pkg_failed=untried
  13561. +fi
  13562. +
  13563. +
  13564. +
  13565. +if test $pkg_failed = yes; then
  13566. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13567. +$as_echo "no" >&6; }
  13568. +
  13569. +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  13570. + _pkg_short_errors_supported=yes
  13571. +else
  13572. + _pkg_short_errors_supported=no
  13573. +fi
  13574. + if test $_pkg_short_errors_supported = yes; then
  13575. + LIBNETFILTER_LOG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnetfilter_log >= 1.0.0" 2>&1`
  13576. + else
  13577. + LIBNETFILTER_LOG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnetfilter_log >= 1.0.0" 2>&1`
  13578. + fi
  13579. + # Put the nasty error message in config.log where it belongs
  13580. + echo "$LIBNETFILTER_LOG_PKG_ERRORS" >&5
  13581. +
  13582. + as_fn_error $? "Package requirements (libnetfilter_log >= 1.0.0) were not met:
  13583. +
  13584. +$LIBNETFILTER_LOG_PKG_ERRORS
  13585. +
  13586. +Consider adjusting the PKG_CONFIG_PATH environment variable if you
  13587. +installed software in a non-standard prefix.
  13588. +
  13589. +Alternatively, you may set the environment variables LIBNETFILTER_LOG_CFLAGS
  13590. +and LIBNETFILTER_LOG_LIBS to avoid the need to call pkg-config.
  13591. +See the pkg-config man page for more details." "$LINENO" 5
  13592. +elif test $pkg_failed = untried; then
  13593. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13594. +$as_echo "no" >&6; }
  13595. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13596. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13597. +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  13598. +is in your PATH or set the PKG_CONFIG environment variable to the full
  13599. +path to pkg-config.
  13600. +
  13601. +Alternatively, you may set the environment variables LIBNETFILTER_LOG_CFLAGS
  13602. +and LIBNETFILTER_LOG_LIBS to avoid the need to call pkg-config.
  13603. +See the pkg-config man page for more details.
  13604. +
  13605. +To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  13606. +See \`config.log' for more details" "$LINENO" 5; }
  13607. +else
  13608. + LIBNETFILTER_LOG_CFLAGS=$pkg_cv_LIBNETFILTER_LOG_CFLAGS
  13609. + LIBNETFILTER_LOG_LIBS=$pkg_cv_LIBNETFILTER_LOG_LIBS
  13610. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13611. +$as_echo "yes" >&6; }
  13612. +
  13613. +fi
  13614. +
  13615. +$as_echo "@%:@define BUILD_NFLOG 1" >>confdefs.h
  13616. +
  13617. +
  13618. +fi
  13619. + if test "x$enable_nflog" = "xyes"; then
  13620. + BUILD_NFLOG_TRUE=
  13621. + BUILD_NFLOG_FALSE='#'
  13622. +else
  13623. + BUILD_NFLOG_TRUE='#'
  13624. + BUILD_NFLOG_FALSE=
  13625. +fi
  13626. +
  13627. +@%:@ Check whether --enable-nfct was given.
  13628. +if test "${enable_nfct+set}" = set; then :
  13629. + enableval=$enable_nfct;
  13630. +else
  13631. + enable_nfct=yes
  13632. +fi
  13633. +
  13634. +if test "x$enable_nfct" = "xyes"; then :
  13635. +
  13636. +
  13637. +pkg_failed=no
  13638. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNETFILTER_CONNTRACK" >&5
  13639. +$as_echo_n "checking for LIBNETFILTER_CONNTRACK... " >&6; }
  13640. +
  13641. +if test -n "$LIBNETFILTER_CONNTRACK_CFLAGS"; then
  13642. + pkg_cv_LIBNETFILTER_CONNTRACK_CFLAGS="$LIBNETFILTER_CONNTRACK_CFLAGS"
  13643. + elif test -n "$PKG_CONFIG"; then
  13644. + if test -n "$PKG_CONFIG" && \
  13645. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_conntrack >= 1.0.2\""; } >&5
  13646. + ($PKG_CONFIG --exists --print-errors "libnetfilter_conntrack >= 1.0.2") 2>&5
  13647. + ac_status=$?
  13648. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13649. + test $ac_status = 0; }; then
  13650. + pkg_cv_LIBNETFILTER_CONNTRACK_CFLAGS=`$PKG_CONFIG --cflags "libnetfilter_conntrack >= 1.0.2" 2>/dev/null`
  13651. + test "x$?" != "x0" && pkg_failed=yes
  13652. +else
  13653. + pkg_failed=yes
  13654. +fi
  13655. + else
  13656. + pkg_failed=untried
  13657. +fi
  13658. +if test -n "$LIBNETFILTER_CONNTRACK_LIBS"; then
  13659. + pkg_cv_LIBNETFILTER_CONNTRACK_LIBS="$LIBNETFILTER_CONNTRACK_LIBS"
  13660. + elif test -n "$PKG_CONFIG"; then
  13661. + if test -n "$PKG_CONFIG" && \
  13662. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_conntrack >= 1.0.2\""; } >&5
  13663. + ($PKG_CONFIG --exists --print-errors "libnetfilter_conntrack >= 1.0.2") 2>&5
  13664. + ac_status=$?
  13665. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13666. + test $ac_status = 0; }; then
  13667. + pkg_cv_LIBNETFILTER_CONNTRACK_LIBS=`$PKG_CONFIG --libs "libnetfilter_conntrack >= 1.0.2" 2>/dev/null`
  13668. + test "x$?" != "x0" && pkg_failed=yes
  13669. +else
  13670. + pkg_failed=yes
  13671. +fi
  13672. + else
  13673. + pkg_failed=untried
  13674. +fi
  13675. +
  13676. +
  13677. +
  13678. +if test $pkg_failed = yes; then
  13679. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13680. +$as_echo "no" >&6; }
  13681. +
  13682. +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  13683. + _pkg_short_errors_supported=yes
  13684. +else
  13685. + _pkg_short_errors_supported=no
  13686. +fi
  13687. + if test $_pkg_short_errors_supported = yes; then
  13688. + LIBNETFILTER_CONNTRACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnetfilter_conntrack >= 1.0.2" 2>&1`
  13689. + else
  13690. + LIBNETFILTER_CONNTRACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnetfilter_conntrack >= 1.0.2" 2>&1`
  13691. + fi
  13692. + # Put the nasty error message in config.log where it belongs
  13693. + echo "$LIBNETFILTER_CONNTRACK_PKG_ERRORS" >&5
  13694. +
  13695. + as_fn_error $? "Package requirements (libnetfilter_conntrack >= 1.0.2) were not met:
  13696. +
  13697. +$LIBNETFILTER_CONNTRACK_PKG_ERRORS
  13698. +
  13699. +Consider adjusting the PKG_CONFIG_PATH environment variable if you
  13700. +installed software in a non-standard prefix.
  13701. +
  13702. +Alternatively, you may set the environment variables LIBNETFILTER_CONNTRACK_CFLAGS
  13703. +and LIBNETFILTER_CONNTRACK_LIBS to avoid the need to call pkg-config.
  13704. +See the pkg-config man page for more details." "$LINENO" 5
  13705. +elif test $pkg_failed = untried; then
  13706. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13707. +$as_echo "no" >&6; }
  13708. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13709. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13710. +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  13711. +is in your PATH or set the PKG_CONFIG environment variable to the full
  13712. +path to pkg-config.
  13713. +
  13714. +Alternatively, you may set the environment variables LIBNETFILTER_CONNTRACK_CFLAGS
  13715. +and LIBNETFILTER_CONNTRACK_LIBS to avoid the need to call pkg-config.
  13716. +See the pkg-config man page for more details.
  13717. +
  13718. +To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  13719. +See \`config.log' for more details" "$LINENO" 5; }
  13720. +else
  13721. + LIBNETFILTER_CONNTRACK_CFLAGS=$pkg_cv_LIBNETFILTER_CONNTRACK_CFLAGS
  13722. + LIBNETFILTER_CONNTRACK_LIBS=$pkg_cv_LIBNETFILTER_CONNTRACK_LIBS
  13723. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13724. +$as_echo "yes" >&6; }
  13725. +
  13726. +fi
  13727. +
  13728. +$as_echo "@%:@define BUILD_NFCT 1" >>confdefs.h
  13729. +
  13730. +
  13731. +fi
  13732. + if test "x$enable_nfct" = "xyes"; then
  13733. + BUILD_NFCT_TRUE=
  13734. + BUILD_NFCT_FALSE='#'
  13735. +else
  13736. + BUILD_NFCT_TRUE='#'
  13737. + BUILD_NFCT_FALSE=
  13738. +fi
  13739. +
  13740. +@%:@ Check whether --enable-nfacct was given.
  13741. +if test "${enable_nfacct+set}" = set; then :
  13742. + enableval=$enable_nfacct;
  13743. +else
  13744. + enable_nfacct=yes
  13745. +fi
  13746. +
  13747. +if test "x$enable_nfacct" = "xyes"; then :
  13748. +
  13749. +
  13750. +pkg_failed=no
  13751. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNETFILTER_ACCT" >&5
  13752. +$as_echo_n "checking for LIBNETFILTER_ACCT... " >&6; }
  13753. +
  13754. +if test -n "$LIBNETFILTER_ACCT_CFLAGS"; then
  13755. + pkg_cv_LIBNETFILTER_ACCT_CFLAGS="$LIBNETFILTER_ACCT_CFLAGS"
  13756. + elif test -n "$PKG_CONFIG"; then
  13757. + if test -n "$PKG_CONFIG" && \
  13758. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_acct >= 1.0.1\""; } >&5
  13759. + ($PKG_CONFIG --exists --print-errors "libnetfilter_acct >= 1.0.1") 2>&5
  13760. + ac_status=$?
  13761. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13762. + test $ac_status = 0; }; then
  13763. + pkg_cv_LIBNETFILTER_ACCT_CFLAGS=`$PKG_CONFIG --cflags "libnetfilter_acct >= 1.0.1" 2>/dev/null`
  13764. + test "x$?" != "x0" && pkg_failed=yes
  13765. +else
  13766. + pkg_failed=yes
  13767. +fi
  13768. + else
  13769. + pkg_failed=untried
  13770. +fi
  13771. +if test -n "$LIBNETFILTER_ACCT_LIBS"; then
  13772. + pkg_cv_LIBNETFILTER_ACCT_LIBS="$LIBNETFILTER_ACCT_LIBS"
  13773. + elif test -n "$PKG_CONFIG"; then
  13774. + if test -n "$PKG_CONFIG" && \
  13775. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_acct >= 1.0.1\""; } >&5
  13776. + ($PKG_CONFIG --exists --print-errors "libnetfilter_acct >= 1.0.1") 2>&5
  13777. + ac_status=$?
  13778. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13779. + test $ac_status = 0; }; then
  13780. + pkg_cv_LIBNETFILTER_ACCT_LIBS=`$PKG_CONFIG --libs "libnetfilter_acct >= 1.0.1" 2>/dev/null`
  13781. + test "x$?" != "x0" && pkg_failed=yes
  13782. +else
  13783. + pkg_failed=yes
  13784. +fi
  13785. + else
  13786. + pkg_failed=untried
  13787. +fi
  13788. +
  13789. +
  13790. +
  13791. +if test $pkg_failed = yes; then
  13792. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13793. +$as_echo "no" >&6; }
  13794. +
  13795. +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  13796. + _pkg_short_errors_supported=yes
  13797. +else
  13798. + _pkg_short_errors_supported=no
  13799. +fi
  13800. + if test $_pkg_short_errors_supported = yes; then
  13801. + LIBNETFILTER_ACCT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnetfilter_acct >= 1.0.1" 2>&1`
  13802. + else
  13803. + LIBNETFILTER_ACCT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnetfilter_acct >= 1.0.1" 2>&1`
  13804. + fi
  13805. + # Put the nasty error message in config.log where it belongs
  13806. + echo "$LIBNETFILTER_ACCT_PKG_ERRORS" >&5
  13807. +
  13808. + as_fn_error $? "Package requirements (libnetfilter_acct >= 1.0.1) were not met:
  13809. +
  13810. +$LIBNETFILTER_ACCT_PKG_ERRORS
  13811. +
  13812. +Consider adjusting the PKG_CONFIG_PATH environment variable if you
  13813. +installed software in a non-standard prefix.
  13814. +
  13815. +Alternatively, you may set the environment variables LIBNETFILTER_ACCT_CFLAGS
  13816. +and LIBNETFILTER_ACCT_LIBS to avoid the need to call pkg-config.
  13817. +See the pkg-config man page for more details." "$LINENO" 5
  13818. +elif test $pkg_failed = untried; then
  13819. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13820. +$as_echo "no" >&6; }
  13821. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13822. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13823. +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  13824. +is in your PATH or set the PKG_CONFIG environment variable to the full
  13825. +path to pkg-config.
  13826. +
  13827. +Alternatively, you may set the environment variables LIBNETFILTER_ACCT_CFLAGS
  13828. +and LIBNETFILTER_ACCT_LIBS to avoid the need to call pkg-config.
  13829. +See the pkg-config man page for more details.
  13830. +
  13831. +To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  13832. +See \`config.log' for more details" "$LINENO" 5; }
  13833. +else
  13834. + LIBNETFILTER_ACCT_CFLAGS=$pkg_cv_LIBNETFILTER_ACCT_CFLAGS
  13835. + LIBNETFILTER_ACCT_LIBS=$pkg_cv_LIBNETFILTER_ACCT_LIBS
  13836. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13837. +$as_echo "yes" >&6; }
  13838. +
  13839. +fi
  13840. +
  13841. +$as_echo "@%:@define BUILD_NFACCT 1" >>confdefs.h
  13842. +
  13843. +
  13844. +fi
  13845. + if test "x$enable_nfacct" = "xyes"; then
  13846. + BUILD_NFACCT_TRUE=
  13847. + BUILD_NFACCT_FALSE='#'
  13848. +else
  13849. + BUILD_NFACCT_TRUE='#'
  13850. + BUILD_NFACCT_FALSE=
  13851. +fi
  13852. +
  13853. +
  13854. +
  13855. +
  13856. +
  13857. +@%:@ Check whether --with-pgsql was given.
  13858. +if test "${with_pgsql+set}" = set; then :
  13859. + withval=$with_pgsql; pg_prefix=$withval
  13860. +else
  13861. + pg_prefix=
  13862. +fi
  13863. +
  13864. +
  13865. +@%:@ Check whether --with-pgsql-inc was given.
  13866. +if test "${with_pgsql_inc+set}" = set; then :
  13867. + withval=$with_pgsql_inc; pg_inc=$withval
  13868. +else
  13869. + pg_inc=
  13870. +fi
  13871. +
  13872. +
  13873. +@%:@ Check whether --with-pgsql-lib was given.
  13874. +if test "${with_pgsql_lib+set}" = set; then :
  13875. + withval=$with_pgsql_lib; pg_lib=$withval
  13876. +else
  13877. + pg_lib=
  13878. +fi
  13879. +
  13880. +
  13881. +
  13882. +
  13883. +
  13884. +
  13885. +PQLIBS=-lpq
  13886. +
  13887. +if test "$pg_prefix" != "no"; then
  13888. +
  13889. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PostgreSQL pg_config program" >&5
  13890. +$as_echo_n "checking for PostgreSQL pg_config program... " >&6; }
  13891. +for d in $pg_prefix/bin /usr/bin /usr/local/bin /usr/local/pgsql/bin /opt/pgsql/bin /opt/packages/pgsql/bin
  13892. +do
  13893. + if test -x $d/pg_config
  13894. + then
  13895. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found pg_config in $d" >&5
  13896. +$as_echo "found pg_config in $d" >&6; }
  13897. + PQINCPATH=`$d/pg_config --includedir`
  13898. + PQLIBPATH=`$d/pg_config --libdir`
  13899. + break
  13900. + fi
  13901. +done
  13902. +
  13903. +if test "$PQINCPATH" = ""; then
  13904. +
  13905. +if test "$pg_prefix" != ""; then
  13906. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PostgreSQL includes in $pg_prefix/include" >&5
  13907. +$as_echo_n "checking for PostgreSQL includes in $pg_prefix/include... " >&6; }
  13908. + if test -f "$pg_prefix/include/libpq-fe.h" ; then
  13909. + PQINCPATH="-I$pg_prefix/include"
  13910. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13911. +$as_echo "yes" >&6; }
  13912. + else
  13913. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libpq-fe.h not found" >&5
  13914. +$as_echo "$as_me: WARNING: libpq-fe.h not found" >&2;}
  13915. + fi
  13916. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PostgreSQL libraries in $pg_prefix/lib" >&5
  13917. +$as_echo_n "checking for PostgreSQL libraries in $pg_prefix/lib... " >&6; }
  13918. + if test -f "$pg_prefix/lib/libpq.so" ; then
  13919. + PQLIBPATH="-L$pg_prefix/lib"
  13920. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13921. +$as_echo "yes" >&6; }
  13922. + else
  13923. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libpq.so not found" >&5
  13924. +$as_echo "$as_me: WARNING: libpq.so not found" >&2;}
  13925. + fi
  13926. +else
  13927. + if test "$pg_inc" != ""; then
  13928. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PostgreSQL includes in $pg_inc" >&5
  13929. +$as_echo_n "checking for PostgreSQL includes in $pg_inc... " >&6; }
  13930. + if test -f "$pg_inc/libpq-fe.h" ; then
  13931. + PQINCPATH="-I$pg_inc"
  13932. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13933. +$as_echo "yes" >&6; }
  13934. + else
  13935. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libpq-fe.h not found" >&5
  13936. +$as_echo "$as_me: WARNING: libpq-fe.h not found" >&2;}
  13937. + fi
  13938. + fi
  13939. + if test "$pg_lib" != ""; then
  13940. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PostgreSQL libraries in $pg_lib" >&5
  13941. +$as_echo_n "checking for PostgreSQL libraries in $pg_lib... " >&6; }
  13942. + if test -f "$pg_lib/libpq.so" ; then
  13943. + PQLIBPATH="-L$pg_lib"
  13944. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13945. +$as_echo "yes" >&6; }
  13946. + else
  13947. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libpq.so not found" >&5
  13948. +$as_echo "$as_me: WARNING: libpq.so not found" >&2;}
  13949. + fi
  13950. + fi
  13951. +fi
  13952. +
  13953. +fi
  13954. +
  13955. +if test "$PQINCPATH" = "" ; then
  13956. + ac_fn_c_check_header_mongrel "$LINENO" "libpq-fe.h" "ac_cv_header_libpq_fe_h" "$ac_includes_default"
  13957. +if test "x$ac_cv_header_libpq_fe_h" = xyes; then :
  13958. +
  13959. +else
  13960. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libpq-fe.h not found" >&5
  13961. +$as_echo "$as_me: WARNING: libpq-fe.h not found" >&2;}
  13962. +fi
  13963. +
  13964. +
  13965. +fi
  13966. +if test "$PQLIBPATH" = "" ; then
  13967. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconnectdb in -lpq" >&5
  13968. +$as_echo_n "checking for PQconnectdb in -lpq... " >&6; }
  13969. +if ${ac_cv_lib_pq_PQconnectdb+:} false; then :
  13970. + $as_echo_n "(cached) " >&6
  13971. +else
  13972. + ac_check_lib_save_LIBS=$LIBS
  13973. +LIBS="-lpq $LIBS"
  13974. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13975. +/* end confdefs.h. */
  13976. +
  13977. +/* Override any GCC internal prototype to avoid an error.
  13978. + Use char because int might match the return type of a GCC
  13979. + builtin and then its argument prototype would still apply. */
  13980. +#ifdef __cplusplus
  13981. +extern "C"
  13982. +#endif
  13983. +char PQconnectdb ();
  13984. +int
  13985. +main ()
  13986. +{
  13987. +return PQconnectdb ();
  13988. + ;
  13989. + return 0;
  13990. +}
  13991. +_ACEOF
  13992. +if ac_fn_c_try_link "$LINENO"; then :
  13993. + ac_cv_lib_pq_PQconnectdb=yes
  13994. +else
  13995. + ac_cv_lib_pq_PQconnectdb=no
  13996. +fi
  13997. +rm -f core conftest.err conftest.$ac_objext \
  13998. + conftest$ac_exeext conftest.$ac_ext
  13999. +LIBS=$ac_check_lib_save_LIBS
  14000. +fi
  14001. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQconnectdb" >&5
  14002. +$as_echo "$ac_cv_lib_pq_PQconnectdb" >&6; }
  14003. +if test "x$ac_cv_lib_pq_PQconnectdb" = xyes; then :
  14004. + cat >>confdefs.h <<_ACEOF
  14005. +@%:@define HAVE_LIBPQ 1
  14006. +_ACEOF
  14007. +
  14008. + LIBS="-lpq $LIBS"
  14009. +
  14010. +else
  14011. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libpq.so not found" >&5
  14012. +$as_echo "$as_me: WARNING: libpq.so not found" >&2;}
  14013. +fi
  14014. +
  14015. +fi
  14016. +
  14017. +fi
  14018. +
  14019. +
  14020. + if test "x$PQLIBPATH" != "x"; then
  14021. + HAVE_PGSQL_TRUE=
  14022. + HAVE_PGSQL_FALSE='#'
  14023. +else
  14024. + HAVE_PGSQL_TRUE='#'
  14025. + HAVE_PGSQL_FALSE=
  14026. +fi
  14027. +
  14028. +if test "x$PQLIBPATH" != "x"; then
  14029. + enable_pgsql="yes"
  14030. +else
  14031. + enable_pgsql="no"
  14032. +fi
  14033. +
  14034. +
  14035. +
  14036. +
  14037. +@%:@ Check whether --with-mysql was given.
  14038. +if test "${with_mysql+set}" = set; then :
  14039. + withval=$with_mysql; my_prefix=$withval
  14040. +else
  14041. + my_prefix=
  14042. +fi
  14043. +
  14044. +
  14045. +@%:@ Check whether --with-mysql-inc was given.
  14046. +if test "${with_mysql_inc+set}" = set; then :
  14047. + withval=$with_mysql_inc; my_inc=$withval
  14048. +else
  14049. + my_inc=
  14050. +fi
  14051. +
  14052. +
  14053. +@%:@ Check whether --with-mysql-lib was given.
  14054. +if test "${with_mysql_lib+set}" = set; then :
  14055. + withval=$with_mysql_lib; my_lib=$withval
  14056. +else
  14057. + my_lib=
  14058. +fi
  14059. +
  14060. +
  14061. +
  14062. +
  14063. +
  14064. +
  14065. +if test "$my_prefix" != "no"; then
  14066. +
  14067. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL mysql_config program" >&5
  14068. +$as_echo_n "checking for MySQL mysql_config program... " >&6; }
  14069. +for d in $my_prefix/bin /usr/bin /usr/local/bin /usr/local/mysql/bin /opt/mysql/bin /opt/packages/mysql/bin
  14070. +do
  14071. + if test -x $d/mysql_config
  14072. + then
  14073. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found mysql_config in $d" >&5
  14074. +$as_echo "found mysql_config in $d" >&6; }
  14075. + MYSQL_INC=`$d/mysql_config --include`
  14076. + MYSQL_LIB=`$d/mysql_config --libs`
  14077. + break
  14078. + fi
  14079. +done
  14080. +
  14081. +if test "$MYSQL_INC" = ""; then
  14082. +
  14083. +if test "$my_prefix" != ""; then
  14084. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL includes in $my_prefix/include" >&5
  14085. +$as_echo_n "checking for MySQL includes in $my_prefix/include... " >&6; }
  14086. + if test -f "$my_prefix/include/mysql.h" ; then
  14087. + MYSQL_INC="-I$my_prefix/include"
  14088. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14089. +$as_echo "yes" >&6; }
  14090. + else
  14091. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mysql.h not found" >&5
  14092. +$as_echo "$as_me: WARNING: mysql.h not found" >&2;}
  14093. + fi
  14094. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL libraries in $my_prefix/lib" >&5
  14095. +$as_echo_n "checking for MySQL libraries in $my_prefix/lib... " >&6; }
  14096. + if test -f "$my_prefix/lib/libmysql.so" ; then
  14097. + MYSQL_LIB="-L$my_prefix/lib -lmysqlclient"
  14098. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14099. +$as_echo "yes" >&6; }
  14100. + else
  14101. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmysqlclient.so not found" >&5
  14102. +$as_echo "$as_me: WARNING: libmysqlclient.so not found" >&2;}
  14103. + fi
  14104. +else
  14105. + if test "$my_inc" != ""; then
  14106. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL includes in $my_inc" >&5
  14107. +$as_echo_n "checking for MySQL includes in $my_inc... " >&6; }
  14108. + if test -f "$my_inc/mysql.h" ; then
  14109. + MYSQL_INC="-I$my_inc"
  14110. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14111. +$as_echo "yes" >&6; }
  14112. + else
  14113. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mysql.h not found" >&5
  14114. +$as_echo "$as_me: WARNING: mysql.h not found" >&2;}
  14115. + fi
  14116. + fi
  14117. + if test "$my_lib" != ""; then
  14118. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL libraries in $my_lib" >&5
  14119. +$as_echo_n "checking for MySQL libraries in $my_lib... " >&6; }
  14120. + if test -f "$my_lib/libmysqlclient.so" ; then
  14121. + MYSQL_LIB="-L$my_lib -lmysqlclient"
  14122. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14123. +$as_echo "yes" >&6; }
  14124. + else
  14125. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmysqlclient.so not found" >&5
  14126. +$as_echo "$as_me: WARNING: libmysqlclient.so not found" >&2;}
  14127. + fi
  14128. + fi
  14129. +fi
  14130. +
  14131. +fi
  14132. +
  14133. +if test "$MYSQL_INC" = "" ; then
  14134. + ac_fn_c_check_header_mongrel "$LINENO" "mysql.h" "ac_cv_header_mysql_h" "$ac_includes_default"
  14135. +if test "x$ac_cv_header_mysql_h" = xyes; then :
  14136. +
  14137. +else
  14138. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mysql.h not found" >&5
  14139. +$as_echo "$as_me: WARNING: mysql.h not found" >&2;}
  14140. +fi
  14141. +
  14142. +
  14143. +fi
  14144. +if test "$MYSQL_LIB" = "" ; then
  14145. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql_close in -lmysqlclient" >&5
  14146. +$as_echo_n "checking for mysql_close in -lmysqlclient... " >&6; }
  14147. +if ${ac_cv_lib_mysqlclient_mysql_close+:} false; then :
  14148. + $as_echo_n "(cached) " >&6
  14149. +else
  14150. + ac_check_lib_save_LIBS=$LIBS
  14151. +LIBS="-lmysqlclient $LIBS"
  14152. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14153. +/* end confdefs.h. */
  14154. +
  14155. +/* Override any GCC internal prototype to avoid an error.
  14156. + Use char because int might match the return type of a GCC
  14157. + builtin and then its argument prototype would still apply. */
  14158. +#ifdef __cplusplus
  14159. +extern "C"
  14160. +#endif
  14161. +char mysql_close ();
  14162. +int
  14163. +main ()
  14164. +{
  14165. +return mysql_close ();
  14166. + ;
  14167. + return 0;
  14168. +}
  14169. +_ACEOF
  14170. +if ac_fn_c_try_link "$LINENO"; then :
  14171. + ac_cv_lib_mysqlclient_mysql_close=yes
  14172. +else
  14173. + ac_cv_lib_mysqlclient_mysql_close=no
  14174. +fi
  14175. +rm -f core conftest.err conftest.$ac_objext \
  14176. + conftest$ac_exeext conftest.$ac_ext
  14177. +LIBS=$ac_check_lib_save_LIBS
  14178. +fi
  14179. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mysqlclient_mysql_close" >&5
  14180. +$as_echo "$ac_cv_lib_mysqlclient_mysql_close" >&6; }
  14181. +if test "x$ac_cv_lib_mysqlclient_mysql_close" = xyes; then :
  14182. + cat >>confdefs.h <<_ACEOF
  14183. +@%:@define HAVE_LIBMYSQLCLIENT 1
  14184. +_ACEOF
  14185. +
  14186. + LIBS="-lmysqlclient $LIBS"
  14187. +
  14188. +else
  14189. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmysqlclient.so not found" >&5
  14190. +$as_echo "$as_me: WARNING: libmysqlclient.so not found" >&2;}
  14191. +fi
  14192. +
  14193. +fi
  14194. +
  14195. +fi
  14196. +
  14197. +
  14198. + if test "x$MYSQL_LIB" != "x"; then
  14199. + HAVE_MYSQL_TRUE=
  14200. + HAVE_MYSQL_FALSE='#'
  14201. +else
  14202. + HAVE_MYSQL_TRUE='#'
  14203. + HAVE_MYSQL_FALSE=
  14204. +fi
  14205. +
  14206. +if test "x$MYSQL_LIB" != "x"; then
  14207. + enable_mysql="yes"
  14208. +else
  14209. + enable_mysql="no"
  14210. +fi
  14211. +
  14212. +
  14213. +pkg_failed=no
  14214. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsqlite3" >&5
  14215. +$as_echo_n "checking for libsqlite3... " >&6; }
  14216. +
  14217. +if test -n "$libsqlite3_CFLAGS"; then
  14218. + pkg_cv_libsqlite3_CFLAGS="$libsqlite3_CFLAGS"
  14219. + elif test -n "$PKG_CONFIG"; then
  14220. + if test -n "$PKG_CONFIG" && \
  14221. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
  14222. + ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
  14223. + ac_status=$?
  14224. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14225. + test $ac_status = 0; }; then
  14226. + pkg_cv_libsqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
  14227. + test "x$?" != "x0" && pkg_failed=yes
  14228. +else
  14229. + pkg_failed=yes
  14230. +fi
  14231. + else
  14232. + pkg_failed=untried
  14233. +fi
  14234. +if test -n "$libsqlite3_LIBS"; then
  14235. + pkg_cv_libsqlite3_LIBS="$libsqlite3_LIBS"
  14236. + elif test -n "$PKG_CONFIG"; then
  14237. + if test -n "$PKG_CONFIG" && \
  14238. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
  14239. + ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
  14240. + ac_status=$?
  14241. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14242. + test $ac_status = 0; }; then
  14243. + pkg_cv_libsqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
  14244. + test "x$?" != "x0" && pkg_failed=yes
  14245. +else
  14246. + pkg_failed=yes
  14247. +fi
  14248. + else
  14249. + pkg_failed=untried
  14250. +fi
  14251. +
  14252. +
  14253. +
  14254. +if test $pkg_failed = yes; then
  14255. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14256. +$as_echo "no" >&6; }
  14257. +
  14258. +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  14259. + _pkg_short_errors_supported=yes
  14260. +else
  14261. + _pkg_short_errors_supported=no
  14262. +fi
  14263. + if test $_pkg_short_errors_supported = yes; then
  14264. + libsqlite3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
  14265. + else
  14266. + libsqlite3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
  14267. + fi
  14268. + # Put the nasty error message in config.log where it belongs
  14269. + echo "$libsqlite3_PKG_ERRORS" >&5
  14270. +
  14271. + :
  14272. +elif test $pkg_failed = untried; then
  14273. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14274. +$as_echo "no" >&6; }
  14275. + :
  14276. +else
  14277. + libsqlite3_CFLAGS=$pkg_cv_libsqlite3_CFLAGS
  14278. + libsqlite3_LIBS=$pkg_cv_libsqlite3_LIBS
  14279. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14280. +$as_echo "yes" >&6; }
  14281. +
  14282. +fi
  14283. + if test -n "$libsqlite3_LIBS"; then
  14284. + HAVE_SQLITE3_TRUE=
  14285. + HAVE_SQLITE3_FALSE='#'
  14286. +else
  14287. + HAVE_SQLITE3_TRUE='#'
  14288. + HAVE_SQLITE3_FALSE=
  14289. +fi
  14290. +
  14291. +if test "x$libsqlite3_LIBS" != "x"; then
  14292. + enable_sqlite3="yes"
  14293. +else
  14294. + enable_sqlite3="no"
  14295. +fi
  14296. +
  14297. +
  14298. +
  14299. +
  14300. +@%:@ Check whether --with-dbi was given.
  14301. +if test "${with_dbi+set}" = set; then :
  14302. + withval=$with_dbi; dbi=$withval
  14303. +else
  14304. + dbi_prefix=
  14305. +fi
  14306. +
  14307. +
  14308. +@%:@ Check whether --with-dbi-inc was given.
  14309. +if test "${with_dbi_inc+set}" = set; then :
  14310. + withval=$with_dbi_inc; dbi_inc=$withval
  14311. +else
  14312. + dbi_inc=/usr/include
  14313. +fi
  14314. +
  14315. +
  14316. +@%:@ Check whether --with-dbi-lib was given.
  14317. +if test "${with_dbi_lib+set}" = set; then :
  14318. + withval=$with_dbi_lib; dbi_lib=$withval
  14319. +else
  14320. + dbi_lib=/usr/lib
  14321. +fi
  14322. +
  14323. +
  14324. +
  14325. +
  14326. +
  14327. +
  14328. +if test "$dbi_prefix" != "no"; then
  14329. +
  14330. +if test "$dbi_prefix" != ""; then
  14331. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdbi includes in $dbi_prefix/include" >&5
  14332. +$as_echo_n "checking for libdbi includes in $dbi_prefix/include... " >&6; }
  14333. + if test -f "$dbi_prefix/include/dbi.h" ; then
  14334. + DBI_INC="-I$dbi_prefix/include"
  14335. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14336. +$as_echo "yes" >&6; }
  14337. + elif test -f "$dbi_prefix/include/dbi/dbi.h" ; then
  14338. + DBI_INC="-I$dbi_prefix/include/dbi"
  14339. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14340. +$as_echo "yes" >&6; }
  14341. + else
  14342. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dbi.h not found" >&5
  14343. +$as_echo "$as_me: WARNING: dbi.h not found" >&2;}
  14344. + fi
  14345. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdbi in $dbi_prefix/lib" >&5
  14346. +$as_echo_n "checking for libdbi in $dbi_prefix/lib... " >&6; }
  14347. + if test -f "$dbi_prefix/lib/libdbi.so" ; then
  14348. + DBI_LIB="-L$dbi_prefix/lib -ldbi";
  14349. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14350. +$as_echo "yes" >&6; }
  14351. + else
  14352. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdbi.so not found" >&5
  14353. +$as_echo "$as_me: WARNING: libdbi.so not found" >&2;}
  14354. + fi
  14355. +else
  14356. + if test "$dbi_inc" != ""; then
  14357. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdbi includes in $dbi_inc" >&5
  14358. +$as_echo_n "checking for libdbi includes in $dbi_inc... " >&6; }
  14359. + if test -f "$dbi_inc/dbi.h" ; then
  14360. + DBI_INC="-I$dbi_inc"
  14361. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14362. +$as_echo "yes" >&6; }
  14363. + elif test -f "$dbi_inc/dbi/dbi.h" ; then
  14364. + DBI_INC="-I$dbi_inc/dbi"
  14365. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14366. +$as_echo "yes" >&6; }
  14367. + else
  14368. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dbi.h not found" >&5
  14369. +$as_echo "$as_me: WARNING: dbi.h not found" >&2;}
  14370. + fi
  14371. + fi
  14372. + if test "$dbi_lib" != ""; then
  14373. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdbi in $dbi_lib" >&5
  14374. +$as_echo_n "checking for libdbi in $dbi_lib... " >&6; }
  14375. + if test -f "$dbi_lib/libdbi.so" ; then
  14376. + DBI_LIB="-L$dbi_lib -ldbi";
  14377. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14378. +$as_echo "yes" >&6; }
  14379. + else
  14380. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdbi.so not found" >&5
  14381. +$as_echo "$as_me: WARNING: libdbi.so not found" >&2;}
  14382. + fi
  14383. + fi
  14384. +fi
  14385. +
  14386. +if test "$DBI_INC" = "" ; then
  14387. + ac_fn_c_check_header_mongrel "$LINENO" "dbi.h" "ac_cv_header_dbi_h" "$ac_includes_default"
  14388. +if test "x$ac_cv_header_dbi_h" = xyes; then :
  14389. +
  14390. +else
  14391. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dbi.h not found" >&5
  14392. +$as_echo "$as_me: WARNING: dbi.h not found" >&2;}
  14393. +fi
  14394. +
  14395. +
  14396. +fi
  14397. +if test "$DBI_LIB" = "" ; then
  14398. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbi_close in -ldbi" >&5
  14399. +$as_echo_n "checking for dbi_close in -ldbi... " >&6; }
  14400. +if ${ac_cv_lib_dbi_dbi_close+:} false; then :
  14401. + $as_echo_n "(cached) " >&6
  14402. +else
  14403. + ac_check_lib_save_LIBS=$LIBS
  14404. +LIBS="-ldbi $LIBS"
  14405. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14406. +/* end confdefs.h. */
  14407. +
  14408. +/* Override any GCC internal prototype to avoid an error.
  14409. + Use char because int might match the return type of a GCC
  14410. + builtin and then its argument prototype would still apply. */
  14411. +#ifdef __cplusplus
  14412. +extern "C"
  14413. +#endif
  14414. +char dbi_close ();
  14415. +int
  14416. +main ()
  14417. +{
  14418. +return dbi_close ();
  14419. + ;
  14420. + return 0;
  14421. +}
  14422. +_ACEOF
  14423. +if ac_fn_c_try_link "$LINENO"; then :
  14424. + ac_cv_lib_dbi_dbi_close=yes
  14425. +else
  14426. + ac_cv_lib_dbi_dbi_close=no
  14427. +fi
  14428. +rm -f core conftest.err conftest.$ac_objext \
  14429. + conftest$ac_exeext conftest.$ac_ext
  14430. +LIBS=$ac_check_lib_save_LIBS
  14431. +fi
  14432. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbi_dbi_close" >&5
  14433. +$as_echo "$ac_cv_lib_dbi_dbi_close" >&6; }
  14434. +if test "x$ac_cv_lib_dbi_dbi_close" = xyes; then :
  14435. + cat >>confdefs.h <<_ACEOF
  14436. +@%:@define HAVE_LIBDBI 1
  14437. +_ACEOF
  14438. +
  14439. + LIBS="-ldbi $LIBS"
  14440. +
  14441. +else
  14442. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdbi.so not found" >&5
  14443. +$as_echo "$as_me: WARNING: libdbi.so not found" >&2;}
  14444. +fi
  14445. +
  14446. +fi
  14447. +
  14448. +fi
  14449. +
  14450. +
  14451. + if test "x$DBI_LIB" != "x"; then
  14452. + HAVE_DBI_TRUE=
  14453. + HAVE_DBI_FALSE='#'
  14454. +else
  14455. + HAVE_DBI_TRUE='#'
  14456. + HAVE_DBI_FALSE=
  14457. +fi
  14458. +
  14459. +if test "x$DBI_LIB" != "x"; then
  14460. + enable_dbi="yes"
  14461. +else
  14462. + enable_dbi="no"
  14463. +fi
  14464. +
  14465. +
  14466. +
  14467. +
  14468. +ac_config_files="$ac_config_files include/Makefile include/ulogd/Makefile include/libipulog/Makefile include/linux/Makefile include/linux/netfilter/Makefile libipulog/Makefile input/Makefile input/packet/Makefile input/flow/Makefile input/sum/Makefile filter/Makefile filter/raw2packet/Makefile filter/packet2flow/Makefile output/Makefile output/pcap/Makefile output/mysql/Makefile output/pgsql/Makefile output/sqlite3/Makefile output/dbi/Makefile src/Makefile Makefile Rules.make"
  14469. +
  14470. +cat >confcache <<\_ACEOF
  14471. +# This file is a shell script that caches the results of configure
  14472. +# tests run on this system so they can be shared between configure
  14473. +# scripts and configure runs, see configure's option --config-cache.
  14474. +# It is not useful on other systems. If it contains results you don't
  14475. +# want to keep, you may remove or edit it.
  14476. +#
  14477. +# config.status only pays attention to the cache file if you give it
  14478. +# the --recheck option to rerun configure.
  14479. +#
  14480. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  14481. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  14482. +# following values.
  14483. +
  14484. +_ACEOF
  14485. +
  14486. +# The following way of writing the cache mishandles newlines in values,
  14487. +# but we know of no workaround that is simple, portable, and efficient.
  14488. +# So, we kill variables containing newlines.
  14489. +# Ultrix sh set writes to stderr and can't be redirected directly,
  14490. +# and sets the high bit in the cache file unless we assign to the vars.
  14491. +(
  14492. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  14493. + eval ac_val=\$$ac_var
  14494. + case $ac_val in #(
  14495. + *${as_nl}*)
  14496. + case $ac_var in #(
  14497. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  14498. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  14499. + esac
  14500. + case $ac_var in #(
  14501. + _ | IFS | as_nl) ;; #(
  14502. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  14503. + *) { eval $ac_var=; unset $ac_var;} ;;
  14504. + esac ;;
  14505. + esac
  14506. + done
  14507. +
  14508. + (set) 2>&1 |
  14509. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  14510. + *${as_nl}ac_space=\ *)
  14511. + # `set' does not quote correctly, so add quotes: double-quote
  14512. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  14513. + sed -n \
  14514. + "s/'/'\\\\''/g;
  14515. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  14516. + ;; #(
  14517. + *)
  14518. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  14519. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  14520. + ;;
  14521. + esac |
  14522. + sort
  14523. +) |
  14524. + sed '
  14525. + /^ac_cv_env_/b end
  14526. + t clear
  14527. + :clear
  14528. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  14529. + t end
  14530. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  14531. + :end' >>confcache
  14532. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  14533. + if test -w "$cache_file"; then
  14534. + if test "x$cache_file" != "x/dev/null"; then
  14535. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  14536. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  14537. + if test ! -f "$cache_file" || test -h "$cache_file"; then
  14538. + cat confcache >"$cache_file"
  14539. + else
  14540. + case $cache_file in #(
  14541. + */* | ?:*)
  14542. + mv -f confcache "$cache_file"$$ &&
  14543. + mv -f "$cache_file"$$ "$cache_file" ;; #(
  14544. + *)
  14545. + mv -f confcache "$cache_file" ;;
  14546. + esac
  14547. + fi
  14548. + fi
  14549. + else
  14550. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  14551. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  14552. + fi
  14553. +fi
  14554. +rm -f confcache
  14555. +
  14556. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  14557. +# Let make expand exec_prefix.
  14558. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  14559. +
  14560. +DEFS=-DHAVE_CONFIG_H
  14561. +
  14562. +ac_libobjs=
  14563. +ac_ltlibobjs=
  14564. +U=
  14565. +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
  14566. + # 1. Remove the extension, and $U if already installed.
  14567. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  14568. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  14569. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  14570. + # will be set to the directory where LIBOBJS objects are built.
  14571. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  14572. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  14573. +done
  14574. +LIB@&t@OBJS=$ac_libobjs
  14575. +
  14576. +LTLIBOBJS=$ac_ltlibobjs
  14577. +
  14578. +
  14579. + if test -n "$EXEEXT"; then
  14580. + am__EXEEXT_TRUE=
  14581. + am__EXEEXT_FALSE='#'
  14582. +else
  14583. + am__EXEEXT_TRUE='#'
  14584. + am__EXEEXT_FALSE=
  14585. +fi
  14586. +
  14587. +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  14588. + as_fn_error $? "conditional \"AMDEP\" was never defined.
  14589. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  14590. +fi
  14591. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  14592. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  14593. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  14594. +fi
  14595. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  14596. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  14597. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  14598. +fi
  14599. +if test -z "${HAVE_PCAP_TRUE}" && test -z "${HAVE_PCAP_FALSE}"; then
  14600. + as_fn_error $? "conditional \"HAVE_PCAP\" was never defined.
  14601. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  14602. +fi
  14603. +if test -z "${BUILD_NFLOG_TRUE}" && test -z "${BUILD_NFLOG_FALSE}"; then
  14604. + as_fn_error $? "conditional \"BUILD_NFLOG\" was never defined.
  14605. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  14606. +fi
  14607. +if test -z "${BUILD_NFCT_TRUE}" && test -z "${BUILD_NFCT_FALSE}"; then
  14608. + as_fn_error $? "conditional \"BUILD_NFCT\" was never defined.
  14609. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  14610. +fi
  14611. +if test -z "${BUILD_NFACCT_TRUE}" && test -z "${BUILD_NFACCT_FALSE}"; then
  14612. + as_fn_error $? "conditional \"BUILD_NFACCT\" was never defined.
  14613. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  14614. +fi
  14615. +if test -z "${HAVE_PGSQL_TRUE}" && test -z "${HAVE_PGSQL_FALSE}"; then
  14616. + as_fn_error $? "conditional \"HAVE_PGSQL\" was never defined.
  14617. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  14618. +fi
  14619. +if test -z "${HAVE_MYSQL_TRUE}" && test -z "${HAVE_MYSQL_FALSE}"; then
  14620. + as_fn_error $? "conditional \"HAVE_MYSQL\" was never defined.
  14621. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  14622. +fi
  14623. +if test -z "${HAVE_SQLITE3_TRUE}" && test -z "${HAVE_SQLITE3_FALSE}"; then
  14624. + as_fn_error $? "conditional \"HAVE_SQLITE3\" was never defined.
  14625. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  14626. +fi
  14627. +if test -z "${HAVE_DBI_TRUE}" && test -z "${HAVE_DBI_FALSE}"; then
  14628. + as_fn_error $? "conditional \"HAVE_DBI\" was never defined.
  14629. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  14630. +fi
  14631. +
  14632. +: "${CONFIG_STATUS=./config.status}"
  14633. +ac_write_fail=0
  14634. +ac_clean_files_save=$ac_clean_files
  14635. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  14636. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  14637. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  14638. +as_write_fail=0
  14639. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  14640. +#! $SHELL
  14641. +# Generated by $as_me.
  14642. +# Run this file to recreate the current configuration.
  14643. +# Compiler output produced by configure, useful for debugging
  14644. +# configure, is in config.log if it exists.
  14645. +
  14646. +debug=false
  14647. +ac_cs_recheck=false
  14648. +ac_cs_silent=false
  14649. +
  14650. +SHELL=\${CONFIG_SHELL-$SHELL}
  14651. +export SHELL
  14652. +_ASEOF
  14653. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  14654. +## -------------------- ##
  14655. +## M4sh Initialization. ##
  14656. +## -------------------- ##
  14657. +
  14658. +# Be more Bourne compatible
  14659. +DUALCASE=1; export DUALCASE # for MKS sh
  14660. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  14661. + emulate sh
  14662. + NULLCMD=:
  14663. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  14664. + # is contrary to our usage. Disable this feature.
  14665. + alias -g '${1+"$@"}'='"$@"'
  14666. + setopt NO_GLOB_SUBST
  14667. +else
  14668. + case `(set -o) 2>/dev/null` in @%:@(
  14669. + *posix*) :
  14670. + set -o posix ;; @%:@(
  14671. + *) :
  14672. + ;;
  14673. +esac
  14674. +fi
  14675. +
  14676. +
  14677. +as_nl='
  14678. +'
  14679. +export as_nl
  14680. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  14681. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  14682. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  14683. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  14684. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  14685. +# but without wasting forks for bash or zsh.
  14686. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  14687. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  14688. + as_echo='print -r --'
  14689. + as_echo_n='print -rn --'
  14690. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  14691. + as_echo='printf %s\n'
  14692. + as_echo_n='printf %s'
  14693. +else
  14694. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  14695. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  14696. + as_echo_n='/usr/ucb/echo -n'
  14697. + else
  14698. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  14699. + as_echo_n_body='eval
  14700. + arg=$1;
  14701. + case $arg in @%:@(
  14702. + *"$as_nl"*)
  14703. + expr "X$arg" : "X\\(.*\\)$as_nl";
  14704. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  14705. + esac;
  14706. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  14707. + '
  14708. + export as_echo_n_body
  14709. + as_echo_n='sh -c $as_echo_n_body as_echo'
  14710. + fi
  14711. + export as_echo_body
  14712. + as_echo='sh -c $as_echo_body as_echo'
  14713. +fi
  14714. +
  14715. +# The user is always right.
  14716. +if test "${PATH_SEPARATOR+set}" != set; then
  14717. + PATH_SEPARATOR=:
  14718. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  14719. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  14720. + PATH_SEPARATOR=';'
  14721. + }
  14722. +fi
  14723. +
  14724. +
  14725. +# IFS
  14726. +# We need space, tab and new line, in precisely that order. Quoting is
  14727. +# there to prevent editors from complaining about space-tab.
  14728. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  14729. +# splitting by setting IFS to empty value.)
  14730. +IFS=" "" $as_nl"
  14731. +
  14732. +# Find who we are. Look in the path if we contain no directory separator.
  14733. +as_myself=
  14734. +case $0 in @%:@((
  14735. + *[\\/]* ) as_myself=$0 ;;
  14736. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14737. +for as_dir in $PATH
  14738. +do
  14739. + IFS=$as_save_IFS
  14740. + test -z "$as_dir" && as_dir=.
  14741. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  14742. + done
  14743. +IFS=$as_save_IFS
  14744. +
  14745. + ;;
  14746. +esac
  14747. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  14748. +# in which case we are not to be found in the path.
  14749. +if test "x$as_myself" = x; then
  14750. + as_myself=$0
  14751. +fi
  14752. +if test ! -f "$as_myself"; then
  14753. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  14754. + exit 1
  14755. +fi
  14756. +
  14757. +# Unset variables that we do not need and which cause bugs (e.g. in
  14758. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  14759. +# suppresses any "Segmentation fault" message there. '((' could
  14760. +# trigger a bug in pdksh 5.2.14.
  14761. +for as_var in BASH_ENV ENV MAIL MAILPATH
  14762. +do eval test x\${$as_var+set} = xset \
  14763. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  14764. +done
  14765. +PS1='$ '
  14766. +PS2='> '
  14767. +PS4='+ '
  14768. +
  14769. +# NLS nuisances.
  14770. +LC_ALL=C
  14771. +export LC_ALL
  14772. +LANGUAGE=C
  14773. +export LANGUAGE
  14774. +
  14775. +# CDPATH.
  14776. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  14777. +
  14778. +
  14779. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  14780. +@%:@ ----------------------------------------
  14781. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  14782. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  14783. +@%:@ script with STATUS, using 1 if that was 0.
  14784. +as_fn_error ()
  14785. +{
  14786. + as_status=$1; test $as_status -eq 0 && as_status=1
  14787. + if test "$4"; then
  14788. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  14789. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  14790. + fi
  14791. + $as_echo "$as_me: error: $2" >&2
  14792. + as_fn_exit $as_status
  14793. +} @%:@ as_fn_error
  14794. +
  14795. +
  14796. +@%:@ as_fn_set_status STATUS
  14797. +@%:@ -----------------------
  14798. +@%:@ Set @S|@? to STATUS, without forking.
  14799. +as_fn_set_status ()
  14800. +{
  14801. + return $1
  14802. +} @%:@ as_fn_set_status
  14803. +
  14804. +@%:@ as_fn_exit STATUS
  14805. +@%:@ -----------------
  14806. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  14807. +as_fn_exit ()
  14808. +{
  14809. + set +e
  14810. + as_fn_set_status $1
  14811. + exit $1
  14812. +} @%:@ as_fn_exit
  14813. +
  14814. +@%:@ as_fn_unset VAR
  14815. +@%:@ ---------------
  14816. +@%:@ Portably unset VAR.
  14817. +as_fn_unset ()
  14818. +{
  14819. + { eval $1=; unset $1;}
  14820. +}
  14821. +as_unset=as_fn_unset
  14822. +@%:@ as_fn_append VAR VALUE
  14823. +@%:@ ----------------------
  14824. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  14825. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  14826. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  14827. +@%:@ implementations.
  14828. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  14829. + eval 'as_fn_append ()
  14830. + {
  14831. + eval $1+=\$2
  14832. + }'
  14833. +else
  14834. + as_fn_append ()
  14835. + {
  14836. + eval $1=\$$1\$2
  14837. + }
  14838. +fi # as_fn_append
  14839. +
  14840. +@%:@ as_fn_arith ARG...
  14841. +@%:@ ------------------
  14842. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  14843. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  14844. +@%:@ must be portable across @S|@(()) and expr.
  14845. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  14846. + eval 'as_fn_arith ()
  14847. + {
  14848. + as_val=$(( $* ))
  14849. + }'
  14850. +else
  14851. + as_fn_arith ()
  14852. + {
  14853. + as_val=`expr "$@" || test $? -eq 1`
  14854. + }
  14855. +fi # as_fn_arith
  14856. +
  14857. +
  14858. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  14859. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  14860. + as_expr=expr
  14861. +else
  14862. + as_expr=false
  14863. +fi
  14864. +
  14865. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  14866. + as_basename=basename
  14867. +else
  14868. + as_basename=false
  14869. +fi
  14870. +
  14871. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  14872. + as_dirname=dirname
  14873. +else
  14874. + as_dirname=false
  14875. +fi
  14876. +
  14877. +as_me=`$as_basename -- "$0" ||
  14878. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  14879. + X"$0" : 'X\(//\)$' \| \
  14880. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  14881. +$as_echo X/"$0" |
  14882. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  14883. + s//\1/
  14884. + q
  14885. + }
  14886. + /^X\/\(\/\/\)$/{
  14887. + s//\1/
  14888. + q
  14889. + }
  14890. + /^X\/\(\/\).*/{
  14891. + s//\1/
  14892. + q
  14893. + }
  14894. + s/.*/./; q'`
  14895. +
  14896. +# Avoid depending upon Character Ranges.
  14897. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  14898. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  14899. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  14900. +as_cr_digits='0123456789'
  14901. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  14902. +
  14903. +ECHO_C= ECHO_N= ECHO_T=
  14904. +case `echo -n x` in @%:@(((((
  14905. +-n*)
  14906. + case `echo 'xy\c'` in
  14907. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  14908. + xy) ECHO_C='\c';;
  14909. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  14910. + ECHO_T=' ';;
  14911. + esac;;
  14912. +*)
  14913. + ECHO_N='-n';;
  14914. +esac
  14915. +
  14916. +rm -f conf$$ conf$$.exe conf$$.file
  14917. +if test -d conf$$.dir; then
  14918. + rm -f conf$$.dir/conf$$.file
  14919. +else
  14920. + rm -f conf$$.dir
  14921. + mkdir conf$$.dir 2>/dev/null
  14922. +fi
  14923. +if (echo >conf$$.file) 2>/dev/null; then
  14924. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  14925. + as_ln_s='ln -s'
  14926. + # ... but there are two gotchas:
  14927. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  14928. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  14929. + # In both cases, we have to default to `cp -p'.
  14930. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  14931. + as_ln_s='cp -p'
  14932. + elif ln conf$$.file conf$$ 2>/dev/null; then
  14933. + as_ln_s=ln
  14934. + else
  14935. + as_ln_s='cp -p'
  14936. + fi
  14937. +else
  14938. + as_ln_s='cp -p'
  14939. +fi
  14940. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  14941. +rmdir conf$$.dir 2>/dev/null
  14942. +
  14943. +
  14944. +@%:@ as_fn_mkdir_p
  14945. +@%:@ -------------
  14946. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  14947. +as_fn_mkdir_p ()
  14948. +{
  14949. +
  14950. + case $as_dir in #(
  14951. + -*) as_dir=./$as_dir;;
  14952. + esac
  14953. + test -d "$as_dir" || eval $as_mkdir_p || {
  14954. + as_dirs=
  14955. + while :; do
  14956. + case $as_dir in #(
  14957. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  14958. + *) as_qdir=$as_dir;;
  14959. + esac
  14960. + as_dirs="'$as_qdir' $as_dirs"
  14961. + as_dir=`$as_dirname -- "$as_dir" ||
  14962. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  14963. + X"$as_dir" : 'X\(//\)[^/]' \| \
  14964. + X"$as_dir" : 'X\(//\)$' \| \
  14965. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  14966. +$as_echo X"$as_dir" |
  14967. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  14968. + s//\1/
  14969. + q
  14970. + }
  14971. + /^X\(\/\/\)[^/].*/{
  14972. + s//\1/
  14973. + q
  14974. + }
  14975. + /^X\(\/\/\)$/{
  14976. + s//\1/
  14977. + q
  14978. + }
  14979. + /^X\(\/\).*/{
  14980. + s//\1/
  14981. + q
  14982. + }
  14983. + s/.*/./; q'`
  14984. + test -d "$as_dir" && break
  14985. + done
  14986. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  14987. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  14988. +
  14989. +
  14990. +} @%:@ as_fn_mkdir_p
  14991. +if mkdir -p . 2>/dev/null; then
  14992. + as_mkdir_p='mkdir -p "$as_dir"'
  14993. +else
  14994. + test -d ./-p && rmdir ./-p
  14995. + as_mkdir_p=false
  14996. +fi
  14997. +
  14998. +if test -x / >/dev/null 2>&1; then
  14999. + as_test_x='test -x'
  15000. +else
  15001. + if ls -dL / >/dev/null 2>&1; then
  15002. + as_ls_L_option=L
  15003. + else
  15004. + as_ls_L_option=
  15005. + fi
  15006. + as_test_x='
  15007. + eval sh -c '\''
  15008. + if test -d "$1"; then
  15009. + test -d "$1/.";
  15010. + else
  15011. + case $1 in @%:@(
  15012. + -*)set "./$1";;
  15013. + esac;
  15014. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
  15015. + ???[sx]*):;;*)false;;esac;fi
  15016. + '\'' sh
  15017. + '
  15018. +fi
  15019. +as_executable_p=$as_test_x
  15020. +
  15021. +# Sed expression to map a string onto a valid CPP name.
  15022. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  15023. +
  15024. +# Sed expression to map a string onto a valid variable name.
  15025. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  15026. +
  15027. +
  15028. +exec 6>&1
  15029. +## ----------------------------------- ##
  15030. +## Main body of $CONFIG_STATUS script. ##
  15031. +## ----------------------------------- ##
  15032. +_ASEOF
  15033. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  15034. +
  15035. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15036. +# Save the log message, to keep $0 and so on meaningful, and to
  15037. +# report actual input values of CONFIG_FILES etc. instead of their
  15038. +# values after options handling.
  15039. +ac_log="
  15040. +This file was extended by ulogd $as_me 2.0.2, which was
  15041. +generated by GNU Autoconf 2.68. Invocation command line was
  15042. +
  15043. + CONFIG_FILES = $CONFIG_FILES
  15044. + CONFIG_HEADERS = $CONFIG_HEADERS
  15045. + CONFIG_LINKS = $CONFIG_LINKS
  15046. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  15047. + $ $0 $@
  15048. +
  15049. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  15050. +"
  15051. +
  15052. +_ACEOF
  15053. +
  15054. +case $ac_config_files in *"
  15055. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  15056. +esac
  15057. +
  15058. +case $ac_config_headers in *"
  15059. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  15060. +esac
  15061. +
  15062. +
  15063. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15064. +# Files that config.status was made for.
  15065. +config_files="$ac_config_files"
  15066. +config_headers="$ac_config_headers"
  15067. +config_commands="$ac_config_commands"
  15068. +
  15069. +_ACEOF
  15070. +
  15071. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15072. +ac_cs_usage="\
  15073. +\`$as_me' instantiates files and other configuration actions
  15074. +from templates according to the current configuration. Unless the files
  15075. +and actions are specified as TAGs, all are instantiated by default.
  15076. +
  15077. +Usage: $0 [OPTION]... [TAG]...
  15078. +
  15079. + -h, --help print this help, then exit
  15080. + -V, --version print version number and configuration settings, then exit
  15081. + --config print configuration, then exit
  15082. + -q, --quiet, --silent
  15083. + do not print progress messages
  15084. + -d, --debug don't remove temporary files
  15085. + --recheck update $as_me by reconfiguring in the same conditions
  15086. + --file=FILE[:TEMPLATE]
  15087. + instantiate the configuration file FILE
  15088. + --header=FILE[:TEMPLATE]
  15089. + instantiate the configuration header FILE
  15090. +
  15091. +Configuration files:
  15092. +$config_files
  15093. +
  15094. +Configuration headers:
  15095. +$config_headers
  15096. +
  15097. +Configuration commands:
  15098. +$config_commands
  15099. +
  15100. +Report bugs to the package provider."
  15101. +
  15102. +_ACEOF
  15103. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15104. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  15105. +ac_cs_version="\\
  15106. +ulogd config.status 2.0.2
  15107. +configured by $0, generated by GNU Autoconf 2.68,
  15108. + with options \\"\$ac_cs_config\\"
  15109. +
  15110. +Copyright (C) 2010 Free Software Foundation, Inc.
  15111. +This config.status script is free software; the Free Software Foundation
  15112. +gives unlimited permission to copy, distribute and modify it."
  15113. +
  15114. +ac_pwd='$ac_pwd'
  15115. +srcdir='$srcdir'
  15116. +INSTALL='$INSTALL'
  15117. +MKDIR_P='$MKDIR_P'
  15118. +AWK='$AWK'
  15119. +test -n "\$AWK" || AWK=awk
  15120. +_ACEOF
  15121. +
  15122. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15123. +# The default lists apply if the user does not specify any file.
  15124. +ac_need_defaults=:
  15125. +while test $# != 0
  15126. +do
  15127. + case $1 in
  15128. + --*=?*)
  15129. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  15130. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  15131. + ac_shift=:
  15132. + ;;
  15133. + --*=)
  15134. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  15135. + ac_optarg=
  15136. + ac_shift=:
  15137. + ;;
  15138. + *)
  15139. + ac_option=$1
  15140. + ac_optarg=$2
  15141. + ac_shift=shift
  15142. + ;;
  15143. + esac
  15144. +
  15145. + case $ac_option in
  15146. + # Handling of the options.
  15147. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  15148. + ac_cs_recheck=: ;;
  15149. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  15150. + $as_echo "$ac_cs_version"; exit ;;
  15151. + --config | --confi | --conf | --con | --co | --c )
  15152. + $as_echo "$ac_cs_config"; exit ;;
  15153. + --debug | --debu | --deb | --de | --d | -d )
  15154. + debug=: ;;
  15155. + --file | --fil | --fi | --f )
  15156. + $ac_shift
  15157. + case $ac_optarg in
  15158. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  15159. + '') as_fn_error $? "missing file argument" ;;
  15160. + esac
  15161. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  15162. + ac_need_defaults=false;;
  15163. + --header | --heade | --head | --hea )
  15164. + $ac_shift
  15165. + case $ac_optarg in
  15166. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  15167. + esac
  15168. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  15169. + ac_need_defaults=false;;
  15170. + --he | --h)
  15171. + # Conflict between --help and --header
  15172. + as_fn_error $? "ambiguous option: \`$1'
  15173. +Try \`$0 --help' for more information.";;
  15174. + --help | --hel | -h )
  15175. + $as_echo "$ac_cs_usage"; exit ;;
  15176. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  15177. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  15178. + ac_cs_silent=: ;;
  15179. +
  15180. + # This is an error.
  15181. + -*) as_fn_error $? "unrecognized option: \`$1'
  15182. +Try \`$0 --help' for more information." ;;
  15183. +
  15184. + *) as_fn_append ac_config_targets " $1"
  15185. + ac_need_defaults=false ;;
  15186. +
  15187. + esac
  15188. + shift
  15189. +done
  15190. +
  15191. +ac_configure_extra_args=
  15192. +
  15193. +if $ac_cs_silent; then
  15194. + exec 6>/dev/null
  15195. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  15196. +fi
  15197. +
  15198. +_ACEOF
  15199. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15200. +if \$ac_cs_recheck; then
  15201. + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  15202. + shift
  15203. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  15204. + CONFIG_SHELL='$SHELL'
  15205. + export CONFIG_SHELL
  15206. + exec "\$@"
  15207. +fi
  15208. +
  15209. +_ACEOF
  15210. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15211. +exec 5>>config.log
  15212. +{
  15213. + echo
  15214. + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
  15215. +@%:@@%:@ Running $as_me. @%:@@%:@
  15216. +_ASBOX
  15217. + $as_echo "$ac_log"
  15218. +} >&5
  15219. +
  15220. +_ACEOF
  15221. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15222. +#
  15223. +# INIT-COMMANDS
  15224. +#
  15225. +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  15226. +
  15227. +
  15228. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  15229. +# if CDPATH is set.
  15230. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  15231. +
  15232. +sed_quote_subst='$sed_quote_subst'
  15233. +double_quote_subst='$double_quote_subst'
  15234. +delay_variable_subst='$delay_variable_subst'
  15235. +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  15236. +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  15237. +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  15238. +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  15239. +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  15240. +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  15241. +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  15242. +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  15243. +PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
  15244. +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  15245. +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  15246. +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  15247. +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  15248. +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  15249. +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  15250. +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  15251. +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  15252. +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  15253. +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  15254. +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  15255. +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  15256. +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  15257. +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  15258. +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  15259. +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  15260. +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  15261. +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  15262. +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  15263. +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  15264. +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  15265. +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  15266. +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  15267. +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  15268. +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  15269. +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  15270. +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  15271. +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  15272. +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  15273. +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  15274. +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  15275. +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  15276. +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  15277. +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  15278. +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  15279. +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  15280. +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  15281. +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  15282. +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  15283. +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  15284. +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  15285. +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  15286. +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  15287. +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  15288. +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  15289. +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  15290. +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  15291. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
  15292. +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  15293. +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  15294. +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  15295. +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  15296. +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  15297. +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  15298. +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  15299. +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  15300. +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  15301. +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  15302. +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  15303. +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  15304. +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  15305. +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  15306. +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  15307. +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  15308. +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  15309. +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  15310. +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  15311. +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  15312. +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  15313. +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  15314. +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  15315. +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  15316. +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  15317. +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  15318. +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  15319. +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  15320. +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  15321. +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  15322. +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  15323. +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  15324. +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  15325. +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  15326. +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  15327. +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  15328. +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  15329. +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  15330. +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  15331. +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  15332. +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  15333. +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  15334. +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  15335. +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  15336. +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  15337. +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  15338. +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  15339. +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  15340. +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  15341. +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  15342. +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  15343. +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  15344. +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  15345. +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  15346. +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  15347. +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  15348. +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  15349. +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  15350. +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  15351. +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  15352. +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  15353. +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  15354. +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  15355. +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  15356. +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  15357. +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  15358. +sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
  15359. +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  15360. +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  15361. +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  15362. +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  15363. +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  15364. +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  15365. +
  15366. +LTCC='$LTCC'
  15367. +LTCFLAGS='$LTCFLAGS'
  15368. +compiler='$compiler_DEFAULT'
  15369. +
  15370. +# A function that is used when there is no print builtin or printf.
  15371. +func_fallback_echo ()
  15372. +{
  15373. + eval 'cat <<_LTECHO_EOF
  15374. +\$1
  15375. +_LTECHO_EOF'
  15376. +}
  15377. +
  15378. +# Quote evaled strings.
  15379. +for var in SHELL \
  15380. +ECHO \
  15381. +PATH_SEPARATOR \
  15382. +SED \
  15383. +GREP \
  15384. +EGREP \
  15385. +FGREP \
  15386. +LD \
  15387. +NM \
  15388. +LN_S \
  15389. +lt_SP2NL \
  15390. +lt_NL2SP \
  15391. +reload_flag \
  15392. +OBJDUMP \
  15393. +deplibs_check_method \
  15394. +file_magic_cmd \
  15395. +file_magic_glob \
  15396. +want_nocaseglob \
  15397. +DLLTOOL \
  15398. +sharedlib_from_linklib_cmd \
  15399. +AR \
  15400. +AR_FLAGS \
  15401. +archiver_list_spec \
  15402. +STRIP \
  15403. +RANLIB \
  15404. +CC \
  15405. +CFLAGS \
  15406. +compiler \
  15407. +lt_cv_sys_global_symbol_pipe \
  15408. +lt_cv_sys_global_symbol_to_cdecl \
  15409. +lt_cv_sys_global_symbol_to_c_name_address \
  15410. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  15411. +nm_file_list_spec \
  15412. +lt_prog_compiler_no_builtin_flag \
  15413. +lt_prog_compiler_pic \
  15414. +lt_prog_compiler_wl \
  15415. +lt_prog_compiler_static \
  15416. +lt_cv_prog_compiler_c_o \
  15417. +need_locks \
  15418. +MANIFEST_TOOL \
  15419. +DSYMUTIL \
  15420. +NMEDIT \
  15421. +LIPO \
  15422. +OTOOL \
  15423. +OTOOL64 \
  15424. +shrext_cmds \
  15425. +export_dynamic_flag_spec \
  15426. +whole_archive_flag_spec \
  15427. +compiler_needs_object \
  15428. +with_gnu_ld \
  15429. +allow_undefined_flag \
  15430. +no_undefined_flag \
  15431. +hardcode_libdir_flag_spec \
  15432. +hardcode_libdir_separator \
  15433. +exclude_expsyms \
  15434. +include_expsyms \
  15435. +file_list_spec \
  15436. +variables_saved_for_relink \
  15437. +libname_spec \
  15438. +library_names_spec \
  15439. +soname_spec \
  15440. +install_override_mode \
  15441. +finish_eval \
  15442. +old_striplib \
  15443. +striplib; do
  15444. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  15445. + *[\\\\\\\`\\"\\\$]*)
  15446. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  15447. + ;;
  15448. + *)
  15449. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  15450. + ;;
  15451. + esac
  15452. +done
  15453. +
  15454. +# Double-quote double-evaled strings.
  15455. +for var in reload_cmds \
  15456. +old_postinstall_cmds \
  15457. +old_postuninstall_cmds \
  15458. +old_archive_cmds \
  15459. +extract_expsyms_cmds \
  15460. +old_archive_from_new_cmds \
  15461. +old_archive_from_expsyms_cmds \
  15462. +archive_cmds \
  15463. +archive_expsym_cmds \
  15464. +module_cmds \
  15465. +module_expsym_cmds \
  15466. +export_symbols_cmds \
  15467. +prelink_cmds \
  15468. +postlink_cmds \
  15469. +postinstall_cmds \
  15470. +postuninstall_cmds \
  15471. +finish_cmds \
  15472. +sys_lib_search_path_spec \
  15473. +sys_lib_dlsearch_path_spec; do
  15474. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  15475. + *[\\\\\\\`\\"\\\$]*)
  15476. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  15477. + ;;
  15478. + *)
  15479. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  15480. + ;;
  15481. + esac
  15482. +done
  15483. +
  15484. +ac_aux_dir='$ac_aux_dir'
  15485. +xsi_shell='$xsi_shell'
  15486. +lt_shell_append='$lt_shell_append'
  15487. +
  15488. +# See if we are running on zsh, and set the options which allow our
  15489. +# commands through without removal of \ escapes INIT.
  15490. +if test -n "\${ZSH_VERSION+set}" ; then
  15491. + setopt NO_GLOB_SUBST
  15492. +fi
  15493. +
  15494. +
  15495. + PACKAGE='$PACKAGE'
  15496. + VERSION='$VERSION'
  15497. + TIMESTAMP='$TIMESTAMP'
  15498. + RM='$RM'
  15499. + ofile='$ofile'
  15500. +
  15501. +
  15502. +
  15503. +
  15504. +_ACEOF
  15505. +
  15506. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15507. +
  15508. +# Handling of arguments.
  15509. +for ac_config_target in $ac_config_targets
  15510. +do
  15511. + case $ac_config_target in
  15512. + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  15513. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  15514. + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  15515. + "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
  15516. + "include/ulogd/Makefile") CONFIG_FILES="$CONFIG_FILES include/ulogd/Makefile" ;;
  15517. + "include/libipulog/Makefile") CONFIG_FILES="$CONFIG_FILES include/libipulog/Makefile" ;;
  15518. + "include/linux/Makefile") CONFIG_FILES="$CONFIG_FILES include/linux/Makefile" ;;
  15519. + "include/linux/netfilter/Makefile") CONFIG_FILES="$CONFIG_FILES include/linux/netfilter/Makefile" ;;
  15520. + "libipulog/Makefile") CONFIG_FILES="$CONFIG_FILES libipulog/Makefile" ;;
  15521. + "input/Makefile") CONFIG_FILES="$CONFIG_FILES input/Makefile" ;;
  15522. + "input/packet/Makefile") CONFIG_FILES="$CONFIG_FILES input/packet/Makefile" ;;
  15523. + "input/flow/Makefile") CONFIG_FILES="$CONFIG_FILES input/flow/Makefile" ;;
  15524. + "input/sum/Makefile") CONFIG_FILES="$CONFIG_FILES input/sum/Makefile" ;;
  15525. + "filter/Makefile") CONFIG_FILES="$CONFIG_FILES filter/Makefile" ;;
  15526. + "filter/raw2packet/Makefile") CONFIG_FILES="$CONFIG_FILES filter/raw2packet/Makefile" ;;
  15527. + "filter/packet2flow/Makefile") CONFIG_FILES="$CONFIG_FILES filter/packet2flow/Makefile" ;;
  15528. + "output/Makefile") CONFIG_FILES="$CONFIG_FILES output/Makefile" ;;
  15529. + "output/pcap/Makefile") CONFIG_FILES="$CONFIG_FILES output/pcap/Makefile" ;;
  15530. + "output/mysql/Makefile") CONFIG_FILES="$CONFIG_FILES output/mysql/Makefile" ;;
  15531. + "output/pgsql/Makefile") CONFIG_FILES="$CONFIG_FILES output/pgsql/Makefile" ;;
  15532. + "output/sqlite3/Makefile") CONFIG_FILES="$CONFIG_FILES output/sqlite3/Makefile" ;;
  15533. + "output/dbi/Makefile") CONFIG_FILES="$CONFIG_FILES output/dbi/Makefile" ;;
  15534. + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  15535. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  15536. + "Rules.make") CONFIG_FILES="$CONFIG_FILES Rules.make" ;;
  15537. +
  15538. + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  15539. + esac
  15540. +done
  15541. +
  15542. +
  15543. +# If the user did not use the arguments to specify the items to instantiate,
  15544. +# then the envvar interface is used. Set only those that are not.
  15545. +# We use the long form for the default assignment because of an extremely
  15546. +# bizarre bug on SunOS 4.1.3.
  15547. +if $ac_need_defaults; then
  15548. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  15549. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  15550. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  15551. +fi
  15552. +
  15553. +# Have a temporary directory for convenience. Make it in the build tree
  15554. +# simply because there is no reason against having it here, and in addition,
  15555. +# creating and moving files from /tmp can sometimes cause problems.
  15556. +# Hook for its removal unless debugging.
  15557. +# Note that there is a small window in which the directory will not be cleaned:
  15558. +# after its creation but before its name has been assigned to `$tmp'.
  15559. +$debug ||
  15560. +{
  15561. + tmp= ac_tmp=
  15562. + trap 'exit_status=$?
  15563. + : "${ac_tmp:=$tmp}"
  15564. + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  15565. +' 0
  15566. + trap 'as_fn_exit 1' 1 2 13 15
  15567. +}
  15568. +# Create a (secure) tmp directory for tmp files.
  15569. +
  15570. +{
  15571. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  15572. + test -d "$tmp"
  15573. +} ||
  15574. +{
  15575. + tmp=./conf$$-$RANDOM
  15576. + (umask 077 && mkdir "$tmp")
  15577. +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  15578. +ac_tmp=$tmp
  15579. +
  15580. +# Set up the scripts for CONFIG_FILES section.
  15581. +# No need to generate them if there are no CONFIG_FILES.
  15582. +# This happens for instance with `./config.status config.h'.
  15583. +if test -n "$CONFIG_FILES"; then
  15584. +
  15585. +
  15586. +ac_cr=`echo X | tr X '\015'`
  15587. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  15588. +# But we know of no other shell where ac_cr would be empty at this
  15589. +# point, so we can use a bashism as a fallback.
  15590. +if test "x$ac_cr" = x; then
  15591. + eval ac_cr=\$\'\\r\'
  15592. +fi
  15593. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  15594. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  15595. + ac_cs_awk_cr='\\r'
  15596. +else
  15597. + ac_cs_awk_cr=$ac_cr
  15598. +fi
  15599. +
  15600. +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  15601. +_ACEOF
  15602. +
  15603. +
  15604. +{
  15605. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  15606. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  15607. + echo "_ACEOF"
  15608. +} >conf$$subs.sh ||
  15609. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  15610. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  15611. +ac_delim='%!_!# '
  15612. +for ac_last_try in false false false false false :; do
  15613. + . ./conf$$subs.sh ||
  15614. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  15615. +
  15616. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  15617. + if test $ac_delim_n = $ac_delim_num; then
  15618. + break
  15619. + elif $ac_last_try; then
  15620. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  15621. + else
  15622. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  15623. + fi
  15624. +done
  15625. +rm -f conf$$subs.sh
  15626. +
  15627. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15628. +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  15629. +_ACEOF
  15630. +sed -n '
  15631. +h
  15632. +s/^/S["/; s/!.*/"]=/
  15633. +p
  15634. +g
  15635. +s/^[^!]*!//
  15636. +:repl
  15637. +t repl
  15638. +s/'"$ac_delim"'$//
  15639. +t delim
  15640. +:nl
  15641. +h
  15642. +s/\(.\{148\}\)..*/\1/
  15643. +t more1
  15644. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  15645. +p
  15646. +n
  15647. +b repl
  15648. +:more1
  15649. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  15650. +p
  15651. +g
  15652. +s/.\{148\}//
  15653. +t nl
  15654. +:delim
  15655. +h
  15656. +s/\(.\{148\}\)..*/\1/
  15657. +t more2
  15658. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  15659. +p
  15660. +b
  15661. +:more2
  15662. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  15663. +p
  15664. +g
  15665. +s/.\{148\}//
  15666. +t delim
  15667. +' <conf$$subs.awk | sed '
  15668. +/^[^""]/{
  15669. + N
  15670. + s/\n//
  15671. +}
  15672. +' >>$CONFIG_STATUS || ac_write_fail=1
  15673. +rm -f conf$$subs.awk
  15674. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15675. +_ACAWK
  15676. +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  15677. + for (key in S) S_is_set[key] = 1
  15678. + FS = ""
  15679. +
  15680. +}
  15681. +{
  15682. + line = $ 0
  15683. + nfields = split(line, field, "@")
  15684. + substed = 0
  15685. + len = length(field[1])
  15686. + for (i = 2; i < nfields; i++) {
  15687. + key = field[i]
  15688. + keylen = length(key)
  15689. + if (S_is_set[key]) {
  15690. + value = S[key]
  15691. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  15692. + len += length(value) + length(field[++i])
  15693. + substed = 1
  15694. + } else
  15695. + len += 1 + keylen
  15696. + }
  15697. +
  15698. + print line
  15699. +}
  15700. +
  15701. +_ACAWK
  15702. +_ACEOF
  15703. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15704. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  15705. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  15706. +else
  15707. + cat
  15708. +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  15709. + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  15710. +_ACEOF
  15711. +
  15712. +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  15713. +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  15714. +# trailing colons and then remove the whole line if VPATH becomes empty
  15715. +# (actually we leave an empty line to preserve line numbers).
  15716. +if test "x$srcdir" = x.; then
  15717. + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  15718. +h
  15719. +s///
  15720. +s/^/:/
  15721. +s/[ ]*$/:/
  15722. +s/:\$(srcdir):/:/g
  15723. +s/:\${srcdir}:/:/g
  15724. +s/:@srcdir@:/:/g
  15725. +s/^:*//
  15726. +s/:*$//
  15727. +x
  15728. +s/\(=[ ]*\).*/\1/
  15729. +G
  15730. +s/\n//
  15731. +s/^[^=]*=[ ]*$//
  15732. +}'
  15733. +fi
  15734. +
  15735. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15736. +fi # test -n "$CONFIG_FILES"
  15737. +
  15738. +# Set up the scripts for CONFIG_HEADERS section.
  15739. +# No need to generate them if there are no CONFIG_HEADERS.
  15740. +# This happens for instance with `./config.status Makefile'.
  15741. +if test -n "$CONFIG_HEADERS"; then
  15742. +cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  15743. +BEGIN {
  15744. +_ACEOF
  15745. +
  15746. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  15747. +# here-document in config.status, that substitutes the proper values into
  15748. +# config.h.in to produce config.h.
  15749. +
  15750. +# Create a delimiter string that does not exist in confdefs.h, to ease
  15751. +# handling of long lines.
  15752. +ac_delim='%!_!# '
  15753. +for ac_last_try in false false :; do
  15754. + ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  15755. + if test -z "$ac_tt"; then
  15756. + break
  15757. + elif $ac_last_try; then
  15758. + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  15759. + else
  15760. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  15761. + fi
  15762. +done
  15763. +
  15764. +# For the awk script, D is an array of macro values keyed by name,
  15765. +# likewise P contains macro parameters if any. Preserve backslash
  15766. +# newline sequences.
  15767. +
  15768. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  15769. +sed -n '
  15770. +s/.\{148\}/&'"$ac_delim"'/g
  15771. +t rset
  15772. +:rset
  15773. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  15774. +t def
  15775. +d
  15776. +:def
  15777. +s/\\$//
  15778. +t bsnl
  15779. +s/["\\]/\\&/g
  15780. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  15781. +D["\1"]=" \3"/p
  15782. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  15783. +d
  15784. +:bsnl
  15785. +s/["\\]/\\&/g
  15786. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  15787. +D["\1"]=" \3\\\\\\n"\\/p
  15788. +t cont
  15789. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  15790. +t cont
  15791. +d
  15792. +:cont
  15793. +n
  15794. +s/.\{148\}/&'"$ac_delim"'/g
  15795. +t clear
  15796. +:clear
  15797. +s/\\$//
  15798. +t bsnlc
  15799. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  15800. +d
  15801. +:bsnlc
  15802. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  15803. +b cont
  15804. +' <confdefs.h | sed '
  15805. +s/'"$ac_delim"'/"\\\
  15806. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  15807. +
  15808. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15809. + for (key in D) D_is_set[key] = 1
  15810. + FS = ""
  15811. +}
  15812. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  15813. + line = \$ 0
  15814. + split(line, arg, " ")
  15815. + if (arg[1] == "#") {
  15816. + defundef = arg[2]
  15817. + mac1 = arg[3]
  15818. + } else {
  15819. + defundef = substr(arg[1], 2)
  15820. + mac1 = arg[2]
  15821. + }
  15822. + split(mac1, mac2, "(") #)
  15823. + macro = mac2[1]
  15824. + prefix = substr(line, 1, index(line, defundef) - 1)
  15825. + if (D_is_set[macro]) {
  15826. + # Preserve the white space surrounding the "#".
  15827. + print prefix "define", macro P[macro] D[macro]
  15828. + next
  15829. + } else {
  15830. + # Replace #undef with comments. This is necessary, for example,
  15831. + # in the case of _POSIX_SOURCE, which is predefined and required
  15832. + # on some systems where configure will not decide to define it.
  15833. + if (defundef == "undef") {
  15834. + print "/*", prefix defundef, macro, "*/"
  15835. + next
  15836. + }
  15837. + }
  15838. +}
  15839. +{ print }
  15840. +_ACAWK
  15841. +_ACEOF
  15842. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15843. + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  15844. +fi # test -n "$CONFIG_HEADERS"
  15845. +
  15846. +
  15847. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  15848. +shift
  15849. +for ac_tag
  15850. +do
  15851. + case $ac_tag in
  15852. + :[FHLC]) ac_mode=$ac_tag; continue;;
  15853. + esac
  15854. + case $ac_mode$ac_tag in
  15855. + :[FHL]*:*);;
  15856. + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  15857. + :[FH]-) ac_tag=-:-;;
  15858. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  15859. + esac
  15860. + ac_save_IFS=$IFS
  15861. + IFS=:
  15862. + set x $ac_tag
  15863. + IFS=$ac_save_IFS
  15864. + shift
  15865. + ac_file=$1
  15866. + shift
  15867. +
  15868. + case $ac_mode in
  15869. + :L) ac_source=$1;;
  15870. + :[FH])
  15871. + ac_file_inputs=
  15872. + for ac_f
  15873. + do
  15874. + case $ac_f in
  15875. + -) ac_f="$ac_tmp/stdin";;
  15876. + *) # Look for the file first in the build tree, then in the source tree
  15877. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  15878. + # because $ac_f cannot contain `:'.
  15879. + test -f "$ac_f" ||
  15880. + case $ac_f in
  15881. + [\\/$]*) false;;
  15882. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  15883. + esac ||
  15884. + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  15885. + esac
  15886. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  15887. + as_fn_append ac_file_inputs " '$ac_f'"
  15888. + done
  15889. +
  15890. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  15891. + # use $as_me), people would be surprised to read:
  15892. + # /* config.h. Generated by config.status. */
  15893. + configure_input='Generated from '`
  15894. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  15895. + `' by configure.'
  15896. + if test x"$ac_file" != x-; then
  15897. + configure_input="$ac_file. $configure_input"
  15898. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  15899. +$as_echo "$as_me: creating $ac_file" >&6;}
  15900. + fi
  15901. + # Neutralize special characters interpreted by sed in replacement strings.
  15902. + case $configure_input in #(
  15903. + *\&* | *\|* | *\\* )
  15904. + ac_sed_conf_input=`$as_echo "$configure_input" |
  15905. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  15906. + *) ac_sed_conf_input=$configure_input;;
  15907. + esac
  15908. +
  15909. + case $ac_tag in
  15910. + *:-:* | *:-) cat >"$ac_tmp/stdin" \
  15911. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  15912. + esac
  15913. + ;;
  15914. + esac
  15915. +
  15916. + ac_dir=`$as_dirname -- "$ac_file" ||
  15917. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  15918. + X"$ac_file" : 'X\(//\)[^/]' \| \
  15919. + X"$ac_file" : 'X\(//\)$' \| \
  15920. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  15921. +$as_echo X"$ac_file" |
  15922. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  15923. + s//\1/
  15924. + q
  15925. + }
  15926. + /^X\(\/\/\)[^/].*/{
  15927. + s//\1/
  15928. + q
  15929. + }
  15930. + /^X\(\/\/\)$/{
  15931. + s//\1/
  15932. + q
  15933. + }
  15934. + /^X\(\/\).*/{
  15935. + s//\1/
  15936. + q
  15937. + }
  15938. + s/.*/./; q'`
  15939. + as_dir="$ac_dir"; as_fn_mkdir_p
  15940. + ac_builddir=.
  15941. +
  15942. +case "$ac_dir" in
  15943. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  15944. +*)
  15945. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  15946. + # A ".." for each directory in $ac_dir_suffix.
  15947. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  15948. + case $ac_top_builddir_sub in
  15949. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  15950. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  15951. + esac ;;
  15952. +esac
  15953. +ac_abs_top_builddir=$ac_pwd
  15954. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  15955. +# for backward compatibility:
  15956. +ac_top_builddir=$ac_top_build_prefix
  15957. +
  15958. +case $srcdir in
  15959. + .) # We are building in place.
  15960. + ac_srcdir=.
  15961. + ac_top_srcdir=$ac_top_builddir_sub
  15962. + ac_abs_top_srcdir=$ac_pwd ;;
  15963. + [\\/]* | ?:[\\/]* ) # Absolute name.
  15964. + ac_srcdir=$srcdir$ac_dir_suffix;
  15965. + ac_top_srcdir=$srcdir
  15966. + ac_abs_top_srcdir=$srcdir ;;
  15967. + *) # Relative name.
  15968. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  15969. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  15970. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  15971. +esac
  15972. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  15973. +
  15974. +
  15975. + case $ac_mode in
  15976. + :F)
  15977. + #
  15978. + # CONFIG_FILE
  15979. + #
  15980. +
  15981. + case $INSTALL in
  15982. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  15983. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  15984. + esac
  15985. + ac_MKDIR_P=$MKDIR_P
  15986. + case $MKDIR_P in
  15987. + [\\/$]* | ?:[\\/]* ) ;;
  15988. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  15989. + esac
  15990. +_ACEOF
  15991. +
  15992. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15993. +# If the template does not know about datarootdir, expand it.
  15994. +# FIXME: This hack should be removed a few years after 2.60.
  15995. +ac_datarootdir_hack=; ac_datarootdir_seen=
  15996. +ac_sed_dataroot='
  15997. +/datarootdir/ {
  15998. + p
  15999. + q
  16000. +}
  16001. +/@datadir@/p
  16002. +/@docdir@/p
  16003. +/@infodir@/p
  16004. +/@localedir@/p
  16005. +/@mandir@/p'
  16006. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  16007. +*datarootdir*) ac_datarootdir_seen=yes;;
  16008. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  16009. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  16010. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  16011. +_ACEOF
  16012. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  16013. + ac_datarootdir_hack='
  16014. + s&@datadir@&$datadir&g
  16015. + s&@docdir@&$docdir&g
  16016. + s&@infodir@&$infodir&g
  16017. + s&@localedir@&$localedir&g
  16018. + s&@mandir@&$mandir&g
  16019. + s&\\\${datarootdir}&$datarootdir&g' ;;
  16020. +esac
  16021. +_ACEOF
  16022. +
  16023. +# Neutralize VPATH when `$srcdir' = `.'.
  16024. +# Shell code in configure.ac might set extrasub.
  16025. +# FIXME: do we really want to maintain this feature?
  16026. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  16027. +ac_sed_extra="$ac_vpsub
  16028. +$extrasub
  16029. +_ACEOF
  16030. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16031. +:t
  16032. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  16033. +s|@configure_input@|$ac_sed_conf_input|;t t
  16034. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  16035. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  16036. +s&@srcdir@&$ac_srcdir&;t t
  16037. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  16038. +s&@top_srcdir@&$ac_top_srcdir&;t t
  16039. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  16040. +s&@builddir@&$ac_builddir&;t t
  16041. +s&@abs_builddir@&$ac_abs_builddir&;t t
  16042. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  16043. +s&@INSTALL@&$ac_INSTALL&;t t
  16044. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  16045. +$ac_datarootdir_hack
  16046. +"
  16047. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  16048. + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  16049. +
  16050. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  16051. + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  16052. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  16053. + "$ac_tmp/out"`; test -z "$ac_out"; } &&
  16054. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  16055. +which seems to be undefined. Please make sure it is defined" >&5
  16056. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  16057. +which seems to be undefined. Please make sure it is defined" >&2;}
  16058. +
  16059. + rm -f "$ac_tmp/stdin"
  16060. + case $ac_file in
  16061. + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  16062. + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  16063. + esac \
  16064. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  16065. + ;;
  16066. + :H)
  16067. + #
  16068. + # CONFIG_HEADER
  16069. + #
  16070. + if test x"$ac_file" != x-; then
  16071. + {
  16072. + $as_echo "/* $configure_input */" \
  16073. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  16074. + } >"$ac_tmp/config.h" \
  16075. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  16076. + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  16077. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  16078. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  16079. + else
  16080. + rm -f "$ac_file"
  16081. + mv "$ac_tmp/config.h" "$ac_file" \
  16082. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  16083. + fi
  16084. + else
  16085. + $as_echo "/* $configure_input */" \
  16086. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  16087. + || as_fn_error $? "could not create -" "$LINENO" 5
  16088. + fi
  16089. +# Compute "$ac_file"'s index in $config_headers.
  16090. +_am_arg="$ac_file"
  16091. +_am_stamp_count=1
  16092. +for _am_header in $config_headers :; do
  16093. + case $_am_header in
  16094. + $_am_arg | $_am_arg:* )
  16095. + break ;;
  16096. + * )
  16097. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  16098. + esac
  16099. +done
  16100. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  16101. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  16102. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  16103. + X"$_am_arg" : 'X\(//\)$' \| \
  16104. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  16105. +$as_echo X"$_am_arg" |
  16106. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  16107. + s//\1/
  16108. + q
  16109. + }
  16110. + /^X\(\/\/\)[^/].*/{
  16111. + s//\1/
  16112. + q
  16113. + }
  16114. + /^X\(\/\/\)$/{
  16115. + s//\1/
  16116. + q
  16117. + }
  16118. + /^X\(\/\).*/{
  16119. + s//\1/
  16120. + q
  16121. + }
  16122. + s/.*/./; q'`/stamp-h$_am_stamp_count
  16123. + ;;
  16124. +
  16125. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  16126. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  16127. + ;;
  16128. + esac
  16129. +
  16130. +
  16131. + case $ac_file$ac_mode in
  16132. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  16133. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  16134. + # are listed without --file. Let's play safe and only enable the eval
  16135. + # if we detect the quoting.
  16136. + case $CONFIG_FILES in
  16137. + *\'*) eval set x "$CONFIG_FILES" ;;
  16138. + *) set x $CONFIG_FILES ;;
  16139. + esac
  16140. + shift
  16141. + for mf
  16142. + do
  16143. + # Strip MF so we end up with the name of the file.
  16144. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  16145. + # Check whether this is an Automake generated Makefile or not.
  16146. + # We used to match only the files named `Makefile.in', but
  16147. + # some people rename them; so instead we look at the file content.
  16148. + # Grep'ing the first line is not enough: some people post-process
  16149. + # each Makefile.in and add a new line on top of each file to say so.
  16150. + # Grep'ing the whole file is not good either: AIX grep has a line
  16151. + # limit of 2048, but all sed's we know have understand at least 4000.
  16152. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  16153. + dirpart=`$as_dirname -- "$mf" ||
  16154. +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  16155. + X"$mf" : 'X\(//\)[^/]' \| \
  16156. + X"$mf" : 'X\(//\)$' \| \
  16157. + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  16158. +$as_echo X"$mf" |
  16159. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  16160. + s//\1/
  16161. + q
  16162. + }
  16163. + /^X\(\/\/\)[^/].*/{
  16164. + s//\1/
  16165. + q
  16166. + }
  16167. + /^X\(\/\/\)$/{
  16168. + s//\1/
  16169. + q
  16170. + }
  16171. + /^X\(\/\).*/{
  16172. + s//\1/
  16173. + q
  16174. + }
  16175. + s/.*/./; q'`
  16176. + else
  16177. + continue
  16178. + fi
  16179. + # Extract the definition of DEPDIR, am__include, and am__quote
  16180. + # from the Makefile without running `make'.
  16181. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  16182. + test -z "$DEPDIR" && continue
  16183. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  16184. + test -z "am__include" && continue
  16185. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  16186. + # When using ansi2knr, U may be empty or an underscore; expand it
  16187. + U=`sed -n 's/^U = //p' < "$mf"`
  16188. + # Find all dependency output files, they are included files with
  16189. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  16190. + # simplest approach to changing $(DEPDIR) to its actual value in the
  16191. + # expansion.
  16192. + for file in `sed -n "
  16193. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  16194. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  16195. + # Make sure the directory exists.
  16196. + test -f "$dirpart/$file" && continue
  16197. + fdir=`$as_dirname -- "$file" ||
  16198. +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  16199. + X"$file" : 'X\(//\)[^/]' \| \
  16200. + X"$file" : 'X\(//\)$' \| \
  16201. + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  16202. +$as_echo X"$file" |
  16203. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  16204. + s//\1/
  16205. + q
  16206. + }
  16207. + /^X\(\/\/\)[^/].*/{
  16208. + s//\1/
  16209. + q
  16210. + }
  16211. + /^X\(\/\/\)$/{
  16212. + s//\1/
  16213. + q
  16214. + }
  16215. + /^X\(\/\).*/{
  16216. + s//\1/
  16217. + q
  16218. + }
  16219. + s/.*/./; q'`
  16220. + as_dir=$dirpart/$fdir; as_fn_mkdir_p
  16221. + # echo "creating $dirpart/$file"
  16222. + echo '# dummy' > "$dirpart/$file"
  16223. + done
  16224. + done
  16225. +}
  16226. + ;;
  16227. + "libtool":C)
  16228. +
  16229. + # See if we are running on zsh, and set the options which allow our
  16230. + # commands through without removal of \ escapes.
  16231. + if test -n "${ZSH_VERSION+set}" ; then
  16232. + setopt NO_GLOB_SUBST
  16233. + fi
  16234. +
  16235. + cfgfile="${ofile}T"
  16236. + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  16237. + $RM "$cfgfile"
  16238. +
  16239. + cat <<_LT_EOF >> "$cfgfile"
  16240. +#! $SHELL
  16241. +
  16242. +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  16243. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  16244. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  16245. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  16246. +#
  16247. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  16248. +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  16249. +# Foundation, Inc.
  16250. +# Written by Gordon Matzigkeit, 1996
  16251. +#
  16252. +# This file is part of GNU Libtool.
  16253. +#
  16254. +# GNU Libtool is free software; you can redistribute it and/or
  16255. +# modify it under the terms of the GNU General Public License as
  16256. +# published by the Free Software Foundation; either version 2 of
  16257. +# the License, or (at your option) any later version.
  16258. +#
  16259. +# As a special exception to the GNU General Public License,
  16260. +# if you distribute this file as part of a program or library that
  16261. +# is built using GNU Libtool, you may include this file under the
  16262. +# same distribution terms that you use for the rest of that program.
  16263. +#
  16264. +# GNU Libtool is distributed in the hope that it will be useful,
  16265. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  16266. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16267. +# GNU General Public License for more details.
  16268. +#
  16269. +# You should have received a copy of the GNU General Public License
  16270. +# along with GNU Libtool; see the file COPYING. If not, a copy
  16271. +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  16272. +# obtained by writing to the Free Software Foundation, Inc.,
  16273. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  16274. +
  16275. +
  16276. +# The names of the tagged configurations supported by this script.
  16277. +available_tags=""
  16278. +
  16279. +# ### BEGIN LIBTOOL CONFIG
  16280. +
  16281. +# Whether or not to build static libraries.
  16282. +build_old_libs=$enable_static
  16283. +
  16284. +# Which release of libtool.m4 was used?
  16285. +macro_version=$macro_version
  16286. +macro_revision=$macro_revision
  16287. +
  16288. +# Whether or not to build shared libraries.
  16289. +build_libtool_libs=$enable_shared
  16290. +
  16291. +# What type of objects to build.
  16292. +pic_mode=$pic_mode
  16293. +
  16294. +# Whether or not to optimize for fast installation.
  16295. +fast_install=$enable_fast_install
  16296. +
  16297. +# Shell to use when invoking shell scripts.
  16298. +SHELL=$lt_SHELL
  16299. +
  16300. +# An echo program that protects backslashes.
  16301. +ECHO=$lt_ECHO
  16302. +
  16303. +# The PATH separator for the build system.
  16304. +PATH_SEPARATOR=$lt_PATH_SEPARATOR
  16305. +
  16306. +# The host system.
  16307. +host_alias=$host_alias
  16308. +host=$host
  16309. +host_os=$host_os
  16310. +
  16311. +# The build system.
  16312. +build_alias=$build_alias
  16313. +build=$build
  16314. +build_os=$build_os
  16315. +
  16316. +# A sed program that does not truncate output.
  16317. +SED=$lt_SED
  16318. +
  16319. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  16320. +Xsed="\$SED -e 1s/^X//"
  16321. +
  16322. +# A grep program that handles long lines.
  16323. +GREP=$lt_GREP
  16324. +
  16325. +# An ERE matcher.
  16326. +EGREP=$lt_EGREP
  16327. +
  16328. +# A literal string matcher.
  16329. +FGREP=$lt_FGREP
  16330. +
  16331. +# A BSD- or MS-compatible name lister.
  16332. +NM=$lt_NM
  16333. +
  16334. +# Whether we need soft or hard links.
  16335. +LN_S=$lt_LN_S
  16336. +
  16337. +# What is the maximum length of a command?
  16338. +max_cmd_len=$max_cmd_len
  16339. +
  16340. +# Object file suffix (normally "o").
  16341. +objext=$ac_objext
  16342. +
  16343. +# Executable file suffix (normally "").
  16344. +exeext=$exeext
  16345. +
  16346. +# whether the shell understands "unset".
  16347. +lt_unset=$lt_unset
  16348. +
  16349. +# turn spaces into newlines.
  16350. +SP2NL=$lt_lt_SP2NL
  16351. +
  16352. +# turn newlines into spaces.
  16353. +NL2SP=$lt_lt_NL2SP
  16354. +
  16355. +# convert \$build file names to \$host format.
  16356. +to_host_file_cmd=$lt_cv_to_host_file_cmd
  16357. +
  16358. +# convert \$build files to toolchain format.
  16359. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  16360. +
  16361. +# An object symbol dumper.
  16362. +OBJDUMP=$lt_OBJDUMP
  16363. +
  16364. +# Method to check whether dependent libraries are shared objects.
  16365. +deplibs_check_method=$lt_deplibs_check_method
  16366. +
  16367. +# Command to use when deplibs_check_method = "file_magic".
  16368. +file_magic_cmd=$lt_file_magic_cmd
  16369. +
  16370. +# How to find potential files when deplibs_check_method = "file_magic".
  16371. +file_magic_glob=$lt_file_magic_glob
  16372. +
  16373. +# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  16374. +want_nocaseglob=$lt_want_nocaseglob
  16375. +
  16376. +# DLL creation program.
  16377. +DLLTOOL=$lt_DLLTOOL
  16378. +
  16379. +# Command to associate shared and link libraries.
  16380. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  16381. +
  16382. +# The archiver.
  16383. +AR=$lt_AR
  16384. +
  16385. +# Flags to create an archive.
  16386. +AR_FLAGS=$lt_AR_FLAGS
  16387. +
  16388. +# How to feed a file listing to the archiver.
  16389. +archiver_list_spec=$lt_archiver_list_spec
  16390. +
  16391. +# A symbol stripping program.
  16392. +STRIP=$lt_STRIP
  16393. +
  16394. +# Commands used to install an old-style archive.
  16395. +RANLIB=$lt_RANLIB
  16396. +old_postinstall_cmds=$lt_old_postinstall_cmds
  16397. +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  16398. +
  16399. +# Whether to use a lock for old archive extraction.
  16400. +lock_old_archive_extraction=$lock_old_archive_extraction
  16401. +
  16402. +# A C compiler.
  16403. +LTCC=$lt_CC
  16404. +
  16405. +# LTCC compiler flags.
  16406. +LTCFLAGS=$lt_CFLAGS
  16407. +
  16408. +# Take the output of nm and produce a listing of raw symbols and C names.
  16409. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  16410. +
  16411. +# Transform the output of nm in a proper C declaration.
  16412. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  16413. +
  16414. +# Transform the output of nm in a C name address pair.
  16415. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  16416. +
  16417. +# Transform the output of nm in a C name address pair when lib prefix is needed.
  16418. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  16419. +
  16420. +# Specify filename containing input files for \$NM.
  16421. +nm_file_list_spec=$lt_nm_file_list_spec
  16422. +
  16423. +# The root where to search for dependent libraries,and in which our libraries should be installed.
  16424. +lt_sysroot=$lt_sysroot
  16425. +
  16426. +# The name of the directory that contains temporary libtool files.
  16427. +objdir=$objdir
  16428. +
  16429. +# Used to examine libraries when file_magic_cmd begins with "file".
  16430. +MAGIC_CMD=$MAGIC_CMD
  16431. +
  16432. +# Must we lock files when doing compilation?
  16433. +need_locks=$lt_need_locks
  16434. +
  16435. +# Manifest tool.
  16436. +MANIFEST_TOOL=$lt_MANIFEST_TOOL
  16437. +
  16438. +# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  16439. +DSYMUTIL=$lt_DSYMUTIL
  16440. +
  16441. +# Tool to change global to local symbols on Mac OS X.
  16442. +NMEDIT=$lt_NMEDIT
  16443. +
  16444. +# Tool to manipulate fat objects and archives on Mac OS X.
  16445. +LIPO=$lt_LIPO
  16446. +
  16447. +# ldd/readelf like tool for Mach-O binaries on Mac OS X.
  16448. +OTOOL=$lt_OTOOL
  16449. +
  16450. +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  16451. +OTOOL64=$lt_OTOOL64
  16452. +
  16453. +# Old archive suffix (normally "a").
  16454. +libext=$libext
  16455. +
  16456. +# Shared library suffix (normally ".so").
  16457. +shrext_cmds=$lt_shrext_cmds
  16458. +
  16459. +# The commands to extract the exported symbol list from a shared archive.
  16460. +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  16461. +
  16462. +# Variables whose values should be saved in libtool wrapper scripts and
  16463. +# restored at link time.
  16464. +variables_saved_for_relink=$lt_variables_saved_for_relink
  16465. +
  16466. +# Do we need the "lib" prefix for modules?
  16467. +need_lib_prefix=$need_lib_prefix
  16468. +
  16469. +# Do we need a version for libraries?
  16470. +need_version=$need_version
  16471. +
  16472. +# Library versioning type.
  16473. +version_type=$version_type
  16474. +
  16475. +# Shared library runtime path variable.
  16476. +runpath_var=$runpath_var
  16477. +
  16478. +# Shared library path variable.
  16479. +shlibpath_var=$shlibpath_var
  16480. +
  16481. +# Is shlibpath searched before the hard-coded library search path?
  16482. +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  16483. +
  16484. +# Format of library name prefix.
  16485. +libname_spec=$lt_libname_spec
  16486. +
  16487. +# List of archive names. First name is the real one, the rest are links.
  16488. +# The last name is the one that the linker finds with -lNAME
  16489. +library_names_spec=$lt_library_names_spec
  16490. +
  16491. +# The coded name of the library, if different from the real name.
  16492. +soname_spec=$lt_soname_spec
  16493. +
  16494. +# Permission mode override for installation of shared libraries.
  16495. +install_override_mode=$lt_install_override_mode
  16496. +
  16497. +# Command to use after installation of a shared archive.
  16498. +postinstall_cmds=$lt_postinstall_cmds
  16499. +
  16500. +# Command to use after uninstallation of a shared archive.
  16501. +postuninstall_cmds=$lt_postuninstall_cmds
  16502. +
  16503. +# Commands used to finish a libtool library installation in a directory.
  16504. +finish_cmds=$lt_finish_cmds
  16505. +
  16506. +# As "finish_cmds", except a single script fragment to be evaled but
  16507. +# not shown.
  16508. +finish_eval=$lt_finish_eval
  16509. +
  16510. +# Whether we should hardcode library paths into libraries.
  16511. +hardcode_into_libs=$hardcode_into_libs
  16512. +
  16513. +# Compile-time system search path for libraries.
  16514. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  16515. +
  16516. +# Run-time system search path for libraries.
  16517. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  16518. +
  16519. +# Whether dlopen is supported.
  16520. +dlopen_support=$enable_dlopen
  16521. +
  16522. +# Whether dlopen of programs is supported.
  16523. +dlopen_self=$enable_dlopen_self
  16524. +
  16525. +# Whether dlopen of statically linked programs is supported.
  16526. +dlopen_self_static=$enable_dlopen_self_static
  16527. +
  16528. +# Commands to strip libraries.
  16529. +old_striplib=$lt_old_striplib
  16530. +striplib=$lt_striplib
  16531. +
  16532. +
  16533. +# The linker used to build libraries.
  16534. +LD=$lt_LD
  16535. +
  16536. +# How to create reloadable object files.
  16537. +reload_flag=$lt_reload_flag
  16538. +reload_cmds=$lt_reload_cmds
  16539. +
  16540. +# Commands used to build an old-style archive.
  16541. +old_archive_cmds=$lt_old_archive_cmds
  16542. +
  16543. +# A language specific compiler.
  16544. +CC=$lt_compiler
  16545. +
  16546. +# Is the compiler the GNU compiler?
  16547. +with_gcc=$GCC
  16548. +
  16549. +# Compiler flag to turn off builtin functions.
  16550. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  16551. +
  16552. +# Additional compiler flags for building library objects.
  16553. +pic_flag=$lt_lt_prog_compiler_pic
  16554. +
  16555. +# How to pass a linker flag through the compiler.
  16556. +wl=$lt_lt_prog_compiler_wl
  16557. +
  16558. +# Compiler flag to prevent dynamic linking.
  16559. +link_static_flag=$lt_lt_prog_compiler_static
  16560. +
  16561. +# Does compiler simultaneously support -c and -o options?
  16562. +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  16563. +
  16564. +# Whether or not to add -lc for building shared libraries.
  16565. +build_libtool_need_lc=$archive_cmds_need_lc
  16566. +
  16567. +# Whether or not to disallow shared libs when runtime libs are static.
  16568. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  16569. +
  16570. +# Compiler flag to allow reflexive dlopens.
  16571. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  16572. +
  16573. +# Compiler flag to generate shared objects directly from archives.
  16574. +whole_archive_flag_spec=$lt_whole_archive_flag_spec
  16575. +
  16576. +# Whether the compiler copes with passing no objects directly.
  16577. +compiler_needs_object=$lt_compiler_needs_object
  16578. +
  16579. +# Create an old-style archive from a shared archive.
  16580. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  16581. +
  16582. +# Create a temporary old-style archive to link instead of a shared archive.
  16583. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  16584. +
  16585. +# Commands used to build a shared archive.
  16586. +archive_cmds=$lt_archive_cmds
  16587. +archive_expsym_cmds=$lt_archive_expsym_cmds
  16588. +
  16589. +# Commands used to build a loadable module if different from building
  16590. +# a shared archive.
  16591. +module_cmds=$lt_module_cmds
  16592. +module_expsym_cmds=$lt_module_expsym_cmds
  16593. +
  16594. +# Whether we are building with GNU ld or not.
  16595. +with_gnu_ld=$lt_with_gnu_ld
  16596. +
  16597. +# Flag that allows shared libraries with undefined symbols to be built.
  16598. +allow_undefined_flag=$lt_allow_undefined_flag
  16599. +
  16600. +# Flag that enforces no undefined symbols.
  16601. +no_undefined_flag=$lt_no_undefined_flag
  16602. +
  16603. +# Flag to hardcode \$libdir into a binary during linking.
  16604. +# This must work even if \$libdir does not exist
  16605. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  16606. +
  16607. +# Whether we need a single "-rpath" flag with a separated argument.
  16608. +hardcode_libdir_separator=$lt_hardcode_libdir_separator
  16609. +
  16610. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  16611. +# DIR into the resulting binary.
  16612. +hardcode_direct=$hardcode_direct
  16613. +
  16614. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  16615. +# DIR into the resulting binary and the resulting library dependency is
  16616. +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  16617. +# library is relocated.
  16618. +hardcode_direct_absolute=$hardcode_direct_absolute
  16619. +
  16620. +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  16621. +# into the resulting binary.
  16622. +hardcode_minus_L=$hardcode_minus_L
  16623. +
  16624. +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  16625. +# into the resulting binary.
  16626. +hardcode_shlibpath_var=$hardcode_shlibpath_var
  16627. +
  16628. +# Set to "yes" if building a shared library automatically hardcodes DIR
  16629. +# into the library and all subsequent libraries and executables linked
  16630. +# against it.
  16631. +hardcode_automatic=$hardcode_automatic
  16632. +
  16633. +# Set to yes if linker adds runtime paths of dependent libraries
  16634. +# to runtime path list.
  16635. +inherit_rpath=$inherit_rpath
  16636. +
  16637. +# Whether libtool must link a program against all its dependency libraries.
  16638. +link_all_deplibs=$link_all_deplibs
  16639. +
  16640. +# Set to "yes" if exported symbols are required.
  16641. +always_export_symbols=$always_export_symbols
  16642. +
  16643. +# The commands to list exported symbols.
  16644. +export_symbols_cmds=$lt_export_symbols_cmds
  16645. +
  16646. +# Symbols that should not be listed in the preloaded symbols.
  16647. +exclude_expsyms=$lt_exclude_expsyms
  16648. +
  16649. +# Symbols that must always be exported.
  16650. +include_expsyms=$lt_include_expsyms
  16651. +
  16652. +# Commands necessary for linking programs (against libraries) with templates.
  16653. +prelink_cmds=$lt_prelink_cmds
  16654. +
  16655. +# Commands necessary for finishing linking programs.
  16656. +postlink_cmds=$lt_postlink_cmds
  16657. +
  16658. +# Specify filename containing input files.
  16659. +file_list_spec=$lt_file_list_spec
  16660. +
  16661. +# How to hardcode a shared library path into an executable.
  16662. +hardcode_action=$hardcode_action
  16663. +
  16664. +# ### END LIBTOOL CONFIG
  16665. +
  16666. +_LT_EOF
  16667. +
  16668. + case $host_os in
  16669. + aix3*)
  16670. + cat <<\_LT_EOF >> "$cfgfile"
  16671. +# AIX sometimes has problems with the GCC collect2 program. For some
  16672. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  16673. +# vanish in a puff of smoke.
  16674. +if test "X${COLLECT_NAMES+set}" != Xset; then
  16675. + COLLECT_NAMES=
  16676. + export COLLECT_NAMES
  16677. +fi
  16678. +_LT_EOF
  16679. + ;;
  16680. + esac
  16681. +
  16682. +
  16683. +ltmain="$ac_aux_dir/ltmain.sh"
  16684. +
  16685. +
  16686. + # We use sed instead of cat because bash on DJGPP gets confused if
  16687. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  16688. + # text mode, it properly converts lines to CR/LF. This bash problem
  16689. + # is reportedly fixed, but why not run on old versions too?
  16690. + sed '$q' "$ltmain" >> "$cfgfile" \
  16691. + || (rm -f "$cfgfile"; exit 1)
  16692. +
  16693. + if test x"$xsi_shell" = xyes; then
  16694. + sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
  16695. +func_dirname ()\
  16696. +{\
  16697. +\ case ${1} in\
  16698. +\ */*) func_dirname_result="${1%/*}${2}" ;;\
  16699. +\ * ) func_dirname_result="${3}" ;;\
  16700. +\ esac\
  16701. +} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
  16702. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  16703. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  16704. +test 0 -eq $? || _lt_function_replace_fail=:
  16705. +
  16706. +
  16707. + sed -e '/^func_basename ()$/,/^} # func_basename /c\
  16708. +func_basename ()\
  16709. +{\
  16710. +\ func_basename_result="${1##*/}"\
  16711. +} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
  16712. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  16713. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  16714. +test 0 -eq $? || _lt_function_replace_fail=:
  16715. +
  16716. +
  16717. + sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
  16718. +func_dirname_and_basename ()\
  16719. +{\
  16720. +\ case ${1} in\
  16721. +\ */*) func_dirname_result="${1%/*}${2}" ;;\
  16722. +\ * ) func_dirname_result="${3}" ;;\
  16723. +\ esac\
  16724. +\ func_basename_result="${1##*/}"\
  16725. +} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
  16726. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  16727. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  16728. +test 0 -eq $? || _lt_function_replace_fail=:
  16729. +
  16730. +
  16731. + sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
  16732. +func_stripname ()\
  16733. +{\
  16734. +\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
  16735. +\ # positional parameters, so assign one to ordinary parameter first.\
  16736. +\ func_stripname_result=${3}\
  16737. +\ func_stripname_result=${func_stripname_result#"${1}"}\
  16738. +\ func_stripname_result=${func_stripname_result%"${2}"}\
  16739. +} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
  16740. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  16741. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  16742. +test 0 -eq $? || _lt_function_replace_fail=:
  16743. +
  16744. +
  16745. + sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
  16746. +func_split_long_opt ()\
  16747. +{\
  16748. +\ func_split_long_opt_name=${1%%=*}\
  16749. +\ func_split_long_opt_arg=${1#*=}\
  16750. +} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
  16751. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  16752. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  16753. +test 0 -eq $? || _lt_function_replace_fail=:
  16754. +
  16755. +
  16756. + sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
  16757. +func_split_short_opt ()\
  16758. +{\
  16759. +\ func_split_short_opt_arg=${1#??}\
  16760. +\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
  16761. +} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
  16762. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  16763. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  16764. +test 0 -eq $? || _lt_function_replace_fail=:
  16765. +
  16766. +
  16767. + sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
  16768. +func_lo2o ()\
  16769. +{\
  16770. +\ case ${1} in\
  16771. +\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
  16772. +\ *) func_lo2o_result=${1} ;;\
  16773. +\ esac\
  16774. +} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
  16775. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  16776. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  16777. +test 0 -eq $? || _lt_function_replace_fail=:
  16778. +
  16779. +
  16780. + sed -e '/^func_xform ()$/,/^} # func_xform /c\
  16781. +func_xform ()\
  16782. +{\
  16783. + func_xform_result=${1%.*}.lo\
  16784. +} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
  16785. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  16786. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  16787. +test 0 -eq $? || _lt_function_replace_fail=:
  16788. +
  16789. +
  16790. + sed -e '/^func_arith ()$/,/^} # func_arith /c\
  16791. +func_arith ()\
  16792. +{\
  16793. + func_arith_result=$(( $* ))\
  16794. +} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
  16795. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  16796. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  16797. +test 0 -eq $? || _lt_function_replace_fail=:
  16798. +
  16799. +
  16800. + sed -e '/^func_len ()$/,/^} # func_len /c\
  16801. +func_len ()\
  16802. +{\
  16803. + func_len_result=${#1}\
  16804. +} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
  16805. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  16806. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  16807. +test 0 -eq $? || _lt_function_replace_fail=:
  16808. +
  16809. +fi
  16810. +
  16811. +if test x"$lt_shell_append" = xyes; then
  16812. + sed -e '/^func_append ()$/,/^} # func_append /c\
  16813. +func_append ()\
  16814. +{\
  16815. + eval "${1}+=\\${2}"\
  16816. +} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
  16817. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  16818. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  16819. +test 0 -eq $? || _lt_function_replace_fail=:
  16820. +
  16821. +
  16822. + sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
  16823. +func_append_quoted ()\
  16824. +{\
  16825. +\ func_quote_for_eval "${2}"\
  16826. +\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
  16827. +} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
  16828. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  16829. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  16830. +test 0 -eq $? || _lt_function_replace_fail=:
  16831. +
  16832. +
  16833. + # Save a `func_append' function call where possible by direct use of '+='
  16834. + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
  16835. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  16836. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  16837. + test 0 -eq $? || _lt_function_replace_fail=:
  16838. +else
  16839. + # Save a `func_append' function call even when '+=' is not available
  16840. + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
  16841. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  16842. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  16843. + test 0 -eq $? || _lt_function_replace_fail=:
  16844. +fi
  16845. +
  16846. +if test x"$_lt_function_replace_fail" = x":"; then
  16847. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
  16848. +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
  16849. +fi
  16850. +
  16851. +
  16852. + mv -f "$cfgfile" "$ofile" ||
  16853. + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  16854. + chmod +x "$ofile"
  16855. +
  16856. + ;;
  16857. +
  16858. + esac
  16859. +done # for ac_tag
  16860. +
  16861. +
  16862. +as_fn_exit 0
  16863. +_ACEOF
  16864. +ac_clean_files=$ac_clean_files_save
  16865. +
  16866. +test $ac_write_fail = 0 ||
  16867. + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  16868. +
  16869. +
  16870. +# configure is writing to config.log, and then calls config.status.
  16871. +# config.status does its own redirection, appending to config.log.
  16872. +# Unfortunately, on DOS this fails, as config.log is still kept open
  16873. +# by configure, so config.status won't be able to write to it; its
  16874. +# output is simply discarded. So we exec the FD to /dev/null,
  16875. +# effectively closing config.log, so it can be properly (re)opened and
  16876. +# appended to by config.status. When coming back to configure, we
  16877. +# need to make the FD available again.
  16878. +if test "$no_create" != yes; then
  16879. + ac_cs_success=:
  16880. + ac_config_status_args=
  16881. + test "$silent" = yes &&
  16882. + ac_config_status_args="$ac_config_status_args --quiet"
  16883. + exec 5>/dev/null
  16884. + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  16885. + exec 5>>config.log
  16886. + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  16887. + # would make configure fail if this is the last instruction.
  16888. + $ac_cs_success || as_fn_exit 1
  16889. +fi
  16890. +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  16891. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  16892. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  16893. +fi
  16894. +
  16895. +
  16896. +echo "
  16897. +Ulogd configuration:
  16898. + Input plugins:
  16899. + NFLOG plugin: ${enable_nflog}
  16900. + NFCT plugin: ${enable_nfct}
  16901. + NFACCT plugin: ${enable_nfacct}
  16902. + Output plugins:
  16903. + PCAP plugin: ${enable_pcap}
  16904. + PGSQL plugin: ${enable_pgsql}
  16905. + MySQL plugin: ${enable_mysql}
  16906. + SQLITE3 plugin: ${enable_sqlite3}
  16907. + DBI plugin: ${enable_dbi}
  16908. +"
  16909. +echo "You can now run 'make' and 'make install'"
  16910. diff -Nur ulogd-2.0.2.orig/autom4te.cache/output.1 ulogd-2.0.2/autom4te.cache/output.1
  16911. --- ulogd-2.0.2.orig/autom4te.cache/output.1 1970-01-01 01:00:00.000000000 +0100
  16912. +++ ulogd-2.0.2/autom4te.cache/output.1 2013-08-21 19:34:26.292620553 +0200
  16913. @@ -0,0 +1,16870 @@
  16914. +@%:@! /bin/sh
  16915. +@%:@ Guess values for system-dependent variables and create Makefiles.
  16916. +@%:@ Generated by GNU Autoconf 2.68 for ulogd 2.0.2.
  16917. +@%:@
  16918. +@%:@
  16919. +@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  16920. +@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
  16921. +@%:@ Foundation, Inc.
  16922. +@%:@
  16923. +@%:@
  16924. +@%:@ This configure script is free software; the Free Software Foundation
  16925. +@%:@ gives unlimited permission to copy, distribute and modify it.
  16926. +## -------------------- ##
  16927. +## M4sh Initialization. ##
  16928. +## -------------------- ##
  16929. +
  16930. +# Be more Bourne compatible
  16931. +DUALCASE=1; export DUALCASE # for MKS sh
  16932. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  16933. + emulate sh
  16934. + NULLCMD=:
  16935. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  16936. + # is contrary to our usage. Disable this feature.
  16937. + alias -g '${1+"$@"}'='"$@"'
  16938. + setopt NO_GLOB_SUBST
  16939. +else
  16940. + case `(set -o) 2>/dev/null` in @%:@(
  16941. + *posix*) :
  16942. + set -o posix ;; @%:@(
  16943. + *) :
  16944. + ;;
  16945. +esac
  16946. +fi
  16947. +
  16948. +
  16949. +as_nl='
  16950. +'
  16951. +export as_nl
  16952. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  16953. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  16954. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  16955. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  16956. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  16957. +# but without wasting forks for bash or zsh.
  16958. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  16959. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  16960. + as_echo='print -r --'
  16961. + as_echo_n='print -rn --'
  16962. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  16963. + as_echo='printf %s\n'
  16964. + as_echo_n='printf %s'
  16965. +else
  16966. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  16967. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  16968. + as_echo_n='/usr/ucb/echo -n'
  16969. + else
  16970. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  16971. + as_echo_n_body='eval
  16972. + arg=$1;
  16973. + case $arg in @%:@(
  16974. + *"$as_nl"*)
  16975. + expr "X$arg" : "X\\(.*\\)$as_nl";
  16976. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  16977. + esac;
  16978. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  16979. + '
  16980. + export as_echo_n_body
  16981. + as_echo_n='sh -c $as_echo_n_body as_echo'
  16982. + fi
  16983. + export as_echo_body
  16984. + as_echo='sh -c $as_echo_body as_echo'
  16985. +fi
  16986. +
  16987. +# The user is always right.
  16988. +if test "${PATH_SEPARATOR+set}" != set; then
  16989. + PATH_SEPARATOR=:
  16990. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  16991. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  16992. + PATH_SEPARATOR=';'
  16993. + }
  16994. +fi
  16995. +
  16996. +
  16997. +# IFS
  16998. +# We need space, tab and new line, in precisely that order. Quoting is
  16999. +# there to prevent editors from complaining about space-tab.
  17000. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  17001. +# splitting by setting IFS to empty value.)
  17002. +IFS=" "" $as_nl"
  17003. +
  17004. +# Find who we are. Look in the path if we contain no directory separator.
  17005. +as_myself=
  17006. +case $0 in @%:@((
  17007. + *[\\/]* ) as_myself=$0 ;;
  17008. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17009. +for as_dir in $PATH
  17010. +do
  17011. + IFS=$as_save_IFS
  17012. + test -z "$as_dir" && as_dir=.
  17013. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  17014. + done
  17015. +IFS=$as_save_IFS
  17016. +
  17017. + ;;
  17018. +esac
  17019. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  17020. +# in which case we are not to be found in the path.
  17021. +if test "x$as_myself" = x; then
  17022. + as_myself=$0
  17023. +fi
  17024. +if test ! -f "$as_myself"; then
  17025. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  17026. + exit 1
  17027. +fi
  17028. +
  17029. +# Unset variables that we do not need and which cause bugs (e.g. in
  17030. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  17031. +# suppresses any "Segmentation fault" message there. '((' could
  17032. +# trigger a bug in pdksh 5.2.14.
  17033. +for as_var in BASH_ENV ENV MAIL MAILPATH
  17034. +do eval test x\${$as_var+set} = xset \
  17035. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  17036. +done
  17037. +PS1='$ '
  17038. +PS2='> '
  17039. +PS4='+ '
  17040. +
  17041. +# NLS nuisances.
  17042. +LC_ALL=C
  17043. +export LC_ALL
  17044. +LANGUAGE=C
  17045. +export LANGUAGE
  17046. +
  17047. +# CDPATH.
  17048. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  17049. +
  17050. +if test "x$CONFIG_SHELL" = x; then
  17051. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  17052. + emulate sh
  17053. + NULLCMD=:
  17054. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  17055. + # is contrary to our usage. Disable this feature.
  17056. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  17057. + setopt NO_GLOB_SUBST
  17058. +else
  17059. + case \`(set -o) 2>/dev/null\` in @%:@(
  17060. + *posix*) :
  17061. + set -o posix ;; @%:@(
  17062. + *) :
  17063. + ;;
  17064. +esac
  17065. +fi
  17066. +"
  17067. + as_required="as_fn_return () { (exit \$1); }
  17068. +as_fn_success () { as_fn_return 0; }
  17069. +as_fn_failure () { as_fn_return 1; }
  17070. +as_fn_ret_success () { return 0; }
  17071. +as_fn_ret_failure () { return 1; }
  17072. +
  17073. +exitcode=0
  17074. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  17075. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  17076. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  17077. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  17078. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  17079. +
  17080. +else
  17081. + exitcode=1; echo positional parameters were not saved.
  17082. +fi
  17083. +test x\$exitcode = x0 || exit 1"
  17084. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  17085. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  17086. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  17087. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  17088. +
  17089. + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  17090. + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  17091. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  17092. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  17093. + PATH=/empty FPATH=/empty; export PATH FPATH
  17094. + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  17095. + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
  17096. +test \$(( 1 + 1 )) = 2 || exit 1"
  17097. + if (eval "$as_required") 2>/dev/null; then :
  17098. + as_have_required=yes
  17099. +else
  17100. + as_have_required=no
  17101. +fi
  17102. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  17103. +
  17104. +else
  17105. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17106. +as_found=false
  17107. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  17108. +do
  17109. + IFS=$as_save_IFS
  17110. + test -z "$as_dir" && as_dir=.
  17111. + as_found=:
  17112. + case $as_dir in @%:@(
  17113. + /*)
  17114. + for as_base in sh bash ksh sh5; do
  17115. + # Try only shells that exist, to save several forks.
  17116. + as_shell=$as_dir/$as_base
  17117. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  17118. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  17119. + CONFIG_SHELL=$as_shell as_have_required=yes
  17120. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  17121. + break 2
  17122. +fi
  17123. +fi
  17124. + done;;
  17125. + esac
  17126. + as_found=false
  17127. +done
  17128. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  17129. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  17130. + CONFIG_SHELL=$SHELL as_have_required=yes
  17131. +fi; }
  17132. +IFS=$as_save_IFS
  17133. +
  17134. +
  17135. + if test "x$CONFIG_SHELL" != x; then :
  17136. + # We cannot yet assume a decent shell, so we have to provide a
  17137. + # neutralization value for shells without unset; and this also
  17138. + # works around shells that cannot unset nonexistent variables.
  17139. + # Preserve -v and -x to the replacement shell.
  17140. + BASH_ENV=/dev/null
  17141. + ENV=/dev/null
  17142. + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  17143. + export CONFIG_SHELL
  17144. + case $- in @%:@ ((((
  17145. + *v*x* | *x*v* ) as_opts=-vx ;;
  17146. + *v* ) as_opts=-v ;;
  17147. + *x* ) as_opts=-x ;;
  17148. + * ) as_opts= ;;
  17149. + esac
  17150. + exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
  17151. +fi
  17152. +
  17153. + if test x$as_have_required = xno; then :
  17154. + $as_echo "$0: This script requires a shell more modern than all"
  17155. + $as_echo "$0: the shells that I found on your system."
  17156. + if test x${ZSH_VERSION+set} = xset ; then
  17157. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  17158. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  17159. + else
  17160. + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  17161. +$0: including any error possibly output before this
  17162. +$0: message. Then install a modern shell, or manually run
  17163. +$0: the script under such a shell if you do have one."
  17164. + fi
  17165. + exit 1
  17166. +fi
  17167. +fi
  17168. +fi
  17169. +SHELL=${CONFIG_SHELL-/bin/sh}
  17170. +export SHELL
  17171. +# Unset more variables known to interfere with behavior of common tools.
  17172. +CLICOLOR_FORCE= GREP_OPTIONS=
  17173. +unset CLICOLOR_FORCE GREP_OPTIONS
  17174. +
  17175. +## --------------------- ##
  17176. +## M4sh Shell Functions. ##
  17177. +## --------------------- ##
  17178. +@%:@ as_fn_unset VAR
  17179. +@%:@ ---------------
  17180. +@%:@ Portably unset VAR.
  17181. +as_fn_unset ()
  17182. +{
  17183. + { eval $1=; unset $1;}
  17184. +}
  17185. +as_unset=as_fn_unset
  17186. +
  17187. +@%:@ as_fn_set_status STATUS
  17188. +@%:@ -----------------------
  17189. +@%:@ Set @S|@? to STATUS, without forking.
  17190. +as_fn_set_status ()
  17191. +{
  17192. + return $1
  17193. +} @%:@ as_fn_set_status
  17194. +
  17195. +@%:@ as_fn_exit STATUS
  17196. +@%:@ -----------------
  17197. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  17198. +as_fn_exit ()
  17199. +{
  17200. + set +e
  17201. + as_fn_set_status $1
  17202. + exit $1
  17203. +} @%:@ as_fn_exit
  17204. +
  17205. +@%:@ as_fn_mkdir_p
  17206. +@%:@ -------------
  17207. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  17208. +as_fn_mkdir_p ()
  17209. +{
  17210. +
  17211. + case $as_dir in #(
  17212. + -*) as_dir=./$as_dir;;
  17213. + esac
  17214. + test -d "$as_dir" || eval $as_mkdir_p || {
  17215. + as_dirs=
  17216. + while :; do
  17217. + case $as_dir in #(
  17218. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  17219. + *) as_qdir=$as_dir;;
  17220. + esac
  17221. + as_dirs="'$as_qdir' $as_dirs"
  17222. + as_dir=`$as_dirname -- "$as_dir" ||
  17223. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  17224. + X"$as_dir" : 'X\(//\)[^/]' \| \
  17225. + X"$as_dir" : 'X\(//\)$' \| \
  17226. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  17227. +$as_echo X"$as_dir" |
  17228. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  17229. + s//\1/
  17230. + q
  17231. + }
  17232. + /^X\(\/\/\)[^/].*/{
  17233. + s//\1/
  17234. + q
  17235. + }
  17236. + /^X\(\/\/\)$/{
  17237. + s//\1/
  17238. + q
  17239. + }
  17240. + /^X\(\/\).*/{
  17241. + s//\1/
  17242. + q
  17243. + }
  17244. + s/.*/./; q'`
  17245. + test -d "$as_dir" && break
  17246. + done
  17247. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  17248. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  17249. +
  17250. +
  17251. +} @%:@ as_fn_mkdir_p
  17252. +@%:@ as_fn_append VAR VALUE
  17253. +@%:@ ----------------------
  17254. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  17255. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  17256. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  17257. +@%:@ implementations.
  17258. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  17259. + eval 'as_fn_append ()
  17260. + {
  17261. + eval $1+=\$2
  17262. + }'
  17263. +else
  17264. + as_fn_append ()
  17265. + {
  17266. + eval $1=\$$1\$2
  17267. + }
  17268. +fi # as_fn_append
  17269. +
  17270. +@%:@ as_fn_arith ARG...
  17271. +@%:@ ------------------
  17272. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  17273. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  17274. +@%:@ must be portable across @S|@(()) and expr.
  17275. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  17276. + eval 'as_fn_arith ()
  17277. + {
  17278. + as_val=$(( $* ))
  17279. + }'
  17280. +else
  17281. + as_fn_arith ()
  17282. + {
  17283. + as_val=`expr "$@" || test $? -eq 1`
  17284. + }
  17285. +fi # as_fn_arith
  17286. +
  17287. +
  17288. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  17289. +@%:@ ----------------------------------------
  17290. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  17291. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  17292. +@%:@ script with STATUS, using 1 if that was 0.
  17293. +as_fn_error ()
  17294. +{
  17295. + as_status=$1; test $as_status -eq 0 && as_status=1
  17296. + if test "$4"; then
  17297. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  17298. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  17299. + fi
  17300. + $as_echo "$as_me: error: $2" >&2
  17301. + as_fn_exit $as_status
  17302. +} @%:@ as_fn_error
  17303. +
  17304. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  17305. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  17306. + as_expr=expr
  17307. +else
  17308. + as_expr=false
  17309. +fi
  17310. +
  17311. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  17312. + as_basename=basename
  17313. +else
  17314. + as_basename=false
  17315. +fi
  17316. +
  17317. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  17318. + as_dirname=dirname
  17319. +else
  17320. + as_dirname=false
  17321. +fi
  17322. +
  17323. +as_me=`$as_basename -- "$0" ||
  17324. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  17325. + X"$0" : 'X\(//\)$' \| \
  17326. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  17327. +$as_echo X/"$0" |
  17328. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  17329. + s//\1/
  17330. + q
  17331. + }
  17332. + /^X\/\(\/\/\)$/{
  17333. + s//\1/
  17334. + q
  17335. + }
  17336. + /^X\/\(\/\).*/{
  17337. + s//\1/
  17338. + q
  17339. + }
  17340. + s/.*/./; q'`
  17341. +
  17342. +# Avoid depending upon Character Ranges.
  17343. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  17344. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  17345. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  17346. +as_cr_digits='0123456789'
  17347. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  17348. +
  17349. +
  17350. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  17351. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  17352. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  17353. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  17354. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  17355. + sed -n '
  17356. + p
  17357. + /[$]LINENO/=
  17358. + ' <$as_myself |
  17359. + sed '
  17360. + s/[$]LINENO.*/&-/
  17361. + t lineno
  17362. + b
  17363. + :lineno
  17364. + N
  17365. + :loop
  17366. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  17367. + t loop
  17368. + s/-\n.*//
  17369. + ' >$as_me.lineno &&
  17370. + chmod +x "$as_me.lineno" ||
  17371. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  17372. +
  17373. + # Don't try to exec as it changes $[0], causing all sort of problems
  17374. + # (the dirname of $[0] is not the place where we might find the
  17375. + # original and so on. Autoconf is especially sensitive to this).
  17376. + . "./$as_me.lineno"
  17377. + # Exit status is that of the last command.
  17378. + exit
  17379. +}
  17380. +
  17381. +ECHO_C= ECHO_N= ECHO_T=
  17382. +case `echo -n x` in @%:@(((((
  17383. +-n*)
  17384. + case `echo 'xy\c'` in
  17385. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  17386. + xy) ECHO_C='\c';;
  17387. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  17388. + ECHO_T=' ';;
  17389. + esac;;
  17390. +*)
  17391. + ECHO_N='-n';;
  17392. +esac
  17393. +
  17394. +rm -f conf$$ conf$$.exe conf$$.file
  17395. +if test -d conf$$.dir; then
  17396. + rm -f conf$$.dir/conf$$.file
  17397. +else
  17398. + rm -f conf$$.dir
  17399. + mkdir conf$$.dir 2>/dev/null
  17400. +fi
  17401. +if (echo >conf$$.file) 2>/dev/null; then
  17402. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  17403. + as_ln_s='ln -s'
  17404. + # ... but there are two gotchas:
  17405. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  17406. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  17407. + # In both cases, we have to default to `cp -p'.
  17408. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  17409. + as_ln_s='cp -p'
  17410. + elif ln conf$$.file conf$$ 2>/dev/null; then
  17411. + as_ln_s=ln
  17412. + else
  17413. + as_ln_s='cp -p'
  17414. + fi
  17415. +else
  17416. + as_ln_s='cp -p'
  17417. +fi
  17418. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  17419. +rmdir conf$$.dir 2>/dev/null
  17420. +
  17421. +if mkdir -p . 2>/dev/null; then
  17422. + as_mkdir_p='mkdir -p "$as_dir"'
  17423. +else
  17424. + test -d ./-p && rmdir ./-p
  17425. + as_mkdir_p=false
  17426. +fi
  17427. +
  17428. +if test -x / >/dev/null 2>&1; then
  17429. + as_test_x='test -x'
  17430. +else
  17431. + if ls -dL / >/dev/null 2>&1; then
  17432. + as_ls_L_option=L
  17433. + else
  17434. + as_ls_L_option=
  17435. + fi
  17436. + as_test_x='
  17437. + eval sh -c '\''
  17438. + if test -d "$1"; then
  17439. + test -d "$1/.";
  17440. + else
  17441. + case $1 in @%:@(
  17442. + -*)set "./$1";;
  17443. + esac;
  17444. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
  17445. + ???[sx]*):;;*)false;;esac;fi
  17446. + '\'' sh
  17447. + '
  17448. +fi
  17449. +as_executable_p=$as_test_x
  17450. +
  17451. +# Sed expression to map a string onto a valid CPP name.
  17452. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  17453. +
  17454. +# Sed expression to map a string onto a valid variable name.
  17455. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  17456. +
  17457. +SHELL=${CONFIG_SHELL-/bin/sh}
  17458. +
  17459. +
  17460. +test -n "$DJDIR" || exec 7<&0 </dev/null
  17461. +exec 6>&1
  17462. +
  17463. +# Name of the host.
  17464. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  17465. +# so uname gets run too.
  17466. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  17467. +
  17468. +#
  17469. +# Initializations.
  17470. +#
  17471. +ac_default_prefix=/usr/local
  17472. +ac_clean_files=
  17473. +ac_config_libobj_dir=.
  17474. +LIB@&t@OBJS=
  17475. +cross_compiling=no
  17476. +subdirs=
  17477. +MFLAGS=
  17478. +MAKEFLAGS=
  17479. +
  17480. +# Identity of this package.
  17481. +PACKAGE_NAME='ulogd'
  17482. +PACKAGE_TARNAME='ulogd'
  17483. +PACKAGE_VERSION='2.0.2'
  17484. +PACKAGE_STRING='ulogd 2.0.2'
  17485. +PACKAGE_BUGREPORT=''
  17486. +PACKAGE_URL=''
  17487. +
  17488. +# Factoring default headers for most tests.
  17489. +ac_includes_default="\
  17490. +#include <stdio.h>
  17491. +#ifdef HAVE_SYS_TYPES_H
  17492. +# include <sys/types.h>
  17493. +#endif
  17494. +#ifdef HAVE_SYS_STAT_H
  17495. +# include <sys/stat.h>
  17496. +#endif
  17497. +#ifdef STDC_HEADERS
  17498. +# include <stdlib.h>
  17499. +# include <stddef.h>
  17500. +#else
  17501. +# ifdef HAVE_STDLIB_H
  17502. +# include <stdlib.h>
  17503. +# endif
  17504. +#endif
  17505. +#ifdef HAVE_STRING_H
  17506. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  17507. +# include <memory.h>
  17508. +# endif
  17509. +# include <string.h>
  17510. +#endif
  17511. +#ifdef HAVE_STRINGS_H
  17512. +# include <strings.h>
  17513. +#endif
  17514. +#ifdef HAVE_INTTYPES_H
  17515. +# include <inttypes.h>
  17516. +#endif
  17517. +#ifdef HAVE_STDINT_H
  17518. +# include <stdint.h>
  17519. +#endif
  17520. +#ifdef HAVE_UNISTD_H
  17521. +# include <unistd.h>
  17522. +#endif"
  17523. +
  17524. +ac_subst_vars='am__EXEEXT_FALSE
  17525. +am__EXEEXT_TRUE
  17526. +LTLIBOBJS
  17527. +LIB@&t@OBJS
  17528. +HAVE_DBI_FALSE
  17529. +HAVE_DBI_TRUE
  17530. +DBI_LIB
  17531. +DBI_INC
  17532. +HAVE_SQLITE3_FALSE
  17533. +HAVE_SQLITE3_TRUE
  17534. +libsqlite3_LIBS
  17535. +libsqlite3_CFLAGS
  17536. +HAVE_MYSQL_FALSE
  17537. +HAVE_MYSQL_TRUE
  17538. +MYSQL_LIB
  17539. +MYSQL_INC
  17540. +HAVE_PGSQL_FALSE
  17541. +HAVE_PGSQL_TRUE
  17542. +PQLIBS
  17543. +PQLIBPATH
  17544. +PQINCPATH
  17545. +BUILD_NFACCT_FALSE
  17546. +BUILD_NFACCT_TRUE
  17547. +LIBNETFILTER_ACCT_LIBS
  17548. +LIBNETFILTER_ACCT_CFLAGS
  17549. +BUILD_NFCT_FALSE
  17550. +BUILD_NFCT_TRUE
  17551. +LIBNETFILTER_CONNTRACK_LIBS
  17552. +LIBNETFILTER_CONNTRACK_CFLAGS
  17553. +BUILD_NFLOG_FALSE
  17554. +BUILD_NFLOG_TRUE
  17555. +LIBNETFILTER_LOG_LIBS
  17556. +LIBNETFILTER_LOG_CFLAGS
  17557. +LIBMNL_LIBS
  17558. +LIBMNL_CFLAGS
  17559. +LIBNFNETLINK_LIBS
  17560. +LIBNFNETLINK_CFLAGS
  17561. +PKG_CONFIG_LIBDIR
  17562. +PKG_CONFIG_PATH
  17563. +PKG_CONFIG
  17564. +regular_CFLAGS
  17565. +HAVE_PCAP_FALSE
  17566. +HAVE_PCAP_TRUE
  17567. +libpcap_LIBS
  17568. +libdl_LIBS
  17569. +CPP
  17570. +OTOOL64
  17571. +OTOOL
  17572. +LIPO
  17573. +NMEDIT
  17574. +DSYMUTIL
  17575. +MANIFEST_TOOL
  17576. +RANLIB
  17577. +DLLTOOL
  17578. +OBJDUMP
  17579. +LN_S
  17580. +NM
  17581. +ac_ct_DUMPBIN
  17582. +DUMPBIN
  17583. +LD
  17584. +FGREP
  17585. +EGREP
  17586. +GREP
  17587. +SED
  17588. +host_os
  17589. +host_vendor
  17590. +host_cpu
  17591. +host
  17592. +build_os
  17593. +build_vendor
  17594. +build_cpu
  17595. +build
  17596. +LIBTOOL
  17597. +AM_BACKSLASH
  17598. +AM_DEFAULT_VERBOSITY
  17599. +AM_DEFAULT_V
  17600. +AM_V
  17601. +am__fastdepCC_FALSE
  17602. +am__fastdepCC_TRUE
  17603. +CCDEPMODE
  17604. +am__nodep
  17605. +AMDEPBACKSLASH
  17606. +AMDEP_FALSE
  17607. +AMDEP_TRUE
  17608. +am__quote
  17609. +am__include
  17610. +DEPDIR
  17611. +OBJEXT
  17612. +EXEEXT
  17613. +ac_ct_CC
  17614. +CPPFLAGS
  17615. +LDFLAGS
  17616. +CFLAGS
  17617. +CC
  17618. +ac_ct_AR
  17619. +AR
  17620. +am__untar
  17621. +am__tar
  17622. +AMTAR
  17623. +am__leading_dot
  17624. +SET_MAKE
  17625. +AWK
  17626. +mkdir_p
  17627. +MKDIR_P
  17628. +INSTALL_STRIP_PROGRAM
  17629. +STRIP
  17630. +install_sh
  17631. +MAKEINFO
  17632. +AUTOHEADER
  17633. +AUTOMAKE
  17634. +AUTOCONF
  17635. +ACLOCAL
  17636. +VERSION
  17637. +PACKAGE
  17638. +CYGPATH_W
  17639. +am__isrc
  17640. +INSTALL_DATA
  17641. +INSTALL_SCRIPT
  17642. +INSTALL_PROGRAM
  17643. +target_alias
  17644. +host_alias
  17645. +build_alias
  17646. +LIBS
  17647. +ECHO_T
  17648. +ECHO_N
  17649. +ECHO_C
  17650. +DEFS
  17651. +mandir
  17652. +localedir
  17653. +libdir
  17654. +psdir
  17655. +pdfdir
  17656. +dvidir
  17657. +htmldir
  17658. +infodir
  17659. +docdir
  17660. +oldincludedir
  17661. +includedir
  17662. +localstatedir
  17663. +sharedstatedir
  17664. +sysconfdir
  17665. +datadir
  17666. +datarootdir
  17667. +libexecdir
  17668. +sbindir
  17669. +bindir
  17670. +program_transform_name
  17671. +prefix
  17672. +exec_prefix
  17673. +PACKAGE_URL
  17674. +PACKAGE_BUGREPORT
  17675. +PACKAGE_STRING
  17676. +PACKAGE_VERSION
  17677. +PACKAGE_TARNAME
  17678. +PACKAGE_NAME
  17679. +PATH_SEPARATOR
  17680. +SHELL'
  17681. +ac_subst_files=''
  17682. +ac_user_opts='
  17683. +enable_option_checking
  17684. +enable_dependency_tracking
  17685. +enable_silent_rules
  17686. +enable_static
  17687. +enable_shared
  17688. +with_pic
  17689. +enable_fast_install
  17690. +with_gnu_ld
  17691. +with_sysroot
  17692. +enable_libtool_lock
  17693. +enable_largefile
  17694. +enable_nflog
  17695. +enable_nfct
  17696. +enable_nfacct
  17697. +with_pgsql
  17698. +with_pgsql_inc
  17699. +with_pgsql_lib
  17700. +with_mysql
  17701. +with_mysql_inc
  17702. +with_mysql_lib
  17703. +with_dbi
  17704. +with_dbi_inc
  17705. +with_dbi_lib
  17706. +'
  17707. + ac_precious_vars='build_alias
  17708. +host_alias
  17709. +target_alias
  17710. +CC
  17711. +CFLAGS
  17712. +LDFLAGS
  17713. +LIBS
  17714. +CPPFLAGS
  17715. +CPP
  17716. +PKG_CONFIG
  17717. +PKG_CONFIG_PATH
  17718. +PKG_CONFIG_LIBDIR
  17719. +LIBNFNETLINK_CFLAGS
  17720. +LIBNFNETLINK_LIBS
  17721. +LIBMNL_CFLAGS
  17722. +LIBMNL_LIBS
  17723. +LIBNETFILTER_LOG_CFLAGS
  17724. +LIBNETFILTER_LOG_LIBS
  17725. +LIBNETFILTER_CONNTRACK_CFLAGS
  17726. +LIBNETFILTER_CONNTRACK_LIBS
  17727. +LIBNETFILTER_ACCT_CFLAGS
  17728. +LIBNETFILTER_ACCT_LIBS
  17729. +libsqlite3_CFLAGS
  17730. +libsqlite3_LIBS'
  17731. +
  17732. +
  17733. +# Initialize some variables set by options.
  17734. +ac_init_help=
  17735. +ac_init_version=false
  17736. +ac_unrecognized_opts=
  17737. +ac_unrecognized_sep=
  17738. +# The variables have the same names as the options, with
  17739. +# dashes changed to underlines.
  17740. +cache_file=/dev/null
  17741. +exec_prefix=NONE
  17742. +no_create=
  17743. +no_recursion=
  17744. +prefix=NONE
  17745. +program_prefix=NONE
  17746. +program_suffix=NONE
  17747. +program_transform_name=s,x,x,
  17748. +silent=
  17749. +site=
  17750. +srcdir=
  17751. +verbose=
  17752. +x_includes=NONE
  17753. +x_libraries=NONE
  17754. +
  17755. +# Installation directory options.
  17756. +# These are left unexpanded so users can "make install exec_prefix=/foo"
  17757. +# and all the variables that are supposed to be based on exec_prefix
  17758. +# by default will actually change.
  17759. +# Use braces instead of parens because sh, perl, etc. also accept them.
  17760. +# (The list follows the same order as the GNU Coding Standards.)
  17761. +bindir='${exec_prefix}/bin'
  17762. +sbindir='${exec_prefix}/sbin'
  17763. +libexecdir='${exec_prefix}/libexec'
  17764. +datarootdir='${prefix}/share'
  17765. +datadir='${datarootdir}'
  17766. +sysconfdir='${prefix}/etc'
  17767. +sharedstatedir='${prefix}/com'
  17768. +localstatedir='${prefix}/var'
  17769. +includedir='${prefix}/include'
  17770. +oldincludedir='/usr/include'
  17771. +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  17772. +infodir='${datarootdir}/info'
  17773. +htmldir='${docdir}'
  17774. +dvidir='${docdir}'
  17775. +pdfdir='${docdir}'
  17776. +psdir='${docdir}'
  17777. +libdir='${exec_prefix}/lib'
  17778. +localedir='${datarootdir}/locale'
  17779. +mandir='${datarootdir}/man'
  17780. +
  17781. +ac_prev=
  17782. +ac_dashdash=
  17783. +for ac_option
  17784. +do
  17785. + # If the previous option needs an argument, assign it.
  17786. + if test -n "$ac_prev"; then
  17787. + eval $ac_prev=\$ac_option
  17788. + ac_prev=
  17789. + continue
  17790. + fi
  17791. +
  17792. + case $ac_option in
  17793. + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  17794. + *=) ac_optarg= ;;
  17795. + *) ac_optarg=yes ;;
  17796. + esac
  17797. +
  17798. + # Accept the important Cygnus configure options, so we can diagnose typos.
  17799. +
  17800. + case $ac_dashdash$ac_option in
  17801. + --)
  17802. + ac_dashdash=yes ;;
  17803. +
  17804. + -bindir | --bindir | --bindi | --bind | --bin | --bi)
  17805. + ac_prev=bindir ;;
  17806. + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  17807. + bindir=$ac_optarg ;;
  17808. +
  17809. + -build | --build | --buil | --bui | --bu)
  17810. + ac_prev=build_alias ;;
  17811. + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  17812. + build_alias=$ac_optarg ;;
  17813. +
  17814. + -cache-file | --cache-file | --cache-fil | --cache-fi \
  17815. + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  17816. + ac_prev=cache_file ;;
  17817. + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  17818. + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  17819. + cache_file=$ac_optarg ;;
  17820. +
  17821. + --config-cache | -C)
  17822. + cache_file=config.cache ;;
  17823. +
  17824. + -datadir | --datadir | --datadi | --datad)
  17825. + ac_prev=datadir ;;
  17826. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  17827. + datadir=$ac_optarg ;;
  17828. +
  17829. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  17830. + | --dataroo | --dataro | --datar)
  17831. + ac_prev=datarootdir ;;
  17832. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  17833. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  17834. + datarootdir=$ac_optarg ;;
  17835. +
  17836. + -disable-* | --disable-*)
  17837. + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  17838. + # Reject names that are not valid shell variable names.
  17839. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  17840. + as_fn_error $? "invalid feature name: $ac_useropt"
  17841. + ac_useropt_orig=$ac_useropt
  17842. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  17843. + case $ac_user_opts in
  17844. + *"
  17845. +"enable_$ac_useropt"
  17846. +"*) ;;
  17847. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  17848. + ac_unrecognized_sep=', ';;
  17849. + esac
  17850. + eval enable_$ac_useropt=no ;;
  17851. +
  17852. + -docdir | --docdir | --docdi | --doc | --do)
  17853. + ac_prev=docdir ;;
  17854. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  17855. + docdir=$ac_optarg ;;
  17856. +
  17857. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  17858. + ac_prev=dvidir ;;
  17859. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  17860. + dvidir=$ac_optarg ;;
  17861. +
  17862. + -enable-* | --enable-*)
  17863. + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  17864. + # Reject names that are not valid shell variable names.
  17865. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  17866. + as_fn_error $? "invalid feature name: $ac_useropt"
  17867. + ac_useropt_orig=$ac_useropt
  17868. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  17869. + case $ac_user_opts in
  17870. + *"
  17871. +"enable_$ac_useropt"
  17872. +"*) ;;
  17873. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  17874. + ac_unrecognized_sep=', ';;
  17875. + esac
  17876. + eval enable_$ac_useropt=\$ac_optarg ;;
  17877. +
  17878. + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  17879. + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  17880. + | --exec | --exe | --ex)
  17881. + ac_prev=exec_prefix ;;
  17882. + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  17883. + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  17884. + | --exec=* | --exe=* | --ex=*)
  17885. + exec_prefix=$ac_optarg ;;
  17886. +
  17887. + -gas | --gas | --ga | --g)
  17888. + # Obsolete; use --with-gas.
  17889. + with_gas=yes ;;
  17890. +
  17891. + -help | --help | --hel | --he | -h)
  17892. + ac_init_help=long ;;
  17893. + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  17894. + ac_init_help=recursive ;;
  17895. + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  17896. + ac_init_help=short ;;
  17897. +
  17898. + -host | --host | --hos | --ho)
  17899. + ac_prev=host_alias ;;
  17900. + -host=* | --host=* | --hos=* | --ho=*)
  17901. + host_alias=$ac_optarg ;;
  17902. +
  17903. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  17904. + ac_prev=htmldir ;;
  17905. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  17906. + | --ht=*)
  17907. + htmldir=$ac_optarg ;;
  17908. +
  17909. + -includedir | --includedir | --includedi | --included | --include \
  17910. + | --includ | --inclu | --incl | --inc)
  17911. + ac_prev=includedir ;;
  17912. + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  17913. + | --includ=* | --inclu=* | --incl=* | --inc=*)
  17914. + includedir=$ac_optarg ;;
  17915. +
  17916. + -infodir | --infodir | --infodi | --infod | --info | --inf)
  17917. + ac_prev=infodir ;;
  17918. + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  17919. + infodir=$ac_optarg ;;
  17920. +
  17921. + -libdir | --libdir | --libdi | --libd)
  17922. + ac_prev=libdir ;;
  17923. + -libdir=* | --libdir=* | --libdi=* | --libd=*)
  17924. + libdir=$ac_optarg ;;
  17925. +
  17926. + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  17927. + | --libexe | --libex | --libe)
  17928. + ac_prev=libexecdir ;;
  17929. + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  17930. + | --libexe=* | --libex=* | --libe=*)
  17931. + libexecdir=$ac_optarg ;;
  17932. +
  17933. + -localedir | --localedir | --localedi | --localed | --locale)
  17934. + ac_prev=localedir ;;
  17935. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  17936. + localedir=$ac_optarg ;;
  17937. +
  17938. + -localstatedir | --localstatedir | --localstatedi | --localstated \
  17939. + | --localstate | --localstat | --localsta | --localst | --locals)
  17940. + ac_prev=localstatedir ;;
  17941. + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  17942. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  17943. + localstatedir=$ac_optarg ;;
  17944. +
  17945. + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  17946. + ac_prev=mandir ;;
  17947. + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  17948. + mandir=$ac_optarg ;;
  17949. +
  17950. + -nfp | --nfp | --nf)
  17951. + # Obsolete; use --without-fp.
  17952. + with_fp=no ;;
  17953. +
  17954. + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  17955. + | --no-cr | --no-c | -n)
  17956. + no_create=yes ;;
  17957. +
  17958. + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  17959. + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  17960. + no_recursion=yes ;;
  17961. +
  17962. + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  17963. + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  17964. + | --oldin | --oldi | --old | --ol | --o)
  17965. + ac_prev=oldincludedir ;;
  17966. + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  17967. + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  17968. + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  17969. + oldincludedir=$ac_optarg ;;
  17970. +
  17971. + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  17972. + ac_prev=prefix ;;
  17973. + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  17974. + prefix=$ac_optarg ;;
  17975. +
  17976. + -program-prefix | --program-prefix | --program-prefi | --program-pref \
  17977. + | --program-pre | --program-pr | --program-p)
  17978. + ac_prev=program_prefix ;;
  17979. + -program-prefix=* | --program-prefix=* | --program-prefi=* \
  17980. + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  17981. + program_prefix=$ac_optarg ;;
  17982. +
  17983. + -program-suffix | --program-suffix | --program-suffi | --program-suff \
  17984. + | --program-suf | --program-su | --program-s)
  17985. + ac_prev=program_suffix ;;
  17986. + -program-suffix=* | --program-suffix=* | --program-suffi=* \
  17987. + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  17988. + program_suffix=$ac_optarg ;;
  17989. +
  17990. + -program-transform-name | --program-transform-name \
  17991. + | --program-transform-nam | --program-transform-na \
  17992. + | --program-transform-n | --program-transform- \
  17993. + | --program-transform | --program-transfor \
  17994. + | --program-transfo | --program-transf \
  17995. + | --program-trans | --program-tran \
  17996. + | --progr-tra | --program-tr | --program-t)
  17997. + ac_prev=program_transform_name ;;
  17998. + -program-transform-name=* | --program-transform-name=* \
  17999. + | --program-transform-nam=* | --program-transform-na=* \
  18000. + | --program-transform-n=* | --program-transform-=* \
  18001. + | --program-transform=* | --program-transfor=* \
  18002. + | --program-transfo=* | --program-transf=* \
  18003. + | --program-trans=* | --program-tran=* \
  18004. + | --progr-tra=* | --program-tr=* | --program-t=*)
  18005. + program_transform_name=$ac_optarg ;;
  18006. +
  18007. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  18008. + ac_prev=pdfdir ;;
  18009. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  18010. + pdfdir=$ac_optarg ;;
  18011. +
  18012. + -psdir | --psdir | --psdi | --psd | --ps)
  18013. + ac_prev=psdir ;;
  18014. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  18015. + psdir=$ac_optarg ;;
  18016. +
  18017. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  18018. + | -silent | --silent | --silen | --sile | --sil)
  18019. + silent=yes ;;
  18020. +
  18021. + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  18022. + ac_prev=sbindir ;;
  18023. + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  18024. + | --sbi=* | --sb=*)
  18025. + sbindir=$ac_optarg ;;
  18026. +
  18027. + -sharedstatedir | --sharedstatedir | --sharedstatedi \
  18028. + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  18029. + | --sharedst | --shareds | --shared | --share | --shar \
  18030. + | --sha | --sh)
  18031. + ac_prev=sharedstatedir ;;
  18032. + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  18033. + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  18034. + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  18035. + | --sha=* | --sh=*)
  18036. + sharedstatedir=$ac_optarg ;;
  18037. +
  18038. + -site | --site | --sit)
  18039. + ac_prev=site ;;
  18040. + -site=* | --site=* | --sit=*)
  18041. + site=$ac_optarg ;;
  18042. +
  18043. + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  18044. + ac_prev=srcdir ;;
  18045. + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  18046. + srcdir=$ac_optarg ;;
  18047. +
  18048. + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  18049. + | --syscon | --sysco | --sysc | --sys | --sy)
  18050. + ac_prev=sysconfdir ;;
  18051. + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  18052. + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  18053. + sysconfdir=$ac_optarg ;;
  18054. +
  18055. + -target | --target | --targe | --targ | --tar | --ta | --t)
  18056. + ac_prev=target_alias ;;
  18057. + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  18058. + target_alias=$ac_optarg ;;
  18059. +
  18060. + -v | -verbose | --verbose | --verbos | --verbo | --verb)
  18061. + verbose=yes ;;
  18062. +
  18063. + -version | --version | --versio | --versi | --vers | -V)
  18064. + ac_init_version=: ;;
  18065. +
  18066. + -with-* | --with-*)
  18067. + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  18068. + # Reject names that are not valid shell variable names.
  18069. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  18070. + as_fn_error $? "invalid package name: $ac_useropt"
  18071. + ac_useropt_orig=$ac_useropt
  18072. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  18073. + case $ac_user_opts in
  18074. + *"
  18075. +"with_$ac_useropt"
  18076. +"*) ;;
  18077. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  18078. + ac_unrecognized_sep=', ';;
  18079. + esac
  18080. + eval with_$ac_useropt=\$ac_optarg ;;
  18081. +
  18082. + -without-* | --without-*)
  18083. + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  18084. + # Reject names that are not valid shell variable names.
  18085. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  18086. + as_fn_error $? "invalid package name: $ac_useropt"
  18087. + ac_useropt_orig=$ac_useropt
  18088. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  18089. + case $ac_user_opts in
  18090. + *"
  18091. +"with_$ac_useropt"
  18092. +"*) ;;
  18093. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  18094. + ac_unrecognized_sep=', ';;
  18095. + esac
  18096. + eval with_$ac_useropt=no ;;
  18097. +
  18098. + --x)
  18099. + # Obsolete; use --with-x.
  18100. + with_x=yes ;;
  18101. +
  18102. + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  18103. + | --x-incl | --x-inc | --x-in | --x-i)
  18104. + ac_prev=x_includes ;;
  18105. + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  18106. + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  18107. + x_includes=$ac_optarg ;;
  18108. +
  18109. + -x-libraries | --x-libraries | --x-librarie | --x-librari \
  18110. + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  18111. + ac_prev=x_libraries ;;
  18112. + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  18113. + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  18114. + x_libraries=$ac_optarg ;;
  18115. +
  18116. + -*) as_fn_error $? "unrecognized option: \`$ac_option'
  18117. +Try \`$0 --help' for more information"
  18118. + ;;
  18119. +
  18120. + *=*)
  18121. + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  18122. + # Reject names that are not valid shell variable names.
  18123. + case $ac_envvar in #(
  18124. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  18125. + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  18126. + esac
  18127. + eval $ac_envvar=\$ac_optarg
  18128. + export $ac_envvar ;;
  18129. +
  18130. + *)
  18131. + # FIXME: should be removed in autoconf 3.0.
  18132. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  18133. + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  18134. + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  18135. + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  18136. + ;;
  18137. +
  18138. + esac
  18139. +done
  18140. +
  18141. +if test -n "$ac_prev"; then
  18142. + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  18143. + as_fn_error $? "missing argument to $ac_option"
  18144. +fi
  18145. +
  18146. +if test -n "$ac_unrecognized_opts"; then
  18147. + case $enable_option_checking in
  18148. + no) ;;
  18149. + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  18150. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  18151. + esac
  18152. +fi
  18153. +
  18154. +# Check all directory arguments for consistency.
  18155. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  18156. + datadir sysconfdir sharedstatedir localstatedir includedir \
  18157. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  18158. + libdir localedir mandir
  18159. +do
  18160. + eval ac_val=\$$ac_var
  18161. + # Remove trailing slashes.
  18162. + case $ac_val in
  18163. + */ )
  18164. + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  18165. + eval $ac_var=\$ac_val;;
  18166. + esac
  18167. + # Be sure to have absolute directory names.
  18168. + case $ac_val in
  18169. + [\\/$]* | ?:[\\/]* ) continue;;
  18170. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  18171. + esac
  18172. + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  18173. +done
  18174. +
  18175. +# There might be people who depend on the old broken behavior: `$host'
  18176. +# used to hold the argument of --host etc.
  18177. +# FIXME: To remove some day.
  18178. +build=$build_alias
  18179. +host=$host_alias
  18180. +target=$target_alias
  18181. +
  18182. +# FIXME: To remove some day.
  18183. +if test "x$host_alias" != x; then
  18184. + if test "x$build_alias" = x; then
  18185. + cross_compiling=maybe
  18186. + $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
  18187. + If a cross compiler is detected then cross compile mode will be used" >&2
  18188. + elif test "x$build_alias" != "x$host_alias"; then
  18189. + cross_compiling=yes
  18190. + fi
  18191. +fi
  18192. +
  18193. +ac_tool_prefix=
  18194. +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  18195. +
  18196. +test "$silent" = yes && exec 6>/dev/null
  18197. +
  18198. +
  18199. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  18200. +ac_ls_di=`ls -di .` &&
  18201. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  18202. + as_fn_error $? "working directory cannot be determined"
  18203. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  18204. + as_fn_error $? "pwd does not report name of working directory"
  18205. +
  18206. +
  18207. +# Find the source files, if location was not specified.
  18208. +if test -z "$srcdir"; then
  18209. + ac_srcdir_defaulted=yes
  18210. + # Try the directory containing this script, then the parent directory.
  18211. + ac_confdir=`$as_dirname -- "$as_myself" ||
  18212. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  18213. + X"$as_myself" : 'X\(//\)[^/]' \| \
  18214. + X"$as_myself" : 'X\(//\)$' \| \
  18215. + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  18216. +$as_echo X"$as_myself" |
  18217. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  18218. + s//\1/
  18219. + q
  18220. + }
  18221. + /^X\(\/\/\)[^/].*/{
  18222. + s//\1/
  18223. + q
  18224. + }
  18225. + /^X\(\/\/\)$/{
  18226. + s//\1/
  18227. + q
  18228. + }
  18229. + /^X\(\/\).*/{
  18230. + s//\1/
  18231. + q
  18232. + }
  18233. + s/.*/./; q'`
  18234. + srcdir=$ac_confdir
  18235. + if test ! -r "$srcdir/$ac_unique_file"; then
  18236. + srcdir=..
  18237. + fi
  18238. +else
  18239. + ac_srcdir_defaulted=no
  18240. +fi
  18241. +if test ! -r "$srcdir/$ac_unique_file"; then
  18242. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  18243. + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  18244. +fi
  18245. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  18246. +ac_abs_confdir=`(
  18247. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  18248. + pwd)`
  18249. +# When building in place, set srcdir=.
  18250. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  18251. + srcdir=.
  18252. +fi
  18253. +# Remove unnecessary trailing slashes from srcdir.
  18254. +# Double slashes in file names in object file debugging info
  18255. +# mess up M-x gdb in Emacs.
  18256. +case $srcdir in
  18257. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  18258. +esac
  18259. +for ac_var in $ac_precious_vars; do
  18260. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  18261. + eval ac_env_${ac_var}_value=\$${ac_var}
  18262. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  18263. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  18264. +done
  18265. +
  18266. +#
  18267. +# Report the --help message.
  18268. +#
  18269. +if test "$ac_init_help" = "long"; then
  18270. + # Omit some internal or obsolete options to make the list less imposing.
  18271. + # This message is too long to be a string in the A/UX 3.1 sh.
  18272. + cat <<_ACEOF
  18273. +\`configure' configures ulogd 2.0.2 to adapt to many kinds of systems.
  18274. +
  18275. +Usage: $0 [OPTION]... [VAR=VALUE]...
  18276. +
  18277. +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  18278. +VAR=VALUE. See below for descriptions of some of the useful variables.
  18279. +
  18280. +Defaults for the options are specified in brackets.
  18281. +
  18282. +Configuration:
  18283. + -h, --help display this help and exit
  18284. + --help=short display options specific to this package
  18285. + --help=recursive display the short help of all the included packages
  18286. + -V, --version display version information and exit
  18287. + -q, --quiet, --silent do not print \`checking ...' messages
  18288. + --cache-file=FILE cache test results in FILE [disabled]
  18289. + -C, --config-cache alias for \`--cache-file=config.cache'
  18290. + -n, --no-create do not create output files
  18291. + --srcdir=DIR find the sources in DIR [configure dir or \`..']
  18292. +
  18293. +Installation directories:
  18294. + --prefix=PREFIX install architecture-independent files in PREFIX
  18295. + @<:@@S|@ac_default_prefix@:>@
  18296. + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  18297. + @<:@PREFIX@:>@
  18298. +
  18299. +By default, \`make install' will install all the files in
  18300. +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  18301. +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  18302. +for instance \`--prefix=\$HOME'.
  18303. +
  18304. +For better control, use the options below.
  18305. +
  18306. +Fine tuning of the installation directories:
  18307. + --bindir=DIR user executables [EPREFIX/bin]
  18308. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  18309. + --libexecdir=DIR program executables [EPREFIX/libexec]
  18310. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  18311. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  18312. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  18313. + --libdir=DIR object code libraries [EPREFIX/lib]
  18314. + --includedir=DIR C header files [PREFIX/include]
  18315. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  18316. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  18317. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  18318. + --infodir=DIR info documentation [DATAROOTDIR/info]
  18319. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  18320. + --mandir=DIR man documentation [DATAROOTDIR/man]
  18321. + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/ulogd@:>@
  18322. + --htmldir=DIR html documentation [DOCDIR]
  18323. + --dvidir=DIR dvi documentation [DOCDIR]
  18324. + --pdfdir=DIR pdf documentation [DOCDIR]
  18325. + --psdir=DIR ps documentation [DOCDIR]
  18326. +_ACEOF
  18327. +
  18328. + cat <<\_ACEOF
  18329. +
  18330. +Program names:
  18331. + --program-prefix=PREFIX prepend PREFIX to installed program names
  18332. + --program-suffix=SUFFIX append SUFFIX to installed program names
  18333. + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  18334. +
  18335. +System types:
  18336. + --build=BUILD configure for building on BUILD [guessed]
  18337. + --host=HOST cross-compile to build programs to run on HOST [BUILD]
  18338. +_ACEOF
  18339. +fi
  18340. +
  18341. +if test -n "$ac_init_help"; then
  18342. + case $ac_init_help in
  18343. + short | recursive ) echo "Configuration of ulogd 2.0.2:";;
  18344. + esac
  18345. + cat <<\_ACEOF
  18346. +
  18347. +Optional Features:
  18348. + --disable-option-checking ignore unrecognized --enable/--with options
  18349. + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  18350. + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  18351. + --disable-dependency-tracking speeds up one-time build
  18352. + --enable-dependency-tracking do not reject slow dependency extractors
  18353. + --enable-silent-rules less verbose build output (undo: `make V=1')
  18354. + --disable-silent-rules verbose build output (undo: `make V=0')
  18355. + --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@
  18356. + --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
  18357. + --enable-fast-install@<:@=PKGS@:>@
  18358. + optimize for fast installation @<:@default=yes@:>@
  18359. + --disable-libtool-lock avoid locking (might break parallel builds)
  18360. + --disable-largefile omit support for large files
  18361. + --enable-nflog Enable nflog module @<:@default=yes@:>@
  18362. + --enable-nfct Enable nfct module @<:@default=yes@:>@
  18363. + --enable-nfacct Enable nfacct module @<:@default=yes@:>@
  18364. +
  18365. +Optional Packages:
  18366. + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  18367. + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  18368. + --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
  18369. + both@:>@
  18370. + --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
  18371. + --with-sysroot=DIR Search for dependent libraries within DIR
  18372. + (or the compiler's sysroot if not specified).
  18373. + --with-pgsql=PREFIX Prefix of your PostgreSQL installation
  18374. + --with-pgsql-inc=PATH Path to the include directory of PostgreSQL
  18375. + --with-pgsql-lib=PATH Path to the libraries of PostgreSQL
  18376. + --with-mysql=PREFIX Prefix of your MySQL installation
  18377. + --with-mysql-inc=PATH Path to the include directory of MySQL
  18378. + --with-mysql-lib=PATH Path to the libraries of MySQL
  18379. + --with-dbi=PREFIX Prefix of your libdbi installation
  18380. + --with-dbi-inc=PATH Path to the include directory of dbi
  18381. + --with-dbi-lib=PATH Path to the libraries of dbi
  18382. +
  18383. +Some influential environment variables:
  18384. + CC C compiler command
  18385. + CFLAGS C compiler flags
  18386. + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  18387. + nonstandard directory <lib dir>
  18388. + LIBS libraries to pass to the linker, e.g. -l<library>
  18389. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  18390. + you have headers in a nonstandard directory <include dir>
  18391. + CPP C preprocessor
  18392. + PKG_CONFIG path to pkg-config utility
  18393. + PKG_CONFIG_PATH
  18394. + directories to add to pkg-config's search path
  18395. + PKG_CONFIG_LIBDIR
  18396. + path overriding pkg-config's built-in search path
  18397. + LIBNFNETLINK_CFLAGS
  18398. + C compiler flags for LIBNFNETLINK, overriding pkg-config
  18399. + LIBNFNETLINK_LIBS
  18400. + linker flags for LIBNFNETLINK, overriding pkg-config
  18401. + LIBMNL_CFLAGS
  18402. + C compiler flags for LIBMNL, overriding pkg-config
  18403. + LIBMNL_LIBS linker flags for LIBMNL, overriding pkg-config
  18404. + LIBNETFILTER_LOG_CFLAGS
  18405. + C compiler flags for LIBNETFILTER_LOG, overriding pkg-config
  18406. + LIBNETFILTER_LOG_LIBS
  18407. + linker flags for LIBNETFILTER_LOG, overriding pkg-config
  18408. + LIBNETFILTER_CONNTRACK_CFLAGS
  18409. + C compiler flags for LIBNETFILTER_CONNTRACK, overriding
  18410. + pkg-config
  18411. + LIBNETFILTER_CONNTRACK_LIBS
  18412. + linker flags for LIBNETFILTER_CONNTRACK, overriding pkg-config
  18413. + LIBNETFILTER_ACCT_CFLAGS
  18414. + C compiler flags for LIBNETFILTER_ACCT, overriding pkg-config
  18415. + LIBNETFILTER_ACCT_LIBS
  18416. + linker flags for LIBNETFILTER_ACCT, overriding pkg-config
  18417. + libsqlite3_CFLAGS
  18418. + C compiler flags for libsqlite3, overriding pkg-config
  18419. + libsqlite3_LIBS
  18420. + linker flags for libsqlite3, overriding pkg-config
  18421. +
  18422. +Use these variables to override the choices made by `configure' or to help
  18423. +it to find libraries and programs with nonstandard names/locations.
  18424. +
  18425. +Report bugs to the package provider.
  18426. +_ACEOF
  18427. +ac_status=$?
  18428. +fi
  18429. +
  18430. +if test "$ac_init_help" = "recursive"; then
  18431. + # If there are subdirs, report their specific --help.
  18432. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  18433. + test -d "$ac_dir" ||
  18434. + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  18435. + continue
  18436. + ac_builddir=.
  18437. +
  18438. +case "$ac_dir" in
  18439. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  18440. +*)
  18441. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  18442. + # A ".." for each directory in $ac_dir_suffix.
  18443. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  18444. + case $ac_top_builddir_sub in
  18445. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  18446. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  18447. + esac ;;
  18448. +esac
  18449. +ac_abs_top_builddir=$ac_pwd
  18450. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  18451. +# for backward compatibility:
  18452. +ac_top_builddir=$ac_top_build_prefix
  18453. +
  18454. +case $srcdir in
  18455. + .) # We are building in place.
  18456. + ac_srcdir=.
  18457. + ac_top_srcdir=$ac_top_builddir_sub
  18458. + ac_abs_top_srcdir=$ac_pwd ;;
  18459. + [\\/]* | ?:[\\/]* ) # Absolute name.
  18460. + ac_srcdir=$srcdir$ac_dir_suffix;
  18461. + ac_top_srcdir=$srcdir
  18462. + ac_abs_top_srcdir=$srcdir ;;
  18463. + *) # Relative name.
  18464. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  18465. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  18466. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  18467. +esac
  18468. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  18469. +
  18470. + cd "$ac_dir" || { ac_status=$?; continue; }
  18471. + # Check for guested configure.
  18472. + if test -f "$ac_srcdir/configure.gnu"; then
  18473. + echo &&
  18474. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  18475. + elif test -f "$ac_srcdir/configure"; then
  18476. + echo &&
  18477. + $SHELL "$ac_srcdir/configure" --help=recursive
  18478. + else
  18479. + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  18480. + fi || ac_status=$?
  18481. + cd "$ac_pwd" || { ac_status=$?; break; }
  18482. + done
  18483. +fi
  18484. +
  18485. +test -n "$ac_init_help" && exit $ac_status
  18486. +if $ac_init_version; then
  18487. + cat <<\_ACEOF
  18488. +ulogd configure 2.0.2
  18489. +generated by GNU Autoconf 2.68
  18490. +
  18491. +Copyright (C) 2010 Free Software Foundation, Inc.
  18492. +This configure script is free software; the Free Software Foundation
  18493. +gives unlimited permission to copy, distribute and modify it.
  18494. +_ACEOF
  18495. + exit
  18496. +fi
  18497. +
  18498. +## ------------------------ ##
  18499. +## Autoconf initialization. ##
  18500. +## ------------------------ ##
  18501. +
  18502. +@%:@ ac_fn_c_try_compile LINENO
  18503. +@%:@ --------------------------
  18504. +@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
  18505. +ac_fn_c_try_compile ()
  18506. +{
  18507. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  18508. + rm -f conftest.$ac_objext
  18509. + if { { ac_try="$ac_compile"
  18510. +case "(($ac_try" in
  18511. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18512. + *) ac_try_echo=$ac_try;;
  18513. +esac
  18514. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  18515. +$as_echo "$ac_try_echo"; } >&5
  18516. + (eval "$ac_compile") 2>conftest.err
  18517. + ac_status=$?
  18518. + if test -s conftest.err; then
  18519. + grep -v '^ *+' conftest.err >conftest.er1
  18520. + cat conftest.er1 >&5
  18521. + mv -f conftest.er1 conftest.err
  18522. + fi
  18523. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18524. + test $ac_status = 0; } && {
  18525. + test -z "$ac_c_werror_flag" ||
  18526. + test ! -s conftest.err
  18527. + } && test -s conftest.$ac_objext; then :
  18528. + ac_retval=0
  18529. +else
  18530. + $as_echo "$as_me: failed program was:" >&5
  18531. +sed 's/^/| /' conftest.$ac_ext >&5
  18532. +
  18533. + ac_retval=1
  18534. +fi
  18535. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  18536. + as_fn_set_status $ac_retval
  18537. +
  18538. +} @%:@ ac_fn_c_try_compile
  18539. +
  18540. +@%:@ ac_fn_c_try_link LINENO
  18541. +@%:@ -----------------------
  18542. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
  18543. +ac_fn_c_try_link ()
  18544. +{
  18545. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  18546. + rm -f conftest.$ac_objext conftest$ac_exeext
  18547. + if { { ac_try="$ac_link"
  18548. +case "(($ac_try" in
  18549. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18550. + *) ac_try_echo=$ac_try;;
  18551. +esac
  18552. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  18553. +$as_echo "$ac_try_echo"; } >&5
  18554. + (eval "$ac_link") 2>conftest.err
  18555. + ac_status=$?
  18556. + if test -s conftest.err; then
  18557. + grep -v '^ *+' conftest.err >conftest.er1
  18558. + cat conftest.er1 >&5
  18559. + mv -f conftest.er1 conftest.err
  18560. + fi
  18561. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18562. + test $ac_status = 0; } && {
  18563. + test -z "$ac_c_werror_flag" ||
  18564. + test ! -s conftest.err
  18565. + } && test -s conftest$ac_exeext && {
  18566. + test "$cross_compiling" = yes ||
  18567. + $as_test_x conftest$ac_exeext
  18568. + }; then :
  18569. + ac_retval=0
  18570. +else
  18571. + $as_echo "$as_me: failed program was:" >&5
  18572. +sed 's/^/| /' conftest.$ac_ext >&5
  18573. +
  18574. + ac_retval=1
  18575. +fi
  18576. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  18577. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  18578. + # interfere with the next link command; also delete a directory that is
  18579. + # left behind by Apple's compiler. We do this before executing the actions.
  18580. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  18581. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  18582. + as_fn_set_status $ac_retval
  18583. +
  18584. +} @%:@ ac_fn_c_try_link
  18585. +
  18586. +@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  18587. +@%:@ -------------------------------------------------------
  18588. +@%:@ Tests whether HEADER exists and can be compiled using the include files in
  18589. +@%:@ INCLUDES, setting the cache variable VAR accordingly.
  18590. +ac_fn_c_check_header_compile ()
  18591. +{
  18592. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  18593. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  18594. +$as_echo_n "checking for $2... " >&6; }
  18595. +if eval \${$3+:} false; then :
  18596. + $as_echo_n "(cached) " >&6
  18597. +else
  18598. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18599. +/* end confdefs.h. */
  18600. +$4
  18601. +@%:@include <$2>
  18602. +_ACEOF
  18603. +if ac_fn_c_try_compile "$LINENO"; then :
  18604. + eval "$3=yes"
  18605. +else
  18606. + eval "$3=no"
  18607. +fi
  18608. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18609. +fi
  18610. +eval ac_res=\$$3
  18611. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  18612. +$as_echo "$ac_res" >&6; }
  18613. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  18614. +
  18615. +} @%:@ ac_fn_c_check_header_compile
  18616. +
  18617. +@%:@ ac_fn_c_try_cpp LINENO
  18618. +@%:@ ----------------------
  18619. +@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
  18620. +ac_fn_c_try_cpp ()
  18621. +{
  18622. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  18623. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  18624. +case "(($ac_try" in
  18625. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18626. + *) ac_try_echo=$ac_try;;
  18627. +esac
  18628. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  18629. +$as_echo "$ac_try_echo"; } >&5
  18630. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  18631. + ac_status=$?
  18632. + if test -s conftest.err; then
  18633. + grep -v '^ *+' conftest.err >conftest.er1
  18634. + cat conftest.er1 >&5
  18635. + mv -f conftest.er1 conftest.err
  18636. + fi
  18637. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18638. + test $ac_status = 0; } > conftest.i && {
  18639. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  18640. + test ! -s conftest.err
  18641. + }; then :
  18642. + ac_retval=0
  18643. +else
  18644. + $as_echo "$as_me: failed program was:" >&5
  18645. +sed 's/^/| /' conftest.$ac_ext >&5
  18646. +
  18647. + ac_retval=1
  18648. +fi
  18649. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  18650. + as_fn_set_status $ac_retval
  18651. +
  18652. +} @%:@ ac_fn_c_try_cpp
  18653. +
  18654. +@%:@ ac_fn_c_try_run LINENO
  18655. +@%:@ ----------------------
  18656. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
  18657. +@%:@ that executables *can* be run.
  18658. +ac_fn_c_try_run ()
  18659. +{
  18660. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  18661. + if { { ac_try="$ac_link"
  18662. +case "(($ac_try" in
  18663. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18664. + *) ac_try_echo=$ac_try;;
  18665. +esac
  18666. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  18667. +$as_echo "$ac_try_echo"; } >&5
  18668. + (eval "$ac_link") 2>&5
  18669. + ac_status=$?
  18670. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18671. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  18672. + { { case "(($ac_try" in
  18673. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18674. + *) ac_try_echo=$ac_try;;
  18675. +esac
  18676. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  18677. +$as_echo "$ac_try_echo"; } >&5
  18678. + (eval "$ac_try") 2>&5
  18679. + ac_status=$?
  18680. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18681. + test $ac_status = 0; }; }; then :
  18682. + ac_retval=0
  18683. +else
  18684. + $as_echo "$as_me: program exited with status $ac_status" >&5
  18685. + $as_echo "$as_me: failed program was:" >&5
  18686. +sed 's/^/| /' conftest.$ac_ext >&5
  18687. +
  18688. + ac_retval=$ac_status
  18689. +fi
  18690. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  18691. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  18692. + as_fn_set_status $ac_retval
  18693. +
  18694. +} @%:@ ac_fn_c_try_run
  18695. +
  18696. +@%:@ ac_fn_c_check_func LINENO FUNC VAR
  18697. +@%:@ ----------------------------------
  18698. +@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
  18699. +ac_fn_c_check_func ()
  18700. +{
  18701. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  18702. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  18703. +$as_echo_n "checking for $2... " >&6; }
  18704. +if eval \${$3+:} false; then :
  18705. + $as_echo_n "(cached) " >&6
  18706. +else
  18707. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18708. +/* end confdefs.h. */
  18709. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  18710. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  18711. +#define $2 innocuous_$2
  18712. +
  18713. +/* System header to define __stub macros and hopefully few prototypes,
  18714. + which can conflict with char $2 (); below.
  18715. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  18716. + <limits.h> exists even on freestanding compilers. */
  18717. +
  18718. +#ifdef __STDC__
  18719. +# include <limits.h>
  18720. +#else
  18721. +# include <assert.h>
  18722. +#endif
  18723. +
  18724. +#undef $2
  18725. +
  18726. +/* Override any GCC internal prototype to avoid an error.
  18727. + Use char because int might match the return type of a GCC
  18728. + builtin and then its argument prototype would still apply. */
  18729. +#ifdef __cplusplus
  18730. +extern "C"
  18731. +#endif
  18732. +char $2 ();
  18733. +/* The GNU C library defines this for functions which it implements
  18734. + to always fail with ENOSYS. Some functions are actually named
  18735. + something starting with __ and the normal name is an alias. */
  18736. +#if defined __stub_$2 || defined __stub___$2
  18737. +choke me
  18738. +#endif
  18739. +
  18740. +int
  18741. +main ()
  18742. +{
  18743. +return $2 ();
  18744. + ;
  18745. + return 0;
  18746. +}
  18747. +_ACEOF
  18748. +if ac_fn_c_try_link "$LINENO"; then :
  18749. + eval "$3=yes"
  18750. +else
  18751. + eval "$3=no"
  18752. +fi
  18753. +rm -f core conftest.err conftest.$ac_objext \
  18754. + conftest$ac_exeext conftest.$ac_ext
  18755. +fi
  18756. +eval ac_res=\$$3
  18757. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  18758. +$as_echo "$ac_res" >&6; }
  18759. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  18760. +
  18761. +} @%:@ ac_fn_c_check_func
  18762. +
  18763. +@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  18764. +@%:@ -------------------------------------------------------
  18765. +@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
  18766. +@%:@ the include files in INCLUDES and setting the cache variable VAR
  18767. +@%:@ accordingly.
  18768. +ac_fn_c_check_header_mongrel ()
  18769. +{
  18770. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  18771. + if eval \${$3+:} false; then :
  18772. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  18773. +$as_echo_n "checking for $2... " >&6; }
  18774. +if eval \${$3+:} false; then :
  18775. + $as_echo_n "(cached) " >&6
  18776. +fi
  18777. +eval ac_res=\$$3
  18778. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  18779. +$as_echo "$ac_res" >&6; }
  18780. +else
  18781. + # Is the header compilable?
  18782. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  18783. +$as_echo_n "checking $2 usability... " >&6; }
  18784. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18785. +/* end confdefs.h. */
  18786. +$4
  18787. +@%:@include <$2>
  18788. +_ACEOF
  18789. +if ac_fn_c_try_compile "$LINENO"; then :
  18790. + ac_header_compiler=yes
  18791. +else
  18792. + ac_header_compiler=no
  18793. +fi
  18794. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18795. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  18796. +$as_echo "$ac_header_compiler" >&6; }
  18797. +
  18798. +# Is the header present?
  18799. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  18800. +$as_echo_n "checking $2 presence... " >&6; }
  18801. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18802. +/* end confdefs.h. */
  18803. +@%:@include <$2>
  18804. +_ACEOF
  18805. +if ac_fn_c_try_cpp "$LINENO"; then :
  18806. + ac_header_preproc=yes
  18807. +else
  18808. + ac_header_preproc=no
  18809. +fi
  18810. +rm -f conftest.err conftest.i conftest.$ac_ext
  18811. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  18812. +$as_echo "$ac_header_preproc" >&6; }
  18813. +
  18814. +# So? What about this header?
  18815. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  18816. + yes:no: )
  18817. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  18818. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  18819. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  18820. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  18821. + ;;
  18822. + no:yes:* )
  18823. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  18824. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  18825. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  18826. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  18827. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  18828. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  18829. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  18830. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  18831. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  18832. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  18833. + ;;
  18834. +esac
  18835. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  18836. +$as_echo_n "checking for $2... " >&6; }
  18837. +if eval \${$3+:} false; then :
  18838. + $as_echo_n "(cached) " >&6
  18839. +else
  18840. + eval "$3=\$ac_header_compiler"
  18841. +fi
  18842. +eval ac_res=\$$3
  18843. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  18844. +$as_echo "$ac_res" >&6; }
  18845. +fi
  18846. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  18847. +
  18848. +} @%:@ ac_fn_c_check_header_mongrel
  18849. +
  18850. +@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  18851. +@%:@ -------------------------------------------
  18852. +@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
  18853. +@%:@ variable VAR accordingly.
  18854. +ac_fn_c_check_type ()
  18855. +{
  18856. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  18857. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  18858. +$as_echo_n "checking for $2... " >&6; }
  18859. +if eval \${$3+:} false; then :
  18860. + $as_echo_n "(cached) " >&6
  18861. +else
  18862. + eval "$3=no"
  18863. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18864. +/* end confdefs.h. */
  18865. +$4
  18866. +int
  18867. +main ()
  18868. +{
  18869. +if (sizeof ($2))
  18870. + return 0;
  18871. + ;
  18872. + return 0;
  18873. +}
  18874. +_ACEOF
  18875. +if ac_fn_c_try_compile "$LINENO"; then :
  18876. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18877. +/* end confdefs.h. */
  18878. +$4
  18879. +int
  18880. +main ()
  18881. +{
  18882. +if (sizeof (($2)))
  18883. + return 0;
  18884. + ;
  18885. + return 0;
  18886. +}
  18887. +_ACEOF
  18888. +if ac_fn_c_try_compile "$LINENO"; then :
  18889. +
  18890. +else
  18891. + eval "$3=yes"
  18892. +fi
  18893. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18894. +fi
  18895. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18896. +fi
  18897. +eval ac_res=\$$3
  18898. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  18899. +$as_echo "$ac_res" >&6; }
  18900. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  18901. +
  18902. +} @%:@ ac_fn_c_check_type
  18903. +cat >config.log <<_ACEOF
  18904. +This file contains any messages produced by compilers while
  18905. +running configure, to aid debugging if configure makes a mistake.
  18906. +
  18907. +It was created by ulogd $as_me 2.0.2, which was
  18908. +generated by GNU Autoconf 2.68. Invocation command line was
  18909. +
  18910. + $ $0 $@
  18911. +
  18912. +_ACEOF
  18913. +exec 5>>config.log
  18914. +{
  18915. +cat <<_ASUNAME
  18916. +## --------- ##
  18917. +## Platform. ##
  18918. +## --------- ##
  18919. +
  18920. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  18921. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  18922. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  18923. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  18924. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  18925. +
  18926. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  18927. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  18928. +
  18929. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  18930. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  18931. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  18932. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  18933. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  18934. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  18935. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  18936. +
  18937. +_ASUNAME
  18938. +
  18939. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18940. +for as_dir in $PATH
  18941. +do
  18942. + IFS=$as_save_IFS
  18943. + test -z "$as_dir" && as_dir=.
  18944. + $as_echo "PATH: $as_dir"
  18945. + done
  18946. +IFS=$as_save_IFS
  18947. +
  18948. +} >&5
  18949. +
  18950. +cat >&5 <<_ACEOF
  18951. +
  18952. +
  18953. +## ----------- ##
  18954. +## Core tests. ##
  18955. +## ----------- ##
  18956. +
  18957. +_ACEOF
  18958. +
  18959. +
  18960. +# Keep a trace of the command line.
  18961. +# Strip out --no-create and --no-recursion so they do not pile up.
  18962. +# Strip out --silent because we don't want to record it for future runs.
  18963. +# Also quote any args containing shell meta-characters.
  18964. +# Make two passes to allow for proper duplicate-argument suppression.
  18965. +ac_configure_args=
  18966. +ac_configure_args0=
  18967. +ac_configure_args1=
  18968. +ac_must_keep_next=false
  18969. +for ac_pass in 1 2
  18970. +do
  18971. + for ac_arg
  18972. + do
  18973. + case $ac_arg in
  18974. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  18975. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  18976. + | -silent | --silent | --silen | --sile | --sil)
  18977. + continue ;;
  18978. + *\'*)
  18979. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  18980. + esac
  18981. + case $ac_pass in
  18982. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  18983. + 2)
  18984. + as_fn_append ac_configure_args1 " '$ac_arg'"
  18985. + if test $ac_must_keep_next = true; then
  18986. + ac_must_keep_next=false # Got value, back to normal.
  18987. + else
  18988. + case $ac_arg in
  18989. + *=* | --config-cache | -C | -disable-* | --disable-* \
  18990. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  18991. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  18992. + | -with-* | --with-* | -without-* | --without-* | --x)
  18993. + case "$ac_configure_args0 " in
  18994. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  18995. + esac
  18996. + ;;
  18997. + -* ) ac_must_keep_next=true ;;
  18998. + esac
  18999. + fi
  19000. + as_fn_append ac_configure_args " '$ac_arg'"
  19001. + ;;
  19002. + esac
  19003. + done
  19004. +done
  19005. +{ ac_configure_args0=; unset ac_configure_args0;}
  19006. +{ ac_configure_args1=; unset ac_configure_args1;}
  19007. +
  19008. +# When interrupted or exit'd, cleanup temporary files, and complete
  19009. +# config.log. We remove comments because anyway the quotes in there
  19010. +# would cause problems or look ugly.
  19011. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  19012. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  19013. +trap 'exit_status=$?
  19014. + # Save into config.log some information that might help in debugging.
  19015. + {
  19016. + echo
  19017. +
  19018. + $as_echo "## ---------------- ##
  19019. +## Cache variables. ##
  19020. +## ---------------- ##"
  19021. + echo
  19022. + # The following way of writing the cache mishandles newlines in values,
  19023. +(
  19024. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  19025. + eval ac_val=\$$ac_var
  19026. + case $ac_val in #(
  19027. + *${as_nl}*)
  19028. + case $ac_var in #(
  19029. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  19030. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  19031. + esac
  19032. + case $ac_var in #(
  19033. + _ | IFS | as_nl) ;; #(
  19034. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  19035. + *) { eval $ac_var=; unset $ac_var;} ;;
  19036. + esac ;;
  19037. + esac
  19038. + done
  19039. + (set) 2>&1 |
  19040. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  19041. + *${as_nl}ac_space=\ *)
  19042. + sed -n \
  19043. + "s/'\''/'\''\\\\'\'''\''/g;
  19044. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  19045. + ;; #(
  19046. + *)
  19047. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  19048. + ;;
  19049. + esac |
  19050. + sort
  19051. +)
  19052. + echo
  19053. +
  19054. + $as_echo "## ----------------- ##
  19055. +## Output variables. ##
  19056. +## ----------------- ##"
  19057. + echo
  19058. + for ac_var in $ac_subst_vars
  19059. + do
  19060. + eval ac_val=\$$ac_var
  19061. + case $ac_val in
  19062. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  19063. + esac
  19064. + $as_echo "$ac_var='\''$ac_val'\''"
  19065. + done | sort
  19066. + echo
  19067. +
  19068. + if test -n "$ac_subst_files"; then
  19069. + $as_echo "## ------------------- ##
  19070. +## File substitutions. ##
  19071. +## ------------------- ##"
  19072. + echo
  19073. + for ac_var in $ac_subst_files
  19074. + do
  19075. + eval ac_val=\$$ac_var
  19076. + case $ac_val in
  19077. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  19078. + esac
  19079. + $as_echo "$ac_var='\''$ac_val'\''"
  19080. + done | sort
  19081. + echo
  19082. + fi
  19083. +
  19084. + if test -s confdefs.h; then
  19085. + $as_echo "## ----------- ##
  19086. +## confdefs.h. ##
  19087. +## ----------- ##"
  19088. + echo
  19089. + cat confdefs.h
  19090. + echo
  19091. + fi
  19092. + test "$ac_signal" != 0 &&
  19093. + $as_echo "$as_me: caught signal $ac_signal"
  19094. + $as_echo "$as_me: exit $exit_status"
  19095. + } >&5
  19096. + rm -f core *.core core.conftest.* &&
  19097. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  19098. + exit $exit_status
  19099. +' 0
  19100. +for ac_signal in 1 2 13 15; do
  19101. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  19102. +done
  19103. +ac_signal=0
  19104. +
  19105. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  19106. +rm -f -r conftest* confdefs.h
  19107. +
  19108. +$as_echo "/* confdefs.h */" > confdefs.h
  19109. +
  19110. +# Predefined preprocessor variables.
  19111. +
  19112. +cat >>confdefs.h <<_ACEOF
  19113. +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
  19114. +_ACEOF
  19115. +
  19116. +cat >>confdefs.h <<_ACEOF
  19117. +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  19118. +_ACEOF
  19119. +
  19120. +cat >>confdefs.h <<_ACEOF
  19121. +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  19122. +_ACEOF
  19123. +
  19124. +cat >>confdefs.h <<_ACEOF
  19125. +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
  19126. +_ACEOF
  19127. +
  19128. +cat >>confdefs.h <<_ACEOF
  19129. +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  19130. +_ACEOF
  19131. +
  19132. +cat >>confdefs.h <<_ACEOF
  19133. +@%:@define PACKAGE_URL "$PACKAGE_URL"
  19134. +_ACEOF
  19135. +
  19136. +
  19137. +# Let the site file select an alternate cache file if it wants to.
  19138. +# Prefer an explicitly selected file to automatically selected ones.
  19139. +ac_site_file1=NONE
  19140. +ac_site_file2=NONE
  19141. +if test -n "$CONFIG_SITE"; then
  19142. + # We do not want a PATH search for config.site.
  19143. + case $CONFIG_SITE in @%:@((
  19144. + -*) ac_site_file1=./$CONFIG_SITE;;
  19145. + */*) ac_site_file1=$CONFIG_SITE;;
  19146. + *) ac_site_file1=./$CONFIG_SITE;;
  19147. + esac
  19148. +elif test "x$prefix" != xNONE; then
  19149. + ac_site_file1=$prefix/share/config.site
  19150. + ac_site_file2=$prefix/etc/config.site
  19151. +else
  19152. + ac_site_file1=$ac_default_prefix/share/config.site
  19153. + ac_site_file2=$ac_default_prefix/etc/config.site
  19154. +fi
  19155. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  19156. +do
  19157. + test "x$ac_site_file" = xNONE && continue
  19158. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  19159. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  19160. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  19161. + sed 's/^/| /' "$ac_site_file" >&5
  19162. + . "$ac_site_file" \
  19163. + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  19164. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  19165. +as_fn_error $? "failed to load site script $ac_site_file
  19166. +See \`config.log' for more details" "$LINENO" 5; }
  19167. + fi
  19168. +done
  19169. +
  19170. +if test -r "$cache_file"; then
  19171. + # Some versions of bash will fail to source /dev/null (special files
  19172. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  19173. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  19174. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  19175. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  19176. + case $cache_file in
  19177. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  19178. + *) . "./$cache_file";;
  19179. + esac
  19180. + fi
  19181. +else
  19182. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  19183. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  19184. + >$cache_file
  19185. +fi
  19186. +
  19187. +# Check that the precious variables saved in the cache have kept the same
  19188. +# value.
  19189. +ac_cache_corrupted=false
  19190. +for ac_var in $ac_precious_vars; do
  19191. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  19192. + eval ac_new_set=\$ac_env_${ac_var}_set
  19193. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  19194. + eval ac_new_val=\$ac_env_${ac_var}_value
  19195. + case $ac_old_set,$ac_new_set in
  19196. + set,)
  19197. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  19198. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  19199. + ac_cache_corrupted=: ;;
  19200. + ,set)
  19201. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  19202. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  19203. + ac_cache_corrupted=: ;;
  19204. + ,);;
  19205. + *)
  19206. + if test "x$ac_old_val" != "x$ac_new_val"; then
  19207. + # differences in whitespace do not lead to failure.
  19208. + ac_old_val_w=`echo x $ac_old_val`
  19209. + ac_new_val_w=`echo x $ac_new_val`
  19210. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  19211. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  19212. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  19213. + ac_cache_corrupted=:
  19214. + else
  19215. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  19216. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  19217. + eval $ac_var=\$ac_old_val
  19218. + fi
  19219. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  19220. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  19221. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  19222. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  19223. + fi;;
  19224. + esac
  19225. + # Pass precious variables to config.status.
  19226. + if test "$ac_new_set" = set; then
  19227. + case $ac_new_val in
  19228. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  19229. + *) ac_arg=$ac_var=$ac_new_val ;;
  19230. + esac
  19231. + case " $ac_configure_args " in
  19232. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  19233. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  19234. + esac
  19235. + fi
  19236. +done
  19237. +if $ac_cache_corrupted; then
  19238. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  19239. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  19240. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  19241. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  19242. + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  19243. +fi
  19244. +## -------------------- ##
  19245. +## Main body of script. ##
  19246. +## -------------------- ##
  19247. +
  19248. +ac_ext=c
  19249. +ac_cpp='$CPP $CPPFLAGS'
  19250. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  19251. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  19252. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  19253. +
  19254. +
  19255. +
  19256. +ac_aux_dir=
  19257. +for ac_dir in build-aux "$srcdir"/build-aux; do
  19258. + if test -f "$ac_dir/install-sh"; then
  19259. + ac_aux_dir=$ac_dir
  19260. + ac_install_sh="$ac_aux_dir/install-sh -c"
  19261. + break
  19262. + elif test -f "$ac_dir/install.sh"; then
  19263. + ac_aux_dir=$ac_dir
  19264. + ac_install_sh="$ac_aux_dir/install.sh -c"
  19265. + break
  19266. + elif test -f "$ac_dir/shtool"; then
  19267. + ac_aux_dir=$ac_dir
  19268. + ac_install_sh="$ac_aux_dir/shtool install -c"
  19269. + break
  19270. + fi
  19271. +done
  19272. +if test -z "$ac_aux_dir"; then
  19273. + as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
  19274. +fi
  19275. +
  19276. +# These three variables are undocumented and unsupported,
  19277. +# and are intended to be withdrawn in a future Autoconf release.
  19278. +# They can cause serious problems if a builder's source tree is in a directory
  19279. +# whose full name contains unusual characters.
  19280. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  19281. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  19282. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  19283. +
  19284. +
  19285. +am__api_version='1.11'
  19286. +
  19287. +# Find a good install program. We prefer a C program (faster),
  19288. +# so one script is as good as another. But avoid the broken or
  19289. +# incompatible versions:
  19290. +# SysV /etc/install, /usr/sbin/install
  19291. +# SunOS /usr/etc/install
  19292. +# IRIX /sbin/install
  19293. +# AIX /bin/install
  19294. +# AmigaOS /C/install, which installs bootblocks on floppy discs
  19295. +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  19296. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  19297. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  19298. +# OS/2's system install, which has a completely different semantic
  19299. +# ./install, which can be erroneously created by make from ./install.sh.
  19300. +# Reject install programs that cannot install multiple files.
  19301. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  19302. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  19303. +if test -z "$INSTALL"; then
  19304. +if ${ac_cv_path_install+:} false; then :
  19305. + $as_echo_n "(cached) " >&6
  19306. +else
  19307. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19308. +for as_dir in $PATH
  19309. +do
  19310. + IFS=$as_save_IFS
  19311. + test -z "$as_dir" && as_dir=.
  19312. + # Account for people who put trailing slashes in PATH elements.
  19313. +case $as_dir/ in @%:@((
  19314. + ./ | .// | /[cC]/* | \
  19315. + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  19316. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  19317. + /usr/ucb/* ) ;;
  19318. + *)
  19319. + # OSF1 and SCO ODT 3.0 have their own names for install.
  19320. + # Don't use installbsd from OSF since it installs stuff as root
  19321. + # by default.
  19322. + for ac_prog in ginstall scoinst install; do
  19323. + for ac_exec_ext in '' $ac_executable_extensions; do
  19324. + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  19325. + if test $ac_prog = install &&
  19326. + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  19327. + # AIX install. It has an incompatible calling convention.
  19328. + :
  19329. + elif test $ac_prog = install &&
  19330. + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  19331. + # program-specific install script used by HP pwplus--don't use.
  19332. + :
  19333. + else
  19334. + rm -rf conftest.one conftest.two conftest.dir
  19335. + echo one > conftest.one
  19336. + echo two > conftest.two
  19337. + mkdir conftest.dir
  19338. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  19339. + test -s conftest.one && test -s conftest.two &&
  19340. + test -s conftest.dir/conftest.one &&
  19341. + test -s conftest.dir/conftest.two
  19342. + then
  19343. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  19344. + break 3
  19345. + fi
  19346. + fi
  19347. + fi
  19348. + done
  19349. + done
  19350. + ;;
  19351. +esac
  19352. +
  19353. + done
  19354. +IFS=$as_save_IFS
  19355. +
  19356. +rm -rf conftest.one conftest.two conftest.dir
  19357. +
  19358. +fi
  19359. + if test "${ac_cv_path_install+set}" = set; then
  19360. + INSTALL=$ac_cv_path_install
  19361. + else
  19362. + # As a last resort, use the slow shell script. Don't cache a
  19363. + # value for INSTALL within a source directory, because that will
  19364. + # break other packages using the cache if that directory is
  19365. + # removed, or if the value is a relative name.
  19366. + INSTALL=$ac_install_sh
  19367. + fi
  19368. +fi
  19369. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  19370. +$as_echo "$INSTALL" >&6; }
  19371. +
  19372. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  19373. +# It thinks the first close brace ends the variable substitution.
  19374. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  19375. +
  19376. +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  19377. +
  19378. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  19379. +
  19380. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  19381. +$as_echo_n "checking whether build environment is sane... " >&6; }
  19382. +# Just in case
  19383. +sleep 1
  19384. +echo timestamp > conftest.file
  19385. +# Reject unsafe characters in $srcdir or the absolute working directory
  19386. +# name. Accept space and tab only in the latter.
  19387. +am_lf='
  19388. +'
  19389. +case `pwd` in
  19390. + *[\\\"\#\$\&\'\`$am_lf]*)
  19391. + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  19392. +esac
  19393. +case $srcdir in
  19394. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  19395. + as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  19396. +esac
  19397. +
  19398. +# Do `set' in a subshell so we don't clobber the current shell's
  19399. +# arguments. Must try -L first in case configure is actually a
  19400. +# symlink; some systems play weird games with the mod time of symlinks
  19401. +# (eg FreeBSD returns the mod time of the symlink's containing
  19402. +# directory).
  19403. +if (
  19404. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  19405. + if test "$*" = "X"; then
  19406. + # -L didn't work.
  19407. + set X `ls -t "$srcdir/configure" conftest.file`
  19408. + fi
  19409. + rm -f conftest.file
  19410. + if test "$*" != "X $srcdir/configure conftest.file" \
  19411. + && test "$*" != "X conftest.file $srcdir/configure"; then
  19412. +
  19413. + # If neither matched, then we have a broken ls. This can happen
  19414. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  19415. + # broken ls alias from the environment. This has actually
  19416. + # happened. Such a system could not be considered "sane".
  19417. + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  19418. +alias in your environment" "$LINENO" 5
  19419. + fi
  19420. +
  19421. + test "$2" = conftest.file
  19422. + )
  19423. +then
  19424. + # Ok.
  19425. + :
  19426. +else
  19427. + as_fn_error $? "newly created file is older than distributed files!
  19428. +Check your system clock" "$LINENO" 5
  19429. +fi
  19430. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  19431. +$as_echo "yes" >&6; }
  19432. +test "$program_prefix" != NONE &&
  19433. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  19434. +# Use a double $ so make ignores it.
  19435. +test "$program_suffix" != NONE &&
  19436. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  19437. +# Double any \ or $.
  19438. +# By default was `s,x,x', remove it if useless.
  19439. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  19440. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  19441. +
  19442. +# expand $ac_aux_dir to an absolute path
  19443. +am_aux_dir=`cd $ac_aux_dir && pwd`
  19444. +
  19445. +if test x"${MISSING+set}" != xset; then
  19446. + case $am_aux_dir in
  19447. + *\ * | *\ *)
  19448. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  19449. + *)
  19450. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  19451. + esac
  19452. +fi
  19453. +# Use eval to expand $SHELL
  19454. +if eval "$MISSING --run true"; then
  19455. + am_missing_run="$MISSING --run "
  19456. +else
  19457. + am_missing_run=
  19458. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  19459. +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  19460. +fi
  19461. +
  19462. +if test x"${install_sh}" != xset; then
  19463. + case $am_aux_dir in
  19464. + *\ * | *\ *)
  19465. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  19466. + *)
  19467. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  19468. + esac
  19469. +fi
  19470. +
  19471. +# Installed binaries are usually stripped using `strip' when the user
  19472. +# run `make install-strip'. However `strip' might not be the right
  19473. +# tool to use in cross-compilation environments, therefore Automake
  19474. +# will honor the `STRIP' environment variable to overrule this program.
  19475. +if test "$cross_compiling" != no; then
  19476. + if test -n "$ac_tool_prefix"; then
  19477. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  19478. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  19479. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19480. +$as_echo_n "checking for $ac_word... " >&6; }
  19481. +if ${ac_cv_prog_STRIP+:} false; then :
  19482. + $as_echo_n "(cached) " >&6
  19483. +else
  19484. + if test -n "$STRIP"; then
  19485. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  19486. +else
  19487. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19488. +for as_dir in $PATH
  19489. +do
  19490. + IFS=$as_save_IFS
  19491. + test -z "$as_dir" && as_dir=.
  19492. + for ac_exec_ext in '' $ac_executable_extensions; do
  19493. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  19494. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  19495. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19496. + break 2
  19497. + fi
  19498. +done
  19499. + done
  19500. +IFS=$as_save_IFS
  19501. +
  19502. +fi
  19503. +fi
  19504. +STRIP=$ac_cv_prog_STRIP
  19505. +if test -n "$STRIP"; then
  19506. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  19507. +$as_echo "$STRIP" >&6; }
  19508. +else
  19509. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19510. +$as_echo "no" >&6; }
  19511. +fi
  19512. +
  19513. +
  19514. +fi
  19515. +if test -z "$ac_cv_prog_STRIP"; then
  19516. + ac_ct_STRIP=$STRIP
  19517. + # Extract the first word of "strip", so it can be a program name with args.
  19518. +set dummy strip; ac_word=$2
  19519. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19520. +$as_echo_n "checking for $ac_word... " >&6; }
  19521. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  19522. + $as_echo_n "(cached) " >&6
  19523. +else
  19524. + if test -n "$ac_ct_STRIP"; then
  19525. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  19526. +else
  19527. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19528. +for as_dir in $PATH
  19529. +do
  19530. + IFS=$as_save_IFS
  19531. + test -z "$as_dir" && as_dir=.
  19532. + for ac_exec_ext in '' $ac_executable_extensions; do
  19533. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  19534. + ac_cv_prog_ac_ct_STRIP="strip"
  19535. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19536. + break 2
  19537. + fi
  19538. +done
  19539. + done
  19540. +IFS=$as_save_IFS
  19541. +
  19542. +fi
  19543. +fi
  19544. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  19545. +if test -n "$ac_ct_STRIP"; then
  19546. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  19547. +$as_echo "$ac_ct_STRIP" >&6; }
  19548. +else
  19549. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19550. +$as_echo "no" >&6; }
  19551. +fi
  19552. +
  19553. + if test "x$ac_ct_STRIP" = x; then
  19554. + STRIP=":"
  19555. + else
  19556. + case $cross_compiling:$ac_tool_warned in
  19557. +yes:)
  19558. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  19559. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  19560. +ac_tool_warned=yes ;;
  19561. +esac
  19562. + STRIP=$ac_ct_STRIP
  19563. + fi
  19564. +else
  19565. + STRIP="$ac_cv_prog_STRIP"
  19566. +fi
  19567. +
  19568. +fi
  19569. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  19570. +
  19571. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  19572. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  19573. +if test -z "$MKDIR_P"; then
  19574. + if ${ac_cv_path_mkdir+:} false; then :
  19575. + $as_echo_n "(cached) " >&6
  19576. +else
  19577. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19578. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  19579. +do
  19580. + IFS=$as_save_IFS
  19581. + test -z "$as_dir" && as_dir=.
  19582. + for ac_prog in mkdir gmkdir; do
  19583. + for ac_exec_ext in '' $ac_executable_extensions; do
  19584. + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  19585. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  19586. + 'mkdir (GNU coreutils) '* | \
  19587. + 'mkdir (coreutils) '* | \
  19588. + 'mkdir (fileutils) '4.1*)
  19589. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  19590. + break 3;;
  19591. + esac
  19592. + done
  19593. + done
  19594. + done
  19595. +IFS=$as_save_IFS
  19596. +
  19597. +fi
  19598. +
  19599. + test -d ./--version && rmdir ./--version
  19600. + if test "${ac_cv_path_mkdir+set}" = set; then
  19601. + MKDIR_P="$ac_cv_path_mkdir -p"
  19602. + else
  19603. + # As a last resort, use the slow shell script. Don't cache a
  19604. + # value for MKDIR_P within a source directory, because that will
  19605. + # break other packages using the cache if that directory is
  19606. + # removed, or if the value is a relative name.
  19607. + MKDIR_P="$ac_install_sh -d"
  19608. + fi
  19609. +fi
  19610. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  19611. +$as_echo "$MKDIR_P" >&6; }
  19612. +
  19613. +mkdir_p="$MKDIR_P"
  19614. +case $mkdir_p in
  19615. + [\\/$]* | ?:[\\/]*) ;;
  19616. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  19617. +esac
  19618. +
  19619. +for ac_prog in gawk mawk nawk awk
  19620. +do
  19621. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  19622. +set dummy $ac_prog; ac_word=$2
  19623. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19624. +$as_echo_n "checking for $ac_word... " >&6; }
  19625. +if ${ac_cv_prog_AWK+:} false; then :
  19626. + $as_echo_n "(cached) " >&6
  19627. +else
  19628. + if test -n "$AWK"; then
  19629. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  19630. +else
  19631. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19632. +for as_dir in $PATH
  19633. +do
  19634. + IFS=$as_save_IFS
  19635. + test -z "$as_dir" && as_dir=.
  19636. + for ac_exec_ext in '' $ac_executable_extensions; do
  19637. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  19638. + ac_cv_prog_AWK="$ac_prog"
  19639. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19640. + break 2
  19641. + fi
  19642. +done
  19643. + done
  19644. +IFS=$as_save_IFS
  19645. +
  19646. +fi
  19647. +fi
  19648. +AWK=$ac_cv_prog_AWK
  19649. +if test -n "$AWK"; then
  19650. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  19651. +$as_echo "$AWK" >&6; }
  19652. +else
  19653. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19654. +$as_echo "no" >&6; }
  19655. +fi
  19656. +
  19657. +
  19658. + test -n "$AWK" && break
  19659. +done
  19660. +
  19661. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  19662. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  19663. +set x ${MAKE-make}
  19664. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  19665. +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  19666. + $as_echo_n "(cached) " >&6
  19667. +else
  19668. + cat >conftest.make <<\_ACEOF
  19669. +SHELL = /bin/sh
  19670. +all:
  19671. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  19672. +_ACEOF
  19673. +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  19674. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  19675. + *@@@%%%=?*=@@@%%%*)
  19676. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  19677. + *)
  19678. + eval ac_cv_prog_make_${ac_make}_set=no;;
  19679. +esac
  19680. +rm -f conftest.make
  19681. +fi
  19682. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  19683. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  19684. +$as_echo "yes" >&6; }
  19685. + SET_MAKE=
  19686. +else
  19687. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19688. +$as_echo "no" >&6; }
  19689. + SET_MAKE="MAKE=${MAKE-make}"
  19690. +fi
  19691. +
  19692. +rm -rf .tst 2>/dev/null
  19693. +mkdir .tst 2>/dev/null
  19694. +if test -d .tst; then
  19695. + am__leading_dot=.
  19696. +else
  19697. + am__leading_dot=_
  19698. +fi
  19699. +rmdir .tst 2>/dev/null
  19700. +
  19701. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  19702. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  19703. + # is not polluted with repeated "-I."
  19704. + am__isrc=' -I$(srcdir)'
  19705. + # test to see if srcdir already configured
  19706. + if test -f $srcdir/config.status; then
  19707. + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  19708. + fi
  19709. +fi
  19710. +
  19711. +# test whether we have cygpath
  19712. +if test -z "$CYGPATH_W"; then
  19713. + if (cygpath --version) >/dev/null 2>/dev/null; then
  19714. + CYGPATH_W='cygpath -w'
  19715. + else
  19716. + CYGPATH_W=echo
  19717. + fi
  19718. +fi
  19719. +
  19720. +
  19721. +# Define the identity of the package.
  19722. + PACKAGE='ulogd'
  19723. + VERSION='2.0.2'
  19724. +
  19725. +
  19726. +cat >>confdefs.h <<_ACEOF
  19727. +@%:@define PACKAGE "$PACKAGE"
  19728. +_ACEOF
  19729. +
  19730. +
  19731. +cat >>confdefs.h <<_ACEOF
  19732. +@%:@define VERSION "$VERSION"
  19733. +_ACEOF
  19734. +
  19735. +# Some tools Automake needs.
  19736. +
  19737. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  19738. +
  19739. +
  19740. +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  19741. +
  19742. +
  19743. +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  19744. +
  19745. +
  19746. +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  19747. +
  19748. +
  19749. +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  19750. +
  19751. +# We need awk for the "check" target. The system "awk" is bad on
  19752. +# some platforms.
  19753. +# Always define AMTAR for backward compatibility. Yes, it's still used
  19754. +# in the wild :-( We should find a proper way to deprecate it ...
  19755. +AMTAR='$${TAR-tar}'
  19756. +
  19757. +
  19758. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
  19759. +$as_echo_n "checking how to create a pax tar archive... " >&6; }
  19760. +# Loop over all known methods to create a tar archive until one works.
  19761. +_am_tools='gnutar pax cpio none'
  19762. +_am_tools=${am_cv_prog_tar_pax-$_am_tools}
  19763. +# Do not fold the above two line into one, because Tru64 sh and
  19764. +# Solaris sh will not grok spaces in the rhs of `-'.
  19765. +for _am_tool in $_am_tools
  19766. +do
  19767. + case $_am_tool in
  19768. + gnutar)
  19769. + for _am_tar in tar gnutar gtar;
  19770. + do
  19771. + { echo "$as_me:$LINENO: $_am_tar --version" >&5
  19772. + ($_am_tar --version) >&5 2>&5
  19773. + ac_status=$?
  19774. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19775. + (exit $ac_status); } && break
  19776. + done
  19777. + am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
  19778. + am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
  19779. + am__untar="$_am_tar -xf -"
  19780. + ;;
  19781. + plaintar)
  19782. + # Must skip GNU tar: if it does not support --format= it doesn't create
  19783. + # ustar tarball either.
  19784. + (tar --version) >/dev/null 2>&1 && continue
  19785. + am__tar='tar chf - "$$tardir"'
  19786. + am__tar_='tar chf - "$tardir"'
  19787. + am__untar='tar xf -'
  19788. + ;;
  19789. + pax)
  19790. + am__tar='pax -L -x pax -w "$$tardir"'
  19791. + am__tar_='pax -L -x pax -w "$tardir"'
  19792. + am__untar='pax -r'
  19793. + ;;
  19794. + cpio)
  19795. + am__tar='find "$$tardir" -print | cpio -o -H pax -L'
  19796. + am__tar_='find "$tardir" -print | cpio -o -H pax -L'
  19797. + am__untar='cpio -i -H pax -d'
  19798. + ;;
  19799. + none)
  19800. + am__tar=false
  19801. + am__tar_=false
  19802. + am__untar=false
  19803. + ;;
  19804. + esac
  19805. +
  19806. + # If the value was cached, stop now. We just wanted to have am__tar
  19807. + # and am__untar set.
  19808. + test -n "${am_cv_prog_tar_pax}" && break
  19809. +
  19810. + # tar/untar a dummy directory, and stop if the command works
  19811. + rm -rf conftest.dir
  19812. + mkdir conftest.dir
  19813. + echo GrepMe > conftest.dir/file
  19814. + { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
  19815. + (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
  19816. + ac_status=$?
  19817. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19818. + (exit $ac_status); }
  19819. + rm -rf conftest.dir
  19820. + if test -s conftest.tar; then
  19821. + { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
  19822. + ($am__untar <conftest.tar) >&5 2>&5
  19823. + ac_status=$?
  19824. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19825. + (exit $ac_status); }
  19826. + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  19827. + fi
  19828. +done
  19829. +rm -rf conftest.dir
  19830. +
  19831. +if ${am_cv_prog_tar_pax+:} false; then :
  19832. + $as_echo_n "(cached) " >&6
  19833. +else
  19834. + am_cv_prog_tar_pax=$_am_tool
  19835. +fi
  19836. +
  19837. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
  19838. +$as_echo "$am_cv_prog_tar_pax" >&6; }
  19839. +
  19840. +
  19841. +
  19842. +
  19843. +
  19844. +ac_config_headers="$ac_config_headers config.h"
  19845. +
  19846. +
  19847. +
  19848. +DEPDIR="${am__leading_dot}deps"
  19849. +
  19850. +ac_config_commands="$ac_config_commands depfiles"
  19851. +
  19852. +
  19853. +am_make=${MAKE-make}
  19854. +cat > confinc << 'END'
  19855. +am__doit:
  19856. + @echo this is the am__doit target
  19857. +.PHONY: am__doit
  19858. +END
  19859. +# If we don't find an include directive, just comment out the code.
  19860. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  19861. +$as_echo_n "checking for style of include used by $am_make... " >&6; }
  19862. +am__include="#"
  19863. +am__quote=
  19864. +_am_result=none
  19865. +# First try GNU make style include.
  19866. +echo "include confinc" > confmf
  19867. +# Ignore all kinds of additional output from `make'.
  19868. +case `$am_make -s -f confmf 2> /dev/null` in #(
  19869. +*the\ am__doit\ target*)
  19870. + am__include=include
  19871. + am__quote=
  19872. + _am_result=GNU
  19873. + ;;
  19874. +esac
  19875. +# Now try BSD make style include.
  19876. +if test "$am__include" = "#"; then
  19877. + echo '.include "confinc"' > confmf
  19878. + case `$am_make -s -f confmf 2> /dev/null` in #(
  19879. + *the\ am__doit\ target*)
  19880. + am__include=.include
  19881. + am__quote="\""
  19882. + _am_result=BSD
  19883. + ;;
  19884. + esac
  19885. +fi
  19886. +
  19887. +
  19888. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  19889. +$as_echo "$_am_result" >&6; }
  19890. +rm -f confinc confmf
  19891. +
  19892. +@%:@ Check whether --enable-dependency-tracking was given.
  19893. +if test "${enable_dependency_tracking+set}" = set; then :
  19894. + enableval=$enable_dependency_tracking;
  19895. +fi
  19896. +
  19897. +if test "x$enable_dependency_tracking" != xno; then
  19898. + am_depcomp="$ac_aux_dir/depcomp"
  19899. + AMDEPBACKSLASH='\'
  19900. + am__nodep='_no'
  19901. +fi
  19902. + if test "x$enable_dependency_tracking" != xno; then
  19903. + AMDEP_TRUE=
  19904. + AMDEP_FALSE='#'
  19905. +else
  19906. + AMDEP_TRUE='#'
  19907. + AMDEP_FALSE=
  19908. +fi
  19909. +
  19910. +
  19911. +ac_ext=c
  19912. +ac_cpp='$CPP $CPPFLAGS'
  19913. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  19914. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  19915. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  19916. +if test -n "$ac_tool_prefix"; then
  19917. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  19918. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  19919. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19920. +$as_echo_n "checking for $ac_word... " >&6; }
  19921. +if ${ac_cv_prog_CC+:} false; then :
  19922. + $as_echo_n "(cached) " >&6
  19923. +else
  19924. + if test -n "$CC"; then
  19925. + ac_cv_prog_CC="$CC" # Let the user override the test.
  19926. +else
  19927. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19928. +for as_dir in $PATH
  19929. +do
  19930. + IFS=$as_save_IFS
  19931. + test -z "$as_dir" && as_dir=.
  19932. + for ac_exec_ext in '' $ac_executable_extensions; do
  19933. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  19934. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  19935. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19936. + break 2
  19937. + fi
  19938. +done
  19939. + done
  19940. +IFS=$as_save_IFS
  19941. +
  19942. +fi
  19943. +fi
  19944. +CC=$ac_cv_prog_CC
  19945. +if test -n "$CC"; then
  19946. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  19947. +$as_echo "$CC" >&6; }
  19948. +else
  19949. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19950. +$as_echo "no" >&6; }
  19951. +fi
  19952. +
  19953. +
  19954. +fi
  19955. +if test -z "$ac_cv_prog_CC"; then
  19956. + ac_ct_CC=$CC
  19957. + # Extract the first word of "gcc", so it can be a program name with args.
  19958. +set dummy gcc; ac_word=$2
  19959. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19960. +$as_echo_n "checking for $ac_word... " >&6; }
  19961. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  19962. + $as_echo_n "(cached) " >&6
  19963. +else
  19964. + if test -n "$ac_ct_CC"; then
  19965. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  19966. +else
  19967. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19968. +for as_dir in $PATH
  19969. +do
  19970. + IFS=$as_save_IFS
  19971. + test -z "$as_dir" && as_dir=.
  19972. + for ac_exec_ext in '' $ac_executable_extensions; do
  19973. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  19974. + ac_cv_prog_ac_ct_CC="gcc"
  19975. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19976. + break 2
  19977. + fi
  19978. +done
  19979. + done
  19980. +IFS=$as_save_IFS
  19981. +
  19982. +fi
  19983. +fi
  19984. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  19985. +if test -n "$ac_ct_CC"; then
  19986. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  19987. +$as_echo "$ac_ct_CC" >&6; }
  19988. +else
  19989. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19990. +$as_echo "no" >&6; }
  19991. +fi
  19992. +
  19993. + if test "x$ac_ct_CC" = x; then
  19994. + CC=""
  19995. + else
  19996. + case $cross_compiling:$ac_tool_warned in
  19997. +yes:)
  19998. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  19999. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  20000. +ac_tool_warned=yes ;;
  20001. +esac
  20002. + CC=$ac_ct_CC
  20003. + fi
  20004. +else
  20005. + CC="$ac_cv_prog_CC"
  20006. +fi
  20007. +
  20008. +if test -z "$CC"; then
  20009. + if test -n "$ac_tool_prefix"; then
  20010. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  20011. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  20012. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20013. +$as_echo_n "checking for $ac_word... " >&6; }
  20014. +if ${ac_cv_prog_CC+:} false; then :
  20015. + $as_echo_n "(cached) " >&6
  20016. +else
  20017. + if test -n "$CC"; then
  20018. + ac_cv_prog_CC="$CC" # Let the user override the test.
  20019. +else
  20020. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20021. +for as_dir in $PATH
  20022. +do
  20023. + IFS=$as_save_IFS
  20024. + test -z "$as_dir" && as_dir=.
  20025. + for ac_exec_ext in '' $ac_executable_extensions; do
  20026. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  20027. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  20028. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20029. + break 2
  20030. + fi
  20031. +done
  20032. + done
  20033. +IFS=$as_save_IFS
  20034. +
  20035. +fi
  20036. +fi
  20037. +CC=$ac_cv_prog_CC
  20038. +if test -n "$CC"; then
  20039. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  20040. +$as_echo "$CC" >&6; }
  20041. +else
  20042. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20043. +$as_echo "no" >&6; }
  20044. +fi
  20045. +
  20046. +
  20047. + fi
  20048. +fi
  20049. +if test -z "$CC"; then
  20050. + # Extract the first word of "cc", so it can be a program name with args.
  20051. +set dummy cc; ac_word=$2
  20052. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20053. +$as_echo_n "checking for $ac_word... " >&6; }
  20054. +if ${ac_cv_prog_CC+:} false; then :
  20055. + $as_echo_n "(cached) " >&6
  20056. +else
  20057. + if test -n "$CC"; then
  20058. + ac_cv_prog_CC="$CC" # Let the user override the test.
  20059. +else
  20060. + ac_prog_rejected=no
  20061. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20062. +for as_dir in $PATH
  20063. +do
  20064. + IFS=$as_save_IFS
  20065. + test -z "$as_dir" && as_dir=.
  20066. + for ac_exec_ext in '' $ac_executable_extensions; do
  20067. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  20068. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  20069. + ac_prog_rejected=yes
  20070. + continue
  20071. + fi
  20072. + ac_cv_prog_CC="cc"
  20073. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20074. + break 2
  20075. + fi
  20076. +done
  20077. + done
  20078. +IFS=$as_save_IFS
  20079. +
  20080. +if test $ac_prog_rejected = yes; then
  20081. + # We found a bogon in the path, so make sure we never use it.
  20082. + set dummy $ac_cv_prog_CC
  20083. + shift
  20084. + if test $@%:@ != 0; then
  20085. + # We chose a different compiler from the bogus one.
  20086. + # However, it has the same basename, so the bogon will be chosen
  20087. + # first if we set CC to just the basename; use the full file name.
  20088. + shift
  20089. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  20090. + fi
  20091. +fi
  20092. +fi
  20093. +fi
  20094. +CC=$ac_cv_prog_CC
  20095. +if test -n "$CC"; then
  20096. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  20097. +$as_echo "$CC" >&6; }
  20098. +else
  20099. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20100. +$as_echo "no" >&6; }
  20101. +fi
  20102. +
  20103. +
  20104. +fi
  20105. +if test -z "$CC"; then
  20106. + if test -n "$ac_tool_prefix"; then
  20107. + for ac_prog in cl.exe
  20108. + do
  20109. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  20110. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  20111. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20112. +$as_echo_n "checking for $ac_word... " >&6; }
  20113. +if ${ac_cv_prog_CC+:} false; then :
  20114. + $as_echo_n "(cached) " >&6
  20115. +else
  20116. + if test -n "$CC"; then
  20117. + ac_cv_prog_CC="$CC" # Let the user override the test.
  20118. +else
  20119. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20120. +for as_dir in $PATH
  20121. +do
  20122. + IFS=$as_save_IFS
  20123. + test -z "$as_dir" && as_dir=.
  20124. + for ac_exec_ext in '' $ac_executable_extensions; do
  20125. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  20126. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  20127. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20128. + break 2
  20129. + fi
  20130. +done
  20131. + done
  20132. +IFS=$as_save_IFS
  20133. +
  20134. +fi
  20135. +fi
  20136. +CC=$ac_cv_prog_CC
  20137. +if test -n "$CC"; then
  20138. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  20139. +$as_echo "$CC" >&6; }
  20140. +else
  20141. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20142. +$as_echo "no" >&6; }
  20143. +fi
  20144. +
  20145. +
  20146. + test -n "$CC" && break
  20147. + done
  20148. +fi
  20149. +if test -z "$CC"; then
  20150. + ac_ct_CC=$CC
  20151. + for ac_prog in cl.exe
  20152. +do
  20153. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  20154. +set dummy $ac_prog; ac_word=$2
  20155. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20156. +$as_echo_n "checking for $ac_word... " >&6; }
  20157. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  20158. + $as_echo_n "(cached) " >&6
  20159. +else
  20160. + if test -n "$ac_ct_CC"; then
  20161. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  20162. +else
  20163. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20164. +for as_dir in $PATH
  20165. +do
  20166. + IFS=$as_save_IFS
  20167. + test -z "$as_dir" && as_dir=.
  20168. + for ac_exec_ext in '' $ac_executable_extensions; do
  20169. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  20170. + ac_cv_prog_ac_ct_CC="$ac_prog"
  20171. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20172. + break 2
  20173. + fi
  20174. +done
  20175. + done
  20176. +IFS=$as_save_IFS
  20177. +
  20178. +fi
  20179. +fi
  20180. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  20181. +if test -n "$ac_ct_CC"; then
  20182. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  20183. +$as_echo "$ac_ct_CC" >&6; }
  20184. +else
  20185. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20186. +$as_echo "no" >&6; }
  20187. +fi
  20188. +
  20189. +
  20190. + test -n "$ac_ct_CC" && break
  20191. +done
  20192. +
  20193. + if test "x$ac_ct_CC" = x; then
  20194. + CC=""
  20195. + else
  20196. + case $cross_compiling:$ac_tool_warned in
  20197. +yes:)
  20198. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  20199. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  20200. +ac_tool_warned=yes ;;
  20201. +esac
  20202. + CC=$ac_ct_CC
  20203. + fi
  20204. +fi
  20205. +
  20206. +fi
  20207. +
  20208. +
  20209. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  20210. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  20211. +as_fn_error $? "no acceptable C compiler found in \$PATH
  20212. +See \`config.log' for more details" "$LINENO" 5; }
  20213. +
  20214. +# Provide some information about the compiler.
  20215. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  20216. +set X $ac_compile
  20217. +ac_compiler=$2
  20218. +for ac_option in --version -v -V -qversion; do
  20219. + { { ac_try="$ac_compiler $ac_option >&5"
  20220. +case "(($ac_try" in
  20221. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20222. + *) ac_try_echo=$ac_try;;
  20223. +esac
  20224. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  20225. +$as_echo "$ac_try_echo"; } >&5
  20226. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  20227. + ac_status=$?
  20228. + if test -s conftest.err; then
  20229. + sed '10a\
  20230. +... rest of stderr output deleted ...
  20231. + 10q' conftest.err >conftest.er1
  20232. + cat conftest.er1 >&5
  20233. + fi
  20234. + rm -f conftest.er1 conftest.err
  20235. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  20236. + test $ac_status = 0; }
  20237. +done
  20238. +
  20239. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20240. +/* end confdefs.h. */
  20241. +
  20242. +int
  20243. +main ()
  20244. +{
  20245. +
  20246. + ;
  20247. + return 0;
  20248. +}
  20249. +_ACEOF
  20250. +ac_clean_files_save=$ac_clean_files
  20251. +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  20252. +# Try to create an executable without -o first, disregard a.out.
  20253. +# It will help us diagnose broken compilers, and finding out an intuition
  20254. +# of exeext.
  20255. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  20256. +$as_echo_n "checking whether the C compiler works... " >&6; }
  20257. +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  20258. +
  20259. +# The possible output files:
  20260. +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  20261. +
  20262. +ac_rmfiles=
  20263. +for ac_file in $ac_files
  20264. +do
  20265. + case $ac_file in
  20266. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  20267. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  20268. + esac
  20269. +done
  20270. +rm -f $ac_rmfiles
  20271. +
  20272. +if { { ac_try="$ac_link_default"
  20273. +case "(($ac_try" in
  20274. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20275. + *) ac_try_echo=$ac_try;;
  20276. +esac
  20277. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  20278. +$as_echo "$ac_try_echo"; } >&5
  20279. + (eval "$ac_link_default") 2>&5
  20280. + ac_status=$?
  20281. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  20282. + test $ac_status = 0; }; then :
  20283. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  20284. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  20285. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  20286. +# so that the user can short-circuit this test for compilers unknown to
  20287. +# Autoconf.
  20288. +for ac_file in $ac_files ''
  20289. +do
  20290. + test -f "$ac_file" || continue
  20291. + case $ac_file in
  20292. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  20293. + ;;
  20294. + [ab].out )
  20295. + # We found the default executable, but exeext='' is most
  20296. + # certainly right.
  20297. + break;;
  20298. + *.* )
  20299. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  20300. + then :; else
  20301. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  20302. + fi
  20303. + # We set ac_cv_exeext here because the later test for it is not
  20304. + # safe: cross compilers may not add the suffix if given an `-o'
  20305. + # argument, so we may need to know it at that point already.
  20306. + # Even if this section looks crufty: it has the advantage of
  20307. + # actually working.
  20308. + break;;
  20309. + * )
  20310. + break;;
  20311. + esac
  20312. +done
  20313. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  20314. +
  20315. +else
  20316. + ac_file=''
  20317. +fi
  20318. +if test -z "$ac_file"; then :
  20319. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20320. +$as_echo "no" >&6; }
  20321. +$as_echo "$as_me: failed program was:" >&5
  20322. +sed 's/^/| /' conftest.$ac_ext >&5
  20323. +
  20324. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  20325. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  20326. +as_fn_error 77 "C compiler cannot create executables
  20327. +See \`config.log' for more details" "$LINENO" 5; }
  20328. +else
  20329. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20330. +$as_echo "yes" >&6; }
  20331. +fi
  20332. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  20333. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  20334. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  20335. +$as_echo "$ac_file" >&6; }
  20336. +ac_exeext=$ac_cv_exeext
  20337. +
  20338. +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  20339. +ac_clean_files=$ac_clean_files_save
  20340. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  20341. +$as_echo_n "checking for suffix of executables... " >&6; }
  20342. +if { { ac_try="$ac_link"
  20343. +case "(($ac_try" in
  20344. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20345. + *) ac_try_echo=$ac_try;;
  20346. +esac
  20347. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  20348. +$as_echo "$ac_try_echo"; } >&5
  20349. + (eval "$ac_link") 2>&5
  20350. + ac_status=$?
  20351. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  20352. + test $ac_status = 0; }; then :
  20353. + # If both `conftest.exe' and `conftest' are `present' (well, observable)
  20354. +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  20355. +# work properly (i.e., refer to `conftest.exe'), while it won't with
  20356. +# `rm'.
  20357. +for ac_file in conftest.exe conftest conftest.*; do
  20358. + test -f "$ac_file" || continue
  20359. + case $ac_file in
  20360. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  20361. + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  20362. + break;;
  20363. + * ) break;;
  20364. + esac
  20365. +done
  20366. +else
  20367. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  20368. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  20369. +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  20370. +See \`config.log' for more details" "$LINENO" 5; }
  20371. +fi
  20372. +rm -f conftest conftest$ac_cv_exeext
  20373. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  20374. +$as_echo "$ac_cv_exeext" >&6; }
  20375. +
  20376. +rm -f conftest.$ac_ext
  20377. +EXEEXT=$ac_cv_exeext
  20378. +ac_exeext=$EXEEXT
  20379. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20380. +/* end confdefs.h. */
  20381. +@%:@include <stdio.h>
  20382. +int
  20383. +main ()
  20384. +{
  20385. +FILE *f = fopen ("conftest.out", "w");
  20386. + return ferror (f) || fclose (f) != 0;
  20387. +
  20388. + ;
  20389. + return 0;
  20390. +}
  20391. +_ACEOF
  20392. +ac_clean_files="$ac_clean_files conftest.out"
  20393. +# Check that the compiler produces executables we can run. If not, either
  20394. +# the compiler is broken, or we cross compile.
  20395. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  20396. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  20397. +if test "$cross_compiling" != yes; then
  20398. + { { ac_try="$ac_link"
  20399. +case "(($ac_try" in
  20400. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20401. + *) ac_try_echo=$ac_try;;
  20402. +esac
  20403. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  20404. +$as_echo "$ac_try_echo"; } >&5
  20405. + (eval "$ac_link") 2>&5
  20406. + ac_status=$?
  20407. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  20408. + test $ac_status = 0; }
  20409. + if { ac_try='./conftest$ac_cv_exeext'
  20410. + { { case "(($ac_try" in
  20411. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20412. + *) ac_try_echo=$ac_try;;
  20413. +esac
  20414. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  20415. +$as_echo "$ac_try_echo"; } >&5
  20416. + (eval "$ac_try") 2>&5
  20417. + ac_status=$?
  20418. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  20419. + test $ac_status = 0; }; }; then
  20420. + cross_compiling=no
  20421. + else
  20422. + if test "$cross_compiling" = maybe; then
  20423. + cross_compiling=yes
  20424. + else
  20425. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  20426. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  20427. +as_fn_error $? "cannot run C compiled programs.
  20428. +If you meant to cross compile, use \`--host'.
  20429. +See \`config.log' for more details" "$LINENO" 5; }
  20430. + fi
  20431. + fi
  20432. +fi
  20433. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  20434. +$as_echo "$cross_compiling" >&6; }
  20435. +
  20436. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  20437. +ac_clean_files=$ac_clean_files_save
  20438. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  20439. +$as_echo_n "checking for suffix of object files... " >&6; }
  20440. +if ${ac_cv_objext+:} false; then :
  20441. + $as_echo_n "(cached) " >&6
  20442. +else
  20443. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20444. +/* end confdefs.h. */
  20445. +
  20446. +int
  20447. +main ()
  20448. +{
  20449. +
  20450. + ;
  20451. + return 0;
  20452. +}
  20453. +_ACEOF
  20454. +rm -f conftest.o conftest.obj
  20455. +if { { ac_try="$ac_compile"
  20456. +case "(($ac_try" in
  20457. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20458. + *) ac_try_echo=$ac_try;;
  20459. +esac
  20460. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  20461. +$as_echo "$ac_try_echo"; } >&5
  20462. + (eval "$ac_compile") 2>&5
  20463. + ac_status=$?
  20464. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  20465. + test $ac_status = 0; }; then :
  20466. + for ac_file in conftest.o conftest.obj conftest.*; do
  20467. + test -f "$ac_file" || continue;
  20468. + case $ac_file in
  20469. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  20470. + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  20471. + break;;
  20472. + esac
  20473. +done
  20474. +else
  20475. + $as_echo "$as_me: failed program was:" >&5
  20476. +sed 's/^/| /' conftest.$ac_ext >&5
  20477. +
  20478. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  20479. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  20480. +as_fn_error $? "cannot compute suffix of object files: cannot compile
  20481. +See \`config.log' for more details" "$LINENO" 5; }
  20482. +fi
  20483. +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  20484. +fi
  20485. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  20486. +$as_echo "$ac_cv_objext" >&6; }
  20487. +OBJEXT=$ac_cv_objext
  20488. +ac_objext=$OBJEXT
  20489. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  20490. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  20491. +if ${ac_cv_c_compiler_gnu+:} false; then :
  20492. + $as_echo_n "(cached) " >&6
  20493. +else
  20494. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20495. +/* end confdefs.h. */
  20496. +
  20497. +int
  20498. +main ()
  20499. +{
  20500. +#ifndef __GNUC__
  20501. + choke me
  20502. +#endif
  20503. +
  20504. + ;
  20505. + return 0;
  20506. +}
  20507. +_ACEOF
  20508. +if ac_fn_c_try_compile "$LINENO"; then :
  20509. + ac_compiler_gnu=yes
  20510. +else
  20511. + ac_compiler_gnu=no
  20512. +fi
  20513. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20514. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  20515. +
  20516. +fi
  20517. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  20518. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  20519. +if test $ac_compiler_gnu = yes; then
  20520. + GCC=yes
  20521. +else
  20522. + GCC=
  20523. +fi
  20524. +ac_test_CFLAGS=${CFLAGS+set}
  20525. +ac_save_CFLAGS=$CFLAGS
  20526. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  20527. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  20528. +if ${ac_cv_prog_cc_g+:} false; then :
  20529. + $as_echo_n "(cached) " >&6
  20530. +else
  20531. + ac_save_c_werror_flag=$ac_c_werror_flag
  20532. + ac_c_werror_flag=yes
  20533. + ac_cv_prog_cc_g=no
  20534. + CFLAGS="-g"
  20535. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20536. +/* end confdefs.h. */
  20537. +
  20538. +int
  20539. +main ()
  20540. +{
  20541. +
  20542. + ;
  20543. + return 0;
  20544. +}
  20545. +_ACEOF
  20546. +if ac_fn_c_try_compile "$LINENO"; then :
  20547. + ac_cv_prog_cc_g=yes
  20548. +else
  20549. + CFLAGS=""
  20550. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20551. +/* end confdefs.h. */
  20552. +
  20553. +int
  20554. +main ()
  20555. +{
  20556. +
  20557. + ;
  20558. + return 0;
  20559. +}
  20560. +_ACEOF
  20561. +if ac_fn_c_try_compile "$LINENO"; then :
  20562. +
  20563. +else
  20564. + ac_c_werror_flag=$ac_save_c_werror_flag
  20565. + CFLAGS="-g"
  20566. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20567. +/* end confdefs.h. */
  20568. +
  20569. +int
  20570. +main ()
  20571. +{
  20572. +
  20573. + ;
  20574. + return 0;
  20575. +}
  20576. +_ACEOF
  20577. +if ac_fn_c_try_compile "$LINENO"; then :
  20578. + ac_cv_prog_cc_g=yes
  20579. +fi
  20580. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20581. +fi
  20582. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20583. +fi
  20584. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20585. + ac_c_werror_flag=$ac_save_c_werror_flag
  20586. +fi
  20587. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  20588. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  20589. +if test "$ac_test_CFLAGS" = set; then
  20590. + CFLAGS=$ac_save_CFLAGS
  20591. +elif test $ac_cv_prog_cc_g = yes; then
  20592. + if test "$GCC" = yes; then
  20593. + CFLAGS="-g -O2"
  20594. + else
  20595. + CFLAGS="-g"
  20596. + fi
  20597. +else
  20598. + if test "$GCC" = yes; then
  20599. + CFLAGS="-O2"
  20600. + else
  20601. + CFLAGS=
  20602. + fi
  20603. +fi
  20604. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  20605. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  20606. +if ${ac_cv_prog_cc_c89+:} false; then :
  20607. + $as_echo_n "(cached) " >&6
  20608. +else
  20609. + ac_cv_prog_cc_c89=no
  20610. +ac_save_CC=$CC
  20611. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20612. +/* end confdefs.h. */
  20613. +#include <stdarg.h>
  20614. +#include <stdio.h>
  20615. +#include <sys/types.h>
  20616. +#include <sys/stat.h>
  20617. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  20618. +struct buf { int x; };
  20619. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  20620. +static char *e (p, i)
  20621. + char **p;
  20622. + int i;
  20623. +{
  20624. + return p[i];
  20625. +}
  20626. +static char *f (char * (*g) (char **, int), char **p, ...)
  20627. +{
  20628. + char *s;
  20629. + va_list v;
  20630. + va_start (v,p);
  20631. + s = g (p, va_arg (v,int));
  20632. + va_end (v);
  20633. + return s;
  20634. +}
  20635. +
  20636. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  20637. + function prototypes and stuff, but not '\xHH' hex character constants.
  20638. + These don't provoke an error unfortunately, instead are silently treated
  20639. + as 'x'. The following induces an error, until -std is added to get
  20640. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  20641. + array size at least. It's necessary to write '\x00'==0 to get something
  20642. + that's true only with -std. */
  20643. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  20644. +
  20645. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  20646. + inside strings and character constants. */
  20647. +#define FOO(x) 'x'
  20648. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  20649. +
  20650. +int test (int i, double x);
  20651. +struct s1 {int (*f) (int a);};
  20652. +struct s2 {int (*f) (double a);};
  20653. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  20654. +int argc;
  20655. +char **argv;
  20656. +int
  20657. +main ()
  20658. +{
  20659. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  20660. + ;
  20661. + return 0;
  20662. +}
  20663. +_ACEOF
  20664. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  20665. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  20666. +do
  20667. + CC="$ac_save_CC $ac_arg"
  20668. + if ac_fn_c_try_compile "$LINENO"; then :
  20669. + ac_cv_prog_cc_c89=$ac_arg
  20670. +fi
  20671. +rm -f core conftest.err conftest.$ac_objext
  20672. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  20673. +done
  20674. +rm -f conftest.$ac_ext
  20675. +CC=$ac_save_CC
  20676. +
  20677. +fi
  20678. +# AC_CACHE_VAL
  20679. +case "x$ac_cv_prog_cc_c89" in
  20680. + x)
  20681. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  20682. +$as_echo "none needed" >&6; } ;;
  20683. + xno)
  20684. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  20685. +$as_echo "unsupported" >&6; } ;;
  20686. + *)
  20687. + CC="$CC $ac_cv_prog_cc_c89"
  20688. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  20689. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  20690. +esac
  20691. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  20692. +
  20693. +fi
  20694. +
  20695. +ac_ext=c
  20696. +ac_cpp='$CPP $CPPFLAGS'
  20697. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  20698. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  20699. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  20700. +
  20701. +depcc="$CC" am_compiler_list=
  20702. +
  20703. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  20704. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  20705. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  20706. + $as_echo_n "(cached) " >&6
  20707. +else
  20708. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  20709. + # We make a subdir and do the tests there. Otherwise we can end up
  20710. + # making bogus files that we don't know about and never remove. For
  20711. + # instance it was reported that on HP-UX the gcc test will end up
  20712. + # making a dummy file named `D' -- because `-MD' means `put the output
  20713. + # in D'.
  20714. + rm -rf conftest.dir
  20715. + mkdir conftest.dir
  20716. + # Copy depcomp to subdir because otherwise we won't find it if we're
  20717. + # using a relative directory.
  20718. + cp "$am_depcomp" conftest.dir
  20719. + cd conftest.dir
  20720. + # We will build objects and dependencies in a subdirectory because
  20721. + # it helps to detect inapplicable dependency modes. For instance
  20722. + # both Tru64's cc and ICC support -MD to output dependencies as a
  20723. + # side effect of compilation, but ICC will put the dependencies in
  20724. + # the current directory while Tru64 will put them in the object
  20725. + # directory.
  20726. + mkdir sub
  20727. +
  20728. + am_cv_CC_dependencies_compiler_type=none
  20729. + if test "$am_compiler_list" = ""; then
  20730. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  20731. + fi
  20732. + am__universal=false
  20733. + case " $depcc " in #(
  20734. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  20735. + esac
  20736. +
  20737. + for depmode in $am_compiler_list; do
  20738. + # Setup a source with many dependencies, because some compilers
  20739. + # like to wrap large dependency lists on column 80 (with \), and
  20740. + # we should not choose a depcomp mode which is confused by this.
  20741. + #
  20742. + # We need to recreate these files for each test, as the compiler may
  20743. + # overwrite some of them when testing with obscure command lines.
  20744. + # This happens at least with the AIX C compiler.
  20745. + : > sub/conftest.c
  20746. + for i in 1 2 3 4 5 6; do
  20747. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  20748. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  20749. + # Solaris 8's {/usr,}/bin/sh.
  20750. + touch sub/conftst$i.h
  20751. + done
  20752. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  20753. +
  20754. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  20755. + # mode. It turns out that the SunPro C++ compiler does not properly
  20756. + # handle `-M -o', and we need to detect this. Also, some Intel
  20757. + # versions had trouble with output in subdirs
  20758. + am__obj=sub/conftest.${OBJEXT-o}
  20759. + am__minus_obj="-o $am__obj"
  20760. + case $depmode in
  20761. + gcc)
  20762. + # This depmode causes a compiler race in universal mode.
  20763. + test "$am__universal" = false || continue
  20764. + ;;
  20765. + nosideeffect)
  20766. + # after this tag, mechanisms are not by side-effect, so they'll
  20767. + # only be used when explicitly requested
  20768. + if test "x$enable_dependency_tracking" = xyes; then
  20769. + continue
  20770. + else
  20771. + break
  20772. + fi
  20773. + ;;
  20774. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  20775. + # This compiler won't grok `-c -o', but also, the minuso test has
  20776. + # not run yet. These depmodes are late enough in the game, and
  20777. + # so weak that their functioning should not be impacted.
  20778. + am__obj=conftest.${OBJEXT-o}
  20779. + am__minus_obj=
  20780. + ;;
  20781. + none) break ;;
  20782. + esac
  20783. + if depmode=$depmode \
  20784. + source=sub/conftest.c object=$am__obj \
  20785. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  20786. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  20787. + >/dev/null 2>conftest.err &&
  20788. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  20789. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  20790. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  20791. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  20792. + # icc doesn't choke on unknown options, it will just issue warnings
  20793. + # or remarks (even with -Werror). So we grep stderr for any message
  20794. + # that says an option was ignored or not supported.
  20795. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  20796. + # icc: Command line warning: ignoring option '-M'; no argument required
  20797. + # The diagnosis changed in icc 8.0:
  20798. + # icc: Command line remark: option '-MP' not supported
  20799. + if (grep 'ignoring option' conftest.err ||
  20800. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  20801. + am_cv_CC_dependencies_compiler_type=$depmode
  20802. + break
  20803. + fi
  20804. + fi
  20805. + done
  20806. +
  20807. + cd ..
  20808. + rm -rf conftest.dir
  20809. +else
  20810. + am_cv_CC_dependencies_compiler_type=none
  20811. +fi
  20812. +
  20813. +fi
  20814. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  20815. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  20816. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  20817. +
  20818. + if
  20819. + test "x$enable_dependency_tracking" != xno \
  20820. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  20821. + am__fastdepCC_TRUE=
  20822. + am__fastdepCC_FALSE='#'
  20823. +else
  20824. + am__fastdepCC_TRUE='#'
  20825. + am__fastdepCC_FALSE=
  20826. +fi
  20827. +
  20828. +
  20829. +
  20830. +if test -n "$ac_tool_prefix"; then
  20831. + for ac_prog in ar lib "link -lib"
  20832. + do
  20833. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  20834. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  20835. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20836. +$as_echo_n "checking for $ac_word... " >&6; }
  20837. +if ${ac_cv_prog_AR+:} false; then :
  20838. + $as_echo_n "(cached) " >&6
  20839. +else
  20840. + if test -n "$AR"; then
  20841. + ac_cv_prog_AR="$AR" # Let the user override the test.
  20842. +else
  20843. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20844. +for as_dir in $PATH
  20845. +do
  20846. + IFS=$as_save_IFS
  20847. + test -z "$as_dir" && as_dir=.
  20848. + for ac_exec_ext in '' $ac_executable_extensions; do
  20849. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  20850. + ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  20851. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20852. + break 2
  20853. + fi
  20854. +done
  20855. + done
  20856. +IFS=$as_save_IFS
  20857. +
  20858. +fi
  20859. +fi
  20860. +AR=$ac_cv_prog_AR
  20861. +if test -n "$AR"; then
  20862. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  20863. +$as_echo "$AR" >&6; }
  20864. +else
  20865. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20866. +$as_echo "no" >&6; }
  20867. +fi
  20868. +
  20869. +
  20870. + test -n "$AR" && break
  20871. + done
  20872. +fi
  20873. +if test -z "$AR"; then
  20874. + ac_ct_AR=$AR
  20875. + for ac_prog in ar lib "link -lib"
  20876. +do
  20877. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  20878. +set dummy $ac_prog; ac_word=$2
  20879. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20880. +$as_echo_n "checking for $ac_word... " >&6; }
  20881. +if ${ac_cv_prog_ac_ct_AR+:} false; then :
  20882. + $as_echo_n "(cached) " >&6
  20883. +else
  20884. + if test -n "$ac_ct_AR"; then
  20885. + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  20886. +else
  20887. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20888. +for as_dir in $PATH
  20889. +do
  20890. + IFS=$as_save_IFS
  20891. + test -z "$as_dir" && as_dir=.
  20892. + for ac_exec_ext in '' $ac_executable_extensions; do
  20893. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  20894. + ac_cv_prog_ac_ct_AR="$ac_prog"
  20895. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20896. + break 2
  20897. + fi
  20898. +done
  20899. + done
  20900. +IFS=$as_save_IFS
  20901. +
  20902. +fi
  20903. +fi
  20904. +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  20905. +if test -n "$ac_ct_AR"; then
  20906. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  20907. +$as_echo "$ac_ct_AR" >&6; }
  20908. +else
  20909. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20910. +$as_echo "no" >&6; }
  20911. +fi
  20912. +
  20913. +
  20914. + test -n "$ac_ct_AR" && break
  20915. +done
  20916. +
  20917. + if test "x$ac_ct_AR" = x; then
  20918. + AR="false"
  20919. + else
  20920. + case $cross_compiling:$ac_tool_warned in
  20921. +yes:)
  20922. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  20923. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  20924. +ac_tool_warned=yes ;;
  20925. +esac
  20926. + AR=$ac_ct_AR
  20927. + fi
  20928. +fi
  20929. +
  20930. +: ${AR=ar}
  20931. +
  20932. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
  20933. +$as_echo_n "checking the archiver ($AR) interface... " >&6; }
  20934. +if ${am_cv_ar_interface+:} false; then :
  20935. + $as_echo_n "(cached) " >&6
  20936. +else
  20937. + am_cv_ar_interface=ar
  20938. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20939. +/* end confdefs.h. */
  20940. +int some_variable = 0;
  20941. +_ACEOF
  20942. +if ac_fn_c_try_compile "$LINENO"; then :
  20943. + am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
  20944. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
  20945. + (eval $am_ar_try) 2>&5
  20946. + ac_status=$?
  20947. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  20948. + test $ac_status = 0; }
  20949. + if test "$ac_status" -eq 0; then
  20950. + am_cv_ar_interface=ar
  20951. + else
  20952. + am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
  20953. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
  20954. + (eval $am_ar_try) 2>&5
  20955. + ac_status=$?
  20956. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  20957. + test $ac_status = 0; }
  20958. + if test "$ac_status" -eq 0; then
  20959. + am_cv_ar_interface=lib
  20960. + else
  20961. + am_cv_ar_interface=unknown
  20962. + fi
  20963. + fi
  20964. + rm -f conftest.lib libconftest.a
  20965. +
  20966. +fi
  20967. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20968. +
  20969. +fi
  20970. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
  20971. +$as_echo "$am_cv_ar_interface" >&6; }
  20972. +
  20973. +case $am_cv_ar_interface in
  20974. +ar)
  20975. + ;;
  20976. +lib)
  20977. + # Microsoft lib, so override with the ar-lib wrapper script.
  20978. + # FIXME: It is wrong to rewrite AR.
  20979. + # But if we don't then we get into trouble of one sort or another.
  20980. + # A longer-term fix would be to have automake use am__AR in this case,
  20981. + # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
  20982. + # similar.
  20983. + AR="$am_aux_dir/ar-lib $AR"
  20984. + ;;
  20985. +unknown)
  20986. + as_fn_error $? "could not determine $AR interface" "$LINENO" 5
  20987. + ;;
  20988. +esac
  20989. +
  20990. +@%:@ Check whether --enable-silent-rules was given.
  20991. +if test "${enable_silent_rules+set}" = set; then :
  20992. + enableval=$enable_silent_rules;
  20993. +fi
  20994. +
  20995. +case $enable_silent_rules in
  20996. +yes) AM_DEFAULT_VERBOSITY=0;;
  20997. +no) AM_DEFAULT_VERBOSITY=1;;
  20998. +*) AM_DEFAULT_VERBOSITY=0;;
  20999. +esac
  21000. +am_make=${MAKE-make}
  21001. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  21002. +$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  21003. +if ${am_cv_make_support_nested_variables+:} false; then :
  21004. + $as_echo_n "(cached) " >&6
  21005. +else
  21006. + if $as_echo 'TRUE=$(BAR$(V))
  21007. +BAR0=false
  21008. +BAR1=true
  21009. +V=1
  21010. +am__doit:
  21011. + @$(TRUE)
  21012. +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  21013. + am_cv_make_support_nested_variables=yes
  21014. +else
  21015. + am_cv_make_support_nested_variables=no
  21016. +fi
  21017. +fi
  21018. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  21019. +$as_echo "$am_cv_make_support_nested_variables" >&6; }
  21020. +if test $am_cv_make_support_nested_variables = yes; then
  21021. + AM_V='$(V)'
  21022. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  21023. +else
  21024. + AM_V=$AM_DEFAULT_VERBOSITY
  21025. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  21026. +fi
  21027. +AM_BACKSLASH='\'
  21028. +
  21029. +
  21030. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  21031. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  21032. +set x ${MAKE-make}
  21033. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  21034. +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  21035. + $as_echo_n "(cached) " >&6
  21036. +else
  21037. + cat >conftest.make <<\_ACEOF
  21038. +SHELL = /bin/sh
  21039. +all:
  21040. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  21041. +_ACEOF
  21042. +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  21043. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  21044. + *@@@%%%=?*=@@@%%%*)
  21045. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  21046. + *)
  21047. + eval ac_cv_prog_make_${ac_make}_set=no;;
  21048. +esac
  21049. +rm -f conftest.make
  21050. +fi
  21051. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  21052. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  21053. +$as_echo "yes" >&6; }
  21054. + SET_MAKE=
  21055. +else
  21056. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21057. +$as_echo "no" >&6; }
  21058. + SET_MAKE="MAKE=${MAKE-make}"
  21059. +fi
  21060. +
  21061. +ac_ext=c
  21062. +ac_cpp='$CPP $CPPFLAGS'
  21063. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  21064. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  21065. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  21066. +if test -n "$ac_tool_prefix"; then
  21067. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  21068. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  21069. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  21070. +$as_echo_n "checking for $ac_word... " >&6; }
  21071. +if ${ac_cv_prog_CC+:} false; then :
  21072. + $as_echo_n "(cached) " >&6
  21073. +else
  21074. + if test -n "$CC"; then
  21075. + ac_cv_prog_CC="$CC" # Let the user override the test.
  21076. +else
  21077. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21078. +for as_dir in $PATH
  21079. +do
  21080. + IFS=$as_save_IFS
  21081. + test -z "$as_dir" && as_dir=.
  21082. + for ac_exec_ext in '' $ac_executable_extensions; do
  21083. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  21084. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  21085. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  21086. + break 2
  21087. + fi
  21088. +done
  21089. + done
  21090. +IFS=$as_save_IFS
  21091. +
  21092. +fi
  21093. +fi
  21094. +CC=$ac_cv_prog_CC
  21095. +if test -n "$CC"; then
  21096. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  21097. +$as_echo "$CC" >&6; }
  21098. +else
  21099. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21100. +$as_echo "no" >&6; }
  21101. +fi
  21102. +
  21103. +
  21104. +fi
  21105. +if test -z "$ac_cv_prog_CC"; then
  21106. + ac_ct_CC=$CC
  21107. + # Extract the first word of "gcc", so it can be a program name with args.
  21108. +set dummy gcc; ac_word=$2
  21109. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  21110. +$as_echo_n "checking for $ac_word... " >&6; }
  21111. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  21112. + $as_echo_n "(cached) " >&6
  21113. +else
  21114. + if test -n "$ac_ct_CC"; then
  21115. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  21116. +else
  21117. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21118. +for as_dir in $PATH
  21119. +do
  21120. + IFS=$as_save_IFS
  21121. + test -z "$as_dir" && as_dir=.
  21122. + for ac_exec_ext in '' $ac_executable_extensions; do
  21123. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  21124. + ac_cv_prog_ac_ct_CC="gcc"
  21125. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  21126. + break 2
  21127. + fi
  21128. +done
  21129. + done
  21130. +IFS=$as_save_IFS
  21131. +
  21132. +fi
  21133. +fi
  21134. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  21135. +if test -n "$ac_ct_CC"; then
  21136. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  21137. +$as_echo "$ac_ct_CC" >&6; }
  21138. +else
  21139. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21140. +$as_echo "no" >&6; }
  21141. +fi
  21142. +
  21143. + if test "x$ac_ct_CC" = x; then
  21144. + CC=""
  21145. + else
  21146. + case $cross_compiling:$ac_tool_warned in
  21147. +yes:)
  21148. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  21149. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  21150. +ac_tool_warned=yes ;;
  21151. +esac
  21152. + CC=$ac_ct_CC
  21153. + fi
  21154. +else
  21155. + CC="$ac_cv_prog_CC"
  21156. +fi
  21157. +
  21158. +if test -z "$CC"; then
  21159. + if test -n "$ac_tool_prefix"; then
  21160. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  21161. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  21162. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  21163. +$as_echo_n "checking for $ac_word... " >&6; }
  21164. +if ${ac_cv_prog_CC+:} false; then :
  21165. + $as_echo_n "(cached) " >&6
  21166. +else
  21167. + if test -n "$CC"; then
  21168. + ac_cv_prog_CC="$CC" # Let the user override the test.
  21169. +else
  21170. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21171. +for as_dir in $PATH
  21172. +do
  21173. + IFS=$as_save_IFS
  21174. + test -z "$as_dir" && as_dir=.
  21175. + for ac_exec_ext in '' $ac_executable_extensions; do
  21176. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  21177. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  21178. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  21179. + break 2
  21180. + fi
  21181. +done
  21182. + done
  21183. +IFS=$as_save_IFS
  21184. +
  21185. +fi
  21186. +fi
  21187. +CC=$ac_cv_prog_CC
  21188. +if test -n "$CC"; then
  21189. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  21190. +$as_echo "$CC" >&6; }
  21191. +else
  21192. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21193. +$as_echo "no" >&6; }
  21194. +fi
  21195. +
  21196. +
  21197. + fi
  21198. +fi
  21199. +if test -z "$CC"; then
  21200. + # Extract the first word of "cc", so it can be a program name with args.
  21201. +set dummy cc; ac_word=$2
  21202. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  21203. +$as_echo_n "checking for $ac_word... " >&6; }
  21204. +if ${ac_cv_prog_CC+:} false; then :
  21205. + $as_echo_n "(cached) " >&6
  21206. +else
  21207. + if test -n "$CC"; then
  21208. + ac_cv_prog_CC="$CC" # Let the user override the test.
  21209. +else
  21210. + ac_prog_rejected=no
  21211. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21212. +for as_dir in $PATH
  21213. +do
  21214. + IFS=$as_save_IFS
  21215. + test -z "$as_dir" && as_dir=.
  21216. + for ac_exec_ext in '' $ac_executable_extensions; do
  21217. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  21218. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  21219. + ac_prog_rejected=yes
  21220. + continue
  21221. + fi
  21222. + ac_cv_prog_CC="cc"
  21223. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  21224. + break 2
  21225. + fi
  21226. +done
  21227. + done
  21228. +IFS=$as_save_IFS
  21229. +
  21230. +if test $ac_prog_rejected = yes; then
  21231. + # We found a bogon in the path, so make sure we never use it.
  21232. + set dummy $ac_cv_prog_CC
  21233. + shift
  21234. + if test $@%:@ != 0; then
  21235. + # We chose a different compiler from the bogus one.
  21236. + # However, it has the same basename, so the bogon will be chosen
  21237. + # first if we set CC to just the basename; use the full file name.
  21238. + shift
  21239. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  21240. + fi
  21241. +fi
  21242. +fi
  21243. +fi
  21244. +CC=$ac_cv_prog_CC
  21245. +if test -n "$CC"; then
  21246. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  21247. +$as_echo "$CC" >&6; }
  21248. +else
  21249. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21250. +$as_echo "no" >&6; }
  21251. +fi
  21252. +
  21253. +
  21254. +fi
  21255. +if test -z "$CC"; then
  21256. + if test -n "$ac_tool_prefix"; then
  21257. + for ac_prog in cl.exe
  21258. + do
  21259. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  21260. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  21261. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  21262. +$as_echo_n "checking for $ac_word... " >&6; }
  21263. +if ${ac_cv_prog_CC+:} false; then :
  21264. + $as_echo_n "(cached) " >&6
  21265. +else
  21266. + if test -n "$CC"; then
  21267. + ac_cv_prog_CC="$CC" # Let the user override the test.
  21268. +else
  21269. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21270. +for as_dir in $PATH
  21271. +do
  21272. + IFS=$as_save_IFS
  21273. + test -z "$as_dir" && as_dir=.
  21274. + for ac_exec_ext in '' $ac_executable_extensions; do
  21275. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  21276. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  21277. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  21278. + break 2
  21279. + fi
  21280. +done
  21281. + done
  21282. +IFS=$as_save_IFS
  21283. +
  21284. +fi
  21285. +fi
  21286. +CC=$ac_cv_prog_CC
  21287. +if test -n "$CC"; then
  21288. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  21289. +$as_echo "$CC" >&6; }
  21290. +else
  21291. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21292. +$as_echo "no" >&6; }
  21293. +fi
  21294. +
  21295. +
  21296. + test -n "$CC" && break
  21297. + done
  21298. +fi
  21299. +if test -z "$CC"; then
  21300. + ac_ct_CC=$CC
  21301. + for ac_prog in cl.exe
  21302. +do
  21303. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  21304. +set dummy $ac_prog; ac_word=$2
  21305. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  21306. +$as_echo_n "checking for $ac_word... " >&6; }
  21307. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  21308. + $as_echo_n "(cached) " >&6
  21309. +else
  21310. + if test -n "$ac_ct_CC"; then
  21311. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  21312. +else
  21313. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21314. +for as_dir in $PATH
  21315. +do
  21316. + IFS=$as_save_IFS
  21317. + test -z "$as_dir" && as_dir=.
  21318. + for ac_exec_ext in '' $ac_executable_extensions; do
  21319. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  21320. + ac_cv_prog_ac_ct_CC="$ac_prog"
  21321. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  21322. + break 2
  21323. + fi
  21324. +done
  21325. + done
  21326. +IFS=$as_save_IFS
  21327. +
  21328. +fi
  21329. +fi
  21330. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  21331. +if test -n "$ac_ct_CC"; then
  21332. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  21333. +$as_echo "$ac_ct_CC" >&6; }
  21334. +else
  21335. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21336. +$as_echo "no" >&6; }
  21337. +fi
  21338. +
  21339. +
  21340. + test -n "$ac_ct_CC" && break
  21341. +done
  21342. +
  21343. + if test "x$ac_ct_CC" = x; then
  21344. + CC=""
  21345. + else
  21346. + case $cross_compiling:$ac_tool_warned in
  21347. +yes:)
  21348. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  21349. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  21350. +ac_tool_warned=yes ;;
  21351. +esac
  21352. + CC=$ac_ct_CC
  21353. + fi
  21354. +fi
  21355. +
  21356. +fi
  21357. +
  21358. +
  21359. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  21360. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  21361. +as_fn_error $? "no acceptable C compiler found in \$PATH
  21362. +See \`config.log' for more details" "$LINENO" 5; }
  21363. +
  21364. +# Provide some information about the compiler.
  21365. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  21366. +set X $ac_compile
  21367. +ac_compiler=$2
  21368. +for ac_option in --version -v -V -qversion; do
  21369. + { { ac_try="$ac_compiler $ac_option >&5"
  21370. +case "(($ac_try" in
  21371. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21372. + *) ac_try_echo=$ac_try;;
  21373. +esac
  21374. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  21375. +$as_echo "$ac_try_echo"; } >&5
  21376. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  21377. + ac_status=$?
  21378. + if test -s conftest.err; then
  21379. + sed '10a\
  21380. +... rest of stderr output deleted ...
  21381. + 10q' conftest.err >conftest.er1
  21382. + cat conftest.er1 >&5
  21383. + fi
  21384. + rm -f conftest.er1 conftest.err
  21385. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  21386. + test $ac_status = 0; }
  21387. +done
  21388. +
  21389. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  21390. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  21391. +if ${ac_cv_c_compiler_gnu+:} false; then :
  21392. + $as_echo_n "(cached) " >&6
  21393. +else
  21394. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21395. +/* end confdefs.h. */
  21396. +
  21397. +int
  21398. +main ()
  21399. +{
  21400. +#ifndef __GNUC__
  21401. + choke me
  21402. +#endif
  21403. +
  21404. + ;
  21405. + return 0;
  21406. +}
  21407. +_ACEOF
  21408. +if ac_fn_c_try_compile "$LINENO"; then :
  21409. + ac_compiler_gnu=yes
  21410. +else
  21411. + ac_compiler_gnu=no
  21412. +fi
  21413. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21414. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  21415. +
  21416. +fi
  21417. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  21418. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  21419. +if test $ac_compiler_gnu = yes; then
  21420. + GCC=yes
  21421. +else
  21422. + GCC=
  21423. +fi
  21424. +ac_test_CFLAGS=${CFLAGS+set}
  21425. +ac_save_CFLAGS=$CFLAGS
  21426. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  21427. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  21428. +if ${ac_cv_prog_cc_g+:} false; then :
  21429. + $as_echo_n "(cached) " >&6
  21430. +else
  21431. + ac_save_c_werror_flag=$ac_c_werror_flag
  21432. + ac_c_werror_flag=yes
  21433. + ac_cv_prog_cc_g=no
  21434. + CFLAGS="-g"
  21435. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21436. +/* end confdefs.h. */
  21437. +
  21438. +int
  21439. +main ()
  21440. +{
  21441. +
  21442. + ;
  21443. + return 0;
  21444. +}
  21445. +_ACEOF
  21446. +if ac_fn_c_try_compile "$LINENO"; then :
  21447. + ac_cv_prog_cc_g=yes
  21448. +else
  21449. + CFLAGS=""
  21450. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21451. +/* end confdefs.h. */
  21452. +
  21453. +int
  21454. +main ()
  21455. +{
  21456. +
  21457. + ;
  21458. + return 0;
  21459. +}
  21460. +_ACEOF
  21461. +if ac_fn_c_try_compile "$LINENO"; then :
  21462. +
  21463. +else
  21464. + ac_c_werror_flag=$ac_save_c_werror_flag
  21465. + CFLAGS="-g"
  21466. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21467. +/* end confdefs.h. */
  21468. +
  21469. +int
  21470. +main ()
  21471. +{
  21472. +
  21473. + ;
  21474. + return 0;
  21475. +}
  21476. +_ACEOF
  21477. +if ac_fn_c_try_compile "$LINENO"; then :
  21478. + ac_cv_prog_cc_g=yes
  21479. +fi
  21480. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21481. +fi
  21482. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21483. +fi
  21484. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21485. + ac_c_werror_flag=$ac_save_c_werror_flag
  21486. +fi
  21487. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  21488. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  21489. +if test "$ac_test_CFLAGS" = set; then
  21490. + CFLAGS=$ac_save_CFLAGS
  21491. +elif test $ac_cv_prog_cc_g = yes; then
  21492. + if test "$GCC" = yes; then
  21493. + CFLAGS="-g -O2"
  21494. + else
  21495. + CFLAGS="-g"
  21496. + fi
  21497. +else
  21498. + if test "$GCC" = yes; then
  21499. + CFLAGS="-O2"
  21500. + else
  21501. + CFLAGS=
  21502. + fi
  21503. +fi
  21504. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  21505. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  21506. +if ${ac_cv_prog_cc_c89+:} false; then :
  21507. + $as_echo_n "(cached) " >&6
  21508. +else
  21509. + ac_cv_prog_cc_c89=no
  21510. +ac_save_CC=$CC
  21511. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21512. +/* end confdefs.h. */
  21513. +#include <stdarg.h>
  21514. +#include <stdio.h>
  21515. +#include <sys/types.h>
  21516. +#include <sys/stat.h>
  21517. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  21518. +struct buf { int x; };
  21519. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  21520. +static char *e (p, i)
  21521. + char **p;
  21522. + int i;
  21523. +{
  21524. + return p[i];
  21525. +}
  21526. +static char *f (char * (*g) (char **, int), char **p, ...)
  21527. +{
  21528. + char *s;
  21529. + va_list v;
  21530. + va_start (v,p);
  21531. + s = g (p, va_arg (v,int));
  21532. + va_end (v);
  21533. + return s;
  21534. +}
  21535. +
  21536. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  21537. + function prototypes and stuff, but not '\xHH' hex character constants.
  21538. + These don't provoke an error unfortunately, instead are silently treated
  21539. + as 'x'. The following induces an error, until -std is added to get
  21540. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  21541. + array size at least. It's necessary to write '\x00'==0 to get something
  21542. + that's true only with -std. */
  21543. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  21544. +
  21545. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  21546. + inside strings and character constants. */
  21547. +#define FOO(x) 'x'
  21548. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  21549. +
  21550. +int test (int i, double x);
  21551. +struct s1 {int (*f) (int a);};
  21552. +struct s2 {int (*f) (double a);};
  21553. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  21554. +int argc;
  21555. +char **argv;
  21556. +int
  21557. +main ()
  21558. +{
  21559. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  21560. + ;
  21561. + return 0;
  21562. +}
  21563. +_ACEOF
  21564. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  21565. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  21566. +do
  21567. + CC="$ac_save_CC $ac_arg"
  21568. + if ac_fn_c_try_compile "$LINENO"; then :
  21569. + ac_cv_prog_cc_c89=$ac_arg
  21570. +fi
  21571. +rm -f core conftest.err conftest.$ac_objext
  21572. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  21573. +done
  21574. +rm -f conftest.$ac_ext
  21575. +CC=$ac_save_CC
  21576. +
  21577. +fi
  21578. +# AC_CACHE_VAL
  21579. +case "x$ac_cv_prog_cc_c89" in
  21580. + x)
  21581. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  21582. +$as_echo "none needed" >&6; } ;;
  21583. + xno)
  21584. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  21585. +$as_echo "unsupported" >&6; } ;;
  21586. + *)
  21587. + CC="$CC $ac_cv_prog_cc_c89"
  21588. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  21589. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  21590. +esac
  21591. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  21592. +
  21593. +fi
  21594. +
  21595. +ac_ext=c
  21596. +ac_cpp='$CPP $CPPFLAGS'
  21597. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  21598. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  21599. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  21600. +
  21601. +depcc="$CC" am_compiler_list=
  21602. +
  21603. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  21604. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  21605. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  21606. + $as_echo_n "(cached) " >&6
  21607. +else
  21608. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  21609. + # We make a subdir and do the tests there. Otherwise we can end up
  21610. + # making bogus files that we don't know about and never remove. For
  21611. + # instance it was reported that on HP-UX the gcc test will end up
  21612. + # making a dummy file named `D' -- because `-MD' means `put the output
  21613. + # in D'.
  21614. + rm -rf conftest.dir
  21615. + mkdir conftest.dir
  21616. + # Copy depcomp to subdir because otherwise we won't find it if we're
  21617. + # using a relative directory.
  21618. + cp "$am_depcomp" conftest.dir
  21619. + cd conftest.dir
  21620. + # We will build objects and dependencies in a subdirectory because
  21621. + # it helps to detect inapplicable dependency modes. For instance
  21622. + # both Tru64's cc and ICC support -MD to output dependencies as a
  21623. + # side effect of compilation, but ICC will put the dependencies in
  21624. + # the current directory while Tru64 will put them in the object
  21625. + # directory.
  21626. + mkdir sub
  21627. +
  21628. + am_cv_CC_dependencies_compiler_type=none
  21629. + if test "$am_compiler_list" = ""; then
  21630. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  21631. + fi
  21632. + am__universal=false
  21633. + case " $depcc " in #(
  21634. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  21635. + esac
  21636. +
  21637. + for depmode in $am_compiler_list; do
  21638. + # Setup a source with many dependencies, because some compilers
  21639. + # like to wrap large dependency lists on column 80 (with \), and
  21640. + # we should not choose a depcomp mode which is confused by this.
  21641. + #
  21642. + # We need to recreate these files for each test, as the compiler may
  21643. + # overwrite some of them when testing with obscure command lines.
  21644. + # This happens at least with the AIX C compiler.
  21645. + : > sub/conftest.c
  21646. + for i in 1 2 3 4 5 6; do
  21647. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  21648. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  21649. + # Solaris 8's {/usr,}/bin/sh.
  21650. + touch sub/conftst$i.h
  21651. + done
  21652. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  21653. +
  21654. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  21655. + # mode. It turns out that the SunPro C++ compiler does not properly
  21656. + # handle `-M -o', and we need to detect this. Also, some Intel
  21657. + # versions had trouble with output in subdirs
  21658. + am__obj=sub/conftest.${OBJEXT-o}
  21659. + am__minus_obj="-o $am__obj"
  21660. + case $depmode in
  21661. + gcc)
  21662. + # This depmode causes a compiler race in universal mode.
  21663. + test "$am__universal" = false || continue
  21664. + ;;
  21665. + nosideeffect)
  21666. + # after this tag, mechanisms are not by side-effect, so they'll
  21667. + # only be used when explicitly requested
  21668. + if test "x$enable_dependency_tracking" = xyes; then
  21669. + continue
  21670. + else
  21671. + break
  21672. + fi
  21673. + ;;
  21674. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  21675. + # This compiler won't grok `-c -o', but also, the minuso test has
  21676. + # not run yet. These depmodes are late enough in the game, and
  21677. + # so weak that their functioning should not be impacted.
  21678. + am__obj=conftest.${OBJEXT-o}
  21679. + am__minus_obj=
  21680. + ;;
  21681. + none) break ;;
  21682. + esac
  21683. + if depmode=$depmode \
  21684. + source=sub/conftest.c object=$am__obj \
  21685. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  21686. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  21687. + >/dev/null 2>conftest.err &&
  21688. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  21689. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  21690. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  21691. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  21692. + # icc doesn't choke on unknown options, it will just issue warnings
  21693. + # or remarks (even with -Werror). So we grep stderr for any message
  21694. + # that says an option was ignored or not supported.
  21695. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  21696. + # icc: Command line warning: ignoring option '-M'; no argument required
  21697. + # The diagnosis changed in icc 8.0:
  21698. + # icc: Command line remark: option '-MP' not supported
  21699. + if (grep 'ignoring option' conftest.err ||
  21700. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  21701. + am_cv_CC_dependencies_compiler_type=$depmode
  21702. + break
  21703. + fi
  21704. + fi
  21705. + done
  21706. +
  21707. + cd ..
  21708. + rm -rf conftest.dir
  21709. +else
  21710. + am_cv_CC_dependencies_compiler_type=none
  21711. +fi
  21712. +
  21713. +fi
  21714. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  21715. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  21716. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  21717. +
  21718. + if
  21719. + test "x$enable_dependency_tracking" != xno \
  21720. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  21721. + am__fastdepCC_TRUE=
  21722. + am__fastdepCC_FALSE='#'
  21723. +else
  21724. + am__fastdepCC_TRUE='#'
  21725. + am__fastdepCC_FALSE=
  21726. +fi
  21727. +
  21728. +
  21729. +
  21730. +@%:@ Check whether --enable-static was given.
  21731. +if test "${enable_static+set}" = set; then :
  21732. + enableval=$enable_static; p=${PACKAGE-default}
  21733. + case $enableval in
  21734. + yes) enable_static=yes ;;
  21735. + no) enable_static=no ;;
  21736. + *)
  21737. + enable_static=no
  21738. + # Look at the argument we got. We use all the common list separators.
  21739. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  21740. + for pkg in $enableval; do
  21741. + IFS="$lt_save_ifs"
  21742. + if test "X$pkg" = "X$p"; then
  21743. + enable_static=yes
  21744. + fi
  21745. + done
  21746. + IFS="$lt_save_ifs"
  21747. + ;;
  21748. + esac
  21749. +else
  21750. + enable_static=no
  21751. +fi
  21752. +
  21753. +
  21754. +
  21755. +
  21756. +
  21757. +
  21758. +
  21759. +
  21760. +
  21761. +case `pwd` in
  21762. + *\ * | *\ *)
  21763. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  21764. +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  21765. +esac
  21766. +
  21767. +
  21768. +
  21769. +macro_version='2.4.2'
  21770. +macro_revision='1.3337'
  21771. +
  21772. +
  21773. +
  21774. +
  21775. +
  21776. +
  21777. +
  21778. +
  21779. +
  21780. +
  21781. +
  21782. +
  21783. +
  21784. +ltmain="$ac_aux_dir/ltmain.sh"
  21785. +
  21786. +# Make sure we can run config.sub.
  21787. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  21788. + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  21789. +
  21790. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  21791. +$as_echo_n "checking build system type... " >&6; }
  21792. +if ${ac_cv_build+:} false; then :
  21793. + $as_echo_n "(cached) " >&6
  21794. +else
  21795. + ac_build_alias=$build_alias
  21796. +test "x$ac_build_alias" = x &&
  21797. + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  21798. +test "x$ac_build_alias" = x &&
  21799. + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  21800. +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  21801. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  21802. +
  21803. +fi
  21804. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  21805. +$as_echo "$ac_cv_build" >&6; }
  21806. +case $ac_cv_build in
  21807. +*-*-*) ;;
  21808. +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  21809. +esac
  21810. +build=$ac_cv_build
  21811. +ac_save_IFS=$IFS; IFS='-'
  21812. +set x $ac_cv_build
  21813. +shift
  21814. +build_cpu=$1
  21815. +build_vendor=$2
  21816. +shift; shift
  21817. +# Remember, the first character of IFS is used to create $*,
  21818. +# except with old shells:
  21819. +build_os=$*
  21820. +IFS=$ac_save_IFS
  21821. +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  21822. +
  21823. +
  21824. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  21825. +$as_echo_n "checking host system type... " >&6; }
  21826. +if ${ac_cv_host+:} false; then :
  21827. + $as_echo_n "(cached) " >&6
  21828. +else
  21829. + if test "x$host_alias" = x; then
  21830. + ac_cv_host=$ac_cv_build
  21831. +else
  21832. + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  21833. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  21834. +fi
  21835. +
  21836. +fi
  21837. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  21838. +$as_echo "$ac_cv_host" >&6; }
  21839. +case $ac_cv_host in
  21840. +*-*-*) ;;
  21841. +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  21842. +esac
  21843. +host=$ac_cv_host
  21844. +ac_save_IFS=$IFS; IFS='-'
  21845. +set x $ac_cv_host
  21846. +shift
  21847. +host_cpu=$1
  21848. +host_vendor=$2
  21849. +shift; shift
  21850. +# Remember, the first character of IFS is used to create $*,
  21851. +# except with old shells:
  21852. +host_os=$*
  21853. +IFS=$ac_save_IFS
  21854. +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  21855. +
  21856. +
  21857. +# Backslashify metacharacters that are still active within
  21858. +# double-quoted strings.
  21859. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  21860. +
  21861. +# Same as above, but do not quote variable references.
  21862. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  21863. +
  21864. +# Sed substitution to delay expansion of an escaped shell variable in a
  21865. +# double_quote_subst'ed string.
  21866. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  21867. +
  21868. +# Sed substitution to delay expansion of an escaped single quote.
  21869. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  21870. +
  21871. +# Sed substitution to avoid accidental globbing in evaled expressions
  21872. +no_glob_subst='s/\*/\\\*/g'
  21873. +
  21874. +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  21875. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  21876. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  21877. +
  21878. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  21879. +$as_echo_n "checking how to print strings... " >&6; }
  21880. +# Test print first, because it will be a builtin if present.
  21881. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  21882. + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  21883. + ECHO='print -r --'
  21884. +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  21885. + ECHO='printf %s\n'
  21886. +else
  21887. + # Use this function as a fallback that always works.
  21888. + func_fallback_echo ()
  21889. + {
  21890. + eval 'cat <<_LTECHO_EOF
  21891. +$1
  21892. +_LTECHO_EOF'
  21893. + }
  21894. + ECHO='func_fallback_echo'
  21895. +fi
  21896. +
  21897. +# func_echo_all arg...
  21898. +# Invoke $ECHO with all args, space-separated.
  21899. +func_echo_all ()
  21900. +{
  21901. + $ECHO ""
  21902. +}
  21903. +
  21904. +case "$ECHO" in
  21905. + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  21906. +$as_echo "printf" >&6; } ;;
  21907. + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  21908. +$as_echo "print -r" >&6; } ;;
  21909. + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  21910. +$as_echo "cat" >&6; } ;;
  21911. +esac
  21912. +
  21913. +
  21914. +
  21915. +
  21916. +
  21917. +
  21918. +
  21919. +
  21920. +
  21921. +
  21922. +
  21923. +
  21924. +
  21925. +
  21926. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  21927. +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
  21928. +if ${ac_cv_path_SED+:} false; then :
  21929. + $as_echo_n "(cached) " >&6
  21930. +else
  21931. + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  21932. + for ac_i in 1 2 3 4 5 6 7; do
  21933. + ac_script="$ac_script$as_nl$ac_script"
  21934. + done
  21935. + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  21936. + { ac_script=; unset ac_script;}
  21937. + if test -z "$SED"; then
  21938. + ac_path_SED_found=false
  21939. + # Loop through the user's path and test for each of PROGNAME-LIST
  21940. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21941. +for as_dir in $PATH
  21942. +do
  21943. + IFS=$as_save_IFS
  21944. + test -z "$as_dir" && as_dir=.
  21945. + for ac_prog in sed gsed; do
  21946. + for ac_exec_ext in '' $ac_executable_extensions; do
  21947. + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  21948. + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  21949. +# Check for GNU ac_path_SED and select it if it is found.
  21950. + # Check for GNU $ac_path_SED
  21951. +case `"$ac_path_SED" --version 2>&1` in
  21952. +*GNU*)
  21953. + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  21954. +*)
  21955. + ac_count=0
  21956. + $as_echo_n 0123456789 >"conftest.in"
  21957. + while :
  21958. + do
  21959. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  21960. + mv "conftest.tmp" "conftest.in"
  21961. + cp "conftest.in" "conftest.nl"
  21962. + $as_echo '' >> "conftest.nl"
  21963. + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  21964. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  21965. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  21966. + if test $ac_count -gt ${ac_path_SED_max-0}; then
  21967. + # Best one so far, save it but keep looking for a better one
  21968. + ac_cv_path_SED="$ac_path_SED"
  21969. + ac_path_SED_max=$ac_count
  21970. + fi
  21971. + # 10*(2^10) chars as input seems more than enough
  21972. + test $ac_count -gt 10 && break
  21973. + done
  21974. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  21975. +esac
  21976. +
  21977. + $ac_path_SED_found && break 3
  21978. + done
  21979. + done
  21980. + done
  21981. +IFS=$as_save_IFS
  21982. + if test -z "$ac_cv_path_SED"; then
  21983. + as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  21984. + fi
  21985. +else
  21986. + ac_cv_path_SED=$SED
  21987. +fi
  21988. +
  21989. +fi
  21990. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  21991. +$as_echo "$ac_cv_path_SED" >&6; }
  21992. + SED="$ac_cv_path_SED"
  21993. + rm -f conftest.sed
  21994. +
  21995. +test -z "$SED" && SED=sed
  21996. +Xsed="$SED -e 1s/^X//"
  21997. +
  21998. +
  21999. +
  22000. +
  22001. +
  22002. +
  22003. +
  22004. +
  22005. +
  22006. +
  22007. +
  22008. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  22009. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  22010. +if ${ac_cv_path_GREP+:} false; then :
  22011. + $as_echo_n "(cached) " >&6
  22012. +else
  22013. + if test -z "$GREP"; then
  22014. + ac_path_GREP_found=false
  22015. + # Loop through the user's path and test for each of PROGNAME-LIST
  22016. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22017. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  22018. +do
  22019. + IFS=$as_save_IFS
  22020. + test -z "$as_dir" && as_dir=.
  22021. + for ac_prog in grep ggrep; do
  22022. + for ac_exec_ext in '' $ac_executable_extensions; do
  22023. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  22024. + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  22025. +# Check for GNU ac_path_GREP and select it if it is found.
  22026. + # Check for GNU $ac_path_GREP
  22027. +case `"$ac_path_GREP" --version 2>&1` in
  22028. +*GNU*)
  22029. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  22030. +*)
  22031. + ac_count=0
  22032. + $as_echo_n 0123456789 >"conftest.in"
  22033. + while :
  22034. + do
  22035. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  22036. + mv "conftest.tmp" "conftest.in"
  22037. + cp "conftest.in" "conftest.nl"
  22038. + $as_echo 'GREP' >> "conftest.nl"
  22039. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  22040. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  22041. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  22042. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  22043. + # Best one so far, save it but keep looking for a better one
  22044. + ac_cv_path_GREP="$ac_path_GREP"
  22045. + ac_path_GREP_max=$ac_count
  22046. + fi
  22047. + # 10*(2^10) chars as input seems more than enough
  22048. + test $ac_count -gt 10 && break
  22049. + done
  22050. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  22051. +esac
  22052. +
  22053. + $ac_path_GREP_found && break 3
  22054. + done
  22055. + done
  22056. + done
  22057. +IFS=$as_save_IFS
  22058. + if test -z "$ac_cv_path_GREP"; then
  22059. + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  22060. + fi
  22061. +else
  22062. + ac_cv_path_GREP=$GREP
  22063. +fi
  22064. +
  22065. +fi
  22066. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  22067. +$as_echo "$ac_cv_path_GREP" >&6; }
  22068. + GREP="$ac_cv_path_GREP"
  22069. +
  22070. +
  22071. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  22072. +$as_echo_n "checking for egrep... " >&6; }
  22073. +if ${ac_cv_path_EGREP+:} false; then :
  22074. + $as_echo_n "(cached) " >&6
  22075. +else
  22076. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  22077. + then ac_cv_path_EGREP="$GREP -E"
  22078. + else
  22079. + if test -z "$EGREP"; then
  22080. + ac_path_EGREP_found=false
  22081. + # Loop through the user's path and test for each of PROGNAME-LIST
  22082. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22083. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  22084. +do
  22085. + IFS=$as_save_IFS
  22086. + test -z "$as_dir" && as_dir=.
  22087. + for ac_prog in egrep; do
  22088. + for ac_exec_ext in '' $ac_executable_extensions; do
  22089. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  22090. + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  22091. +# Check for GNU ac_path_EGREP and select it if it is found.
  22092. + # Check for GNU $ac_path_EGREP
  22093. +case `"$ac_path_EGREP" --version 2>&1` in
  22094. +*GNU*)
  22095. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  22096. +*)
  22097. + ac_count=0
  22098. + $as_echo_n 0123456789 >"conftest.in"
  22099. + while :
  22100. + do
  22101. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  22102. + mv "conftest.tmp" "conftest.in"
  22103. + cp "conftest.in" "conftest.nl"
  22104. + $as_echo 'EGREP' >> "conftest.nl"
  22105. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  22106. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  22107. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  22108. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  22109. + # Best one so far, save it but keep looking for a better one
  22110. + ac_cv_path_EGREP="$ac_path_EGREP"
  22111. + ac_path_EGREP_max=$ac_count
  22112. + fi
  22113. + # 10*(2^10) chars as input seems more than enough
  22114. + test $ac_count -gt 10 && break
  22115. + done
  22116. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  22117. +esac
  22118. +
  22119. + $ac_path_EGREP_found && break 3
  22120. + done
  22121. + done
  22122. + done
  22123. +IFS=$as_save_IFS
  22124. + if test -z "$ac_cv_path_EGREP"; then
  22125. + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  22126. + fi
  22127. +else
  22128. + ac_cv_path_EGREP=$EGREP
  22129. +fi
  22130. +
  22131. + fi
  22132. +fi
  22133. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  22134. +$as_echo "$ac_cv_path_EGREP" >&6; }
  22135. + EGREP="$ac_cv_path_EGREP"
  22136. +
  22137. +
  22138. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  22139. +$as_echo_n "checking for fgrep... " >&6; }
  22140. +if ${ac_cv_path_FGREP+:} false; then :
  22141. + $as_echo_n "(cached) " >&6
  22142. +else
  22143. + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  22144. + then ac_cv_path_FGREP="$GREP -F"
  22145. + else
  22146. + if test -z "$FGREP"; then
  22147. + ac_path_FGREP_found=false
  22148. + # Loop through the user's path and test for each of PROGNAME-LIST
  22149. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22150. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  22151. +do
  22152. + IFS=$as_save_IFS
  22153. + test -z "$as_dir" && as_dir=.
  22154. + for ac_prog in fgrep; do
  22155. + for ac_exec_ext in '' $ac_executable_extensions; do
  22156. + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  22157. + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  22158. +# Check for GNU ac_path_FGREP and select it if it is found.
  22159. + # Check for GNU $ac_path_FGREP
  22160. +case `"$ac_path_FGREP" --version 2>&1` in
  22161. +*GNU*)
  22162. + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  22163. +*)
  22164. + ac_count=0
  22165. + $as_echo_n 0123456789 >"conftest.in"
  22166. + while :
  22167. + do
  22168. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  22169. + mv "conftest.tmp" "conftest.in"
  22170. + cp "conftest.in" "conftest.nl"
  22171. + $as_echo 'FGREP' >> "conftest.nl"
  22172. + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  22173. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  22174. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  22175. + if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  22176. + # Best one so far, save it but keep looking for a better one
  22177. + ac_cv_path_FGREP="$ac_path_FGREP"
  22178. + ac_path_FGREP_max=$ac_count
  22179. + fi
  22180. + # 10*(2^10) chars as input seems more than enough
  22181. + test $ac_count -gt 10 && break
  22182. + done
  22183. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  22184. +esac
  22185. +
  22186. + $ac_path_FGREP_found && break 3
  22187. + done
  22188. + done
  22189. + done
  22190. +IFS=$as_save_IFS
  22191. + if test -z "$ac_cv_path_FGREP"; then
  22192. + as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  22193. + fi
  22194. +else
  22195. + ac_cv_path_FGREP=$FGREP
  22196. +fi
  22197. +
  22198. + fi
  22199. +fi
  22200. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  22201. +$as_echo "$ac_cv_path_FGREP" >&6; }
  22202. + FGREP="$ac_cv_path_FGREP"
  22203. +
  22204. +
  22205. +test -z "$GREP" && GREP=grep
  22206. +
  22207. +
  22208. +
  22209. +
  22210. +
  22211. +
  22212. +
  22213. +
  22214. +
  22215. +
  22216. +
  22217. +
  22218. +
  22219. +
  22220. +
  22221. +
  22222. +
  22223. +
  22224. +
  22225. +@%:@ Check whether --with-gnu-ld was given.
  22226. +if test "${with_gnu_ld+set}" = set; then :
  22227. + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  22228. +else
  22229. + with_gnu_ld=no
  22230. +fi
  22231. +
  22232. +ac_prog=ld
  22233. +if test "$GCC" = yes; then
  22234. + # Check if gcc -print-prog-name=ld gives a path.
  22235. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  22236. +$as_echo_n "checking for ld used by $CC... " >&6; }
  22237. + case $host in
  22238. + *-*-mingw*)
  22239. + # gcc leaves a trailing carriage return which upsets mingw
  22240. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  22241. + *)
  22242. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  22243. + esac
  22244. + case $ac_prog in
  22245. + # Accept absolute paths.
  22246. + [\\/]* | ?:[\\/]*)
  22247. + re_direlt='/[^/][^/]*/\.\./'
  22248. + # Canonicalize the pathname of ld
  22249. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  22250. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  22251. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  22252. + done
  22253. + test -z "$LD" && LD="$ac_prog"
  22254. + ;;
  22255. + "")
  22256. + # If it fails, then pretend we aren't using GCC.
  22257. + ac_prog=ld
  22258. + ;;
  22259. + *)
  22260. + # If it is relative, then search for the first ld in PATH.
  22261. + with_gnu_ld=unknown
  22262. + ;;
  22263. + esac
  22264. +elif test "$with_gnu_ld" = yes; then
  22265. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  22266. +$as_echo_n "checking for GNU ld... " >&6; }
  22267. +else
  22268. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  22269. +$as_echo_n "checking for non-GNU ld... " >&6; }
  22270. +fi
  22271. +if ${lt_cv_path_LD+:} false; then :
  22272. + $as_echo_n "(cached) " >&6
  22273. +else
  22274. + if test -z "$LD"; then
  22275. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  22276. + for ac_dir in $PATH; do
  22277. + IFS="$lt_save_ifs"
  22278. + test -z "$ac_dir" && ac_dir=.
  22279. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  22280. + lt_cv_path_LD="$ac_dir/$ac_prog"
  22281. + # Check to see if the program is GNU ld. I'd rather use --version,
  22282. + # but apparently some variants of GNU ld only accept -v.
  22283. + # Break only if it was the GNU/non-GNU ld that we prefer.
  22284. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  22285. + *GNU* | *'with BFD'*)
  22286. + test "$with_gnu_ld" != no && break
  22287. + ;;
  22288. + *)
  22289. + test "$with_gnu_ld" != yes && break
  22290. + ;;
  22291. + esac
  22292. + fi
  22293. + done
  22294. + IFS="$lt_save_ifs"
  22295. +else
  22296. + lt_cv_path_LD="$LD" # Let the user override the test with a path.
  22297. +fi
  22298. +fi
  22299. +
  22300. +LD="$lt_cv_path_LD"
  22301. +if test -n "$LD"; then
  22302. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  22303. +$as_echo "$LD" >&6; }
  22304. +else
  22305. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22306. +$as_echo "no" >&6; }
  22307. +fi
  22308. +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  22309. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  22310. +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  22311. +if ${lt_cv_prog_gnu_ld+:} false; then :
  22312. + $as_echo_n "(cached) " >&6
  22313. +else
  22314. + # I'd rather use --version here, but apparently some GNU lds only accept -v.
  22315. +case `$LD -v 2>&1 </dev/null` in
  22316. +*GNU* | *'with BFD'*)
  22317. + lt_cv_prog_gnu_ld=yes
  22318. + ;;
  22319. +*)
  22320. + lt_cv_prog_gnu_ld=no
  22321. + ;;
  22322. +esac
  22323. +fi
  22324. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  22325. +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
  22326. +with_gnu_ld=$lt_cv_prog_gnu_ld
  22327. +
  22328. +
  22329. +
  22330. +
  22331. +
  22332. +
  22333. +
  22334. +
  22335. +
  22336. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  22337. +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  22338. +if ${lt_cv_path_NM+:} false; then :
  22339. + $as_echo_n "(cached) " >&6
  22340. +else
  22341. + if test -n "$NM"; then
  22342. + # Let the user override the test.
  22343. + lt_cv_path_NM="$NM"
  22344. +else
  22345. + lt_nm_to_check="${ac_tool_prefix}nm"
  22346. + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  22347. + lt_nm_to_check="$lt_nm_to_check nm"
  22348. + fi
  22349. + for lt_tmp_nm in $lt_nm_to_check; do
  22350. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  22351. + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  22352. + IFS="$lt_save_ifs"
  22353. + test -z "$ac_dir" && ac_dir=.
  22354. + tmp_nm="$ac_dir/$lt_tmp_nm"
  22355. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  22356. + # Check to see if the nm accepts a BSD-compat flag.
  22357. + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  22358. + # nm: unknown option "B" ignored
  22359. + # Tru64's nm complains that /dev/null is an invalid object file
  22360. + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  22361. + */dev/null* | *'Invalid file or object type'*)
  22362. + lt_cv_path_NM="$tmp_nm -B"
  22363. + break
  22364. + ;;
  22365. + *)
  22366. + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  22367. + */dev/null*)
  22368. + lt_cv_path_NM="$tmp_nm -p"
  22369. + break
  22370. + ;;
  22371. + *)
  22372. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  22373. + continue # so that we can try to find one that supports BSD flags
  22374. + ;;
  22375. + esac
  22376. + ;;
  22377. + esac
  22378. + fi
  22379. + done
  22380. + IFS="$lt_save_ifs"
  22381. + done
  22382. + : ${lt_cv_path_NM=no}
  22383. +fi
  22384. +fi
  22385. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  22386. +$as_echo "$lt_cv_path_NM" >&6; }
  22387. +if test "$lt_cv_path_NM" != "no"; then
  22388. + NM="$lt_cv_path_NM"
  22389. +else
  22390. + # Didn't find any BSD compatible name lister, look for dumpbin.
  22391. + if test -n "$DUMPBIN"; then :
  22392. + # Let the user override the test.
  22393. + else
  22394. + if test -n "$ac_tool_prefix"; then
  22395. + for ac_prog in dumpbin "link -dump"
  22396. + do
  22397. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  22398. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  22399. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  22400. +$as_echo_n "checking for $ac_word... " >&6; }
  22401. +if ${ac_cv_prog_DUMPBIN+:} false; then :
  22402. + $as_echo_n "(cached) " >&6
  22403. +else
  22404. + if test -n "$DUMPBIN"; then
  22405. + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  22406. +else
  22407. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22408. +for as_dir in $PATH
  22409. +do
  22410. + IFS=$as_save_IFS
  22411. + test -z "$as_dir" && as_dir=.
  22412. + for ac_exec_ext in '' $ac_executable_extensions; do
  22413. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  22414. + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  22415. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  22416. + break 2
  22417. + fi
  22418. +done
  22419. + done
  22420. +IFS=$as_save_IFS
  22421. +
  22422. +fi
  22423. +fi
  22424. +DUMPBIN=$ac_cv_prog_DUMPBIN
  22425. +if test -n "$DUMPBIN"; then
  22426. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  22427. +$as_echo "$DUMPBIN" >&6; }
  22428. +else
  22429. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22430. +$as_echo "no" >&6; }
  22431. +fi
  22432. +
  22433. +
  22434. + test -n "$DUMPBIN" && break
  22435. + done
  22436. +fi
  22437. +if test -z "$DUMPBIN"; then
  22438. + ac_ct_DUMPBIN=$DUMPBIN
  22439. + for ac_prog in dumpbin "link -dump"
  22440. +do
  22441. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  22442. +set dummy $ac_prog; ac_word=$2
  22443. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  22444. +$as_echo_n "checking for $ac_word... " >&6; }
  22445. +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  22446. + $as_echo_n "(cached) " >&6
  22447. +else
  22448. + if test -n "$ac_ct_DUMPBIN"; then
  22449. + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  22450. +else
  22451. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22452. +for as_dir in $PATH
  22453. +do
  22454. + IFS=$as_save_IFS
  22455. + test -z "$as_dir" && as_dir=.
  22456. + for ac_exec_ext in '' $ac_executable_extensions; do
  22457. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  22458. + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  22459. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  22460. + break 2
  22461. + fi
  22462. +done
  22463. + done
  22464. +IFS=$as_save_IFS
  22465. +
  22466. +fi
  22467. +fi
  22468. +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  22469. +if test -n "$ac_ct_DUMPBIN"; then
  22470. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  22471. +$as_echo "$ac_ct_DUMPBIN" >&6; }
  22472. +else
  22473. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22474. +$as_echo "no" >&6; }
  22475. +fi
  22476. +
  22477. +
  22478. + test -n "$ac_ct_DUMPBIN" && break
  22479. +done
  22480. +
  22481. + if test "x$ac_ct_DUMPBIN" = x; then
  22482. + DUMPBIN=":"
  22483. + else
  22484. + case $cross_compiling:$ac_tool_warned in
  22485. +yes:)
  22486. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  22487. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  22488. +ac_tool_warned=yes ;;
  22489. +esac
  22490. + DUMPBIN=$ac_ct_DUMPBIN
  22491. + fi
  22492. +fi
  22493. +
  22494. + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  22495. + *COFF*)
  22496. + DUMPBIN="$DUMPBIN -symbols"
  22497. + ;;
  22498. + *)
  22499. + DUMPBIN=:
  22500. + ;;
  22501. + esac
  22502. + fi
  22503. +
  22504. + if test "$DUMPBIN" != ":"; then
  22505. + NM="$DUMPBIN"
  22506. + fi
  22507. +fi
  22508. +test -z "$NM" && NM=nm
  22509. +
  22510. +
  22511. +
  22512. +
  22513. +
  22514. +
  22515. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  22516. +$as_echo_n "checking the name lister ($NM) interface... " >&6; }
  22517. +if ${lt_cv_nm_interface+:} false; then :
  22518. + $as_echo_n "(cached) " >&6
  22519. +else
  22520. + lt_cv_nm_interface="BSD nm"
  22521. + echo "int some_variable = 0;" > conftest.$ac_ext
  22522. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  22523. + (eval "$ac_compile" 2>conftest.err)
  22524. + cat conftest.err >&5
  22525. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  22526. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  22527. + cat conftest.err >&5
  22528. + (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  22529. + cat conftest.out >&5
  22530. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  22531. + lt_cv_nm_interface="MS dumpbin"
  22532. + fi
  22533. + rm -f conftest*
  22534. +fi
  22535. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  22536. +$as_echo "$lt_cv_nm_interface" >&6; }
  22537. +
  22538. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  22539. +$as_echo_n "checking whether ln -s works... " >&6; }
  22540. +LN_S=$as_ln_s
  22541. +if test "$LN_S" = "ln -s"; then
  22542. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22543. +$as_echo "yes" >&6; }
  22544. +else
  22545. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  22546. +$as_echo "no, using $LN_S" >&6; }
  22547. +fi
  22548. +
  22549. +# find the maximum length of command line arguments
  22550. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  22551. +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
  22552. +if ${lt_cv_sys_max_cmd_len+:} false; then :
  22553. + $as_echo_n "(cached) " >&6
  22554. +else
  22555. + i=0
  22556. + teststring="ABCD"
  22557. +
  22558. + case $build_os in
  22559. + msdosdjgpp*)
  22560. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  22561. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  22562. + # during glob expansion). Even if it were fixed, the result of this
  22563. + # check would be larger than it should be.
  22564. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  22565. + ;;
  22566. +
  22567. + gnu*)
  22568. + # Under GNU Hurd, this test is not required because there is
  22569. + # no limit to the length of command line arguments.
  22570. + # Libtool will interpret -1 as no limit whatsoever
  22571. + lt_cv_sys_max_cmd_len=-1;
  22572. + ;;
  22573. +
  22574. + cygwin* | mingw* | cegcc*)
  22575. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  22576. + # about 5 minutes as the teststring grows exponentially.
  22577. + # Worse, since 9x/ME are not pre-emptively multitasking,
  22578. + # you end up with a "frozen" computer, even though with patience
  22579. + # the test eventually succeeds (with a max line length of 256k).
  22580. + # Instead, let's just punt: use the minimum linelength reported by
  22581. + # all of the supported platforms: 8192 (on NT/2K/XP).
  22582. + lt_cv_sys_max_cmd_len=8192;
  22583. + ;;
  22584. +
  22585. + mint*)
  22586. + # On MiNT this can take a long time and run out of memory.
  22587. + lt_cv_sys_max_cmd_len=8192;
  22588. + ;;
  22589. +
  22590. + amigaos*)
  22591. + # On AmigaOS with pdksh, this test takes hours, literally.
  22592. + # So we just punt and use a minimum line length of 8192.
  22593. + lt_cv_sys_max_cmd_len=8192;
  22594. + ;;
  22595. +
  22596. + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  22597. + # This has been around since 386BSD, at least. Likely further.
  22598. + if test -x /sbin/sysctl; then
  22599. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  22600. + elif test -x /usr/sbin/sysctl; then
  22601. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  22602. + else
  22603. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  22604. + fi
  22605. + # And add a safety zone
  22606. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  22607. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  22608. + ;;
  22609. +
  22610. + interix*)
  22611. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  22612. + lt_cv_sys_max_cmd_len=196608
  22613. + ;;
  22614. +
  22615. + os2*)
  22616. + # The test takes a long time on OS/2.
  22617. + lt_cv_sys_max_cmd_len=8192
  22618. + ;;
  22619. +
  22620. + osf*)
  22621. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  22622. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  22623. + # nice to cause kernel panics so lets avoid the loop below.
  22624. + # First set a reasonable default.
  22625. + lt_cv_sys_max_cmd_len=16384
  22626. + #
  22627. + if test -x /sbin/sysconfig; then
  22628. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  22629. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  22630. + esac
  22631. + fi
  22632. + ;;
  22633. + sco3.2v5*)
  22634. + lt_cv_sys_max_cmd_len=102400
  22635. + ;;
  22636. + sysv5* | sco5v6* | sysv4.2uw2*)
  22637. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  22638. + if test -n "$kargmax"; then
  22639. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  22640. + else
  22641. + lt_cv_sys_max_cmd_len=32768
  22642. + fi
  22643. + ;;
  22644. + *)
  22645. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  22646. + if test -n "$lt_cv_sys_max_cmd_len"; then
  22647. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  22648. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  22649. + else
  22650. + # Make teststring a little bigger before we do anything with it.
  22651. + # a 1K string should be a reasonable start.
  22652. + for i in 1 2 3 4 5 6 7 8 ; do
  22653. + teststring=$teststring$teststring
  22654. + done
  22655. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  22656. + # If test is not a shell built-in, we'll probably end up computing a
  22657. + # maximum length that is only half of the actual maximum length, but
  22658. + # we can't tell.
  22659. + while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
  22660. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  22661. + test $i != 17 # 1/2 MB should be enough
  22662. + do
  22663. + i=`expr $i + 1`
  22664. + teststring=$teststring$teststring
  22665. + done
  22666. + # Only check the string length outside the loop.
  22667. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  22668. + teststring=
  22669. + # Add a significant safety factor because C++ compilers can tack on
  22670. + # massive amounts of additional arguments before passing them to the
  22671. + # linker. It appears as though 1/2 is a usable value.
  22672. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  22673. + fi
  22674. + ;;
  22675. + esac
  22676. +
  22677. +fi
  22678. +
  22679. +if test -n $lt_cv_sys_max_cmd_len ; then
  22680. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  22681. +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  22682. +else
  22683. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  22684. +$as_echo "none" >&6; }
  22685. +fi
  22686. +max_cmd_len=$lt_cv_sys_max_cmd_len
  22687. +
  22688. +
  22689. +
  22690. +
  22691. +
  22692. +
  22693. +: ${CP="cp -f"}
  22694. +: ${MV="mv -f"}
  22695. +: ${RM="rm -f"}
  22696. +
  22697. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  22698. +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  22699. +# Try some XSI features
  22700. +xsi_shell=no
  22701. +( _lt_dummy="a/b/c"
  22702. + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
  22703. + = c,a/b,b/c, \
  22704. + && eval 'test $(( 1 + 1 )) -eq 2 \
  22705. + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  22706. + && xsi_shell=yes
  22707. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  22708. +$as_echo "$xsi_shell" >&6; }
  22709. +
  22710. +
  22711. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  22712. +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  22713. +lt_shell_append=no
  22714. +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  22715. + >/dev/null 2>&1 \
  22716. + && lt_shell_append=yes
  22717. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  22718. +$as_echo "$lt_shell_append" >&6; }
  22719. +
  22720. +
  22721. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  22722. + lt_unset=unset
  22723. +else
  22724. + lt_unset=false
  22725. +fi
  22726. +
  22727. +
  22728. +
  22729. +
  22730. +
  22731. +# test EBCDIC or ASCII
  22732. +case `echo X|tr X '\101'` in
  22733. + A) # ASCII based system
  22734. + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  22735. + lt_SP2NL='tr \040 \012'
  22736. + lt_NL2SP='tr \015\012 \040\040'
  22737. + ;;
  22738. + *) # EBCDIC based system
  22739. + lt_SP2NL='tr \100 \n'
  22740. + lt_NL2SP='tr \r\n \100\100'
  22741. + ;;
  22742. +esac
  22743. +
  22744. +
  22745. +
  22746. +
  22747. +
  22748. +
  22749. +
  22750. +
  22751. +
  22752. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  22753. +$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  22754. +if ${lt_cv_to_host_file_cmd+:} false; then :
  22755. + $as_echo_n "(cached) " >&6
  22756. +else
  22757. + case $host in
  22758. + *-*-mingw* )
  22759. + case $build in
  22760. + *-*-mingw* ) # actually msys
  22761. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  22762. + ;;
  22763. + *-*-cygwin* )
  22764. + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  22765. + ;;
  22766. + * ) # otherwise, assume *nix
  22767. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  22768. + ;;
  22769. + esac
  22770. + ;;
  22771. + *-*-cygwin* )
  22772. + case $build in
  22773. + *-*-mingw* ) # actually msys
  22774. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  22775. + ;;
  22776. + *-*-cygwin* )
  22777. + lt_cv_to_host_file_cmd=func_convert_file_noop
  22778. + ;;
  22779. + * ) # otherwise, assume *nix
  22780. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  22781. + ;;
  22782. + esac
  22783. + ;;
  22784. + * ) # unhandled hosts (and "normal" native builds)
  22785. + lt_cv_to_host_file_cmd=func_convert_file_noop
  22786. + ;;
  22787. +esac
  22788. +
  22789. +fi
  22790. +
  22791. +to_host_file_cmd=$lt_cv_to_host_file_cmd
  22792. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  22793. +$as_echo "$lt_cv_to_host_file_cmd" >&6; }
  22794. +
  22795. +
  22796. +
  22797. +
  22798. +
  22799. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  22800. +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  22801. +if ${lt_cv_to_tool_file_cmd+:} false; then :
  22802. + $as_echo_n "(cached) " >&6
  22803. +else
  22804. + #assume ordinary cross tools, or native build.
  22805. +lt_cv_to_tool_file_cmd=func_convert_file_noop
  22806. +case $host in
  22807. + *-*-mingw* )
  22808. + case $build in
  22809. + *-*-mingw* ) # actually msys
  22810. + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  22811. + ;;
  22812. + esac
  22813. + ;;
  22814. +esac
  22815. +
  22816. +fi
  22817. +
  22818. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  22819. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  22820. +$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  22821. +
  22822. +
  22823. +
  22824. +
  22825. +
  22826. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  22827. +$as_echo_n "checking for $LD option to reload object files... " >&6; }
  22828. +if ${lt_cv_ld_reload_flag+:} false; then :
  22829. + $as_echo_n "(cached) " >&6
  22830. +else
  22831. + lt_cv_ld_reload_flag='-r'
  22832. +fi
  22833. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  22834. +$as_echo "$lt_cv_ld_reload_flag" >&6; }
  22835. +reload_flag=$lt_cv_ld_reload_flag
  22836. +case $reload_flag in
  22837. +"" | " "*) ;;
  22838. +*) reload_flag=" $reload_flag" ;;
  22839. +esac
  22840. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  22841. +case $host_os in
  22842. + cygwin* | mingw* | pw32* | cegcc*)
  22843. + if test "$GCC" != yes; then
  22844. + reload_cmds=false
  22845. + fi
  22846. + ;;
  22847. + darwin*)
  22848. + if test "$GCC" = yes; then
  22849. + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  22850. + else
  22851. + reload_cmds='$LD$reload_flag -o $output$reload_objs'
  22852. + fi
  22853. + ;;
  22854. +esac
  22855. +
  22856. +
  22857. +
  22858. +
  22859. +
  22860. +
  22861. +
  22862. +
  22863. +
  22864. +if test -n "$ac_tool_prefix"; then
  22865. + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  22866. +set dummy ${ac_tool_prefix}objdump; ac_word=$2
  22867. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  22868. +$as_echo_n "checking for $ac_word... " >&6; }
  22869. +if ${ac_cv_prog_OBJDUMP+:} false; then :
  22870. + $as_echo_n "(cached) " >&6
  22871. +else
  22872. + if test -n "$OBJDUMP"; then
  22873. + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  22874. +else
  22875. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22876. +for as_dir in $PATH
  22877. +do
  22878. + IFS=$as_save_IFS
  22879. + test -z "$as_dir" && as_dir=.
  22880. + for ac_exec_ext in '' $ac_executable_extensions; do
  22881. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  22882. + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  22883. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  22884. + break 2
  22885. + fi
  22886. +done
  22887. + done
  22888. +IFS=$as_save_IFS
  22889. +
  22890. +fi
  22891. +fi
  22892. +OBJDUMP=$ac_cv_prog_OBJDUMP
  22893. +if test -n "$OBJDUMP"; then
  22894. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  22895. +$as_echo "$OBJDUMP" >&6; }
  22896. +else
  22897. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22898. +$as_echo "no" >&6; }
  22899. +fi
  22900. +
  22901. +
  22902. +fi
  22903. +if test -z "$ac_cv_prog_OBJDUMP"; then
  22904. + ac_ct_OBJDUMP=$OBJDUMP
  22905. + # Extract the first word of "objdump", so it can be a program name with args.
  22906. +set dummy objdump; ac_word=$2
  22907. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  22908. +$as_echo_n "checking for $ac_word... " >&6; }
  22909. +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  22910. + $as_echo_n "(cached) " >&6
  22911. +else
  22912. + if test -n "$ac_ct_OBJDUMP"; then
  22913. + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  22914. +else
  22915. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22916. +for as_dir in $PATH
  22917. +do
  22918. + IFS=$as_save_IFS
  22919. + test -z "$as_dir" && as_dir=.
  22920. + for ac_exec_ext in '' $ac_executable_extensions; do
  22921. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  22922. + ac_cv_prog_ac_ct_OBJDUMP="objdump"
  22923. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  22924. + break 2
  22925. + fi
  22926. +done
  22927. + done
  22928. +IFS=$as_save_IFS
  22929. +
  22930. +fi
  22931. +fi
  22932. +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  22933. +if test -n "$ac_ct_OBJDUMP"; then
  22934. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  22935. +$as_echo "$ac_ct_OBJDUMP" >&6; }
  22936. +else
  22937. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22938. +$as_echo "no" >&6; }
  22939. +fi
  22940. +
  22941. + if test "x$ac_ct_OBJDUMP" = x; then
  22942. + OBJDUMP="false"
  22943. + else
  22944. + case $cross_compiling:$ac_tool_warned in
  22945. +yes:)
  22946. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  22947. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  22948. +ac_tool_warned=yes ;;
  22949. +esac
  22950. + OBJDUMP=$ac_ct_OBJDUMP
  22951. + fi
  22952. +else
  22953. + OBJDUMP="$ac_cv_prog_OBJDUMP"
  22954. +fi
  22955. +
  22956. +test -z "$OBJDUMP" && OBJDUMP=objdump
  22957. +
  22958. +
  22959. +
  22960. +
  22961. +
  22962. +
  22963. +
  22964. +
  22965. +
  22966. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  22967. +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
  22968. +if ${lt_cv_deplibs_check_method+:} false; then :
  22969. + $as_echo_n "(cached) " >&6
  22970. +else
  22971. + lt_cv_file_magic_cmd='$MAGIC_CMD'
  22972. +lt_cv_file_magic_test_file=
  22973. +lt_cv_deplibs_check_method='unknown'
  22974. +# Need to set the preceding variable on all platforms that support
  22975. +# interlibrary dependencies.
  22976. +# 'none' -- dependencies not supported.
  22977. +# `unknown' -- same as none, but documents that we really don't know.
  22978. +# 'pass_all' -- all dependencies passed with no checks.
  22979. +# 'test_compile' -- check by making test program.
  22980. +# 'file_magic [[regex]]' -- check by looking for files in library path
  22981. +# which responds to the $file_magic_cmd with a given extended regex.
  22982. +# If you have `file' or equivalent on your system and you're not sure
  22983. +# whether `pass_all' will *always* work, you probably want this one.
  22984. +
  22985. +case $host_os in
  22986. +aix[4-9]*)
  22987. + lt_cv_deplibs_check_method=pass_all
  22988. + ;;
  22989. +
  22990. +beos*)
  22991. + lt_cv_deplibs_check_method=pass_all
  22992. + ;;
  22993. +
  22994. +bsdi[45]*)
  22995. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  22996. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  22997. + lt_cv_file_magic_test_file=/shlib/libc.so
  22998. + ;;
  22999. +
  23000. +cygwin*)
  23001. + # func_win32_libid is a shell function defined in ltmain.sh
  23002. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  23003. + lt_cv_file_magic_cmd='func_win32_libid'
  23004. + ;;
  23005. +
  23006. +mingw* | pw32*)
  23007. + # Base MSYS/MinGW do not provide the 'file' command needed by
  23008. + # func_win32_libid shell function, so use a weaker test based on 'objdump',
  23009. + # unless we find 'file', for example because we are cross-compiling.
  23010. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  23011. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  23012. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  23013. + lt_cv_file_magic_cmd='func_win32_libid'
  23014. + else
  23015. + # Keep this pattern in sync with the one in func_win32_libid.
  23016. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  23017. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  23018. + fi
  23019. + ;;
  23020. +
  23021. +cegcc*)
  23022. + # use the weaker test based on 'objdump'. See mingw*.
  23023. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  23024. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  23025. + ;;
  23026. +
  23027. +darwin* | rhapsody*)
  23028. + lt_cv_deplibs_check_method=pass_all
  23029. + ;;
  23030. +
  23031. +freebsd* | dragonfly*)
  23032. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  23033. + case $host_cpu in
  23034. + i*86 )
  23035. + # Not sure whether the presence of OpenBSD here was a mistake.
  23036. + # Let's accept both of them until this is cleared up.
  23037. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  23038. + lt_cv_file_magic_cmd=/usr/bin/file
  23039. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  23040. + ;;
  23041. + esac
  23042. + else
  23043. + lt_cv_deplibs_check_method=pass_all
  23044. + fi
  23045. + ;;
  23046. +
  23047. +haiku*)
  23048. + lt_cv_deplibs_check_method=pass_all
  23049. + ;;
  23050. +
  23051. +hpux10.20* | hpux11*)
  23052. + lt_cv_file_magic_cmd=/usr/bin/file
  23053. + case $host_cpu in
  23054. + ia64*)
  23055. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  23056. + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  23057. + ;;
  23058. + hppa*64*)
  23059. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
  23060. + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  23061. + ;;
  23062. + *)
  23063. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  23064. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  23065. + ;;
  23066. + esac
  23067. + ;;
  23068. +
  23069. +interix[3-9]*)
  23070. + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  23071. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  23072. + ;;
  23073. +
  23074. +irix5* | irix6* | nonstopux*)
  23075. + case $LD in
  23076. + *-32|*"-32 ") libmagic=32-bit;;
  23077. + *-n32|*"-n32 ") libmagic=N32;;
  23078. + *-64|*"-64 ") libmagic=64-bit;;
  23079. + *) libmagic=never-match;;
  23080. + esac
  23081. + lt_cv_deplibs_check_method=pass_all
  23082. + ;;
  23083. +
  23084. +# This must be glibc/ELF.
  23085. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  23086. + lt_cv_deplibs_check_method=pass_all
  23087. + ;;
  23088. +
  23089. +netbsd* | netbsdelf*-gnu)
  23090. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  23091. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  23092. + else
  23093. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  23094. + fi
  23095. + ;;
  23096. +
  23097. +newos6*)
  23098. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  23099. + lt_cv_file_magic_cmd=/usr/bin/file
  23100. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  23101. + ;;
  23102. +
  23103. +*nto* | *qnx*)
  23104. + lt_cv_deplibs_check_method=pass_all
  23105. + ;;
  23106. +
  23107. +openbsd*)
  23108. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  23109. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  23110. + else
  23111. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  23112. + fi
  23113. + ;;
  23114. +
  23115. +osf3* | osf4* | osf5*)
  23116. + lt_cv_deplibs_check_method=pass_all
  23117. + ;;
  23118. +
  23119. +rdos*)
  23120. + lt_cv_deplibs_check_method=pass_all
  23121. + ;;
  23122. +
  23123. +solaris*)
  23124. + lt_cv_deplibs_check_method=pass_all
  23125. + ;;
  23126. +
  23127. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  23128. + lt_cv_deplibs_check_method=pass_all
  23129. + ;;
  23130. +
  23131. +sysv4 | sysv4.3*)
  23132. + case $host_vendor in
  23133. + motorola)
  23134. + 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]'
  23135. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  23136. + ;;
  23137. + ncr)
  23138. + lt_cv_deplibs_check_method=pass_all
  23139. + ;;
  23140. + sequent)
  23141. + lt_cv_file_magic_cmd='/bin/file'
  23142. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  23143. + ;;
  23144. + sni)
  23145. + lt_cv_file_magic_cmd='/bin/file'
  23146. + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  23147. + lt_cv_file_magic_test_file=/lib/libc.so
  23148. + ;;
  23149. + siemens)
  23150. + lt_cv_deplibs_check_method=pass_all
  23151. + ;;
  23152. + pc)
  23153. + lt_cv_deplibs_check_method=pass_all
  23154. + ;;
  23155. + esac
  23156. + ;;
  23157. +
  23158. +tpf*)
  23159. + lt_cv_deplibs_check_method=pass_all
  23160. + ;;
  23161. +esac
  23162. +
  23163. +fi
  23164. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  23165. +$as_echo "$lt_cv_deplibs_check_method" >&6; }
  23166. +
  23167. +file_magic_glob=
  23168. +want_nocaseglob=no
  23169. +if test "$build" = "$host"; then
  23170. + case $host_os in
  23171. + mingw* | pw32*)
  23172. + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  23173. + want_nocaseglob=yes
  23174. + else
  23175. + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  23176. + fi
  23177. + ;;
  23178. + esac
  23179. +fi
  23180. +
  23181. +file_magic_cmd=$lt_cv_file_magic_cmd
  23182. +deplibs_check_method=$lt_cv_deplibs_check_method
  23183. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  23184. +
  23185. +
  23186. +
  23187. +
  23188. +
  23189. +
  23190. +
  23191. +
  23192. +
  23193. +
  23194. +
  23195. +
  23196. +
  23197. +
  23198. +
  23199. +
  23200. +
  23201. +
  23202. +
  23203. +
  23204. +
  23205. +
  23206. +if test -n "$ac_tool_prefix"; then
  23207. + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  23208. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  23209. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  23210. +$as_echo_n "checking for $ac_word... " >&6; }
  23211. +if ${ac_cv_prog_DLLTOOL+:} false; then :
  23212. + $as_echo_n "(cached) " >&6
  23213. +else
  23214. + if test -n "$DLLTOOL"; then
  23215. + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  23216. +else
  23217. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23218. +for as_dir in $PATH
  23219. +do
  23220. + IFS=$as_save_IFS
  23221. + test -z "$as_dir" && as_dir=.
  23222. + for ac_exec_ext in '' $ac_executable_extensions; do
  23223. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  23224. + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  23225. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  23226. + break 2
  23227. + fi
  23228. +done
  23229. + done
  23230. +IFS=$as_save_IFS
  23231. +
  23232. +fi
  23233. +fi
  23234. +DLLTOOL=$ac_cv_prog_DLLTOOL
  23235. +if test -n "$DLLTOOL"; then
  23236. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  23237. +$as_echo "$DLLTOOL" >&6; }
  23238. +else
  23239. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23240. +$as_echo "no" >&6; }
  23241. +fi
  23242. +
  23243. +
  23244. +fi
  23245. +if test -z "$ac_cv_prog_DLLTOOL"; then
  23246. + ac_ct_DLLTOOL=$DLLTOOL
  23247. + # Extract the first word of "dlltool", so it can be a program name with args.
  23248. +set dummy dlltool; ac_word=$2
  23249. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  23250. +$as_echo_n "checking for $ac_word... " >&6; }
  23251. +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  23252. + $as_echo_n "(cached) " >&6
  23253. +else
  23254. + if test -n "$ac_ct_DLLTOOL"; then
  23255. + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  23256. +else
  23257. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23258. +for as_dir in $PATH
  23259. +do
  23260. + IFS=$as_save_IFS
  23261. + test -z "$as_dir" && as_dir=.
  23262. + for ac_exec_ext in '' $ac_executable_extensions; do
  23263. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  23264. + ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  23265. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  23266. + break 2
  23267. + fi
  23268. +done
  23269. + done
  23270. +IFS=$as_save_IFS
  23271. +
  23272. +fi
  23273. +fi
  23274. +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  23275. +if test -n "$ac_ct_DLLTOOL"; then
  23276. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  23277. +$as_echo "$ac_ct_DLLTOOL" >&6; }
  23278. +else
  23279. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23280. +$as_echo "no" >&6; }
  23281. +fi
  23282. +
  23283. + if test "x$ac_ct_DLLTOOL" = x; then
  23284. + DLLTOOL="false"
  23285. + else
  23286. + case $cross_compiling:$ac_tool_warned in
  23287. +yes:)
  23288. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  23289. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  23290. +ac_tool_warned=yes ;;
  23291. +esac
  23292. + DLLTOOL=$ac_ct_DLLTOOL
  23293. + fi
  23294. +else
  23295. + DLLTOOL="$ac_cv_prog_DLLTOOL"
  23296. +fi
  23297. +
  23298. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  23299. +
  23300. +
  23301. +
  23302. +
  23303. +
  23304. +
  23305. +
  23306. +
  23307. +
  23308. +
  23309. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  23310. +$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  23311. +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  23312. + $as_echo_n "(cached) " >&6
  23313. +else
  23314. + lt_cv_sharedlib_from_linklib_cmd='unknown'
  23315. +
  23316. +case $host_os in
  23317. +cygwin* | mingw* | pw32* | cegcc*)
  23318. + # two different shell functions defined in ltmain.sh
  23319. + # decide which to use based on capabilities of $DLLTOOL
  23320. + case `$DLLTOOL --help 2>&1` in
  23321. + *--identify-strict*)
  23322. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  23323. + ;;
  23324. + *)
  23325. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  23326. + ;;
  23327. + esac
  23328. + ;;
  23329. +*)
  23330. + # fallback: assume linklib IS sharedlib
  23331. + lt_cv_sharedlib_from_linklib_cmd="$ECHO"
  23332. + ;;
  23333. +esac
  23334. +
  23335. +fi
  23336. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  23337. +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  23338. +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  23339. +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  23340. +
  23341. +
  23342. +
  23343. +
  23344. +
  23345. +
  23346. +
  23347. +if test -n "$ac_tool_prefix"; then
  23348. + for ac_prog in ar
  23349. + do
  23350. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  23351. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  23352. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  23353. +$as_echo_n "checking for $ac_word... " >&6; }
  23354. +if ${ac_cv_prog_AR+:} false; then :
  23355. + $as_echo_n "(cached) " >&6
  23356. +else
  23357. + if test -n "$AR"; then
  23358. + ac_cv_prog_AR="$AR" # Let the user override the test.
  23359. +else
  23360. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23361. +for as_dir in $PATH
  23362. +do
  23363. + IFS=$as_save_IFS
  23364. + test -z "$as_dir" && as_dir=.
  23365. + for ac_exec_ext in '' $ac_executable_extensions; do
  23366. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  23367. + ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  23368. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  23369. + break 2
  23370. + fi
  23371. +done
  23372. + done
  23373. +IFS=$as_save_IFS
  23374. +
  23375. +fi
  23376. +fi
  23377. +AR=$ac_cv_prog_AR
  23378. +if test -n "$AR"; then
  23379. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  23380. +$as_echo "$AR" >&6; }
  23381. +else
  23382. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23383. +$as_echo "no" >&6; }
  23384. +fi
  23385. +
  23386. +
  23387. + test -n "$AR" && break
  23388. + done
  23389. +fi
  23390. +if test -z "$AR"; then
  23391. + ac_ct_AR=$AR
  23392. + for ac_prog in ar
  23393. +do
  23394. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  23395. +set dummy $ac_prog; ac_word=$2
  23396. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  23397. +$as_echo_n "checking for $ac_word... " >&6; }
  23398. +if ${ac_cv_prog_ac_ct_AR+:} false; then :
  23399. + $as_echo_n "(cached) " >&6
  23400. +else
  23401. + if test -n "$ac_ct_AR"; then
  23402. + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  23403. +else
  23404. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23405. +for as_dir in $PATH
  23406. +do
  23407. + IFS=$as_save_IFS
  23408. + test -z "$as_dir" && as_dir=.
  23409. + for ac_exec_ext in '' $ac_executable_extensions; do
  23410. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  23411. + ac_cv_prog_ac_ct_AR="$ac_prog"
  23412. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  23413. + break 2
  23414. + fi
  23415. +done
  23416. + done
  23417. +IFS=$as_save_IFS
  23418. +
  23419. +fi
  23420. +fi
  23421. +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  23422. +if test -n "$ac_ct_AR"; then
  23423. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  23424. +$as_echo "$ac_ct_AR" >&6; }
  23425. +else
  23426. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23427. +$as_echo "no" >&6; }
  23428. +fi
  23429. +
  23430. +
  23431. + test -n "$ac_ct_AR" && break
  23432. +done
  23433. +
  23434. + if test "x$ac_ct_AR" = x; then
  23435. + AR="false"
  23436. + else
  23437. + case $cross_compiling:$ac_tool_warned in
  23438. +yes:)
  23439. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  23440. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  23441. +ac_tool_warned=yes ;;
  23442. +esac
  23443. + AR=$ac_ct_AR
  23444. + fi
  23445. +fi
  23446. +
  23447. +: ${AR=ar}
  23448. +: ${AR_FLAGS=cru}
  23449. +
  23450. +
  23451. +
  23452. +
  23453. +
  23454. +
  23455. +
  23456. +
  23457. +
  23458. +
  23459. +
  23460. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  23461. +$as_echo_n "checking for archiver @FILE support... " >&6; }
  23462. +if ${lt_cv_ar_at_file+:} false; then :
  23463. + $as_echo_n "(cached) " >&6
  23464. +else
  23465. + lt_cv_ar_at_file=no
  23466. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23467. +/* end confdefs.h. */
  23468. +
  23469. +int
  23470. +main ()
  23471. +{
  23472. +
  23473. + ;
  23474. + return 0;
  23475. +}
  23476. +_ACEOF
  23477. +if ac_fn_c_try_compile "$LINENO"; then :
  23478. + echo conftest.$ac_objext > conftest.lst
  23479. + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  23480. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  23481. + (eval $lt_ar_try) 2>&5
  23482. + ac_status=$?
  23483. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  23484. + test $ac_status = 0; }
  23485. + if test "$ac_status" -eq 0; then
  23486. + # Ensure the archiver fails upon bogus file names.
  23487. + rm -f conftest.$ac_objext libconftest.a
  23488. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  23489. + (eval $lt_ar_try) 2>&5
  23490. + ac_status=$?
  23491. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  23492. + test $ac_status = 0; }
  23493. + if test "$ac_status" -ne 0; then
  23494. + lt_cv_ar_at_file=@
  23495. + fi
  23496. + fi
  23497. + rm -f conftest.* libconftest.a
  23498. +
  23499. +fi
  23500. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  23501. +
  23502. +fi
  23503. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  23504. +$as_echo "$lt_cv_ar_at_file" >&6; }
  23505. +
  23506. +if test "x$lt_cv_ar_at_file" = xno; then
  23507. + archiver_list_spec=
  23508. +else
  23509. + archiver_list_spec=$lt_cv_ar_at_file
  23510. +fi
  23511. +
  23512. +
  23513. +
  23514. +
  23515. +
  23516. +
  23517. +
  23518. +if test -n "$ac_tool_prefix"; then
  23519. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  23520. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  23521. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  23522. +$as_echo_n "checking for $ac_word... " >&6; }
  23523. +if ${ac_cv_prog_STRIP+:} false; then :
  23524. + $as_echo_n "(cached) " >&6
  23525. +else
  23526. + if test -n "$STRIP"; then
  23527. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  23528. +else
  23529. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23530. +for as_dir in $PATH
  23531. +do
  23532. + IFS=$as_save_IFS
  23533. + test -z "$as_dir" && as_dir=.
  23534. + for ac_exec_ext in '' $ac_executable_extensions; do
  23535. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  23536. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  23537. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  23538. + break 2
  23539. + fi
  23540. +done
  23541. + done
  23542. +IFS=$as_save_IFS
  23543. +
  23544. +fi
  23545. +fi
  23546. +STRIP=$ac_cv_prog_STRIP
  23547. +if test -n "$STRIP"; then
  23548. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  23549. +$as_echo "$STRIP" >&6; }
  23550. +else
  23551. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23552. +$as_echo "no" >&6; }
  23553. +fi
  23554. +
  23555. +
  23556. +fi
  23557. +if test -z "$ac_cv_prog_STRIP"; then
  23558. + ac_ct_STRIP=$STRIP
  23559. + # Extract the first word of "strip", so it can be a program name with args.
  23560. +set dummy strip; ac_word=$2
  23561. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  23562. +$as_echo_n "checking for $ac_word... " >&6; }
  23563. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  23564. + $as_echo_n "(cached) " >&6
  23565. +else
  23566. + if test -n "$ac_ct_STRIP"; then
  23567. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  23568. +else
  23569. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23570. +for as_dir in $PATH
  23571. +do
  23572. + IFS=$as_save_IFS
  23573. + test -z "$as_dir" && as_dir=.
  23574. + for ac_exec_ext in '' $ac_executable_extensions; do
  23575. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  23576. + ac_cv_prog_ac_ct_STRIP="strip"
  23577. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  23578. + break 2
  23579. + fi
  23580. +done
  23581. + done
  23582. +IFS=$as_save_IFS
  23583. +
  23584. +fi
  23585. +fi
  23586. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  23587. +if test -n "$ac_ct_STRIP"; then
  23588. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  23589. +$as_echo "$ac_ct_STRIP" >&6; }
  23590. +else
  23591. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23592. +$as_echo "no" >&6; }
  23593. +fi
  23594. +
  23595. + if test "x$ac_ct_STRIP" = x; then
  23596. + STRIP=":"
  23597. + else
  23598. + case $cross_compiling:$ac_tool_warned in
  23599. +yes:)
  23600. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  23601. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  23602. +ac_tool_warned=yes ;;
  23603. +esac
  23604. + STRIP=$ac_ct_STRIP
  23605. + fi
  23606. +else
  23607. + STRIP="$ac_cv_prog_STRIP"
  23608. +fi
  23609. +
  23610. +test -z "$STRIP" && STRIP=:
  23611. +
  23612. +
  23613. +
  23614. +
  23615. +
  23616. +
  23617. +if test -n "$ac_tool_prefix"; then
  23618. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  23619. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  23620. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  23621. +$as_echo_n "checking for $ac_word... " >&6; }
  23622. +if ${ac_cv_prog_RANLIB+:} false; then :
  23623. + $as_echo_n "(cached) " >&6
  23624. +else
  23625. + if test -n "$RANLIB"; then
  23626. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  23627. +else
  23628. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23629. +for as_dir in $PATH
  23630. +do
  23631. + IFS=$as_save_IFS
  23632. + test -z "$as_dir" && as_dir=.
  23633. + for ac_exec_ext in '' $ac_executable_extensions; do
  23634. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  23635. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  23636. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  23637. + break 2
  23638. + fi
  23639. +done
  23640. + done
  23641. +IFS=$as_save_IFS
  23642. +
  23643. +fi
  23644. +fi
  23645. +RANLIB=$ac_cv_prog_RANLIB
  23646. +if test -n "$RANLIB"; then
  23647. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  23648. +$as_echo "$RANLIB" >&6; }
  23649. +else
  23650. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23651. +$as_echo "no" >&6; }
  23652. +fi
  23653. +
  23654. +
  23655. +fi
  23656. +if test -z "$ac_cv_prog_RANLIB"; then
  23657. + ac_ct_RANLIB=$RANLIB
  23658. + # Extract the first word of "ranlib", so it can be a program name with args.
  23659. +set dummy ranlib; ac_word=$2
  23660. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  23661. +$as_echo_n "checking for $ac_word... " >&6; }
  23662. +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  23663. + $as_echo_n "(cached) " >&6
  23664. +else
  23665. + if test -n "$ac_ct_RANLIB"; then
  23666. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  23667. +else
  23668. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23669. +for as_dir in $PATH
  23670. +do
  23671. + IFS=$as_save_IFS
  23672. + test -z "$as_dir" && as_dir=.
  23673. + for ac_exec_ext in '' $ac_executable_extensions; do
  23674. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  23675. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  23676. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  23677. + break 2
  23678. + fi
  23679. +done
  23680. + done
  23681. +IFS=$as_save_IFS
  23682. +
  23683. +fi
  23684. +fi
  23685. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  23686. +if test -n "$ac_ct_RANLIB"; then
  23687. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  23688. +$as_echo "$ac_ct_RANLIB" >&6; }
  23689. +else
  23690. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23691. +$as_echo "no" >&6; }
  23692. +fi
  23693. +
  23694. + if test "x$ac_ct_RANLIB" = x; then
  23695. + RANLIB=":"
  23696. + else
  23697. + case $cross_compiling:$ac_tool_warned in
  23698. +yes:)
  23699. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  23700. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  23701. +ac_tool_warned=yes ;;
  23702. +esac
  23703. + RANLIB=$ac_ct_RANLIB
  23704. + fi
  23705. +else
  23706. + RANLIB="$ac_cv_prog_RANLIB"
  23707. +fi
  23708. +
  23709. +test -z "$RANLIB" && RANLIB=:
  23710. +
  23711. +
  23712. +
  23713. +
  23714. +
  23715. +
  23716. +# Determine commands to create old-style static archives.
  23717. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  23718. +old_postinstall_cmds='chmod 644 $oldlib'
  23719. +old_postuninstall_cmds=
  23720. +
  23721. +if test -n "$RANLIB"; then
  23722. + case $host_os in
  23723. + openbsd*)
  23724. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  23725. + ;;
  23726. + *)
  23727. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  23728. + ;;
  23729. + esac
  23730. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  23731. +fi
  23732. +
  23733. +case $host_os in
  23734. + darwin*)
  23735. + lock_old_archive_extraction=yes ;;
  23736. + *)
  23737. + lock_old_archive_extraction=no ;;
  23738. +esac
  23739. +
  23740. +
  23741. +
  23742. +
  23743. +
  23744. +
  23745. +
  23746. +
  23747. +
  23748. +
  23749. +
  23750. +
  23751. +
  23752. +
  23753. +
  23754. +
  23755. +
  23756. +
  23757. +
  23758. +
  23759. +
  23760. +
  23761. +
  23762. +
  23763. +
  23764. +
  23765. +
  23766. +
  23767. +
  23768. +
  23769. +
  23770. +
  23771. +
  23772. +
  23773. +
  23774. +
  23775. +
  23776. +
  23777. +
  23778. +# If no C compiler was specified, use CC.
  23779. +LTCC=${LTCC-"$CC"}
  23780. +
  23781. +# If no C compiler flags were specified, use CFLAGS.
  23782. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  23783. +
  23784. +# Allow CC to be a program name with arguments.
  23785. +compiler=$CC
  23786. +
  23787. +
  23788. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  23789. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  23790. +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  23791. +if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  23792. + $as_echo_n "(cached) " >&6
  23793. +else
  23794. +
  23795. +# These are sane defaults that work on at least a few old systems.
  23796. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  23797. +
  23798. +# Character class describing NM global symbol codes.
  23799. +symcode='[BCDEGRST]'
  23800. +
  23801. +# Regexp to match symbols that can be accessed directly from C.
  23802. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  23803. +
  23804. +# Define system-specific variables.
  23805. +case $host_os in
  23806. +aix*)
  23807. + symcode='[BCDT]'
  23808. + ;;
  23809. +cygwin* | mingw* | pw32* | cegcc*)
  23810. + symcode='[ABCDGISTW]'
  23811. + ;;
  23812. +hpux*)
  23813. + if test "$host_cpu" = ia64; then
  23814. + symcode='[ABCDEGRST]'
  23815. + fi
  23816. + ;;
  23817. +irix* | nonstopux*)
  23818. + symcode='[BCDEGRST]'
  23819. + ;;
  23820. +osf*)
  23821. + symcode='[BCDEGQRST]'
  23822. + ;;
  23823. +solaris*)
  23824. + symcode='[BDRT]'
  23825. + ;;
  23826. +sco3.2v5*)
  23827. + symcode='[DT]'
  23828. + ;;
  23829. +sysv4.2uw2*)
  23830. + symcode='[DT]'
  23831. + ;;
  23832. +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  23833. + symcode='[ABDT]'
  23834. + ;;
  23835. +sysv4)
  23836. + symcode='[DFNSTU]'
  23837. + ;;
  23838. +esac
  23839. +
  23840. +# If we're using GNU nm, then use its standard symbol codes.
  23841. +case `$NM -V 2>&1` in
  23842. +*GNU* | *'with BFD'*)
  23843. + symcode='[ABCDGIRSTW]' ;;
  23844. +esac
  23845. +
  23846. +# Transform an extracted symbol line into a proper C declaration.
  23847. +# Some systems (esp. on ia64) link data and code symbols differently,
  23848. +# so use this general approach.
  23849. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  23850. +
  23851. +# Transform an extracted symbol line into symbol name and symbol address
  23852. +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  23853. +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'"
  23854. +
  23855. +# Handle CRLF in mingw tool chain
  23856. +opt_cr=
  23857. +case $build_os in
  23858. +mingw*)
  23859. + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  23860. + ;;
  23861. +esac
  23862. +
  23863. +# Try without a prefix underscore, then with it.
  23864. +for ac_symprfx in "" "_"; do
  23865. +
  23866. + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  23867. + symxfrm="\\1 $ac_symprfx\\2 \\2"
  23868. +
  23869. + # Write the raw and C identifiers.
  23870. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  23871. + # Fake it for dumpbin and say T for any non-static function
  23872. + # and D for any global variable.
  23873. + # Also find C++ and __fastcall symbols from MSVC++,
  23874. + # which start with @ or ?.
  23875. + lt_cv_sys_global_symbol_pipe="$AWK '"\
  23876. +" {last_section=section; section=\$ 3};"\
  23877. +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  23878. +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  23879. +" \$ 0!~/External *\|/{next};"\
  23880. +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  23881. +" {if(hide[section]) next};"\
  23882. +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  23883. +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  23884. +" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  23885. +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  23886. +" ' prfx=^$ac_symprfx"
  23887. + else
  23888. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  23889. + fi
  23890. + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  23891. +
  23892. + # Check to see that the pipe works correctly.
  23893. + pipe_works=no
  23894. +
  23895. + rm -f conftest*
  23896. + cat > conftest.$ac_ext <<_LT_EOF
  23897. +#ifdef __cplusplus
  23898. +extern "C" {
  23899. +#endif
  23900. +char nm_test_var;
  23901. +void nm_test_func(void);
  23902. +void nm_test_func(void){}
  23903. +#ifdef __cplusplus
  23904. +}
  23905. +#endif
  23906. +int main(){nm_test_var='a';nm_test_func();return(0);}
  23907. +_LT_EOF
  23908. +
  23909. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  23910. + (eval $ac_compile) 2>&5
  23911. + ac_status=$?
  23912. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  23913. + test $ac_status = 0; }; then
  23914. + # Now try to grab the symbols.
  23915. + nlist=conftest.nm
  23916. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  23917. + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  23918. + ac_status=$?
  23919. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  23920. + test $ac_status = 0; } && test -s "$nlist"; then
  23921. + # Try sorting and uniquifying the output.
  23922. + if sort "$nlist" | uniq > "$nlist"T; then
  23923. + mv -f "$nlist"T "$nlist"
  23924. + else
  23925. + rm -f "$nlist"T
  23926. + fi
  23927. +
  23928. + # Make sure that we snagged all the symbols we need.
  23929. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  23930. + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  23931. + cat <<_LT_EOF > conftest.$ac_ext
  23932. +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  23933. +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
  23934. +/* DATA imports from DLLs on WIN32 con't be const, because runtime
  23935. + relocations are performed -- see ld's documentation on pseudo-relocs. */
  23936. +# define LT@&t@_DLSYM_CONST
  23937. +#elif defined(__osf__)
  23938. +/* This system does not cope well with relocations in const data. */
  23939. +# define LT@&t@_DLSYM_CONST
  23940. +#else
  23941. +# define LT@&t@_DLSYM_CONST const
  23942. +#endif
  23943. +
  23944. +#ifdef __cplusplus
  23945. +extern "C" {
  23946. +#endif
  23947. +
  23948. +_LT_EOF
  23949. + # Now generate the symbol file.
  23950. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  23951. +
  23952. + cat <<_LT_EOF >> conftest.$ac_ext
  23953. +
  23954. +/* The mapping between symbol names and symbols. */
  23955. +LT@&t@_DLSYM_CONST struct {
  23956. + const char *name;
  23957. + void *address;
  23958. +}
  23959. +lt__PROGRAM__LTX_preloaded_symbols[] =
  23960. +{
  23961. + { "@PROGRAM@", (void *) 0 },
  23962. +_LT_EOF
  23963. + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  23964. + cat <<\_LT_EOF >> conftest.$ac_ext
  23965. + {0, (void *) 0}
  23966. +};
  23967. +
  23968. +/* This works around a problem in FreeBSD linker */
  23969. +#ifdef FREEBSD_WORKAROUND
  23970. +static const void *lt_preloaded_setup() {
  23971. + return lt__PROGRAM__LTX_preloaded_symbols;
  23972. +}
  23973. +#endif
  23974. +
  23975. +#ifdef __cplusplus
  23976. +}
  23977. +#endif
  23978. +_LT_EOF
  23979. + # Now try linking the two files.
  23980. + mv conftest.$ac_objext conftstm.$ac_objext
  23981. + lt_globsym_save_LIBS=$LIBS
  23982. + lt_globsym_save_CFLAGS=$CFLAGS
  23983. + LIBS="conftstm.$ac_objext"
  23984. + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  23985. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  23986. + (eval $ac_link) 2>&5
  23987. + ac_status=$?
  23988. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  23989. + test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  23990. + pipe_works=yes
  23991. + fi
  23992. + LIBS=$lt_globsym_save_LIBS
  23993. + CFLAGS=$lt_globsym_save_CFLAGS
  23994. + else
  23995. + echo "cannot find nm_test_func in $nlist" >&5
  23996. + fi
  23997. + else
  23998. + echo "cannot find nm_test_var in $nlist" >&5
  23999. + fi
  24000. + else
  24001. + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  24002. + fi
  24003. + else
  24004. + echo "$progname: failed program was:" >&5
  24005. + cat conftest.$ac_ext >&5
  24006. + fi
  24007. + rm -rf conftest* conftst*
  24008. +
  24009. + # Do not use the global_symbol_pipe unless it works.
  24010. + if test "$pipe_works" = yes; then
  24011. + break
  24012. + else
  24013. + lt_cv_sys_global_symbol_pipe=
  24014. + fi
  24015. +done
  24016. +
  24017. +fi
  24018. +
  24019. +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  24020. + lt_cv_sys_global_symbol_to_cdecl=
  24021. +fi
  24022. +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  24023. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  24024. +$as_echo "failed" >&6; }
  24025. +else
  24026. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  24027. +$as_echo "ok" >&6; }
  24028. +fi
  24029. +
  24030. +# Response file support.
  24031. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  24032. + nm_file_list_spec='@'
  24033. +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  24034. + nm_file_list_spec='@'
  24035. +fi
  24036. +
  24037. +
  24038. +
  24039. +
  24040. +
  24041. +
  24042. +
  24043. +
  24044. +
  24045. +
  24046. +
  24047. +
  24048. +
  24049. +
  24050. +
  24051. +
  24052. +
  24053. +
  24054. +
  24055. +
  24056. +
  24057. +
  24058. +
  24059. +
  24060. +
  24061. +
  24062. +
  24063. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  24064. +$as_echo_n "checking for sysroot... " >&6; }
  24065. +
  24066. +@%:@ Check whether --with-sysroot was given.
  24067. +if test "${with_sysroot+set}" = set; then :
  24068. + withval=$with_sysroot;
  24069. +else
  24070. + with_sysroot=no
  24071. +fi
  24072. +
  24073. +
  24074. +lt_sysroot=
  24075. +case ${with_sysroot} in #(
  24076. + yes)
  24077. + if test "$GCC" = yes; then
  24078. + lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  24079. + fi
  24080. + ;; #(
  24081. + /*)
  24082. + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  24083. + ;; #(
  24084. + no|'')
  24085. + ;; #(
  24086. + *)
  24087. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
  24088. +$as_echo "${with_sysroot}" >&6; }
  24089. + as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  24090. + ;;
  24091. +esac
  24092. +
  24093. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  24094. +$as_echo "${lt_sysroot:-no}" >&6; }
  24095. +
  24096. +
  24097. +
  24098. +
  24099. +
  24100. +@%:@ Check whether --enable-libtool-lock was given.
  24101. +if test "${enable_libtool_lock+set}" = set; then :
  24102. + enableval=$enable_libtool_lock;
  24103. +fi
  24104. +
  24105. +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  24106. +
  24107. +# Some flags need to be propagated to the compiler or linker for good
  24108. +# libtool support.
  24109. +case $host in
  24110. +ia64-*-hpux*)
  24111. + # Find out which ABI we are using.
  24112. + echo 'int i;' > conftest.$ac_ext
  24113. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  24114. + (eval $ac_compile) 2>&5
  24115. + ac_status=$?
  24116. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  24117. + test $ac_status = 0; }; then
  24118. + case `/usr/bin/file conftest.$ac_objext` in
  24119. + *ELF-32*)
  24120. + HPUX_IA64_MODE="32"
  24121. + ;;
  24122. + *ELF-64*)
  24123. + HPUX_IA64_MODE="64"
  24124. + ;;
  24125. + esac
  24126. + fi
  24127. + rm -rf conftest*
  24128. + ;;
  24129. +*-*-irix6*)
  24130. + # Find out which ABI we are using.
  24131. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  24132. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  24133. + (eval $ac_compile) 2>&5
  24134. + ac_status=$?
  24135. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  24136. + test $ac_status = 0; }; then
  24137. + if test "$lt_cv_prog_gnu_ld" = yes; then
  24138. + case `/usr/bin/file conftest.$ac_objext` in
  24139. + *32-bit*)
  24140. + LD="${LD-ld} -melf32bsmip"
  24141. + ;;
  24142. + *N32*)
  24143. + LD="${LD-ld} -melf32bmipn32"
  24144. + ;;
  24145. + *64-bit*)
  24146. + LD="${LD-ld} -melf64bmip"
  24147. + ;;
  24148. + esac
  24149. + else
  24150. + case `/usr/bin/file conftest.$ac_objext` in
  24151. + *32-bit*)
  24152. + LD="${LD-ld} -32"
  24153. + ;;
  24154. + *N32*)
  24155. + LD="${LD-ld} -n32"
  24156. + ;;
  24157. + *64-bit*)
  24158. + LD="${LD-ld} -64"
  24159. + ;;
  24160. + esac
  24161. + fi
  24162. + fi
  24163. + rm -rf conftest*
  24164. + ;;
  24165. +
  24166. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  24167. +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  24168. + # Find out which ABI we are using.
  24169. + echo 'int i;' > conftest.$ac_ext
  24170. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  24171. + (eval $ac_compile) 2>&5
  24172. + ac_status=$?
  24173. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  24174. + test $ac_status = 0; }; then
  24175. + case `/usr/bin/file conftest.o` in
  24176. + *32-bit*)
  24177. + case $host in
  24178. + x86_64-*kfreebsd*-gnu)
  24179. + LD="${LD-ld} -m elf_i386_fbsd"
  24180. + ;;
  24181. + x86_64-*linux*)
  24182. + LD="${LD-ld} -m elf_i386"
  24183. + ;;
  24184. + ppc64-*linux*|powerpc64-*linux*)
  24185. + LD="${LD-ld} -m elf32ppclinux"
  24186. + ;;
  24187. + s390x-*linux*)
  24188. + LD="${LD-ld} -m elf_s390"
  24189. + ;;
  24190. + sparc64-*linux*)
  24191. + LD="${LD-ld} -m elf32_sparc"
  24192. + ;;
  24193. + esac
  24194. + ;;
  24195. + *64-bit*)
  24196. + case $host in
  24197. + x86_64-*kfreebsd*-gnu)
  24198. + LD="${LD-ld} -m elf_x86_64_fbsd"
  24199. + ;;
  24200. + x86_64-*linux*)
  24201. + LD="${LD-ld} -m elf_x86_64"
  24202. + ;;
  24203. + ppc*-*linux*|powerpc*-*linux*)
  24204. + LD="${LD-ld} -m elf64ppc"
  24205. + ;;
  24206. + s390*-*linux*|s390*-*tpf*)
  24207. + LD="${LD-ld} -m elf64_s390"
  24208. + ;;
  24209. + sparc*-*linux*)
  24210. + LD="${LD-ld} -m elf64_sparc"
  24211. + ;;
  24212. + esac
  24213. + ;;
  24214. + esac
  24215. + fi
  24216. + rm -rf conftest*
  24217. + ;;
  24218. +
  24219. +*-*-sco3.2v5*)
  24220. + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  24221. + SAVE_CFLAGS="$CFLAGS"
  24222. + CFLAGS="$CFLAGS -belf"
  24223. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  24224. +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  24225. +if ${lt_cv_cc_needs_belf+:} false; then :
  24226. + $as_echo_n "(cached) " >&6
  24227. +else
  24228. + ac_ext=c
  24229. +ac_cpp='$CPP $CPPFLAGS'
  24230. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  24231. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  24232. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  24233. +
  24234. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24235. +/* end confdefs.h. */
  24236. +
  24237. +int
  24238. +main ()
  24239. +{
  24240. +
  24241. + ;
  24242. + return 0;
  24243. +}
  24244. +_ACEOF
  24245. +if ac_fn_c_try_link "$LINENO"; then :
  24246. + lt_cv_cc_needs_belf=yes
  24247. +else
  24248. + lt_cv_cc_needs_belf=no
  24249. +fi
  24250. +rm -f core conftest.err conftest.$ac_objext \
  24251. + conftest$ac_exeext conftest.$ac_ext
  24252. + ac_ext=c
  24253. +ac_cpp='$CPP $CPPFLAGS'
  24254. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  24255. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  24256. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  24257. +
  24258. +fi
  24259. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  24260. +$as_echo "$lt_cv_cc_needs_belf" >&6; }
  24261. + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  24262. + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  24263. + CFLAGS="$SAVE_CFLAGS"
  24264. + fi
  24265. + ;;
  24266. +*-*solaris*)
  24267. + # Find out which ABI we are using.
  24268. + echo 'int i;' > conftest.$ac_ext
  24269. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  24270. + (eval $ac_compile) 2>&5
  24271. + ac_status=$?
  24272. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  24273. + test $ac_status = 0; }; then
  24274. + case `/usr/bin/file conftest.o` in
  24275. + *64-bit*)
  24276. + case $lt_cv_prog_gnu_ld in
  24277. + yes*)
  24278. + case $host in
  24279. + i?86-*-solaris*)
  24280. + LD="${LD-ld} -m elf_x86_64"
  24281. + ;;
  24282. + sparc*-*-solaris*)
  24283. + LD="${LD-ld} -m elf64_sparc"
  24284. + ;;
  24285. + esac
  24286. + # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
  24287. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  24288. + LD="${LD-ld}_sol2"
  24289. + fi
  24290. + ;;
  24291. + *)
  24292. + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  24293. + LD="${LD-ld} -64"
  24294. + fi
  24295. + ;;
  24296. + esac
  24297. + ;;
  24298. + esac
  24299. + fi
  24300. + rm -rf conftest*
  24301. + ;;
  24302. +esac
  24303. +
  24304. +need_locks="$enable_libtool_lock"
  24305. +
  24306. +if test -n "$ac_tool_prefix"; then
  24307. + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  24308. +set dummy ${ac_tool_prefix}mt; ac_word=$2
  24309. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  24310. +$as_echo_n "checking for $ac_word... " >&6; }
  24311. +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  24312. + $as_echo_n "(cached) " >&6
  24313. +else
  24314. + if test -n "$MANIFEST_TOOL"; then
  24315. + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  24316. +else
  24317. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  24318. +for as_dir in $PATH
  24319. +do
  24320. + IFS=$as_save_IFS
  24321. + test -z "$as_dir" && as_dir=.
  24322. + for ac_exec_ext in '' $ac_executable_extensions; do
  24323. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  24324. + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  24325. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  24326. + break 2
  24327. + fi
  24328. +done
  24329. + done
  24330. +IFS=$as_save_IFS
  24331. +
  24332. +fi
  24333. +fi
  24334. +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  24335. +if test -n "$MANIFEST_TOOL"; then
  24336. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  24337. +$as_echo "$MANIFEST_TOOL" >&6; }
  24338. +else
  24339. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  24340. +$as_echo "no" >&6; }
  24341. +fi
  24342. +
  24343. +
  24344. +fi
  24345. +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  24346. + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  24347. + # Extract the first word of "mt", so it can be a program name with args.
  24348. +set dummy mt; ac_word=$2
  24349. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  24350. +$as_echo_n "checking for $ac_word... " >&6; }
  24351. +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  24352. + $as_echo_n "(cached) " >&6
  24353. +else
  24354. + if test -n "$ac_ct_MANIFEST_TOOL"; then
  24355. + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  24356. +else
  24357. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  24358. +for as_dir in $PATH
  24359. +do
  24360. + IFS=$as_save_IFS
  24361. + test -z "$as_dir" && as_dir=.
  24362. + for ac_exec_ext in '' $ac_executable_extensions; do
  24363. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  24364. + ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  24365. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  24366. + break 2
  24367. + fi
  24368. +done
  24369. + done
  24370. +IFS=$as_save_IFS
  24371. +
  24372. +fi
  24373. +fi
  24374. +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  24375. +if test -n "$ac_ct_MANIFEST_TOOL"; then
  24376. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  24377. +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  24378. +else
  24379. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  24380. +$as_echo "no" >&6; }
  24381. +fi
  24382. +
  24383. + if test "x$ac_ct_MANIFEST_TOOL" = x; then
  24384. + MANIFEST_TOOL=":"
  24385. + else
  24386. + case $cross_compiling:$ac_tool_warned in
  24387. +yes:)
  24388. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  24389. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  24390. +ac_tool_warned=yes ;;
  24391. +esac
  24392. + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  24393. + fi
  24394. +else
  24395. + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  24396. +fi
  24397. +
  24398. +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  24399. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  24400. +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  24401. +if ${lt_cv_path_mainfest_tool+:} false; then :
  24402. + $as_echo_n "(cached) " >&6
  24403. +else
  24404. + lt_cv_path_mainfest_tool=no
  24405. + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  24406. + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  24407. + cat conftest.err >&5
  24408. + if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  24409. + lt_cv_path_mainfest_tool=yes
  24410. + fi
  24411. + rm -f conftest*
  24412. +fi
  24413. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  24414. +$as_echo "$lt_cv_path_mainfest_tool" >&6; }
  24415. +if test "x$lt_cv_path_mainfest_tool" != xyes; then
  24416. + MANIFEST_TOOL=:
  24417. +fi
  24418. +
  24419. +
  24420. +
  24421. +
  24422. +
  24423. +
  24424. + case $host_os in
  24425. + rhapsody* | darwin*)
  24426. + if test -n "$ac_tool_prefix"; then
  24427. + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  24428. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  24429. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  24430. +$as_echo_n "checking for $ac_word... " >&6; }
  24431. +if ${ac_cv_prog_DSYMUTIL+:} false; then :
  24432. + $as_echo_n "(cached) " >&6
  24433. +else
  24434. + if test -n "$DSYMUTIL"; then
  24435. + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  24436. +else
  24437. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  24438. +for as_dir in $PATH
  24439. +do
  24440. + IFS=$as_save_IFS
  24441. + test -z "$as_dir" && as_dir=.
  24442. + for ac_exec_ext in '' $ac_executable_extensions; do
  24443. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  24444. + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  24445. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  24446. + break 2
  24447. + fi
  24448. +done
  24449. + done
  24450. +IFS=$as_save_IFS
  24451. +
  24452. +fi
  24453. +fi
  24454. +DSYMUTIL=$ac_cv_prog_DSYMUTIL
  24455. +if test -n "$DSYMUTIL"; then
  24456. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  24457. +$as_echo "$DSYMUTIL" >&6; }
  24458. +else
  24459. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  24460. +$as_echo "no" >&6; }
  24461. +fi
  24462. +
  24463. +
  24464. +fi
  24465. +if test -z "$ac_cv_prog_DSYMUTIL"; then
  24466. + ac_ct_DSYMUTIL=$DSYMUTIL
  24467. + # Extract the first word of "dsymutil", so it can be a program name with args.
  24468. +set dummy dsymutil; ac_word=$2
  24469. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  24470. +$as_echo_n "checking for $ac_word... " >&6; }
  24471. +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  24472. + $as_echo_n "(cached) " >&6
  24473. +else
  24474. + if test -n "$ac_ct_DSYMUTIL"; then
  24475. + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  24476. +else
  24477. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  24478. +for as_dir in $PATH
  24479. +do
  24480. + IFS=$as_save_IFS
  24481. + test -z "$as_dir" && as_dir=.
  24482. + for ac_exec_ext in '' $ac_executable_extensions; do
  24483. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  24484. + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  24485. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  24486. + break 2
  24487. + fi
  24488. +done
  24489. + done
  24490. +IFS=$as_save_IFS
  24491. +
  24492. +fi
  24493. +fi
  24494. +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  24495. +if test -n "$ac_ct_DSYMUTIL"; then
  24496. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  24497. +$as_echo "$ac_ct_DSYMUTIL" >&6; }
  24498. +else
  24499. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  24500. +$as_echo "no" >&6; }
  24501. +fi
  24502. +
  24503. + if test "x$ac_ct_DSYMUTIL" = x; then
  24504. + DSYMUTIL=":"
  24505. + else
  24506. + case $cross_compiling:$ac_tool_warned in
  24507. +yes:)
  24508. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  24509. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  24510. +ac_tool_warned=yes ;;
  24511. +esac
  24512. + DSYMUTIL=$ac_ct_DSYMUTIL
  24513. + fi
  24514. +else
  24515. + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  24516. +fi
  24517. +
  24518. + if test -n "$ac_tool_prefix"; then
  24519. + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  24520. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  24521. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  24522. +$as_echo_n "checking for $ac_word... " >&6; }
  24523. +if ${ac_cv_prog_NMEDIT+:} false; then :
  24524. + $as_echo_n "(cached) " >&6
  24525. +else
  24526. + if test -n "$NMEDIT"; then
  24527. + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  24528. +else
  24529. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  24530. +for as_dir in $PATH
  24531. +do
  24532. + IFS=$as_save_IFS
  24533. + test -z "$as_dir" && as_dir=.
  24534. + for ac_exec_ext in '' $ac_executable_extensions; do
  24535. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  24536. + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  24537. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  24538. + break 2
  24539. + fi
  24540. +done
  24541. + done
  24542. +IFS=$as_save_IFS
  24543. +
  24544. +fi
  24545. +fi
  24546. +NMEDIT=$ac_cv_prog_NMEDIT
  24547. +if test -n "$NMEDIT"; then
  24548. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  24549. +$as_echo "$NMEDIT" >&6; }
  24550. +else
  24551. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  24552. +$as_echo "no" >&6; }
  24553. +fi
  24554. +
  24555. +
  24556. +fi
  24557. +if test -z "$ac_cv_prog_NMEDIT"; then
  24558. + ac_ct_NMEDIT=$NMEDIT
  24559. + # Extract the first word of "nmedit", so it can be a program name with args.
  24560. +set dummy nmedit; ac_word=$2
  24561. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  24562. +$as_echo_n "checking for $ac_word... " >&6; }
  24563. +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  24564. + $as_echo_n "(cached) " >&6
  24565. +else
  24566. + if test -n "$ac_ct_NMEDIT"; then
  24567. + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  24568. +else
  24569. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  24570. +for as_dir in $PATH
  24571. +do
  24572. + IFS=$as_save_IFS
  24573. + test -z "$as_dir" && as_dir=.
  24574. + for ac_exec_ext in '' $ac_executable_extensions; do
  24575. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  24576. + ac_cv_prog_ac_ct_NMEDIT="nmedit"
  24577. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  24578. + break 2
  24579. + fi
  24580. +done
  24581. + done
  24582. +IFS=$as_save_IFS
  24583. +
  24584. +fi
  24585. +fi
  24586. +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  24587. +if test -n "$ac_ct_NMEDIT"; then
  24588. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  24589. +$as_echo "$ac_ct_NMEDIT" >&6; }
  24590. +else
  24591. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  24592. +$as_echo "no" >&6; }
  24593. +fi
  24594. +
  24595. + if test "x$ac_ct_NMEDIT" = x; then
  24596. + NMEDIT=":"
  24597. + else
  24598. + case $cross_compiling:$ac_tool_warned in
  24599. +yes:)
  24600. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  24601. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  24602. +ac_tool_warned=yes ;;
  24603. +esac
  24604. + NMEDIT=$ac_ct_NMEDIT
  24605. + fi
  24606. +else
  24607. + NMEDIT="$ac_cv_prog_NMEDIT"
  24608. +fi
  24609. +
  24610. + if test -n "$ac_tool_prefix"; then
  24611. + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  24612. +set dummy ${ac_tool_prefix}lipo; ac_word=$2
  24613. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  24614. +$as_echo_n "checking for $ac_word... " >&6; }
  24615. +if ${ac_cv_prog_LIPO+:} false; then :
  24616. + $as_echo_n "(cached) " >&6
  24617. +else
  24618. + if test -n "$LIPO"; then
  24619. + ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  24620. +else
  24621. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  24622. +for as_dir in $PATH
  24623. +do
  24624. + IFS=$as_save_IFS
  24625. + test -z "$as_dir" && as_dir=.
  24626. + for ac_exec_ext in '' $ac_executable_extensions; do
  24627. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  24628. + ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  24629. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  24630. + break 2
  24631. + fi
  24632. +done
  24633. + done
  24634. +IFS=$as_save_IFS
  24635. +
  24636. +fi
  24637. +fi
  24638. +LIPO=$ac_cv_prog_LIPO
  24639. +if test -n "$LIPO"; then
  24640. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  24641. +$as_echo "$LIPO" >&6; }
  24642. +else
  24643. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  24644. +$as_echo "no" >&6; }
  24645. +fi
  24646. +
  24647. +
  24648. +fi
  24649. +if test -z "$ac_cv_prog_LIPO"; then
  24650. + ac_ct_LIPO=$LIPO
  24651. + # Extract the first word of "lipo", so it can be a program name with args.
  24652. +set dummy lipo; ac_word=$2
  24653. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  24654. +$as_echo_n "checking for $ac_word... " >&6; }
  24655. +if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  24656. + $as_echo_n "(cached) " >&6
  24657. +else
  24658. + if test -n "$ac_ct_LIPO"; then
  24659. + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  24660. +else
  24661. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  24662. +for as_dir in $PATH
  24663. +do
  24664. + IFS=$as_save_IFS
  24665. + test -z "$as_dir" && as_dir=.
  24666. + for ac_exec_ext in '' $ac_executable_extensions; do
  24667. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  24668. + ac_cv_prog_ac_ct_LIPO="lipo"
  24669. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  24670. + break 2
  24671. + fi
  24672. +done
  24673. + done
  24674. +IFS=$as_save_IFS
  24675. +
  24676. +fi
  24677. +fi
  24678. +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  24679. +if test -n "$ac_ct_LIPO"; then
  24680. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  24681. +$as_echo "$ac_ct_LIPO" >&6; }
  24682. +else
  24683. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  24684. +$as_echo "no" >&6; }
  24685. +fi
  24686. +
  24687. + if test "x$ac_ct_LIPO" = x; then
  24688. + LIPO=":"
  24689. + else
  24690. + case $cross_compiling:$ac_tool_warned in
  24691. +yes:)
  24692. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  24693. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  24694. +ac_tool_warned=yes ;;
  24695. +esac
  24696. + LIPO=$ac_ct_LIPO
  24697. + fi
  24698. +else
  24699. + LIPO="$ac_cv_prog_LIPO"
  24700. +fi
  24701. +
  24702. + if test -n "$ac_tool_prefix"; then
  24703. + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  24704. +set dummy ${ac_tool_prefix}otool; ac_word=$2
  24705. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  24706. +$as_echo_n "checking for $ac_word... " >&6; }
  24707. +if ${ac_cv_prog_OTOOL+:} false; then :
  24708. + $as_echo_n "(cached) " >&6
  24709. +else
  24710. + if test -n "$OTOOL"; then
  24711. + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  24712. +else
  24713. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  24714. +for as_dir in $PATH
  24715. +do
  24716. + IFS=$as_save_IFS
  24717. + test -z "$as_dir" && as_dir=.
  24718. + for ac_exec_ext in '' $ac_executable_extensions; do
  24719. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  24720. + ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  24721. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  24722. + break 2
  24723. + fi
  24724. +done
  24725. + done
  24726. +IFS=$as_save_IFS
  24727. +
  24728. +fi
  24729. +fi
  24730. +OTOOL=$ac_cv_prog_OTOOL
  24731. +if test -n "$OTOOL"; then
  24732. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  24733. +$as_echo "$OTOOL" >&6; }
  24734. +else
  24735. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  24736. +$as_echo "no" >&6; }
  24737. +fi
  24738. +
  24739. +
  24740. +fi
  24741. +if test -z "$ac_cv_prog_OTOOL"; then
  24742. + ac_ct_OTOOL=$OTOOL
  24743. + # Extract the first word of "otool", so it can be a program name with args.
  24744. +set dummy otool; ac_word=$2
  24745. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  24746. +$as_echo_n "checking for $ac_word... " >&6; }
  24747. +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  24748. + $as_echo_n "(cached) " >&6
  24749. +else
  24750. + if test -n "$ac_ct_OTOOL"; then
  24751. + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  24752. +else
  24753. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  24754. +for as_dir in $PATH
  24755. +do
  24756. + IFS=$as_save_IFS
  24757. + test -z "$as_dir" && as_dir=.
  24758. + for ac_exec_ext in '' $ac_executable_extensions; do
  24759. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  24760. + ac_cv_prog_ac_ct_OTOOL="otool"
  24761. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  24762. + break 2
  24763. + fi
  24764. +done
  24765. + done
  24766. +IFS=$as_save_IFS
  24767. +
  24768. +fi
  24769. +fi
  24770. +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  24771. +if test -n "$ac_ct_OTOOL"; then
  24772. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  24773. +$as_echo "$ac_ct_OTOOL" >&6; }
  24774. +else
  24775. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  24776. +$as_echo "no" >&6; }
  24777. +fi
  24778. +
  24779. + if test "x$ac_ct_OTOOL" = x; then
  24780. + OTOOL=":"
  24781. + else
  24782. + case $cross_compiling:$ac_tool_warned in
  24783. +yes:)
  24784. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  24785. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  24786. +ac_tool_warned=yes ;;
  24787. +esac
  24788. + OTOOL=$ac_ct_OTOOL
  24789. + fi
  24790. +else
  24791. + OTOOL="$ac_cv_prog_OTOOL"
  24792. +fi
  24793. +
  24794. + if test -n "$ac_tool_prefix"; then
  24795. + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  24796. +set dummy ${ac_tool_prefix}otool64; ac_word=$2
  24797. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  24798. +$as_echo_n "checking for $ac_word... " >&6; }
  24799. +if ${ac_cv_prog_OTOOL64+:} false; then :
  24800. + $as_echo_n "(cached) " >&6
  24801. +else
  24802. + if test -n "$OTOOL64"; then
  24803. + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  24804. +else
  24805. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  24806. +for as_dir in $PATH
  24807. +do
  24808. + IFS=$as_save_IFS
  24809. + test -z "$as_dir" && as_dir=.
  24810. + for ac_exec_ext in '' $ac_executable_extensions; do
  24811. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  24812. + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  24813. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  24814. + break 2
  24815. + fi
  24816. +done
  24817. + done
  24818. +IFS=$as_save_IFS
  24819. +
  24820. +fi
  24821. +fi
  24822. +OTOOL64=$ac_cv_prog_OTOOL64
  24823. +if test -n "$OTOOL64"; then
  24824. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  24825. +$as_echo "$OTOOL64" >&6; }
  24826. +else
  24827. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  24828. +$as_echo "no" >&6; }
  24829. +fi
  24830. +
  24831. +
  24832. +fi
  24833. +if test -z "$ac_cv_prog_OTOOL64"; then
  24834. + ac_ct_OTOOL64=$OTOOL64
  24835. + # Extract the first word of "otool64", so it can be a program name with args.
  24836. +set dummy otool64; ac_word=$2
  24837. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  24838. +$as_echo_n "checking for $ac_word... " >&6; }
  24839. +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  24840. + $as_echo_n "(cached) " >&6
  24841. +else
  24842. + if test -n "$ac_ct_OTOOL64"; then
  24843. + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  24844. +else
  24845. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  24846. +for as_dir in $PATH
  24847. +do
  24848. + IFS=$as_save_IFS
  24849. + test -z "$as_dir" && as_dir=.
  24850. + for ac_exec_ext in '' $ac_executable_extensions; do
  24851. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  24852. + ac_cv_prog_ac_ct_OTOOL64="otool64"
  24853. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  24854. + break 2
  24855. + fi
  24856. +done
  24857. + done
  24858. +IFS=$as_save_IFS
  24859. +
  24860. +fi
  24861. +fi
  24862. +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  24863. +if test -n "$ac_ct_OTOOL64"; then
  24864. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  24865. +$as_echo "$ac_ct_OTOOL64" >&6; }
  24866. +else
  24867. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  24868. +$as_echo "no" >&6; }
  24869. +fi
  24870. +
  24871. + if test "x$ac_ct_OTOOL64" = x; then
  24872. + OTOOL64=":"
  24873. + else
  24874. + case $cross_compiling:$ac_tool_warned in
  24875. +yes:)
  24876. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  24877. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  24878. +ac_tool_warned=yes ;;
  24879. +esac
  24880. + OTOOL64=$ac_ct_OTOOL64
  24881. + fi
  24882. +else
  24883. + OTOOL64="$ac_cv_prog_OTOOL64"
  24884. +fi
  24885. +
  24886. +
  24887. +
  24888. +
  24889. +
  24890. +
  24891. +
  24892. +
  24893. +
  24894. +
  24895. +
  24896. +
  24897. +
  24898. +
  24899. +
  24900. +
  24901. +
  24902. +
  24903. +
  24904. +
  24905. +
  24906. +
  24907. +
  24908. +
  24909. +
  24910. +
  24911. +
  24912. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  24913. +$as_echo_n "checking for -single_module linker flag... " >&6; }
  24914. +if ${lt_cv_apple_cc_single_mod+:} false; then :
  24915. + $as_echo_n "(cached) " >&6
  24916. +else
  24917. + lt_cv_apple_cc_single_mod=no
  24918. + if test -z "${LT_MULTI_MODULE}"; then
  24919. + # By default we will add the -single_module flag. You can override
  24920. + # by either setting the environment variable LT_MULTI_MODULE
  24921. + # non-empty at configure time, or by adding -multi_module to the
  24922. + # link flags.
  24923. + rm -rf libconftest.dylib*
  24924. + echo "int foo(void){return 1;}" > conftest.c
  24925. + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  24926. +-dynamiclib -Wl,-single_module conftest.c" >&5
  24927. + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  24928. + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  24929. + _lt_result=$?
  24930. + # If there is a non-empty error log, and "single_module"
  24931. + # appears in it, assume the flag caused a linker warning
  24932. + if test -s conftest.err && $GREP single_module conftest.err; then
  24933. + cat conftest.err >&5
  24934. + # Otherwise, if the output was created with a 0 exit code from
  24935. + # the compiler, it worked.
  24936. + elif test -f libconftest.dylib && test $_lt_result -eq 0; then
  24937. + lt_cv_apple_cc_single_mod=yes
  24938. + else
  24939. + cat conftest.err >&5
  24940. + fi
  24941. + rm -rf libconftest.dylib*
  24942. + rm -f conftest.*
  24943. + fi
  24944. +fi
  24945. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  24946. +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  24947. +
  24948. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  24949. +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  24950. +if ${lt_cv_ld_exported_symbols_list+:} false; then :
  24951. + $as_echo_n "(cached) " >&6
  24952. +else
  24953. + lt_cv_ld_exported_symbols_list=no
  24954. + save_LDFLAGS=$LDFLAGS
  24955. + echo "_main" > conftest.sym
  24956. + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  24957. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24958. +/* end confdefs.h. */
  24959. +
  24960. +int
  24961. +main ()
  24962. +{
  24963. +
  24964. + ;
  24965. + return 0;
  24966. +}
  24967. +_ACEOF
  24968. +if ac_fn_c_try_link "$LINENO"; then :
  24969. + lt_cv_ld_exported_symbols_list=yes
  24970. +else
  24971. + lt_cv_ld_exported_symbols_list=no
  24972. +fi
  24973. +rm -f core conftest.err conftest.$ac_objext \
  24974. + conftest$ac_exeext conftest.$ac_ext
  24975. + LDFLAGS="$save_LDFLAGS"
  24976. +
  24977. +fi
  24978. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  24979. +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  24980. +
  24981. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  24982. +$as_echo_n "checking for -force_load linker flag... " >&6; }
  24983. +if ${lt_cv_ld_force_load+:} false; then :
  24984. + $as_echo_n "(cached) " >&6
  24985. +else
  24986. + lt_cv_ld_force_load=no
  24987. + cat > conftest.c << _LT_EOF
  24988. +int forced_loaded() { return 2;}
  24989. +_LT_EOF
  24990. + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  24991. + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  24992. + echo "$AR cru libconftest.a conftest.o" >&5
  24993. + $AR cru libconftest.a conftest.o 2>&5
  24994. + echo "$RANLIB libconftest.a" >&5
  24995. + $RANLIB libconftest.a 2>&5
  24996. + cat > conftest.c << _LT_EOF
  24997. +int main() { return 0;}
  24998. +_LT_EOF
  24999. + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  25000. + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  25001. + _lt_result=$?
  25002. + if test -s conftest.err && $GREP force_load conftest.err; then
  25003. + cat conftest.err >&5
  25004. + elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
  25005. + lt_cv_ld_force_load=yes
  25006. + else
  25007. + cat conftest.err >&5
  25008. + fi
  25009. + rm -f conftest.err libconftest.a conftest conftest.c
  25010. + rm -rf conftest.dSYM
  25011. +
  25012. +fi
  25013. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  25014. +$as_echo "$lt_cv_ld_force_load" >&6; }
  25015. + case $host_os in
  25016. + rhapsody* | darwin1.[012])
  25017. + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  25018. + darwin1.*)
  25019. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  25020. + darwin*) # darwin 5.x on
  25021. + # if running on 10.5 or later, the deployment target defaults
  25022. + # to the OS version, if on x86, and 10.4, the deployment
  25023. + # target defaults to 10.4. Don't you love it?
  25024. + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  25025. + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  25026. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  25027. + 10.[012]*)
  25028. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  25029. + 10.*)
  25030. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  25031. + esac
  25032. + ;;
  25033. + esac
  25034. + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  25035. + _lt_dar_single_mod='$single_module'
  25036. + fi
  25037. + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  25038. + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  25039. + else
  25040. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  25041. + fi
  25042. + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  25043. + _lt_dsymutil='~$DSYMUTIL $lib || :'
  25044. + else
  25045. + _lt_dsymutil=
  25046. + fi
  25047. + ;;
  25048. + esac
  25049. +
  25050. +ac_ext=c
  25051. +ac_cpp='$CPP $CPPFLAGS'
  25052. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  25053. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  25054. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  25055. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  25056. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  25057. +# On Suns, sometimes $CPP names a directory.
  25058. +if test -n "$CPP" && test -d "$CPP"; then
  25059. + CPP=
  25060. +fi
  25061. +if test -z "$CPP"; then
  25062. + if ${ac_cv_prog_CPP+:} false; then :
  25063. + $as_echo_n "(cached) " >&6
  25064. +else
  25065. + # Double quotes because CPP needs to be expanded
  25066. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  25067. + do
  25068. + ac_preproc_ok=false
  25069. +for ac_c_preproc_warn_flag in '' yes
  25070. +do
  25071. + # Use a header file that comes with gcc, so configuring glibc
  25072. + # with a fresh cross-compiler works.
  25073. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  25074. + # <limits.h> exists even on freestanding compilers.
  25075. + # On the NeXT, cc -E runs the code through the compiler's parser,
  25076. + # not just through cpp. "Syntax error" is here to catch this case.
  25077. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25078. +/* end confdefs.h. */
  25079. +@%:@ifdef __STDC__
  25080. +@%:@ include <limits.h>
  25081. +@%:@else
  25082. +@%:@ include <assert.h>
  25083. +@%:@endif
  25084. + Syntax error
  25085. +_ACEOF
  25086. +if ac_fn_c_try_cpp "$LINENO"; then :
  25087. +
  25088. +else
  25089. + # Broken: fails on valid input.
  25090. +continue
  25091. +fi
  25092. +rm -f conftest.err conftest.i conftest.$ac_ext
  25093. +
  25094. + # OK, works on sane cases. Now check whether nonexistent headers
  25095. + # can be detected and how.
  25096. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25097. +/* end confdefs.h. */
  25098. +@%:@include <ac_nonexistent.h>
  25099. +_ACEOF
  25100. +if ac_fn_c_try_cpp "$LINENO"; then :
  25101. + # Broken: success on invalid input.
  25102. +continue
  25103. +else
  25104. + # Passes both tests.
  25105. +ac_preproc_ok=:
  25106. +break
  25107. +fi
  25108. +rm -f conftest.err conftest.i conftest.$ac_ext
  25109. +
  25110. +done
  25111. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  25112. +rm -f conftest.i conftest.err conftest.$ac_ext
  25113. +if $ac_preproc_ok; then :
  25114. + break
  25115. +fi
  25116. +
  25117. + done
  25118. + ac_cv_prog_CPP=$CPP
  25119. +
  25120. +fi
  25121. + CPP=$ac_cv_prog_CPP
  25122. +else
  25123. + ac_cv_prog_CPP=$CPP
  25124. +fi
  25125. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  25126. +$as_echo "$CPP" >&6; }
  25127. +ac_preproc_ok=false
  25128. +for ac_c_preproc_warn_flag in '' yes
  25129. +do
  25130. + # Use a header file that comes with gcc, so configuring glibc
  25131. + # with a fresh cross-compiler works.
  25132. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  25133. + # <limits.h> exists even on freestanding compilers.
  25134. + # On the NeXT, cc -E runs the code through the compiler's parser,
  25135. + # not just through cpp. "Syntax error" is here to catch this case.
  25136. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25137. +/* end confdefs.h. */
  25138. +@%:@ifdef __STDC__
  25139. +@%:@ include <limits.h>
  25140. +@%:@else
  25141. +@%:@ include <assert.h>
  25142. +@%:@endif
  25143. + Syntax error
  25144. +_ACEOF
  25145. +if ac_fn_c_try_cpp "$LINENO"; then :
  25146. +
  25147. +else
  25148. + # Broken: fails on valid input.
  25149. +continue
  25150. +fi
  25151. +rm -f conftest.err conftest.i conftest.$ac_ext
  25152. +
  25153. + # OK, works on sane cases. Now check whether nonexistent headers
  25154. + # can be detected and how.
  25155. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25156. +/* end confdefs.h. */
  25157. +@%:@include <ac_nonexistent.h>
  25158. +_ACEOF
  25159. +if ac_fn_c_try_cpp "$LINENO"; then :
  25160. + # Broken: success on invalid input.
  25161. +continue
  25162. +else
  25163. + # Passes both tests.
  25164. +ac_preproc_ok=:
  25165. +break
  25166. +fi
  25167. +rm -f conftest.err conftest.i conftest.$ac_ext
  25168. +
  25169. +done
  25170. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  25171. +rm -f conftest.i conftest.err conftest.$ac_ext
  25172. +if $ac_preproc_ok; then :
  25173. +
  25174. +else
  25175. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  25176. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  25177. +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  25178. +See \`config.log' for more details" "$LINENO" 5; }
  25179. +fi
  25180. +
  25181. +ac_ext=c
  25182. +ac_cpp='$CPP $CPPFLAGS'
  25183. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  25184. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  25185. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  25186. +
  25187. +
  25188. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  25189. +$as_echo_n "checking for ANSI C header files... " >&6; }
  25190. +if ${ac_cv_header_stdc+:} false; then :
  25191. + $as_echo_n "(cached) " >&6
  25192. +else
  25193. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25194. +/* end confdefs.h. */
  25195. +#include <stdlib.h>
  25196. +#include <stdarg.h>
  25197. +#include <string.h>
  25198. +#include <float.h>
  25199. +
  25200. +int
  25201. +main ()
  25202. +{
  25203. +
  25204. + ;
  25205. + return 0;
  25206. +}
  25207. +_ACEOF
  25208. +if ac_fn_c_try_compile "$LINENO"; then :
  25209. + ac_cv_header_stdc=yes
  25210. +else
  25211. + ac_cv_header_stdc=no
  25212. +fi
  25213. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25214. +
  25215. +if test $ac_cv_header_stdc = yes; then
  25216. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  25217. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25218. +/* end confdefs.h. */
  25219. +#include <string.h>
  25220. +
  25221. +_ACEOF
  25222. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  25223. + $EGREP "memchr" >/dev/null 2>&1; then :
  25224. +
  25225. +else
  25226. + ac_cv_header_stdc=no
  25227. +fi
  25228. +rm -f conftest*
  25229. +
  25230. +fi
  25231. +
  25232. +if test $ac_cv_header_stdc = yes; then
  25233. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  25234. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25235. +/* end confdefs.h. */
  25236. +#include <stdlib.h>
  25237. +
  25238. +_ACEOF
  25239. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  25240. + $EGREP "free" >/dev/null 2>&1; then :
  25241. +
  25242. +else
  25243. + ac_cv_header_stdc=no
  25244. +fi
  25245. +rm -f conftest*
  25246. +
  25247. +fi
  25248. +
  25249. +if test $ac_cv_header_stdc = yes; then
  25250. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  25251. + if test "$cross_compiling" = yes; then :
  25252. + :
  25253. +else
  25254. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25255. +/* end confdefs.h. */
  25256. +#include <ctype.h>
  25257. +#include <stdlib.h>
  25258. +#if ((' ' & 0x0FF) == 0x020)
  25259. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  25260. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  25261. +#else
  25262. +# define ISLOWER(c) \
  25263. + (('a' <= (c) && (c) <= 'i') \
  25264. + || ('j' <= (c) && (c) <= 'r') \
  25265. + || ('s' <= (c) && (c) <= 'z'))
  25266. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  25267. +#endif
  25268. +
  25269. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  25270. +int
  25271. +main ()
  25272. +{
  25273. + int i;
  25274. + for (i = 0; i < 256; i++)
  25275. + if (XOR (islower (i), ISLOWER (i))
  25276. + || toupper (i) != TOUPPER (i))
  25277. + return 2;
  25278. + return 0;
  25279. +}
  25280. +_ACEOF
  25281. +if ac_fn_c_try_run "$LINENO"; then :
  25282. +
  25283. +else
  25284. + ac_cv_header_stdc=no
  25285. +fi
  25286. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  25287. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  25288. +fi
  25289. +
  25290. +fi
  25291. +fi
  25292. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  25293. +$as_echo "$ac_cv_header_stdc" >&6; }
  25294. +if test $ac_cv_header_stdc = yes; then
  25295. +
  25296. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  25297. +
  25298. +fi
  25299. +
  25300. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  25301. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  25302. + inttypes.h stdint.h unistd.h
  25303. +do :
  25304. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  25305. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  25306. +"
  25307. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  25308. + cat >>confdefs.h <<_ACEOF
  25309. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  25310. +_ACEOF
  25311. +
  25312. +fi
  25313. +
  25314. +done
  25315. +
  25316. +
  25317. +for ac_header in dlfcn.h
  25318. +do :
  25319. + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  25320. +"
  25321. +if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  25322. + cat >>confdefs.h <<_ACEOF
  25323. +@%:@define HAVE_DLFCN_H 1
  25324. +_ACEOF
  25325. +
  25326. +fi
  25327. +
  25328. +done
  25329. +
  25330. +
  25331. +
  25332. +
  25333. +
  25334. +# Set options
  25335. +
  25336. +
  25337. +
  25338. + enable_dlopen=no
  25339. +
  25340. +
  25341. + enable_win32_dll=no
  25342. +
  25343. +
  25344. + @%:@ Check whether --enable-shared was given.
  25345. +if test "${enable_shared+set}" = set; then :
  25346. + enableval=$enable_shared; p=${PACKAGE-default}
  25347. + case $enableval in
  25348. + yes) enable_shared=yes ;;
  25349. + no) enable_shared=no ;;
  25350. + *)
  25351. + enable_shared=no
  25352. + # Look at the argument we got. We use all the common list separators.
  25353. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  25354. + for pkg in $enableval; do
  25355. + IFS="$lt_save_ifs"
  25356. + if test "X$pkg" = "X$p"; then
  25357. + enable_shared=yes
  25358. + fi
  25359. + done
  25360. + IFS="$lt_save_ifs"
  25361. + ;;
  25362. + esac
  25363. +else
  25364. + enable_shared=yes
  25365. +fi
  25366. +
  25367. +
  25368. +
  25369. +
  25370. +
  25371. +
  25372. +
  25373. +
  25374. +
  25375. +
  25376. +
  25377. +@%:@ Check whether --with-pic was given.
  25378. +if test "${with_pic+set}" = set; then :
  25379. + withval=$with_pic; lt_p=${PACKAGE-default}
  25380. + case $withval in
  25381. + yes|no) pic_mode=$withval ;;
  25382. + *)
  25383. + pic_mode=default
  25384. + # Look at the argument we got. We use all the common list separators.
  25385. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  25386. + for lt_pkg in $withval; do
  25387. + IFS="$lt_save_ifs"
  25388. + if test "X$lt_pkg" = "X$lt_p"; then
  25389. + pic_mode=yes
  25390. + fi
  25391. + done
  25392. + IFS="$lt_save_ifs"
  25393. + ;;
  25394. + esac
  25395. +else
  25396. + pic_mode=default
  25397. +fi
  25398. +
  25399. +
  25400. +test -z "$pic_mode" && pic_mode=default
  25401. +
  25402. +
  25403. +
  25404. +
  25405. +
  25406. +
  25407. +
  25408. + @%:@ Check whether --enable-fast-install was given.
  25409. +if test "${enable_fast_install+set}" = set; then :
  25410. + enableval=$enable_fast_install; p=${PACKAGE-default}
  25411. + case $enableval in
  25412. + yes) enable_fast_install=yes ;;
  25413. + no) enable_fast_install=no ;;
  25414. + *)
  25415. + enable_fast_install=no
  25416. + # Look at the argument we got. We use all the common list separators.
  25417. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  25418. + for pkg in $enableval; do
  25419. + IFS="$lt_save_ifs"
  25420. + if test "X$pkg" = "X$p"; then
  25421. + enable_fast_install=yes
  25422. + fi
  25423. + done
  25424. + IFS="$lt_save_ifs"
  25425. + ;;
  25426. + esac
  25427. +else
  25428. + enable_fast_install=yes
  25429. +fi
  25430. +
  25431. +
  25432. +
  25433. +
  25434. +
  25435. +
  25436. +
  25437. +
  25438. +
  25439. +
  25440. +
  25441. +# This can be used to rebuild libtool when needed
  25442. +LIBTOOL_DEPS="$ltmain"
  25443. +
  25444. +# Always use our own libtool.
  25445. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  25446. +
  25447. +
  25448. +
  25449. +
  25450. +
  25451. +
  25452. +
  25453. +
  25454. +
  25455. +
  25456. +
  25457. +
  25458. +
  25459. +
  25460. +
  25461. +
  25462. +
  25463. +
  25464. +
  25465. +
  25466. +
  25467. +
  25468. +
  25469. +
  25470. +
  25471. +
  25472. +
  25473. +
  25474. +
  25475. +
  25476. +test -z "$LN_S" && LN_S="ln -s"
  25477. +
  25478. +
  25479. +
  25480. +
  25481. +
  25482. +
  25483. +
  25484. +
  25485. +
  25486. +
  25487. +
  25488. +
  25489. +
  25490. +
  25491. +if test -n "${ZSH_VERSION+set}" ; then
  25492. + setopt NO_GLOB_SUBST
  25493. +fi
  25494. +
  25495. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  25496. +$as_echo_n "checking for objdir... " >&6; }
  25497. +if ${lt_cv_objdir+:} false; then :
  25498. + $as_echo_n "(cached) " >&6
  25499. +else
  25500. + rm -f .libs 2>/dev/null
  25501. +mkdir .libs 2>/dev/null
  25502. +if test -d .libs; then
  25503. + lt_cv_objdir=.libs
  25504. +else
  25505. + # MS-DOS does not allow filenames that begin with a dot.
  25506. + lt_cv_objdir=_libs
  25507. +fi
  25508. +rmdir .libs 2>/dev/null
  25509. +fi
  25510. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  25511. +$as_echo "$lt_cv_objdir" >&6; }
  25512. +objdir=$lt_cv_objdir
  25513. +
  25514. +
  25515. +
  25516. +
  25517. +
  25518. +cat >>confdefs.h <<_ACEOF
  25519. +@%:@define LT_OBJDIR "$lt_cv_objdir/"
  25520. +_ACEOF
  25521. +
  25522. +
  25523. +
  25524. +
  25525. +case $host_os in
  25526. +aix3*)
  25527. + # AIX sometimes has problems with the GCC collect2 program. For some
  25528. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  25529. + # vanish in a puff of smoke.
  25530. + if test "X${COLLECT_NAMES+set}" != Xset; then
  25531. + COLLECT_NAMES=
  25532. + export COLLECT_NAMES
  25533. + fi
  25534. + ;;
  25535. +esac
  25536. +
  25537. +# Global variables:
  25538. +ofile=libtool
  25539. +can_build_shared=yes
  25540. +
  25541. +# All known linkers require a `.a' archive for static linking (except MSVC,
  25542. +# which needs '.lib').
  25543. +libext=a
  25544. +
  25545. +with_gnu_ld="$lt_cv_prog_gnu_ld"
  25546. +
  25547. +old_CC="$CC"
  25548. +old_CFLAGS="$CFLAGS"
  25549. +
  25550. +# Set sane defaults for various variables
  25551. +test -z "$CC" && CC=cc
  25552. +test -z "$LTCC" && LTCC=$CC
  25553. +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  25554. +test -z "$LD" && LD=ld
  25555. +test -z "$ac_objext" && ac_objext=o
  25556. +
  25557. +for cc_temp in $compiler""; do
  25558. + case $cc_temp in
  25559. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  25560. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  25561. + \-*) ;;
  25562. + *) break;;
  25563. + esac
  25564. +done
  25565. +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  25566. +
  25567. +
  25568. +# Only perform the check for file, if the check method requires it
  25569. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  25570. +case $deplibs_check_method in
  25571. +file_magic*)
  25572. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  25573. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  25574. +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  25575. +if ${lt_cv_path_MAGIC_CMD+:} false; then :
  25576. + $as_echo_n "(cached) " >&6
  25577. +else
  25578. + case $MAGIC_CMD in
  25579. +[\\/*] | ?:[\\/]*)
  25580. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  25581. + ;;
  25582. +*)
  25583. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  25584. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  25585. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  25586. + for ac_dir in $ac_dummy; do
  25587. + IFS="$lt_save_ifs"
  25588. + test -z "$ac_dir" && ac_dir=.
  25589. + if test -f $ac_dir/${ac_tool_prefix}file; then
  25590. + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  25591. + if test -n "$file_magic_test_file"; then
  25592. + case $deplibs_check_method in
  25593. + "file_magic "*)
  25594. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  25595. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  25596. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  25597. + $EGREP "$file_magic_regex" > /dev/null; then
  25598. + :
  25599. + else
  25600. + cat <<_LT_EOF 1>&2
  25601. +
  25602. +*** Warning: the command libtool uses to detect shared libraries,
  25603. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  25604. +*** The result is that libtool may fail to recognize shared libraries
  25605. +*** as such. This will affect the creation of libtool libraries that
  25606. +*** depend on shared libraries, but programs linked with such libtool
  25607. +*** libraries will work regardless of this problem. Nevertheless, you
  25608. +*** may want to report the problem to your system manager and/or to
  25609. +*** bug-libtool@gnu.org
  25610. +
  25611. +_LT_EOF
  25612. + fi ;;
  25613. + esac
  25614. + fi
  25615. + break
  25616. + fi
  25617. + done
  25618. + IFS="$lt_save_ifs"
  25619. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  25620. + ;;
  25621. +esac
  25622. +fi
  25623. +
  25624. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  25625. +if test -n "$MAGIC_CMD"; then
  25626. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  25627. +$as_echo "$MAGIC_CMD" >&6; }
  25628. +else
  25629. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  25630. +$as_echo "no" >&6; }
  25631. +fi
  25632. +
  25633. +
  25634. +
  25635. +
  25636. +
  25637. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  25638. + if test -n "$ac_tool_prefix"; then
  25639. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  25640. +$as_echo_n "checking for file... " >&6; }
  25641. +if ${lt_cv_path_MAGIC_CMD+:} false; then :
  25642. + $as_echo_n "(cached) " >&6
  25643. +else
  25644. + case $MAGIC_CMD in
  25645. +[\\/*] | ?:[\\/]*)
  25646. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  25647. + ;;
  25648. +*)
  25649. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  25650. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  25651. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  25652. + for ac_dir in $ac_dummy; do
  25653. + IFS="$lt_save_ifs"
  25654. + test -z "$ac_dir" && ac_dir=.
  25655. + if test -f $ac_dir/file; then
  25656. + lt_cv_path_MAGIC_CMD="$ac_dir/file"
  25657. + if test -n "$file_magic_test_file"; then
  25658. + case $deplibs_check_method in
  25659. + "file_magic "*)
  25660. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  25661. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  25662. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  25663. + $EGREP "$file_magic_regex" > /dev/null; then
  25664. + :
  25665. + else
  25666. + cat <<_LT_EOF 1>&2
  25667. +
  25668. +*** Warning: the command libtool uses to detect shared libraries,
  25669. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  25670. +*** The result is that libtool may fail to recognize shared libraries
  25671. +*** as such. This will affect the creation of libtool libraries that
  25672. +*** depend on shared libraries, but programs linked with such libtool
  25673. +*** libraries will work regardless of this problem. Nevertheless, you
  25674. +*** may want to report the problem to your system manager and/or to
  25675. +*** bug-libtool@gnu.org
  25676. +
  25677. +_LT_EOF
  25678. + fi ;;
  25679. + esac
  25680. + fi
  25681. + break
  25682. + fi
  25683. + done
  25684. + IFS="$lt_save_ifs"
  25685. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  25686. + ;;
  25687. +esac
  25688. +fi
  25689. +
  25690. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  25691. +if test -n "$MAGIC_CMD"; then
  25692. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  25693. +$as_echo "$MAGIC_CMD" >&6; }
  25694. +else
  25695. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  25696. +$as_echo "no" >&6; }
  25697. +fi
  25698. +
  25699. +
  25700. + else
  25701. + MAGIC_CMD=:
  25702. + fi
  25703. +fi
  25704. +
  25705. + fi
  25706. + ;;
  25707. +esac
  25708. +
  25709. +# Use C for the default configuration in the libtool script
  25710. +
  25711. +lt_save_CC="$CC"
  25712. +ac_ext=c
  25713. +ac_cpp='$CPP $CPPFLAGS'
  25714. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  25715. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  25716. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  25717. +
  25718. +
  25719. +# Source file extension for C test sources.
  25720. +ac_ext=c
  25721. +
  25722. +# Object file extension for compiled C test sources.
  25723. +objext=o
  25724. +objext=$objext
  25725. +
  25726. +# Code to be used in simple compile tests
  25727. +lt_simple_compile_test_code="int some_variable = 0;"
  25728. +
  25729. +# Code to be used in simple link tests
  25730. +lt_simple_link_test_code='int main(){return(0);}'
  25731. +
  25732. +
  25733. +
  25734. +
  25735. +
  25736. +
  25737. +
  25738. +# If no C compiler was specified, use CC.
  25739. +LTCC=${LTCC-"$CC"}
  25740. +
  25741. +# If no C compiler flags were specified, use CFLAGS.
  25742. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  25743. +
  25744. +# Allow CC to be a program name with arguments.
  25745. +compiler=$CC
  25746. +
  25747. +# Save the default compiler, since it gets overwritten when the other
  25748. +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  25749. +compiler_DEFAULT=$CC
  25750. +
  25751. +# save warnings/boilerplate of simple test code
  25752. +ac_outfile=conftest.$ac_objext
  25753. +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  25754. +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  25755. +_lt_compiler_boilerplate=`cat conftest.err`
  25756. +$RM conftest*
  25757. +
  25758. +ac_outfile=conftest.$ac_objext
  25759. +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  25760. +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  25761. +_lt_linker_boilerplate=`cat conftest.err`
  25762. +$RM -r conftest*
  25763. +
  25764. +
  25765. +## CAVEAT EMPTOR:
  25766. +## There is no encapsulation within the following macros, do not change
  25767. +## the running order or otherwise move them around unless you know exactly
  25768. +## what you are doing...
  25769. +if test -n "$compiler"; then
  25770. +
  25771. +lt_prog_compiler_no_builtin_flag=
  25772. +
  25773. +if test "$GCC" = yes; then
  25774. + case $cc_basename in
  25775. + nvcc*)
  25776. + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  25777. + *)
  25778. + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  25779. + esac
  25780. +
  25781. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  25782. +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  25783. +if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  25784. + $as_echo_n "(cached) " >&6
  25785. +else
  25786. + lt_cv_prog_compiler_rtti_exceptions=no
  25787. + ac_outfile=conftest.$ac_objext
  25788. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  25789. + lt_compiler_flag="-fno-rtti -fno-exceptions"
  25790. + # Insert the option either (1) after the last *FLAGS variable, or
  25791. + # (2) before a word containing "conftest.", or (3) at the end.
  25792. + # Note that $ac_compile itself does not contain backslashes and begins
  25793. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  25794. + # The option is referenced via a variable to avoid confusing sed.
  25795. + lt_compile=`echo "$ac_compile" | $SED \
  25796. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  25797. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  25798. + -e 's:$: $lt_compiler_flag:'`
  25799. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  25800. + (eval "$lt_compile" 2>conftest.err)
  25801. + ac_status=$?
  25802. + cat conftest.err >&5
  25803. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  25804. + if (exit $ac_status) && test -s "$ac_outfile"; then
  25805. + # The compiler can only warn and ignore the option if not recognized
  25806. + # So say no if there are warnings other than the usual output.
  25807. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  25808. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  25809. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  25810. + lt_cv_prog_compiler_rtti_exceptions=yes
  25811. + fi
  25812. + fi
  25813. + $RM conftest*
  25814. +
  25815. +fi
  25816. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  25817. +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  25818. +
  25819. +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  25820. + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  25821. +else
  25822. + :
  25823. +fi
  25824. +
  25825. +fi
  25826. +
  25827. +
  25828. +
  25829. +
  25830. +
  25831. +
  25832. + lt_prog_compiler_wl=
  25833. +lt_prog_compiler_pic=
  25834. +lt_prog_compiler_static=
  25835. +
  25836. +
  25837. + if test "$GCC" = yes; then
  25838. + lt_prog_compiler_wl='-Wl,'
  25839. + lt_prog_compiler_static='-static'
  25840. +
  25841. + case $host_os in
  25842. + aix*)
  25843. + # All AIX code is PIC.
  25844. + if test "$host_cpu" = ia64; then
  25845. + # AIX 5 now supports IA64 processor
  25846. + lt_prog_compiler_static='-Bstatic'
  25847. + fi
  25848. + ;;
  25849. +
  25850. + amigaos*)
  25851. + case $host_cpu in
  25852. + powerpc)
  25853. + # see comment about AmigaOS4 .so support
  25854. + lt_prog_compiler_pic='-fPIC'
  25855. + ;;
  25856. + m68k)
  25857. + # FIXME: we need at least 68020 code to build shared libraries, but
  25858. + # adding the `-m68020' flag to GCC prevents building anything better,
  25859. + # like `-m68040'.
  25860. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  25861. + ;;
  25862. + esac
  25863. + ;;
  25864. +
  25865. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  25866. + # PIC is the default for these OSes.
  25867. + ;;
  25868. +
  25869. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  25870. + # This hack is so that the source file can tell whether it is being
  25871. + # built for inclusion in a dll (and should export symbols for example).
  25872. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  25873. + # (--disable-auto-import) libraries
  25874. + lt_prog_compiler_pic='-DDLL_EXPORT'
  25875. + ;;
  25876. +
  25877. + darwin* | rhapsody*)
  25878. + # PIC is the default on this platform
  25879. + # Common symbols not allowed in MH_DYLIB files
  25880. + lt_prog_compiler_pic='-fno-common'
  25881. + ;;
  25882. +
  25883. + haiku*)
  25884. + # PIC is the default for Haiku.
  25885. + # The "-static" flag exists, but is broken.
  25886. + lt_prog_compiler_static=
  25887. + ;;
  25888. +
  25889. + hpux*)
  25890. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  25891. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  25892. + # sets the default TLS model and affects inlining.
  25893. + case $host_cpu in
  25894. + hppa*64*)
  25895. + # +Z the default
  25896. + ;;
  25897. + *)
  25898. + lt_prog_compiler_pic='-fPIC'
  25899. + ;;
  25900. + esac
  25901. + ;;
  25902. +
  25903. + interix[3-9]*)
  25904. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  25905. + # Instead, we relocate shared libraries at runtime.
  25906. + ;;
  25907. +
  25908. + msdosdjgpp*)
  25909. + # Just because we use GCC doesn't mean we suddenly get shared libraries
  25910. + # on systems that don't support them.
  25911. + lt_prog_compiler_can_build_shared=no
  25912. + enable_shared=no
  25913. + ;;
  25914. +
  25915. + *nto* | *qnx*)
  25916. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  25917. + # it will coredump.
  25918. + lt_prog_compiler_pic='-fPIC -shared'
  25919. + ;;
  25920. +
  25921. + sysv4*MP*)
  25922. + if test -d /usr/nec; then
  25923. + lt_prog_compiler_pic=-Kconform_pic
  25924. + fi
  25925. + ;;
  25926. +
  25927. + *)
  25928. + lt_prog_compiler_pic='-fPIC'
  25929. + ;;
  25930. + esac
  25931. +
  25932. + case $cc_basename in
  25933. + nvcc*) # Cuda Compiler Driver 2.2
  25934. + lt_prog_compiler_wl='-Xlinker '
  25935. + if test -n "$lt_prog_compiler_pic"; then
  25936. + lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  25937. + fi
  25938. + ;;
  25939. + esac
  25940. + else
  25941. + # PORTME Check for flag to pass linker flags through the system compiler.
  25942. + case $host_os in
  25943. + aix*)
  25944. + lt_prog_compiler_wl='-Wl,'
  25945. + if test "$host_cpu" = ia64; then
  25946. + # AIX 5 now supports IA64 processor
  25947. + lt_prog_compiler_static='-Bstatic'
  25948. + else
  25949. + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  25950. + fi
  25951. + ;;
  25952. +
  25953. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  25954. + # This hack is so that the source file can tell whether it is being
  25955. + # built for inclusion in a dll (and should export symbols for example).
  25956. + lt_prog_compiler_pic='-DDLL_EXPORT'
  25957. + ;;
  25958. +
  25959. + hpux9* | hpux10* | hpux11*)
  25960. + lt_prog_compiler_wl='-Wl,'
  25961. + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  25962. + # not for PA HP-UX.
  25963. + case $host_cpu in
  25964. + hppa*64*|ia64*)
  25965. + # +Z the default
  25966. + ;;
  25967. + *)
  25968. + lt_prog_compiler_pic='+Z'
  25969. + ;;
  25970. + esac
  25971. + # Is there a better lt_prog_compiler_static that works with the bundled CC?
  25972. + lt_prog_compiler_static='${wl}-a ${wl}archive'
  25973. + ;;
  25974. +
  25975. + irix5* | irix6* | nonstopux*)
  25976. + lt_prog_compiler_wl='-Wl,'
  25977. + # PIC (with -KPIC) is the default.
  25978. + lt_prog_compiler_static='-non_shared'
  25979. + ;;
  25980. +
  25981. + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  25982. + case $cc_basename in
  25983. + # old Intel for x86_64 which still supported -KPIC.
  25984. + ecc*)
  25985. + lt_prog_compiler_wl='-Wl,'
  25986. + lt_prog_compiler_pic='-KPIC'
  25987. + lt_prog_compiler_static='-static'
  25988. + ;;
  25989. + # icc used to be incompatible with GCC.
  25990. + # ICC 10 doesn't accept -KPIC any more.
  25991. + icc* | ifort*)
  25992. + lt_prog_compiler_wl='-Wl,'
  25993. + lt_prog_compiler_pic='-fPIC'
  25994. + lt_prog_compiler_static='-static'
  25995. + ;;
  25996. + # Lahey Fortran 8.1.
  25997. + lf95*)
  25998. + lt_prog_compiler_wl='-Wl,'
  25999. + lt_prog_compiler_pic='--shared'
  26000. + lt_prog_compiler_static='--static'
  26001. + ;;
  26002. + nagfor*)
  26003. + # NAG Fortran compiler
  26004. + lt_prog_compiler_wl='-Wl,-Wl,,'
  26005. + lt_prog_compiler_pic='-PIC'
  26006. + lt_prog_compiler_static='-Bstatic'
  26007. + ;;
  26008. + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  26009. + # Portland Group compilers (*not* the Pentium gcc compiler,
  26010. + # which looks to be a dead project)
  26011. + lt_prog_compiler_wl='-Wl,'
  26012. + lt_prog_compiler_pic='-fpic'
  26013. + lt_prog_compiler_static='-Bstatic'
  26014. + ;;
  26015. + ccc*)
  26016. + lt_prog_compiler_wl='-Wl,'
  26017. + # All Alpha code is PIC.
  26018. + lt_prog_compiler_static='-non_shared'
  26019. + ;;
  26020. + xl* | bgxl* | bgf* | mpixl*)
  26021. + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  26022. + lt_prog_compiler_wl='-Wl,'
  26023. + lt_prog_compiler_pic='-qpic'
  26024. + lt_prog_compiler_static='-qstaticlink'
  26025. + ;;
  26026. + *)
  26027. + case `$CC -V 2>&1 | sed 5q` in
  26028. + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  26029. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  26030. + lt_prog_compiler_pic='-KPIC'
  26031. + lt_prog_compiler_static='-Bstatic'
  26032. + lt_prog_compiler_wl=''
  26033. + ;;
  26034. + *Sun\ F* | *Sun*Fortran*)
  26035. + lt_prog_compiler_pic='-KPIC'
  26036. + lt_prog_compiler_static='-Bstatic'
  26037. + lt_prog_compiler_wl='-Qoption ld '
  26038. + ;;
  26039. + *Sun\ C*)
  26040. + # Sun C 5.9
  26041. + lt_prog_compiler_pic='-KPIC'
  26042. + lt_prog_compiler_static='-Bstatic'
  26043. + lt_prog_compiler_wl='-Wl,'
  26044. + ;;
  26045. + *Intel*\ [CF]*Compiler*)
  26046. + lt_prog_compiler_wl='-Wl,'
  26047. + lt_prog_compiler_pic='-fPIC'
  26048. + lt_prog_compiler_static='-static'
  26049. + ;;
  26050. + *Portland\ Group*)
  26051. + lt_prog_compiler_wl='-Wl,'
  26052. + lt_prog_compiler_pic='-fpic'
  26053. + lt_prog_compiler_static='-Bstatic'
  26054. + ;;
  26055. + esac
  26056. + ;;
  26057. + esac
  26058. + ;;
  26059. +
  26060. + newsos6)
  26061. + lt_prog_compiler_pic='-KPIC'
  26062. + lt_prog_compiler_static='-Bstatic'
  26063. + ;;
  26064. +
  26065. + *nto* | *qnx*)
  26066. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  26067. + # it will coredump.
  26068. + lt_prog_compiler_pic='-fPIC -shared'
  26069. + ;;
  26070. +
  26071. + osf3* | osf4* | osf5*)
  26072. + lt_prog_compiler_wl='-Wl,'
  26073. + # All OSF/1 code is PIC.
  26074. + lt_prog_compiler_static='-non_shared'
  26075. + ;;
  26076. +
  26077. + rdos*)
  26078. + lt_prog_compiler_static='-non_shared'
  26079. + ;;
  26080. +
  26081. + solaris*)
  26082. + lt_prog_compiler_pic='-KPIC'
  26083. + lt_prog_compiler_static='-Bstatic'
  26084. + case $cc_basename in
  26085. + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  26086. + lt_prog_compiler_wl='-Qoption ld ';;
  26087. + *)
  26088. + lt_prog_compiler_wl='-Wl,';;
  26089. + esac
  26090. + ;;
  26091. +
  26092. + sunos4*)
  26093. + lt_prog_compiler_wl='-Qoption ld '
  26094. + lt_prog_compiler_pic='-PIC'
  26095. + lt_prog_compiler_static='-Bstatic'
  26096. + ;;
  26097. +
  26098. + sysv4 | sysv4.2uw2* | sysv4.3*)
  26099. + lt_prog_compiler_wl='-Wl,'
  26100. + lt_prog_compiler_pic='-KPIC'
  26101. + lt_prog_compiler_static='-Bstatic'
  26102. + ;;
  26103. +
  26104. + sysv4*MP*)
  26105. + if test -d /usr/nec ;then
  26106. + lt_prog_compiler_pic='-Kconform_pic'
  26107. + lt_prog_compiler_static='-Bstatic'
  26108. + fi
  26109. + ;;
  26110. +
  26111. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  26112. + lt_prog_compiler_wl='-Wl,'
  26113. + lt_prog_compiler_pic='-KPIC'
  26114. + lt_prog_compiler_static='-Bstatic'
  26115. + ;;
  26116. +
  26117. + unicos*)
  26118. + lt_prog_compiler_wl='-Wl,'
  26119. + lt_prog_compiler_can_build_shared=no
  26120. + ;;
  26121. +
  26122. + uts4*)
  26123. + lt_prog_compiler_pic='-pic'
  26124. + lt_prog_compiler_static='-Bstatic'
  26125. + ;;
  26126. +
  26127. + *)
  26128. + lt_prog_compiler_can_build_shared=no
  26129. + ;;
  26130. + esac
  26131. + fi
  26132. +
  26133. +case $host_os in
  26134. + # For platforms which do not support PIC, -DPIC is meaningless:
  26135. + *djgpp*)
  26136. + lt_prog_compiler_pic=
  26137. + ;;
  26138. + *)
  26139. + lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
  26140. + ;;
  26141. +esac
  26142. +
  26143. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  26144. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  26145. +if ${lt_cv_prog_compiler_pic+:} false; then :
  26146. + $as_echo_n "(cached) " >&6
  26147. +else
  26148. + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  26149. +fi
  26150. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  26151. +$as_echo "$lt_cv_prog_compiler_pic" >&6; }
  26152. +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  26153. +
  26154. +#
  26155. +# Check to make sure the PIC flag actually works.
  26156. +#
  26157. +if test -n "$lt_prog_compiler_pic"; then
  26158. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  26159. +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  26160. +if ${lt_cv_prog_compiler_pic_works+:} false; then :
  26161. + $as_echo_n "(cached) " >&6
  26162. +else
  26163. + lt_cv_prog_compiler_pic_works=no
  26164. + ac_outfile=conftest.$ac_objext
  26165. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  26166. + lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
  26167. + # Insert the option either (1) after the last *FLAGS variable, or
  26168. + # (2) before a word containing "conftest.", or (3) at the end.
  26169. + # Note that $ac_compile itself does not contain backslashes and begins
  26170. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  26171. + # The option is referenced via a variable to avoid confusing sed.
  26172. + lt_compile=`echo "$ac_compile" | $SED \
  26173. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  26174. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  26175. + -e 's:$: $lt_compiler_flag:'`
  26176. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  26177. + (eval "$lt_compile" 2>conftest.err)
  26178. + ac_status=$?
  26179. + cat conftest.err >&5
  26180. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26181. + if (exit $ac_status) && test -s "$ac_outfile"; then
  26182. + # The compiler can only warn and ignore the option if not recognized
  26183. + # So say no if there are warnings other than the usual output.
  26184. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  26185. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  26186. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  26187. + lt_cv_prog_compiler_pic_works=yes
  26188. + fi
  26189. + fi
  26190. + $RM conftest*
  26191. +
  26192. +fi
  26193. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  26194. +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  26195. +
  26196. +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  26197. + case $lt_prog_compiler_pic in
  26198. + "" | " "*) ;;
  26199. + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  26200. + esac
  26201. +else
  26202. + lt_prog_compiler_pic=
  26203. + lt_prog_compiler_can_build_shared=no
  26204. +fi
  26205. +
  26206. +fi
  26207. +
  26208. +
  26209. +
  26210. +
  26211. +
  26212. +
  26213. +
  26214. +
  26215. +
  26216. +
  26217. +
  26218. +#
  26219. +# Check to make sure the static flag actually works.
  26220. +#
  26221. +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  26222. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  26223. +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  26224. +if ${lt_cv_prog_compiler_static_works+:} false; then :
  26225. + $as_echo_n "(cached) " >&6
  26226. +else
  26227. + lt_cv_prog_compiler_static_works=no
  26228. + save_LDFLAGS="$LDFLAGS"
  26229. + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  26230. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  26231. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  26232. + # The linker can only warn and ignore the option if not recognized
  26233. + # So say no if there are warnings
  26234. + if test -s conftest.err; then
  26235. + # Append any errors to the config.log.
  26236. + cat conftest.err 1>&5
  26237. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  26238. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  26239. + if diff conftest.exp conftest.er2 >/dev/null; then
  26240. + lt_cv_prog_compiler_static_works=yes
  26241. + fi
  26242. + else
  26243. + lt_cv_prog_compiler_static_works=yes
  26244. + fi
  26245. + fi
  26246. + $RM -r conftest*
  26247. + LDFLAGS="$save_LDFLAGS"
  26248. +
  26249. +fi
  26250. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  26251. +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  26252. +
  26253. +if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  26254. + :
  26255. +else
  26256. + lt_prog_compiler_static=
  26257. +fi
  26258. +
  26259. +
  26260. +
  26261. +
  26262. +
  26263. +
  26264. +
  26265. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  26266. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  26267. +if ${lt_cv_prog_compiler_c_o+:} false; then :
  26268. + $as_echo_n "(cached) " >&6
  26269. +else
  26270. + lt_cv_prog_compiler_c_o=no
  26271. + $RM -r conftest 2>/dev/null
  26272. + mkdir conftest
  26273. + cd conftest
  26274. + mkdir out
  26275. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  26276. +
  26277. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  26278. + # Insert the option either (1) after the last *FLAGS variable, or
  26279. + # (2) before a word containing "conftest.", or (3) at the end.
  26280. + # Note that $ac_compile itself does not contain backslashes and begins
  26281. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  26282. + lt_compile=`echo "$ac_compile" | $SED \
  26283. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  26284. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  26285. + -e 's:$: $lt_compiler_flag:'`
  26286. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  26287. + (eval "$lt_compile" 2>out/conftest.err)
  26288. + ac_status=$?
  26289. + cat out/conftest.err >&5
  26290. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26291. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  26292. + then
  26293. + # The compiler can only warn and ignore the option if not recognized
  26294. + # So say no if there are warnings
  26295. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  26296. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  26297. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  26298. + lt_cv_prog_compiler_c_o=yes
  26299. + fi
  26300. + fi
  26301. + chmod u+w . 2>&5
  26302. + $RM conftest*
  26303. + # SGI C++ compiler will create directory out/ii_files/ for
  26304. + # template instantiation
  26305. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  26306. + $RM out/* && rmdir out
  26307. + cd ..
  26308. + $RM -r conftest
  26309. + $RM conftest*
  26310. +
  26311. +fi
  26312. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  26313. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  26314. +
  26315. +
  26316. +
  26317. +
  26318. +
  26319. +
  26320. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  26321. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  26322. +if ${lt_cv_prog_compiler_c_o+:} false; then :
  26323. + $as_echo_n "(cached) " >&6
  26324. +else
  26325. + lt_cv_prog_compiler_c_o=no
  26326. + $RM -r conftest 2>/dev/null
  26327. + mkdir conftest
  26328. + cd conftest
  26329. + mkdir out
  26330. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  26331. +
  26332. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  26333. + # Insert the option either (1) after the last *FLAGS variable, or
  26334. + # (2) before a word containing "conftest.", or (3) at the end.
  26335. + # Note that $ac_compile itself does not contain backslashes and begins
  26336. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  26337. + lt_compile=`echo "$ac_compile" | $SED \
  26338. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  26339. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  26340. + -e 's:$: $lt_compiler_flag:'`
  26341. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  26342. + (eval "$lt_compile" 2>out/conftest.err)
  26343. + ac_status=$?
  26344. + cat out/conftest.err >&5
  26345. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26346. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  26347. + then
  26348. + # The compiler can only warn and ignore the option if not recognized
  26349. + # So say no if there are warnings
  26350. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  26351. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  26352. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  26353. + lt_cv_prog_compiler_c_o=yes
  26354. + fi
  26355. + fi
  26356. + chmod u+w . 2>&5
  26357. + $RM conftest*
  26358. + # SGI C++ compiler will create directory out/ii_files/ for
  26359. + # template instantiation
  26360. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  26361. + $RM out/* && rmdir out
  26362. + cd ..
  26363. + $RM -r conftest
  26364. + $RM conftest*
  26365. +
  26366. +fi
  26367. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  26368. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  26369. +
  26370. +
  26371. +
  26372. +
  26373. +hard_links="nottested"
  26374. +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  26375. + # do not overwrite the value of need_locks provided by the user
  26376. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  26377. +$as_echo_n "checking if we can lock with hard links... " >&6; }
  26378. + hard_links=yes
  26379. + $RM conftest*
  26380. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  26381. + touch conftest.a
  26382. + ln conftest.a conftest.b 2>&5 || hard_links=no
  26383. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  26384. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  26385. +$as_echo "$hard_links" >&6; }
  26386. + if test "$hard_links" = no; then
  26387. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  26388. +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  26389. + need_locks=warn
  26390. + fi
  26391. +else
  26392. + need_locks=no
  26393. +fi
  26394. +
  26395. +
  26396. +
  26397. +
  26398. +
  26399. +
  26400. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  26401. +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  26402. +
  26403. + runpath_var=
  26404. + allow_undefined_flag=
  26405. + always_export_symbols=no
  26406. + archive_cmds=
  26407. + archive_expsym_cmds=
  26408. + compiler_needs_object=no
  26409. + enable_shared_with_static_runtimes=no
  26410. + export_dynamic_flag_spec=
  26411. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  26412. + hardcode_automatic=no
  26413. + hardcode_direct=no
  26414. + hardcode_direct_absolute=no
  26415. + hardcode_libdir_flag_spec=
  26416. + hardcode_libdir_separator=
  26417. + hardcode_minus_L=no
  26418. + hardcode_shlibpath_var=unsupported
  26419. + inherit_rpath=no
  26420. + link_all_deplibs=unknown
  26421. + module_cmds=
  26422. + module_expsym_cmds=
  26423. + old_archive_from_new_cmds=
  26424. + old_archive_from_expsyms_cmds=
  26425. + thread_safe_flag_spec=
  26426. + whole_archive_flag_spec=
  26427. + # include_expsyms should be a list of space-separated symbols to be *always*
  26428. + # included in the symbol list
  26429. + include_expsyms=
  26430. + # exclude_expsyms can be an extended regexp of symbols to exclude
  26431. + # it will be wrapped by ` (' and `)$', so one must not match beginning or
  26432. + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  26433. + # as well as any symbol that contains `d'.
  26434. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  26435. + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  26436. + # platforms (ab)use it in PIC code, but their linkers get confused if
  26437. + # the symbol is explicitly referenced. Since portable code cannot
  26438. + # rely on this symbol name, it's probably fine to never include it in
  26439. + # preloaded symbol tables.
  26440. + # Exclude shared library initialization/finalization symbols.
  26441. + extract_expsyms_cmds=
  26442. +
  26443. + case $host_os in
  26444. + cygwin* | mingw* | pw32* | cegcc*)
  26445. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  26446. + # When not using gcc, we currently assume that we are using
  26447. + # Microsoft Visual C++.
  26448. + if test "$GCC" != yes; then
  26449. + with_gnu_ld=no
  26450. + fi
  26451. + ;;
  26452. + interix*)
  26453. + # we just hope/assume this is gcc and not c89 (= MSVC++)
  26454. + with_gnu_ld=yes
  26455. + ;;
  26456. + openbsd*)
  26457. + with_gnu_ld=no
  26458. + ;;
  26459. + linux* | k*bsd*-gnu | gnu*)
  26460. + link_all_deplibs=no
  26461. + ;;
  26462. + esac
  26463. +
  26464. + ld_shlibs=yes
  26465. +
  26466. + # On some targets, GNU ld is compatible enough with the native linker
  26467. + # that we're better off using the native interface for both.
  26468. + lt_use_gnu_ld_interface=no
  26469. + if test "$with_gnu_ld" = yes; then
  26470. + case $host_os in
  26471. + aix*)
  26472. + # The AIX port of GNU ld has always aspired to compatibility
  26473. + # with the native linker. However, as the warning in the GNU ld
  26474. + # block says, versions before 2.19.5* couldn't really create working
  26475. + # shared libraries, regardless of the interface used.
  26476. + case `$LD -v 2>&1` in
  26477. + *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  26478. + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  26479. + *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  26480. + *)
  26481. + lt_use_gnu_ld_interface=yes
  26482. + ;;
  26483. + esac
  26484. + ;;
  26485. + *)
  26486. + lt_use_gnu_ld_interface=yes
  26487. + ;;
  26488. + esac
  26489. + fi
  26490. +
  26491. + if test "$lt_use_gnu_ld_interface" = yes; then
  26492. + # If archive_cmds runs LD, not CC, wlarc should be empty
  26493. + wlarc='${wl}'
  26494. +
  26495. + # Set some defaults for GNU ld with shared library support. These
  26496. + # are reset later if shared libraries are not supported. Putting them
  26497. + # here allows them to be overridden if necessary.
  26498. + runpath_var=LD_RUN_PATH
  26499. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  26500. + export_dynamic_flag_spec='${wl}--export-dynamic'
  26501. + # ancient GNU ld didn't support --whole-archive et. al.
  26502. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  26503. + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  26504. + else
  26505. + whole_archive_flag_spec=
  26506. + fi
  26507. + supports_anon_versioning=no
  26508. + case `$LD -v 2>&1` in
  26509. + *GNU\ gold*) supports_anon_versioning=yes ;;
  26510. + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  26511. + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  26512. + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  26513. + *\ 2.11.*) ;; # other 2.11 versions
  26514. + *) supports_anon_versioning=yes ;;
  26515. + esac
  26516. +
  26517. + # See if GNU ld supports shared libraries.
  26518. + case $host_os in
  26519. + aix[3-9]*)
  26520. + # On AIX/PPC, the GNU linker is very broken
  26521. + if test "$host_cpu" != ia64; then
  26522. + ld_shlibs=no
  26523. + cat <<_LT_EOF 1>&2
  26524. +
  26525. +*** Warning: the GNU linker, at least up to release 2.19, is reported
  26526. +*** to be unable to reliably create shared libraries on AIX.
  26527. +*** Therefore, libtool is disabling shared libraries support. If you
  26528. +*** really care for shared libraries, you may want to install binutils
  26529. +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  26530. +*** You will then need to restart the configuration process.
  26531. +
  26532. +_LT_EOF
  26533. + fi
  26534. + ;;
  26535. +
  26536. + amigaos*)
  26537. + case $host_cpu in
  26538. + powerpc)
  26539. + # see comment about AmigaOS4 .so support
  26540. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  26541. + archive_expsym_cmds=''
  26542. + ;;
  26543. + m68k)
  26544. + 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)'
  26545. + hardcode_libdir_flag_spec='-L$libdir'
  26546. + hardcode_minus_L=yes
  26547. + ;;
  26548. + esac
  26549. + ;;
  26550. +
  26551. + beos*)
  26552. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  26553. + allow_undefined_flag=unsupported
  26554. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  26555. + # support --undefined. This deserves some investigation. FIXME
  26556. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  26557. + else
  26558. + ld_shlibs=no
  26559. + fi
  26560. + ;;
  26561. +
  26562. + cygwin* | mingw* | pw32* | cegcc*)
  26563. + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  26564. + # as there is no search path for DLLs.
  26565. + hardcode_libdir_flag_spec='-L$libdir'
  26566. + export_dynamic_flag_spec='${wl}--export-all-symbols'
  26567. + allow_undefined_flag=unsupported
  26568. + always_export_symbols=no
  26569. + enable_shared_with_static_runtimes=yes
  26570. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  26571. + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  26572. +
  26573. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  26574. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  26575. + # If the export-symbols file already is a .def file (1st line
  26576. + # is EXPORTS), use it as is; otherwise, prepend...
  26577. + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  26578. + cp $export_symbols $output_objdir/$soname.def;
  26579. + else
  26580. + echo EXPORTS > $output_objdir/$soname.def;
  26581. + cat $export_symbols >> $output_objdir/$soname.def;
  26582. + fi~
  26583. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  26584. + else
  26585. + ld_shlibs=no
  26586. + fi
  26587. + ;;
  26588. +
  26589. + haiku*)
  26590. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  26591. + link_all_deplibs=yes
  26592. + ;;
  26593. +
  26594. + interix[3-9]*)
  26595. + hardcode_direct=no
  26596. + hardcode_shlibpath_var=no
  26597. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  26598. + export_dynamic_flag_spec='${wl}-E'
  26599. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  26600. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  26601. + # default) and relocated if they conflict, which is a slow very memory
  26602. + # consuming and fragmenting process. To avoid this, we pick a random,
  26603. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  26604. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  26605. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  26606. + 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'
  26607. + ;;
  26608. +
  26609. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  26610. + tmp_diet=no
  26611. + if test "$host_os" = linux-dietlibc; then
  26612. + case $cc_basename in
  26613. + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  26614. + esac
  26615. + fi
  26616. + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  26617. + && test "$tmp_diet" = no
  26618. + then
  26619. + tmp_addflag=' $pic_flag'
  26620. + tmp_sharedflag='-shared'
  26621. + case $cc_basename,$host_cpu in
  26622. + pgcc*) # Portland Group C compiler
  26623. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  26624. + tmp_addflag=' $pic_flag'
  26625. + ;;
  26626. + pgf77* | pgf90* | pgf95* | pgfortran*)
  26627. + # Portland Group f77 and f90 compilers
  26628. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  26629. + tmp_addflag=' $pic_flag -Mnomain' ;;
  26630. + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  26631. + tmp_addflag=' -i_dynamic' ;;
  26632. + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  26633. + tmp_addflag=' -i_dynamic -nofor_main' ;;
  26634. + ifc* | ifort*) # Intel Fortran compiler
  26635. + tmp_addflag=' -nofor_main' ;;
  26636. + lf95*) # Lahey Fortran 8.1
  26637. + whole_archive_flag_spec=
  26638. + tmp_sharedflag='--shared' ;;
  26639. + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  26640. + tmp_sharedflag='-qmkshrobj'
  26641. + tmp_addflag= ;;
  26642. + nvcc*) # Cuda Compiler Driver 2.2
  26643. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  26644. + compiler_needs_object=yes
  26645. + ;;
  26646. + esac
  26647. + case `$CC -V 2>&1 | sed 5q` in
  26648. + *Sun\ C*) # Sun C 5.9
  26649. + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  26650. + compiler_needs_object=yes
  26651. + tmp_sharedflag='-G' ;;
  26652. + *Sun\ F*) # Sun Fortran 8.3
  26653. + tmp_sharedflag='-G' ;;
  26654. + esac
  26655. + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  26656. +
  26657. + if test "x$supports_anon_versioning" = xyes; then
  26658. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  26659. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  26660. + echo "local: *; };" >> $output_objdir/$libname.ver~
  26661. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  26662. + fi
  26663. +
  26664. + case $cc_basename in
  26665. + xlf* | bgf* | bgxlf* | mpixlf*)
  26666. + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  26667. + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  26668. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  26669. + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  26670. + if test "x$supports_anon_versioning" = xyes; then
  26671. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  26672. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  26673. + echo "local: *; };" >> $output_objdir/$libname.ver~
  26674. + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  26675. + fi
  26676. + ;;
  26677. + esac
  26678. + else
  26679. + ld_shlibs=no
  26680. + fi
  26681. + ;;
  26682. +
  26683. + netbsd* | netbsdelf*-gnu)
  26684. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  26685. + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  26686. + wlarc=
  26687. + else
  26688. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  26689. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  26690. + fi
  26691. + ;;
  26692. +
  26693. + solaris*)
  26694. + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  26695. + ld_shlibs=no
  26696. + cat <<_LT_EOF 1>&2
  26697. +
  26698. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  26699. +*** create shared libraries on Solaris systems. Therefore, libtool
  26700. +*** is disabling shared libraries support. We urge you to upgrade GNU
  26701. +*** binutils to release 2.9.1 or newer. Another option is to modify
  26702. +*** your PATH or compiler configuration so that the native linker is
  26703. +*** used, and then restart.
  26704. +
  26705. +_LT_EOF
  26706. + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  26707. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  26708. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  26709. + else
  26710. + ld_shlibs=no
  26711. + fi
  26712. + ;;
  26713. +
  26714. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  26715. + case `$LD -v 2>&1` in
  26716. + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  26717. + ld_shlibs=no
  26718. + cat <<_LT_EOF 1>&2
  26719. +
  26720. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  26721. +*** reliably create shared libraries on SCO systems. Therefore, libtool
  26722. +*** is disabling shared libraries support. We urge you to upgrade GNU
  26723. +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  26724. +*** your PATH or compiler configuration so that the native linker is
  26725. +*** used, and then restart.
  26726. +
  26727. +_LT_EOF
  26728. + ;;
  26729. + *)
  26730. + # For security reasons, it is highly recommended that you always
  26731. + # use absolute paths for naming shared libraries, and exclude the
  26732. + # DT_RUNPATH tag from executables and libraries. But doing so
  26733. + # requires that you compile everything twice, which is a pain.
  26734. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  26735. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  26736. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  26737. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  26738. + else
  26739. + ld_shlibs=no
  26740. + fi
  26741. + ;;
  26742. + esac
  26743. + ;;
  26744. +
  26745. + sunos4*)
  26746. + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  26747. + wlarc=
  26748. + hardcode_direct=yes
  26749. + hardcode_shlibpath_var=no
  26750. + ;;
  26751. +
  26752. + *)
  26753. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  26754. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  26755. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  26756. + else
  26757. + ld_shlibs=no
  26758. + fi
  26759. + ;;
  26760. + esac
  26761. +
  26762. + if test "$ld_shlibs" = no; then
  26763. + runpath_var=
  26764. + hardcode_libdir_flag_spec=
  26765. + export_dynamic_flag_spec=
  26766. + whole_archive_flag_spec=
  26767. + fi
  26768. + else
  26769. + # PORTME fill in a description of your system's linker (not GNU ld)
  26770. + case $host_os in
  26771. + aix3*)
  26772. + allow_undefined_flag=unsupported
  26773. + always_export_symbols=yes
  26774. + 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'
  26775. + # Note: this linker hardcodes the directories in LIBPATH if there
  26776. + # are no directories specified by -L.
  26777. + hardcode_minus_L=yes
  26778. + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  26779. + # Neither direct hardcoding nor static linking is supported with a
  26780. + # broken collect2.
  26781. + hardcode_direct=unsupported
  26782. + fi
  26783. + ;;
  26784. +
  26785. + aix[4-9]*)
  26786. + if test "$host_cpu" = ia64; then
  26787. + # On IA64, the linker does run time linking by default, so we don't
  26788. + # have to do anything special.
  26789. + aix_use_runtimelinking=no
  26790. + exp_sym_flag='-Bexport'
  26791. + no_entry_flag=""
  26792. + else
  26793. + # If we're using GNU nm, then we don't want the "-C" option.
  26794. + # -C means demangle to AIX nm, but means don't demangle with GNU nm
  26795. + # Also, AIX nm treats weak defined symbols like other global
  26796. + # defined symbols, whereas GNU nm marks them as "W".
  26797. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  26798. + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  26799. + else
  26800. + 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'
  26801. + fi
  26802. + aix_use_runtimelinking=no
  26803. +
  26804. + # Test if we are trying to use run time linking or normal
  26805. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  26806. + # need to do runtime linking.
  26807. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  26808. + for ld_flag in $LDFLAGS; do
  26809. + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  26810. + aix_use_runtimelinking=yes
  26811. + break
  26812. + fi
  26813. + done
  26814. + ;;
  26815. + esac
  26816. +
  26817. + exp_sym_flag='-bexport'
  26818. + no_entry_flag='-bnoentry'
  26819. + fi
  26820. +
  26821. + # When large executables or shared objects are built, AIX ld can
  26822. + # have problems creating the table of contents. If linking a library
  26823. + # or program results in "error TOC overflow" add -mminimal-toc to
  26824. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  26825. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  26826. +
  26827. + archive_cmds=''
  26828. + hardcode_direct=yes
  26829. + hardcode_direct_absolute=yes
  26830. + hardcode_libdir_separator=':'
  26831. + link_all_deplibs=yes
  26832. + file_list_spec='${wl}-f,'
  26833. +
  26834. + if test "$GCC" = yes; then
  26835. + case $host_os in aix4.[012]|aix4.[012].*)
  26836. + # We only want to do this on AIX 4.2 and lower, the check
  26837. + # below for broken collect2 doesn't work under 4.3+
  26838. + collect2name=`${CC} -print-prog-name=collect2`
  26839. + if test -f "$collect2name" &&
  26840. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  26841. + then
  26842. + # We have reworked collect2
  26843. + :
  26844. + else
  26845. + # We have old collect2
  26846. + hardcode_direct=unsupported
  26847. + # It fails to find uninstalled libraries when the uninstalled
  26848. + # path is not listed in the libpath. Setting hardcode_minus_L
  26849. + # to unsupported forces relinking
  26850. + hardcode_minus_L=yes
  26851. + hardcode_libdir_flag_spec='-L$libdir'
  26852. + hardcode_libdir_separator=
  26853. + fi
  26854. + ;;
  26855. + esac
  26856. + shared_flag='-shared'
  26857. + if test "$aix_use_runtimelinking" = yes; then
  26858. + shared_flag="$shared_flag "'${wl}-G'
  26859. + fi
  26860. + link_all_deplibs=no
  26861. + else
  26862. + # not using gcc
  26863. + if test "$host_cpu" = ia64; then
  26864. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  26865. + # chokes on -Wl,-G. The following line is correct:
  26866. + shared_flag='-G'
  26867. + else
  26868. + if test "$aix_use_runtimelinking" = yes; then
  26869. + shared_flag='${wl}-G'
  26870. + else
  26871. + shared_flag='${wl}-bM:SRE'
  26872. + fi
  26873. + fi
  26874. + fi
  26875. +
  26876. + export_dynamic_flag_spec='${wl}-bexpall'
  26877. + # It seems that -bexpall does not export symbols beginning with
  26878. + # underscore (_), so it is better to generate a list of symbols to export.
  26879. + always_export_symbols=yes
  26880. + if test "$aix_use_runtimelinking" = yes; then
  26881. + # Warning - without using the other runtime loading flags (-brtl),
  26882. + # -berok will link without error, but may produce a broken library.
  26883. + allow_undefined_flag='-berok'
  26884. + # Determine the default libpath from the value encoded in an
  26885. + # empty executable.
  26886. + if test "${lt_cv_aix_libpath+set}" = set; then
  26887. + aix_libpath=$lt_cv_aix_libpath
  26888. +else
  26889. + if ${lt_cv_aix_libpath_+:} false; then :
  26890. + $as_echo_n "(cached) " >&6
  26891. +else
  26892. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26893. +/* end confdefs.h. */
  26894. +
  26895. +int
  26896. +main ()
  26897. +{
  26898. +
  26899. + ;
  26900. + return 0;
  26901. +}
  26902. +_ACEOF
  26903. +if ac_fn_c_try_link "$LINENO"; then :
  26904. +
  26905. + lt_aix_libpath_sed='
  26906. + /Import File Strings/,/^$/ {
  26907. + /^0/ {
  26908. + s/^0 *\([^ ]*\) *$/\1/
  26909. + p
  26910. + }
  26911. + }'
  26912. + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  26913. + # Check for a 64-bit object if we didn't find anything.
  26914. + if test -z "$lt_cv_aix_libpath_"; then
  26915. + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  26916. + fi
  26917. +fi
  26918. +rm -f core conftest.err conftest.$ac_objext \
  26919. + conftest$ac_exeext conftest.$ac_ext
  26920. + if test -z "$lt_cv_aix_libpath_"; then
  26921. + lt_cv_aix_libpath_="/usr/lib:/lib"
  26922. + fi
  26923. +
  26924. +fi
  26925. +
  26926. + aix_libpath=$lt_cv_aix_libpath_
  26927. +fi
  26928. +
  26929. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  26930. + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  26931. + else
  26932. + if test "$host_cpu" = ia64; then
  26933. + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  26934. + allow_undefined_flag="-z nodefs"
  26935. + 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"
  26936. + else
  26937. + # Determine the default libpath from the value encoded in an
  26938. + # empty executable.
  26939. + if test "${lt_cv_aix_libpath+set}" = set; then
  26940. + aix_libpath=$lt_cv_aix_libpath
  26941. +else
  26942. + if ${lt_cv_aix_libpath_+:} false; then :
  26943. + $as_echo_n "(cached) " >&6
  26944. +else
  26945. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26946. +/* end confdefs.h. */
  26947. +
  26948. +int
  26949. +main ()
  26950. +{
  26951. +
  26952. + ;
  26953. + return 0;
  26954. +}
  26955. +_ACEOF
  26956. +if ac_fn_c_try_link "$LINENO"; then :
  26957. +
  26958. + lt_aix_libpath_sed='
  26959. + /Import File Strings/,/^$/ {
  26960. + /^0/ {
  26961. + s/^0 *\([^ ]*\) *$/\1/
  26962. + p
  26963. + }
  26964. + }'
  26965. + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  26966. + # Check for a 64-bit object if we didn't find anything.
  26967. + if test -z "$lt_cv_aix_libpath_"; then
  26968. + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  26969. + fi
  26970. +fi
  26971. +rm -f core conftest.err conftest.$ac_objext \
  26972. + conftest$ac_exeext conftest.$ac_ext
  26973. + if test -z "$lt_cv_aix_libpath_"; then
  26974. + lt_cv_aix_libpath_="/usr/lib:/lib"
  26975. + fi
  26976. +
  26977. +fi
  26978. +
  26979. + aix_libpath=$lt_cv_aix_libpath_
  26980. +fi
  26981. +
  26982. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  26983. + # Warning - without using the other run time loading flags,
  26984. + # -berok will link without error, but may produce a broken library.
  26985. + no_undefined_flag=' ${wl}-bernotok'
  26986. + allow_undefined_flag=' ${wl}-berok'
  26987. + if test "$with_gnu_ld" = yes; then
  26988. + # We only use this code for GNU lds that support --whole-archive.
  26989. + whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  26990. + else
  26991. + # Exported symbols can be pulled into shared objects from archives
  26992. + whole_archive_flag_spec='$convenience'
  26993. + fi
  26994. + archive_cmds_need_lc=yes
  26995. + # This is similar to how AIX traditionally builds its shared libraries.
  26996. + 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'
  26997. + fi
  26998. + fi
  26999. + ;;
  27000. +
  27001. + amigaos*)
  27002. + case $host_cpu in
  27003. + powerpc)
  27004. + # see comment about AmigaOS4 .so support
  27005. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  27006. + archive_expsym_cmds=''
  27007. + ;;
  27008. + m68k)
  27009. + 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)'
  27010. + hardcode_libdir_flag_spec='-L$libdir'
  27011. + hardcode_minus_L=yes
  27012. + ;;
  27013. + esac
  27014. + ;;
  27015. +
  27016. + bsdi[45]*)
  27017. + export_dynamic_flag_spec=-rdynamic
  27018. + ;;
  27019. +
  27020. + cygwin* | mingw* | pw32* | cegcc*)
  27021. + # When not using gcc, we currently assume that we are using
  27022. + # Microsoft Visual C++.
  27023. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  27024. + # no search path for DLLs.
  27025. + case $cc_basename in
  27026. + cl*)
  27027. + # Native MSVC
  27028. + hardcode_libdir_flag_spec=' '
  27029. + allow_undefined_flag=unsupported
  27030. + always_export_symbols=yes
  27031. + file_list_spec='@'
  27032. + # Tell ltmain to make .lib files, not .a files.
  27033. + libext=lib
  27034. + # Tell ltmain to make .dll files, not .so files.
  27035. + shrext_cmds=".dll"
  27036. + # FIXME: Setting linknames here is a bad hack.
  27037. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
  27038. + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  27039. + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
  27040. + else
  27041. + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
  27042. + fi~
  27043. + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  27044. + linknames='
  27045. + # The linker will not automatically build a static lib if we build a DLL.
  27046. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  27047. + enable_shared_with_static_runtimes=yes
  27048. + exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  27049. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  27050. + # Don't use ranlib
  27051. + old_postinstall_cmds='chmod 644 $oldlib'
  27052. + postlink_cmds='lt_outputfile="@OUTPUT@"~
  27053. + lt_tool_outputfile="@TOOL_OUTPUT@"~
  27054. + case $lt_outputfile in
  27055. + *.exe|*.EXE) ;;
  27056. + *)
  27057. + lt_outputfile="$lt_outputfile.exe"
  27058. + lt_tool_outputfile="$lt_tool_outputfile.exe"
  27059. + ;;
  27060. + esac~
  27061. + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
  27062. + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  27063. + $RM "$lt_outputfile.manifest";
  27064. + fi'
  27065. + ;;
  27066. + *)
  27067. + # Assume MSVC wrapper
  27068. + hardcode_libdir_flag_spec=' '
  27069. + allow_undefined_flag=unsupported
  27070. + # Tell ltmain to make .lib files, not .a files.
  27071. + libext=lib
  27072. + # Tell ltmain to make .dll files, not .so files.
  27073. + shrext_cmds=".dll"
  27074. + # FIXME: Setting linknames here is a bad hack.
  27075. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  27076. + # The linker will automatically build a .lib file if we build a DLL.
  27077. + old_archive_from_new_cmds='true'
  27078. + # FIXME: Should let the user specify the lib program.
  27079. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  27080. + enable_shared_with_static_runtimes=yes
  27081. + ;;
  27082. + esac
  27083. + ;;
  27084. +
  27085. + darwin* | rhapsody*)
  27086. +
  27087. +
  27088. + archive_cmds_need_lc=no
  27089. + hardcode_direct=no
  27090. + hardcode_automatic=yes
  27091. + hardcode_shlibpath_var=unsupported
  27092. + if test "$lt_cv_ld_force_load" = "yes"; then
  27093. + whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  27094. +
  27095. + else
  27096. + whole_archive_flag_spec=''
  27097. + fi
  27098. + link_all_deplibs=yes
  27099. + allow_undefined_flag="$_lt_dar_allow_undefined"
  27100. + case $cc_basename in
  27101. + ifort*) _lt_dar_can_shared=yes ;;
  27102. + *) _lt_dar_can_shared=$GCC ;;
  27103. + esac
  27104. + if test "$_lt_dar_can_shared" = "yes"; then
  27105. + output_verbose_link_cmd=func_echo_all
  27106. + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  27107. + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  27108. + 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}"
  27109. + 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}"
  27110. +
  27111. + else
  27112. + ld_shlibs=no
  27113. + fi
  27114. +
  27115. + ;;
  27116. +
  27117. + dgux*)
  27118. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  27119. + hardcode_libdir_flag_spec='-L$libdir'
  27120. + hardcode_shlibpath_var=no
  27121. + ;;
  27122. +
  27123. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  27124. + # support. Future versions do this automatically, but an explicit c++rt0.o
  27125. + # does not break anything, and helps significantly (at the cost of a little
  27126. + # extra space).
  27127. + freebsd2.2*)
  27128. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  27129. + hardcode_libdir_flag_spec='-R$libdir'
  27130. + hardcode_direct=yes
  27131. + hardcode_shlibpath_var=no
  27132. + ;;
  27133. +
  27134. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  27135. + freebsd2.*)
  27136. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  27137. + hardcode_direct=yes
  27138. + hardcode_minus_L=yes
  27139. + hardcode_shlibpath_var=no
  27140. + ;;
  27141. +
  27142. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  27143. + freebsd* | dragonfly*)
  27144. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  27145. + hardcode_libdir_flag_spec='-R$libdir'
  27146. + hardcode_direct=yes
  27147. + hardcode_shlibpath_var=no
  27148. + ;;
  27149. +
  27150. + hpux9*)
  27151. + if test "$GCC" = yes; then
  27152. + archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  27153. + else
  27154. + 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'
  27155. + fi
  27156. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  27157. + hardcode_libdir_separator=:
  27158. + hardcode_direct=yes
  27159. +
  27160. + # hardcode_minus_L: Not really in the search PATH,
  27161. + # but as the default location of the library.
  27162. + hardcode_minus_L=yes
  27163. + export_dynamic_flag_spec='${wl}-E'
  27164. + ;;
  27165. +
  27166. + hpux10*)
  27167. + if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  27168. + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  27169. + else
  27170. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  27171. + fi
  27172. + if test "$with_gnu_ld" = no; then
  27173. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  27174. + hardcode_libdir_separator=:
  27175. + hardcode_direct=yes
  27176. + hardcode_direct_absolute=yes
  27177. + export_dynamic_flag_spec='${wl}-E'
  27178. + # hardcode_minus_L: Not really in the search PATH,
  27179. + # but as the default location of the library.
  27180. + hardcode_minus_L=yes
  27181. + fi
  27182. + ;;
  27183. +
  27184. + hpux11*)
  27185. + if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  27186. + case $host_cpu in
  27187. + hppa*64*)
  27188. + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  27189. + ;;
  27190. + ia64*)
  27191. + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  27192. + ;;
  27193. + *)
  27194. + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  27195. + ;;
  27196. + esac
  27197. + else
  27198. + case $host_cpu in
  27199. + hppa*64*)
  27200. + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  27201. + ;;
  27202. + ia64*)
  27203. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  27204. + ;;
  27205. + *)
  27206. +
  27207. + # Older versions of the 11.00 compiler do not understand -b yet
  27208. + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  27209. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  27210. +$as_echo_n "checking if $CC understands -b... " >&6; }
  27211. +if ${lt_cv_prog_compiler__b+:} false; then :
  27212. + $as_echo_n "(cached) " >&6
  27213. +else
  27214. + lt_cv_prog_compiler__b=no
  27215. + save_LDFLAGS="$LDFLAGS"
  27216. + LDFLAGS="$LDFLAGS -b"
  27217. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  27218. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  27219. + # The linker can only warn and ignore the option if not recognized
  27220. + # So say no if there are warnings
  27221. + if test -s conftest.err; then
  27222. + # Append any errors to the config.log.
  27223. + cat conftest.err 1>&5
  27224. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  27225. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  27226. + if diff conftest.exp conftest.er2 >/dev/null; then
  27227. + lt_cv_prog_compiler__b=yes
  27228. + fi
  27229. + else
  27230. + lt_cv_prog_compiler__b=yes
  27231. + fi
  27232. + fi
  27233. + $RM -r conftest*
  27234. + LDFLAGS="$save_LDFLAGS"
  27235. +
  27236. +fi
  27237. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  27238. +$as_echo "$lt_cv_prog_compiler__b" >&6; }
  27239. +
  27240. +if test x"$lt_cv_prog_compiler__b" = xyes; then
  27241. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  27242. +else
  27243. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  27244. +fi
  27245. +
  27246. + ;;
  27247. + esac
  27248. + fi
  27249. + if test "$with_gnu_ld" = no; then
  27250. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  27251. + hardcode_libdir_separator=:
  27252. +
  27253. + case $host_cpu in
  27254. + hppa*64*|ia64*)
  27255. + hardcode_direct=no
  27256. + hardcode_shlibpath_var=no
  27257. + ;;
  27258. + *)
  27259. + hardcode_direct=yes
  27260. + hardcode_direct_absolute=yes
  27261. + export_dynamic_flag_spec='${wl}-E'
  27262. +
  27263. + # hardcode_minus_L: Not really in the search PATH,
  27264. + # but as the default location of the library.
  27265. + hardcode_minus_L=yes
  27266. + ;;
  27267. + esac
  27268. + fi
  27269. + ;;
  27270. +
  27271. + irix5* | irix6* | nonstopux*)
  27272. + if test "$GCC" = yes; then
  27273. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  27274. + # Try to use the -exported_symbol ld option, if it does not
  27275. + # work, assume that -exports_file does not work either and
  27276. + # implicitly export all symbols.
  27277. + # This should be the same for all languages, so no per-tag cache variable.
  27278. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  27279. +$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  27280. +if ${lt_cv_irix_exported_symbol+:} false; then :
  27281. + $as_echo_n "(cached) " >&6
  27282. +else
  27283. + save_LDFLAGS="$LDFLAGS"
  27284. + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  27285. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27286. +/* end confdefs.h. */
  27287. +int foo (void) { return 0; }
  27288. +_ACEOF
  27289. +if ac_fn_c_try_link "$LINENO"; then :
  27290. + lt_cv_irix_exported_symbol=yes
  27291. +else
  27292. + lt_cv_irix_exported_symbol=no
  27293. +fi
  27294. +rm -f core conftest.err conftest.$ac_objext \
  27295. + conftest$ac_exeext conftest.$ac_ext
  27296. + LDFLAGS="$save_LDFLAGS"
  27297. +fi
  27298. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  27299. +$as_echo "$lt_cv_irix_exported_symbol" >&6; }
  27300. + if test "$lt_cv_irix_exported_symbol" = yes; then
  27301. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  27302. + fi
  27303. + else
  27304. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  27305. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  27306. + fi
  27307. + archive_cmds_need_lc='no'
  27308. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  27309. + hardcode_libdir_separator=:
  27310. + inherit_rpath=yes
  27311. + link_all_deplibs=yes
  27312. + ;;
  27313. +
  27314. + netbsd* | netbsdelf*-gnu)
  27315. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  27316. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  27317. + else
  27318. + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  27319. + fi
  27320. + hardcode_libdir_flag_spec='-R$libdir'
  27321. + hardcode_direct=yes
  27322. + hardcode_shlibpath_var=no
  27323. + ;;
  27324. +
  27325. + newsos6)
  27326. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  27327. + hardcode_direct=yes
  27328. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  27329. + hardcode_libdir_separator=:
  27330. + hardcode_shlibpath_var=no
  27331. + ;;
  27332. +
  27333. + *nto* | *qnx*)
  27334. + ;;
  27335. +
  27336. + openbsd*)
  27337. + if test -f /usr/libexec/ld.so; then
  27338. + hardcode_direct=yes
  27339. + hardcode_shlibpath_var=no
  27340. + hardcode_direct_absolute=yes
  27341. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  27342. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  27343. + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  27344. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  27345. + export_dynamic_flag_spec='${wl}-E'
  27346. + else
  27347. + case $host_os in
  27348. + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  27349. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  27350. + hardcode_libdir_flag_spec='-R$libdir'
  27351. + ;;
  27352. + *)
  27353. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  27354. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  27355. + ;;
  27356. + esac
  27357. + fi
  27358. + else
  27359. + ld_shlibs=no
  27360. + fi
  27361. + ;;
  27362. +
  27363. + os2*)
  27364. + hardcode_libdir_flag_spec='-L$libdir'
  27365. + hardcode_minus_L=yes
  27366. + allow_undefined_flag=unsupported
  27367. + 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'
  27368. + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  27369. + ;;
  27370. +
  27371. + osf3*)
  27372. + if test "$GCC" = yes; then
  27373. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  27374. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  27375. + else
  27376. + allow_undefined_flag=' -expect_unresolved \*'
  27377. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  27378. + fi
  27379. + archive_cmds_need_lc='no'
  27380. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  27381. + hardcode_libdir_separator=:
  27382. + ;;
  27383. +
  27384. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  27385. + if test "$GCC" = yes; then
  27386. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  27387. + archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  27388. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  27389. + else
  27390. + allow_undefined_flag=' -expect_unresolved \*'
  27391. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  27392. + 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~
  27393. + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  27394. +
  27395. + # Both c and cxx compiler support -rpath directly
  27396. + hardcode_libdir_flag_spec='-rpath $libdir'
  27397. + fi
  27398. + archive_cmds_need_lc='no'
  27399. + hardcode_libdir_separator=:
  27400. + ;;
  27401. +
  27402. + solaris*)
  27403. + no_undefined_flag=' -z defs'
  27404. + if test "$GCC" = yes; then
  27405. + wlarc='${wl}'
  27406. + archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  27407. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  27408. + $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  27409. + else
  27410. + case `$CC -V 2>&1` in
  27411. + *"Compilers 5.0"*)
  27412. + wlarc=''
  27413. + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  27414. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  27415. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  27416. + ;;
  27417. + *)
  27418. + wlarc='${wl}'
  27419. + archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  27420. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  27421. + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  27422. + ;;
  27423. + esac
  27424. + fi
  27425. + hardcode_libdir_flag_spec='-R$libdir'
  27426. + hardcode_shlibpath_var=no
  27427. + case $host_os in
  27428. + solaris2.[0-5] | solaris2.[0-5].*) ;;
  27429. + *)
  27430. + # The compiler driver will combine and reorder linker options,
  27431. + # but understands `-z linker_flag'. GCC discards it without `$wl',
  27432. + # but is careful enough not to reorder.
  27433. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  27434. + if test "$GCC" = yes; then
  27435. + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  27436. + else
  27437. + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  27438. + fi
  27439. + ;;
  27440. + esac
  27441. + link_all_deplibs=yes
  27442. + ;;
  27443. +
  27444. + sunos4*)
  27445. + if test "x$host_vendor" = xsequent; then
  27446. + # Use $CC to link under sequent, because it throws in some extra .o
  27447. + # files that make .init and .fini sections work.
  27448. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  27449. + else
  27450. + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  27451. + fi
  27452. + hardcode_libdir_flag_spec='-L$libdir'
  27453. + hardcode_direct=yes
  27454. + hardcode_minus_L=yes
  27455. + hardcode_shlibpath_var=no
  27456. + ;;
  27457. +
  27458. + sysv4)
  27459. + case $host_vendor in
  27460. + sni)
  27461. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  27462. + hardcode_direct=yes # is this really true???
  27463. + ;;
  27464. + siemens)
  27465. + ## LD is ld it makes a PLAMLIB
  27466. + ## CC just makes a GrossModule.
  27467. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  27468. + reload_cmds='$CC -r -o $output$reload_objs'
  27469. + hardcode_direct=no
  27470. + ;;
  27471. + motorola)
  27472. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  27473. + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  27474. + ;;
  27475. + esac
  27476. + runpath_var='LD_RUN_PATH'
  27477. + hardcode_shlibpath_var=no
  27478. + ;;
  27479. +
  27480. + sysv4.3*)
  27481. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  27482. + hardcode_shlibpath_var=no
  27483. + export_dynamic_flag_spec='-Bexport'
  27484. + ;;
  27485. +
  27486. + sysv4*MP*)
  27487. + if test -d /usr/nec; then
  27488. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  27489. + hardcode_shlibpath_var=no
  27490. + runpath_var=LD_RUN_PATH
  27491. + hardcode_runpath_var=yes
  27492. + ld_shlibs=yes
  27493. + fi
  27494. + ;;
  27495. +
  27496. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  27497. + no_undefined_flag='${wl}-z,text'
  27498. + archive_cmds_need_lc=no
  27499. + hardcode_shlibpath_var=no
  27500. + runpath_var='LD_RUN_PATH'
  27501. +
  27502. + if test "$GCC" = yes; then
  27503. + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  27504. + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  27505. + else
  27506. + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  27507. + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  27508. + fi
  27509. + ;;
  27510. +
  27511. + sysv5* | sco3.2v5* | sco5v6*)
  27512. + # Note: We can NOT use -z defs as we might desire, because we do not
  27513. + # link with -lc, and that would cause any symbols used from libc to
  27514. + # always be unresolved, which means just about no library would
  27515. + # ever link correctly. If we're not using GNU ld we use -z text
  27516. + # though, which does catch some bad symbols but isn't as heavy-handed
  27517. + # as -z defs.
  27518. + no_undefined_flag='${wl}-z,text'
  27519. + allow_undefined_flag='${wl}-z,nodefs'
  27520. + archive_cmds_need_lc=no
  27521. + hardcode_shlibpath_var=no
  27522. + hardcode_libdir_flag_spec='${wl}-R,$libdir'
  27523. + hardcode_libdir_separator=':'
  27524. + link_all_deplibs=yes
  27525. + export_dynamic_flag_spec='${wl}-Bexport'
  27526. + runpath_var='LD_RUN_PATH'
  27527. +
  27528. + if test "$GCC" = yes; then
  27529. + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  27530. + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  27531. + else
  27532. + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  27533. + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  27534. + fi
  27535. + ;;
  27536. +
  27537. + uts4*)
  27538. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  27539. + hardcode_libdir_flag_spec='-L$libdir'
  27540. + hardcode_shlibpath_var=no
  27541. + ;;
  27542. +
  27543. + *)
  27544. + ld_shlibs=no
  27545. + ;;
  27546. + esac
  27547. +
  27548. + if test x$host_vendor = xsni; then
  27549. + case $host in
  27550. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  27551. + export_dynamic_flag_spec='${wl}-Blargedynsym'
  27552. + ;;
  27553. + esac
  27554. + fi
  27555. + fi
  27556. +
  27557. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  27558. +$as_echo "$ld_shlibs" >&6; }
  27559. +test "$ld_shlibs" = no && can_build_shared=no
  27560. +
  27561. +with_gnu_ld=$with_gnu_ld
  27562. +
  27563. +
  27564. +
  27565. +
  27566. +
  27567. +
  27568. +
  27569. +
  27570. +
  27571. +
  27572. +
  27573. +
  27574. +
  27575. +
  27576. +
  27577. +#
  27578. +# Do we need to explicitly link libc?
  27579. +#
  27580. +case "x$archive_cmds_need_lc" in
  27581. +x|xyes)
  27582. + # Assume -lc should be added
  27583. + archive_cmds_need_lc=yes
  27584. +
  27585. + if test "$enable_shared" = yes && test "$GCC" = yes; then
  27586. + case $archive_cmds in
  27587. + *'~'*)
  27588. + # FIXME: we may have to deal with multi-command sequences.
  27589. + ;;
  27590. + '$CC '*)
  27591. + # Test whether the compiler implicitly links with -lc since on some
  27592. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  27593. + # to ld, don't add -lc before -lgcc.
  27594. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  27595. +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  27596. +if ${lt_cv_archive_cmds_need_lc+:} false; then :
  27597. + $as_echo_n "(cached) " >&6
  27598. +else
  27599. + $RM conftest*
  27600. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  27601. +
  27602. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  27603. + (eval $ac_compile) 2>&5
  27604. + ac_status=$?
  27605. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  27606. + test $ac_status = 0; } 2>conftest.err; then
  27607. + soname=conftest
  27608. + lib=conftest
  27609. + libobjs=conftest.$ac_objext
  27610. + deplibs=
  27611. + wl=$lt_prog_compiler_wl
  27612. + pic_flag=$lt_prog_compiler_pic
  27613. + compiler_flags=-v
  27614. + linker_flags=-v
  27615. + verstring=
  27616. + output_objdir=.
  27617. + libname=conftest
  27618. + lt_save_allow_undefined_flag=$allow_undefined_flag
  27619. + allow_undefined_flag=
  27620. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  27621. + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  27622. + ac_status=$?
  27623. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  27624. + test $ac_status = 0; }
  27625. + then
  27626. + lt_cv_archive_cmds_need_lc=no
  27627. + else
  27628. + lt_cv_archive_cmds_need_lc=yes
  27629. + fi
  27630. + allow_undefined_flag=$lt_save_allow_undefined_flag
  27631. + else
  27632. + cat conftest.err 1>&5
  27633. + fi
  27634. + $RM conftest*
  27635. +
  27636. +fi
  27637. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  27638. +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  27639. + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  27640. + ;;
  27641. + esac
  27642. + fi
  27643. + ;;
  27644. +esac
  27645. +
  27646. +
  27647. +
  27648. +
  27649. +
  27650. +
  27651. +
  27652. +
  27653. +
  27654. +
  27655. +
  27656. +
  27657. +
  27658. +
  27659. +
  27660. +
  27661. +
  27662. +
  27663. +
  27664. +
  27665. +
  27666. +
  27667. +
  27668. +
  27669. +
  27670. +
  27671. +
  27672. +
  27673. +
  27674. +
  27675. +
  27676. +
  27677. +
  27678. +
  27679. +
  27680. +
  27681. +
  27682. +
  27683. +
  27684. +
  27685. +
  27686. +
  27687. +
  27688. +
  27689. +
  27690. +
  27691. +
  27692. +
  27693. +
  27694. +
  27695. +
  27696. +
  27697. +
  27698. +
  27699. +
  27700. +
  27701. +
  27702. +
  27703. +
  27704. +
  27705. +
  27706. +
  27707. +
  27708. +
  27709. +
  27710. +
  27711. +
  27712. +
  27713. +
  27714. +
  27715. +
  27716. +
  27717. +
  27718. +
  27719. +
  27720. +
  27721. +
  27722. +
  27723. +
  27724. +
  27725. +
  27726. +
  27727. +
  27728. +
  27729. +
  27730. +
  27731. +
  27732. +
  27733. +
  27734. +
  27735. +
  27736. +
  27737. +
  27738. +
  27739. +
  27740. +
  27741. +
  27742. +
  27743. +
  27744. +
  27745. +
  27746. +
  27747. +
  27748. +
  27749. +
  27750. +
  27751. +
  27752. +
  27753. +
  27754. +
  27755. +
  27756. +
  27757. +
  27758. +
  27759. +
  27760. +
  27761. +
  27762. +
  27763. +
  27764. +
  27765. +
  27766. +
  27767. +
  27768. +
  27769. +
  27770. +
  27771. +
  27772. +
  27773. +
  27774. +
  27775. +
  27776. +
  27777. +
  27778. +
  27779. +
  27780. +
  27781. +
  27782. +
  27783. +
  27784. +
  27785. +
  27786. +
  27787. +
  27788. +
  27789. +
  27790. +
  27791. +
  27792. +
  27793. +
  27794. +
  27795. +
  27796. +
  27797. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  27798. +$as_echo_n "checking dynamic linker characteristics... " >&6; }
  27799. +
  27800. +if test "$GCC" = yes; then
  27801. + case $host_os in
  27802. + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  27803. + *) lt_awk_arg="/^libraries:/" ;;
  27804. + esac
  27805. + case $host_os in
  27806. + mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
  27807. + *) lt_sed_strip_eq="s,=/,/,g" ;;
  27808. + esac
  27809. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  27810. + case $lt_search_path_spec in
  27811. + *\;*)
  27812. + # if the path contains ";" then we assume it to be the separator
  27813. + # otherwise default to the standard path separator (i.e. ":") - it is
  27814. + # assumed that no part of a normal pathname contains ";" but that should
  27815. + # okay in the real world where ";" in dirpaths is itself problematic.
  27816. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  27817. + ;;
  27818. + *)
  27819. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  27820. + ;;
  27821. + esac
  27822. + # Ok, now we have the path, separated by spaces, we can step through it
  27823. + # and add multilib dir if necessary.
  27824. + lt_tmp_lt_search_path_spec=
  27825. + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  27826. + for lt_sys_path in $lt_search_path_spec; do
  27827. + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  27828. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  27829. + else
  27830. + test -d "$lt_sys_path" && \
  27831. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  27832. + fi
  27833. + done
  27834. + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  27835. +BEGIN {RS=" "; FS="/|\n";} {
  27836. + lt_foo="";
  27837. + lt_count=0;
  27838. + for (lt_i = NF; lt_i > 0; lt_i--) {
  27839. + if ($lt_i != "" && $lt_i != ".") {
  27840. + if ($lt_i == "..") {
  27841. + lt_count++;
  27842. + } else {
  27843. + if (lt_count == 0) {
  27844. + lt_foo="/" $lt_i lt_foo;
  27845. + } else {
  27846. + lt_count--;
  27847. + }
  27848. + }
  27849. + }
  27850. + }
  27851. + if (lt_foo != "") { lt_freq[lt_foo]++; }
  27852. + if (lt_freq[lt_foo] == 1) { print lt_foo; }
  27853. +}'`
  27854. + # AWK program above erroneously prepends '/' to C:/dos/paths
  27855. + # for these hosts.
  27856. + case $host_os in
  27857. + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  27858. + $SED 's,/\([A-Za-z]:\),\1,g'` ;;
  27859. + esac
  27860. + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  27861. +else
  27862. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  27863. +fi
  27864. +library_names_spec=
  27865. +libname_spec='lib$name'
  27866. +soname_spec=
  27867. +shrext_cmds=".so"
  27868. +postinstall_cmds=
  27869. +postuninstall_cmds=
  27870. +finish_cmds=
  27871. +finish_eval=
  27872. +shlibpath_var=
  27873. +shlibpath_overrides_runpath=unknown
  27874. +version_type=none
  27875. +dynamic_linker="$host_os ld.so"
  27876. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  27877. +need_lib_prefix=unknown
  27878. +hardcode_into_libs=no
  27879. +
  27880. +# when you set need_version to no, make sure it does not cause -set_version
  27881. +# flags to be left without arguments
  27882. +need_version=unknown
  27883. +
  27884. +case $host_os in
  27885. +aix3*)
  27886. + version_type=linux # correct to gnu/linux during the next big refactor
  27887. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  27888. + shlibpath_var=LIBPATH
  27889. +
  27890. + # AIX 3 has no versioning support, so we append a major version to the name.
  27891. + soname_spec='${libname}${release}${shared_ext}$major'
  27892. + ;;
  27893. +
  27894. +aix[4-9]*)
  27895. + version_type=linux # correct to gnu/linux during the next big refactor
  27896. + need_lib_prefix=no
  27897. + need_version=no
  27898. + hardcode_into_libs=yes
  27899. + if test "$host_cpu" = ia64; then
  27900. + # AIX 5 supports IA64
  27901. + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  27902. + shlibpath_var=LD_LIBRARY_PATH
  27903. + else
  27904. + # With GCC up to 2.95.x, collect2 would create an import file
  27905. + # for dependence libraries. The import file would start with
  27906. + # the line `#! .'. This would cause the generated library to
  27907. + # depend on `.', always an invalid library. This was fixed in
  27908. + # development snapshots of GCC prior to 3.0.
  27909. + case $host_os in
  27910. + aix4 | aix4.[01] | aix4.[01].*)
  27911. + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  27912. + echo ' yes '
  27913. + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  27914. + :
  27915. + else
  27916. + can_build_shared=no
  27917. + fi
  27918. + ;;
  27919. + esac
  27920. + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  27921. + # soname into executable. Probably we can add versioning support to
  27922. + # collect2, so additional links can be useful in future.
  27923. + if test "$aix_use_runtimelinking" = yes; then
  27924. + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  27925. + # instead of lib<name>.a to let people know that these are not
  27926. + # typical AIX shared libraries.
  27927. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  27928. + else
  27929. + # We preserve .a as extension for shared libraries through AIX4.2
  27930. + # and later when we are not doing run time linking.
  27931. + library_names_spec='${libname}${release}.a $libname.a'
  27932. + soname_spec='${libname}${release}${shared_ext}$major'
  27933. + fi
  27934. + shlibpath_var=LIBPATH
  27935. + fi
  27936. + ;;
  27937. +
  27938. +amigaos*)
  27939. + case $host_cpu in
  27940. + powerpc)
  27941. + # Since July 2007 AmigaOS4 officially supports .so libraries.
  27942. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  27943. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  27944. + ;;
  27945. + m68k)
  27946. + library_names_spec='$libname.ixlibrary $libname.a'
  27947. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  27948. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
  27949. + ;;
  27950. + esac
  27951. + ;;
  27952. +
  27953. +beos*)
  27954. + library_names_spec='${libname}${shared_ext}'
  27955. + dynamic_linker="$host_os ld.so"
  27956. + shlibpath_var=LIBRARY_PATH
  27957. + ;;
  27958. +
  27959. +bsdi[45]*)
  27960. + version_type=linux # correct to gnu/linux during the next big refactor
  27961. + need_version=no
  27962. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  27963. + soname_spec='${libname}${release}${shared_ext}$major'
  27964. + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  27965. + shlibpath_var=LD_LIBRARY_PATH
  27966. + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  27967. + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  27968. + # the default ld.so.conf also contains /usr/contrib/lib and
  27969. + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  27970. + # libtool to hard-code these into programs
  27971. + ;;
  27972. +
  27973. +cygwin* | mingw* | pw32* | cegcc*)
  27974. + version_type=windows
  27975. + shrext_cmds=".dll"
  27976. + need_version=no
  27977. + need_lib_prefix=no
  27978. +
  27979. + case $GCC,$cc_basename in
  27980. + yes,*)
  27981. + # gcc
  27982. + library_names_spec='$libname.dll.a'
  27983. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  27984. + postinstall_cmds='base_file=`basename \${file}`~
  27985. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  27986. + dldir=$destdir/`dirname \$dlpath`~
  27987. + test -d \$dldir || mkdir -p \$dldir~
  27988. + $install_prog $dir/$dlname \$dldir/$dlname~
  27989. + chmod a+x \$dldir/$dlname~
  27990. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  27991. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  27992. + fi'
  27993. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  27994. + dlpath=$dir/\$dldll~
  27995. + $RM \$dlpath'
  27996. + shlibpath_overrides_runpath=yes
  27997. +
  27998. + case $host_os in
  27999. + cygwin*)
  28000. + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  28001. + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  28002. +
  28003. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  28004. + ;;
  28005. + mingw* | cegcc*)
  28006. + # MinGW DLLs use traditional 'lib' prefix
  28007. + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  28008. + ;;
  28009. + pw32*)
  28010. + # pw32 DLLs use 'pw' prefix rather than 'lib'
  28011. + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  28012. + ;;
  28013. + esac
  28014. + dynamic_linker='Win32 ld.exe'
  28015. + ;;
  28016. +
  28017. + *,cl*)
  28018. + # Native MSVC
  28019. + libname_spec='$name'
  28020. + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  28021. + library_names_spec='${libname}.dll.lib'
  28022. +
  28023. + case $build_os in
  28024. + mingw*)
  28025. + sys_lib_search_path_spec=
  28026. + lt_save_ifs=$IFS
  28027. + IFS=';'
  28028. + for lt_path in $LIB
  28029. + do
  28030. + IFS=$lt_save_ifs
  28031. + # Let DOS variable expansion print the short 8.3 style file name.
  28032. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  28033. + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  28034. + done
  28035. + IFS=$lt_save_ifs
  28036. + # Convert to MSYS style.
  28037. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  28038. + ;;
  28039. + cygwin*)
  28040. + # Convert to unix form, then to dos form, then back to unix form
  28041. + # but this time dos style (no spaces!) so that the unix form looks
  28042. + # like /cygdrive/c/PROGRA~1:/cygdr...
  28043. + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  28044. + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  28045. + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  28046. + ;;
  28047. + *)
  28048. + sys_lib_search_path_spec="$LIB"
  28049. + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  28050. + # It is most probably a Windows format PATH.
  28051. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  28052. + else
  28053. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  28054. + fi
  28055. + # FIXME: find the short name or the path components, as spaces are
  28056. + # common. (e.g. "Program Files" -> "PROGRA~1")
  28057. + ;;
  28058. + esac
  28059. +
  28060. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  28061. + postinstall_cmds='base_file=`basename \${file}`~
  28062. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  28063. + dldir=$destdir/`dirname \$dlpath`~
  28064. + test -d \$dldir || mkdir -p \$dldir~
  28065. + $install_prog $dir/$dlname \$dldir/$dlname'
  28066. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  28067. + dlpath=$dir/\$dldll~
  28068. + $RM \$dlpath'
  28069. + shlibpath_overrides_runpath=yes
  28070. + dynamic_linker='Win32 link.exe'
  28071. + ;;
  28072. +
  28073. + *)
  28074. + # Assume MSVC wrapper
  28075. + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  28076. + dynamic_linker='Win32 ld.exe'
  28077. + ;;
  28078. + esac
  28079. + # FIXME: first we should search . and the directory the executable is in
  28080. + shlibpath_var=PATH
  28081. + ;;
  28082. +
  28083. +darwin* | rhapsody*)
  28084. + dynamic_linker="$host_os dyld"
  28085. + version_type=darwin
  28086. + need_lib_prefix=no
  28087. + need_version=no
  28088. + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  28089. + soname_spec='${libname}${release}${major}$shared_ext'
  28090. + shlibpath_overrides_runpath=yes
  28091. + shlibpath_var=DYLD_LIBRARY_PATH
  28092. + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  28093. +
  28094. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  28095. + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  28096. + ;;
  28097. +
  28098. +dgux*)
  28099. + version_type=linux # correct to gnu/linux during the next big refactor
  28100. + need_lib_prefix=no
  28101. + need_version=no
  28102. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  28103. + soname_spec='${libname}${release}${shared_ext}$major'
  28104. + shlibpath_var=LD_LIBRARY_PATH
  28105. + ;;
  28106. +
  28107. +freebsd* | dragonfly*)
  28108. + # DragonFly does not have aout. When/if they implement a new
  28109. + # versioning mechanism, adjust this.
  28110. + if test -x /usr/bin/objformat; then
  28111. + objformat=`/usr/bin/objformat`
  28112. + else
  28113. + case $host_os in
  28114. + freebsd[23].*) objformat=aout ;;
  28115. + *) objformat=elf ;;
  28116. + esac
  28117. + fi
  28118. + version_type=freebsd-$objformat
  28119. + case $version_type in
  28120. + freebsd-elf*)
  28121. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  28122. + need_version=no
  28123. + need_lib_prefix=no
  28124. + ;;
  28125. + freebsd-*)
  28126. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  28127. + need_version=yes
  28128. + ;;
  28129. + esac
  28130. + shlibpath_var=LD_LIBRARY_PATH
  28131. + case $host_os in
  28132. + freebsd2.*)
  28133. + shlibpath_overrides_runpath=yes
  28134. + ;;
  28135. + freebsd3.[01]* | freebsdelf3.[01]*)
  28136. + shlibpath_overrides_runpath=yes
  28137. + hardcode_into_libs=yes
  28138. + ;;
  28139. + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  28140. + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  28141. + shlibpath_overrides_runpath=no
  28142. + hardcode_into_libs=yes
  28143. + ;;
  28144. + *) # from 4.6 on, and DragonFly
  28145. + shlibpath_overrides_runpath=yes
  28146. + hardcode_into_libs=yes
  28147. + ;;
  28148. + esac
  28149. + ;;
  28150. +
  28151. +haiku*)
  28152. + version_type=linux # correct to gnu/linux during the next big refactor
  28153. + need_lib_prefix=no
  28154. + need_version=no
  28155. + dynamic_linker="$host_os runtime_loader"
  28156. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  28157. + soname_spec='${libname}${release}${shared_ext}$major'
  28158. + shlibpath_var=LIBRARY_PATH
  28159. + shlibpath_overrides_runpath=yes
  28160. + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  28161. + hardcode_into_libs=yes
  28162. + ;;
  28163. +
  28164. +hpux9* | hpux10* | hpux11*)
  28165. + # Give a soname corresponding to the major version so that dld.sl refuses to
  28166. + # link against other versions.
  28167. + version_type=sunos
  28168. + need_lib_prefix=no
  28169. + need_version=no
  28170. + case $host_cpu in
  28171. + ia64*)
  28172. + shrext_cmds='.so'
  28173. + hardcode_into_libs=yes
  28174. + dynamic_linker="$host_os dld.so"
  28175. + shlibpath_var=LD_LIBRARY_PATH
  28176. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  28177. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  28178. + soname_spec='${libname}${release}${shared_ext}$major'
  28179. + if test "X$HPUX_IA64_MODE" = X32; then
  28180. + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  28181. + else
  28182. + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  28183. + fi
  28184. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  28185. + ;;
  28186. + hppa*64*)
  28187. + shrext_cmds='.sl'
  28188. + hardcode_into_libs=yes
  28189. + dynamic_linker="$host_os dld.sl"
  28190. + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  28191. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  28192. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  28193. + soname_spec='${libname}${release}${shared_ext}$major'
  28194. + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  28195. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  28196. + ;;
  28197. + *)
  28198. + shrext_cmds='.sl'
  28199. + dynamic_linker="$host_os dld.sl"
  28200. + shlibpath_var=SHLIB_PATH
  28201. + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  28202. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  28203. + soname_spec='${libname}${release}${shared_ext}$major'
  28204. + ;;
  28205. + esac
  28206. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  28207. + postinstall_cmds='chmod 555 $lib'
  28208. + # or fails outright, so override atomically:
  28209. + install_override_mode=555
  28210. + ;;
  28211. +
  28212. +interix[3-9]*)
  28213. + version_type=linux # correct to gnu/linux during the next big refactor
  28214. + need_lib_prefix=no
  28215. + need_version=no
  28216. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  28217. + soname_spec='${libname}${release}${shared_ext}$major'
  28218. + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  28219. + shlibpath_var=LD_LIBRARY_PATH
  28220. + shlibpath_overrides_runpath=no
  28221. + hardcode_into_libs=yes
  28222. + ;;
  28223. +
  28224. +irix5* | irix6* | nonstopux*)
  28225. + case $host_os in
  28226. + nonstopux*) version_type=nonstopux ;;
  28227. + *)
  28228. + if test "$lt_cv_prog_gnu_ld" = yes; then
  28229. + version_type=linux # correct to gnu/linux during the next big refactor
  28230. + else
  28231. + version_type=irix
  28232. + fi ;;
  28233. + esac
  28234. + need_lib_prefix=no
  28235. + need_version=no
  28236. + soname_spec='${libname}${release}${shared_ext}$major'
  28237. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  28238. + case $host_os in
  28239. + irix5* | nonstopux*)
  28240. + libsuff= shlibsuff=
  28241. + ;;
  28242. + *)
  28243. + case $LD in # libtool.m4 will add one of these switches to LD
  28244. + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  28245. + libsuff= shlibsuff= libmagic=32-bit;;
  28246. + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  28247. + libsuff=32 shlibsuff=N32 libmagic=N32;;
  28248. + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  28249. + libsuff=64 shlibsuff=64 libmagic=64-bit;;
  28250. + *) libsuff= shlibsuff= libmagic=never-match;;
  28251. + esac
  28252. + ;;
  28253. + esac
  28254. + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  28255. + shlibpath_overrides_runpath=no
  28256. + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  28257. + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  28258. + hardcode_into_libs=yes
  28259. + ;;
  28260. +
  28261. +# No shared lib support for Linux oldld, aout, or coff.
  28262. +linux*oldld* | linux*aout* | linux*coff*)
  28263. + dynamic_linker=no
  28264. + ;;
  28265. +
  28266. +# This must be glibc/ELF.
  28267. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  28268. + version_type=linux # correct to gnu/linux during the next big refactor
  28269. + need_lib_prefix=no
  28270. + need_version=no
  28271. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  28272. + soname_spec='${libname}${release}${shared_ext}$major'
  28273. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  28274. + shlibpath_var=LD_LIBRARY_PATH
  28275. + shlibpath_overrides_runpath=no
  28276. +
  28277. + # Some binutils ld are patched to set DT_RUNPATH
  28278. + if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  28279. + $as_echo_n "(cached) " >&6
  28280. +else
  28281. + lt_cv_shlibpath_overrides_runpath=no
  28282. + save_LDFLAGS=$LDFLAGS
  28283. + save_libdir=$libdir
  28284. + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  28285. + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  28286. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28287. +/* end confdefs.h. */
  28288. +
  28289. +int
  28290. +main ()
  28291. +{
  28292. +
  28293. + ;
  28294. + return 0;
  28295. +}
  28296. +_ACEOF
  28297. +if ac_fn_c_try_link "$LINENO"; then :
  28298. + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  28299. + lt_cv_shlibpath_overrides_runpath=yes
  28300. +fi
  28301. +fi
  28302. +rm -f core conftest.err conftest.$ac_objext \
  28303. + conftest$ac_exeext conftest.$ac_ext
  28304. + LDFLAGS=$save_LDFLAGS
  28305. + libdir=$save_libdir
  28306. +
  28307. +fi
  28308. +
  28309. + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  28310. +
  28311. + # This implies no fast_install, which is unacceptable.
  28312. + # Some rework will be needed to allow for fast_install
  28313. + # before this can be enabled.
  28314. + hardcode_into_libs=yes
  28315. +
  28316. + # Append ld.so.conf contents to the search path
  28317. + if test -f /etc/ld.so.conf; then
  28318. + 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;s/"//g;/^$/d' | tr '\n' ' '`
  28319. + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  28320. + fi
  28321. +
  28322. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  28323. + # powerpc, because MkLinux only supported shared libraries with the
  28324. + # GNU dynamic linker. Since this was broken with cross compilers,
  28325. + # most powerpc-linux boxes support dynamic linking these days and
  28326. + # people can always --disable-shared, the test was removed, and we
  28327. + # assume the GNU/Linux dynamic linker is in use.
  28328. + dynamic_linker='GNU/Linux ld.so'
  28329. + ;;
  28330. +
  28331. +netbsdelf*-gnu)
  28332. + version_type=linux
  28333. + need_lib_prefix=no
  28334. + need_version=no
  28335. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  28336. + soname_spec='${libname}${release}${shared_ext}$major'
  28337. + shlibpath_var=LD_LIBRARY_PATH
  28338. + shlibpath_overrides_runpath=no
  28339. + hardcode_into_libs=yes
  28340. + dynamic_linker='NetBSD ld.elf_so'
  28341. + ;;
  28342. +
  28343. +netbsd*)
  28344. + version_type=sunos
  28345. + need_lib_prefix=no
  28346. + need_version=no
  28347. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  28348. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  28349. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  28350. + dynamic_linker='NetBSD (a.out) ld.so'
  28351. + else
  28352. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  28353. + soname_spec='${libname}${release}${shared_ext}$major'
  28354. + dynamic_linker='NetBSD ld.elf_so'
  28355. + fi
  28356. + shlibpath_var=LD_LIBRARY_PATH
  28357. + shlibpath_overrides_runpath=yes
  28358. + hardcode_into_libs=yes
  28359. + ;;
  28360. +
  28361. +newsos6)
  28362. + version_type=linux # correct to gnu/linux during the next big refactor
  28363. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  28364. + shlibpath_var=LD_LIBRARY_PATH
  28365. + shlibpath_overrides_runpath=yes
  28366. + ;;
  28367. +
  28368. +*nto* | *qnx*)
  28369. + version_type=qnx
  28370. + need_lib_prefix=no
  28371. + need_version=no
  28372. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  28373. + soname_spec='${libname}${release}${shared_ext}$major'
  28374. + shlibpath_var=LD_LIBRARY_PATH
  28375. + shlibpath_overrides_runpath=no
  28376. + hardcode_into_libs=yes
  28377. + dynamic_linker='ldqnx.so'
  28378. + ;;
  28379. +
  28380. +openbsd*)
  28381. + version_type=sunos
  28382. + sys_lib_dlsearch_path_spec="/usr/lib"
  28383. + need_lib_prefix=no
  28384. + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  28385. + case $host_os in
  28386. + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  28387. + *) need_version=no ;;
  28388. + esac
  28389. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  28390. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  28391. + shlibpath_var=LD_LIBRARY_PATH
  28392. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  28393. + case $host_os in
  28394. + openbsd2.[89] | openbsd2.[89].*)
  28395. + shlibpath_overrides_runpath=no
  28396. + ;;
  28397. + *)
  28398. + shlibpath_overrides_runpath=yes
  28399. + ;;
  28400. + esac
  28401. + else
  28402. + shlibpath_overrides_runpath=yes
  28403. + fi
  28404. + ;;
  28405. +
  28406. +os2*)
  28407. + libname_spec='$name'
  28408. + shrext_cmds=".dll"
  28409. + need_lib_prefix=no
  28410. + library_names_spec='$libname${shared_ext} $libname.a'
  28411. + dynamic_linker='OS/2 ld.exe'
  28412. + shlibpath_var=LIBPATH
  28413. + ;;
  28414. +
  28415. +osf3* | osf4* | osf5*)
  28416. + version_type=osf
  28417. + need_lib_prefix=no
  28418. + need_version=no
  28419. + soname_spec='${libname}${release}${shared_ext}$major'
  28420. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  28421. + shlibpath_var=LD_LIBRARY_PATH
  28422. + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  28423. + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  28424. + ;;
  28425. +
  28426. +rdos*)
  28427. + dynamic_linker=no
  28428. + ;;
  28429. +
  28430. +solaris*)
  28431. + version_type=linux # correct to gnu/linux during the next big refactor
  28432. + need_lib_prefix=no
  28433. + need_version=no
  28434. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  28435. + soname_spec='${libname}${release}${shared_ext}$major'
  28436. + shlibpath_var=LD_LIBRARY_PATH
  28437. + shlibpath_overrides_runpath=yes
  28438. + hardcode_into_libs=yes
  28439. + # ldd complains unless libraries are executable
  28440. + postinstall_cmds='chmod +x $lib'
  28441. + ;;
  28442. +
  28443. +sunos4*)
  28444. + version_type=sunos
  28445. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  28446. + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  28447. + shlibpath_var=LD_LIBRARY_PATH
  28448. + shlibpath_overrides_runpath=yes
  28449. + if test "$with_gnu_ld" = yes; then
  28450. + need_lib_prefix=no
  28451. + fi
  28452. + need_version=yes
  28453. + ;;
  28454. +
  28455. +sysv4 | sysv4.3*)
  28456. + version_type=linux # correct to gnu/linux during the next big refactor
  28457. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  28458. + soname_spec='${libname}${release}${shared_ext}$major'
  28459. + shlibpath_var=LD_LIBRARY_PATH
  28460. + case $host_vendor in
  28461. + sni)
  28462. + shlibpath_overrides_runpath=no
  28463. + need_lib_prefix=no
  28464. + runpath_var=LD_RUN_PATH
  28465. + ;;
  28466. + siemens)
  28467. + need_lib_prefix=no
  28468. + ;;
  28469. + motorola)
  28470. + need_lib_prefix=no
  28471. + need_version=no
  28472. + shlibpath_overrides_runpath=no
  28473. + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  28474. + ;;
  28475. + esac
  28476. + ;;
  28477. +
  28478. +sysv4*MP*)
  28479. + if test -d /usr/nec ;then
  28480. + version_type=linux # correct to gnu/linux during the next big refactor
  28481. + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  28482. + soname_spec='$libname${shared_ext}.$major'
  28483. + shlibpath_var=LD_LIBRARY_PATH
  28484. + fi
  28485. + ;;
  28486. +
  28487. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  28488. + version_type=freebsd-elf
  28489. + need_lib_prefix=no
  28490. + need_version=no
  28491. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  28492. + soname_spec='${libname}${release}${shared_ext}$major'
  28493. + shlibpath_var=LD_LIBRARY_PATH
  28494. + shlibpath_overrides_runpath=yes
  28495. + hardcode_into_libs=yes
  28496. + if test "$with_gnu_ld" = yes; then
  28497. + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  28498. + else
  28499. + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  28500. + case $host_os in
  28501. + sco3.2v5*)
  28502. + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  28503. + ;;
  28504. + esac
  28505. + fi
  28506. + sys_lib_dlsearch_path_spec='/usr/lib'
  28507. + ;;
  28508. +
  28509. +tpf*)
  28510. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  28511. + version_type=linux # correct to gnu/linux during the next big refactor
  28512. + need_lib_prefix=no
  28513. + need_version=no
  28514. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  28515. + shlibpath_var=LD_LIBRARY_PATH
  28516. + shlibpath_overrides_runpath=no
  28517. + hardcode_into_libs=yes
  28518. + ;;
  28519. +
  28520. +uts4*)
  28521. + version_type=linux # correct to gnu/linux during the next big refactor
  28522. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  28523. + soname_spec='${libname}${release}${shared_ext}$major'
  28524. + shlibpath_var=LD_LIBRARY_PATH
  28525. + ;;
  28526. +
  28527. +*)
  28528. + dynamic_linker=no
  28529. + ;;
  28530. +esac
  28531. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  28532. +$as_echo "$dynamic_linker" >&6; }
  28533. +test "$dynamic_linker" = no && can_build_shared=no
  28534. +
  28535. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  28536. +if test "$GCC" = yes; then
  28537. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  28538. +fi
  28539. +
  28540. +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  28541. + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  28542. +fi
  28543. +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  28544. + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  28545. +fi
  28546. +
  28547. +
  28548. +
  28549. +
  28550. +
  28551. +
  28552. +
  28553. +
  28554. +
  28555. +
  28556. +
  28557. +
  28558. +
  28559. +
  28560. +
  28561. +
  28562. +
  28563. +
  28564. +
  28565. +
  28566. +
  28567. +
  28568. +
  28569. +
  28570. +
  28571. +
  28572. +
  28573. +
  28574. +
  28575. +
  28576. +
  28577. +
  28578. +
  28579. +
  28580. +
  28581. +
  28582. +
  28583. +
  28584. +
  28585. +
  28586. +
  28587. +
  28588. +
  28589. +
  28590. +
  28591. +
  28592. +
  28593. +
  28594. +
  28595. +
  28596. +
  28597. +
  28598. +
  28599. +
  28600. +
  28601. +
  28602. +
  28603. +
  28604. +
  28605. +
  28606. +
  28607. +
  28608. +
  28609. +
  28610. +
  28611. +
  28612. +
  28613. +
  28614. +
  28615. +
  28616. +
  28617. +
  28618. +
  28619. +
  28620. +
  28621. +
  28622. +
  28623. +
  28624. +
  28625. +
  28626. +
  28627. +
  28628. +
  28629. +
  28630. +
  28631. +
  28632. +
  28633. +
  28634. +
  28635. +
  28636. +
  28637. +
  28638. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  28639. +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  28640. +hardcode_action=
  28641. +if test -n "$hardcode_libdir_flag_spec" ||
  28642. + test -n "$runpath_var" ||
  28643. + test "X$hardcode_automatic" = "Xyes" ; then
  28644. +
  28645. + # We can hardcode non-existent directories.
  28646. + if test "$hardcode_direct" != no &&
  28647. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  28648. + # have to relink, otherwise we might link with an installed library
  28649. + # when we should be linking with a yet-to-be-installed one
  28650. + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  28651. + test "$hardcode_minus_L" != no; then
  28652. + # Linking always hardcodes the temporary library directory.
  28653. + hardcode_action=relink
  28654. + else
  28655. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  28656. + hardcode_action=immediate
  28657. + fi
  28658. +else
  28659. + # We cannot hardcode anything, or else we can only hardcode existing
  28660. + # directories.
  28661. + hardcode_action=unsupported
  28662. +fi
  28663. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  28664. +$as_echo "$hardcode_action" >&6; }
  28665. +
  28666. +if test "$hardcode_action" = relink ||
  28667. + test "$inherit_rpath" = yes; then
  28668. + # Fast installation is not supported
  28669. + enable_fast_install=no
  28670. +elif test "$shlibpath_overrides_runpath" = yes ||
  28671. + test "$enable_shared" = no; then
  28672. + # Fast installation is not necessary
  28673. + enable_fast_install=needless
  28674. +fi
  28675. +
  28676. +
  28677. +
  28678. +
  28679. +
  28680. +
  28681. + if test "x$enable_dlopen" != xyes; then
  28682. + enable_dlopen=unknown
  28683. + enable_dlopen_self=unknown
  28684. + enable_dlopen_self_static=unknown
  28685. +else
  28686. + lt_cv_dlopen=no
  28687. + lt_cv_dlopen_libs=
  28688. +
  28689. + case $host_os in
  28690. + beos*)
  28691. + lt_cv_dlopen="load_add_on"
  28692. + lt_cv_dlopen_libs=
  28693. + lt_cv_dlopen_self=yes
  28694. + ;;
  28695. +
  28696. + mingw* | pw32* | cegcc*)
  28697. + lt_cv_dlopen="LoadLibrary"
  28698. + lt_cv_dlopen_libs=
  28699. + ;;
  28700. +
  28701. + cygwin*)
  28702. + lt_cv_dlopen="dlopen"
  28703. + lt_cv_dlopen_libs=
  28704. + ;;
  28705. +
  28706. + darwin*)
  28707. + # if libdl is installed we need to link against it
  28708. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  28709. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  28710. +if ${ac_cv_lib_dl_dlopen+:} false; then :
  28711. + $as_echo_n "(cached) " >&6
  28712. +else
  28713. + ac_check_lib_save_LIBS=$LIBS
  28714. +LIBS="-ldl $LIBS"
  28715. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28716. +/* end confdefs.h. */
  28717. +
  28718. +/* Override any GCC internal prototype to avoid an error.
  28719. + Use char because int might match the return type of a GCC
  28720. + builtin and then its argument prototype would still apply. */
  28721. +#ifdef __cplusplus
  28722. +extern "C"
  28723. +#endif
  28724. +char dlopen ();
  28725. +int
  28726. +main ()
  28727. +{
  28728. +return dlopen ();
  28729. + ;
  28730. + return 0;
  28731. +}
  28732. +_ACEOF
  28733. +if ac_fn_c_try_link "$LINENO"; then :
  28734. + ac_cv_lib_dl_dlopen=yes
  28735. +else
  28736. + ac_cv_lib_dl_dlopen=no
  28737. +fi
  28738. +rm -f core conftest.err conftest.$ac_objext \
  28739. + conftest$ac_exeext conftest.$ac_ext
  28740. +LIBS=$ac_check_lib_save_LIBS
  28741. +fi
  28742. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  28743. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  28744. +if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  28745. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  28746. +else
  28747. +
  28748. + lt_cv_dlopen="dyld"
  28749. + lt_cv_dlopen_libs=
  28750. + lt_cv_dlopen_self=yes
  28751. +
  28752. +fi
  28753. +
  28754. + ;;
  28755. +
  28756. + *)
  28757. + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  28758. +if test "x$ac_cv_func_shl_load" = xyes; then :
  28759. + lt_cv_dlopen="shl_load"
  28760. +else
  28761. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  28762. +$as_echo_n "checking for shl_load in -ldld... " >&6; }
  28763. +if ${ac_cv_lib_dld_shl_load+:} false; then :
  28764. + $as_echo_n "(cached) " >&6
  28765. +else
  28766. + ac_check_lib_save_LIBS=$LIBS
  28767. +LIBS="-ldld $LIBS"
  28768. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28769. +/* end confdefs.h. */
  28770. +
  28771. +/* Override any GCC internal prototype to avoid an error.
  28772. + Use char because int might match the return type of a GCC
  28773. + builtin and then its argument prototype would still apply. */
  28774. +#ifdef __cplusplus
  28775. +extern "C"
  28776. +#endif
  28777. +char shl_load ();
  28778. +int
  28779. +main ()
  28780. +{
  28781. +return shl_load ();
  28782. + ;
  28783. + return 0;
  28784. +}
  28785. +_ACEOF
  28786. +if ac_fn_c_try_link "$LINENO"; then :
  28787. + ac_cv_lib_dld_shl_load=yes
  28788. +else
  28789. + ac_cv_lib_dld_shl_load=no
  28790. +fi
  28791. +rm -f core conftest.err conftest.$ac_objext \
  28792. + conftest$ac_exeext conftest.$ac_ext
  28793. +LIBS=$ac_check_lib_save_LIBS
  28794. +fi
  28795. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  28796. +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  28797. +if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  28798. + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  28799. +else
  28800. + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  28801. +if test "x$ac_cv_func_dlopen" = xyes; then :
  28802. + lt_cv_dlopen="dlopen"
  28803. +else
  28804. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  28805. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  28806. +if ${ac_cv_lib_dl_dlopen+:} false; then :
  28807. + $as_echo_n "(cached) " >&6
  28808. +else
  28809. + ac_check_lib_save_LIBS=$LIBS
  28810. +LIBS="-ldl $LIBS"
  28811. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28812. +/* end confdefs.h. */
  28813. +
  28814. +/* Override any GCC internal prototype to avoid an error.
  28815. + Use char because int might match the return type of a GCC
  28816. + builtin and then its argument prototype would still apply. */
  28817. +#ifdef __cplusplus
  28818. +extern "C"
  28819. +#endif
  28820. +char dlopen ();
  28821. +int
  28822. +main ()
  28823. +{
  28824. +return dlopen ();
  28825. + ;
  28826. + return 0;
  28827. +}
  28828. +_ACEOF
  28829. +if ac_fn_c_try_link "$LINENO"; then :
  28830. + ac_cv_lib_dl_dlopen=yes
  28831. +else
  28832. + ac_cv_lib_dl_dlopen=no
  28833. +fi
  28834. +rm -f core conftest.err conftest.$ac_objext \
  28835. + conftest$ac_exeext conftest.$ac_ext
  28836. +LIBS=$ac_check_lib_save_LIBS
  28837. +fi
  28838. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  28839. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  28840. +if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  28841. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  28842. +else
  28843. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  28844. +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  28845. +if ${ac_cv_lib_svld_dlopen+:} false; then :
  28846. + $as_echo_n "(cached) " >&6
  28847. +else
  28848. + ac_check_lib_save_LIBS=$LIBS
  28849. +LIBS="-lsvld $LIBS"
  28850. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28851. +/* end confdefs.h. */
  28852. +
  28853. +/* Override any GCC internal prototype to avoid an error.
  28854. + Use char because int might match the return type of a GCC
  28855. + builtin and then its argument prototype would still apply. */
  28856. +#ifdef __cplusplus
  28857. +extern "C"
  28858. +#endif
  28859. +char dlopen ();
  28860. +int
  28861. +main ()
  28862. +{
  28863. +return dlopen ();
  28864. + ;
  28865. + return 0;
  28866. +}
  28867. +_ACEOF
  28868. +if ac_fn_c_try_link "$LINENO"; then :
  28869. + ac_cv_lib_svld_dlopen=yes
  28870. +else
  28871. + ac_cv_lib_svld_dlopen=no
  28872. +fi
  28873. +rm -f core conftest.err conftest.$ac_objext \
  28874. + conftest$ac_exeext conftest.$ac_ext
  28875. +LIBS=$ac_check_lib_save_LIBS
  28876. +fi
  28877. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  28878. +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  28879. +if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  28880. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  28881. +else
  28882. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  28883. +$as_echo_n "checking for dld_link in -ldld... " >&6; }
  28884. +if ${ac_cv_lib_dld_dld_link+:} false; then :
  28885. + $as_echo_n "(cached) " >&6
  28886. +else
  28887. + ac_check_lib_save_LIBS=$LIBS
  28888. +LIBS="-ldld $LIBS"
  28889. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28890. +/* end confdefs.h. */
  28891. +
  28892. +/* Override any GCC internal prototype to avoid an error.
  28893. + Use char because int might match the return type of a GCC
  28894. + builtin and then its argument prototype would still apply. */
  28895. +#ifdef __cplusplus
  28896. +extern "C"
  28897. +#endif
  28898. +char dld_link ();
  28899. +int
  28900. +main ()
  28901. +{
  28902. +return dld_link ();
  28903. + ;
  28904. + return 0;
  28905. +}
  28906. +_ACEOF
  28907. +if ac_fn_c_try_link "$LINENO"; then :
  28908. + ac_cv_lib_dld_dld_link=yes
  28909. +else
  28910. + ac_cv_lib_dld_dld_link=no
  28911. +fi
  28912. +rm -f core conftest.err conftest.$ac_objext \
  28913. + conftest$ac_exeext conftest.$ac_ext
  28914. +LIBS=$ac_check_lib_save_LIBS
  28915. +fi
  28916. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  28917. +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  28918. +if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  28919. + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  28920. +fi
  28921. +
  28922. +
  28923. +fi
  28924. +
  28925. +
  28926. +fi
  28927. +
  28928. +
  28929. +fi
  28930. +
  28931. +
  28932. +fi
  28933. +
  28934. +
  28935. +fi
  28936. +
  28937. + ;;
  28938. + esac
  28939. +
  28940. + if test "x$lt_cv_dlopen" != xno; then
  28941. + enable_dlopen=yes
  28942. + else
  28943. + enable_dlopen=no
  28944. + fi
  28945. +
  28946. + case $lt_cv_dlopen in
  28947. + dlopen)
  28948. + save_CPPFLAGS="$CPPFLAGS"
  28949. + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  28950. +
  28951. + save_LDFLAGS="$LDFLAGS"
  28952. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  28953. +
  28954. + save_LIBS="$LIBS"
  28955. + LIBS="$lt_cv_dlopen_libs $LIBS"
  28956. +
  28957. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  28958. +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
  28959. +if ${lt_cv_dlopen_self+:} false; then :
  28960. + $as_echo_n "(cached) " >&6
  28961. +else
  28962. + if test "$cross_compiling" = yes; then :
  28963. + lt_cv_dlopen_self=cross
  28964. +else
  28965. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  28966. + lt_status=$lt_dlunknown
  28967. + cat > conftest.$ac_ext <<_LT_EOF
  28968. +#line $LINENO "configure"
  28969. +#include "confdefs.h"
  28970. +
  28971. +#if HAVE_DLFCN_H
  28972. +#include <dlfcn.h>
  28973. +#endif
  28974. +
  28975. +#include <stdio.h>
  28976. +
  28977. +#ifdef RTLD_GLOBAL
  28978. +# define LT_DLGLOBAL RTLD_GLOBAL
  28979. +#else
  28980. +# ifdef DL_GLOBAL
  28981. +# define LT_DLGLOBAL DL_GLOBAL
  28982. +# else
  28983. +# define LT_DLGLOBAL 0
  28984. +# endif
  28985. +#endif
  28986. +
  28987. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  28988. + find out it does not work in some platform. */
  28989. +#ifndef LT_DLLAZY_OR_NOW
  28990. +# ifdef RTLD_LAZY
  28991. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  28992. +# else
  28993. +# ifdef DL_LAZY
  28994. +# define LT_DLLAZY_OR_NOW DL_LAZY
  28995. +# else
  28996. +# ifdef RTLD_NOW
  28997. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  28998. +# else
  28999. +# ifdef DL_NOW
  29000. +# define LT_DLLAZY_OR_NOW DL_NOW
  29001. +# else
  29002. +# define LT_DLLAZY_OR_NOW 0
  29003. +# endif
  29004. +# endif
  29005. +# endif
  29006. +# endif
  29007. +#endif
  29008. +
  29009. +/* When -fvisbility=hidden is used, assume the code has been annotated
  29010. + correspondingly for the symbols needed. */
  29011. +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  29012. +int fnord () __attribute__((visibility("default")));
  29013. +#endif
  29014. +
  29015. +int fnord () { return 42; }
  29016. +int main ()
  29017. +{
  29018. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  29019. + int status = $lt_dlunknown;
  29020. +
  29021. + if (self)
  29022. + {
  29023. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  29024. + else
  29025. + {
  29026. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  29027. + else puts (dlerror ());
  29028. + }
  29029. + /* dlclose (self); */
  29030. + }
  29031. + else
  29032. + puts (dlerror ());
  29033. +
  29034. + return status;
  29035. +}
  29036. +_LT_EOF
  29037. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  29038. + (eval $ac_link) 2>&5
  29039. + ac_status=$?
  29040. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  29041. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  29042. + (./conftest; exit; ) >&5 2>/dev/null
  29043. + lt_status=$?
  29044. + case x$lt_status in
  29045. + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  29046. + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  29047. + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  29048. + esac
  29049. + else :
  29050. + # compilation failed
  29051. + lt_cv_dlopen_self=no
  29052. + fi
  29053. +fi
  29054. +rm -fr conftest*
  29055. +
  29056. +
  29057. +fi
  29058. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  29059. +$as_echo "$lt_cv_dlopen_self" >&6; }
  29060. +
  29061. + if test "x$lt_cv_dlopen_self" = xyes; then
  29062. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  29063. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  29064. +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  29065. +if ${lt_cv_dlopen_self_static+:} false; then :
  29066. + $as_echo_n "(cached) " >&6
  29067. +else
  29068. + if test "$cross_compiling" = yes; then :
  29069. + lt_cv_dlopen_self_static=cross
  29070. +else
  29071. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  29072. + lt_status=$lt_dlunknown
  29073. + cat > conftest.$ac_ext <<_LT_EOF
  29074. +#line $LINENO "configure"
  29075. +#include "confdefs.h"
  29076. +
  29077. +#if HAVE_DLFCN_H
  29078. +#include <dlfcn.h>
  29079. +#endif
  29080. +
  29081. +#include <stdio.h>
  29082. +
  29083. +#ifdef RTLD_GLOBAL
  29084. +# define LT_DLGLOBAL RTLD_GLOBAL
  29085. +#else
  29086. +# ifdef DL_GLOBAL
  29087. +# define LT_DLGLOBAL DL_GLOBAL
  29088. +# else
  29089. +# define LT_DLGLOBAL 0
  29090. +# endif
  29091. +#endif
  29092. +
  29093. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  29094. + find out it does not work in some platform. */
  29095. +#ifndef LT_DLLAZY_OR_NOW
  29096. +# ifdef RTLD_LAZY
  29097. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  29098. +# else
  29099. +# ifdef DL_LAZY
  29100. +# define LT_DLLAZY_OR_NOW DL_LAZY
  29101. +# else
  29102. +# ifdef RTLD_NOW
  29103. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  29104. +# else
  29105. +# ifdef DL_NOW
  29106. +# define LT_DLLAZY_OR_NOW DL_NOW
  29107. +# else
  29108. +# define LT_DLLAZY_OR_NOW 0
  29109. +# endif
  29110. +# endif
  29111. +# endif
  29112. +# endif
  29113. +#endif
  29114. +
  29115. +/* When -fvisbility=hidden is used, assume the code has been annotated
  29116. + correspondingly for the symbols needed. */
  29117. +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  29118. +int fnord () __attribute__((visibility("default")));
  29119. +#endif
  29120. +
  29121. +int fnord () { return 42; }
  29122. +int main ()
  29123. +{
  29124. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  29125. + int status = $lt_dlunknown;
  29126. +
  29127. + if (self)
  29128. + {
  29129. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  29130. + else
  29131. + {
  29132. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  29133. + else puts (dlerror ());
  29134. + }
  29135. + /* dlclose (self); */
  29136. + }
  29137. + else
  29138. + puts (dlerror ());
  29139. +
  29140. + return status;
  29141. +}
  29142. +_LT_EOF
  29143. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  29144. + (eval $ac_link) 2>&5
  29145. + ac_status=$?
  29146. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  29147. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  29148. + (./conftest; exit; ) >&5 2>/dev/null
  29149. + lt_status=$?
  29150. + case x$lt_status in
  29151. + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  29152. + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  29153. + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  29154. + esac
  29155. + else :
  29156. + # compilation failed
  29157. + lt_cv_dlopen_self_static=no
  29158. + fi
  29159. +fi
  29160. +rm -fr conftest*
  29161. +
  29162. +
  29163. +fi
  29164. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  29165. +$as_echo "$lt_cv_dlopen_self_static" >&6; }
  29166. + fi
  29167. +
  29168. + CPPFLAGS="$save_CPPFLAGS"
  29169. + LDFLAGS="$save_LDFLAGS"
  29170. + LIBS="$save_LIBS"
  29171. + ;;
  29172. + esac
  29173. +
  29174. + case $lt_cv_dlopen_self in
  29175. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  29176. + *) enable_dlopen_self=unknown ;;
  29177. + esac
  29178. +
  29179. + case $lt_cv_dlopen_self_static in
  29180. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  29181. + *) enable_dlopen_self_static=unknown ;;
  29182. + esac
  29183. +fi
  29184. +
  29185. +
  29186. +
  29187. +
  29188. +
  29189. +
  29190. +
  29191. +
  29192. +
  29193. +
  29194. +
  29195. +
  29196. +
  29197. +
  29198. +
  29199. +
  29200. +
  29201. +striplib=
  29202. +old_striplib=
  29203. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  29204. +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
  29205. +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  29206. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  29207. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  29208. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  29209. +$as_echo "yes" >&6; }
  29210. +else
  29211. +# FIXME - insert some real tests, host_os isn't really good enough
  29212. + case $host_os in
  29213. + darwin*)
  29214. + if test -n "$STRIP" ; then
  29215. + striplib="$STRIP -x"
  29216. + old_striplib="$STRIP -S"
  29217. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  29218. +$as_echo "yes" >&6; }
  29219. + else
  29220. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29221. +$as_echo "no" >&6; }
  29222. + fi
  29223. + ;;
  29224. + *)
  29225. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29226. +$as_echo "no" >&6; }
  29227. + ;;
  29228. + esac
  29229. +fi
  29230. +
  29231. +
  29232. +
  29233. +
  29234. +
  29235. +
  29236. +
  29237. +
  29238. +
  29239. +
  29240. +
  29241. +
  29242. + # Report which library types will actually be built
  29243. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  29244. +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
  29245. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  29246. +$as_echo "$can_build_shared" >&6; }
  29247. +
  29248. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  29249. +$as_echo_n "checking whether to build shared libraries... " >&6; }
  29250. + test "$can_build_shared" = "no" && enable_shared=no
  29251. +
  29252. + # On AIX, shared libraries and static libraries use the same namespace, and
  29253. + # are all built from PIC.
  29254. + case $host_os in
  29255. + aix3*)
  29256. + test "$enable_shared" = yes && enable_static=no
  29257. + if test -n "$RANLIB"; then
  29258. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  29259. + postinstall_cmds='$RANLIB $lib'
  29260. + fi
  29261. + ;;
  29262. +
  29263. + aix[4-9]*)
  29264. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  29265. + test "$enable_shared" = yes && enable_static=no
  29266. + fi
  29267. + ;;
  29268. + esac
  29269. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  29270. +$as_echo "$enable_shared" >&6; }
  29271. +
  29272. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  29273. +$as_echo_n "checking whether to build static libraries... " >&6; }
  29274. + # Make sure either enable_shared or enable_static is yes.
  29275. + test "$enable_shared" = yes || enable_static=yes
  29276. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  29277. +$as_echo "$enable_static" >&6; }
  29278. +
  29279. +
  29280. +
  29281. +
  29282. +fi
  29283. +ac_ext=c
  29284. +ac_cpp='$CPP $CPPFLAGS'
  29285. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  29286. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  29287. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  29288. +
  29289. +CC="$lt_save_CC"
  29290. +
  29291. +
  29292. +
  29293. +
  29294. +
  29295. +
  29296. +
  29297. +
  29298. +
  29299. +
  29300. +
  29301. +
  29302. +
  29303. +
  29304. +
  29305. + ac_config_commands="$ac_config_commands libtool"
  29306. +
  29307. +
  29308. +
  29309. +
  29310. +# Only expand once:
  29311. +
  29312. +
  29313. +
  29314. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
  29315. +$as_echo_n "checking for library containing dlopen... " >&6; }
  29316. +if ${ac_cv_search_dlopen+:} false; then :
  29317. + $as_echo_n "(cached) " >&6
  29318. +else
  29319. + ac_func_search_save_LIBS=$LIBS
  29320. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29321. +/* end confdefs.h. */
  29322. +
  29323. +/* Override any GCC internal prototype to avoid an error.
  29324. + Use char because int might match the return type of a GCC
  29325. + builtin and then its argument prototype would still apply. */
  29326. +#ifdef __cplusplus
  29327. +extern "C"
  29328. +#endif
  29329. +char dlopen ();
  29330. +int
  29331. +main ()
  29332. +{
  29333. +return dlopen ();
  29334. + ;
  29335. + return 0;
  29336. +}
  29337. +_ACEOF
  29338. +for ac_lib in '' dl; do
  29339. + if test -z "$ac_lib"; then
  29340. + ac_res="none required"
  29341. + else
  29342. + ac_res=-l$ac_lib
  29343. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  29344. + fi
  29345. + if ac_fn_c_try_link "$LINENO"; then :
  29346. + ac_cv_search_dlopen=$ac_res
  29347. +fi
  29348. +rm -f core conftest.err conftest.$ac_objext \
  29349. + conftest$ac_exeext
  29350. + if ${ac_cv_search_dlopen+:} false; then :
  29351. + break
  29352. +fi
  29353. +done
  29354. +if ${ac_cv_search_dlopen+:} false; then :
  29355. +
  29356. +else
  29357. + ac_cv_search_dlopen=no
  29358. +fi
  29359. +rm conftest.$ac_ext
  29360. +LIBS=$ac_func_search_save_LIBS
  29361. +fi
  29362. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
  29363. +$as_echo "$ac_cv_search_dlopen" >&6; }
  29364. +ac_res=$ac_cv_search_dlopen
  29365. +if test "$ac_res" != no; then :
  29366. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  29367. + libdl_LIBS="$LIBS"; LIBS=""
  29368. +fi
  29369. +
  29370. +
  29371. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcap_close" >&5
  29372. +$as_echo_n "checking for library containing pcap_close... " >&6; }
  29373. +if ${ac_cv_search_pcap_close+:} false; then :
  29374. + $as_echo_n "(cached) " >&6
  29375. +else
  29376. + ac_func_search_save_LIBS=$LIBS
  29377. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29378. +/* end confdefs.h. */
  29379. +
  29380. +/* Override any GCC internal prototype to avoid an error.
  29381. + Use char because int might match the return type of a GCC
  29382. + builtin and then its argument prototype would still apply. */
  29383. +#ifdef __cplusplus
  29384. +extern "C"
  29385. +#endif
  29386. +char pcap_close ();
  29387. +int
  29388. +main ()
  29389. +{
  29390. +return pcap_close ();
  29391. + ;
  29392. + return 0;
  29393. +}
  29394. +_ACEOF
  29395. +for ac_lib in '' pcap; do
  29396. + if test -z "$ac_lib"; then
  29397. + ac_res="none required"
  29398. + else
  29399. + ac_res=-l$ac_lib
  29400. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  29401. + fi
  29402. + if ac_fn_c_try_link "$LINENO"; then :
  29403. + ac_cv_search_pcap_close=$ac_res
  29404. +fi
  29405. +rm -f core conftest.err conftest.$ac_objext \
  29406. + conftest$ac_exeext
  29407. + if ${ac_cv_search_pcap_close+:} false; then :
  29408. + break
  29409. +fi
  29410. +done
  29411. +if ${ac_cv_search_pcap_close+:} false; then :
  29412. +
  29413. +else
  29414. + ac_cv_search_pcap_close=no
  29415. +fi
  29416. +rm conftest.$ac_ext
  29417. +LIBS=$ac_func_search_save_LIBS
  29418. +fi
  29419. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcap_close" >&5
  29420. +$as_echo "$ac_cv_search_pcap_close" >&6; }
  29421. +ac_res=$ac_cv_search_pcap_close
  29422. +if test "$ac_res" != no; then :
  29423. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  29424. + libpcap_LIBS="-lpcap"; LIBS=""
  29425. +fi
  29426. +
  29427. +
  29428. + if test -n "$libpcap_LIBS"; then
  29429. + HAVE_PCAP_TRUE=
  29430. + HAVE_PCAP_FALSE='#'
  29431. +else
  29432. + HAVE_PCAP_TRUE='#'
  29433. + HAVE_PCAP_FALSE=
  29434. +fi
  29435. +
  29436. +if test "x$libpcap_LIBS" != "x"; then
  29437. + enable_pcap="yes"
  29438. +else
  29439. + enable_pcap="no"
  29440. +fi
  29441. +
  29442. +ac_header_dirent=no
  29443. +for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
  29444. + as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
  29445. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
  29446. +$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
  29447. +if eval \${$as_ac_Header+:} false; then :
  29448. + $as_echo_n "(cached) " >&6
  29449. +else
  29450. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29451. +/* end confdefs.h. */
  29452. +#include <sys/types.h>
  29453. +#include <$ac_hdr>
  29454. +
  29455. +int
  29456. +main ()
  29457. +{
  29458. +if ((DIR *) 0)
  29459. +return 0;
  29460. + ;
  29461. + return 0;
  29462. +}
  29463. +_ACEOF
  29464. +if ac_fn_c_try_compile "$LINENO"; then :
  29465. + eval "$as_ac_Header=yes"
  29466. +else
  29467. + eval "$as_ac_Header=no"
  29468. +fi
  29469. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  29470. +fi
  29471. +eval ac_res=\$$as_ac_Header
  29472. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  29473. +$as_echo "$ac_res" >&6; }
  29474. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  29475. + cat >>confdefs.h <<_ACEOF
  29476. +@%:@define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
  29477. +_ACEOF
  29478. +
  29479. +ac_header_dirent=$ac_hdr; break
  29480. +fi
  29481. +
  29482. +done
  29483. +# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  29484. +if test $ac_header_dirent = dirent.h; then
  29485. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
  29486. +$as_echo_n "checking for library containing opendir... " >&6; }
  29487. +if ${ac_cv_search_opendir+:} false; then :
  29488. + $as_echo_n "(cached) " >&6
  29489. +else
  29490. + ac_func_search_save_LIBS=$LIBS
  29491. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29492. +/* end confdefs.h. */
  29493. +
  29494. +/* Override any GCC internal prototype to avoid an error.
  29495. + Use char because int might match the return type of a GCC
  29496. + builtin and then its argument prototype would still apply. */
  29497. +#ifdef __cplusplus
  29498. +extern "C"
  29499. +#endif
  29500. +char opendir ();
  29501. +int
  29502. +main ()
  29503. +{
  29504. +return opendir ();
  29505. + ;
  29506. + return 0;
  29507. +}
  29508. +_ACEOF
  29509. +for ac_lib in '' dir; do
  29510. + if test -z "$ac_lib"; then
  29511. + ac_res="none required"
  29512. + else
  29513. + ac_res=-l$ac_lib
  29514. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  29515. + fi
  29516. + if ac_fn_c_try_link "$LINENO"; then :
  29517. + ac_cv_search_opendir=$ac_res
  29518. +fi
  29519. +rm -f core conftest.err conftest.$ac_objext \
  29520. + conftest$ac_exeext
  29521. + if ${ac_cv_search_opendir+:} false; then :
  29522. + break
  29523. +fi
  29524. +done
  29525. +if ${ac_cv_search_opendir+:} false; then :
  29526. +
  29527. +else
  29528. + ac_cv_search_opendir=no
  29529. +fi
  29530. +rm conftest.$ac_ext
  29531. +LIBS=$ac_func_search_save_LIBS
  29532. +fi
  29533. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
  29534. +$as_echo "$ac_cv_search_opendir" >&6; }
  29535. +ac_res=$ac_cv_search_opendir
  29536. +if test "$ac_res" != no; then :
  29537. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  29538. +
  29539. +fi
  29540. +
  29541. +else
  29542. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
  29543. +$as_echo_n "checking for library containing opendir... " >&6; }
  29544. +if ${ac_cv_search_opendir+:} false; then :
  29545. + $as_echo_n "(cached) " >&6
  29546. +else
  29547. + ac_func_search_save_LIBS=$LIBS
  29548. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29549. +/* end confdefs.h. */
  29550. +
  29551. +/* Override any GCC internal prototype to avoid an error.
  29552. + Use char because int might match the return type of a GCC
  29553. + builtin and then its argument prototype would still apply. */
  29554. +#ifdef __cplusplus
  29555. +extern "C"
  29556. +#endif
  29557. +char opendir ();
  29558. +int
  29559. +main ()
  29560. +{
  29561. +return opendir ();
  29562. + ;
  29563. + return 0;
  29564. +}
  29565. +_ACEOF
  29566. +for ac_lib in '' x; do
  29567. + if test -z "$ac_lib"; then
  29568. + ac_res="none required"
  29569. + else
  29570. + ac_res=-l$ac_lib
  29571. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  29572. + fi
  29573. + if ac_fn_c_try_link "$LINENO"; then :
  29574. + ac_cv_search_opendir=$ac_res
  29575. +fi
  29576. +rm -f core conftest.err conftest.$ac_objext \
  29577. + conftest$ac_exeext
  29578. + if ${ac_cv_search_opendir+:} false; then :
  29579. + break
  29580. +fi
  29581. +done
  29582. +if ${ac_cv_search_opendir+:} false; then :
  29583. +
  29584. +else
  29585. + ac_cv_search_opendir=no
  29586. +fi
  29587. +rm conftest.$ac_ext
  29588. +LIBS=$ac_func_search_save_LIBS
  29589. +fi
  29590. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
  29591. +$as_echo "$ac_cv_search_opendir" >&6; }
  29592. +ac_res=$ac_cv_search_opendir
  29593. +if test "$ac_res" != no; then :
  29594. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  29595. +
  29596. +fi
  29597. +
  29598. +fi
  29599. +
  29600. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  29601. +$as_echo_n "checking for ANSI C header files... " >&6; }
  29602. +if ${ac_cv_header_stdc+:} false; then :
  29603. + $as_echo_n "(cached) " >&6
  29604. +else
  29605. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29606. +/* end confdefs.h. */
  29607. +#include <stdlib.h>
  29608. +#include <stdarg.h>
  29609. +#include <string.h>
  29610. +#include <float.h>
  29611. +
  29612. +int
  29613. +main ()
  29614. +{
  29615. +
  29616. + ;
  29617. + return 0;
  29618. +}
  29619. +_ACEOF
  29620. +if ac_fn_c_try_compile "$LINENO"; then :
  29621. + ac_cv_header_stdc=yes
  29622. +else
  29623. + ac_cv_header_stdc=no
  29624. +fi
  29625. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  29626. +
  29627. +if test $ac_cv_header_stdc = yes; then
  29628. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  29629. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29630. +/* end confdefs.h. */
  29631. +#include <string.h>
  29632. +
  29633. +_ACEOF
  29634. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  29635. + $EGREP "memchr" >/dev/null 2>&1; then :
  29636. +
  29637. +else
  29638. + ac_cv_header_stdc=no
  29639. +fi
  29640. +rm -f conftest*
  29641. +
  29642. +fi
  29643. +
  29644. +if test $ac_cv_header_stdc = yes; then
  29645. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  29646. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29647. +/* end confdefs.h. */
  29648. +#include <stdlib.h>
  29649. +
  29650. +_ACEOF
  29651. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  29652. + $EGREP "free" >/dev/null 2>&1; then :
  29653. +
  29654. +else
  29655. + ac_cv_header_stdc=no
  29656. +fi
  29657. +rm -f conftest*
  29658. +
  29659. +fi
  29660. +
  29661. +if test $ac_cv_header_stdc = yes; then
  29662. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  29663. + if test "$cross_compiling" = yes; then :
  29664. + :
  29665. +else
  29666. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29667. +/* end confdefs.h. */
  29668. +#include <ctype.h>
  29669. +#include <stdlib.h>
  29670. +#if ((' ' & 0x0FF) == 0x020)
  29671. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  29672. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  29673. +#else
  29674. +# define ISLOWER(c) \
  29675. + (('a' <= (c) && (c) <= 'i') \
  29676. + || ('j' <= (c) && (c) <= 'r') \
  29677. + || ('s' <= (c) && (c) <= 'z'))
  29678. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  29679. +#endif
  29680. +
  29681. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  29682. +int
  29683. +main ()
  29684. +{
  29685. + int i;
  29686. + for (i = 0; i < 256; i++)
  29687. + if (XOR (islower (i), ISLOWER (i))
  29688. + || toupper (i) != TOUPPER (i))
  29689. + return 2;
  29690. + return 0;
  29691. +}
  29692. +_ACEOF
  29693. +if ac_fn_c_try_run "$LINENO"; then :
  29694. +
  29695. +else
  29696. + ac_cv_header_stdc=no
  29697. +fi
  29698. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  29699. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  29700. +fi
  29701. +
  29702. +fi
  29703. +fi
  29704. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  29705. +$as_echo "$ac_cv_header_stdc" >&6; }
  29706. +if test $ac_cv_header_stdc = yes; then
  29707. +
  29708. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  29709. +
  29710. +fi
  29711. +
  29712. +for ac_header in fcntl.h unistd.h sys/queue.h
  29713. +do :
  29714. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  29715. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  29716. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  29717. + cat >>confdefs.h <<_ACEOF
  29718. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  29719. +_ACEOF
  29720. +
  29721. +fi
  29722. +
  29723. +done
  29724. +
  29725. +
  29726. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  29727. +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  29728. +if ${ac_cv_c_const+:} false; then :
  29729. + $as_echo_n "(cached) " >&6
  29730. +else
  29731. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29732. +/* end confdefs.h. */
  29733. +
  29734. +int
  29735. +main ()
  29736. +{
  29737. +/* FIXME: Include the comments suggested by Paul. */
  29738. +#ifndef __cplusplus
  29739. + /* Ultrix mips cc rejects this. */
  29740. + typedef int charset[2];
  29741. + const charset cs;
  29742. + /* SunOS 4.1.1 cc rejects this. */
  29743. + char const *const *pcpcc;
  29744. + char **ppc;
  29745. + /* NEC SVR4.0.2 mips cc rejects this. */
  29746. + struct point {int x, y;};
  29747. + static struct point const zero = {0,0};
  29748. + /* AIX XL C 1.02.0.0 rejects this.
  29749. + It does not let you subtract one const X* pointer from another in
  29750. + an arm of an if-expression whose if-part is not a constant
  29751. + expression */
  29752. + const char *g = "string";
  29753. + pcpcc = &g + (g ? g-g : 0);
  29754. + /* HPUX 7.0 cc rejects these. */
  29755. + ++pcpcc;
  29756. + ppc = (char**) pcpcc;
  29757. + pcpcc = (char const *const *) ppc;
  29758. + { /* SCO 3.2v4 cc rejects this. */
  29759. + char *t;
  29760. + char const *s = 0 ? (char *) 0 : (char const *) 0;
  29761. +
  29762. + *t++ = 0;
  29763. + if (s) return 0;
  29764. + }
  29765. + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  29766. + int x[] = {25, 17};
  29767. + const int *foo = &x[0];
  29768. + ++foo;
  29769. + }
  29770. + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  29771. + typedef const int *iptr;
  29772. + iptr p = 0;
  29773. + ++p;
  29774. + }
  29775. + { /* AIX XL C 1.02.0.0 rejects this saying
  29776. + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  29777. + struct s { int j; const int *ap[3]; };
  29778. + struct s *b; b->j = 5;
  29779. + }
  29780. + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  29781. + const int foo = 10;
  29782. + if (!foo) return 0;
  29783. + }
  29784. + return !cs[0] && !zero.x;
  29785. +#endif
  29786. +
  29787. + ;
  29788. + return 0;
  29789. +}
  29790. +_ACEOF
  29791. +if ac_fn_c_try_compile "$LINENO"; then :
  29792. + ac_cv_c_const=yes
  29793. +else
  29794. + ac_cv_c_const=no
  29795. +fi
  29796. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  29797. +fi
  29798. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  29799. +$as_echo "$ac_cv_c_const" >&6; }
  29800. +if test $ac_cv_c_const = no; then
  29801. +
  29802. +$as_echo "@%:@define const /**/" >>confdefs.h
  29803. +
  29804. +fi
  29805. +
  29806. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  29807. +if test "x$ac_cv_type_size_t" = xyes; then :
  29808. +
  29809. +else
  29810. +
  29811. +cat >>confdefs.h <<_ACEOF
  29812. +@%:@define size_t unsigned int
  29813. +_ACEOF
  29814. +
  29815. +fi
  29816. +
  29817. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
  29818. +$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
  29819. +if ${ac_cv_struct_tm+:} false; then :
  29820. + $as_echo_n "(cached) " >&6
  29821. +else
  29822. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29823. +/* end confdefs.h. */
  29824. +#include <sys/types.h>
  29825. +#include <time.h>
  29826. +
  29827. +int
  29828. +main ()
  29829. +{
  29830. +struct tm tm;
  29831. + int *p = &tm.tm_sec;
  29832. + return !p;
  29833. + ;
  29834. + return 0;
  29835. +}
  29836. +_ACEOF
  29837. +if ac_fn_c_try_compile "$LINENO"; then :
  29838. + ac_cv_struct_tm=time.h
  29839. +else
  29840. + ac_cv_struct_tm=sys/time.h
  29841. +fi
  29842. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  29843. +fi
  29844. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
  29845. +$as_echo "$ac_cv_struct_tm" >&6; }
  29846. +if test $ac_cv_struct_tm = sys/time.h; then
  29847. +
  29848. +$as_echo "@%:@define TM_IN_SYS_TIME 1" >>confdefs.h
  29849. +
  29850. +fi
  29851. +
  29852. +@%:@ Check whether --enable-largefile was given.
  29853. +if test "${enable_largefile+set}" = set; then :
  29854. + enableval=$enable_largefile;
  29855. +fi
  29856. +
  29857. +if test "$enable_largefile" != no; then
  29858. +
  29859. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  29860. +$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
  29861. +if ${ac_cv_sys_largefile_CC+:} false; then :
  29862. + $as_echo_n "(cached) " >&6
  29863. +else
  29864. + ac_cv_sys_largefile_CC=no
  29865. + if test "$GCC" != yes; then
  29866. + ac_save_CC=$CC
  29867. + while :; do
  29868. + # IRIX 6.2 and later do not support large files by default,
  29869. + # so use the C compiler's -n32 option if that helps.
  29870. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29871. +/* end confdefs.h. */
  29872. +@%:@include <sys/types.h>
  29873. + /* Check that off_t can represent 2**63 - 1 correctly.
  29874. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  29875. + since some C++ compilers masquerading as C compilers
  29876. + incorrectly reject 9223372036854775807. */
  29877. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  29878. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  29879. + && LARGE_OFF_T % 2147483647 == 1)
  29880. + ? 1 : -1];
  29881. +int
  29882. +main ()
  29883. +{
  29884. +
  29885. + ;
  29886. + return 0;
  29887. +}
  29888. +_ACEOF
  29889. + if ac_fn_c_try_compile "$LINENO"; then :
  29890. + break
  29891. +fi
  29892. +rm -f core conftest.err conftest.$ac_objext
  29893. + CC="$CC -n32"
  29894. + if ac_fn_c_try_compile "$LINENO"; then :
  29895. + ac_cv_sys_largefile_CC=' -n32'; break
  29896. +fi
  29897. +rm -f core conftest.err conftest.$ac_objext
  29898. + break
  29899. + done
  29900. + CC=$ac_save_CC
  29901. + rm -f conftest.$ac_ext
  29902. + fi
  29903. +fi
  29904. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
  29905. +$as_echo "$ac_cv_sys_largefile_CC" >&6; }
  29906. + if test "$ac_cv_sys_largefile_CC" != no; then
  29907. + CC=$CC$ac_cv_sys_largefile_CC
  29908. + fi
  29909. +
  29910. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  29911. +$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  29912. +if ${ac_cv_sys_file_offset_bits+:} false; then :
  29913. + $as_echo_n "(cached) " >&6
  29914. +else
  29915. + while :; do
  29916. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29917. +/* end confdefs.h. */
  29918. +@%:@include <sys/types.h>
  29919. + /* Check that off_t can represent 2**63 - 1 correctly.
  29920. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  29921. + since some C++ compilers masquerading as C compilers
  29922. + incorrectly reject 9223372036854775807. */
  29923. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  29924. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  29925. + && LARGE_OFF_T % 2147483647 == 1)
  29926. + ? 1 : -1];
  29927. +int
  29928. +main ()
  29929. +{
  29930. +
  29931. + ;
  29932. + return 0;
  29933. +}
  29934. +_ACEOF
  29935. +if ac_fn_c_try_compile "$LINENO"; then :
  29936. + ac_cv_sys_file_offset_bits=no; break
  29937. +fi
  29938. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  29939. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29940. +/* end confdefs.h. */
  29941. +@%:@define _FILE_OFFSET_BITS 64
  29942. +@%:@include <sys/types.h>
  29943. + /* Check that off_t can represent 2**63 - 1 correctly.
  29944. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  29945. + since some C++ compilers masquerading as C compilers
  29946. + incorrectly reject 9223372036854775807. */
  29947. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  29948. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  29949. + && LARGE_OFF_T % 2147483647 == 1)
  29950. + ? 1 : -1];
  29951. +int
  29952. +main ()
  29953. +{
  29954. +
  29955. + ;
  29956. + return 0;
  29957. +}
  29958. +_ACEOF
  29959. +if ac_fn_c_try_compile "$LINENO"; then :
  29960. + ac_cv_sys_file_offset_bits=64; break
  29961. +fi
  29962. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  29963. + ac_cv_sys_file_offset_bits=unknown
  29964. + break
  29965. +done
  29966. +fi
  29967. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  29968. +$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
  29969. +case $ac_cv_sys_file_offset_bits in #(
  29970. + no | unknown) ;;
  29971. + *)
  29972. +cat >>confdefs.h <<_ACEOF
  29973. +@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
  29974. +_ACEOF
  29975. +;;
  29976. +esac
  29977. +rm -rf conftest*
  29978. + if test $ac_cv_sys_file_offset_bits = unknown; then
  29979. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  29980. +$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  29981. +if ${ac_cv_sys_large_files+:} false; then :
  29982. + $as_echo_n "(cached) " >&6
  29983. +else
  29984. + while :; do
  29985. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29986. +/* end confdefs.h. */
  29987. +@%:@include <sys/types.h>
  29988. + /* Check that off_t can represent 2**63 - 1 correctly.
  29989. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  29990. + since some C++ compilers masquerading as C compilers
  29991. + incorrectly reject 9223372036854775807. */
  29992. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  29993. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  29994. + && LARGE_OFF_T % 2147483647 == 1)
  29995. + ? 1 : -1];
  29996. +int
  29997. +main ()
  29998. +{
  29999. +
  30000. + ;
  30001. + return 0;
  30002. +}
  30003. +_ACEOF
  30004. +if ac_fn_c_try_compile "$LINENO"; then :
  30005. + ac_cv_sys_large_files=no; break
  30006. +fi
  30007. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  30008. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  30009. +/* end confdefs.h. */
  30010. +@%:@define _LARGE_FILES 1
  30011. +@%:@include <sys/types.h>
  30012. + /* Check that off_t can represent 2**63 - 1 correctly.
  30013. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  30014. + since some C++ compilers masquerading as C compilers
  30015. + incorrectly reject 9223372036854775807. */
  30016. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  30017. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  30018. + && LARGE_OFF_T % 2147483647 == 1)
  30019. + ? 1 : -1];
  30020. +int
  30021. +main ()
  30022. +{
  30023. +
  30024. + ;
  30025. + return 0;
  30026. +}
  30027. +_ACEOF
  30028. +if ac_fn_c_try_compile "$LINENO"; then :
  30029. + ac_cv_sys_large_files=1; break
  30030. +fi
  30031. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  30032. + ac_cv_sys_large_files=unknown
  30033. + break
  30034. +done
  30035. +fi
  30036. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  30037. +$as_echo "$ac_cv_sys_large_files" >&6; }
  30038. +case $ac_cv_sys_large_files in #(
  30039. + no | unknown) ;;
  30040. + *)
  30041. +cat >>confdefs.h <<_ACEOF
  30042. +@%:@define _LARGE_FILES $ac_cv_sys_large_files
  30043. +_ACEOF
  30044. +;;
  30045. +esac
  30046. +rm -rf conftest*
  30047. + fi
  30048. +fi
  30049. +
  30050. +
  30051. +for ac_func in vprintf
  30052. +do :
  30053. + ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
  30054. +if test "x$ac_cv_func_vprintf" = xyes; then :
  30055. + cat >>confdefs.h <<_ACEOF
  30056. +@%:@define HAVE_VPRINTF 1
  30057. +_ACEOF
  30058. +
  30059. +ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
  30060. +if test "x$ac_cv_func__doprnt" = xyes; then :
  30061. +
  30062. +$as_echo "@%:@define HAVE_DOPRNT 1" >>confdefs.h
  30063. +
  30064. +fi
  30065. +
  30066. +fi
  30067. +done
  30068. +
  30069. +
  30070. +for ac_func in socket strerror
  30071. +do :
  30072. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  30073. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  30074. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  30075. + cat >>confdefs.h <<_ACEOF
  30076. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  30077. +_ACEOF
  30078. +
  30079. +fi
  30080. +done
  30081. +
  30082. +
  30083. +regular_CFLAGS="-Wall -Wextra -Wno-unused-parameter"
  30084. +
  30085. +
  30086. +
  30087. +
  30088. +
  30089. +
  30090. +
  30091. +
  30092. +
  30093. +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  30094. + if test -n "$ac_tool_prefix"; then
  30095. + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  30096. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  30097. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  30098. +$as_echo_n "checking for $ac_word... " >&6; }
  30099. +if ${ac_cv_path_PKG_CONFIG+:} false; then :
  30100. + $as_echo_n "(cached) " >&6
  30101. +else
  30102. + case $PKG_CONFIG in
  30103. + [\\/]* | ?:[\\/]*)
  30104. + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  30105. + ;;
  30106. + *)
  30107. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  30108. +for as_dir in $PATH
  30109. +do
  30110. + IFS=$as_save_IFS
  30111. + test -z "$as_dir" && as_dir=.
  30112. + for ac_exec_ext in '' $ac_executable_extensions; do
  30113. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  30114. + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  30115. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  30116. + break 2
  30117. + fi
  30118. +done
  30119. + done
  30120. +IFS=$as_save_IFS
  30121. +
  30122. + ;;
  30123. +esac
  30124. +fi
  30125. +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  30126. +if test -n "$PKG_CONFIG"; then
  30127. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  30128. +$as_echo "$PKG_CONFIG" >&6; }
  30129. +else
  30130. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30131. +$as_echo "no" >&6; }
  30132. +fi
  30133. +
  30134. +
  30135. +fi
  30136. +if test -z "$ac_cv_path_PKG_CONFIG"; then
  30137. + ac_pt_PKG_CONFIG=$PKG_CONFIG
  30138. + # Extract the first word of "pkg-config", so it can be a program name with args.
  30139. +set dummy pkg-config; ac_word=$2
  30140. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  30141. +$as_echo_n "checking for $ac_word... " >&6; }
  30142. +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  30143. + $as_echo_n "(cached) " >&6
  30144. +else
  30145. + case $ac_pt_PKG_CONFIG in
  30146. + [\\/]* | ?:[\\/]*)
  30147. + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  30148. + ;;
  30149. + *)
  30150. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  30151. +for as_dir in $PATH
  30152. +do
  30153. + IFS=$as_save_IFS
  30154. + test -z "$as_dir" && as_dir=.
  30155. + for ac_exec_ext in '' $ac_executable_extensions; do
  30156. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  30157. + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  30158. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  30159. + break 2
  30160. + fi
  30161. +done
  30162. + done
  30163. +IFS=$as_save_IFS
  30164. +
  30165. + ;;
  30166. +esac
  30167. +fi
  30168. +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  30169. +if test -n "$ac_pt_PKG_CONFIG"; then
  30170. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  30171. +$as_echo "$ac_pt_PKG_CONFIG" >&6; }
  30172. +else
  30173. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30174. +$as_echo "no" >&6; }
  30175. +fi
  30176. +
  30177. + if test "x$ac_pt_PKG_CONFIG" = x; then
  30178. + PKG_CONFIG=""
  30179. + else
  30180. + case $cross_compiling:$ac_tool_warned in
  30181. +yes:)
  30182. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  30183. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  30184. +ac_tool_warned=yes ;;
  30185. +esac
  30186. + PKG_CONFIG=$ac_pt_PKG_CONFIG
  30187. + fi
  30188. +else
  30189. + PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  30190. +fi
  30191. +
  30192. +fi
  30193. +if test -n "$PKG_CONFIG"; then
  30194. + _pkg_min_version=0.9.0
  30195. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  30196. +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  30197. + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  30198. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  30199. +$as_echo "yes" >&6; }
  30200. + else
  30201. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30202. +$as_echo "no" >&6; }
  30203. + PKG_CONFIG=""
  30204. + fi
  30205. +fi
  30206. +
  30207. +pkg_failed=no
  30208. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNFNETLINK" >&5
  30209. +$as_echo_n "checking for LIBNFNETLINK... " >&6; }
  30210. +
  30211. +if test -n "$LIBNFNETLINK_CFLAGS"; then
  30212. + pkg_cv_LIBNFNETLINK_CFLAGS="$LIBNFNETLINK_CFLAGS"
  30213. + elif test -n "$PKG_CONFIG"; then
  30214. + if test -n "$PKG_CONFIG" && \
  30215. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= 1.0.1\""; } >&5
  30216. + ($PKG_CONFIG --exists --print-errors "libnfnetlink >= 1.0.1") 2>&5
  30217. + ac_status=$?
  30218. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30219. + test $ac_status = 0; }; then
  30220. + pkg_cv_LIBNFNETLINK_CFLAGS=`$PKG_CONFIG --cflags "libnfnetlink >= 1.0.1" 2>/dev/null`
  30221. + test "x$?" != "x0" && pkg_failed=yes
  30222. +else
  30223. + pkg_failed=yes
  30224. +fi
  30225. + else
  30226. + pkg_failed=untried
  30227. +fi
  30228. +if test -n "$LIBNFNETLINK_LIBS"; then
  30229. + pkg_cv_LIBNFNETLINK_LIBS="$LIBNFNETLINK_LIBS"
  30230. + elif test -n "$PKG_CONFIG"; then
  30231. + if test -n "$PKG_CONFIG" && \
  30232. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= 1.0.1\""; } >&5
  30233. + ($PKG_CONFIG --exists --print-errors "libnfnetlink >= 1.0.1") 2>&5
  30234. + ac_status=$?
  30235. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30236. + test $ac_status = 0; }; then
  30237. + pkg_cv_LIBNFNETLINK_LIBS=`$PKG_CONFIG --libs "libnfnetlink >= 1.0.1" 2>/dev/null`
  30238. + test "x$?" != "x0" && pkg_failed=yes
  30239. +else
  30240. + pkg_failed=yes
  30241. +fi
  30242. + else
  30243. + pkg_failed=untried
  30244. +fi
  30245. +
  30246. +
  30247. +
  30248. +if test $pkg_failed = yes; then
  30249. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30250. +$as_echo "no" >&6; }
  30251. +
  30252. +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  30253. + _pkg_short_errors_supported=yes
  30254. +else
  30255. + _pkg_short_errors_supported=no
  30256. +fi
  30257. + if test $_pkg_short_errors_supported = yes; then
  30258. + LIBNFNETLINK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnfnetlink >= 1.0.1" 2>&1`
  30259. + else
  30260. + LIBNFNETLINK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnfnetlink >= 1.0.1" 2>&1`
  30261. + fi
  30262. + # Put the nasty error message in config.log where it belongs
  30263. + echo "$LIBNFNETLINK_PKG_ERRORS" >&5
  30264. +
  30265. + as_fn_error $? "Package requirements (libnfnetlink >= 1.0.1) were not met:
  30266. +
  30267. +$LIBNFNETLINK_PKG_ERRORS
  30268. +
  30269. +Consider adjusting the PKG_CONFIG_PATH environment variable if you
  30270. +installed software in a non-standard prefix.
  30271. +
  30272. +Alternatively, you may set the environment variables LIBNFNETLINK_CFLAGS
  30273. +and LIBNFNETLINK_LIBS to avoid the need to call pkg-config.
  30274. +See the pkg-config man page for more details." "$LINENO" 5
  30275. +elif test $pkg_failed = untried; then
  30276. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30277. +$as_echo "no" >&6; }
  30278. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  30279. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  30280. +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  30281. +is in your PATH or set the PKG_CONFIG environment variable to the full
  30282. +path to pkg-config.
  30283. +
  30284. +Alternatively, you may set the environment variables LIBNFNETLINK_CFLAGS
  30285. +and LIBNFNETLINK_LIBS to avoid the need to call pkg-config.
  30286. +See the pkg-config man page for more details.
  30287. +
  30288. +To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  30289. +See \`config.log' for more details" "$LINENO" 5; }
  30290. +else
  30291. + LIBNFNETLINK_CFLAGS=$pkg_cv_LIBNFNETLINK_CFLAGS
  30292. + LIBNFNETLINK_LIBS=$pkg_cv_LIBNFNETLINK_LIBS
  30293. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  30294. +$as_echo "yes" >&6; }
  30295. +
  30296. +fi
  30297. +
  30298. +pkg_failed=no
  30299. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMNL" >&5
  30300. +$as_echo_n "checking for LIBMNL... " >&6; }
  30301. +
  30302. +if test -n "$LIBMNL_CFLAGS"; then
  30303. + pkg_cv_LIBMNL_CFLAGS="$LIBMNL_CFLAGS"
  30304. + elif test -n "$PKG_CONFIG"; then
  30305. + if test -n "$PKG_CONFIG" && \
  30306. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmnl >= 1.0.3\""; } >&5
  30307. + ($PKG_CONFIG --exists --print-errors "libmnl >= 1.0.3") 2>&5
  30308. + ac_status=$?
  30309. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30310. + test $ac_status = 0; }; then
  30311. + pkg_cv_LIBMNL_CFLAGS=`$PKG_CONFIG --cflags "libmnl >= 1.0.3" 2>/dev/null`
  30312. + test "x$?" != "x0" && pkg_failed=yes
  30313. +else
  30314. + pkg_failed=yes
  30315. +fi
  30316. + else
  30317. + pkg_failed=untried
  30318. +fi
  30319. +if test -n "$LIBMNL_LIBS"; then
  30320. + pkg_cv_LIBMNL_LIBS="$LIBMNL_LIBS"
  30321. + elif test -n "$PKG_CONFIG"; then
  30322. + if test -n "$PKG_CONFIG" && \
  30323. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmnl >= 1.0.3\""; } >&5
  30324. + ($PKG_CONFIG --exists --print-errors "libmnl >= 1.0.3") 2>&5
  30325. + ac_status=$?
  30326. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30327. + test $ac_status = 0; }; then
  30328. + pkg_cv_LIBMNL_LIBS=`$PKG_CONFIG --libs "libmnl >= 1.0.3" 2>/dev/null`
  30329. + test "x$?" != "x0" && pkg_failed=yes
  30330. +else
  30331. + pkg_failed=yes
  30332. +fi
  30333. + else
  30334. + pkg_failed=untried
  30335. +fi
  30336. +
  30337. +
  30338. +
  30339. +if test $pkg_failed = yes; then
  30340. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30341. +$as_echo "no" >&6; }
  30342. +
  30343. +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  30344. + _pkg_short_errors_supported=yes
  30345. +else
  30346. + _pkg_short_errors_supported=no
  30347. +fi
  30348. + if test $_pkg_short_errors_supported = yes; then
  30349. + LIBMNL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmnl >= 1.0.3" 2>&1`
  30350. + else
  30351. + LIBMNL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmnl >= 1.0.3" 2>&1`
  30352. + fi
  30353. + # Put the nasty error message in config.log where it belongs
  30354. + echo "$LIBMNL_PKG_ERRORS" >&5
  30355. +
  30356. + as_fn_error $? "Package requirements (libmnl >= 1.0.3) were not met:
  30357. +
  30358. +$LIBMNL_PKG_ERRORS
  30359. +
  30360. +Consider adjusting the PKG_CONFIG_PATH environment variable if you
  30361. +installed software in a non-standard prefix.
  30362. +
  30363. +Alternatively, you may set the environment variables LIBMNL_CFLAGS
  30364. +and LIBMNL_LIBS to avoid the need to call pkg-config.
  30365. +See the pkg-config man page for more details." "$LINENO" 5
  30366. +elif test $pkg_failed = untried; then
  30367. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30368. +$as_echo "no" >&6; }
  30369. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  30370. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  30371. +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  30372. +is in your PATH or set the PKG_CONFIG environment variable to the full
  30373. +path to pkg-config.
  30374. +
  30375. +Alternatively, you may set the environment variables LIBMNL_CFLAGS
  30376. +and LIBMNL_LIBS to avoid the need to call pkg-config.
  30377. +See the pkg-config man page for more details.
  30378. +
  30379. +To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  30380. +See \`config.log' for more details" "$LINENO" 5; }
  30381. +else
  30382. + LIBMNL_CFLAGS=$pkg_cv_LIBMNL_CFLAGS
  30383. + LIBMNL_LIBS=$pkg_cv_LIBMNL_LIBS
  30384. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  30385. +$as_echo "yes" >&6; }
  30386. +
  30387. +fi
  30388. +@%:@ Check whether --enable-nflog was given.
  30389. +if test "${enable_nflog+set}" = set; then :
  30390. + enableval=$enable_nflog;
  30391. +else
  30392. + enable_nflog=yes
  30393. +fi
  30394. +
  30395. +if test "x$enable_nflog" = "xyes"; then :
  30396. +
  30397. +
  30398. +pkg_failed=no
  30399. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNETFILTER_LOG" >&5
  30400. +$as_echo_n "checking for LIBNETFILTER_LOG... " >&6; }
  30401. +
  30402. +if test -n "$LIBNETFILTER_LOG_CFLAGS"; then
  30403. + pkg_cv_LIBNETFILTER_LOG_CFLAGS="$LIBNETFILTER_LOG_CFLAGS"
  30404. + elif test -n "$PKG_CONFIG"; then
  30405. + if test -n "$PKG_CONFIG" && \
  30406. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_log >= 1.0.0\""; } >&5
  30407. + ($PKG_CONFIG --exists --print-errors "libnetfilter_log >= 1.0.0") 2>&5
  30408. + ac_status=$?
  30409. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30410. + test $ac_status = 0; }; then
  30411. + pkg_cv_LIBNETFILTER_LOG_CFLAGS=`$PKG_CONFIG --cflags "libnetfilter_log >= 1.0.0" 2>/dev/null`
  30412. + test "x$?" != "x0" && pkg_failed=yes
  30413. +else
  30414. + pkg_failed=yes
  30415. +fi
  30416. + else
  30417. + pkg_failed=untried
  30418. +fi
  30419. +if test -n "$LIBNETFILTER_LOG_LIBS"; then
  30420. + pkg_cv_LIBNETFILTER_LOG_LIBS="$LIBNETFILTER_LOG_LIBS"
  30421. + elif test -n "$PKG_CONFIG"; then
  30422. + if test -n "$PKG_CONFIG" && \
  30423. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_log >= 1.0.0\""; } >&5
  30424. + ($PKG_CONFIG --exists --print-errors "libnetfilter_log >= 1.0.0") 2>&5
  30425. + ac_status=$?
  30426. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30427. + test $ac_status = 0; }; then
  30428. + pkg_cv_LIBNETFILTER_LOG_LIBS=`$PKG_CONFIG --libs "libnetfilter_log >= 1.0.0" 2>/dev/null`
  30429. + test "x$?" != "x0" && pkg_failed=yes
  30430. +else
  30431. + pkg_failed=yes
  30432. +fi
  30433. + else
  30434. + pkg_failed=untried
  30435. +fi
  30436. +
  30437. +
  30438. +
  30439. +if test $pkg_failed = yes; then
  30440. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30441. +$as_echo "no" >&6; }
  30442. +
  30443. +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  30444. + _pkg_short_errors_supported=yes
  30445. +else
  30446. + _pkg_short_errors_supported=no
  30447. +fi
  30448. + if test $_pkg_short_errors_supported = yes; then
  30449. + LIBNETFILTER_LOG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnetfilter_log >= 1.0.0" 2>&1`
  30450. + else
  30451. + LIBNETFILTER_LOG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnetfilter_log >= 1.0.0" 2>&1`
  30452. + fi
  30453. + # Put the nasty error message in config.log where it belongs
  30454. + echo "$LIBNETFILTER_LOG_PKG_ERRORS" >&5
  30455. +
  30456. + as_fn_error $? "Package requirements (libnetfilter_log >= 1.0.0) were not met:
  30457. +
  30458. +$LIBNETFILTER_LOG_PKG_ERRORS
  30459. +
  30460. +Consider adjusting the PKG_CONFIG_PATH environment variable if you
  30461. +installed software in a non-standard prefix.
  30462. +
  30463. +Alternatively, you may set the environment variables LIBNETFILTER_LOG_CFLAGS
  30464. +and LIBNETFILTER_LOG_LIBS to avoid the need to call pkg-config.
  30465. +See the pkg-config man page for more details." "$LINENO" 5
  30466. +elif test $pkg_failed = untried; then
  30467. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30468. +$as_echo "no" >&6; }
  30469. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  30470. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  30471. +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  30472. +is in your PATH or set the PKG_CONFIG environment variable to the full
  30473. +path to pkg-config.
  30474. +
  30475. +Alternatively, you may set the environment variables LIBNETFILTER_LOG_CFLAGS
  30476. +and LIBNETFILTER_LOG_LIBS to avoid the need to call pkg-config.
  30477. +See the pkg-config man page for more details.
  30478. +
  30479. +To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  30480. +See \`config.log' for more details" "$LINENO" 5; }
  30481. +else
  30482. + LIBNETFILTER_LOG_CFLAGS=$pkg_cv_LIBNETFILTER_LOG_CFLAGS
  30483. + LIBNETFILTER_LOG_LIBS=$pkg_cv_LIBNETFILTER_LOG_LIBS
  30484. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  30485. +$as_echo "yes" >&6; }
  30486. +
  30487. +fi
  30488. +
  30489. +$as_echo "@%:@define BUILD_NFLOG 1" >>confdefs.h
  30490. +
  30491. +
  30492. +fi
  30493. + if test "x$enable_nflog" = "xyes"; then
  30494. + BUILD_NFLOG_TRUE=
  30495. + BUILD_NFLOG_FALSE='#'
  30496. +else
  30497. + BUILD_NFLOG_TRUE='#'
  30498. + BUILD_NFLOG_FALSE=
  30499. +fi
  30500. +
  30501. +@%:@ Check whether --enable-nfct was given.
  30502. +if test "${enable_nfct+set}" = set; then :
  30503. + enableval=$enable_nfct;
  30504. +else
  30505. + enable_nfct=yes
  30506. +fi
  30507. +
  30508. +if test "x$enable_nfct" = "xyes"; then :
  30509. +
  30510. +
  30511. +pkg_failed=no
  30512. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNETFILTER_CONNTRACK" >&5
  30513. +$as_echo_n "checking for LIBNETFILTER_CONNTRACK... " >&6; }
  30514. +
  30515. +if test -n "$LIBNETFILTER_CONNTRACK_CFLAGS"; then
  30516. + pkg_cv_LIBNETFILTER_CONNTRACK_CFLAGS="$LIBNETFILTER_CONNTRACK_CFLAGS"
  30517. + elif test -n "$PKG_CONFIG"; then
  30518. + if test -n "$PKG_CONFIG" && \
  30519. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_conntrack >= 1.0.2\""; } >&5
  30520. + ($PKG_CONFIG --exists --print-errors "libnetfilter_conntrack >= 1.0.2") 2>&5
  30521. + ac_status=$?
  30522. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30523. + test $ac_status = 0; }; then
  30524. + pkg_cv_LIBNETFILTER_CONNTRACK_CFLAGS=`$PKG_CONFIG --cflags "libnetfilter_conntrack >= 1.0.2" 2>/dev/null`
  30525. + test "x$?" != "x0" && pkg_failed=yes
  30526. +else
  30527. + pkg_failed=yes
  30528. +fi
  30529. + else
  30530. + pkg_failed=untried
  30531. +fi
  30532. +if test -n "$LIBNETFILTER_CONNTRACK_LIBS"; then
  30533. + pkg_cv_LIBNETFILTER_CONNTRACK_LIBS="$LIBNETFILTER_CONNTRACK_LIBS"
  30534. + elif test -n "$PKG_CONFIG"; then
  30535. + if test -n "$PKG_CONFIG" && \
  30536. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_conntrack >= 1.0.2\""; } >&5
  30537. + ($PKG_CONFIG --exists --print-errors "libnetfilter_conntrack >= 1.0.2") 2>&5
  30538. + ac_status=$?
  30539. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30540. + test $ac_status = 0; }; then
  30541. + pkg_cv_LIBNETFILTER_CONNTRACK_LIBS=`$PKG_CONFIG --libs "libnetfilter_conntrack >= 1.0.2" 2>/dev/null`
  30542. + test "x$?" != "x0" && pkg_failed=yes
  30543. +else
  30544. + pkg_failed=yes
  30545. +fi
  30546. + else
  30547. + pkg_failed=untried
  30548. +fi
  30549. +
  30550. +
  30551. +
  30552. +if test $pkg_failed = yes; then
  30553. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30554. +$as_echo "no" >&6; }
  30555. +
  30556. +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  30557. + _pkg_short_errors_supported=yes
  30558. +else
  30559. + _pkg_short_errors_supported=no
  30560. +fi
  30561. + if test $_pkg_short_errors_supported = yes; then
  30562. + LIBNETFILTER_CONNTRACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnetfilter_conntrack >= 1.0.2" 2>&1`
  30563. + else
  30564. + LIBNETFILTER_CONNTRACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnetfilter_conntrack >= 1.0.2" 2>&1`
  30565. + fi
  30566. + # Put the nasty error message in config.log where it belongs
  30567. + echo "$LIBNETFILTER_CONNTRACK_PKG_ERRORS" >&5
  30568. +
  30569. + as_fn_error $? "Package requirements (libnetfilter_conntrack >= 1.0.2) were not met:
  30570. +
  30571. +$LIBNETFILTER_CONNTRACK_PKG_ERRORS
  30572. +
  30573. +Consider adjusting the PKG_CONFIG_PATH environment variable if you
  30574. +installed software in a non-standard prefix.
  30575. +
  30576. +Alternatively, you may set the environment variables LIBNETFILTER_CONNTRACK_CFLAGS
  30577. +and LIBNETFILTER_CONNTRACK_LIBS to avoid the need to call pkg-config.
  30578. +See the pkg-config man page for more details." "$LINENO" 5
  30579. +elif test $pkg_failed = untried; then
  30580. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30581. +$as_echo "no" >&6; }
  30582. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  30583. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  30584. +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  30585. +is in your PATH or set the PKG_CONFIG environment variable to the full
  30586. +path to pkg-config.
  30587. +
  30588. +Alternatively, you may set the environment variables LIBNETFILTER_CONNTRACK_CFLAGS
  30589. +and LIBNETFILTER_CONNTRACK_LIBS to avoid the need to call pkg-config.
  30590. +See the pkg-config man page for more details.
  30591. +
  30592. +To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  30593. +See \`config.log' for more details" "$LINENO" 5; }
  30594. +else
  30595. + LIBNETFILTER_CONNTRACK_CFLAGS=$pkg_cv_LIBNETFILTER_CONNTRACK_CFLAGS
  30596. + LIBNETFILTER_CONNTRACK_LIBS=$pkg_cv_LIBNETFILTER_CONNTRACK_LIBS
  30597. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  30598. +$as_echo "yes" >&6; }
  30599. +
  30600. +fi
  30601. +
  30602. +$as_echo "@%:@define BUILD_NFCT 1" >>confdefs.h
  30603. +
  30604. +
  30605. +fi
  30606. + if test "x$enable_nfct" = "xyes"; then
  30607. + BUILD_NFCT_TRUE=
  30608. + BUILD_NFCT_FALSE='#'
  30609. +else
  30610. + BUILD_NFCT_TRUE='#'
  30611. + BUILD_NFCT_FALSE=
  30612. +fi
  30613. +
  30614. +@%:@ Check whether --enable-nfacct was given.
  30615. +if test "${enable_nfacct+set}" = set; then :
  30616. + enableval=$enable_nfacct;
  30617. +else
  30618. + enable_nfacct=yes
  30619. +fi
  30620. +
  30621. +if test "x$enable_nfacct" = "xyes"; then :
  30622. +
  30623. +
  30624. +pkg_failed=no
  30625. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNETFILTER_ACCT" >&5
  30626. +$as_echo_n "checking for LIBNETFILTER_ACCT... " >&6; }
  30627. +
  30628. +if test -n "$LIBNETFILTER_ACCT_CFLAGS"; then
  30629. + pkg_cv_LIBNETFILTER_ACCT_CFLAGS="$LIBNETFILTER_ACCT_CFLAGS"
  30630. + elif test -n "$PKG_CONFIG"; then
  30631. + if test -n "$PKG_CONFIG" && \
  30632. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_acct >= 1.0.1\""; } >&5
  30633. + ($PKG_CONFIG --exists --print-errors "libnetfilter_acct >= 1.0.1") 2>&5
  30634. + ac_status=$?
  30635. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30636. + test $ac_status = 0; }; then
  30637. + pkg_cv_LIBNETFILTER_ACCT_CFLAGS=`$PKG_CONFIG --cflags "libnetfilter_acct >= 1.0.1" 2>/dev/null`
  30638. + test "x$?" != "x0" && pkg_failed=yes
  30639. +else
  30640. + pkg_failed=yes
  30641. +fi
  30642. + else
  30643. + pkg_failed=untried
  30644. +fi
  30645. +if test -n "$LIBNETFILTER_ACCT_LIBS"; then
  30646. + pkg_cv_LIBNETFILTER_ACCT_LIBS="$LIBNETFILTER_ACCT_LIBS"
  30647. + elif test -n "$PKG_CONFIG"; then
  30648. + if test -n "$PKG_CONFIG" && \
  30649. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnetfilter_acct >= 1.0.1\""; } >&5
  30650. + ($PKG_CONFIG --exists --print-errors "libnetfilter_acct >= 1.0.1") 2>&5
  30651. + ac_status=$?
  30652. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30653. + test $ac_status = 0; }; then
  30654. + pkg_cv_LIBNETFILTER_ACCT_LIBS=`$PKG_CONFIG --libs "libnetfilter_acct >= 1.0.1" 2>/dev/null`
  30655. + test "x$?" != "x0" && pkg_failed=yes
  30656. +else
  30657. + pkg_failed=yes
  30658. +fi
  30659. + else
  30660. + pkg_failed=untried
  30661. +fi
  30662. +
  30663. +
  30664. +
  30665. +if test $pkg_failed = yes; then
  30666. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30667. +$as_echo "no" >&6; }
  30668. +
  30669. +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  30670. + _pkg_short_errors_supported=yes
  30671. +else
  30672. + _pkg_short_errors_supported=no
  30673. +fi
  30674. + if test $_pkg_short_errors_supported = yes; then
  30675. + LIBNETFILTER_ACCT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnetfilter_acct >= 1.0.1" 2>&1`
  30676. + else
  30677. + LIBNETFILTER_ACCT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnetfilter_acct >= 1.0.1" 2>&1`
  30678. + fi
  30679. + # Put the nasty error message in config.log where it belongs
  30680. + echo "$LIBNETFILTER_ACCT_PKG_ERRORS" >&5
  30681. +
  30682. + as_fn_error $? "Package requirements (libnetfilter_acct >= 1.0.1) were not met:
  30683. +
  30684. +$LIBNETFILTER_ACCT_PKG_ERRORS
  30685. +
  30686. +Consider adjusting the PKG_CONFIG_PATH environment variable if you
  30687. +installed software in a non-standard prefix.
  30688. +
  30689. +Alternatively, you may set the environment variables LIBNETFILTER_ACCT_CFLAGS
  30690. +and LIBNETFILTER_ACCT_LIBS to avoid the need to call pkg-config.
  30691. +See the pkg-config man page for more details." "$LINENO" 5
  30692. +elif test $pkg_failed = untried; then
  30693. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30694. +$as_echo "no" >&6; }
  30695. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  30696. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  30697. +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  30698. +is in your PATH or set the PKG_CONFIG environment variable to the full
  30699. +path to pkg-config.
  30700. +
  30701. +Alternatively, you may set the environment variables LIBNETFILTER_ACCT_CFLAGS
  30702. +and LIBNETFILTER_ACCT_LIBS to avoid the need to call pkg-config.
  30703. +See the pkg-config man page for more details.
  30704. +
  30705. +To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  30706. +See \`config.log' for more details" "$LINENO" 5; }
  30707. +else
  30708. + LIBNETFILTER_ACCT_CFLAGS=$pkg_cv_LIBNETFILTER_ACCT_CFLAGS
  30709. + LIBNETFILTER_ACCT_LIBS=$pkg_cv_LIBNETFILTER_ACCT_LIBS
  30710. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  30711. +$as_echo "yes" >&6; }
  30712. +
  30713. +fi
  30714. +
  30715. +$as_echo "@%:@define BUILD_NFACCT 1" >>confdefs.h
  30716. +
  30717. +
  30718. +fi
  30719. + if test "x$enable_nfacct" = "xyes"; then
  30720. + BUILD_NFACCT_TRUE=
  30721. + BUILD_NFACCT_FALSE='#'
  30722. +else
  30723. + BUILD_NFACCT_TRUE='#'
  30724. + BUILD_NFACCT_FALSE=
  30725. +fi
  30726. +
  30727. +
  30728. +
  30729. +
  30730. +
  30731. +@%:@ Check whether --with-pgsql was given.
  30732. +if test "${with_pgsql+set}" = set; then :
  30733. + withval=$with_pgsql; pg_prefix=$withval
  30734. +else
  30735. + pg_prefix=
  30736. +fi
  30737. +
  30738. +
  30739. +@%:@ Check whether --with-pgsql-inc was given.
  30740. +if test "${with_pgsql_inc+set}" = set; then :
  30741. + withval=$with_pgsql_inc; pg_inc=$withval
  30742. +else
  30743. + pg_inc=
  30744. +fi
  30745. +
  30746. +
  30747. +@%:@ Check whether --with-pgsql-lib was given.
  30748. +if test "${with_pgsql_lib+set}" = set; then :
  30749. + withval=$with_pgsql_lib; pg_lib=$withval
  30750. +else
  30751. + pg_lib=
  30752. +fi
  30753. +
  30754. +
  30755. +
  30756. +
  30757. +
  30758. +
  30759. +PQLIBS=-lpq
  30760. +
  30761. +if test "$pg_prefix" != "no"; then
  30762. +
  30763. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PostgreSQL pg_config program" >&5
  30764. +$as_echo_n "checking for PostgreSQL pg_config program... " >&6; }
  30765. +for d in $pg_prefix/bin /usr/bin /usr/local/bin /usr/local/pgsql/bin /opt/pgsql/bin /opt/packages/pgsql/bin
  30766. +do
  30767. + if test -x $d/pg_config
  30768. + then
  30769. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found pg_config in $d" >&5
  30770. +$as_echo "found pg_config in $d" >&6; }
  30771. + PQINCPATH=`$d/pg_config --includedir`
  30772. + PQLIBPATH=`$d/pg_config --libdir`
  30773. + break
  30774. + fi
  30775. +done
  30776. +
  30777. +if test "$PQINCPATH" = ""; then
  30778. +
  30779. +if test "$pg_prefix" != ""; then
  30780. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PostgreSQL includes in $pg_prefix/include" >&5
  30781. +$as_echo_n "checking for PostgreSQL includes in $pg_prefix/include... " >&6; }
  30782. + if test -f "$pg_prefix/include/libpq-fe.h" ; then
  30783. + PQINCPATH="-I$pg_prefix/include"
  30784. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  30785. +$as_echo "yes" >&6; }
  30786. + else
  30787. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libpq-fe.h not found" >&5
  30788. +$as_echo "$as_me: WARNING: libpq-fe.h not found" >&2;}
  30789. + fi
  30790. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PostgreSQL libraries in $pg_prefix/lib" >&5
  30791. +$as_echo_n "checking for PostgreSQL libraries in $pg_prefix/lib... " >&6; }
  30792. + if test -f "$pg_prefix/lib/libpq.so" ; then
  30793. + PQLIBPATH="-L$pg_prefix/lib"
  30794. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  30795. +$as_echo "yes" >&6; }
  30796. + else
  30797. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libpq.so not found" >&5
  30798. +$as_echo "$as_me: WARNING: libpq.so not found" >&2;}
  30799. + fi
  30800. +else
  30801. + if test "$pg_inc" != ""; then
  30802. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PostgreSQL includes in $pg_inc" >&5
  30803. +$as_echo_n "checking for PostgreSQL includes in $pg_inc... " >&6; }
  30804. + if test -f "$pg_inc/libpq-fe.h" ; then
  30805. + PQINCPATH="-I$pg_inc"
  30806. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  30807. +$as_echo "yes" >&6; }
  30808. + else
  30809. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libpq-fe.h not found" >&5
  30810. +$as_echo "$as_me: WARNING: libpq-fe.h not found" >&2;}
  30811. + fi
  30812. + fi
  30813. + if test "$pg_lib" != ""; then
  30814. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PostgreSQL libraries in $pg_lib" >&5
  30815. +$as_echo_n "checking for PostgreSQL libraries in $pg_lib... " >&6; }
  30816. + if test -f "$pg_lib/libpq.so" ; then
  30817. + PQLIBPATH="-L$pg_lib"
  30818. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  30819. +$as_echo "yes" >&6; }
  30820. + else
  30821. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libpq.so not found" >&5
  30822. +$as_echo "$as_me: WARNING: libpq.so not found" >&2;}
  30823. + fi
  30824. + fi
  30825. +fi
  30826. +
  30827. +fi
  30828. +
  30829. +if test "$PQINCPATH" = "" ; then
  30830. + ac_fn_c_check_header_mongrel "$LINENO" "libpq-fe.h" "ac_cv_header_libpq_fe_h" "$ac_includes_default"
  30831. +if test "x$ac_cv_header_libpq_fe_h" = xyes; then :
  30832. +
  30833. +else
  30834. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libpq-fe.h not found" >&5
  30835. +$as_echo "$as_me: WARNING: libpq-fe.h not found" >&2;}
  30836. +fi
  30837. +
  30838. +
  30839. +fi
  30840. +if test "$PQLIBPATH" = "" ; then
  30841. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconnectdb in -lpq" >&5
  30842. +$as_echo_n "checking for PQconnectdb in -lpq... " >&6; }
  30843. +if ${ac_cv_lib_pq_PQconnectdb+:} false; then :
  30844. + $as_echo_n "(cached) " >&6
  30845. +else
  30846. + ac_check_lib_save_LIBS=$LIBS
  30847. +LIBS="-lpq $LIBS"
  30848. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  30849. +/* end confdefs.h. */
  30850. +
  30851. +/* Override any GCC internal prototype to avoid an error.
  30852. + Use char because int might match the return type of a GCC
  30853. + builtin and then its argument prototype would still apply. */
  30854. +#ifdef __cplusplus
  30855. +extern "C"
  30856. +#endif
  30857. +char PQconnectdb ();
  30858. +int
  30859. +main ()
  30860. +{
  30861. +return PQconnectdb ();
  30862. + ;
  30863. + return 0;
  30864. +}
  30865. +_ACEOF
  30866. +if ac_fn_c_try_link "$LINENO"; then :
  30867. + ac_cv_lib_pq_PQconnectdb=yes
  30868. +else
  30869. + ac_cv_lib_pq_PQconnectdb=no
  30870. +fi
  30871. +rm -f core conftest.err conftest.$ac_objext \
  30872. + conftest$ac_exeext conftest.$ac_ext
  30873. +LIBS=$ac_check_lib_save_LIBS
  30874. +fi
  30875. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQconnectdb" >&5
  30876. +$as_echo "$ac_cv_lib_pq_PQconnectdb" >&6; }
  30877. +if test "x$ac_cv_lib_pq_PQconnectdb" = xyes; then :
  30878. + cat >>confdefs.h <<_ACEOF
  30879. +@%:@define HAVE_LIBPQ 1
  30880. +_ACEOF
  30881. +
  30882. + LIBS="-lpq $LIBS"
  30883. +
  30884. +else
  30885. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libpq.so not found" >&5
  30886. +$as_echo "$as_me: WARNING: libpq.so not found" >&2;}
  30887. +fi
  30888. +
  30889. +fi
  30890. +
  30891. +fi
  30892. +
  30893. +
  30894. + if test "x$PQLIBPATH" != "x"; then
  30895. + HAVE_PGSQL_TRUE=
  30896. + HAVE_PGSQL_FALSE='#'
  30897. +else
  30898. + HAVE_PGSQL_TRUE='#'
  30899. + HAVE_PGSQL_FALSE=
  30900. +fi
  30901. +
  30902. +if test "x$PQLIBPATH" != "x"; then
  30903. + enable_pgsql="yes"
  30904. +else
  30905. + enable_pgsql="no"
  30906. +fi
  30907. +
  30908. +
  30909. +
  30910. +
  30911. +@%:@ Check whether --with-mysql was given.
  30912. +if test "${with_mysql+set}" = set; then :
  30913. + withval=$with_mysql; my_prefix=$withval
  30914. +else
  30915. + my_prefix=
  30916. +fi
  30917. +
  30918. +
  30919. +@%:@ Check whether --with-mysql-inc was given.
  30920. +if test "${with_mysql_inc+set}" = set; then :
  30921. + withval=$with_mysql_inc; my_inc=$withval
  30922. +else
  30923. + my_inc=
  30924. +fi
  30925. +
  30926. +
  30927. +@%:@ Check whether --with-mysql-lib was given.
  30928. +if test "${with_mysql_lib+set}" = set; then :
  30929. + withval=$with_mysql_lib; my_lib=$withval
  30930. +else
  30931. + my_lib=
  30932. +fi
  30933. +
  30934. +
  30935. +
  30936. +
  30937. +
  30938. +
  30939. +if test "$my_prefix" != "no"; then
  30940. +
  30941. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL mysql_config program" >&5
  30942. +$as_echo_n "checking for MySQL mysql_config program... " >&6; }
  30943. +for d in $my_prefix/bin /usr/bin /usr/local/bin /usr/local/mysql/bin /opt/mysql/bin /opt/packages/mysql/bin
  30944. +do
  30945. + if test -x $d/mysql_config
  30946. + then
  30947. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found mysql_config in $d" >&5
  30948. +$as_echo "found mysql_config in $d" >&6; }
  30949. + MYSQL_INC=`$d/mysql_config --include`
  30950. + MYSQL_LIB=`$d/mysql_config --libs`
  30951. + break
  30952. + fi
  30953. +done
  30954. +
  30955. +if test "$MYSQL_INC" = ""; then
  30956. +
  30957. +if test "$my_prefix" != ""; then
  30958. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL includes in $my_prefix/include" >&5
  30959. +$as_echo_n "checking for MySQL includes in $my_prefix/include... " >&6; }
  30960. + if test -f "$my_prefix/include/mysql.h" ; then
  30961. + MYSQL_INC="-I$my_prefix/include"
  30962. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  30963. +$as_echo "yes" >&6; }
  30964. + else
  30965. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mysql.h not found" >&5
  30966. +$as_echo "$as_me: WARNING: mysql.h not found" >&2;}
  30967. + fi
  30968. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL libraries in $my_prefix/lib" >&5
  30969. +$as_echo_n "checking for MySQL libraries in $my_prefix/lib... " >&6; }
  30970. + if test -f "$my_prefix/lib/libmysql.so" ; then
  30971. + MYSQL_LIB="-L$my_prefix/lib -lmysqlclient"
  30972. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  30973. +$as_echo "yes" >&6; }
  30974. + else
  30975. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmysqlclient.so not found" >&5
  30976. +$as_echo "$as_me: WARNING: libmysqlclient.so not found" >&2;}
  30977. + fi
  30978. +else
  30979. + if test "$my_inc" != ""; then
  30980. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL includes in $my_inc" >&5
  30981. +$as_echo_n "checking for MySQL includes in $my_inc... " >&6; }
  30982. + if test -f "$my_inc/mysql.h" ; then
  30983. + MYSQL_INC="-I$my_inc"
  30984. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  30985. +$as_echo "yes" >&6; }
  30986. + else
  30987. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mysql.h not found" >&5
  30988. +$as_echo "$as_me: WARNING: mysql.h not found" >&2;}
  30989. + fi
  30990. + fi
  30991. + if test "$my_lib" != ""; then
  30992. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL libraries in $my_lib" >&5
  30993. +$as_echo_n "checking for MySQL libraries in $my_lib... " >&6; }
  30994. + if test -f "$my_lib/libmysqlclient.so" ; then
  30995. + MYSQL_LIB="-L$my_lib -lmysqlclient"
  30996. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  30997. +$as_echo "yes" >&6; }
  30998. + else
  30999. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmysqlclient.so not found" >&5
  31000. +$as_echo "$as_me: WARNING: libmysqlclient.so not found" >&2;}
  31001. + fi
  31002. + fi
  31003. +fi
  31004. +
  31005. +fi
  31006. +
  31007. +if test "$MYSQL_INC" = "" ; then
  31008. + ac_fn_c_check_header_mongrel "$LINENO" "mysql.h" "ac_cv_header_mysql_h" "$ac_includes_default"
  31009. +if test "x$ac_cv_header_mysql_h" = xyes; then :
  31010. +
  31011. +else
  31012. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mysql.h not found" >&5
  31013. +$as_echo "$as_me: WARNING: mysql.h not found" >&2;}
  31014. +fi
  31015. +
  31016. +
  31017. +fi
  31018. +if test "$MYSQL_LIB" = "" ; then
  31019. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql_close in -lmysqlclient" >&5
  31020. +$as_echo_n "checking for mysql_close in -lmysqlclient... " >&6; }
  31021. +if ${ac_cv_lib_mysqlclient_mysql_close+:} false; then :
  31022. + $as_echo_n "(cached) " >&6
  31023. +else
  31024. + ac_check_lib_save_LIBS=$LIBS
  31025. +LIBS="-lmysqlclient $LIBS"
  31026. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31027. +/* end confdefs.h. */
  31028. +
  31029. +/* Override any GCC internal prototype to avoid an error.
  31030. + Use char because int might match the return type of a GCC
  31031. + builtin and then its argument prototype would still apply. */
  31032. +#ifdef __cplusplus
  31033. +extern "C"
  31034. +#endif
  31035. +char mysql_close ();
  31036. +int
  31037. +main ()
  31038. +{
  31039. +return mysql_close ();
  31040. + ;
  31041. + return 0;
  31042. +}
  31043. +_ACEOF
  31044. +if ac_fn_c_try_link "$LINENO"; then :
  31045. + ac_cv_lib_mysqlclient_mysql_close=yes
  31046. +else
  31047. + ac_cv_lib_mysqlclient_mysql_close=no
  31048. +fi
  31049. +rm -f core conftest.err conftest.$ac_objext \
  31050. + conftest$ac_exeext conftest.$ac_ext
  31051. +LIBS=$ac_check_lib_save_LIBS
  31052. +fi
  31053. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mysqlclient_mysql_close" >&5
  31054. +$as_echo "$ac_cv_lib_mysqlclient_mysql_close" >&6; }
  31055. +if test "x$ac_cv_lib_mysqlclient_mysql_close" = xyes; then :
  31056. + cat >>confdefs.h <<_ACEOF
  31057. +@%:@define HAVE_LIBMYSQLCLIENT 1
  31058. +_ACEOF
  31059. +
  31060. + LIBS="-lmysqlclient $LIBS"
  31061. +
  31062. +else
  31063. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmysqlclient.so not found" >&5
  31064. +$as_echo "$as_me: WARNING: libmysqlclient.so not found" >&2;}
  31065. +fi
  31066. +
  31067. +fi
  31068. +
  31069. +fi
  31070. +
  31071. +
  31072. + if test "x$MYSQL_LIB" != "x"; then
  31073. + HAVE_MYSQL_TRUE=
  31074. + HAVE_MYSQL_FALSE='#'
  31075. +else
  31076. + HAVE_MYSQL_TRUE='#'
  31077. + HAVE_MYSQL_FALSE=
  31078. +fi
  31079. +
  31080. +if test "x$MYSQL_LIB" != "x"; then
  31081. + enable_mysql="yes"
  31082. +else
  31083. + enable_mysql="no"
  31084. +fi
  31085. +
  31086. +
  31087. +pkg_failed=no
  31088. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsqlite3" >&5
  31089. +$as_echo_n "checking for libsqlite3... " >&6; }
  31090. +
  31091. +if test -n "$libsqlite3_CFLAGS"; then
  31092. + pkg_cv_libsqlite3_CFLAGS="$libsqlite3_CFLAGS"
  31093. + elif test -n "$PKG_CONFIG"; then
  31094. + if test -n "$PKG_CONFIG" && \
  31095. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
  31096. + ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
  31097. + ac_status=$?
  31098. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  31099. + test $ac_status = 0; }; then
  31100. + pkg_cv_libsqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
  31101. + test "x$?" != "x0" && pkg_failed=yes
  31102. +else
  31103. + pkg_failed=yes
  31104. +fi
  31105. + else
  31106. + pkg_failed=untried
  31107. +fi
  31108. +if test -n "$libsqlite3_LIBS"; then
  31109. + pkg_cv_libsqlite3_LIBS="$libsqlite3_LIBS"
  31110. + elif test -n "$PKG_CONFIG"; then
  31111. + if test -n "$PKG_CONFIG" && \
  31112. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
  31113. + ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
  31114. + ac_status=$?
  31115. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  31116. + test $ac_status = 0; }; then
  31117. + pkg_cv_libsqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
  31118. + test "x$?" != "x0" && pkg_failed=yes
  31119. +else
  31120. + pkg_failed=yes
  31121. +fi
  31122. + else
  31123. + pkg_failed=untried
  31124. +fi
  31125. +
  31126. +
  31127. +
  31128. +if test $pkg_failed = yes; then
  31129. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31130. +$as_echo "no" >&6; }
  31131. +
  31132. +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  31133. + _pkg_short_errors_supported=yes
  31134. +else
  31135. + _pkg_short_errors_supported=no
  31136. +fi
  31137. + if test $_pkg_short_errors_supported = yes; then
  31138. + libsqlite3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
  31139. + else
  31140. + libsqlite3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
  31141. + fi
  31142. + # Put the nasty error message in config.log where it belongs
  31143. + echo "$libsqlite3_PKG_ERRORS" >&5
  31144. +
  31145. + :
  31146. +elif test $pkg_failed = untried; then
  31147. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31148. +$as_echo "no" >&6; }
  31149. + :
  31150. +else
  31151. + libsqlite3_CFLAGS=$pkg_cv_libsqlite3_CFLAGS
  31152. + libsqlite3_LIBS=$pkg_cv_libsqlite3_LIBS
  31153. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  31154. +$as_echo "yes" >&6; }
  31155. +
  31156. +fi
  31157. + if test -n "$libsqlite3_LIBS"; then
  31158. + HAVE_SQLITE3_TRUE=
  31159. + HAVE_SQLITE3_FALSE='#'
  31160. +else
  31161. + HAVE_SQLITE3_TRUE='#'
  31162. + HAVE_SQLITE3_FALSE=
  31163. +fi
  31164. +
  31165. +if test "x$libsqlite3_LIBS" != "x"; then
  31166. + enable_sqlite3="yes"
  31167. +else
  31168. + enable_sqlite3="no"
  31169. +fi
  31170. +
  31171. +
  31172. +
  31173. +
  31174. +@%:@ Check whether --with-dbi was given.
  31175. +if test "${with_dbi+set}" = set; then :
  31176. + withval=$with_dbi; dbi=$withval
  31177. +else
  31178. + dbi_prefix=
  31179. +fi
  31180. +
  31181. +
  31182. +@%:@ Check whether --with-dbi-inc was given.
  31183. +if test "${with_dbi_inc+set}" = set; then :
  31184. + withval=$with_dbi_inc; dbi_inc=$withval
  31185. +else
  31186. + dbi_inc=/usr/include
  31187. +fi
  31188. +
  31189. +
  31190. +@%:@ Check whether --with-dbi-lib was given.
  31191. +if test "${with_dbi_lib+set}" = set; then :
  31192. + withval=$with_dbi_lib; dbi_lib=$withval
  31193. +else
  31194. + dbi_lib=/usr/lib
  31195. +fi
  31196. +
  31197. +
  31198. +
  31199. +
  31200. +
  31201. +
  31202. +if test "$dbi_prefix" != "no"; then
  31203. +
  31204. +if test "$dbi_prefix" != ""; then
  31205. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdbi includes in $dbi_prefix/include" >&5
  31206. +$as_echo_n "checking for libdbi includes in $dbi_prefix/include... " >&6; }
  31207. + if test -f "$dbi_prefix/include/dbi.h" ; then
  31208. + DBI_INC="-I$dbi_prefix/include"
  31209. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  31210. +$as_echo "yes" >&6; }
  31211. + elif test -f "$dbi_prefix/include/dbi/dbi.h" ; then
  31212. + DBI_INC="-I$dbi_prefix/include/dbi"
  31213. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  31214. +$as_echo "yes" >&6; }
  31215. + else
  31216. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dbi.h not found" >&5
  31217. +$as_echo "$as_me: WARNING: dbi.h not found" >&2;}
  31218. + fi
  31219. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdbi in $dbi_prefix/lib" >&5
  31220. +$as_echo_n "checking for libdbi in $dbi_prefix/lib... " >&6; }
  31221. + if test -f "$dbi_prefix/lib/libdbi.so" ; then
  31222. + DBI_LIB="-L$dbi_prefix/lib -ldbi";
  31223. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  31224. +$as_echo "yes" >&6; }
  31225. + else
  31226. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdbi.so not found" >&5
  31227. +$as_echo "$as_me: WARNING: libdbi.so not found" >&2;}
  31228. + fi
  31229. +else
  31230. + if test "$dbi_inc" != ""; then
  31231. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdbi includes in $dbi_inc" >&5
  31232. +$as_echo_n "checking for libdbi includes in $dbi_inc... " >&6; }
  31233. + if test -f "$dbi_inc/dbi.h" ; then
  31234. + DBI_INC="-I$dbi_inc"
  31235. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  31236. +$as_echo "yes" >&6; }
  31237. + elif test -f "$dbi_inc/dbi/dbi.h" ; then
  31238. + DBI_INC="-I$dbi_inc/dbi"
  31239. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  31240. +$as_echo "yes" >&6; }
  31241. + else
  31242. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dbi.h not found" >&5
  31243. +$as_echo "$as_me: WARNING: dbi.h not found" >&2;}
  31244. + fi
  31245. + fi
  31246. + if test "$dbi_lib" != ""; then
  31247. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdbi in $dbi_lib" >&5
  31248. +$as_echo_n "checking for libdbi in $dbi_lib... " >&6; }
  31249. + if test -f "$dbi_lib/libdbi.so" ; then
  31250. + DBI_LIB="-L$dbi_lib -ldbi";
  31251. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  31252. +$as_echo "yes" >&6; }
  31253. + else
  31254. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdbi.so not found" >&5
  31255. +$as_echo "$as_me: WARNING: libdbi.so not found" >&2;}
  31256. + fi
  31257. + fi
  31258. +fi
  31259. +
  31260. +if test "$DBI_INC" = "" ; then
  31261. + ac_fn_c_check_header_mongrel "$LINENO" "dbi.h" "ac_cv_header_dbi_h" "$ac_includes_default"
  31262. +if test "x$ac_cv_header_dbi_h" = xyes; then :
  31263. +
  31264. +else
  31265. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dbi.h not found" >&5
  31266. +$as_echo "$as_me: WARNING: dbi.h not found" >&2;}
  31267. +fi
  31268. +
  31269. +
  31270. +fi
  31271. +if test "$DBI_LIB" = "" ; then
  31272. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbi_close in -ldbi" >&5
  31273. +$as_echo_n "checking for dbi_close in -ldbi... " >&6; }
  31274. +if ${ac_cv_lib_dbi_dbi_close+:} false; then :
  31275. + $as_echo_n "(cached) " >&6
  31276. +else
  31277. + ac_check_lib_save_LIBS=$LIBS
  31278. +LIBS="-ldbi $LIBS"
  31279. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31280. +/* end confdefs.h. */
  31281. +
  31282. +/* Override any GCC internal prototype to avoid an error.
  31283. + Use char because int might match the return type of a GCC
  31284. + builtin and then its argument prototype would still apply. */
  31285. +#ifdef __cplusplus
  31286. +extern "C"
  31287. +#endif
  31288. +char dbi_close ();
  31289. +int
  31290. +main ()
  31291. +{
  31292. +return dbi_close ();
  31293. + ;
  31294. + return 0;
  31295. +}
  31296. +_ACEOF
  31297. +if ac_fn_c_try_link "$LINENO"; then :
  31298. + ac_cv_lib_dbi_dbi_close=yes
  31299. +else
  31300. + ac_cv_lib_dbi_dbi_close=no
  31301. +fi
  31302. +rm -f core conftest.err conftest.$ac_objext \
  31303. + conftest$ac_exeext conftest.$ac_ext
  31304. +LIBS=$ac_check_lib_save_LIBS
  31305. +fi
  31306. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbi_dbi_close" >&5
  31307. +$as_echo "$ac_cv_lib_dbi_dbi_close" >&6; }
  31308. +if test "x$ac_cv_lib_dbi_dbi_close" = xyes; then :
  31309. + cat >>confdefs.h <<_ACEOF
  31310. +@%:@define HAVE_LIBDBI 1
  31311. +_ACEOF
  31312. +
  31313. + LIBS="-ldbi $LIBS"
  31314. +
  31315. +else
  31316. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdbi.so not found" >&5
  31317. +$as_echo "$as_me: WARNING: libdbi.so not found" >&2;}
  31318. +fi
  31319. +
  31320. +fi
  31321. +
  31322. +fi
  31323. +
  31324. +
  31325. + if test "x$DBI_LIB" != "x"; then
  31326. + HAVE_DBI_TRUE=
  31327. + HAVE_DBI_FALSE='#'
  31328. +else
  31329. + HAVE_DBI_TRUE='#'
  31330. + HAVE_DBI_FALSE=
  31331. +fi
  31332. +
  31333. +if test "x$DBI_LIB" != "x"; then
  31334. + enable_dbi="yes"
  31335. +else
  31336. + enable_dbi="no"
  31337. +fi
  31338. +
  31339. +
  31340. +
  31341. +
  31342. +ac_config_files="$ac_config_files include/Makefile include/ulogd/Makefile include/libipulog/Makefile include/linux/Makefile include/linux/netfilter/Makefile libipulog/Makefile input/Makefile input/packet/Makefile input/flow/Makefile input/sum/Makefile filter/Makefile filter/raw2packet/Makefile filter/packet2flow/Makefile output/Makefile output/pcap/Makefile output/mysql/Makefile output/pgsql/Makefile output/sqlite3/Makefile output/dbi/Makefile src/Makefile Makefile Rules.make"
  31343. +
  31344. +cat >confcache <<\_ACEOF
  31345. +# This file is a shell script that caches the results of configure
  31346. +# tests run on this system so they can be shared between configure
  31347. +# scripts and configure runs, see configure's option --config-cache.
  31348. +# It is not useful on other systems. If it contains results you don't
  31349. +# want to keep, you may remove or edit it.
  31350. +#
  31351. +# config.status only pays attention to the cache file if you give it
  31352. +# the --recheck option to rerun configure.
  31353. +#
  31354. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  31355. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  31356. +# following values.
  31357. +
  31358. +_ACEOF
  31359. +
  31360. +# The following way of writing the cache mishandles newlines in values,
  31361. +# but we know of no workaround that is simple, portable, and efficient.
  31362. +# So, we kill variables containing newlines.
  31363. +# Ultrix sh set writes to stderr and can't be redirected directly,
  31364. +# and sets the high bit in the cache file unless we assign to the vars.
  31365. +(
  31366. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  31367. + eval ac_val=\$$ac_var
  31368. + case $ac_val in #(
  31369. + *${as_nl}*)
  31370. + case $ac_var in #(
  31371. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  31372. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  31373. + esac
  31374. + case $ac_var in #(
  31375. + _ | IFS | as_nl) ;; #(
  31376. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  31377. + *) { eval $ac_var=; unset $ac_var;} ;;
  31378. + esac ;;
  31379. + esac
  31380. + done
  31381. +
  31382. + (set) 2>&1 |
  31383. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  31384. + *${as_nl}ac_space=\ *)
  31385. + # `set' does not quote correctly, so add quotes: double-quote
  31386. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  31387. + sed -n \
  31388. + "s/'/'\\\\''/g;
  31389. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  31390. + ;; #(
  31391. + *)
  31392. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  31393. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  31394. + ;;
  31395. + esac |
  31396. + sort
  31397. +) |
  31398. + sed '
  31399. + /^ac_cv_env_/b end
  31400. + t clear
  31401. + :clear
  31402. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  31403. + t end
  31404. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  31405. + :end' >>confcache
  31406. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  31407. + if test -w "$cache_file"; then
  31408. + if test "x$cache_file" != "x/dev/null"; then
  31409. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  31410. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  31411. + if test ! -f "$cache_file" || test -h "$cache_file"; then
  31412. + cat confcache >"$cache_file"
  31413. + else
  31414. + case $cache_file in #(
  31415. + */* | ?:*)
  31416. + mv -f confcache "$cache_file"$$ &&
  31417. + mv -f "$cache_file"$$ "$cache_file" ;; #(
  31418. + *)
  31419. + mv -f confcache "$cache_file" ;;
  31420. + esac
  31421. + fi
  31422. + fi
  31423. + else
  31424. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  31425. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  31426. + fi
  31427. +fi
  31428. +rm -f confcache
  31429. +
  31430. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  31431. +# Let make expand exec_prefix.
  31432. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  31433. +
  31434. +DEFS=-DHAVE_CONFIG_H
  31435. +
  31436. +ac_libobjs=
  31437. +ac_ltlibobjs=
  31438. +U=
  31439. +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
  31440. + # 1. Remove the extension, and $U if already installed.
  31441. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  31442. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  31443. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  31444. + # will be set to the directory where LIBOBJS objects are built.
  31445. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  31446. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  31447. +done
  31448. +LIB@&t@OBJS=$ac_libobjs
  31449. +
  31450. +LTLIBOBJS=$ac_ltlibobjs
  31451. +
  31452. +
  31453. + if test -n "$EXEEXT"; then
  31454. + am__EXEEXT_TRUE=
  31455. + am__EXEEXT_FALSE='#'
  31456. +else
  31457. + am__EXEEXT_TRUE='#'
  31458. + am__EXEEXT_FALSE=
  31459. +fi
  31460. +
  31461. +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  31462. + as_fn_error $? "conditional \"AMDEP\" was never defined.
  31463. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  31464. +fi
  31465. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  31466. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  31467. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  31468. +fi
  31469. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  31470. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  31471. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  31472. +fi
  31473. +if test -z "${HAVE_PCAP_TRUE}" && test -z "${HAVE_PCAP_FALSE}"; then
  31474. + as_fn_error $? "conditional \"HAVE_PCAP\" was never defined.
  31475. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  31476. +fi
  31477. +if test -z "${BUILD_NFLOG_TRUE}" && test -z "${BUILD_NFLOG_FALSE}"; then
  31478. + as_fn_error $? "conditional \"BUILD_NFLOG\" was never defined.
  31479. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  31480. +fi
  31481. +if test -z "${BUILD_NFCT_TRUE}" && test -z "${BUILD_NFCT_FALSE}"; then
  31482. + as_fn_error $? "conditional \"BUILD_NFCT\" was never defined.
  31483. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  31484. +fi
  31485. +if test -z "${BUILD_NFACCT_TRUE}" && test -z "${BUILD_NFACCT_FALSE}"; then
  31486. + as_fn_error $? "conditional \"BUILD_NFACCT\" was never defined.
  31487. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  31488. +fi
  31489. +if test -z "${HAVE_PGSQL_TRUE}" && test -z "${HAVE_PGSQL_FALSE}"; then
  31490. + as_fn_error $? "conditional \"HAVE_PGSQL\" was never defined.
  31491. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  31492. +fi
  31493. +if test -z "${HAVE_MYSQL_TRUE}" && test -z "${HAVE_MYSQL_FALSE}"; then
  31494. + as_fn_error $? "conditional \"HAVE_MYSQL\" was never defined.
  31495. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  31496. +fi
  31497. +if test -z "${HAVE_SQLITE3_TRUE}" && test -z "${HAVE_SQLITE3_FALSE}"; then
  31498. + as_fn_error $? "conditional \"HAVE_SQLITE3\" was never defined.
  31499. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  31500. +fi
  31501. +if test -z "${HAVE_DBI_TRUE}" && test -z "${HAVE_DBI_FALSE}"; then
  31502. + as_fn_error $? "conditional \"HAVE_DBI\" was never defined.
  31503. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  31504. +fi
  31505. +
  31506. +: "${CONFIG_STATUS=./config.status}"
  31507. +ac_write_fail=0
  31508. +ac_clean_files_save=$ac_clean_files
  31509. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  31510. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  31511. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  31512. +as_write_fail=0
  31513. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  31514. +#! $SHELL
  31515. +# Generated by $as_me.
  31516. +# Run this file to recreate the current configuration.
  31517. +# Compiler output produced by configure, useful for debugging
  31518. +# configure, is in config.log if it exists.
  31519. +
  31520. +debug=false
  31521. +ac_cs_recheck=false
  31522. +ac_cs_silent=false
  31523. +
  31524. +SHELL=\${CONFIG_SHELL-$SHELL}
  31525. +export SHELL
  31526. +_ASEOF
  31527. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  31528. +## -------------------- ##
  31529. +## M4sh Initialization. ##
  31530. +## -------------------- ##
  31531. +
  31532. +# Be more Bourne compatible
  31533. +DUALCASE=1; export DUALCASE # for MKS sh
  31534. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  31535. + emulate sh
  31536. + NULLCMD=:
  31537. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  31538. + # is contrary to our usage. Disable this feature.
  31539. + alias -g '${1+"$@"}'='"$@"'
  31540. + setopt NO_GLOB_SUBST
  31541. +else
  31542. + case `(set -o) 2>/dev/null` in @%:@(
  31543. + *posix*) :
  31544. + set -o posix ;; @%:@(
  31545. + *) :
  31546. + ;;
  31547. +esac
  31548. +fi
  31549. +
  31550. +
  31551. +as_nl='
  31552. +'
  31553. +export as_nl
  31554. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  31555. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  31556. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  31557. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  31558. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  31559. +# but without wasting forks for bash or zsh.
  31560. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  31561. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  31562. + as_echo='print -r --'
  31563. + as_echo_n='print -rn --'
  31564. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  31565. + as_echo='printf %s\n'
  31566. + as_echo_n='printf %s'
  31567. +else
  31568. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  31569. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  31570. + as_echo_n='/usr/ucb/echo -n'
  31571. + else
  31572. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  31573. + as_echo_n_body='eval
  31574. + arg=$1;
  31575. + case $arg in @%:@(
  31576. + *"$as_nl"*)
  31577. + expr "X$arg" : "X\\(.*\\)$as_nl";
  31578. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  31579. + esac;
  31580. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  31581. + '
  31582. + export as_echo_n_body
  31583. + as_echo_n='sh -c $as_echo_n_body as_echo'
  31584. + fi
  31585. + export as_echo_body
  31586. + as_echo='sh -c $as_echo_body as_echo'
  31587. +fi
  31588. +
  31589. +# The user is always right.
  31590. +if test "${PATH_SEPARATOR+set}" != set; then
  31591. + PATH_SEPARATOR=:
  31592. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  31593. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  31594. + PATH_SEPARATOR=';'
  31595. + }
  31596. +fi
  31597. +
  31598. +
  31599. +# IFS
  31600. +# We need space, tab and new line, in precisely that order. Quoting is
  31601. +# there to prevent editors from complaining about space-tab.
  31602. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  31603. +# splitting by setting IFS to empty value.)
  31604. +IFS=" "" $as_nl"
  31605. +
  31606. +# Find who we are. Look in the path if we contain no directory separator.
  31607. +as_myself=
  31608. +case $0 in @%:@((
  31609. + *[\\/]* ) as_myself=$0 ;;
  31610. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31611. +for as_dir in $PATH
  31612. +do
  31613. + IFS=$as_save_IFS
  31614. + test -z "$as_dir" && as_dir=.
  31615. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  31616. + done
  31617. +IFS=$as_save_IFS
  31618. +
  31619. + ;;
  31620. +esac
  31621. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  31622. +# in which case we are not to be found in the path.
  31623. +if test "x$as_myself" = x; then
  31624. + as_myself=$0
  31625. +fi
  31626. +if test ! -f "$as_myself"; then
  31627. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  31628. + exit 1
  31629. +fi
  31630. +
  31631. +# Unset variables that we do not need and which cause bugs (e.g. in
  31632. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  31633. +# suppresses any "Segmentation fault" message there. '((' could
  31634. +# trigger a bug in pdksh 5.2.14.
  31635. +for as_var in BASH_ENV ENV MAIL MAILPATH
  31636. +do eval test x\${$as_var+set} = xset \
  31637. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  31638. +done
  31639. +PS1='$ '
  31640. +PS2='> '
  31641. +PS4='+ '
  31642. +
  31643. +# NLS nuisances.
  31644. +LC_ALL=C
  31645. +export LC_ALL
  31646. +LANGUAGE=C
  31647. +export LANGUAGE
  31648. +
  31649. +# CDPATH.
  31650. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  31651. +
  31652. +
  31653. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  31654. +@%:@ ----------------------------------------
  31655. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  31656. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  31657. +@%:@ script with STATUS, using 1 if that was 0.
  31658. +as_fn_error ()
  31659. +{
  31660. + as_status=$1; test $as_status -eq 0 && as_status=1
  31661. + if test "$4"; then
  31662. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  31663. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  31664. + fi
  31665. + $as_echo "$as_me: error: $2" >&2
  31666. + as_fn_exit $as_status
  31667. +} @%:@ as_fn_error
  31668. +
  31669. +
  31670. +@%:@ as_fn_set_status STATUS
  31671. +@%:@ -----------------------
  31672. +@%:@ Set @S|@? to STATUS, without forking.
  31673. +as_fn_set_status ()
  31674. +{
  31675. + return $1
  31676. +} @%:@ as_fn_set_status
  31677. +
  31678. +@%:@ as_fn_exit STATUS
  31679. +@%:@ -----------------
  31680. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  31681. +as_fn_exit ()
  31682. +{
  31683. + set +e
  31684. + as_fn_set_status $1
  31685. + exit $1
  31686. +} @%:@ as_fn_exit
  31687. +
  31688. +@%:@ as_fn_unset VAR
  31689. +@%:@ ---------------
  31690. +@%:@ Portably unset VAR.
  31691. +as_fn_unset ()
  31692. +{
  31693. + { eval $1=; unset $1;}
  31694. +}
  31695. +as_unset=as_fn_unset
  31696. +@%:@ as_fn_append VAR VALUE
  31697. +@%:@ ----------------------
  31698. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  31699. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  31700. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  31701. +@%:@ implementations.
  31702. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  31703. + eval 'as_fn_append ()
  31704. + {
  31705. + eval $1+=\$2
  31706. + }'
  31707. +else
  31708. + as_fn_append ()
  31709. + {
  31710. + eval $1=\$$1\$2
  31711. + }
  31712. +fi # as_fn_append
  31713. +
  31714. +@%:@ as_fn_arith ARG...
  31715. +@%:@ ------------------
  31716. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  31717. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  31718. +@%:@ must be portable across @S|@(()) and expr.
  31719. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  31720. + eval 'as_fn_arith ()
  31721. + {
  31722. + as_val=$(( $* ))
  31723. + }'
  31724. +else
  31725. + as_fn_arith ()
  31726. + {
  31727. + as_val=`expr "$@" || test $? -eq 1`
  31728. + }
  31729. +fi # as_fn_arith
  31730. +
  31731. +
  31732. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  31733. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  31734. + as_expr=expr
  31735. +else
  31736. + as_expr=false
  31737. +fi
  31738. +
  31739. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  31740. + as_basename=basename
  31741. +else
  31742. + as_basename=false
  31743. +fi
  31744. +
  31745. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  31746. + as_dirname=dirname
  31747. +else
  31748. + as_dirname=false
  31749. +fi
  31750. +
  31751. +as_me=`$as_basename -- "$0" ||
  31752. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  31753. + X"$0" : 'X\(//\)$' \| \
  31754. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  31755. +$as_echo X/"$0" |
  31756. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  31757. + s//\1/
  31758. + q
  31759. + }
  31760. + /^X\/\(\/\/\)$/{
  31761. + s//\1/
  31762. + q
  31763. + }
  31764. + /^X\/\(\/\).*/{
  31765. + s//\1/
  31766. + q
  31767. + }
  31768. + s/.*/./; q'`
  31769. +
  31770. +# Avoid depending upon Character Ranges.
  31771. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  31772. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  31773. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  31774. +as_cr_digits='0123456789'
  31775. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  31776. +
  31777. +ECHO_C= ECHO_N= ECHO_T=
  31778. +case `echo -n x` in @%:@(((((
  31779. +-n*)
  31780. + case `echo 'xy\c'` in
  31781. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  31782. + xy) ECHO_C='\c';;
  31783. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  31784. + ECHO_T=' ';;
  31785. + esac;;
  31786. +*)
  31787. + ECHO_N='-n';;
  31788. +esac
  31789. +
  31790. +rm -f conf$$ conf$$.exe conf$$.file
  31791. +if test -d conf$$.dir; then
  31792. + rm -f conf$$.dir/conf$$.file
  31793. +else
  31794. + rm -f conf$$.dir
  31795. + mkdir conf$$.dir 2>/dev/null
  31796. +fi
  31797. +if (echo >conf$$.file) 2>/dev/null; then
  31798. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  31799. + as_ln_s='ln -s'
  31800. + # ... but there are two gotchas:
  31801. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  31802. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  31803. + # In both cases, we have to default to `cp -p'.
  31804. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  31805. + as_ln_s='cp -p'
  31806. + elif ln conf$$.file conf$$ 2>/dev/null; then
  31807. + as_ln_s=ln
  31808. + else
  31809. + as_ln_s='cp -p'
  31810. + fi
  31811. +else
  31812. + as_ln_s='cp -p'
  31813. +fi
  31814. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  31815. +rmdir conf$$.dir 2>/dev/null
  31816. +
  31817. +
  31818. +@%:@ as_fn_mkdir_p
  31819. +@%:@ -------------
  31820. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  31821. +as_fn_mkdir_p ()
  31822. +{
  31823. +
  31824. + case $as_dir in #(
  31825. + -*) as_dir=./$as_dir;;
  31826. + esac
  31827. + test -d "$as_dir" || eval $as_mkdir_p || {
  31828. + as_dirs=
  31829. + while :; do
  31830. + case $as_dir in #(
  31831. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  31832. + *) as_qdir=$as_dir;;
  31833. + esac
  31834. + as_dirs="'$as_qdir' $as_dirs"
  31835. + as_dir=`$as_dirname -- "$as_dir" ||
  31836. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  31837. + X"$as_dir" : 'X\(//\)[^/]' \| \
  31838. + X"$as_dir" : 'X\(//\)$' \| \
  31839. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  31840. +$as_echo X"$as_dir" |
  31841. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  31842. + s//\1/
  31843. + q
  31844. + }
  31845. + /^X\(\/\/\)[^/].*/{
  31846. + s//\1/
  31847. + q
  31848. + }
  31849. + /^X\(\/\/\)$/{
  31850. + s//\1/
  31851. + q
  31852. + }
  31853. + /^X\(\/\).*/{
  31854. + s//\1/
  31855. + q
  31856. + }
  31857. + s/.*/./; q'`
  31858. + test -d "$as_dir" && break
  31859. + done
  31860. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  31861. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  31862. +
  31863. +
  31864. +} @%:@ as_fn_mkdir_p
  31865. +if mkdir -p . 2>/dev/null; then
  31866. + as_mkdir_p='mkdir -p "$as_dir"'
  31867. +else
  31868. + test -d ./-p && rmdir ./-p
  31869. + as_mkdir_p=false
  31870. +fi
  31871. +
  31872. +if test -x / >/dev/null 2>&1; then
  31873. + as_test_x='test -x'
  31874. +else
  31875. + if ls -dL / >/dev/null 2>&1; then
  31876. + as_ls_L_option=L
  31877. + else
  31878. + as_ls_L_option=
  31879. + fi
  31880. + as_test_x='
  31881. + eval sh -c '\''
  31882. + if test -d "$1"; then
  31883. + test -d "$1/.";
  31884. + else
  31885. + case $1 in @%:@(
  31886. + -*)set "./$1";;
  31887. + esac;
  31888. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
  31889. + ???[sx]*):;;*)false;;esac;fi
  31890. + '\'' sh
  31891. + '
  31892. +fi
  31893. +as_executable_p=$as_test_x
  31894. +
  31895. +# Sed expression to map a string onto a valid CPP name.
  31896. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  31897. +
  31898. +# Sed expression to map a string onto a valid variable name.
  31899. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  31900. +
  31901. +
  31902. +exec 6>&1
  31903. +## ----------------------------------- ##
  31904. +## Main body of $CONFIG_STATUS script. ##
  31905. +## ----------------------------------- ##
  31906. +_ASEOF
  31907. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  31908. +
  31909. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  31910. +# Save the log message, to keep $0 and so on meaningful, and to
  31911. +# report actual input values of CONFIG_FILES etc. instead of their
  31912. +# values after options handling.
  31913. +ac_log="
  31914. +This file was extended by ulogd $as_me 2.0.2, which was
  31915. +generated by GNU Autoconf 2.68. Invocation command line was
  31916. +
  31917. + CONFIG_FILES = $CONFIG_FILES
  31918. + CONFIG_HEADERS = $CONFIG_HEADERS
  31919. + CONFIG_LINKS = $CONFIG_LINKS
  31920. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  31921. + $ $0 $@
  31922. +
  31923. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  31924. +"
  31925. +
  31926. +_ACEOF
  31927. +
  31928. +case $ac_config_files in *"
  31929. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  31930. +esac
  31931. +
  31932. +case $ac_config_headers in *"
  31933. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  31934. +esac
  31935. +
  31936. +
  31937. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  31938. +# Files that config.status was made for.
  31939. +config_files="$ac_config_files"
  31940. +config_headers="$ac_config_headers"
  31941. +config_commands="$ac_config_commands"
  31942. +
  31943. +_ACEOF
  31944. +
  31945. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  31946. +ac_cs_usage="\
  31947. +\`$as_me' instantiates files and other configuration actions
  31948. +from templates according to the current configuration. Unless the files
  31949. +and actions are specified as TAGs, all are instantiated by default.
  31950. +
  31951. +Usage: $0 [OPTION]... [TAG]...
  31952. +
  31953. + -h, --help print this help, then exit
  31954. + -V, --version print version number and configuration settings, then exit
  31955. + --config print configuration, then exit
  31956. + -q, --quiet, --silent
  31957. + do not print progress messages
  31958. + -d, --debug don't remove temporary files
  31959. + --recheck update $as_me by reconfiguring in the same conditions
  31960. + --file=FILE[:TEMPLATE]
  31961. + instantiate the configuration file FILE
  31962. + --header=FILE[:TEMPLATE]
  31963. + instantiate the configuration header FILE
  31964. +
  31965. +Configuration files:
  31966. +$config_files
  31967. +
  31968. +Configuration headers:
  31969. +$config_headers
  31970. +
  31971. +Configuration commands:
  31972. +$config_commands
  31973. +
  31974. +Report bugs to the package provider."
  31975. +
  31976. +_ACEOF
  31977. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  31978. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  31979. +ac_cs_version="\\
  31980. +ulogd config.status 2.0.2
  31981. +configured by $0, generated by GNU Autoconf 2.68,
  31982. + with options \\"\$ac_cs_config\\"
  31983. +
  31984. +Copyright (C) 2010 Free Software Foundation, Inc.
  31985. +This config.status script is free software; the Free Software Foundation
  31986. +gives unlimited permission to copy, distribute and modify it."
  31987. +
  31988. +ac_pwd='$ac_pwd'
  31989. +srcdir='$srcdir'
  31990. +INSTALL='$INSTALL'
  31991. +MKDIR_P='$MKDIR_P'
  31992. +AWK='$AWK'
  31993. +test -n "\$AWK" || AWK=awk
  31994. +_ACEOF
  31995. +
  31996. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  31997. +# The default lists apply if the user does not specify any file.
  31998. +ac_need_defaults=:
  31999. +while test $# != 0
  32000. +do
  32001. + case $1 in
  32002. + --*=?*)
  32003. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  32004. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  32005. + ac_shift=:
  32006. + ;;
  32007. + --*=)
  32008. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  32009. + ac_optarg=
  32010. + ac_shift=:
  32011. + ;;
  32012. + *)
  32013. + ac_option=$1
  32014. + ac_optarg=$2
  32015. + ac_shift=shift
  32016. + ;;
  32017. + esac
  32018. +
  32019. + case $ac_option in
  32020. + # Handling of the options.
  32021. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  32022. + ac_cs_recheck=: ;;
  32023. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  32024. + $as_echo "$ac_cs_version"; exit ;;
  32025. + --config | --confi | --conf | --con | --co | --c )
  32026. + $as_echo "$ac_cs_config"; exit ;;
  32027. + --debug | --debu | --deb | --de | --d | -d )
  32028. + debug=: ;;
  32029. + --file | --fil | --fi | --f )
  32030. + $ac_shift
  32031. + case $ac_optarg in
  32032. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  32033. + '') as_fn_error $? "missing file argument" ;;
  32034. + esac
  32035. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  32036. + ac_need_defaults=false;;
  32037. + --header | --heade | --head | --hea )
  32038. + $ac_shift
  32039. + case $ac_optarg in
  32040. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  32041. + esac
  32042. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  32043. + ac_need_defaults=false;;
  32044. + --he | --h)
  32045. + # Conflict between --help and --header
  32046. + as_fn_error $? "ambiguous option: \`$1'
  32047. +Try \`$0 --help' for more information.";;
  32048. + --help | --hel | -h )
  32049. + $as_echo "$ac_cs_usage"; exit ;;
  32050. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  32051. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  32052. + ac_cs_silent=: ;;
  32053. +
  32054. + # This is an error.
  32055. + -*) as_fn_error $? "unrecognized option: \`$1'
  32056. +Try \`$0 --help' for more information." ;;
  32057. +
  32058. + *) as_fn_append ac_config_targets " $1"
  32059. + ac_need_defaults=false ;;
  32060. +
  32061. + esac
  32062. + shift
  32063. +done
  32064. +
  32065. +ac_configure_extra_args=
  32066. +
  32067. +if $ac_cs_silent; then
  32068. + exec 6>/dev/null
  32069. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  32070. +fi
  32071. +
  32072. +_ACEOF
  32073. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  32074. +if \$ac_cs_recheck; then
  32075. + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  32076. + shift
  32077. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  32078. + CONFIG_SHELL='$SHELL'
  32079. + export CONFIG_SHELL
  32080. + exec "\$@"
  32081. +fi
  32082. +
  32083. +_ACEOF
  32084. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  32085. +exec 5>>config.log
  32086. +{
  32087. + echo
  32088. + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
  32089. +@%:@@%:@ Running $as_me. @%:@@%:@
  32090. +_ASBOX
  32091. + $as_echo "$ac_log"
  32092. +} >&5
  32093. +
  32094. +_ACEOF
  32095. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  32096. +#
  32097. +# INIT-COMMANDS
  32098. +#
  32099. +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  32100. +
  32101. +
  32102. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  32103. +# if CDPATH is set.
  32104. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  32105. +
  32106. +sed_quote_subst='$sed_quote_subst'
  32107. +double_quote_subst='$double_quote_subst'
  32108. +delay_variable_subst='$delay_variable_subst'
  32109. +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  32110. +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  32111. +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  32112. +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  32113. +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  32114. +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  32115. +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  32116. +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  32117. +PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
  32118. +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  32119. +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  32120. +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  32121. +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  32122. +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  32123. +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  32124. +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  32125. +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  32126. +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  32127. +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  32128. +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  32129. +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  32130. +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  32131. +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  32132. +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  32133. +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  32134. +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  32135. +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  32136. +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  32137. +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  32138. +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  32139. +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  32140. +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  32141. +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  32142. +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  32143. +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  32144. +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  32145. +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  32146. +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  32147. +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  32148. +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  32149. +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  32150. +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  32151. +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  32152. +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  32153. +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  32154. +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  32155. +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  32156. +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  32157. +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  32158. +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  32159. +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  32160. +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  32161. +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  32162. +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  32163. +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  32164. +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  32165. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
  32166. +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  32167. +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  32168. +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  32169. +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  32170. +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  32171. +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  32172. +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  32173. +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  32174. +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  32175. +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  32176. +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  32177. +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  32178. +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  32179. +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  32180. +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  32181. +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  32182. +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  32183. +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  32184. +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  32185. +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  32186. +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  32187. +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  32188. +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  32189. +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  32190. +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  32191. +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  32192. +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  32193. +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  32194. +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  32195. +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  32196. +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  32197. +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  32198. +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  32199. +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  32200. +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  32201. +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  32202. +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  32203. +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  32204. +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  32205. +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  32206. +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  32207. +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  32208. +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  32209. +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  32210. +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  32211. +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  32212. +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  32213. +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  32214. +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  32215. +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  32216. +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  32217. +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  32218. +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  32219. +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  32220. +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  32221. +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  32222. +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  32223. +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  32224. +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  32225. +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  32226. +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  32227. +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  32228. +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  32229. +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  32230. +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  32231. +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  32232. +sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
  32233. +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  32234. +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  32235. +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  32236. +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  32237. +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  32238. +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  32239. +
  32240. +LTCC='$LTCC'
  32241. +LTCFLAGS='$LTCFLAGS'
  32242. +compiler='$compiler_DEFAULT'
  32243. +
  32244. +# A function that is used when there is no print builtin or printf.
  32245. +func_fallback_echo ()
  32246. +{
  32247. + eval 'cat <<_LTECHO_EOF
  32248. +\$1
  32249. +_LTECHO_EOF'
  32250. +}
  32251. +
  32252. +# Quote evaled strings.
  32253. +for var in SHELL \
  32254. +ECHO \
  32255. +PATH_SEPARATOR \
  32256. +SED \
  32257. +GREP \
  32258. +EGREP \
  32259. +FGREP \
  32260. +LD \
  32261. +NM \
  32262. +LN_S \
  32263. +lt_SP2NL \
  32264. +lt_NL2SP \
  32265. +reload_flag \
  32266. +OBJDUMP \
  32267. +deplibs_check_method \
  32268. +file_magic_cmd \
  32269. +file_magic_glob \
  32270. +want_nocaseglob \
  32271. +DLLTOOL \
  32272. +sharedlib_from_linklib_cmd \
  32273. +AR \
  32274. +AR_FLAGS \
  32275. +archiver_list_spec \
  32276. +STRIP \
  32277. +RANLIB \
  32278. +CC \
  32279. +CFLAGS \
  32280. +compiler \
  32281. +lt_cv_sys_global_symbol_pipe \
  32282. +lt_cv_sys_global_symbol_to_cdecl \
  32283. +lt_cv_sys_global_symbol_to_c_name_address \
  32284. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  32285. +nm_file_list_spec \
  32286. +lt_prog_compiler_no_builtin_flag \
  32287. +lt_prog_compiler_pic \
  32288. +lt_prog_compiler_wl \
  32289. +lt_prog_compiler_static \
  32290. +lt_cv_prog_compiler_c_o \
  32291. +need_locks \
  32292. +MANIFEST_TOOL \
  32293. +DSYMUTIL \
  32294. +NMEDIT \
  32295. +LIPO \
  32296. +OTOOL \
  32297. +OTOOL64 \
  32298. +shrext_cmds \
  32299. +export_dynamic_flag_spec \
  32300. +whole_archive_flag_spec \
  32301. +compiler_needs_object \
  32302. +with_gnu_ld \
  32303. +allow_undefined_flag \
  32304. +no_undefined_flag \
  32305. +hardcode_libdir_flag_spec \
  32306. +hardcode_libdir_separator \
  32307. +exclude_expsyms \
  32308. +include_expsyms \
  32309. +file_list_spec \
  32310. +variables_saved_for_relink \
  32311. +libname_spec \
  32312. +library_names_spec \
  32313. +soname_spec \
  32314. +install_override_mode \
  32315. +finish_eval \
  32316. +old_striplib \
  32317. +striplib; do
  32318. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  32319. + *[\\\\\\\`\\"\\\$]*)
  32320. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  32321. + ;;
  32322. + *)
  32323. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  32324. + ;;
  32325. + esac
  32326. +done
  32327. +
  32328. +# Double-quote double-evaled strings.
  32329. +for var in reload_cmds \
  32330. +old_postinstall_cmds \
  32331. +old_postuninstall_cmds \
  32332. +old_archive_cmds \
  32333. +extract_expsyms_cmds \
  32334. +old_archive_from_new_cmds \
  32335. +old_archive_from_expsyms_cmds \
  32336. +archive_cmds \
  32337. +archive_expsym_cmds \
  32338. +module_cmds \
  32339. +module_expsym_cmds \
  32340. +export_symbols_cmds \
  32341. +prelink_cmds \
  32342. +postlink_cmds \
  32343. +postinstall_cmds \
  32344. +postuninstall_cmds \
  32345. +finish_cmds \
  32346. +sys_lib_search_path_spec \
  32347. +sys_lib_dlsearch_path_spec; do
  32348. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  32349. + *[\\\\\\\`\\"\\\$]*)
  32350. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  32351. + ;;
  32352. + *)
  32353. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  32354. + ;;
  32355. + esac
  32356. +done
  32357. +
  32358. +ac_aux_dir='$ac_aux_dir'
  32359. +xsi_shell='$xsi_shell'
  32360. +lt_shell_append='$lt_shell_append'
  32361. +
  32362. +# See if we are running on zsh, and set the options which allow our
  32363. +# commands through without removal of \ escapes INIT.
  32364. +if test -n "\${ZSH_VERSION+set}" ; then
  32365. + setopt NO_GLOB_SUBST
  32366. +fi
  32367. +
  32368. +
  32369. + PACKAGE='$PACKAGE'
  32370. + VERSION='$VERSION'
  32371. + TIMESTAMP='$TIMESTAMP'
  32372. + RM='$RM'
  32373. + ofile='$ofile'
  32374. +
  32375. +
  32376. +
  32377. +
  32378. +_ACEOF
  32379. +
  32380. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  32381. +
  32382. +# Handling of arguments.
  32383. +for ac_config_target in $ac_config_targets
  32384. +do
  32385. + case $ac_config_target in
  32386. + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  32387. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  32388. + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  32389. + "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
  32390. + "include/ulogd/Makefile") CONFIG_FILES="$CONFIG_FILES include/ulogd/Makefile" ;;
  32391. + "include/libipulog/Makefile") CONFIG_FILES="$CONFIG_FILES include/libipulog/Makefile" ;;
  32392. + "include/linux/Makefile") CONFIG_FILES="$CONFIG_FILES include/linux/Makefile" ;;
  32393. + "include/linux/netfilter/Makefile") CONFIG_FILES="$CONFIG_FILES include/linux/netfilter/Makefile" ;;
  32394. + "libipulog/Makefile") CONFIG_FILES="$CONFIG_FILES libipulog/Makefile" ;;
  32395. + "input/Makefile") CONFIG_FILES="$CONFIG_FILES input/Makefile" ;;
  32396. + "input/packet/Makefile") CONFIG_FILES="$CONFIG_FILES input/packet/Makefile" ;;
  32397. + "input/flow/Makefile") CONFIG_FILES="$CONFIG_FILES input/flow/Makefile" ;;
  32398. + "input/sum/Makefile") CONFIG_FILES="$CONFIG_FILES input/sum/Makefile" ;;
  32399. + "filter/Makefile") CONFIG_FILES="$CONFIG_FILES filter/Makefile" ;;
  32400. + "filter/raw2packet/Makefile") CONFIG_FILES="$CONFIG_FILES filter/raw2packet/Makefile" ;;
  32401. + "filter/packet2flow/Makefile") CONFIG_FILES="$CONFIG_FILES filter/packet2flow/Makefile" ;;
  32402. + "output/Makefile") CONFIG_FILES="$CONFIG_FILES output/Makefile" ;;
  32403. + "output/pcap/Makefile") CONFIG_FILES="$CONFIG_FILES output/pcap/Makefile" ;;
  32404. + "output/mysql/Makefile") CONFIG_FILES="$CONFIG_FILES output/mysql/Makefile" ;;
  32405. + "output/pgsql/Makefile") CONFIG_FILES="$CONFIG_FILES output/pgsql/Makefile" ;;
  32406. + "output/sqlite3/Makefile") CONFIG_FILES="$CONFIG_FILES output/sqlite3/Makefile" ;;
  32407. + "output/dbi/Makefile") CONFIG_FILES="$CONFIG_FILES output/dbi/Makefile" ;;
  32408. + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  32409. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  32410. + "Rules.make") CONFIG_FILES="$CONFIG_FILES Rules.make" ;;
  32411. +
  32412. + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  32413. + esac
  32414. +done
  32415. +
  32416. +
  32417. +# If the user did not use the arguments to specify the items to instantiate,
  32418. +# then the envvar interface is used. Set only those that are not.
  32419. +# We use the long form for the default assignment because of an extremely
  32420. +# bizarre bug on SunOS 4.1.3.
  32421. +if $ac_need_defaults; then
  32422. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  32423. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  32424. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  32425. +fi
  32426. +
  32427. +# Have a temporary directory for convenience. Make it in the build tree
  32428. +# simply because there is no reason against having it here, and in addition,
  32429. +# creating and moving files from /tmp can sometimes cause problems.
  32430. +# Hook for its removal unless debugging.
  32431. +# Note that there is a small window in which the directory will not be cleaned:
  32432. +# after its creation but before its name has been assigned to `$tmp'.
  32433. +$debug ||
  32434. +{
  32435. + tmp= ac_tmp=
  32436. + trap 'exit_status=$?
  32437. + : "${ac_tmp:=$tmp}"
  32438. + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  32439. +' 0
  32440. + trap 'as_fn_exit 1' 1 2 13 15
  32441. +}
  32442. +# Create a (secure) tmp directory for tmp files.
  32443. +
  32444. +{
  32445. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  32446. + test -d "$tmp"
  32447. +} ||
  32448. +{
  32449. + tmp=./conf$$-$RANDOM
  32450. + (umask 077 && mkdir "$tmp")
  32451. +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  32452. +ac_tmp=$tmp
  32453. +
  32454. +# Set up the scripts for CONFIG_FILES section.
  32455. +# No need to generate them if there are no CONFIG_FILES.
  32456. +# This happens for instance with `./config.status config.h'.
  32457. +if test -n "$CONFIG_FILES"; then
  32458. +
  32459. +
  32460. +ac_cr=`echo X | tr X '\015'`
  32461. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  32462. +# But we know of no other shell where ac_cr would be empty at this
  32463. +# point, so we can use a bashism as a fallback.
  32464. +if test "x$ac_cr" = x; then
  32465. + eval ac_cr=\$\'\\r\'
  32466. +fi
  32467. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  32468. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  32469. + ac_cs_awk_cr='\\r'
  32470. +else
  32471. + ac_cs_awk_cr=$ac_cr
  32472. +fi
  32473. +
  32474. +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  32475. +_ACEOF
  32476. +
  32477. +
  32478. +{
  32479. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  32480. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  32481. + echo "_ACEOF"
  32482. +} >conf$$subs.sh ||
  32483. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  32484. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  32485. +ac_delim='%!_!# '
  32486. +for ac_last_try in false false false false false :; do
  32487. + . ./conf$$subs.sh ||
  32488. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  32489. +
  32490. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  32491. + if test $ac_delim_n = $ac_delim_num; then
  32492. + break
  32493. + elif $ac_last_try; then
  32494. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  32495. + else
  32496. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  32497. + fi
  32498. +done
  32499. +rm -f conf$$subs.sh
  32500. +
  32501. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  32502. +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  32503. +_ACEOF
  32504. +sed -n '
  32505. +h
  32506. +s/^/S["/; s/!.*/"]=/
  32507. +p
  32508. +g
  32509. +s/^[^!]*!//
  32510. +:repl
  32511. +t repl
  32512. +s/'"$ac_delim"'$//
  32513. +t delim
  32514. +:nl
  32515. +h
  32516. +s/\(.\{148\}\)..*/\1/
  32517. +t more1
  32518. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  32519. +p
  32520. +n
  32521. +b repl
  32522. +:more1
  32523. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  32524. +p
  32525. +g
  32526. +s/.\{148\}//
  32527. +t nl
  32528. +:delim
  32529. +h
  32530. +s/\(.\{148\}\)..*/\1/
  32531. +t more2
  32532. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  32533. +p
  32534. +b
  32535. +:more2
  32536. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  32537. +p
  32538. +g
  32539. +s/.\{148\}//
  32540. +t delim
  32541. +' <conf$$subs.awk | sed '
  32542. +/^[^""]/{
  32543. + N
  32544. + s/\n//
  32545. +}
  32546. +' >>$CONFIG_STATUS || ac_write_fail=1
  32547. +rm -f conf$$subs.awk
  32548. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  32549. +_ACAWK
  32550. +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  32551. + for (key in S) S_is_set[key] = 1
  32552. + FS = ""
  32553. +
  32554. +}
  32555. +{
  32556. + line = $ 0
  32557. + nfields = split(line, field, "@")
  32558. + substed = 0
  32559. + len = length(field[1])
  32560. + for (i = 2; i < nfields; i++) {
  32561. + key = field[i]
  32562. + keylen = length(key)
  32563. + if (S_is_set[key]) {
  32564. + value = S[key]
  32565. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  32566. + len += length(value) + length(field[++i])
  32567. + substed = 1
  32568. + } else
  32569. + len += 1 + keylen
  32570. + }
  32571. +
  32572. + print line
  32573. +}
  32574. +
  32575. +_ACAWK
  32576. +_ACEOF
  32577. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  32578. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  32579. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  32580. +else
  32581. + cat
  32582. +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  32583. + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  32584. +_ACEOF
  32585. +
  32586. +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  32587. +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  32588. +# trailing colons and then remove the whole line if VPATH becomes empty
  32589. +# (actually we leave an empty line to preserve line numbers).
  32590. +if test "x$srcdir" = x.; then
  32591. + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  32592. +h
  32593. +s///
  32594. +s/^/:/
  32595. +s/[ ]*$/:/
  32596. +s/:\$(srcdir):/:/g
  32597. +s/:\${srcdir}:/:/g
  32598. +s/:@srcdir@:/:/g
  32599. +s/^:*//
  32600. +s/:*$//
  32601. +x
  32602. +s/\(=[ ]*\).*/\1/
  32603. +G
  32604. +s/\n//
  32605. +s/^[^=]*=[ ]*$//
  32606. +}'
  32607. +fi
  32608. +
  32609. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  32610. +fi # test -n "$CONFIG_FILES"
  32611. +
  32612. +# Set up the scripts for CONFIG_HEADERS section.
  32613. +# No need to generate them if there are no CONFIG_HEADERS.
  32614. +# This happens for instance with `./config.status Makefile'.
  32615. +if test -n "$CONFIG_HEADERS"; then
  32616. +cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  32617. +BEGIN {
  32618. +_ACEOF
  32619. +
  32620. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  32621. +# here-document in config.status, that substitutes the proper values into
  32622. +# config.h.in to produce config.h.
  32623. +
  32624. +# Create a delimiter string that does not exist in confdefs.h, to ease
  32625. +# handling of long lines.
  32626. +ac_delim='%!_!# '
  32627. +for ac_last_try in false false :; do
  32628. + ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  32629. + if test -z "$ac_tt"; then
  32630. + break
  32631. + elif $ac_last_try; then
  32632. + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  32633. + else
  32634. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  32635. + fi
  32636. +done
  32637. +
  32638. +# For the awk script, D is an array of macro values keyed by name,
  32639. +# likewise P contains macro parameters if any. Preserve backslash
  32640. +# newline sequences.
  32641. +
  32642. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  32643. +sed -n '
  32644. +s/.\{148\}/&'"$ac_delim"'/g
  32645. +t rset
  32646. +:rset
  32647. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  32648. +t def
  32649. +d
  32650. +:def
  32651. +s/\\$//
  32652. +t bsnl
  32653. +s/["\\]/\\&/g
  32654. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  32655. +D["\1"]=" \3"/p
  32656. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  32657. +d
  32658. +:bsnl
  32659. +s/["\\]/\\&/g
  32660. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  32661. +D["\1"]=" \3\\\\\\n"\\/p
  32662. +t cont
  32663. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  32664. +t cont
  32665. +d
  32666. +:cont
  32667. +n
  32668. +s/.\{148\}/&'"$ac_delim"'/g
  32669. +t clear
  32670. +:clear
  32671. +s/\\$//
  32672. +t bsnlc
  32673. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  32674. +d
  32675. +:bsnlc
  32676. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  32677. +b cont
  32678. +' <confdefs.h | sed '
  32679. +s/'"$ac_delim"'/"\\\
  32680. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  32681. +
  32682. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  32683. + for (key in D) D_is_set[key] = 1
  32684. + FS = ""
  32685. +}
  32686. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  32687. + line = \$ 0
  32688. + split(line, arg, " ")
  32689. + if (arg[1] == "#") {
  32690. + defundef = arg[2]
  32691. + mac1 = arg[3]
  32692. + } else {
  32693. + defundef = substr(arg[1], 2)
  32694. + mac1 = arg[2]
  32695. + }
  32696. + split(mac1, mac2, "(") #)
  32697. + macro = mac2[1]
  32698. + prefix = substr(line, 1, index(line, defundef) - 1)
  32699. + if (D_is_set[macro]) {
  32700. + # Preserve the white space surrounding the "#".
  32701. + print prefix "define", macro P[macro] D[macro]
  32702. + next
  32703. + } else {
  32704. + # Replace #undef with comments. This is necessary, for example,
  32705. + # in the case of _POSIX_SOURCE, which is predefined and required
  32706. + # on some systems where configure will not decide to define it.
  32707. + if (defundef == "undef") {
  32708. + print "/*", prefix defundef, macro, "*/"
  32709. + next
  32710. + }
  32711. + }
  32712. +}
  32713. +{ print }
  32714. +_ACAWK
  32715. +_ACEOF
  32716. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  32717. + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  32718. +fi # test -n "$CONFIG_HEADERS"
  32719. +
  32720. +
  32721. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  32722. +shift
  32723. +for ac_tag
  32724. +do
  32725. + case $ac_tag in
  32726. + :[FHLC]) ac_mode=$ac_tag; continue;;
  32727. + esac
  32728. + case $ac_mode$ac_tag in
  32729. + :[FHL]*:*);;
  32730. + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  32731. + :[FH]-) ac_tag=-:-;;
  32732. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  32733. + esac
  32734. + ac_save_IFS=$IFS
  32735. + IFS=:
  32736. + set x $ac_tag
  32737. + IFS=$ac_save_IFS
  32738. + shift
  32739. + ac_file=$1
  32740. + shift
  32741. +
  32742. + case $ac_mode in
  32743. + :L) ac_source=$1;;
  32744. + :[FH])
  32745. + ac_file_inputs=
  32746. + for ac_f
  32747. + do
  32748. + case $ac_f in
  32749. + -) ac_f="$ac_tmp/stdin";;
  32750. + *) # Look for the file first in the build tree, then in the source tree
  32751. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  32752. + # because $ac_f cannot contain `:'.
  32753. + test -f "$ac_f" ||
  32754. + case $ac_f in
  32755. + [\\/$]*) false;;
  32756. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  32757. + esac ||
  32758. + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  32759. + esac
  32760. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  32761. + as_fn_append ac_file_inputs " '$ac_f'"
  32762. + done
  32763. +
  32764. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  32765. + # use $as_me), people would be surprised to read:
  32766. + # /* config.h. Generated by config.status. */
  32767. + configure_input='Generated from '`
  32768. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  32769. + `' by configure.'
  32770. + if test x"$ac_file" != x-; then
  32771. + configure_input="$ac_file. $configure_input"
  32772. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  32773. +$as_echo "$as_me: creating $ac_file" >&6;}
  32774. + fi
  32775. + # Neutralize special characters interpreted by sed in replacement strings.
  32776. + case $configure_input in #(
  32777. + *\&* | *\|* | *\\* )
  32778. + ac_sed_conf_input=`$as_echo "$configure_input" |
  32779. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  32780. + *) ac_sed_conf_input=$configure_input;;
  32781. + esac
  32782. +
  32783. + case $ac_tag in
  32784. + *:-:* | *:-) cat >"$ac_tmp/stdin" \
  32785. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  32786. + esac
  32787. + ;;
  32788. + esac
  32789. +
  32790. + ac_dir=`$as_dirname -- "$ac_file" ||
  32791. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  32792. + X"$ac_file" : 'X\(//\)[^/]' \| \
  32793. + X"$ac_file" : 'X\(//\)$' \| \
  32794. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  32795. +$as_echo X"$ac_file" |
  32796. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  32797. + s//\1/
  32798. + q
  32799. + }
  32800. + /^X\(\/\/\)[^/].*/{
  32801. + s//\1/
  32802. + q
  32803. + }
  32804. + /^X\(\/\/\)$/{
  32805. + s//\1/
  32806. + q
  32807. + }
  32808. + /^X\(\/\).*/{
  32809. + s//\1/
  32810. + q
  32811. + }
  32812. + s/.*/./; q'`
  32813. + as_dir="$ac_dir"; as_fn_mkdir_p
  32814. + ac_builddir=.
  32815. +
  32816. +case "$ac_dir" in
  32817. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  32818. +*)
  32819. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  32820. + # A ".." for each directory in $ac_dir_suffix.
  32821. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  32822. + case $ac_top_builddir_sub in
  32823. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  32824. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  32825. + esac ;;
  32826. +esac
  32827. +ac_abs_top_builddir=$ac_pwd
  32828. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  32829. +# for backward compatibility:
  32830. +ac_top_builddir=$ac_top_build_prefix
  32831. +
  32832. +case $srcdir in
  32833. + .) # We are building in place.
  32834. + ac_srcdir=.
  32835. + ac_top_srcdir=$ac_top_builddir_sub
  32836. + ac_abs_top_srcdir=$ac_pwd ;;
  32837. + [\\/]* | ?:[\\/]* ) # Absolute name.
  32838. + ac_srcdir=$srcdir$ac_dir_suffix;
  32839. + ac_top_srcdir=$srcdir
  32840. + ac_abs_top_srcdir=$srcdir ;;
  32841. + *) # Relative name.
  32842. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  32843. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  32844. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  32845. +esac
  32846. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  32847. +
  32848. +
  32849. + case $ac_mode in
  32850. + :F)
  32851. + #
  32852. + # CONFIG_FILE
  32853. + #
  32854. +
  32855. + case $INSTALL in
  32856. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  32857. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  32858. + esac
  32859. + ac_MKDIR_P=$MKDIR_P
  32860. + case $MKDIR_P in
  32861. + [\\/$]* | ?:[\\/]* ) ;;
  32862. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  32863. + esac
  32864. +_ACEOF
  32865. +
  32866. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  32867. +# If the template does not know about datarootdir, expand it.
  32868. +# FIXME: This hack should be removed a few years after 2.60.
  32869. +ac_datarootdir_hack=; ac_datarootdir_seen=
  32870. +ac_sed_dataroot='
  32871. +/datarootdir/ {
  32872. + p
  32873. + q
  32874. +}
  32875. +/@datadir@/p
  32876. +/@docdir@/p
  32877. +/@infodir@/p
  32878. +/@localedir@/p
  32879. +/@mandir@/p'
  32880. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  32881. +*datarootdir*) ac_datarootdir_seen=yes;;
  32882. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  32883. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  32884. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  32885. +_ACEOF
  32886. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  32887. + ac_datarootdir_hack='
  32888. + s&@datadir@&$datadir&g
  32889. + s&@docdir@&$docdir&g
  32890. + s&@infodir@&$infodir&g
  32891. + s&@localedir@&$localedir&g
  32892. + s&@mandir@&$mandir&g
  32893. + s&\\\${datarootdir}&$datarootdir&g' ;;
  32894. +esac
  32895. +_ACEOF
  32896. +
  32897. +# Neutralize VPATH when `$srcdir' = `.'.
  32898. +# Shell code in configure.ac might set extrasub.
  32899. +# FIXME: do we really want to maintain this feature?
  32900. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  32901. +ac_sed_extra="$ac_vpsub
  32902. +$extrasub
  32903. +_ACEOF
  32904. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  32905. +:t
  32906. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  32907. +s|@configure_input@|$ac_sed_conf_input|;t t
  32908. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  32909. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  32910. +s&@srcdir@&$ac_srcdir&;t t
  32911. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  32912. +s&@top_srcdir@&$ac_top_srcdir&;t t
  32913. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  32914. +s&@builddir@&$ac_builddir&;t t
  32915. +s&@abs_builddir@&$ac_abs_builddir&;t t
  32916. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  32917. +s&@INSTALL@&$ac_INSTALL&;t t
  32918. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  32919. +$ac_datarootdir_hack
  32920. +"
  32921. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  32922. + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  32923. +
  32924. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  32925. + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  32926. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  32927. + "$ac_tmp/out"`; test -z "$ac_out"; } &&
  32928. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  32929. +which seems to be undefined. Please make sure it is defined" >&5
  32930. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  32931. +which seems to be undefined. Please make sure it is defined" >&2;}
  32932. +
  32933. + rm -f "$ac_tmp/stdin"
  32934. + case $ac_file in
  32935. + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  32936. + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  32937. + esac \
  32938. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  32939. + ;;
  32940. + :H)
  32941. + #
  32942. + # CONFIG_HEADER
  32943. + #
  32944. + if test x"$ac_file" != x-; then
  32945. + {
  32946. + $as_echo "/* $configure_input */" \
  32947. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  32948. + } >"$ac_tmp/config.h" \
  32949. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  32950. + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  32951. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  32952. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  32953. + else
  32954. + rm -f "$ac_file"
  32955. + mv "$ac_tmp/config.h" "$ac_file" \
  32956. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  32957. + fi
  32958. + else
  32959. + $as_echo "/* $configure_input */" \
  32960. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  32961. + || as_fn_error $? "could not create -" "$LINENO" 5
  32962. + fi
  32963. +# Compute "$ac_file"'s index in $config_headers.
  32964. +_am_arg="$ac_file"
  32965. +_am_stamp_count=1
  32966. +for _am_header in $config_headers :; do
  32967. + case $_am_header in
  32968. + $_am_arg | $_am_arg:* )
  32969. + break ;;
  32970. + * )
  32971. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  32972. + esac
  32973. +done
  32974. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  32975. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  32976. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  32977. + X"$_am_arg" : 'X\(//\)$' \| \
  32978. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  32979. +$as_echo X"$_am_arg" |
  32980. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  32981. + s//\1/
  32982. + q
  32983. + }
  32984. + /^X\(\/\/\)[^/].*/{
  32985. + s//\1/
  32986. + q
  32987. + }
  32988. + /^X\(\/\/\)$/{
  32989. + s//\1/
  32990. + q
  32991. + }
  32992. + /^X\(\/\).*/{
  32993. + s//\1/
  32994. + q
  32995. + }
  32996. + s/.*/./; q'`/stamp-h$_am_stamp_count
  32997. + ;;
  32998. +
  32999. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  33000. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  33001. + ;;
  33002. + esac
  33003. +
  33004. +
  33005. + case $ac_file$ac_mode in
  33006. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  33007. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  33008. + # are listed without --file. Let's play safe and only enable the eval
  33009. + # if we detect the quoting.
  33010. + case $CONFIG_FILES in
  33011. + *\'*) eval set x "$CONFIG_FILES" ;;
  33012. + *) set x $CONFIG_FILES ;;
  33013. + esac
  33014. + shift
  33015. + for mf
  33016. + do
  33017. + # Strip MF so we end up with the name of the file.
  33018. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  33019. + # Check whether this is an Automake generated Makefile or not.
  33020. + # We used to match only the files named `Makefile.in', but
  33021. + # some people rename them; so instead we look at the file content.
  33022. + # Grep'ing the first line is not enough: some people post-process
  33023. + # each Makefile.in and add a new line on top of each file to say so.
  33024. + # Grep'ing the whole file is not good either: AIX grep has a line
  33025. + # limit of 2048, but all sed's we know have understand at least 4000.
  33026. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  33027. + dirpart=`$as_dirname -- "$mf" ||
  33028. +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  33029. + X"$mf" : 'X\(//\)[^/]' \| \
  33030. + X"$mf" : 'X\(//\)$' \| \
  33031. + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  33032. +$as_echo X"$mf" |
  33033. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  33034. + s//\1/
  33035. + q
  33036. + }
  33037. + /^X\(\/\/\)[^/].*/{
  33038. + s//\1/
  33039. + q
  33040. + }
  33041. + /^X\(\/\/\)$/{
  33042. + s//\1/
  33043. + q
  33044. + }
  33045. + /^X\(\/\).*/{
  33046. + s//\1/
  33047. + q
  33048. + }
  33049. + s/.*/./; q'`
  33050. + else
  33051. + continue
  33052. + fi
  33053. + # Extract the definition of DEPDIR, am__include, and am__quote
  33054. + # from the Makefile without running `make'.
  33055. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  33056. + test -z "$DEPDIR" && continue
  33057. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  33058. + test -z "am__include" && continue
  33059. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  33060. + # When using ansi2knr, U may be empty or an underscore; expand it
  33061. + U=`sed -n 's/^U = //p' < "$mf"`
  33062. + # Find all dependency output files, they are included files with
  33063. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  33064. + # simplest approach to changing $(DEPDIR) to its actual value in the
  33065. + # expansion.
  33066. + for file in `sed -n "
  33067. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  33068. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  33069. + # Make sure the directory exists.
  33070. + test -f "$dirpart/$file" && continue
  33071. + fdir=`$as_dirname -- "$file" ||
  33072. +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  33073. + X"$file" : 'X\(//\)[^/]' \| \
  33074. + X"$file" : 'X\(//\)$' \| \
  33075. + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  33076. +$as_echo X"$file" |
  33077. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  33078. + s//\1/
  33079. + q
  33080. + }
  33081. + /^X\(\/\/\)[^/].*/{
  33082. + s//\1/
  33083. + q
  33084. + }
  33085. + /^X\(\/\/\)$/{
  33086. + s//\1/
  33087. + q
  33088. + }
  33089. + /^X\(\/\).*/{
  33090. + s//\1/
  33091. + q
  33092. + }
  33093. + s/.*/./; q'`
  33094. + as_dir=$dirpart/$fdir; as_fn_mkdir_p
  33095. + # echo "creating $dirpart/$file"
  33096. + echo '# dummy' > "$dirpart/$file"
  33097. + done
  33098. + done
  33099. +}
  33100. + ;;
  33101. + "libtool":C)
  33102. +
  33103. + # See if we are running on zsh, and set the options which allow our
  33104. + # commands through without removal of \ escapes.
  33105. + if test -n "${ZSH_VERSION+set}" ; then
  33106. + setopt NO_GLOB_SUBST
  33107. + fi
  33108. +
  33109. + cfgfile="${ofile}T"
  33110. + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  33111. + $RM "$cfgfile"
  33112. +
  33113. + cat <<_LT_EOF >> "$cfgfile"
  33114. +#! $SHELL
  33115. +
  33116. +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  33117. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  33118. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  33119. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  33120. +#
  33121. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  33122. +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  33123. +# Foundation, Inc.
  33124. +# Written by Gordon Matzigkeit, 1996
  33125. +#
  33126. +# This file is part of GNU Libtool.
  33127. +#
  33128. +# GNU Libtool is free software; you can redistribute it and/or
  33129. +# modify it under the terms of the GNU General Public License as
  33130. +# published by the Free Software Foundation; either version 2 of
  33131. +# the License, or (at your option) any later version.
  33132. +#
  33133. +# As a special exception to the GNU General Public License,
  33134. +# if you distribute this file as part of a program or library that
  33135. +# is built using GNU Libtool, you may include this file under the
  33136. +# same distribution terms that you use for the rest of that program.
  33137. +#
  33138. +# GNU Libtool is distributed in the hope that it will be useful,
  33139. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  33140. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  33141. +# GNU General Public License for more details.
  33142. +#
  33143. +# You should have received a copy of the GNU General Public License
  33144. +# along with GNU Libtool; see the file COPYING. If not, a copy
  33145. +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  33146. +# obtained by writing to the Free Software Foundation, Inc.,
  33147. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  33148. +
  33149. +
  33150. +# The names of the tagged configurations supported by this script.
  33151. +available_tags=""
  33152. +
  33153. +# ### BEGIN LIBTOOL CONFIG
  33154. +
  33155. +# Whether or not to build static libraries.
  33156. +build_old_libs=$enable_static
  33157. +
  33158. +# Which release of libtool.m4 was used?
  33159. +macro_version=$macro_version
  33160. +macro_revision=$macro_revision
  33161. +
  33162. +# Whether or not to build shared libraries.
  33163. +build_libtool_libs=$enable_shared
  33164. +
  33165. +# What type of objects to build.
  33166. +pic_mode=$pic_mode
  33167. +
  33168. +# Whether or not to optimize for fast installation.
  33169. +fast_install=$enable_fast_install
  33170. +
  33171. +# Shell to use when invoking shell scripts.
  33172. +SHELL=$lt_SHELL
  33173. +
  33174. +# An echo program that protects backslashes.
  33175. +ECHO=$lt_ECHO
  33176. +
  33177. +# The PATH separator for the build system.
  33178. +PATH_SEPARATOR=$lt_PATH_SEPARATOR
  33179. +
  33180. +# The host system.
  33181. +host_alias=$host_alias
  33182. +host=$host
  33183. +host_os=$host_os
  33184. +
  33185. +# The build system.
  33186. +build_alias=$build_alias
  33187. +build=$build
  33188. +build_os=$build_os
  33189. +
  33190. +# A sed program that does not truncate output.
  33191. +SED=$lt_SED
  33192. +
  33193. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  33194. +Xsed="\$SED -e 1s/^X//"
  33195. +
  33196. +# A grep program that handles long lines.
  33197. +GREP=$lt_GREP
  33198. +
  33199. +# An ERE matcher.
  33200. +EGREP=$lt_EGREP
  33201. +
  33202. +# A literal string matcher.
  33203. +FGREP=$lt_FGREP
  33204. +
  33205. +# A BSD- or MS-compatible name lister.
  33206. +NM=$lt_NM
  33207. +
  33208. +# Whether we need soft or hard links.
  33209. +LN_S=$lt_LN_S
  33210. +
  33211. +# What is the maximum length of a command?
  33212. +max_cmd_len=$max_cmd_len
  33213. +
  33214. +# Object file suffix (normally "o").
  33215. +objext=$ac_objext
  33216. +
  33217. +# Executable file suffix (normally "").
  33218. +exeext=$exeext
  33219. +
  33220. +# whether the shell understands "unset".
  33221. +lt_unset=$lt_unset
  33222. +
  33223. +# turn spaces into newlines.
  33224. +SP2NL=$lt_lt_SP2NL
  33225. +
  33226. +# turn newlines into spaces.
  33227. +NL2SP=$lt_lt_NL2SP
  33228. +
  33229. +# convert \$build file names to \$host format.
  33230. +to_host_file_cmd=$lt_cv_to_host_file_cmd
  33231. +
  33232. +# convert \$build files to toolchain format.
  33233. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  33234. +
  33235. +# An object symbol dumper.
  33236. +OBJDUMP=$lt_OBJDUMP
  33237. +
  33238. +# Method to check whether dependent libraries are shared objects.
  33239. +deplibs_check_method=$lt_deplibs_check_method
  33240. +
  33241. +# Command to use when deplibs_check_method = "file_magic".
  33242. +file_magic_cmd=$lt_file_magic_cmd
  33243. +
  33244. +# How to find potential files when deplibs_check_method = "file_magic".
  33245. +file_magic_glob=$lt_file_magic_glob
  33246. +
  33247. +# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  33248. +want_nocaseglob=$lt_want_nocaseglob
  33249. +
  33250. +# DLL creation program.
  33251. +DLLTOOL=$lt_DLLTOOL
  33252. +
  33253. +# Command to associate shared and link libraries.
  33254. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  33255. +
  33256. +# The archiver.
  33257. +AR=$lt_AR
  33258. +
  33259. +# Flags to create an archive.
  33260. +AR_FLAGS=$lt_AR_FLAGS
  33261. +
  33262. +# How to feed a file listing to the archiver.
  33263. +archiver_list_spec=$lt_archiver_list_spec
  33264. +
  33265. +# A symbol stripping program.
  33266. +STRIP=$lt_STRIP
  33267. +
  33268. +# Commands used to install an old-style archive.
  33269. +RANLIB=$lt_RANLIB
  33270. +old_postinstall_cmds=$lt_old_postinstall_cmds
  33271. +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  33272. +
  33273. +# Whether to use a lock for old archive extraction.
  33274. +lock_old_archive_extraction=$lock_old_archive_extraction
  33275. +
  33276. +# A C compiler.
  33277. +LTCC=$lt_CC
  33278. +
  33279. +# LTCC compiler flags.
  33280. +LTCFLAGS=$lt_CFLAGS
  33281. +
  33282. +# Take the output of nm and produce a listing of raw symbols and C names.
  33283. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  33284. +
  33285. +# Transform the output of nm in a proper C declaration.
  33286. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  33287. +
  33288. +# Transform the output of nm in a C name address pair.
  33289. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  33290. +
  33291. +# Transform the output of nm in a C name address pair when lib prefix is needed.
  33292. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  33293. +
  33294. +# Specify filename containing input files for \$NM.
  33295. +nm_file_list_spec=$lt_nm_file_list_spec
  33296. +
  33297. +# The root where to search for dependent libraries,and in which our libraries should be installed.
  33298. +lt_sysroot=$lt_sysroot
  33299. +
  33300. +# The name of the directory that contains temporary libtool files.
  33301. +objdir=$objdir
  33302. +
  33303. +# Used to examine libraries when file_magic_cmd begins with "file".
  33304. +MAGIC_CMD=$MAGIC_CMD
  33305. +
  33306. +# Must we lock files when doing compilation?
  33307. +need_locks=$lt_need_locks
  33308. +
  33309. +# Manifest tool.
  33310. +MANIFEST_TOOL=$lt_MANIFEST_TOOL
  33311. +
  33312. +# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  33313. +DSYMUTIL=$lt_DSYMUTIL
  33314. +
  33315. +# Tool to change global to local symbols on Mac OS X.
  33316. +NMEDIT=$lt_NMEDIT
  33317. +
  33318. +# Tool to manipulate fat objects and archives on Mac OS X.
  33319. +LIPO=$lt_LIPO
  33320. +
  33321. +# ldd/readelf like tool for Mach-O binaries on Mac OS X.
  33322. +OTOOL=$lt_OTOOL
  33323. +
  33324. +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  33325. +OTOOL64=$lt_OTOOL64
  33326. +
  33327. +# Old archive suffix (normally "a").
  33328. +libext=$libext
  33329. +
  33330. +# Shared library suffix (normally ".so").
  33331. +shrext_cmds=$lt_shrext_cmds
  33332. +
  33333. +# The commands to extract the exported symbol list from a shared archive.
  33334. +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  33335. +
  33336. +# Variables whose values should be saved in libtool wrapper scripts and
  33337. +# restored at link time.
  33338. +variables_saved_for_relink=$lt_variables_saved_for_relink
  33339. +
  33340. +# Do we need the "lib" prefix for modules?
  33341. +need_lib_prefix=$need_lib_prefix
  33342. +
  33343. +# Do we need a version for libraries?
  33344. +need_version=$need_version
  33345. +
  33346. +# Library versioning type.
  33347. +version_type=$version_type
  33348. +
  33349. +# Shared library runtime path variable.
  33350. +runpath_var=$runpath_var
  33351. +
  33352. +# Shared library path variable.
  33353. +shlibpath_var=$shlibpath_var
  33354. +
  33355. +# Is shlibpath searched before the hard-coded library search path?
  33356. +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  33357. +
  33358. +# Format of library name prefix.
  33359. +libname_spec=$lt_libname_spec
  33360. +
  33361. +# List of archive names. First name is the real one, the rest are links.
  33362. +# The last name is the one that the linker finds with -lNAME
  33363. +library_names_spec=$lt_library_names_spec
  33364. +
  33365. +# The coded name of the library, if different from the real name.
  33366. +soname_spec=$lt_soname_spec
  33367. +
  33368. +# Permission mode override for installation of shared libraries.
  33369. +install_override_mode=$lt_install_override_mode
  33370. +
  33371. +# Command to use after installation of a shared archive.
  33372. +postinstall_cmds=$lt_postinstall_cmds
  33373. +
  33374. +# Command to use after uninstallation of a shared archive.
  33375. +postuninstall_cmds=$lt_postuninstall_cmds
  33376. +
  33377. +# Commands used to finish a libtool library installation in a directory.
  33378. +finish_cmds=$lt_finish_cmds
  33379. +
  33380. +# As "finish_cmds", except a single script fragment to be evaled but
  33381. +# not shown.
  33382. +finish_eval=$lt_finish_eval
  33383. +
  33384. +# Whether we should hardcode library paths into libraries.
  33385. +hardcode_into_libs=$hardcode_into_libs
  33386. +
  33387. +# Compile-time system search path for libraries.
  33388. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  33389. +
  33390. +# Run-time system search path for libraries.
  33391. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  33392. +
  33393. +# Whether dlopen is supported.
  33394. +dlopen_support=$enable_dlopen
  33395. +
  33396. +# Whether dlopen of programs is supported.
  33397. +dlopen_self=$enable_dlopen_self
  33398. +
  33399. +# Whether dlopen of statically linked programs is supported.
  33400. +dlopen_self_static=$enable_dlopen_self_static
  33401. +
  33402. +# Commands to strip libraries.
  33403. +old_striplib=$lt_old_striplib
  33404. +striplib=$lt_striplib
  33405. +
  33406. +
  33407. +# The linker used to build libraries.
  33408. +LD=$lt_LD
  33409. +
  33410. +# How to create reloadable object files.
  33411. +reload_flag=$lt_reload_flag
  33412. +reload_cmds=$lt_reload_cmds
  33413. +
  33414. +# Commands used to build an old-style archive.
  33415. +old_archive_cmds=$lt_old_archive_cmds
  33416. +
  33417. +# A language specific compiler.
  33418. +CC=$lt_compiler
  33419. +
  33420. +# Is the compiler the GNU compiler?
  33421. +with_gcc=$GCC
  33422. +
  33423. +# Compiler flag to turn off builtin functions.
  33424. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  33425. +
  33426. +# Additional compiler flags for building library objects.
  33427. +pic_flag=$lt_lt_prog_compiler_pic
  33428. +
  33429. +# How to pass a linker flag through the compiler.
  33430. +wl=$lt_lt_prog_compiler_wl
  33431. +
  33432. +# Compiler flag to prevent dynamic linking.
  33433. +link_static_flag=$lt_lt_prog_compiler_static
  33434. +
  33435. +# Does compiler simultaneously support -c and -o options?
  33436. +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  33437. +
  33438. +# Whether or not to add -lc for building shared libraries.
  33439. +build_libtool_need_lc=$archive_cmds_need_lc
  33440. +
  33441. +# Whether or not to disallow shared libs when runtime libs are static.
  33442. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  33443. +
  33444. +# Compiler flag to allow reflexive dlopens.
  33445. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  33446. +
  33447. +# Compiler flag to generate shared objects directly from archives.
  33448. +whole_archive_flag_spec=$lt_whole_archive_flag_spec
  33449. +
  33450. +# Whether the compiler copes with passing no objects directly.
  33451. +compiler_needs_object=$lt_compiler_needs_object
  33452. +
  33453. +# Create an old-style archive from a shared archive.
  33454. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  33455. +
  33456. +# Create a temporary old-style archive to link instead of a shared archive.
  33457. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  33458. +
  33459. +# Commands used to build a shared archive.
  33460. +archive_cmds=$lt_archive_cmds
  33461. +archive_expsym_cmds=$lt_archive_expsym_cmds
  33462. +
  33463. +# Commands used to build a loadable module if different from building
  33464. +# a shared archive.
  33465. +module_cmds=$lt_module_cmds
  33466. +module_expsym_cmds=$lt_module_expsym_cmds
  33467. +
  33468. +# Whether we are building with GNU ld or not.
  33469. +with_gnu_ld=$lt_with_gnu_ld
  33470. +
  33471. +# Flag that allows shared libraries with undefined symbols to be built.
  33472. +allow_undefined_flag=$lt_allow_undefined_flag
  33473. +
  33474. +# Flag that enforces no undefined symbols.
  33475. +no_undefined_flag=$lt_no_undefined_flag
  33476. +
  33477. +# Flag to hardcode \$libdir into a binary during linking.
  33478. +# This must work even if \$libdir does not exist
  33479. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  33480. +
  33481. +# Whether we need a single "-rpath" flag with a separated argument.
  33482. +hardcode_libdir_separator=$lt_hardcode_libdir_separator
  33483. +
  33484. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  33485. +# DIR into the resulting binary.
  33486. +hardcode_direct=$hardcode_direct
  33487. +
  33488. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  33489. +# DIR into the resulting binary and the resulting library dependency is
  33490. +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  33491. +# library is relocated.
  33492. +hardcode_direct_absolute=$hardcode_direct_absolute
  33493. +
  33494. +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  33495. +# into the resulting binary.
  33496. +hardcode_minus_L=$hardcode_minus_L
  33497. +
  33498. +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  33499. +# into the resulting binary.
  33500. +hardcode_shlibpath_var=$hardcode_shlibpath_var
  33501. +
  33502. +# Set to "yes" if building a shared library automatically hardcodes DIR
  33503. +# into the library and all subsequent libraries and executables linked
  33504. +# against it.
  33505. +hardcode_automatic=$hardcode_automatic
  33506. +
  33507. +# Set to yes if linker adds runtime paths of dependent libraries
  33508. +# to runtime path list.
  33509. +inherit_rpath=$inherit_rpath
  33510. +
  33511. +# Whether libtool must link a program against all its dependency libraries.
  33512. +link_all_deplibs=$link_all_deplibs
  33513. +
  33514. +# Set to "yes" if exported symbols are required.
  33515. +always_export_symbols=$always_export_symbols
  33516. +
  33517. +# The commands to list exported symbols.
  33518. +export_symbols_cmds=$lt_export_symbols_cmds
  33519. +
  33520. +# Symbols that should not be listed in the preloaded symbols.
  33521. +exclude_expsyms=$lt_exclude_expsyms
  33522. +
  33523. +# Symbols that must always be exported.
  33524. +include_expsyms=$lt_include_expsyms
  33525. +
  33526. +# Commands necessary for linking programs (against libraries) with templates.
  33527. +prelink_cmds=$lt_prelink_cmds
  33528. +
  33529. +# Commands necessary for finishing linking programs.
  33530. +postlink_cmds=$lt_postlink_cmds
  33531. +
  33532. +# Specify filename containing input files.
  33533. +file_list_spec=$lt_file_list_spec
  33534. +
  33535. +# How to hardcode a shared library path into an executable.
  33536. +hardcode_action=$hardcode_action
  33537. +
  33538. +# ### END LIBTOOL CONFIG
  33539. +
  33540. +_LT_EOF
  33541. +
  33542. + case $host_os in
  33543. + aix3*)
  33544. + cat <<\_LT_EOF >> "$cfgfile"
  33545. +# AIX sometimes has problems with the GCC collect2 program. For some
  33546. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  33547. +# vanish in a puff of smoke.
  33548. +if test "X${COLLECT_NAMES+set}" != Xset; then
  33549. + COLLECT_NAMES=
  33550. + export COLLECT_NAMES
  33551. +fi
  33552. +_LT_EOF
  33553. + ;;
  33554. + esac
  33555. +
  33556. +
  33557. +ltmain="$ac_aux_dir/ltmain.sh"
  33558. +
  33559. +
  33560. + # We use sed instead of cat because bash on DJGPP gets confused if
  33561. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  33562. + # text mode, it properly converts lines to CR/LF. This bash problem
  33563. + # is reportedly fixed, but why not run on old versions too?
  33564. + sed '$q' "$ltmain" >> "$cfgfile" \
  33565. + || (rm -f "$cfgfile"; exit 1)
  33566. +
  33567. + if test x"$xsi_shell" = xyes; then
  33568. + sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
  33569. +func_dirname ()\
  33570. +{\
  33571. +\ case ${1} in\
  33572. +\ */*) func_dirname_result="${1%/*}${2}" ;;\
  33573. +\ * ) func_dirname_result="${3}" ;;\
  33574. +\ esac\
  33575. +} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
  33576. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  33577. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  33578. +test 0 -eq $? || _lt_function_replace_fail=:
  33579. +
  33580. +
  33581. + sed -e '/^func_basename ()$/,/^} # func_basename /c\
  33582. +func_basename ()\
  33583. +{\
  33584. +\ func_basename_result="${1##*/}"\
  33585. +} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
  33586. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  33587. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  33588. +test 0 -eq $? || _lt_function_replace_fail=:
  33589. +
  33590. +
  33591. + sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
  33592. +func_dirname_and_basename ()\
  33593. +{\
  33594. +\ case ${1} in\
  33595. +\ */*) func_dirname_result="${1%/*}${2}" ;;\
  33596. +\ * ) func_dirname_result="${3}" ;;\
  33597. +\ esac\
  33598. +\ func_basename_result="${1##*/}"\
  33599. +} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
  33600. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  33601. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  33602. +test 0 -eq $? || _lt_function_replace_fail=:
  33603. +
  33604. +
  33605. + sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
  33606. +func_stripname ()\
  33607. +{\
  33608. +\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
  33609. +\ # positional parameters, so assign one to ordinary parameter first.\
  33610. +\ func_stripname_result=${3}\
  33611. +\ func_stripname_result=${func_stripname_result#"${1}"}\
  33612. +\ func_stripname_result=${func_stripname_result%"${2}"}\
  33613. +} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
  33614. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  33615. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  33616. +test 0 -eq $? || _lt_function_replace_fail=:
  33617. +
  33618. +
  33619. + sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
  33620. +func_split_long_opt ()\
  33621. +{\
  33622. +\ func_split_long_opt_name=${1%%=*}\
  33623. +\ func_split_long_opt_arg=${1#*=}\
  33624. +} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
  33625. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  33626. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  33627. +test 0 -eq $? || _lt_function_replace_fail=:
  33628. +
  33629. +
  33630. + sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
  33631. +func_split_short_opt ()\
  33632. +{\
  33633. +\ func_split_short_opt_arg=${1#??}\
  33634. +\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
  33635. +} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
  33636. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  33637. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  33638. +test 0 -eq $? || _lt_function_replace_fail=:
  33639. +
  33640. +
  33641. + sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
  33642. +func_lo2o ()\
  33643. +{\
  33644. +\ case ${1} in\
  33645. +\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
  33646. +\ *) func_lo2o_result=${1} ;;\
  33647. +\ esac\
  33648. +} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
  33649. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  33650. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  33651. +test 0 -eq $? || _lt_function_replace_fail=:
  33652. +
  33653. +
  33654. + sed -e '/^func_xform ()$/,/^} # func_xform /c\
  33655. +func_xform ()\
  33656. +{\
  33657. + func_xform_result=${1%.*}.lo\
  33658. +} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
  33659. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  33660. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  33661. +test 0 -eq $? || _lt_function_replace_fail=:
  33662. +
  33663. +
  33664. + sed -e '/^func_arith ()$/,/^} # func_arith /c\
  33665. +func_arith ()\
  33666. +{\
  33667. + func_arith_result=$(( $* ))\
  33668. +} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
  33669. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  33670. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  33671. +test 0 -eq $? || _lt_function_replace_fail=:
  33672. +
  33673. +
  33674. + sed -e '/^func_len ()$/,/^} # func_len /c\
  33675. +func_len ()\
  33676. +{\
  33677. + func_len_result=${#1}\
  33678. +} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
  33679. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  33680. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  33681. +test 0 -eq $? || _lt_function_replace_fail=:
  33682. +
  33683. +fi
  33684. +
  33685. +if test x"$lt_shell_append" = xyes; then
  33686. + sed -e '/^func_append ()$/,/^} # func_append /c\
  33687. +func_append ()\
  33688. +{\
  33689. + eval "${1}+=\\${2}"\
  33690. +} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
  33691. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  33692. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  33693. +test 0 -eq $? || _lt_function_replace_fail=:
  33694. +
  33695. +
  33696. + sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
  33697. +func_append_quoted ()\
  33698. +{\
  33699. +\ func_quote_for_eval "${2}"\
  33700. +\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
  33701. +} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
  33702. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  33703. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  33704. +test 0 -eq $? || _lt_function_replace_fail=:
  33705. +
  33706. +
  33707. + # Save a `func_append' function call where possible by direct use of '+='
  33708. + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
  33709. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  33710. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  33711. + test 0 -eq $? || _lt_function_replace_fail=:
  33712. +else
  33713. + # Save a `func_append' function call even when '+=' is not available
  33714. + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
  33715. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  33716. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  33717. + test 0 -eq $? || _lt_function_replace_fail=:
  33718. +fi
  33719. +
  33720. +if test x"$_lt_function_replace_fail" = x":"; then
  33721. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
  33722. +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
  33723. +fi
  33724. +
  33725. +
  33726. + mv -f "$cfgfile" "$ofile" ||
  33727. + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  33728. + chmod +x "$ofile"
  33729. +
  33730. + ;;
  33731. +
  33732. + esac
  33733. +done # for ac_tag
  33734. +
  33735. +
  33736. +as_fn_exit 0
  33737. +_ACEOF
  33738. +ac_clean_files=$ac_clean_files_save
  33739. +
  33740. +test $ac_write_fail = 0 ||
  33741. + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  33742. +
  33743. +
  33744. +# configure is writing to config.log, and then calls config.status.
  33745. +# config.status does its own redirection, appending to config.log.
  33746. +# Unfortunately, on DOS this fails, as config.log is still kept open
  33747. +# by configure, so config.status won't be able to write to it; its
  33748. +# output is simply discarded. So we exec the FD to /dev/null,
  33749. +# effectively closing config.log, so it can be properly (re)opened and
  33750. +# appended to by config.status. When coming back to configure, we
  33751. +# need to make the FD available again.
  33752. +if test "$no_create" != yes; then
  33753. + ac_cs_success=:
  33754. + ac_config_status_args=
  33755. + test "$silent" = yes &&
  33756. + ac_config_status_args="$ac_config_status_args --quiet"
  33757. + exec 5>/dev/null
  33758. + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  33759. + exec 5>>config.log
  33760. + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  33761. + # would make configure fail if this is the last instruction.
  33762. + $ac_cs_success || as_fn_exit 1
  33763. +fi
  33764. +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  33765. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  33766. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  33767. +fi
  33768. +
  33769. +
  33770. +echo "
  33771. +Ulogd configuration:
  33772. + Input plugins:
  33773. + NFLOG plugin: ${enable_nflog}
  33774. + NFCT plugin: ${enable_nfct}
  33775. + NFACCT plugin: ${enable_nfacct}
  33776. + Output plugins:
  33777. + PCAP plugin: ${enable_pcap}
  33778. + PGSQL plugin: ${enable_pgsql}
  33779. + MySQL plugin: ${enable_mysql}
  33780. + SQLITE3 plugin: ${enable_sqlite3}
  33781. + DBI plugin: ${enable_dbi}
  33782. +"
  33783. +echo "You can now run 'make' and 'make install'"
  33784. diff -Nur ulogd-2.0.2.orig/autom4te.cache/requests ulogd-2.0.2/autom4te.cache/requests
  33785. --- ulogd-2.0.2.orig/autom4te.cache/requests 1970-01-01 01:00:00.000000000 +0100
  33786. +++ ulogd-2.0.2/autom4te.cache/requests 2013-08-21 19:34:35.512504643 +0200
  33787. @@ -0,0 +1,301 @@
  33788. +# This file was generated by Autom4te Sun Nov 6 20:57:04 UTC 2011.
  33789. +# It contains the lists of macros which have been traced.
  33790. +# It can be safely removed.
  33791. +
  33792. +@request = (
  33793. + bless( [
  33794. + '0',
  33795. + 1,
  33796. + [
  33797. + '/usr/share/autoconf'
  33798. + ],
  33799. + [
  33800. + '/usr/share/autoconf/autoconf/autoconf.m4f',
  33801. + '/usr/share/aclocal/argz.m4',
  33802. + '/usr/share/aclocal/ltdl.m4',
  33803. + '/usr/share/aclocal/pkg.m4',
  33804. + '/usr/share/aclocal-1.11/amversion.m4',
  33805. + '/usr/share/aclocal-1.11/ar-lib.m4',
  33806. + '/usr/share/aclocal-1.11/auxdir.m4',
  33807. + '/usr/share/aclocal-1.11/cond.m4',
  33808. + '/usr/share/aclocal-1.11/depend.m4',
  33809. + '/usr/share/aclocal-1.11/depout.m4',
  33810. + '/usr/share/aclocal-1.11/init.m4',
  33811. + '/usr/share/aclocal-1.11/install-sh.m4',
  33812. + '/usr/share/aclocal-1.11/lead-dot.m4',
  33813. + '/usr/share/aclocal-1.11/make.m4',
  33814. + '/usr/share/aclocal-1.11/missing.m4',
  33815. + '/usr/share/aclocal-1.11/mkdirp.m4',
  33816. + '/usr/share/aclocal-1.11/options.m4',
  33817. + '/usr/share/aclocal-1.11/runlog.m4',
  33818. + '/usr/share/aclocal-1.11/sanity.m4',
  33819. + '/usr/share/aclocal-1.11/silent.m4',
  33820. + '/usr/share/aclocal-1.11/strip.m4',
  33821. + '/usr/share/aclocal-1.11/substnot.m4',
  33822. + '/usr/share/aclocal-1.11/tar.m4',
  33823. + 'm4/libtool.m4',
  33824. + 'm4/ltoptions.m4',
  33825. + 'm4/ltsugar.m4',
  33826. + 'm4/ltversion.m4',
  33827. + 'm4/lt~obsolete.m4',
  33828. + 'acinclude.m4',
  33829. + 'configure.ac'
  33830. + ],
  33831. + {
  33832. + 'AM_ENABLE_STATIC' => 1,
  33833. + 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
  33834. + '_LT_AC_SHELL_INIT' => 1,
  33835. + 'AC_DEFUN' => 1,
  33836. + '_LT_AC_LANG_CXX_CONFIG' => 1,
  33837. + 'AC_PROG_LIBTOOL' => 1,
  33838. + 'AM_PROG_MKDIR_P' => 1,
  33839. + 'AM_AUTOMAKE_VERSION' => 1,
  33840. + 'CT_CHECK_DBI' => 1,
  33841. + 'AM_SUBST_NOTMAKE' => 1,
  33842. + 'AM_MISSING_PROG' => 1,
  33843. + 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
  33844. + '_LT_AC_LANG_C_CONFIG' => 1,
  33845. + 'AM_PROG_INSTALL_STRIP' => 1,
  33846. + '_m4_warn' => 1,
  33847. + 'AC_LIBTOOL_OBJDIR' => 1,
  33848. + 'gl_FUNC_ARGZ' => 1,
  33849. + 'AM_SANITY_CHECK' => 1,
  33850. + 'LTOBSOLETE_VERSION' => 1,
  33851. + 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
  33852. + 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
  33853. + 'LT_LIB_M' => 1,
  33854. + '_LT_AC_CHECK_DLFCN' => 1,
  33855. + 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
  33856. + 'LTSUGAR_VERSION' => 1,
  33857. + '_LT_PROG_LTMAIN' => 1,
  33858. + 'CT_CHECK_MYSQL_DB' => 1,
  33859. + 'LT_SYS_SYMBOL_USCORE' => 1,
  33860. + '_AM_PROG_TAR' => 1,
  33861. + 'AC_LIBTOOL_GCJ' => 1,
  33862. + '_LT_WITH_SYSROOT' => 1,
  33863. + 'LT_SYS_DLOPEN_DEPLIBS' => 1,
  33864. + 'LT_FUNC_DLSYM_USCORE' => 1,
  33865. + '_LT_AC_LANG_F77' => 1,
  33866. + 'AC_LIBTOOL_CONFIG' => 1,
  33867. + '_AM_SUBST_NOTMAKE' => 1,
  33868. + 'AC_LTDL_DLLIB' => 1,
  33869. + '_AM_AUTOCONF_VERSION' => 1,
  33870. + 'AM_DISABLE_SHARED' => 1,
  33871. + '_LT_PROG_ECHO_BACKSLASH' => 1,
  33872. + '_LTDL_SETUP' => 1,
  33873. + '_LT_AC_LANG_CXX' => 1,
  33874. + 'AM_PROG_LIBTOOL' => 1,
  33875. + 'AC_LIB_LTDL' => 1,
  33876. + '_LT_AC_FILE_LTDLL_C' => 1,
  33877. + 'AM_PROG_LD' => 1,
  33878. + 'AU_DEFUN' => 1,
  33879. + 'AC_PROG_NM' => 1,
  33880. + 'AC_LIBTOOL_DLOPEN' => 1,
  33881. + 'AC_PROG_LD' => 1,
  33882. + 'AC_PROG_LD_GNU' => 1,
  33883. + 'AC_ENABLE_FAST_INSTALL' => 1,
  33884. + 'AC_LIBTOOL_FC' => 1,
  33885. + 'LTDL_CONVENIENCE' => 1,
  33886. + '_AM_SET_OPTION' => 1,
  33887. + 'AC_LTDL_PREOPEN' => 1,
  33888. + '_LT_LINKER_BOILERPLATE' => 1,
  33889. + '_LT_PREPARE_SED_QUOTE_VARS' => 1,
  33890. + 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
  33891. + 'AC_LIBTOOL_PROG_CC_C_O' => 1,
  33892. + 'gl_PREREQ_ARGZ' => 1,
  33893. + 'LT_SUPPORTED_TAG' => 1,
  33894. + 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
  33895. + 'LT_PROG_RC' => 1,
  33896. + 'LT_SYS_MODULE_EXT' => 1,
  33897. + 'AC_DEFUN_ONCE' => 1,
  33898. + '_LT_AC_LANG_GCJ' => 1,
  33899. + 'AC_LTDL_OBJDIR' => 1,
  33900. + '_LT_PATH_TOOL_PREFIX' => 1,
  33901. + 'AC_LIBTOOL_RC' => 1,
  33902. + 'AM_SILENT_RULES' => 1,
  33903. + 'AC_DISABLE_FAST_INSTALL' => 1,
  33904. + '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
  33905. + '_LT_AC_SYS_LIBPATH_AIX' => 1,
  33906. + '_LT_AC_TRY_DLOPEN_SELF' => 1,
  33907. + 'include' => 1,
  33908. + 'LT_AC_PROG_SED' => 1,
  33909. + 'AM_ENABLE_SHARED' => 1,
  33910. + 'LTDL_INSTALLABLE' => 1,
  33911. + 'AM_PROG_AR' => 1,
  33912. + '_LT_AC_LANG_GCJ_CONFIG' => 1,
  33913. + 'AC_ENABLE_SHARED' => 1,
  33914. + 'AC_ENABLE_STATIC' => 1,
  33915. + 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
  33916. + '_LT_REQUIRED_DARWIN_CHECKS' => 1,
  33917. + '_LT_AC_TAGVAR' => 1,
  33918. + 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
  33919. + 'AM_CONDITIONAL' => 1,
  33920. + 'LT_LIB_DLLOAD' => 1,
  33921. + 'LTDL_INIT' => 1,
  33922. + '_LT_PROG_F77' => 1,
  33923. + '_LT_PROG_CXX' => 1,
  33924. + 'LTVERSION_VERSION' => 1,
  33925. + 'AM_PROG_INSTALL_SH' => 1,
  33926. + 'm4_include' => 1,
  33927. + 'AC_PROG_EGREP' => 1,
  33928. + '_AC_AM_CONFIG_HEADER_HOOK' => 1,
  33929. + 'AC_PATH_MAGIC' => 1,
  33930. + 'AC_LTDL_SYSSEARCHPATH' => 1,
  33931. + 'AM_MAKE_INCLUDE' => 1,
  33932. + 'LT_CMD_MAX_LEN' => 1,
  33933. + '_LT_AC_TAGCONFIG' => 1,
  33934. + 'm4_pattern_forbid' => 1,
  33935. + '_LT_LINKER_OPTION' => 1,
  33936. + 'AC_LIBTOOL_COMPILER_OPTION' => 1,
  33937. + 'AC_DISABLE_SHARED' => 1,
  33938. + '_LT_COMPILER_BOILERPLATE' => 1,
  33939. + 'AC_LIBTOOL_WIN32_DLL' => 1,
  33940. + 'AC_LIBTOOL_SETUP' => 1,
  33941. + 'AC_PROG_LD_RELOAD_FLAG' => 1,
  33942. + 'AC_LTDL_DLSYM_USCORE' => 1,
  33943. + 'AM_MISSING_HAS_RUN' => 1,
  33944. + 'LT_LANG' => 1,
  33945. + 'LT_SYS_DLSEARCH_PATH' => 1,
  33946. + 'LT_CONFIG_LTDL_DIR' => 1,
  33947. + 'AC_LIBTOOL_DLOPEN_SELF' => 1,
  33948. + 'LT_OUTPUT' => 1,
  33949. + 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
  33950. + '_PKG_SHORT_ERRORS_SUPPORTED' => 1,
  33951. + 'AC_WITH_LTDL' => 1,
  33952. + 'AC_LIBTOOL_LINKER_OPTION' => 1,
  33953. + 'PKG_CHECK_EXISTS' => 1,
  33954. + 'LT_AC_PROG_RC' => 1,
  33955. + 'AC_LIBTOOL_CXX' => 1,
  33956. + 'LT_INIT' => 1,
  33957. + 'LT_AC_PROG_GCJ' => 1,
  33958. + 'LT_SYS_DLOPEN_SELF' => 1,
  33959. + 'AM_DISABLE_STATIC' => 1,
  33960. + 'AM_DEP_TRACK' => 1,
  33961. + '_LT_AC_PROG_CXXCPP' => 1,
  33962. + '_AC_PROG_LIBTOOL' => 1,
  33963. + '_AM_IF_OPTION' => 1,
  33964. + 'AC_PATH_TOOL_PREFIX' => 1,
  33965. + 'AC_LIBTOOL_F77' => 1,
  33966. + 'm4_pattern_allow' => 1,
  33967. + 'AM_SET_LEADING_DOT' => 1,
  33968. + 'LT_AC_PROG_EGREP' => 1,
  33969. + '_LT_PROG_FC' => 1,
  33970. + '_AM_DEPENDENCIES' => 1,
  33971. + 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
  33972. + 'LTOPTIONS_VERSION' => 1,
  33973. + '_LT_AC_SYS_COMPILER' => 1,
  33974. + 'AM_PROG_NM' => 1,
  33975. + 'PKG_CHECK_MODULES' => 1,
  33976. + 'CT_CHECK_POSTGRES_DB' => 1,
  33977. + 'AC_LIBLTDL_CONVENIENCE' => 1,
  33978. + 'AC_DEPLIBS_CHECK_METHOD' => 1,
  33979. + 'CT_CHECK_PCAP' => 1,
  33980. + 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
  33981. + 'AC_LIBLTDL_INSTALLABLE' => 1,
  33982. + 'AC_LTDL_ENABLE_INSTALL' => 1,
  33983. + 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
  33984. + 'LT_PROG_GCJ' => 1,
  33985. + 'AM_INIT_AUTOMAKE' => 1,
  33986. + 'AC_DISABLE_STATIC' => 1,
  33987. + 'LT_PATH_NM' => 1,
  33988. + 'AC_LTDL_SHLIBEXT' => 1,
  33989. + '_LT_AC_LOCK' => 1,
  33990. + '_LT_AC_LANG_RC_CONFIG' => 1,
  33991. + 'LT_PROG_GO' => 1,
  33992. + 'LT_SYS_MODULE_PATH' => 1,
  33993. + 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
  33994. + 'LT_WITH_LTDL' => 1,
  33995. + 'AC_LTDL_SHLIBPATH' => 1,
  33996. + 'AM_AUX_DIR_EXPAND' => 1,
  33997. + '_LT_AC_LANG_F77_CONFIG' => 1,
  33998. + 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
  33999. + '_AM_SET_OPTIONS' => 1,
  34000. + '_LT_COMPILER_OPTION' => 1,
  34001. + '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
  34002. + 'AM_RUN_LOG' => 1,
  34003. + 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
  34004. + 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
  34005. + 'AC_LIBTOOL_PICMODE' => 1,
  34006. + 'LT_PATH_LD' => 1,
  34007. + 'AC_CHECK_LIBM' => 1,
  34008. + 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
  34009. + '_AM_MANGLE_OPTION' => 1,
  34010. + 'AC_LTDL_SYMBOL_USCORE' => 1,
  34011. + 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
  34012. + 'AM_SET_DEPDIR' => 1,
  34013. + '_LT_CC_BASENAME' => 1,
  34014. + 'PKG_PROG_PKG_CONFIG' => 1,
  34015. + '_LT_LIBOBJ' => 1
  34016. + }
  34017. + ], 'Autom4te::Request' ),
  34018. + bless( [
  34019. + '1',
  34020. + 1,
  34021. + [
  34022. + '/usr/share/autoconf'
  34023. + ],
  34024. + [
  34025. + '/usr/share/autoconf/autoconf/autoconf.m4f',
  34026. + 'aclocal.m4',
  34027. + 'configure.ac'
  34028. + ],
  34029. + {
  34030. + '_LT_AC_TAGCONFIG' => 1,
  34031. + 'AM_PROG_F77_C_O' => 1,
  34032. + 'm4_pattern_forbid' => 1,
  34033. + 'AC_INIT' => 1,
  34034. + '_AM_COND_IF' => 1,
  34035. + 'AC_CANONICAL_TARGET' => 1,
  34036. + 'AC_SUBST' => 1,
  34037. + 'AC_CONFIG_LIBOBJ_DIR' => 1,
  34038. + 'AC_FC_SRCEXT' => 1,
  34039. + 'AC_CANONICAL_HOST' => 1,
  34040. + 'AC_PROG_LIBTOOL' => 1,
  34041. + 'AM_INIT_AUTOMAKE' => 1,
  34042. + 'AM_PATH_GUILE' => 1,
  34043. + 'AC_CONFIG_SUBDIRS' => 1,
  34044. + 'AM_AUTOMAKE_VERSION' => 1,
  34045. + 'LT_CONFIG_LTDL_DIR' => 1,
  34046. + 'AC_REQUIRE_AUX_FILE' => 1,
  34047. + 'AC_CONFIG_LINKS' => 1,
  34048. + 'm4_sinclude' => 1,
  34049. + 'LT_SUPPORTED_TAG' => 1,
  34050. + 'AM_MAINTAINER_MODE' => 1,
  34051. + 'AM_NLS' => 1,
  34052. + 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
  34053. + 'AM_MAKEFILE_INCLUDE' => 1,
  34054. + '_m4_warn' => 1,
  34055. + 'AM_PROG_CXX_C_O' => 1,
  34056. + '_AM_COND_ENDIF' => 1,
  34057. + '_AM_MAKEFILE_INCLUDE' => 1,
  34058. + 'AM_ENABLE_MULTILIB' => 1,
  34059. + 'AM_SILENT_RULES' => 1,
  34060. + 'AM_PROG_MOC' => 1,
  34061. + 'AC_CONFIG_FILES' => 1,
  34062. + 'LT_INIT' => 1,
  34063. + 'include' => 1,
  34064. + 'AM_PROG_AR' => 1,
  34065. + 'AM_GNU_GETTEXT' => 1,
  34066. + 'AC_LIBSOURCE' => 1,
  34067. + 'AM_PROG_FC_C_O' => 1,
  34068. + 'AC_CANONICAL_BUILD' => 1,
  34069. + 'AC_FC_FREEFORM' => 1,
  34070. + 'AH_OUTPUT' => 1,
  34071. + '_AM_SUBST_NOTMAKE' => 1,
  34072. + 'AC_CONFIG_AUX_DIR' => 1,
  34073. + 'sinclude' => 1,
  34074. + 'AM_PROG_CC_C_O' => 1,
  34075. + 'm4_pattern_allow' => 1,
  34076. + 'AM_XGETTEXT_OPTION' => 1,
  34077. + 'AC_CANONICAL_SYSTEM' => 1,
  34078. + 'AM_CONDITIONAL' => 1,
  34079. + 'AC_CONFIG_HEADERS' => 1,
  34080. + 'AC_DEFINE_TRACE_LITERAL' => 1,
  34081. + 'AM_POT_TOOLS' => 1,
  34082. + 'm4_include' => 1,
  34083. + '_AM_COND_ELSE' => 1,
  34084. + 'AC_SUBST_TRACE' => 1
  34085. + }
  34086. + ], 'Autom4te::Request' )
  34087. + );
  34088. +
  34089. diff -Nur ulogd-2.0.2.orig/autom4te.cache/traces.0 ulogd-2.0.2/autom4te.cache/traces.0
  34090. --- ulogd-2.0.2.orig/autom4te.cache/traces.0 1970-01-01 01:00:00.000000000 +0100
  34091. +++ ulogd-2.0.2/autom4te.cache/traces.0 2013-08-21 19:34:24.296645646 +0200
  34092. @@ -0,0 +1,3031 @@
  34093. +m4trace:/usr/share/aclocal/argz.m4:12: -1- AC_DEFUN([gl_FUNC_ARGZ], [gl_PREREQ_ARGZ
  34094. +
  34095. +AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
  34096. +
  34097. +AC_CHECK_TYPES([error_t],
  34098. + [],
  34099. + [AC_DEFINE([error_t], [int],
  34100. + [Define to a type to use for `error_t' if it is not otherwise available.])
  34101. + AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
  34102. + does not typedef error_t.])],
  34103. + [#if defined(HAVE_ARGZ_H)
  34104. +# include <argz.h>
  34105. +#endif])
  34106. +
  34107. +ARGZ_H=
  34108. +AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
  34109. + argz_next argz_stringify], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])])
  34110. +
  34111. +dnl if have system argz functions, allow forced use of
  34112. +dnl libltdl-supplied implementation (and default to do so
  34113. +dnl on "known bad" systems). Could use a runtime check, but
  34114. +dnl (a) detecting malloc issues is notoriously unreliable
  34115. +dnl (b) only known system that declares argz functions,
  34116. +dnl provides them, yet they are broken, is cygwin
  34117. +dnl releases prior to 16-Mar-2007 (1.5.24 and earlier)
  34118. +dnl So, it's more straightforward simply to special case
  34119. +dnl this for known bad systems.
  34120. +AS_IF([test -z "$ARGZ_H"],
  34121. + [AC_CACHE_CHECK(
  34122. + [if argz actually works],
  34123. + [lt_cv_sys_argz_works],
  34124. + [[case $host_os in #(
  34125. + *cygwin*)
  34126. + lt_cv_sys_argz_works=no
  34127. + if test "$cross_compiling" != no; then
  34128. + lt_cv_sys_argz_works="guessing no"
  34129. + else
  34130. + lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
  34131. + save_IFS=$IFS
  34132. + IFS=-.
  34133. + set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
  34134. + IFS=$save_IFS
  34135. + lt_os_major=${2-0}
  34136. + lt_os_minor=${3-0}
  34137. + lt_os_micro=${4-0}
  34138. + if test "$lt_os_major" -gt 1 \
  34139. + || { test "$lt_os_major" -eq 1 \
  34140. + && { test "$lt_os_minor" -gt 5 \
  34141. + || { test "$lt_os_minor" -eq 5 \
  34142. + && test "$lt_os_micro" -gt 24; }; }; }; then
  34143. + lt_cv_sys_argz_works=yes
  34144. + fi
  34145. + fi
  34146. + ;; #(
  34147. + *) lt_cv_sys_argz_works=yes ;;
  34148. + esac]])
  34149. + AS_IF([test "$lt_cv_sys_argz_works" = yes],
  34150. + [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
  34151. + [This value is set to 1 to indicate that the system argz facility works])],
  34152. + [ARGZ_H=argz.h
  34153. + AC_LIBOBJ([argz])])])
  34154. +
  34155. +AC_SUBST([ARGZ_H])
  34156. +])
  34157. +m4trace:/usr/share/aclocal/argz.m4:79: -1- AC_DEFUN([gl_PREREQ_ARGZ], [:])
  34158. +m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
  34159. +_$0($*)
  34160. +])
  34161. +m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
  34162. +dnl Although the argument is deprecated and no longer documented,
  34163. +dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
  34164. +dnl here make sure it is the same as any other declaration of libltdl's
  34165. +dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
  34166. +dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
  34167. +m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
  34168. +_$0()
  34169. +])
  34170. +m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  34171. +_LTDL_CONVENIENCE])
  34172. +m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
  34173. +You should run autoupdate.])dnl
  34174. +_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  34175. +_LTDL_CONVENIENCE])
  34176. +m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
  34177. +dnl Although the argument is deprecated and no longer documented,
  34178. +dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
  34179. +dnl here make sure it is the same as any other declaration of libltdl's
  34180. +dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
  34181. +dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
  34182. +m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
  34183. +_$0()
  34184. +])
  34185. +m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  34186. +_LTDL_INSTALLABLE])
  34187. +m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
  34188. +You should run autoupdate.])dnl
  34189. +_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  34190. +_LTDL_INSTALLABLE])
  34191. +m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [
  34192. + m4_pattern_allow([^_LT_LIBOBJS$])
  34193. + _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
  34194. +])
  34195. +m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
  34196. +_LT_SET_OPTIONS([$0], [$1])
  34197. +
  34198. +dnl We need to keep our own list of libobjs separate from our parent project,
  34199. +dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
  34200. +dnl we look for our own LIBOBJs.
  34201. +m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
  34202. +m4_pushdef([AC_LIBSOURCES])
  34203. +
  34204. +dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
  34205. +m4_if(_LTDL_MODE, [],
  34206. + [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
  34207. + m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
  34208. + [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
  34209. +
  34210. +AC_ARG_WITH([included_ltdl],
  34211. + [AS_HELP_STRING([--with-included-ltdl],
  34212. + [use the GNU ltdl sources included here])])
  34213. +
  34214. +if test "x$with_included_ltdl" != xyes; then
  34215. + # We are not being forced to use the included libltdl sources, so
  34216. + # decide whether there is a useful installed version we can use.
  34217. + AC_CHECK_HEADER([ltdl.h],
  34218. + [AC_CHECK_DECL([lt_dlinterface_register],
  34219. + [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
  34220. + [with_included_ltdl=no],
  34221. + [with_included_ltdl=yes])],
  34222. + [with_included_ltdl=yes],
  34223. + [AC_INCLUDES_DEFAULT
  34224. + #include <ltdl.h>])],
  34225. + [with_included_ltdl=yes],
  34226. + [AC_INCLUDES_DEFAULT]
  34227. + )
  34228. +fi
  34229. +
  34230. +dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
  34231. +dnl was called yet, then for old times' sake, we assume libltdl is in an
  34232. +dnl eponymous directory:
  34233. +AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
  34234. +
  34235. +AC_ARG_WITH([ltdl_include],
  34236. + [AS_HELP_STRING([--with-ltdl-include=DIR],
  34237. + [use the ltdl headers installed in DIR])])
  34238. +
  34239. +if test -n "$with_ltdl_include"; then
  34240. + if test -f "$with_ltdl_include/ltdl.h"; then :
  34241. + else
  34242. + AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
  34243. + fi
  34244. +else
  34245. + with_ltdl_include=no
  34246. +fi
  34247. +
  34248. +AC_ARG_WITH([ltdl_lib],
  34249. + [AS_HELP_STRING([--with-ltdl-lib=DIR],
  34250. + [use the libltdl.la installed in DIR])])
  34251. +
  34252. +if test -n "$with_ltdl_lib"; then
  34253. + if test -f "$with_ltdl_lib/libltdl.la"; then :
  34254. + else
  34255. + AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
  34256. + fi
  34257. +else
  34258. + with_ltdl_lib=no
  34259. +fi
  34260. +
  34261. +case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
  34262. + ,yes,no,no,)
  34263. + m4_case(m4_default(_LTDL_TYPE, [convenience]),
  34264. + [convenience], [_LTDL_CONVENIENCE],
  34265. + [installable], [_LTDL_INSTALLABLE],
  34266. + [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
  34267. + ;;
  34268. + ,no,no,no,)
  34269. + # If the included ltdl is not to be used, then use the
  34270. + # preinstalled libltdl we found.
  34271. + AC_DEFINE([HAVE_LTDL], [1],
  34272. + [Define this if a modern libltdl is already installed])
  34273. + LIBLTDL=-lltdl
  34274. + LTDLDEPS=
  34275. + LTDLINCL=
  34276. + ;;
  34277. + ,no*,no,*)
  34278. + AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
  34279. + ;;
  34280. + *) with_included_ltdl=no
  34281. + LIBLTDL="-L$with_ltdl_lib -lltdl"
  34282. + LTDLDEPS=
  34283. + LTDLINCL="-I$with_ltdl_include"
  34284. + ;;
  34285. +esac
  34286. +INCLTDL="$LTDLINCL"
  34287. +
  34288. +# Report our decision...
  34289. +AC_MSG_CHECKING([where to find libltdl headers])
  34290. +AC_MSG_RESULT([$LTDLINCL])
  34291. +AC_MSG_CHECKING([where to find libltdl library])
  34292. +AC_MSG_RESULT([$LIBLTDL])
  34293. +
  34294. +_LTDL_SETUP
  34295. +
  34296. +dnl restore autoconf definition.
  34297. +m4_popdef([AC_LIBOBJ])
  34298. +m4_popdef([AC_LIBSOURCES])
  34299. +
  34300. +AC_CONFIG_COMMANDS_PRE([
  34301. + _ltdl_libobjs=
  34302. + _ltdl_ltlibobjs=
  34303. + if test -n "$_LT_LIBOBJS"; then
  34304. + # Remove the extension.
  34305. + _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
  34306. + for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
  34307. + _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
  34308. + _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
  34309. + done
  34310. + fi
  34311. + AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
  34312. + AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
  34313. +])
  34314. +
  34315. +# Only expand once:
  34316. +m4_define([LTDL_INIT])
  34317. +])
  34318. +m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
  34319. +m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
  34320. +You should run autoupdate.])dnl
  34321. +LTDL_INIT($@)])
  34322. +m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
  34323. +m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
  34324. +You should run autoupdate.])dnl
  34325. +LTDL_INIT($@)])
  34326. +m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
  34327. +m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
  34328. +You should run autoupdate.])dnl
  34329. +LTDL_INIT($@)])
  34330. +m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
  34331. +AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
  34332. +AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
  34333. +AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
  34334. +AC_REQUIRE([LT_LIB_DLLOAD])dnl
  34335. +AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
  34336. +AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
  34337. +AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
  34338. +AC_REQUIRE([gl_FUNC_ARGZ])dnl
  34339. +
  34340. +m4_require([_LT_CHECK_OBJDIR])dnl
  34341. +m4_require([_LT_HEADER_DLFCN])dnl
  34342. +m4_require([_LT_CHECK_DLPREOPEN])dnl
  34343. +m4_require([_LT_DECL_SED])dnl
  34344. +
  34345. +dnl Don't require this, or it will be expanded earlier than the code
  34346. +dnl that sets the variables it relies on:
  34347. +_LT_ENABLE_INSTALL
  34348. +
  34349. +dnl _LTDL_MODE specific code must be called at least once:
  34350. +_LTDL_MODE_DISPATCH
  34351. +
  34352. +# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
  34353. +# the user used. This is so that ltdl.h can pick up the parent projects
  34354. +# config.h file, The first file in AC_CONFIG_HEADERS must contain the
  34355. +# definitions required by ltdl.c.
  34356. +# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
  34357. +AC_CONFIG_COMMANDS_PRE([dnl
  34358. +m4_pattern_allow([^LT_CONFIG_H$])dnl
  34359. +m4_ifset([AH_HEADER],
  34360. + [LT_CONFIG_H=AH_HEADER],
  34361. + [m4_ifset([AC_LIST_HEADERS],
  34362. + [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`],
  34363. + [])])])
  34364. +AC_SUBST([LT_CONFIG_H])
  34365. +
  34366. +AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
  34367. + [], [], [AC_INCLUDES_DEFAULT])
  34368. +
  34369. +AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
  34370. +AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
  34371. +
  34372. +m4_pattern_allow([LT_LIBEXT])dnl
  34373. +AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
  34374. +
  34375. +name=
  34376. +eval "lt_libprefix=\"$libname_spec\""
  34377. +m4_pattern_allow([LT_LIBPREFIX])dnl
  34378. +AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
  34379. +
  34380. +name=ltdl
  34381. +eval "LTDLOPEN=\"$libname_spec\""
  34382. +AC_SUBST([LTDLOPEN])
  34383. +])
  34384. +m4trace:/usr/share/aclocal/ltdl.m4:443: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  34385. +AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
  34386. + [lt_cv_sys_dlopen_deplibs],
  34387. + [# PORTME does your system automatically load deplibs for dlopen?
  34388. + # or its logical equivalent (e.g. shl_load for HP-UX < 11)
  34389. + # For now, we just catch OSes we know something about -- in the
  34390. + # future, we'll try test this programmatically.
  34391. + lt_cv_sys_dlopen_deplibs=unknown
  34392. + case $host_os in
  34393. + aix3*|aix4.1.*|aix4.2.*)
  34394. + # Unknown whether this is true for these versions of AIX, but
  34395. + # we want this `case' here to explicitly catch those versions.
  34396. + lt_cv_sys_dlopen_deplibs=unknown
  34397. + ;;
  34398. + aix[[4-9]]*)
  34399. + lt_cv_sys_dlopen_deplibs=yes
  34400. + ;;
  34401. + amigaos*)
  34402. + case $host_cpu in
  34403. + powerpc)
  34404. + lt_cv_sys_dlopen_deplibs=no
  34405. + ;;
  34406. + esac
  34407. + ;;
  34408. + darwin*)
  34409. + # Assuming the user has installed a libdl from somewhere, this is true
  34410. + # If you are looking for one http://www.opendarwin.org/projects/dlcompat
  34411. + lt_cv_sys_dlopen_deplibs=yes
  34412. + ;;
  34413. + freebsd* | dragonfly*)
  34414. + lt_cv_sys_dlopen_deplibs=yes
  34415. + ;;
  34416. + gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
  34417. + # GNU and its variants, using gnu ld.so (Glibc)
  34418. + lt_cv_sys_dlopen_deplibs=yes
  34419. + ;;
  34420. + hpux10*|hpux11*)
  34421. + lt_cv_sys_dlopen_deplibs=yes
  34422. + ;;
  34423. + interix*)
  34424. + lt_cv_sys_dlopen_deplibs=yes
  34425. + ;;
  34426. + irix[[12345]]*|irix6.[[01]]*)
  34427. + # Catch all versions of IRIX before 6.2, and indicate that we don't
  34428. + # know how it worked for any of those versions.
  34429. + lt_cv_sys_dlopen_deplibs=unknown
  34430. + ;;
  34431. + irix*)
  34432. + # The case above catches anything before 6.2, and it's known that
  34433. + # at 6.2 and later dlopen does load deplibs.
  34434. + lt_cv_sys_dlopen_deplibs=yes
  34435. + ;;
  34436. + netbsd* | netbsdelf*-gnu)
  34437. + lt_cv_sys_dlopen_deplibs=yes
  34438. + ;;
  34439. + openbsd*)
  34440. + lt_cv_sys_dlopen_deplibs=yes
  34441. + ;;
  34442. + osf[[1234]]*)
  34443. + # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
  34444. + # it did *not* use an RPATH in a shared library to find objects the
  34445. + # library depends on, so we explicitly say `no'.
  34446. + lt_cv_sys_dlopen_deplibs=no
  34447. + ;;
  34448. + osf5.0|osf5.0a|osf5.1)
  34449. + # dlopen *does* load deplibs and with the right loader patch applied
  34450. + # it even uses RPATH in a shared library to search for shared objects
  34451. + # that the library depends on, but there's no easy way to know if that
  34452. + # patch is installed. Since this is the case, all we can really
  34453. + # say is unknown -- it depends on the patch being installed. If
  34454. + # it is, this changes to `yes'. Without it, it would be `no'.
  34455. + lt_cv_sys_dlopen_deplibs=unknown
  34456. + ;;
  34457. + osf*)
  34458. + # the two cases above should catch all versions of osf <= 5.1. Read
  34459. + # the comments above for what we know about them.
  34460. + # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
  34461. + # is used to find them so we can finally say `yes'.
  34462. + lt_cv_sys_dlopen_deplibs=yes
  34463. + ;;
  34464. + qnx*)
  34465. + lt_cv_sys_dlopen_deplibs=yes
  34466. + ;;
  34467. + solaris*)
  34468. + lt_cv_sys_dlopen_deplibs=yes
  34469. + ;;
  34470. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  34471. + libltdl_cv_sys_dlopen_deplibs=yes
  34472. + ;;
  34473. + esac
  34474. + ])
  34475. +if test "$lt_cv_sys_dlopen_deplibs" != yes; then
  34476. + AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
  34477. + [Define if the OS needs help to load dependent libraries for dlopen().])
  34478. +fi
  34479. +])
  34480. +m4trace:/usr/share/aclocal/ltdl.m4:542: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
  34481. +m4trace:/usr/share/aclocal/ltdl.m4:542: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete.
  34482. +You should run autoupdate.])dnl
  34483. +m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
  34484. +m4trace:/usr/share/aclocal/ltdl.m4:549: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  34485. +AC_CACHE_CHECK([which extension is used for runtime loadable modules],
  34486. + [libltdl_cv_shlibext],
  34487. +[
  34488. +module=yes
  34489. +eval libltdl_cv_shlibext=$shrext_cmds
  34490. +module=no
  34491. +eval libltdl_cv_shrext=$shrext_cmds
  34492. + ])
  34493. +if test -n "$libltdl_cv_shlibext"; then
  34494. + m4_pattern_allow([LT_MODULE_EXT])dnl
  34495. + AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
  34496. + [Define to the extension used for runtime loadable modules, say, ".so".])
  34497. +fi
  34498. +if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
  34499. + m4_pattern_allow([LT_SHARED_EXT])dnl
  34500. + AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
  34501. + [Define to the shared library suffix, say, ".dylib".])
  34502. +fi
  34503. +])
  34504. +m4trace:/usr/share/aclocal/ltdl.m4:572: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
  34505. +m4trace:/usr/share/aclocal/ltdl.m4:572: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
  34506. +You should run autoupdate.])dnl
  34507. +m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
  34508. +m4trace:/usr/share/aclocal/ltdl.m4:579: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  34509. +AC_CACHE_CHECK([which variable specifies run-time module search path],
  34510. + [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"])
  34511. +if test -n "$lt_cv_module_path_var"; then
  34512. + m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
  34513. + AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
  34514. + [Define to the name of the environment variable that determines the run-time module search path.])
  34515. +fi
  34516. +])
  34517. +m4trace:/usr/share/aclocal/ltdl.m4:591: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
  34518. +m4trace:/usr/share/aclocal/ltdl.m4:591: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
  34519. +You should run autoupdate.])dnl
  34520. +m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
  34521. +m4trace:/usr/share/aclocal/ltdl.m4:598: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  34522. +AC_CACHE_CHECK([for the default library search path],
  34523. + [lt_cv_sys_dlsearch_path],
  34524. + [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"])
  34525. +if test -n "$lt_cv_sys_dlsearch_path"; then
  34526. + sys_dlsearch_path=
  34527. + for dir in $lt_cv_sys_dlsearch_path; do
  34528. + if test -z "$sys_dlsearch_path"; then
  34529. + sys_dlsearch_path="$dir"
  34530. + else
  34531. + sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
  34532. + fi
  34533. + done
  34534. + m4_pattern_allow([LT_DLSEARCH_PATH])dnl
  34535. + AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
  34536. + [Define to the system default library search path.])
  34537. +fi
  34538. +])
  34539. +m4trace:/usr/share/aclocal/ltdl.m4:619: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
  34540. +m4trace:/usr/share/aclocal/ltdl.m4:619: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
  34541. +You should run autoupdate.])dnl
  34542. +m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
  34543. +m4trace:/usr/share/aclocal/ltdl.m4:645: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
  34544. +LT_DLLOADERS=
  34545. +AC_SUBST([LT_DLLOADERS])
  34546. +
  34547. +AC_LANG_PUSH([C])
  34548. +
  34549. +LIBADD_DLOPEN=
  34550. +AC_SEARCH_LIBS([dlopen], [dl],
  34551. + [AC_DEFINE([HAVE_LIBDL], [1],
  34552. + [Define if you have the libdl library or equivalent.])
  34553. + if test "$ac_cv_search_dlopen" != "none required" ; then
  34554. + LIBADD_DLOPEN="-ldl"
  34555. + fi
  34556. + libltdl_cv_lib_dl_dlopen="yes"
  34557. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
  34558. + [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
  34559. +# include <dlfcn.h>
  34560. +#endif
  34561. + ]], [[dlopen(0, 0);]])],
  34562. + [AC_DEFINE([HAVE_LIBDL], [1],
  34563. + [Define if you have the libdl library or equivalent.])
  34564. + libltdl_cv_func_dlopen="yes"
  34565. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
  34566. + [AC_CHECK_LIB([svld], [dlopen],
  34567. + [AC_DEFINE([HAVE_LIBDL], [1],
  34568. + [Define if you have the libdl library or equivalent.])
  34569. + LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
  34570. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
  34571. +if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
  34572. +then
  34573. + lt_save_LIBS="$LIBS"
  34574. + LIBS="$LIBS $LIBADD_DLOPEN"
  34575. + AC_CHECK_FUNCS([dlerror])
  34576. + LIBS="$lt_save_LIBS"
  34577. +fi
  34578. +AC_SUBST([LIBADD_DLOPEN])
  34579. +
  34580. +LIBADD_SHL_LOAD=
  34581. +AC_CHECK_FUNC([shl_load],
  34582. + [AC_DEFINE([HAVE_SHL_LOAD], [1],
  34583. + [Define if you have the shl_load function.])
  34584. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
  34585. + [AC_CHECK_LIB([dld], [shl_load],
  34586. + [AC_DEFINE([HAVE_SHL_LOAD], [1],
  34587. + [Define if you have the shl_load function.])
  34588. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
  34589. + LIBADD_SHL_LOAD="-ldld"])])
  34590. +AC_SUBST([LIBADD_SHL_LOAD])
  34591. +
  34592. +case $host_os in
  34593. +darwin[[1567]].*)
  34594. +# We only want this for pre-Mac OS X 10.4.
  34595. + AC_CHECK_FUNC([_dyld_func_lookup],
  34596. + [AC_DEFINE([HAVE_DYLD], [1],
  34597. + [Define if you have the _dyld_func_lookup function.])
  34598. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
  34599. + ;;
  34600. +beos*)
  34601. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
  34602. + ;;
  34603. +cygwin* | mingw* | os2* | pw32*)
  34604. + AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
  34605. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
  34606. + ;;
  34607. +esac
  34608. +
  34609. +AC_CHECK_LIB([dld], [dld_link],
  34610. + [AC_DEFINE([HAVE_DLD], [1],
  34611. + [Define if you have the GNU dld library.])
  34612. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
  34613. +AC_SUBST([LIBADD_DLD_LINK])
  34614. +
  34615. +m4_pattern_allow([^LT_DLPREOPEN$])
  34616. +LT_DLPREOPEN=
  34617. +if test -n "$LT_DLLOADERS"
  34618. +then
  34619. + for lt_loader in $LT_DLLOADERS; do
  34620. + LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
  34621. + done
  34622. + AC_DEFINE([HAVE_LIBDLLOADER], [1],
  34623. + [Define if libdlloader will be built on this platform])
  34624. +fi
  34625. +AC_SUBST([LT_DLPREOPEN])
  34626. +
  34627. +dnl This isn't used anymore, but set it for backwards compatibility
  34628. +LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
  34629. +AC_SUBST([LIBADD_DL])
  34630. +
  34631. +AC_LANG_POP
  34632. +])
  34633. +m4trace:/usr/share/aclocal/ltdl.m4:738: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
  34634. +m4trace:/usr/share/aclocal/ltdl.m4:738: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
  34635. +You should run autoupdate.])dnl
  34636. +m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
  34637. +m4trace:/usr/share/aclocal/ltdl.m4:746: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  34638. +AC_CACHE_CHECK([for _ prefix in compiled symbols],
  34639. + [lt_cv_sys_symbol_underscore],
  34640. + [lt_cv_sys_symbol_underscore=no
  34641. + cat > conftest.$ac_ext <<_LT_EOF
  34642. +void nm_test_func(){}
  34643. +int main(){nm_test_func;return 0;}
  34644. +_LT_EOF
  34645. + if AC_TRY_EVAL(ac_compile); then
  34646. + # Now try to grab the symbols.
  34647. + ac_nlist=conftest.nm
  34648. + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
  34649. + # See whether the symbols have a leading underscore.
  34650. + if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
  34651. + lt_cv_sys_symbol_underscore=yes
  34652. + else
  34653. + if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
  34654. + :
  34655. + else
  34656. + echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
  34657. + fi
  34658. + fi
  34659. + else
  34660. + echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  34661. + fi
  34662. + else
  34663. + echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
  34664. + cat conftest.c >&AS_MESSAGE_LOG_FD
  34665. + fi
  34666. + rm -rf conftest*
  34667. + ])
  34668. + sys_symbol_underscore=$lt_cv_sys_symbol_underscore
  34669. + AC_SUBST([sys_symbol_underscore])
  34670. +])
  34671. +m4trace:/usr/share/aclocal/ltdl.m4:783: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
  34672. +m4trace:/usr/share/aclocal/ltdl.m4:783: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete.
  34673. +You should run autoupdate.])dnl
  34674. +m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
  34675. +m4trace:/usr/share/aclocal/ltdl.m4:790: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
  34676. +if test x"$lt_cv_sys_symbol_underscore" = xyes; then
  34677. + if test x"$libltdl_cv_func_dlopen" = xyes ||
  34678. + test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
  34679. + AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
  34680. + [libltdl_cv_need_uscore],
  34681. + [libltdl_cv_need_uscore=unknown
  34682. + save_LIBS="$LIBS"
  34683. + LIBS="$LIBS $LIBADD_DLOPEN"
  34684. + _LT_TRY_DLOPEN_SELF(
  34685. + [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
  34686. + [], [libltdl_cv_need_uscore=cross])
  34687. + LIBS="$save_LIBS"
  34688. + ])
  34689. + fi
  34690. +fi
  34691. +
  34692. +if test x"$libltdl_cv_need_uscore" = xyes; then
  34693. + AC_DEFINE([NEED_USCORE], [1],
  34694. + [Define if dlsym() requires a leading underscore in symbol names.])
  34695. +fi
  34696. +])
  34697. +m4trace:/usr/share/aclocal/ltdl.m4:815: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
  34698. +m4trace:/usr/share/aclocal/ltdl.m4:815: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete.
  34699. +You should run autoupdate.])dnl
  34700. +m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
  34701. +m4trace:/usr/share/aclocal/pkg.m4:27: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
  34702. +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
  34703. +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
  34704. +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
  34705. +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
  34706. +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
  34707. +
  34708. +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  34709. + AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
  34710. +fi
  34711. +if test -n "$PKG_CONFIG"; then
  34712. + _pkg_min_version=m4_default([$1], [0.9.0])
  34713. + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
  34714. + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  34715. + AC_MSG_RESULT([yes])
  34716. + else
  34717. + AC_MSG_RESULT([no])
  34718. + PKG_CONFIG=""
  34719. + fi
  34720. +fi[]dnl
  34721. +])
  34722. +m4trace:/usr/share/aclocal/pkg.m4:60: -1- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
  34723. +if test -n "$PKG_CONFIG" && \
  34724. + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
  34725. + m4_default([$2], [:])
  34726. +m4_ifvaln([$3], [else
  34727. + $3])dnl
  34728. +fi])
  34729. +m4trace:/usr/share/aclocal/pkg.m4:86: -1- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
  34730. +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  34731. + _pkg_short_errors_supported=yes
  34732. +else
  34733. + _pkg_short_errors_supported=no
  34734. +fi[]dnl
  34735. +])
  34736. +m4trace:/usr/share/aclocal/pkg.m4:106: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
  34737. +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
  34738. +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
  34739. +
  34740. +pkg_failed=no
  34741. +AC_MSG_CHECKING([for $1])
  34742. +
  34743. +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
  34744. +_PKG_CONFIG([$1][_LIBS], [libs], [$2])
  34745. +
  34746. +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
  34747. +and $1[]_LIBS to avoid the need to call pkg-config.
  34748. +See the pkg-config man page for more details.])
  34749. +
  34750. +if test $pkg_failed = yes; then
  34751. + AC_MSG_RESULT([no])
  34752. + _PKG_SHORT_ERRORS_SUPPORTED
  34753. + if test $_pkg_short_errors_supported = yes; then
  34754. + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
  34755. + else
  34756. + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
  34757. + fi
  34758. + # Put the nasty error message in config.log where it belongs
  34759. + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
  34760. +
  34761. + m4_default([$4], [AC_MSG_ERROR(
  34762. +[Package requirements ($2) were not met:
  34763. +
  34764. +$$1_PKG_ERRORS
  34765. +
  34766. +Consider adjusting the PKG_CONFIG_PATH environment variable if you
  34767. +installed software in a non-standard prefix.
  34768. +
  34769. +_PKG_TEXT])[]dnl
  34770. + ])
  34771. +elif test $pkg_failed = untried; then
  34772. + AC_MSG_RESULT([no])
  34773. + m4_default([$4], [AC_MSG_FAILURE(
  34774. +[The pkg-config script could not be found or is too old. Make sure it
  34775. +is in your PATH or set the PKG_CONFIG environment variable to the full
  34776. +path to pkg-config.
  34777. +
  34778. +_PKG_TEXT
  34779. +
  34780. +To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
  34781. + ])
  34782. +else
  34783. + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
  34784. + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
  34785. + AC_MSG_RESULT([yes])
  34786. + $3
  34787. +fi[]dnl
  34788. +])
  34789. +m4trace:/usr/share/aclocal-1.11/amversion.m4:17: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
  34790. +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  34791. +dnl require some minimum version. Point them to the right macro.
  34792. +m4_if([$1], [1.11.3], [],
  34793. + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  34794. +])
  34795. +m4trace:/usr/share/aclocal-1.11/amversion.m4:36: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.3])dnl
  34796. +m4_ifndef([AC_AUTOCONF_VERSION],
  34797. + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  34798. +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  34799. +m4trace:/usr/share/aclocal-1.11/ar-lib.m4:15: -1- AC_DEFUN([AM_PROG_AR], [AC_BEFORE([$0], [LT_INIT])dnl
  34800. +AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl
  34801. +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  34802. +AC_REQUIRE_AUX_FILE([ar-lib])dnl
  34803. +AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false])
  34804. +: ${AR=ar}
  34805. +
  34806. +AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface],
  34807. + [am_cv_ar_interface=ar
  34808. + AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])],
  34809. + [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
  34810. + AC_TRY_EVAL([am_ar_try])
  34811. + if test "$ac_status" -eq 0; then
  34812. + am_cv_ar_interface=ar
  34813. + else
  34814. + am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
  34815. + AC_TRY_EVAL([am_ar_try])
  34816. + if test "$ac_status" -eq 0; then
  34817. + am_cv_ar_interface=lib
  34818. + else
  34819. + am_cv_ar_interface=unknown
  34820. + fi
  34821. + fi
  34822. + rm -f conftest.lib libconftest.a
  34823. + ])
  34824. + ])
  34825. +
  34826. +case $am_cv_ar_interface in
  34827. +ar)
  34828. + ;;
  34829. +lib)
  34830. + # Microsoft lib, so override with the ar-lib wrapper script.
  34831. + # FIXME: It is wrong to rewrite AR.
  34832. + # But if we don't then we get into trouble of one sort or another.
  34833. + # A longer-term fix would be to have automake use am__AR in this case,
  34834. + # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
  34835. + # similar.
  34836. + AR="$am_aux_dir/ar-lib $AR"
  34837. + ;;
  34838. +unknown)
  34839. + m4_default([$1],
  34840. + [AC_MSG_ERROR([could not determine $AR interface])])
  34841. + ;;
  34842. +esac
  34843. +AC_SUBST([AR])dnl
  34844. +])
  34845. +m4trace:/usr/share/aclocal-1.11/auxdir.m4:49: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
  34846. +AC_PREREQ([2.50])dnl
  34847. +# expand $ac_aux_dir to an absolute path
  34848. +am_aux_dir=`cd $ac_aux_dir && pwd`
  34849. +])
  34850. +m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
  34851. + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  34852. + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  34853. +AC_SUBST([$1_TRUE])dnl
  34854. +AC_SUBST([$1_FALSE])dnl
  34855. +_AM_SUBST_NOTMAKE([$1_TRUE])dnl
  34856. +_AM_SUBST_NOTMAKE([$1_FALSE])dnl
  34857. +m4_define([_AM_COND_VALUE_$1], [$2])dnl
  34858. +if $2; then
  34859. + $1_TRUE=
  34860. + $1_FALSE='#'
  34861. +else
  34862. + $1_TRUE='#'
  34863. + $1_FALSE=
  34864. +fi
  34865. +AC_CONFIG_COMMANDS_PRE(
  34866. +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  34867. + AC_MSG_ERROR([[conditional "$1" was never defined.
  34868. +Usually this means the macro was only invoked conditionally.]])
  34869. +fi])])
  34870. +m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
  34871. +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
  34872. +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  34873. +AC_REQUIRE([AM_DEP_TRACK])dnl
  34874. +
  34875. +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
  34876. + [$1], CXX, [depcc="$CXX" am_compiler_list=],
  34877. + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  34878. + [$1], UPC, [depcc="$UPC" am_compiler_list=],
  34879. + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  34880. + [depcc="$$1" am_compiler_list=])
  34881. +
  34882. +AC_CACHE_CHECK([dependency style of $depcc],
  34883. + [am_cv_$1_dependencies_compiler_type],
  34884. +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  34885. + # We make a subdir and do the tests there. Otherwise we can end up
  34886. + # making bogus files that we don't know about and never remove. For
  34887. + # instance it was reported that on HP-UX the gcc test will end up
  34888. + # making a dummy file named `D' -- because `-MD' means `put the output
  34889. + # in D'.
  34890. + rm -rf conftest.dir
  34891. + mkdir conftest.dir
  34892. + # Copy depcomp to subdir because otherwise we won't find it if we're
  34893. + # using a relative directory.
  34894. + cp "$am_depcomp" conftest.dir
  34895. + cd conftest.dir
  34896. + # We will build objects and dependencies in a subdirectory because
  34897. + # it helps to detect inapplicable dependency modes. For instance
  34898. + # both Tru64's cc and ICC support -MD to output dependencies as a
  34899. + # side effect of compilation, but ICC will put the dependencies in
  34900. + # the current directory while Tru64 will put them in the object
  34901. + # directory.
  34902. + mkdir sub
  34903. +
  34904. + am_cv_$1_dependencies_compiler_type=none
  34905. + if test "$am_compiler_list" = ""; then
  34906. + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  34907. + fi
  34908. + am__universal=false
  34909. + m4_case([$1], [CC],
  34910. + [case " $depcc " in #(
  34911. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  34912. + esac],
  34913. + [CXX],
  34914. + [case " $depcc " in #(
  34915. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  34916. + esac])
  34917. +
  34918. + for depmode in $am_compiler_list; do
  34919. + # Setup a source with many dependencies, because some compilers
  34920. + # like to wrap large dependency lists on column 80 (with \), and
  34921. + # we should not choose a depcomp mode which is confused by this.
  34922. + #
  34923. + # We need to recreate these files for each test, as the compiler may
  34924. + # overwrite some of them when testing with obscure command lines.
  34925. + # This happens at least with the AIX C compiler.
  34926. + : > sub/conftest.c
  34927. + for i in 1 2 3 4 5 6; do
  34928. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  34929. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  34930. + # Solaris 8's {/usr,}/bin/sh.
  34931. + touch sub/conftst$i.h
  34932. + done
  34933. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  34934. +
  34935. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  34936. + # mode. It turns out that the SunPro C++ compiler does not properly
  34937. + # handle `-M -o', and we need to detect this. Also, some Intel
  34938. + # versions had trouble with output in subdirs
  34939. + am__obj=sub/conftest.${OBJEXT-o}
  34940. + am__minus_obj="-o $am__obj"
  34941. + case $depmode in
  34942. + gcc)
  34943. + # This depmode causes a compiler race in universal mode.
  34944. + test "$am__universal" = false || continue
  34945. + ;;
  34946. + nosideeffect)
  34947. + # after this tag, mechanisms are not by side-effect, so they'll
  34948. + # only be used when explicitly requested
  34949. + if test "x$enable_dependency_tracking" = xyes; then
  34950. + continue
  34951. + else
  34952. + break
  34953. + fi
  34954. + ;;
  34955. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  34956. + # This compiler won't grok `-c -o', but also, the minuso test has
  34957. + # not run yet. These depmodes are late enough in the game, and
  34958. + # so weak that their functioning should not be impacted.
  34959. + am__obj=conftest.${OBJEXT-o}
  34960. + am__minus_obj=
  34961. + ;;
  34962. + none) break ;;
  34963. + esac
  34964. + if depmode=$depmode \
  34965. + source=sub/conftest.c object=$am__obj \
  34966. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  34967. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  34968. + >/dev/null 2>conftest.err &&
  34969. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  34970. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  34971. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  34972. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  34973. + # icc doesn't choke on unknown options, it will just issue warnings
  34974. + # or remarks (even with -Werror). So we grep stderr for any message
  34975. + # that says an option was ignored or not supported.
  34976. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  34977. + # icc: Command line warning: ignoring option '-M'; no argument required
  34978. + # The diagnosis changed in icc 8.0:
  34979. + # icc: Command line remark: option '-MP' not supported
  34980. + if (grep 'ignoring option' conftest.err ||
  34981. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  34982. + am_cv_$1_dependencies_compiler_type=$depmode
  34983. + break
  34984. + fi
  34985. + fi
  34986. + done
  34987. +
  34988. + cd ..
  34989. + rm -rf conftest.dir
  34990. +else
  34991. + am_cv_$1_dependencies_compiler_type=none
  34992. +fi
  34993. +])
  34994. +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
  34995. +AM_CONDITIONAL([am__fastdep$1], [
  34996. + test "x$enable_dependency_tracking" != xno \
  34997. + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
  34998. +])
  34999. +m4trace:/usr/share/aclocal-1.11/depend.m4:164: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  35000. +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  35001. +])
  35002. +m4trace:/usr/share/aclocal-1.11/depend.m4:172: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
  35003. +[ --disable-dependency-tracking speeds up one-time build
  35004. + --enable-dependency-tracking do not reject slow dependency extractors])
  35005. +if test "x$enable_dependency_tracking" != xno; then
  35006. + am_depcomp="$ac_aux_dir/depcomp"
  35007. + AMDEPBACKSLASH='\'
  35008. + am__nodep='_no'
  35009. +fi
  35010. +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  35011. +AC_SUBST([AMDEPBACKSLASH])dnl
  35012. +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
  35013. +AC_SUBST([am__nodep])dnl
  35014. +_AM_SUBST_NOTMAKE([am__nodep])dnl
  35015. +])
  35016. +m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
  35017. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  35018. + # are listed without --file. Let's play safe and only enable the eval
  35019. + # if we detect the quoting.
  35020. + case $CONFIG_FILES in
  35021. + *\'*) eval set x "$CONFIG_FILES" ;;
  35022. + *) set x $CONFIG_FILES ;;
  35023. + esac
  35024. + shift
  35025. + for mf
  35026. + do
  35027. + # Strip MF so we end up with the name of the file.
  35028. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  35029. + # Check whether this is an Automake generated Makefile or not.
  35030. + # We used to match only the files named `Makefile.in', but
  35031. + # some people rename them; so instead we look at the file content.
  35032. + # Grep'ing the first line is not enough: some people post-process
  35033. + # each Makefile.in and add a new line on top of each file to say so.
  35034. + # Grep'ing the whole file is not good either: AIX grep has a line
  35035. + # limit of 2048, but all sed's we know have understand at least 4000.
  35036. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  35037. + dirpart=`AS_DIRNAME("$mf")`
  35038. + else
  35039. + continue
  35040. + fi
  35041. + # Extract the definition of DEPDIR, am__include, and am__quote
  35042. + # from the Makefile without running `make'.
  35043. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  35044. + test -z "$DEPDIR" && continue
  35045. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  35046. + test -z "am__include" && continue
  35047. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  35048. + # When using ansi2knr, U may be empty or an underscore; expand it
  35049. + U=`sed -n 's/^U = //p' < "$mf"`
  35050. + # Find all dependency output files, they are included files with
  35051. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  35052. + # simplest approach to changing $(DEPDIR) to its actual value in the
  35053. + # expansion.
  35054. + for file in `sed -n "
  35055. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  35056. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  35057. + # Make sure the directory exists.
  35058. + test -f "$dirpart/$file" && continue
  35059. + fdir=`AS_DIRNAME(["$file"])`
  35060. + AS_MKDIR_P([$dirpart/$fdir])
  35061. + # echo "creating $dirpart/$file"
  35062. + echo '# dummy' > "$dirpart/$file"
  35063. + done
  35064. + done
  35065. +}
  35066. +])
  35067. +m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
  35068. + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
  35069. + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
  35070. +])
  35071. +m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
  35072. +dnl Autoconf wants to disallow AM_ names. We explicitly allow
  35073. +dnl the ones we care about.
  35074. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  35075. +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
  35076. +AC_REQUIRE([AC_PROG_INSTALL])dnl
  35077. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  35078. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  35079. + # is not polluted with repeated "-I."
  35080. + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
  35081. + # test to see if srcdir already configured
  35082. + if test -f $srcdir/config.status; then
  35083. + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  35084. + fi
  35085. +fi
  35086. +
  35087. +# test whether we have cygpath
  35088. +if test -z "$CYGPATH_W"; then
  35089. + if (cygpath --version) >/dev/null 2>/dev/null; then
  35090. + CYGPATH_W='cygpath -w'
  35091. + else
  35092. + CYGPATH_W=echo
  35093. + fi
  35094. +fi
  35095. +AC_SUBST([CYGPATH_W])
  35096. +
  35097. +# Define the identity of the package.
  35098. +dnl Distinguish between old-style and new-style calls.
  35099. +m4_ifval([$2],
  35100. +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  35101. + AC_SUBST([PACKAGE], [$1])dnl
  35102. + AC_SUBST([VERSION], [$2])],
  35103. +[_AM_SET_OPTIONS([$1])dnl
  35104. +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  35105. +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
  35106. + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  35107. + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  35108. + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  35109. +
  35110. +_AM_IF_OPTION([no-define],,
  35111. +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
  35112. + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
  35113. +
  35114. +# Some tools Automake needs.
  35115. +AC_REQUIRE([AM_SANITY_CHECK])dnl
  35116. +AC_REQUIRE([AC_ARG_PROGRAM])dnl
  35117. +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
  35118. +AM_MISSING_PROG(AUTOCONF, autoconf)
  35119. +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  35120. +AM_MISSING_PROG(AUTOHEADER, autoheader)
  35121. +AM_MISSING_PROG(MAKEINFO, makeinfo)
  35122. +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  35123. +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  35124. +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  35125. +# We need awk for the "check" target. The system "awk" is bad on
  35126. +# some platforms.
  35127. +AC_REQUIRE([AC_PROG_AWK])dnl
  35128. +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  35129. +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  35130. +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  35131. + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  35132. + [_AM_PROG_TAR([v7])])])
  35133. +_AM_IF_OPTION([no-dependencies],,
  35134. +[AC_PROVIDE_IFELSE([AC_PROG_CC],
  35135. + [_AM_DEPENDENCIES(CC)],
  35136. + [define([AC_PROG_CC],
  35137. + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  35138. +AC_PROVIDE_IFELSE([AC_PROG_CXX],
  35139. + [_AM_DEPENDENCIES(CXX)],
  35140. + [define([AC_PROG_CXX],
  35141. + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  35142. +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  35143. + [_AM_DEPENDENCIES(OBJC)],
  35144. + [define([AC_PROG_OBJC],
  35145. + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  35146. +])
  35147. +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
  35148. +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
  35149. +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  35150. +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  35151. +AC_CONFIG_COMMANDS_PRE(dnl
  35152. +[m4_provide_if([_AM_COMPILER_EXEEXT],
  35153. + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  35154. +])
  35155. +m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
  35156. +_am_arg=$1
  35157. +_am_stamp_count=1
  35158. +for _am_header in $config_headers :; do
  35159. + case $_am_header in
  35160. + $_am_arg | $_am_arg:* )
  35161. + break ;;
  35162. + * )
  35163. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  35164. + esac
  35165. +done
  35166. +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  35167. +m4trace:/usr/share/aclocal-1.11/install-sh.m4:14: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  35168. +if test x"${install_sh}" != xset; then
  35169. + case $am_aux_dir in
  35170. + *\ * | *\ *)
  35171. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  35172. + *)
  35173. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  35174. + esac
  35175. +fi
  35176. +AC_SUBST(install_sh)])
  35177. +m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
  35178. +mkdir .tst 2>/dev/null
  35179. +if test -d .tst; then
  35180. + am__leading_dot=.
  35181. +else
  35182. + am__leading_dot=_
  35183. +fi
  35184. +rmdir .tst 2>/dev/null
  35185. +AC_SUBST([am__leading_dot])])
  35186. +m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
  35187. +cat > confinc << 'END'
  35188. +am__doit:
  35189. + @echo this is the am__doit target
  35190. +.PHONY: am__doit
  35191. +END
  35192. +# If we don't find an include directive, just comment out the code.
  35193. +AC_MSG_CHECKING([for style of include used by $am_make])
  35194. +am__include="#"
  35195. +am__quote=
  35196. +_am_result=none
  35197. +# First try GNU make style include.
  35198. +echo "include confinc" > confmf
  35199. +# Ignore all kinds of additional output from `make'.
  35200. +case `$am_make -s -f confmf 2> /dev/null` in #(
  35201. +*the\ am__doit\ target*)
  35202. + am__include=include
  35203. + am__quote=
  35204. + _am_result=GNU
  35205. + ;;
  35206. +esac
  35207. +# Now try BSD make style include.
  35208. +if test "$am__include" = "#"; then
  35209. + echo '.include "confinc"' > confmf
  35210. + case `$am_make -s -f confmf 2> /dev/null` in #(
  35211. + *the\ am__doit\ target*)
  35212. + am__include=.include
  35213. + am__quote="\""
  35214. + _am_result=BSD
  35215. + ;;
  35216. + esac
  35217. +fi
  35218. +AC_SUBST([am__include])
  35219. +AC_SUBST([am__quote])
  35220. +AC_MSG_RESULT([$_am_result])
  35221. +rm -f confinc confmf
  35222. +])
  35223. +m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
  35224. +$1=${$1-"${am_missing_run}$2"}
  35225. +AC_SUBST($1)])
  35226. +m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  35227. +AC_REQUIRE_AUX_FILE([missing])dnl
  35228. +if test x"${MISSING+set}" != xset; then
  35229. + case $am_aux_dir in
  35230. + *\ * | *\ *)
  35231. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  35232. + *)
  35233. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  35234. + esac
  35235. +fi
  35236. +# Use eval to expand $SHELL
  35237. +if eval "$MISSING --run true"; then
  35238. + am_missing_run="$MISSING --run "
  35239. +else
  35240. + am_missing_run=
  35241. + AC_MSG_WARN([`missing' script is too old or missing])
  35242. +fi
  35243. +])
  35244. +m4trace:/usr/share/aclocal-1.11/mkdirp.m4:14: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
  35245. +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  35246. +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
  35247. +dnl while keeping a definition of mkdir_p for backward compatibility.
  35248. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
  35249. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
  35250. +dnl Makefile.ins that do not define MKDIR_P, so we do our own
  35251. +dnl adjustment using top_builddir (which is defined more often than
  35252. +dnl MKDIR_P).
  35253. +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
  35254. +case $mkdir_p in
  35255. + [[\\/$]]* | ?:[[\\/]]*) ;;
  35256. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  35257. +esac
  35258. +])
  35259. +m4trace:/usr/share/aclocal-1.11/options.m4:14: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  35260. +m4trace:/usr/share/aclocal-1.11/options.m4:20: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
  35261. +m4trace:/usr/share/aclocal-1.11/options.m4:26: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  35262. +m4trace:/usr/share/aclocal-1.11/options.m4:32: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  35263. +m4trace:/usr/share/aclocal-1.11/runlog.m4:14: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
  35264. + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
  35265. + ac_status=$?
  35266. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  35267. + (exit $ac_status); }])
  35268. +m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
  35269. +# Just in case
  35270. +sleep 1
  35271. +echo timestamp > conftest.file
  35272. +# Reject unsafe characters in $srcdir or the absolute working directory
  35273. +# name. Accept space and tab only in the latter.
  35274. +am_lf='
  35275. +'
  35276. +case `pwd` in
  35277. + *[[\\\"\#\$\&\'\`$am_lf]]*)
  35278. + AC_MSG_ERROR([unsafe absolute working directory name]);;
  35279. +esac
  35280. +case $srcdir in
  35281. + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  35282. + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  35283. +esac
  35284. +
  35285. +# Do `set' in a subshell so we don't clobber the current shell's
  35286. +# arguments. Must try -L first in case configure is actually a
  35287. +# symlink; some systems play weird games with the mod time of symlinks
  35288. +# (eg FreeBSD returns the mod time of the symlink's containing
  35289. +# directory).
  35290. +if (
  35291. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  35292. + if test "$[*]" = "X"; then
  35293. + # -L didn't work.
  35294. + set X `ls -t "$srcdir/configure" conftest.file`
  35295. + fi
  35296. + rm -f conftest.file
  35297. + if test "$[*]" != "X $srcdir/configure conftest.file" \
  35298. + && test "$[*]" != "X conftest.file $srcdir/configure"; then
  35299. +
  35300. + # If neither matched, then we have a broken ls. This can happen
  35301. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  35302. + # broken ls alias from the environment. This has actually
  35303. + # happened. Such a system could not be considered "sane".
  35304. + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  35305. +alias in your environment])
  35306. + fi
  35307. +
  35308. + test "$[2]" = conftest.file
  35309. + )
  35310. +then
  35311. + # Ok.
  35312. + :
  35313. +else
  35314. + AC_MSG_ERROR([newly created file is older than distributed files!
  35315. +Check your system clock])
  35316. +fi
  35317. +AC_MSG_RESULT(yes)])
  35318. +m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
  35319. +[ --enable-silent-rules less verbose build output (undo: `make V=1')
  35320. + --disable-silent-rules verbose build output (undo: `make V=0')])
  35321. +case $enable_silent_rules in
  35322. +yes) AM_DEFAULT_VERBOSITY=0;;
  35323. +no) AM_DEFAULT_VERBOSITY=1;;
  35324. +*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
  35325. +esac
  35326. +dnl
  35327. +dnl A few `make' implementations (e.g., NonStop OS and NextStep)
  35328. +dnl do not support nested variable expansions.
  35329. +dnl See automake bug#9928 and bug#10237.
  35330. +am_make=${MAKE-make}
  35331. +AC_CACHE_CHECK([whether $am_make supports nested variables],
  35332. + [am_cv_make_support_nested_variables],
  35333. + [if AS_ECHO([['TRUE=$(BAR$(V))
  35334. +BAR0=false
  35335. +BAR1=true
  35336. +V=1
  35337. +am__doit:
  35338. + @$(TRUE)
  35339. +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
  35340. + am_cv_make_support_nested_variables=yes
  35341. +else
  35342. + am_cv_make_support_nested_variables=no
  35343. +fi])
  35344. +if test $am_cv_make_support_nested_variables = yes; then
  35345. + dnl Using `$V' instead of `$(V)' breaks IRIX make.
  35346. + AM_V='$(V)'
  35347. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  35348. +else
  35349. + AM_V=$AM_DEFAULT_VERBOSITY
  35350. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  35351. +fi
  35352. +AC_SUBST([AM_V])dnl
  35353. +AM_SUBST_NOTMAKE([AM_V])dnl
  35354. +AC_SUBST([AM_DEFAULT_V])dnl
  35355. +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
  35356. +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
  35357. +AM_BACKSLASH='\'
  35358. +AC_SUBST([AM_BACKSLASH])dnl
  35359. +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
  35360. +])
  35361. +m4trace:/usr/share/aclocal-1.11/strip.m4:19: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  35362. +# Installed binaries are usually stripped using `strip' when the user
  35363. +# run `make install-strip'. However `strip' might not be the right
  35364. +# tool to use in cross-compilation environments, therefore Automake
  35365. +# will honor the `STRIP' environment variable to overrule this program.
  35366. +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
  35367. +if test "$cross_compiling" != no; then
  35368. + AC_CHECK_TOOL([STRIP], [strip], :)
  35369. +fi
  35370. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  35371. +AC_SUBST([INSTALL_STRIP_PROGRAM])])
  35372. +m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
  35373. +m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  35374. +m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
  35375. +# in the wild :-( We should find a proper way to deprecate it ...
  35376. +AC_SUBST([AMTAR], ['$${TAR-tar}'])
  35377. +m4_if([$1], [v7],
  35378. + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
  35379. + [m4_case([$1], [ustar],, [pax],,
  35380. + [m4_fatal([Unknown tar format])])
  35381. +AC_MSG_CHECKING([how to create a $1 tar archive])
  35382. +# Loop over all known methods to create a tar archive until one works.
  35383. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  35384. +_am_tools=${am_cv_prog_tar_$1-$_am_tools}
  35385. +# Do not fold the above two line into one, because Tru64 sh and
  35386. +# Solaris sh will not grok spaces in the rhs of `-'.
  35387. +for _am_tool in $_am_tools
  35388. +do
  35389. + case $_am_tool in
  35390. + gnutar)
  35391. + for _am_tar in tar gnutar gtar;
  35392. + do
  35393. + AM_RUN_LOG([$_am_tar --version]) && break
  35394. + done
  35395. + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  35396. + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  35397. + am__untar="$_am_tar -xf -"
  35398. + ;;
  35399. + plaintar)
  35400. + # Must skip GNU tar: if it does not support --format= it doesn't create
  35401. + # ustar tarball either.
  35402. + (tar --version) >/dev/null 2>&1 && continue
  35403. + am__tar='tar chf - "$$tardir"'
  35404. + am__tar_='tar chf - "$tardir"'
  35405. + am__untar='tar xf -'
  35406. + ;;
  35407. + pax)
  35408. + am__tar='pax -L -x $1 -w "$$tardir"'
  35409. + am__tar_='pax -L -x $1 -w "$tardir"'
  35410. + am__untar='pax -r'
  35411. + ;;
  35412. + cpio)
  35413. + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  35414. + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  35415. + am__untar='cpio -i -H $1 -d'
  35416. + ;;
  35417. + none)
  35418. + am__tar=false
  35419. + am__tar_=false
  35420. + am__untar=false
  35421. + ;;
  35422. + esac
  35423. +
  35424. + # If the value was cached, stop now. We just wanted to have am__tar
  35425. + # and am__untar set.
  35426. + test -n "${am_cv_prog_tar_$1}" && break
  35427. +
  35428. + # tar/untar a dummy directory, and stop if the command works
  35429. + rm -rf conftest.dir
  35430. + mkdir conftest.dir
  35431. + echo GrepMe > conftest.dir/file
  35432. + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  35433. + rm -rf conftest.dir
  35434. + if test -s conftest.tar; then
  35435. + AM_RUN_LOG([$am__untar <conftest.tar])
  35436. + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  35437. + fi
  35438. +done
  35439. +rm -rf conftest.dir
  35440. +
  35441. +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  35442. +AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  35443. +AC_SUBST([am__tar])
  35444. +AC_SUBST([am__untar])
  35445. +])
  35446. +m4trace:m4/libtool.m4:69: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
  35447. +AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  35448. +AC_BEFORE([$0], [LT_LANG])dnl
  35449. +AC_BEFORE([$0], [LT_OUTPUT])dnl
  35450. +AC_BEFORE([$0], [LTDL_INIT])dnl
  35451. +m4_require([_LT_CHECK_BUILDDIR])dnl
  35452. +
  35453. +dnl Autoconf doesn't catch unexpanded LT_ macros by default:
  35454. +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
  35455. +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
  35456. +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
  35457. +dnl unless we require an AC_DEFUNed macro:
  35458. +AC_REQUIRE([LTOPTIONS_VERSION])dnl
  35459. +AC_REQUIRE([LTSUGAR_VERSION])dnl
  35460. +AC_REQUIRE([LTVERSION_VERSION])dnl
  35461. +AC_REQUIRE([LTOBSOLETE_VERSION])dnl
  35462. +m4_require([_LT_PROG_LTMAIN])dnl
  35463. +
  35464. +_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
  35465. +
  35466. +dnl Parse OPTIONS
  35467. +_LT_SET_OPTIONS([$0], [$1])
  35468. +
  35469. +# This can be used to rebuild libtool when needed
  35470. +LIBTOOL_DEPS="$ltmain"
  35471. +
  35472. +# Always use our own libtool.
  35473. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  35474. +AC_SUBST(LIBTOOL)dnl
  35475. +
  35476. +_LT_SETUP
  35477. +
  35478. +# Only expand once:
  35479. +m4_define([LT_INIT])
  35480. +])
  35481. +m4trace:m4/libtool.m4:107: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  35482. +m4trace:m4/libtool.m4:107: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
  35483. +You should run autoupdate.])dnl
  35484. +m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  35485. +m4trace:m4/libtool.m4:108: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  35486. +m4trace:m4/libtool.m4:108: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
  35487. +You should run autoupdate.])dnl
  35488. +m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  35489. +m4trace:m4/libtool.m4:609: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
  35490. +AC_MSG_NOTICE([creating $CONFIG_LT])
  35491. +_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
  35492. +[# Run this file to recreate a libtool stub with the current configuration.])
  35493. +
  35494. +cat >>"$CONFIG_LT" <<\_LTEOF
  35495. +lt_cl_silent=false
  35496. +exec AS_MESSAGE_LOG_FD>>config.log
  35497. +{
  35498. + echo
  35499. + AS_BOX([Running $as_me.])
  35500. +} >&AS_MESSAGE_LOG_FD
  35501. +
  35502. +lt_cl_help="\
  35503. +\`$as_me' creates a local libtool stub from the current configuration,
  35504. +for use in further configure time tests before the real libtool is
  35505. +generated.
  35506. +
  35507. +Usage: $[0] [[OPTIONS]]
  35508. +
  35509. + -h, --help print this help, then exit
  35510. + -V, --version print version number, then exit
  35511. + -q, --quiet do not print progress messages
  35512. + -d, --debug don't remove temporary files
  35513. +
  35514. +Report bugs to <bug-libtool@gnu.org>."
  35515. +
  35516. +lt_cl_version="\
  35517. +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
  35518. +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  35519. +configured by $[0], generated by m4_PACKAGE_STRING.
  35520. +
  35521. +Copyright (C) 2011 Free Software Foundation, Inc.
  35522. +This config.lt script is free software; the Free Software Foundation
  35523. +gives unlimited permision to copy, distribute and modify it."
  35524. +
  35525. +while test $[#] != 0
  35526. +do
  35527. + case $[1] in
  35528. + --version | --v* | -V )
  35529. + echo "$lt_cl_version"; exit 0 ;;
  35530. + --help | --h* | -h )
  35531. + echo "$lt_cl_help"; exit 0 ;;
  35532. + --debug | --d* | -d )
  35533. + debug=: ;;
  35534. + --quiet | --q* | --silent | --s* | -q )
  35535. + lt_cl_silent=: ;;
  35536. +
  35537. + -*) AC_MSG_ERROR([unrecognized option: $[1]
  35538. +Try \`$[0] --help' for more information.]) ;;
  35539. +
  35540. + *) AC_MSG_ERROR([unrecognized argument: $[1]
  35541. +Try \`$[0] --help' for more information.]) ;;
  35542. + esac
  35543. + shift
  35544. +done
  35545. +
  35546. +if $lt_cl_silent; then
  35547. + exec AS_MESSAGE_FD>/dev/null
  35548. +fi
  35549. +_LTEOF
  35550. +
  35551. +cat >>"$CONFIG_LT" <<_LTEOF
  35552. +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
  35553. +_LTEOF
  35554. +
  35555. +cat >>"$CONFIG_LT" <<\_LTEOF
  35556. +AC_MSG_NOTICE([creating $ofile])
  35557. +_LT_OUTPUT_LIBTOOL_COMMANDS
  35558. +AS_EXIT(0)
  35559. +_LTEOF
  35560. +chmod +x "$CONFIG_LT"
  35561. +
  35562. +# configure is writing to config.log, but config.lt does its own redirection,
  35563. +# appending to config.log, which fails on DOS, as config.log is still kept
  35564. +# open by configure. Here we exec the FD to /dev/null, effectively closing
  35565. +# config.log, so it can be properly (re)opened and appended to by config.lt.
  35566. +lt_cl_success=:
  35567. +test "$silent" = yes &&
  35568. + lt_config_lt_args="$lt_config_lt_args --quiet"
  35569. +exec AS_MESSAGE_LOG_FD>/dev/null
  35570. +$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  35571. +exec AS_MESSAGE_LOG_FD>>config.log
  35572. +$lt_cl_success || AS_EXIT(1)
  35573. +])
  35574. +m4trace:m4/libtool.m4:790: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
  35575. +m4trace:m4/libtool.m4:801: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
  35576. +m4_case([$1],
  35577. + [C], [_LT_LANG(C)],
  35578. + [C++], [_LT_LANG(CXX)],
  35579. + [Go], [_LT_LANG(GO)],
  35580. + [Java], [_LT_LANG(GCJ)],
  35581. + [Fortran 77], [_LT_LANG(F77)],
  35582. + [Fortran], [_LT_LANG(FC)],
  35583. + [Windows Resource], [_LT_LANG(RC)],
  35584. + [m4_ifdef([_LT_LANG_]$1[_CONFIG],
  35585. + [_LT_LANG($1)],
  35586. + [m4_fatal([$0: unsupported language: "$1"])])])dnl
  35587. +])
  35588. +m4trace:m4/libtool.m4:893: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
  35589. +m4trace:m4/libtool.m4:893: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
  35590. +You should run autoupdate.])dnl
  35591. +LT_LANG(C++)])
  35592. +m4trace:m4/libtool.m4:894: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  35593. +m4trace:m4/libtool.m4:894: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
  35594. +You should run autoupdate.])dnl
  35595. +LT_LANG(Fortran 77)])
  35596. +m4trace:m4/libtool.m4:895: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  35597. +m4trace:m4/libtool.m4:895: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
  35598. +You should run autoupdate.])dnl
  35599. +LT_LANG(Fortran)])
  35600. +m4trace:m4/libtool.m4:896: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  35601. +m4trace:m4/libtool.m4:896: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
  35602. +You should run autoupdate.])dnl
  35603. +LT_LANG(Java)])
  35604. +m4trace:m4/libtool.m4:897: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
  35605. +m4trace:m4/libtool.m4:897: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_RC' is obsolete.
  35606. +You should run autoupdate.])dnl
  35607. +LT_LANG(Windows Resource)])
  35608. +m4trace:m4/libtool.m4:1225: -1- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot])
  35609. +AC_ARG_WITH([sysroot],
  35610. +[ --with-sysroot[=DIR] Search for dependent libraries within DIR
  35611. + (or the compiler's sysroot if not specified).],
  35612. +[], [with_sysroot=no])
  35613. +
  35614. +dnl lt_sysroot will always be passed unquoted. We quote it here
  35615. +dnl in case the user passed a directory name.
  35616. +lt_sysroot=
  35617. +case ${with_sysroot} in #(
  35618. + yes)
  35619. + if test "$GCC" = yes; then
  35620. + lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  35621. + fi
  35622. + ;; #(
  35623. + /*)
  35624. + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  35625. + ;; #(
  35626. + no|'')
  35627. + ;; #(
  35628. + *)
  35629. + AC_MSG_RESULT([${with_sysroot}])
  35630. + AC_MSG_ERROR([The sysroot must be an absolute path.])
  35631. + ;;
  35632. +esac
  35633. +
  35634. + AC_MSG_RESULT([${lt_sysroot:-no}])
  35635. +_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
  35636. +[dependent libraries, and in which our libraries should be installed.])])
  35637. +m4trace:m4/libtool.m4:1502: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  35638. +m4_require([_LT_DECL_SED])dnl
  35639. +AC_CACHE_CHECK([$1], [$2],
  35640. + [$2=no
  35641. + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  35642. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  35643. + lt_compiler_flag="$3"
  35644. + # Insert the option either (1) after the last *FLAGS variable, or
  35645. + # (2) before a word containing "conftest.", or (3) at the end.
  35646. + # Note that $ac_compile itself does not contain backslashes and begins
  35647. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  35648. + # The option is referenced via a variable to avoid confusing sed.
  35649. + lt_compile=`echo "$ac_compile" | $SED \
  35650. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  35651. + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  35652. + -e 's:$: $lt_compiler_flag:'`
  35653. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  35654. + (eval "$lt_compile" 2>conftest.err)
  35655. + ac_status=$?
  35656. + cat conftest.err >&AS_MESSAGE_LOG_FD
  35657. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  35658. + if (exit $ac_status) && test -s "$ac_outfile"; then
  35659. + # The compiler can only warn and ignore the option if not recognized
  35660. + # So say no if there are warnings other than the usual output.
  35661. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  35662. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  35663. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  35664. + $2=yes
  35665. + fi
  35666. + fi
  35667. + $RM conftest*
  35668. +])
  35669. +
  35670. +if test x"[$]$2" = xyes; then
  35671. + m4_if([$5], , :, [$5])
  35672. +else
  35673. + m4_if([$6], , :, [$6])
  35674. +fi
  35675. +])
  35676. +m4trace:m4/libtool.m4:1544: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
  35677. +m4trace:m4/libtool.m4:1544: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
  35678. +You should run autoupdate.])dnl
  35679. +m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
  35680. +m4trace:m4/libtool.m4:1553: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  35681. +m4_require([_LT_DECL_SED])dnl
  35682. +AC_CACHE_CHECK([$1], [$2],
  35683. + [$2=no
  35684. + save_LDFLAGS="$LDFLAGS"
  35685. + LDFLAGS="$LDFLAGS $3"
  35686. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  35687. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  35688. + # The linker can only warn and ignore the option if not recognized
  35689. + # So say no if there are warnings
  35690. + if test -s conftest.err; then
  35691. + # Append any errors to the config.log.
  35692. + cat conftest.err 1>&AS_MESSAGE_LOG_FD
  35693. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  35694. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  35695. + if diff conftest.exp conftest.er2 >/dev/null; then
  35696. + $2=yes
  35697. + fi
  35698. + else
  35699. + $2=yes
  35700. + fi
  35701. + fi
  35702. + $RM -r conftest*
  35703. + LDFLAGS="$save_LDFLAGS"
  35704. +])
  35705. +
  35706. +if test x"[$]$2" = xyes; then
  35707. + m4_if([$4], , :, [$4])
  35708. +else
  35709. + m4_if([$5], , :, [$5])
  35710. +fi
  35711. +])
  35712. +m4trace:m4/libtool.m4:1588: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
  35713. +m4trace:m4/libtool.m4:1588: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
  35714. +You should run autoupdate.])dnl
  35715. +m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
  35716. +m4trace:m4/libtool.m4:1595: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  35717. +# find the maximum length of command line arguments
  35718. +AC_MSG_CHECKING([the maximum length of command line arguments])
  35719. +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
  35720. + i=0
  35721. + teststring="ABCD"
  35722. +
  35723. + case $build_os in
  35724. + msdosdjgpp*)
  35725. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  35726. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  35727. + # during glob expansion). Even if it were fixed, the result of this
  35728. + # check would be larger than it should be.
  35729. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  35730. + ;;
  35731. +
  35732. + gnu*)
  35733. + # Under GNU Hurd, this test is not required because there is
  35734. + # no limit to the length of command line arguments.
  35735. + # Libtool will interpret -1 as no limit whatsoever
  35736. + lt_cv_sys_max_cmd_len=-1;
  35737. + ;;
  35738. +
  35739. + cygwin* | mingw* | cegcc*)
  35740. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  35741. + # about 5 minutes as the teststring grows exponentially.
  35742. + # Worse, since 9x/ME are not pre-emptively multitasking,
  35743. + # you end up with a "frozen" computer, even though with patience
  35744. + # the test eventually succeeds (with a max line length of 256k).
  35745. + # Instead, let's just punt: use the minimum linelength reported by
  35746. + # all of the supported platforms: 8192 (on NT/2K/XP).
  35747. + lt_cv_sys_max_cmd_len=8192;
  35748. + ;;
  35749. +
  35750. + mint*)
  35751. + # On MiNT this can take a long time and run out of memory.
  35752. + lt_cv_sys_max_cmd_len=8192;
  35753. + ;;
  35754. +
  35755. + amigaos*)
  35756. + # On AmigaOS with pdksh, this test takes hours, literally.
  35757. + # So we just punt and use a minimum line length of 8192.
  35758. + lt_cv_sys_max_cmd_len=8192;
  35759. + ;;
  35760. +
  35761. + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  35762. + # This has been around since 386BSD, at least. Likely further.
  35763. + if test -x /sbin/sysctl; then
  35764. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  35765. + elif test -x /usr/sbin/sysctl; then
  35766. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  35767. + else
  35768. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  35769. + fi
  35770. + # And add a safety zone
  35771. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  35772. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  35773. + ;;
  35774. +
  35775. + interix*)
  35776. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  35777. + lt_cv_sys_max_cmd_len=196608
  35778. + ;;
  35779. +
  35780. + os2*)
  35781. + # The test takes a long time on OS/2.
  35782. + lt_cv_sys_max_cmd_len=8192
  35783. + ;;
  35784. +
  35785. + osf*)
  35786. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  35787. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  35788. + # nice to cause kernel panics so lets avoid the loop below.
  35789. + # First set a reasonable default.
  35790. + lt_cv_sys_max_cmd_len=16384
  35791. + #
  35792. + if test -x /sbin/sysconfig; then
  35793. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  35794. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  35795. + esac
  35796. + fi
  35797. + ;;
  35798. + sco3.2v5*)
  35799. + lt_cv_sys_max_cmd_len=102400
  35800. + ;;
  35801. + sysv5* | sco5v6* | sysv4.2uw2*)
  35802. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  35803. + if test -n "$kargmax"; then
  35804. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
  35805. + else
  35806. + lt_cv_sys_max_cmd_len=32768
  35807. + fi
  35808. + ;;
  35809. + *)
  35810. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  35811. + if test -n "$lt_cv_sys_max_cmd_len"; then
  35812. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  35813. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  35814. + else
  35815. + # Make teststring a little bigger before we do anything with it.
  35816. + # a 1K string should be a reasonable start.
  35817. + for i in 1 2 3 4 5 6 7 8 ; do
  35818. + teststring=$teststring$teststring
  35819. + done
  35820. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  35821. + # If test is not a shell built-in, we'll probably end up computing a
  35822. + # maximum length that is only half of the actual maximum length, but
  35823. + # we can't tell.
  35824. + while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
  35825. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  35826. + test $i != 17 # 1/2 MB should be enough
  35827. + do
  35828. + i=`expr $i + 1`
  35829. + teststring=$teststring$teststring
  35830. + done
  35831. + # Only check the string length outside the loop.
  35832. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  35833. + teststring=
  35834. + # Add a significant safety factor because C++ compilers can tack on
  35835. + # massive amounts of additional arguments before passing them to the
  35836. + # linker. It appears as though 1/2 is a usable value.
  35837. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  35838. + fi
  35839. + ;;
  35840. + esac
  35841. +])
  35842. +if test -n $lt_cv_sys_max_cmd_len ; then
  35843. + AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
  35844. +else
  35845. + AC_MSG_RESULT(none)
  35846. +fi
  35847. +max_cmd_len=$lt_cv_sys_max_cmd_len
  35848. +_LT_DECL([], [max_cmd_len], [0],
  35849. + [What is the maximum length of a command?])
  35850. +])
  35851. +m4trace:m4/libtool.m4:1733: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
  35852. +m4trace:m4/libtool.m4:1733: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
  35853. +You should run autoupdate.])dnl
  35854. +m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
  35855. +m4trace:m4/libtool.m4:1844: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
  35856. +if test "x$enable_dlopen" != xyes; then
  35857. + enable_dlopen=unknown
  35858. + enable_dlopen_self=unknown
  35859. + enable_dlopen_self_static=unknown
  35860. +else
  35861. + lt_cv_dlopen=no
  35862. + lt_cv_dlopen_libs=
  35863. +
  35864. + case $host_os in
  35865. + beos*)
  35866. + lt_cv_dlopen="load_add_on"
  35867. + lt_cv_dlopen_libs=
  35868. + lt_cv_dlopen_self=yes
  35869. + ;;
  35870. +
  35871. + mingw* | pw32* | cegcc*)
  35872. + lt_cv_dlopen="LoadLibrary"
  35873. + lt_cv_dlopen_libs=
  35874. + ;;
  35875. +
  35876. + cygwin*)
  35877. + lt_cv_dlopen="dlopen"
  35878. + lt_cv_dlopen_libs=
  35879. + ;;
  35880. +
  35881. + darwin*)
  35882. + # if libdl is installed we need to link against it
  35883. + AC_CHECK_LIB([dl], [dlopen],
  35884. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
  35885. + lt_cv_dlopen="dyld"
  35886. + lt_cv_dlopen_libs=
  35887. + lt_cv_dlopen_self=yes
  35888. + ])
  35889. + ;;
  35890. +
  35891. + *)
  35892. + AC_CHECK_FUNC([shl_load],
  35893. + [lt_cv_dlopen="shl_load"],
  35894. + [AC_CHECK_LIB([dld], [shl_load],
  35895. + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
  35896. + [AC_CHECK_FUNC([dlopen],
  35897. + [lt_cv_dlopen="dlopen"],
  35898. + [AC_CHECK_LIB([dl], [dlopen],
  35899. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
  35900. + [AC_CHECK_LIB([svld], [dlopen],
  35901. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
  35902. + [AC_CHECK_LIB([dld], [dld_link],
  35903. + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
  35904. + ])
  35905. + ])
  35906. + ])
  35907. + ])
  35908. + ])
  35909. + ;;
  35910. + esac
  35911. +
  35912. + if test "x$lt_cv_dlopen" != xno; then
  35913. + enable_dlopen=yes
  35914. + else
  35915. + enable_dlopen=no
  35916. + fi
  35917. +
  35918. + case $lt_cv_dlopen in
  35919. + dlopen)
  35920. + save_CPPFLAGS="$CPPFLAGS"
  35921. + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  35922. +
  35923. + save_LDFLAGS="$LDFLAGS"
  35924. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  35925. +
  35926. + save_LIBS="$LIBS"
  35927. + LIBS="$lt_cv_dlopen_libs $LIBS"
  35928. +
  35929. + AC_CACHE_CHECK([whether a program can dlopen itself],
  35930. + lt_cv_dlopen_self, [dnl
  35931. + _LT_TRY_DLOPEN_SELF(
  35932. + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
  35933. + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  35934. + ])
  35935. +
  35936. + if test "x$lt_cv_dlopen_self" = xyes; then
  35937. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  35938. + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  35939. + lt_cv_dlopen_self_static, [dnl
  35940. + _LT_TRY_DLOPEN_SELF(
  35941. + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
  35942. + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
  35943. + ])
  35944. + fi
  35945. +
  35946. + CPPFLAGS="$save_CPPFLAGS"
  35947. + LDFLAGS="$save_LDFLAGS"
  35948. + LIBS="$save_LIBS"
  35949. + ;;
  35950. + esac
  35951. +
  35952. + case $lt_cv_dlopen_self in
  35953. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  35954. + *) enable_dlopen_self=unknown ;;
  35955. + esac
  35956. +
  35957. + case $lt_cv_dlopen_self_static in
  35958. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  35959. + *) enable_dlopen_self_static=unknown ;;
  35960. + esac
  35961. +fi
  35962. +_LT_DECL([dlopen_support], [enable_dlopen], [0],
  35963. + [Whether dlopen is supported])
  35964. +_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
  35965. + [Whether dlopen of programs is supported])
  35966. +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
  35967. + [Whether dlopen of statically linked programs is supported])
  35968. +])
  35969. +m4trace:m4/libtool.m4:1961: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
  35970. +m4trace:m4/libtool.m4:1961: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
  35971. +You should run autoupdate.])dnl
  35972. +m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
  35973. +m4trace:m4/libtool.m4:2931: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
  35974. +AC_MSG_CHECKING([for $1])
  35975. +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  35976. +[case $MAGIC_CMD in
  35977. +[[\\/*] | ?:[\\/]*])
  35978. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  35979. + ;;
  35980. +*)
  35981. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  35982. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  35983. +dnl $ac_dummy forces splitting on constant user-supplied paths.
  35984. +dnl POSIX.2 word splitting is done only on the output of word expansions,
  35985. +dnl not every word. This closes a longstanding sh security hole.
  35986. + ac_dummy="m4_if([$2], , $PATH, [$2])"
  35987. + for ac_dir in $ac_dummy; do
  35988. + IFS="$lt_save_ifs"
  35989. + test -z "$ac_dir" && ac_dir=.
  35990. + if test -f $ac_dir/$1; then
  35991. + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
  35992. + if test -n "$file_magic_test_file"; then
  35993. + case $deplibs_check_method in
  35994. + "file_magic "*)
  35995. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  35996. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  35997. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  35998. + $EGREP "$file_magic_regex" > /dev/null; then
  35999. + :
  36000. + else
  36001. + cat <<_LT_EOF 1>&2
  36002. +
  36003. +*** Warning: the command libtool uses to detect shared libraries,
  36004. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  36005. +*** The result is that libtool may fail to recognize shared libraries
  36006. +*** as such. This will affect the creation of libtool libraries that
  36007. +*** depend on shared libraries, but programs linked with such libtool
  36008. +*** libraries will work regardless of this problem. Nevertheless, you
  36009. +*** may want to report the problem to your system manager and/or to
  36010. +*** bug-libtool@gnu.org
  36011. +
  36012. +_LT_EOF
  36013. + fi ;;
  36014. + esac
  36015. + fi
  36016. + break
  36017. + fi
  36018. + done
  36019. + IFS="$lt_save_ifs"
  36020. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  36021. + ;;
  36022. +esac])
  36023. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  36024. +if test -n "$MAGIC_CMD"; then
  36025. + AC_MSG_RESULT($MAGIC_CMD)
  36026. +else
  36027. + AC_MSG_RESULT(no)
  36028. +fi
  36029. +_LT_DECL([], [MAGIC_CMD], [0],
  36030. + [Used to examine libraries when file_magic_cmd begins with "file"])dnl
  36031. +])
  36032. +m4trace:m4/libtool.m4:2993: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
  36033. +m4trace:m4/libtool.m4:2993: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
  36034. +You should run autoupdate.])dnl
  36035. +m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
  36036. +m4trace:m4/libtool.m4:3016: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
  36037. +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  36038. +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  36039. +m4_require([_LT_DECL_SED])dnl
  36040. +m4_require([_LT_DECL_EGREP])dnl
  36041. +m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
  36042. +
  36043. +AC_ARG_WITH([gnu-ld],
  36044. + [AS_HELP_STRING([--with-gnu-ld],
  36045. + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
  36046. + [test "$withval" = no || with_gnu_ld=yes],
  36047. + [with_gnu_ld=no])dnl
  36048. +
  36049. +ac_prog=ld
  36050. +if test "$GCC" = yes; then
  36051. + # Check if gcc -print-prog-name=ld gives a path.
  36052. + AC_MSG_CHECKING([for ld used by $CC])
  36053. + case $host in
  36054. + *-*-mingw*)
  36055. + # gcc leaves a trailing carriage return which upsets mingw
  36056. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  36057. + *)
  36058. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  36059. + esac
  36060. + case $ac_prog in
  36061. + # Accept absolute paths.
  36062. + [[\\/]]* | ?:[[\\/]]*)
  36063. + re_direlt='/[[^/]][[^/]]*/\.\./'
  36064. + # Canonicalize the pathname of ld
  36065. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  36066. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  36067. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  36068. + done
  36069. + test -z "$LD" && LD="$ac_prog"
  36070. + ;;
  36071. + "")
  36072. + # If it fails, then pretend we aren't using GCC.
  36073. + ac_prog=ld
  36074. + ;;
  36075. + *)
  36076. + # If it is relative, then search for the first ld in PATH.
  36077. + with_gnu_ld=unknown
  36078. + ;;
  36079. + esac
  36080. +elif test "$with_gnu_ld" = yes; then
  36081. + AC_MSG_CHECKING([for GNU ld])
  36082. +else
  36083. + AC_MSG_CHECKING([for non-GNU ld])
  36084. +fi
  36085. +AC_CACHE_VAL(lt_cv_path_LD,
  36086. +[if test -z "$LD"; then
  36087. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  36088. + for ac_dir in $PATH; do
  36089. + IFS="$lt_save_ifs"
  36090. + test -z "$ac_dir" && ac_dir=.
  36091. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  36092. + lt_cv_path_LD="$ac_dir/$ac_prog"
  36093. + # Check to see if the program is GNU ld. I'd rather use --version,
  36094. + # but apparently some variants of GNU ld only accept -v.
  36095. + # Break only if it was the GNU/non-GNU ld that we prefer.
  36096. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  36097. + *GNU* | *'with BFD'*)
  36098. + test "$with_gnu_ld" != no && break
  36099. + ;;
  36100. + *)
  36101. + test "$with_gnu_ld" != yes && break
  36102. + ;;
  36103. + esac
  36104. + fi
  36105. + done
  36106. + IFS="$lt_save_ifs"
  36107. +else
  36108. + lt_cv_path_LD="$LD" # Let the user override the test with a path.
  36109. +fi])
  36110. +LD="$lt_cv_path_LD"
  36111. +if test -n "$LD"; then
  36112. + AC_MSG_RESULT($LD)
  36113. +else
  36114. + AC_MSG_RESULT(no)
  36115. +fi
  36116. +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  36117. +_LT_PATH_LD_GNU
  36118. +AC_SUBST([LD])
  36119. +
  36120. +_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
  36121. +])
  36122. +m4trace:m4/libtool.m4:3105: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  36123. +m4trace:m4/libtool.m4:3105: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
  36124. +You should run autoupdate.])dnl
  36125. +m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  36126. +m4trace:m4/libtool.m4:3106: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  36127. +m4trace:m4/libtool.m4:3106: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
  36128. +You should run autoupdate.])dnl
  36129. +m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  36130. +m4trace:m4/libtool.m4:3396: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
  36131. +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
  36132. +[if test -n "$NM"; then
  36133. + # Let the user override the test.
  36134. + lt_cv_path_NM="$NM"
  36135. +else
  36136. + lt_nm_to_check="${ac_tool_prefix}nm"
  36137. + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  36138. + lt_nm_to_check="$lt_nm_to_check nm"
  36139. + fi
  36140. + for lt_tmp_nm in $lt_nm_to_check; do
  36141. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  36142. + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  36143. + IFS="$lt_save_ifs"
  36144. + test -z "$ac_dir" && ac_dir=.
  36145. + tmp_nm="$ac_dir/$lt_tmp_nm"
  36146. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  36147. + # Check to see if the nm accepts a BSD-compat flag.
  36148. + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  36149. + # nm: unknown option "B" ignored
  36150. + # Tru64's nm complains that /dev/null is an invalid object file
  36151. + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  36152. + */dev/null* | *'Invalid file or object type'*)
  36153. + lt_cv_path_NM="$tmp_nm -B"
  36154. + break
  36155. + ;;
  36156. + *)
  36157. + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  36158. + */dev/null*)
  36159. + lt_cv_path_NM="$tmp_nm -p"
  36160. + break
  36161. + ;;
  36162. + *)
  36163. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  36164. + continue # so that we can try to find one that supports BSD flags
  36165. + ;;
  36166. + esac
  36167. + ;;
  36168. + esac
  36169. + fi
  36170. + done
  36171. + IFS="$lt_save_ifs"
  36172. + done
  36173. + : ${lt_cv_path_NM=no}
  36174. +fi])
  36175. +if test "$lt_cv_path_NM" != "no"; then
  36176. + NM="$lt_cv_path_NM"
  36177. +else
  36178. + # Didn't find any BSD compatible name lister, look for dumpbin.
  36179. + if test -n "$DUMPBIN"; then :
  36180. + # Let the user override the test.
  36181. + else
  36182. + AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
  36183. + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  36184. + *COFF*)
  36185. + DUMPBIN="$DUMPBIN -symbols"
  36186. + ;;
  36187. + *)
  36188. + DUMPBIN=:
  36189. + ;;
  36190. + esac
  36191. + fi
  36192. + AC_SUBST([DUMPBIN])
  36193. + if test "$DUMPBIN" != ":"; then
  36194. + NM="$DUMPBIN"
  36195. + fi
  36196. +fi
  36197. +test -z "$NM" && NM=nm
  36198. +AC_SUBST([NM])
  36199. +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
  36200. +
  36201. +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
  36202. + [lt_cv_nm_interface="BSD nm"
  36203. + echo "int some_variable = 0;" > conftest.$ac_ext
  36204. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  36205. + (eval "$ac_compile" 2>conftest.err)
  36206. + cat conftest.err >&AS_MESSAGE_LOG_FD
  36207. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  36208. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  36209. + cat conftest.err >&AS_MESSAGE_LOG_FD
  36210. + (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
  36211. + cat conftest.out >&AS_MESSAGE_LOG_FD
  36212. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  36213. + lt_cv_nm_interface="MS dumpbin"
  36214. + fi
  36215. + rm -f conftest*])
  36216. +])
  36217. +m4trace:m4/libtool.m4:3486: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  36218. +m4trace:m4/libtool.m4:3486: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
  36219. +You should run autoupdate.])dnl
  36220. +m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  36221. +m4trace:m4/libtool.m4:3487: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  36222. +m4trace:m4/libtool.m4:3487: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
  36223. +You should run autoupdate.])dnl
  36224. +m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  36225. +m4trace:m4/libtool.m4:3557: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  36226. +LIBM=
  36227. +case $host in
  36228. +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
  36229. + # These system don't have libm, or don't need it
  36230. + ;;
  36231. +*-ncr-sysv4.3*)
  36232. + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
  36233. + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
  36234. + ;;
  36235. +*)
  36236. + AC_CHECK_LIB(m, cos, LIBM="-lm")
  36237. + ;;
  36238. +esac
  36239. +AC_SUBST([LIBM])
  36240. +])
  36241. +m4trace:m4/libtool.m4:3576: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
  36242. +m4trace:m4/libtool.m4:3576: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
  36243. +You should run autoupdate.])dnl
  36244. +m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
  36245. +m4trace:m4/libtool.m4:7623: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
  36246. + [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
  36247. + [AC_CHECK_TOOL(GCJ, gcj,)
  36248. + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
  36249. + AC_SUBST(GCJFLAGS)])])[]dnl
  36250. +])
  36251. +m4trace:m4/libtool.m4:7632: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
  36252. +m4trace:m4/libtool.m4:7632: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
  36253. +You should run autoupdate.])dnl
  36254. +m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
  36255. +m4trace:m4/libtool.m4:7639: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,)
  36256. +])
  36257. +m4trace:m4/libtool.m4:7646: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
  36258. +])
  36259. +m4trace:m4/libtool.m4:7651: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
  36260. +m4trace:m4/libtool.m4:7651: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
  36261. +You should run autoupdate.])dnl
  36262. +m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
  36263. +m4trace:m4/libtool.m4:7771: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
  36264. +m4trace:m4/libtool.m4:7771: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
  36265. +You should run autoupdate.])dnl
  36266. +m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
  36267. +m4trace:m4/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
  36268. +m4trace:m4/ltoptions.m4:111: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
  36269. +AC_DIAGNOSE([obsolete],
  36270. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  36271. +put the `dlopen' option into LT_INIT's first parameter.])
  36272. +])
  36273. +m4trace:m4/ltoptions.m4:111: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
  36274. +You should run autoupdate.])dnl
  36275. +_LT_SET_OPTION([LT_INIT], [dlopen])
  36276. +AC_DIAGNOSE([obsolete],
  36277. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  36278. +put the `dlopen' option into LT_INIT's first parameter.])
  36279. +])
  36280. +m4trace:m4/ltoptions.m4:146: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  36281. +_LT_SET_OPTION([LT_INIT], [win32-dll])
  36282. +AC_DIAGNOSE([obsolete],
  36283. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  36284. +put the `win32-dll' option into LT_INIT's first parameter.])
  36285. +])
  36286. +m4trace:m4/ltoptions.m4:146: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
  36287. +You should run autoupdate.])dnl
  36288. +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  36289. +_LT_SET_OPTION([LT_INIT], [win32-dll])
  36290. +AC_DIAGNOSE([obsolete],
  36291. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  36292. +put the `win32-dll' option into LT_INIT's first parameter.])
  36293. +])
  36294. +m4trace:m4/ltoptions.m4:195: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
  36295. +])
  36296. +m4trace:m4/ltoptions.m4:199: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
  36297. +])
  36298. +m4trace:m4/ltoptions.m4:203: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  36299. +m4trace:m4/ltoptions.m4:203: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
  36300. +You should run autoupdate.])dnl
  36301. +AC_ENABLE_SHARED($@)])
  36302. +m4trace:m4/ltoptions.m4:204: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  36303. +m4trace:m4/ltoptions.m4:204: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
  36304. +You should run autoupdate.])dnl
  36305. +AC_DISABLE_SHARED($@)])
  36306. +m4trace:m4/ltoptions.m4:249: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
  36307. +])
  36308. +m4trace:m4/ltoptions.m4:253: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
  36309. +])
  36310. +m4trace:m4/ltoptions.m4:257: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  36311. +m4trace:m4/ltoptions.m4:257: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
  36312. +You should run autoupdate.])dnl
  36313. +AC_ENABLE_STATIC($@)])
  36314. +m4trace:m4/ltoptions.m4:258: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  36315. +m4trace:m4/ltoptions.m4:258: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
  36316. +You should run autoupdate.])dnl
  36317. +AC_DISABLE_STATIC($@)])
  36318. +m4trace:m4/ltoptions.m4:303: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  36319. +AC_DIAGNOSE([obsolete],
  36320. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  36321. +the `fast-install' option into LT_INIT's first parameter.])
  36322. +])
  36323. +m4trace:m4/ltoptions.m4:303: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
  36324. +You should run autoupdate.])dnl
  36325. +_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  36326. +AC_DIAGNOSE([obsolete],
  36327. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  36328. +the `fast-install' option into LT_INIT's first parameter.])
  36329. +])
  36330. +m4trace:m4/ltoptions.m4:310: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  36331. +AC_DIAGNOSE([obsolete],
  36332. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  36333. +the `disable-fast-install' option into LT_INIT's first parameter.])
  36334. +])
  36335. +m4trace:m4/ltoptions.m4:310: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
  36336. +You should run autoupdate.])dnl
  36337. +_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  36338. +AC_DIAGNOSE([obsolete],
  36339. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  36340. +the `disable-fast-install' option into LT_INIT's first parameter.])
  36341. +])
  36342. +m4trace:m4/ltoptions.m4:358: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
  36343. +AC_DIAGNOSE([obsolete],
  36344. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  36345. +put the `pic-only' option into LT_INIT's first parameter.])
  36346. +])
  36347. +m4trace:m4/ltoptions.m4:358: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
  36348. +You should run autoupdate.])dnl
  36349. +_LT_SET_OPTION([LT_INIT], [pic-only])
  36350. +AC_DIAGNOSE([obsolete],
  36351. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  36352. +put the `pic-only' option into LT_INIT's first parameter.])
  36353. +])
  36354. +m4trace:m4/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
  36355. +m4trace:m4/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.2'
  36356. +macro_revision='1.3337'
  36357. +_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
  36358. +_LT_DECL(, macro_revision, 0)
  36359. +])
  36360. +m4trace:m4/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
  36361. +m4trace:m4/lt~obsolete.m4:40: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
  36362. +m4trace:m4/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
  36363. +m4trace:m4/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
  36364. +m4trace:m4/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_AC_TAGVAR])
  36365. +m4trace:m4/lt~obsolete.m4:45: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
  36366. +m4trace:m4/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_PREOPEN])
  36367. +m4trace:m4/lt~obsolete.m4:47: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
  36368. +m4trace:m4/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_LOCK])
  36369. +m4trace:m4/lt~obsolete.m4:49: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
  36370. +m4trace:m4/lt~obsolete.m4:50: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
  36371. +m4trace:m4/lt~obsolete.m4:51: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
  36372. +m4trace:m4/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
  36373. +m4trace:m4/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
  36374. +m4trace:m4/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LTDL_OBJDIR])
  36375. +m4trace:m4/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
  36376. +m4trace:m4/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
  36377. +m4trace:m4/lt~obsolete.m4:57: -1- AC_DEFUN([AC_PATH_MAGIC])
  36378. +m4trace:m4/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PROG_LD_GNU])
  36379. +m4trace:m4/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
  36380. +m4trace:m4/lt~obsolete.m4:60: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
  36381. +m4trace:m4/lt~obsolete.m4:61: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
  36382. +m4trace:m4/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
  36383. +m4trace:m4/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
  36384. +m4trace:m4/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
  36385. +m4trace:m4/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
  36386. +m4trace:m4/lt~obsolete.m4:66: -1- AC_DEFUN([LT_AC_PROG_EGREP])
  36387. +m4trace:m4/lt~obsolete.m4:71: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
  36388. +m4trace:m4/lt~obsolete.m4:72: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
  36389. +m4trace:m4/lt~obsolete.m4:73: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
  36390. +m4trace:m4/lt~obsolete.m4:74: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
  36391. +m4trace:m4/lt~obsolete.m4:75: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
  36392. +m4trace:m4/lt~obsolete.m4:77: -1- AC_DEFUN([_LT_AC_LANG_CXX])
  36393. +m4trace:m4/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_F77])
  36394. +m4trace:m4/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
  36395. +m4trace:m4/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
  36396. +m4trace:m4/lt~obsolete.m4:81: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
  36397. +m4trace:m4/lt~obsolete.m4:82: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
  36398. +m4trace:m4/lt~obsolete.m4:83: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
  36399. +m4trace:m4/lt~obsolete.m4:84: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
  36400. +m4trace:m4/lt~obsolete.m4:85: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
  36401. +m4trace:m4/lt~obsolete.m4:86: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
  36402. +m4trace:m4/lt~obsolete.m4:87: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
  36403. +m4trace:m4/lt~obsolete.m4:88: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
  36404. +m4trace:m4/lt~obsolete.m4:89: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
  36405. +m4trace:m4/lt~obsolete.m4:90: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
  36406. +m4trace:m4/lt~obsolete.m4:91: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
  36407. +m4trace:m4/lt~obsolete.m4:93: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP])
  36408. +m4trace:m4/lt~obsolete.m4:96: -1- AC_DEFUN([_LT_PROG_F77])
  36409. +m4trace:m4/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_FC])
  36410. +m4trace:m4/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_CXX])
  36411. +m4trace:acinclude.m4:15: -1- AC_DEFUN([CT_CHECK_POSTGRES_DB], [
  36412. +
  36413. +AC_ARG_WITH(pgsql,
  36414. + [ --with-pgsql=PREFIX Prefix of your PostgreSQL installation],
  36415. + [pg_prefix=$withval], [pg_prefix=])
  36416. +AC_ARG_WITH(pgsql-inc,
  36417. + [ --with-pgsql-inc=PATH Path to the include directory of PostgreSQL],
  36418. + [pg_inc=$withval], [pg_inc=])
  36419. +AC_ARG_WITH(pgsql-lib,
  36420. + [ --with-pgsql-lib=PATH Path to the libraries of PostgreSQL],
  36421. + [pg_lib=$withval], [pg_lib=])
  36422. +
  36423. +
  36424. +AC_SUBST(PQINCPATH)
  36425. +AC_SUBST(PQLIBPATH)
  36426. +AC_SUBST(PQLIBS)
  36427. +PQLIBS=-lpq
  36428. +
  36429. +if test "$pg_prefix" != "no"; then
  36430. +
  36431. +AC_MSG_CHECKING([for PostgreSQL pg_config program])
  36432. +for d in $pg_prefix/bin /usr/bin /usr/local/bin /usr/local/pgsql/bin /opt/pgsql/bin /opt/packages/pgsql/bin
  36433. +do
  36434. + if test -x $d/pg_config
  36435. + then
  36436. + AC_MSG_RESULT(found pg_config in $d)
  36437. + PQINCPATH=`$d/pg_config --includedir`
  36438. + PQLIBPATH=`$d/pg_config --libdir`
  36439. + break
  36440. + fi
  36441. +done
  36442. +
  36443. +if test "$PQINCPATH" = ""; then
  36444. +
  36445. +if test "$pg_prefix" != ""; then
  36446. + AC_MSG_CHECKING([for PostgreSQL includes in $pg_prefix/include])
  36447. + if test -f "$pg_prefix/include/libpq-fe.h" ; then
  36448. + PQINCPATH="-I$pg_prefix/include"
  36449. + AC_MSG_RESULT([yes])
  36450. + else
  36451. + AC_MSG_WARN(libpq-fe.h not found)
  36452. + fi
  36453. + AC_MSG_CHECKING([for PostgreSQL libraries in $pg_prefix/lib])
  36454. + if test -f "$pg_prefix/lib/libpq.so" ; then
  36455. + PQLIBPATH="-L$pg_prefix/lib"
  36456. + AC_MSG_RESULT([yes])
  36457. + else
  36458. + AC_MSG_WARN(libpq.so not found)
  36459. + fi
  36460. +else
  36461. + if test "$pg_inc" != ""; then
  36462. + AC_MSG_CHECKING([for PostgreSQL includes in $pg_inc])
  36463. + if test -f "$pg_inc/libpq-fe.h" ; then
  36464. + PQINCPATH="-I$pg_inc"
  36465. + AC_MSG_RESULT([yes])
  36466. + else
  36467. + AC_MSG_WARN(libpq-fe.h not found)
  36468. + fi
  36469. + fi
  36470. + if test "$pg_lib" != ""; then
  36471. + AC_MSG_CHECKING([for PostgreSQL libraries in $pg_lib])
  36472. + if test -f "$pg_lib/libpq.so" ; then
  36473. + PQLIBPATH="-L$pg_lib"
  36474. + AC_MSG_RESULT([yes])
  36475. + else
  36476. + AC_MSG_WARN(libpq.so not found)
  36477. + fi
  36478. + fi
  36479. +fi
  36480. +
  36481. +fi
  36482. +
  36483. +if test "$PQINCPATH" = "" ; then
  36484. + AC_CHECK_HEADER([libpq-fe.h], [], AC_MSG_WARN(libpq-fe.h not found))
  36485. +fi
  36486. +if test "$PQLIBPATH" = "" ; then
  36487. + AC_CHECK_LIB(pq, PQconnectdb, [], AC_MSG_WARN(libpq.so not found))
  36488. +fi
  36489. +
  36490. +fi
  36491. +
  36492. +])
  36493. +m4trace:acinclude.m4:112: -1- AC_DEFUN([CT_CHECK_MYSQL_DB], [
  36494. +
  36495. +AC_ARG_WITH(mysql,
  36496. + [ --with-mysql=PREFIX Prefix of your MySQL installation],
  36497. + [my_prefix=$withval], [my_prefix=])
  36498. +AC_ARG_WITH(mysql-inc,
  36499. + [ --with-mysql-inc=PATH Path to the include directory of MySQL],
  36500. + [my_inc=$withval], [my_inc=])
  36501. +AC_ARG_WITH(mysql-lib,
  36502. + [ --with-mysql-lib=PATH Path to the libraries of MySQL],
  36503. + [my_lib=$withval], [my_lib=])
  36504. +
  36505. +
  36506. +AC_SUBST(MYSQL_INC)
  36507. +AC_SUBST(MYSQL_LIB)
  36508. +
  36509. +if test "$my_prefix" != "no"; then
  36510. +
  36511. +AC_MSG_CHECKING([for MySQL mysql_config program])
  36512. +for d in $my_prefix/bin /usr/bin /usr/local/bin /usr/local/mysql/bin /opt/mysql/bin /opt/packages/mysql/bin
  36513. +do
  36514. + if test -x $d/mysql_config
  36515. + then
  36516. + AC_MSG_RESULT(found mysql_config in $d)
  36517. + MYSQL_INC=`$d/mysql_config --include`
  36518. + MYSQL_LIB=`$d/mysql_config --libs`
  36519. + break
  36520. + fi
  36521. +done
  36522. +
  36523. +if test "$MYSQL_INC" = ""; then
  36524. +
  36525. +if test "$my_prefix" != ""; then
  36526. + AC_MSG_CHECKING([for MySQL includes in $my_prefix/include])
  36527. + if test -f "$my_prefix/include/mysql.h" ; then
  36528. + MYSQL_INC="-I$my_prefix/include"
  36529. + AC_MSG_RESULT([yes])
  36530. + else
  36531. + AC_MSG_WARN(mysql.h not found)
  36532. + fi
  36533. + AC_MSG_CHECKING([for MySQL libraries in $my_prefix/lib])
  36534. + if test -f "$my_prefix/lib/libmysql.so" ; then
  36535. + MYSQL_LIB="-L$my_prefix/lib -lmysqlclient"
  36536. + AC_MSG_RESULT([yes])
  36537. + else
  36538. + AC_MSG_WARN(libmysqlclient.so not found)
  36539. + fi
  36540. +else
  36541. + if test "$my_inc" != ""; then
  36542. + AC_MSG_CHECKING([for MySQL includes in $my_inc])
  36543. + if test -f "$my_inc/mysql.h" ; then
  36544. + MYSQL_INC="-I$my_inc"
  36545. + AC_MSG_RESULT([yes])
  36546. + else
  36547. + AC_MSG_WARN(mysql.h not found)
  36548. + fi
  36549. + fi
  36550. + if test "$my_lib" != ""; then
  36551. + AC_MSG_CHECKING([for MySQL libraries in $my_lib])
  36552. + if test -f "$my_lib/libmysqlclient.so" ; then
  36553. + MYSQL_LIB="-L$my_lib -lmysqlclient"
  36554. + AC_MSG_RESULT([yes])
  36555. + else
  36556. + AC_MSG_WARN(libmysqlclient.so not found)
  36557. + fi
  36558. + fi
  36559. +fi
  36560. +
  36561. +fi
  36562. +
  36563. +if test "$MYSQL_INC" = "" ; then
  36564. + AC_CHECK_HEADER([mysql.h], [], AC_MSG_WARN(mysql.h not found))
  36565. +fi
  36566. +if test "$MYSQL_LIB" = "" ; then
  36567. + AC_CHECK_LIB(mysqlclient, mysql_close, [], AC_MSG_WARN(libmysqlclient.so not found))
  36568. +fi
  36569. +
  36570. +fi
  36571. +
  36572. +])
  36573. +m4trace:acinclude.m4:206: -1- AC_DEFUN([CT_CHECK_PCAP], [
  36574. +
  36575. +AC_ARG_WITH(pcap,
  36576. + [ --with-pcap=PREFIX Prefix of your libpcap installation],
  36577. + [pcap_prefix=$withval], [pcap_prefix=])
  36578. +AC_ARG_WITH(pcap-inc,
  36579. + [ --with-pcap-inc=PATH Path to the include directory of pcap],
  36580. + [pcap_inc=$withval], [pcap_inc=/usr/include])
  36581. +AC_ARG_WITH(pcap-lib,
  36582. + [ --with-pcap-lib=PATH Path to the libraries of pcap],
  36583. + [pcap_lib=$withval], [pcap_lib=/usr/lib])
  36584. +
  36585. +
  36586. +AC_SUBST(PCAP_INC)
  36587. +AC_SUBST(PCAP_LIB)
  36588. +AC_SUBST(HAVE_PCAP_LIB)
  36589. +
  36590. +if test "$pcap_prefix" != "no"; then
  36591. +
  36592. +if test "$pcap_prefix" != ""; then
  36593. + AC_MSG_CHECKING([for libpcap includes in $pcap_prefix/include])
  36594. + if test -f "$pcap_prefix/include/pcap.h" ; then
  36595. + PCAP_INC="-I$pcap_prefix/include"
  36596. + AC_MSG_RESULT([yes])
  36597. + else
  36598. + AC_MSG_WARN(pcap.h not found)
  36599. + fi
  36600. + AC_MSG_CHECKING([for libpcap in $pcap_prefix/lib])
  36601. + if test -f "$pcap_prefix/lib/libpcap.so" ; then
  36602. + PCAP_LIB="-L$pcap_prefix/lib -lpcap";
  36603. + AC_MSG_RESULT([yes])
  36604. + else
  36605. + AC_MSG_WARN(libpcap.so not found)
  36606. + fi
  36607. +else
  36608. + if test "$pcap_inc" != ""; then
  36609. + AC_MSG_CHECKING([for libpcap includes in $pcap_inc])
  36610. + if test -f "$pcap_inc/pcap.h" ; then
  36611. + PCAP_INC="-I$pcap_inc"
  36612. + AC_MSG_RESULT([yes])
  36613. + else
  36614. + AC_MSG_WARN(pcap.h not found)
  36615. + fi
  36616. + fi
  36617. + if test "$pcap_lib" != ""; then
  36618. + AC_MSG_CHECKING([for libpcap in $pcap_lib])
  36619. + if test -f "$pcap_lib/libpcap.so" ; then
  36620. + PCAP_LIB="-L$pcap_lib -lpcap";
  36621. + AC_MSG_RESULT([yes])
  36622. + else
  36623. + AC_MSG_WARN(libpcap.so not found)
  36624. + fi
  36625. + fi
  36626. +fi
  36627. +
  36628. +if test "$PCAP_INC" = "" ; then
  36629. + AC_CHECK_HEADER([pcap.h], [], AC_MSG_WARN(pcap.h not found))
  36630. +fi
  36631. +if test "$PCAP_LIB" = "" ; then
  36632. + AC_CHECK_LIB(pcap, pcap_close, [HAVE_PCAP_LIB="yes"], AC_MSG_WARN(libpcap.so not found))
  36633. +fi
  36634. +
  36635. +fi
  36636. +
  36637. +])
  36638. +m4trace:acinclude.m4:285: -1- AC_DEFUN([CT_CHECK_DBI], [
  36639. +
  36640. +AC_ARG_WITH(dbi,
  36641. + [ --with-dbi=PREFIX Prefix of your libdbi installation],
  36642. + [dbi=$withval], [dbi_prefix=])
  36643. +AC_ARG_WITH(dbi-inc,
  36644. + [ --with-dbi-inc=PATH Path to the include directory of dbi],
  36645. + [dbi_inc=$withval], [dbi_inc=/usr/include])
  36646. +AC_ARG_WITH(dbi-lib,
  36647. + [ --with-dbi-lib=PATH Path to the libraries of dbi],
  36648. + [dbi_lib=$withval], [dbi_lib=/usr/lib])
  36649. +
  36650. +
  36651. +AC_SUBST(DBI_INC)
  36652. +AC_SUBST(DBI_LIB)
  36653. +
  36654. +if test "$dbi_prefix" != "no"; then
  36655. +
  36656. +if test "$dbi_prefix" != ""; then
  36657. + AC_MSG_CHECKING([for libdbi includes in $dbi_prefix/include])
  36658. + if test -f "$dbi_prefix/include/dbi.h" ; then
  36659. + DBI_INC="-I$dbi_prefix/include"
  36660. + AC_MSG_RESULT([yes])
  36661. + elif test -f "$dbi_prefix/include/dbi/dbi.h" ; then
  36662. + DBI_INC="-I$dbi_prefix/include/dbi"
  36663. + AC_MSG_RESULT([yes])
  36664. + else
  36665. + AC_MSG_WARN(dbi.h not found)
  36666. + fi
  36667. + AC_MSG_CHECKING([for libdbi in $dbi_prefix/lib])
  36668. + if test -f "$dbi_prefix/lib/libdbi.so" ; then
  36669. + DBI_LIB="-L$dbi_prefix/lib -ldbi";
  36670. + AC_MSG_RESULT([yes])
  36671. + else
  36672. + AC_MSG_WARN(libdbi.so not found)
  36673. + fi
  36674. +else
  36675. + if test "$dbi_inc" != ""; then
  36676. + AC_MSG_CHECKING([for libdbi includes in $dbi_inc])
  36677. + if test -f "$dbi_inc/dbi.h" ; then
  36678. + DBI_INC="-I$dbi_inc"
  36679. + AC_MSG_RESULT([yes])
  36680. + elif test -f "$dbi_inc/dbi/dbi.h" ; then
  36681. + DBI_INC="-I$dbi_inc/dbi"
  36682. + AC_MSG_RESULT([yes])
  36683. + else
  36684. + AC_MSG_WARN(dbi.h not found)
  36685. + fi
  36686. + fi
  36687. + if test "$dbi_lib" != ""; then
  36688. + AC_MSG_CHECKING([for libdbi in $dbi_lib])
  36689. + if test -f "$dbi_lib/libdbi.so" ; then
  36690. + DBI_LIB="-L$dbi_lib -ldbi";
  36691. + AC_MSG_RESULT([yes])
  36692. + else
  36693. + AC_MSG_WARN(libdbi.so not found)
  36694. + fi
  36695. + fi
  36696. +fi
  36697. +
  36698. +if test "$DBI_INC" = "" ; then
  36699. + AC_CHECK_HEADER([dbi.h], [], AC_MSG_WARN(dbi.h not found))
  36700. +fi
  36701. +if test "$DBI_LIB" = "" ; then
  36702. + AC_CHECK_LIB(dbi, dbi_close, [], AC_MSG_WARN(libdbi.so not found))
  36703. +fi
  36704. +
  36705. +fi
  36706. +
  36707. +])
  36708. +m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?A[CHUM]_])
  36709. +m4trace:configure.ac:2: -1- m4_pattern_forbid([_AC_])
  36710. +m4trace:configure.ac:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
  36711. +m4trace:configure.ac:2: -1- m4_pattern_allow([^AS_FLAGS$])
  36712. +m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?m4_])
  36713. +m4trace:configure.ac:2: -1- m4_pattern_forbid([^dnl$])
  36714. +m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?AS_])
  36715. +m4trace:configure.ac:2: -1- m4_pattern_allow([^SHELL$])
  36716. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PATH_SEPARATOR$])
  36717. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
  36718. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  36719. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  36720. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
  36721. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  36722. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_URL$])
  36723. +m4trace:configure.ac:2: -1- m4_pattern_allow([^exec_prefix$])
  36724. +m4trace:configure.ac:2: -1- m4_pattern_allow([^prefix$])
  36725. +m4trace:configure.ac:2: -1- m4_pattern_allow([^program_transform_name$])
  36726. +m4trace:configure.ac:2: -1- m4_pattern_allow([^bindir$])
  36727. +m4trace:configure.ac:2: -1- m4_pattern_allow([^sbindir$])
  36728. +m4trace:configure.ac:2: -1- m4_pattern_allow([^libexecdir$])
  36729. +m4trace:configure.ac:2: -1- m4_pattern_allow([^datarootdir$])
  36730. +m4trace:configure.ac:2: -1- m4_pattern_allow([^datadir$])
  36731. +m4trace:configure.ac:2: -1- m4_pattern_allow([^sysconfdir$])
  36732. +m4trace:configure.ac:2: -1- m4_pattern_allow([^sharedstatedir$])
  36733. +m4trace:configure.ac:2: -1- m4_pattern_allow([^localstatedir$])
  36734. +m4trace:configure.ac:2: -1- m4_pattern_allow([^includedir$])
  36735. +m4trace:configure.ac:2: -1- m4_pattern_allow([^oldincludedir$])
  36736. +m4trace:configure.ac:2: -1- m4_pattern_allow([^docdir$])
  36737. +m4trace:configure.ac:2: -1- m4_pattern_allow([^infodir$])
  36738. +m4trace:configure.ac:2: -1- m4_pattern_allow([^htmldir$])
  36739. +m4trace:configure.ac:2: -1- m4_pattern_allow([^dvidir$])
  36740. +m4trace:configure.ac:2: -1- m4_pattern_allow([^pdfdir$])
  36741. +m4trace:configure.ac:2: -1- m4_pattern_allow([^psdir$])
  36742. +m4trace:configure.ac:2: -1- m4_pattern_allow([^libdir$])
  36743. +m4trace:configure.ac:2: -1- m4_pattern_allow([^localedir$])
  36744. +m4trace:configure.ac:2: -1- m4_pattern_allow([^mandir$])
  36745. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
  36746. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  36747. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  36748. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
  36749. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  36750. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_URL$])
  36751. +m4trace:configure.ac:2: -1- m4_pattern_allow([^DEFS$])
  36752. +m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_C$])
  36753. +m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_N$])
  36754. +m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_T$])
  36755. +m4trace:configure.ac:2: -1- m4_pattern_allow([^LIBS$])
  36756. +m4trace:configure.ac:2: -1- m4_pattern_allow([^build_alias$])
  36757. +m4trace:configure.ac:2: -1- m4_pattern_allow([^host_alias$])
  36758. +m4trace:configure.ac:2: -1- m4_pattern_allow([^target_alias$])
  36759. +m4trace:configure.ac:5: -1- AM_INIT_AUTOMAKE([-Wall foreign tar-pax no-dist-gzip dist-bzip2 1.10b])
  36760. +m4trace:configure.ac:5: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
  36761. +m4trace:configure.ac:5: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
  36762. +m4trace:configure.ac:5: -1- AM_AUTOMAKE_VERSION([1.11.3])
  36763. +m4trace:configure.ac:5: -1- _AM_AUTOCONF_VERSION([2.68])
  36764. +m4trace:configure.ac:5: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
  36765. +m4trace:configure.ac:5: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
  36766. +m4trace:configure.ac:5: -1- m4_pattern_allow([^INSTALL_DATA$])
  36767. +m4trace:configure.ac:5: -1- m4_pattern_allow([^am__isrc$])
  36768. +m4trace:configure.ac:5: -1- _AM_SUBST_NOTMAKE([am__isrc])
  36769. +m4trace:configure.ac:5: -1- m4_pattern_allow([^CYGPATH_W$])
  36770. +m4trace:configure.ac:5: -1- _AM_SET_OPTIONS([-Wall foreign tar-pax no-dist-gzip dist-bzip2 1.10b])
  36771. +m4trace:configure.ac:5: -1- _AM_SET_OPTION([-Wall])
  36772. +m4trace:configure.ac:5: -2- _AM_MANGLE_OPTION([-Wall])
  36773. +m4trace:configure.ac:5: -1- _AM_SET_OPTION([foreign])
  36774. +m4trace:configure.ac:5: -2- _AM_MANGLE_OPTION([foreign])
  36775. +m4trace:configure.ac:5: -1- _AM_SET_OPTION([tar-pax])
  36776. +m4trace:configure.ac:5: -2- _AM_MANGLE_OPTION([tar-pax])
  36777. +m4trace:configure.ac:5: -1- _AM_SET_OPTION([no-dist-gzip])
  36778. +m4trace:configure.ac:5: -2- _AM_MANGLE_OPTION([no-dist-gzip])
  36779. +m4trace:configure.ac:5: -1- _AM_SET_OPTION([dist-bzip2])
  36780. +m4trace:configure.ac:5: -2- _AM_MANGLE_OPTION([dist-bzip2])
  36781. +m4trace:configure.ac:5: -1- _AM_SET_OPTION([1.10b])
  36782. +m4trace:configure.ac:5: -2- _AM_MANGLE_OPTION([1.10b])
  36783. +m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE$])
  36784. +m4trace:configure.ac:5: -1- m4_pattern_allow([^VERSION$])
  36785. +m4trace:configure.ac:5: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
  36786. + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
  36787. +m4trace:configure.ac:5: -2- _AM_MANGLE_OPTION([no-define])
  36788. +m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE$])
  36789. +m4trace:configure.ac:5: -1- m4_pattern_allow([^VERSION$])
  36790. +m4trace:configure.ac:5: -1- AM_SANITY_CHECK
  36791. +m4trace:configure.ac:5: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  36792. +m4trace:configure.ac:5: -1- AM_MISSING_HAS_RUN
  36793. +m4trace:configure.ac:5: -1- AM_AUX_DIR_EXPAND
  36794. +m4trace:configure.ac:5: -1- m4_pattern_allow([^ACLOCAL$])
  36795. +m4trace:configure.ac:5: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
  36796. +m4trace:configure.ac:5: -1- m4_pattern_allow([^AUTOCONF$])
  36797. +m4trace:configure.ac:5: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  36798. +m4trace:configure.ac:5: -1- m4_pattern_allow([^AUTOMAKE$])
  36799. +m4trace:configure.ac:5: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
  36800. +m4trace:configure.ac:5: -1- m4_pattern_allow([^AUTOHEADER$])
  36801. +m4trace:configure.ac:5: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
  36802. +m4trace:configure.ac:5: -1- m4_pattern_allow([^MAKEINFO$])
  36803. +m4trace:configure.ac:5: -1- AM_PROG_INSTALL_SH
  36804. +m4trace:configure.ac:5: -1- m4_pattern_allow([^install_sh$])
  36805. +m4trace:configure.ac:5: -1- AM_PROG_INSTALL_STRIP
  36806. +m4trace:configure.ac:5: -1- m4_pattern_allow([^STRIP$])
  36807. +m4trace:configure.ac:5: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
  36808. +m4trace:configure.ac:5: -1- AM_PROG_MKDIR_P
  36809. +m4trace:configure.ac:5: -1- m4_pattern_allow([^MKDIR_P$])
  36810. +m4trace:configure.ac:5: -1- m4_pattern_allow([^mkdir_p$])
  36811. +m4trace:configure.ac:5: -1- m4_pattern_allow([^AWK$])
  36812. +m4trace:configure.ac:5: -1- m4_pattern_allow([^SET_MAKE$])
  36813. +m4trace:configure.ac:5: -1- AM_SET_LEADING_DOT
  36814. +m4trace:configure.ac:5: -1- m4_pattern_allow([^am__leading_dot$])
  36815. +m4trace:configure.ac:5: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  36816. + [_AM_PROG_TAR([v7])])])
  36817. +m4trace:configure.ac:5: -2- _AM_MANGLE_OPTION([tar-ustar])
  36818. +m4trace:configure.ac:5: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
  36819. +m4trace:configure.ac:5: -2- _AM_MANGLE_OPTION([tar-pax])
  36820. +m4trace:configure.ac:5: -1- _AM_PROG_TAR([pax])
  36821. +m4trace:configure.ac:5: -1- m4_pattern_allow([^AMTAR$])
  36822. +m4trace:configure.ac:5: -1- AM_RUN_LOG([$_am_tar --version])
  36823. +m4trace:configure.ac:5: -1- AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  36824. +m4trace:configure.ac:5: -1- AM_RUN_LOG([$am__untar <conftest.tar])
  36825. +m4trace:configure.ac:5: -1- m4_pattern_allow([^am__tar$])
  36826. +m4trace:configure.ac:5: -1- m4_pattern_allow([^am__untar$])
  36827. +m4trace:configure.ac:5: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
  36828. + [_AM_DEPENDENCIES(CC)],
  36829. + [define([AC_PROG_CC],
  36830. + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  36831. +AC_PROVIDE_IFELSE([AC_PROG_CXX],
  36832. + [_AM_DEPENDENCIES(CXX)],
  36833. + [define([AC_PROG_CXX],
  36834. + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  36835. +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  36836. + [_AM_DEPENDENCIES(OBJC)],
  36837. + [define([AC_PROG_OBJC],
  36838. + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  36839. +])
  36840. +m4trace:configure.ac:5: -2- _AM_MANGLE_OPTION([no-dependencies])
  36841. +m4trace:configure.ac:5: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
  36842. +m4trace:configure.ac:5: -2- _AM_MANGLE_OPTION([silent-rules])
  36843. +m4trace:configure.ac:9: -1- AM_PROG_AR
  36844. +m4trace:configure.ac:9: -1- m4_pattern_allow([^AR$])
  36845. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ac_ct_AR$])
  36846. +m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
  36847. +m4trace:configure.ac:9: -1- m4_pattern_allow([^CFLAGS$])
  36848. +m4trace:configure.ac:9: -1- m4_pattern_allow([^LDFLAGS$])
  36849. +m4trace:configure.ac:9: -1- m4_pattern_allow([^LIBS$])
  36850. +m4trace:configure.ac:9: -1- m4_pattern_allow([^CPPFLAGS$])
  36851. +m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
  36852. +m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
  36853. +m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
  36854. +m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
  36855. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ac_ct_CC$])
  36856. +m4trace:configure.ac:9: -1- m4_pattern_allow([^EXEEXT$])
  36857. +m4trace:configure.ac:9: -1- m4_pattern_allow([^OBJEXT$])
  36858. +m4trace:configure.ac:9: -1- _AM_DEPENDENCIES([CC])
  36859. +m4trace:configure.ac:9: -1- AM_SET_DEPDIR
  36860. +m4trace:configure.ac:9: -1- m4_pattern_allow([^DEPDIR$])
  36861. +m4trace:configure.ac:9: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
  36862. +m4trace:configure.ac:9: -1- AM_MAKE_INCLUDE
  36863. +m4trace:configure.ac:9: -1- m4_pattern_allow([^am__include$])
  36864. +m4trace:configure.ac:9: -1- m4_pattern_allow([^am__quote$])
  36865. +m4trace:configure.ac:9: -1- AM_DEP_TRACK
  36866. +m4trace:configure.ac:9: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  36867. +m4trace:configure.ac:9: -1- m4_pattern_allow([^AMDEP_TRUE$])
  36868. +m4trace:configure.ac:9: -1- m4_pattern_allow([^AMDEP_FALSE$])
  36869. +m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
  36870. +m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
  36871. +m4trace:configure.ac:9: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
  36872. +m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
  36873. +m4trace:configure.ac:9: -1- m4_pattern_allow([^am__nodep$])
  36874. +m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([am__nodep])
  36875. +m4trace:configure.ac:9: -1- m4_pattern_allow([^CCDEPMODE$])
  36876. +m4trace:configure.ac:9: -1- AM_CONDITIONAL([am__fastdepCC], [
  36877. + test "x$enable_dependency_tracking" != xno \
  36878. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  36879. +m4trace:configure.ac:9: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  36880. +m4trace:configure.ac:9: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  36881. +m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  36882. +m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  36883. +m4trace:configure.ac:9: -1- m4_pattern_allow([^AR$])
  36884. +m4trace:configure.ac:11: -1- AM_SILENT_RULES([yes])
  36885. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_V$])
  36886. +m4trace:configure.ac:11: -1- AM_SUBST_NOTMAKE([AM_V])
  36887. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_V])
  36888. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_DEFAULT_V$])
  36889. +m4trace:configure.ac:11: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
  36890. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
  36891. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
  36892. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_BACKSLASH$])
  36893. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
  36894. +m4trace:configure.ac:14: -1- m4_pattern_allow([^SET_MAKE$])
  36895. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  36896. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CFLAGS$])
  36897. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LDFLAGS$])
  36898. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBS$])
  36899. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
  36900. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  36901. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  36902. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  36903. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  36904. +m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_CC$])
  36905. +m4trace:configure.ac:15: -1- _AM_DEPENDENCIES([CC])
  36906. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CCDEPMODE$])
  36907. +m4trace:configure.ac:15: -1- AM_CONDITIONAL([am__fastdepCC], [
  36908. + test "x$enable_dependency_tracking" != xno \
  36909. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  36910. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  36911. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  36912. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  36913. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  36914. +m4trace:configure.ac:17: -1- AC_DISABLE_STATIC
  36915. +m4trace:configure.ac:18: -1- AC_PROG_LIBTOOL
  36916. +m4trace:configure.ac:18: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
  36917. +You should run autoupdate.], [m4/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
  36918. +configure.ac:18: the top level])
  36919. +m4trace:configure.ac:18: -1- LT_INIT
  36920. +m4trace:configure.ac:18: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
  36921. +m4trace:configure.ac:18: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
  36922. +m4trace:configure.ac:18: -1- LTOPTIONS_VERSION
  36923. +m4trace:configure.ac:18: -1- LTSUGAR_VERSION
  36924. +m4trace:configure.ac:18: -1- LTVERSION_VERSION
  36925. +m4trace:configure.ac:18: -1- LTOBSOLETE_VERSION
  36926. +m4trace:configure.ac:18: -1- _LT_PROG_LTMAIN
  36927. +m4trace:configure.ac:18: -1- m4_pattern_allow([^LIBTOOL$])
  36928. +m4trace:configure.ac:18: -1- m4_pattern_allow([^build$])
  36929. +m4trace:configure.ac:18: -1- m4_pattern_allow([^build_cpu$])
  36930. +m4trace:configure.ac:18: -1- m4_pattern_allow([^build_vendor$])
  36931. +m4trace:configure.ac:18: -1- m4_pattern_allow([^build_os$])
  36932. +m4trace:configure.ac:18: -1- m4_pattern_allow([^host$])
  36933. +m4trace:configure.ac:18: -1- m4_pattern_allow([^host_cpu$])
  36934. +m4trace:configure.ac:18: -1- m4_pattern_allow([^host_vendor$])
  36935. +m4trace:configure.ac:18: -1- m4_pattern_allow([^host_os$])
  36936. +m4trace:configure.ac:18: -1- _LT_PREPARE_SED_QUOTE_VARS
  36937. +m4trace:configure.ac:18: -1- _LT_PROG_ECHO_BACKSLASH
  36938. +m4trace:configure.ac:18: -1- LT_PATH_LD
  36939. +m4trace:configure.ac:18: -1- m4_pattern_allow([^SED$])
  36940. +m4trace:configure.ac:18: -1- AC_PROG_EGREP
  36941. +m4trace:configure.ac:18: -1- m4_pattern_allow([^GREP$])
  36942. +m4trace:configure.ac:18: -1- m4_pattern_allow([^EGREP$])
  36943. +m4trace:configure.ac:18: -1- m4_pattern_allow([^FGREP$])
  36944. +m4trace:configure.ac:18: -1- m4_pattern_allow([^GREP$])
  36945. +m4trace:configure.ac:18: -1- m4_pattern_allow([^LD$])
  36946. +m4trace:configure.ac:18: -1- LT_PATH_NM
  36947. +m4trace:configure.ac:18: -1- m4_pattern_allow([^DUMPBIN$])
  36948. +m4trace:configure.ac:18: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
  36949. +m4trace:configure.ac:18: -1- m4_pattern_allow([^DUMPBIN$])
  36950. +m4trace:configure.ac:18: -1- m4_pattern_allow([^NM$])
  36951. +m4trace:configure.ac:18: -1- m4_pattern_allow([^LN_S$])
  36952. +m4trace:configure.ac:18: -1- LT_CMD_MAX_LEN
  36953. +m4trace:configure.ac:18: -1- m4_pattern_allow([^OBJDUMP$])
  36954. +m4trace:configure.ac:18: -1- m4_pattern_allow([^OBJDUMP$])
  36955. +m4trace:configure.ac:18: -1- m4_pattern_allow([^DLLTOOL$])
  36956. +m4trace:configure.ac:18: -1- m4_pattern_allow([^DLLTOOL$])
  36957. +m4trace:configure.ac:18: -1- m4_pattern_allow([^AR$])
  36958. +m4trace:configure.ac:18: -1- m4_pattern_allow([^ac_ct_AR$])
  36959. +m4trace:configure.ac:18: -1- m4_pattern_allow([^STRIP$])
  36960. +m4trace:configure.ac:18: -1- m4_pattern_allow([^RANLIB$])
  36961. +m4trace:configure.ac:18: -1- _LT_WITH_SYSROOT
  36962. +m4trace:configure.ac:18: -1- m4_pattern_allow([LT_OBJDIR])
  36963. +m4trace:configure.ac:18: -1- m4_pattern_allow([^LT_OBJDIR$])
  36964. +m4trace:configure.ac:18: -1- _LT_CC_BASENAME([$compiler])
  36965. +m4trace:configure.ac:18: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
  36966. +m4trace:configure.ac:18: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
  36967. +m4trace:configure.ac:18: -1- LT_SUPPORTED_TAG([CC])
  36968. +m4trace:configure.ac:18: -1- _LT_COMPILER_BOILERPLATE
  36969. +m4trace:configure.ac:18: -1- _LT_LINKER_BOILERPLATE
  36970. +m4trace:configure.ac:18: -1- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"])
  36971. +m4trace:configure.ac:18: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, ) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, )], [$_LT_TAGVAR(lt_prog_compiler_pic, )@&t@m4_if([],[],[ -DPIC],[m4_if([],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, ) in
  36972. + "" | " "*) ;;
  36973. + *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
  36974. + esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
  36975. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
  36976. +m4trace:configure.ac:18: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, )=])
  36977. +m4trace:configure.ac:18: -1- m4_pattern_allow([^MANIFEST_TOOL$])
  36978. +m4trace:configure.ac:18: -1- _LT_REQUIRED_DARWIN_CHECKS
  36979. +m4trace:configure.ac:18: -1- m4_pattern_allow([^DSYMUTIL$])
  36980. +m4trace:configure.ac:18: -1- m4_pattern_allow([^NMEDIT$])
  36981. +m4trace:configure.ac:18: -1- m4_pattern_allow([^LIPO$])
  36982. +m4trace:configure.ac:18: -1- m4_pattern_allow([^OTOOL$])
  36983. +m4trace:configure.ac:18: -1- m4_pattern_allow([^OTOOL64$])
  36984. +m4trace:configure.ac:18: -1- _LT_LINKER_OPTION([if $CC understands -b], [lt_cv_prog_compiler__b], [-b], [_LT_TAGVAR(archive_cmds, )='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, )='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])
  36985. +m4trace:configure.ac:18: -1- LT_SYS_DLOPEN_SELF
  36986. +m4trace:configure.ac:18: -1- m4_pattern_allow([^CPP$])
  36987. +m4trace:configure.ac:18: -1- m4_pattern_allow([^CPPFLAGS$])
  36988. +m4trace:configure.ac:18: -1- m4_pattern_allow([^CPP$])
  36989. +m4trace:configure.ac:18: -1- m4_pattern_allow([^STDC_HEADERS$])
  36990. +m4trace:configure.ac:18: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
  36991. +m4trace:configure.ac:22: -1- m4_pattern_allow([^libdl_LIBS$])
  36992. +m4trace:configure.ac:24: -1- m4_pattern_allow([^libpcap_LIBS$])
  36993. +m4trace:configure.ac:25: -1- AM_CONDITIONAL([HAVE_PCAP], [test -n "$libpcap_LIBS"])
  36994. +m4trace:configure.ac:25: -1- m4_pattern_allow([^HAVE_PCAP_TRUE$])
  36995. +m4trace:configure.ac:25: -1- m4_pattern_allow([^HAVE_PCAP_FALSE$])
  36996. +m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([HAVE_PCAP_TRUE])
  36997. +m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([HAVE_PCAP_FALSE])
  36998. +m4trace:configure.ac:34: -1- m4_pattern_allow([^STDC_HEADERS$])
  36999. +m4trace:configure.ac:38: -1- m4_pattern_allow([^const$])
  37000. +m4trace:configure.ac:39: -1- m4_pattern_allow([^size_t$])
  37001. +m4trace:configure.ac:40: -1- m4_pattern_allow([^TM_IN_SYS_TIME$])
  37002. +m4trace:configure.ac:41: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$])
  37003. +m4trace:configure.ac:41: -1- m4_pattern_allow([^_LARGE_FILES$])
  37004. +m4trace:configure.ac:44: -1- m4_pattern_allow([^HAVE_VPRINTF$])
  37005. +m4trace:configure.ac:44: -1- m4_pattern_allow([^HAVE_DOPRNT$])
  37006. +m4trace:configure.ac:48: -1- m4_pattern_allow([^regular_CFLAGS$])
  37007. +m4trace:configure.ac:51: -1- PKG_CHECK_MODULES([LIBNFNETLINK], [libnfnetlink >= 1.0.1])
  37008. +m4trace:configure.ac:51: -1- PKG_PROG_PKG_CONFIG
  37009. +m4trace:configure.ac:51: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
  37010. +m4trace:configure.ac:51: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
  37011. +m4trace:configure.ac:51: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
  37012. +m4trace:configure.ac:51: -1- m4_pattern_allow([^PKG_CONFIG$])
  37013. +m4trace:configure.ac:51: -1- m4_pattern_allow([^PKG_CONFIG_PATH$])
  37014. +m4trace:configure.ac:51: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$])
  37015. +m4trace:configure.ac:51: -1- m4_pattern_allow([^PKG_CONFIG$])
  37016. +m4trace:configure.ac:51: -1- m4_pattern_allow([^LIBNFNETLINK_CFLAGS$])
  37017. +m4trace:configure.ac:51: -1- m4_pattern_allow([^LIBNFNETLINK_LIBS$])
  37018. +m4trace:configure.ac:51: -1- PKG_CHECK_EXISTS([libnfnetlink >= 1.0.1], [pkg_cv_[]LIBNFNETLINK_CFLAGS=`$PKG_CONFIG --[]cflags "libnfnetlink >= 1.0.1" 2>/dev/null`
  37019. + test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
  37020. +m4trace:configure.ac:51: -1- PKG_CHECK_EXISTS([libnfnetlink >= 1.0.1], [pkg_cv_[]LIBNFNETLINK_LIBS=`$PKG_CONFIG --[]libs "libnfnetlink >= 1.0.1" 2>/dev/null`
  37021. + test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
  37022. +m4trace:configure.ac:51: -1- _PKG_SHORT_ERRORS_SUPPORTED
  37023. +m4trace:configure.ac:52: -1- PKG_CHECK_MODULES([LIBMNL], [libmnl >= 1.0.3])
  37024. +m4trace:configure.ac:52: -1- m4_pattern_allow([^LIBMNL_CFLAGS$])
  37025. +m4trace:configure.ac:52: -1- m4_pattern_allow([^LIBMNL_LIBS$])
  37026. +m4trace:configure.ac:52: -1- PKG_CHECK_EXISTS([libmnl >= 1.0.3], [pkg_cv_[]LIBMNL_CFLAGS=`$PKG_CONFIG --[]cflags "libmnl >= 1.0.3" 2>/dev/null`
  37027. + test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
  37028. +m4trace:configure.ac:52: -1- PKG_CHECK_EXISTS([libmnl >= 1.0.3], [pkg_cv_[]LIBMNL_LIBS=`$PKG_CONFIG --[]libs "libmnl >= 1.0.3" 2>/dev/null`
  37029. + test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
  37030. +m4trace:configure.ac:52: -1- _PKG_SHORT_ERRORS_SUPPORTED
  37031. +m4trace:configure.ac:55: -1- PKG_CHECK_MODULES([LIBNETFILTER_LOG], [libnetfilter_log >= 1.0.0])
  37032. +m4trace:configure.ac:55: -1- m4_pattern_allow([^LIBNETFILTER_LOG_CFLAGS$])
  37033. +m4trace:configure.ac:55: -1- m4_pattern_allow([^LIBNETFILTER_LOG_LIBS$])
  37034. +m4trace:configure.ac:55: -1- PKG_CHECK_EXISTS([libnetfilter_log >= 1.0.0], [pkg_cv_[]LIBNETFILTER_LOG_CFLAGS=`$PKG_CONFIG --[]cflags "libnetfilter_log >= 1.0.0" 2>/dev/null`
  37035. + test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
  37036. +m4trace:configure.ac:55: -1- PKG_CHECK_EXISTS([libnetfilter_log >= 1.0.0], [pkg_cv_[]LIBNETFILTER_LOG_LIBS=`$PKG_CONFIG --[]libs "libnetfilter_log >= 1.0.0" 2>/dev/null`
  37037. + test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
  37038. +m4trace:configure.ac:55: -1- _PKG_SHORT_ERRORS_SUPPORTED
  37039. +m4trace:configure.ac:55: -1- m4_pattern_allow([^BUILD_NFLOG$])
  37040. +m4trace:configure.ac:59: -1- AM_CONDITIONAL([BUILD_NFLOG], [test "x$enable_nflog" = "xyes"])
  37041. +m4trace:configure.ac:59: -1- m4_pattern_allow([^BUILD_NFLOG_TRUE$])
  37042. +m4trace:configure.ac:59: -1- m4_pattern_allow([^BUILD_NFLOG_FALSE$])
  37043. +m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([BUILD_NFLOG_TRUE])
  37044. +m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([BUILD_NFLOG_FALSE])
  37045. +m4trace:configure.ac:62: -1- PKG_CHECK_MODULES([LIBNETFILTER_CONNTRACK], [libnetfilter_conntrack >= 1.0.2])
  37046. +m4trace:configure.ac:62: -1- m4_pattern_allow([^LIBNETFILTER_CONNTRACK_CFLAGS$])
  37047. +m4trace:configure.ac:62: -1- m4_pattern_allow([^LIBNETFILTER_CONNTRACK_LIBS$])
  37048. +m4trace:configure.ac:62: -1- PKG_CHECK_EXISTS([libnetfilter_conntrack >= 1.0.2], [pkg_cv_[]LIBNETFILTER_CONNTRACK_CFLAGS=`$PKG_CONFIG --[]cflags "libnetfilter_conntrack >= 1.0.2" 2>/dev/null`
  37049. + test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
  37050. +m4trace:configure.ac:62: -1- PKG_CHECK_EXISTS([libnetfilter_conntrack >= 1.0.2], [pkg_cv_[]LIBNETFILTER_CONNTRACK_LIBS=`$PKG_CONFIG --[]libs "libnetfilter_conntrack >= 1.0.2" 2>/dev/null`
  37051. + test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
  37052. +m4trace:configure.ac:62: -1- _PKG_SHORT_ERRORS_SUPPORTED
  37053. +m4trace:configure.ac:62: -1- m4_pattern_allow([^BUILD_NFCT$])
  37054. +m4trace:configure.ac:66: -1- AM_CONDITIONAL([BUILD_NFCT], [test "x$enable_nfct" = "xyes"])
  37055. +m4trace:configure.ac:66: -1- m4_pattern_allow([^BUILD_NFCT_TRUE$])
  37056. +m4trace:configure.ac:66: -1- m4_pattern_allow([^BUILD_NFCT_FALSE$])
  37057. +m4trace:configure.ac:66: -1- _AM_SUBST_NOTMAKE([BUILD_NFCT_TRUE])
  37058. +m4trace:configure.ac:66: -1- _AM_SUBST_NOTMAKE([BUILD_NFCT_FALSE])
  37059. +m4trace:configure.ac:69: -1- PKG_CHECK_MODULES([LIBNETFILTER_ACCT], [libnetfilter_acct >= 1.0.1])
  37060. +m4trace:configure.ac:69: -1- m4_pattern_allow([^LIBNETFILTER_ACCT_CFLAGS$])
  37061. +m4trace:configure.ac:69: -1- m4_pattern_allow([^LIBNETFILTER_ACCT_LIBS$])
  37062. +m4trace:configure.ac:69: -1- PKG_CHECK_EXISTS([libnetfilter_acct >= 1.0.1], [pkg_cv_[]LIBNETFILTER_ACCT_CFLAGS=`$PKG_CONFIG --[]cflags "libnetfilter_acct >= 1.0.1" 2>/dev/null`
  37063. + test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
  37064. +m4trace:configure.ac:69: -1- PKG_CHECK_EXISTS([libnetfilter_acct >= 1.0.1], [pkg_cv_[]LIBNETFILTER_ACCT_LIBS=`$PKG_CONFIG --[]libs "libnetfilter_acct >= 1.0.1" 2>/dev/null`
  37065. + test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
  37066. +m4trace:configure.ac:69: -1- _PKG_SHORT_ERRORS_SUPPORTED
  37067. +m4trace:configure.ac:69: -1- m4_pattern_allow([^BUILD_NFACCT$])
  37068. +m4trace:configure.ac:73: -1- AM_CONDITIONAL([BUILD_NFACCT], [test "x$enable_nfacct" = "xyes"])
  37069. +m4trace:configure.ac:73: -1- m4_pattern_allow([^BUILD_NFACCT_TRUE$])
  37070. +m4trace:configure.ac:73: -1- m4_pattern_allow([^BUILD_NFACCT_FALSE$])
  37071. +m4trace:configure.ac:73: -1- _AM_SUBST_NOTMAKE([BUILD_NFACCT_TRUE])
  37072. +m4trace:configure.ac:73: -1- _AM_SUBST_NOTMAKE([BUILD_NFACCT_FALSE])
  37073. +m4trace:configure.ac:75: -1- CT_CHECK_POSTGRES_DB([])
  37074. +m4trace:configure.ac:75: -1- m4_pattern_allow([^PQINCPATH$])
  37075. +m4trace:configure.ac:75: -1- m4_pattern_allow([^PQLIBPATH$])
  37076. +m4trace:configure.ac:75: -1- m4_pattern_allow([^PQLIBS$])
  37077. +m4trace:configure.ac:75: -1- m4_pattern_allow([^HAVE_LIBPQ$])
  37078. +m4trace:configure.ac:76: -1- AM_CONDITIONAL([HAVE_PGSQL], [test "x$PQLIBPATH" != "x"])
  37079. +m4trace:configure.ac:76: -1- m4_pattern_allow([^HAVE_PGSQL_TRUE$])
  37080. +m4trace:configure.ac:76: -1- m4_pattern_allow([^HAVE_PGSQL_FALSE$])
  37081. +m4trace:configure.ac:76: -1- _AM_SUBST_NOTMAKE([HAVE_PGSQL_TRUE])
  37082. +m4trace:configure.ac:76: -1- _AM_SUBST_NOTMAKE([HAVE_PGSQL_FALSE])
  37083. +m4trace:configure.ac:83: -1- CT_CHECK_MYSQL_DB([])
  37084. +m4trace:configure.ac:83: -1- m4_pattern_allow([^MYSQL_INC$])
  37085. +m4trace:configure.ac:83: -1- m4_pattern_allow([^MYSQL_LIB$])
  37086. +m4trace:configure.ac:83: -1- m4_pattern_allow([^HAVE_LIBMYSQLCLIENT$])
  37087. +m4trace:configure.ac:84: -1- AM_CONDITIONAL([HAVE_MYSQL], [test "x$MYSQL_LIB" != "x"])
  37088. +m4trace:configure.ac:84: -1- m4_pattern_allow([^HAVE_MYSQL_TRUE$])
  37089. +m4trace:configure.ac:84: -1- m4_pattern_allow([^HAVE_MYSQL_FALSE$])
  37090. +m4trace:configure.ac:84: -1- _AM_SUBST_NOTMAKE([HAVE_MYSQL_TRUE])
  37091. +m4trace:configure.ac:84: -1- _AM_SUBST_NOTMAKE([HAVE_MYSQL_FALSE])
  37092. +m4trace:configure.ac:91: -1- PKG_CHECK_MODULES([libsqlite3], [sqlite3], [], [:])
  37093. +m4trace:configure.ac:91: -1- m4_pattern_allow([^libsqlite3_CFLAGS$])
  37094. +m4trace:configure.ac:91: -1- m4_pattern_allow([^libsqlite3_LIBS$])
  37095. +m4trace:configure.ac:91: -1- PKG_CHECK_EXISTS([sqlite3], [pkg_cv_[]libsqlite3_CFLAGS=`$PKG_CONFIG --[]cflags "sqlite3" 2>/dev/null`
  37096. + test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
  37097. +m4trace:configure.ac:91: -1- PKG_CHECK_EXISTS([sqlite3], [pkg_cv_[]libsqlite3_LIBS=`$PKG_CONFIG --[]libs "sqlite3" 2>/dev/null`
  37098. + test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
  37099. +m4trace:configure.ac:91: -1- _PKG_SHORT_ERRORS_SUPPORTED
  37100. +m4trace:configure.ac:92: -1- AM_CONDITIONAL([HAVE_SQLITE3], [test -n "$libsqlite3_LIBS"])
  37101. +m4trace:configure.ac:92: -1- m4_pattern_allow([^HAVE_SQLITE3_TRUE$])
  37102. +m4trace:configure.ac:92: -1- m4_pattern_allow([^HAVE_SQLITE3_FALSE$])
  37103. +m4trace:configure.ac:92: -1- _AM_SUBST_NOTMAKE([HAVE_SQLITE3_TRUE])
  37104. +m4trace:configure.ac:92: -1- _AM_SUBST_NOTMAKE([HAVE_SQLITE3_FALSE])
  37105. +m4trace:configure.ac:99: -1- CT_CHECK_DBI([])
  37106. +m4trace:configure.ac:99: -1- m4_pattern_allow([^DBI_INC$])
  37107. +m4trace:configure.ac:99: -1- m4_pattern_allow([^DBI_LIB$])
  37108. +m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_LIBDBI$])
  37109. +m4trace:configure.ac:100: -1- AM_CONDITIONAL([HAVE_DBI], [test "x$DBI_LIB" != "x"])
  37110. +m4trace:configure.ac:100: -1- m4_pattern_allow([^HAVE_DBI_TRUE$])
  37111. +m4trace:configure.ac:100: -1- m4_pattern_allow([^HAVE_DBI_FALSE$])
  37112. +m4trace:configure.ac:100: -1- _AM_SUBST_NOTMAKE([HAVE_DBI_TRUE])
  37113. +m4trace:configure.ac:100: -1- _AM_SUBST_NOTMAKE([HAVE_DBI_FALSE])
  37114. +m4trace:configure.ac:128: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  37115. +m4trace:configure.ac:128: -1- m4_pattern_allow([^LTLIBOBJS$])
  37116. +m4trace:configure.ac:128: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
  37117. +m4trace:configure.ac:128: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
  37118. +m4trace:configure.ac:128: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
  37119. +m4trace:configure.ac:128: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
  37120. +m4trace:configure.ac:128: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
  37121. +m4trace:configure.ac:128: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
  37122. +m4trace:configure.ac:128: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
  37123. +m4trace:configure.ac:128: -1- _LT_PROG_LTMAIN
  37124. diff -Nur ulogd-2.0.2.orig/autom4te.cache/traces.1 ulogd-2.0.2/autom4te.cache/traces.1
  37125. --- ulogd-2.0.2.orig/autom4te.cache/traces.1 1970-01-01 01:00:00.000000000 +0100
  37126. +++ ulogd-2.0.2/autom4te.cache/traces.1 2013-08-21 19:34:26.288620604 +0200
  37127. @@ -0,0 +1,812 @@
  37128. +m4trace:aclocal.m4:1269: -1- m4_include([m4/libtool.m4])
  37129. +m4trace:aclocal.m4:1270: -1- m4_include([m4/ltoptions.m4])
  37130. +m4trace:aclocal.m4:1271: -1- m4_include([m4/ltsugar.m4])
  37131. +m4trace:aclocal.m4:1272: -1- m4_include([m4/ltversion.m4])
  37132. +m4trace:aclocal.m4:1273: -1- m4_include([m4/lt~obsolete.m4])
  37133. +m4trace:aclocal.m4:1274: -1- m4_include([acinclude.m4])
  37134. +m4trace:configure.ac:2: -1- AC_INIT([ulogd], [2.0.2])
  37135. +m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?A[CHUM]_])
  37136. +m4trace:configure.ac:2: -1- m4_pattern_forbid([_AC_])
  37137. +m4trace:configure.ac:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
  37138. +m4trace:configure.ac:2: -1- m4_pattern_allow([^AS_FLAGS$])
  37139. +m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?m4_])
  37140. +m4trace:configure.ac:2: -1- m4_pattern_forbid([^dnl$])
  37141. +m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?AS_])
  37142. +m4trace:configure.ac:2: -1- AC_SUBST([SHELL])
  37143. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([SHELL])
  37144. +m4trace:configure.ac:2: -1- m4_pattern_allow([^SHELL$])
  37145. +m4trace:configure.ac:2: -1- AC_SUBST([PATH_SEPARATOR])
  37146. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
  37147. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PATH_SEPARATOR$])
  37148. +m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
  37149. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_NAME])
  37150. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
  37151. +m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
  37152. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
  37153. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  37154. +m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
  37155. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
  37156. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  37157. +m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
  37158. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_STRING])
  37159. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
  37160. +m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
  37161. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
  37162. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  37163. +m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
  37164. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_URL])
  37165. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_URL$])
  37166. +m4trace:configure.ac:2: -1- AC_SUBST([exec_prefix], [NONE])
  37167. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([exec_prefix])
  37168. +m4trace:configure.ac:2: -1- m4_pattern_allow([^exec_prefix$])
  37169. +m4trace:configure.ac:2: -1- AC_SUBST([prefix], [NONE])
  37170. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([prefix])
  37171. +m4trace:configure.ac:2: -1- m4_pattern_allow([^prefix$])
  37172. +m4trace:configure.ac:2: -1- AC_SUBST([program_transform_name], [s,x,x,])
  37173. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([program_transform_name])
  37174. +m4trace:configure.ac:2: -1- m4_pattern_allow([^program_transform_name$])
  37175. +m4trace:configure.ac:2: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
  37176. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([bindir])
  37177. +m4trace:configure.ac:2: -1- m4_pattern_allow([^bindir$])
  37178. +m4trace:configure.ac:2: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
  37179. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([sbindir])
  37180. +m4trace:configure.ac:2: -1- m4_pattern_allow([^sbindir$])
  37181. +m4trace:configure.ac:2: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
  37182. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([libexecdir])
  37183. +m4trace:configure.ac:2: -1- m4_pattern_allow([^libexecdir$])
  37184. +m4trace:configure.ac:2: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
  37185. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([datarootdir])
  37186. +m4trace:configure.ac:2: -1- m4_pattern_allow([^datarootdir$])
  37187. +m4trace:configure.ac:2: -1- AC_SUBST([datadir], ['${datarootdir}'])
  37188. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([datadir])
  37189. +m4trace:configure.ac:2: -1- m4_pattern_allow([^datadir$])
  37190. +m4trace:configure.ac:2: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
  37191. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([sysconfdir])
  37192. +m4trace:configure.ac:2: -1- m4_pattern_allow([^sysconfdir$])
  37193. +m4trace:configure.ac:2: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
  37194. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([sharedstatedir])
  37195. +m4trace:configure.ac:2: -1- m4_pattern_allow([^sharedstatedir$])
  37196. +m4trace:configure.ac:2: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
  37197. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([localstatedir])
  37198. +m4trace:configure.ac:2: -1- m4_pattern_allow([^localstatedir$])
  37199. +m4trace:configure.ac:2: -1- AC_SUBST([includedir], ['${prefix}/include'])
  37200. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([includedir])
  37201. +m4trace:configure.ac:2: -1- m4_pattern_allow([^includedir$])
  37202. +m4trace:configure.ac:2: -1- AC_SUBST([oldincludedir], ['/usr/include'])
  37203. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([oldincludedir])
  37204. +m4trace:configure.ac:2: -1- m4_pattern_allow([^oldincludedir$])
  37205. +m4trace:configure.ac:2: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
  37206. + ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
  37207. + ['${datarootdir}/doc/${PACKAGE}'])])
  37208. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([docdir])
  37209. +m4trace:configure.ac:2: -1- m4_pattern_allow([^docdir$])
  37210. +m4trace:configure.ac:2: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
  37211. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([infodir])
  37212. +m4trace:configure.ac:2: -1- m4_pattern_allow([^infodir$])
  37213. +m4trace:configure.ac:2: -1- AC_SUBST([htmldir], ['${docdir}'])
  37214. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([htmldir])
  37215. +m4trace:configure.ac:2: -1- m4_pattern_allow([^htmldir$])
  37216. +m4trace:configure.ac:2: -1- AC_SUBST([dvidir], ['${docdir}'])
  37217. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([dvidir])
  37218. +m4trace:configure.ac:2: -1- m4_pattern_allow([^dvidir$])
  37219. +m4trace:configure.ac:2: -1- AC_SUBST([pdfdir], ['${docdir}'])
  37220. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([pdfdir])
  37221. +m4trace:configure.ac:2: -1- m4_pattern_allow([^pdfdir$])
  37222. +m4trace:configure.ac:2: -1- AC_SUBST([psdir], ['${docdir}'])
  37223. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([psdir])
  37224. +m4trace:configure.ac:2: -1- m4_pattern_allow([^psdir$])
  37225. +m4trace:configure.ac:2: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
  37226. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([libdir])
  37227. +m4trace:configure.ac:2: -1- m4_pattern_allow([^libdir$])
  37228. +m4trace:configure.ac:2: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
  37229. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([localedir])
  37230. +m4trace:configure.ac:2: -1- m4_pattern_allow([^localedir$])
  37231. +m4trace:configure.ac:2: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
  37232. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([mandir])
  37233. +m4trace:configure.ac:2: -1- m4_pattern_allow([^mandir$])
  37234. +m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
  37235. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
  37236. +m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
  37237. +@%:@undef PACKAGE_NAME])
  37238. +m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
  37239. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  37240. +m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
  37241. +@%:@undef PACKAGE_TARNAME])
  37242. +m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
  37243. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  37244. +m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
  37245. +@%:@undef PACKAGE_VERSION])
  37246. +m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
  37247. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
  37248. +m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
  37249. +@%:@undef PACKAGE_STRING])
  37250. +m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
  37251. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  37252. +m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
  37253. +@%:@undef PACKAGE_BUGREPORT])
  37254. +m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
  37255. +m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_URL$])
  37256. +m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
  37257. +@%:@undef PACKAGE_URL])
  37258. +m4trace:configure.ac:2: -1- AC_SUBST([DEFS])
  37259. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([DEFS])
  37260. +m4trace:configure.ac:2: -1- m4_pattern_allow([^DEFS$])
  37261. +m4trace:configure.ac:2: -1- AC_SUBST([ECHO_C])
  37262. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ECHO_C])
  37263. +m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_C$])
  37264. +m4trace:configure.ac:2: -1- AC_SUBST([ECHO_N])
  37265. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ECHO_N])
  37266. +m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_N$])
  37267. +m4trace:configure.ac:2: -1- AC_SUBST([ECHO_T])
  37268. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ECHO_T])
  37269. +m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_T$])
  37270. +m4trace:configure.ac:2: -1- AC_SUBST([LIBS])
  37271. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([LIBS])
  37272. +m4trace:configure.ac:2: -1- m4_pattern_allow([^LIBS$])
  37273. +m4trace:configure.ac:2: -1- AC_SUBST([build_alias])
  37274. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([build_alias])
  37275. +m4trace:configure.ac:2: -1- m4_pattern_allow([^build_alias$])
  37276. +m4trace:configure.ac:2: -1- AC_SUBST([host_alias])
  37277. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([host_alias])
  37278. +m4trace:configure.ac:2: -1- m4_pattern_allow([^host_alias$])
  37279. +m4trace:configure.ac:2: -1- AC_SUBST([target_alias])
  37280. +m4trace:configure.ac:2: -1- AC_SUBST_TRACE([target_alias])
  37281. +m4trace:configure.ac:2: -1- m4_pattern_allow([^target_alias$])
  37282. +m4trace:configure.ac:4: -1- AC_CONFIG_AUX_DIR([build-aux])
  37283. +m4trace:configure.ac:5: -1- AM_INIT_AUTOMAKE([-Wall foreign tar-pax no-dist-gzip dist-bzip2 1.10b])
  37284. +m4trace:configure.ac:5: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
  37285. +m4trace:configure.ac:5: -1- AM_AUTOMAKE_VERSION([1.11.3])
  37286. +m4trace:configure.ac:5: -1- AC_REQUIRE_AUX_FILE([install-sh])
  37287. +m4trace:configure.ac:5: -1- AC_SUBST([INSTALL_PROGRAM])
  37288. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
  37289. +m4trace:configure.ac:5: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
  37290. +m4trace:configure.ac:5: -1- AC_SUBST([INSTALL_SCRIPT])
  37291. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
  37292. +m4trace:configure.ac:5: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
  37293. +m4trace:configure.ac:5: -1- AC_SUBST([INSTALL_DATA])
  37294. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([INSTALL_DATA])
  37295. +m4trace:configure.ac:5: -1- m4_pattern_allow([^INSTALL_DATA$])
  37296. +m4trace:configure.ac:5: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
  37297. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([am__isrc])
  37298. +m4trace:configure.ac:5: -1- m4_pattern_allow([^am__isrc$])
  37299. +m4trace:configure.ac:5: -1- _AM_SUBST_NOTMAKE([am__isrc])
  37300. +m4trace:configure.ac:5: -1- AC_SUBST([CYGPATH_W])
  37301. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([CYGPATH_W])
  37302. +m4trace:configure.ac:5: -1- m4_pattern_allow([^CYGPATH_W$])
  37303. +m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
  37304. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE])
  37305. +m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE$])
  37306. +m4trace:configure.ac:5: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
  37307. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([VERSION])
  37308. +m4trace:configure.ac:5: -1- m4_pattern_allow([^VERSION$])
  37309. +m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
  37310. +m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE$])
  37311. +m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
  37312. +@%:@undef PACKAGE])
  37313. +m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
  37314. +m4trace:configure.ac:5: -1- m4_pattern_allow([^VERSION$])
  37315. +m4trace:configure.ac:5: -1- AH_OUTPUT([VERSION], [/* Version number of package */
  37316. +@%:@undef VERSION])
  37317. +m4trace:configure.ac:5: -1- AC_REQUIRE_AUX_FILE([missing])
  37318. +m4trace:configure.ac:5: -1- AC_SUBST([ACLOCAL])
  37319. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ACLOCAL])
  37320. +m4trace:configure.ac:5: -1- m4_pattern_allow([^ACLOCAL$])
  37321. +m4trace:configure.ac:5: -1- AC_SUBST([AUTOCONF])
  37322. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([AUTOCONF])
  37323. +m4trace:configure.ac:5: -1- m4_pattern_allow([^AUTOCONF$])
  37324. +m4trace:configure.ac:5: -1- AC_SUBST([AUTOMAKE])
  37325. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([AUTOMAKE])
  37326. +m4trace:configure.ac:5: -1- m4_pattern_allow([^AUTOMAKE$])
  37327. +m4trace:configure.ac:5: -1- AC_SUBST([AUTOHEADER])
  37328. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([AUTOHEADER])
  37329. +m4trace:configure.ac:5: -1- m4_pattern_allow([^AUTOHEADER$])
  37330. +m4trace:configure.ac:5: -1- AC_SUBST([MAKEINFO])
  37331. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([MAKEINFO])
  37332. +m4trace:configure.ac:5: -1- m4_pattern_allow([^MAKEINFO$])
  37333. +m4trace:configure.ac:5: -1- AC_SUBST([install_sh])
  37334. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([install_sh])
  37335. +m4trace:configure.ac:5: -1- m4_pattern_allow([^install_sh$])
  37336. +m4trace:configure.ac:5: -1- AC_SUBST([STRIP])
  37337. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([STRIP])
  37338. +m4trace:configure.ac:5: -1- m4_pattern_allow([^STRIP$])
  37339. +m4trace:configure.ac:5: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
  37340. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
  37341. +m4trace:configure.ac:5: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
  37342. +m4trace:configure.ac:5: -1- AC_REQUIRE_AUX_FILE([install-sh])
  37343. +m4trace:configure.ac:5: -1- AC_SUBST([MKDIR_P])
  37344. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([MKDIR_P])
  37345. +m4trace:configure.ac:5: -1- m4_pattern_allow([^MKDIR_P$])
  37346. +m4trace:configure.ac:5: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
  37347. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([mkdir_p])
  37348. +m4trace:configure.ac:5: -1- m4_pattern_allow([^mkdir_p$])
  37349. +m4trace:configure.ac:5: -1- AC_SUBST([AWK])
  37350. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([AWK])
  37351. +m4trace:configure.ac:5: -1- m4_pattern_allow([^AWK$])
  37352. +m4trace:configure.ac:5: -1- AC_SUBST([SET_MAKE])
  37353. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([SET_MAKE])
  37354. +m4trace:configure.ac:5: -1- m4_pattern_allow([^SET_MAKE$])
  37355. +m4trace:configure.ac:5: -1- AC_SUBST([am__leading_dot])
  37356. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([am__leading_dot])
  37357. +m4trace:configure.ac:5: -1- m4_pattern_allow([^am__leading_dot$])
  37358. +m4trace:configure.ac:5: -1- AC_SUBST([AMTAR], ['$${TAR-tar}'])
  37359. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([AMTAR])
  37360. +m4trace:configure.ac:5: -1- m4_pattern_allow([^AMTAR$])
  37361. +m4trace:configure.ac:5: -1- AC_SUBST([am__tar])
  37362. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([am__tar])
  37363. +m4trace:configure.ac:5: -1- m4_pattern_allow([^am__tar$])
  37364. +m4trace:configure.ac:5: -1- AC_SUBST([am__untar])
  37365. +m4trace:configure.ac:5: -1- AC_SUBST_TRACE([am__untar])
  37366. +m4trace:configure.ac:5: -1- m4_pattern_allow([^am__untar$])
  37367. +m4trace:configure.ac:6: -1- AC_CONFIG_HEADERS([config.h])
  37368. +m4trace:configure.ac:9: -1- AM_PROG_AR
  37369. +m4trace:configure.ac:9: -1- AC_REQUIRE_AUX_FILE([ar-lib])
  37370. +m4trace:configure.ac:9: -1- AC_SUBST([AR])
  37371. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AR])
  37372. +m4trace:configure.ac:9: -1- m4_pattern_allow([^AR$])
  37373. +m4trace:configure.ac:9: -1- AC_SUBST([ac_ct_AR])
  37374. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([ac_ct_AR])
  37375. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ac_ct_AR$])
  37376. +m4trace:configure.ac:9: -1- AC_SUBST([CC])
  37377. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
  37378. +m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
  37379. +m4trace:configure.ac:9: -1- AC_SUBST([CFLAGS])
  37380. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CFLAGS])
  37381. +m4trace:configure.ac:9: -1- m4_pattern_allow([^CFLAGS$])
  37382. +m4trace:configure.ac:9: -1- AC_SUBST([LDFLAGS])
  37383. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LDFLAGS])
  37384. +m4trace:configure.ac:9: -1- m4_pattern_allow([^LDFLAGS$])
  37385. +m4trace:configure.ac:9: -1- AC_SUBST([LIBS])
  37386. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LIBS])
  37387. +m4trace:configure.ac:9: -1- m4_pattern_allow([^LIBS$])
  37388. +m4trace:configure.ac:9: -1- AC_SUBST([CPPFLAGS])
  37389. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPPFLAGS])
  37390. +m4trace:configure.ac:9: -1- m4_pattern_allow([^CPPFLAGS$])
  37391. +m4trace:configure.ac:9: -1- AC_SUBST([CC])
  37392. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
  37393. +m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
  37394. +m4trace:configure.ac:9: -1- AC_SUBST([CC])
  37395. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
  37396. +m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
  37397. +m4trace:configure.ac:9: -1- AC_SUBST([CC])
  37398. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
  37399. +m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
  37400. +m4trace:configure.ac:9: -1- AC_SUBST([CC])
  37401. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
  37402. +m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
  37403. +m4trace:configure.ac:9: -1- AC_SUBST([ac_ct_CC])
  37404. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([ac_ct_CC])
  37405. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ac_ct_CC$])
  37406. +m4trace:configure.ac:9: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
  37407. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([EXEEXT])
  37408. +m4trace:configure.ac:9: -1- m4_pattern_allow([^EXEEXT$])
  37409. +m4trace:configure.ac:9: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
  37410. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OBJEXT])
  37411. +m4trace:configure.ac:9: -1- m4_pattern_allow([^OBJEXT$])
  37412. +m4trace:configure.ac:9: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
  37413. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DEPDIR])
  37414. +m4trace:configure.ac:9: -1- m4_pattern_allow([^DEPDIR$])
  37415. +m4trace:configure.ac:9: -1- AC_SUBST([am__include])
  37416. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([am__include])
  37417. +m4trace:configure.ac:9: -1- m4_pattern_allow([^am__include$])
  37418. +m4trace:configure.ac:9: -1- AC_SUBST([am__quote])
  37419. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([am__quote])
  37420. +m4trace:configure.ac:9: -1- m4_pattern_allow([^am__quote$])
  37421. +m4trace:configure.ac:9: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  37422. +m4trace:configure.ac:9: -1- AC_SUBST([AMDEP_TRUE])
  37423. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AMDEP_TRUE])
  37424. +m4trace:configure.ac:9: -1- m4_pattern_allow([^AMDEP_TRUE$])
  37425. +m4trace:configure.ac:9: -1- AC_SUBST([AMDEP_FALSE])
  37426. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AMDEP_FALSE])
  37427. +m4trace:configure.ac:9: -1- m4_pattern_allow([^AMDEP_FALSE$])
  37428. +m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
  37429. +m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
  37430. +m4trace:configure.ac:9: -1- AC_SUBST([AMDEPBACKSLASH])
  37431. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
  37432. +m4trace:configure.ac:9: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
  37433. +m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
  37434. +m4trace:configure.ac:9: -1- AC_SUBST([am__nodep])
  37435. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([am__nodep])
  37436. +m4trace:configure.ac:9: -1- m4_pattern_allow([^am__nodep$])
  37437. +m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([am__nodep])
  37438. +m4trace:configure.ac:9: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
  37439. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CCDEPMODE])
  37440. +m4trace:configure.ac:9: -1- m4_pattern_allow([^CCDEPMODE$])
  37441. +m4trace:configure.ac:9: -1- AM_CONDITIONAL([am__fastdepCC], [
  37442. + test "x$enable_dependency_tracking" != xno \
  37443. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  37444. +m4trace:configure.ac:9: -1- AC_SUBST([am__fastdepCC_TRUE])
  37445. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
  37446. +m4trace:configure.ac:9: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  37447. +m4trace:configure.ac:9: -1- AC_SUBST([am__fastdepCC_FALSE])
  37448. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
  37449. +m4trace:configure.ac:9: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  37450. +m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  37451. +m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  37452. +m4trace:configure.ac:9: -1- AC_SUBST([AR])
  37453. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AR])
  37454. +m4trace:configure.ac:9: -1- m4_pattern_allow([^AR$])
  37455. +m4trace:configure.ac:11: -1- AM_SILENT_RULES([yes])
  37456. +m4trace:configure.ac:11: -1- AC_SUBST([AM_V])
  37457. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AM_V])
  37458. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_V$])
  37459. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_V])
  37460. +m4trace:configure.ac:11: -1- AC_SUBST([AM_DEFAULT_V])
  37461. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AM_DEFAULT_V])
  37462. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_DEFAULT_V$])
  37463. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
  37464. +m4trace:configure.ac:11: -1- AC_SUBST([AM_DEFAULT_VERBOSITY])
  37465. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AM_DEFAULT_VERBOSITY])
  37466. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
  37467. +m4trace:configure.ac:11: -1- AC_SUBST([AM_BACKSLASH])
  37468. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AM_BACKSLASH])
  37469. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_BACKSLASH$])
  37470. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
  37471. +m4trace:configure.ac:14: -1- AC_SUBST([SET_MAKE])
  37472. +m4trace:configure.ac:14: -1- AC_SUBST_TRACE([SET_MAKE])
  37473. +m4trace:configure.ac:14: -1- m4_pattern_allow([^SET_MAKE$])
  37474. +m4trace:configure.ac:15: -1- AC_SUBST([CC])
  37475. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
  37476. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  37477. +m4trace:configure.ac:15: -1- AC_SUBST([CFLAGS])
  37478. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CFLAGS])
  37479. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CFLAGS$])
  37480. +m4trace:configure.ac:15: -1- AC_SUBST([LDFLAGS])
  37481. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LDFLAGS])
  37482. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LDFLAGS$])
  37483. +m4trace:configure.ac:15: -1- AC_SUBST([LIBS])
  37484. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LIBS])
  37485. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBS$])
  37486. +m4trace:configure.ac:15: -1- AC_SUBST([CPPFLAGS])
  37487. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CPPFLAGS])
  37488. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
  37489. +m4trace:configure.ac:15: -1- AC_SUBST([CC])
  37490. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
  37491. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  37492. +m4trace:configure.ac:15: -1- AC_SUBST([CC])
  37493. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
  37494. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  37495. +m4trace:configure.ac:15: -1- AC_SUBST([CC])
  37496. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
  37497. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  37498. +m4trace:configure.ac:15: -1- AC_SUBST([CC])
  37499. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
  37500. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  37501. +m4trace:configure.ac:15: -1- AC_SUBST([ac_ct_CC])
  37502. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([ac_ct_CC])
  37503. +m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_CC$])
  37504. +m4trace:configure.ac:15: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
  37505. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CCDEPMODE])
  37506. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CCDEPMODE$])
  37507. +m4trace:configure.ac:15: -1- AM_CONDITIONAL([am__fastdepCC], [
  37508. + test "x$enable_dependency_tracking" != xno \
  37509. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  37510. +m4trace:configure.ac:15: -1- AC_SUBST([am__fastdepCC_TRUE])
  37511. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
  37512. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  37513. +m4trace:configure.ac:15: -1- AC_SUBST([am__fastdepCC_FALSE])
  37514. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
  37515. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  37516. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  37517. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  37518. +m4trace:configure.ac:18: -1- AC_PROG_LIBTOOL
  37519. +m4trace:configure.ac:18: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
  37520. +You should run autoupdate.], [m4/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
  37521. +configure.ac:18: the top level])
  37522. +m4trace:configure.ac:18: -1- LT_INIT
  37523. +m4trace:configure.ac:18: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
  37524. +m4trace:configure.ac:18: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
  37525. +m4trace:configure.ac:18: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
  37526. +m4trace:configure.ac:18: -1- AC_SUBST([LIBTOOL])
  37527. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([LIBTOOL])
  37528. +m4trace:configure.ac:18: -1- m4_pattern_allow([^LIBTOOL$])
  37529. +m4trace:configure.ac:18: -1- AC_CANONICAL_HOST
  37530. +m4trace:configure.ac:18: -1- AC_CANONICAL_BUILD
  37531. +m4trace:configure.ac:18: -1- AC_REQUIRE_AUX_FILE([config.sub])
  37532. +m4trace:configure.ac:18: -1- AC_REQUIRE_AUX_FILE([config.guess])
  37533. +m4trace:configure.ac:18: -1- AC_SUBST([build], [$ac_cv_build])
  37534. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([build])
  37535. +m4trace:configure.ac:18: -1- m4_pattern_allow([^build$])
  37536. +m4trace:configure.ac:18: -1- AC_SUBST([build_cpu], [$[1]])
  37537. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([build_cpu])
  37538. +m4trace:configure.ac:18: -1- m4_pattern_allow([^build_cpu$])
  37539. +m4trace:configure.ac:18: -1- AC_SUBST([build_vendor], [$[2]])
  37540. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([build_vendor])
  37541. +m4trace:configure.ac:18: -1- m4_pattern_allow([^build_vendor$])
  37542. +m4trace:configure.ac:18: -1- AC_SUBST([build_os])
  37543. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([build_os])
  37544. +m4trace:configure.ac:18: -1- m4_pattern_allow([^build_os$])
  37545. +m4trace:configure.ac:18: -1- AC_SUBST([host], [$ac_cv_host])
  37546. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([host])
  37547. +m4trace:configure.ac:18: -1- m4_pattern_allow([^host$])
  37548. +m4trace:configure.ac:18: -1- AC_SUBST([host_cpu], [$[1]])
  37549. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([host_cpu])
  37550. +m4trace:configure.ac:18: -1- m4_pattern_allow([^host_cpu$])
  37551. +m4trace:configure.ac:18: -1- AC_SUBST([host_vendor], [$[2]])
  37552. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([host_vendor])
  37553. +m4trace:configure.ac:18: -1- m4_pattern_allow([^host_vendor$])
  37554. +m4trace:configure.ac:18: -1- AC_SUBST([host_os])
  37555. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([host_os])
  37556. +m4trace:configure.ac:18: -1- m4_pattern_allow([^host_os$])
  37557. +m4trace:configure.ac:18: -1- AC_SUBST([SED])
  37558. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([SED])
  37559. +m4trace:configure.ac:18: -1- m4_pattern_allow([^SED$])
  37560. +m4trace:configure.ac:18: -1- AC_SUBST([GREP])
  37561. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([GREP])
  37562. +m4trace:configure.ac:18: -1- m4_pattern_allow([^GREP$])
  37563. +m4trace:configure.ac:18: -1- AC_SUBST([EGREP])
  37564. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([EGREP])
  37565. +m4trace:configure.ac:18: -1- m4_pattern_allow([^EGREP$])
  37566. +m4trace:configure.ac:18: -1- AC_SUBST([FGREP])
  37567. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([FGREP])
  37568. +m4trace:configure.ac:18: -1- m4_pattern_allow([^FGREP$])
  37569. +m4trace:configure.ac:18: -1- AC_SUBST([GREP])
  37570. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([GREP])
  37571. +m4trace:configure.ac:18: -1- m4_pattern_allow([^GREP$])
  37572. +m4trace:configure.ac:18: -1- AC_SUBST([LD])
  37573. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([LD])
  37574. +m4trace:configure.ac:18: -1- m4_pattern_allow([^LD$])
  37575. +m4trace:configure.ac:18: -1- AC_SUBST([DUMPBIN])
  37576. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([DUMPBIN])
  37577. +m4trace:configure.ac:18: -1- m4_pattern_allow([^DUMPBIN$])
  37578. +m4trace:configure.ac:18: -1- AC_SUBST([ac_ct_DUMPBIN])
  37579. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN])
  37580. +m4trace:configure.ac:18: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
  37581. +m4trace:configure.ac:18: -1- AC_SUBST([DUMPBIN])
  37582. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([DUMPBIN])
  37583. +m4trace:configure.ac:18: -1- m4_pattern_allow([^DUMPBIN$])
  37584. +m4trace:configure.ac:18: -1- AC_SUBST([NM])
  37585. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([NM])
  37586. +m4trace:configure.ac:18: -1- m4_pattern_allow([^NM$])
  37587. +m4trace:configure.ac:18: -1- AC_SUBST([LN_S], [$as_ln_s])
  37588. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([LN_S])
  37589. +m4trace:configure.ac:18: -1- m4_pattern_allow([^LN_S$])
  37590. +m4trace:configure.ac:18: -1- AC_SUBST([OBJDUMP])
  37591. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([OBJDUMP])
  37592. +m4trace:configure.ac:18: -1- m4_pattern_allow([^OBJDUMP$])
  37593. +m4trace:configure.ac:18: -1- AC_SUBST([OBJDUMP])
  37594. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([OBJDUMP])
  37595. +m4trace:configure.ac:18: -1- m4_pattern_allow([^OBJDUMP$])
  37596. +m4trace:configure.ac:18: -1- AC_SUBST([DLLTOOL])
  37597. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([DLLTOOL])
  37598. +m4trace:configure.ac:18: -1- m4_pattern_allow([^DLLTOOL$])
  37599. +m4trace:configure.ac:18: -1- AC_SUBST([DLLTOOL])
  37600. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([DLLTOOL])
  37601. +m4trace:configure.ac:18: -1- m4_pattern_allow([^DLLTOOL$])
  37602. +m4trace:configure.ac:18: -1- AC_SUBST([AR])
  37603. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([AR])
  37604. +m4trace:configure.ac:18: -1- m4_pattern_allow([^AR$])
  37605. +m4trace:configure.ac:18: -1- AC_SUBST([ac_ct_AR])
  37606. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([ac_ct_AR])
  37607. +m4trace:configure.ac:18: -1- m4_pattern_allow([^ac_ct_AR$])
  37608. +m4trace:configure.ac:18: -1- AC_SUBST([STRIP])
  37609. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([STRIP])
  37610. +m4trace:configure.ac:18: -1- m4_pattern_allow([^STRIP$])
  37611. +m4trace:configure.ac:18: -1- AC_SUBST([RANLIB])
  37612. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([RANLIB])
  37613. +m4trace:configure.ac:18: -1- m4_pattern_allow([^RANLIB$])
  37614. +m4trace:configure.ac:18: -1- m4_pattern_allow([LT_OBJDIR])
  37615. +m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR])
  37616. +m4trace:configure.ac:18: -1- m4_pattern_allow([^LT_OBJDIR$])
  37617. +m4trace:configure.ac:18: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory in which libtool stores uninstalled libraries.
  37618. + */
  37619. +@%:@undef LT_OBJDIR])
  37620. +m4trace:configure.ac:18: -1- LT_SUPPORTED_TAG([CC])
  37621. +m4trace:configure.ac:18: -1- AC_SUBST([MANIFEST_TOOL])
  37622. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([MANIFEST_TOOL])
  37623. +m4trace:configure.ac:18: -1- m4_pattern_allow([^MANIFEST_TOOL$])
  37624. +m4trace:configure.ac:18: -1- AC_SUBST([DSYMUTIL])
  37625. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([DSYMUTIL])
  37626. +m4trace:configure.ac:18: -1- m4_pattern_allow([^DSYMUTIL$])
  37627. +m4trace:configure.ac:18: -1- AC_SUBST([NMEDIT])
  37628. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([NMEDIT])
  37629. +m4trace:configure.ac:18: -1- m4_pattern_allow([^NMEDIT$])
  37630. +m4trace:configure.ac:18: -1- AC_SUBST([LIPO])
  37631. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([LIPO])
  37632. +m4trace:configure.ac:18: -1- m4_pattern_allow([^LIPO$])
  37633. +m4trace:configure.ac:18: -1- AC_SUBST([OTOOL])
  37634. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([OTOOL])
  37635. +m4trace:configure.ac:18: -1- m4_pattern_allow([^OTOOL$])
  37636. +m4trace:configure.ac:18: -1- AC_SUBST([OTOOL64])
  37637. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([OTOOL64])
  37638. +m4trace:configure.ac:18: -1- m4_pattern_allow([^OTOOL64$])
  37639. +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
  37640. +@%:@undef HAVE_DLFCN_H])
  37641. +m4trace:configure.ac:18: -1- AC_SUBST([CPP])
  37642. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([CPP])
  37643. +m4trace:configure.ac:18: -1- m4_pattern_allow([^CPP$])
  37644. +m4trace:configure.ac:18: -1- AC_SUBST([CPPFLAGS])
  37645. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([CPPFLAGS])
  37646. +m4trace:configure.ac:18: -1- m4_pattern_allow([^CPPFLAGS$])
  37647. +m4trace:configure.ac:18: -1- AC_SUBST([CPP])
  37648. +m4trace:configure.ac:18: -1- AC_SUBST_TRACE([CPP])
  37649. +m4trace:configure.ac:18: -1- m4_pattern_allow([^CPP$])
  37650. +m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
  37651. +m4trace:configure.ac:18: -1- m4_pattern_allow([^STDC_HEADERS$])
  37652. +m4trace:configure.ac:18: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
  37653. +@%:@undef STDC_HEADERS])
  37654. +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
  37655. +@%:@undef HAVE_SYS_TYPES_H])
  37656. +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
  37657. +@%:@undef HAVE_SYS_STAT_H])
  37658. +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
  37659. +@%:@undef HAVE_STDLIB_H])
  37660. +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
  37661. +@%:@undef HAVE_STRING_H])
  37662. +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
  37663. +@%:@undef HAVE_MEMORY_H])
  37664. +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
  37665. +@%:@undef HAVE_STRINGS_H])
  37666. +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
  37667. +@%:@undef HAVE_INTTYPES_H])
  37668. +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
  37669. +@%:@undef HAVE_STDINT_H])
  37670. +m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  37671. +@%:@undef HAVE_UNISTD_H])
  37672. +m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
  37673. +m4trace:configure.ac:18: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
  37674. +m4trace:configure.ac:22: -1- AC_SUBST([libdl_LIBS])
  37675. +m4trace:configure.ac:22: -1- AC_SUBST_TRACE([libdl_LIBS])
  37676. +m4trace:configure.ac:22: -1- m4_pattern_allow([^libdl_LIBS$])
  37677. +m4trace:configure.ac:24: -1- AC_SUBST([libpcap_LIBS])
  37678. +m4trace:configure.ac:24: -1- AC_SUBST_TRACE([libpcap_LIBS])
  37679. +m4trace:configure.ac:24: -1- m4_pattern_allow([^libpcap_LIBS$])
  37680. +m4trace:configure.ac:25: -1- AM_CONDITIONAL([HAVE_PCAP], [test -n "$libpcap_LIBS"])
  37681. +m4trace:configure.ac:25: -1- AC_SUBST([HAVE_PCAP_TRUE])
  37682. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([HAVE_PCAP_TRUE])
  37683. +m4trace:configure.ac:25: -1- m4_pattern_allow([^HAVE_PCAP_TRUE$])
  37684. +m4trace:configure.ac:25: -1- AC_SUBST([HAVE_PCAP_FALSE])
  37685. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([HAVE_PCAP_FALSE])
  37686. +m4trace:configure.ac:25: -1- m4_pattern_allow([^HAVE_PCAP_FALSE$])
  37687. +m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([HAVE_PCAP_TRUE])
  37688. +m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([HAVE_PCAP_FALSE])
  37689. +m4trace:configure.ac:33: -1- AH_OUTPUT([HAVE_DIRENT_H], [/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR\'.
  37690. + */
  37691. +@%:@undef HAVE_DIRENT_H])
  37692. +m4trace:configure.ac:33: -1- AH_OUTPUT([HAVE_SYS_NDIR_H], [/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR\'.
  37693. + */
  37694. +@%:@undef HAVE_SYS_NDIR_H])
  37695. +m4trace:configure.ac:33: -1- AH_OUTPUT([HAVE_SYS_DIR_H], [/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR\'.
  37696. + */
  37697. +@%:@undef HAVE_SYS_DIR_H])
  37698. +m4trace:configure.ac:33: -1- AH_OUTPUT([HAVE_NDIR_H], [/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR\'. */
  37699. +@%:@undef HAVE_NDIR_H])
  37700. +m4trace:configure.ac:34: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
  37701. +m4trace:configure.ac:34: -1- m4_pattern_allow([^STDC_HEADERS$])
  37702. +m4trace:configure.ac:34: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
  37703. +@%:@undef STDC_HEADERS])
  37704. +m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
  37705. +@%:@undef HAVE_FCNTL_H])
  37706. +m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  37707. +@%:@undef HAVE_UNISTD_H])
  37708. +m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_SYS_QUEUE_H], [/* Define to 1 if you have the <sys/queue.h> header file. */
  37709. +@%:@undef HAVE_SYS_QUEUE_H])
  37710. +m4trace:configure.ac:38: -1- AC_DEFINE_TRACE_LITERAL([const])
  37711. +m4trace:configure.ac:38: -1- m4_pattern_allow([^const$])
  37712. +m4trace:configure.ac:38: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
  37713. +@%:@undef const])
  37714. +m4trace:configure.ac:39: -1- AC_DEFINE_TRACE_LITERAL([size_t])
  37715. +m4trace:configure.ac:39: -1- m4_pattern_allow([^size_t$])
  37716. +m4trace:configure.ac:39: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
  37717. +@%:@undef size_t])
  37718. +m4trace:configure.ac:40: -1- AC_DEFINE_TRACE_LITERAL([TM_IN_SYS_TIME])
  37719. +m4trace:configure.ac:40: -1- m4_pattern_allow([^TM_IN_SYS_TIME$])
  37720. +m4trace:configure.ac:40: -1- AH_OUTPUT([TM_IN_SYS_TIME], [/* Define to 1 if your <sys/time.h> declares `struct tm\'. */
  37721. +@%:@undef TM_IN_SYS_TIME])
  37722. +m4trace:configure.ac:41: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS])
  37723. +m4trace:configure.ac:41: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$])
  37724. +m4trace:configure.ac:41: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */
  37725. +@%:@undef _FILE_OFFSET_BITS])
  37726. +m4trace:configure.ac:41: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES])
  37727. +m4trace:configure.ac:41: -1- m4_pattern_allow([^_LARGE_FILES$])
  37728. +m4trace:configure.ac:41: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */
  37729. +@%:@undef _LARGE_FILES])
  37730. +m4trace:configure.ac:44: -1- AH_OUTPUT([HAVE_VPRINTF], [/* Define to 1 if you have the `vprintf\' function. */
  37731. +@%:@undef HAVE_VPRINTF])
  37732. +m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VPRINTF])
  37733. +m4trace:configure.ac:44: -1- m4_pattern_allow([^HAVE_VPRINTF$])
  37734. +m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DOPRNT])
  37735. +m4trace:configure.ac:44: -1- m4_pattern_allow([^HAVE_DOPRNT$])
  37736. +m4trace:configure.ac:44: -1- AH_OUTPUT([HAVE_DOPRNT], [/* Define to 1 if you don\'t have `vprintf\' but do have `_doprnt.\' */
  37737. +@%:@undef HAVE_DOPRNT])
  37738. +m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the `socket\' function. */
  37739. +@%:@undef HAVE_SOCKET])
  37740. +m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */
  37741. +@%:@undef HAVE_STRERROR])
  37742. +m4trace:configure.ac:48: -1- AC_SUBST([regular_CFLAGS])
  37743. +m4trace:configure.ac:48: -1- AC_SUBST_TRACE([regular_CFLAGS])
  37744. +m4trace:configure.ac:48: -1- m4_pattern_allow([^regular_CFLAGS$])
  37745. +m4trace:configure.ac:51: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
  37746. +m4trace:configure.ac:51: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
  37747. +m4trace:configure.ac:51: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
  37748. +m4trace:configure.ac:51: -1- AC_SUBST([PKG_CONFIG])
  37749. +m4trace:configure.ac:51: -1- AC_SUBST_TRACE([PKG_CONFIG])
  37750. +m4trace:configure.ac:51: -1- m4_pattern_allow([^PKG_CONFIG$])
  37751. +m4trace:configure.ac:51: -1- AC_SUBST([PKG_CONFIG_PATH])
  37752. +m4trace:configure.ac:51: -1- AC_SUBST_TRACE([PKG_CONFIG_PATH])
  37753. +m4trace:configure.ac:51: -1- m4_pattern_allow([^PKG_CONFIG_PATH$])
  37754. +m4trace:configure.ac:51: -1- AC_SUBST([PKG_CONFIG_LIBDIR])
  37755. +m4trace:configure.ac:51: -1- AC_SUBST_TRACE([PKG_CONFIG_LIBDIR])
  37756. +m4trace:configure.ac:51: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$])
  37757. +m4trace:configure.ac:51: -1- AC_SUBST([PKG_CONFIG])
  37758. +m4trace:configure.ac:51: -1- AC_SUBST_TRACE([PKG_CONFIG])
  37759. +m4trace:configure.ac:51: -1- m4_pattern_allow([^PKG_CONFIG$])
  37760. +m4trace:configure.ac:51: -1- AC_SUBST([LIBNFNETLINK_CFLAGS])
  37761. +m4trace:configure.ac:51: -1- AC_SUBST_TRACE([LIBNFNETLINK_CFLAGS])
  37762. +m4trace:configure.ac:51: -1- m4_pattern_allow([^LIBNFNETLINK_CFLAGS$])
  37763. +m4trace:configure.ac:51: -1- AC_SUBST([LIBNFNETLINK_LIBS])
  37764. +m4trace:configure.ac:51: -1- AC_SUBST_TRACE([LIBNFNETLINK_LIBS])
  37765. +m4trace:configure.ac:51: -1- m4_pattern_allow([^LIBNFNETLINK_LIBS$])
  37766. +m4trace:configure.ac:52: -1- AC_SUBST([LIBMNL_CFLAGS])
  37767. +m4trace:configure.ac:52: -1- AC_SUBST_TRACE([LIBMNL_CFLAGS])
  37768. +m4trace:configure.ac:52: -1- m4_pattern_allow([^LIBMNL_CFLAGS$])
  37769. +m4trace:configure.ac:52: -1- AC_SUBST([LIBMNL_LIBS])
  37770. +m4trace:configure.ac:52: -1- AC_SUBST_TRACE([LIBMNL_LIBS])
  37771. +m4trace:configure.ac:52: -1- m4_pattern_allow([^LIBMNL_LIBS$])
  37772. +m4trace:configure.ac:55: -1- AC_SUBST([LIBNETFILTER_LOG_CFLAGS])
  37773. +m4trace:configure.ac:55: -1- AC_SUBST_TRACE([LIBNETFILTER_LOG_CFLAGS])
  37774. +m4trace:configure.ac:55: -1- m4_pattern_allow([^LIBNETFILTER_LOG_CFLAGS$])
  37775. +m4trace:configure.ac:55: -1- AC_SUBST([LIBNETFILTER_LOG_LIBS])
  37776. +m4trace:configure.ac:55: -1- AC_SUBST_TRACE([LIBNETFILTER_LOG_LIBS])
  37777. +m4trace:configure.ac:55: -1- m4_pattern_allow([^LIBNETFILTER_LOG_LIBS$])
  37778. +m4trace:configure.ac:55: -1- AC_DEFINE_TRACE_LITERAL([BUILD_NFLOG])
  37779. +m4trace:configure.ac:55: -1- m4_pattern_allow([^BUILD_NFLOG$])
  37780. +m4trace:configure.ac:55: -1- AH_OUTPUT([BUILD_NFLOG], [/* Building nflog module */
  37781. +@%:@undef BUILD_NFLOG])
  37782. +m4trace:configure.ac:59: -1- AM_CONDITIONAL([BUILD_NFLOG], [test "x$enable_nflog" = "xyes"])
  37783. +m4trace:configure.ac:59: -1- AC_SUBST([BUILD_NFLOG_TRUE])
  37784. +m4trace:configure.ac:59: -1- AC_SUBST_TRACE([BUILD_NFLOG_TRUE])
  37785. +m4trace:configure.ac:59: -1- m4_pattern_allow([^BUILD_NFLOG_TRUE$])
  37786. +m4trace:configure.ac:59: -1- AC_SUBST([BUILD_NFLOG_FALSE])
  37787. +m4trace:configure.ac:59: -1- AC_SUBST_TRACE([BUILD_NFLOG_FALSE])
  37788. +m4trace:configure.ac:59: -1- m4_pattern_allow([^BUILD_NFLOG_FALSE$])
  37789. +m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([BUILD_NFLOG_TRUE])
  37790. +m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([BUILD_NFLOG_FALSE])
  37791. +m4trace:configure.ac:62: -1- AC_SUBST([LIBNETFILTER_CONNTRACK_CFLAGS])
  37792. +m4trace:configure.ac:62: -1- AC_SUBST_TRACE([LIBNETFILTER_CONNTRACK_CFLAGS])
  37793. +m4trace:configure.ac:62: -1- m4_pattern_allow([^LIBNETFILTER_CONNTRACK_CFLAGS$])
  37794. +m4trace:configure.ac:62: -1- AC_SUBST([LIBNETFILTER_CONNTRACK_LIBS])
  37795. +m4trace:configure.ac:62: -1- AC_SUBST_TRACE([LIBNETFILTER_CONNTRACK_LIBS])
  37796. +m4trace:configure.ac:62: -1- m4_pattern_allow([^LIBNETFILTER_CONNTRACK_LIBS$])
  37797. +m4trace:configure.ac:62: -1- AC_DEFINE_TRACE_LITERAL([BUILD_NFCT])
  37798. +m4trace:configure.ac:62: -1- m4_pattern_allow([^BUILD_NFCT$])
  37799. +m4trace:configure.ac:62: -1- AH_OUTPUT([BUILD_NFCT], [/* Building nfct module */
  37800. +@%:@undef BUILD_NFCT])
  37801. +m4trace:configure.ac:66: -1- AM_CONDITIONAL([BUILD_NFCT], [test "x$enable_nfct" = "xyes"])
  37802. +m4trace:configure.ac:66: -1- AC_SUBST([BUILD_NFCT_TRUE])
  37803. +m4trace:configure.ac:66: -1- AC_SUBST_TRACE([BUILD_NFCT_TRUE])
  37804. +m4trace:configure.ac:66: -1- m4_pattern_allow([^BUILD_NFCT_TRUE$])
  37805. +m4trace:configure.ac:66: -1- AC_SUBST([BUILD_NFCT_FALSE])
  37806. +m4trace:configure.ac:66: -1- AC_SUBST_TRACE([BUILD_NFCT_FALSE])
  37807. +m4trace:configure.ac:66: -1- m4_pattern_allow([^BUILD_NFCT_FALSE$])
  37808. +m4trace:configure.ac:66: -1- _AM_SUBST_NOTMAKE([BUILD_NFCT_TRUE])
  37809. +m4trace:configure.ac:66: -1- _AM_SUBST_NOTMAKE([BUILD_NFCT_FALSE])
  37810. +m4trace:configure.ac:69: -1- AC_SUBST([LIBNETFILTER_ACCT_CFLAGS])
  37811. +m4trace:configure.ac:69: -1- AC_SUBST_TRACE([LIBNETFILTER_ACCT_CFLAGS])
  37812. +m4trace:configure.ac:69: -1- m4_pattern_allow([^LIBNETFILTER_ACCT_CFLAGS$])
  37813. +m4trace:configure.ac:69: -1- AC_SUBST([LIBNETFILTER_ACCT_LIBS])
  37814. +m4trace:configure.ac:69: -1- AC_SUBST_TRACE([LIBNETFILTER_ACCT_LIBS])
  37815. +m4trace:configure.ac:69: -1- m4_pattern_allow([^LIBNETFILTER_ACCT_LIBS$])
  37816. +m4trace:configure.ac:69: -1- AC_DEFINE_TRACE_LITERAL([BUILD_NFACCT])
  37817. +m4trace:configure.ac:69: -1- m4_pattern_allow([^BUILD_NFACCT$])
  37818. +m4trace:configure.ac:69: -1- AH_OUTPUT([BUILD_NFACCT], [/* Building nfacct module */
  37819. +@%:@undef BUILD_NFACCT])
  37820. +m4trace:configure.ac:73: -1- AM_CONDITIONAL([BUILD_NFACCT], [test "x$enable_nfacct" = "xyes"])
  37821. +m4trace:configure.ac:73: -1- AC_SUBST([BUILD_NFACCT_TRUE])
  37822. +m4trace:configure.ac:73: -1- AC_SUBST_TRACE([BUILD_NFACCT_TRUE])
  37823. +m4trace:configure.ac:73: -1- m4_pattern_allow([^BUILD_NFACCT_TRUE$])
  37824. +m4trace:configure.ac:73: -1- AC_SUBST([BUILD_NFACCT_FALSE])
  37825. +m4trace:configure.ac:73: -1- AC_SUBST_TRACE([BUILD_NFACCT_FALSE])
  37826. +m4trace:configure.ac:73: -1- m4_pattern_allow([^BUILD_NFACCT_FALSE$])
  37827. +m4trace:configure.ac:73: -1- _AM_SUBST_NOTMAKE([BUILD_NFACCT_TRUE])
  37828. +m4trace:configure.ac:73: -1- _AM_SUBST_NOTMAKE([BUILD_NFACCT_FALSE])
  37829. +m4trace:configure.ac:75: -1- AC_SUBST([PQINCPATH])
  37830. +m4trace:configure.ac:75: -1- AC_SUBST_TRACE([PQINCPATH])
  37831. +m4trace:configure.ac:75: -1- m4_pattern_allow([^PQINCPATH$])
  37832. +m4trace:configure.ac:75: -1- AC_SUBST([PQLIBPATH])
  37833. +m4trace:configure.ac:75: -1- AC_SUBST_TRACE([PQLIBPATH])
  37834. +m4trace:configure.ac:75: -1- m4_pattern_allow([^PQLIBPATH$])
  37835. +m4trace:configure.ac:75: -1- AC_SUBST([PQLIBS])
  37836. +m4trace:configure.ac:75: -1- AC_SUBST_TRACE([PQLIBS])
  37837. +m4trace:configure.ac:75: -1- m4_pattern_allow([^PQLIBS$])
  37838. +m4trace:configure.ac:75: -1- AH_OUTPUT([HAVE_LIBPQ], [/* Define to 1 if you have the `pq\' library (-lpq). */
  37839. +@%:@undef HAVE_LIBPQ])
  37840. +m4trace:configure.ac:75: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPQ])
  37841. +m4trace:configure.ac:75: -1- m4_pattern_allow([^HAVE_LIBPQ$])
  37842. +m4trace:configure.ac:76: -1- AM_CONDITIONAL([HAVE_PGSQL], [test "x$PQLIBPATH" != "x"])
  37843. +m4trace:configure.ac:76: -1- AC_SUBST([HAVE_PGSQL_TRUE])
  37844. +m4trace:configure.ac:76: -1- AC_SUBST_TRACE([HAVE_PGSQL_TRUE])
  37845. +m4trace:configure.ac:76: -1- m4_pattern_allow([^HAVE_PGSQL_TRUE$])
  37846. +m4trace:configure.ac:76: -1- AC_SUBST([HAVE_PGSQL_FALSE])
  37847. +m4trace:configure.ac:76: -1- AC_SUBST_TRACE([HAVE_PGSQL_FALSE])
  37848. +m4trace:configure.ac:76: -1- m4_pattern_allow([^HAVE_PGSQL_FALSE$])
  37849. +m4trace:configure.ac:76: -1- _AM_SUBST_NOTMAKE([HAVE_PGSQL_TRUE])
  37850. +m4trace:configure.ac:76: -1- _AM_SUBST_NOTMAKE([HAVE_PGSQL_FALSE])
  37851. +m4trace:configure.ac:83: -1- AC_SUBST([MYSQL_INC])
  37852. +m4trace:configure.ac:83: -1- AC_SUBST_TRACE([MYSQL_INC])
  37853. +m4trace:configure.ac:83: -1- m4_pattern_allow([^MYSQL_INC$])
  37854. +m4trace:configure.ac:83: -1- AC_SUBST([MYSQL_LIB])
  37855. +m4trace:configure.ac:83: -1- AC_SUBST_TRACE([MYSQL_LIB])
  37856. +m4trace:configure.ac:83: -1- m4_pattern_allow([^MYSQL_LIB$])
  37857. +m4trace:configure.ac:83: -1- AH_OUTPUT([HAVE_LIBMYSQLCLIENT], [/* Define to 1 if you have the `mysqlclient\' library (-lmysqlclient). */
  37858. +@%:@undef HAVE_LIBMYSQLCLIENT])
  37859. +m4trace:configure.ac:83: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBMYSQLCLIENT])
  37860. +m4trace:configure.ac:83: -1- m4_pattern_allow([^HAVE_LIBMYSQLCLIENT$])
  37861. +m4trace:configure.ac:84: -1- AM_CONDITIONAL([HAVE_MYSQL], [test "x$MYSQL_LIB" != "x"])
  37862. +m4trace:configure.ac:84: -1- AC_SUBST([HAVE_MYSQL_TRUE])
  37863. +m4trace:configure.ac:84: -1- AC_SUBST_TRACE([HAVE_MYSQL_TRUE])
  37864. +m4trace:configure.ac:84: -1- m4_pattern_allow([^HAVE_MYSQL_TRUE$])
  37865. +m4trace:configure.ac:84: -1- AC_SUBST([HAVE_MYSQL_FALSE])
  37866. +m4trace:configure.ac:84: -1- AC_SUBST_TRACE([HAVE_MYSQL_FALSE])
  37867. +m4trace:configure.ac:84: -1- m4_pattern_allow([^HAVE_MYSQL_FALSE$])
  37868. +m4trace:configure.ac:84: -1- _AM_SUBST_NOTMAKE([HAVE_MYSQL_TRUE])
  37869. +m4trace:configure.ac:84: -1- _AM_SUBST_NOTMAKE([HAVE_MYSQL_FALSE])
  37870. +m4trace:configure.ac:91: -1- AC_SUBST([libsqlite3_CFLAGS])
  37871. +m4trace:configure.ac:91: -1- AC_SUBST_TRACE([libsqlite3_CFLAGS])
  37872. +m4trace:configure.ac:91: -1- m4_pattern_allow([^libsqlite3_CFLAGS$])
  37873. +m4trace:configure.ac:91: -1- AC_SUBST([libsqlite3_LIBS])
  37874. +m4trace:configure.ac:91: -1- AC_SUBST_TRACE([libsqlite3_LIBS])
  37875. +m4trace:configure.ac:91: -1- m4_pattern_allow([^libsqlite3_LIBS$])
  37876. +m4trace:configure.ac:92: -1- AM_CONDITIONAL([HAVE_SQLITE3], [test -n "$libsqlite3_LIBS"])
  37877. +m4trace:configure.ac:92: -1- AC_SUBST([HAVE_SQLITE3_TRUE])
  37878. +m4trace:configure.ac:92: -1- AC_SUBST_TRACE([HAVE_SQLITE3_TRUE])
  37879. +m4trace:configure.ac:92: -1- m4_pattern_allow([^HAVE_SQLITE3_TRUE$])
  37880. +m4trace:configure.ac:92: -1- AC_SUBST([HAVE_SQLITE3_FALSE])
  37881. +m4trace:configure.ac:92: -1- AC_SUBST_TRACE([HAVE_SQLITE3_FALSE])
  37882. +m4trace:configure.ac:92: -1- m4_pattern_allow([^HAVE_SQLITE3_FALSE$])
  37883. +m4trace:configure.ac:92: -1- _AM_SUBST_NOTMAKE([HAVE_SQLITE3_TRUE])
  37884. +m4trace:configure.ac:92: -1- _AM_SUBST_NOTMAKE([HAVE_SQLITE3_FALSE])
  37885. +m4trace:configure.ac:99: -1- AC_SUBST([DBI_INC])
  37886. +m4trace:configure.ac:99: -1- AC_SUBST_TRACE([DBI_INC])
  37887. +m4trace:configure.ac:99: -1- m4_pattern_allow([^DBI_INC$])
  37888. +m4trace:configure.ac:99: -1- AC_SUBST([DBI_LIB])
  37889. +m4trace:configure.ac:99: -1- AC_SUBST_TRACE([DBI_LIB])
  37890. +m4trace:configure.ac:99: -1- m4_pattern_allow([^DBI_LIB$])
  37891. +m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_LIBDBI], [/* Define to 1 if you have the `dbi\' library (-ldbi). */
  37892. +@%:@undef HAVE_LIBDBI])
  37893. +m4trace:configure.ac:99: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDBI])
  37894. +m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_LIBDBI$])
  37895. +m4trace:configure.ac:100: -1- AM_CONDITIONAL([HAVE_DBI], [test "x$DBI_LIB" != "x"])
  37896. +m4trace:configure.ac:100: -1- AC_SUBST([HAVE_DBI_TRUE])
  37897. +m4trace:configure.ac:100: -1- AC_SUBST_TRACE([HAVE_DBI_TRUE])
  37898. +m4trace:configure.ac:100: -1- m4_pattern_allow([^HAVE_DBI_TRUE$])
  37899. +m4trace:configure.ac:100: -1- AC_SUBST([HAVE_DBI_FALSE])
  37900. +m4trace:configure.ac:100: -1- AC_SUBST_TRACE([HAVE_DBI_FALSE])
  37901. +m4trace:configure.ac:100: -1- m4_pattern_allow([^HAVE_DBI_FALSE$])
  37902. +m4trace:configure.ac:100: -1- _AM_SUBST_NOTMAKE([HAVE_DBI_TRUE])
  37903. +m4trace:configure.ac:100: -1- _AM_SUBST_NOTMAKE([HAVE_DBI_FALSE])
  37904. +m4trace:configure.ac:119: -1- AC_CONFIG_FILES([include/Makefile include/ulogd/Makefile include/libipulog/Makefile \
  37905. + include/linux/Makefile include/linux/netfilter/Makefile \
  37906. + libipulog/Makefile \
  37907. + input/Makefile input/packet/Makefile input/flow/Makefile \
  37908. + input/sum/Makefile \
  37909. + filter/Makefile filter/raw2packet/Makefile filter/packet2flow/Makefile \
  37910. + output/Makefile output/pcap/Makefile output/mysql/Makefile output/pgsql/Makefile output/sqlite3/Makefile \
  37911. + output/dbi/Makefile \
  37912. + src/Makefile Makefile Rules.make])
  37913. +m4trace:configure.ac:128: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
  37914. +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
  37915. +m4trace:configure.ac:128: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  37916. +m4trace:configure.ac:128: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
  37917. +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([LTLIBOBJS])
  37918. +m4trace:configure.ac:128: -1- m4_pattern_allow([^LTLIBOBJS$])
  37919. +m4trace:configure.ac:128: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
  37920. +m4trace:configure.ac:128: -1- AC_SUBST([am__EXEEXT_TRUE])
  37921. +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
  37922. +m4trace:configure.ac:128: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
  37923. +m4trace:configure.ac:128: -1- AC_SUBST([am__EXEEXT_FALSE])
  37924. +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
  37925. +m4trace:configure.ac:128: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
  37926. +m4trace:configure.ac:128: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
  37927. +m4trace:configure.ac:128: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
  37928. +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([top_builddir])
  37929. +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([top_build_prefix])
  37930. +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([srcdir])
  37931. +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([abs_srcdir])
  37932. +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([top_srcdir])
  37933. +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([abs_top_srcdir])
  37934. +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([builddir])
  37935. +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([abs_builddir])
  37936. +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([abs_top_builddir])
  37937. +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([INSTALL])
  37938. +m4trace:configure.ac:128: -1- AC_SUBST_TRACE([MKDIR_P])
  37939. +m4trace:configure.ac:128: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
  37940. diff -Nur ulogd-2.0.2.orig/config.h.in ulogd-2.0.2/config.h.in
  37941. --- ulogd-2.0.2.orig/config.h.in 2013-03-03 22:19:17.000000000 +0100
  37942. +++ ulogd-2.0.2/config.h.in 2013-08-21 19:34:34.300519880 +0200
  37943. @@ -66,6 +66,9 @@
  37944. */
  37945. #undef HAVE_SYS_NDIR_H
  37946. +/* Define to 1 if you have the <sys/queue.h> header file. */
  37947. +#undef HAVE_SYS_QUEUE_H
  37948. +
  37949. /* Define to 1 if you have the <sys/stat.h> header file. */
  37950. #undef HAVE_SYS_STAT_H
  37951. @@ -112,11 +115,6 @@
  37952. /* Version number of package */
  37953. #undef VERSION
  37954. -/* Enable large inode numbers on Mac OS X 10.5. */
  37955. -#ifndef _DARWIN_USE_64_BIT_INODE
  37956. -# define _DARWIN_USE_64_BIT_INODE 1
  37957. -#endif
  37958. -
  37959. /* Number of bits in a file offset, on hosts where this is settable. */
  37960. #undef _FILE_OFFSET_BITS
  37961. diff -Nur ulogd-2.0.2.orig/config.h.in~ ulogd-2.0.2/config.h.in~
  37962. --- ulogd-2.0.2.orig/config.h.in~ 1970-01-01 01:00:00.000000000 +0100
  37963. +++ ulogd-2.0.2/config.h.in~ 2013-03-03 22:19:17.000000000 +0100
  37964. @@ -0,0 +1,130 @@
  37965. +/* config.h.in. Generated from configure.ac by autoheader. */
  37966. +
  37967. +/* Building nfacct module */
  37968. +#undef BUILD_NFACCT
  37969. +
  37970. +/* Building nfct module */
  37971. +#undef BUILD_NFCT
  37972. +
  37973. +/* Building nflog module */
  37974. +#undef BUILD_NFLOG
  37975. +
  37976. +/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
  37977. + */
  37978. +#undef HAVE_DIRENT_H
  37979. +
  37980. +/* Define to 1 if you have the <dlfcn.h> header file. */
  37981. +#undef HAVE_DLFCN_H
  37982. +
  37983. +/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
  37984. +#undef HAVE_DOPRNT
  37985. +
  37986. +/* Define to 1 if you have the <fcntl.h> header file. */
  37987. +#undef HAVE_FCNTL_H
  37988. +
  37989. +/* Define to 1 if you have the <inttypes.h> header file. */
  37990. +#undef HAVE_INTTYPES_H
  37991. +
  37992. +/* Define to 1 if you have the `dbi' library (-ldbi). */
  37993. +#undef HAVE_LIBDBI
  37994. +
  37995. +/* Define to 1 if you have the `mysqlclient' library (-lmysqlclient). */
  37996. +#undef HAVE_LIBMYSQLCLIENT
  37997. +
  37998. +/* Define to 1 if you have the `pq' library (-lpq). */
  37999. +#undef HAVE_LIBPQ
  38000. +
  38001. +/* Define to 1 if you have the <memory.h> header file. */
  38002. +#undef HAVE_MEMORY_H
  38003. +
  38004. +/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
  38005. +#undef HAVE_NDIR_H
  38006. +
  38007. +/* Define to 1 if you have the `socket' function. */
  38008. +#undef HAVE_SOCKET
  38009. +
  38010. +/* Define to 1 if you have the <stdint.h> header file. */
  38011. +#undef HAVE_STDINT_H
  38012. +
  38013. +/* Define to 1 if you have the <stdlib.h> header file. */
  38014. +#undef HAVE_STDLIB_H
  38015. +
  38016. +/* Define to 1 if you have the `strerror' function. */
  38017. +#undef HAVE_STRERROR
  38018. +
  38019. +/* Define to 1 if you have the <strings.h> header file. */
  38020. +#undef HAVE_STRINGS_H
  38021. +
  38022. +/* Define to 1 if you have the <string.h> header file. */
  38023. +#undef HAVE_STRING_H
  38024. +
  38025. +/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
  38026. + */
  38027. +#undef HAVE_SYS_DIR_H
  38028. +
  38029. +/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
  38030. + */
  38031. +#undef HAVE_SYS_NDIR_H
  38032. +
  38033. +/* Define to 1 if you have the <sys/stat.h> header file. */
  38034. +#undef HAVE_SYS_STAT_H
  38035. +
  38036. +/* Define to 1 if you have the <sys/types.h> header file. */
  38037. +#undef HAVE_SYS_TYPES_H
  38038. +
  38039. +/* Define to 1 if you have the <unistd.h> header file. */
  38040. +#undef HAVE_UNISTD_H
  38041. +
  38042. +/* Define to 1 if you have the `vprintf' function. */
  38043. +#undef HAVE_VPRINTF
  38044. +
  38045. +/* Define to the sub-directory in which libtool stores uninstalled libraries.
  38046. + */
  38047. +#undef LT_OBJDIR
  38048. +
  38049. +/* Name of package */
  38050. +#undef PACKAGE
  38051. +
  38052. +/* Define to the address where bug reports for this package should be sent. */
  38053. +#undef PACKAGE_BUGREPORT
  38054. +
  38055. +/* Define to the full name of this package. */
  38056. +#undef PACKAGE_NAME
  38057. +
  38058. +/* Define to the full name and version of this package. */
  38059. +#undef PACKAGE_STRING
  38060. +
  38061. +/* Define to the one symbol short name of this package. */
  38062. +#undef PACKAGE_TARNAME
  38063. +
  38064. +/* Define to the home page for this package. */
  38065. +#undef PACKAGE_URL
  38066. +
  38067. +/* Define to the version of this package. */
  38068. +#undef PACKAGE_VERSION
  38069. +
  38070. +/* Define to 1 if you have the ANSI C header files. */
  38071. +#undef STDC_HEADERS
  38072. +
  38073. +/* Define to 1 if your <sys/time.h> declares `struct tm'. */
  38074. +#undef TM_IN_SYS_TIME
  38075. +
  38076. +/* Version number of package */
  38077. +#undef VERSION
  38078. +
  38079. +/* Enable large inode numbers on Mac OS X 10.5. */
  38080. +#ifndef _DARWIN_USE_64_BIT_INODE
  38081. +# define _DARWIN_USE_64_BIT_INODE 1
  38082. +#endif
  38083. +
  38084. +/* Number of bits in a file offset, on hosts where this is settable. */
  38085. +#undef _FILE_OFFSET_BITS
  38086. +
  38087. +/* Define for large files, on AIX-style hosts. */
  38088. +#undef _LARGE_FILES
  38089. +
  38090. +/* Define to empty if `const' does not conform to ANSI C. */
  38091. +#undef const
  38092. +
  38093. +/* Define to `unsigned int' if <sys/types.h> does not define. */
  38094. +#undef size_t
  38095. diff -Nur ulogd-2.0.2.orig/config.log ulogd-2.0.2/config.log
  38096. --- ulogd-2.0.2.orig/config.log 1970-01-01 01:00:00.000000000 +0100
  38097. +++ ulogd-2.0.2/config.log 2013-08-21 19:35:22.059919464 +0200
  38098. @@ -0,0 +1,1151 @@
  38099. +This file contains any messages produced by compilers while
  38100. +running configure, to aid debugging if configure makes a mistake.
  38101. +
  38102. +It was created by ulogd configure 2.0.2, which was
  38103. +generated by GNU Autoconf 2.68. Invocation command line was
  38104. +
  38105. + $ ./configure
  38106. +
  38107. +## --------- ##
  38108. +## Platform. ##
  38109. +## --------- ##
  38110. +
  38111. +hostname = hydrogenium
  38112. +uname -m = i686
  38113. +uname -r = 3.5.0-37-generic
  38114. +uname -s = Linux
  38115. +uname -v = #58~precise1-Ubuntu SMP Wed Jul 10 17:51:56 UTC 2013
  38116. +
  38117. +/usr/bin/uname -p = unknown
  38118. +/bin/uname -X = unknown
  38119. +
  38120. +/bin/arch = unknown
  38121. +/usr/bin/arch -k = unknown
  38122. +/usr/convex/getsysinfo = unknown
  38123. +/usr/bin/hostinfo = unknown
  38124. +/bin/machine = unknown
  38125. +/usr/bin/oslevel = unknown
  38126. +/bin/universe = unknown
  38127. +
  38128. +PATH: /usr/lib/lightdm/lightdm
  38129. +PATH: /usr/local/sbin
  38130. +PATH: /usr/local/bin
  38131. +PATH: /usr/sbin
  38132. +PATH: /usr/bin
  38133. +PATH: /sbin
  38134. +PATH: /bin
  38135. +PATH: /usr/games
  38136. +
  38137. +
  38138. +## ----------- ##
  38139. +## Core tests. ##
  38140. +## ----------- ##
  38141. +
  38142. +configure:2388: checking for a BSD-compatible install
  38143. +configure:2456: result: /usr/bin/install -c
  38144. +configure:2467: checking whether build environment is sane
  38145. +configure:2517: result: yes
  38146. +configure:2658: checking for a thread-safe mkdir -p
  38147. +configure:2697: result: /bin/mkdir -p
  38148. +configure:2710: checking for gawk
  38149. +configure:2726: found /usr/bin/gawk
  38150. +configure:2737: result: gawk
  38151. +configure:2748: checking whether make sets $(MAKE)
  38152. +configure:2770: result: yes
  38153. +configure:2845: checking how to create a pax tar archive
  38154. +configure:2858: tar --version
  38155. +tar (GNU tar) 1.26
  38156. +Copyright (C) 2011 Free Software Foundation, Inc.
  38157. +License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
  38158. +This is free software: you are free to change and redistribute it.
  38159. +There is NO WARRANTY, to the extent permitted by law.
  38160. +
  38161. +Written by John Gilmore and Jay Fenlason.
  38162. +configure:2861: $? = 0
  38163. +configure:2901: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar
  38164. +configure:2904: $? = 0
  38165. +configure:2908: tar -xf - <conftest.tar
  38166. +configure:2911: $? = 0
  38167. +configure:2924: result: gnutar
  38168. +configure:2947: checking for style of include used by make
  38169. +configure:2975: result: GNU
  38170. +configure:3046: checking for gcc
  38171. +configure:3062: found /usr/bin/gcc
  38172. +configure:3073: result: gcc
  38173. +configure:3302: checking for C compiler version
  38174. +configure:3311: gcc --version >&5
  38175. +gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
  38176. +Copyright (C) 2011 Free Software Foundation, Inc.
  38177. +This is free software; see the source for copying conditions. There is NO
  38178. +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  38179. +
  38180. +configure:3322: $? = 0
  38181. +configure:3311: gcc -v >&5
  38182. +Using built-in specs.
  38183. +COLLECT_GCC=gcc
  38184. +COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6/lto-wrapper
  38185. +Target: i686-linux-gnu
  38186. +Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
  38187. +Thread model: posix
  38188. +gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  38189. +configure:3322: $? = 0
  38190. +configure:3311: gcc -V >&5
  38191. +gcc: error: unrecognized option '-V'
  38192. +gcc: fatal error: no input files
  38193. +compilation terminated.
  38194. +configure:3322: $? = 4
  38195. +configure:3311: gcc -qversion >&5
  38196. +gcc: error: unrecognized option '-qversion'
  38197. +gcc: fatal error: no input files
  38198. +compilation terminated.
  38199. +configure:3322: $? = 4
  38200. +configure:3342: checking whether the C compiler works
  38201. +configure:3364: gcc conftest.c >&5
  38202. +configure:3368: $? = 0
  38203. +configure:3416: result: yes
  38204. +configure:3419: checking for C compiler default output file name
  38205. +configure:3421: result: a.out
  38206. +configure:3427: checking for suffix of executables
  38207. +configure:3434: gcc -o conftest conftest.c >&5
  38208. +configure:3438: $? = 0
  38209. +configure:3460: result:
  38210. +configure:3482: checking whether we are cross compiling
  38211. +configure:3490: gcc -o conftest conftest.c >&5
  38212. +configure:3494: $? = 0
  38213. +configure:3501: ./conftest
  38214. +configure:3505: $? = 0
  38215. +configure:3520: result: no
  38216. +configure:3525: checking for suffix of object files
  38217. +configure:3547: gcc -c conftest.c >&5
  38218. +configure:3551: $? = 0
  38219. +configure:3572: result: o
  38220. +configure:3576: checking whether we are using the GNU C compiler
  38221. +configure:3595: gcc -c conftest.c >&5
  38222. +configure:3595: $? = 0
  38223. +configure:3604: result: yes
  38224. +configure:3613: checking whether gcc accepts -g
  38225. +configure:3633: gcc -c -g conftest.c >&5
  38226. +configure:3633: $? = 0
  38227. +configure:3674: result: yes
  38228. +configure:3691: checking for gcc option to accept ISO C89
  38229. +configure:3755: gcc -c -g -O2 conftest.c >&5
  38230. +configure:3755: $? = 0
  38231. +configure:3768: result: none needed
  38232. +configure:3790: checking dependency style of gcc
  38233. +configure:3901: result: gcc3
  38234. +configure:3966: checking for ar
  38235. +configure:3982: found /usr/bin/ar
  38236. +configure:3993: result: ar
  38237. +configure:4019: checking the archiver (ar) interface
  38238. +configure:4029: gcc -c -g -O2 conftest.c >&5
  38239. +configure:4029: $? = 0
  38240. +configure:4031: ar cru libconftest.a conftest.o >&5
  38241. +configure:4034: $? = 0
  38242. +configure:4057: result: ar
  38243. +configure:4088: checking whether make supports nested variables
  38244. +configure:4105: result: yes
  38245. +configure:4117: checking whether make sets $(MAKE)
  38246. +configure:4139: result: yes
  38247. +configure:4196: checking for gcc
  38248. +configure:4223: result: gcc
  38249. +configure:4452: checking for C compiler version
  38250. +configure:4461: gcc --version >&5
  38251. +gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
  38252. +Copyright (C) 2011 Free Software Foundation, Inc.
  38253. +This is free software; see the source for copying conditions. There is NO
  38254. +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  38255. +
  38256. +configure:4472: $? = 0
  38257. +configure:4461: gcc -v >&5
  38258. +Using built-in specs.
  38259. +COLLECT_GCC=gcc
  38260. +COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6/lto-wrapper
  38261. +Target: i686-linux-gnu
  38262. +Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
  38263. +Thread model: posix
  38264. +gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  38265. +configure:4472: $? = 0
  38266. +configure:4461: gcc -V >&5
  38267. +gcc: error: unrecognized option '-V'
  38268. +gcc: fatal error: no input files
  38269. +compilation terminated.
  38270. +configure:4472: $? = 4
  38271. +configure:4461: gcc -qversion >&5
  38272. +gcc: error: unrecognized option '-qversion'
  38273. +gcc: fatal error: no input files
  38274. +compilation terminated.
  38275. +configure:4472: $? = 4
  38276. +configure:4476: checking whether we are using the GNU C compiler
  38277. +configure:4504: result: yes
  38278. +configure:4513: checking whether gcc accepts -g
  38279. +configure:4574: result: yes
  38280. +configure:4591: checking for gcc option to accept ISO C89
  38281. +configure:4668: result: none needed
  38282. +configure:4690: checking dependency style of gcc
  38283. +configure:4801: result: gcc3
  38284. +configure:4877: checking build system type
  38285. +configure:4891: result: i686-pc-linux-gnu
  38286. +configure:4911: checking host system type
  38287. +configure:4924: result: i686-pc-linux-gnu
  38288. +configure:4965: checking how to print strings
  38289. +configure:4992: result: printf
  38290. +configure:5013: checking for a sed that does not truncate output
  38291. +configure:5077: result: /bin/sed
  38292. +configure:5095: checking for grep that handles long lines and -e
  38293. +configure:5153: result: /bin/grep
  38294. +configure:5158: checking for egrep
  38295. +configure:5220: result: /bin/grep -E
  38296. +configure:5225: checking for fgrep
  38297. +configure:5287: result: /bin/grep -F
  38298. +configure:5322: checking for ld used by gcc
  38299. +configure:5389: result: /usr/bin/ld
  38300. +configure:5396: checking if the linker (/usr/bin/ld) is GNU ld
  38301. +configure:5411: result: yes
  38302. +configure:5423: checking for BSD- or MS-compatible name lister (nm)
  38303. +configure:5472: result: /usr/bin/nm -B
  38304. +configure:5602: checking the name lister (/usr/bin/nm -B) interface
  38305. +configure:5609: gcc -c -g -O2 conftest.c >&5
  38306. +configure:5612: /usr/bin/nm -B "conftest.o"
  38307. +configure:5615: output
  38308. +00000000 B some_variable
  38309. +configure:5622: result: BSD nm
  38310. +configure:5625: checking whether ln -s works
  38311. +configure:5629: result: yes
  38312. +configure:5637: checking the maximum length of command line arguments
  38313. +configure:5767: result: 1572864
  38314. +configure:5784: checking whether the shell understands some XSI constructs
  38315. +configure:5794: result: yes
  38316. +configure:5798: checking whether the shell understands "+="
  38317. +configure:5804: result: yes
  38318. +configure:5839: checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format
  38319. +configure:5879: result: func_convert_file_noop
  38320. +configure:5886: checking how to convert i686-pc-linux-gnu file names to toolchain format
  38321. +configure:5906: result: func_convert_file_noop
  38322. +configure:5913: checking for /usr/bin/ld option to reload object files
  38323. +configure:5920: result: -r
  38324. +configure:5994: checking for objdump
  38325. +configure:6010: found /usr/bin/objdump
  38326. +configure:6021: result: objdump
  38327. +configure:6053: checking how to recognize dependent libraries
  38328. +configure:6251: result: pass_all
  38329. +configure:6336: checking for dlltool
  38330. +configure:6366: result: no
  38331. +configure:6396: checking how to associate runtime and link libraries
  38332. +configure:6423: result: printf %s\n
  38333. +configure:6547: checking for archiver @FILE support
  38334. +configure:6564: gcc -c -g -O2 conftest.c >&5
  38335. +configure:6564: $? = 0
  38336. +configure:6567: ar cru libconftest.a @conftest.lst >&5
  38337. +configure:6570: $? = 0
  38338. +configure:6575: ar cru libconftest.a @conftest.lst >&5
  38339. +ar: conftest.o: No such file or directory
  38340. +configure:6578: $? = 1
  38341. +configure:6590: result: @
  38342. +configure:6648: checking for strip
  38343. +configure:6664: found /usr/bin/strip
  38344. +configure:6675: result: strip
  38345. +configure:6747: checking for ranlib
  38346. +configure:6763: found /usr/bin/ranlib
  38347. +configure:6774: result: ranlib
  38348. +configure:6876: checking command to parse /usr/bin/nm -B output from gcc object
  38349. +configure:6996: gcc -c -g -O2 conftest.c >&5
  38350. +configure:6999: $? = 0
  38351. +configure:7003: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
  38352. +configure:7006: $? = 0
  38353. +configure:7072: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
  38354. +configure:7075: $? = 0
  38355. +configure:7113: result: ok
  38356. +configure:7150: checking for sysroot
  38357. +configure:7180: result: no
  38358. +configure:7436: checking for mt
  38359. +configure:7452: found /bin/mt
  38360. +configure:7463: result: mt
  38361. +configure:7486: checking if mt is a manifest tool
  38362. +configure:7492: mt '-?'
  38363. +configure:7500: result: no
  38364. +configure:8142: checking how to run the C preprocessor
  38365. +configure:8173: gcc -E conftest.c
  38366. +configure:8173: $? = 0
  38367. +configure:8187: gcc -E conftest.c
  38368. +conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
  38369. +compilation terminated.
  38370. +configure:8187: $? = 1
  38371. +configure: failed program was:
  38372. +| /* confdefs.h */
  38373. +| #define PACKAGE_NAME "ulogd"
  38374. +| #define PACKAGE_TARNAME "ulogd"
  38375. +| #define PACKAGE_VERSION "2.0.2"
  38376. +| #define PACKAGE_STRING "ulogd 2.0.2"
  38377. +| #define PACKAGE_BUGREPORT ""
  38378. +| #define PACKAGE_URL ""
  38379. +| #define PACKAGE "ulogd"
  38380. +| #define VERSION "2.0.2"
  38381. +| /* end confdefs.h. */
  38382. +| #include <ac_nonexistent.h>
  38383. +configure:8212: result: gcc -E
  38384. +configure:8232: gcc -E conftest.c
  38385. +configure:8232: $? = 0
  38386. +configure:8246: gcc -E conftest.c
  38387. +conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
  38388. +compilation terminated.
  38389. +configure:8246: $? = 1
  38390. +configure: failed program was:
  38391. +| /* confdefs.h */
  38392. +| #define PACKAGE_NAME "ulogd"
  38393. +| #define PACKAGE_TARNAME "ulogd"
  38394. +| #define PACKAGE_VERSION "2.0.2"
  38395. +| #define PACKAGE_STRING "ulogd 2.0.2"
  38396. +| #define PACKAGE_BUGREPORT ""
  38397. +| #define PACKAGE_URL ""
  38398. +| #define PACKAGE "ulogd"
  38399. +| #define VERSION "2.0.2"
  38400. +| /* end confdefs.h. */
  38401. +| #include <ac_nonexistent.h>
  38402. +configure:8275: checking for ANSI C header files
  38403. +configure:8295: gcc -c -g -O2 conftest.c >&5
  38404. +configure:8295: $? = 0
  38405. +configure:8368: gcc -o conftest -g -O2 conftest.c >&5
  38406. +configure:8368: $? = 0
  38407. +configure:8368: ./conftest
  38408. +configure:8368: $? = 0
  38409. +configure:8379: result: yes
  38410. +configure:8392: checking for sys/types.h
  38411. +configure:8392: gcc -c -g -O2 conftest.c >&5
  38412. +configure:8392: $? = 0
  38413. +configure:8392: result: yes
  38414. +configure:8392: checking for sys/stat.h
  38415. +configure:8392: gcc -c -g -O2 conftest.c >&5
  38416. +configure:8392: $? = 0
  38417. +configure:8392: result: yes
  38418. +configure:8392: checking for stdlib.h
  38419. +configure:8392: gcc -c -g -O2 conftest.c >&5
  38420. +configure:8392: $? = 0
  38421. +configure:8392: result: yes
  38422. +configure:8392: checking for string.h
  38423. +configure:8392: gcc -c -g -O2 conftest.c >&5
  38424. +configure:8392: $? = 0
  38425. +configure:8392: result: yes
  38426. +configure:8392: checking for memory.h
  38427. +configure:8392: gcc -c -g -O2 conftest.c >&5
  38428. +configure:8392: $? = 0
  38429. +configure:8392: result: yes
  38430. +configure:8392: checking for strings.h
  38431. +configure:8392: gcc -c -g -O2 conftest.c >&5
  38432. +configure:8392: $? = 0
  38433. +configure:8392: result: yes
  38434. +configure:8392: checking for inttypes.h
  38435. +configure:8392: gcc -c -g -O2 conftest.c >&5
  38436. +configure:8392: $? = 0
  38437. +configure:8392: result: yes
  38438. +configure:8392: checking for stdint.h
  38439. +configure:8392: gcc -c -g -O2 conftest.c >&5
  38440. +configure:8392: $? = 0
  38441. +configure:8392: result: yes
  38442. +configure:8392: checking for unistd.h
  38443. +configure:8392: gcc -c -g -O2 conftest.c >&5
  38444. +configure:8392: $? = 0
  38445. +configure:8392: result: yes
  38446. +configure:8406: checking for dlfcn.h
  38447. +configure:8406: gcc -c -g -O2 conftest.c >&5
  38448. +configure:8406: $? = 0
  38449. +configure:8406: result: yes
  38450. +configure:8582: checking for objdir
  38451. +configure:8597: result: .libs
  38452. +configure:8868: checking if gcc supports -fno-rtti -fno-exceptions
  38453. +configure:8886: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
  38454. +cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
  38455. +configure:8890: $? = 0
  38456. +configure:8903: result: no
  38457. +configure:9230: checking for gcc option to produce PIC
  38458. +configure:9237: result: -fPIC -DPIC
  38459. +configure:9245: checking if gcc PIC flag -fPIC -DPIC works
  38460. +configure:9263: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
  38461. +configure:9267: $? = 0
  38462. +configure:9280: result: yes
  38463. +configure:9309: checking if gcc static flag -static works
  38464. +configure:9337: result: yes
  38465. +configure:9352: checking if gcc supports -c -o file.o
  38466. +configure:9373: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
  38467. +configure:9377: $? = 0
  38468. +configure:9399: result: yes
  38469. +configure:9407: checking if gcc supports -c -o file.o
  38470. +configure:9454: result: yes
  38471. +configure:9487: checking whether the gcc linker (/usr/bin/ld) supports shared libraries
  38472. +configure:10644: result: yes
  38473. +configure:10681: checking whether -lc should be explicitly linked in
  38474. +configure:10689: gcc -c -g -O2 conftest.c >&5
  38475. +configure:10692: $? = 0
  38476. +configure:10707: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
  38477. +configure:10710: $? = 0
  38478. +configure:10724: result: no
  38479. +configure:10884: checking dynamic linker characteristics
  38480. +configure:11384: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
  38481. +configure:11384: $? = 0
  38482. +configure:11618: result: GNU/Linux ld.so
  38483. +configure:11725: checking how to hardcode library paths into programs
  38484. +configure:11750: result: immediate
  38485. +configure:12290: checking whether stripping libraries is possible
  38486. +configure:12295: result: yes
  38487. +configure:12330: checking if libtool supports shared libraries
  38488. +configure:12332: result: yes
  38489. +configure:12335: checking whether to build shared libraries
  38490. +configure:12356: result: yes
  38491. +configure:12359: checking whether to build static libraries
  38492. +configure:12363: result: no
  38493. +configure:12401: checking for library containing dlopen
  38494. +configure:12432: gcc -o conftest -g -O2 conftest.c >&5
  38495. +/tmp/cc27q3Ed.o: In function `main':
  38496. +/home/wbx/openadk/ulogd-2.0.2/conftest.c:34: undefined reference to `dlopen'
  38497. +collect2: ld returned 1 exit status
  38498. +configure:12432: $? = 1
  38499. +configure: failed program was:
  38500. +| /* confdefs.h */
  38501. +| #define PACKAGE_NAME "ulogd"
  38502. +| #define PACKAGE_TARNAME "ulogd"
  38503. +| #define PACKAGE_VERSION "2.0.2"
  38504. +| #define PACKAGE_STRING "ulogd 2.0.2"
  38505. +| #define PACKAGE_BUGREPORT ""
  38506. +| #define PACKAGE_URL ""
  38507. +| #define PACKAGE "ulogd"
  38508. +| #define VERSION "2.0.2"
  38509. +| #define STDC_HEADERS 1
  38510. +| #define HAVE_SYS_TYPES_H 1
  38511. +| #define HAVE_SYS_STAT_H 1
  38512. +| #define HAVE_STDLIB_H 1
  38513. +| #define HAVE_STRING_H 1
  38514. +| #define HAVE_MEMORY_H 1
  38515. +| #define HAVE_STRINGS_H 1
  38516. +| #define HAVE_INTTYPES_H 1
  38517. +| #define HAVE_STDINT_H 1
  38518. +| #define HAVE_UNISTD_H 1
  38519. +| #define HAVE_DLFCN_H 1
  38520. +| #define LT_OBJDIR ".libs/"
  38521. +| /* end confdefs.h. */
  38522. +|
  38523. +| /* Override any GCC internal prototype to avoid an error.
  38524. +| Use char because int might match the return type of a GCC
  38525. +| builtin and then its argument prototype would still apply. */
  38526. +| #ifdef __cplusplus
  38527. +| extern "C"
  38528. +| #endif
  38529. +| char dlopen ();
  38530. +| int
  38531. +| main ()
  38532. +| {
  38533. +| return dlopen ();
  38534. +| ;
  38535. +| return 0;
  38536. +| }
  38537. +configure:12432: gcc -o conftest -g -O2 conftest.c -ldl >&5
  38538. +configure:12432: $? = 0
  38539. +configure:12449: result: -ldl
  38540. +configure:12458: checking for library containing pcap_close
  38541. +configure:12489: gcc -o conftest -g -O2 conftest.c >&5
  38542. +/tmp/ccGpvF6h.o: In function `main':
  38543. +/home/wbx/openadk/ulogd-2.0.2/conftest.c:34: undefined reference to `pcap_close'
  38544. +collect2: ld returned 1 exit status
  38545. +configure:12489: $? = 1
  38546. +configure: failed program was:
  38547. +| /* confdefs.h */
  38548. +| #define PACKAGE_NAME "ulogd"
  38549. +| #define PACKAGE_TARNAME "ulogd"
  38550. +| #define PACKAGE_VERSION "2.0.2"
  38551. +| #define PACKAGE_STRING "ulogd 2.0.2"
  38552. +| #define PACKAGE_BUGREPORT ""
  38553. +| #define PACKAGE_URL ""
  38554. +| #define PACKAGE "ulogd"
  38555. +| #define VERSION "2.0.2"
  38556. +| #define STDC_HEADERS 1
  38557. +| #define HAVE_SYS_TYPES_H 1
  38558. +| #define HAVE_SYS_STAT_H 1
  38559. +| #define HAVE_STDLIB_H 1
  38560. +| #define HAVE_STRING_H 1
  38561. +| #define HAVE_MEMORY_H 1
  38562. +| #define HAVE_STRINGS_H 1
  38563. +| #define HAVE_INTTYPES_H 1
  38564. +| #define HAVE_STDINT_H 1
  38565. +| #define HAVE_UNISTD_H 1
  38566. +| #define HAVE_DLFCN_H 1
  38567. +| #define LT_OBJDIR ".libs/"
  38568. +| /* end confdefs.h. */
  38569. +|
  38570. +| /* Override any GCC internal prototype to avoid an error.
  38571. +| Use char because int might match the return type of a GCC
  38572. +| builtin and then its argument prototype would still apply. */
  38573. +| #ifdef __cplusplus
  38574. +| extern "C"
  38575. +| #endif
  38576. +| char pcap_close ();
  38577. +| int
  38578. +| main ()
  38579. +| {
  38580. +| return pcap_close ();
  38581. +| ;
  38582. +| return 0;
  38583. +| }
  38584. +configure:12489: gcc -o conftest -g -O2 conftest.c -lpcap >&5
  38585. +/usr/bin/ld: cannot find -lpcap
  38586. +collect2: ld returned 1 exit status
  38587. +configure:12489: $? = 1
  38588. +configure: failed program was:
  38589. +| /* confdefs.h */
  38590. +| #define PACKAGE_NAME "ulogd"
  38591. +| #define PACKAGE_TARNAME "ulogd"
  38592. +| #define PACKAGE_VERSION "2.0.2"
  38593. +| #define PACKAGE_STRING "ulogd 2.0.2"
  38594. +| #define PACKAGE_BUGREPORT ""
  38595. +| #define PACKAGE_URL ""
  38596. +| #define PACKAGE "ulogd"
  38597. +| #define VERSION "2.0.2"
  38598. +| #define STDC_HEADERS 1
  38599. +| #define HAVE_SYS_TYPES_H 1
  38600. +| #define HAVE_SYS_STAT_H 1
  38601. +| #define HAVE_STDLIB_H 1
  38602. +| #define HAVE_STRING_H 1
  38603. +| #define HAVE_MEMORY_H 1
  38604. +| #define HAVE_STRINGS_H 1
  38605. +| #define HAVE_INTTYPES_H 1
  38606. +| #define HAVE_STDINT_H 1
  38607. +| #define HAVE_UNISTD_H 1
  38608. +| #define HAVE_DLFCN_H 1
  38609. +| #define LT_OBJDIR ".libs/"
  38610. +| /* end confdefs.h. */
  38611. +|
  38612. +| /* Override any GCC internal prototype to avoid an error.
  38613. +| Use char because int might match the return type of a GCC
  38614. +| builtin and then its argument prototype would still apply. */
  38615. +| #ifdef __cplusplus
  38616. +| extern "C"
  38617. +| #endif
  38618. +| char pcap_close ();
  38619. +| int
  38620. +| main ()
  38621. +| {
  38622. +| return pcap_close ();
  38623. +| ;
  38624. +| return 0;
  38625. +| }
  38626. +configure:12506: result: no
  38627. +configure:12532: checking for dirent.h that defines DIR
  38628. +configure:12551: gcc -c -g -O2 conftest.c >&5
  38629. +configure:12551: $? = 0
  38630. +configure:12559: result: yes
  38631. +configure:12572: checking for library containing opendir
  38632. +configure:12603: gcc -o conftest -g -O2 conftest.c >&5
  38633. +configure:12603: $? = 0
  38634. +configure:12620: result: none required
  38635. +configure:12687: checking for ANSI C header files
  38636. +configure:12791: result: yes
  38637. +configure:12802: checking fcntl.h usability
  38638. +configure:12802: gcc -c -g -O2 conftest.c >&5
  38639. +configure:12802: $? = 0
  38640. +configure:12802: result: yes
  38641. +configure:12802: checking fcntl.h presence
  38642. +configure:12802: gcc -E conftest.c
  38643. +configure:12802: $? = 0
  38644. +configure:12802: result: yes
  38645. +configure:12802: checking for fcntl.h
  38646. +configure:12802: result: yes
  38647. +configure:12802: checking for unistd.h
  38648. +configure:12802: result: yes
  38649. +configure:12802: checking sys/queue.h usability
  38650. +configure:12802: gcc -c -g -O2 conftest.c >&5
  38651. +configure:12802: $? = 0
  38652. +configure:12802: result: yes
  38653. +configure:12802: checking sys/queue.h presence
  38654. +configure:12802: gcc -E conftest.c
  38655. +configure:12802: $? = 0
  38656. +configure:12802: result: yes
  38657. +configure:12802: checking for sys/queue.h
  38658. +configure:12802: result: yes
  38659. +configure:12813: checking for an ANSI C-conforming const
  38660. +configure:12878: gcc -c -g -O2 conftest.c >&5
  38661. +configure:12878: $? = 0
  38662. +configure:12885: result: yes
  38663. +configure:12893: checking for size_t
  38664. +configure:12893: gcc -c -g -O2 conftest.c >&5
  38665. +configure:12893: $? = 0
  38666. +configure:12893: gcc -c -g -O2 conftest.c >&5
  38667. +conftest.c: In function 'main':
  38668. +conftest.c:64:21: error: expected expression before ')' token
  38669. +configure:12893: $? = 1
  38670. +configure: failed program was:
  38671. +| /* confdefs.h */
  38672. +| #define PACKAGE_NAME "ulogd"
  38673. +| #define PACKAGE_TARNAME "ulogd"
  38674. +| #define PACKAGE_VERSION "2.0.2"
  38675. +| #define PACKAGE_STRING "ulogd 2.0.2"
  38676. +| #define PACKAGE_BUGREPORT ""
  38677. +| #define PACKAGE_URL ""
  38678. +| #define PACKAGE "ulogd"
  38679. +| #define VERSION "2.0.2"
  38680. +| #define STDC_HEADERS 1
  38681. +| #define HAVE_SYS_TYPES_H 1
  38682. +| #define HAVE_SYS_STAT_H 1
  38683. +| #define HAVE_STDLIB_H 1
  38684. +| #define HAVE_STRING_H 1
  38685. +| #define HAVE_MEMORY_H 1
  38686. +| #define HAVE_STRINGS_H 1
  38687. +| #define HAVE_INTTYPES_H 1
  38688. +| #define HAVE_STDINT_H 1
  38689. +| #define HAVE_UNISTD_H 1
  38690. +| #define HAVE_DLFCN_H 1
  38691. +| #define LT_OBJDIR ".libs/"
  38692. +| #define HAVE_DIRENT_H 1
  38693. +| #define STDC_HEADERS 1
  38694. +| #define HAVE_FCNTL_H 1
  38695. +| #define HAVE_UNISTD_H 1
  38696. +| #define HAVE_SYS_QUEUE_H 1
  38697. +| /* end confdefs.h. */
  38698. +| #include <stdio.h>
  38699. +| #ifdef HAVE_SYS_TYPES_H
  38700. +| # include <sys/types.h>
  38701. +| #endif
  38702. +| #ifdef HAVE_SYS_STAT_H
  38703. +| # include <sys/stat.h>
  38704. +| #endif
  38705. +| #ifdef STDC_HEADERS
  38706. +| # include <stdlib.h>
  38707. +| # include <stddef.h>
  38708. +| #else
  38709. +| # ifdef HAVE_STDLIB_H
  38710. +| # include <stdlib.h>
  38711. +| # endif
  38712. +| #endif
  38713. +| #ifdef HAVE_STRING_H
  38714. +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  38715. +| # include <memory.h>
  38716. +| # endif
  38717. +| # include <string.h>
  38718. +| #endif
  38719. +| #ifdef HAVE_STRINGS_H
  38720. +| # include <strings.h>
  38721. +| #endif
  38722. +| #ifdef HAVE_INTTYPES_H
  38723. +| # include <inttypes.h>
  38724. +| #endif
  38725. +| #ifdef HAVE_STDINT_H
  38726. +| # include <stdint.h>
  38727. +| #endif
  38728. +| #ifdef HAVE_UNISTD_H
  38729. +| # include <unistd.h>
  38730. +| #endif
  38731. +| int
  38732. +| main ()
  38733. +| {
  38734. +| if (sizeof ((size_t)))
  38735. +| return 0;
  38736. +| ;
  38737. +| return 0;
  38738. +| }
  38739. +configure:12893: result: yes
  38740. +configure:12904: checking whether struct tm is in sys/time.h or time.h
  38741. +configure:12924: gcc -c -g -O2 conftest.c >&5
  38742. +configure:12924: $? = 0
  38743. +configure:12931: result: time.h
  38744. +configure:12946: checking for special C compiler options needed for large files
  38745. +configure:12991: result: no
  38746. +configure:12997: checking for _FILE_OFFSET_BITS value needed for large files
  38747. +configure:13022: gcc -c -g -O2 conftest.c >&5
  38748. +conftest.c:34:3: warning: left shift count >= width of type [enabled by default]
  38749. +conftest.c:34:3: warning: left shift count >= width of type [enabled by default]
  38750. +conftest.c:35:10: warning: left shift count >= width of type [enabled by default]
  38751. +conftest.c:35:10: warning: left shift count >= width of type [enabled by default]
  38752. +conftest.c:34:7: error: size of array 'off_t_is_large' is negative
  38753. +conftest.c:36:9: warning: variably modified 'off_t_is_large' at file scope [enabled by default]
  38754. +configure:13022: $? = 1
  38755. +configure: failed program was:
  38756. +| /* confdefs.h */
  38757. +| #define PACKAGE_NAME "ulogd"
  38758. +| #define PACKAGE_TARNAME "ulogd"
  38759. +| #define PACKAGE_VERSION "2.0.2"
  38760. +| #define PACKAGE_STRING "ulogd 2.0.2"
  38761. +| #define PACKAGE_BUGREPORT ""
  38762. +| #define PACKAGE_URL ""
  38763. +| #define PACKAGE "ulogd"
  38764. +| #define VERSION "2.0.2"
  38765. +| #define STDC_HEADERS 1
  38766. +| #define HAVE_SYS_TYPES_H 1
  38767. +| #define HAVE_SYS_STAT_H 1
  38768. +| #define HAVE_STDLIB_H 1
  38769. +| #define HAVE_STRING_H 1
  38770. +| #define HAVE_MEMORY_H 1
  38771. +| #define HAVE_STRINGS_H 1
  38772. +| #define HAVE_INTTYPES_H 1
  38773. +| #define HAVE_STDINT_H 1
  38774. +| #define HAVE_UNISTD_H 1
  38775. +| #define HAVE_DLFCN_H 1
  38776. +| #define LT_OBJDIR ".libs/"
  38777. +| #define HAVE_DIRENT_H 1
  38778. +| #define STDC_HEADERS 1
  38779. +| #define HAVE_FCNTL_H 1
  38780. +| #define HAVE_UNISTD_H 1
  38781. +| #define HAVE_SYS_QUEUE_H 1
  38782. +| /* end confdefs.h. */
  38783. +| #include <sys/types.h>
  38784. +| /* Check that off_t can represent 2**63 - 1 correctly.
  38785. +| We can't simply define LARGE_OFF_T to be 9223372036854775807,
  38786. +| since some C++ compilers masquerading as C compilers
  38787. +| incorrectly reject 9223372036854775807. */
  38788. +| #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  38789. +| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  38790. +| && LARGE_OFF_T % 2147483647 == 1)
  38791. +| ? 1 : -1];
  38792. +| int
  38793. +| main ()
  38794. +| {
  38795. +|
  38796. +| ;
  38797. +| return 0;
  38798. +| }
  38799. +configure:13046: gcc -c -g -O2 conftest.c >&5
  38800. +configure:13046: $? = 0
  38801. +configure:13054: result: 64
  38802. +configure:13140: checking for vprintf
  38803. +configure:13140: gcc -o conftest -g -O2 conftest.c >&5
  38804. +conftest.c:52:6: warning: conflicting types for built-in function 'vprintf' [enabled by default]
  38805. +configure:13140: $? = 0
  38806. +configure:13140: result: yes
  38807. +configure:13146: checking for _doprnt
  38808. +configure:13146: gcc -o conftest -g -O2 conftest.c >&5
  38809. +/tmp/ccfbq8pP.o: In function `main':
  38810. +/home/wbx/openadk/ulogd-2.0.2/conftest.c:64: undefined reference to `_doprnt'
  38811. +collect2: ld returned 1 exit status
  38812. +configure:13146: $? = 1
  38813. +configure: failed program was:
  38814. +| /* confdefs.h */
  38815. +| #define PACKAGE_NAME "ulogd"
  38816. +| #define PACKAGE_TARNAME "ulogd"
  38817. +| #define PACKAGE_VERSION "2.0.2"
  38818. +| #define PACKAGE_STRING "ulogd 2.0.2"
  38819. +| #define PACKAGE_BUGREPORT ""
  38820. +| #define PACKAGE_URL ""
  38821. +| #define PACKAGE "ulogd"
  38822. +| #define VERSION "2.0.2"
  38823. +| #define STDC_HEADERS 1
  38824. +| #define HAVE_SYS_TYPES_H 1
  38825. +| #define HAVE_SYS_STAT_H 1
  38826. +| #define HAVE_STDLIB_H 1
  38827. +| #define HAVE_STRING_H 1
  38828. +| #define HAVE_MEMORY_H 1
  38829. +| #define HAVE_STRINGS_H 1
  38830. +| #define HAVE_INTTYPES_H 1
  38831. +| #define HAVE_STDINT_H 1
  38832. +| #define HAVE_UNISTD_H 1
  38833. +| #define HAVE_DLFCN_H 1
  38834. +| #define LT_OBJDIR ".libs/"
  38835. +| #define HAVE_DIRENT_H 1
  38836. +| #define STDC_HEADERS 1
  38837. +| #define HAVE_FCNTL_H 1
  38838. +| #define HAVE_UNISTD_H 1
  38839. +| #define HAVE_SYS_QUEUE_H 1
  38840. +| #define _FILE_OFFSET_BITS 64
  38841. +| #define HAVE_VPRINTF 1
  38842. +| /* end confdefs.h. */
  38843. +| /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
  38844. +| For example, HP-UX 11i <limits.h> declares gettimeofday. */
  38845. +| #define _doprnt innocuous__doprnt
  38846. +|
  38847. +| /* System header to define __stub macros and hopefully few prototypes,
  38848. +| which can conflict with char _doprnt (); below.
  38849. +| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  38850. +| <limits.h> exists even on freestanding compilers. */
  38851. +|
  38852. +| #ifdef __STDC__
  38853. +| # include <limits.h>
  38854. +| #else
  38855. +| # include <assert.h>
  38856. +| #endif
  38857. +|
  38858. +| #undef _doprnt
  38859. +|
  38860. +| /* Override any GCC internal prototype to avoid an error.
  38861. +| Use char because int might match the return type of a GCC
  38862. +| builtin and then its argument prototype would still apply. */
  38863. +| #ifdef __cplusplus
  38864. +| extern "C"
  38865. +| #endif
  38866. +| char _doprnt ();
  38867. +| /* The GNU C library defines this for functions which it implements
  38868. +| to always fail with ENOSYS. Some functions are actually named
  38869. +| something starting with __ and the normal name is an alias. */
  38870. +| #if defined __stub__doprnt || defined __stub____doprnt
  38871. +| choke me
  38872. +| #endif
  38873. +|
  38874. +| int
  38875. +| main ()
  38876. +| {
  38877. +| return _doprnt ();
  38878. +| ;
  38879. +| return 0;
  38880. +| }
  38881. +configure:13146: result: no
  38882. +configure:13160: checking for socket
  38883. +configure:13160: gcc -o conftest -g -O2 conftest.c >&5
  38884. +configure:13160: $? = 0
  38885. +configure:13160: result: yes
  38886. +configure:13160: checking for strerror
  38887. +configure:13160: gcc -o conftest -g -O2 conftest.c >&5
  38888. +configure:13160: $? = 0
  38889. +configure:13160: result: yes
  38890. +configure:13227: checking for pkg-config
  38891. +configure:13245: found /usr/bin/pkg-config
  38892. +configure:13257: result: /usr/bin/pkg-config
  38893. +configure:13282: checking pkg-config is at least version 0.9.0
  38894. +configure:13285: result: yes
  38895. +configure:13295: checking for LIBNFNETLINK
  38896. +configure:13302: $PKG_CONFIG --exists --print-errors "libnfnetlink >= 1.0.1"
  38897. +Package libnfnetlink was not found in the pkg-config search path.
  38898. +Perhaps you should add the directory containing `libnfnetlink.pc'
  38899. +to the PKG_CONFIG_PATH environment variable
  38900. +No package 'libnfnetlink' found
  38901. +configure:13305: $? = 1
  38902. +configure:13319: $PKG_CONFIG --exists --print-errors "libnfnetlink >= 1.0.1"
  38903. +Package libnfnetlink was not found in the pkg-config search path.
  38904. +Perhaps you should add the directory containing `libnfnetlink.pc'
  38905. +to the PKG_CONFIG_PATH environment variable
  38906. +No package 'libnfnetlink' found
  38907. +configure:13322: $? = 1
  38908. +configure:13336: result: no
  38909. +No package 'libnfnetlink' found
  38910. +configure:13352: error: Package requirements (libnfnetlink >= 1.0.1) were not met:
  38911. +
  38912. +No package 'libnfnetlink' found
  38913. +
  38914. +Consider adjusting the PKG_CONFIG_PATH environment variable if you
  38915. +installed software in a non-standard prefix.
  38916. +
  38917. +Alternatively, you may set the environment variables LIBNFNETLINK_CFLAGS
  38918. +and LIBNFNETLINK_LIBS to avoid the need to call pkg-config.
  38919. +See the pkg-config man page for more details.
  38920. +
  38921. +## ---------------- ##
  38922. +## Cache variables. ##
  38923. +## ---------------- ##
  38924. +
  38925. +ac_cv_build=i686-pc-linux-gnu
  38926. +ac_cv_c_compiler_gnu=yes
  38927. +ac_cv_c_const=yes
  38928. +ac_cv_env_CC_set=
  38929. +ac_cv_env_CC_value=
  38930. +ac_cv_env_CFLAGS_set=
  38931. +ac_cv_env_CFLAGS_value=
  38932. +ac_cv_env_CPPFLAGS_set=
  38933. +ac_cv_env_CPPFLAGS_value=
  38934. +ac_cv_env_CPP_set=
  38935. +ac_cv_env_CPP_value=
  38936. +ac_cv_env_LDFLAGS_set=
  38937. +ac_cv_env_LDFLAGS_value=
  38938. +ac_cv_env_LIBMNL_CFLAGS_set=
  38939. +ac_cv_env_LIBMNL_CFLAGS_value=
  38940. +ac_cv_env_LIBMNL_LIBS_set=
  38941. +ac_cv_env_LIBMNL_LIBS_value=
  38942. +ac_cv_env_LIBNETFILTER_ACCT_CFLAGS_set=
  38943. +ac_cv_env_LIBNETFILTER_ACCT_CFLAGS_value=
  38944. +ac_cv_env_LIBNETFILTER_ACCT_LIBS_set=
  38945. +ac_cv_env_LIBNETFILTER_ACCT_LIBS_value=
  38946. +ac_cv_env_LIBNETFILTER_CONNTRACK_CFLAGS_set=
  38947. +ac_cv_env_LIBNETFILTER_CONNTRACK_CFLAGS_value=
  38948. +ac_cv_env_LIBNETFILTER_CONNTRACK_LIBS_set=
  38949. +ac_cv_env_LIBNETFILTER_CONNTRACK_LIBS_value=
  38950. +ac_cv_env_LIBNETFILTER_LOG_CFLAGS_set=
  38951. +ac_cv_env_LIBNETFILTER_LOG_CFLAGS_value=
  38952. +ac_cv_env_LIBNETFILTER_LOG_LIBS_set=
  38953. +ac_cv_env_LIBNETFILTER_LOG_LIBS_value=
  38954. +ac_cv_env_LIBNFNETLINK_CFLAGS_set=
  38955. +ac_cv_env_LIBNFNETLINK_CFLAGS_value=
  38956. +ac_cv_env_LIBNFNETLINK_LIBS_set=
  38957. +ac_cv_env_LIBNFNETLINK_LIBS_value=
  38958. +ac_cv_env_LIBS_set=
  38959. +ac_cv_env_LIBS_value=
  38960. +ac_cv_env_PKG_CONFIG_LIBDIR_set=
  38961. +ac_cv_env_PKG_CONFIG_LIBDIR_value=
  38962. +ac_cv_env_PKG_CONFIG_PATH_set=
  38963. +ac_cv_env_PKG_CONFIG_PATH_value=
  38964. +ac_cv_env_PKG_CONFIG_set=
  38965. +ac_cv_env_PKG_CONFIG_value=
  38966. +ac_cv_env_build_alias_set=
  38967. +ac_cv_env_build_alias_value=
  38968. +ac_cv_env_host_alias_set=
  38969. +ac_cv_env_host_alias_value=
  38970. +ac_cv_env_libsqlite3_CFLAGS_set=
  38971. +ac_cv_env_libsqlite3_CFLAGS_value=
  38972. +ac_cv_env_libsqlite3_LIBS_set=
  38973. +ac_cv_env_libsqlite3_LIBS_value=
  38974. +ac_cv_env_target_alias_set=
  38975. +ac_cv_env_target_alias_value=
  38976. +ac_cv_func__doprnt=no
  38977. +ac_cv_func_socket=yes
  38978. +ac_cv_func_strerror=yes
  38979. +ac_cv_func_vprintf=yes
  38980. +ac_cv_header_dirent_dirent_h=yes
  38981. +ac_cv_header_dlfcn_h=yes
  38982. +ac_cv_header_fcntl_h=yes
  38983. +ac_cv_header_inttypes_h=yes
  38984. +ac_cv_header_memory_h=yes
  38985. +ac_cv_header_stdc=yes
  38986. +ac_cv_header_stdint_h=yes
  38987. +ac_cv_header_stdlib_h=yes
  38988. +ac_cv_header_string_h=yes
  38989. +ac_cv_header_strings_h=yes
  38990. +ac_cv_header_sys_queue_h=yes
  38991. +ac_cv_header_sys_stat_h=yes
  38992. +ac_cv_header_sys_types_h=yes
  38993. +ac_cv_header_unistd_h=yes
  38994. +ac_cv_host=i686-pc-linux-gnu
  38995. +ac_cv_objext=o
  38996. +ac_cv_path_EGREP='/bin/grep -E'
  38997. +ac_cv_path_FGREP='/bin/grep -F'
  38998. +ac_cv_path_GREP=/bin/grep
  38999. +ac_cv_path_SED=/bin/sed
  39000. +ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
  39001. +ac_cv_path_install='/usr/bin/install -c'
  39002. +ac_cv_path_mkdir=/bin/mkdir
  39003. +ac_cv_prog_AWK=gawk
  39004. +ac_cv_prog_CPP='gcc -E'
  39005. +ac_cv_prog_ac_ct_AR=ar
  39006. +ac_cv_prog_ac_ct_CC=gcc
  39007. +ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
  39008. +ac_cv_prog_ac_ct_OBJDUMP=objdump
  39009. +ac_cv_prog_ac_ct_RANLIB=ranlib
  39010. +ac_cv_prog_ac_ct_STRIP=strip
  39011. +ac_cv_prog_cc_c89=
  39012. +ac_cv_prog_cc_g=yes
  39013. +ac_cv_prog_make_make_set=yes
  39014. +ac_cv_search_dlopen=-ldl
  39015. +ac_cv_search_opendir='none required'
  39016. +ac_cv_search_pcap_close=no
  39017. +ac_cv_struct_tm=time.h
  39018. +ac_cv_sys_file_offset_bits=64
  39019. +ac_cv_sys_largefile_CC=no
  39020. +ac_cv_type_size_t=yes
  39021. +am_cv_CC_dependencies_compiler_type=gcc3
  39022. +am_cv_ar_interface=ar
  39023. +am_cv_make_support_nested_variables=yes
  39024. +am_cv_prog_tar_pax=gnutar
  39025. +lt_cv_ar_at_file=@
  39026. +lt_cv_archive_cmds_need_lc=no
  39027. +lt_cv_deplibs_check_method=pass_all
  39028. +lt_cv_file_magic_cmd='$MAGIC_CMD'
  39029. +lt_cv_file_magic_test_file=
  39030. +lt_cv_ld_reload_flag=-r
  39031. +lt_cv_nm_interface='BSD nm'
  39032. +lt_cv_objdir=.libs
  39033. +lt_cv_path_LD=/usr/bin/ld
  39034. +lt_cv_path_NM='/usr/bin/nm -B'
  39035. +lt_cv_path_mainfest_tool=no
  39036. +lt_cv_prog_compiler_c_o=yes
  39037. +lt_cv_prog_compiler_pic='-fPIC -DPIC'
  39038. +lt_cv_prog_compiler_pic_works=yes
  39039. +lt_cv_prog_compiler_rtti_exceptions=no
  39040. +lt_cv_prog_compiler_static_works=yes
  39041. +lt_cv_prog_gnu_ld=yes
  39042. +lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
  39043. +lt_cv_shlibpath_overrides_runpath=no
  39044. +lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
  39045. +lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
  39046. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
  39047. +lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
  39048. +lt_cv_sys_max_cmd_len=1572864
  39049. +lt_cv_to_host_file_cmd=func_convert_file_noop
  39050. +lt_cv_to_tool_file_cmd=func_convert_file_noop
  39051. +
  39052. +## ----------------- ##
  39053. +## Output variables. ##
  39054. +## ----------------- ##
  39055. +
  39056. +ACLOCAL='${SHELL} /home/wbx/openadk/ulogd-2.0.2/build-aux/missing --run aclocal-1.11'
  39057. +AMDEPBACKSLASH='\'
  39058. +AMDEP_FALSE='#'
  39059. +AMDEP_TRUE=''
  39060. +AMTAR='$${TAR-tar}'
  39061. +AM_BACKSLASH='\'
  39062. +AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  39063. +AM_DEFAULT_VERBOSITY='0'
  39064. +AM_V='$(V)'
  39065. +AR='ar'
  39066. +AUTOCONF='${SHELL} /home/wbx/openadk/ulogd-2.0.2/build-aux/missing --run autoconf'
  39067. +AUTOHEADER='${SHELL} /home/wbx/openadk/ulogd-2.0.2/build-aux/missing --run autoheader'
  39068. +AUTOMAKE='${SHELL} /home/wbx/openadk/ulogd-2.0.2/build-aux/missing --run automake-1.11'
  39069. +AWK='gawk'
  39070. +BUILD_NFACCT_FALSE=''
  39071. +BUILD_NFACCT_TRUE=''
  39072. +BUILD_NFCT_FALSE=''
  39073. +BUILD_NFCT_TRUE=''
  39074. +BUILD_NFLOG_FALSE=''
  39075. +BUILD_NFLOG_TRUE=''
  39076. +CC='gcc'
  39077. +CCDEPMODE='depmode=gcc3'
  39078. +CFLAGS='-g -O2'
  39079. +CPP='gcc -E'
  39080. +CPPFLAGS=''
  39081. +CYGPATH_W='echo'
  39082. +DBI_INC=''
  39083. +DBI_LIB=''
  39084. +DEFS=''
  39085. +DEPDIR='.deps'
  39086. +DLLTOOL='false'
  39087. +DSYMUTIL=''
  39088. +DUMPBIN=''
  39089. +ECHO_C=''
  39090. +ECHO_N='-n'
  39091. +ECHO_T=''
  39092. +EGREP='/bin/grep -E'
  39093. +EXEEXT=''
  39094. +FGREP='/bin/grep -F'
  39095. +GREP='/bin/grep'
  39096. +HAVE_DBI_FALSE=''
  39097. +HAVE_DBI_TRUE=''
  39098. +HAVE_MYSQL_FALSE=''
  39099. +HAVE_MYSQL_TRUE=''
  39100. +HAVE_PCAP_FALSE=''
  39101. +HAVE_PCAP_TRUE='#'
  39102. +HAVE_PGSQL_FALSE=''
  39103. +HAVE_PGSQL_TRUE=''
  39104. +HAVE_SQLITE3_FALSE=''
  39105. +HAVE_SQLITE3_TRUE=''
  39106. +INSTALL_DATA='${INSTALL} -m 644'
  39107. +INSTALL_PROGRAM='${INSTALL}'
  39108. +INSTALL_SCRIPT='${INSTALL}'
  39109. +INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
  39110. +LD='/usr/bin/ld'
  39111. +LDFLAGS=''
  39112. +LIBMNL_CFLAGS=''
  39113. +LIBMNL_LIBS=''
  39114. +LIBNETFILTER_ACCT_CFLAGS=''
  39115. +LIBNETFILTER_ACCT_LIBS=''
  39116. +LIBNETFILTER_CONNTRACK_CFLAGS=''
  39117. +LIBNETFILTER_CONNTRACK_LIBS=''
  39118. +LIBNETFILTER_LOG_CFLAGS=''
  39119. +LIBNETFILTER_LOG_LIBS=''
  39120. +LIBNFNETLINK_CFLAGS=''
  39121. +LIBNFNETLINK_LIBS=''
  39122. +LIBOBJS=''
  39123. +LIBS=''
  39124. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  39125. +LIPO=''
  39126. +LN_S='ln -s'
  39127. +LTLIBOBJS=''
  39128. +MAKEINFO='${SHELL} /home/wbx/openadk/ulogd-2.0.2/build-aux/missing --run makeinfo'
  39129. +MANIFEST_TOOL=':'
  39130. +MKDIR_P='/bin/mkdir -p'
  39131. +MYSQL_INC=''
  39132. +MYSQL_LIB=''
  39133. +NM='/usr/bin/nm -B'
  39134. +NMEDIT=''
  39135. +OBJDUMP='objdump'
  39136. +OBJEXT='o'
  39137. +OTOOL64=''
  39138. +OTOOL=''
  39139. +PACKAGE='ulogd'
  39140. +PACKAGE_BUGREPORT=''
  39141. +PACKAGE_NAME='ulogd'
  39142. +PACKAGE_STRING='ulogd 2.0.2'
  39143. +PACKAGE_TARNAME='ulogd'
  39144. +PACKAGE_URL=''
  39145. +PACKAGE_VERSION='2.0.2'
  39146. +PATH_SEPARATOR=':'
  39147. +PKG_CONFIG='/usr/bin/pkg-config'
  39148. +PKG_CONFIG_LIBDIR=''
  39149. +PKG_CONFIG_PATH=''
  39150. +PQINCPATH=''
  39151. +PQLIBPATH=''
  39152. +PQLIBS=''
  39153. +RANLIB='ranlib'
  39154. +SED='/bin/sed'
  39155. +SET_MAKE=''
  39156. +SHELL='/bin/bash'
  39157. +STRIP='strip'
  39158. +VERSION='2.0.2'
  39159. +ac_ct_AR='ar'
  39160. +ac_ct_CC='gcc'
  39161. +ac_ct_DUMPBIN=''
  39162. +am__EXEEXT_FALSE=''
  39163. +am__EXEEXT_TRUE=''
  39164. +am__fastdepCC_FALSE='#'
  39165. +am__fastdepCC_TRUE=''
  39166. +am__include='include'
  39167. +am__isrc=''
  39168. +am__leading_dot='.'
  39169. +am__nodep='_no'
  39170. +am__quote=''
  39171. +am__tar='tar --format=posix -chf - "$$tardir"'
  39172. +am__untar='tar -xf -'
  39173. +bindir='${exec_prefix}/bin'
  39174. +build='i686-pc-linux-gnu'
  39175. +build_alias=''
  39176. +build_cpu='i686'
  39177. +build_os='linux-gnu'
  39178. +build_vendor='pc'
  39179. +datadir='${datarootdir}'
  39180. +datarootdir='${prefix}/share'
  39181. +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  39182. +dvidir='${docdir}'
  39183. +exec_prefix='NONE'
  39184. +host='i686-pc-linux-gnu'
  39185. +host_alias=''
  39186. +host_cpu='i686'
  39187. +host_os='linux-gnu'
  39188. +host_vendor='pc'
  39189. +htmldir='${docdir}'
  39190. +includedir='${prefix}/include'
  39191. +infodir='${datarootdir}/info'
  39192. +install_sh='${SHELL} /home/wbx/openadk/ulogd-2.0.2/build-aux/install-sh'
  39193. +libdir='${exec_prefix}/lib'
  39194. +libdl_LIBS='-ldl '
  39195. +libexecdir='${exec_prefix}/libexec'
  39196. +libpcap_LIBS=''
  39197. +libsqlite3_CFLAGS=''
  39198. +libsqlite3_LIBS=''
  39199. +localedir='${datarootdir}/locale'
  39200. +localstatedir='${prefix}/var'
  39201. +mandir='${datarootdir}/man'
  39202. +mkdir_p='/bin/mkdir -p'
  39203. +oldincludedir='/usr/include'
  39204. +pdfdir='${docdir}'
  39205. +prefix='NONE'
  39206. +program_transform_name='s,x,x,'
  39207. +psdir='${docdir}'
  39208. +regular_CFLAGS='-Wall -Wextra -Wno-unused-parameter'
  39209. +sbindir='${exec_prefix}/sbin'
  39210. +sharedstatedir='${prefix}/com'
  39211. +sysconfdir='${prefix}/etc'
  39212. +target_alias=''
  39213. +
  39214. +## ----------- ##
  39215. +## confdefs.h. ##
  39216. +## ----------- ##
  39217. +
  39218. +/* confdefs.h */
  39219. +#define PACKAGE_NAME "ulogd"
  39220. +#define PACKAGE_TARNAME "ulogd"
  39221. +#define PACKAGE_VERSION "2.0.2"
  39222. +#define PACKAGE_STRING "ulogd 2.0.2"
  39223. +#define PACKAGE_BUGREPORT ""
  39224. +#define PACKAGE_URL ""
  39225. +#define PACKAGE "ulogd"
  39226. +#define VERSION "2.0.2"
  39227. +#define STDC_HEADERS 1
  39228. +#define HAVE_SYS_TYPES_H 1
  39229. +#define HAVE_SYS_STAT_H 1
  39230. +#define HAVE_STDLIB_H 1
  39231. +#define HAVE_STRING_H 1
  39232. +#define HAVE_MEMORY_H 1
  39233. +#define HAVE_STRINGS_H 1
  39234. +#define HAVE_INTTYPES_H 1
  39235. +#define HAVE_STDINT_H 1
  39236. +#define HAVE_UNISTD_H 1
  39237. +#define HAVE_DLFCN_H 1
  39238. +#define LT_OBJDIR ".libs/"
  39239. +#define HAVE_DIRENT_H 1
  39240. +#define STDC_HEADERS 1
  39241. +#define HAVE_FCNTL_H 1
  39242. +#define HAVE_UNISTD_H 1
  39243. +#define HAVE_SYS_QUEUE_H 1
  39244. +#define _FILE_OFFSET_BITS 64
  39245. +#define HAVE_VPRINTF 1
  39246. +#define HAVE_SOCKET 1
  39247. +#define HAVE_STRERROR 1
  39248. +
  39249. +configure: exit 1
  39250. diff -Nur ulogd-2.0.2.orig/configure ulogd-2.0.2/configure
  39251. --- ulogd-2.0.2.orig/configure 2013-03-03 22:19:16.549654770 +0100
  39252. +++ ulogd-2.0.2/configure 2013-08-21 19:34:33.604528630 +0200
  39253. @@ -1,9 +1,11 @@
  39254. #! /bin/sh
  39255. # Guess values for system-dependent variables and create Makefiles.
  39256. -# Generated by GNU Autoconf 2.69 for ulogd 2.0.2.
  39257. +# Generated by GNU Autoconf 2.68 for ulogd 2.0.2.
  39258. #
  39259. #
  39260. -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  39261. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  39262. +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
  39263. +# Foundation, Inc.
  39264. #
  39265. #
  39266. # This configure script is free software; the Free Software Foundation
  39267. @@ -132,31 +134,6 @@
  39268. # CDPATH.
  39269. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  39270. -# Use a proper internal environment variable to ensure we don't fall
  39271. - # into an infinite loop, continuously re-executing ourselves.
  39272. - if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  39273. - _as_can_reexec=no; export _as_can_reexec;
  39274. - # We cannot yet assume a decent shell, so we have to provide a
  39275. -# neutralization value for shells without unset; and this also
  39276. -# works around shells that cannot unset nonexistent variables.
  39277. -# Preserve -v and -x to the replacement shell.
  39278. -BASH_ENV=/dev/null
  39279. -ENV=/dev/null
  39280. -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  39281. -case $- in # ((((
  39282. - *v*x* | *x*v* ) as_opts=-vx ;;
  39283. - *v* ) as_opts=-v ;;
  39284. - *x* ) as_opts=-x ;;
  39285. - * ) as_opts= ;;
  39286. -esac
  39287. -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  39288. -# Admittedly, this is quite paranoid, since all the known shells bail
  39289. -# out after a failed `exec'.
  39290. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  39291. -as_fn_exit 255
  39292. - fi
  39293. - # We don't want this to propagate to other subprocesses.
  39294. - { _as_can_reexec=; unset _as_can_reexec;}
  39295. if test "x$CONFIG_SHELL" = x; then
  39296. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  39297. emulate sh
  39298. @@ -190,8 +167,7 @@
  39299. else
  39300. exitcode=1; echo positional parameters were not saved.
  39301. fi
  39302. -test x\$exitcode = x0 || exit 1
  39303. -test -x / || exit 1"
  39304. +test x\$exitcode = x0 || exit 1"
  39305. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  39306. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  39307. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  39308. @@ -244,25 +220,21 @@
  39309. if test "x$CONFIG_SHELL" != x; then :
  39310. - export CONFIG_SHELL
  39311. - # We cannot yet assume a decent shell, so we have to provide a
  39312. -# neutralization value for shells without unset; and this also
  39313. -# works around shells that cannot unset nonexistent variables.
  39314. -# Preserve -v and -x to the replacement shell.
  39315. -BASH_ENV=/dev/null
  39316. -ENV=/dev/null
  39317. -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  39318. -case $- in # ((((
  39319. - *v*x* | *x*v* ) as_opts=-vx ;;
  39320. - *v* ) as_opts=-v ;;
  39321. - *x* ) as_opts=-x ;;
  39322. - * ) as_opts= ;;
  39323. -esac
  39324. -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  39325. -# Admittedly, this is quite paranoid, since all the known shells bail
  39326. -# out after a failed `exec'.
  39327. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  39328. -exit 255
  39329. + # We cannot yet assume a decent shell, so we have to provide a
  39330. + # neutralization value for shells without unset; and this also
  39331. + # works around shells that cannot unset nonexistent variables.
  39332. + # Preserve -v and -x to the replacement shell.
  39333. + BASH_ENV=/dev/null
  39334. + ENV=/dev/null
  39335. + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  39336. + export CONFIG_SHELL
  39337. + case $- in # ((((
  39338. + *v*x* | *x*v* ) as_opts=-vx ;;
  39339. + *v* ) as_opts=-v ;;
  39340. + *x* ) as_opts=-x ;;
  39341. + * ) as_opts= ;;
  39342. + esac
  39343. + exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
  39344. fi
  39345. if test x$as_have_required = xno; then :
  39346. @@ -364,14 +336,6 @@
  39347. } # as_fn_mkdir_p
  39348. -
  39349. -# as_fn_executable_p FILE
  39350. -# -----------------------
  39351. -# Test if FILE is an executable regular file.
  39352. -as_fn_executable_p ()
  39353. -{
  39354. - test -f "$1" && test -x "$1"
  39355. -} # as_fn_executable_p
  39356. # as_fn_append VAR VALUE
  39357. # ----------------------
  39358. # Append the text in VALUE to the end of the definition contained in VAR. Take
  39359. @@ -493,10 +457,6 @@
  39360. chmod +x "$as_me.lineno" ||
  39361. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  39362. - # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  39363. - # already done that, so ensure we don't try to do so again and fall
  39364. - # in an infinite loop. This has already happened in practice.
  39365. - _as_can_reexec=no; export _as_can_reexec
  39366. # Don't try to exec as it changes $[0], causing all sort of problems
  39367. # (the dirname of $[0] is not the place where we might find the
  39368. # original and so on. Autoconf is especially sensitive to this).
  39369. @@ -531,16 +491,16 @@
  39370. # ... but there are two gotchas:
  39371. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  39372. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  39373. - # In both cases, we have to default to `cp -pR'.
  39374. + # In both cases, we have to default to `cp -p'.
  39375. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  39376. - as_ln_s='cp -pR'
  39377. + as_ln_s='cp -p'
  39378. elif ln conf$$.file conf$$ 2>/dev/null; then
  39379. as_ln_s=ln
  39380. else
  39381. - as_ln_s='cp -pR'
  39382. + as_ln_s='cp -p'
  39383. fi
  39384. else
  39385. - as_ln_s='cp -pR'
  39386. + as_ln_s='cp -p'
  39387. fi
  39388. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  39389. rmdir conf$$.dir 2>/dev/null
  39390. @@ -552,8 +512,28 @@
  39391. as_mkdir_p=false
  39392. fi
  39393. -as_test_x='test -x'
  39394. -as_executable_p=as_fn_executable_p
  39395. +if test -x / >/dev/null 2>&1; then
  39396. + as_test_x='test -x'
  39397. +else
  39398. + if ls -dL / >/dev/null 2>&1; then
  39399. + as_ls_L_option=L
  39400. + else
  39401. + as_ls_L_option=
  39402. + fi
  39403. + as_test_x='
  39404. + eval sh -c '\''
  39405. + if test -d "$1"; then
  39406. + test -d "$1/.";
  39407. + else
  39408. + case $1 in #(
  39409. + -*)set "./$1";;
  39410. + esac;
  39411. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  39412. + ???[sx]*):;;*)false;;esac;fi
  39413. + '\'' sh
  39414. + '
  39415. +fi
  39416. +as_executable_p=$as_test_x
  39417. # Sed expression to map a string onto a valid CPP name.
  39418. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  39419. @@ -1290,6 +1270,8 @@
  39420. if test "x$host_alias" != x; then
  39421. if test "x$build_alias" = x; then
  39422. cross_compiling=maybe
  39423. + $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
  39424. + If a cross compiler is detected then cross compile mode will be used" >&2
  39425. elif test "x$build_alias" != "x$host_alias"; then
  39426. cross_compiling=yes
  39427. fi
  39428. @@ -1591,9 +1573,9 @@
  39429. if $ac_init_version; then
  39430. cat <<\_ACEOF
  39431. ulogd configure 2.0.2
  39432. -generated by GNU Autoconf 2.69
  39433. +generated by GNU Autoconf 2.68
  39434. -Copyright (C) 2012 Free Software Foundation, Inc.
  39435. +Copyright (C) 2010 Free Software Foundation, Inc.
  39436. This configure script is free software; the Free Software Foundation
  39437. gives unlimited permission to copy, distribute and modify it.
  39438. _ACEOF
  39439. @@ -1669,7 +1651,7 @@
  39440. test ! -s conftest.err
  39441. } && test -s conftest$ac_exeext && {
  39442. test "$cross_compiling" = yes ||
  39443. - test -x conftest$ac_exeext
  39444. + $as_test_x conftest$ac_exeext
  39445. }; then :
  39446. ac_retval=0
  39447. else
  39448. @@ -2010,7 +1992,7 @@
  39449. running configure, to aid debugging if configure makes a mistake.
  39450. It was created by ulogd $as_me 2.0.2, which was
  39451. -generated by GNU Autoconf 2.69. Invocation command line was
  39452. +generated by GNU Autoconf 2.68. Invocation command line was
  39453. $ $0 $@
  39454. @@ -2426,7 +2408,7 @@
  39455. # by default.
  39456. for ac_prog in ginstall scoinst install; do
  39457. for ac_exec_ext in '' $ac_executable_extensions; do
  39458. - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  39459. + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  39460. if test $ac_prog = install &&
  39461. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  39462. # AIX install. It has an incompatible calling convention.
  39463. @@ -2595,7 +2577,7 @@
  39464. IFS=$as_save_IFS
  39465. test -z "$as_dir" && as_dir=.
  39466. for ac_exec_ext in '' $ac_executable_extensions; do
  39467. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39468. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39469. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  39470. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39471. break 2
  39472. @@ -2635,7 +2617,7 @@
  39473. IFS=$as_save_IFS
  39474. test -z "$as_dir" && as_dir=.
  39475. for ac_exec_ext in '' $ac_executable_extensions; do
  39476. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39477. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39478. ac_cv_prog_ac_ct_STRIP="strip"
  39479. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39480. break 2
  39481. @@ -2686,7 +2668,7 @@
  39482. test -z "$as_dir" && as_dir=.
  39483. for ac_prog in mkdir gmkdir; do
  39484. for ac_exec_ext in '' $ac_executable_extensions; do
  39485. - as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  39486. + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  39487. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  39488. 'mkdir (GNU coreutils) '* | \
  39489. 'mkdir (coreutils) '* | \
  39490. @@ -2739,7 +2721,7 @@
  39491. IFS=$as_save_IFS
  39492. test -z "$as_dir" && as_dir=.
  39493. for ac_exec_ext in '' $ac_executable_extensions; do
  39494. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39495. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39496. ac_cv_prog_AWK="$ac_prog"
  39497. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39498. break 2
  39499. @@ -3035,7 +3017,7 @@
  39500. IFS=$as_save_IFS
  39501. test -z "$as_dir" && as_dir=.
  39502. for ac_exec_ext in '' $ac_executable_extensions; do
  39503. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39504. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39505. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  39506. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39507. break 2
  39508. @@ -3075,7 +3057,7 @@
  39509. IFS=$as_save_IFS
  39510. test -z "$as_dir" && as_dir=.
  39511. for ac_exec_ext in '' $ac_executable_extensions; do
  39512. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39513. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39514. ac_cv_prog_ac_ct_CC="gcc"
  39515. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39516. break 2
  39517. @@ -3128,7 +3110,7 @@
  39518. IFS=$as_save_IFS
  39519. test -z "$as_dir" && as_dir=.
  39520. for ac_exec_ext in '' $ac_executable_extensions; do
  39521. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39522. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39523. ac_cv_prog_CC="${ac_tool_prefix}cc"
  39524. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39525. break 2
  39526. @@ -3169,7 +3151,7 @@
  39527. IFS=$as_save_IFS
  39528. test -z "$as_dir" && as_dir=.
  39529. for ac_exec_ext in '' $ac_executable_extensions; do
  39530. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39531. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39532. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  39533. ac_prog_rejected=yes
  39534. continue
  39535. @@ -3227,7 +3209,7 @@
  39536. IFS=$as_save_IFS
  39537. test -z "$as_dir" && as_dir=.
  39538. for ac_exec_ext in '' $ac_executable_extensions; do
  39539. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39540. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39541. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  39542. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39543. break 2
  39544. @@ -3271,7 +3253,7 @@
  39545. IFS=$as_save_IFS
  39546. test -z "$as_dir" && as_dir=.
  39547. for ac_exec_ext in '' $ac_executable_extensions; do
  39548. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39549. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39550. ac_cv_prog_ac_ct_CC="$ac_prog"
  39551. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39552. break 2
  39553. @@ -3717,7 +3699,8 @@
  39554. /* end confdefs.h. */
  39555. #include <stdarg.h>
  39556. #include <stdio.h>
  39557. -struct stat;
  39558. +#include <sys/types.h>
  39559. +#include <sys/stat.h>
  39560. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  39561. struct buf { int x; };
  39562. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  39563. @@ -3950,7 +3933,7 @@
  39564. IFS=$as_save_IFS
  39565. test -z "$as_dir" && as_dir=.
  39566. for ac_exec_ext in '' $ac_executable_extensions; do
  39567. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39568. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39569. ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  39570. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39571. break 2
  39572. @@ -3994,7 +3977,7 @@
  39573. IFS=$as_save_IFS
  39574. test -z "$as_dir" && as_dir=.
  39575. for ac_exec_ext in '' $ac_executable_extensions; do
  39576. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39577. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39578. ac_cv_prog_ac_ct_AR="$ac_prog"
  39579. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39580. break 2
  39581. @@ -4184,7 +4167,7 @@
  39582. IFS=$as_save_IFS
  39583. test -z "$as_dir" && as_dir=.
  39584. for ac_exec_ext in '' $ac_executable_extensions; do
  39585. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39586. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39587. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  39588. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39589. break 2
  39590. @@ -4224,7 +4207,7 @@
  39591. IFS=$as_save_IFS
  39592. test -z "$as_dir" && as_dir=.
  39593. for ac_exec_ext in '' $ac_executable_extensions; do
  39594. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39595. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39596. ac_cv_prog_ac_ct_CC="gcc"
  39597. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39598. break 2
  39599. @@ -4277,7 +4260,7 @@
  39600. IFS=$as_save_IFS
  39601. test -z "$as_dir" && as_dir=.
  39602. for ac_exec_ext in '' $ac_executable_extensions; do
  39603. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39604. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39605. ac_cv_prog_CC="${ac_tool_prefix}cc"
  39606. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39607. break 2
  39608. @@ -4318,7 +4301,7 @@
  39609. IFS=$as_save_IFS
  39610. test -z "$as_dir" && as_dir=.
  39611. for ac_exec_ext in '' $ac_executable_extensions; do
  39612. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39613. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39614. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  39615. ac_prog_rejected=yes
  39616. continue
  39617. @@ -4376,7 +4359,7 @@
  39618. IFS=$as_save_IFS
  39619. test -z "$as_dir" && as_dir=.
  39620. for ac_exec_ext in '' $ac_executable_extensions; do
  39621. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39622. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39623. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  39624. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39625. break 2
  39626. @@ -4420,7 +4403,7 @@
  39627. IFS=$as_save_IFS
  39628. test -z "$as_dir" && as_dir=.
  39629. for ac_exec_ext in '' $ac_executable_extensions; do
  39630. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39631. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39632. ac_cv_prog_ac_ct_CC="$ac_prog"
  39633. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39634. break 2
  39635. @@ -4616,7 +4599,8 @@
  39636. /* end confdefs.h. */
  39637. #include <stdarg.h>
  39638. #include <stdio.h>
  39639. -struct stat;
  39640. +#include <sys/types.h>
  39641. +#include <sys/stat.h>
  39642. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  39643. struct buf { int x; };
  39644. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  39645. @@ -5048,7 +5032,7 @@
  39646. for ac_prog in sed gsed; do
  39647. for ac_exec_ext in '' $ac_executable_extensions; do
  39648. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  39649. - as_fn_executable_p "$ac_path_SED" || continue
  39650. + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  39651. # Check for GNU ac_path_SED and select it if it is found.
  39652. # Check for GNU $ac_path_SED
  39653. case `"$ac_path_SED" --version 2>&1` in
  39654. @@ -5124,7 +5108,7 @@
  39655. for ac_prog in grep ggrep; do
  39656. for ac_exec_ext in '' $ac_executable_extensions; do
  39657. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  39658. - as_fn_executable_p "$ac_path_GREP" || continue
  39659. + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  39660. # Check for GNU ac_path_GREP and select it if it is found.
  39661. # Check for GNU $ac_path_GREP
  39662. case `"$ac_path_GREP" --version 2>&1` in
  39663. @@ -5190,7 +5174,7 @@
  39664. for ac_prog in egrep; do
  39665. for ac_exec_ext in '' $ac_executable_extensions; do
  39666. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  39667. - as_fn_executable_p "$ac_path_EGREP" || continue
  39668. + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  39669. # Check for GNU ac_path_EGREP and select it if it is found.
  39670. # Check for GNU $ac_path_EGREP
  39671. case `"$ac_path_EGREP" --version 2>&1` in
  39672. @@ -5257,7 +5241,7 @@
  39673. for ac_prog in fgrep; do
  39674. for ac_exec_ext in '' $ac_executable_extensions; do
  39675. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  39676. - as_fn_executable_p "$ac_path_FGREP" || continue
  39677. + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  39678. # Check for GNU ac_path_FGREP and select it if it is found.
  39679. # Check for GNU $ac_path_FGREP
  39680. case `"$ac_path_FGREP" --version 2>&1` in
  39681. @@ -5513,7 +5497,7 @@
  39682. IFS=$as_save_IFS
  39683. test -z "$as_dir" && as_dir=.
  39684. for ac_exec_ext in '' $ac_executable_extensions; do
  39685. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39686. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39687. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  39688. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39689. break 2
  39690. @@ -5557,7 +5541,7 @@
  39691. IFS=$as_save_IFS
  39692. test -z "$as_dir" && as_dir=.
  39693. for ac_exec_ext in '' $ac_executable_extensions; do
  39694. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39695. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39696. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  39697. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39698. break 2
  39699. @@ -5981,7 +5965,7 @@
  39700. IFS=$as_save_IFS
  39701. test -z "$as_dir" && as_dir=.
  39702. for ac_exec_ext in '' $ac_executable_extensions; do
  39703. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39704. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39705. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  39706. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39707. break 2
  39708. @@ -6021,7 +6005,7 @@
  39709. IFS=$as_save_IFS
  39710. test -z "$as_dir" && as_dir=.
  39711. for ac_exec_ext in '' $ac_executable_extensions; do
  39712. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39713. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39714. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  39715. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39716. break 2
  39717. @@ -6323,7 +6307,7 @@
  39718. IFS=$as_save_IFS
  39719. test -z "$as_dir" && as_dir=.
  39720. for ac_exec_ext in '' $ac_executable_extensions; do
  39721. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39722. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39723. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  39724. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39725. break 2
  39726. @@ -6363,7 +6347,7 @@
  39727. IFS=$as_save_IFS
  39728. test -z "$as_dir" && as_dir=.
  39729. for ac_exec_ext in '' $ac_executable_extensions; do
  39730. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39731. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39732. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  39733. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39734. break 2
  39735. @@ -6466,7 +6450,7 @@
  39736. IFS=$as_save_IFS
  39737. test -z "$as_dir" && as_dir=.
  39738. for ac_exec_ext in '' $ac_executable_extensions; do
  39739. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39740. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39741. ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  39742. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39743. break 2
  39744. @@ -6510,7 +6494,7 @@
  39745. IFS=$as_save_IFS
  39746. test -z "$as_dir" && as_dir=.
  39747. for ac_exec_ext in '' $ac_executable_extensions; do
  39748. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39749. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39750. ac_cv_prog_ac_ct_AR="$ac_prog"
  39751. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39752. break 2
  39753. @@ -6635,7 +6619,7 @@
  39754. IFS=$as_save_IFS
  39755. test -z "$as_dir" && as_dir=.
  39756. for ac_exec_ext in '' $ac_executable_extensions; do
  39757. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39758. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39759. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  39760. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39761. break 2
  39762. @@ -6675,7 +6659,7 @@
  39763. IFS=$as_save_IFS
  39764. test -z "$as_dir" && as_dir=.
  39765. for ac_exec_ext in '' $ac_executable_extensions; do
  39766. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39767. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39768. ac_cv_prog_ac_ct_STRIP="strip"
  39769. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39770. break 2
  39771. @@ -6734,7 +6718,7 @@
  39772. IFS=$as_save_IFS
  39773. test -z "$as_dir" && as_dir=.
  39774. for ac_exec_ext in '' $ac_executable_extensions; do
  39775. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39776. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39777. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  39778. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39779. break 2
  39780. @@ -6774,7 +6758,7 @@
  39781. IFS=$as_save_IFS
  39782. test -z "$as_dir" && as_dir=.
  39783. for ac_exec_ext in '' $ac_executable_extensions; do
  39784. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39785. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39786. ac_cv_prog_ac_ct_RANLIB="ranlib"
  39787. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39788. break 2
  39789. @@ -7423,7 +7407,7 @@
  39790. IFS=$as_save_IFS
  39791. test -z "$as_dir" && as_dir=.
  39792. for ac_exec_ext in '' $ac_executable_extensions; do
  39793. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39794. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39795. ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  39796. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39797. break 2
  39798. @@ -7463,7 +7447,7 @@
  39799. IFS=$as_save_IFS
  39800. test -z "$as_dir" && as_dir=.
  39801. for ac_exec_ext in '' $ac_executable_extensions; do
  39802. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39803. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39804. ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  39805. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39806. break 2
  39807. @@ -7543,7 +7527,7 @@
  39808. IFS=$as_save_IFS
  39809. test -z "$as_dir" && as_dir=.
  39810. for ac_exec_ext in '' $ac_executable_extensions; do
  39811. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39812. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39813. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  39814. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39815. break 2
  39816. @@ -7583,7 +7567,7 @@
  39817. IFS=$as_save_IFS
  39818. test -z "$as_dir" && as_dir=.
  39819. for ac_exec_ext in '' $ac_executable_extensions; do
  39820. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39821. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39822. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  39823. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39824. break 2
  39825. @@ -7635,7 +7619,7 @@
  39826. IFS=$as_save_IFS
  39827. test -z "$as_dir" && as_dir=.
  39828. for ac_exec_ext in '' $ac_executable_extensions; do
  39829. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39830. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39831. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  39832. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39833. break 2
  39834. @@ -7675,7 +7659,7 @@
  39835. IFS=$as_save_IFS
  39836. test -z "$as_dir" && as_dir=.
  39837. for ac_exec_ext in '' $ac_executable_extensions; do
  39838. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39839. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39840. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  39841. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39842. break 2
  39843. @@ -7727,7 +7711,7 @@
  39844. IFS=$as_save_IFS
  39845. test -z "$as_dir" && as_dir=.
  39846. for ac_exec_ext in '' $ac_executable_extensions; do
  39847. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39848. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39849. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  39850. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39851. break 2
  39852. @@ -7767,7 +7751,7 @@
  39853. IFS=$as_save_IFS
  39854. test -z "$as_dir" && as_dir=.
  39855. for ac_exec_ext in '' $ac_executable_extensions; do
  39856. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39857. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39858. ac_cv_prog_ac_ct_LIPO="lipo"
  39859. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39860. break 2
  39861. @@ -7819,7 +7803,7 @@
  39862. IFS=$as_save_IFS
  39863. test -z "$as_dir" && as_dir=.
  39864. for ac_exec_ext in '' $ac_executable_extensions; do
  39865. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39866. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39867. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  39868. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39869. break 2
  39870. @@ -7859,7 +7843,7 @@
  39871. IFS=$as_save_IFS
  39872. test -z "$as_dir" && as_dir=.
  39873. for ac_exec_ext in '' $ac_executable_extensions; do
  39874. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39875. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39876. ac_cv_prog_ac_ct_OTOOL="otool"
  39877. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39878. break 2
  39879. @@ -7911,7 +7895,7 @@
  39880. IFS=$as_save_IFS
  39881. test -z "$as_dir" && as_dir=.
  39882. for ac_exec_ext in '' $ac_executable_extensions; do
  39883. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39884. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39885. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  39886. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39887. break 2
  39888. @@ -7951,7 +7935,7 @@
  39889. IFS=$as_save_IFS
  39890. test -z "$as_dir" && as_dir=.
  39891. for ac_exec_ext in '' $ac_executable_extensions; do
  39892. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39893. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39894. ac_cv_prog_ac_ct_OTOOL64="otool64"
  39895. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39896. break 2
  39897. @@ -12812,7 +12796,7 @@
  39898. fi
  39899. -for ac_header in fcntl.h unistd.h
  39900. +for ac_header in fcntl.h unistd.h sys/queue.h
  39901. do :
  39902. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  39903. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  39904. @@ -12837,11 +12821,11 @@
  39905. int
  39906. main ()
  39907. {
  39908. -
  39909. +/* FIXME: Include the comments suggested by Paul. */
  39910. #ifndef __cplusplus
  39911. - /* Ultrix mips cc rejects this sort of thing. */
  39912. + /* Ultrix mips cc rejects this. */
  39913. typedef int charset[2];
  39914. - const charset cs = { 0, 0 };
  39915. + const charset cs;
  39916. /* SunOS 4.1.1 cc rejects this. */
  39917. char const *const *pcpcc;
  39918. char **ppc;
  39919. @@ -12858,9 +12842,8 @@
  39920. ++pcpcc;
  39921. ppc = (char**) pcpcc;
  39922. pcpcc = (char const *const *) ppc;
  39923. - { /* SCO 3.2v4 cc rejects this sort of thing. */
  39924. - char tx;
  39925. - char *t = &tx;
  39926. + { /* SCO 3.2v4 cc rejects this. */
  39927. + char *t;
  39928. char const *s = 0 ? (char *) 0 : (char const *) 0;
  39929. *t++ = 0;
  39930. @@ -12876,10 +12859,10 @@
  39931. iptr p = 0;
  39932. ++p;
  39933. }
  39934. - { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
  39935. + { /* AIX XL C 1.02.0.0 rejects this saying
  39936. "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  39937. - struct s { int j; const int *ap[3]; } bx;
  39938. - struct s *b = &bx; b->j = 5;
  39939. + struct s { int j; const int *ap[3]; };
  39940. + struct s *b; b->j = 5;
  39941. }
  39942. { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  39943. const int foo = 10;
  39944. @@ -13149,8 +13132,6 @@
  39945. esac
  39946. rm -rf conftest*
  39947. fi
  39948. -
  39949. -
  39950. fi
  39951. @@ -13216,7 +13197,7 @@
  39952. IFS=$as_save_IFS
  39953. test -z "$as_dir" && as_dir=.
  39954. for ac_exec_ext in '' $ac_executable_extensions; do
  39955. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39956. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39957. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  39958. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39959. break 2
  39960. @@ -13259,7 +13240,7 @@
  39961. IFS=$as_save_IFS
  39962. test -z "$as_dir" && as_dir=.
  39963. for ac_exec_ext in '' $ac_executable_extensions; do
  39964. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  39965. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39966. ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  39967. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39968. break 2
  39969. @@ -14906,16 +14887,16 @@
  39970. # ... but there are two gotchas:
  39971. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  39972. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  39973. - # In both cases, we have to default to `cp -pR'.
  39974. + # In both cases, we have to default to `cp -p'.
  39975. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  39976. - as_ln_s='cp -pR'
  39977. + as_ln_s='cp -p'
  39978. elif ln conf$$.file conf$$ 2>/dev/null; then
  39979. as_ln_s=ln
  39980. else
  39981. - as_ln_s='cp -pR'
  39982. + as_ln_s='cp -p'
  39983. fi
  39984. else
  39985. - as_ln_s='cp -pR'
  39986. + as_ln_s='cp -p'
  39987. fi
  39988. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  39989. rmdir conf$$.dir 2>/dev/null
  39990. @@ -14975,16 +14956,28 @@
  39991. as_mkdir_p=false
  39992. fi
  39993. -
  39994. -# as_fn_executable_p FILE
  39995. -# -----------------------
  39996. -# Test if FILE is an executable regular file.
  39997. -as_fn_executable_p ()
  39998. -{
  39999. - test -f "$1" && test -x "$1"
  40000. -} # as_fn_executable_p
  40001. -as_test_x='test -x'
  40002. -as_executable_p=as_fn_executable_p
  40003. +if test -x / >/dev/null 2>&1; then
  40004. + as_test_x='test -x'
  40005. +else
  40006. + if ls -dL / >/dev/null 2>&1; then
  40007. + as_ls_L_option=L
  40008. + else
  40009. + as_ls_L_option=
  40010. + fi
  40011. + as_test_x='
  40012. + eval sh -c '\''
  40013. + if test -d "$1"; then
  40014. + test -d "$1/.";
  40015. + else
  40016. + case $1 in #(
  40017. + -*)set "./$1";;
  40018. + esac;
  40019. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  40020. + ???[sx]*):;;*)false;;esac;fi
  40021. + '\'' sh
  40022. + '
  40023. +fi
  40024. +as_executable_p=$as_test_x
  40025. # Sed expression to map a string onto a valid CPP name.
  40026. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  40027. @@ -15006,7 +14999,7 @@
  40028. # values after options handling.
  40029. ac_log="
  40030. This file was extended by ulogd $as_me 2.0.2, which was
  40031. -generated by GNU Autoconf 2.69. Invocation command line was
  40032. +generated by GNU Autoconf 2.68. Invocation command line was
  40033. CONFIG_FILES = $CONFIG_FILES
  40034. CONFIG_HEADERS = $CONFIG_HEADERS
  40035. @@ -15072,10 +15065,10 @@
  40036. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  40037. ac_cs_version="\\
  40038. ulogd config.status 2.0.2
  40039. -configured by $0, generated by GNU Autoconf 2.69,
  40040. +configured by $0, generated by GNU Autoconf 2.68,
  40041. with options \\"\$ac_cs_config\\"
  40042. -Copyright (C) 2012 Free Software Foundation, Inc.
  40043. +Copyright (C) 2010 Free Software Foundation, Inc.
  40044. This config.status script is free software; the Free Software Foundation
  40045. gives unlimited permission to copy, distribute and modify it."
  40046. @@ -15166,7 +15159,7 @@
  40047. _ACEOF
  40048. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  40049. if \$ac_cs_recheck; then
  40050. - set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  40051. + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  40052. shift
  40053. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  40054. CONFIG_SHELL='$SHELL'
  40055. diff -Nur ulogd-2.0.2.orig/configure.ac ulogd-2.0.2/configure.ac
  40056. --- ulogd-2.0.2.orig/configure.ac 2013-03-01 16:45:23.285968838 +0100
  40057. +++ ulogd-2.0.2/configure.ac 2013-08-21 19:30:15.571772542 +0200
  40058. @@ -32,7 +32,7 @@
  40059. dnl Checks for header files.
  40060. AC_HEADER_DIRENT
  40061. AC_HEADER_STDC
  40062. -AC_CHECK_HEADERS(fcntl.h unistd.h)
  40063. +AC_CHECK_HEADERS(fcntl.h unistd.h sys/queue.h)
  40064. dnl Checks for typedefs, structures, and compiler characteristics.
  40065. AC_C_CONST
  40066. diff -Nur ulogd-2.0.2.orig/filter/Makefile.in ulogd-2.0.2/filter/Makefile.in
  40067. --- ulogd-2.0.2.orig/filter/Makefile.in 2013-03-03 22:19:18.377686312 +0100
  40068. +++ ulogd-2.0.2/filter/Makefile.in 2013-08-21 19:34:35.808500922 +0200
  40069. @@ -1,4 +1,4 @@
  40070. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  40071. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  40072. # @configure_input@
  40073. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40074. @@ -16,23 +16,6 @@
  40075. @SET_MAKE@
  40076. VPATH = @srcdir@
  40077. -am__make_dryrun = \
  40078. - { \
  40079. - am__dry=no; \
  40080. - case $$MAKEFLAGS in \
  40081. - *\\[\ \ ]*) \
  40082. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  40083. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  40084. - *) \
  40085. - for am__flg in $$MAKEFLAGS; do \
  40086. - case $$am__flg in \
  40087. - *=*|--*) ;; \
  40088. - *n*) am__dry=yes; break;; \
  40089. - esac; \
  40090. - done;; \
  40091. - esac; \
  40092. - test $$am__dry = yes; \
  40093. - }
  40094. pkgdatadir = $(datadir)/@PACKAGE@
  40095. pkgincludedir = $(includedir)/@PACKAGE@
  40096. pkglibdir = $(libdir)/@PACKAGE@
  40097. @@ -218,11 +201,6 @@
  40098. install-pdf-recursive install-ps-recursive install-recursive \
  40099. installcheck-recursive installdirs-recursive pdf-recursive \
  40100. ps-recursive uninstall-recursive
  40101. -am__can_run_installinfo = \
  40102. - case $$AM_UPDATE_INFO_DIR in \
  40103. - n|no|NO) false;; \
  40104. - *) (install-info --version) >/dev/null 2>&1;; \
  40105. - esac
  40106. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  40107. distclean-recursive maintainer-clean-recursive
  40108. AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  40109. @@ -460,6 +438,7 @@
  40110. $(am__aclocal_m4_deps):
  40111. install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
  40112. @$(NORMAL_INSTALL)
  40113. + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
  40114. @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
  40115. list2=; for p in $$list; do \
  40116. if test -f $$p; then \
  40117. @@ -467,8 +446,6 @@
  40118. else :; fi; \
  40119. done; \
  40120. test -z "$$list2" || { \
  40121. - echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
  40122. - $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
  40123. echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
  40124. $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
  40125. }
  40126. @@ -735,10 +712,13 @@
  40127. done
  40128. @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40129. if test "$$subdir" = .; then :; else \
  40130. - $(am__make_dryrun) \
  40131. - || test -d "$(distdir)/$$subdir" \
  40132. - || $(MKDIR_P) "$(distdir)/$$subdir" \
  40133. - || exit 1; \
  40134. + test -d "$(distdir)/$$subdir" \
  40135. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  40136. + || exit 1; \
  40137. + fi; \
  40138. + done
  40139. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40140. + if test "$$subdir" = .; then :; else \
  40141. dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  40142. $(am__relativize); \
  40143. new_distdir=$$reldir; \
  40144. diff -Nur ulogd-2.0.2.orig/filter/packet2flow/Makefile.in ulogd-2.0.2/filter/packet2flow/Makefile.in
  40145. --- ulogd-2.0.2.orig/filter/packet2flow/Makefile.in 2013-03-03 22:19:18.409686863 +0100
  40146. +++ ulogd-2.0.2/filter/packet2flow/Makefile.in 2013-08-21 19:34:36.176496297 +0200
  40147. @@ -1,4 +1,4 @@
  40148. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  40149. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  40150. # @configure_input@
  40151. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40152. @@ -15,23 +15,6 @@
  40153. @SET_MAKE@
  40154. VPATH = @srcdir@
  40155. -am__make_dryrun = \
  40156. - { \
  40157. - am__dry=no; \
  40158. - case $$MAKEFLAGS in \
  40159. - *\\[\ \ ]*) \
  40160. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  40161. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  40162. - *) \
  40163. - for am__flg in $$MAKEFLAGS; do \
  40164. - case $$am__flg in \
  40165. - *=*|--*) ;; \
  40166. - *n*) am__dry=yes; break;; \
  40167. - esac; \
  40168. - done;; \
  40169. - esac; \
  40170. - test $$am__dry = yes; \
  40171. - }
  40172. pkgdatadir = $(datadir)/@PACKAGE@
  40173. pkgincludedir = $(includedir)/@PACKAGE@
  40174. pkglibdir = $(libdir)/@PACKAGE@
  40175. @@ -71,11 +54,6 @@
  40176. am__v_at_0 = @
  40177. SOURCES =
  40178. DIST_SOURCES =
  40179. -am__can_run_installinfo = \
  40180. - case $$AM_UPDATE_INFO_DIR in \
  40181. - n|no|NO) false;; \
  40182. - *) (install-info --version) >/dev/null 2>&1;; \
  40183. - esac
  40184. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  40185. ACLOCAL = @ACLOCAL@
  40186. AMTAR = @AMTAR@
  40187. diff -Nur ulogd-2.0.2.orig/filter/raw2packet/Makefile.in ulogd-2.0.2/filter/raw2packet/Makefile.in
  40188. --- ulogd-2.0.2.orig/filter/raw2packet/Makefile.in 2013-03-03 22:19:18.485688175 +0100
  40189. +++ ulogd-2.0.2/filter/raw2packet/Makefile.in 2013-08-21 19:34:36.400493480 +0200
  40190. @@ -1,4 +1,4 @@
  40191. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  40192. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  40193. # @configure_input@
  40194. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40195. @@ -16,23 +16,6 @@
  40196. @SET_MAKE@
  40197. VPATH = @srcdir@
  40198. -am__make_dryrun = \
  40199. - { \
  40200. - am__dry=no; \
  40201. - case $$MAKEFLAGS in \
  40202. - *\\[\ \ ]*) \
  40203. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  40204. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  40205. - *) \
  40206. - for am__flg in $$MAKEFLAGS; do \
  40207. - case $$am__flg in \
  40208. - *=*|--*) ;; \
  40209. - *n*) am__dry=yes; break;; \
  40210. - esac; \
  40211. - done;; \
  40212. - esac; \
  40213. - test $$am__dry = yes; \
  40214. - }
  40215. pkgdatadir = $(datadir)/@PACKAGE@
  40216. pkgincludedir = $(includedir)/@PACKAGE@
  40217. pkglibdir = $(libdir)/@PACKAGE@
  40218. @@ -132,11 +115,6 @@
  40219. am__v_GEN_0 = @echo " GEN " $@;
  40220. SOURCES = $(ulogd_raw2packet_BASE_la_SOURCES)
  40221. DIST_SOURCES = $(ulogd_raw2packet_BASE_la_SOURCES)
  40222. -am__can_run_installinfo = \
  40223. - case $$AM_UPDATE_INFO_DIR in \
  40224. - n|no|NO) false;; \
  40225. - *) (install-info --version) >/dev/null 2>&1;; \
  40226. - esac
  40227. ETAGS = etags
  40228. CTAGS = ctags
  40229. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  40230. @@ -320,6 +298,7 @@
  40231. $(am__aclocal_m4_deps):
  40232. install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
  40233. @$(NORMAL_INSTALL)
  40234. + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
  40235. @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
  40236. list2=; for p in $$list; do \
  40237. if test -f $$p; then \
  40238. @@ -327,8 +306,6 @@
  40239. else :; fi; \
  40240. done; \
  40241. test -z "$$list2" || { \
  40242. - echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
  40243. - $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
  40244. echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
  40245. $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
  40246. }
  40247. diff -Nur ulogd-2.0.2.orig/include/libipulog/Makefile.in ulogd-2.0.2/include/libipulog/Makefile.in
  40248. --- ulogd-2.0.2.orig/include/libipulog/Makefile.in 2013-03-03 22:19:18.585689900 +0100
  40249. +++ ulogd-2.0.2/include/libipulog/Makefile.in 2013-08-21 19:34:36.716489508 +0200
  40250. @@ -1,4 +1,4 @@
  40251. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  40252. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  40253. # @configure_input@
  40254. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40255. @@ -16,23 +16,6 @@
  40256. @SET_MAKE@
  40257. VPATH = @srcdir@
  40258. -am__make_dryrun = \
  40259. - { \
  40260. - am__dry=no; \
  40261. - case $$MAKEFLAGS in \
  40262. - *\\[\ \ ]*) \
  40263. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  40264. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  40265. - *) \
  40266. - for am__flg in $$MAKEFLAGS; do \
  40267. - case $$am__flg in \
  40268. - *=*|--*) ;; \
  40269. - *n*) am__dry=yes; break;; \
  40270. - esac; \
  40271. - done;; \
  40272. - esac; \
  40273. - test $$am__dry = yes; \
  40274. - }
  40275. pkgdatadir = $(datadir)/@PACKAGE@
  40276. pkgincludedir = $(includedir)/@PACKAGE@
  40277. pkglibdir = $(libdir)/@PACKAGE@
  40278. @@ -73,11 +56,6 @@
  40279. am__v_at_0 = @
  40280. SOURCES =
  40281. DIST_SOURCES =
  40282. -am__can_run_installinfo = \
  40283. - case $$AM_UPDATE_INFO_DIR in \
  40284. - n|no|NO) false;; \
  40285. - *) (install-info --version) >/dev/null 2>&1;; \
  40286. - esac
  40287. HEADERS = $(noinst_HEADERS)
  40288. ETAGS = etags
  40289. CTAGS = ctags
  40290. diff -Nur ulogd-2.0.2.orig/include/linux/Makefile.in ulogd-2.0.2/include/linux/Makefile.in
  40291. --- ulogd-2.0.2.orig/include/linux/Makefile.in 2013-03-03 22:19:18.629690659 +0100
  40292. +++ ulogd-2.0.2/include/linux/Makefile.in 2013-08-21 19:34:36.880487445 +0200
  40293. @@ -1,4 +1,4 @@
  40294. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  40295. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  40296. # @configure_input@
  40297. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40298. @@ -15,23 +15,6 @@
  40299. @SET_MAKE@
  40300. VPATH = @srcdir@
  40301. -am__make_dryrun = \
  40302. - { \
  40303. - am__dry=no; \
  40304. - case $$MAKEFLAGS in \
  40305. - *\\[\ \ ]*) \
  40306. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  40307. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  40308. - *) \
  40309. - for am__flg in $$MAKEFLAGS; do \
  40310. - case $$am__flg in \
  40311. - *=*|--*) ;; \
  40312. - *n*) am__dry=yes; break;; \
  40313. - esac; \
  40314. - done;; \
  40315. - esac; \
  40316. - test $$am__dry = yes; \
  40317. - }
  40318. pkgdatadir = $(datadir)/@PACKAGE@
  40319. pkgincludedir = $(includedir)/@PACKAGE@
  40320. pkglibdir = $(libdir)/@PACKAGE@
  40321. @@ -78,11 +61,6 @@
  40322. install-pdf-recursive install-ps-recursive install-recursive \
  40323. installcheck-recursive installdirs-recursive pdf-recursive \
  40324. ps-recursive uninstall-recursive
  40325. -am__can_run_installinfo = \
  40326. - case $$AM_UPDATE_INFO_DIR in \
  40327. - n|no|NO) false;; \
  40328. - *) (install-info --version) >/dev/null 2>&1;; \
  40329. - esac
  40330. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  40331. distclean-recursive maintainer-clean-recursive
  40332. AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  40333. @@ -464,10 +442,13 @@
  40334. done
  40335. @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40336. if test "$$subdir" = .; then :; else \
  40337. - $(am__make_dryrun) \
  40338. - || test -d "$(distdir)/$$subdir" \
  40339. - || $(MKDIR_P) "$(distdir)/$$subdir" \
  40340. - || exit 1; \
  40341. + test -d "$(distdir)/$$subdir" \
  40342. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  40343. + || exit 1; \
  40344. + fi; \
  40345. + done
  40346. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40347. + if test "$$subdir" = .; then :; else \
  40348. dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  40349. $(am__relativize); \
  40350. new_distdir=$$reldir; \
  40351. diff -Nur ulogd-2.0.2.orig/include/linux/netfilter/Makefile.in ulogd-2.0.2/include/linux/netfilter/Makefile.in
  40352. --- ulogd-2.0.2.orig/include/linux/netfilter/Makefile.in 2013-03-03 22:19:18.661691212 +0100
  40353. +++ ulogd-2.0.2/include/linux/netfilter/Makefile.in 2013-08-21 19:34:36.980486189 +0200
  40354. @@ -1,4 +1,4 @@
  40355. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  40356. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  40357. # @configure_input@
  40358. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40359. @@ -16,23 +16,6 @@
  40360. @SET_MAKE@
  40361. VPATH = @srcdir@
  40362. -am__make_dryrun = \
  40363. - { \
  40364. - am__dry=no; \
  40365. - case $$MAKEFLAGS in \
  40366. - *\\[\ \ ]*) \
  40367. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  40368. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  40369. - *) \
  40370. - for am__flg in $$MAKEFLAGS; do \
  40371. - case $$am__flg in \
  40372. - *=*|--*) ;; \
  40373. - *n*) am__dry=yes; break;; \
  40374. - esac; \
  40375. - done;; \
  40376. - esac; \
  40377. - test $$am__dry = yes; \
  40378. - }
  40379. pkgdatadir = $(datadir)/@PACKAGE@
  40380. pkgincludedir = $(includedir)/@PACKAGE@
  40381. pkglibdir = $(libdir)/@PACKAGE@
  40382. @@ -73,11 +56,6 @@
  40383. am__v_at_0 = @
  40384. SOURCES =
  40385. DIST_SOURCES =
  40386. -am__can_run_installinfo = \
  40387. - case $$AM_UPDATE_INFO_DIR in \
  40388. - n|no|NO) false;; \
  40389. - *) (install-info --version) >/dev/null 2>&1;; \
  40390. - esac
  40391. HEADERS = $(noinst_HEADERS)
  40392. ETAGS = etags
  40393. CTAGS = ctags
  40394. diff -Nur ulogd-2.0.2.orig/include/Makefile.in ulogd-2.0.2/include/Makefile.in
  40395. --- ulogd-2.0.2.orig/include/Makefile.in 2013-03-03 22:19:18.549689279 +0100
  40396. +++ ulogd-2.0.2/include/Makefile.in 2013-08-21 19:34:36.500492224 +0200
  40397. @@ -1,4 +1,4 @@
  40398. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  40399. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  40400. # @configure_input@
  40401. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40402. @@ -15,23 +15,6 @@
  40403. @SET_MAKE@
  40404. VPATH = @srcdir@
  40405. -am__make_dryrun = \
  40406. - { \
  40407. - am__dry=no; \
  40408. - case $$MAKEFLAGS in \
  40409. - *\\[\ \ ]*) \
  40410. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  40411. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  40412. - *) \
  40413. - for am__flg in $$MAKEFLAGS; do \
  40414. - case $$am__flg in \
  40415. - *=*|--*) ;; \
  40416. - *n*) am__dry=yes; break;; \
  40417. - esac; \
  40418. - done;; \
  40419. - esac; \
  40420. - test $$am__dry = yes; \
  40421. - }
  40422. pkgdatadir = $(datadir)/@PACKAGE@
  40423. pkgincludedir = $(includedir)/@PACKAGE@
  40424. pkglibdir = $(libdir)/@PACKAGE@
  40425. @@ -78,11 +61,6 @@
  40426. install-pdf-recursive install-ps-recursive install-recursive \
  40427. installcheck-recursive installdirs-recursive pdf-recursive \
  40428. ps-recursive uninstall-recursive
  40429. -am__can_run_installinfo = \
  40430. - case $$AM_UPDATE_INFO_DIR in \
  40431. - n|no|NO) false;; \
  40432. - *) (install-info --version) >/dev/null 2>&1;; \
  40433. - esac
  40434. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  40435. distclean-recursive maintainer-clean-recursive
  40436. AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  40437. @@ -464,10 +442,13 @@
  40438. done
  40439. @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40440. if test "$$subdir" = .; then :; else \
  40441. - $(am__make_dryrun) \
  40442. - || test -d "$(distdir)/$$subdir" \
  40443. - || $(MKDIR_P) "$(distdir)/$$subdir" \
  40444. - || exit 1; \
  40445. + test -d "$(distdir)/$$subdir" \
  40446. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  40447. + || exit 1; \
  40448. + fi; \
  40449. + done
  40450. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40451. + if test "$$subdir" = .; then :; else \
  40452. dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  40453. $(am__relativize); \
  40454. new_distdir=$$reldir; \
  40455. diff -Nur ulogd-2.0.2.orig/include/ulogd/Makefile.in ulogd-2.0.2/include/ulogd/Makefile.in
  40456. --- ulogd-2.0.2.orig/include/ulogd/Makefile.in 2013-03-03 22:19:18.705691971 +0100
  40457. +++ ulogd-2.0.2/include/ulogd/Makefile.in 2013-08-21 19:34:37.088484831 +0200
  40458. @@ -1,4 +1,4 @@
  40459. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  40460. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  40461. # @configure_input@
  40462. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40463. @@ -16,23 +16,6 @@
  40464. @SET_MAKE@
  40465. VPATH = @srcdir@
  40466. -am__make_dryrun = \
  40467. - { \
  40468. - am__dry=no; \
  40469. - case $$MAKEFLAGS in \
  40470. - *\\[\ \ ]*) \
  40471. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  40472. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  40473. - *) \
  40474. - for am__flg in $$MAKEFLAGS; do \
  40475. - case $$am__flg in \
  40476. - *=*|--*) ;; \
  40477. - *n*) am__dry=yes; break;; \
  40478. - esac; \
  40479. - done;; \
  40480. - esac; \
  40481. - test $$am__dry = yes; \
  40482. - }
  40483. pkgdatadir = $(datadir)/@PACKAGE@
  40484. pkgincludedir = $(includedir)/@PACKAGE@
  40485. pkglibdir = $(libdir)/@PACKAGE@
  40486. @@ -73,11 +56,6 @@
  40487. am__v_at_0 = @
  40488. SOURCES =
  40489. DIST_SOURCES =
  40490. -am__can_run_installinfo = \
  40491. - case $$AM_UPDATE_INFO_DIR in \
  40492. - n|no|NO) false;; \
  40493. - *) (install-info --version) >/dev/null 2>&1;; \
  40494. - esac
  40495. HEADERS = $(noinst_HEADERS)
  40496. ETAGS = etags
  40497. CTAGS = ctags
  40498. diff -Nur ulogd-2.0.2.orig/input/flow/Makefile.in ulogd-2.0.2/input/flow/Makefile.in
  40499. --- ulogd-2.0.2.orig/input/flow/Makefile.in 2013-03-03 22:19:18.789693420 +0100
  40500. +++ ulogd-2.0.2/input/flow/Makefile.in 2013-08-21 19:34:37.320481914 +0200
  40501. @@ -1,4 +1,4 @@
  40502. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  40503. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  40504. # @configure_input@
  40505. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40506. @@ -16,23 +16,6 @@
  40507. @SET_MAKE@
  40508. VPATH = @srcdir@
  40509. -am__make_dryrun = \
  40510. - { \
  40511. - am__dry=no; \
  40512. - case $$MAKEFLAGS in \
  40513. - *\\[\ \ ]*) \
  40514. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  40515. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  40516. - *) \
  40517. - for am__flg in $$MAKEFLAGS; do \
  40518. - case $$am__flg in \
  40519. - *=*|--*) ;; \
  40520. - *n*) am__dry=yes; break;; \
  40521. - esac; \
  40522. - done;; \
  40523. - esac; \
  40524. - test $$am__dry = yes; \
  40525. - }
  40526. pkgdatadir = $(datadir)/@PACKAGE@
  40527. pkgincludedir = $(includedir)/@PACKAGE@
  40528. pkglibdir = $(libdir)/@PACKAGE@
  40529. @@ -134,11 +117,6 @@
  40530. am__v_GEN_0 = @echo " GEN " $@;
  40531. SOURCES = $(ulogd_inpflow_NFCT_la_SOURCES)
  40532. DIST_SOURCES = $(am__ulogd_inpflow_NFCT_la_SOURCES_DIST)
  40533. -am__can_run_installinfo = \
  40534. - case $$AM_UPDATE_INFO_DIR in \
  40535. - n|no|NO) false;; \
  40536. - *) (install-info --version) >/dev/null 2>&1;; \
  40537. - esac
  40538. ETAGS = etags
  40539. CTAGS = ctags
  40540. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  40541. @@ -322,6 +300,7 @@
  40542. $(am__aclocal_m4_deps):
  40543. install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
  40544. @$(NORMAL_INSTALL)
  40545. + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
  40546. @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
  40547. list2=; for p in $$list; do \
  40548. if test -f $$p; then \
  40549. @@ -329,8 +308,6 @@
  40550. else :; fi; \
  40551. done; \
  40552. test -z "$$list2" || { \
  40553. - echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
  40554. - $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
  40555. echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
  40556. $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
  40557. }
  40558. diff -Nur ulogd-2.0.2.orig/input/Makefile.in ulogd-2.0.2/input/Makefile.in
  40559. --- ulogd-2.0.2.orig/input/Makefile.in 2013-03-03 22:19:18.737692523 +0100
  40560. +++ ulogd-2.0.2/input/Makefile.in 2013-08-21 19:34:37.192483523 +0200
  40561. @@ -1,4 +1,4 @@
  40562. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  40563. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  40564. # @configure_input@
  40565. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40566. @@ -15,23 +15,6 @@
  40567. @SET_MAKE@
  40568. VPATH = @srcdir@
  40569. -am__make_dryrun = \
  40570. - { \
  40571. - am__dry=no; \
  40572. - case $$MAKEFLAGS in \
  40573. - *\\[\ \ ]*) \
  40574. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  40575. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  40576. - *) \
  40577. - for am__flg in $$MAKEFLAGS; do \
  40578. - case $$am__flg in \
  40579. - *=*|--*) ;; \
  40580. - *n*) am__dry=yes; break;; \
  40581. - esac; \
  40582. - done;; \
  40583. - esac; \
  40584. - test $$am__dry = yes; \
  40585. - }
  40586. pkgdatadir = $(datadir)/@PACKAGE@
  40587. pkgincludedir = $(includedir)/@PACKAGE@
  40588. pkglibdir = $(libdir)/@PACKAGE@
  40589. @@ -78,11 +61,6 @@
  40590. install-pdf-recursive install-ps-recursive install-recursive \
  40591. installcheck-recursive installdirs-recursive pdf-recursive \
  40592. ps-recursive uninstall-recursive
  40593. -am__can_run_installinfo = \
  40594. - case $$AM_UPDATE_INFO_DIR in \
  40595. - n|no|NO) false;; \
  40596. - *) (install-info --version) >/dev/null 2>&1;; \
  40597. - esac
  40598. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  40599. distclean-recursive maintainer-clean-recursive
  40600. AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  40601. @@ -464,10 +442,13 @@
  40602. done
  40603. @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40604. if test "$$subdir" = .; then :; else \
  40605. - $(am__make_dryrun) \
  40606. - || test -d "$(distdir)/$$subdir" \
  40607. - || $(MKDIR_P) "$(distdir)/$$subdir" \
  40608. - || exit 1; \
  40609. + test -d "$(distdir)/$$subdir" \
  40610. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  40611. + || exit 1; \
  40612. + fi; \
  40613. + done
  40614. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40615. + if test "$$subdir" = .; then :; else \
  40616. dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  40617. $(am__relativize); \
  40618. new_distdir=$$reldir; \
  40619. diff -Nur ulogd-2.0.2.orig/input/packet/Makefile.in ulogd-2.0.2/input/packet/Makefile.in
  40620. --- ulogd-2.0.2.orig/input/packet/Makefile.in 2013-03-03 22:19:18.841694317 +0100
  40621. +++ ulogd-2.0.2/input/packet/Makefile.in 2013-08-21 19:34:37.460480154 +0200
  40622. @@ -1,4 +1,4 @@
  40623. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  40624. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  40625. # @configure_input@
  40626. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40627. @@ -16,23 +16,6 @@
  40628. @SET_MAKE@
  40629. VPATH = @srcdir@
  40630. -am__make_dryrun = \
  40631. - { \
  40632. - am__dry=no; \
  40633. - case $$MAKEFLAGS in \
  40634. - *\\[\ \ ]*) \
  40635. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  40636. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  40637. - *) \
  40638. - for am__flg in $$MAKEFLAGS; do \
  40639. - case $$am__flg in \
  40640. - *=*|--*) ;; \
  40641. - *n*) am__dry=yes; break;; \
  40642. - esac; \
  40643. - done;; \
  40644. - esac; \
  40645. - test $$am__dry = yes; \
  40646. - }
  40647. pkgdatadir = $(datadir)/@PACKAGE@
  40648. pkgincludedir = $(includedir)/@PACKAGE@
  40649. pkglibdir = $(libdir)/@PACKAGE@
  40650. @@ -152,11 +135,6 @@
  40651. DIST_SOURCES = $(ulogd_inppkt_NFLOG_la_SOURCES) \
  40652. $(ulogd_inppkt_ULOG_la_SOURCES) \
  40653. $(ulogd_inppkt_UNIXSOCK_la_SOURCES)
  40654. -am__can_run_installinfo = \
  40655. - case $$AM_UPDATE_INFO_DIR in \
  40656. - n|no|NO) false;; \
  40657. - *) (install-info --version) >/dev/null 2>&1;; \
  40658. - esac
  40659. ETAGS = etags
  40660. CTAGS = ctags
  40661. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  40662. @@ -346,6 +324,7 @@
  40663. $(am__aclocal_m4_deps):
  40664. install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
  40665. @$(NORMAL_INSTALL)
  40666. + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
  40667. @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
  40668. list2=; for p in $$list; do \
  40669. if test -f $$p; then \
  40670. @@ -353,8 +332,6 @@
  40671. else :; fi; \
  40672. done; \
  40673. test -z "$$list2" || { \
  40674. - echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
  40675. - $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
  40676. echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
  40677. $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
  40678. }
  40679. diff -Nur ulogd-2.0.2.orig/input/sum/Makefile.in ulogd-2.0.2/input/sum/Makefile.in
  40680. --- ulogd-2.0.2.orig/input/sum/Makefile.in 2013-03-03 22:19:18.893695215 +0100
  40681. +++ ulogd-2.0.2/input/sum/Makefile.in 2013-08-21 19:34:37.600478394 +0200
  40682. @@ -1,4 +1,4 @@
  40683. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  40684. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  40685. # @configure_input@
  40686. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40687. @@ -16,23 +16,6 @@
  40688. @SET_MAKE@
  40689. VPATH = @srcdir@
  40690. -am__make_dryrun = \
  40691. - { \
  40692. - am__dry=no; \
  40693. - case $$MAKEFLAGS in \
  40694. - *\\[\ \ ]*) \
  40695. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  40696. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  40697. - *) \
  40698. - for am__flg in $$MAKEFLAGS; do \
  40699. - case $$am__flg in \
  40700. - *=*|--*) ;; \
  40701. - *n*) am__dry=yes; break;; \
  40702. - esac; \
  40703. - done;; \
  40704. - esac; \
  40705. - test $$am__dry = yes; \
  40706. - }
  40707. pkgdatadir = $(datadir)/@PACKAGE@
  40708. pkgincludedir = $(includedir)/@PACKAGE@
  40709. pkglibdir = $(libdir)/@PACKAGE@
  40710. @@ -138,11 +121,6 @@
  40711. am__v_GEN_0 = @echo " GEN " $@;
  40712. SOURCES = $(ulogd_inpflow_NFACCT_la_SOURCES)
  40713. DIST_SOURCES = $(am__ulogd_inpflow_NFACCT_la_SOURCES_DIST)
  40714. -am__can_run_installinfo = \
  40715. - case $$AM_UPDATE_INFO_DIR in \
  40716. - n|no|NO) false;; \
  40717. - *) (install-info --version) >/dev/null 2>&1;; \
  40718. - esac
  40719. ETAGS = etags
  40720. CTAGS = ctags
  40721. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  40722. @@ -327,6 +305,7 @@
  40723. $(am__aclocal_m4_deps):
  40724. install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
  40725. @$(NORMAL_INSTALL)
  40726. + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
  40727. @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
  40728. list2=; for p in $$list; do \
  40729. if test -f $$p; then \
  40730. @@ -334,8 +313,6 @@
  40731. else :; fi; \
  40732. done; \
  40733. test -z "$$list2" || { \
  40734. - echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
  40735. - $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
  40736. echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
  40737. $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
  40738. }
  40739. diff -Nur ulogd-2.0.2.orig/libipulog/Makefile.in ulogd-2.0.2/libipulog/Makefile.in
  40740. --- ulogd-2.0.2.orig/libipulog/Makefile.in 2013-03-03 22:19:18.941696042 +0100
  40741. +++ ulogd-2.0.2/libipulog/Makefile.in 2013-08-21 19:34:37.720476885 +0200
  40742. @@ -1,4 +1,4 @@
  40743. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  40744. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  40745. # @configure_input@
  40746. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40747. @@ -16,23 +16,6 @@
  40748. @SET_MAKE@
  40749. VPATH = @srcdir@
  40750. -am__make_dryrun = \
  40751. - { \
  40752. - am__dry=no; \
  40753. - case $$MAKEFLAGS in \
  40754. - *\\[\ \ ]*) \
  40755. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  40756. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  40757. - *) \
  40758. - for am__flg in $$MAKEFLAGS; do \
  40759. - case $$am__flg in \
  40760. - *=*|--*) ;; \
  40761. - *n*) am__dry=yes; break;; \
  40762. - esac; \
  40763. - done;; \
  40764. - esac; \
  40765. - test $$am__dry = yes; \
  40766. - }
  40767. pkgdatadir = $(datadir)/@PACKAGE@
  40768. pkgincludedir = $(includedir)/@PACKAGE@
  40769. pkglibdir = $(libdir)/@PACKAGE@
  40770. @@ -99,11 +82,6 @@
  40771. am__v_GEN_0 = @echo " GEN " $@;
  40772. SOURCES = $(libipulog_la_SOURCES)
  40773. DIST_SOURCES = $(libipulog_la_SOURCES)
  40774. -am__can_run_installinfo = \
  40775. - case $$AM_UPDATE_INFO_DIR in \
  40776. - n|no|NO) false;; \
  40777. - *) (install-info --version) >/dev/null 2>&1;; \
  40778. - esac
  40779. ETAGS = etags
  40780. CTAGS = ctags
  40781. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  40782. diff -Nur ulogd-2.0.2.orig/Makefile.in ulogd-2.0.2/Makefile.in
  40783. --- ulogd-2.0.2.orig/Makefile.in 2013-03-03 22:19:19.401703979 +0100
  40784. +++ ulogd-2.0.2/Makefile.in 2013-08-21 19:34:38.848462705 +0200
  40785. @@ -1,4 +1,4 @@
  40786. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  40787. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  40788. # @configure_input@
  40789. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40790. @@ -16,23 +16,6 @@
  40791. @SET_MAKE@
  40792. VPATH = @srcdir@
  40793. -am__make_dryrun = \
  40794. - { \
  40795. - am__dry=no; \
  40796. - case $$MAKEFLAGS in \
  40797. - *\\[\ \ ]*) \
  40798. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  40799. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  40800. - *) \
  40801. - for am__flg in $$MAKEFLAGS; do \
  40802. - case $$am__flg in \
  40803. - *=*|--*) ;; \
  40804. - *n*) am__dry=yes; break;; \
  40805. - esac; \
  40806. - done;; \
  40807. - esac; \
  40808. - test $$am__dry = yes; \
  40809. - }
  40810. pkgdatadir = $(datadir)/@PACKAGE@
  40811. pkgincludedir = $(includedir)/@PACKAGE@
  40812. pkglibdir = $(libdir)/@PACKAGE@
  40813. @@ -87,11 +70,6 @@
  40814. install-pdf-recursive install-ps-recursive install-recursive \
  40815. installcheck-recursive installdirs-recursive pdf-recursive \
  40816. ps-recursive uninstall-recursive
  40817. -am__can_run_installinfo = \
  40818. - case $$AM_UPDATE_INFO_DIR in \
  40819. - n|no|NO) false;; \
  40820. - *) (install-info --version) >/dev/null 2>&1;; \
  40821. - esac
  40822. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  40823. am__vpath_adj = case $$p in \
  40824. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  40825. @@ -386,18 +364,11 @@
  40826. -rm -f libtool config.lt
  40827. install-man8: $(man_MANS)
  40828. @$(NORMAL_INSTALL)
  40829. - @list1=''; \
  40830. - list2='$(man_MANS)'; \
  40831. - test -n "$(man8dir)" \
  40832. - && test -n "`echo $$list1$$list2`" \
  40833. - || exit 0; \
  40834. - echo " $(MKDIR_P) '$(DESTDIR)$(man8dir)'"; \
  40835. - $(MKDIR_P) "$(DESTDIR)$(man8dir)" || exit 1; \
  40836. - { for i in $$list1; do echo "$$i"; done; \
  40837. - if test -n "$$list2"; then \
  40838. - for i in $$list2; do echo "$$i"; done \
  40839. - | sed -n '/\.8[a-z]*$$/p'; \
  40840. - fi; \
  40841. + test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
  40842. + @list=''; test -n "$(man8dir)" || exit 0; \
  40843. + { for i in $$list; do echo "$$i"; done; \
  40844. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  40845. + sed -n '/\.8[a-z]*$$/p'; \
  40846. } | while read p; do \
  40847. if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  40848. echo "$$d$$p"; echo "$$p"; \
  40849. @@ -610,10 +581,13 @@
  40850. done
  40851. @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40852. if test "$$subdir" = .; then :; else \
  40853. - $(am__make_dryrun) \
  40854. - || test -d "$(distdir)/$$subdir" \
  40855. - || $(MKDIR_P) "$(distdir)/$$subdir" \
  40856. - || exit 1; \
  40857. + test -d "$(distdir)/$$subdir" \
  40858. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  40859. + || exit 1; \
  40860. + fi; \
  40861. + done
  40862. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40863. + if test "$$subdir" = .; then :; else \
  40864. dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  40865. $(am__relativize); \
  40866. new_distdir=$$reldir; \
  40867. @@ -701,7 +675,7 @@
  40868. *.zip*) \
  40869. unzip $(distdir).zip ;;\
  40870. esac
  40871. - chmod -R a-w $(distdir); chmod u+w $(distdir)
  40872. + chmod -R a-w $(distdir); chmod a+w $(distdir)
  40873. mkdir $(distdir)/_build
  40874. mkdir $(distdir)/_inst
  40875. chmod a-w $(distdir)
  40876. diff -Nur ulogd-2.0.2.orig/output/dbi/Makefile.in ulogd-2.0.2/output/dbi/Makefile.in
  40877. --- ulogd-2.0.2.orig/output/dbi/Makefile.in 2013-03-03 22:19:19.093698665 +0100
  40878. +++ ulogd-2.0.2/output/dbi/Makefile.in 2013-08-21 19:34:38.024473064 +0200
  40879. @@ -1,4 +1,4 @@
  40880. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  40881. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  40882. # @configure_input@
  40883. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40884. @@ -16,23 +16,6 @@
  40885. @SET_MAKE@
  40886. VPATH = @srcdir@
  40887. -am__make_dryrun = \
  40888. - { \
  40889. - am__dry=no; \
  40890. - case $$MAKEFLAGS in \
  40891. - *\\[\ \ ]*) \
  40892. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  40893. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  40894. - *) \
  40895. - for am__flg in $$MAKEFLAGS; do \
  40896. - case $$am__flg in \
  40897. - *=*|--*) ;; \
  40898. - *n*) am__dry=yes; break;; \
  40899. - esac; \
  40900. - done;; \
  40901. - esac; \
  40902. - test $$am__dry = yes; \
  40903. - }
  40904. pkgdatadir = $(datadir)/@PACKAGE@
  40905. pkgincludedir = $(includedir)/@PACKAGE@
  40906. pkglibdir = $(libdir)/@PACKAGE@
  40907. @@ -137,11 +120,6 @@
  40908. am__v_GEN_0 = @echo " GEN " $@;
  40909. SOURCES = $(ulogd_output_DBI_la_SOURCES)
  40910. DIST_SOURCES = $(am__ulogd_output_DBI_la_SOURCES_DIST)
  40911. -am__can_run_installinfo = \
  40912. - case $$AM_UPDATE_INFO_DIR in \
  40913. - n|no|NO) false;; \
  40914. - *) (install-info --version) >/dev/null 2>&1;; \
  40915. - esac
  40916. ETAGS = etags
  40917. CTAGS = ctags
  40918. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  40919. @@ -326,6 +304,7 @@
  40920. $(am__aclocal_m4_deps):
  40921. install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
  40922. @$(NORMAL_INSTALL)
  40923. + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
  40924. @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
  40925. list2=; for p in $$list; do \
  40926. if test -f $$p; then \
  40927. @@ -333,8 +312,6 @@
  40928. else :; fi; \
  40929. done; \
  40930. test -z "$$list2" || { \
  40931. - echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
  40932. - $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
  40933. echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
  40934. $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
  40935. }
  40936. diff -Nur ulogd-2.0.2.orig/output/Makefile.in ulogd-2.0.2/output/Makefile.in
  40937. --- ulogd-2.0.2.orig/output/Makefile.in 2013-03-03 22:19:19.021697423 +0100
  40938. +++ ulogd-2.0.2/output/Makefile.in 2013-08-21 19:34:37.880474874 +0200
  40939. @@ -1,4 +1,4 @@
  40940. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  40941. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  40942. # @configure_input@
  40943. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40944. @@ -16,23 +16,6 @@
  40945. @SET_MAKE@
  40946. VPATH = @srcdir@
  40947. -am__make_dryrun = \
  40948. - { \
  40949. - am__dry=no; \
  40950. - case $$MAKEFLAGS in \
  40951. - *\\[\ \ ]*) \
  40952. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  40953. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  40954. - *) \
  40955. - for am__flg in $$MAKEFLAGS; do \
  40956. - case $$am__flg in \
  40957. - *=*|--*) ;; \
  40958. - *n*) am__dry=yes; break;; \
  40959. - esac; \
  40960. - done;; \
  40961. - esac; \
  40962. - test $$am__dry = yes; \
  40963. - }
  40964. pkgdatadir = $(datadir)/@PACKAGE@
  40965. pkgincludedir = $(includedir)/@PACKAGE@
  40966. pkglibdir = $(libdir)/@PACKAGE@
  40967. @@ -195,11 +178,6 @@
  40968. install-pdf-recursive install-ps-recursive install-recursive \
  40969. installcheck-recursive installdirs-recursive pdf-recursive \
  40970. ps-recursive uninstall-recursive
  40971. -am__can_run_installinfo = \
  40972. - case $$AM_UPDATE_INFO_DIR in \
  40973. - n|no|NO) false;; \
  40974. - *) (install-info --version) >/dev/null 2>&1;; \
  40975. - esac
  40976. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  40977. distclean-recursive maintainer-clean-recursive
  40978. AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  40979. @@ -437,6 +415,7 @@
  40980. $(am__aclocal_m4_deps):
  40981. install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
  40982. @$(NORMAL_INSTALL)
  40983. + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
  40984. @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
  40985. list2=; for p in $$list; do \
  40986. if test -f $$p; then \
  40987. @@ -444,8 +423,6 @@
  40988. else :; fi; \
  40989. done; \
  40990. test -z "$$list2" || { \
  40991. - echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
  40992. - $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
  40993. echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
  40994. $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
  40995. }
  40996. @@ -690,10 +667,13 @@
  40997. done
  40998. @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40999. if test "$$subdir" = .; then :; else \
  41000. - $(am__make_dryrun) \
  41001. - || test -d "$(distdir)/$$subdir" \
  41002. - || $(MKDIR_P) "$(distdir)/$$subdir" \
  41003. - || exit 1; \
  41004. + test -d "$(distdir)/$$subdir" \
  41005. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  41006. + || exit 1; \
  41007. + fi; \
  41008. + done
  41009. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  41010. + if test "$$subdir" = .; then :; else \
  41011. dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  41012. $(am__relativize); \
  41013. new_distdir=$$reldir; \
  41014. diff -Nur ulogd-2.0.2.orig/output/mysql/Makefile.in ulogd-2.0.2/output/mysql/Makefile.in
  41015. --- ulogd-2.0.2.orig/output/mysql/Makefile.in 2013-03-03 22:19:19.149699632 +0100
  41016. +++ ulogd-2.0.2/output/mysql/Makefile.in 2013-08-21 19:34:38.164471304 +0200
  41017. @@ -1,4 +1,4 @@
  41018. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  41019. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  41020. # @configure_input@
  41021. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  41022. @@ -16,23 +16,6 @@
  41023. @SET_MAKE@
  41024. VPATH = @srcdir@
  41025. -am__make_dryrun = \
  41026. - { \
  41027. - am__dry=no; \
  41028. - case $$MAKEFLAGS in \
  41029. - *\\[\ \ ]*) \
  41030. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  41031. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  41032. - *) \
  41033. - for am__flg in $$MAKEFLAGS; do \
  41034. - case $$am__flg in \
  41035. - *=*|--*) ;; \
  41036. - *n*) am__dry=yes; break;; \
  41037. - esac; \
  41038. - done;; \
  41039. - esac; \
  41040. - test $$am__dry = yes; \
  41041. - }
  41042. pkgdatadir = $(datadir)/@PACKAGE@
  41043. pkgincludedir = $(includedir)/@PACKAGE@
  41044. pkglibdir = $(libdir)/@PACKAGE@
  41045. @@ -137,11 +120,6 @@
  41046. am__v_GEN_0 = @echo " GEN " $@;
  41047. SOURCES = $(ulogd_output_MYSQL_la_SOURCES)
  41048. DIST_SOURCES = $(am__ulogd_output_MYSQL_la_SOURCES_DIST)
  41049. -am__can_run_installinfo = \
  41050. - case $$AM_UPDATE_INFO_DIR in \
  41051. - n|no|NO) false;; \
  41052. - *) (install-info --version) >/dev/null 2>&1;; \
  41053. - esac
  41054. ETAGS = etags
  41055. CTAGS = ctags
  41056. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  41057. @@ -326,6 +304,7 @@
  41058. $(am__aclocal_m4_deps):
  41059. install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
  41060. @$(NORMAL_INSTALL)
  41061. + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
  41062. @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
  41063. list2=; for p in $$list; do \
  41064. if test -f $$p; then \
  41065. @@ -333,8 +312,6 @@
  41066. else :; fi; \
  41067. done; \
  41068. test -z "$$list2" || { \
  41069. - echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
  41070. - $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
  41071. echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
  41072. $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
  41073. }
  41074. diff -Nur ulogd-2.0.2.orig/output/pcap/Makefile.in ulogd-2.0.2/output/pcap/Makefile.in
  41075. --- ulogd-2.0.2.orig/output/pcap/Makefile.in 2013-03-03 22:19:19.197700460 +0100
  41076. +++ ulogd-2.0.2/output/pcap/Makefile.in 2013-08-21 19:34:38.292469695 +0200
  41077. @@ -1,4 +1,4 @@
  41078. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  41079. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  41080. # @configure_input@
  41081. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  41082. @@ -16,23 +16,6 @@
  41083. @SET_MAKE@
  41084. VPATH = @srcdir@
  41085. -am__make_dryrun = \
  41086. - { \
  41087. - am__dry=no; \
  41088. - case $$MAKEFLAGS in \
  41089. - *\\[\ \ ]*) \
  41090. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  41091. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  41092. - *) \
  41093. - for am__flg in $$MAKEFLAGS; do \
  41094. - case $$am__flg in \
  41095. - *=*|--*) ;; \
  41096. - *n*) am__dry=yes; break;; \
  41097. - esac; \
  41098. - done;; \
  41099. - esac; \
  41100. - test $$am__dry = yes; \
  41101. - }
  41102. pkgdatadir = $(datadir)/@PACKAGE@
  41103. pkgincludedir = $(includedir)/@PACKAGE@
  41104. pkglibdir = $(libdir)/@PACKAGE@
  41105. @@ -136,11 +119,6 @@
  41106. am__v_GEN_0 = @echo " GEN " $@;
  41107. SOURCES = $(ulogd_output_PCAP_la_SOURCES)
  41108. DIST_SOURCES = $(am__ulogd_output_PCAP_la_SOURCES_DIST)
  41109. -am__can_run_installinfo = \
  41110. - case $$AM_UPDATE_INFO_DIR in \
  41111. - n|no|NO) false;; \
  41112. - *) (install-info --version) >/dev/null 2>&1;; \
  41113. - esac
  41114. ETAGS = etags
  41115. CTAGS = ctags
  41116. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  41117. @@ -325,6 +303,7 @@
  41118. $(am__aclocal_m4_deps):
  41119. install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
  41120. @$(NORMAL_INSTALL)
  41121. + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
  41122. @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
  41123. list2=; for p in $$list; do \
  41124. if test -f $$p; then \
  41125. @@ -332,8 +311,6 @@
  41126. else :; fi; \
  41127. done; \
  41128. test -z "$$list2" || { \
  41129. - echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
  41130. - $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
  41131. echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
  41132. $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
  41133. }
  41134. diff -Nur ulogd-2.0.2.orig/output/pgsql/Makefile.in ulogd-2.0.2/output/pgsql/Makefile.in
  41135. --- ulogd-2.0.2.orig/output/pgsql/Makefile.in 2013-03-03 22:19:19.249701357 +0100
  41136. +++ ulogd-2.0.2/output/pgsql/Makefile.in 2013-08-21 19:34:38.444467784 +0200
  41137. @@ -1,4 +1,4 @@
  41138. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  41139. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  41140. # @configure_input@
  41141. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  41142. @@ -16,23 +16,6 @@
  41143. @SET_MAKE@
  41144. VPATH = @srcdir@
  41145. -am__make_dryrun = \
  41146. - { \
  41147. - am__dry=no; \
  41148. - case $$MAKEFLAGS in \
  41149. - *\\[\ \ ]*) \
  41150. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  41151. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  41152. - *) \
  41153. - for am__flg in $$MAKEFLAGS; do \
  41154. - case $$am__flg in \
  41155. - *=*|--*) ;; \
  41156. - *n*) am__dry=yes; break;; \
  41157. - esac; \
  41158. - done;; \
  41159. - esac; \
  41160. - test $$am__dry = yes; \
  41161. - }
  41162. pkgdatadir = $(datadir)/@PACKAGE@
  41163. pkgincludedir = $(includedir)/@PACKAGE@
  41164. pkglibdir = $(libdir)/@PACKAGE@
  41165. @@ -137,11 +120,6 @@
  41166. am__v_GEN_0 = @echo " GEN " $@;
  41167. SOURCES = $(ulogd_output_PGSQL_la_SOURCES)
  41168. DIST_SOURCES = $(am__ulogd_output_PGSQL_la_SOURCES_DIST)
  41169. -am__can_run_installinfo = \
  41170. - case $$AM_UPDATE_INFO_DIR in \
  41171. - n|no|NO) false;; \
  41172. - *) (install-info --version) >/dev/null 2>&1;; \
  41173. - esac
  41174. ETAGS = etags
  41175. CTAGS = ctags
  41176. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  41177. @@ -326,6 +304,7 @@
  41178. $(am__aclocal_m4_deps):
  41179. install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
  41180. @$(NORMAL_INSTALL)
  41181. + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
  41182. @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
  41183. list2=; for p in $$list; do \
  41184. if test -f $$p; then \
  41185. @@ -333,8 +312,6 @@
  41186. else :; fi; \
  41187. done; \
  41188. test -z "$$list2" || { \
  41189. - echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
  41190. - $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
  41191. echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
  41192. $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
  41193. }
  41194. diff -Nur ulogd-2.0.2.orig/output/sqlite3/Makefile.in ulogd-2.0.2/output/sqlite3/Makefile.in
  41195. --- ulogd-2.0.2.orig/output/sqlite3/Makefile.in 2013-03-03 22:19:19.305702323 +0100
  41196. +++ ulogd-2.0.2/output/sqlite3/Makefile.in 2013-08-21 19:34:38.584466025 +0200
  41197. @@ -1,4 +1,4 @@
  41198. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  41199. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  41200. # @configure_input@
  41201. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  41202. @@ -16,23 +16,6 @@
  41203. @SET_MAKE@
  41204. VPATH = @srcdir@
  41205. -am__make_dryrun = \
  41206. - { \
  41207. - am__dry=no; \
  41208. - case $$MAKEFLAGS in \
  41209. - *\\[\ \ ]*) \
  41210. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  41211. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  41212. - *) \
  41213. - for am__flg in $$MAKEFLAGS; do \
  41214. - case $$am__flg in \
  41215. - *=*|--*) ;; \
  41216. - *n*) am__dry=yes; break;; \
  41217. - esac; \
  41218. - done;; \
  41219. - esac; \
  41220. - test $$am__dry = yes; \
  41221. - }
  41222. pkgdatadir = $(datadir)/@PACKAGE@
  41223. pkgincludedir = $(includedir)/@PACKAGE@
  41224. pkglibdir = $(libdir)/@PACKAGE@
  41225. @@ -139,11 +122,6 @@
  41226. am__v_GEN_0 = @echo " GEN " $@;
  41227. SOURCES = $(ulogd_output_SQLITE3_la_SOURCES)
  41228. DIST_SOURCES = $(am__ulogd_output_SQLITE3_la_SOURCES_DIST)
  41229. -am__can_run_installinfo = \
  41230. - case $$AM_UPDATE_INFO_DIR in \
  41231. - n|no|NO) false;; \
  41232. - *) (install-info --version) >/dev/null 2>&1;; \
  41233. - esac
  41234. ETAGS = etags
  41235. CTAGS = ctags
  41236. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  41237. @@ -328,6 +306,7 @@
  41238. $(am__aclocal_m4_deps):
  41239. install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
  41240. @$(NORMAL_INSTALL)
  41241. + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
  41242. @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
  41243. list2=; for p in $$list; do \
  41244. if test -f $$p; then \
  41245. @@ -335,8 +314,6 @@
  41246. else :; fi; \
  41247. done; \
  41248. test -z "$$list2" || { \
  41249. - echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
  41250. - $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
  41251. echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
  41252. $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
  41253. }
  41254. diff -Nur ulogd-2.0.2.orig/output/sqlite3/queue.h ulogd-2.0.2/output/sqlite3/queue.h
  41255. --- ulogd-2.0.2.orig/output/sqlite3/queue.h 1970-01-01 01:00:00.000000000 +0100
  41256. +++ ulogd-2.0.2/output/sqlite3/queue.h 2013-08-21 19:36:54.118762127 +0200
  41257. @@ -0,0 +1,574 @@
  41258. +/*
  41259. + * Copyright (c) 1991, 1993
  41260. + * The Regents of the University of California. All rights reserved.
  41261. + *
  41262. + * Redistribution and use in source and binary forms, with or without
  41263. + * modification, are permitted provided that the following conditions
  41264. + * are met:
  41265. + * 1. Redistributions of source code must retain the above copyright
  41266. + * notice, this list of conditions and the following disclaimer.
  41267. + * 2. Redistributions in binary form must reproduce the above copyright
  41268. + * notice, this list of conditions and the following disclaimer in the
  41269. + * documentation and/or other materials provided with the distribution.
  41270. + * 3. Neither the name of the University nor the names of its contributors
  41271. + * may be used to endorse or promote products derived from this software
  41272. + * without specific prior written permission.
  41273. + *
  41274. + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  41275. + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  41276. + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  41277. + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  41278. + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  41279. + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  41280. + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  41281. + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  41282. + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  41283. + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  41284. + * SUCH DAMAGE.
  41285. + *
  41286. + * @(#)queue.h 8.5 (Berkeley) 8/20/94
  41287. + */
  41288. +
  41289. +#ifndef _SYS_QUEUE_H_
  41290. +#define _SYS_QUEUE_H_
  41291. +
  41292. +/*
  41293. + * This file defines five types of data structures: singly-linked lists,
  41294. + * lists, simple queues, tail queues, and circular queues.
  41295. + *
  41296. + * A singly-linked list is headed by a single forward pointer. The
  41297. + * elements are singly linked for minimum space and pointer manipulation
  41298. + * overhead at the expense of O(n) removal for arbitrary elements. New
  41299. + * elements can be added to the list after an existing element or at the
  41300. + * head of the list. Elements being removed from the head of the list
  41301. + * should use the explicit macro for this purpose for optimum
  41302. + * efficiency. A singly-linked list may only be traversed in the forward
  41303. + * direction. Singly-linked lists are ideal for applications with large
  41304. + * datasets and few or no removals or for implementing a LIFO queue.
  41305. + *
  41306. + * A list is headed by a single forward pointer (or an array of forward
  41307. + * pointers for a hash table header). The elements are doubly linked
  41308. + * so that an arbitrary element can be removed without a need to
  41309. + * traverse the list. New elements can be added to the list before
  41310. + * or after an existing element or at the head of the list. A list
  41311. + * may only be traversed in the forward direction.
  41312. + *
  41313. + * A simple queue is headed by a pair of pointers, one the head of the
  41314. + * list and the other to the tail of the list. The elements are singly
  41315. + * linked to save space, so elements can only be removed from the
  41316. + * head of the list. New elements can be added to the list after
  41317. + * an existing element, at the head of the list, or at the end of the
  41318. + * list. A simple queue may only be traversed in the forward direction.
  41319. + *
  41320. + * A tail queue is headed by a pair of pointers, one to the head of the
  41321. + * list and the other to the tail of the list. The elements are doubly
  41322. + * linked so that an arbitrary element can be removed without a need to
  41323. + * traverse the list. New elements can be added to the list before or
  41324. + * after an existing element, at the head of the list, or at the end of
  41325. + * the list. A tail queue may be traversed in either direction.
  41326. + *
  41327. + * A circle queue is headed by a pair of pointers, one to the head of the
  41328. + * list and the other to the tail of the list. The elements are doubly
  41329. + * linked so that an arbitrary element can be removed without a need to
  41330. + * traverse the list. New elements can be added to the list before or after
  41331. + * an existing element, at the head of the list, or at the end of the list.
  41332. + * A circle queue may be traversed in either direction, but has a more
  41333. + * complex end of list detection.
  41334. + *
  41335. + * For details on the use of these macros, see the queue(3) manual page.
  41336. + */
  41337. +
  41338. +/*
  41339. + * List definitions.
  41340. + */
  41341. +#define LIST_HEAD(name, type) \
  41342. +struct name { \
  41343. + struct type *lh_first; /* first element */ \
  41344. +}
  41345. +
  41346. +#define LIST_HEAD_INITIALIZER(head) \
  41347. + { NULL }
  41348. +
  41349. +#define LIST_ENTRY(type) \
  41350. +struct { \
  41351. + struct type *le_next; /* next element */ \
  41352. + struct type **le_prev; /* address of previous next element */ \
  41353. +}
  41354. +
  41355. +/*
  41356. + * List functions.
  41357. + */
  41358. +#define LIST_INIT(head) do { \
  41359. + (head)->lh_first = NULL; \
  41360. +} while (/*CONSTCOND*/0)
  41361. +
  41362. +#define LIST_INSERT_AFTER(listelm, elm, field) do { \
  41363. + if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \
  41364. + (listelm)->field.le_next->field.le_prev = \
  41365. + &(elm)->field.le_next; \
  41366. + (listelm)->field.le_next = (elm); \
  41367. + (elm)->field.le_prev = &(listelm)->field.le_next; \
  41368. +} while (/*CONSTCOND*/0)
  41369. +
  41370. +#define LIST_INSERT_BEFORE(listelm, elm, field) do { \
  41371. + (elm)->field.le_prev = (listelm)->field.le_prev; \
  41372. + (elm)->field.le_next = (listelm); \
  41373. + *(listelm)->field.le_prev = (elm); \
  41374. + (listelm)->field.le_prev = &(elm)->field.le_next; \
  41375. +} while (/*CONSTCOND*/0)
  41376. +
  41377. +#define LIST_INSERT_HEAD(head, elm, field) do { \
  41378. + if (((elm)->field.le_next = (head)->lh_first) != NULL) \
  41379. + (head)->lh_first->field.le_prev = &(elm)->field.le_next;\
  41380. + (head)->lh_first = (elm); \
  41381. + (elm)->field.le_prev = &(head)->lh_first; \
  41382. +} while (/*CONSTCOND*/0)
  41383. +
  41384. +#define LIST_REMOVE(elm, field) do { \
  41385. + if ((elm)->field.le_next != NULL) \
  41386. + (elm)->field.le_next->field.le_prev = \
  41387. + (elm)->field.le_prev; \
  41388. + *(elm)->field.le_prev = (elm)->field.le_next; \
  41389. +} while (/*CONSTCOND*/0)
  41390. +
  41391. +#define LIST_FOREACH(var, head, field) \
  41392. + for ((var) = ((head)->lh_first); \
  41393. + (var); \
  41394. + (var) = ((var)->field.le_next))
  41395. +
  41396. +/*
  41397. + * List access methods.
  41398. + */
  41399. +#define LIST_EMPTY(head) ((head)->lh_first == NULL)
  41400. +#define LIST_FIRST(head) ((head)->lh_first)
  41401. +#define LIST_NEXT(elm, field) ((elm)->field.le_next)
  41402. +
  41403. +
  41404. +/*
  41405. + * Singly-linked List definitions.
  41406. + */
  41407. +#define SLIST_HEAD(name, type) \
  41408. +struct name { \
  41409. + struct type *slh_first; /* first element */ \
  41410. +}
  41411. +
  41412. +#define SLIST_HEAD_INITIALIZER(head) \
  41413. + { NULL }
  41414. +
  41415. +#define SLIST_ENTRY(type) \
  41416. +struct { \
  41417. + struct type *sle_next; /* next element */ \
  41418. +}
  41419. +
  41420. +/*
  41421. + * Singly-linked List functions.
  41422. + */
  41423. +#define SLIST_INIT(head) do { \
  41424. + (head)->slh_first = NULL; \
  41425. +} while (/*CONSTCOND*/0)
  41426. +
  41427. +#define SLIST_INSERT_AFTER(slistelm, elm, field) do { \
  41428. + (elm)->field.sle_next = (slistelm)->field.sle_next; \
  41429. + (slistelm)->field.sle_next = (elm); \
  41430. +} while (/*CONSTCOND*/0)
  41431. +
  41432. +#define SLIST_INSERT_HEAD(head, elm, field) do { \
  41433. + (elm)->field.sle_next = (head)->slh_first; \
  41434. + (head)->slh_first = (elm); \
  41435. +} while (/*CONSTCOND*/0)
  41436. +
  41437. +#define SLIST_REMOVE_HEAD(head, field) do { \
  41438. + (head)->slh_first = (head)->slh_first->field.sle_next; \
  41439. +} while (/*CONSTCOND*/0)
  41440. +
  41441. +#define SLIST_REMOVE(head, elm, type, field) do { \
  41442. + if ((head)->slh_first == (elm)) { \
  41443. + SLIST_REMOVE_HEAD((head), field); \
  41444. + } \
  41445. + else { \
  41446. + struct type *curelm = (head)->slh_first; \
  41447. + while(curelm->field.sle_next != (elm)) \
  41448. + curelm = curelm->field.sle_next; \
  41449. + curelm->field.sle_next = \
  41450. + curelm->field.sle_next->field.sle_next; \
  41451. + } \
  41452. +} while (/*CONSTCOND*/0)
  41453. +
  41454. +#define SLIST_FOREACH(var, head, field) \
  41455. + for((var) = (head)->slh_first; (var); (var) = (var)->field.sle_next)
  41456. +
  41457. +/*
  41458. + * Singly-linked List access methods.
  41459. + */
  41460. +#define SLIST_EMPTY(head) ((head)->slh_first == NULL)
  41461. +#define SLIST_FIRST(head) ((head)->slh_first)
  41462. +#define SLIST_NEXT(elm, field) ((elm)->field.sle_next)
  41463. +
  41464. +
  41465. +/*
  41466. + * Singly-linked Tail queue declarations.
  41467. + */
  41468. +#define STAILQ_HEAD(name, type) \
  41469. +struct name { \
  41470. + struct type *stqh_first; /* first element */ \
  41471. + struct type **stqh_last; /* addr of last next element */ \
  41472. +}
  41473. +
  41474. +#define STAILQ_HEAD_INITIALIZER(head) \
  41475. + { NULL, &(head).stqh_first }
  41476. +
  41477. +#define STAILQ_ENTRY(type) \
  41478. +struct { \
  41479. + struct type *stqe_next; /* next element */ \
  41480. +}
  41481. +
  41482. +/*
  41483. + * Singly-linked Tail queue functions.
  41484. + */
  41485. +#define STAILQ_INIT(head) do { \
  41486. + (head)->stqh_first = NULL; \
  41487. + (head)->stqh_last = &(head)->stqh_first; \
  41488. +} while (/*CONSTCOND*/0)
  41489. +
  41490. +#define STAILQ_INSERT_HEAD(head, elm, field) do { \
  41491. + if (((elm)->field.stqe_next = (head)->stqh_first) == NULL) \
  41492. + (head)->stqh_last = &(elm)->field.stqe_next; \
  41493. + (head)->stqh_first = (elm); \
  41494. +} while (/*CONSTCOND*/0)
  41495. +
  41496. +#define STAILQ_INSERT_TAIL(head, elm, field) do { \
  41497. + (elm)->field.stqe_next = NULL; \
  41498. + *(head)->stqh_last = (elm); \
  41499. + (head)->stqh_last = &(elm)->field.stqe_next; \
  41500. +} while (/*CONSTCOND*/0)
  41501. +
  41502. +#define STAILQ_INSERT_AFTER(head, listelm, elm, field) do { \
  41503. + if (((elm)->field.stqe_next = (listelm)->field.stqe_next) == NULL)\
  41504. + (head)->stqh_last = &(elm)->field.stqe_next; \
  41505. + (listelm)->field.stqe_next = (elm); \
  41506. +} while (/*CONSTCOND*/0)
  41507. +
  41508. +#define STAILQ_REMOVE_HEAD(head, field) do { \
  41509. + if (((head)->stqh_first = (head)->stqh_first->field.stqe_next) == NULL) \
  41510. + (head)->stqh_last = &(head)->stqh_first; \
  41511. +} while (/*CONSTCOND*/0)
  41512. +
  41513. +#define STAILQ_REMOVE(head, elm, type, field) do { \
  41514. + if ((head)->stqh_first == (elm)) { \
  41515. + STAILQ_REMOVE_HEAD((head), field); \
  41516. + } else { \
  41517. + struct type *curelm = (head)->stqh_first; \
  41518. + while (curelm->field.stqe_next != (elm)) \
  41519. + curelm = curelm->field.stqe_next; \
  41520. + if ((curelm->field.stqe_next = \
  41521. + curelm->field.stqe_next->field.stqe_next) == NULL) \
  41522. + (head)->stqh_last = &(curelm)->field.stqe_next; \
  41523. + } \
  41524. +} while (/*CONSTCOND*/0)
  41525. +
  41526. +#define STAILQ_FOREACH(var, head, field) \
  41527. + for ((var) = ((head)->stqh_first); \
  41528. + (var); \
  41529. + (var) = ((var)->field.stqe_next))
  41530. +
  41531. +#define STAILQ_CONCAT(head1, head2) do { \
  41532. + if (!STAILQ_EMPTY((head2))) { \
  41533. + *(head1)->stqh_last = (head2)->stqh_first; \
  41534. + (head1)->stqh_last = (head2)->stqh_last; \
  41535. + STAILQ_INIT((head2)); \
  41536. + } \
  41537. +} while (/*CONSTCOND*/0)
  41538. +
  41539. +/*
  41540. + * Singly-linked Tail queue access methods.
  41541. + */
  41542. +#define STAILQ_EMPTY(head) ((head)->stqh_first == NULL)
  41543. +#define STAILQ_FIRST(head) ((head)->stqh_first)
  41544. +#define STAILQ_NEXT(elm, field) ((elm)->field.stqe_next)
  41545. +
  41546. +
  41547. +/*
  41548. + * Simple queue definitions.
  41549. + */
  41550. +#define SIMPLEQ_HEAD(name, type) \
  41551. +struct name { \
  41552. + struct type *sqh_first; /* first element */ \
  41553. + struct type **sqh_last; /* addr of last next element */ \
  41554. +}
  41555. +
  41556. +#define SIMPLEQ_HEAD_INITIALIZER(head) \
  41557. + { NULL, &(head).sqh_first }
  41558. +
  41559. +#define SIMPLEQ_ENTRY(type) \
  41560. +struct { \
  41561. + struct type *sqe_next; /* next element */ \
  41562. +}
  41563. +
  41564. +/*
  41565. + * Simple queue functions.
  41566. + */
  41567. +#define SIMPLEQ_INIT(head) do { \
  41568. + (head)->sqh_first = NULL; \
  41569. + (head)->sqh_last = &(head)->sqh_first; \
  41570. +} while (/*CONSTCOND*/0)
  41571. +
  41572. +#define SIMPLEQ_INSERT_HEAD(head, elm, field) do { \
  41573. + if (((elm)->field.sqe_next = (head)->sqh_first) == NULL) \
  41574. + (head)->sqh_last = &(elm)->field.sqe_next; \
  41575. + (head)->sqh_first = (elm); \
  41576. +} while (/*CONSTCOND*/0)
  41577. +
  41578. +#define SIMPLEQ_INSERT_TAIL(head, elm, field) do { \
  41579. + (elm)->field.sqe_next = NULL; \
  41580. + *(head)->sqh_last = (elm); \
  41581. + (head)->sqh_last = &(elm)->field.sqe_next; \
  41582. +} while (/*CONSTCOND*/0)
  41583. +
  41584. +#define SIMPLEQ_INSERT_AFTER(head, listelm, elm, field) do { \
  41585. + if (((elm)->field.sqe_next = (listelm)->field.sqe_next) == NULL)\
  41586. + (head)->sqh_last = &(elm)->field.sqe_next; \
  41587. + (listelm)->field.sqe_next = (elm); \
  41588. +} while (/*CONSTCOND*/0)
  41589. +
  41590. +#define SIMPLEQ_REMOVE_HEAD(head, field) do { \
  41591. + if (((head)->sqh_first = (head)->sqh_first->field.sqe_next) == NULL) \
  41592. + (head)->sqh_last = &(head)->sqh_first; \
  41593. +} while (/*CONSTCOND*/0)
  41594. +
  41595. +#define SIMPLEQ_REMOVE(head, elm, type, field) do { \
  41596. + if ((head)->sqh_first == (elm)) { \
  41597. + SIMPLEQ_REMOVE_HEAD((head), field); \
  41598. + } else { \
  41599. + struct type *curelm = (head)->sqh_first; \
  41600. + while (curelm->field.sqe_next != (elm)) \
  41601. + curelm = curelm->field.sqe_next; \
  41602. + if ((curelm->field.sqe_next = \
  41603. + curelm->field.sqe_next->field.sqe_next) == NULL) \
  41604. + (head)->sqh_last = &(curelm)->field.sqe_next; \
  41605. + } \
  41606. +} while (/*CONSTCOND*/0)
  41607. +
  41608. +#define SIMPLEQ_FOREACH(var, head, field) \
  41609. + for ((var) = ((head)->sqh_first); \
  41610. + (var); \
  41611. + (var) = ((var)->field.sqe_next))
  41612. +
  41613. +/*
  41614. + * Simple queue access methods.
  41615. + */
  41616. +#define SIMPLEQ_EMPTY(head) ((head)->sqh_first == NULL)
  41617. +#define SIMPLEQ_FIRST(head) ((head)->sqh_first)
  41618. +#define SIMPLEQ_NEXT(elm, field) ((elm)->field.sqe_next)
  41619. +
  41620. +
  41621. +/*
  41622. + * Tail queue definitions.
  41623. + */
  41624. +#define _TAILQ_HEAD(name, type, qual) \
  41625. +struct name { \
  41626. + qual type *tqh_first; /* first element */ \
  41627. + qual type *qual *tqh_last; /* addr of last next element */ \
  41628. +}
  41629. +#define TAILQ_HEAD(name, type) _TAILQ_HEAD(name, struct type,)
  41630. +
  41631. +#define TAILQ_HEAD_INITIALIZER(head) \
  41632. + { NULL, &(head).tqh_first }
  41633. +
  41634. +#define _TAILQ_ENTRY(type, qual) \
  41635. +struct { \
  41636. + qual type *tqe_next; /* next element */ \
  41637. + qual type *qual *tqe_prev; /* address of previous next element */\
  41638. +}
  41639. +#define TAILQ_ENTRY(type) _TAILQ_ENTRY(struct type,)
  41640. +
  41641. +/*
  41642. + * Tail queue functions.
  41643. + */
  41644. +#define TAILQ_INIT(head) do { \
  41645. + (head)->tqh_first = NULL; \
  41646. + (head)->tqh_last = &(head)->tqh_first; \
  41647. +} while (/*CONSTCOND*/0)
  41648. +
  41649. +#define TAILQ_INSERT_HEAD(head, elm, field) do { \
  41650. + if (((elm)->field.tqe_next = (head)->tqh_first) != NULL) \
  41651. + (head)->tqh_first->field.tqe_prev = \
  41652. + &(elm)->field.tqe_next; \
  41653. + else \
  41654. + (head)->tqh_last = &(elm)->field.tqe_next; \
  41655. + (head)->tqh_first = (elm); \
  41656. + (elm)->field.tqe_prev = &(head)->tqh_first; \
  41657. +} while (/*CONSTCOND*/0)
  41658. +
  41659. +#define TAILQ_INSERT_TAIL(head, elm, field) do { \
  41660. + (elm)->field.tqe_next = NULL; \
  41661. + (elm)->field.tqe_prev = (head)->tqh_last; \
  41662. + *(head)->tqh_last = (elm); \
  41663. + (head)->tqh_last = &(elm)->field.tqe_next; \
  41664. +} while (/*CONSTCOND*/0)
  41665. +
  41666. +#define TAILQ_INSERT_AFTER(head, listelm, elm, field) do { \
  41667. + if (((elm)->field.tqe_next = (listelm)->field.tqe_next) != NULL)\
  41668. + (elm)->field.tqe_next->field.tqe_prev = \
  41669. + &(elm)->field.tqe_next; \
  41670. + else \
  41671. + (head)->tqh_last = &(elm)->field.tqe_next; \
  41672. + (listelm)->field.tqe_next = (elm); \
  41673. + (elm)->field.tqe_prev = &(listelm)->field.tqe_next; \
  41674. +} while (/*CONSTCOND*/0)
  41675. +
  41676. +#define TAILQ_INSERT_BEFORE(listelm, elm, field) do { \
  41677. + (elm)->field.tqe_prev = (listelm)->field.tqe_prev; \
  41678. + (elm)->field.tqe_next = (listelm); \
  41679. + *(listelm)->field.tqe_prev = (elm); \
  41680. + (listelm)->field.tqe_prev = &(elm)->field.tqe_next; \
  41681. +} while (/*CONSTCOND*/0)
  41682. +
  41683. +#define TAILQ_REMOVE(head, elm, field) do { \
  41684. + if (((elm)->field.tqe_next) != NULL) \
  41685. + (elm)->field.tqe_next->field.tqe_prev = \
  41686. + (elm)->field.tqe_prev; \
  41687. + else \
  41688. + (head)->tqh_last = (elm)->field.tqe_prev; \
  41689. + *(elm)->field.tqe_prev = (elm)->field.tqe_next; \
  41690. +} while (/*CONSTCOND*/0)
  41691. +
  41692. +#define TAILQ_FOREACH(var, head, field) \
  41693. + for ((var) = ((head)->tqh_first); \
  41694. + (var); \
  41695. + (var) = ((var)->field.tqe_next))
  41696. +
  41697. +#define TAILQ_FOREACH_REVERSE(var, head, headname, field) \
  41698. + for ((var) = (*(((struct headname *)((head)->tqh_last))->tqh_last)); \
  41699. + (var); \
  41700. + (var) = (*(((struct headname *)((var)->field.tqe_prev))->tqh_last)))
  41701. +
  41702. +#define TAILQ_CONCAT(head1, head2, field) do { \
  41703. + if (!TAILQ_EMPTY(head2)) { \
  41704. + *(head1)->tqh_last = (head2)->tqh_first; \
  41705. + (head2)->tqh_first->field.tqe_prev = (head1)->tqh_last; \
  41706. + (head1)->tqh_last = (head2)->tqh_last; \
  41707. + TAILQ_INIT((head2)); \
  41708. + } \
  41709. +} while (/*CONSTCOND*/0)
  41710. +
  41711. +/*
  41712. + * Tail queue access methods.
  41713. + */
  41714. +#define TAILQ_EMPTY(head) ((head)->tqh_first == NULL)
  41715. +#define TAILQ_FIRST(head) ((head)->tqh_first)
  41716. +#define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next)
  41717. +
  41718. +#define TAILQ_LAST(head, headname) \
  41719. + (*(((struct headname *)((head)->tqh_last))->tqh_last))
  41720. +#define TAILQ_PREV(elm, headname, field) \
  41721. + (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last))
  41722. +
  41723. +
  41724. +/*
  41725. + * Circular queue definitions.
  41726. + */
  41727. +#define CIRCLEQ_HEAD(name, type) \
  41728. +struct name { \
  41729. + struct type *cqh_first; /* first element */ \
  41730. + struct type *cqh_last; /* last element */ \
  41731. +}
  41732. +
  41733. +#define CIRCLEQ_HEAD_INITIALIZER(head) \
  41734. + { (void *)&head, (void *)&head }
  41735. +
  41736. +#define CIRCLEQ_ENTRY(type) \
  41737. +struct { \
  41738. + struct type *cqe_next; /* next element */ \
  41739. + struct type *cqe_prev; /* previous element */ \
  41740. +}
  41741. +
  41742. +/*
  41743. + * Circular queue functions.
  41744. + */
  41745. +#define CIRCLEQ_INIT(head) do { \
  41746. + (head)->cqh_first = (void *)(head); \
  41747. + (head)->cqh_last = (void *)(head); \
  41748. +} while (/*CONSTCOND*/0)
  41749. +
  41750. +#define CIRCLEQ_INSERT_AFTER(head, listelm, elm, field) do { \
  41751. + (elm)->field.cqe_next = (listelm)->field.cqe_next; \
  41752. + (elm)->field.cqe_prev = (listelm); \
  41753. + if ((listelm)->field.cqe_next == (void *)(head)) \
  41754. + (head)->cqh_last = (elm); \
  41755. + else \
  41756. + (listelm)->field.cqe_next->field.cqe_prev = (elm); \
  41757. + (listelm)->field.cqe_next = (elm); \
  41758. +} while (/*CONSTCOND*/0)
  41759. +
  41760. +#define CIRCLEQ_INSERT_BEFORE(head, listelm, elm, field) do { \
  41761. + (elm)->field.cqe_next = (listelm); \
  41762. + (elm)->field.cqe_prev = (listelm)->field.cqe_prev; \
  41763. + if ((listelm)->field.cqe_prev == (void *)(head)) \
  41764. + (head)->cqh_first = (elm); \
  41765. + else \
  41766. + (listelm)->field.cqe_prev->field.cqe_next = (elm); \
  41767. + (listelm)->field.cqe_prev = (elm); \
  41768. +} while (/*CONSTCOND*/0)
  41769. +
  41770. +#define CIRCLEQ_INSERT_HEAD(head, elm, field) do { \
  41771. + (elm)->field.cqe_next = (head)->cqh_first; \
  41772. + (elm)->field.cqe_prev = (void *)(head); \
  41773. + if ((head)->cqh_last == (void *)(head)) \
  41774. + (head)->cqh_last = (elm); \
  41775. + else \
  41776. + (head)->cqh_first->field.cqe_prev = (elm); \
  41777. + (head)->cqh_first = (elm); \
  41778. +} while (/*CONSTCOND*/0)
  41779. +
  41780. +#define CIRCLEQ_INSERT_TAIL(head, elm, field) do { \
  41781. + (elm)->field.cqe_next = (void *)(head); \
  41782. + (elm)->field.cqe_prev = (head)->cqh_last; \
  41783. + if ((head)->cqh_first == (void *)(head)) \
  41784. + (head)->cqh_first = (elm); \
  41785. + else \
  41786. + (head)->cqh_last->field.cqe_next = (elm); \
  41787. + (head)->cqh_last = (elm); \
  41788. +} while (/*CONSTCOND*/0)
  41789. +
  41790. +#define CIRCLEQ_REMOVE(head, elm, field) do { \
  41791. + if ((elm)->field.cqe_next == (void *)(head)) \
  41792. + (head)->cqh_last = (elm)->field.cqe_prev; \
  41793. + else \
  41794. + (elm)->field.cqe_next->field.cqe_prev = \
  41795. + (elm)->field.cqe_prev; \
  41796. + if ((elm)->field.cqe_prev == (void *)(head)) \
  41797. + (head)->cqh_first = (elm)->field.cqe_next; \
  41798. + else \
  41799. + (elm)->field.cqe_prev->field.cqe_next = \
  41800. + (elm)->field.cqe_next; \
  41801. +} while (/*CONSTCOND*/0)
  41802. +
  41803. +#define CIRCLEQ_FOREACH(var, head, field) \
  41804. + for ((var) = ((head)->cqh_first); \
  41805. + (var) != (const void *)(head); \
  41806. + (var) = ((var)->field.cqe_next))
  41807. +
  41808. +#define CIRCLEQ_FOREACH_REVERSE(var, head, field) \
  41809. + for ((var) = ((head)->cqh_last); \
  41810. + (var) != (const void *)(head); \
  41811. + (var) = ((var)->field.cqe_prev))
  41812. +
  41813. +/*
  41814. + * Circular queue access methods.
  41815. + */
  41816. +#define CIRCLEQ_EMPTY(head) ((head)->cqh_first == (void *)(head))
  41817. +#define CIRCLEQ_FIRST(head) ((head)->cqh_first)
  41818. +#define CIRCLEQ_LAST(head) ((head)->cqh_last)
  41819. +#define CIRCLEQ_NEXT(elm, field) ((elm)->field.cqe_next)
  41820. +#define CIRCLEQ_PREV(elm, field) ((elm)->field.cqe_prev)
  41821. +
  41822. +#define CIRCLEQ_LOOP_NEXT(head, elm, field) \
  41823. + (((elm)->field.cqe_next == (void *)(head)) \
  41824. + ? ((head)->cqh_first) \
  41825. + : (elm->field.cqe_next))
  41826. +#define CIRCLEQ_LOOP_PREV(head, elm, field) \
  41827. + (((elm)->field.cqe_prev == (void *)(head)) \
  41828. + ? ((head)->cqh_last) \
  41829. + : (elm->field.cqe_prev))
  41830. +
  41831. +#endif /* sys/queue.h */
  41832. diff -Nur ulogd-2.0.2.orig/output/sqlite3/ulogd_output_SQLITE3.c ulogd-2.0.2/output/sqlite3/ulogd_output_SQLITE3.c
  41833. --- ulogd-2.0.2.orig/output/sqlite3/ulogd_output_SQLITE3.c 2012-08-03 16:11:53.275934119 +0200
  41834. +++ ulogd-2.0.2/output/sqlite3/ulogd_output_SQLITE3.c 2013-08-21 19:36:34.143013255 +0200
  41835. @@ -36,7 +36,11 @@
  41836. #include <ulogd/ulogd.h>
  41837. #include <ulogd/conffile.h>
  41838. #include <sqlite3.h>
  41839. +#if defined(HAVE_SYS_QUEUE_H)
  41840. #include <sys/queue.h>
  41841. +#else
  41842. +#include "queue.h"
  41843. +#endif
  41844. #define CFG_BUFFER_DEFAULT 10
  41845. diff -Nur ulogd-2.0.2.orig/src/Makefile.in ulogd-2.0.2/src/Makefile.in
  41846. --- ulogd-2.0.2.orig/src/Makefile.in 2013-03-03 22:19:19.357703221 +0100
  41847. +++ ulogd-2.0.2/src/Makefile.in 2013-08-21 19:34:38.716464364 +0200
  41848. @@ -1,4 +1,4 @@
  41849. -# Makefile.in generated by automake 1.11.6 from Makefile.am.
  41850. +# Makefile.in generated by automake 1.11.3 from Makefile.am.
  41851. # @configure_input@
  41852. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  41853. @@ -16,23 +16,6 @@
  41854. @SET_MAKE@
  41855. VPATH = @srcdir@
  41856. -am__make_dryrun = \
  41857. - { \
  41858. - am__dry=no; \
  41859. - case $$MAKEFLAGS in \
  41860. - *\\[\ \ ]*) \
  41861. - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
  41862. - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
  41863. - *) \
  41864. - for am__flg in $$MAKEFLAGS; do \
  41865. - case $$am__flg in \
  41866. - *=*|--*) ;; \
  41867. - *n*) am__dry=yes; break;; \
  41868. - esac; \
  41869. - done;; \
  41870. - esac; \
  41871. - test $$am__dry = yes; \
  41872. - }
  41873. pkgdatadir = $(datadir)/@PACKAGE@
  41874. pkgincludedir = $(includedir)/@PACKAGE@
  41875. pkglibdir = $(libdir)/@PACKAGE@
  41876. @@ -107,11 +90,6 @@
  41877. am__v_GEN_0 = @echo " GEN " $@;
  41878. SOURCES = $(ulogd_SOURCES)
  41879. DIST_SOURCES = $(ulogd_SOURCES)
  41880. -am__can_run_installinfo = \
  41881. - case $$AM_UPDATE_INFO_DIR in \
  41882. - n|no|NO) false;; \
  41883. - *) (install-info --version) >/dev/null 2>&1;; \
  41884. - esac
  41885. ETAGS = etags
  41886. CTAGS = ctags
  41887. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  41888. @@ -298,11 +276,8 @@
  41889. $(am__aclocal_m4_deps):
  41890. install-sbinPROGRAMS: $(sbin_PROGRAMS)
  41891. @$(NORMAL_INSTALL)
  41892. + test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
  41893. @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
  41894. - if test -n "$$list"; then \
  41895. - echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \
  41896. - $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \
  41897. - fi; \
  41898. for p in $$list; do echo "$$p $$p"; done | \
  41899. sed 's/$(EXEEXT)$$//' | \
  41900. while read p p1; do if test -f $$p || test -f $$p1; \