configure 669 KB

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