output.0 198 KB

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