configure 437 KB

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