You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

configure 563KB

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