configure 425 KB

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