configure 184 KB

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