configure 182 KB

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