configure 184 KB

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