configure 584 KB

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