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

configure 591KB

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