output.2 192 KB

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